configure.in: Set INCLUDES to absolute path.
[gcc.git] / libjava / ChangeLog
1 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2
3 * configure.in: Don't initialize GCINCS to boehm-gc/include.
4 * configure: Regenerate.
5
6 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
7
8 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
9 SocketImpl. Update Javadoc.
10 (bind): Call close() not impl.close() in event of exception.
11 (connect): Likewise.
12 Remove superfluous null checks throughout.
13 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
14 Don't create an extra socket. Fix for PR libgcj/10868.
15 (bind): Clean up exception handling.
16 Remove superfluous null checks throughout.
17
18 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
19 Bryce McKinlay <bryce@mckinlay.net.nz>
20
21 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
22 ready-to-write argument to _Jv_Select. Reset the socket back to
23 non-blocking state after connecting.
24 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
25 Throw SocketTimeoutException not InterruptedIOException.
26 (read): Throw SocketTimeoutException not InterruptedIOException.
27
28 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
29
30 * java/lang/Thread.java (Thread): Check for null "name" from
31 start of private constructor, not after calling the private
32 constructor.
33
34 2003-08-06 Tom Tromey <tromey@redhat.com>
35
36 * java/io/FilePermission.java (equals): Use correct index for
37 last character of path.
38
39 2003-08-06 Alan Modra <amodra@bigpond.net.au>
40
41 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
42 * configure.in: Compare with_cross_host to build_alias, not build.
43 * aclocal.m4: Regenerate.
44 * configure: Regenerate.
45
46 2003-08-05 Tom Tromey <tromey@redhat.com>
47
48 Fix for PR libgcj/11779:
49 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
50 class.
51
52 * java/lang/reflect/Method.java: Updated status comment.
53 Imported javadoc from Classpath and re-ordered methods.
54 * java/lang/reflect/Constructor.java: Reindented. Updated
55 status comment. Imported javadoc from Classpath and re-ordered
56 methods.
57
58 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
59
60 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
61 Add keyLocation parameter.
62 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
63 string.
64 (paramString): Generate keyChar string according to keyChar, not
65 keyCode.
66 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
67 (state_to_awt_mods): Handle ALT key.
68 (keyevent_state_to_awt_mods): New function.
69 (get_first_keyval_from_keymap): New function.
70 (keysym_to_awt_keycode): Get virtual key code from keymap.
71 Handle missing VK_ values.
72 (keysym_to_awt_keylocation): New function.
73 (keyevent_to_awt_keychar): New function.
74 (generates_key_typed_event): Handle non-text-component case.
75 Handle GDK_KP_Delete and GDK_KP_Enter.
76 (awt_event_handler): Call new functions to get postKeyEvent
77 parameters.
78 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
79 Update postKeyEvent method signature.
80 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
81 VK_ defines.
82
83 2003-08-05 Matthias Klose <doko@debian.org>
84
85 * aclocal.m4: check for libart-config binary
86 under the name libart2-config as well.
87 * configure: regenerated.
88
89 2003-08-04 David P Grove <groved@us.ibm.com>
90
91 * java/text/DecimalFormat.java (format): avoid ArithmeticException
92 when groupingSize is 0.
93 (parse): Likewise.
94
95 2003-08-04 Matthias Klose <doko@debian.org>
96
97 * libart.m4: check for libart-config binary
98 under the name libart2-config as well.
99 * configure, aclocal.m4: regenerated.
100
101 2003-08-02 Michael Koch <konqueror@gmx.de>
102
103 * java/nio/ByteBufferImpl.java
104 (getChar): Check remaining bytes, fixed comment about endianess.
105 (putChar): Likewise.
106 (getShort): Likewise.
107 (putShort): Likewise.
108 (getInt): Check remaining bytes, fixed conversion, fixed comment about
109 endianess.
110 (putInt): Likewise.
111 (getLong): Likewise.
112 (putLong): Likewise.
113 (getFloat): Likewise.
114 (putFloat): Likewise.
115 (getDouble): Likewise.
116 (putDouble): Likewise.
117 * java/nio/DirectByteBufferImpl.java
118 (getChar): Wrapped code, fixed comment about endianess.
119 (putchar): Likewise.
120 (getShort): Likewise.
121 (putShort): Likewise.
122 (getInt): Fixed conversion, fixed comment about endianess.
123 (putInt): Likewise.
124 (getLong): Likewise.
125 (putLong): Likewise.
126 (getFloat): Likewise.
127 (putFloat): Likewise.
128 (getDouble): Likewise.
129 (putDouble): Likewise.
130 * java/nio/MappedByteBufferImpl.java
131 (compact): Implemented.
132 (getChar): Implemented.
133 (putChar): Implemented.
134 (getDouble): Implemented.
135 (putdouble): Implemented.
136 (getFloat): Implemented.
137 (putFloat): Implemented.
138 (getInt): Implemented.
139 (putInt): Implemented.
140 (getLong): Implemented.
141 (putLong): Implemented.
142 (getShort): Implemented.
143 (putShort): Implemented.
144 * java/nio/channels/FileChannelImpl.java
145 (read): Set position where to access file.
146 (write): Likewise.
147 (transferTo): Flip buffer after read and before write.
148 (transferFrom): Likewise.
149
150 2003-08-02 Michael Koch <konqueror@gmx.de>
151
152 * gnu/java/lang/ArrayHelper.java
153 (equalsArray): Reformated, added method documentation.
154
155 2003-08-02 Michael Koch <konqueror@gmx.de>
156
157 * java/net/URL.java
158 (URL): Added paragraph about the
159 gnu.java.net.nocache_protocol_handlers property.
160 (ph_cache): Renamed from handlers to match classpath's implementation.
161 Reordered it with factory and serialVersionUID member variables.
162 (cache_handlers): New member variable.
163 (static): New static initializer to initialize cache_handlers from
164 gnu.java.net.nocache_protocol_handlers property.
165 (URL): Use ph_cache instead of handlers, reformatted some code to
166 match classpath's implementation.
167
168 2003-08-01 Tom Tromey <tromey@redhat.com>
169
170 Fix for PR libgcj/11241:
171 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
172 initialCapacity is 0, set it to 1.
173
174 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
175
176 * java/net/SocketImpl.java (toString): Display the remote address
177 of an unconnected server socket as "0.0.0.0/0.0.0.0".
178
179 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
180
181 * javax/swing/border/BevelBorder.java,
182 javax/swing/border/EtchedBorder.java,
183 javax/swing/border/LineBorder.java,
184 javax/swing/border/MatteBorder.java,
185 javax/swing/border/SoftBevelBorder.java,
186 javax/swing/plaf/BorderUIResource.java,
187 javax/swing/plaf/ComponentUI.java,
188 javax/swing/plaf/TreeUI.java,
189 javax/swing/plaf/basic/BasicBorders.java,
190 javax/swing/plaf/basic/BasicGraphicsUtils.java,
191 javax/swing/plaf/basic/BasicTreeUI.java:
192 Prepend "doc-files" to all paths to embedded Javadoc images, so
193 that the generated documentation contains the correct URL.
194
195 2003-08-01 Tom Tromey <tromey@redhat.com>
196
197 * configure: Rebuilt.
198 * configure.in (tool_include_dir): Redefine to match gcc.
199
200 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
201 Mark Wielaard <mark@klomp.org>
202
203 * java/math/BigDecimal (divide): Correctly handle
204 ROUND_HALF_EVEN when amount is greater than 0.5.
205 Simplify and optimize code.
206
207 2003-07-31 Tom Tromey <tromey@redhat.com>
208
209 More for PR libgcj/11737:
210 * java/io/ObjectInputStream.java (processResolution): Use
211 getMethod.
212 (getMethod): Make method accessible.
213 (getField): Make field accessible.
214 (setBooleanField): Don't call setAccessible here.
215 (setByteField, setCharField, setDoubleField, setFloatField,
216 setIntField, setLongField, setShortField, setObjectField):
217 Likewise.
218 (callReadMethod): Don't check whether method is null. Catch
219 NoSuchMethodException.
220 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
221 cause on thrown exceptions.
222
223 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
224
225 Fix for PR libgcj/11728:
226 * java/util/HashMap.java (readObject): Set size.
227
228 2003-07-31 Tom Tromey <tromey@redhat.com>
229
230 Fix for PR libgcj/11737:
231 * java/io/ObjectOutputStream.java (getMethod): Make method
232 accessible.
233 (getField): Likewise.
234 (writeObject): Use getMethod.
235 Import PrivilegedAction and AccessController.
236 (callWriteMethod): Don't check whether m is null. Catch
237 NoSuchMethodException.
238
239 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
240 (containsAngle): Likewise.
241 (getStartPoint): Rewrote.
242 (getEndPoint): Likewise.
243 (setAngleStart(Point2D)): Likewise.
244
245 2003-07-31 Roger Sayle <roger@eyesopen.com>
246 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
247
248 * configure.in: Add new THREADCXXFLAGS variable.
249 Handle POSIX threads on alpha*-dec-osf*.
250 * configure: Regenerate.
251 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
252 * Makefile.in: Regenerate.
253
254 2003-07-08 Andrew Haley <aph@redhat.com>
255
256 * include/i386-signal.h (RESTORE): New.
257 (INIT_SEGV): Set restorer.
258 (INIT_FPE): Likewise.
259
260 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
261
262 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
263 than getXLFD.
264 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
265 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
267 (gtkSetFont): Scale size parameter by PANGO_SCALE.
268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
269 Likewise.
270 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
271 Likewise.
272
273 2003-07-29 Tom Tromey <tromey@redhat.com>
274
275 * defineclass.cc (handleField): Throw exception if field name is
276 duplicated.
277 (handleMethod): Throw exception for duplicate method.
278
279 2003-07-29 Tom Tromey <tromey@redhat.com>
280
281 * gnu/gcj/convert/natIconv.cc (write): Handle case where
282 output buffer is too small.
283
284 2003-07-28 Tom Tromey <tromey@redhat.com>
285
286 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
287 New method.
288 Include gnu/gcj/runtime/StringBuffer.h.
289 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
290 native method.
291 (String(gnu.gcj.runtime.StringBuffer)): Use it.
292
293 2003-07-27 Anthony Green <green@redhat.com>
294
295 * configure.in: Fix newlib check.
296 * configure: Rebuilt.
297
298 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
299
300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
301 Create vbox and layout for GtkPlug.
302
303 2003-07-27 Michael Koch <konqueror@gmx.de>
304
305 * java/awt/Window.java
306 (Window): Removed now unused constructor. It became oboslete with the
307 new embedded window patch.
308
309 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
310 Michael Koch <konqueror@gmx.de>
311
312 * gnu/java/awt/EmbeddedWindow.java
313 (EmbeddedWindow): Extends Frame instead of Window.
314 (window_id): New member variable to store the native window handle.
315 (create): Removed.
316 (EmbeddedWindow): New constructor.
317 (addNotify): New method.
318 (getHandler): Likewise.
319 (setWindowPeer): New native method.
320 * gnu/java/awt/EmbeddedWindowSupport.java
321 (EmbeddedWindowSupport): Fixed documentation.
322 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
323 WindowPeer, give it an EmbeddedWindow instance instead of the raw
324 window data.
325 * gnu/java/awt/natEmbeddedWindow.cc
326 (create): Removed.
327 (setWindowPeer): New method.
328 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
329 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
330 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
331 New files
332 * gnu/java/awt/peer/gtk/GtkToolkit.java
333 (GtkToolkit): Implements EmbeddedWindowSupport.
334 (createEmbeddedWindow): New method.
335 * java/awt/Window.java
336 (Window): Removed.
337 * Makefile.am
338 (java_source_files): Added EmbeddedWindowPeer.java.
339 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
340 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
341 * Makefile.in: Regenerated.
342
343 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
344
345 * java/lang/Win32Process.java (ConcreteProcess): Surround
346 a command line element with quotes if it contains an
347 embedded space or tab.
348 * java/lang/natWin32Process.cc (startProcess): Do not
349 surround command line elements with quotes here.
350
351 * configure.host: Use -fcheck-references and
352 -fuse-divide-subroutine for MinGW until we fix
353 win32_exception_handler( ) in win32.cc w.r.t. Win32
354 Structured Exception Handling (SEH).
355
356 * win32.cc (_Jv_platform_initProperties): Use generic names
357 like "x86" for the "os.arch" property to be consistent with
358 what Sun's JDK produces. Use the wProcessorArchitecture
359 member of the Win32 SYSTEM_INFO structure, filled in a call
360 to GetSystemInfo( ), instead of dwProcessorType.
361
362 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
363 Ranjit Mathew <rmathew@hotmail.com>
364
365 * Makefile.am: Use cross-compiling gcjh from the path for
366 a crossed-native build.
367 * Makefile.in: Rebuilt.
368 * configure.in: Include libltdl in non-newlib builds.
369 Moved determination of gcj used to build libraries to
370 its own section. Fixed cross-compilation issues for
371 non-newlib builds.
372 * configure: Rebuilt.
373
374 2003-07-25 Tom Tromey <tromey@redhat.com>
375
376 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
377 (write): Likewise.
378 (read): Likewise.
379 (read): Likewise.
380
381 2003-07-25 Mark Wielaard <mark@klomp.org>
382
383 * java/lang/natRuntime.cc (_load): Add library name to
384 UnsatisfiedLinkError when thrown.
385
386 2003-07-25 Mark Wielaard <mark@klomp.org>
387
388 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
389 added.
390 * Makefile.in: Likewise.
391
392 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
393
394 * java/awt/Component.java
395 (getPreferredSize): Call preferredSize.
396 (preferredSize): Moved body of getPreferredSize here.
397 (getMinimumSize): Call minimumSize.
398 (minimumSize): Moved body of getMinimumSize here.
399 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
400 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
401 pass -1
402 * java/awt/Container.java
403 (validate): Don't validate if there is no peer.
404 (update): Clear background before calling paint.
405 * java/awt/GridBagLayout.java
406 Completed the implementation and fixed several bugs.
407 * java/awt/MediaTracker.java
408 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
409 combine flags.
410 * java/awt/Window.java
411 (Window): Don't call setVisible(false). Windows are invisible by
412 default and calling virtual methods from constructor causes
413 compatibility problems (e.g. subclasses may assume that the peer
414 already exists).
415
416 2003-07-25 Michael Koch <konqueror@gmx.de>
417
418 * java/awt/GridBagLayout.java:
419 Totally reworked and partly implemented.
420 * java/awt/GridBagLayoutInfo.java:
421 New file.
422
423 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
424
425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
426 Don't pack label in an event box.
427
428 2003-07-24 Tom Tromey <tromey@redhat.com>
429
430 For PR libgcj/7482:
431 * verify.cc (ref_intersection): New class.
432 (type_val): Removed unresolved_reference_type,
433 uninitialized_unresolved_reference_type.
434 (is_assignable_from_slow): Rewrote.
435 (type::data): Removed.
436 (type::klass): New field.
437 (type::type): Added verifier argument.
438 (type::resolve): Removed.
439 (type::set_uninitialized): Updated for change to type_val.
440 (type::set_initialized): Likewise.
441 (type::isinitialized): Likewise.
442 (type::print): Likewise.
443 (construct_primitive_array_type): Likewise.
444 (type::compatible): Updated for change to type_val and to use
445 ref_intersection.
446 (type::isarray): Updated to use ref_intersection.
447 (type::isinterface): Likewise.
448 (type::element_type): Likewise.
449 (type::to_array): Likewise.
450 (type::verify_dimensions): Rewrote.
451 (type::merge): Likewise.
452 (check_class_constant): Updated for type constructor change.
453 (check_constant): Likewise.
454 (check_field_constant): Likewise.
455 (get_one_type): Likewise.
456 (initialize_stack): Likewise.
457 (verify_instructions_0): Likewise.
458 (verify_instructions_0) [op_invokeinterface]: Removed special
459 case.
460 (isect_list): New field.
461 (_Jv_BytecodeVerifier): Initialize it.
462 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
463
464 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
465
466 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
467 unless field size is 2.
468
469 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
470
471 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
472 (connectHooks): New method.
473 (handleEvent): Remove.
474 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
475 (createHooks): Remove declaration.
476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
477 (generates_key_typed_event): Change to handle only certain
478 keyvals.
479 (awt_event_handler): Add special handling for GtkTextView.
480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
481 (textcomponent_commit_cb): New function.
482 (textcomponent_changed_cb): Likewise.
483 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
484 (connectHooks): Remove.
485
486 2003-07-23 Tom Tromey <tromey@redhat.com>
487
488 * java/lang/natSystem.cc (arraycopy): Check for overflow.
489
490 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
491
492 2003-07-22 Tom Tromey <tromey@redhat.com>
493
494 * boehm.cc (_Jv_BuildGCDescr): Wrote.
495 Include limits.h.
496
497 2003-07-22 Tom Tromey <tromey@redhat.com>
498
499 * java/awt/Window.java (getWarningString): Just return the
500 string.
501 (Window): Set warningString; check with security manager.
502
503 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
504
505 * gnu/awt/xlib/XGraphicsConfiguration.java
506 (FontMetricsCache): Made static.
507
508 2003-07-22 Tom Tromey <tromey@redhat.com>
509
510 * java/net/URLEncoder.java (encode(String)): Use platform default
511 encoding.
512 (encode(String,String)): Convert to 2-digit upper-case hex
513 number.
514 (hex): New field.
515
516 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
517
518 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
519 (create): Remove unused method implementation.
520 (connectHooks): Remove debug messages.
521
522 2003-07-20 Anthony Green <green@redhat.com>
523
524 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
525 CloneNotSupportedException.
526 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
527 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
528 * gnu/gcj/xlib/GC.java (clone): Ditto.
529 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
530 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
531
532 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
533 handler.
534 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
535
536 2003-07-20 Steve Pribyl <steve@netfuel.com.>
537
538 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
539 String. Put dlerror() message into exception.
540 Include UnsatisfiedLinkError.
541 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
542 String. Now native.
543
544 2003-07-20 Tom Tromey <tromey@redhat.com>
545
546 * java/lang/Runtime.java: Comment fix.
547 * java/lang/ClassLoader.java (isAncestorOf): New method.
548 (getParent): Uncommented security check. Use isAncestorOf.
549 * include/jvm.h (_Jv_CheckAccess): Declare.
550 * java/lang/reflect/natConstructor.cc (newInstance): Perform
551 access check.
552 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
553 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
554 class loader to _Jv_GetArrayClass.
555 Include ArrayIndexOutOfBoundsException.h.
556 * java/lang/reflect/Field.java: Update comment to reflect status.
557 (equals): Fixed indentation.
558 * java/lang/Class.h (Class): Declare memberAccessCheck, not
559 checkMemberAccess. Make _Jv_CheckAccess a friend.
560 * java/lang/Class.java (memberAccessCheck): New method from
561 Classpath.
562 (checkMemberAccess): Removed.
563 (getDeclaredMethod): Use memberAccessCheck.
564 (getField): Likewise.
565 (getMethod): Likewise.
566 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
567 (_Jv_SearchMethodInClass): Likewise.
568 * prims.cc (_Jv_CheckAccess): New function.
569 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
570 (_Jv_JNI_GetAnyFieldID): Likewise.
571 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
572 (getClassLoader): Added security check.
573 (getConstructor): Call memberAccessCheck.
574 (getDeclaredClasses): Likewise.
575 (getDeclaredField): Likewise.
576 (getDeclaredFields): Likewise.
577 (_getConstructors): Likewise.
578 (getDeclaredConstructor): Likewise.
579 (getDeclaredMethods): Likewise.
580 (getFields): Likewise.
581 (getMethods): Likewise.
582 (newInstance): Likewise.
583 (_Jv_MakeVTable): Put method name in exception.
584 * java/lang/reflect/natMethod.cc (getType): Use
585 getClassLoaderInternal.
586 (_Jv_GetTypesFromSignature): Likewise.
587 (invoke): Perform access check.
588 (_Jv_CallAnyMethodA): Removed old FIXME comments.
589 Include ArrayIndexOutOfBoundsException.h.
590 * java/lang/reflect/natField.cc (getType): Use
591 getClassLoaderInternal.
592 (_Jv_CheckFieldAccessibility): Removed.
593 (getAddr): Use _Jv_CheckAccess; find caller.
594 Include ArrayIndexOutOfBoundsException.h.
595
596 2003-07-20 Michael Koch <konqueror@gmx.de>
597
598 * java/net/URL.java
599 (URL): Fixed documentation to name an argument correcty, Reformatted
600 one method declaration.
601 (getURLStreamHandler): Added documentation from classpath.
602
603 2003-07-19 Tom Tromey <tromey@redhat.com>
604
605 * mauve-libgcj: Don't run CollationElementIterator tests.
606
607 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
608
609 * java/net/URLClassLoader.java (addURL): Moved implementation to
610 private addURLImpl() to avoid calling addURL from the constructor.
611 (addURLImpl): Contains the code that was previously in addURL.
612 (addURLs): Call addURLImpl(), not addURL().
613
614 2003-07-18 Graydon Hoare <graydon@redhat.com>
615
616 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
617 Handle missing event cases, connect to "value-changed" signal.
618
619 2003-07-18 Graydon Hoare <graydon@redhat.com>
620
621 * java/awt/geom/CubicCurve2D.java,
622 java/awt/geom/Line2D.java,
623 java/awt/geom/QuadCurve2D.java,
624 java/awt/geom/Rectangle2D.java:
625 Fix path some calculations, make path iterators follow
626 a consistent style.
627
628 2003-07-18 Mark Wielaard <mark@klomp.org>
629
630 * java/util/logging/Handler.java (isLoggable): Check record level
631 smaller or equal.
632
633 2003-07-17 Michael Koch <konqueror@gmx.de>
634
635 * gnu/java/awt/peer/gtk/GtkToolkit.java:
636 Reworked imports.
637
638 2003-07-14 Michael Koch <konqueror@gmx.de>
639
640 * gnu/java/rmi/server/UnicastServerRef.java:
641 New version from classpath.
642
643 2003-07-14 Michael Koch <konqueror@gmx.de>
644
645 * java/awt/image/MemoryImageSource.java,
646 java/beans/PropertyEditorManager.java,
647 javax/naming/CompoundName.java,
648 javax/naming/spi/NamingManager.java,
649 javax/swing/AbstractButton.java,
650 javax/swing/ButtonModel.java,
651 javax/swing/SwingUtilities.java,
652 javax/swing/UIManager.java,
653 javax/swing/colorchooser/DefaultColorSelectionModel.java,
654 javax/swing/event/AncestorEvent.java,
655 javax/swing/event/InternalFrameEvent.java,
656 java/util/zip/ZipFile.java:
657 New versions from classpath.
658
659 2003-07-13 Michael Koch <konqueror@gmx.de>
660
661 * gnu/java/nio/FileChannelImpl.java,
662 gnu/java/nio/natFileChannelImpl.cc: Removed.
663 * java/io/FileInputStream.java,
664 java/io/FileOutputStream.java,
665 java/io/RandomAccessFile.java,
666 java/nio/MappedByteBufferImpl.java:
667 Import java.nio.channels.FileChannelImpl instead of
668 gnu.java.nio.FileChannelImpl.
669 * java/nio/channels/FileChannelImpl.java,
670 java/nio/channels/natFileChannelImpl.cc:
671 New files.
672 * Makefile.am
673 (ordinary_java_source_files):
674 Removed gnu/java/nio/FileChannelImpl.java and added
675 java/nio/channels/FileChannelImpl.java.
676 (nat source_files):
677 Removed gnu/java/nio/natFileChannelImpl.cc and added
678 java/nio/channels/natFileChannelImpl.cc.
679 * Makefile.in: Regenerated.
680
681 2003-07-13 Michael Koch <konqueror@gmx.de>
682
683 * javax/swing/plaf/basic/BasicBorders.java,
684 javax/swing/plaf/basic/BasicLabelUI.java,
685 javax/swing/plaf/basic/BasicLookAndFeel.java,
686 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
687 javax/swing/plaf/basic/BasicTextUI.java,
688 javax/swing/plaf/metal/MetalLookAndFeel.java:
689 New versions from classpath.
690
691 2003-07-13 Michael Koch <konqueror@gmx.de>
692
693 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
694 * gnu/java/awt/peer/gtk/GdkGraphics.java
695 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
696 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
697 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
698 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
699 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
700 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
701 * gnu/java/awt/peer/gtk/GtkClipboard.java
702 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
703 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
704 * gnu/java/awt/peer/gtk/GtkFramePeer.java
705 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
706 * gnu/java/awt/peer/gtk/GtkImage.java
707 * gnu/java/awt/peer/gtk/GtkImagePainter.java
708 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
709 * gnu/java/awt/peer/gtk/GtkListPeer.java
710 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
711 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
712 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
713 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
714 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
715 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
716 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
717 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
718 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
719 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
720 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
721 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
722
723 2003-07-13 Michael Koch <konqueror@gmx.de>
724
725 * gnu/java/locale/LocaleInformation_de.java
726 * gnu/java/locale/LocaleInformation_en.java
727 * gnu/java/locale/LocaleInformation_nl.java
728
729 2003-07-13 Michael Koch <konqueror@gmx.de>
730
731 * gnu/java/awt/EmbeddedWindow.java,
732 gnu/java/awt/EmbeddedWindowSupport.java,
733 gnu/java/awt/natEmbeddedWindow.cc:
734 New files.
735 * java/awt/Window.java
736 (Window): New constructor to support embedded windows.
737 * Makefile.am
738 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
739 gnu/java/awt/EmbeddedWindowSupport.java.
740 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
741 * Makefile.in: Regenerated.
742
743 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
744
745 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
746 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
747 * java/awt/im/InputContext.java: Remove a redundant
748 partial line.
749
750 2003-07-09 Tom Tromey <tromey@redhat.com>
751
752 * Makefile.in: Rebuilt.
753 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
754
755 2003-07-09 Mark Wielaard <mark@klomp.org>
756
757 * java/io/ObjectOutputStream.java (writeObject): break after
758 calling writeClassDescriptor().
759
760 2003-07-09 Mark Mitchell <mark@codesourcery.com>
761
762 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
763
764 2003-07-09 Michael Koch <konqueror@gmx.de>
765
766 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
767 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
768 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
769 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
770 Explicitly import used classes.
771 * java/awt/Container.java: New version from classpath.
772
773 2003-07-09 Michael Koch <konqueror@gmx.de>
774
775 * libgcj.pc.in: New file.
776 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
777 * Makefile.in: Regenerated.
778 * configure: Regenrated.
779 * configure.in: Create libgcj.pc from libgcj.pc.in.
780
781 2003-07-08 Mark Wielaard <mark@klomp.org>
782
783 * gcj/cni.h: CNI now expands to Compiled Native Interface.
784
785 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
786 * java/lang/fdlibm.h: Likewise.
787
788 2003-07-07 Adam Megacz <adam@xwt.org>
789
790 * posix.cc: added #include<stdio.h>
791
792 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
793
794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
795 formatting.
796
797 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
798 (setCaretPosition, setEditable): Rely entirely on native
799 implementation.
800 (getArgs): Remove.
801 (postTextEvent): New method.
802 (handleEvent): New method.
803 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
804 method.
805 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
806 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
807 (keysym_to_awt_keycode): Fix range checks.
808 (generates_key_typed_event): New function.
809 (awt_event_handler): Post AWT_KEY_RELEASED events to event
810 queue.
811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
812 (gtkInit): Store TextComponent's postTextEvent method ID.
813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
814 (setText): Post TEXT_VALUE_CHANGED event to event queue.
815
816 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
817
818 * configure.in: Check for usleep declaration.
819 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
820 * configure: Regenerate.
821 * include/config.h.in: Likewise.
822 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
823
824 2003-07-01 Michael Koch <konqueror@gmx.de>
825
826 * gnu/gcj/convert/natIconv.cc
827 (iconv_init): Fixed possible memory leak by releasing allocated iconv
828 handle.
829
830 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
831
832 * glib-2.0.m4: New file.
833 * gtk-2.0.m4: New file.
834 * glib.m4: Remove.
835 * gtk.m4: Remove.
836 * configure.in: Update AM_PATH_GTK macro call to
837 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
838 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
839 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
840 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
841 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
842 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
843 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
844 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
845 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
846 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
847 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
848 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
849 jni/gtk-peer/gthread-jni.c,
850 jni/gtk-peer/gthread-jni.h:
851 New versions from classpath.
852 * aclocal.m4: Regenerate.
853 * configure: Regenerate.
854 * Makefile.in: Regenerate.
855 * gcj/Makefile.in: Regenerate.
856 * include/Makefile.in: Regenerate.
857 * testsuite/Makefile.in: Regenerate.
858
859 2003-06-30 Gary Benson <gbenson@redhat.com>
860
861 For PR libgcj/11349:
862 * javax/naming/spi/NamingManager.java (getURLContext): Use
863 correct name for factory class.
864
865 2003-06-28 Michael Koch <konqueror@gmx.de>
866
867 * java/io/PrintStream.java
868 (checkError): Call flush() instead of direct flushing of the Writer
869 object.
870 (print): Call print(String) instead of direct print method of the
871 Writer Object.
872 (println): Call println(String) instead of direct println method of the
873 Writer Object.
874 (write): Simplified.
875
876 2003-06-28 Michael Koch <konqueror@gmx.de>
877
878 * java/net/ServerSocket.java
879 (setChannel): New method.
880 * java/net/Socket.java
881 (setChannel): New method.
882
883 2003-06-27 Michael Koch <konqueror@gmx.de>
884
885 * java/beans/beancontext/BeanContextSupport.java:
886 New version from classpath.
887
888 2003-06-27 Michael Koch <konqueror@gmx.de>
889
890 * java/awt/Window.java,
891 java/awt/font/GraphicAttribute.java,
892 java/awt/font/ImageGraphicAttribute.java,
893 java/awt/image/DataBufferByte.java,
894 java/awt/image/DataBufferInt.java,
895 java/awt/image/DataBufferUShort.java,
896 java/awt/image/DirectColorModel.java,
897 java/awt/image/PixelGrabber.java:
898 New versions from classpath.
899
900 2003-06-27 Michael Koch <konqueror@gmx.de>
901
902 * java/security/Certificate.java
903 (getGuarantor): Removed wrong @deprecated tag.
904 (getPrincipal): Likewise.
905 (getPublicKey): Likewise.
906 (encode): Likewise.
907 (decode): Likewise.
908 (getFormat): Likewise.
909 (toString): Likewise.
910 * java/security/cert/PolicyQualifierInfo.java
911 (PolicyQualifierInfo): Made final.
912 * javax/security/auth/x500/X500Principal.java
913 (serialVersionUID): New member variable.
914
915 2003-06-27 Michael Koch <konqueror@gmx.de>
916
917 * java/text/Format.java
918 (serialVersionUID): Fixed value.
919
920 2003-06-27 Michael Koch <konqueror@gmx.de>
921
922 * java/net/Inet4Address.java
923 (Inet4Address): Made package-private.
924 * java/net/Inet6Address.java
925 (Inet4Address): Made package-private.
926
927 2003-06-27 Michael Koch <konqueror@gmx.de>
928
929 * java/io/RandomAccessFile.java
930 (readLine): Removed wrong @deprecated tag.
931 (getChannel): Made final.
932
933 2003-06-27 Michael Koch <konqueror@gmx.de>
934
935 * gnu/java/nio/FileChannelImpl.java
936 (write): Removed.
937
938 2003-06-27 Michael Koch <konqueror@gmx.de>
939
940 * java/nio/ByteBufferImpl.java
941 (ByteBufferImpl): Made it a package-private class
942 * java/nio/CharBufferImpl.java
943 (CharBufferImpl): Made it a package-private class
944 * java/nio/DirectByteBufferImpl.java
945 (DirectByteBufferImpl): Made it a package-private class
946 * java/nio/DoubleBufferImpl.java
947 (DoubleBufferImpl): Made it a package-private class
948 * java/nio/FloatBufferImpl.java
949 (FloatBufferImpl): Made it a package-private class
950 * java/nio/IntBufferImpl.java
951 (IntBufferImpl): Made it a package-private class
952 * java/nio/LongBufferImpl.java
953 (LongBufferImpl): Made it a package-private class
954 * java/nio/ShortBufferImpl.java
955 (ShortBufferImpl): Made it a package-private class
956 * java/nio/channels/FileChannel.java
957 (write): Made final.
958 * java/nio/channels/ServerSocketChannel.java
959 (ServerSocketChanne): Made protected.
960
961 2003-06-27 Michael Koch <konqueror@gmx.de>
962
963 * javax/naming/CompositeName.java
964 (serialVersionUID): New member variable.
965 * javax/naming/CompoundName.java
966 (serialVersionUID): New member variable.
967 * javax/naming/InitialContext.java
968 (InitialContext): Throws NamingException.
969 (init): Likewise.
970 * javax/naming/LinkRef.java
971 (serialVersionUID): New member variable.
972 (gteLinkName): Throws NamingException.
973 * javax/naming/NamingException.java
974 (serialVersionUID): New member variable.
975 * javax/naming/NamingSecurityException.java
976 (NamingSecurityException): Made abstract.
977 (serialVersionUID): New member variable.
978 * javax/naming/ReferralException.java
979 (serialVersionUID): New member variable.
980 * javax/naming/StringRefAddr.java
981 (serialVersionUID): New member variable.
982 * javax/naming/directory/BasicAttribute.java:
983 Reworked imports.
984 (serialVersionUID): New member variable.
985 (get): Throws NamingException.
986 (getAll): Throws NamingException.
987 * javax/naming/directory/BasicAttributes.java:
988 Reworked imports.
989 (serialVersionUID): New member variable.
990 * javax/naming/ldap/UnsolicitedNotificationEvent.java
991 (serialVersionUID): New member variable.
992
993 2003-06-27 Michael Koch <konqueror@gmx.de>
994
995 * Makefile.am
996 (awt_java_source_files): Added new files:
997 javax/swing/Popup.java,
998 javax/swing/PopupFactory.java
999 * Makefile.in: Regenerated.
1000
1001 2003-06-27 Michael Koch <konqueror@gmx.de>
1002
1003 * javax/swing/JWindow.java,
1004 javax/swing/event/AncestorEvent.java,
1005 javax/swing/event/HyperlinkEvent.java,
1006 javax/swing/event/InternalFrameEvent.java,
1007 javax/swing/event/ListDataEvent.java,
1008 javax/swing/event/TableModelEvent.java,
1009 javax/swing/plaf/PopupMenuUI.java,
1010 javax/swing/plaf/SplitPaneUI.java,
1011 javax/swing/plaf/TabbedPaneUI.java,
1012 javax/swing/plaf/TextUI.java,
1013 javax/swing/plaf/TreeUI.java,
1014 javax/swing/plaf/basic/BasicTextUI.java,
1015 javax/swing/plaf/basic/BasicTreeUI.java:
1016 New versions from classpath.
1017 * javax/swing/Popup.java,
1018 javax/swing/PopupFactory.jav:
1019 New source files from classpath.
1020 * javax/swing/plaf/doc-files/TreeUI-1.png:
1021 New binary files from classpath.
1022
1023 2003-06-25 Michael Koch <konqueror@gmx.de>
1024
1025 * Makefile.am
1026 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1027 * Makefile.in: Regenerated.
1028
1029 2003-06-25 Michael Koch <konqueror@gmx.de>
1030
1031 * javax/swing/plaf/ActionMapUIResource.java,
1032 javax/swing/plaf/BorderUIResource.java,
1033 javax/swing/plaf/ButtonUI.java,
1034 javax/swing/plaf/ColorChooserUI.java,
1035 javax/swing/plaf/ColorUIResource.java,
1036 javax/swing/plaf/ComboBoxUI.java,
1037 javax/swing/plaf/ComponentInputMapUIResource.java,
1038 javax/swing/plaf/ComponentUI.java,
1039 javax/swing/plaf/DesktopIconUI.java,
1040 javax/swing/plaf/DesktopPaneUI.java,
1041 javax/swing/plaf/DimensionUIResource.java,
1042 javax/swing/plaf/FileChooserUI.java,
1043 javax/swing/plaf/FontUIResource.java,
1044 javax/swing/plaf/IconUIResource.java,
1045 javax/swing/plaf/InputMapUIResource.java,
1046 javax/swing/plaf/InsetsUIResource.java,
1047 javax/swing/plaf/InternalFrameUI.java,
1048 javax/swing/plaf/LabelUI.java,
1049 javax/swing/plaf/ListUI.java,
1050 javax/swing/plaf/MenuBarUI.java,
1051 javax/swing/plaf/MenuItemUI.java,
1052 javax/swing/plaf/OptionPaneUI.java,
1053 javax/swing/plaf/PanelUI.java,
1054 javax/swing/plaf/ProgressBarUI.java,
1055 javax/swing/plaf/RootPaneUI.java,
1056 javax/swing/plaf/ScrollBarUI.java,
1057 javax/swing/plaf/ScrollPaneUI.java,
1058 javax/swing/plaf/SeparatorUI.java,
1059 javax/swing/plaf/SliderUI.java,
1060 javax/swing/plaf/TableHeaderUI.java,
1061 javax/swing/plaf/TableUI.java,
1062 javax/swing/plaf/ToolBarUI.java,
1063 javax/swing/plaf/ToolTipUI.java,
1064 javax/swing/plaf/ViewportUI.java:
1065 New versions from classpath.
1066 * javax/swing/plaf/SpinnerUI.java:
1067 New file from classpath
1068
1069 2003-06-25 Michael Koch <konqueror@gmx.de>
1070
1071 * java/awt/image/ColorModel.java:
1072 New version from classpath.
1073
1074 2003-06-25 Michael Koch <konqueror@gmx.de>
1075
1076 * java/net/PlainDatagramSocketImpl.java:
1077 Partly merged with classpath, this mainly adds documentation.
1078
1079 2003-06-25 Michael Koch <konqueror@gmx.de>
1080
1081 * java/io/ObjectInputStream.java
1082 (readClassDescriptor): New method.
1083 (readObject): Moved functionality to readClassDescriptor().
1084 * java/io/ObjectOutputStream.java
1085 (writeClassDescriptor): New method.
1086 (writeObject): Moved functionality to writeClassDescriptor().
1087
1088 2003-06-25 Michael Koch <konqueror@gmx.de>
1089
1090 * javax/swing/plaf/basic/BasicListUI.java,
1091 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1092 Added missing methods.
1093
1094 2003-06-25 Michael Koch <konqueror@gmx.de>
1095
1096 * javax/swing/event/AncestorEvent.java
1097 javax/swing/event/HyperlinkEvent.java
1098 javax/swing/event/InternalFrameEvent.java
1099 javax/swing/event/ListDataEvent.java
1100 javax/swing/event/TableModelEvent.java:
1101 Compile fixes.
1102
1103 2003-06-24 Michael Koch <konqueror@gmx.de>
1104
1105 * java/net/URL.java:
1106 Renamed "handler" to "ph" in the whole file to match classpaths
1107 version.
1108 * java/net/URLStreamHandler.java:
1109 (equals): Renamed "handler" to "ph".
1110
1111 2003-06-24 Michael Koch <konqueror@gmx.de>
1112
1113 * javax/swing/event/AncestorEvent.java,
1114 javax/swing/event/HyperlinkEvent.java,
1115 javax/swing/event/InternalFrameEvent.java,
1116 javax/swing/event/ListDataEvent.java,
1117 javax/swing/event/TableModelEvent.java,
1118 javax/swing/event/TreeWillExpandListener.java,
1119 javax/swing/plaf/ComponentUI.java,
1120 javax/swing/plaf/DesktopIconUI.java,
1121 javax/swing/plaf/DesktopPaneUI.java,
1122 javax/swing/plaf/DimensionUIResource.java,
1123 javax/swing/plaf/FileChooserUI.java,
1124 javax/swing/plaf/FontUIResource.java,
1125 javax/swing/plaf/IconUIResource.java,
1126 javax/swing/plaf/InputMapUIResource.java,
1127 javax/swing/plaf/InsetsUIResource.java,
1128 javax/swing/plaf/InternalFrameUI.java,
1129 javax/swing/plaf/LabelUI.java,
1130 javax/swing/plaf/ListUI.java,
1131 javax/swing/plaf/MenuBarUI.java,
1132 javax/swing/plaf/MenuItemUI.java,
1133 javax/swing/plaf/OptionPaneUI.java,
1134 javax/swing/plaf/PanelUI.java,
1135 javax/swing/plaf/ProgressBarUI.java,
1136 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1137 javax/swing/plaf/doc-files/ComponentUI-1.png:
1138 New versions from classpath.
1139
1140 2003-06-24 Michael Koch <konqueror@gmx.de>
1141
1142 * java/nio/Buffer.java
1143 (cap): Made package-private.
1144 (pos): Likewise.
1145 (limit): Likewise.
1146 (mark): Likewise.
1147
1148 2003-06-24 Michael Koch <konqueror@gmx.de>
1149
1150 * java/net/SocketImpl.java
1151 (shutdownInput): Made it non-abstract method throwing an exception
1152 like in SUNs JRE.
1153 (shutdownOutput): Likewise.
1154 * java/net/SocketInputStream.java,
1155 java/net/SocketOutputStream.java:
1156 New files from classpath.
1157
1158 2003-06-24 Michael Koch <konqueror@gmx.de>
1159
1160 * java/awt/Font.java,
1161 java/awt/Window.java,
1162 java/awt/color/ColorSpace.java,
1163 java/awt/datatransfer/StringSelection.java,
1164 java/awt/image/ColorModel.java:
1165 New versions from classpath.
1166
1167 2003-06-24 Michael Koch <konqueror@gmx.de>
1168
1169 * Makefile.am
1170 (awt_java_source_files): Added new files:
1171 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1172 javax/swing/plaf/basic/BasicSplitPaneUI.java
1173 * Makefile.in: Regenerated.
1174
1175 2003-06-24 Michael Koch <konqueror@gmx.de>
1176
1177 * javax/swing/text/JTextComponent.java:
1178 New version from classpath.
1179
1180 2003-06-24 Michael Koch <konqueror@gmx.de>
1181
1182 * javax/swing/Timer.java,
1183 javax/swing/plaf/ActionMapUIResource.java,
1184 javax/swing/plaf/ButtonUI.java,
1185 javax/swing/plaf/ColorChooserUI.java,
1186 javax/swing/plaf/ColorUIResource.java,
1187 javax/swing/plaf/ComboBoxUI.java,
1188 javax/swing/plaf/ComponentInputMapUIResource.java,
1189 javax/swing/plaf/basic/BasicBorders.java:
1190 New versions from classpath.
1191 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1192 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1193 New file from classpath.
1194 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1195 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1196 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1197 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1198 javax/swing/plaf/doc-files/ComponentUI-1.png:
1199 New binary files from classpath.
1200
1201 2003-06-24 Michael Koch <konqueror@gmx.de>
1202
1203 * java/io/LineNumberReader.java
1204 (skip): Dont do line number accounting here as this is already done in
1205 read(), simplified.
1206
1207 2003-06-21 Michael Koch <konqueror@gmx.de>
1208
1209 * java/io/File.java
1210 (static): Load javaio lib if existing (only in classpath).
1211 (File): Revised documentation to show the correct argument name.
1212 (createTempFile): Partly merged with classpath.
1213 (compareTo): Simplified.
1214 (lastModified): Throw exception if time < 0.
1215 (deleteOnExit): Revised documentation.
1216
1217 2003-06-21 Michael Koch <konqueror@gmx.de>
1218
1219 * java/net/PlainSocketImpl.java:
1220 Reformatted.
1221 (PlainSocketImpl): Merged class documentaion with classpath.
1222 (in): Moved.
1223 (out): Moved.
1224 (PlainSocketImpl): New empty constructor.
1225 (finalize): Moved.
1226 (setOption): Merged documentation from classpath.
1227 (getOption): Likewise.
1228 (create): Likewise.
1229 (connect): Likewise.
1230 (bind): Likewise.
1231 (listen): Likewise.
1232 (accept): Likewise.
1233 (available): Likewise.
1234 (close): Likewise.
1235 (read): Likewise.
1236 (write): Likewise.
1237 (getInputStream): Made synchronozed to get sure that only one stream
1238 object can be created for this socket, merged documentation from
1239 classpath.
1240 (getOutputStream): Likewise.
1241
1242 2003-06-21 Michael Koch <konqueror@gmx.de>
1243
1244 * java/net/PlainSocketImpl.java:
1245 Reformatting.
1246 (static): New implicit method.
1247 (read): Made package private.
1248 (write): Likewise.
1249
1250 2003-06-21 Michael Koch <konqueror@gmx.de>
1251
1252 * java/util/SimpleTimeZone.java:
1253 Removed unneeded import, reformatting.
1254
1255 2003-06-21 Michael Koch <konqueror@gmx.de>
1256
1257 * java/text/DateFormat.java,
1258 java/text/SimpleDateFormat.java,
1259 java/util/Locale.java:
1260 New versions from classpath.
1261
1262 2003-06-21 Michael Koch <konqueror@gmx.de>
1263
1264 * javax/swing/SpinnerModel.java:
1265 New file from classpath.
1266 * javax/swing/border/LineBorder.java,
1267 javax/swing/border/SoftBevelBorder.java,
1268 javax/swing/plaf/BorderUIResource.java,
1269 javax/swing/plaf/basic/BasicBorders.java:
1270 New versions from classpath.
1271 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1272 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1273 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1274 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1275 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1276 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1277 New binary files from classpath.
1278
1279 2003-06-21 Michael Koch <konqueror@gmx.de>
1280
1281 * java/util/logging/LogRecord.java,
1282 java/util/logging/Logger.java,
1283 java/util/logging/SocketHandler.java,
1284 java/util/logging/SimpleFormatter.java,
1285 java/util/logging/Formatter.java,
1286 java/util/logging/ErrorManager.java,
1287 java/util/logging/Handler.java,
1288 java/util/logging/FileHandler.java,
1289 java/util/logging/LogManager.java,
1290 java/util/logging/Level.java,
1291 java/util/logging/ConsoleHandler.java,
1292 java/util/logging/StreamHandler.java,
1293 java/util/logging/LoggingPermission.java,
1294 java/util/logging/Filter.java,
1295 java/util/logging/MemoryHandler.java,
1296 java/util/logging/XMLFormatter.java:
1297 New files from classpath.
1298
1299 2003-06-20 Michael Koch <konqueror@gmx.de>
1300
1301 * java/io/ObjectStreamField.java
1302 (unshared): new member variable.
1303 (ObjectStreamField): New constructor.
1304 (isUnshared): New method.
1305
1306 2003-06-20 Michael Koch <konqueror@gmx.de>
1307
1308 * java/net/URLStreamHandler.java
1309 (hostsEqual): Rewritten.
1310
1311 2003-06-20 Michael Koch <konqueror@gmx.de>
1312
1313 * gnu/java/nio/MappedByteFileBuffer.java,
1314 gnu/java/nio/natMappedByteFileBuffer.cc:
1315 Removed
1316 * java/nio/MappedByteBufferImpl.java:
1317 New file.
1318 * gnu/java/nio/FileChannelImpl.java:
1319 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1320 * Makefile.am
1321 (ordinary_java_source_files): Removed
1322 gnu/java/nio/MappedByteFileBuffer.java and added
1323 java/nio/MappedByteBufferImpl.java.
1324 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1325 * Makefile.in: Regenerated.
1326
1327 2003-06-19 Michael Koch <konqueror@gmx.de>
1328
1329 * gnu/java/nio/DatagramChannelImpl.java
1330 (fd): Removed.
1331 (blocking): New member variable.
1332 (socket): Likewise.
1333 (DatagramChannelImpl): Throws IOException, initialize socket.
1334 (socket):Implemented.
1335 (implCloseSelectableChannel): Throws IOException, implemented.
1336 (implConfigureBlocking): Likewise.
1337 (connect): Likewise.
1338 (disconnect): Likewise.
1339 (isConnected): Likewise.
1340 (write): Likewise.
1341 (read): Likewise.
1342 (receive): Throws IOException.
1343 (send): Likewise.
1344 * gnu/java/nio/SocketChannelImpl.java
1345 (read): Implemented.
1346 (write): Implemented.
1347
1348 2003-06-19 Michael Koch <konqueror@gmx.de>
1349
1350 * javax/swing/JComponent.java,
1351 javax/swing/JInternalFrame.java,
1352 javax/swing/MenuSelectionManager.java,
1353 javax/swing/SwingUtilities.java,
1354 javax/swing/ToggleButtonModel.java:
1355 New versions from classpath.
1356
1357 2003-06-19 Michael Koch <konqueror@gmx.de>
1358
1359 * java/text/CollationElementIterator.java
1360 (NULLORDER): Initialize with -1 as JDK documentation says.
1361
1362 2003-06-19 Michael Koch <konqueror@gmx.de>
1363
1364 * java/net/HttpURLConnection.java,
1365 java/net/Inet4Address.java,
1366 java/net/Inet6Address.java,
1367 java/net/SocketImpl.java,
1368 java/net/URLClassLoader.java:
1369 Reworked import statements.
1370 * java/net/InetAddress.java
1371 (getByAddress): Simplified.
1372 * java/net/ServerSocket.java
1373 (ServerSocket): Moved special handling during bind operation to
1374 bind().
1375 (bind): Handle different cases when trying to bind a socket.
1376 * java/net/URLConnection.java
1377 (getHeaderFieldDate): Merged with classpath.
1378 (getHeaderFieldInt): Likewise.
1379
1380 2003-06-19 Michael Koch <konqueror@gmx.de>
1381
1382 * java/util/zip/InflaterInputStream.java
1383 (InflaterInputStream): Throw NullPointerException if in is null (as
1384 JDK does).
1385
1386 2003-06-19 Michael Koch <konqueror@gmx.de>
1387
1388 * java/awt/Font.java
1389 javax/swing/UIManager.java
1390 javax/swing/border/AbstractBorder.java
1391 javax/swing/border/BevelBorder.java
1392 javax/swing/border/Border.java
1393 javax/swing/border/CompoundBorder.java
1394 javax/swing/border/EmptyBorder.java
1395 javax/swing/border/EtchedBorder.java
1396 javax/swing/border/LineBorder.java
1397 javax/swing/border/MatteBorder.java
1398 javax/swing/border/TitledBorder.java
1399 javax/swing/plaf/BorderUIResource.java
1400 javax/swing/plaf/basic/BasicBorders.java
1401 javax/swing/plaf/basic/BasicButtonUI.java
1402 javax/swing/plaf/basic/BasicCheckBoxUI.java
1403 javax/swing/plaf/basic/BasicGraphicsUtils.java
1404 javax/swing/plaf/basic/BasicLabelUI.java
1405 javax/swing/plaf/basic/BasicRadioButtonUI.java
1406 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1407 New versions from classpath.
1408 * javax/swing/border/SoftBevelBorder.java:
1409 New file from classpath.
1410 * javax/swing/border/doc-files/LineBorder-1.png,
1411 javax/swing/border/doc-files/BevelBorder-1.png,
1412 javax/swing/border/doc-files/BevelBorder-2.png,
1413 javax/swing/border/doc-files/BevelBorder-3.png,
1414 javax/swing/border/doc-files/EmptyBorder-1.png,
1415 javax/swing/border/doc-files/EtchedBorder-1.png,
1416 javax/swing/border/doc-files/EtchedBorder-2.png,
1417 javax/swing/border/doc-files/MatteBorder-1.png,
1418 javax/swing/border/doc-files/MatteBorder-2.png,
1419 javax/swing/border/doc-files/MatteBorder-3.png,
1420 javax/swing/border/doc-files/MatteBorder-4.png,
1421 javax/swing/border/doc-files/MatteBorder-5.png,
1422 javax/swing/border/doc-files/MatteBorder-6.png,
1423 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1424 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1425 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1426 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1427 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1428 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1429 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1430 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1431 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1432 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1433 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1434 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1435 New binary files from classpath.
1436 * Makefile.am
1437 (awt_java_source_files): Added
1438 javax/swing/border/SoftBevelBorder.java.
1439 * Makefile.in: Regenerated.
1440
1441 2003-06-19 Michael Koch <konqueror@gmx.de>
1442
1443 * gnu/java/security/x509/X509Certificate.java
1444 (writeReplace): Merged from classpath.
1445
1446 2003-06-19 Michael Koch <konqueror@gmx.de>
1447
1448 * gnu/java/nio/FileChannelImpl.java
1449 (map_address): Made public.
1450 (FileChannelImpl): Merged with classpath.
1451 * gnu/java/nio/natFileChannelImpl.cc
1452 (nio_mmap_file): Commented out unused arguments.
1453 (nio_unmmap_file): Likewise.
1454 (niu_msync): Likewise.
1455
1456 2003-06-19 Michael Koch <konqueror@gmx.de>
1457
1458 * java/awt/image/IndexColorModel.java:
1459 New version from classpath.
1460
1461 2003-06-18 Tom Tromey <tromey@redhat.com>
1462
1463 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1464 on arrays.
1465 (isLoopbackAddress): Likewise.
1466 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1467 on arrays.
1468
1469 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1470
1471 * java/lang/natVMSecurityManager.cc (getClassContext):
1472 Use maxlen instead of len for loop bound.
1473
1474 2003-06-18 Michael Koch <konqueror@gmx.de>
1475
1476 * gnu/java/nio/SelectorImpl.java
1477 (register): Use fd with value 0 for now, will be fixed later.
1478 * gnu/java/nio/ServerSocketChannelImpl.java
1479 (fd): Removed.
1480 (local_port): Removed.
1481 (InetSocketAddress): Removed.
1482 (ServerSocketChannelImpl): Just initialize internal socket object.
1483 (implCloseSelectableChannel): Close internal socket object.
1484 (implConfigureBlocking): Added comment.
1485 (accept): Use jaba.net stuff to accept socket.
1486 * gnu/java/nio/SocketChannelImpl.java
1487 (fd): Removed.
1488 (local_port): Removed.
1489 (InetSocketAddress): Removed.
1490 (SocketCreate): Removed.
1491 (SocketConnect): Removed.
1492 (SocketBind): Removed.
1493 (SocketListen): Removed.
1494 (SocketAvailable): Removed.
1495 (SocketClose): Removed.
1496 (SocketRead): Removed.
1497 (SocketWrite): Removed.
1498 (SocketChannelImpl): Just initialize internal socket object.
1499 (implCloseSelectableChannel): Close internal socket object.
1500 (implConfigureBlocking): Fixed implementation, added comment.
1501 (connect): Use internal socket object to connect.
1502 (socket): No need for sanity checks.
1503 (read): Comment out some stuff, this will be reimplemented in the next
1504 commit.
1505 (write): Likewise.
1506 * gnu/java/nio/natFileChannelImpl.cc
1507 (nio_mmap_file): Line wrapped.
1508 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1509 * Makefile.am
1510 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1511 * Makefile.in: Regenerated.
1512
1513 2003-06-18 Michael Koch <konqueror@gmx.de>
1514
1515 * java/util/Locale.java
1516 (equals): Merged from classpath.
1517
1518 2003-06-18 Michael Koch <konqueror@gmx.de>
1519
1520 * java/net/InetAddress.java:
1521 Reformatted to better match classpath's version.
1522 * java/net/URL.java
1523 (equals): Simplified.
1524 * java/net/URLConnection.java
1525 (setDoInput): Revised documentation.
1526 (getDefaultUseCaches): Likewise.
1527 (setRequestProperty): Added @since tag.
1528
1529 2003-06-17 Michael Koch <konqueror@gmx.de>
1530
1531 * java/net/InetSocketAddress.java
1532 (InetSocketAddress): Use wildcard address if addr is null.
1533 (InetSocketAddress): Dont duplicate implementation.
1534 (InetSocketAddress): Throw exception when hostname is null.
1535 * java/net/Socket.java:
1536 Reworked imports.
1537 (Socket): Throw exception when raddr is null, handle case when laddr
1538 is null.
1539
1540 2003-06-17 Michael Koch <konqueror@gmx.de>
1541
1542 * java/nio/DirectByteBufferImpl.java
1543 (address): Made package private.
1544 (DirectByteBufferImpl): New constructor.
1545 * java/nio/natDirectByteBufferImpl.cc
1546 (allocateImpl): Moved to java.nio namespace, implemented.
1547 (freeImpl): Likewise.
1548 (getImpl): Likewise.
1549 (putImpl): Likewise.
1550 * jni.cc
1551 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1552 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1553 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1554
1555 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1556
1557 * include/powerpc-signal.h: New File.
1558 * configure.in: Use it.
1559 * configure: Regenerated.
1560
1561 2003-06-17 Michael Koch <konqueror@gmx.de>
1562
1563 * java/util/Locale.java
1564 (getDisplayLanguage): Made it final.
1565 (getDisplayCountry): Likewise.
1566 (getDisplayVariant): Likewise.
1567 (getDisplayName): Likewise.
1568
1569 2003-06-17 Michael Koch <konqueror@gmx.de>
1570
1571 * java/util/PropertyResourceBundle.java:
1572 Removed unneeded import.
1573
1574 2003-06-17 Michael Koch <konqueror@gmx.de>
1575
1576 * java/util/prefs/AbstractPreferences.java,
1577 java/util/prefs/PreferencesFactory.java:
1578 Reworked imports, removed unused imports.
1579 * java/util/prefs/Preferences.java
1580 (systemNodeForPackage): Method takes a Class not an Object.
1581 (userNodeForPackage): Likewise.
1582 (nodeForPackage): Likewise.
1583
1584 2003-06-17 Michael Koch <konqueror@gmx.de>
1585
1586 * gnu/java/security/x509/X509Certificate.java:
1587 Explicitely import used classes.
1588
1589 2003-06-17 Michael Koch <konqueror@gmx.de>
1590
1591 * java/util/zip/ZipEntry.java,
1592 java/util/zip/ZipFile.java,
1593 java/util/zip/ZipInputStream.java,
1594 java/util/zip/ZipOutputStream.java:
1595 Reworked imports, only import used classes.
1596
1597 2003-06-17 Michael Koch <konqueror@gmx.de>
1598
1599 * gnu/java/lang/ArrayHelper.java,
1600 gnu/java/lang/ClassHelper.java:
1601 Reformatted to match classpath's versions.
1602
1603 2003-06-14 Michael Koch <konqueror@gmx.de>
1604
1605 * gnu/java/nio/FileChannelImpl.java
1606 (map_address): Removed incorrect comment.
1607 * gnu/java/nio/SelectorImpl.java
1608 (register): Remove code duplication and code for file channel handling.
1609 * gnu/java/nio/ServerSocketChannelImpl.java
1610 (serverSocket): Renamed from sock_object.
1611 (ServerSocketChannel): Initialize serverSocket.
1612 (socket): Return serverSocket.
1613 * gnu/java/nio/SocketChannelImpl.java
1614 (socket): Renamed from sock_object.
1615 (isConnectionPenging): Simplified.
1616 (socket): Return socket.
1617 2003-06-14 Michael Koch <konqueror@gmx.de>
1618
1619 * java/security/BasicPermission.java:
1620 New version from classpath.
1621
1622 2003-06-14 Michael Koch <konqueror@gmx.de>
1623
1624 * javax/naming/directory/Attribute.java:
1625 New version from classpath.
1626
1627 2003-06-14 Michael Koch <konqueror@gmx.de>
1628
1629 * java/io/BufferedReader.java,
1630 java/io/FileOutputStream.java:
1631 New versions from classpath.
1632
1633 2003-06-12 Andrew Haley <aph@redhat.com>
1634
1635 * prims.cc (catch_segv): Create exception in handler.
1636 (catch_fpe): Likewise.
1637 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1638 (_Jv_ThrowSignal): Remove.
1639
1640 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1641 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1642 to nullp and arithexception.
1643 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1644 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1645 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1646 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1647 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1648
1649 2003-06-11 Andrew Haley <aph@redhat.com>
1650
1651 * jni.cc (_Jv_JNI_check_types): New.
1652 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1653 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1654 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1655 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1656
1657 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1658 infinite loop.
1659
1660 2003-06-11 Tom Tromey <tromey@redhat.com>
1661
1662 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1663 * java/io/PrintStream.java: Not deprecated.
1664
1665 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1666
1667 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1668 (fillOval): implemented
1669 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1670 (fillArc): implemented.
1671 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1672 (fillArc): added native method.
1673 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1674 (fillArc): added native method.
1675
1676 2003-06-11 Michael Koch <konqueror@gmx.de>
1677
1678 * java/awt/im/InputSubset.java:
1679 New version from classpath.
1680
1681 2003-06-11 Michael Koch <konqueror@gmx.de>
1682
1683 * javax/swing/AbstractAction.java,
1684 javax/swing/AbstractButton.java,
1685 javax/swing/AbstractCellEditor.java,
1686 javax/swing/AbstractListModel.java,
1687 javax/swing/BorderFactory.java,
1688 javax/swing/Box.java,
1689 javax/swing/BoxLayout.java,
1690 javax/swing/ButtonGroup.java,
1691 javax/swing/DefaultButtonModel.java,
1692 javax/swing/DefaultListModel.java,
1693 javax/swing/DefaultListSelectionModel.java,
1694 javax/swing/FocusManager.java,
1695 javax/swing/ImageIcon.java,
1696 javax/swing/InputMap.java,
1697 javax/swing/JApplet.java,
1698 javax/swing/JButton.java,
1699 javax/swing/JCheckBox.java,
1700 javax/swing/JCheckBoxMenuItem.java,
1701 javax/swing/JColorChooser.java,
1702 javax/swing/JComboBox.java,
1703 javax/swing/JComponent.java,
1704 javax/swing/JDesktopPane.java,
1705 javax/swing/JDialog.java,
1706 javax/swing/JEditorPane.java,
1707 javax/swing/JFileChooser.java,
1708 javax/swing/JFormattedTextField.java,
1709 javax/swing/JFrame.java,
1710 javax/swing/JLabel.java,
1711 javax/swing/JLayeredPane.java,
1712 javax/swing/JList.java,
1713 javax/swing/JMenuBar.java,
1714 javax/swing/JMenuItem.java,
1715 javax/swing/JOptionPane.java,
1716 javax/swing/JPanel.java,
1717 javax/swing/JPasswordField.java,
1718 javax/swing/JPopupMenu.java,
1719 javax/swing/JProgressBar.java,
1720 javax/swing/JRadioButton.java,
1721 javax/swing/JRadioButtonMenuItem.java,
1722 javax/swing/JRootPane.java,
1723 javax/swing/JScrollBar.java,
1724 javax/swing/JScrollPane.java,
1725 javax/swing/JSeparator.java,
1726 javax/swing/JSlider.java,
1727 javax/swing/JTabbedPane.java,
1728 javax/swing/JTable.java,
1729 javax/swing/JTextField.java,
1730 javax/swing/JToggleButton.java,
1731 javax/swing/JToolBar.java,
1732 javax/swing/JToolTip.java,
1733 javax/swing/JTree.java,
1734 javax/swing/JViewport.java,
1735 javax/swing/JWindow.java,
1736 javax/swing/KeyStroke.java,
1737 javax/swing/ListSelectionModel.java,
1738 javax/swing/LookAndFeel.java,
1739 javax/swing/RepaintManager.java,
1740 javax/swing/ScrollPaneLayout.java,
1741 javax/swing/SizeRequirements.java,
1742 javax/swing/SwingConstants.java,
1743 javax/swing/Timer.java,
1744 javax/swing/UIDefaults.java,
1745 javax/swing/UIManager.java,
1746 javax/swing/border/AbstractBorder.java,
1747 javax/swing/border/CompoundBorder.java,
1748 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1749 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1750 javax/swing/colorchooser/ColorSelectionModel.java,
1751 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1752 javax/swing/event/AncestorEvent.java,
1753 javax/swing/event/HyperlinkEvent.java,
1754 javax/swing/event/InternalFrameAdapter.java,
1755 javax/swing/event/InternalFrameEvent.java,
1756 javax/swing/event/ListDataEvent.java,
1757 javax/swing/event/MouseInputAdapter.java,
1758 javax/swing/event/SwingPropertyChangeSupport.java,
1759 javax/swing/event/TableModelEvent.java,
1760 javax/swing/event/TreeWillExpandListener.java,
1761 javax/swing/event/UndoableEditEvent.java,
1762 javax/swing/filechooser/FileFilter.java,
1763 javax/swing/filechooser/FileSystemView.java,
1764 javax/swing/filechooser/FileView.java,
1765 javax/swing/plaf/BorderUIResource.java,
1766 javax/swing/plaf/basic/BasicDefaults.java,
1767 javax/swing/table/AbstractTableModel.java,
1768 javax/swing/table/DefaultTableCellRenderer.java,
1769 javax/swing/table/DefaultTableColumnModel.java,
1770 javax/swing/table/DefaultTableModel.java,
1771 javax/swing/table/TableColumn.java,
1772 javax/swing/text/JTextComponent.java,
1773 javax/swing/tree/AbstractLayoutCache.java,
1774 javax/swing/tree/DefaultMutableTreeNode.java,
1775 javax/swing/tree/DefaultTreeCellEditor.java,
1776 javax/swing/tree/DefaultTreeCellRenderer.java,
1777 javax/swing/tree/DefaultTreeModel.java,
1778 javax/swing/tree/DefaultTreeSelectionModel.java,
1779 javax/swing/tree/FixedHeightLayoutCache.java,
1780 javax/swing/tree/TreeCellEditor.java,
1781 javax/swing/tree/TreeModel.java,
1782 javax/swing/tree/TreeNode.java,
1783 javax/swing/tree/TreePath.java,
1784 javax/swing/tree/TreeSelectionModel.java,
1785 javax/swing/tree/VariableHeightLayoutCache.java,
1786 javax/swing/undo/AbstractUndoableEdit.java,
1787 javax/swing/undo/CompoundEdit.java,
1788 javax/swing/undo/StateEdit.java,
1789 javax/swing/undo/UndoManager.java,
1790 javax/swing/undo/UndoableEditSupport.java:
1791 New versions from classpath.
1792 * javax/swing/table/JTableHeader.java:
1793 New file from classpath.
1794 * Makefile.am
1795 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1796 * Makefile.in: Regenerated.
1797
1798 2003-06-11 Michael Koch <konqueror@gmx.de>
1799
1800 * java/nio/MappedByteBuffer.java,
1801 java/nio/channels/Channels.java,
1802 java/nio/channels/ServerSocketChannel.java,
1803 java/nio/channels/spi/AbstractSelector.java:
1804 Removed unneeded imports.
1805
1806 2003-06-11 Michael Koch <konqueror@gmx.de>
1807
1808 * java/net/DatagramSocket.java:
1809 Partly merged with classpath.
1810
1811 2003-06-11 Michael Koch <konqueror@gmx.de>
1812
1813 * java/awt/Frame.java,
1814 java/awt/Graphics.java,
1815 java/awt/Menu.java,
1816 java/awt/Robot.java,
1817 java/awt/image/ColorModel.java:
1818 New versions from classpath.
1819
1820 2003-06-10 Michael Koch <konqueror@gmx.de>
1821
1822 * java/io/PrintStream.java:
1823 Merged version from classpath.
1824 (close): Removed sychronized keyword. This class is not garantied to
1825 be thread-safe.
1826 (write): Likewise.
1827
1828 2003-06-09 Tom Tromey <tromey@redhat.com>
1829
1830 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1831 field.
1832 (getDescent): Likewise, for "descent".
1833
1834 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1835
1836 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1837 (getMaxDescent): adjusted return value.
1838 (getAscent): modified to use metrics for 'O'.
1839 (getDescent): modified to use metrics for 'y'.
1840
1841 2003-06-08 Anthony Green <green@redhat.com>
1842
1843 * java/net/URLStreamHandler.java (sameFile): Fix port value
1844 comparison.
1845 * java/net/URL.java (handler): Make package private.
1846 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1847
1848 2003-06-07 Tom Tromey <tromey@redhat.com>
1849
1850 For PR libgcj/11085:
1851 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1852 Limit number of characters in numeric field when required.
1853 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1854 Respect maximumIntegerDigits.
1855
1856 2003-06-08 Michael Koch <konqueror@gmx.de>
1857
1858 * java/net/Socket.java
1859 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1860 call bind() and connect() to actually do the bind and connect tasks.
1861 (bind): Connect to canonical address if bindpoint is null, create
1862 socket and bind it to bindpoint.
1863 (connect): Check for exceptions.
1864
1865 2003-06-08 Michael Koch <konqueror@gmx.de>
1866
1867 * java/net/DatagramSocket.java
1868 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1869 into the Multicast constructors.
1870 * java/net/DatagramSocketImpl.java
1871 (getOption): Removed.
1872 (setOption): Removed.
1873 * java/net/MulticastSocket.java
1874 (MulticastSocket): Call setReuseAddress (true).
1875 * java/net/SocketImpl.java
1876 (getOption): Removed.
1877 (setOption): Removed.
1878
1879 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1880
1881 PR libgcj/10886:
1882 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1883 Test for empty vector.
1884
1885 2003-06-06 Mark Wielaard <mark@klomp.org>
1886
1887 * java/security/Security.java (secprops): Initialize.
1888 (loadProviders): Return boolean.
1889 (static): Check result of loadProvider calls. If necessary
1890 display WARNING and fallback to Gnu provider.
1891
1892 2002-06-06 James Clark <jjc@jclark.com>
1893
1894 Fix for PR libgcj/8738:
1895 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1896 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1897 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1898 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1899 (write): Always decrease avail when count is increased.
1900 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1901 and whether output buffer is full before increasing size.
1902
1903 2002-06-06 Mark Wielaard <mark@klomp dot org>
1904
1905 * java/io/PrintStream.java (writeChars(char[],int, int)):
1906 Check converter.havePendingBytes().
1907 (writeChars(String,int,int)): Likewise.
1908 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1909 Check converter.havePendingBytes() and flush buffer when stalled.
1910
1911 2003-06-07 Michael Koch <konqueror@gmx.de>
1912
1913 * include/posix.h
1914 (O_DSYNC): Define O_DSYNC on platforms not
1915 supporting O_FSYNC (newlib).
1916
1917 2003-06-06 Mark Wielaard <mark@klomp.org>
1918
1919 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1920 AWTError.
1921
1922 2003-06-06 Michael Koch <konqueror@gmx.de>
1923
1924 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1925 More compile fixes from my stupid work yesterday.
1926
1927 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1928
1929 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1930 if _IEEE_LIBM is undefined.
1931
1932 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1933
1934 * libjava/include/posix.h (O_SYNC): Define if not available
1935 and a reasonable, perhaps more conservative, replacement exists.
1936 (O_DSYNC): Likewise.
1937 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1938
1939 2003-06-05 Michael Koch <konqueror@gmx.de>
1940
1941 * javax/swing/plaf/BorderUIResource.java,
1942 javax/swing/plaf/basic/BasicDefaults.java,
1943 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1944 More compile fixes for latest Border commit. I should not commit
1945 something in this heat here ...
1946
1947 2003-06-05 Michael Koch <konqueror@gmx.de>
1948
1949 * javax/swing/border/BevelBorder.java
1950 (BevelBorder): Removed.
1951 * javax/swing/border/EmptyBorder.java:
1952 Reformatted.
1953 (EmptyBorder): Removed.
1954 (getBorderInsets): Dont use l, r, t and b.
1955 * javax/swing/border/EtchedBorder.java
1956 (EtchedBorder): Removed.
1957 * javax/swing/border/LineBorder.java
1958 (LineBorder): Removed.
1959 * javax/swing/border/MatteBorder.java
1960 (MatteBorder): Removed.
1961 * javax/swing/border/TitledBorder.java
1962 (defaultBorder): Use other default for now.
1963 (defaultFont): Likewise.
1964 (defaultColor): Likewise.
1965
1966 2003-06-05 Michael Koch <konqueror@gmx.de>
1967
1968 * javax/swing/border/Border.java:
1969 New version from classpath.
1970
1971 2003-06-05 Michael Koch <konqueror@gmx.de>
1972
1973 * javax/swing/border/AbstractBorder.java,
1974 javax/swing/border/BevelBorder.java,
1975 javax/swing/border/CompoundBorder.java,
1976 javax/swing/border/EmptyBorder.java,
1977 javax/swing/border/EtchedBorder.java,
1978 javax/swing/border/LineBorder.java,
1979 javax/swing/border/MatteBorder.java,
1980 javax/swing/border/TitledBorder.java:
1981 New versions from Classpath.
1982
1983 2003-06-05 Michael Koch <konqueror@gmx.de>
1984
1985 * java/awt/Button.java,
1986 java/awt/Checkbox.java,
1987 java/awt/CheckboxMenuItem.java,
1988 java/awt/Choice.java,
1989 java/awt/Container.java,
1990 java/awt/Dialog.java,
1991 java/awt/EventQueue.java,
1992 java/awt/FileDialog.java,
1993 java/awt/Frame.java,
1994 java/awt/Label.java,
1995 java/awt/List.java,
1996 java/awt/Menu.java,
1997 java/awt/MenuItem.java,
1998 java/awt/Panel.java,
1999 java/awt/PopupMenu.java,
2000 java/awt/Rectangle.java,
2001 java/awt/ScrollPane.java,
2002 java/awt/Scrollbar.java,
2003 java/awt/TextArea.java,
2004 java/awt/TextField.java,
2005 java/awt/Window.java,
2006 java/awt/datatransfer/DataFlavor.java,
2007 java/awt/dnd/DragSource.java,
2008 java/awt/dnd/DragSourceContext.java,
2009 java/awt/event/HierarchyEvent.java,
2010 java/awt/event/MouseWheelEvent.java,
2011 java/awt/im/InputContext.java,
2012 java/awt/image/BufferedImage.java,
2013 java/awt/image/ComponentColorModel.java,
2014 java/awt/image/Raster.java,
2015 java/awt/image/WritableRaster.java,
2016 java/awt/peer/ComponentPeer.java,
2017 java/awt/print/PageFormat.java,
2018 java/awt/print/PrinterJob.java:
2019 New versions from Classpath.
2020
2021 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
2022
2023 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2024 numberFormat.setParseIntegerOnly(true).
2025
2026 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2027
2028 * include/posix-threads.h: Include <machine/pal.h> on OSF.
2029
2030 2003-06-03 Andrew Haley <aph@redhat.com>
2031
2032 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2033 stack volatile to prevent optimization from removing it.
2034
2035 2003-05-27 Michael Koch <konqueror@gmx.de>
2036
2037 * java/util/zip/Deflater.java
2038 (FILTERED): Merged documentation from classpath.
2039 * java/util/zip/DeflaterOutputStream.java
2040 (DeflaterOutputStream): Merged documentation and argument validity
2041 check from classpath.
2042 (deflate): Merged documentation from classpath.
2043 (finish): Likewise.
2044 * java/util/zip/Inflater.java
2045 (Inflater): Merged class documentation from classpath.
2046 (zstream): Reordered.
2047 (is_finished): Reordered.
2048 (dict_needed): Reordered.
2049 (Inflater): Reordered, merged documentation from classpath.
2050 (end): Likewise.
2051 (finalize): Merged documentation from classpath.
2052 (finished): Likewise.
2053 (getAdler): Likewise.
2054 (getRemaining): Likewise.
2055 (getTotalIn): Likewise.
2056 (getTotalOut): Likewise.
2057 (inflate): Likewise.
2058 (needsDictionary): Likewise.
2059 (needsInput): Likewise.
2060 (reset): Likewise.
2061 (setDictionary): Likewise.
2062 (setInput): Likewise.
2063
2064 2003-05-27 Michael Koch <konqueror@gmx.de>
2065
2066 * java/net/URLConnection.java
2067 (getHeaderFieldInt): Merged with classpath.
2068
2069 2003-05-27 Michael Koch <konqueror@gmx.de>
2070
2071 * java/io/PrintStream.java
2072 (PrintStream): Reformatted.
2073 (PrintStream): New method, merged from classpath.
2074 (write): Reformatted.
2075
2076 2003-05-27 Michael Koch <konqueror@gmx.de>
2077
2078 * java/lang/System.java:
2079 Explicitely import needed classes.
2080
2081 2003-05-26 Michael Koch <konqueror@gmx.de>
2082
2083 * java/net/NetPermission.java,
2084 java/net/NetworkInterface.java,
2085 java/net/PasswordAuthentication.java,
2086 java/net/SocketPermission.java:
2087 New versions from classpath.
2088
2089 2003-05-25 Michael Koch <konqueror@gmx.de>
2090
2091 * java/io/PushbackInputStream.java,
2092 java/net/Authenticator.java,
2093 java/net/ContentHandler.java,
2094 java/net/ContentHandlerFactory.java,
2095 java/net/DatagramSocket.java,
2096 java/net/DatagramSocketImpl.java,
2097 java/net/DatagramSocketImplFactory.java,
2098 java/net/FileNameMap.java,
2099 java/net/SocketImplFactory.java,
2100 java/net/SocketOptions.java,
2101 java/net/URLStreamHandlerFactory.java:
2102 Merged new versions from classpath.
2103
2104 2003-05-25 Michael Koch <konqueror@gmx.de>
2105
2106 * java/awt/Checkbox.java,
2107 java/awt/Dialog.java,
2108 java/awt/Font.java,
2109 java/awt/Frame.java,
2110 java/awt/ScrollPaneAdjustable.java,
2111 java/awt/Scrollbar.java,
2112 java/awt/Window.java:
2113 New versions from classpath.
2114
2115 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2116
2117 PR libgcj/10838:
2118 * java/io/ObjectInputStream (enableResolveObject):
2119 Fixed spelling of permission name.
2120
2121 2003-05-20 Michael Koch <konqueror@gmx.de>
2122
2123 * java/io/DataInputStream.java
2124 (convertFromUTF): Merged comment from classpath.
2125 * java/io/PrintStream.java
2126 (error_occured): Renamed from error, merged comment from classpath.
2127 (PrintStream): No need to initialized error.
2128 (checkError): Replace error with error_occurred.
2129 (setError): Likewise.
2130
2131 2003-05-20 Michael Koch <konqueror@gmx.de>
2132
2133 * java/io/DataInputStream.java:
2134 Reformatted, Replaced < and & with html entitites in documentation.
2135 * java/io/File.java:
2136 Reformatted.
2137 * java/io/PrintWriter.java:
2138 Moved class documentation.
2139
2140 2003-05-20 Michael Koch <konqueror@gmx.de>
2141
2142 * gnu/java/nio/ByteBufferImpl.java,
2143 gnu/java/nio/CharBufferImpl.java,
2144 gnu/java/nio/CharViewBufferImpl.java,
2145 gnu/java/nio/DirectByteBufferImpl.java,
2146 gnu/java/nio/DoubleBufferImpl.java,
2147 gnu/java/nio/DoubleViewBufferImpl.java,
2148 gnu/java/nio/FloatBufferImpl.java,
2149 gnu/java/nio/FloatViewBufferImpl.java,
2150 gnu/java/nio/IntBufferImpl.java,
2151 gnu/java/nio/IntViewBufferImpl.java,
2152 gnu/java/nio/LongBufferImpl.java,
2153 gnu/java/nio/LongViewBufferImpl.java,
2154 gnu/java/nio/natDirectByteBufferImpl.cc,
2155 gnu/java/nio/ShortBufferImpl.java,
2156 gnu/java/nio/ShortViewBufferImpl.java:
2157 Moved files to java/nio.
2158 * gnu/java/nio/SocketChannelImpl.java
2159
2160 * java/nio/ByteBuffer.java,
2161 java/nio/CharBuffer.java,
2162 java/nio/DoubleBuffer.java,
2163 java/nio/FloatBuffer.java,
2164 java/nio/IntBuffer.java,
2165 java/nio/LongBuffer.java,
2166 java/nio/ShortBuffer.java:
2167 Dont import anything.
2168 * java/nio/ByteBufferImpl.java,
2169 java/nio/CharBufferImpl.java,
2170 java/nio/CharViewBufferImpl.java,
2171 java/nio/DirectByteBufferImpl.java,
2172 java/nio/DoubleBufferImpl.java,
2173 java/nio/DoubleViewBufferImpl.java,
2174 java/nio/FloatBufferImpl.java,
2175 java/nio/FloatViewBufferImpl.java,
2176 java/nio/IntBufferImpl.java,
2177 java/nio/IntViewBufferImpl.java,
2178 java/nio/LongBufferImpl.java,
2179 java/nio/LongViewBufferImpl.java,
2180 java/nio/natDirectByteBufferImpl.cc,
2181 java/nio/ShortBufferImpl.java,
2182 java/nio/ShortViewBufferImpl.java:
2183 Moved from gnu/java/nio.
2184 * Makefile.am
2185 (ordinary_java_source_files): Moved files from gnu/java/nio to
2186 java/nio.
2187 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2188 to java/nio.
2189 * Makefile.in: Regenerated.
2190
2191 2003-05-19 Michael Koch <konqueror@gmx.de>
2192
2193 * java/util/Calendar.java
2194 (get): Not final anymore since JDK 1.4
2195 (set): Likewise.
2196
2197 2003-05-19 Michael Koch <konqueror@gmx.de>
2198
2199 * java/text/CollationKey.java:
2200 Merged copyright and dat from classpath.
2201 * java/text/RuleBasedCollator.java:
2202 Merged class documentation from classpath.
2203
2204 2003-05-19 Michael Koch <konqueror@gmx.de>
2205
2206 * java/nio/CharBuffer.java
2207 (toString): Compile fix.
2208
2209 2003-05-19 Michael Koch <konqueror@gmx.de>
2210
2211 * gnu/java/nio/ByteBufferImpl.java
2212 (putLong): Fixed conversion to bytes.
2213 (putDouble): Fixed conversion to bytes.
2214 * gnu/java/nio/DirectByteBufferImpl.java
2215 (putLong): Fixed conversion to bytes.
2216 (putDouble): Fixed conversion to bytes.
2217 * gnu/java/nio/FileLockImpl.java
2218 (isValid): Reformatted.
2219 * java/nio/Buffer.java
2220 (Buffer): Fixed off-by-one bug in handling mark.
2221 * java/nio/ByteBuffer.java:
2222 Added newline.
2223 * java/nio/CharBuffer.java
2224 (toString): Don't use relative get to get string data.
2225
2226 2003-05-16 Michael Koch <konqueror@gmx.de>
2227
2228 * java/io/natFileDescriptorPosix.cc
2229 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2230 tested.
2231
2232 2003-05-14 Michael Koch <konqueror@gmx.de>
2233
2234 * gnu/java/nio/FileLockImpl.java
2235 (released): New member variable.
2236 (FileLockImpl): Initialize released.
2237 (releaseImpl): New native method.
2238 (release): Implemented.
2239 * gnu/java/nio/SelectorImpl.java: Reformatted.
2240 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2241 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2242 (accept): Throws IOException.
2243 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2244 (implConfigureBlocking): Throws IOException.
2245 (connect): Likewise.
2246 (read): Likewise.
2247 (write): Likewise.
2248 * gnu/java/nio/natFileLockImpl.cc: New file.
2249 * java/nio/channels/FileLock.java: Reformatted.
2250 * Makefile.am:
2251 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2252 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2253 * Makefile.in: Regenerated.
2254
2255 2003-05-13 Michael Koch <konqueror@gmx.de>
2256
2257 * gnu/java/nio/CharViewBufferImpl.java
2258 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2259 (get): Shift bits to the right direction.
2260 (put): Likewise.
2261 * gnu/java/nio/DoubleViewBufferImpl.java
2262 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2263 (get): Shift bits to the right direction.
2264 (put): Likewise.
2265 * gnu/java/nio/FloatViewBufferImpl.java
2266 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2267 (get): Shift bits to the right direction.
2268 (put): Likewise.
2269 * gnu/java/nio/IntViewBufferImpl.java
2270 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2271 (get): Shift bits to the right direction.
2272 (put): Likewise.
2273 * gnu/java/nio/LongViewBufferImpl.java
2274 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2275 (get): Shift bits to the right direction.
2276 (put): Likewise.
2277 * gnu/java/nio/ShortViewBufferImpl.java
2278 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2279 (get): Shift bits to the right direction.
2280 (put): Likewise.
2281
2282 2003-05-13 Michael Koch <konqueror@gmx.de>
2283
2284 * gnu/java/nio/natDirectByteBufferImpl.cc
2285 (allocateImpl): jlong -> RawData*.
2286 (freeImpl): Likewise.
2287
2288 2003-05-13 Michael Koch <konqueror@gmx.de>
2289
2290 * java/nio/channels/FileChannel.java
2291 (MapMode.m): Made it package-private to match JDK 1.4.
2292 * java/nio/charset/Charset.java
2293 (decode): Made it final to match JDK 1.4.
2294
2295 2003-05-13 Michael Koch <konqueror@gmx.de>
2296
2297 * java/io/FileDescriptor.java
2298 (SYNC): New constant.
2299 (DSYNC): Likewise.
2300 (getLength): Renamed from lenght() to match classpath's
2301 FileDescriptor.java.
2302 * java/io/RandomAccessFile.java
2303 (RandomAccessFile): Removed unneeded mode check, implemented mode
2304 "rws" and "rwd", merged documentation from classpath.
2305 (setLength): Reformatted.
2306 (length): Use new getLength() of FileDescriptor.
2307 * java/io/natFileDescriptorEcos.cc
2308 (getLength): Renamed from length().
2309 * java/io/natFileDescriptorPosix.cc
2310 (open): Implemented support for SYNC and DSYNC.
2311 (seek): Use getLength() instead of length().
2312 (getLength): Renamed from length().
2313 * java/io/natFileDescriptorWin32.cc
2314 (getLength): Renamed from length().
2315 (seek): Use getLength() instead of length().
2316 (available): Likewise.
2317 * gnu/java/nio/natFileChannelImpl.cc
2318 (size): Use getLength() instead of length().
2319
2320 2003-05-13 Michael Koch <konqueror@gmx.de>
2321
2322 * gnu/java/nio/ByteBufferImpl.java
2323 (ByteBufferImpl): All constructors revised.
2324 (slice): Reimplemented.
2325 (duplicate): Reimplemented.
2326 (asReadOnlyBuffer): Reimplemented.
2327 * java/nio/ByteBuffer.java:
2328 Reformatted.
2329 (array_offset): Renamed from "offset" to match all other buffer
2330 classes.
2331 (ByteBuffer): All constructors revised.
2332 (allocateDirect): Implemented.
2333 (allocate): New implementation, documentation reworked.
2334 (wrap): Likewise.
2335 (get): Documentation reworked.
2336 (put): New implementation, documentation reworked.
2337 (hasArray): Documentation reworked.
2338 (arrayOffset): Likewise.
2339 (hashCode): Likewise.
2340 (equals): Likewise.
2341 (compareTo): Likewise.
2342 (order): Likewise.
2343 (compact): Likewise.
2344 (isDirect): Likewise.
2345 (slice): Likewise.
2346 (duplicate): Likewise.
2347 (asReadOnlyBuffer): Likewise.
2348 * Makefile.am
2349 (ordinary_java_source_files):
2350 Added gnu/java/nio/DirectByteBufferImpl.java.
2351 (nat_source_files):
2352 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2353 * Makefile.in: Regenerated.
2354
2355 2003-05-12 Michael Koch <konqueror@gmx.de>
2356
2357 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2358 (nio_get_*): Removed.
2359 (nio_put_*): Removed.
2360 (as*Buffer): Implemented.
2361 (compact): Implemented.
2362 (get): Documentation added.
2363 (put): Documentation added.
2364 (get*): Newly implemented.
2365 (put*): Newly implemented.
2366 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2367 (CharBufferImpl): Revised.
2368 (slice): New implementation.
2369 (duplicate): New implementation.
2370 (compact): New implementation.
2371 (asReadOnlyBuffer): New implementation.
2372 (get): Documentation revised.
2373 (order): Return native byte order.
2374 * gnu/java/nio/DirectByteBufferImpl.java
2375 (allocateDirect): objects can be null not 0.
2376 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2377 (DoubleBufferImpl): Revised.
2378 (slice): New implementation.
2379 (duplicate): New implementation.
2380 (compact): New implementation.
2381 (asReadOnlyBuffer): New implementation.
2382 (get): Documentation revised.
2383 (order): Return native byte order.
2384 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2385 (FloatBufferImpl): Revised.
2386 (slice): New implementation.
2387 (duplicate): New implementation.
2388 (compact): New implementation.
2389 (asReadOnlyBuffer): New implementation.
2390 (get): Documentation revised.
2391 (order): Return native byte order.
2392 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2393 (IntBufferImpl): Revised.
2394 (slice): New implementation.
2395 (duplicate): New implementation.
2396 (compact): New implementation.
2397 (asReadOnlyBuffer): New implementation.
2398 (get): Documentation revised.
2399 (order): Return native byte order.
2400 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2401 (LongBufferImpl): Revised.
2402 (slice): New implementation.
2403 (duplicate): New implementation.
2404 (compact): New implementation.
2405 (asReadOnlyBuffer): New implementation.
2406 (get): Documentation revised.
2407 (order): Return native byte order.
2408 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2409 (ShortBufferImpl): Revised.
2410 (slice): New implementation.
2411 (duplicate): New implementation.
2412 (compact): New implementation.
2413 (asReadOnlyBuffer): New implementation.
2414 (get): Documentation revised.
2415 (order): Return native byte order.
2416 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2417 (CharBuffer): Revised.
2418 (order): Removed.
2419 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2420 (DoubleBuffer): Revised.
2421 (allocateDirect): Removed.
2422 (order): Removed.
2423 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2424 (FloatBuffer): Revised.
2425 (allocateDirect): Removed.
2426 (order): Removed.
2427 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2428 (IntBuffer): Revised.
2429 (allocateDirect): Removed.
2430 (order): Removed.
2431 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2432 (LongBuffer): Revised.
2433 (allocateDirect): Removed.
2434 (order): Removed.
2435 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2436 (ShortBuffer): Revised.
2437 (allocateDirect): Removed.
2438 (order): Removed.
2439 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2440 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2441 * Makefile.am
2442 (ordinary_java_source_files): Added the following files:
2443 gnu/java/nio/CharViewBufferImpl.java,
2444 gnu/java/nio/DoubleViewBufferImpl.java,
2445 gnu/java/nio/FloatViewBufferImpl.java,
2446 gnu/java/nio/IntViewBufferImpl.java,
2447 gnu/java/nio/LongViewBufferImpl.java,
2448 gnu/java/nio/ShortViewBufferImpl.java
2449 (nat_source_files): Removed the following files:
2450 gnu/java/nio/natByteBufferImpl.cc,
2451 gnu/java/nio/natCharBufferImpl.cc
2452 * Makefile.in: Regenerated.
2453
2454 2003-05-12 Michael Koch <konqueror@gmx.de>
2455
2456 * gnu/java/nio/CharViewBufferImpl.java,
2457 gnu/java/nio/DirectByteBufferImpl.java,
2458 gnu/java/nio/DoubleViewBufferImpl.java,
2459 gnu/java/nio/FloatViewBufferImpl.java,
2460 gnu/java/nio/IntViewBufferImpl.java,
2461 gnu/java/nio/LongViewBufferImpl.java,
2462 gnu/java/nio/ShortViewBufferImpl.java,
2463 gnu/java/nio/natDirectByteBufferImpl.cc:
2464 New files, not yet to be compiled.
2465
2466 2003-05-10 Michael Koch <konqueror@gmx.de>
2467
2468 * javax/swing/plaf/ButtonUI.java,
2469 javax/swing/plaf/ColorUIResource.java,
2470 javax/swing/plaf/ComponentUI.java,
2471 javax/swing/plaf/DimensionUIResource.java,
2472 javax/swing/plaf/FontUIResource.java,
2473 javax/swing/plaf/IconUIResource.java,
2474 javax/swing/plaf/InsetsUIResource.java,
2475 javax/swing/plaf/LabelUI.java,
2476 javax/swing/plaf/ListUI.java,
2477 javax/swing/plaf/OptionPaneUI.java,
2478 javax/swing/plaf/PanelUI.java,
2479 javax/swing/plaf/TabbedPaneUI.java,
2480 javax/swing/plaf/TextUI.java,
2481 javax/swing/plaf/TreeUI.java,
2482 javax/swing/plaf/ViewportUI.java,
2483 javax/swing/plaf/basic/BasicBorders.java,
2484 javax/swing/plaf/basic/BasicButtonUI.java,
2485 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2486 javax/swing/plaf/basic/BasicDefaults.java,
2487 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2488 javax/swing/plaf/basic/BasicIconFactory.java,
2489 javax/swing/plaf/basic/BasicLabelUI.java,
2490 javax/swing/plaf/basic/BasicListUI.java,
2491 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2492 javax/swing/plaf/basic/BasicPanelUI.java,
2493 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2494 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2495 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2496 javax/swing/plaf/basic/BasicTextUI.java,
2497 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2498 javax/swing/plaf/basic/BasicTreeUI.java,
2499 javax/swing/plaf/basic/BasicViewportUI.java,
2500 javax/swing/plaf/metal/MetalLookAndFeel.java:
2501 New versions from classpath. This adds copyrights to all files and
2502 some serialVersionUIDs.
2503
2504 2003-05-10 Michael Koch <konqueror@gmx.de>
2505
2506 * java/nio/CharBuffer.java
2507 (offset): Make it package-private.
2508 (backing_buffer): Likewise.
2509 * java/nio/DoubleBuffer.java
2510 (offset): Make it package-private.
2511 (backing_buffer): Likewise.
2512 (put): Reformatted.
2513 * java/nio/FloatBuffer.java
2514 (offset): Make it package-private.
2515 (backing_buffer): Likewise.
2516 * java/nio/IntBuffer.java
2517 (offset): Make it package-private.
2518 (backing_buffer): Likewise.
2519 * java/nio/LongBuffer.java
2520 (offset): Make it package-private.
2521 (backing_buffer): Likewise.
2522 * java/nio/ShortBuffer.java
2523 (offset): Make it package-private.
2524 (backing_buffer): Likewise.
2525
2526 2003-05-10 Michael Koch <konqueror@gmx.de>
2527
2528 * java/nio/CharBuffer.java
2529 (put): Fixed precondtion check.
2530 (toString): Make it work without backing array.
2531 (put): Skip one level of method calling.
2532
2533 2003-05-10 Michael Koch <konqueror@gmx.de>
2534
2535 * java/security/Identity.java,
2536 java/security/IdentityScope.java,
2537 java/security/Key.java,
2538 java/security/KeyPair.java,
2539 java/security/PrivateKey.java,
2540 java/security/Provider.java,
2541 java/security/PublicKey.java,
2542 java/security/SecureRandom.java,
2543 java/security/SecureRandomSpi.java,
2544 java/security/SignedObject.java,
2545 java/security/Signer.java,
2546 java/security/cert/Certificate.java,
2547 java/security/cert/PKIXCertPathBuilderResult.java,
2548 java/security/cert/X509Certificate.java:
2549 New versions from classpath.
2550
2551 2003-05-09 Tom Tromey <tromey@redhat.com>
2552
2553 * Makefile.in: Rebuilt.
2554 * Makefile.am (nat_source_files): Removed old files.
2555 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2556 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2557 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2558 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2559 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2560
2561 2003-05-09 Michael Koch <konqueror@gmx.de>
2562
2563 * gnu/java/nio/ByteBufferImpl.java
2564 (nio_cast): Removed.
2565 (ByteBufferImpl): Removed.
2566 (nio_get_Byte): Removed.
2567 (nio_put_Byte): Removed.
2568 (asByteBuffer): Removed.
2569 (asCharBuffer): Removed implementation and throw exception.
2570 (asShortBuffer): Likewise.
2571 (asIntBuffer): Likewise.
2572 (asLongBuffer): Likewise.
2573 (asFloatBuffer): Likewise.
2574 (asDoubleBuffer): Likewise.
2575 * gnu/java/nio/CharBufferImpl.java
2576 (CharBufferImpl): Removed.
2577 (nio_get_Byte): Removed.
2578 (nio_put_Byte): Removed.
2579 (asByteBuffer): Removed.
2580 * gnu/java/nio/DoubleBufferImpl.java
2581 (DoubleBufferImpl): Removed.
2582 (nio_get_Byte): Removed.
2583 (nio_put_Byte): Removed.
2584 (asByteBuffer): Removed.
2585 * gnu/java/nio/FloatBufferImpl.java
2586 (FloatBufferImpl): Removed.
2587 (nio_get_Byte): Removed.
2588 (nio_put_Byte): Removed.
2589 (asByteBuffer): Removed.
2590 * gnu/java/nio/IntBufferImpl.java
2591 (IntBufferImpl): Removed.
2592 (nio_get_Byte): Removed.
2593 (nio_put_Byte): Removed.
2594 (asByteBuffer): Removed.
2595 * gnu/java/nio/LongBufferImpl.java
2596 (LongBufferImpl): Removed.
2597 (nio_get_Byte): Removed.
2598 (nio_put_Byte): Removed.
2599 (asByteBuffer): Removed.
2600 * gnu/java/nio/ShortBufferImpl.java
2601 (ShortBufferImpl): Removed.
2602 (nio_get_Byte): Removed.
2603 (nio_put_Byte): Removed.
2604 (asByteBuffer): Removed.
2605 * gnu/java/nio/natByteBufferImpl.cc
2606 (nio_cast): Removed.
2607 (nio_get_Byte): Removed.
2608 (nio_put_Byte): Removed.
2609 * gnu/java/nio/natCharBufferImpl.cc
2610 (nio_get_Byte): Removed.
2611 (nio_put_Byte): Removed.
2612
2613 2003-05-09 Michael Koch <konqueror@gmx.de>
2614
2615 * java/net/JarURLConnection.java
2616 (getJarEntry): Merged documentation from classpath.
2617 (getJarFile): Likewise.
2618 (getMainAttributes): Likewise.
2619 (getAttributes): Likewise.
2620 (getManifest): Likewise.
2621 (getCertificates): Reformatted.
2622 * java/net/URLConnection.java:
2623 Little classpath merge.
2624
2625 2003-05-09 Michael Koch <konqueror@gmx.de>
2626
2627 * java/io/DataOutputStream.java
2628 (writeShort): Made it synchronized.
2629 (writeChar): Likewise.
2630 (writeInt): Likewise.
2631 (writeLong): Liekwise.
2632 (writeUTF): Made it synchronized, renamed argument to match classpath.
2633 * java/io/InputStreamReader.java
2634 (converter): Added documentation.
2635 (read): Merged documentation from classpath.
2636 * java/io/OutputStreamWriter.java
2637 (OutputStreamWriter): Merged documentation from classpath.
2638 (close): Reformatted.
2639 (getEncoding): Likewise.
2640 (flush): Likewise.
2641 (write): Merged documentation from classpath, reformatted.
2642
2643 2003-05-08 Tom Tromey <tromey@redhat.com>
2644
2645 * configure.host <powerpc64*-*>: Set with_libffi_default and
2646 libgcj_interpreter to "yes".
2647
2648 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2649
2650 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2651
2652 2003-05-06 Tom Tromey <tromey@redhat.com>
2653
2654 * verify.cc: Reverted previous patch.
2655
2656 2003-05-06 Michael Koch <konqueror@gmx.de>
2657
2658 * java/io/DataOutputStream.java
2659 (write): Renamed argument to "value", merged documentation from
2660 classpath.
2661 (writeBoolean): Likewise.
2662 (writeByte): Likewise.
2663 (writeShort): Likewise.
2664 (writeChar): Likewise.
2665 (writeInt): Likewise.
2666 (writeLong): Likewise.
2667 (writeFloat): Likewise.
2668 (writeDouble): Likewise.
2669 (writeBytes): Likewise.
2670 (writeChars): Likewise.
2671 (writeUTF): Likewise.
2672 * java/io/File.java
2673 (performDelete): Added documentation.
2674 (performList): Likewise.
2675 (performMkdir): Likewise.
2676 (performSetReadOnly): Likewise.
2677 (performRenameTo): Likewise.
2678 (performSetLastModified): Likewise.
2679 (delete): Made it sychronized.
2680 (renameTo): Made it sychronized.
2681 (equals): Reformatted.
2682 (isHidden): Likewise.
2683 (listFiles): Likewise.
2684 (setReadOnly): Likewise.
2685 (listRoots): Likewise.
2686 (setLastModified): Likewise.
2687 (checkRead): Likewise.
2688 (checkWrite): Likewise.
2689 * java/io/FileInputStream.java
2690 (skip): Made it sychronized, merged from classpath.
2691 * java/io/FileOutputStream.java
2692 (write): Merged from classpath.
2693 * java/io/InputStreamReader.java:
2694 (InputStreamReader): Merged documentation from classpath.
2695
2696 2003-05-05 Michael Koch <konqueror@gmx.de>
2697
2698 * java/net/NetworkInterface.java
2699 (networkInterfaces): Removed.
2700 (getByName): Use getRealNetworkInterfaces() instead of
2701 networkInterfaces.
2702 (getByInetAddress): Likewise.
2703 (getNetworkInterfaces): Likewise.
2704 (toString): Fix output of addresses of an interface.
2705
2706 2003-05-05 Michael Koch <konqueror@gmx.de>
2707
2708 * java/io/DataInputStream.java:
2709 Merged new documentation from classpath.
2710
2711 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2712
2713 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2714 "version".
2715 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2716 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2717 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2718 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2719 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2720 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2721 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2722 * java/security/Key.java: Likewise.
2723 * java/security/PrivateKey.java: Likewise.
2724 * java/security/Provider.java: Likewise.
2725 * java/security/PublicKey.java: Likewise.
2726
2727 2003-05-02 Michael Koch <konqueror@gmx.de>
2728
2729 * java/net/URI.java
2730 (create): Doesnt throws any exceptions.
2731 * java/net/URLConnection.java
2732 (URLConnection): Commend added.
2733 (getExpiration): The header field is called "expires" not
2734 "expiration".
2735 (getHeaderField): Merged documentation with classpath.
2736 (getHeaderFieldInt): Likewise.
2737 (getHeaderFieldDate): Likewise.
2738 (getHeaderFieldKey): Likewise.
2739 (getPermission): Likewise.
2740 (setDefaultUseCaches): Likewise.
2741 (setRequestProperty): Likewise.
2742 (addRequestProperty): Likewise.
2743 (getRequestProperty): Likewise.
2744 (getRequestProperties): Likewise.
2745 (setDefaultRequestProperty): Likewise.
2746 (getDefaultRequestProperty): Likewise.
2747 (guessContentTypeFromStream): Likewise.
2748 (getFileNameMap): Likewise.
2749 (setFileNameMap): Likewise.
2750 (setDoInput): Merged implementation and documentation with classpath.
2751 (setDoOutput): Likewise.
2752 (setAllowUserInteraction): Likewise.
2753 (setDefaultAllowUserInteraction): Likewise.
2754 (setContentHandlerFactory): Made it synchronized, merged documentation
2755 with classpath.
2756 (guessContentTypeFromName): Renamed argument fname to filename to
2757 match classpath, merged documentation with classpath.
2758
2759 2003-05-02 Michael Koch <konqueror@gmx.de>
2760
2761 * java/net/JarURLConnection.java
2762 (JarURLConnection): Class documentation merged with classpath.
2763 (getJarFileURL): Moved and documentation merged with classpath.
2764 (getEntryName): Likewise.
2765 (JarURLConnection): Documentation merged with classpath.
2766 (getJarEntry): Likewise.
2767 (getJarFile): Likewise.
2768 * java/net/PlainDatagramSocketImpl.java:
2769 Class documentation moved.
2770 * java/net/URLConnection.java
2771 (fileNameMap): Moved and documentation merged with classpath.
2772 (factory): Likewise.
2773 (defaultAllowUserInteraction): Likewis.
2774 (defaultUseCaches): Likewise.
2775 (allowUserInteraction): Likewise.
2776 (connected): Likewise.
2777 (url): Likewise.
2778 (connect): Documentation merged with classpath.
2779 (getURL): Likewise.
2780 (getContentLength): Likewise.
2781 (getContentType): Likewise.
2782 (getContentEncoding): Likewise.
2783 (getExpiration): Likewise.
2784 (getDate): Likewise.
2785 (getLastModified): Likewise.
2786 (getHeaderField): Likewise.
2787 (getContent): Likewise.
2788 (getPermission): Likewise.
2789 (getInputStream): Likewise.
2790 (getOutputStream): Likewise.
2791 (toString): Likewise.
2792 (getDoInput): Likewise.
2793 (getDoOutput): Likewise.
2794 (setAllowUserInteraction): Likewise.
2795 (getAllowUserInteraction): Likewise.
2796 (setDefaultAllowUserInteraction): Likewise.
2797 (getDefaultAllowUserInteraction): Likewise.
2798 (setUseCaches): Likewise.
2799 (getUseCaches): Likewise.
2800 (setIfModifiedSince): Likewise.
2801 (getIfModifiedSince): Likewise.
2802 (setDefaultRequestProperty): Likewise.
2803 (getDefaultRequestProperty): Likewise.
2804 (setContentHandlerFactory): Likewise.
2805 (setFileNameMap): Likewise.
2806
2807 2003-05-02 Michael Koch <konqueror@gmx.de>
2808
2809 * java/net/InetAddress.java:
2810 Merged class documentation with classpath.
2811 * java/net/JarURLConnection.java:
2812 Explicitely import all used classes.
2813 * java/net/URL.java:
2814 Reformatting.
2815 * java/net/ServerSocket.java,
2816 java/net/Socket.java:
2817 New versions from classpath.
2818
2819 2003-05-02 Michael Koch <konqueror@gmx.de>
2820
2821 * gnu/java/nio/FileChannelImpl.java
2822 (read): New implementation.
2823 (implRead): New methods.
2824 (write): New implementation, call other write insteal of read method.
2825 (implWrite): New methods.
2826 (map): Added comment.
2827 (transferFrom): Implemented.
2828 (transferTo): Implemented.
2829 (lock): Added checks to throw exceptions.
2830 (truncate): Added check to throw exception.
2831 * gnu/java/nio/natFileChannelImpl.cc
2832 (implRead): New method.
2833 (implWrite): New method.
2834 * java/nio/ByteBuffer.java
2835 (hashCode): Fixed comment.
2836 (get): Fixed exception documentation.
2837 (put): Fixed exception documentation.
2838 * java/nio/CharBuffer.java:
2839 Added comment for later optimizations.
2840
2841 2003-04-30 Tom Tromey <tromey@redhat.com>
2842
2843 PR libgcj/10582:
2844 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2845 Removed.
2846 (type::compatible): Use _Jv_IsAssignableFrom.
2847 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2848 (_Jv_IsAssignableFrom): Work even when source or target class is
2849 not prepared.
2850
2851 2003-04-30 Michael Koch <konqueror@gmx.de>
2852
2853 * java/text/BreakIterator.java
2854 (clone): New method.
2855
2856 2003-04-30 Michael Koch <konqueror@gmx.de>
2857
2858 * java/text/CollationElementIterator.java,
2859 java/text/CollationKey.java,
2860 java/text/RuleBasedCollator.java:
2861 Merged copyright and documentation from classpath and
2862 rearranged some code. No code changes done.
2863
2864 2003-04-30 Michael Koch <konqueror@gmx.de>
2865
2866 * java/util/regex/Matcher.java
2867 (pattern): New member variable.
2868 (appendReplacement): New method.
2869 (appendTail): New method.
2870 (end): New method.
2871 (find): New method.
2872 (group): New method.
2873 (replaceFirst): Added documentation.
2874 (replaceAll): Added documentation.
2875 (groupCount): New method.
2876 (lookingAt): New method.
2877 (matches): New method.
2878 (reset): New method.
2879 (start): New method.
2880 * java/util/regex/Pattern.java
2881 (serialVersionUID): New constant.
2882 (CANON_EQ): New constant.
2883 (CASE_INSENSITIVE): New constant.
2884 (COMMENTS): New constant.
2885 (DOTALL): New constant.
2886 (MULTILINE): New constant.
2887 (UNICODE_CASE): New constant.
2888 (UNIX_LINES): New constant.
2889 (regex): New member variable.
2890 (flags): New member variable.
2891 (Pattern): New method.
2892 (compile): Documentation added.
2893 (flags): New method.
2894 (matches): Documentation added.
2895 (matcher): Documentation added.
2896 (split): Documentation added.
2897 (pattern): New method.
2898
2899 2003-04-30 Michael Koch <konqueror@gmx.de>
2900
2901 * gnu/java/security/Engine.java,
2902 gnu/java/security/OID.java,
2903 gnu/java/security/der/BitString.java,
2904 gnu/java/security/der/DER.java,
2905 gnu/java/security/der/DERReader.java,
2906 gnu/java/security/der/DERValue.java,
2907 gnu/java/security/der/DERWriter.java,
2908 gnu/java/security/provider/DSAKeyFactory.java,
2909 gnu/java/security/provider/X509CertificateFactory.java,
2910 gnu/java/security/x509/X500DistinguishedName.java,
2911 gnu/java/security/x509/X509CRL.java,
2912 gnu/java/security/x509/X509CRLEntry.java,
2913 gnu/java/security/x509/X509Certificate.java,
2914 java/security/cert/CRLSelector.java,
2915 java/security/cert/CertPathBuilder.java,
2916 java/security/cert/CertPathBuilderResult.java,
2917 java/security/cert/CertPathBuilderSpi.java,
2918 java/security/cert/CertPathParameters.java,
2919 java/security/cert/CertPathValidator.java,
2920 java/security/cert/CertPathValidatorResult.java,
2921 java/security/cert/CertPathValidatorSpi.java,
2922 java/security/cert/CertSelector.java,
2923 java/security/cert/CertStore.java,
2924 java/security/cert/CertStoreParameters.java,
2925 java/security/cert/CertStoreSpi.java,
2926 java/security/cert/CollectionCertStoreParameters.java,
2927 java/security/cert/LDAPCertStoreParameters.java,
2928 java/security/cert/PKIXBuilderParameters.java,
2929 java/security/cert/PKIXCertPathBuilderResult.java,
2930 java/security/cert/PKIXCertPathChecker.java,
2931 java/security/cert/PKIXCertPathValidatorResult.java,
2932 java/security/cert/PKIXParameters.java,
2933 java/security/cert/PolicyNode.java,
2934 java/security/cert/PolicyQualifierInfo.java,
2935 java/security/cert/TrustAnchor.java,
2936 javax/security/auth/x500/X500Principal.java:
2937 New files from classpath.
2938 * gnu/java/io/ASN1ParsingException.java,
2939 gnu/java/io/Base64InputStream.java,
2940 gnu/java/security/der/DEREncodingException.java,
2941 gnu/java/security/provider/DSAParameters.java,
2942 gnu/java/security/provider/DSASignature.java,
2943 gnu/java/security/provider/Gnu.java,
2944 gnu/java/security/provider/GnuDSAPrivateKey.java,
2945 gnu/java/security/provider/GnuDSAPublicKey.java,
2946 java/security/AlgorithmParameterGenerator.java,
2947 java/security/AlgorithmParameters.java,
2948 java/security/KeyFactory.java,
2949 java/security/KeyPairGenerator.java,
2950 java/security/KeyStore.java,
2951 java/security/MessageDigest.java,
2952 java/security/SecureClassLoader.java,
2953 java/security/SecureRandom.java,
2954 java/security/Security.java,
2955 java/security/Signature.java,
2956 java/security/cert/Certificate.java,
2957 java/security/cert/CertificateFactory.java,
2958 java/security/cert/CertificateFactorySpi.java,
2959 java/security/cert/X509CRL.java,
2960 java/security/cert/X509Certificate.java,
2961 java/security/spec/DSAPublicKeySpec.java:
2962 New versions from classpath.
2963 * gnu/java/security/provider/DERReader.java,
2964 gnu/java/security/provider/DERWriter.java,
2965 java/security/Engine.java: Removed.
2966 * Makefile.am
2967 (java_source_files, javax_source_files): Added new files.
2968 * Makefile.in: Regenerated.
2969
2970 2003-04-29 Michael Koch <konqueror@gmx.de>
2971
2972 * javax/swing/JTable.java
2973 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2974 (AUTO_RESIZE_LAST_COLUMN): New constant.
2975 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2976 (AUTO_RESIZE_OFF): New constant.
2977 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2978 (JTable): New method.
2979 (columnAdded): New method.
2980 (columnMarginChanged): New method.
2981 (columnMoved): New method.
2982 (columnRemoved): New method.
2983 (columnSelectionChanged): New method.
2984 (editingCanceled): New method.
2985 (editingStopped): New method.
2986 (getColumnModel): New method.
2987 (getPreferredScrollableViewportSize): New method.
2988 (getScrollableBlockIncrement): New method.
2989 (getScrollableTracksViewportHeight): New method.
2990 (getScrollableTracksViewportWidth): New method.
2991 (getScrollableUnitIncrement): New method.
2992 (getSelectedRow): New method.
2993 (getSelectionModel): New method.
2994 (tableChanged): New method.
2995 (setModel): New method.
2996 (setSelectionMode): New method.
2997 (setSelectionModel): New method.
2998 (setShowGrid): New method.
2999 (valueChanged): New method.
3000 * javax/swing/text/DefaultEditorKit.java
3001 (backwardAction): New constant.
3002 (beepAction): New constant.
3003 (beginAction): New constant.
3004 (beginLineAction): New constant.
3005 (beginParagraphAction): New constant.
3006 (beginWordAction): New constant.
3007 (copyAction): New constant.
3008 (cutAction): New constant.
3009 (defaultKeyTypedAction): New constant.
3010 (deleteNextCharAction): New constant.
3011 (deletePrevCharAction): New constant.
3012 (downAction): New constant.
3013 (endAction): New constant.
3014 (endLineAction): New constant.
3015 (endOfLineStringProperty): New constant.
3016 (endParagraphAction): New constant.
3017 (endWordAction): New constant.
3018 (forwardAction): New constant.
3019 (insertBreakAction): New constant.
3020 (insertContentAction): New constant.
3021 (insertTabAction): New constant.
3022 (nextWordAction): New constant.
3023 (pageDownAction): New constant.
3024 (pageUpAction): New constant.
3025 (pasteAction): New constant.
3026 (previousWordAction): New constant.
3027 (readOnlyAction): New constant.
3028 (selectAllAction): New constant.
3029 (selectionBackwardAction): New constant.
3030 (selectionBeginAction): New constant.
3031 (selectionBeginLineAction): New constant.
3032 (selectionBeginParagraphAction): New constant.
3033 (selectionBeginWordAction): New constant.
3034 (selectionDownAction): New constant.
3035 (selectionEndAction): New constant.
3036 (selectionEndLineAction): New constant.
3037 (selectionEndParagraphAction): New constant.
3038 (selectionEndWordAction): New constant.
3039 (selectionForwardAction): New constant.
3040 (selectionNextWordAction): New constant.
3041 (selectionPreviousWordAction): New constant.
3042 (selectionUpAction): New constant.
3043 (selectLineAction): New constant.
3044 (selectParagraphAction): New constant.
3045 (selectWordAction): New constant.
3046 (upAction): New constant.
3047 (writableAction): New constant.
3048
3049 2003-04-29 Michael Koch <konqueror@gmx.de>
3050
3051 * java/util/PropertyPermission.java:
3052 New version from classpath
3053 * java/util/ResourceBundle.java:
3054 Partly merged from classpath
3055 (getObject): Reformated.
3056 (tryBundle): Set foundBundle = null if no bundle found.
3057
3058 2003-04-29 Michael Koch <konqueror@gmx.de>
3059
3060 * javax/swing/AbstractListModel.java,
3061 javax/swing/DefaultBoundedRangeModel.java,
3062 javax/swing/DefaultSingleSelectionModel.java:
3063 New Versions from classpath.
3064
3065 2003-04-29 Michael Koch <konqueror@gmx.de>
3066
3067 * java/awt/Window.java
3068 (show): Call super.show() instead of setVisible() to avoid endless
3069 loop.
3070 (hide): Call super.hide() instead of setVisible() to avoid endless
3071 loop.
3072
3073 2003-04-29 Michael Koch <konqueror@gmx.de>
3074
3075 * java/util/zip/Deflater.java,
3076 java/util/zip/DeflaterOutputStream.java:
3077 Partly merged with classpath.
3078
3079 2003-04-27 Tom Tromey <tromey@redhat.com>
3080
3081 * java/lang/natString.cc (_Jv_AllocString): Initialize
3082 cachedHashCode.
3083 (init): Likewise.
3084 (_Jv_NewStringUtf8Const): Likewise.
3085
3086 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3087
3088 * include/jvm.h: (_Jv_GetNbArgs) added
3089 (_Jv_GetSafeArg) added
3090 (_Jv_SetArgs) added
3091 * prims.cc: (_Jv_GetNbArgs) implemented
3092 (_Jv_GetSafeArg) implemented
3093 (_Jv_SetArgs) implemented
3094 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3095 setting _Jv_argc and _Jv_argv
3096 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3097 instead of _Jv_argv
3098 * java/lang/natRuntime.cc: (insertSystemProperties) use
3099 _Jv_GetSafeArg() instead of _Jv_argv
3100
3101 2003-04-23 Tom Tromey <tromey@redhat.com>
3102
3103 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3104 required by this object. Search superclasses to find required
3105 alignment.
3106 (get_alignment_from_class): Use alignment of type as it appears
3107 in a struct.
3108 (ALIGNOF): New macro.
3109 (struct aligner): New helper structure.
3110
3111 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3112
3113 * java/awt/Container.java (addImpl): Enable paint events if adding
3114 a lightweight to a heavyweight.
3115 (addNotify): Ensure that peer is created before
3116 addNotifyContainerChildren.
3117 (addNotifyContainerChildren): Enable paint events if a heavyweight
3118 container contains a lightweight.
3119
3120 2003-04-20 Tom Tromey <tromey@redhat.com>
3121
3122 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3123 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3124 Classpath.
3125
3126 2003-04-19 Tom Tromey <tromey@redhat.com>
3127
3128 * java/sql/Date.java, java/sql/DriverManager.java,
3129 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3130 Classpath.
3131
3132 * Makefile.in: Rebuilt.
3133 * Makefile.am (ordinary_java_source_files): Added new files.
3134 * java/security/AlgorithmParameterGenerator.java,
3135 java/security/AlgorithmParameters.java, java/security/Engine.java,
3136 java/security/Identity.java, java/security/IdentityScope.java,
3137 java/security/KeyFactory.java,
3138 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3139 java/security/MessageDigest.java, java/security/Policy.java,
3140 java/security/ProtectionDomain.java,
3141 java/security/SecureRandom.java, java/security/Security.java,
3142 java/security/Signature.java, java/security/SignatureSpi.java,
3143 java/security/SignedObject.java, java/security/Signer.java,
3144 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3145 java/security/spec/PSSParameterSpec.java,
3146 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3147 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3148 Classpath.
3149
3150 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3151
3152 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3153 (dispose): Null metrics.
3154 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3155 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3156 finalize.
3157 (finalize): Call dispose.
3158 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3159 (gcCachedCount): New field.
3160 (finalize): New method.
3161 (putGCInCache): New method.
3162 (getGCFromCache): New method.
3163 * gnu/gcj/xlib/GC.java (GC): Make protected.
3164 (clone): Get new GC from cache if possible.
3165 (create): New static method.
3166 (dispose): Save old GC in cache.
3167 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3168 deleting.
3169 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3170 is null.
3171 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3172 * java/awt/Container.java (visitChild): Dispose gfx2 when
3173 finished.
3174
3175 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3176
3177 * java/math/BigInteger.java (probablePrime): New.
3178 * java/math/BigDecimal.java (unscaledValue): New.
3179
3180 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3181
3182 * java/io/File.java (getAbsolutePath): On Windows, take care
3183 of paths like "C:", "G:foo\bar", etc.
3184 (getName): Make it work correctly on Windows.
3185 (getParent): Make it work correctly on Windows. For UNIX,
3186 fix bug that causes "/" to be returned as the parent of "/",
3187 instead of null as returned by Sun's JRE.
3188
3189 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3190
3191 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3192
3193 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3194 inner class.
3195 (CACHE_SIZE_PER_DISPLAY): New field
3196 (fontMetricsCache): New field
3197 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3198 loading ISO10646-1 fonts.
3199
3200 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3201
3202 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3203 characters.
3204 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3205 characters.
3206
3207 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3208
3209 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3210 floating point.
3211
3212 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3213
3214 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3215 installed libpthread is either linuxthreads with floating stacks or
3216 NPTL.
3217
3218 2003-04-14 Tom Tromey <tromey@redhat.com>
3219
3220 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3221 of alignment.
3222
3223 2003-04-10 Tom Tromey <tromey@redhat.com>
3224
3225 * verify.cc (pop64): Removed.
3226 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3227 exception if top-of-stack is narrow.
3228 (initialize_stack): Check to ensure that <init> is not static and
3229 <clinit> is.
3230
3231 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3232
3233 * java/io/ObjectStreamException
3234 * java/io/FileFilter
3235 * java/io/FilenameFilter
3236 * java/io/ObjectInput
3237 * java/io/ObjectOutput
3238 * java/io/ObjectStreamConstants
3239 Minor doc fixes, format fixes, spelling corrections, etc.
3240 * java/io/DataInput
3241 Corrected code samples in Javadocs to match reality
3242 * java/io/DataOutput
3243 * java/io/ObjectInputValidation
3244 Major documentation fixes - all Javadocs re-written or updated
3245
3246 2003-04-06 Michael Koch <konqueror@gmx.de>
3247
3248 * java/net/URLConnection.java:
3249 Import classes directly.
3250 (URLConnection): Merged class documentation with classpath.
3251 (url): Moved, documentation from classpath added.
3252 (doInput): Moved, documentation from classpath added.
3253 (doOutput): Moved, documentation from classpath added.
3254 (allowUserInteraction): Moved.
3255 (useCaches): Moved, documentation from classpath added.
3256 (ifModifiedSince): Moved, documentation from classpath added.
3257 (connected): Moved, documentation from classpath added.
3258
3259 2003-04-06 Michael Koch <konqueror@gmx.de>
3260
3261 * java/io/FileInputStream.java
3262 (skip): Renamed some variables to match classpath, added
3263 checks from classpath.
3264
3265 2003-03-31 Michael Koch <konqueror@gmx.de>
3266
3267 * javax/swing/AbstractAction.java
3268 (AbstractAction): Reformatted.
3269 (serialVersionUID): New private member variable.
3270 * javax/swing/plaf/BorderUIResource.java
3271 (serialVersionUID): New private member variable.
3272 * javax/swing/plaf/basic/BasicLookAndFeel.java
3273 (serialVersionUID): New private member variable.
3274
3275 2003-03-31 Michael Koch <konqueror@gmx.de>
3276
3277 * java/sql/Date.java
3278 (valueOf): Deprecated, reformatted.
3279 (toString): Deprecated, reformatted.
3280 * java/sql/Time.java
3281 (valueOf): Deprecated, reformatted.
3282 (toString): Deprecated, reformatted.
3283
3284 2003-03-31 Michael Koch <konqueror@gmx.de>
3285
3286 * java/rmi/dgc/VMID.java
3287 (isUnique): Deprecated.
3288
3289 2003-03-31 Michael Koch <konqueror@gmx.de>
3290
3291 * java/io/File.java
3292 (separator): Merged documentation from classpath.
3293 (separatorChar): Merged documentation from classpath.
3294 (pathSeparator): Merged documentation from classpath.
3295 (pathSeparatorChar): Merged documentation from classpath.
3296 (path): Merged documentation from classpath.
3297 (canRead): Merged documentation from classpath.
3298 (canWrite): Merged documentation from classpath.
3299 (createNewFile): Merged documentation from classpath.
3300 (delete): Merged documentation from classpath.
3301 (equals): Merged documentation from classpath.
3302 (exists): Merged documentation from classpath.
3303 (File): Renamed p to name to match classpath, merged documentation
3304 from classpath.
3305 (getAbsolutePath): Merged documentation from classpath.
3306 (getCanonicalPath): Merged documentation from classpath.
3307 (getCanonicalFile): Merged documentation from classpath.
3308 (getName): Merged documentation from classpath.
3309 (getParent): Merged documentation from classpath.
3310 (getParentFile): Merged documentation from classpath.
3311 (getPath): Merged documentation from classpath.
3312 (hashCode): Merged documentation from classpath.
3313 (isAbsolute): Merged documentation from classpath.
3314 (isDirectory): Merged documentation from classpath.
3315 (isFile): Merged documentation from classpath.
3316 (isHidden): Merged documentation from classpath.
3317 (lastModified): Merged documentation from classpath.
3318 (length): Merged documentation from classpath.
3319 (list): Merged documentation from classpath.
3320 (listFiles): Merged documentation from classpath.
3321 (toString): Merged documentation from classpath.
3322 (toURL): Merged documentation from classpath.
3323 (mkdir): Merged documentation from classpath.
3324 (mkdirs): Merged documentation from classpath.
3325 (createTempFile): Merged documentation from classpath.
3326 (setReadOnly): Merged documentation from classpath.
3327 (listRoots): Merged documentation from classpath.
3328 (compareTo): Merged documentation from classpath.
3329 (renameTo): Merged documentation from classpath.
3330 (setLastModified): Merged documentation from classpath.
3331 * java/io/PrintStream.java
3332 (auto_flush): Merged documentation from classpath.
3333 (PrintStream): Merged documentation from classpath.
3334 (checkError): Merged documentation from classpath.
3335 (setError): Merged documentation from classpath.
3336 (close): Merged documentation from classpath.
3337 (flush): Merged documentation from classpath.
3338 (print): Merged documentation from classpath.
3339 (println): Merged documentation from classpath.
3340 (write): Renamed count to len to match classpath,
3341 merged documentation from classpath.
3342 * java/io/RandomAccessFile.java
3343 (readShort): Merged documentation from classpath.
3344 (readUnsignedByte): Merged documentation from classpath.
3345 (readUnsignedShort): Merged documentation from classpath.
3346 (readUTF): Merged documentation from classpath.
3347 (seek): Reformatted, merged documentation from classpath.
3348 (skipBytes): Renamed some variables to match classpath, reformatted,
3349 merged documentation from classpath.
3350 (write): Merged documentation from classpath.
3351 (writeBoolean): Merged documentation from classpath.
3352 (writeByte): Merged documentation from classpath.
3353 (writeShort): Merged documentation from classpath.
3354 (writeChar): Merged documentation from classpath.
3355 (writeInt): Merged documentation from classpath.
3356 (writeLong): Merged documentation from classpath.
3357 (writeFloat): Merged documentation from classpath.
3358 (writeDouble): Merged documentation from classpath.
3359 (writeBytes): Merged documentation from classpath.
3360 (writeChars): Merged documentation from classpath.
3361 (writeUTF): Reformatted.
3362 (getChannel): Reformatted.
3363
3364 2003-03-31 Michael Koch <konqueror@gmx.de>
3365
3366 * java/awt/font/TextAttribute.java
3367 (readResolve): Throws java.io.InvalidObjectException.
3368
3369 2003-03-31 Michael Koch <konqueror@gmx.de>
3370
3371 * java/rmi/server/LoaderHandler.java
3372 (loadClass): Deprecated.
3373 (getSecurityContext): Deprecated.
3374 * java/rmi/server/LogStream.java
3375 (getDefaultStream): Deprecated.
3376 (setDefaultStream): Deprecated.
3377 (getOutputStream): Deprecated.
3378 (setOutputStream): Deprecated.
3379 (write): Deprecated.
3380 (toString): Deprecated.
3381 (parseLevel): Deprecated.
3382 * java/rmi/server/Operation.java
3383 (Operation): Deprecated.
3384 (getOperation): Deprecated.
3385 (toString): Deprecated.
3386 * java/rmi/server/RemoteCall.java
3387 (getOutputStream): Deprecated.
3388 (releaseOutputStream): Deprecated.
3389 (getInputStream): Deprecated.
3390 (releaseInputStream): Deprecated.
3391 (getResultStream): Deprecated.
3392 (executeCall): Deprecated.
3393 (done): Deprecated.
3394 * java/rmi/server/RemoteRef.java
3395 (invoke): Deprecated.
3396 (newCall): Deprecated.
3397 (done): Deprecated.
3398 * java/rmi/server/RemoteStub.java
3399 (setRef): Deprecated.
3400 * java/rmi/server/Skeleton.java:
3401 No need to import java.lang.Exception explicitly.
3402 (dispatch): Deprecated.
3403 (getOperations): Deprecated.
3404
3405 2003-03-31 Michael Koch <konqueror@gmx.de>
3406
3407 * java/rmi/dgc/VMID.java,
3408 java/rmi/registry/RegistryHandler.java,
3409 java/rmi/server/LogStream.java,
3410 java/rmi/server/Operation.java,
3411 java/rmi/server/RemoteCall.java,
3412 java/rmi/server/RemoteRef.java,
3413 java/rmi/server/RemoteStub.java:
3414 Reformatted.
3415
3416 2003-03-31 Michael Koch <konqueror@gmx.de>
3417
3418 * javax/swing/AbstractCellEditor.java,
3419 javax/swing/AbstractListModel.java,
3420 javax/swing/ActionMap.java,
3421 javax/swing/BorderFactory.java,
3422 javax/swing/ButtonGroup.java,
3423 javax/swing/DefaultBoundedRangeModel.java,
3424 javax/swing/DefaultButtonModel.java,
3425 javax/swing/DefaultCellEditor.java,
3426 javax/swing/DefaultComboBoxModel.java,
3427 javax/swing/DefaultDesktopManager.java,
3428 javax/swing/DefaultListCellRenderer.java,
3429 javax/swing/DefaultSingleSelectionModel.java,
3430 javax/swing/InputMap.java,
3431 javax/swing/JComponent.java,
3432 javax/swing/JMenu.java,
3433 javax/swing/JSlider.java,
3434 javax/swing/KeyStroke.java,
3435 javax/swing/OverlayLayout.java,
3436 javax/swing/ScrollPaneLayout.java,
3437 javax/swing/SizeRequirements.java,
3438 javax/swing/UIManager.java,
3439 javax/swing/ViewportLayout.java,
3440 javax/swing/border/AbstractBorder.java,
3441 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3442 javax/swing/event/EventListenerList.java,
3443 javax/swing/table/AbstractTableModel.java,
3444 javax/swing/table/DefaultTableCellRenderer.java,
3445 javax/swing/table/DefaultTableColumnModel.java,
3446 javax/swing/table/DefaultTableModel.java,
3447 javax/swing/table/TableColumn.java,
3448 javax/swing/text/StyledEditorKit.java,
3449 javax/swing/tree/DefaultMutableTreeNode.java,
3450 javax/swing/tree/DefaultTreeModel.java,
3451 javax/swing/tree/DefaultTreeSelectionModel.java,
3452 javax/swing/tree/TreePath.java,
3453 javax/swing/undo/AbstractUndoableEdit.java,
3454 javax/swing/undo/StateEdit.java,
3455 javax/swing/undo/StateEditable.java,
3456 javax/swing/undo/UndoableEditSupport.java:
3457 Merges from classpath.
3458
3459 2003-03-30 Tom Tromey <tromey@redhat.com>
3460
3461 * java/lang/String.java (data, boffset, count): Documented.
3462 (String(byte[],String)): Reformatted.
3463 (String(byte[])): Likewise.
3464 (lastIndexOf(int)): Likewise.
3465 (lastIndexOf(String)): Likewise.
3466 (substring(int)): Renamed argument to match Classpath.
3467 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3468
3469 * java/lang/String.java: Miscellaneous minor formatting changes
3470 to match Classpath more closely.
3471
3472 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3473 Tom Tromey <tromey@redhat.com>
3474
3475 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3476 (init()): Removed.
3477 (charAt): Put index in exception.
3478 (contentEquals): New method.
3479 Include StringBuffer.h.
3480 * java/lang/String.java (cachedHashCode): New field.
3481 (String()): Follow classpath implementation.
3482 (init()): Removed.
3483 (contentEquals): Declare.
3484 (subSequence): Don't declare IndexOutIfBoundsException in throws
3485 clause.
3486 (matches, replaceFirst, replaceAll, split): New methods from
3487 Classpath.
3488
3489 2003-03-29 Tom Tromey <tromey@redhat.com>
3490
3491 * java/lang/String.java: Reordered to follow Classpath; merged in
3492 javadoc.
3493
3494 * java/text/MessageFormat.java: Removed some whitespace.
3495
3496 * Makefile.in: Rebuilt.
3497 * Makefile.am (awt_java_source_files): Added new files.
3498 * gnu/javax/rmi/PortableServer.java,
3499 gnu/javax/rmi/CORBA/DelegateFactory.java,
3500 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3501 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3502 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3503 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3504 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3505 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3506 javax/rmi/PortableRemoteObject.java,
3507 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3508 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3509 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3510 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3511 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3512 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3513
3514 * java/lang/natClass.cc (newInstance): Put method name in
3515 exception.
3516 (getConstructor): Likewise.
3517 (getDeclaredConstructor): Likewise.
3518 (getPrivateMethod): Likewise.
3519
3520 2003-03-28 Tom Tromey <tromey@redhat.com>
3521
3522 * java/lang/reflect/Proxy.java: New version from Classpath.
3523 * java/lang/Package.java: New version from Classpath.
3524
3525 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3526
3527 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3528 * configure: Regenerate.
3529
3530 2003-03-28 Michael Koch <konqueror@gmx.de>
3531
3532 * java/io/File.java:
3533 Import needed classes instead of whole packages, merged class
3534 documentation with classpath, moved constants and variables to top of
3535 class.
3536 * java/io/PrintStream.java:
3537 Merged class documentation with classpath, moved constants and
3538 variables to top of class.
3539 * java/io/RandomAccessFile.java
3540 (RandomAccessFile): Merged with classpath.
3541 (read): Merged with classpath).
3542 (read*): Reformatted.
3543
3544 2003-03-28 Michael Koch <konqueror@gmx.de>
3545
3546 * java/io/FileDescriptor.java
3547 (finalize): Throws Throwable, not IOException.
3548 * java/io/ObjectOutputStream.java
3549 (PutField.put): Doesnt throws anything.
3550
3551 2003­03-28 Michael Koch <konqueror@gmx.de>
3552
3553 * java/io/FileOutputStream.java:
3554 Merged class documentation and authors with classpath.
3555 (FileOutputStream): Partly merged with classpath.
3556 (write): Merged with classpath.
3557 (getChannel): Make it synchronized instead of explicit block in this
3558 method.
3559 * java/io/RandomAccessFile.java:
3560 Merged class documentation and authors with classpath.
3561
3562 2003-03-26 Tom Tromey <tromey@redhat.com>
3563
3564 * java/lang/natRuntime.cc (insertSystemProperties): Set
3565 gnu.classpath.home.url.
3566 * Makefile.in: Rebuilt.
3567 * Makefile.am: Define LIBDIR.
3568
3569 2003-03-25 Michael Koch <konqueror@gmx.de>
3570
3571 * java/io/FileInputStream.java
3572 (read): Renamed b to buf and off to offset.
3573 * java/io/FileOutputStream.java
3574 (ch): Documentation added.
3575 (FileOutputStream): Documentation added.
3576 (getFD): Documentation added.
3577 (write): Documentation added.
3578 (close): Documentation added.
3579 (getChannel): Documentation added.
3580
3581 2003-03-24 Michael Koch <konqueror@gmx.de>
3582
3583 * java/io/DataOutputStream.java
3584 (write): Merged from classpath.
3585 * java/io/File.java:
3586 Merged copyrigth with classpath.
3587 * java/io/FileInputStream.java
3588 (getChannel): Made it synchronized instead of using a synchronized
3589 block.
3590 * java/io/FileOutputStream.java: Reformatted.
3591 * java/io/InputStreamReader.java
3592 (InputStreamReader): Renamed enc to encoding_name.
3593 (close): Merged documentation from classpath.
3594 (getEncoding): Merged documentation from classpath.
3595 (ready): Merged documentation from classpath.
3596 (read): Merged documentation from classpath.
3597 * java/io/LineNumberReader.java
3598 (lineNumber): Made it private.
3599 (LineNumberReader): Use Constant instead of a direct value.
3600 * java/io/OutputStreamWriter.java
3601 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3602 documentation from classpath.
3603 (close): Merged documentation from classpath.
3604 (flush): Merged documentation from classpath.
3605 (write): Merged documentation from classpath.
3606 * java/io/PrintStream.java: Reformatted.
3607
3608 2003-03-24 Michael Koch <konqueror@gmx.de>
3609
3610 * javax/swing/text/ComponentView.java
3611 (getComponent): Must be final.
3612 * javax/swing/tree/DefaultTreeCellRenderer.java:
3613 Reformatted.
3614 * javax/swing/undo/StateEditable.java:
3615 Reformatted.
3616
3617 2003-03-24 Michael Koch <konqueror@gmx.de>
3618
3619 * java/rmi/activation/ActivationInstantiator.java:
3620 Reformatted.
3621 * java/rmi/activation/Activator.java:
3622 Reformatted.
3623 * java/rmi/registry/RegistryHandler.java:
3624 Remerged from classpath.
3625
3626 2003-03-24 Michael Koch <konqueror@gmx.de>
3627
3628 * java/util/Date.java:
3629 Fixed documentation starting tag to make javadoc happy.
3630 * java/util/regex/Pattern.java
3631 (Pattern): Implements Serializable.
3632 * java/util/PatternSyntaxException.java
3633 (serialVersionUID): New member variable.
3634
3635 2003-03-24 Michael Koch <koqnueror@gmx.de>
3636
3637 * java/awt/ContainerOrderFocusTraversalPolicy.java
3638 (getFirstComponent): Implemented.
3639 (getLastComponent): Implemented.
3640 (getDefaultComponent): Implemented.
3641 (setImplicitDownCycleTraversal): Fixed implementation.
3642 * java/awt/Robot.java
3643 (Robot): Added documentation.
3644 * java/awt/Toolkit.java
3645 (getFontList): Deprecated.
3646 (getFontMetrics): Deprecated.
3647 (getPrintJob): Added documentation.
3648 (getSystemSelection): Added documentation.
3649 (getLockingKeyState): Added documentation.
3650 (setLockingKeyState): Added documentation.
3651 (createCustomCursor): Added documentation.
3652 (getBestCursorSize): Added documentation.
3653 (getMaximumCursorColors): Added documentation.
3654 (isFrameStateSupported): Added documentation.
3655
3656 2003-03-24 Michael Koch <konqueror@gmx.de>
3657
3658 * java/io/RandomAccessFile.java:
3659 More little merges with classpath. No code changes.
3660
3661 2003-03-24 Michael Koch <konqueror@gmx.de>
3662
3663 * java/net/natInetAddressNoNet.cc:
3664 Include stddef.h.
3665 * java/net/natPlainDatagramSocketImplNoNet.cc:
3666 Fixed inlcude of java/net/DatagramPacket.h.
3667 * java/net/natPlainSocketImplNoNet.cc:
3668 Include some missing classes.
3669
3670 2003-03-24 Michael Koch <konqueror@gmx.de>
3671
3672 * java/awt/dnd/DropTarget.java
3673 (DropTargetAutoScroller): According to the online documentation, this
3674 is protected, but in reality it is public.
3675 * java/awt/dnd/DropTargetContext.java
3676 (TransferableProxy): According to the online documentation, this
3677 is protected, but in reality it is public.
3678
3679 2003-03-24 Michael Koch <konqueror@gmx.de>
3680
3681 * java/io/DataInputStream.java
3682 (): Wrapped documentation line.
3683 (): Fixed @return tag.
3684 * java/io/DataOutputStream.java
3685 (written): Moved to top of class.
3686 (all methods): Merged documentation from classpath.
3687 * java/io/File.java:
3688 Merged copyright year with classpath.
3689 * java/io/FileInputStream.java
3690 (all methods): Merged documentation from classpath.
3691 * java/io/LineNumberReader.java
3692 (getLineNumber): Fixed @return tag.
3693 * java/io/ObjectInputStream.java.
3694 Reformatted.
3695 * java/io/ObjectOutputStream.java:
3696 Reformatted, fixed some @see tags.
3697 * java/io/OutputStreamWriter.java:
3698 Deleted empty line.
3699 * java/io/Writer.java:
3700 Reformatted.
3701
3702 2003-03-24 Michael Koch <konqueror@gmx.de>
3703
3704 * java/awt/Frame.java
3705 (DEFAULT_CURSOR): Fixed @deprecated tag.
3706 (setCursor): Fixed @deprecated tag.
3707
3708 2003-03-24 Michael Koch <konqueror@gmx.de>
3709
3710 * java/beans/beancontext/BeanContextEvent.java:
3711 Reformated.
3712
3713 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3714
3715 * java/lang/natStringBuffer.cc (regionMatches): New function.
3716 * java/lang/String.java (count): Now package-private.
3717 * java/lang/StringBuffer.java: Merged with Classpath.
3718
3719 2003-03-23 Michael Koch <konqueror@gmx.de>
3720
3721 * java/io/BufferedOutputStream.java:
3722 Reformated.
3723 * java/io/BufferedReader.java:
3724 Reformated.
3725 * java/io/ByteArrayOutputStream.java
3726 (size): Fixed @see tag.
3727 * java/io/CharArrayWriter.java
3728 (size): Fixed @see tag.
3729 * java/io/DataInput.java:
3730 Reformated.
3731 * java/io/DataOutput.java:
3732 Reformated.
3733 * java/io/DataOutputStream.java:
3734 Merged copyright years with classpath.
3735 * java/io/Externalizable.java:
3736 Reformated.
3737 * java/io/FileFilter.java:
3738 Reformated.
3739 * java/io/FileInputStream.java:
3740 Merged copyright years with classpath.
3741 * java/io/FileOutputStream.java:
3742 Merged copyright years with classpath.
3743 * java/io/FilePermission.java
3744 (FilePermission): Replaced @XXX with FIXME:.
3745 * java/io/FileWriter.java:
3746 Reformated.
3747 * java/io/FilenameFilter.java:
3748 Reformated.
3749 * java/io/FilterInputStream.java:
3750 Reformated.
3751 * java/io/FilterOutputStream.java:
3752 Reformated.
3753 * java/io/FilterReader.java:
3754 Reformated.
3755 * java/io/FilterWriter.java:
3756 Reformated.
3757 * java/io/LineNumberInputStream.java
3758 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3759 happy.
3760 (getLineNumber): Fixed @return tag.
3761 * java/io/ObjectInput.java:
3762 Reformated.
3763 * java/io/ObjectOutput.java:
3764 Reformated.
3765 * java/io/ObjectStreamClass.java:
3766 Reformated.
3767 * java/io/PrintStream.java:
3768 Merged copyright years with classpath.
3769 * java/io/PushbackReader.java
3770 (PushbackReader): Replaced @code with @param.
3771 * java/io/SerializablePermission.java:
3772 Reformated.
3773 * java/io/StreamTokenizer.java
3774 (resetSyntax): Fixed @see tag.
3775
3776 2003-03-22 Richard Henderson <rth@redhat.com>
3777
3778 * sysdep/ia64/locks.h: Include ia64intrin.h.
3779 (compare_and_swap): Use __sync_bool_compare_and_swap.
3780 (compare_and_swap_release): Expose ar.ccv assignment.
3781
3782 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3783
3784 * include/posix.h: Add suffix for darwin dynamic libraries.
3785
3786 2003-03-21 Michael Koch <konqueror@gmx.de>
3787
3788 * javax/swing/Action.java
3789 (ACCELERATOR_KEY): New constant.
3790 (ACTION_COMMAND_KEY): Likewise.
3791 (MNEMONIC_KEY): Likewise.
3792 * javax/swing/UnsupportedLookAndFeelException.java
3793 (UnsupportedLookAndFeelException): Must be public.
3794 * javax/swing/WindowConstants.java
3795 (EXIT_ON_CLOSE): New constant.
3796 * javax/swing/text/BadLocationException.java
3797 (offset): New member variable.
3798 (BadLocationException): New implementation, documentation added.
3799 (offsetRequested): New method.
3800 * javax/swing/text/Caret.java:
3801 Reformated.
3802 * javax/swing/text/Document.java:
3803 Reformated.
3804
3805 2003-03-21 Michael Koch <konqueror@gmx.de>
3806
3807 * java/rmi/activation/Activatable.java
3808 (serialVersionUID): New member variable.
3809 * java/rmi/activation/ActivationGroup.java
3810 (serialVersionUID): New member variable.
3811 * java/rmi/activation/ActivationGroupDesc.java
3812 (serialVersionUID): New member variable.
3813 * java/rmi/registry/Registry.java:
3814 Reformated.
3815 (Registry): Deprecated.
3816 * java/rmi/server/LoaderHandler.java
3817 Reformated.
3818 (LoaderHandler): Deprecated.
3819 * java/rmi/server/LogStream.java
3820 Reformated.
3821 (LogStream): Deprecated.
3822 * java/rmi/server/Operation.java
3823 (Operation): Deprecated.
3824 * java/rmi/server/RMIFailureHandler.java:
3825 Reformated.
3826 * java/rmi/server/RMISocketFactory.java:
3827 Reformated.
3828 * java/rmi/server/RemoteCall.java
3829 (RemoteCall): Deprecated.
3830 * java/rmi/server/RemoteStub.java:
3831 Reformated.
3832 * java/rmi/server/Skeleton.java
3833 Reformated.
3834 (Skeleton): Deprecated.
3835
3836 2003-03-21 Michael Koch <konqueror@gmx.de>
3837
3838 * java/io/LineNumberReader.java
3839 (LineNumberReader): Merged documentation with classpath.
3840 (getLineNumber): Likewise.
3841 (setLineNumber): Likewise.
3842 (mark): Likewise.
3843 (reset): Likewise.
3844 (read): Likewise.
3845 (readLine): Likewise.
3846 (skip): Likewise.
3847
3848 2003-03-21 Michael Koch <konqueror@gmx.de>
3849
3850 * java/rmi/RMISecurityManager.java
3851 (checkAccept): Removed.
3852 (checkAccess): Likewise.
3853 (checkAccess): Likewise.
3854 (checkAwtEventQueueAccess): Likewise.
3855 (checkConnect): Likewise.
3856 (checkCreateClassLoader): Likewise.
3857 (checkDelete): Likewise.
3858 (checkExec): Likewise.
3859 (checkExit): Likewise.
3860 (checkLink): Likewise.
3861 (checkListen): Likewise.
3862 (checkMemberAccess): Likewise.
3863 (checkMulticast): Likewise.
3864 (checkPackageAccess): Likewise.
3865 (checkPackageDefinition): Likewise.
3866 (checkPermission): Likewise.
3867 (checkPrintJobAccess): Likewise.
3868 (checkPropertiesAccess): Likewise.
3869 (checkPropertyAccess): Likewise.
3870 (checkRead): Likewise.
3871 (checkSecurityAccess): Likewise.
3872 (checkSetFactory): Likewise.
3873 (checkSystemClipboardAccess): Likewise.
3874 (checkTopLevelWindow): Likewise.
3875 (checkWrite): Likewise.
3876
3877 2003-03-20 Michael Koch <konqueror@gmx.de>
3878
3879 * gnu/java/nio/FileChannelImpl.java
3880 (address): Removed.
3881 (map_address): New member variable.
3882 (length): Make it package private.
3883 (fd): Make it package private.
3884 (buf): Make it package private.
3885 (file_obj): Make it package private.
3886 (FileChannelImpl): New constructor.
3887 (nio_mmap_file): Use RawData instead of long.
3888 (nio_munmap_file): Use RawData instead of long.
3889 (nio_msync): Use RawData instead of long.
3890 (implCloseChannel): New implementation using map_address.
3891 (read): Reformated.
3892 (map): Implemented.
3893 (create_direct_mapped_buffer): Implemented, use RawData, throws
3894 IOException.
3895 (force): Use map_address instead of address.
3896 * gnu/java/nio/MappedByteFileBuffer.java
3897 (address): Removed.
3898 (map_address): New member variable.
3899 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3900 (several methods): Use map_address instead of address, replaced long
3901 with RawData where appropriate.
3902 * gnu/java/nio/natFileChannelImpl.cc
3903 (nio_mmap_file): Replaced long with RawData.
3904 (nio_munmap_file): Replaced long with RawData.
3905 (nio_msync): Replaced long with RawData.
3906 * gnu/java/nio/natMappedByteFileBuffer.cc
3907 (several methods): Replaced long with RawData where appropriate.
3908
3909 2003-03-20 Michael Koch <konqueror@gmx.de>
3910
3911 * java/net/InetAddress.java,
3912 java/net/JarURLConnection.java,
3913 java/net/PlainDatagramSocketImpl.java,
3914 java/net/PlainSocketImpl.java,
3915 java/net/URLConnection.java:
3916 Merged copyright statements with classpath for easier merging.
3917
3918 2003-03-20 Michael Koch <konqueror@gmx.de>
3919
3920 * java/io/FileInputStream.java
3921 (getChannel): New implementation.
3922 * java/io/FileOutputStream.java
3923 (ch): New member variable.
3924 (getChannel): Implemented.
3925 * java/io/RandomAccessFile.java
3926 (RandomAccessFile): Throws FileNotFoundException instead of
3927 IOException.
3928 (getChannel): New method.
3929 (ch): New member variable.
3930
3931 2003-03-20 Michael Koch <konqueror@gmx.de>
3932
3933 * java/io/DataOutputStream.java,
3934 java/io/File.java,
3935 java/io/FileInputStream.java,
3936 java/io/FileOutputStream.java,
3937 java/io/InputStreamReader.java,
3938 java/io/LineNumberReader.java,
3939 java/io/OutputStreamWriter.java,
3940 java/io/PrintStream.java,
3941 java/io/RandomAccessFile.java:
3942 Merged copyright statements with classpath for easier merging.
3943
3944 2003-03-19 Michael Koch <konqueror@gmx.de>
3945
3946 * java/lang/Process.java:
3947 Merged from classpath.
3948
3949 2003-03-19 Michael Koch <konqueror@gmx.de>
3950
3951 * java/io/FileOutputStream.java
3952 (FileOutputStream): New constructor, merged from classpath.
3953 * java/io/FileWriter.java
3954 (FileWriter): New constructor, merged from classpath.
3955
3956 2003-03-18 Michael Koch <konqueror@gmx.de>
3957
3958 * java/awt/ScrollPane.java
3959 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3960 (getViewportSize): Likewise.
3961 (addNotify): Likewise.
3962 (removeNotify): Likewise.
3963 * java/awt/ScrollPaneAdjustable.java
3964 (ScrollPaneAdjustable): No longer extends Scrollbar.
3965 * java/beans/beancontext/BeanContextServices.java:
3966 Reformated.
3967 (getService): Added throws TooManyListenersException;
3968 * java/beans/beancontext/BeanContextServicesSupport.java:
3969 Reformated.
3970
3971 2003-03-18 Michael Koch <konqueror@gmx.de>
3972
3973 * java/io/BufferedOutputStream.java,
3974 java/io/DataInput.java,
3975 java/io/DataInputStream.java,
3976 java/io/DataOutput.java,
3977 java/io/Externalizable.java:
3978 More merges from classpath.
3979
3980 2003-03-18 Michael Koch <konqueror@gmx.de>
3981
3982 * configure.in: Fixed links to platform dependant java.net files.
3983 * configure: Regenerated.
3984 * java/net/natInetAddress.cc,
3985 java/net/natNetworkInterface.cc,
3986 java/net/natPlainDatagramSocketImpl.cc,
3987 java/net/natPlainSocketImpl.cc:
3988 Removed.
3989
3990 2003-03-18 Michael Koch <konqueror@gmx.de>
3991
3992 * configure.in: Create links to architecture dependent files,
3993 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3994 * configure: Regenerated.
3995 * java/net/natInetAddressNoNet.cc,
3996 java/net/natInetAddressPosix.cc,
3997 java/net/natInetAddressWin32.cc,
3998 java/net/natNetworkInterfaceNoNet.cc,
3999 java/net/natNetworkInterfacePosix.cc,
4000 java/net/natNetworkInterfaceWin32.cc,
4001 java/net/natPlainDatagramSocketImplNoNet.cc,
4002 java/net/natPlainDatagramSocketImplPosix.cc,
4003 java/net/natPlainDatagramSocketImplWin32.cc,
4004 java/net/natPlainSocketImplNoNet.cc,
4005 java/net/natPlainSocketImplPosix.cc,
4006 java/net/natPlainSocketImplWin32.cc: New files.
4007
4008 2003-03-18 Michael Koch <konqueror@gmx.de>
4009
4010 * java/io/BufferedReader.java,
4011 java/io/BufferedWriter.java,
4012 java/io/ByteArrayOutputStream.java,
4013 java/io/FileFilter.java,
4014 java/io/FilePermission.java,
4015 java/io/FileReader.java,
4016 java/io/FileWriter.java,
4017 java/io/FilenameFilter.java,
4018 java/io/FilterInputStream.java,
4019 java/io/FilterOutputStream.java,
4020 java/io/FilterReader.java,
4021 java/io/FilterWriter.java,
4022 java/io/ObjectInput.java,
4023 java/io/ObjectInputValidation.java,
4024 java/io/ObjectOutput.java,
4025 java/io/ObjectStreamField.java,
4026 java/io/PipedInputStream.java,
4027 java/io/PipedReader.java,
4028 java/io/PrintWriter.java,
4029 java/io/PushbackReader.java,
4030 java/io/Reader.java,
4031 java/io/SerializablePermission.java,
4032 java/io/StringReader.java,
4033 java/io/Writer.java:
4034 Merged from classpath.
4035
4036 2003-03-17 Michael Koch <konqueror@gmx.de>
4037
4038 * java/awt/ScrollPaneAdjustable.java:
4039 Compile fixes.
4040
4041 2003-03-17 Michael Koch <konqueror@gmx.de>
4042
4043 * java/net/DatagramSocket.java
4044 (connect): Fixed comment.
4045 * java/nio/ByteBuffer.java
4046 (hasArray): Fixed comment.
4047
4048 2003-03-17 Michael Koch <konqueror@gmx.de>
4049
4050 * java/beans/Beans.java:
4051 Explicitely import classes not packages.
4052 * java/beans/FeatureDescriptor.java
4053 (preferred): New member variable.
4054 (isPreferred): New method.
4055 (setPreferred): New method.
4056 * java/beans/PropertyEditorManager.java:
4057 Explicitely import used classes.
4058 * java/beans/beancontext/BeanContextChild.java:
4059 Added line wrapping.
4060 * java/beans/beancontext/BeanContextChildSupport.java:
4061 Reindented.
4062 * java/beans/beancontext/BeanContextEvent.java:
4063 Reindented.
4064
4065 2003-03-17 Michael Koch <konqueror@gmx.de>
4066
4067 * java/awt/Dialog.java
4068 (Dialog): New constructor, changed implementations, added
4069 documentation.
4070 * java/awt/ScrollPaneAdjustable.java
4071 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4072 Serializable.
4073 (serialVersionUID): New member variable.
4074 (sp): New member variable.
4075 (orientation): New member variable.
4076 (value): New member variable.
4077 (minimum): New member variable.
4078 (maximum): New member variable.
4079 (visibleAmount): New member variable.
4080 (unitIncrement): New member variable.
4081 (blockIncrement): New member variable.
4082 (AdjustmentListener): New member variable.
4083 (ScrollPaneAdjustable): New implementation.
4084 (addAdjustmentListener): New method.
4085 (removeAdjustmentListener): New method.
4086 (getAdjustmentListeners): New method.
4087 (getBlockIncrement): New method.
4088 (getMaximum): New method.
4089 (getMinimum): New method.
4090 (getOrientation): New method.
4091 (getUnitIncrement): New method.
4092 (getValue): New method.
4093 (getVisibleAmount): New method.
4094 (setBlockIncrement): New method.
4095 (setMaximum): Implemented.
4096 (setMinimum): Implemented.
4097 (setUnitIncrement): New method.
4098 (setValue): New method.
4099 (setVisibleAmount): Implemented.
4100 (paramString): New stubbed method.
4101 * java/awt/Window.java
4102 (show): Call setVisible().
4103 (hide): Call setVisible().
4104 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4105 and WINDOW_STATE_CHANGED.
4106 (processWindowFocusEvent): New method.
4107 (processWindowStateEvent): New method.
4108 (postEvent): Deprecated.
4109 (applyResourceBundle): Deprecated.
4110 * java/awt/datatransfer/DataFlavor.java
4111 (DataFlavor): Doesn't thow ClassNotFoundException.
4112
4113 2003-03-17 Michael Koch
4114
4115 * javax/print/attribute/Attribute.java,
4116 javax/print/attribute/AttributeSet.java,
4117 javax/print/attribute/PrintRequestAttributeSet.java:
4118 New files.
4119 * Makefile.am
4120 (javax_source_files): Added new files:
4121 javax/print/attribute/Attribute.java
4122 javax/print/attribute/AttributeSet.java
4123 javax/print/attribute/PrintRequestAttributeSet.java
4124 * Makefile.in: Regenerated.
4125
4126 2003-03-17 Michael Koch
4127
4128 * javax/print/attribute/Attribute.java,
4129 javax/print/attribute/AttributeSet.java,
4130 javax/print/attribute/PrintRequestAttributeSet.java:
4131 New files.
4132 * Makefile.am
4133 (awt_java_source_files): Added new files:
4134 javax/print/attribute/Attribute.java
4135 javax/print/attribute/AttributeSet.java
4136 javax/print/attribute/PrintRequestAttributeSet.java
4137 * Makefile.in: Regenerated.
4138
4139 2003-03-16 Tom Tromey <tromey@redhat.com>
4140
4141 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4142 Include platform.h.
4143 * java/lang/natRuntime.cc (insertSystemProperties): Use
4144 _Jv_platform_path_separator.
4145 (nativeGetLibname): Use _Jv_platform_file_separator.
4146 (_load): Use _Jv_platform_onload_names.
4147 (onload_names): New global.
4148 * include/win32.h (_Jv_platform_file_separator): New define.
4149 (_Jv_platform_path_separator): Likewise.
4150 (_Jv_platform_onload_names): Likewise.
4151 (_Jv_platform_ffi_abi): Likewise.
4152 * include/posix.h (_Jv_platform_file_separator): New define.
4153 (_Jv_platform_path_separator): Likewise.
4154 (_Jv_platform_onload_names): Likewise.
4155 (_Jv_platform_ffi_abi): Likewise.
4156
4157 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4158
4159 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4160
4161 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4162
4163 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4164 hierarchy loop.
4165 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4166 list to Object,ObjectStreamClass, moved callReadMethod code up into
4167 readObject and added Class argument to all setXxxField calls.
4168 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4169 consistent with ObjectOutputStream and to facilitate caching the
4170 Method in the future.
4171 (setBooleanField): Added Class argument.
4172 (setByteField): Likewise.
4173 (setCharField): Likewise.
4174 (setDoubleField): Likewise.
4175 (setFloatField): Likewise.
4176 (setIntField): Likewise.
4177 (setLongField): Likewise.
4178 (setShortField): Likewise.
4179 (setObjectField): Likewise.
4180 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4181 class hierarchy loop.
4182 (defaultWriteObject): Call writeFields with new argument list.
4183 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4184 list to Object,ObjectStreamClass, moved callWriteMethod up into
4185 writeObject and added Class argument to all getXxxField calls.
4186 (callWriteMethod): Added ObjectStreamClass argument to be able to
4187 get the proper class to call getMethod on (each class can have (or
4188 not have) its own writeObject method).
4189 (getBooleanField): Added Class argument.
4190 (getByteField): Likewise.
4191 (getCharField): Likewise.
4192 (getDoubleField): Likewise.
4193 (getFloatField): Likewise.
4194 (getIntField): Likewise.
4195 (getLongField): Likewise.
4196 (getShortField): Likewise.
4197 (getObjectField): Likewise.
4198 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4199 facilitate caching the Method object in the future.
4200
4201 2003-03-12 Andreas Schwab <schwab@suse.de>
4202
4203 * configure.in: Avoid trailing /. in toolexeclibdir.
4204 * configure: Rebuilt.
4205
4206 2003-03-11 Michael Koch <konqueror@gmx.de>
4207
4208 * gnu/java/nio/ByteBufferImpl.java
4209 (putInt): Use limit() instead of limit.
4210 * gnu/java/nio/CharBufferImpl.java
4211 (slice): Fixed implementation.
4212 (subSequence): Better bounds checking.
4213 * gnu/java/nio/MappedByteFileBuffer.java:
4214 Import all needed classes directly.
4215 * java/nio/ByteBuffer.java
4216 (hashCode): New dummy method.
4217 * java/nio/CharBuffer.java
4218 (array_offset): New member variable.
4219 (hasArray): Fixed documentation.
4220 (arrayOffset): Return array_offset.
4221
4222 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4223
4224 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4225 setter; made return value of getter const char* instead of char*
4226 * prims.cc: removed all references to _Jv_ThisExecutable().
4227 These are in the platform-specific sections now.
4228 * posix.cc: define platform-specific _Jv_ThisExecutable().
4229 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4230 * win32.cc: define platform-specific _Jv_ThisExecutable()
4231 using GetModuleFilename()
4232 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4233 to argv[0] instead of _Jv_ThisExecutable()
4234
4235 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4236
4237 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4238 that is set if we are using addr2name.awk instead of addr2line.
4239 (NameFinder): Set usingAddr2name if using addr2name.awk.
4240 (getExternalLabel): New native method to convert a method
4241 name to an external label.
4242 (lookup): Convert name given by addr2line to an external label
4243 before demangling.
4244
4245 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4246 constant representing the prefix attached to method names to
4247 convert them to an external label.
4248 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4249 using LABEL_PREFIX.
4250
4251 2003-03-10 Tom Tromey <tromey@redhat.com>
4252
4253 * Makefile.in: Rebuilt.
4254 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4255 (JC1FLAGS): Removed -Wno-deprecated.
4256
4257 2003-03-10 Michael Koch <konqueror@gmx.de>
4258
4259 * java/nio/ByteOrder.java
4260 (nativeOrder): Working implementation, added documentation.
4261 (toString): Added documentation.
4262
4263 2003-03-10 Michael Koch <konqueror@gmx.de>
4264
4265 * java/net/DatagramSocket.java,
4266 java/net/MulticastSocket.java,
4267 java/net/Socket.java,
4268 java/net/URL.java,
4269 java/net/URLConnection.java:
4270 Fixed some documentation tags to make javadoc and friends happy.
4271
4272 2003-03-10 Michael Koch <koqnueror@gmx.de>
4273
4274 * java/beans/beancontext/BeanContextServicesSupport.java,
4275 java/beans/beancontext/BeanContextSupport.java: New files.
4276 * Makefile.am
4277 (awt_source_files): Added new files.
4278 * Makefile.in: Regenerated.
4279
4280 2003-03-10 Michael Koch <konqueror@gmx.de>
4281
4282 * java/awt/FocusTraversalPolicy.java
4283 (FocusTraversalPolicy): Documentation added.
4284 (getComponentAfter): Documentation added.
4285 (getComponentBefore): Documentation added.
4286 (getFirstComponent): Documentation added.
4287 (getLastComponent): Documentation added.
4288 (getDefaultComponent): Documentation added.
4289 (getInitialComponent): Documentation added.
4290 * java/awt/ScrollPaneAdjustable.java
4291 (sp): New member variable.
4292 (orientation): New member variable.
4293 (value): New member variable.
4294 (minimum): New member variable.
4295 (maximum): New member variable.
4296 (visibleAmount): New member variable.
4297 (unitIncrement): New member variable.
4298 (blockIncrement): New member variable.
4299 (adjustmentListener): New member variable.
4300 (ScrollPaneAdjustable): Rewrote.
4301 (addAdjustmentListener): New method.
4302 (removeAdjustmentListener): New method.
4303 (getAdjustmentListeners): New method.
4304 (getBlockIncrement): New method.
4305 (getMaximum): New method.
4306 (getMinimum): New method.
4307 (getOrientation): New method.
4308 (getUnitIncrement): New method.
4309 (getValue): New method.
4310 (getVisibleAmount): New method.
4311 (setBlockIncrement): New method.
4312 (setUnitIncrement): New method.
4313 (setMaximum): Implemented.
4314 (setMinimum): Implemented.
4315 (setValue): New method.
4316 (setVisibleAmount): Implemented.
4317 (paramString): New method.
4318 * java/awt/Window.java
4319 (show): Use setVisible(true) instead of super.show().
4320 (hide): Use sevVisible(false) instead of super.hide().
4321 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4322 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4323 (postEvent): Deprecated.
4324 (applyResourceBundle): Deprecated.
4325 (processWindowFocusEvent): New method.
4326 (processWindowStateEvent): New method.
4327 * java/awt/datatransfer/DataFlavor.java: Reindented.
4328 * java/awt/font/TextHitInfo.java
4329 (charIndex): New member variable.
4330 (leadingEdge): New member variable.
4331 (TextHitInfo): New constructor.
4332 (getCharIndex): Implemented.
4333 (isLeadingEdge): Implemented.
4334 (getInsertionIndex): Implemented.
4335 (hashCode): Access charIndex directly.
4336 (equals): Reformated.
4337 (leading): Implemented.
4338 (trailing): Implemented.
4339 (beforeOffset): Implemented.
4340 (afterOffset): Implemented.
4341 (getOtherHit): Implemented.
4342 (getOffsetHit): Implemented.
4343 (toString): Implemented.
4344 * java/awt/image/BufferedImage.java
4345 (BufferedImage): Implements WritableRenderedImage.
4346 (observers): New member variable.
4347 (addTileObserver): New method.
4348 (removeTileObserver): New method.
4349
4350 2003-03-09 Tom Tromey <tromey@redhat.com>
4351
4352 PR libgcj/9934:
4353 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4354 to lseek. Return 0 if we can't compute the value.
4355
4356 2003-03-03 Michael Koch <konqueror@gmx.de>
4357
4358 * java/net/NetworkInterface.java: Merged with classpath.
4359
4360 2003-03-03 Tom Tromey <tromey@redhat.com>
4361
4362 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4363 of bytecode.
4364 (handle_ret_insn): Fail if returning to jsr that appears at end of
4365 bytecode.
4366
4367 2003-03-03 Michael Koch <konqueror@gmx.de>
4368
4369 * Makefile.am
4370 (ordinary_java_source_files):
4371 Added gnu/java/nio/MappedByteFileBuffer.java.
4372 (nat_source_files):
4373 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4374 * Makefile.in: Regenerated.
4375
4376 2003-03-03 Michael Koch <konqueror@gmx.de>
4377
4378 * java/net/DatagramSocket.java
4379 (connect): Merged comment from classpath.
4380 (receive): Merged documentation from classpath.
4381 * java/net/Socket.java
4382 (setSoTimeout): Clarified documentation.
4383 * java/net/URL.java
4384 (getPath): Merged from classpath.
4385 (getUserInfo): Merged from classpath.
4386 (getQuery): Merged from classpath.
4387 * java/net/URLStreamHandler.java
4388 (toExternalForm): Merged from classpath.
4389
4390 2003-03-02 Mark Wielaard <mark@klomp.org>
4391
4392 * java/util/Properties.java (load): Only skip line if the first
4393 character is a comment, whitespaces don't count.
4394
4395 2003-03-02 Michael Koch <konqueror@gmx.de>
4396
4397 * java/net/NetPermission.java:
4398 Merged copyright with classpath.
4399
4400 2003-03-02 Michael Koch <konqueror@gmx.de>
4401
4402 * java/lang/Package.java:
4403 Remerged from classpath.
4404
4405 2003-03-02 Michael Koch <konqueror@gmx.de>
4406
4407 * java/net/HttpURLConnection.java
4408 (HTTP_SERVER_ERROR): Deprecated.
4409 * java/net/MulticastSocket.java
4410 (send): Replaced checkMulticast with appropriate checkPermission call,
4411 deprecated.
4412 * java/net/URLDecoder.java
4413 (decode): Deprecated.
4414 * java/net/URLEncoder.java
4415 (encode): Deprecated.
4416
4417 2003-03-02 Michael Koch <konqueror@gmx.de>
4418
4419 * javax/swing/text/Caret.java
4420 (getMagicCaretPosition): Fixed typo in method name.
4421 * javax/swing/text/DefaultCaret.java
4422 (getMagicCaretPosition): Fixed typo in method name.
4423
4424 2003-03-02 Michael Koch <konqueror@gmx.de>
4425
4426 * java/awt/List.java
4427 (setMultipleSelections): Deprecated.
4428 (delItem): Deprecated.
4429 * java/awt/MenuComponent.java
4430 (getPeer): Deprecated.
4431 * java/awt/ScrollPane.java
4432 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4433 * java/awt/dnd/MouseDragGestureRecognizer.java
4434 (mouseClicked): Added comment.
4435 (mousePressed): Added comment.
4436 (mouseReleased): Added comment.
4437 (mouseEntered): Added comment.
4438 (mouseExited): Added comment.
4439 (mouseDragged): Added comment.
4440 (mouseMoved): Added comment.
4441 * java/awt/event/KeyEvent.java
4442 (KeyEvent): Deprecated.
4443 (setModifiers): Deprecated.
4444
4445 2003-03-02 Michael Koch <konqueror@gmx.de>
4446
4447 * gnu/java/nio/FileChannelImpl.java
4448 (fd): Type FileDescriptor instead of int.
4449 (lengthInternal): Removed.
4450 (FileChannelImpl): Fixed arguments, check type of file object.
4451 (size): Made it native.
4452 (implPosition): New native method.
4453 (implTruncate): New native method.
4454 (position): Implemented.
4455 (truncate): Implemented.
4456 (nio_mmap_file): Changed arguments.
4457 (nio_munmap_file): Changed arguments.
4458 (nio_msync): Changed arguments.
4459 * gnu/java/nio/natFileChannelImpl.cc
4460 (lengthInternal): Removed.
4461 (size): New method.
4462 (implPosition): New method.
4463 (implTruncate): New method.
4464 (nio_mmap_file): Changed arguments.
4465 (nio_munmap_file): Changed arguments.
4466 (nio_msync): Changed arguments.
4467
4468 2003-03-02 Michael Koch <konqueror@gmx.de>
4469
4470 * java/awt/dnd/DropTargetContext.java:
4471 Compile fix: Forgot to commit import.
4472
4473 2003-03-02 Michael Koch <konqueror@gmx.de>
4474
4475 * java/awt/Component.java,
4476 java/awt/ScrollPane.java:
4477 Fixed typos.
4478
4479 2003-03-02 Michael Koch <konqueror@gmx.de>
4480
4481 * java/awt/dnd/DnDEventMulticaster.java: New file.
4482 * java/awt/dnd/DragSource.java
4483 (flavorMap): New member variable.
4484 (dragSourceListener): New member variable.
4485 (dragSourceMotionListener): New member variable.
4486 (getFlavorMap): Implemented.
4487 (createDragGestureRecognizer): Implemented.
4488 (addDragSourceListener): Implemented.
4489 (removeDragSourceListener): Implemented.
4490 (getDragSourceListeners): Implemented.
4491 (addDragSourceMotionListener): Implemented.
4492 (removeDragSourceMotionListener): Implemented.
4493 (getDragSourceMotionListeners): Implemented.
4494 (getListeners): Implemented.
4495 * java/awt/dnd/DragSourceContext.java
4496 (peer): New member variable.
4497 (cursor): New member variable.
4498 (transferable): New member variable.
4499 (trigger): New member variable.
4500 (dragSourceListener): New member variable.
4501 (image): New member variable.
4502 (offset): New member variable.
4503 (DragSourceContext): Implemented.
4504 (getDragSource): Implemented.
4505 (getComponent): Implemented.
4506 (getTrigger): Implemented.
4507 (getSourceActions): Implemented.
4508 (setCursor): Implemented.
4509 (getCursor): Implemented.
4510 (addDragSourceListener): Implemented.
4511 (removeDragSourceListener): Implemented.
4512 (getTransferable): Implemented.
4513 * java/awt/dnd/DropTarget.java
4514 (DropTargetAutoScroller.component): New member variable.
4515 (DropTargetAutoScroller.point): New member variable.
4516 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4517 (DropTargetAutoScroller.updateLocation): Implemented.
4518 (active): Renamed from isActive, defaults to true now.
4519 (component): New member variable.
4520 (flavorMap): New member variable.
4521 (actions): New member variable.
4522 (dropTargetContext): New member variable.
4523 (dropTargetListener): New member variable.
4524 (DropTarget): Implemented.
4525 (getComponent): Implemented.
4526 (setComponent): Implemented.
4527 (setDefaultActions): Implemented.
4528 (getDefaultActions): Implemented.
4529 (setActive): Use active instead of isActive.
4530 (isActive): Use active instead of isActive.
4531 (addDropTargetListener): Implemented.
4532 (removeDropTargetListener): Implemented.
4533 (getFlavorMap): Implemented.
4534 (setFlavorMap): Implemented.
4535 (getDropTargetContext): Implemented.
4536 (createDropTargetContext): Implemented.
4537 (createDropTargetAutoScroller): Implemented.
4538 * java/awt/dnd/DropTargetContext.java
4539 (TransferableProxy.getTransferDataFlavors): Implemented.
4540 (TransferableProxy.isDataFlavorSupported): Implemented.
4541 (TransferableProxy.getTransferData): Implemented.
4542 (dropTarget): New member variable.
4543 (dtcp): New member variable.
4544 (DropTargetContext): New package private constructor.
4545 (getDropTarget): Implemented.
4546 (getComponent): Implemented.
4547 (addNotify): Implemented.
4548 (removeNotify): Implemented.
4549 (getCurrentDataFlavorsAsList): Implemented.
4550 (isDataFlavorSupported): Implemented.
4551 * java/awt/dnd/MouseDragGestureRecognizer.java
4552 (registerListeners): Implemented.
4553 (unregisterListeners): Implemented.
4554 * Makefile.am
4555 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4556 * Makefile.in: Regenerated.
4557
4558 2003-03-02 Michael Koch <konqueror@gmx.de>
4559
4560 * java/awt/Component.java
4561 (eventTypeEnabled): New method.
4562 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4563 * java/awt/Container.java
4564 (changeSupport): New member variable.
4565 (addPropertyChangeListener): New methods.
4566 * java/awt/ContainerOrderFocusTraversalPolicy.java
4567 (ContainerOrderFocusTraversalPolicy): Added comment.
4568 (getComponentAfter): Throw exception, documentation added.
4569 (getComponentBefore): Throw exception, documentation added.
4570 (getFirstComponent): Throw exception, documentation added.
4571 (getLastComponent): Throw exception, documentation added.
4572 (getDefaultComponent): Throw exception, documentation added.
4573 * java/awt/EventQueue.java: Reindented.
4574 * java/awt/FocusTraversalPolicy.java:
4575 (FocusTraversalPolicy): Added comment.
4576 (getComponentAfter): Documentation added.
4577 (getComponentBefore): Documentation added.
4578 (getFirstComponent): Documentation added.
4579 (getLastComponent): Documentation added.
4580 (getDefaultComponent): Documentation added.
4581 (getInitialComponent): Documentation added.
4582 * java/awt/ScrollPane.java
4583 (wheelScrollingEnabled): New member variable.
4584 (ScrollPane): Initialize wheelScollingEnabled.
4585 (eventTypeEnabled): New method.
4586 (isWheelScrollingEnabled): New method.
4587 (setWheelScrollingEnabled): New method.
4588
4589 2003-03-02 Michael Koch <konqueror@gmx.de>
4590
4591 * java/net/DatagramSocket.java
4592 (closed): New member variable.
4593 (close): Use closed variable.
4594 (getInetAddress): No need to call isConnected().
4595 (getPort): No need to call isConnected().
4596 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4597 (isClosed): Reimplemented.
4598
4599 2003-03-02 Michael Koch <konqueror@gmx.de>
4600
4601 * configure.in: Added check for memory mapping of files.
4602 * configure: Regenerated.
4603 * config.h.in: Regenerated.
4604
4605 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4606
4607 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4608 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4609
4610 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4611
4612 * java/io/File.java (normalizePath): Remove trailing separator
4613 on Windows only if path is not of the form "x:\".
4614
4615 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4616 (java::io::File::attr): Change formatting a bit and use
4617 WIN32_EPOCH_MILLIS instead of magic numbers.
4618 (java::io::File::isAbsolute): Path must have at least 3
4619 characters for a UNC network path.
4620 (java::io::File::init_native): Define.
4621 (java::io::File::performCreate): Likewise.
4622 (java::io::File::performSetReadOnly): Likewise.
4623 (java::io::File::performSetLastModified): Likewise.
4624 (java::io::File::performListRoots): Likewise.
4625
4626 2003-03-01 Tom Tromey <tromey@redhat.com>
4627
4628 * java/lang/natObject.cc: Don't include assert.h.
4629 (heavy_lock_obj_finalization_proc): Use JvAssert.
4630 (remove_all_heavy): Likewise.
4631 (_Jv_MonitorEnter): Likewise.
4632 (_Jv_MonitorExit): Likewise.
4633 (wait): Likewise.
4634
4635 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4636
4637 * java/io/File (getAbsolutePath): Prefix drive specifier on
4638 Windows for paths starting with a '\'.
4639 (toURL): Make URL more consistent with what Sun's JDK returns.
4640
4641 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4642 true only if the path is a UNC network path or it starts with a
4643 drive specifier.
4644
4645 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4646 Be prepared to handle either '/' or '\\' in the file path for
4647 Windows if using the "file" protocol.
4648 Canonicalise the file path if using a relative path in the given
4649 context and the "file" protocol.
4650
4651 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4652
4653 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4654 program array element passed to CreateProcess.
4655
4656 2003-03-01 Tom Tromey <tromey@redhat.com>
4657
4658 * java/rmi/registry/RegistryHandler.java: Deprecate.
4659
4660 2003-03-01 Tom Tromey <tromey@redhat.com>
4661
4662 * javax/accessibility/AccessibleEditableText.java,
4663 javax/accessibility/AccessibleHyperlink.java: New versions from
4664 Classpath.
4665
4666 * gnu/java/locale/LocaleInformation_af_ZA.java,
4667 gnu/java/locale/LocaleInformation_ar_AE.java,
4668 gnu/java/locale/LocaleInformation_ar_BH.java,
4669 gnu/java/locale/LocaleInformation_ar_DZ.java,
4670 gnu/java/locale/LocaleInformation_ar_EG.java,
4671 gnu/java/locale/LocaleInformation_ar_IN.java,
4672 gnu/java/locale/LocaleInformation_ar_IQ.java,
4673 gnu/java/locale/LocaleInformation_ar_JO.java,
4674 gnu/java/locale/LocaleInformation_ar_KW.java,
4675 gnu/java/locale/LocaleInformation_ar_LB.java,
4676 gnu/java/locale/LocaleInformation_ar_LY.java,
4677 gnu/java/locale/LocaleInformation_ar_MA.java,
4678 gnu/java/locale/LocaleInformation_ar_OM.java,
4679 gnu/java/locale/LocaleInformation_ar_QA.java,
4680 gnu/java/locale/LocaleInformation_ar_SD.java,
4681 gnu/java/locale/LocaleInformation_ar_SY.java,
4682 gnu/java/locale/LocaleInformation_ar_TN.java,
4683 gnu/java/locale/LocaleInformation_ar_YE.java,
4684 gnu/java/locale/LocaleInformation_be_BY.java,
4685 gnu/java/locale/LocaleInformation_bn_IN.java,
4686 gnu/java/locale/LocaleInformation_br_FR.java,
4687 gnu/java/locale/LocaleInformation_bs_BA.java,
4688 gnu/java/locale/LocaleInformation_ca_ES.java,
4689 gnu/java/locale/LocaleInformation_cs_CZ.java,
4690 gnu/java/locale/LocaleInformation_cy_GB.java,
4691 gnu/java/locale/LocaleInformation_da_DK.java,
4692 gnu/java/locale/LocaleInformation_de_AT.java,
4693 gnu/java/locale/LocaleInformation_de_BE.java,
4694 gnu/java/locale/LocaleInformation_de_CH.java,
4695 gnu/java/locale/LocaleInformation_de_DE.java,
4696 gnu/java/locale/LocaleInformation_de_LU.java,
4697 gnu/java/locale/LocaleInformation_el_GR.java,
4698 gnu/java/locale/LocaleInformation_en_AU.java,
4699 gnu/java/locale/LocaleInformation_en_BW.java,
4700 gnu/java/locale/LocaleInformation_en_CA.java,
4701 gnu/java/locale/LocaleInformation_en_DK.java,
4702 gnu/java/locale/LocaleInformation_en_GB.java,
4703 gnu/java/locale/LocaleInformation_en_HK.java,
4704 gnu/java/locale/LocaleInformation_en_IE.java,
4705 gnu/java/locale/LocaleInformation_en_IN.java,
4706 gnu/java/locale/LocaleInformation_en_NZ.java,
4707 gnu/java/locale/LocaleInformation_en_PH.java,
4708 gnu/java/locale/LocaleInformation_en_SG.java,
4709 gnu/java/locale/LocaleInformation_en_US.java,
4710 gnu/java/locale/LocaleInformation_en_ZA.java,
4711 gnu/java/locale/LocaleInformation_en_ZW.java,
4712 gnu/java/locale/LocaleInformation_es_AR.java,
4713 gnu/java/locale/LocaleInformation_es_BO.java,
4714 gnu/java/locale/LocaleInformation_es_CL.java,
4715 gnu/java/locale/LocaleInformation_es_CO.java,
4716 gnu/java/locale/LocaleInformation_es_CR.java,
4717 gnu/java/locale/LocaleInformation_es_DO.java,
4718 gnu/java/locale/LocaleInformation_es_EC.java,
4719 gnu/java/locale/LocaleInformation_es_ES.java,
4720 gnu/java/locale/LocaleInformation_es_GT.java,
4721 gnu/java/locale/LocaleInformation_es_HN.java,
4722 gnu/java/locale/LocaleInformation_es_MX.java,
4723 gnu/java/locale/LocaleInformation_es_NI.java,
4724 gnu/java/locale/LocaleInformation_es_PA.java,
4725 gnu/java/locale/LocaleInformation_es_PE.java,
4726 gnu/java/locale/LocaleInformation_es_PR.java,
4727 gnu/java/locale/LocaleInformation_es_PY.java,
4728 gnu/java/locale/LocaleInformation_es_SV.java,
4729 gnu/java/locale/LocaleInformation_es_US.java,
4730 gnu/java/locale/LocaleInformation_es_UY.java,
4731 gnu/java/locale/LocaleInformation_es_VE.java,
4732 gnu/java/locale/LocaleInformation_et_EE.java,
4733 gnu/java/locale/LocaleInformation_eu_ES.java,
4734 gnu/java/locale/LocaleInformation_fa_IR.java,
4735 gnu/java/locale/LocaleInformation_fi_FI.java,
4736 gnu/java/locale/LocaleInformation_fo_FO.java,
4737 gnu/java/locale/LocaleInformation_fr_BE.java,
4738 gnu/java/locale/LocaleInformation_fr_CA.java,
4739 gnu/java/locale/LocaleInformation_fr_CH.java,
4740 gnu/java/locale/LocaleInformation_fr_FR.java,
4741 gnu/java/locale/LocaleInformation_fr_LU.java,
4742 gnu/java/locale/LocaleInformation_ga_IE.java,
4743 gnu/java/locale/LocaleInformation_gd_GB.java,
4744 gnu/java/locale/LocaleInformation_gl_ES.java,
4745 gnu/java/locale/LocaleInformation_gv_GB.java,
4746 gnu/java/locale/LocaleInformation_he_IL.java,
4747 gnu/java/locale/LocaleInformation_hi_IN.java,
4748 gnu/java/locale/LocaleInformation_hr_HR.java,
4749 gnu/java/locale/LocaleInformation_hu_HU.java,
4750 gnu/java/locale/LocaleInformation_id_ID.java,
4751 gnu/java/locale/LocaleInformation_it_CH.java,
4752 gnu/java/locale/LocaleInformation_it_IT.java,
4753 gnu/java/locale/LocaleInformation_iw_IL.java,
4754 gnu/java/locale/LocaleInformation_ja_JP.java,
4755 gnu/java/locale/LocaleInformation_ka_GE.java,
4756 gnu/java/locale/LocaleInformation_kl_GL.java,
4757 gnu/java/locale/LocaleInformation_ko_KR.java,
4758 gnu/java/locale/LocaleInformation_kw_GB.java,
4759 gnu/java/locale/LocaleInformation_lt_LT.java,
4760 gnu/java/locale/LocaleInformation_lv_LV.java,
4761 gnu/java/locale/LocaleInformation_mi_NZ.java,
4762 gnu/java/locale/LocaleInformation_mk_MK.java,
4763 gnu/java/locale/LocaleInformation_mr_IN.java,
4764 gnu/java/locale/LocaleInformation_mt_MT.java,
4765 gnu/java/locale/LocaleInformation_nl_BE.java,
4766 gnu/java/locale/LocaleInformation_nl_NL.java,
4767 gnu/java/locale/LocaleInformation_nn_NO.java,
4768 gnu/java/locale/LocaleInformation_no_NO.java,
4769 gnu/java/locale/LocaleInformation_oc_FR.java,
4770 gnu/java/locale/LocaleInformation_pl_PL.java,
4771 gnu/java/locale/LocaleInformation_pt_BR.java,
4772 gnu/java/locale/LocaleInformation_pt_PT.java,
4773 gnu/java/locale/LocaleInformation_ro_RO.java,
4774 gnu/java/locale/LocaleInformation_ru_RU.java,
4775 gnu/java/locale/LocaleInformation_ru_UA.java,
4776 gnu/java/locale/LocaleInformation_se_NO.java,
4777 gnu/java/locale/LocaleInformation_sk_SK.java,
4778 gnu/java/locale/LocaleInformation_sl_SI.java,
4779 gnu/java/locale/LocaleInformation_sq_AL.java,
4780 gnu/java/locale/LocaleInformation_sr_YU.java,
4781 gnu/java/locale/LocaleInformation_sv_FI.java,
4782 gnu/java/locale/LocaleInformation_sv_SE.java,
4783 gnu/java/locale/LocaleInformation_ta_IN.java,
4784 gnu/java/locale/LocaleInformation_te_IN.java,
4785 gnu/java/locale/LocaleInformation_tg_TJ.java,
4786 gnu/java/locale/LocaleInformation_tl_PH.java,
4787 gnu/java/locale/LocaleInformation_tr_TR.java,
4788 gnu/java/locale/LocaleInformation_uk_UA.java,
4789 gnu/java/locale/LocaleInformation_ur_PK.java,
4790 gnu/java/locale/LocaleInformation_uz_UZ.java,
4791 gnu/java/locale/LocaleInformation_vi_VN.java,
4792 gnu/java/locale/LocaleInformation_yi_US.java,
4793 gnu/java/locale/LocaleInformation_zh_CN.java,
4794 gnu/java/locale/LocaleInformation_zh_HK.java,
4795 gnu/java/locale/LocaleInformation_zh_SG.java,
4796 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4797 info; from Classpath.
4798
4799 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4800 isPaintPending): New methods.
4801 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4802 setMaximizedBounds): New methods.
4803 (beginLayout, endLayout, isPaintPending): Likewise.
4804 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4805 (requestFocus): Likewise.
4806 (isObscured): Likewise.
4807 (canDetermineObscurity): Likewise.
4808 (coalescePaintEvent): Likewise.
4809 (updateCursorImmediately): Likewise.
4810 (createVolatileImage): Likewise.
4811 (handlesWheelScrolling): Likewise.
4812 (createBuffers): Likewise.
4813 (getBackBuffer): Likewise.
4814 (flip): Likewise.
4815 (destroyBuffers): Likewise.
4816
4817 * Makefile.in: Rebuilt.
4818 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4819 RobotPeer.java.
4820 * gnu/java/awt/GLightweightPeer.java,
4821 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4822 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4823 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4824 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4825 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4826 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4827 java/awt/dnd/peer/DragSourceContextPeer.java,
4828 java/awt/dnd/peer/DropTargetContextPeer.java,
4829 java/awt/peer/ButtonPeer.java,
4830 java/awt/peer/CheckboxMenuItemPeer.java,
4831 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4832 java/awt/peer/ComponentPeer.java,
4833 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4834 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4835 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4836 java/awt/peer/MenuBarPeer.java,
4837 java/awt/peer/MenuComponentPeer.java,
4838 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4839 java/awt/peer/PopupMenuPeer.java,
4840 java/awt/peer/ScrollPanePeer.java,
4841 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4842 java/awt/peer/TextComponentPeer.java,
4843 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4844 New versions from Classpath.
4845 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4846 * java/awt/peer/RobotPeer.java: Likewise.
4847
4848 2003-03-01 Mark Wielaard <mark@klomp.org>
4849
4850 * java/io/ObjectInputStream.java: Reindent.
4851 * java/io/ObjectOutputStream.java: Likewise.
4852
4853 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4854
4855 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4856 jvalue for each argument. Simplify.
4857 * testsuite/libjava.jni/calls.c (docall),
4858 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4859 misalignment.
4860
4861 2003-02-28 Mark Wielaard <mark@klomp.org>
4862
4863 * Makefile.am (nat_source_files): Remove
4864 java/io/natObjectOutputStream.cc.
4865 * Makefile.in: Regenerated.
4866 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4867 * java/io/ObjectStreamField.java (typename): New field.
4868 (ObjectStreamField(String, Class)): Initialize new field.
4869 (ObjectStreamField(String, String)): New Constructor.
4870 (getTypeCode): Use new field.
4871 (getTypeString): Use new field.
4872 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4873 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4874 Handle reading of Proxy classes. Never drain(), just write
4875 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4876 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4877 (flush): Call flush(), not just drain().
4878 (writeBoolean): Always use blockDataOutput.
4879 (writeByte): Likewise.
4880 (writeShort): Likewise.
4881 (writeChar): Likewise.
4882 (writeInt): Likewise.
4883 (writeLong): Likewise.
4884 (writeFloat): Likewise.
4885 (writeDouble): Likewise.
4886 (writeBytes): Likewise.
4887 (putfield (put(String,Object))): Throw IllegalArgumentException if
4888 field cannot be found.
4889 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4890 (writeArraySizeAndElements): Write byte[] in one go.
4891 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4892 set BlockDataMode to false.
4893 (annotateProxyClass): New method.
4894 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4895 (getField): No longer native.
4896 (getMethod): Likewise.
4897 (setBlockDataMode): Always drain() on switch, return old mode.
4898 (static): New static code block.
4899 * java/io/natObjectOutputStream.cc: Removed.
4900 * java/io/ObjectInputStream.java (getField): No longer native.
4901 (getMethod): Likewise.
4902 (readObject): Remember and reset old BlockDataMode. Track whether
4903 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4904 TC_LONGSTRING.
4905 (defaultReadObject): Set BlockDataMode to false during readFields.
4906 (resolveClass): Create new SecurityManager if necessary.
4907 Use Class.forName() if null ClassLoader found.
4908 (read(byte[],int,int): Copy remaining bytes to data before calling
4909 readNextBlock().
4910 (readFields): Set and reset BlockDataMode on call_read_method.
4911 Catch NoSuchFieldErrors.
4912 (setBlockDataMode): Return old mode.
4913 (static): New static code block.
4914 * java/io/natObjectInputStream.cc (getField): Removed.
4915 (getMethod): Likewise.
4916
4917 2003-02-27 Michael Koch <konqueror@gmx.de>
4918
4919 * java/beans/Beans.java,
4920 java/beans/FeatureDescriptor.java
4921 java/beans/PropertyEditorManager.java:
4922 Reformated to GNU style.
4923
4924 2003-02-25 Michael Koch <konqueror@gmx.de>
4925
4926 * gnu/java/nio/MappedByteFileBuffer.java,
4927 gnu/java/nio/natMappedByteFileBuffer.cc:
4928 New files, both are not compiled yet to get not noncompiling CVS.
4929
4930 2003-02-24 Tom Tromey <tromey@redhat.com>
4931
4932 * java/util/prefs/AbstractPreferences.java (isUserNode):
4933 Implemented.
4934
4935 2003-02-24 Tom Tromey <tromey@redhat.com>
4936
4937 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4938 Deprecate.
4939 * java/lang/Thread.java (resume): Deprecate.
4940 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4941 in @deprecated.
4942
4943 2003-02-23 Tom Tromey <tromey@redhat.com>
4944
4945 * Makefile.in: Rebuilt.
4946 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4947
4948 2003-02-23 Tom Tromey <tromey@redhat.com>
4949
4950 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4951 libraries): Removed.
4952 (add_library): Removed.
4953 (_load): Don't call add_library.
4954 (loadLibraryInternal): Likewise.
4955 (init): Likewise.
4956 (lookup_data): New struct.
4957 (find_symbol): New function.
4958 (_Jv_FindSymbolInExecutable): Use it.
4959
4960 2002-02-21 Anthony Green <green@redhat.com>
4961
4962 * java/lang/Thread.java (Thread): New constructor taking stack
4963 size parameter (ignored for now).
4964 * Many methods: Merged GNU Classpath documentation.
4965
4966 * java/lang/Class.java (finalize): throws a Throwable.
4967
4968 2003-02-21 Mark Wielaard <mark@klomp.org>
4969
4970 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4971 argument is null.
4972
4973 2003-02-21 Mark Wielaard <mark@klomp.org>
4974
4975 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4976 then 65535 chars throw IllegalArgumentException.
4977
4978 2003-02-21 Mark Wielaard <mark@klomp.org>
4979
4980 * java/util/zip/ZipFile.java (finalize): New method.
4981
4982 2003-02-21 Michael Koch <konqueror@gmx.de>
4983
4984 * gnu/java/nio/natSocketChannelImpl.cc:
4985 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4986 <cato@df.lth.se> for pointing to it.
4987
4988 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4989
4990 * java/math/BigInteger.java (euclidInv): Take result array as an
4991 argument. Updated all callers.
4992 (modInverse): Removed unused variables.
4993
4994 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4995
4996 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4997 config.status.
4998 * configure: Rebuilt.
4999
5000 2003-02-19 Michael Koch <konqueror@gmx.de>
5001
5002 * gnu/java/nio/natSocketChannelImpl.cc:
5003 Added support for platforms without network support.
5004
5005 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5006
5007 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5008 after config.h. Use <> for consistency.
5009 * java/lang/natObject.cc: Likewise.
5010 * java/lang/natRuntime.cc: Likewise.
5011 * java/lang/natSystem.cc: Likewise.
5012 * java/util/natTimeZone.cc: Likewise.
5013 * win32.cc: Likewise.
5014 * include/posix.h (fcntl, socket, connect, close, bind, accept,
5015 listen, write, read): Undef to avoid interference from OS macros.
5016
5017 2003-02-19 Michael Koch <konqueror@gmx.de>
5018
5019 * gnu/java/nio/ByteBufferImpl.java
5020 (ByteBufferImpl): Renamed two variables.
5021 * gnu/java/nio/CharBufferImpl.java
5022 (CharBufferImpl): Renamed two variables.
5023 * gnu/java/nio/DoubleBufferImpl.java
5024 (DoubleBufferImpl): Renamed two variables.
5025 * gnu/java/nio/FloatBufferImpl.java
5026 (FloatBufferImpl): Renamed two variables.
5027 * gnu/java/nio/IntBufferImpl.java
5028 (IntBufferImpl): Renamed two variables.
5029 * gnu/java/nio/LongBufferImpl.java
5030 (LongBufferImpl): Renamed two variables.
5031 * gnu/java/nio/ShortBufferImpl.java
5032 (ShortBufferImpl): Renamed two variables.
5033 * java/nio/CharBuffer.java
5034 (wrap): Fixed arguments to CharBufferImpl constructor.
5035 (hasArray): Only not read-only buffers have backing arrays.
5036 (length): Documentation added.
5037 (subSequence): Documentation added.
5038 * java/nio/DoubleBuffer.java
5039 (hasArray): Only not read-only buffers have backing arrays.
5040 * java/nio/FloatBuffer.java
5041 (hasArray): Only not read-only buffers have backing arrays.
5042 * java/nio/IntBuffer.java
5043 (hasArray): Only not read-only buffers have backing arrays.
5044 * java/nio/LongBuffer.java
5045 (hasArray): Only not read-only buffers have backing arrays.
5046 * java/nio/ShortBuffer.java
5047 (hasArray): Only not read-only buffers have backing arrays.
5048
5049 2003-02-19 Michael Koch <konqueror@gmx.de>
5050
5051 * javax/accessibility/AccessibleContext.java
5052 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5053
5054 2003-02-19 Michael Koch <konqueror@gmx.de>
5055
5056 * java/awt/ScrollPaneAdjustable.java: Reformated.
5057
5058 2003-02-19 Michael Koch <konqueror@gmx.de>
5059
5060 * gnu/awt/j2d/Graphics2DImpl.java
5061 (getFontRenderContext): New method.
5062 (drawGlyphVector): New method.
5063 * java/awt/Graphics2D.java
5064 (getFontRenderContext): New abstract method.
5065 (drawGlyphVector): New abstract method.
5066
5067 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
5068
5069 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5070 if necessary.
5071
5072 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5073 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5074 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5075 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5076 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5077 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5078 (setFont, gtkSetFont): add.
5079 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5080 Propagate font to peer. (setFont): add FIXME comment.
5081
5082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5083 (gtkTextGetSize): fix height, width computation.
5084
5085 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5086 Make X font name a bit less bogus.
5087
5088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5089 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5090
5091 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5092 (processAdjustmentEvent): Adjust value.
5093
5094 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5095 logic errors.
5096
5097 * java/awt/Component.java (setVisible, show, hide): Call show and
5098 hide methods in subclasses.
5099 (getPreferredSize): don't set prefSize before we have peer.
5100
5101 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5102 Guess (0,0) if we don't have peer.
5103
5104
5105 2003-02-18 Michael Koch <konqueror@gmx.de>
5106
5107 * java/nio/channels/FileChannel.java
5108 (toString): New implementation, added documentation.
5109 (map): Added exception documentation.
5110 (size): Added exception documentation.
5111 (write): New methods, documentation work.
5112 (read): New methods, documentation work.
5113 (implCloseChannel): Rewrote exception documentation.
5114 (force): Throws IOException, added documentation.
5115 (lock): New methods.
5116 (tryLock): New methods.
5117 (position): New methods.
5118 (transferTo): New method.
5119 (transferFrom): New method.
5120 (truncate): New method.
5121 * java/nio/channels/spi/SelectorProvider.java
5122 (provider): Implemented.
5123 * Makefile.am
5124 (ordinary_java_source_files): Added the following files:
5125 gnu/java/nio/DatagramChannelImpl.java
5126 gnu/java/nio/FileChannelImpl.java
5127 gnu/java/nio/PipeImpl.java
5128 gnu/java/nio/SelectionKeyImpl.java
5129 gnu/java/nio/SelectorImpl.java
5130 gnu/java/nio/SelectorProviderImpl.java
5131 gnu/java/nio/ServerSocketChannelImpl.java
5132 gnu/java/nio/SocketChannelImpl.java
5133 java/nio/channels/FileLock.java
5134 (nat_java_source_files): Added the following files:
5135 gnu/java/nio/natFileChannelImpl.cc
5136 gnu/java/nio/natSelectorImpl.cc
5137 gnu/java/nio/natSocketChannelImpl.cc
5138 * Makefile.in: Regenerated.
5139
5140 2003-02-17 Tom Tromey <tromey@redhat.com>
5141
5142 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5143 * java/awt/image/ImageFilter.java: Likewise.
5144
5145 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5146
5147 * java/math/BigInteger.java (euclidInv): Return array of
5148 `BigInteger's. Changed all callers.
5149
5150 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5151
5152 * java/util/Properties.java (store): Move the code formerly in
5153 list(), into this method.
5154 (list (PrintStream)): Just call list (PrintWriter) with a
5155 PrintWriter object constructed from the given PrintStream object.
5156 (list (PrintWriter)): Emulate the output of Properties.list()
5157 as found in JDK 1.3/1.4.
5158
5159 2003-02-17 Michael Koch <konqueror@gmx.de>
5160
5161 * java/net/DatagramSocket.java
5162 (connect): Merged with classpath.
5163 (disconnect): Merged documentation with classpath.
5164 (receice): Merged documentation with classpath.
5165 (send): Merged documentation with classpath.
5166
5167 2003-02-17 Michael Koch <konqueror@gmx.de>
5168
5169 * java/awt/dnd/DragSourceContext.java
5170 (addDragSourceListener): Added documentation.
5171 * java/awt/dnd/DragSourceDragEvent.java
5172 (serialVersionUID): New member variable.
5173 (getDropAction): Reformated.
5174 * java/awt/dnd/DragSourceDropEvent.java
5175 (serialVersionUID): New member variable.
5176 (dropSuccess): Renamed from success for serialization issues.
5177 * java/awt/dnd/DragSourceEvent.java
5178 (serialVersionUID): New member variable.
5179 * java/awt/dnd/DropTarget.java
5180 (serialVersionUID): New member variable.
5181 (DropTarget): Implemented, documentation reworked.
5182 (setComponent): Documentation added.
5183 (getComponent): Documentation added.
5184 (setDefaultActions): Documentation added.
5185 (getDefaultActions): Documentation added.
5186 (addDropTargetListener): Documentation added.
5187 * java/awt/dnd/DropTargetContext.java
5188 (DropTargetContext): Documentation added.
5189 (TransferableProxy.TransferableProxy): New method.
5190 (dropComplete): Fixed documentation.
5191 (getTransferable): Fixed documentation.
5192 (createTransferableProxy): Implemented.
5193 * java/awt/dnd/DropTargetDragEvent.java
5194 (DropTargetDragEvent): Documentation added.
5195 (serialVersionUID): New member variable.
5196 (DropTargetDragEvent): Throw exceptions, documentation added.
5197 (acceptDrag): Implemented.
5198 (getCurrentDataFlavors): Implemented.3yy
5199 (getCurrentDataFlavorsAsList): Implemented.
5200 (isDataFlavorSupported): Implemented.
5201 (rejectDrag): Implemented.
5202 * java/awt/dnd/DropTargetDropEvent.java
5203 (DropTargetDropEvent): Documentation added.
5204 (serialVersionUID): New member variable.
5205 (actions): Renamed from srcActions for serialization issues.
5206 (isLocalTx): Renamed from isLocalTx for serialization issues.
5207 (DropTargetDropEvent): New implementation, throw exceptions,
5208 documentation added.
5209 (getCurrentDataFlavors): Implemented.
5210 (getCurrentDataFlavorsAsList): Implemented.
5211 (isDataFlavorSupported): Implemented.
5212 (getSourceActions): Implemented.
5213 (getDropAction): Implemented.
5214 (getTransferable): Implemented.
5215 (acceptDrop): Implemented.
5216 (rejectDrop): Implemented.
5217 * java/awt/dnd/DropTargetListener.java
5218 (drop): Fixed documentation.
5219 * java/awt/dnd/MouseDragGestureRecognizer.java
5220 (MouseDragGestureRecognizer): Documentation added.
5221
5222 2003-02-17 Michael Koch <konqueror@gmx.de>
5223
5224 * java/awt/font/FontRenderContext.java,
5225 java/awt/font/ShapeGraphicAttribute.java,
5226 java/awt/font/MultipleMaster.java,
5227 java/awt/font/TransformAttribute.java,
5228 java/awt/font/GlyphJustificationInfo.java,
5229 java/awt/font/LineBreakMeasurer.java,
5230 java/awt/font/TextMeasurer.java,
5231 java/awt/font/TextLayout.java,
5232 java/awt/font/LineMetrics.java,
5233 java/awt/font/TextAttribute.java,
5234 java/awt/font/GlyphMetrics.java,
5235 java/awt/font/OpenType.java,
5236 java/awt/font/GlyphVector.java,
5237 java/awt/font/GraphicAttribute.java,
5238 java/awt/font/ImageGraphicAttribute.java,
5239 java/awt/font/NumericShaper.java: New files.
5240 * Makefile.am
5241 (awt_java_source_files): Added the following files:
5242 java/awt/font/FontRenderContext.java
5243 java/awt/font/ShapeGraphicAttribute.java
5244 java/awt/font/MultipleMaster.java
5245 java/awt/font/TransformAttribute.java
5246 java/awt/font/GlyphJustificationInfo.java
5247 java/awt/font/LineBreakMeasurer.java
5248 java/awt/font/TextMeasurer.java
5249 java/awt/font/TextLayout.java
5250 java/awt/font/LineMetrics.java
5251 java/awt/font/TextAttribute.java
5252 java/awt/font/GlyphMetrics.java
5253 java/awt/font/OpenType.java
5254 java/awt/font/GlyphVector.java
5255 java/awt/font/GraphicAttribute.java
5256 java/awt/font/ImageGraphicAttribute.java
5257 java/awt/font/NumericShaper.java
5258 * Makefile.in: Regenerated.
5259
5260 2003-02-17 Michael Koch <konqueror@gmx.de>
5261
5262 * java/awt/print/Paper.java
5263 (Paper): Implements Cloneable.
5264 * java/awt/print/PrinterJob.java
5265 (setJobName): Return value must be void.
5266 (print): Throws PrinterException.
5267
5268 2003-02-16 Tom Tromey <tromey@redhat.com>
5269
5270 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5271 variable.
5272
5273 2003-02-15 Michael Koch <konqueror@gmx.de>
5274
5275 * java/awt/datatransfer/DataFlavor.java
5276 (isRepresentationClassByteBuffer): Removed try-catch block.
5277 (isRepresentationClassCharBuffer): Removed try-catch block.
5278 (isRepresentationClassReader): Removed try-catch block.
5279
5280 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5281
5282 * java/nio/charset/Charset.java
5283 (isRegistered): Fixed method args and implementation.
5284 * java/nio/charset/CharsetEncoder.java
5285 (unmappableCharacterAction): New method.
5286
5287 2003-02-15 Michael Koch <konqueror@gmx.de>
5288
5289 * java/awt/CheckboxMenuItem.java
5290 (CheckBoxMenuItem): Dont implement Serializable.
5291 (getListeners): New method,
5292 (getItemListeners): New method.
5293 * java/awt/Choice.java
5294 (getListeners): New method,
5295 (getItemListeners): New method.
5296 * java/awt/Container.java
5297 (getListeners): Added exception documentation.
5298 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5299 (getFocusTraversalKeys): Added documentation.
5300 (areFocusTraversalKeysSet): Added documentation.
5301 (applyComponentOrientation): Added documentation.
5302 * java/awt/ContainerOrderFocusTraversalPolicy.java
5303 (implicitDownCycleTraversal): Renamed from downCycle for
5304 serialization.
5305 (ContainerOrderFocusTraversalPolicy): Added documentation.
5306 (accept): Reformated.
5307 * java/awt/Dialog.java
5308 (Dialog): Dont implement Serializable.
5309 (Dialog): Added documentation.
5310 * java/awt/Font.java
5311 (Font): Dont use absolute class name.
5312 * java/awt/Frame.java
5313 (Frame): Font implement Serializable.
5314 * java/awt/List.java
5315 (getListeners): New method,
5316 (getActionListeners): New method.
5317 (getItemListeners): New method.
5318 * java/awt/Menu.java
5319 (countItems): New deprecated method.
5320 * java/awt/Scrollbar.java
5321 (getListeners): New method,
5322 (getAdjustmentListeners): New method,
5323 * java/awt/TextComponent.java
5324 (getListeners): New method,
5325 (getTextListeners): New method,
5326 * java/awt/TextField.java
5327 (getListeners): New method,
5328 (getActionListeners): New method.
5329 * java/awt/Window.java
5330 (windowFocusListener): New member variable.
5331 (windowStateListener): New member variable.
5332 (getWindowFocusListeners): New method.
5333 (getWindowStateListeners): New method.
5334 (addWindowFocusListener): New method.
5335 (addWindowStateListener): New method.
5336 (removeWindowFocusListener): New method.
5337 (removeWindowStateListener): New method.
5338 * java/awt/datatransfer/DataFlavor.java
5339 (isRepresentationClassByteBuffer): New method.
5340 (isRepresentationClassCharBuffer): New method.
5341 (isRepresentationClassReader): New method.
5342
5343 2003-02-14 Mark Wielaard <mark@klomp.org>
5344
5345 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5346 zero when there is an exponent and the significant is zero.
5347 (divide): Always set scale to newScale even in special ZERO case.
5348
5349 2003-02-14 Tom Tromey <tromey@redhat.com>
5350
5351 * java/lang/System.java (properties): Use Properties.clone.
5352 (setProperties): Likewise.
5353
5354 2003-02-14 Michael Koch <konqueror@gmx.de>
5355
5356 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5357 * gnu/java/nio/ServerSocketChannelImpl.java
5358 (SocketAccept): Removed.
5359 (accept): Commented out use of SocketAccept.
5360
5361 2003-02-13 Tom Tromey <tromey@redhat.com>
5362
5363 * verify.cc (state::seen_subrs): New field.
5364 (state::state): Initialize it.
5365 (state::clean_subrs): New method.
5366 (state::~state): Call it.
5367 (state::copy): Copy subroutine list.
5368 (state::add_subr): New method.
5369 (state::merge): Only register a change if the current subroutine
5370 hasn't yet been noted.
5371
5372 2003-02-13 Mark Wielaard <mark@klomp.org>
5373
5374 * java/io/InputStreamReader.java (getEncoding): Return null when
5375 closed.
5376 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5377
5378 2003-02-13 Mark Wielaard <mark@klomp.org>
5379
5380 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5381 is zero.
5382
5383 2003-02-13 Mark Wielaard <mark@klomp.org>
5384
5385 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5386 next byte cannot be buffered.
5387
5388 2003-02-13 Michael Koch <konqueror@gmx.de>
5389
5390 * java/awt/Label.java
5391 (Label): Don't implement Serializable directly.
5392 (addNotify): Fixed typo in documentation.
5393 * java/awt/List.java
5394 (List): Don't implement Serializable directly.
5395 * java/awt/PopupMenu.java
5396 (PopupMenu): Don't implement Serializable directly.
5397 * java/awt/ScrollPane.java
5398 (ScrollPane): Don't implement Serializable directly.
5399 * java/awt/Scrollbar.java
5400 (Scrollbar): Don't implement Serializable directly.
5401 * java/awt/TextArea.java
5402 (preferredSize): Fixed method arguments.
5403 * java/awt/TextField.java
5404 (TextField): Don't implement Serializable directly.
5405 * java/awt/color/ICC_ColorSpace.java
5406 (fromCIOXYZ): Documentation added.
5407 (getMinValue): Documentation added.
5408 (getMaxValue): Documentation added.
5409 * java/awt/datatransfer/DataFlavor.java
5410 (isMimeTypeEqual): May not be final.
5411 (clone): Throws CloneNotSupportedException.
5412 (getReaderForText): Don't throws UnsupportedEncodingException.
5413
5414 2003-02-13 Michael Koch <konqueror@gmx.de>
5415
5416 * gnu/java/awt/peer/gtk/GdkGraphics.java
5417 (drawString): New stubbed method.
5418 * java/awt/Graphics.java
5419 (drawString): New method.
5420
5421 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5422
5423 PR libgcj/9271:
5424 * java/security/SecureRandom.java (next): Avoid bias in results.
5425
5426 2003-02-13 Michael <konqueror@gmx.de>
5427
5428 * gnu/java/nio/FileChannelImpl.java
5429 (lengthInternal): Must be native.
5430 (size): Check if channel is already closed.
5431 (implCloseChannel): Reformated.
5432 (read): w was unused, removed it.
5433 (read): Removed.
5434 (read): New method.
5435 (write): New method.
5436 (map): Check arguments.
5437 (force): Throws IOException, check if channel is closed.
5438 (transferTo): New method.
5439 (transferFrom): New method.
5440 (lock): New method.
5441 (tryLock): New method.
5442 (position): New method.
5443 (truncate): New method.
5444 (nio_mmap_file): Uncommented.
5445 (nio_munmap_file): Uncommented.
5446 (nio_msync): Uncommented.
5447 * gnu/java/nio/natFileChannelImpl.cc: New file.
5448
5449 2003-02-13 Michael Koch <konqueror@gmx.de>
5450
5451 * java/nio/ByteBuffer.java
5452 (endian): New member variable.
5453 (get): New methods.
5454 (equals): New method.
5455 (compareTo): New method.
5456 (order): New methods.
5457 (compact): New method.
5458 (isDirect): New method.
5459 (slice): New method.
5460 (duplicate): New method.
5461 (asReadOnlyBuffer): New method.
5462 (asCharBuffer): New method.
5463 (asDoubleBuffer): New method.
5464 (asFloatBuffer): New method.
5465 (asIntBuffer): New method.
5466 (asLongBuffer): New method.
5467 (asShortBuffer): New method.
5468 (get*): New methods.
5469 (put*): New methods.
5470 (toString): New method.
5471 * java/nio/CharBuffer.java
5472 (CharBuffer): Implement Comparable instead of Cloneable.
5473 (get): May not be final.
5474 (put): May not be final.
5475
5476 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5477
5478 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5479 lastIndexOf( ) instead of indexOf( ) to find the colon before
5480 the line number, because Win32 file names might contain a
5481 drive letter and a colon at the start of an absolute path.
5482
5483 2003-02-13 Michael Koch <konqueror@gmx.de>
5484
5485 * gnu/java/nio/natSocketChannelImpl.cc
5486 (SocketConnect): This is not implemented yet.
5487 (SocketBind): This is not implemented yet.
5488
5489 2003-02-13 Michael Koch <konqueror@gmx.de>
5490
5491 * gnu/java/nio/natByteBufferImpl.cc,
5492 gnu/java/nio/natCharBufferImpl.cc,
5493 gnu/java/nio/natDoubleBufferImpl.cc,
5494 gnu/java/nio/natFloatBufferImpl.cc,
5495 gnu/java/nio/natIntBufferImpl.cc,
5496 gnu/java/nio/natLongBufferImpl.cc,
5497 gnu/java/nio/natShortBufferImpl.cc:
5498 Added copyright and license.
5499 * java/nio/DoubleBuffer.java,
5500 java/nio/FloatBuffer.java,
5501 java/nio/IntBuffer.java,
5502 java/nio/LongBuffer.java,
5503 java/nio/ShortBuffer.java
5504 (array): Throw exceptions.
5505 (arrayOffset): Throw exceptions.
5506
5507 2003-02-13 Michael Koch <konqueror@gmx.de>
5508
5509 * gnu/java/util/prefs/FileBasedFactory.java,
5510 gnu/java/util/prefs/MemmoryBasedFactory.java,
5511 gnu/java/util/prefs/MemoryBasedPreferences.java,
5512 gnu/java/util/prefs/NodeReader.java,
5513 gnu/java/util/prefs/NodeWriter.java,
5514 java/util/prefs/AbstractPreferences.java,
5515 java/util/prefs/BackingStoreException.java,
5516 java/util/prefs/InvalidPreferencesFormatException.java,
5517 java/util/prefs/NodeChangeEvent.java,
5518 java/util/prefs/NodeChangeListener.java,
5519 java/util/prefs/PreferenceChangeEvent.java,
5520 java/util/prefs/PreferenceChangeListener.java,
5521 java/util/prefs/Preferences.java,
5522 java/util/prefs/PreferencesFactory.java:
5523 New files, all merged from classpath.
5524 * Makefile.am
5525 (ordinary_java_source_files): Added the following files:
5526 gnu/java/util/prefs/FileBasedFactory.java,
5527 gnu/java/util/prefs/MemmoryBasedFactory.java,
5528 gnu/java/util/prefs/MemoryBasedPreferences.java,
5529 gnu/java/util/prefs/NodeReader.java,
5530 gnu/java/util/prefs/NodeWriter.java,
5531 (core_java_source_files): Added the following files:
5532 java/util/prefs/AbstractPreferences.java,
5533 java/util/prefs/BackingStoreException.java,
5534 java/util/prefs/InvalidPreferencesFormatException.java,
5535 java/util/prefs/NodeChangeEvent.java,
5536 java/util/prefs/NodeChangeListener.java,
5537 java/util/prefs/PreferenceChangeEvent.java,
5538 java/util/prefs/PreferenceChangeListener.java,
5539 java/util/prefs/Preferences.java,
5540 java/util/prefs/PreferencesFactory.java
5541 * Makefile.in: Regenerated.
5542
5543 2003-02-13 Michael Koch <konqueror@gmx.de>
5544
5545 * java/net/NetPermission.java
5546 (NetPermission): Make doucmentation match the method declaration.
5547 * java/net/NetworkInterface.java
5548 (equals): Reformated for GNU coding style.
5549 * java/net/ServerSocket.java: Merged with classpath.
5550 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5551 * java/net/SocketImpl.java
5552 (localPort): Merged with classpath (initialize with -1).
5553 * java/net/SocketPermission.java: Merged with classpath (reindented).
5554 * java/net/URLDecoder.java: Merged with classpath (reindented).
5555
5556 2003-02-13 Michael Koch <konqueror@gmx.de>
5557
5558 * java/awt/GridBagConstraints.java
5559 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5560 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5561 * java/awt/KeyboardFocusManager.java
5562 (setGlobalCurrentFocusCycleRoot): Must be public.
5563 * java/awt/MenuComponent.java
5564 (MenuComponent): Must be public.
5565 * java/awt/Toolkit.java:
5566 Added some empty lines to make documentation more readable.
5567 (getFontPeer): Added @deprecated.
5568 (getColorModel): Added exception documentation.
5569 (getProperty): Fixed documentation.
5570
5571 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5572
5573 * configure.host (alpha*-*): Default to -mieee.
5574 * configure.in (IEEESPEC): New.
5575 * libgcj.spec.in (jc1): Add IEEESPEC.
5576 * configure: Rebuild.
5577
5578 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5579
5580 * include/win32.h: Include ws2tcpip.h instead of
5581 winsock.h to obtain definition of the socklen_t type.
5582 Remove IP_TOS definition - not needed with ws2tcpip.h
5583 (_Jv_connect): Correct slight formatting error.
5584
5585 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5586
5587 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5588 size of the arguments for a JNI function. For Win32,
5589 modify to search for all forms of possible exported
5590 names of an stdcall JNI function.
5591 (_Jv_JNIMethod::call): Modify to calculate the size
5592 of the arguments passed to a JNI function and pass
5593 it to _Jv_LookupJNIMethod.
5594
5595 2003-02-12 Michael Koch <konqueror@gmx.de>
5596
5597 * java/nio/channels/Channels.java: New file.
5598 * Makefile.am
5599 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5600 * Makefile.in: Regenerated.
5601
5602 2003-02-12 Michael Koch <konqueror@gmx.de>
5603
5604 * java/nio/ByteBuffer.java
5605 (allocate): Implemented.
5606 (wrap): Implemented.
5607 * java/nio/CharBuffer.java:
5608 Some documentation added and reworked.
5609 (endian): Removed.
5610 (allocate): Implemented.
5611 (wrap): Implemented.
5612 (array): Throw exceptions.
5613 (arrayOffset): Throw exceptions.
5614 (toString): Implemented.
5615 (length): Implemented.
5616 (put): Implemented.
5617 (charAt): Implemented.
5618
5619 2003-02-11 John Leuner <jewel@debian.org>
5620
5621 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5622 reads from end of file.
5623
5624 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5625
5626 * java/io/natFileDescriptorWin32.cc
5627 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5628 returns with Win32 error code ERROR_BROKEN_PIPE.
5629
5630 2003-02-11 Michael Koch <konqueror@gmx.de>
5631
5632 * Makefile.in
5633 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5634
5635 2003-02-11 Michael Koch <konqueror@gmx.de>
5636
5637 * gnu/java/nio/ByteBufferImpl.java:
5638 Reformated and removed some code.
5639 (backing_buffer): Removed.
5640 (array_offset): Removed.
5641 (ro): Renamed to readOnly.
5642 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5643 * gnu/java/nio/CharBufferImpl.java:
5644 Reformated and removed some code.
5645 (array_offset): Removed.
5646 (ro): Renamed to readOnly.
5647 (CharBufferImpl): Use parent constructor, initialize readOnly.
5648 (inc_pos): Removed.
5649 (order): New method.
5650 * gnu/java/nio/DoubleBufferImpl.java:
5651 Reformated and removed some code.
5652 (array_offset): Removed.
5653 (ro): Renamed to readOnly.
5654 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5655 (inc_pos): Removed.
5656 (order): New method.
5657 * gnu/java/nio/FloatBufferImpl.java:
5658 Reformated and removed some code.
5659 (array_offset): Removed.
5660 (ro): Renamed to readOnly.
5661 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5662 (inc_pos): Removed.
5663 (order): New method.
5664 * gnu/java/nio/IntBufferImpl.java:
5665 Reformated and removed some code.
5666 (array_offset): Removed.
5667 (ro): Renamed to readOnly.
5668 (IntBufferImpl): Use parent constructor, initialize readOnly.
5669 (inc_pos): Removed.
5670 (order): New method.
5671 * gnu/java/nio/LongBufferImpl.java:
5672 Reformated and removed some code.
5673 (array_offset): Removed.
5674 (ro): Renamed to readOnly.
5675 (LongBufferImpl): Use parent constructor, initialize readOnly.
5676 (inc_pos): Removed.
5677 (order): New method.
5678 * gnu/java/nio/ShortBufferImpl.java:
5679 Reformated and removed some code.
5680 (array_offset): Removed.
5681 (ro): Renamed to readOnly.
5682 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5683 (inc_pos): Removed.
5684 (order): New method.
5685 * Makefile.am
5686 (ordinary_java_source_files): Added the following files:
5687 gnu/java/nio/ByteBufferImpl.java
5688 gnu/java/nio/CharBufferImpl.java
5689 gnu/java/nio/DoubleBufferImpl.java
5690 gnu/java/nio/FloatBufferImpl.java
5691 gnu/java/nio/IntBufferImpl.java
5692 gnu/java/nio/LongBufferImpl.java
5693 gnu/java/nio/ShortBufferImpl.java
5694 java/nio/DoubleBuffer.java
5695 java/nio/FloatBuffer.java
5696 java/nio/IntBuffer.java
5697 java/nio/LongBuffer.java
5698 java/nio/ShortBuffer.java
5699 (nat_source_files): Added the following files:
5700 gnu/java/nio/natByteBufferImpl.cc
5701 gnu/java/nio/natCharBufferImpl.cc
5702 gnu/java/nio/natDoubleBufferImpl.cc
5703 gnu/java/nio/natFloatBufferImpl.cc
5704 gnu/java/nio/natIntBufferImpl.cc
5705 gnu/java/nio/natLongBufferImpl.cc
5706 gnu/java/nio/natShortBufferImpl.cc
5707 * Makefile.in: Regenerated.
5708
5709 2003-02-11 Michael Koch <konqueror@gmx.de>
5710
5711 * gnu/java/nio/natCharBufferImpl.cc
5712 (nio_cast): Removed.
5713 (nio_put_*): Removed.
5714 (nio_get_*): Removed.
5715 * gnu/java/nio/natDoubleBufferImpl.cc
5716 (nio_cast): Removed.
5717 (nio_put_*): Removed.
5718 (nio_get_*): Removed.
5719 * gnu/java/nio/natFloatBufferImpl.cc
5720 (nio_cast): Removed.
5721 (nio_put_*): Removed.
5722 (nio_get_*): Removed.
5723 * gnu/java/nio/natIntBufferImpl.cc
5724 (nio_cast): Removed.
5725 (nio_put_*): Removed.
5726 (nio_get_*): Removed.
5727 * gnu/java/nio/natLongBufferImpl.cc
5728 (nio_cast): Removed.
5729 (nio_put_*): Removed.
5730 (nio_get_*): Removed.
5731 * gnu/java/nio/natShortBufferImpl.cc
5732 (nio_cast): Removed.
5733 (nio_put_*): Removed.
5734 (nio_get_*): Removed.
5735 * gnu/java/nio/SelectorProviderImpl.java
5736 (openDatagramChannel): Throws IOException.
5737 (openPipe): Throws IOException.
5738 (openSelector): Throws IOException.
5739 (openServerSocketChannel): Throws IOException.
5740 (openSocketChannel): Throws IOException.
5741 * gnu/java/nio/ServerSocketChannelImpl.java
5742 (ServerSocketChannelImpl): Throws IOException.
5743 (implCloseSelectableChannel): Throws IOException.
5744 (implConfigureBlocking): Throws IOException.
5745 * java/nio/ByteBuffer.java
5746 (readOnly): Removed.
5747 (hasArray): Use isReadOnly() instead of readOnly.
5748 (array): Use isReadOnly() instead of readOnly.
5749 (arrayOffset): Use isReadOnly() instead of readOnly.
5750 * java/nio/CharBuffer.java
5751 (CharBuffer): Implements Cloneable and CharSequence.
5752
5753 2003-02-11 Michael Koch <konqueror@gmx.de>
5754
5755 * java/nio/DoubleBuffer.java
5756 (DoubleBuffer): Implements Comparable.
5757 (endian): Removed.
5758 (array_offset): New member variable.
5759 (DoubleBuffer): New constuctor.
5760 (get): May not be final.
5761 (put): May not be final.
5762 (arrayOffset): Implemented.
5763 (order): Made abstract.
5764 (order): Removed.
5765 (as*Buffer): Removed.
5766 (get*): Removed.
5767 (put*): Removed.
5768 * java/nio/FloatBuffer.java
5769 (FloatBuffer): Implements Comparable.
5770 (endian): Removed.
5771 (array_offset): New member variable.
5772 (FloatBuffer): New constuctor.
5773 (get): May not be final.
5774 (put): May not be final.
5775 (arrayOffset): Implemented.
5776 (order): Made abstract.
5777 (order): Removed.
5778 (as*Buffer): Removed.
5779 (get*): Removed.
5780 (put*): Removed.
5781 * java/nio/IntBuffer.java
5782 (IntBuffer): Implements Comparable.
5783 (endian): Removed.
5784 (array_offset): New member variable.
5785 (IntBuffer): New constuctor.
5786 (get): May not be final.
5787 (put): May not be final.
5788 (arrayOffset): Implemented.
5789 (order): Made abstract.
5790 (order): Removed.
5791 (as*Buffer): Removed.
5792 (get*): Removed.
5793 (put*): Removed.
5794 * java/nio/LongBuffer.java
5795 (LongBuffer): Implements Comparable.
5796 (endian): Removed.
5797 (array_offset): New member variable.
5798 (LongBuffer): New constuctor.
5799 (get): May not be final.
5800 (put): May not be final.
5801 (arrayOffset): Implemented.
5802 (order): Made abstract.
5803 (order): Removed.
5804 (as*Buffer): Removed.
5805 (get*): Removed.
5806 (put*): Removed.
5807 * java/nio/ShortBuffer.java
5808 (ShortBuffer): Implements Comparable.
5809 (endian): Removed.
5810 (array_offset): New member variable.
5811 (ShortBuffer): 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
5821 2003-02-11 Michael Koch <konqueror@gmx.de>
5822
5823 * java/nio/channels/SelectionKey.java
5824 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5825 values.
5826
5827 2003-02-11 Michael Koch <konqueror@gmx.de>
5828
5829 * java/nio/channels/DatagramChannel.java
5830 (write): Throws IOException.
5831 (connect): Throws IOException.
5832 (disconnect): Throws IOException.
5833 (read): Throws IOException.
5834 (receive): Throws IOException.
5835 (send): Throws IOException.
5836 * java/nio/channels/Pipe.java
5837 (open): Throws IOException.
5838 * java/nio/channels/SelectableChannel.java
5839 (configureBlocking): Throws IOException.
5840 * java/nio/channels/ServerSocketChannel.java
5841 (accept): Throws IOException.
5842 * java/nio/channels/SocketChannel.java
5843 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5844 GatheringByteChannel.
5845 (read): Throws IOException.
5846 (write): Throws IOException.
5847 (finishConnect): Throws IOException.
5848 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5849 (end): Throws AsynchronousCloseException.
5850 * java/nio/channels/spi/AbstractSelectableChannel.java
5851 (configureBlocking): Throws IOException.
5852 (implCloseChannel): Throws IOException.
5853 (implCloseSelectableChannel): Throws IOException.
5854 (implConfigureBlocking): Throws IOException.
5855 * java/nio/channels/spi/SelectorProvider.java
5856 (openDatagramChannel): Throws IOException.
5857 (openPipe): Throws IOException.
5858 (openSelector): Throws IOException.
5859 (openServerSocketChannel): Throws IOException.
5860 (openSocketChannel): Throws IOException.
5861
5862 2003-02-11 Michael Koch <konqueror@gmx.de>
5863
5864 * gnu/java/nio/FileLockImpl.java,
5865 java/nio/channels/FileLock.java: New files.
5866
5867 2003-02-11 Michael Koch <konqueror@gmx.de>
5868
5869 * java/nio/charset/IllegalCharsetNameException.java
5870 (serialVersionUID): New member variable.
5871 (charsetName): New member variable.
5872 (IllegalCharsetException): New implementation.
5873 (getCharsetName): New implementation.
5874 * java/nio/charset/UnsupportedCharsetException.java
5875 (serialVersionUID): New member variable.
5876 (charsetName): New member variable.
5877 (UnsupportedCharsetException): New implementation.
5878 (getCharsetName): New implementation.
5879
5880 2003-02-10 Tom Tromey <tromey@redhat.com>
5881
5882 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5883 (ex): Renamed from sqlException.
5884
5885 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5886
5887 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5888 method used to ensure seeding has occurred and that a specific
5889 seed can be set and used.
5890
5891 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5892
5893 * java/lang/Win32Process.java (destroy): Declare as native.
5894 (hasExited): New native method.
5895 (exitValue): Define.
5896 (getErrorStream): Likewise.
5897 (getInputStream): Likewise.
5898 (getOutputStream): Likewise.
5899 (waitFor): Declare as native.
5900 (startProcess): New native method.
5901 (cleanup): Likewise.
5902 (ConcreteProcess): Define.
5903 (outputStream, inputStream, errorStream): New members.
5904 (procHandle, exitCode): Likewise.
5905
5906 * java/lang/natWin32Process.cc
5907 (java::lang::ConcreteProcess::cleanup): Define.
5908 (java::lang::ConcreteProcess::destroy): Likewise.
5909 (java::lang::ConcreteProcess::hasExited): Likewise.
5910 (java::lang::ConcreteProcess::waitFor): Likewise.
5911 (new_string): Likewise.
5912 (java::lang::ConcreteProcess::startProcess): Likewise.
5913
5914 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5915
5916 * java/math/BigInteger.java:
5917 Updated notice to include years 2002 and 3.
5918 Added 2 private (int) arrays with values from the HAC (Handbook of
5919 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5920 and t[] that contains nbr. of tests --used in isProbablePrime().
5921
5922 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5923
5924 * java/math/BigInteger.java (make(int[],int), add(int,int),
5925 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5926 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5927 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5928 make(long).
5929
5930 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5931 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5932 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5933 BIs and returns void.
5934 (modInverse(BI)): Use new signatures of euclidInv().
5935
5936 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5937 static small primes instead of remainder().
5938 Use pre-computed max nbr of trials based on bitlength of BI to test.
5939 Use pre-computed small primes for the trial tests instead of random
5940 numbers.
5941
5942 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5943 not used.
5944
5945 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5946 invoacation of MPN.chars_per_word(). not used.
5947
5948 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5949 local var and used where needed.
5950
5951 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5952 Combined declaration with initialisation of locals.
5953 Removed unused var.
5954
5955 * java/math/BigInteger.java: Style changes
5956 (pow(int)): Removed 'else' keyword.
5957 (toString(int)): idem.
5958 (doubleValue()): idem.
5959 (bitLength()): idem.
5960 (equals(Object)): Use static methods name in same class w/o prepending
5961 class name.
5962 (doubleValue()): idem.
5963 (setNegative(BI)): idem.
5964 (negate()): idem.
5965 (and(BI,int)): idem.
5966 (and(BI)): idem.
5967 (gcd(BI)): idem.
5968 (byteArrayToIntArray()): Removed casting to (int). this is
5969 std. behaviour.
5970 (canonicalize()): idem.
5971 (alloc(int)): Always instantiate a new BI.
5972
5973 2003-02-10 Tom Tromey <tromey@redhat.com>
5974
5975 * java/sql/Timestamp.java (compareTo(Object)): New method.
5976 (compareTo(Timestamp)): Likewise.
5977 (serialVersionUID): Updated.
5978
5979 2003-02-07 Mark Wielaard <mark@klomp.org>
5980
5981 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5982 when verify is true.
5983 (JarFile(File, boolean)): Likewise.
5984 (manifestRead): Set manifestRead field correctly.
5985
5986 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5987
5988 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5989 tests; see patch #1016 on Savannah.
5990
5991 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5992
5993 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5994 (toString): do not return Strings starting with . and - erroneously.
5995 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5996 DiagBigDecimal.
5997
5998 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5999
6000 * java/beans/PropertyDescriptor.java
6001 (PropertyDescriptor(String, Class)): Sanity check getter and setter
6002 methods.
6003 (PropertyDescriptor(String, Class, String, String)): Likewise.
6004 (PropertyDescriptor(String, Method, Method): Factor out getter and
6005 setter method sanity checks into new method.
6006 (findMethods): Don't do parameter sanity checking of get method here.
6007 (checkMethods): New method.
6008
6009 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6010
6011 * java/beans/PropertyDescriptor.java: Reformat.
6012
6013 2003-02-04 Tom Tromey <tromey@redhat.com>
6014
6015 * java/io/PipedOutputStream.java (flush): Declare as throwing
6016 IOException.
6017 (close): Likewise.
6018 * java/io/PipedWriter.java (close): Declare as throwing
6019 IOException.
6020 * java/io/StringWriter.java (close): Declare as throwing
6021 IOException.
6022
6023 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6024
6025 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6026 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6027 could also have been exported as "JNI_OnLoad@8" (MinGW) or
6028 "_JNI_OnLoad@8" (MSVC).
6029
6030 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6031
6032 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6033 convention on Win32 to invoke native JNI methods.
6034
6035 2003-02-03 Andrew Haley <aph@redhat.com>
6036
6037 * configure.host (x86_64): Enable interpreter.
6038
6039 2003-02-03 Andrew Haley <aph@redhat.com>
6040
6041 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6042 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6043 * configure.in (BACKTRACESPEC): New.
6044 * configure: Regenerate.
6045
6046 2003-02-02 Tom Tromey <tromey@redhat.com>
6047
6048 * configure: Rebuilt.
6049 * configure.in (TOOLKIT) [xlib]: Set correctly.
6050
6051 * Makefile.in: Rebuilt.
6052 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6053 libstdc++.
6054
6055 2003-01-31 Mark WIelaard <mark@klomp.org>
6056
6057 * Makefile.in: Rebuilt.
6058 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6059
6060 2003-01-31 Tom Tromey <tromey@redhat.com>
6061
6062 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6063 cast to element type.
6064 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6065 (_Jv_JNI_GetObjectArrayElement): Likewise.
6066
6067 * Makefile.in: Rebuilt.
6068 * Makefile.am (cond_x_ltlibrary): Renamed library to
6069 lib-gnu-awt-xlib.la.
6070 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6071 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6072 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6073 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6074 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6075 (lib_gnu_awt_xlib_la_LINK): Likewise.
6076 (install-exec-hook): Removed.
6077 (lib-gnu-awt-xlib.la): Renamed.
6078
6079 2003-01-31 Tom Tromey <tromey@redhat.com>
6080
6081 * aclocal.m4, configure, include/config.h.in: Rebuilt.
6082 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6083 aclocal.m4 and lost in some merge.
6084
6085 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6086 Don't try to find graphics configuration.
6087 * java/awt/Toolkit.java (default_toolkit_name): Use new
6088 Configuration entry.
6089 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6090 New global.
6091 * configure: Rebuilt.
6092 * configure.in (TOOLKIT): New subst.
6093 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6094 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6095 directory. Make output directories for .c files.
6096 * Makefile.in: Rebuilt.
6097 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6098 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6099 (all_java_source_files): Added new sources.
6100 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6101 (gtk_c_files): New macro.
6102 (gtk_c_source_files): New macro.
6103 (cond_gtk_ltlibrary): New macro.
6104 ($(gtk_c_files)): New target.
6105 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6106 (gtk_awt_peer_sources): New macro.
6107 (gtk_c_headers): New macro.
6108 ($(gtk_c_headers)): New target.
6109 (ACLOCAL_AMFLAGS): New macro.
6110 * gtk.m4, glib.m4, libart.m4: New files.
6111 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6112 gnu/java/awt/peer/gtk/GdkGraphics.java,
6113 gnu/java/awt/peer/gtk/GtkArg.java,
6114 gnu/java/awt/peer/gtk/GtkArgList.java,
6115 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6116 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6117 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6118 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6119 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6120 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6121 gnu/java/awt/peer/gtk/GtkClipboard.java,
6122 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6123 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6124 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6125 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6126 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6127 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6128 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6129 gnu/java/awt/peer/gtk/GtkImage.java,
6130 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6131 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6132 gnu/java/awt/peer/gtk/GtkListPeer.java,
6133 gnu/java/awt/peer/gtk/GtkMainThread.java,
6134 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6135 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6136 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6137 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6138 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6139 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6140 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6141 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6142 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6143 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6144 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6145 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6146 gnu/java/awt/peer/gtk/GtkToolkit.java,
6147 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6148 gnu/java/awt/peer/gtk/TestAWT.java,
6149 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6151 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6152 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6153 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6154 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6155 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6156 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6157 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6158 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6159 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6160 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6161 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6162 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6163 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6164 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6165 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6166 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6167 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6168 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6169 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6170 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6171 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6172 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6173 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6174 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6175 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6176 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6177 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6178 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6179 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6180 jni/classpath/native_state.c, jni/classpath/native_state.h,
6181 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6182
6183 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6184
6185 * java/util/Properties.java (load): Ignore backslash before EOF.
6186
6187 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6188
6189 * java/lang/natClass.cc (initializeClass): Check tables when
6190 (state == JV_STATE_IN_PROGRESS).
6191 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6192 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6193 interpreted classes.
6194 (linkClass0): Use _Jv_WaitForState.
6195
6196 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6197
6198 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6199 object when finished.
6200
6201 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6202
6203 * libjava/configure.host: Disable can_unwind_signal on darwin.
6204
6205 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6206
6207 Fixes PR java/9254:
6208 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6209 additionally containing id of the owner thread as well as
6210 the number of nested times the thread has acquired the mutex.
6211 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6212 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6213 (_Jv_MutexUnlock): Check if really the owner thread, reset
6214 owner thread id to 0 before leaving, if leaving for the last
6215 time.
6216 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6217 refcount.
6218 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6219 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6220 the passed mutex.
6221 Pass handle of the broadcast event, instead of a pointer to it
6222 in Win32 ResetEvent( ) call.
6223 Remove incorrect return values.
6224 (_Jv_CondDestroy): Close both event handles and delete
6225 critical section.
6226 (_Jv_CondNotify): Check if really the owner thread.
6227 (_Jv_CondNotifyAll): Check if really the owner thread.
6228 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6229 (really_start): Use SetEvent( ) to signal daemon_cond.
6230 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6231 WaitForSingleObject( ) instead to wait for daemon_cond to be
6232 signalled.
6233
6234 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6235
6236 * configure.in: Specifically define HAVE_BACKTRACE if building
6237 for MinGW.
6238 * include/win32.h: Remove HAVE_BACKTRACE definition.
6239 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6240 * configure: Rebuilt.
6241
6242 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6243
6244 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6245 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6246 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6247 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6248 * Makefile.in, configure: Rebuilt.
6249
6250 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6251
6252 Fixes PR java/9253:
6253 * java/io/natFileWin32.cc (performList): Append only "*.*"
6254 if the canonical file path already has a "\" at the end.
6255
6256 2003-01-24 Tom Tromey <tromey@redhat.com>
6257
6258 * defineclass.cc (handleMethodsEnd): Precompute code for static
6259 method.
6260 (handleCodeAttribute): Likewise.
6261 * resolve.cc (ncode): Use run_class for unsynchronized static
6262 methods.
6263 * include/java-interp.h (class _Jv_InterpMethod): Declare
6264 run_class.
6265 * interpret.cc (run_synch_class): Initialize class.
6266 (run) [insn_invokestatic]: Don't initialize class.
6267 [insn_anewarray]: Likewise.
6268 [insn_multianewarray]: Likewise.
6269 (run_class): New function.
6270
6271 2003-01-24 Tom Tromey <tromey@redhat.com>
6272
6273 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6274 comment.
6275
6276 2003-01-22 Andrew Haley <aph@redhat.com>
6277
6278 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6279 * configure.host (CHECKREFSPEC): Define for x86_64.
6280
6281 2003-01-21 Tom Tromey <tromey@redhat.com>
6282
6283 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6284 search at 2, not 3.
6285
6286 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6287
6288 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6289 looking at any characters.
6290 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6291 be used.
6292 (isAbsolute): Check path's length as well.
6293
6294 2003-01-17 Mark Wielaard <mark@klomp.org>
6295
6296 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6297 (nat_source_files): Add natVMObjectStreamClass.cc.
6298 * Makefile.in: Regenerated.
6299 * gcj/javaprims.h (namespace java): Regenerated.
6300 * java/io/ObjectStreamClass.java (getClassUID): Call
6301 VMObjectStreamClass.hasClassInitializer().
6302 (hasClassInitializer): Removed.
6303 * java/io/VMObjectStreamClass.java: New class.
6304 * java/io/natVMObjectStreamClass.cc: New file.
6305 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6306
6307 2003-01-16 Mark Wielaard <mark@klomp.org>
6308
6309 * java/net/SocketImpl.java (toString): Don't explicitly call
6310 toString() on possible null address.
6311
6312 2003-01-16 Michael Koch <konqueror@gmx.de>
6313
6314 * java/net/MulticastSocket.java
6315 (setInterface): Reindented.
6316
6317 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6318
6319 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6320 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6321 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6322 translateY arguments. Implement.
6323 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6324 down translation arguments.
6325 (drawPolyline, drawPolygon): Fix incorrect tests.
6326 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6327 translateX and translateY arguments.
6328
6329 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6330
6331 * Makefile.in: Rebuilt.
6332 * Makefile.am (xlib_includes): New macro.
6333 (INCLUDES): Use it.
6334
6335 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6336
6337 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6338 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6339 16-bit display mode.
6340
6341 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6342
6343 * java/awt/CardLayout.java (show): Rewrote.
6344 (gotoComponent): Removed `target' argument. Simplified code.
6345 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6346 Changed all callers.
6347 (NONE): Removed.
6348
6349 2003-01-14 Michael Koch <konqueror@gmx.de>
6350
6351 * java/net/InetSocketAddress.java
6352 (serialVersionUID): New member variable.
6353 * java/net/NetPermission.java
6354 (NetPermission): Dont implement java.io.Serialization directly.
6355 * java/net/SocketAddress.java:
6356 (serialVersionUID): Documentation added.
6357
6358 2003-01-14 Michael Koch <konqueror@gmx.de>
6359
6360 * java/awt/Label.java
6361 (Label): Implements javax.accessibility.Accessible;
6362 * java/awt/List.java
6363 (List): Implements javax.accessibility.Accessible;
6364 * java/awt/ScrollPane.java
6365 (ScrollPane): Implements javax.accessibility.Accessible;
6366 * java/awt/Scrollbar.java
6367 (Scrollbar): Implements javax.accessibility.Accessible;
6368 * java/awt/TextComponent.java
6369 (setCaretPosition): Throw exception, documentation added.
6370 * java/awt/Toolkit.java:
6371 Added some newlines in method documentations.
6372 (createButton): Exception documentation added.
6373 (createTextField): Exception documentation added.
6374 (createLabel): Exception documentation added.
6375 (createList): Exception documentation added.
6376 (createCheckbox): Exception documentation added.
6377 (createScrollbar): Exception documentation added.
6378 (createScrollPane): Exception documentation added.
6379 (createTextArea): Exception documentation added.
6380 (createChoice): Exception documentation added.
6381 (createFrame): Exception documentation added.
6382 (createWindow): Exception documentation added.
6383 (createDialog): Exception documentation added.
6384 (createMenuBar): Exception documentation added.
6385 (createMenu): Exception documentation added.
6386 (createMenuItem): Exception documentation added.
6387 (createFileDialog): Exception documentation added.
6388 (createCheckboxMenuItem): Exception documentation added.
6389 (loadSystemColors): Exception documentation added.
6390 (setDynamicLayout): Exception documentation added.
6391 (isDynamicLayoutSet): Exception documentation added.
6392 (isDynamicLayoutActive): Exception documentation added.
6393 (getScreenSize): Exception documentation added.
6394 (getScreenResolution): Exception documentation added.
6395 (getScreenInsets): Exception documentation added.
6396 (getColorModel): Exception documentation added.
6397 (getSystemClipboard): Exception documentation added.
6398 (getSystemSelection): Exception documentation added.
6399 (getMenuShortcutKeyMask): Exception documentation added.
6400 (getSystemEventQueue): Exception documentation added.
6401 * java/awt/Window.java:
6402 Reindented some code.
6403 (Window): Centralized implementation, documentation added.
6404 (finalize): Documentation added.
6405 (hide): Fixed typo in comment.
6406 (getWindowListeners): Documentation added.
6407 * java/awt/color/ColorSpace.java
6408 (toRGB): Documentation added.
6409 * java/awt/color/ICC_ColorSpace.java
6410 (ICC_ColorSpace): Documentation added.
6411 (toRGB): Throw exception, documentation added.
6412 (fromRGB): Throw exception, documentation added.
6413 (toCIEXYZ): Documentation added.
6414 (fromCIEXYZ): Documentation added.
6415 (getMinValue): Documentation added.
6416 (getMaxValue): Documentation added.
6417 * java/awt/geom/Dimension2D.java
6418 (clone): Documentation added.
6419 * java/awt/geom/GeneralPath.java
6420 (clone): Documentation added.
6421 * java/awt/geom/Line2D.java
6422 (clone): Documentation added.
6423 * java/awt/geom/QuadCurve2D.java
6424 (clone): Documentation added.
6425 * java/awt/image/ColorModel.java
6426 (ColorModel): Throw exception, documentation added.
6427 * java/awt/image/ImageFilter.java
6428 (clone): Doesnt throw CloneNotSupportedException.
6429
6430 2003-01-14 Andrew Haley <aph@redhat.com>
6431
6432 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6433 in a try block.
6434
6435 2003-01-10 Andrew Haley <aph@redhat.com>
6436
6437 * include/dwarf2-signal.h: Remove x86_64.
6438 * configure.host (x86_64 DIVIDESPEC): Remove.
6439 * include/x86_64-signal.h: New file.
6440 * configure.in: Regenerate.
6441
6442 2003-01-10 Michael Koch <konqueror@gmx.de>
6443
6444 * java/net/DatagramSocket.java
6445 (ch): Description added.
6446 (remotePort): Initialize with -1.
6447 (connect): Doesnt throws SocketException.
6448 * java/net/MulticastSocket.java
6449 (setInterface): Merge with Classpath.
6450 * java/net/ServerSocket.java
6451 (closed): New member variable.
6452 (bind): Check if socket is closed.
6453 (close): Close an associated channel too, set new value to closed.
6454 (isBound): Reindented.
6455 (isClosed): Implemented.
6456 * java/net/Socket.java
6457 (closed): New member variable.
6458 (bind): Check if socket is closed.
6459 (connect): Check if socket is closed.
6460 (close): Close an associated channel too, set new value to closed.
6461 (isClosed): Implemented.
6462
6463 2003-01-10 Michael Koch <konqueror@gmx.de>
6464
6465 * java/awt/DisplayMode.java
6466 (equals): Fixed argument type and implementation.
6467
6468 2003-01-07 Tom Tromey <tromey@redhat.com>
6469
6470 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6471 JV_HASH_SYNCHRONIZATION.
6472 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6473 JV_HASH_SYNCHRONIZATION.
6474
6475 2003-01-07 Michael Koch <konqueror@gmx.de>
6476
6477 * java/net/DatagramSocket.java:
6478 Added classpath license info.
6479 (DatagramSocket): Merged description with classpath.
6480 (close): Merged description with classpath.
6481 (getChannel): Merged description with classpath.
6482 (getInetAddress): Merged description with classpath.
6483 (getPort): Merged description with classpath.
6484 (getLocalAddress): Merged description with classpath.
6485 (getLocalPort): Merged description with classpath.
6486 (getSoTimeout): Merged description with classpath.
6487 (setSoTimeout): Merged description with classpath.
6488 (getSendBufferSize): Merged description with classpath.
6489 (setSendBufferSize): Merged description with classpath.
6490 (getReceiveBufferSize): Merged description with classpath.
6491 (setReceiveBufferSize): Merged description with classpath.
6492
6493 2003-01-04 Tom Tromey <tromey@redhat.com>
6494
6495 * java/awt/List.java: Merged with Classpath.
6496
6497 2003-01-03 Mark Wielaard <mark@klomp.org>
6498
6499 * java/io/FileDescriptor.java (position): New private field.
6500 * java/io/natFileDescriptorPosix.cc (write): Up position.
6501 (setLength): Use and set position.
6502 (seek): Set position.
6503 (getFilePointer): Return position.
6504 (read): Up position.
6505
6506 2003-01-03 Mark Wielaard <mark@klomp.org>
6507
6508 Merge with Classpath:
6509 * java/io/ObjectStreamClass.java (lookup): Split method and call
6510 lookupForClassObject().
6511 (lookupForClassObject): New method.
6512 (isProxyClass): New field.
6513 (setClass): Set isProxyClass, add object to classLookupTable, set
6514 superClass and calculateOffsets.
6515 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6516 and not a proxy class.
6517 (setFields): Set accessible true for serialPersistentFields.
6518 (getClassUID): Same for suid. And check if suid is of type long.
6519 (hasClassInitializer): Don't throw NoSuchMethodError.
6520
6521 2003-01-03 Mark Wielaard <mark@klomp.org>
6522
6523 * java/io/FileInputStream.java (finalize): Don't explicitly
6524 finalize FileDescriptor.
6525
6526 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6527
6528 * configure.host (sparc*-*): Enable bytecode interpreter.
6529
6530 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6531
6532 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6533 Don't throw RemoteException.
6534 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6535 throw RemoteException.
6536
6537 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6538
6539 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6540 proxyHost): New static fields.
6541 (<clinit>): Initialize new fields.
6542 (connect): Use proxy if necessary.
6543 (usingProxy): Implement.
6544
6545 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6546
6547 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6548 (TreeIterator.remove): Prefer IllegalStateException over
6549 ConcurrentModificationException, to match Sun.
6550
6551 2002-12-22 Anthony Green <green@redhat.com>
6552
6553 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6554
6555 2003-01-02 Mark Wielaard <mark@klomp.org>
6556
6557 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6558 public.
6559 (HTTP_USE_PROXY): Add field.
6560 (getResponseVals): Only set responseCode when not yet explicitly
6561 set by subclass.
6562
6563 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6564 Mark Wielaard <mark@klomp.org>
6565
6566 * java/util/zip/ZipFile.java (entries): Now HashMap.
6567 (readLeShort(DataInput, byte[])): Read from given byte array.
6568 (readLeInt(DataInput, byte[]): Likewise.
6569 (readLeShort(byte[] b, int off)): New method.
6570 (readLeInt(byte[] b, int off)): Likewise.
6571 (readEntries): Use byte arrays to read info in bigger chunks.
6572 (getEntries): Return HashMap.
6573 (getEntry): Use HashMap.
6574 (locBuf): New private field.
6575 (checkLocalHeader): Use locBuf to read info in one chunk.
6576 (getInputStream): Use entries HashMap, wrap PartialInputStream
6577 in BufferedInputStream.
6578 (ZipEntryEnumeration): Use HashMap and Interator.
6579
6580 2003-01-02 Mark Wielaard <mark@klomp.org>
6581 Jeroen Frijters <jeroen@sumatra.nl>
6582
6583 * java/net/URLClassLoader.java (Resource.getCodeSource):
6584 Fix check certs == null.
6585 (getCanonicalFileURL): Removed method.
6586 (JarURLLoader): Don't call removed method.
6587 (FileURLLoader): Likewise.
6588 (FileURLLoader.getResource): Don't canonicalize file name.
6589
6590 2003-01-01 Tom Tromey <tromey@redhat.com>
6591
6592 * Makefile.in: Rebuilt.
6593 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6594 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6595 java/awt/BufferCapabilities.java, java/awt/Button.java,
6596 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6597 java/awt/Container.java, java/awt/Cursor.java,
6598 java/awt/EventQueue.java, java/awt/FileDialog.java,
6599 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6600 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6601 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6602 java/awt/Scrollbar.java, java/awt/TextArea.java,
6603 java/awt/TextField.java, java/awt/color/CMMException.java,
6604 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6605 java/awt/color/ProfileDataException.java,
6606 java/awt/datatransfer/Clipboard.java,
6607 java/awt/datatransfer/DataFlavor.java,
6608 java/awt/datatransfer/FlavorMap.java,
6609 java/awt/datatransfer/SystemFlavorMap.java,
6610 java/awt/dnd/DragGestureEvent.java,
6611 java/awt/dnd/DragGestureRecognizer.java,
6612 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6613 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6614 java/awt/im/InputMethodHighlight.java,
6615 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6616 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6617
6618 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6619 `op' to BufferedImageOp.
6620
6621 2002-12-31 Tom Tromey <tromey@redhat.com>
6622
6623 Fix for PR libgcj/7416:
6624 * javax/naming/InitialContext.java (init): Use
6625 gnu.classpath.home.url.
6626 * java/security/Security.java: Use new properties.
6627 (loadProviders): Accept base url; use it.
6628 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6629 gnu.classpath.home.url.
6630 (gnu.classpath.home.url): Define.
6631 (gnu.classpath.vm.shortname): Likewise.
6632
6633 2002-12-31 Tom Tromey <tromey@redhat.com>
6634 Ranjit Mathew <rmathew@hotmail.com>
6635
6636 Fix for PR libgcj/8997:
6637 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6638 Include platform.h.
6639 * include/posix.h (_Jv_platform_usleep): New function.
6640 * include/win32.h (_Jv_platform_usleep): New function.
6641
6642 2002-12-29 Tom Tromey <tromey@redhat.com>
6643
6644 * gcj/javaprims.h: Updated.
6645 * scripts/classes.pl (scan): Removed stray semicolon.
6646
6647 2002-12-30 Mark Wielaard <mark@klomp.org>
6648
6649 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6650 if zero or smaller.
6651
6652 2002-12-30 Mark Wielaard <mark@klomp.org>
6653
6654 * java/util/Properties (formatForOutput): Don't fall through to
6655 default case after escaping character.
6656
6657 2002-12-30 Mark Wielaard <mark@klomp.org>
6658
6659 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6660 against count.
6661
6662 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6663
6664 * boehm.cc: Remove stray semicolon.
6665 * interpret.cc: Likewise.
6666 * prims.cc: Likewise.
6667 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6668 earlier to ensure default arguments are processed.
6669 * gcj/array.h (JArray): Add forward declaration.
6670 (elements): Likewise.
6671 * gcj/javaprim.h: Remove stray semicolons.
6672 * include/bohm-gc.h: Likewise.
6673 * include/jni.h: Likewise.
6674 * include/jvm.h: Likewise.
6675 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6676
6677 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6678
6679 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6680 of catch_type.
6681 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6682 idt tables after initializing superclass.
6683 * java/lang/natClassLoader.cc (uaddr): New typedef.
6684 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6685 if they are constant pool indicies. Don't link vtable, otable yet.
6686
6687 2002-12-21 Anthony Green <green@redhat.com>
6688
6689 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6690 libraries.
6691 * Makefile.in: Rebuilt.
6692
6693 2002-12-19 Anthony Green <green@redhat.com>
6694
6695 * Makefile.am (ordinary_java_source_files): Add
6696 org/xml/sax/helpers/NewInstance.java.
6697 * Makefile.in: Rebuilt.
6698 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6699 org/xml/sax/helpers/package.html: New files.
6700 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6701 http://www.saxproject.org.
6702
6703 2002-12-19 Andrew Haley <aph@redhat.com>
6704
6705 * java/util/natResourceBundle.cc: Include
6706 ArrayIndexOutOfBoundsException.h.
6707 (getCallingClassLoader): Don't put upper bound on stack search.
6708 Catch ArrayIndexOutOfBoundsException.
6709
6710 2002-12-19 Tom Tromey <tromey@redhat.com>
6711
6712 * libtool-version: Increased `current'.
6713
6714 2002-12-19 Tom Tromey <tromey@redhat.com>
6715
6716 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6717 comment.
6718 * java/lang/ClassLoader.java (defineClass): Use chained
6719 exception when rethrowing.
6720 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6721 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6722 constants.
6723 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6724 (_Jv_PrepareClass): Use it.
6725 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6726 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6727 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6728 (Class): _Jv_PrepareMissingMethods now friend.
6729 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6730 Record `NULL' for system class loader.
6731 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6732 system class loader.
6733 (_Jv_FindClassInCache): Likewise.
6734 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6735 (_Jv_FindClass): Special case system class loader.
6736 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6737 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6738 vtable slots.
6739 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6740 in a final class.
6741 (_getDeclaredMethod): Don't return synthetic methods.
6742 (getDeclaredMethods): Likewise.
6743 (_getMethod): Likewise.
6744 (_getMethods): Likewise.
6745
6746 2002-12-18 Raif Naffah <raif@fl.net.au>
6747
6748 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6749 canonical form after divide().
6750 (modInverse): Likewise.
6751
6752 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6753 Mark Wielaard <mark@klomp.org>
6754
6755 * java/security/SecurityRandom (digest): Removed field.
6756 (SecureRandom): Check all providers for case-insensitive SecureRandom
6757 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6758 if necessary.
6759 (getInstance(String,Provider,boolean): New method.
6760 (getInstance(String)): Use new method.
6761 (getInstance(String,String)): Likewise.
6762 (getInstance(String,Provider)): Likewise.
6763
6764 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6765
6766 * java/security/Security.java (loadProviders): Increment i only once.
6767
6768 2002-12-12 Mark Wielaard <mark@klomp.org>
6769
6770 * java/lang/ClassLoader.java (resolveClass0): Transform
6771 ClassNotFoundException to NoClassDefFoundError. Transform all other
6772 throwables to LinkageError.
6773
6774 2002-12-11 Tom Tromey <tromey@redhat.com>
6775
6776 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6777
6778 * java/lang/ClassLoader.java (loadedClasses): New field.
6779 (defineClass): Fixed indentation. Put new class in
6780 loadedClasses.
6781 (findLoadedClass): Implement here.
6782 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6783
6784 2002-12-10 Tom Tromey <tromey@redhat.com>
6785
6786 * Makefile.in: Rebuilt.
6787 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6788 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6789 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6790 * java/lang/natClassLoader.cc
6791 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6792
6793 2002-12-10 Mark Wielaard <mark@klomp.org>
6794 Tom Tromey <tromey@redhat.com>
6795
6796 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6797 (JarURLLoader): Use it.
6798 (FileURLLoader): Likewise.
6799 (JarURLResource.getURL): Use chained exception.
6800 (FileResource.getURL): Likewise.
6801 (FileURLLoader.getResource): Use canonical file name.
6802 (addURL): Indentation fix.
6803
6804 2002-12-10 Tom Tromey <tromey@redhat.com>
6805
6806 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6807 From Laurent Bardet <l.bardet@magic.fr>.
6808
6809 2002-12-09 Tom Tromey <tromey@redhat.com>
6810
6811 * include/win32.h (_Jv_platform_solib_prefix): New define.
6812 (_Jv_platform_solib_suffix): Likewise.
6813 * include/posix.h (_Jv_platform_solib_prefix): New define.
6814 (_Jv_platform_solib_suffix): Likewise.
6815 * java/lang/natRuntime.cc: Include StackTrace.h.
6816 (_load): Use findLibrary and new platform defines.
6817 (nativeGetLibname): Use new platform defines.
6818
6819 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6820 `t' won't be null.
6821
6822 2002-12-08 Mark Wielaard <mark@klomp.org>
6823
6824 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6825 cache remote jar files.
6826 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6827 add File.separator to URL when it is a directory.
6828 * java/lang/ClassLoader.java: Add Classpath javadoc.
6829 (parent): final.
6830 (getParent): Add (disabled) security check.
6831 (findLibrary): New default method.
6832 * java/net/JarURLConnection.java (getManifest): Implement.
6833 (getInputStream): Only create InputStream when entry exists.
6834 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6835 when they exist.
6836 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6837
6838 2002-12-08 Mark Wielaard <mark@klomp.org>
6839
6840 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6841 (lastDefaultLocale): New field.
6842 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6843 resourceBundleCache.
6844
6845 2002-12-06 Mark Wielaard <mark@klomp.org>
6846
6847 * java/net/InetAddress.java (toString): Use hostname when not null,
6848 don't do an explicit reverse getHostName() lookup.
6849 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6850 NullPointerException.
6851
6852 2002-12-06 Tom Tromey <tromey@redhat.com>
6853
6854 * include/java-interp.h (class _Jv_InterpMethod): Added
6855 JV_MARKOBJ_DECL.
6856 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6857 mark `prepared' field of interpreted method.
6858 * interpret.cc (compile): Use _Jv_AllocBytes.
6859
6860 2002-12-05 Andrew Haley <aph@redhat.com>
6861
6862 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6863 #ifdef (HAVE_BACKTRACE) around the whole function body.
6864
6865 2002-12-05 Tom Tromey <tromey@redhat.com>
6866
6867 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6868 * resolve.cc: Don't include AbstractMethodError.h.
6869 (_Jv_abstractMethodError): Removed.
6870 * defineclass.cc (handleMethodsBegin): Initialize method index to
6871 -1.
6872 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6873 method index for "new" final method.
6874 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6875 isVirtualMethod. Added `flags' argument.
6876 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6877 class.
6878
6879 2002-12-04 Tom Tromey <tromey@redhat.com>
6880
6881 * java/net/SocketPermission.java (hashCode): Rewrote.
6882
6883 2002-12-04 Tom Tromey <tromey@redhat.com>
6884
6885 * Makefile.in: Rebuilt.
6886 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6887 natResourceBundle.
6888 * java/util/ResourceBundle.java (Security): Removed.
6889 (getCallingClassLoader): Now native.
6890 * java/util/natResourceBundle.cc: New file.
6891 * java/lang/natVMSecurityManager.cc: New file.
6892 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6893
6894 2002-12-03 Mark Wielaard <mark@klomp.org>
6895
6896 * java/util/jar/JarFile.java (manifest): Not final.
6897 (manifestRead): New field.
6898 (JarFile): Don't read Manifest in constructor.
6899 (getManifest): New method.
6900 (JarEnumeration.nextElement): Use new method.
6901 (getEntry): Likewise.
6902 * java/util/zip/ZipFile.java (name): Final.
6903 (raf): Likewsie.
6904 (entries): Change type to Hashtable.
6905 (closed): New field.
6906 (ZipFile): Don't read enties in constructor.
6907 (readEntries): Use Hashtable.
6908 (close): Set new close flag and set entries to null inside
6909 synchronized block.
6910 (entries): Contruct enumeration using new getEntries() method and
6911 entries Hashtable.
6912 (getEntryIndex): Removed.
6913 (getEntries): New method.
6914 (getEntry): Use new getEntries() method and entries Hastable.
6915 (getInputStream): Likewise.
6916 (size): Return getEntries().size().
6917 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6918 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6919 (time): Removed
6920 (dostime): New field.
6921 (zipFileIndex): Removed.
6922 (ZipEntry(ZipEntry)): Copy dostime.
6923 (setDOSTime): Now final and doesn't convert dos time.
6924 (getDOSTime): Likewise.
6925 (setTime): Convert dos time.
6926 (getTime): Likewise.
6927 (getCalendar): New method.
6928 (setExtra): Use setTime().
6929 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6930
6931 2002-12-03 Tom Tromey <tromey@redhat.com>
6932
6933 * java/lang/Character.java (forDigit): Formatting fix.
6934
6935 2002-12-03 Raif Naffah <raif@fl.net.au>
6936
6937 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6938 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6939 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6940
6941 2002-12-03 Andrew Haley <aph@redhat.com>
6942
6943 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6944 _Jv_PushClass.
6945 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6946 (_Jv_PopClass): New.
6947 (_Jv_PushClass): New.
6948 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6949 discover the ClassLoader of our caller.
6950 (_Jv_CheckArrayStore): Don't check that a class is assignment
6951 compatible with Object.
6952 * java/lang/natVMTHrowable.cc: Delete.
6953 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6954 java.lang.VMThrowable.
6955 (StackTrace(), StackTrace(int)): New constructors.
6956 (classAt, methodAt, update, methodAtAddress): New methods.
6957 (map): New field.
6958 * java/lang/VMThrowable.java: Use StackTrace instead of
6959 natVMTHrowable.
6960 * java/lang/Class.h (getClassLoaderInternal): New.
6961 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6962 Be friendly with gnu::gcj::runtime::StackTrace.
6963 (Object.chain): New field.
6964 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6965 gnu::gcj::runtime::StackTrace.
6966 * gnu/gcj/runtime/natStackTrace.cc: New file.
6967 * gnu/gcj/runtime/MethodRef.java: New file.
6968 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6969 instead of getClassLoader().
6970 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6971 java::lang::VMThrowable.
6972 * Makefile.am (core_java_source_files): Add MethodRef.java,
6973 StackTrace.java.
6974 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6975 * Makefile.in: Rebuild.
6976
6977 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6978
6979 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6980 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6981 yes also for sh-linux* and sh[34]*-linux*.
6982 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6983 set SIGNAL_HANDLER to use DWARF2 exception for them.
6984 * configure: Regenerate.
6985
6986 2002-12-02 Tom Tromey <tromey@redhat.com>
6987
6988 * jni.cc: Added `name' argument.
6989 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6990 `const char *' argument.
6991 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6992
6993 2002-12-01 Tom Tromey <tromey@redhat.com>
6994
6995 Bug compatibility, for PR libgcj/8738:
6996 * java/io/CharArrayWriter.java (close): Do nothing.
6997 (flush): Likewise.
6998 (reset): Don't touch `closed'.
6999 (write(int)): Don't throw IOException.
7000 (write(char[],int,int)): Likewise.
7001 (write(String,int,int)): Likewise.
7002 (closed): Removed.
7003
7004 2002-12-01 Mark Wielaard <mark@klomp.org>
7005
7006 * java/lang/SecurityManager.java: Remerge comments, indenting and
7007 checkXXX methods with Classpath.
7008
7009 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
7010
7011 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7012 getNormalizedComponents): Fix calculation which was using one too
7013 many bits in the unnormalized format.
7014
7015 2002-11-29 Gary Benson <gbenson@redhat.com>
7016
7017 For PR libgcj/8759:
7018 * java/beans/Introspector.java (flushCaches): New method.
7019 (flushFromCaches): Likewise.
7020
7021 2002-11-29 Michael Koch <konqueror@gmx.de>
7022
7023 * java/nio/channels/DatagramChannel.java
7024 (open): Added exception documentation.
7025 (write): Added exception documentation.
7026 (connect): Added exception documentation.
7027 (disconnect): Added exception documentation.
7028 (isConnected): Added exception documentation.
7029 (read): Added exception documentation.
7030 (receive): Added exception documentation.
7031 (send): Added exception documentation.
7032 (validOps): Added exception documentation.
7033 * java/nio/channels/SocketChannel.java
7034 (open): Added exception documentation.
7035 (read): Added exception documentation.
7036 (write): Added exception documentation.
7037 (connect): Added exception documentation.
7038 (finishConnect): Added exception documentation.
7039
7040 2002-11-29 Michael Koch <konqueror@gmx.de>
7041
7042 * gnu/java/nio/DatagramChannelImpl:
7043 (fd): New member variable to store file descriptor of socket.
7044 * gnu/java/nio/SelectionKeyImpl.java:
7045 (ops): Removed.
7046 (readyOps): New member variable.
7047 (interestOps): New member variable.
7048 (readyOps): Implemented.
7049 (readyOps): New method to set member variable readyOps.
7050 (interestOps): Replaced ops by interestOps.
7051 * gnu/java/nio/SelectorImpl.java:
7052 (SelectorImpl): Initialize key sets.
7053 (select): Call select with -1 instead of Long.MAX_VALUE).
7054 (java_do_select): Make it a native method.
7055 (getFDsAsArray): New helper method.
7056 (select): Remove canceled keys, give only interested file discriptors
7057 to java_do_select, set ready ops.
7058 (add): No need to initialize keys set here.
7059 (add_selected): No need to initialize selected set here.
7060 (deregisterCanceledKeys): New helper method.
7061 (register): Set interest ops, set attachments, added handling of datagram
7062 channels.
7063 * gnu/java/nio/ServerSocketChannelImpl:
7064 (SocketAccept): Renamed from NioSocketAccept.
7065 (implConfigureBlocking): Implemented.
7066 (accept): Use SocketAccept instead of NioSocketAccept.
7067 * gnu/java/nio/SocketChannelImpl:
7068 Reactivate native methods.
7069
7070 2002-11-29 Michael Koch <konqueror@gmx.de>
7071
7072 * gnu/java/nio/natByteBufferImpl.cc,
7073 gnu/java/nio/natCharBufferImpl.cc,
7074 gnu/java/nio/natDoubleBufferImpl.cc,
7075 gnu/java/nio/natFloatBufferImpl.cc,
7076 gnu/java/nio/natIntBufferImpl.cc,
7077 gnu/java/nio/natLongBufferImpl.cc,
7078 gnu/java/nio/natSelectorImpl.cc,
7079 gnu/java/nio/natServerSocketChannelImpl.cc,
7080 gnu/java/nio/natShortBufferImpl.cc,
7081 gnu/java/nio/natSocketChannelImpl.cc:
7082 New files that implement native functionalities.
7083
7084 2002-11-29 Michael Koch <konqueror@gmx.de>
7085
7086 * gnu/java/nio/ByteBufferImpl.java
7087 (ByteBufferImpl): Moved position() after limit.
7088 (nio_*): Use native implementation.
7089 * gnu/java/nio/CharBufferImpl.java:
7090 Reformated.
7091 (endian): New member variable string endianess of buffer.
7092 (CharBufferImpl): Moved position() after limit.
7093 (nio_*): Use native implementation.
7094 (subSequence): Implemented.
7095 * gnu/java/nio/DoubleBufferImpl.java
7096 (DoubleBufferImpl): Moved position() after limit.
7097 (nio_*): Use native implementation.
7098 * gnu/java/nio/FloatBufferImpl.java
7099 Reformated.
7100 (FloatBufferImpl): Moved position() after limit.
7101 (nio_*): Use native implementation.
7102 * gnu/java/nio/IntBufferImpl.java
7103 Added needed imports, Reformated.
7104 (IntBufferImpl): Moved position() after limit.
7105 (nio_*): Use native implementation.
7106 * gnu/java/nio/LongBufferImpl.java
7107 Reformated.
7108 (LongBufferImpl): Moved position() after limit.
7109 (nio_*): Use native implementation.
7110 * gnu/java/nio/ShortBufferImpl.java
7111 Reformated.
7112 (ShortBufferImpl): Moved position() after limit.
7113 (nio_*): Use native implementation.
7114
7115 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7116
7117 * java/util/Locale.java (toString): Improve efficiency if country
7118 and variant are both empty.
7119
7120 2002-11-26 Tom Tromey <tromey@redhat.com>
7121
7122 * verify.cc (pop_init_ref): New method.
7123 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7124 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7125 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7126 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7127 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7128 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7129 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7130 let `this' argument be uninitialized. Don't let `null' be passed
7131 as `this' to construtor.
7132
7133 2002-11-26 Mark Wielaard <mark@klomp.org>
7134
7135 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7136 * javax/transaction/HeuristicMixedException.java: Likewise.
7137 * javax/transaction/HeuristicRollbackException.java: Likewise.
7138 * javax/transaction/InvalidTransactionException.java: Likewise.
7139 * javax/transaction/NotSupportedException.java: Likewise.
7140 * javax/transaction/RollbackException.java: Likewise.
7141 * javax/transaction/Status.java: Likewise.
7142 * javax/transaction/Synchronization.java: Likewise.
7143 * javax/transaction/SystemException.java: Likewise.
7144 * javax/transaction/Transaction.java: Likewise.
7145 * javax/transaction/TransactionManager.java: Likewise.
7146 * javax/transaction/TransactionRequiredException.java: Likewise.
7147 * javax/transaction/TransactionRolledbackException.java: Likewise.
7148 * javax/transaction/UserTransaction.java: Likewise.
7149 * javax/transaction/xa/XAException.java: Likewise.
7150 * javax/transaction/xa/XAResource.java: Likewise.
7151 * javax/transaction/xa/Xid.java: Likewise.
7152
7153 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7154
7155 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7156 define.
7157 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7158 * include/posix.h (socklen_t): Define if not already defined.
7159
7160 2002-11-25 Tom Tromey <tromey@redhat.com>
7161
7162 * verify.cc (type::compatible): Backed out broken change.
7163
7164 * verify.cc (type::compatible): Check initialization status
7165 first.
7166 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7167 Don't use NULLCHECK.
7168
7169 2002-11-23 H.J. Lu <hjl@gnu.org>
7170
7171 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7172 Include ../config/accross.m4.
7173 * aclocal.m4; Rebuild.
7174 * configure: Likewise.
7175
7176 2002-11-23 Mark Wielaard <mark@klomp.org>
7177
7178 * javax/naming/AuthenticationException.java: Update copyright header.
7179 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7180 * javax/naming/Binding.java: Likewise.
7181 * javax/naming/CannotProceedException.java: Likewise.
7182 * javax/naming/CommunicationException.java: Likewise.
7183 * javax/naming/CompositeName.java: Likewise.
7184 * javax/naming/CompoundName.java: Likewise.
7185 * javax/naming/ConfigurationException.java: Likewise.
7186 * javax/naming/Context.java: Likewise.
7187 * javax/naming/ContextNotEmptyException.java: Likewise.
7188 * javax/naming/InitialContext.java: Likewise.
7189 * javax/naming/InsufficientResourcesException.java: Likewise.
7190 * javax/naming/InterruptedNamingException.java: Likewise.
7191 * javax/naming/LimitExceededException.java: Likewise.
7192 * javax/naming/LinkException.java: Likewise.
7193 * javax/naming/LinkLoopException.java: Likewise.
7194 * javax/naming/LinkRef.java: Likewise.
7195 * javax/naming/MalformedLinkException.java: Likewise.
7196 * javax/naming/NameAlreadyBoundException.java: Likewise.
7197 * javax/naming/NameClassPair.java: Likewise.
7198 * javax/naming/NameNotFoundException.java: Likewise.
7199 * javax/naming/NameParser.java: Likewise.
7200 * javax/naming/NamingEnumeration.java: Likewise.
7201 * javax/naming/NamingSecurityException.java: Likewise.
7202 * javax/naming/NoInitialContextException.java: Likewise.
7203 * javax/naming/NoPermissionException.java: Likewise.
7204 * javax/naming/NotContextException.java: Likewise.
7205 * javax/naming/OperationNotSupportedException.java: Likewise.
7206 * javax/naming/PartialResultException.java: Likewise.
7207 * javax/naming/Reference.java: Likewise.
7208 * javax/naming/Referenceable.java: Likewise.
7209 * javax/naming/ReferralException.java: Likewise.
7210 * javax/naming/ServiceUnavailableException.java: Likewise.
7211 * javax/naming/SizeLimitExceededException.java: Likewise.
7212 * javax/naming/TimeLimitExceededException.java: Likewise.
7213 * javax/naming/directory/Attribute.java: Likewise.
7214 * javax/naming/directory/AttributeInUseException.java: Likewise.
7215 * javax/naming/directory/AttributeModificationException.java: Likewise.
7216 * javax/naming/directory/Attributes.java: Likewise.
7217 * javax/naming/directory/BasicAttribute.java: Likewise.
7218 * javax/naming/directory/BasicAttributes.java: Likewise.
7219 * javax/naming/directory/DirContext.java: Likewise.
7220 * javax/naming/directory/InitialDirContext.java: Likewise.
7221 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7222 Likewise.
7223 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7224 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7225 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7226 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7227 * javax/naming/directory/ModificationItem.java: Likewise.
7228 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7229 * javax/naming/directory/SchemaViolationException.java: Likewise.
7230 * javax/naming/directory/SearchControls.java: Likewise.
7231 * javax/naming/directory/SearchResult.java: Likewise.
7232 * javax/naming/event/EventContext.java: Likewise.
7233 * javax/naming/event/EventDirContext.java: Likewise.
7234 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7235 * javax/naming/event/NamingEvent.java: Likewise.
7236 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7237 * javax/naming/event/NamingListener.java: Likewise.
7238 * javax/naming/event/ObjectChangeListener.java: Likewise.
7239 * javax/naming/ldap/Control.java: Likewise.
7240 * javax/naming/ldap/ControlFactory.java: Likewise.
7241 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7242 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7243 * javax/naming/ldap/HasControls.java: Likewise.
7244 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7245 * javax/naming/ldap/LdapContext.java: Likewise.
7246 * javax/naming/ldap/LdapReferralException.java: Likewise.
7247 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7248 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7249 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7250 * javax/naming/spi/DirObjectFactory.java: Likewise.
7251 * javax/naming/spi/DirStateFactory.java: Likewise.
7252 * javax/naming/spi/DirectoryManager.java: Likewise.
7253 * javax/naming/spi/InitialContextFactory.java: Likewise.
7254 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7255 * javax/naming/spi/NamingManager.java: Likewise.
7256 * javax/naming/spi/ObjectFactory.java: Likewise.
7257 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7258 * javax/naming/spi/ResolveResult.java: Likewise.
7259 * javax/naming/spi/Resolver.java: Likewise.
7260 * javax/naming/spi/StateFactory.java: Likewise.
7261
7262 * javax/naming/spi/NamingManager.java (ofb): Package private.
7263
7264 2002-11-21 Mark Wielaard <mark@klomp.org>
7265
7266 * java/net/URL.java: Merge with Classpath (partly).
7267 * java/net/URLStreamHandler: Merge with Classpath.
7268
7269 2002-11-22 Michael Koch <konqueror@gmx.de>
7270
7271 * include/posix.h:
7272 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7273 * include/win32.h:
7274 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7275 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7276
7277 2002-11-21 Michael Koch <konqueror@gmx.de>
7278
7279 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7280 Only the new network functions should be in it.
7281
7282 2002-11-21 Michael Koch <konqueror@gmx.de>
7283
7284 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7285 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7286
7287 2002-11-21 Michael Koch <konqueror@gmx.de>
7288
7289 * java/nio/channels/AsynchronousCloseException.java,
7290 java/nio/channels/CancelledKeyException.java,
7291 java/nio/channels/ClosedByInterruptException.java,
7292 java/nio/channels/ConnectionPendingException.java,
7293 java/nio/channels/FileLockInterruptionException.java,
7294 java/nio/channels/IllegalSelectorException.java,
7295 java/nio/channels/NoConnectionPendingException.java,
7296 java/nio/channels/NonReadableChannelException.java,
7297 java/nio/channels/NonWritableChannelException.java,
7298 java/nio/channels/NotYetBoundException.java,
7299 java/nio/channels/NotYetConnectedException.java,
7300 java/nio/channels/OverlappingFileLockException.java,
7301 java/nio/channels/UnresolvedAddressException.java,
7302 java/nio/channels/UnsupportedAddressTypeException.java:
7303 New files.
7304 * Makefile.am (ordinary_java_source_files): Added new files.
7305 * Makefile.in: Regenerated.
7306
7307 2002-11-21 Michael Koch <konqueror@gmx.de>
7308
7309 * include/posix.h
7310 (_Jv_socket): New method.
7311 (_Jv_connect): New method.
7312 (_Jv_close): New method.
7313 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7314 (_Jv_bind): New method.
7315 (_Jv_listen): New method.
7316 (_Jv_write): New method.
7317 (_Jv_read): New method.
7318 * include/win32.h
7319 (_Jv_socket): New method.
7320 (_Jv_connect): New method.
7321 (_Jv_close): New method.
7322 (_Jv_bind): New method.
7323 (_Jv_listen): New method.
7324 (_Jv_write): New method.
7325 (_Jv_read): New method.
7326 * java/net/natNetworkInterface.cc:
7327 Include platform.h, removed inclusion of socket.h
7328 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7329 ::close() by _Jv_close().
7330 * java/net/natPlainDatagramSocketImpl.cc:
7331 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7332 added some new lines to make code more readable.
7333 (create): Replaced ::socket() by _Jv_socket().
7334 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7335 * java/net/natPlainSocketImpl.cc:
7336 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7337 removed include of socket.h, removed some windows defines
7338 (now in include/win32.h).
7339 (create): Replaced ::socket() by _Jv_socket().
7340 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7341 (write): Replaced ::read by _Jv_write().
7342 (read): Replaced ::read by _Jv_read().
7343
7344 2002-11-20 Michael Koch <konqueror@gmx.de>
7345
7346 * Makefile.am (ordinary_java_source_files):
7347 Added java/nio/channels/FileChannel.java.
7348 * Makefile.in: Regenerated.
7349
7350 2002-11-20 Michael Koch <konqueror@gmx.de>
7351
7352 * java/io/FileInputStream.java
7353 (getChannel): New method.
7354 * java/io/FileOutputStream.java
7355 (getChannel): New method.
7356 * java/net/ServerSocket.java
7357 (bind): Removed duplicate code and called another bind method instead.
7358 * java/nio/channels/SelectionKey.java
7359 (isValid): Removed wrong exception documentation.
7360 * java/nio/channels/ServerSocketChannel.java
7361 (accept): Added exception documentation.
7362 (open): Fixed typo, added exception documentation.
7363 * java/nio/channels/spi/AbstractSelectableChannel.java
7364 (implCloseChannel): Added exception documentation.
7365 (add): Reformated.
7366 (register): Added exception documentation.
7367
7368 2002-11-20 Andreas Jaeger <aj@suse.de>
7369
7370 * configure: Regenerated with new libtool.m4.
7371
7372 2002-11-19 Tom Tromey <tromey@redhat.com>
7373
7374 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7375 `referent'.
7376 (finalize_referred_to_object): Don't modify `referent' or `copy'
7377 fields.
7378 (add_to_hash): Correctly set `n->next' when updating list.
7379 * java/lang/ref/Reference.java (enqueue): Return false if already
7380 enqueued.
7381
7382 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7383
7384 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7385 to function and function pointer declarations in accordance with
7386 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7387 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7388 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7389 JNI function definitions.
7390
7391 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7392
7393 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7394 that was causing CoderResults to be cached, not WeakReferences
7395 to CoderResults.
7396
7397 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7398
7399 * java/security/KeyStore.java (getInstance): Fix
7400 comment and throw IllegalArgumentException if
7401 given provider is null.
7402 (getInstance): New method for jdk1.4 compatibility.
7403
7404 2002-11-18 Michael Koch <konqueror@gmx.de>
7405
7406 * java/net/PlainSocketImpl.java: Fix imports.
7407
7408 2002-11-18 Michael Koch <konqueror@gmx.de>
7409
7410 * java/nio/channels/SelectionKey.java
7411 (isValid): Added exception documentation.
7412 * java/nio/channels/Selector.java
7413 (open): Declare "throws IOException".
7414
7415 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7416
7417 * java/nio/charset/Charset.java
7418 (<clinit>): New method.
7419 (encode): Synchronize use of cached encoder object.
7420 (decode): Synchronize use of cached encoder object.
7421
7422 2002-11-18 Michael Koch <konqueror@gmx.de>
7423
7424 * gnu/java/nio/ByteBufferImpl.java,
7425 gnu/java/nio/CharBufferImpl.java,
7426 gnu/java/nio/DatagramChannelImpl.java,
7427 gnu/java/nio/DoubleBufferImpl.java,
7428 gnu/java/nio/FileChannelImpl.java,
7429 gnu/java/nio/FloatBufferImpl.java,
7430 gnu/java/nio/IntBufferImpl.java,
7431 gnu/java/nio/LongBufferImpl.java,
7432 gnu/java/nio/PipeImpl.java,
7433 gnu/java/nio/SelectionKeyImpl.java,
7434 gnu/java/nio/SelectorImpl.java,
7435 gnu/java/nio/SelectorProviderImpl.java,
7436 gnu/java/nio/ServerSocketChannelImpl.java,
7437 gnu/java/nio/ShortBufferImpl.java,
7438 gnu/java/nio/SocketChannelImpl.java,
7439 java/nio/DoubleBuffer.java,
7440 java/nio/FloatBuffer.java,
7441 java/nio/IntBuffer.java,
7442 java/nio/LongBuffer.java,
7443 java/nio/ShortBuffer.java,
7444 java/nio/channels/FileChannel.java: New files.
7445
7446 2002-11-18 Michael Koch <konqueror@gmx.de>
7447
7448 * Makefile.am (ordinary_java_source_files):
7449 Added java/nio/ReadOnlyBufferException.java and
7450 java/nio/channels/ClosedSelectorException.java.
7451 * Makefile.in: Regenerated.
7452
7453 2002-11-18 Michael Koch <konqueror@gmx.de>
7454
7455 * java/net/PlainSocketImpl.java: Reworked imports.
7456 * java/net/ServerSocket.java
7457 (ServerSocket): Create socket.
7458 * java/net/SocketAddress.java: Documentation added.
7459 * java/net/natPlainSocketImpl.cc: Reindented.
7460 * java/nio/ReadOnlyBufferException.java: New file
7461 * java/nio/channels/ClosedChannelException.java: Documentation added.
7462 * java/nio/channels/ClosedSelectorException.java: New file.
7463
7464 2002-11-17 Mark Wielaard <mark@klomp.org>
7465
7466 * java/net/HttpURLConnection.java ((getPermission): Take port
7467 into consideration.
7468 (getErrorStream): Implement.
7469
7470 2002-11-17 Mark Wielaard <mark@klomp.org>
7471
7472 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7473
7474 2002-11-16 Mark Wielaard <mark@klomp.org>
7475
7476 Integrate work by Raif S. Naffah (raif@fl.net.au)
7477 * java/security/DummyKeyPairGenerator.java (clone): New method.
7478 * java/security/DummyMessageDigest.java (clone): New method.
7479 (engineUpdate): Now public.
7480 (engineReset): Likewise.
7481 (engineDigest): Likewise.
7482 (engineGetDigestLength): New method.
7483 * java/security/DummySignature.java (clone): New method.
7484 * java/security/KeyPairGenerator.java (provider): Now package private.
7485 (getInstance(String)): Use getInstance(String,Provider).
7486 (getInstance(String,String): Use getInstance(String,Provider)
7487 (getInstance(String,Provider): New method.
7488 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7489 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7490 * java/security/MessageDigest.java (provider): Now package private.
7491 (getInstance(String): Use getInstance(String,Provider).
7492 (getInstance(String,String): Use getInstance(String,Provider)
7493 (getInstance(String,Provider): New method.
7494 * java/security/Provider.java (toCanonicalKey): New method.
7495 (get): New method that uses toCanonicalKey().
7496 (put): Use toCanonicalKey().
7497 (remove): Likewise.
7498 * java/security/Security.java (insertProviderAt): Provider index is one
7499 based, not zero based.
7500 (addProvider): Likewise.
7501 (removeProvider): Likewise.
7502 * java/security/Signature.java (provider): Now package private.
7503 (getInstance(String)): Use getInstance(String,Provider).
7504 (getInstance(String,String): Use getInstance(String,Provider)
7505 (getInstance(String,Provider): New method.
7506 (getInstance(String,String,Provider): Don't cast DummySignature.
7507
7508 2002-11-15 Tom Tromey <tromey@redhat.com>
7509
7510 For PR libgcj/8593:
7511 * java/util/zip/GZIPInputStream.java (read): Check file size.
7512 Look in inflater for remaining input bytes.
7513 (read4): Added buf and offset arguments.
7514
7515 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7516
7517 * java/applet/AppletContext.java: Fix typo and remove redundant
7518 modifiers.
7519
7520 2002-11-14 Tom Tromey <tromey@redhat.com>
7521
7522 * java/lang/natRuntime.cc (insertSystemProperties): Set
7523 gnu.classpath.home.
7524
7525 2002-11-13 Michael Koch <konqueror@gmx.de>
7526
7527 * java/nio/ByteBuffer.java
7528 (allocate): New method.
7529 (wrap): New method.
7530 (put): New method.
7531 (get): New method.
7532
7533 2002-11-13 Michael Koch <konqueror@gmx.de>
7534
7535 * java/nio/channels/AlreadyConnectedException.java:
7536 Removed unneeded import.
7537 (AlreadyConnectedException): Documentation added.
7538 * java/nio/channels/Pipe.java
7539 (SinkChannel.SinkChannel): Documentation added.
7540 (SinkChannel.validOps): New method.
7541 (SourceChannel.SourceChannel): Documentation added.
7542 (SourceChannel.validOps): New method.
7543 (Pipe): Documentation added.
7544 (open): Documentation added.
7545 (SinkChannel.channel): Documentation added.
7546 (SourceChannel.channel): Documentation added.
7547 * java/nio/channel/SelectableChannel.java
7548 (SelectableChannel): Documentation added.
7549 (blockingLock): Documentation added.
7550 (configureBlocking):Documentation added.
7551 (isBlocking):Documentation added.
7552 (isRegistered):Documentation added.
7553 (keyFor):Documentation added.
7554 (provider):Documentation added.
7555 (register): Documentation added.
7556 (validOps): Documentation added.
7557 * jaba/nio/channels/SelectionKey.java
7558 (SelectionKey): Documentation added.
7559 (attach): Documentation added.
7560 (attachment): Documentation added.
7561 (isAcceptable): Documentation added.
7562 (isConnetable): Documentation added.
7563 (isReadable): Documentation added.
7564 (isWritable): Documentation added.
7565 (cancel): Documentation added.
7566 (channel): Documentation added.
7567 (interestOps): Documentation added.
7568 (isValid): Documentation added.
7569 (readyOps): Documentation added.
7570 (selector): Documentation added.
7571 * jaba/nio/channels/Selector.java
7572 (Selector): Documentation added.
7573 (open): Documentation added.
7574 (close): Documentation added.
7575 (isOpen): Documentation added.
7576 (keys): Documentation added.
7577 (provider): Documentation added.
7578 (select): Documentation added.
7579 (selectedKeys): Documentation added.
7580 (selectNow): Documentation added.
7581 (wakeup): Documentation added.
7582 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7583 (AbstractInterruptibleChannel): Documentation added.
7584 (opened): Default to true;
7585 (begin): Documentation added.
7586 (close): Set opened to false, documentation added.
7587 (isOpen): Documentation added.
7588 * java/nio/channels/spi/AbstractSelectionKey.java
7589 (AbstractSelectionKey): Documentation added.
7590 (cancel): Documentation added.
7591 (isValid): Documentation added.
7592 * java/nio/channels/spi/AbstractSelector.java
7593 (AbstractSelector): Documentation added.
7594 (begin): Documentation added.
7595 (close): Documentation added.
7596 (isOpen): Documentation added.
7597 (deregister): Documentation added.
7598 (end): Documentation added.
7599 (provider): Documentation added.
7600 (implCloseSelector): Documentation added.
7601 (register): Documentation added.
7602 * java/nio/channels/spi/SelectorProvider.java
7603 (SelectorProvider): Documentation added.
7604 (openDatagramChannel): Documentation added.
7605 (openPipe): Documentation added.
7606 (openSelector): Documentation added.
7607 (openServerSocketChannel): Documentation added.
7608 (openSocketChannel): Documentation added.
7609 (provider): Documentation added.
7610
7611 2002-11-12 Michael Koch <konqueror@gmx.de>
7612
7613 * java/nio/Buffer.java: Implemented.
7614 * java/nio/CharBuffer.java: New file.
7615 * java/nio/InvalidMarkException.java: New file.
7616 * java/nio/channels/DatagramChannel.java: Implemented.
7617 * java/nio/channels/ServerSocketChannel.java: Implemented.
7618 * java/nio/channels/SocketChannel.java: Implemented.
7619 * java/nio/channels/spi/AbstractChannel.java: Removed.
7620 * java/nio/channels/spi/AbstractSelectableChannel.java:
7621 Implemented.
7622 * java/nio/charset/Charset.java:
7623 Merge from Classpath.
7624 * java/nio/charset/CharsetDecoder.java: New file.
7625 * java/nio/charset/CharsetEncoder.java: New file.
7626 * java/nio/charset/CoderResult.java: New file.
7627 * Makefile.am (ordinary_java_source_files): Added new files.
7628 * Makefile.in: Regenerated.
7629
7630 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7631
7632 * gnu/java/nio/charset/ISO_8859_1.java,
7633 gnu/java/nio/charset/Provider.java,
7634 gnu/java/nio/charset/US_ASCII.java,
7635 gnu/java/nio/charset/UTF_16.java,
7636 gnu/java/nio/charset/UTF_16BE.java,
7637 gnu/java/nio/charset/UTF_16Decoder.java,
7638 gnu/java/nio/charset/UTF_16Encoder.java,
7639 gnu/java/nio/charset/UTF_16LE.java,
7640 gnu/java/nio/charset/UTF_8.java: New files.
7641
7642 2002-11-11 Michael Koch <konqueror@gmx.de>
7643
7644 * java/nio/charset/CharacterCodingException.java:
7645 This class must be public.
7646 * java/nio/charset/CoderMalfunctionError.java:
7647 This class must be public.
7648 * java/nio/charset/CodingErrorAction.java:
7649 This class must be public.
7650 * java/nio/charset/IllegalCharsetNameException.java:
7651 This class must be public, better implementation.
7652 * java/nio/charset/MalformedInputException.java:
7653 This class must be public, better implementation.
7654 * java/nio/charset/UnmappableCharacterException.java:
7655 This class must be public, better implementation.
7656 * java/nio/charset/UnsupportedCharsetException.java:
7657 This class must be public, better implementation.
7658
7659 2002-11-11 Michael Koch <konqueror@gmx.de>
7660
7661 * java/nio/BufferOverflowException.java,
7662 java/nio/BufferUnderflowException.java: New file.
7663 * Makefile.am (ordinary_java_source_files):
7664 Added new files.
7665 * Makefile.in: Regenerated.
7666
7667 2002-11-10 Tom Tromey <tromey@redhat.com>
7668
7669 * java/awt/Container.java (validate): Use tree lock.
7670 (getComponent): Likewise.
7671 (getComponents): Likewise.
7672 (addImpl): Likewise.
7673 (remove): Likewise.
7674 (removeAll): Likewise.
7675 (processEvent): Fixed indentation.
7676 (getComponentAt): Use tree lock.
7677 (findComponentAt): Likewise.
7678 (removeNotify): Likewise.
7679 (isAncestorOf): Likewise.
7680 (list): Likewise.
7681 (visitChildren): Likewise.
7682 (findNextFocusComponent): Likewise.
7683 (addNotifyContainerChildren): Likewise.
7684 (getAccessibleChildrenCount): Likewise.
7685 (getAccessibleChild): Likewise.
7686
7687 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7688 (getSize): Likewise.
7689 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7690 (getSize): Likewise.
7691 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7692 (calcSize): Likewise.
7693 * java/awt/CardLayout.java (getSize): Use tree lock.
7694 (gotoComponent): Likewise.
7695 (layoutContainer): Likewise.
7696
7697 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7698 count is 0.
7699 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7700 count is 0.
7701
7702 * java/io/Externalizable.java, java/io/FilePermission.java,
7703 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7704 java/io/SerializablePermission.java, java/text/Format.java,
7705 java/util/AbstractMap.java, java/util/HashMap.java,
7706 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7707 versions from Classpath.
7708
7709 2002-11-10 Anthony Green <green@redhat.com>
7710
7711 * java/util/jar/Attributes.java (Name): Fix name check.
7712
7713 2002-11-10 Mark Wielaard <mark@klomp.org>
7714
7715 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7716 with getName() as message.
7717 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7718 type as message.
7719
7720 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7721 unused.
7722
7723 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7724
7725 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7726 for Win32. JNICALL has been defined to __stdcall to be compatible
7727 with Sun's JDKs.
7728
7729 2002-11-10 Tom Tromey <tromey@redhat.com>
7730
7731 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7732 (setRows): Check newRows, not rows.
7733
7734 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7735
7736 2002-11-09 Tom Tromey <tromey@redhat.com>
7737
7738 * java/applet/Applet.java, java/applet/AppletContext.java,
7739 java/applet/AppletStub.java, java/applet/AudioClip.java,
7740 java/awt/CardLayout.java,
7741 java/awt/ContainerOrderFocusTraversalPolicy.java,
7742 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7743 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7744 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7745 java/awt/color/ICC_ColorSpace.java,
7746 java/awt/color/ICC_Profile.java,
7747 java/awt/color/ICC_ProfileGray.java,
7748 java/awt/color/ICC_ProfileRGB.java,
7749 java/awt/datatransfer/DataFlavor.java,
7750 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7751 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7752 New versions from Classpath.
7753 * Makefile.in: Rebuilt.
7754 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7755 ICC_ProfileRGB.
7756
7757 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7758 display policy.
7759
7760 * java/awt/List.java (processEvent): Added missing `else's.
7761
7762 * java/awt/Window.java (show): validate() before showing. Make
7763 parent displayable.
7764 (isDisplayable): New method.
7765
7766 2002-11-07 Mark Wielaard <mark@klomp.org>
7767
7768 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7769 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7770
7771 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7772 annotation.
7773 (loadClass): Take String as codebases.
7774 (getClassAnnotation): Use MyClassLoader annotations.
7775 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7776 call exportObject(this).
7777
7778 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7779 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7780 (setAnnotation): Don't set locBytesStream and locStream.
7781 (replaceObject): Removed.
7782 (flush): Don't test locStream.
7783 (getLocBytes): LikeWise.
7784 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7785 (leaseCache): New field.
7786 (dirty): Use leaseCache.
7787 (LeaseRecord): New inner class.
7788 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7789 explicitly call exportObject().
7790 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7791 false to communicate with Sun JDK130.
7792 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7793 * gnu/java/rmi/server/RMIObjectInputStream.java
7794 (UnicastConnectionManager): Removed field.
7795 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7796 Use UnicastServer.getExportedRef().
7797 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7798 (expireTime): Likewise.
7799 (CONNECTION_TIMEOUT): Likewise.
7800 (disconnect): Call sock.close().
7801 (isExpired): New method.
7802 (resetTime): Likewise.
7803 (run): Use do while loop and catch Exception for discardConnection().
7804 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7805 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7806 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7807 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7808 (exportObject): Use refcache.
7809 (unexportObject): Likewise.
7810 (getExportedRef): New method.
7811 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7812 constructor.
7813 (exportObject): Save manager.serverobj.
7814 (getStub): New method.
7815
7816 2002-11-07 Mark Wielaard <mark@klomp.org>
7817
7818 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7819 (getByte): Likewise.
7820 (getShort): Likewise.
7821 (getInt): Likewise.
7822 (getLong): Likewise.
7823 (getFloat): Likewise.
7824 (getDouble): Likewise.
7825 (get): Likewise.
7826 (setChar): Likewise.
7827 (setByte): Likewise.
7828 (setShort): Likewise.
7829 (setInt): Likewise.
7830 (setLong): Likewise.
7831 (setFloat): Likewise.
7832 (setDouble): Likewise.
7833
7834 2002-11-07 Michael Koch <konqueror@gmx.de>
7835
7836 * java/awt/Choice.java,
7837 java/awt/Container.java,
7838 java/awt/GridBagLayout.java:
7839 Fixed documentation.
7840 * java/awt/peer/ContainerPeer.java:
7841 Reindented.
7842
7843 2002-11-07 Michael Koch <konqueror@gmx.de>
7844
7845 * java/awt/color/ICC_Profile.java:
7846 Added missing constants.
7847 * java/awt/color/ICC_ColorSpace.java
7848 (getMinValue): Added dummy implementation.
7849 (getMaxValue): Added dummy implementation.
7850 * java/awt/datatransfer/DataFlavor.java
7851 (imageFlavor): Added.
7852 (isMimeTypeEqual): Must be final.
7853 (getDefaultRepresentationClass): Must be non-static.
7854 (getDefaultRepresentationClassAsString): Must be non-static.
7855 * java/awt/dnd/DragSourceContext.java
7856 (dragExit): Corrected argument.
7857 (dragDropEnd): Corrected argument.
7858 * java/awt/dnd/DragSourceListener.java.java
7859 (dragExit): Corrected argument.
7860 (dragDropEnd): Corrected argument.
7861 * java/awt/font/TextHitInfo.java
7862 (toString): Added stubbed implementation.
7863 * java/awt/geom/PathIterator.java:
7864 The constants must be static.
7865 * java/awt/image/VolatileImage.java
7866 (IMAGE_INCOMPATIBLE): Fixed typo.
7867 * java/awt/image/renderable/RenderableImage.java
7868 (HINTS_OBSERVED): Must be static.
7869 * java/beans/BeanInfo.java:
7870 Constants must be final.
7871
7872 2002-11-06 Tom Tromey <tromey@redhat.com>
7873
7874 From svens@it.uu.se. For PR libgcj/8481.
7875 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7876
7877 2002-11-06 Tom Tromey <tromey@redhat.com>
7878
7879 * jni.cc (array_from_valist): Assume that jlong won't be
7880 promoted.
7881
7882 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7883
7884 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7885 Return 20.
7886 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7887 Return 16.
7888
7889 2002-11-03 Tom Tromey <tromey@redhat.com>
7890
7891 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7892 VMClassLoader, not findClass.
7893
7894 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7895
7896 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7897 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7898 _Jv_DetermineVTableIndex, to determine vtable offset.
7899 (_Jv_DetermineVTableIndex): Remove.
7900 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7901
7902 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7903
7904 2002-11-03 Tom Tromey <tromey@redhat.com>
7905
7906 * java/nio/channels/AlreadyConnectedException.java: Extend
7907 IllegalStateException, per spec.
7908
7909 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7910
7911 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7912
7913 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7914
7915 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7916 size items.
7917
7918 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7919
7920 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7921 initial estimated size to avoid enlarge buffer frequently.
7922
7923 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7924
7925 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7926 ClassLoader when null.
7927 (ProxyType.hashCode): Loader null check no longer needed.
7928 (ProxyType.sameTypes): New method.
7929 (ProxyType.equals): Use new method.
7930
7931 2002-10-31 Mark Wielaard <mark@klomp.org>
7932
7933 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7934 length of String.
7935 * java/net/URLEncoder.java (encode): Likewise.
7936
7937 2002-10-31 Mark Wielaard <mark@klomp.org>
7938
7939 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7940 when stream is closed.
7941 (closeEntry): Likewise.
7942 (read): Likewise.
7943 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7944 ZipException when no entry active.
7945 (closeEntry): Likewise.
7946 (write): Likewise.
7947
7948 2002-11-02 Tom Tromey <tromey@redhat.com>
7949
7950 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7951 * java/lang/natClass.cc (initializeClass): Don't return just
7952 because self==thread.
7953
7954 For PR java/8415:
7955 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7956 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7957
7958 2002-11-02 Andreas Schwab <schwab@suse.de>
7959
7960 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7961 pass GCJFLAGS.
7962 (FLAGS_TO_PASS): Define.
7963 * Makefile.in: Regenerated.
7964
7965 2002-11-01 Michael Koch <konqueror@gmx.de>
7966
7967 * java/nio/ByteOrder.java: New file.
7968 * java/nio/channels/DatagramChannel.java:
7969 (DatagramChannel): New constructor.
7970 * java/nio/channels/Pipe.java: New file.
7971 * java/nio/channels/SelectableChannel.java: New file.
7972 * java/nio/channels/SelectionKey.java: New file.
7973 * java/nio/channels/Selector.java: New file.
7974 * java/nio/channels/ServerSocketChannel.java
7975 (ServerSocketChannel): New constructor.
7976 * java/nio/channels/SocketChannel.java
7977 (SocketChannel): New constructor.
7978 * java/nio/channels/Pipe.java: New file.
7979 * java/nio/channels/spi/AbstractChannel.java: New file.
7980 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7981 * java/nio/channels/spi/AbstractSelectableChannel.java:
7982 License added
7983 (AbstractSelectableChannel): New stubbed method.
7984 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7985 * java/nio/channels/spi/AbstractSelector.java: New file.
7986 * java/nio/channels/spi/SelectorProvider.java: New file.
7987 * java/nio/charset/Charset.java: New file.
7988 * java/nio/charset/CoderMalfunctionError.java: New file.
7989 * java/nio/charset/CodingErrorAction.java: New file.
7990 * java/nio/charset/spi/CharsetProvider.java
7991 (charsetForName): Uncommented.
7992 * Makefile.am (java_native_source_files): Added new files.
7993 * Makefile.in: Regenerated.
7994
7995 2002-11-01 Michael Koch <konqueror@gmx.de>
7996
7997 * java/net/InetAddress.java:
7998 (isAnyLocalAddress): Implemented.
7999 (isLoopbackAddress): Implemented, comment added.
8000 (isLinkLocalAddress): Implemented, documentation added.
8001 (isSiteLocalAddress): Implemented, documentation added.
8002 (isMCGlobal): Implemented, documentation added.
8003 (isMCNodeLocal): Implemented, documentation added.
8004 (isMCLinkLocal): Implemented, documentation added.
8005 (isMCSiteLocal): Implemented, documentation added.
8006 (isMCOrgLocal): Implemented, documentation added.
8007 (getHostName): Documentation added.
8008 (getCanonicalHostName): Implemented, documentation added.
8009 (getAddress): Documentation added.
8010 (hashCode): Documentation added.
8011 (equals): Documentation added.
8012 (toString): Fixed implementation.
8013 (getByAddress): Use Inet4Address and Inet6Address.
8014 (lookup): New linewrap.
8015 (getByName): SecurityManager check added, support Inet4Address and
8016 Inet6address, comments added.
8017 (getAllByName): SecurityManager check added, comments added.
8018 * java/net/Inet6Address.java:
8019 (Inet6Address): Initialize parent class with addr instead of null.
8020 * java/net/URL.java
8021 (equals): Documentation added.
8022 (getFile): Documentation added.
8023 (hashCode): Documentation added.
8024 * java/net/natInetAddress.cc:
8025 (aton): Fix IPv6 support.
8026 * java/net/natPlainDatagramSocketImpl.cc:
8027 (peek): Throw PortUnreachableException when suitable.
8028 (peekData): Throw PortUnreachableException when suitable.
8029 (send): Throw PortUnreachableException when suitable.
8030 (receive): Throw PortUnreachableException when suitable.
8031
8032 2002-10-27 Mark Wielaard <mark@klomp.org>
8033
8034 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8035 argument.
8036 (readLeShort): Likewise and use byte[].
8037 (readLeInt): Likewise.
8038 (readEntries): Use new versions of methods and use byte[] for reading
8039 a complete zip entry. Add ZipFile name to exceptions.
8040 (entries): Add ZipFile name to exceptions.
8041 (getEntry): Likewise.
8042 (checkLocalHeader): Use new versions of methods and add ZipFile name
8043 to exceptions.
8044
8045 2002-10-31 Mark Anderson <mark@panonet.net>
8046
8047 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8048 added
8049
8050 2002-10-25 Krister Walfridsson <cato@df.lth.se>
8051
8052 * configure.in: Disable hash sync when not using threads.
8053 * configure: Regenerated.
8054
8055 2002-10-24 Tom Tromey <tromey@redhat.com>
8056
8057 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8058 (_Jv_FindSymbolInExecutable): Removed argument name.
8059 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8060 java.library.path is set.
8061
8062 * gij.cc (help): Document --showversion.
8063 (version): Don't exit.
8064 (main): Handle --showversion. Exit if --version given.
8065
8066 2002-10-23 Tom Tromey <tromey@redhat.com>
8067
8068 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8069 (array_from_valist): Correctly handle promotion for jint, jlong,
8070 jfloat, and jdouble.
8071
8072 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
8073
8074 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8075 GetFileAttributesEx( ) to find file length and modification times,
8076 as the latter is not present on Windows 95.
8077
8078 2002-10-21 Michael Koch <konqueror@gmx.de>
8079
8080 * java/net/URL.java
8081 (URL): Activate SecurityManager checks.
8082 (equals): Use URLStreamHandler implementation instead of doing it
8083 alone. This allows special protocol stream handlers to change default
8084 behaviour.
8085 (hashCode): Use URLStreamHandler implementation instead of doing it
8086 alone. This allows special protocol stream handlers to change default
8087 behaviour.
8088 * java/net/URLStreamHandler.java
8089 (equals): Implemented default URL equality check.
8090 (hostsEqual): Implemented default URL equality check.
8091 (hashCode): Implemented default URL hashCode algorithm.
8092 * java/net/natPlainDatagramSocketImpl.cc:
8093 No lines longer then 80 characters.
8094
8095 2002-10-20 Adam Megacz <adam@xwt.org>
8096
8097 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8098 * configure.in: enabled hash sync on Win32
8099 * include/win32-threads.h (_Jv_ThreadId_t): added.
8100 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8101 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8102 removed some posix-isms, use Thread::sleep() instead of usleep,
8103 added code to clear bottom three bits if platform has a broken
8104 linker.
8105 * include/win32-threads.h (_Jv_ThreadId_t): added.
8106
8107 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8108
8109 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8110 runtime property "gnu.gcj.progname" containing the name used to
8111 invoke the current Java program (similar to argv[0] for C
8112 programs).
8113
8114 2002-10-15 Tom Tromey <tromey@redhat.com>
8115
8116 Fix for PR libgcj/8234:
8117 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8118 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8119
8120 2002-10-13 Mark Wielaard <mark@klomp.org>
8121
8122 * mauve-libgcj: Enable Mauve tests that compile now.
8123
8124 2002-10-11 Mark Wielaard <mark@klomp.org>
8125
8126 Fix for PR libgcj/8142
8127 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8128 loading native modules.
8129
8130 2002-10-10 Michael Koch <konqueror@gmx.de>
8131
8132 * javax/swing/AbstractListModel.java
8133 (getListDataListeners): New stubbed method.
8134 javax/swing/DefaultBoundedRangeModel.java
8135 (getChangeListeners): New stubbed method.
8136 javax/swing/DefaultSingleSelectionModel.java
8137 (getChangeListeners): New stubbed method.
8138
8139 2002-10-10 Michael Koch <konqueror@gmx.de>
8140
8141 * gcj/.cvsignore: New file to ignore files generated during build.
8142 * include/.cvsignore: New file to ignore files generated during build.
8143
8144 2002-10-10 Michael Koch <konqueror@gmx.de>
8145
8146 * java/net/HttpURLConnection.java
8147 (getPermission): New method.
8148 (getErrorStream): New stub method.
8149 (getHeaderFieldDate): New stub method.
8150 * java/net/Inet4Address.java:
8151 (isLinkLocalAddress): Typo fixed.
8152 * java/net/InetAddress.java:
8153 (readResolve): New stubbed method (for serialization).
8154 (isAnyLocalAddress): New stubbed method.
8155 (isLoopbackAddress): New stubbed method.
8156 (isLinkLocalAddress): New stubbed method.
8157 (isSiteLocalAddress): New stubbed method.
8158 (isMCGlobal): New stubbed method.
8159 (isMCNodeGlobal): New stubbed method.
8160 (isMCLinkLocal): New stubbed method.
8161 (isMCSiteLocal): New stubbed method.
8162 (isMCOrgLocal): New stubbed method.
8163 (getCanonicalHostName): New stubbed method.
8164 (getByAddress): Create instances of Inet4Address/Inet6Address,
8165 instead of InetAddress, documentation added.
8166 * java/net/MulticastSocket.java
8167 (getInterface): Removed FIXME.
8168 (getNetworkInterface): New method.
8169 (setNetworkInterface): New method.
8170 * java/net/NetworkInterface.java:
8171 (toString): Use property "line.separator" instead of "\n".
8172 * java/net/URLConnection.java
8173 (getContent): New stubbed method.
8174 * java/net/URLStreamHandler.java:
8175 (equals): New stubbed method.
8176 (hostsEqual): New stubbed method.
8177 (hashCode): New stubbed method.
8178 * java/net/natNetworkInterface.cc:
8179 (getRealNetworkInterfaces): Create Inet4Address object
8180 instead of InetAddress.
8181
8182 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8183
8184 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8185 unsigned long temporary to implement insn_iushr shifts.
8186
8187 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8188
8189 * configure.host [s390*-*]: Enable Java interpreter.
8190 Enable hash synchronization. Add sysdeps dir.
8191 * sysdep/s390/locks.h: New file.
8192
8193 2002-10-06 Mark Wielaard <mark@klomp.org>
8194
8195 * java/lang/Thread.java (setDaemon): Check startable_flag,
8196 not isAlive().
8197
8198 2002-10-07 Michael Koch <konqueror@gmx.de>
8199
8200 * java/nio/Buffer.java: New stub file.
8201 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8202 of class Charset.
8203 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8204 * Makefile.in: Regenerated.
8205
8206 2002-10-07 Michael Koch <konqueror@gmx.de>
8207
8208 * java/nio/ByteBuffer.java:
8209 removed import of not commited class.
8210
8211 2002-10-07 Michael Koch <konqueror@gmx.de>
8212
8213 * java/nio/ByteBuffer.java,
8214 java/nio/MappedByteBuffer.java:
8215 New files, forgot to add these dummies.
8216 * Makefile.am (java_native_source_files): Added new files.
8217 * Makefile.in: Regenerated.
8218
8219 2002-10-07 Michael Koch <konqueror@gmx.de>
8220
8221 * java/nio/channels/AlreadyConnectedException.java,
8222 java/nio/channels/ClosedChannelException.java,
8223 java/nio/channels/ReadableByteChannel.java,
8224 java/nio/channels/InterruptibleChannel.java,
8225 java/nio/channels/Channel.java,
8226 java/nio/channels/ByteChannel.java,
8227 java/nio/channels/GatheringByteChannel.java,
8228 java/nio/channels/ScatteringByteChannel.java,
8229 java/nio/channels/WritableByteChannel.java,
8230 java/nio/charset/CharacterCodingException.java,
8231 java/nio/charset/IllegalCharsetNameException.java,
8232 java/nio/charset/MalformedInputException.java,
8233 java/nio/charset/UnmappableCharacterException.java,
8234 java/nio/charset/UnsupportedCharsetException.java,
8235 java/nio/charset/spi/CharsetProvider.java: New file.
8236 These files are exceptions or interfaces,
8237 no real or abstract classes.
8238 * Makefile.am (java_native_source_files): Added new files.
8239 * Makefile.in: Regenerated.
8240
8241 2002-10-05 Michael Koch <konqueror@gmx.de>
8242
8243 * java/net/InetAddress.java
8244 (getByAddress): Fixed documentation.
8245 (getByAddress): New method.
8246 * java/net/Inet4Address.java: New file.
8247 * java/net/URL.java
8248 (URL): Documentation added.
8249 (getContent): Documentation added.
8250 (getContent): New stubbed method.
8251 (getQuery): New method.
8252 (openConnection): Documentation added.
8253 (openStream): Documentation added.
8254 (setURLStreamHandlerFactory): Documentation added.
8255 * java/net/URI.java: New stub file.
8256 * Makefile.am
8257 (java_native_source_files): Added java/net/Inet4Address.java,
8258 java/net/Inet6Address.java and java/net/URI.java.
8259 * Makefile.in: Regenerated.
8260
8261 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8262
8263 * java/lang/ProtectionDomain.java (linesep): Remove field.
8264 (toString): Use System.getProperty("line.separator").
8265
8266 2002-10-04 Michael Koch <konqueror@gmx.de>
8267
8268 * java/security/Identity.java: Added serialVersionUID.
8269 * java/security/KeyPair.java: Added serialVersionUID.
8270 * java/security/Provider.java: Added serialVersionUID.
8271 * java/security/SecureRandom.java: Added serialVersionUID.
8272 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8273 * java/security/SignedObject.java: Added serialVersionUID.
8274 * java/security/cert/Certificate.java: Added serialVersionUID.
8275
8276 2002-10-04 Mark Wielaard <mark@klomp.org>
8277
8278 * java/security/Security.java: Use java.home or gnu.classpath.home
8279 to load providers.
8280 (loadProviders): Extra dir argument.
8281 (getProvider): Return null when not found.
8282
8283 2002-10-04 Mark Wielaard <mark@klomp.org>
8284
8285 * java/lang/Throwable.java: Remerge with Classpath.
8286
8287 2002-10-04 Michael Koch <konqueror@gmx.de>
8288
8289 * java/net/InetAddress.java:
8290 (isMulticastAddress): Added documentation.
8291 (getHostAddress): Added documentation.
8292 (toString): Added documentation.
8293 (getByAddress): Fixed documentation.
8294 (getByName): Added documentation.
8295 (getAllByName): Added documentation.
8296 (getLocalHost): Added documentation.
8297
8298 2002-10-04 Michael Koch <konqueror@gmx.de>
8299
8300 * java/beans/beancontext/BeanContextChildSupport.java:
8301 Added serialVersionUID.
8302 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8303 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8304 * javax/naming/Name.java: Added serialVersionUID.
8305
8306 2002-10-03 Adam Megacz <adam@xwt.org>
8307
8308 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8309 some functionality that isn't supported yet on WIN32.
8310
8311 2002-10-03 Tom Tromey <tromey@redhat.com>
8312
8313 * Makefile.in: Rebuilt.
8314 * Makefile.am (awt_java_source_files): Added new files.
8315
8316 2002-10-03 Michael Koch <konqueror@gmx.de>
8317
8318 * java/net/InetAddress.java
8319 (class InetAddress): Removed final keyword.
8320 (equals): Fixed typo.
8321 (getByAddress): New method.
8322
8323 2002-10-03 Michael Koch <konqueror@gmx.de>
8324
8325 * java/awt/dnd/Autoscroll.java:
8326 New file, merge from Classpath.
8327 * java/awt/dnd/DragSourceAdapter.java:
8328 (dragExit): Fixed typos in argument type.
8329 (dragDropEnd): Fixed typos in argument type.
8330 * java/awt/dnd/DragSourceDropEvent.java:
8331 New file, merge from Classpath.
8332 * java/awt/dnd/DropTarget.java:
8333 Added stubs, merge from Classpath.
8334 * java/awt/dnd/DropTargetAdapter.java:
8335 New file, merge from Classpath.
8336 * java/awt/dnd/DropTargetContext.java:
8337 New file, merge from Classpath.
8338 * java/awt/dnd/DropTargetDragEvent.java:
8339 New file, merge from Classpath.
8340 * java/awt/dnd/DropTargetDropEvent.java:
8341 New file, merge from Classpath.
8342 * java/awt/dnd/DropTargetEvent.java:
8343 New file, merge from Classpath.
8344 * java/awt/dnd/DropTargetListener.java:
8345 New file, merge from Classpath.
8346 * java/awt/dnd/MouseDragGestureRecognizer.java:
8347 New file, merge from Classpath.
8348 * java/awt/dnd/peer/DropTargetContextPeer.java:
8349 New file, merge from Classpath.
8350
8351 2002-10-03 Michael Koch <konqueror@gmx.de>
8352
8353 * java/net/DatagramPacket.java
8354 (setLength): Fixed typo and be HTML-aware.
8355 * java/net/InetSocketAddress.java
8356 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8357 (equals): Added comment about equality of InetSocketAddress objects.
8358 * java/net/ServerSocket.java
8359 (accept): Added checks.
8360 (isClosed): New stubbed method.
8361 * java/net/SocketOptions.java: Reindention.
8362 * java/net/SocketPermission
8363 (SocketPermission): Documentation fixed.
8364
8365 2002-10-03 Michael Koch <konqueror@gmx.de>
8366
8367 * java/net/DatagramSocket.java
8368 (receive): Check with SecurityManager AFTER the packet is received,
8369 check if connected to multicast address, documentation added.
8370 (send): Only check SecurityManager if connected, check address of
8371 packet to send.
8372 (connect): Implemented, documentation added.
8373 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8374 * java/net/InetSocketAddress.java
8375 (whole file): Reindented.
8376 (hostname): New attribute.
8377 (InetSocketAddress): Initialize new attribute.
8378 (getAddress): Documentation added.
8379 (getHostName): Documentation added.
8380 (getPort): Documentation added.
8381 (hashCode): Documentation added.
8382 (isUnresolved): Documentation added.
8383 (toString): Conform to output of JDK 1.4.1, documentation added.
8384 * java/net/MulticastSocket.java
8385 (joinGroup): Removed FIXME, documentation added.
8386 (leaveGroup): Removed FIXME, documentation added.
8387 (send): Documentation added.
8388 * java/net/Socket.java
8389 (inputShutdown): New variable.
8390 (outputShutdown): New variable.
8391 (Socket): Initialize new variables.
8392 (getRemoteSocketAddress): Check if connected.
8393 (shutdownInput): Set new variable.
8394 (shutdownOutput): Set new variable.
8395 (isConnected): New method.
8396 (isClosed): New method.
8397 (isInputShutdown): New method.
8398 (isOutputShutdown): New method.
8399 * java/net/URLStreamHandler.java
8400 (URLStreamHandler): New method.
8401 (openConnection): Added documentation.
8402 (parseURL): Added documentation.
8403 (getHostAddress): New method.
8404 (getDefaultPort): New method.
8405
8406 2002-10-02 Tom Tromey <tromey@redhat.com>
8407
8408 * java/rmi/activation/ActivationDesc.java,
8409 java/rmi/activation/ActivationGroupDesc.java,
8410 java/rmi/activation/ActivationGroupID.java,
8411 java/rmi/activation/ActivationID.java: New versions from
8412 Classpath.
8413
8414 2002-09-30 Bo Thorsen <bo@suse.de>
8415
8416 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8417
8418 2002-09-30 Tom Tromey <tromey@redhat.com>
8419
8420 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8421 from Classpath.
8422 * Makefile.in: Rebuilt.
8423 * Makefile.am (rmi_java_source_files): Added new files.
8424 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8425 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8426 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8427 Classpath.
8428 * gnu/java/rmi/dgc/DGCImpl.java,
8429 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8430 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8431 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8432 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8433 gnu/java/rmi/server/RMIHashes.java,
8434 gnu/java/rmi/server/RMIObjectInputStream.java,
8435 gnu/java/rmi/server/RMIObjectOutputStream.java,
8436 gnu/java/rmi/server/UnicastConnection.java,
8437 gnu/java/rmi/server/UnicastConnectionManager.java,
8438 gnu/java/rmi/server/UnicastRef.java,
8439 gnu/java/rmi/server/UnicastServer.java,
8440 gnu/java/rmi/server/UnicastServerRef.java,
8441 java/rmi/MarshalledObject.java,
8442 java/rmi/server/RMIClassLoader.java,
8443 java/rmi/server/RemoteObject.java,
8444 java/rmi/server/UnicastRemoteObject.java,
8445 java/security/SecureClassLoader.java: Merged from Classpath.
8446
8447 2002-09-29 Anthony Green <green@redhat.com>
8448
8449 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8450 Imported from GNU Classpath.
8451 * java/lang/reflect/natProxy.cc: New file.
8452 * java/lang/reflect/InvocationHandler.java: New file. Imported
8453 from GNU Classpath.
8454 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8455 Classpath.
8456 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8457 Classpath.
8458 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8459 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8460 New statics.
8461 * gcj/javaprims.h ("Java"): Add new classes.
8462 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8463 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8464 java/lang/reflect/Proxy$$ProxyType.h): And this.
8465 (inner_nat_headers): Add these new headers.
8466 (ordinary_java_source_files): Add new files.
8467 (nat_source_files): Add new file.
8468 * Makefile.in: Rebuilt.
8469
8470 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8471
8472 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8473 a single configuration.
8474
8475 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8476
8477 * java/util/TimeZone.java (getDSTSavings): New method.
8478 Fixes PR libgcj/7786.
8479
8480 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8481
8482 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8483 to see if `the_method == 0' before looking up vtable index.
8484 Fixes PR libgcj/7709.
8485
8486 2002-09-25 Tom Tromey <tromey@redhat.com>
8487
8488 * java/lang/natClassLoader.cc:
8489 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8490 * resolve.cc: Include NoClassDefFoundError.h, not
8491 ClassNotFoundException.h.
8492 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8493
8494 * defineclass.cc: Don't include ClassNotFoundException.h.
8495
8496 * resolve.cc: Include StringBuffer.
8497 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8498
8499 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8500 allocated but not initialized.
8501
8502 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8503
8504 Fix for PR libgcj/7766:
8505 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8506 (getNextEntry): Set it.
8507 (closeEntry): Likewise.
8508 (read): Likewise.
8509 (close): Likewise.
8510 (available): Use it.
8511
8512 2002-09-25 Michael Koch <konqueror@gmx.de>
8513
8514 * java/net/DatagramSocket.java
8515 (DatagramSocket): Initialize new instance variables.
8516 (close): Reset new instance variables.
8517 (getLocalAddress): Remove unneeded SecurityManager usage.
8518 (getLocalPort): Check if socket is already bound.
8519 (isConnected): New method.
8520 (getInetAddress): Implemented.
8521 (getPort): Better Implementation, documentation fixed.
8522 (getRemoteSocketAddress): New method.
8523 * java/net/JarURLConnection.java
8524 (element): Typo fixed.
8525 (getMainAttributes): New method.
8526 (getAttributes): New method (stub only).
8527 (getManifest): New method (stub only).
8528 * java/net/NetPermission.java: Added serialVersionsUID.
8529 * java/net/Socket.java
8530 (connect): Check blocking mode of associated channel,
8531 documentation added.
8532 (getLocalSocketAddress): Better implementation.
8533 (getRemoteSocketAddress): Implemented.
8534 (isBound): New method.
8535 (setSendBufferSize): Documentation added.
8536 * java/net/SocketAddress.java: Added serialVersionsUID.
8537 * java/net/SocketPermission.java: Added serialVersionsUID.
8538 * java/net/URL.java
8539 (URL): Wrap for shorter lines, initialize new instance variables,
8540 documentation added.
8541 (equals): Check new instance variables too.
8542 (getContent): Documentation added.
8543 (getPath): Documentation added.
8544 (getAuthority): New method.
8545 (getHost): Documentation added.
8546 (getPort): Documentation added.
8547 (getDefaultPort): New method.
8548 (getProtocol): Documentation added.
8549 (getUserInfo): Documentation added.
8550 (set): Initialize new instance variables, documentation added.
8551 * java/net/URLStreamHandler.java
8552 (setURL): New method.
8553 * java/net/natPlainDatagramSocketImpl.cc
8554 (connect): Fix exception name.
8555 (disconnect): Fix exception name.
8556
8557 2002-09-25 Michael Koch <konqueror@gmx.de>
8558
8559 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8560 * java/nio/channels/DatagramChannel.java:
8561 extends AbstractSelectableChannel
8562 * java/nio/channels/ServerSocketChannel.java:
8563 extends AbstractSelectableChannel
8564 * java/nio/channels/SocketChannel.java:
8565 extends AbstractSelectableChannel
8566 * Makefile.am (ordinary_java_source_files):
8567 java/nio/channels/spi/AbstractSelectableChannel.java added.
8568 * Makefile.in: Regenerated.
8569
8570 2002-09-25 Michael Koch <konqueror@gmx.de>
8571
8572 * java/net/DatagramSocket.java
8573 (DatagramSocket): Exception documentation added.
8574 (bind): Exception documentation added, addded SecurityManager check,
8575 added SocketAddress type check.
8576 (getSoTimeout): Check impl.
8577 (receive): Fix SecurityManager check, check impl, documentation added.
8578 (send): Check channel mode, documentation added.
8579 (connect): New method.
8580 (disconnect): Implemented.
8581 (getLocalSocketAddress): New method.
8582 (getReceiveBufferSize): Check impl.
8583 (setReuseAddress): Check impl.
8584 (getReuseAddress): Check impl.
8585 (setBroadcast): Check impl.
8586 (getBroadcast): Check impl.
8587 (setTrafficClass): Check impl, Documentation cleared.
8588 (getTrafficClass): Check impl.
8589 (getSendBufferSize): Check impl.
8590 (setReceiveBufferSize): Check impl, documentation added.
8591 (setSendBufferSize): Documentation added.
8592 (setDatagramSocketImplFactory): New method.
8593 * java/net/HttpURLConnection.java
8594 (HTTP_INTERNAL_ERROR): The correct code is 500.
8595 (HTTP_NOT_IMPLEMENTED): Added new constant.
8596 (setFollowRedirects): Documentation added.
8597 (getInstanceFollowRedirects): New method.
8598 (setInstanceFollowRedirects): New method.
8599 (setRequestMethod): Documentation added.
8600 (getResponseCode): Documentation added.
8601 (getResponseMessage): Documentation added.
8602 * java/net/JarURLConnection.java
8603 (JarURLConnection): protected since JDK 1.4.
8604 (getJarEntry): java.io.IOException to IOException, documentation added.
8605 (getJarFile): Documentation added.
8606 * java/net/ServerSocket.java
8607 (ServerSocket): Private to public, exception added.
8608 (ServerSocket): java.io.IOException to IOException, documentation added.
8609 (bind): Check socket address type, documentation added.
8610 (bind): java.io.IOException to IOException, documentation added.
8611 (accept): Documentation added.
8612 (implAccept): Check ch is not non-blocking, documentation added.
8613 (setSoTimeout): Documentation fixed.
8614 (setReceiveBufferSize): Documentation added.
8615 * java/net/Socket.java
8616 (Socket): Documentation added.
8617 (bind): Documentation added.
8618 (connect): Check socket address type, documentation added.
8619 (getRemoteSocketAddress): New method.
8620 (getLocalSocketAddress): New method.
8621 (setSoLinger): Documentation added.
8622 (getReuseAddress): New method.
8623 (setReuseAddress): New method.
8624 (getTrafficClass): New method.
8625 (setTrafficClass): New method.
8626 * java/net/URLStreamHandler.java
8627 (openConnection): java.io.IOException to IOException.
8628 (parseURL): Documentation added.
8629 (sameFile): public to protected, documentation added.
8630 (setURL): Documentation added.
8631 * java/nio/IllegalBlockingModeException.java: New file.
8632 * Makefile.am (ordinary_java_source_files):
8633 added java/nio/IllegalBlockingModeException.java
8634 * Makefile.in: Regenerated.
8635
8636 2002-09-25 Michael Koch <konqueror@gmx.de>
8637
8638 * java/net/DatagramPacket
8639 (DatagramPacket): Exception documentation added.
8640 (setData): Likewise.
8641 (setSocketAddress): Likewise.
8642 * java/net/DatagramSocketImpl.java
8643 (peek): Documentation addded.
8644 (peekData): Documentation addded.
8645 (send): Documentation addded.
8646 (receive): Documentation addded.
8647 (connect): New method.
8648 (disconnect): New method.
8649 (joinGroup): New abstract method.
8650 (leaveGroup): New abstract method.
8651 * java/net/InetSocketAddress.java
8652 (InetSocketAddress): Documentation added.
8653 (equals): final keyword added.
8654 (getAddress): final keyword added.
8655 (getHostName): final keyword added.
8656 (getPort): final keyword added.
8657 (hashCode): final keyword added.
8658 (isUnresolved): final keyword added.
8659 * java/net/MulticastSocket.java
8660 (MulticastSocket): Documentation added.
8661 (MulticastSocket): New method.
8662 (joinGroup): Documentation added.
8663 (joinGroup): New method.
8664 (leaveGroup): Documentation added.
8665 (leaveGroup): New method.
8666 (send): Documentation added.
8667 * java/net/NetworkInterface.java
8668 (getByName): Documentation added.
8669 (getByInetAddress): Documentation added.
8670 (getNetworkInterfaces): Documentation added.
8671 * java/net/PlainDatagramSocketImpl.java
8672 (connect): New method.
8673 (disconnect): New method.
8674 * java/net/SocketImpl.java
8675 (create): Documentation added.
8676 (shutdownInput): Convert public to protected, as it always was.
8677 (shutdownOutput): Convert public to protected, as it always was.
8678 * java/net/SocketOptions.java
8679 (whole file): Reintented.
8680 * java/net/URLClassLoader.java
8681 (URLClassLoader): SecurityManager check added, documentation added.
8682 (findResources): Documentation added.
8683 (findClass): Documentation added.
8684 (newInstance): More correct method arguments.
8685 * java/net/URLConnection.java
8686 (connect): Documentation added.
8687 (getContent): Documentation added.
8688 (getPermission): Documentation added.
8689 (getInputStream): Documentation added.
8690 (getOutputStream): Documentation added.
8691 (setDoInput): Throw correct exception, documentation added.
8692 (setDoOutput): Throw correct exception, documentation added.
8693 (setAllowUserInteraction): Throw correct exception, documentation added.
8694 (setUseCaches): Throw correct exception, documentation added.
8695 (setIfModifiedSince): Throw correct exception, documentation added.
8696 (setRequestProperty): Throw exception, documentation added.
8697 (addRequestProperty): Throw exception, documentation added.
8698 (getRequestProperty): Throw exception, documentation added.
8699 (getRequestProperties): Documentation added.
8700 (setContentHandlerFactory): Documentation added.
8701 (guessContentTypeFromName): protected to public.
8702 (setFileNameMap): Documentation added.
8703 * java/net/URLDecoder.java
8704 (URLDecoder): New method.
8705 (decode): Documentation added.
8706 (whole file): Reindented.
8707 * java/net/URLEncoder.java
8708 (encode): Documentation added.
8709 * java/net/natPlainDatagramSocketImpl.cc
8710 (connect): New method.
8711 (disconnect): New method.
8712 * javax/naming/RefAddr:
8713 (addrType): addrType was never final.
8714 (equals): Fix typo in method name.
8715 * javax/naming/BinaryRefAddr:
8716 (equals): Fix typo in method name.
8717
8718 2002-09-22 Tom Tromey <tromey@redhat.com>
8719
8720 Fix for PR libgcj/6576:
8721 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8722 didn't find a given bundle.
8723 (getBundle): Don't require base bundle.
8724 (setParent): Removed old comment.
8725 (tryLocalBundle): Try components even if preceding components were
8726 empty.
8727
8728 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8729
8730 * Makefile.am (all-multi): Fix multilib parallel build.
8731
8732 2002-09-21 Michael Koch <konqueror@gmx.de>
8733
8734 * java/net/Socket.java
8735 (sendUrgentData): New method.
8736 (getChannel): New method.
8737 * java/net/ServerSocket.java
8738 (getChannel): New method.
8739 (isBound): New method.
8740 * java/net/DatagramSocket.java
8741 (DatagramSocket): Two new methods.
8742 (bind): New method.
8743 (getChannel): New method.
8744 (isBound): New method.
8745 (send): Added newline to to make shorter lines.
8746 * java/net/PlainDatagramSocketImpl.java
8747 (mcastGrp): Added argument.
8748 (join): Use new mcastGrp.
8749 (leave): Use new mcastGrp.
8750 (joinGroup): New method.
8751 (leaveGroup): New method.
8752 * java/net/natPlainDatagramSocketImpl.cc
8753 (mcastGrp): Added argument, no yet really implemented.
8754 (getOption): Added newline for shorter lines.
8755 * java/net/natPlainSocketImpl.cc
8756 (read, setOption, getOption): Added newline for shorter lines.
8757
8758 2002-09-19 Tom Tromey <tromey@redhat.com>
8759
8760 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8761 newly-created exception.
8762
8763 2002-09-18 Michael Koch <konqueror@gmx.de>
8764
8765 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8766 java/util/regex/PatternSyntaxException.java:
8767 Merge with classpath, new files.
8768 * Makefile.am (core_java_source_files):
8769 Added java/util/regex/Matcher.java,
8770 java/util/regex/Pattern.java,
8771 java/util/regex/PatternSyntaxException.java
8772 * Makefile.in: Regenerated.
8773 * include/config.h.in: Added HAVE_NET_IF_H.
8774 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8775 Removed #if 0 ... #endif.
8776
8777 2002-09-17 Michael Koch <konqueror@gmx.de>
8778
8779 * java/net/natNetworkInterface.cc:
8780 Removed unneed and yet wrong includes.
8781
8782 2002-09-17 Michael Koch <konqueror@gmx.de>
8783
8784 * java/net/NetworkInterface.java: New file.
8785 * java/net/natNetworkInterface.java: New file.
8786 * configure.in: Added check for net/if.h.
8787 * configure: Regenerated.
8788 * Makefile.am
8789 (ordinary_java_source_files): Added NetworkInterface.java.
8790 (nat_source_files): Added natNetworkInterface.cc.
8791 * Makefile.in: Regenerated.
8792
8793 2002-09-16 Tom Tromey <tromey@redhat.com>
8794
8795 * java/net/URLClassLoader.java (findClass): Code source for a
8796 class from a jar is not necessarily a jar: URL.
8797
8798 2002-09-16 Michael Koch <konqueror@gmx.de>
8799
8800 * java/lang/AssertionError.java:
8801 Merge with classpath, fixes HTML.
8802 * java/rmi/server/LogStream.java:
8803 Merge with classpath, fixes some constants.
8804 * java/net/server/RemoteServer.java:
8805 Merge with classpath, adds serialVersionUID.
8806 * javax/naming/BinaryRefAddr.java:
8807 Merge with classpath, s/equal/equals/.
8808 * javax/naming/NamingException.java:
8809 Merge with classpath, fixed typo.
8810 * javax/naming/RefAddr.java:
8811 Merge with classpath, s/equal/equals/.
8812 * java/awt/Toolkit.java:
8813 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8814 and typo fixed.
8815
8816 2002-09-15 Adam Megacz <adam@xwt.org>
8817
8818 * java/net/natPlainSocketImpl.cc: fixed typo.
8819
8820 2002-09-15 Adam Megacz <adam@xwt.org>
8821
8822 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8823 which don't work on Win32 (yet).
8824
8825 2002-09-14 Adam Megacz <adam@xwt.org>
8826
8827 * java/net/natPlainDatagramSocket.cc: removed #include
8828 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8829 * include/win32.h: included definition for IP_TOS to satisfy
8830 natPlainDatagramSocket.cc
8831
8832 2002-09-13 Michael Koch <konqueror@gmx.de>
8833
8834 * java/net/DatagramPacket.java (DatagramPacket):
8835 Added linebreak for 80 chars per line.
8836 * java/net/JarURLConection.java
8837 (getInputStreami, getJarEntry): Likewise.
8838 * java/net/SocketPErmission.java
8839 (SocketPermission class docu, implies): Likewise.
8840 * java/net/URLClassLoader.java (findResources): Likewise.
8841 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8842
8843 2002-09-13 Michael Koch <konqueror@gmx.de>
8844
8845 * java/nio/channels/DatagramChannel.java,
8846 java/nio/channels/ServerSocketChannel.java
8847 java/nio/channels/SocketChannel.java:
8848 New dummy files to make java.net fully JDK 1.4 compatible
8849 * Makefile.am (ordinary_java_source_files): Added
8850 java/net/DatagramSocketImplFactory.java (long forgotten),
8851 java/nio/SocketChannel.java,
8852 java/nio/ServerSocketChannel.java,
8853 java/nio/DatagramChannel.java
8854 * Makefile.in: Regenrated.
8855
8856 2002-09-12 Michael Koch <konqueror@gmx.de>
8857
8858 * java/net/DatagramSocketImpl.java
8859 (peekData): New method.
8860 * java/net/PlainDatagramSocketImpl.java
8861 (peekData): New method.
8862 * java/net/natPlainDatagramSocketImpl.cc
8863 (peekData): New method.
8864 * java/net/URLConnection
8865 (getPermission): New method.
8866 (addRequestProperty): New method.
8867 (getRequestProperties): New method.
8868 (guessContentTypeFromStream): New method, not really implemented.
8869 (URLConnection): Added/updated documentation.
8870 (connect): Added/updated documentation.
8871 (getURL): Added/updated documentation.
8872 (getContentLength): Added/updated documentation.
8873 (getContentType: Added/updated documentation.
8874 (getContentEncoding): Added/updated documentation.
8875 (getExpiration): Added/updated documentation.
8876 (getDate): Added/updated documentation.
8877 (getLastModified): Added/updated documentation.
8878 (getHeaderField): Added/updated documentation.
8879 (getHeaderFields): Added/updated documentation.
8880 (getHeaderFieldInt): Added/updated documentation.
8881 (getHeaderFieldDate): Added/updated documentation.
8882 (getHeaderFieldKey): Added/updated documentation.
8883 (getContent): Added/updated documentation.
8884 (getInputStream): Added/updated documentation.
8885 (getOutputStream): Added/updated documentation.
8886 (toString): Added/updated documentation.
8887 (setDoInput): Added/updated documentation.
8888 (getDoInput): Added/updated documentation.
8889 (setDoOutput): Added/updated documentation.
8890 (getDoOutput): Added/updated documentation.
8891 (setAllowUserInteraction): Added/updated documentation.
8892 (getAllowUserInteraction): Added/updated documentation.
8893 (setDefaultAllowUserInteraction): Added/updated documentation.
8894 (getDefaultAllowUserInteraction): Added/updated documentation.
8895 (setUseCaches): Added/updated documentation.
8896 (getUseCaches): Added/updated documentation.
8897 (setIfModifiedSince): Added/updated documentation.
8898 (getIfModifiedSince): Added/updated documentation.
8899 (getDefaultUseCaches): Added/updated documentation.
8900 (setDefaultUseCaches): Added/updated documentation.
8901 (setRequestProperty): Added/updated documentation.
8902 (getRequestProperty): Added/updated documentation.
8903 (setDefaultRequestProperty): Added/updated documentation.
8904 (getDefaultRequestProperty): Added/updated documentation.
8905 (setContentHandlerFactory): Added/updated documentation.
8906 (guessContentTypeFromName): Added/updated documentation.
8907 (getFileNameMap): Added/updated documentation.
8908 (setFileNameMap): Added/updated documentation.
8909
8910 2002-09-11 Michael Koch <konqueror@gmx.de>
8911
8912 * java/net/Socket.java
8913 (Socket): protected to public (since JDK 1.4). Added @specnote.
8914 (bind): New method.
8915 (connect): Two new methods.
8916 (getKeepalive): Get correct socket option.
8917 (setKeepalive): Set correct socket option.
8918 (getOOBInline): New method.
8919 (setOOBInline): New method.
8920 * java/net/ServerSocket.java
8921 (bind): Two new methods.
8922 (getInetAddress): Reimplemented, catch exception.
8923 (getLocalSocketAddress): New method.
8924 (setReuseAddress): New method.
8925 (getReuseAdress): New method.
8926 (setReceiveBufferSize): New method.
8927 (getReceiveBufferSize): New method.
8928 (toString): Made string JDK 1.4 compliant.
8929
8930 2002-09-10 Michael Koch <konqueror@gmx.de>
8931
8932 * java/net/SocketImpl.java
8933 (connect): New method.
8934 (supportsUrgentData): New method.
8935 (sendUrgentData): New method.
8936 * java/net/PlainSocketImpl.java
8937 (connect): One new method and two new implementation.
8938 (sendUrgentData): New method.
8939 * java/natPlainSocketImpl.cc
8940 (connect): Arguments changed, added support for timeouts.
8941 (getOption): Another __java_boolean to jboolean.
8942
8943 2002-09-07 Adam Megacz <adam@xwt.org>
8944
8945 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8946 definition of IP_TOS.
8947
8948 2002-09-04 Michael Koch <konqueror@gmx.de>
8949
8950 * java/net/DatagramSocket.java
8951 (DatagramSocket): Added documentation.
8952 (close): Likewise.
8953 (getLocalAddress): Likewise.
8954 (getLocalPort): Likewise.
8955 (receive): Likewise.
8956 (send): Likewise.
8957 (setSoTimeout): Likewise.
8958 (connect): New method.
8959 (disconnect): New method.
8960 (getInetAddress): New method (FIXME)
8961 (getPort): New method.
8962 (setReuseAddress): New method.
8963 (getReuseAddress): New method.
8964 (setBroadcast): New method.
8965 (getBroadcast): New method.
8966 (setTrafficClass): New method.
8967 (getTrafficClass): New method.
8968 * java/net/MulticastSocket.java):
8969 (getTTL): Added @see in documentation.
8970 (setTTL): Added @see in documentation.
8971 (setLoopbackMode): New method.
8972 (getLoopbackMode): New method.
8973 * java/net/PlainSocketImpl.java:
8974 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8975 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8976 * java/net/PlainDatagramSocketImpl.java
8977 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8978 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8979 * java/net/natPlainSocketImpl.cc
8980 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8981 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8982 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8983 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8984 This should also fix SO_KEEPALIVE
8985 * java/net/natPlainDatagramSocketImpl.cc
8986 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8987 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8988 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8989 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8990
8991 2002-09-04 Michael Koch <konqueror@gmx.de>
8992
8993 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8994 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8995 IP_MULTICAST_LOOP, IP_TOS
8996
8997 2002-09-03 Tom Tromey <tromey@redhat.com>
8998
8999 * java/lang/Class.h (_getDeclaredMethod): Declare.
9000 (_getMethod): Now private.
9001 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9002 getDeclaredMethod. Now returns NULL on failure.
9003 * java/lang/Class.java (_getDeclaredMethod): Declare.
9004 (getDeclaredMethod): No longer native; implements access checks.
9005
9006 2002-09-01 Mark Wielaard <mark@klomp.org>
9007
9008 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9009 (sanitizeStack): Correctly reset unknown and interpreter counters,
9010 detect interpreter runtime frames.
9011 (demangleInterpreterMethod): New method.
9012 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9013 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9014 filling in addrs[].
9015
9016 2002-09-02 Michael Koch <konqueror@gmx.de>
9017
9018 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9019 re-indented documentation.
9020
9021 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9022
9023 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9024 public, per 1.4 spec. Fixes PR libgcj/7785.
9025
9026 2002-08-30 Jeff Sturm <jsturm@one-point.com>
9027
9028 * Makefile.in: Rebuilt.
9029 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9030
9031 2002-08-29 Tom Tromey <tromey@redhat.com>
9032
9033 * java/net/JarURLConnection.java (getCertificates): New method
9034 from Classpath.
9035 * java/net/URLClassLoader.java (URLClassLoader): Extends
9036 SecureClassLoader.
9037 (definePackage): New method from Classpath.
9038 (getPermissions): Likewise.
9039 (newInstance): Likewise.
9040 (findClass): Construct CodeSource for new class (from Classpath).
9041 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9042 methods.
9043 * java/net/URL.java (getUserInfo): New method.
9044 (set(String,String,int,String,String,String,String,String)): New
9045 method.
9046 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9047 (shutdownInput, shutdownOutput): Declare.
9048 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9049 Define.
9050 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9051 (getOption): Likewise.
9052 (shutdownInput): New method.
9053 (shutdownOutput): Likewise.
9054 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9055 keepalive.
9056 (getOption): Likewise.
9057 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9058 * java/net/Socket.java (setKeepAlive): New method.
9059 (getKeepAlive): Likewise.
9060 (shutdownInput, shutdownOutput): New methods.
9061
9062 2002-08-29 Michael Koch <konqueror@gmx.de>
9063
9064 * java/net/DatagramPacket.java: updated to JDK 1.4 API
9065 new methods are:
9066 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9067 address),
9068 DatagramPacket(byte[] buf, int length, SocketAddress address),
9069 void setSocketAddress(SocketAddress address)
9070 public SocketAddress getSocketAddress()
9071
9072 2002-08-29 Tom Tromey <tromey@redhat.com>
9073
9074 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9075 ftruncate is missing.
9076 * configure, include/config.h.in: Rebuilt.
9077 * acconfig.h (HAVE_FTRUNCATE): Mention.
9078 * configure.in: Check for ftruncate.
9079
9080 2002-08-29 Tom Tromey <tromey@redhat.com>
9081
9082 * include/jvm.h (struct _Jv_frame_info): New structure.
9083 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9084 java-interp.h.
9085 (lookupInterp): New method.
9086 (getAddrAsString): Use _Jv_frame_info.
9087 (dladdrLookup): Likewise.
9088 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9089 interpreted frame.
9090 (lookupInterp): Declare.
9091 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9092 (fillInStackTrace): Collect information on interpreted frames.
9093 Use _Jv_frame_info.
9094 * interpret.cc: Include Thread.h.
9095 (run): Create and push _Jv_MethodChain object.
9096 (_Jv_EndOfInterpreter): New global.
9097 * java/lang/Thread.java (interp_frame): New field.
9098 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9099 Include NameFinder.h.
9100
9101 2002-08-28 Tom Tromey <tromey@redhat.com>
9102
9103 * java/lang/Class.h: Include Package.h.
9104 (Class::getProtectionDomain): Declare.
9105 (Class::getPackage): Declare.
9106
9107 2002-08-28 Michael Koch <konqueror@gmx.de>
9108
9109 * java/net/InetSocketAddress.java: Added some documentation and argument
9110 checks for the port numbers.
9111 * java/net/DatagramSocketImplFactory.java: New file.
9112
9113 2002-08-28 Michael Koch <konqueror@gmx.de>
9114
9115 * java/net/Authenticator.java: added some documentation.
9116
9117 2002-08-27 Tom Tromey <tromey@redhat.com>
9118
9119 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9120 class.
9121 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9122
9123 2002-08-27 Michael Koch <konqueror@gmx.de>
9124
9125 * java/net/BindException.java,
9126 java/net/JarURLConnection.java,
9127 java/net/FileNameMap.java,
9128 java/net/HttpURLConnection.java,
9129 java/net/InetSocketAddress.java,
9130 java/net/DatagramPacket.java,
9131 java/net/DatagramSocket.java,
9132 java/net/DatagramSocketImpl.java,
9133 java/net/MulticastSocket.java,
9134 java/net/PasswordAuthentication.java,
9135 java/net/ServerSocket.java,
9136 java/net/Socket.java,
9137 java/net/URLClassLoader.java,
9138 java/net/URLConnection.java: add/update of some @since/@deprecated
9139
9140 2002-08-27 Tony Kimball <alk@pobox.com>
9141 Tom Tromey <tromey@redhat.com>
9142
9143 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9144 define.
9145 (::close): Removed.
9146 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9147 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9148 (::close): Removed.
9149 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9150 * include/win32.h (getcwd): Removed declaration. Include io.h.
9151
9152 2002-08-25 Adam Megacz <adam@xwt.org>
9153
9154 * include/win32.h (getcwd): copied function declaration as
9155 temporary fix for header confusion.
9156
9157 2002-08-24 Mark Wielaard <mark@klomp.org>
9158
9159 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9160 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9161 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9162 and natNameFinder.cc.
9163 * Makefile.in: Regenerate.
9164 * prims.cc: Use trace_enabled from VMThrowable.
9165 * name-finder.cc: Removed.
9166 * gcj/javaprims.h: Add class VMThrowable.
9167 * gnu/gcj/runtime/NameFinder.java: New file.
9168 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9169 * include/name-finder.h: Removed.
9170 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9171 method stackTraceString().
9172 (printStackTrace (PrintWriter)): Likewise.
9173 (stackTraceString): Complete rewrite of old printStackTrace using
9174 StringBuffer.
9175 (stackTraceStringBuffer): New helper method for stackTraceString().
9176 (fillInStackTrace): Delegate to VMTrowable.
9177 (getStackTrace): Likewise.
9178 (getStackTrace0): Removed.
9179 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9180 (setStackTrace): Copy given array.
9181 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9182 * java/lang/VMThrowable.java: New class.
9183 * java/lang/natVMThrowable.cc: New file.
9184
9185 2003-08-23 Michael Koch <konqueror@gmx.de>
9186
9187 * java/net/URLConnection.java,
9188 java/netJarURLConnection.java,
9189 gnu/gcj/protocol/core/Connection.java,
9190 gnu/gcj/protocol/file/Connection.java,
9191 gnu/gcj/protocol/http/Connection.java: Added implementation of
9192 getHeaderFields().
9193
9194 2002-08-22 Tom Tromey <tromey@redhat.com>
9195
9196 * gij.cc (help): Document -cp and -classpath.
9197 (main): Handle -classpath.
9198
9199 2002-08-21 Tom Tromey <tromey@redhat.com>
9200
9201 * Makefile.in: Rebuilt.
9202 * Makefile.am (ordinary_java_source_files): Added
9203 SocketAddress.java, InetSocketAddress.java.
9204 * java/net/PortUnreachableException.java: Merged with Classpath.
9205 * java/net/SocketTimeoutException.java: Likewise.
9206 * java/net/URISyntaxException.java: Likewise.
9207 * java/net/SocketAddress.java: New class from Classpath.
9208 * java/net/InetSocketAddress.java: Likewise.
9209
9210 2003-08-21 Michael Koch <konqueror@gmx.de>
9211
9212 * java/net/Authenticator.java: updated JDK 1.4
9213 * java/net/ContentHandler.java: updated JDK 1.4
9214
9215 2002-08-20 Michael Koch <konqueror@gmx.de>
9216
9217 * java/net/URISyntaxException.java: New file.
9218 * java/net/SocketTimeoutException.java: New file.
9219 * java/net/PortUnreachableException.java: New file.
9220 * Makefile.am: Updated.
9221 * Makefile.in: Rebuilt.
9222
9223 2002-08-18 Mark Wielaard <mark@klomp.org>
9224
9225 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9226 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9227 MessageDigestSpi (fixes Classpath bug #783).
9228
9229 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9230
9231 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9232 (startProcess): Allocate path for chdir in async-signal-safe way.
9233
9234 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9235
9236 Fix for PR libgcj/7570 and PR libgcj/7578:
9237 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9238 (startProcess): Handle new `dir' argument.
9239 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9240 argument.
9241 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9242 argument.
9243 (startProcess): Likewise.
9244 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9245 argument.
9246 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9247 (exec): Don't create new environment if ENV==null. Pass DIR to
9248 execInternal.
9249 * java/lang/natRuntime.cc: Include java/io/File.h.
9250 (execInternal): Added `dir' argument.
9251
9252 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9253
9254 * java/io/RandomAccessFile.java (skipBytes): Return number of
9255 bytes skipped.
9256
9257 2002-08-01 Mark Wielaard <mark@klomp.org>
9258
9259 Reenable patch since shared library troubles on powerpc are solved:
9260 * gnu/java/security/provider/Gnu.java: Reference all implementation
9261 classes by using Class.getName().
9262 * gnu/java/security/der/DEREncodingException.java,
9263 gnu/java/security/provider/DERReader.java,
9264 gnu/java/security/provider/DERWriter.java,
9265 gnu/java/security/provider/DSAKeyPairGenerator.java,
9266 gnu/java/security/provider/DSAParameterGenerator.java,
9267 gnu/java/security/provider/DSAParameters.java,
9268 gnu/java/security/provider/DSASignature.java,
9269 gnu/java/security/provider/GnuDSAPrivateKey.java,
9270 gnu/java/security/provider/GnuDSAPublicKey.java,
9271 gnu/java/security/provider/MD5.java,
9272 gnu/java/security/util/Prime.java: New classes
9273 * Makefile.am (ordinary_java_source_files): Add above files.
9274 * Makefile.in: Regenerate.
9275 * gnu/java/security/provider/DefaultPolicy.java
9276 (getPermissions): Don't maintain static class variable of Permissions.
9277 * gnu/java/security/provider/SHA.java
9278 (engineUpdate): algorithm change.
9279 (engineDigest): algorithm change.
9280
9281 2002-08-09 Mark Wielaard <mark@klomp.org>
9282
9283 * java/awt/image/MemoryImageSource.java: Change constructor to take
9284 int[] not byte[].
9285 * java/awt/Graphics2D.java: Uncomment methods that can now be
9286 compiled.
9287 * java/awt/GridBagLayout.java: New stub implementation.
9288 * javax/swing/text/html/HTML.java: Stub implementation.
9289 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9290 implementation.
9291
9292 * Makefile.am: Add new files.
9293 * Makefile.in: Rebuilt.
9294
9295 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9296
9297 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9298 methods in Graphics2D.
9299
9300 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9301
9302 AWT/Swing merge from GNU Classpath.
9303
9304 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9305 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9306 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9307 java/awt/color/ProfileDataException.java,
9308 java/awt/CompositeContext.java, java/awt/Composite.java,
9309 java/awt/ContainerOrderFocusTraversalPolicy.java,
9310 java/awt/datatransfer/FlavorTable.java,
9311 java/awt/DefaultFocusTraversalPolicy.java,
9312 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9313 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9314 java/awt/dnd/DragGestureListener.java,
9315 java/awt/dnd/DragGestureRecognizer.java,
9316 java/awt/dnd/DragSourceAdapter.java,
9317 java/awt/dnd/DragSourceContext.java,
9318 java/awt/dnd/DragSourceDragEvent.java,
9319 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9320 java/awt/dnd/DragSourceListener.java,
9321 java/awt/dnd/DragSourceMotionListener.java,
9322 java/awt/dnd/DropTarget.java,
9323 java/awt/dnd/InvalidDnDOperationException.java,
9324 java/awt/dnd/peer/DragSourceContextPeer.java,
9325 java/awt/event/AWTEventListenerProxy.java,
9326 java/awt/event/MouseWheelEvent.java,
9327 java/awt/event/MouseWheelListener.java,
9328 java/awt/event/WindowFocusListener.java,
9329 java/awt/event/WindowStateListener.java,
9330 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9331 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9332 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9333 java/awt/geom/FlatteningPathIterator.java,
9334 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9335 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9336 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9337 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9338 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9339 java/awt/image/ImagingOpException.java,
9340 java/awt/image/RasterFormatException.java,
9341 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9342 java/awt/image/VolatileImage.java,
9343 java/awt/image/WritableRenderedImage.java,
9344 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9345 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9346 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9347 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9348 java/awt/PageAttributes.java, java/awt/print/Book.java,
9349 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9350 java/awt/print/Paper.java, java/awt/print/Printable.java,
9351 java/awt/print/PrinterAbortException.java,
9352 java/awt/print/PrinterException.java,
9353 java/awt/print/PrinterGraphics.java,
9354 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9355 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9356 java/awt/Stroke.java, java/awt/TexturePaint.java,
9357 javax/accessibility/AccessibleAction.java,
9358 javax/accessibility/AccessibleBundle.java,
9359 javax/accessibility/AccessibleComponent.java,
9360 javax/accessibility/AccessibleContext.java,
9361 javax/accessibility/AccessibleEditableText.java,
9362 javax/accessibility/AccessibleExtendedComponent.java,
9363 javax/accessibility/AccessibleExtendedTable.java,
9364 javax/accessibility/AccessibleHyperlink.java,
9365 javax/accessibility/AccessibleHypertext.java,
9366 javax/accessibility/AccessibleIcon.java,
9367 javax/accessibility/Accessible.java,
9368 javax/accessibility/AccessibleKeyBinding.java,
9369 javax/accessibility/AccessibleRelation.java,
9370 javax/accessibility/AccessibleRelationSet.java,
9371 javax/accessibility/AccessibleResourceBundle.java,
9372 javax/accessibility/AccessibleRole.java,
9373 javax/accessibility/AccessibleSelection.java,
9374 javax/accessibility/AccessibleState.java,
9375 javax/accessibility/AccessibleStateSet.java,
9376 javax/accessibility/AccessibleTable.java,
9377 javax/accessibility/AccessibleTableModelChange.java,
9378 javax/accessibility/AccessibleText.java,
9379 javax/accessibility/AccessibleValue.java,
9380 javax/swing/AbstractAction.java,
9381 javax/swing/AbstractButton.java,
9382 javax/swing/AbstractCellEditor.java,
9383 javax/swing/AbstractListModel.java,
9384 javax/swing/AbstractSet.java, javax/swing/Action.java,
9385 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9386 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9387 javax/swing/border/CompoundBorder.java,
9388 javax/swing/border/EmptyBorder.java,
9389 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9390 javax/swing/border/LineBorder.java,
9391 javax/swing/border/MatteBorder.java,
9392 javax/swing/border/TitledBorder.java,
9393 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9394 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9395 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9396 javax/swing/CellRendererPane.java,
9397 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9398 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9399 javax/swing/colorchooser/ColorSelectionModel.java,
9400 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9401 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9402 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9403 javax/swing/DefaultBoundedRangeModel.java,
9404 javax/swing/DefaultButtonModel.java,
9405 javax/swing/DefaultCellEditor.java,
9406 javax/swing/DefaultCellRenderer.java,
9407 javax/swing/DefaultComboBoxModel.java,
9408 javax/swing/DefaultDesktopManager.java,
9409 javax/swing/DefaultFocusManager.java,
9410 javax/swing/DefaultListCellRenderer.java,
9411 javax/swing/DefaultListModel.java,
9412 javax/swing/DefaultListSelectionModel.java,
9413 javax/swing/DefaultSingleSelectionModel.java,
9414 javax/swing/DesktopManager.java,
9415 javax/swing/event/AncestorEvent.java,
9416 javax/swing/event/AncestorListener.java,
9417 javax/swing/event/CaretEvent.java,
9418 javax/swing/event/CaretListener.java,
9419 javax/swing/event/CellEditorListener.java,
9420 javax/swing/event/ChangeEvent.java,
9421 javax/swing/event/ChangeListener.java,
9422 javax/swing/event/DocumentEvent.java,
9423 javax/swing/event/DocumentListener.java,
9424 javax/swing/event/EventListenerList.java,
9425 javax/swing/event/HyperlinkEvent.java,
9426 javax/swing/event/HyperlinkListener.java,
9427 javax/swing/event/InternalFrameAdapter.java,
9428 javax/swing/event/InternalFrameEvent.java,
9429 javax/swing/event/InternalFrameListener.java,
9430 javax/swing/event/ListDataEvent.java,
9431 javax/swing/event/ListDataListener.java,
9432 javax/swing/event/ListSelectionEvent.java,
9433 javax/swing/event/ListSelectionListener.java,
9434 javax/swing/event/MenuDragMouseEvent.java,
9435 javax/swing/event/MenuDragMouseListener.java,
9436 javax/swing/event/MenuEvent.java,
9437 javax/swing/event/MenuKeyEvent.java,
9438 javax/swing/event/MenuKeyListener.java,
9439 javax/swing/event/MenuListener.java,
9440 javax/swing/event/MouseInputAdapter.java,
9441 javax/swing/event/MouseInputListener.java,
9442 javax/swing/event/PopupMenuEvent.java,
9443 javax/swing/event/PopupMenuListener.java,
9444 javax/swing/event/SwingPropertyChangeSupport.java,
9445 javax/swing/event/TableColumnModelEvent.java,
9446 javax/swing/event/TableColumnModelListener.java,
9447 javax/swing/event/TableModelEvent.java,
9448 javax/swing/event/TableModelListener.java,
9449 javax/swing/event/TreeExpansionEvent.java,
9450 javax/swing/event/TreeExpansionListener.java,
9451 javax/swing/event/TreeModelEvent.java,
9452 javax/swing/event/TreeModelListener.java,
9453 javax/swing/event/TreeSelectionEvent.java,
9454 javax/swing/event/TreeSelectionListener.java,
9455 javax/swing/event/TreeWillExpandListener.java,
9456 javax/swing/event/UndoableEditEvent.java,
9457 javax/swing/event/UndoableEditListener.java,
9458 javax/swing/filechooser/FileFilter.java,
9459 javax/swing/filechooser/FileSystemView.java,
9460 javax/swing/filechooser/FileView.java,
9461 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9462 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9463 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9464 javax/swing/JApplet.java, javax/swing/JButton.java,
9465 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9466 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9467 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9468 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9469 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9470 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9471 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9472 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9473 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9474 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9475 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9476 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9477 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9478 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9479 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9480 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9481 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9482 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9483 javax/swing/JToolTip.java, javax/swing/JTree.java,
9484 javax/swing/JViewport.java, javax/swing/JWindow.java,
9485 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9486 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9487 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9488 javax/swing/MenuSelectionManager.java,
9489 javax/swing/MutableComboBoxModel.java,
9490 javax/swing/OverlayLayout.java,
9491 javax/swing/plaf/ActionMapUIResource.java,
9492 javax/swing/plaf/basic/BasicBorders.java,
9493 javax/swing/plaf/basic/BasicButtonUI.java,
9494 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9495 javax/swing/plaf/basic/BasicDefaults.java,
9496 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9497 javax/swing/plaf/basic/BasicIconFactory.java,
9498 javax/swing/plaf/basic/BasicLabelUI.java,
9499 javax/swing/plaf/basic/BasicListUI.java,
9500 javax/swing/plaf/basic/BasicLookAndFeel.java,
9501 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9502 javax/swing/plaf/basic/BasicPanelUI.java,
9503 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9504 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9505 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9506 javax/swing/plaf/basic/BasicTextUI.java,
9507 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9508 javax/swing/plaf/basic/BasicTreeUI.java,
9509 javax/swing/plaf/basic/BasicViewportUI.java,
9510 javax/swing/plaf/BorderUIResource.java,
9511 javax/swing/plaf/ButtonUI.java,
9512 javax/swing/plaf/ColorChooserUI.java,
9513 javax/swing/plaf/ColorUIResource.java,
9514 javax/swing/plaf/ComboBoxUI.java,
9515 javax/swing/plaf/ComponentInputMapUIResource.java,
9516 javax/swing/plaf/ComponentUI.java,
9517 javax/swing/plaf/DesktopIconUI.java,
9518 javax/swing/plaf/DesktopPaneUI.java,
9519 javax/swing/plaf/DimensionUIResource.java,
9520 javax/swing/plaf/FileChooserUI.java,
9521 javax/swing/plaf/FontUIResource.java,
9522 javax/swing/plaf/IconUIResource.java,
9523 javax/swing/plaf/InputMapUIResource.java,
9524 javax/swing/plaf/InsetsUIResource.java,
9525 javax/swing/plaf/InternalFrameUI.java,
9526 javax/swing/plaf/LabelUI.java,
9527 javax/swing/plaf/ListUI.java,
9528 javax/swing/plaf/MenuBarUI.java,
9529 javax/swing/plaf/MenuItemUI.java,
9530 javax/swing/plaf/OptionPaneUI.java,
9531 javax/swing/plaf/PanelUI.java,
9532 javax/swing/plaf/PopupMenuUI.java,
9533 javax/swing/plaf/ProgressBarUI.java,
9534 javax/swing/plaf/RootPaneUI.java,
9535 javax/swing/plaf/ScrollBarUI.java,
9536 javax/swing/plaf/ScrollPaneUI.java,
9537 javax/swing/plaf/SeparatorUI.java,
9538 javax/swing/plaf/SliderUI.java,
9539 javax/swing/plaf/SplitPaneUI.java,
9540 javax/swing/plaf/TabbedPaneUI.java,
9541 javax/swing/plaf/TableHeaderUI.java,
9542 javax/swing/plaf/TableUI.java,
9543 javax/swing/plaf/TextUI.java,
9544 javax/swing/plaf/ToolBarUI.java,
9545 javax/swing/plaf/ToolTipUI.java,
9546 javax/swing/plaf/TreeUI.java,
9547 javax/swing/plaf/UIResource.java,
9548 javax/swing/plaf/ViewportUI.java,
9549 javax/swing/ProgressMonitorInputStream.java,
9550 javax/swing/ProgressMonitor.java,
9551 javax/swing/Renderer.java,
9552 javax/swing/RepaintManager.java,
9553 javax/swing/RootPaneContainer.java,
9554 javax/swing/Scrollable.java,
9555 javax/swing/ScrollPaneConstants.java,
9556 javax/swing/ScrollPaneLayout.java,
9557 javax/swing/SingleSelectionModel.java,
9558 javax/swing/SizeRequirements.java,
9559 javax/swing/SizeSequence.java,
9560 javax/swing/SwingConstants.java,
9561 javax/swing/SwingUtilities.java,
9562 javax/swing/table/AbstractTableModel.java,
9563 javax/swing/table/DefaultTableCellRenderer.java,
9564 javax/swing/table/DefaultTableColumnModel.java,
9565 javax/swing/table/DefaultTableModel.java,
9566 javax/swing/table/TableCellEditor.java,
9567 javax/swing/table/TableCellRenderer.java,
9568 javax/swing/table/TableColumn.java,
9569 javax/swing/table/TableColumnModel.java,
9570 javax/swing/table/TableModel.java,
9571 javax/swing/text/AbstractDocument.java,
9572 javax/swing/text/AttributeSet.java,
9573 javax/swing/text/BadLocationException.java,
9574 javax/swing/text/Caret.java,
9575 javax/swing/text/CharacterIterator.java,
9576 javax/swing/text/ComponentView.java,
9577 javax/swing/text/DefaultCaret.java,
9578 javax/swing/text/DefaultEditorKit.java,
9579 javax/swing/text/Document.java,
9580 javax/swing/text/EditorKit.java,
9581 javax/swing/text/Element.java,
9582 javax/swing/text/GapContent.java,
9583 javax/swing/text/JTextComponent.java,
9584 javax/swing/text/Keymap.java,
9585 javax/swing/text/MutableAttributeSet.java,
9586 javax/swing/text/PlainDocument.java,
9587 javax/swing/text/PlainEditorKit.java,
9588 javax/swing/text/Position.java,
9589 javax/swing/text/Segment.java,
9590 javax/swing/text/StyledDocument.java,
9591 javax/swing/text/StyledEditorKit.java,
9592 javax/swing/text/Style.java,
9593 javax/swing/text/TextAction.java,
9594 javax/swing/text/ViewFactory.java,
9595 javax/swing/text/View.java,
9596 javax/swing/Timer.java,
9597 javax/swing/ToggleButtonModel.java,
9598 javax/swing/ToolTipManager.java,
9599 javax/swing/tree/AbstractLayoutCache.java,
9600 javax/swing/tree/DefaultMutableTreeNode.java,
9601 javax/swing/tree/DefaultTreeCellEditor.java,
9602 javax/swing/tree/DefaultTreeCellRenderer.java,
9603 javax/swing/tree/DefaultTreeModel.java,
9604 javax/swing/tree/DefaultTreeSelectionModel.java,
9605 javax/swing/tree/ExpandVetoException.java,
9606 javax/swing/tree/FixedHeightLayoutCache.java,
9607 javax/swing/tree/MutableTreeNode.java,
9608 javax/swing/tree/RowMapper.java,
9609 javax/swing/tree/TreeCellEditor.java,
9610 javax/swing/tree/TreeCellRenderer.java,
9611 javax/swing/tree/TreeModel.java,
9612 javax/swing/tree/TreeNode.java,
9613 javax/swing/tree/TreePath.java,
9614 javax/swing/tree/TreeSelectionModel.java,
9615 javax/swing/tree/VariableHeightLayoutCache.java,
9616 javax/swing/UIDefaults.java,
9617 javax/swing/UIManager.java,
9618 javax/swing/undo/AbstractUndoableEdit.java,
9619 javax/swing/undo/CannotRedoException.java,
9620 javax/swing/undo/CannotUndoException.java,
9621 javax/swing/undo/CompoundEdit.java,
9622 javax/swing/undo/StateEditable.java,
9623 javax/swing/undo/StateEdit.java,
9624 javax/swing/undo/UndoableEdit.java,
9625 javax/swing/undo/UndoableEditSupport.java,
9626 javax/swing/undo/UndoManager.java,
9627 javax/swing/UnsupportedLookAndFeelException.java,
9628 javax/swing/ViewportLayout.java,
9629 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9630
9631 * java/awt/ActiveEvent.java,
9632 java/awt/Adjustable.java, java/awt/AWTError.java,
9633 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9634 java/awt/AWTException.java, java/awt/AWTPermission.java,
9635 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9636 java/awt/Color.java, java/awt/Component.java,
9637 java/awt/ComponentOrientation.java, java/awt/Container.java,
9638 java/awt/datatransfer/MimeTypeParseException.java,
9639 java/awt/datatransfer/Transferable.java,
9640 java/awt/datatransfer/UnsupportedFlavorException.java,
9641 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9642 java/awt/event/ActionListener.java,
9643 java/awt/event/AdjustmentEvent.java,
9644 java/awt/event/AdjustmentListener.java,
9645 java/awt/event/AWTEventListener.java,
9646 java/awt/event/ComponentAdapter.java,
9647 java/awt/event/ComponentEvent.java,
9648 java/awt/event/ComponentListener.java,
9649 java/awt/event/ContainerAdapter.java,
9650 java/awt/event/ContainerEvent.java,
9651 java/awt/event/ContainerListener.java,
9652 java/awt/event/FocusAdapter.java,
9653 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9654 java/awt/event/HierarchyBoundsAdapter.java,
9655 java/awt/event/HierarchyBoundsListener.java,
9656 java/awt/event/HierarchyEvent.java,
9657 java/awt/event/HierarchyListener.java,
9658 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9659 java/awt/event/InputMethodListener.java,
9660 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9661 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9662 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9663 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9664 java/awt/event/MouseListener.java,
9665 java/awt/event/MouseMotionAdapter.java,
9666 java/awt/event/MouseMotionListener.java,
9667 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9668 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9669 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9670 java/awt/event/WindowListener.java, java/awt/Font.java,
9671 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9672 java/awt/geom/Ellipse2D.java,
9673 java/awt/geom/IllegalPathStateException.java,
9674 java/awt/geom/Line2D.java,
9675 java/awt/geom/NoninvertibleTransformException.java,
9676 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9677 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9678 java/awt/geom/RoundRectangle2D.java,
9679 java/awt/GraphicsConfiguration.java,
9680 java/awt/IllegalComponentStateException.java,
9681 java/awt/image/IndexColorModel.java,
9682 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9683 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9684 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9685 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9686 java/awt/MenuItem.java, java/awt/PaintContext.java,
9687 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9688 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9689 java/awt/PrintJob.java, java/awt/Rectangle.java,
9690 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9691 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9692 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9693
9694 * java/awt/im/spi/InputMethod.java,
9695 java/awt/im/spi/InputMethodContext.java,
9696 java/awt/im/spi/InputMethodDescriptor.java,
9697 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9698 java/awt/image/renderable/ParameterBlock.java,
9699 java/awt/image/renderable/RenderContext.java,
9700 java/awt/image/renderable/RenderableImage.java,
9701 java/awt/image/renderable/RenderableImageOp.java,
9702 java/awt/image/renderable/RenderableImageProducer.java,
9703 java/awt/image/renderable/RenderedImageFactory.java: New files from
9704 classpath.
9705
9706 * gnu/java/awt/EventModifier.java,
9707 gnu/java/awt/image/ImageDecoder.java,
9708 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9709
9710 * gnu/awt/xlib/XGraphicsConfiguration.java,
9711 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9712 API.
9713
9714 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9715 GNU Classpath.
9716
9717 * Makefile.am: Add new files.
9718 * Makefile.in: Rebuilt.
9719
9720 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9721
9722 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9723 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9724 findResource, getResources, findResources): Add javadoc from classpath.
9725 (getSystemResources): Implemented.
9726
9727 2002-08-01 Mark Wielaard <mark@klomp.org>
9728
9729 Revert patch that breaks libgcj shared library on powerpc:
9730 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9731 implementation classes by using Class.getName(). Uses Strings again.
9732 * gnu/java/security/der/DEREncodingException.java,
9733 gnu/java/security/provider/DERReader.java,
9734 gnu/java/security/provider/DERWriter.java,
9735 gnu/java/security/provider/DSAKeyPairGenerator.java,
9736 gnu/java/security/provider/DSAParameterGenerator.java,
9737 gnu/java/security/provider/DSAParameters.java,
9738 gnu/java/security/provider/DSASignature.java,
9739 gnu/java/security/provider/GnuDSAPrivateKey.java,
9740 gnu/java/security/provider/GnuDSAPublicKey.java,
9741 gnu/java/security/provider/MD5.java,
9742 gnu/java/security/util/Prime.java: Removed.
9743 * Makefile.am (ordinary_java_source_files): Remove above files.
9744 * Makefile.in: Regenerate.
9745 * gnu/java/security/provider/DefaultPolicy.java
9746 (getPermissions): Revert to maintaining static class variable of
9747 Permissions.
9748 * gnu/java/security/provider/SHA.java
9749 (engineUpdate): Revert algorithm change.
9750 (engineDigest): Revert algorithm change.
9751
9752 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9753
9754 * configure.host: Add SH support.
9755 * sysdep/sh/locks.h: New file.
9756
9757 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9758
9759 * java/awt/Frame.java (Frame): Remove println calls.
9760
9761 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9762
9763 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9764 * configure: Rebuilt.
9765
9766 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9767
9768 * sysdep/powerpc/locks.h: Formatting.
9769 (_LARX): Define.
9770 (_STCX): Define.
9771 (compare_and_swap): Use _LARX and _STCX.
9772 (compare_and_swap_release): Likewise.
9773
9774 2002-07-26 Tom Tromey <tromey@redhat.com>
9775
9776 * java/net/Authenticator.java: New version from Classpath.
9777 * java/net/DatagramSocketImpl.java: New version from Classpath.
9778
9779 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9780
9781 * configure.host: Add powerpc64*-* entry.
9782
9783 2002-07-26 Tom Tromey <tromey@redhat.com>
9784
9785 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9786 fcntl.h.
9787
9788 2002-07-24 Tom Tromey <tromey@redhat.com>
9789
9790 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9791 argument to _load.
9792
9793 2002-07-24 Tom Tromey <tromey@redhat.com>
9794 Tony Kimball <alk@pobox.com>
9795
9796 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9797 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9798 * java/io/RandomAccessFile.java (setLength): New method.
9799 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9800 * java/io/FileDescriptor.java (setLength): New method.
9801
9802 2002-07-24 Mark Wielaard <mark@klomp.org>
9803
9804 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9805 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9806 field call setAccessible(true).
9807 (setByteField): Likewise.
9808 (setCharField): Likewise.
9809 (setDoubleField): Likewise.
9810 (setFloatField): Likewise.
9811 (setIntField): Likewise.
9812 (setLongField): Likewise.
9813 (setShortField): Likewise.
9814 (setObjectField): Likewise.
9815
9816 2002-07-24 Tom Tromey <tromey@redhat.com>
9817
9818 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9819 use toString() to format array element.
9820
9821 2002-07-23 Mark Wielaard <mark@klomp.org>
9822
9823 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9824 MessageDigestSpi (fixes Classpath bug #783).
9825
9826 2002-07-21 Mark Wielaard <mark@klomp.org>
9827
9828 * gnu/java/security/provider/Gnu.java: Reference all implementation
9829 classes by using Class.getName().
9830
9831 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9832
9833 * java/lang/ieeefp.h: Add x86-64 support.
9834 * configure.in: Likewise.
9835 * configure.host: Likewise.
9836 * configure: Regenerated.
9837 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9838
9839 2002-07-16 Mark Wielaard <mark@klomp.org>
9840
9841 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9842 (whitespaceChars): call resetChar().
9843
9844 2002-07-15 Tom Tromey <tromey@redhat.com>
9845
9846 * Makefile.in: Rebuilt.
9847 * Makefile.am (awt_java_source_files): Added new files.
9848 * java/beans/ExceptionListener.java: Merged with Classpath.
9849 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9850 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9851 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9852 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9853 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9854 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9855 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9856
9857 2002-07-14 Mark Wielaard <mark@klomp.org>
9858
9859 * gnu/java/security/der/DEREncodingException.java,
9860 gnu/java/security/provider/DERReader.java,
9861 gnu/java/security/provider/DERWriter.java,
9862 gnu/java/security/provider/DSAKeyPairGenerator.java,
9863 gnu/java/security/provider/DSAParameterGenerator.java,
9864 gnu/java/security/provider/DSAParameters.java,
9865 gnu/java/security/provider/DSASignature.java,
9866 gnu/java/security/provider/GnuDSAPrivateKey.java,
9867 gnu/java/security/provider/GnuDSAPublicKey.java,
9868 gnu/java/security/provider/MD5.java,
9869 gnu/java/security/util/Prime.java: New files from Classpath.
9870 * Makefile.am (ordinary_java_source_files): Add new files.
9871 * Makefile.in: Regenerate.
9872
9873 2002-07-14 C. Brian Jones <cbj@gnu.org>
9874
9875 * gnu/java/security/provider/DefaultPolicy.java
9876 (getPermissions): do not maintain static class variable of
9877 Permissions
9878 * gnu/java/security/provider/SHA.java
9879 (engineUpdate): algorithm change
9880 (engineDigest): algorithm change
9881
9882 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9883
9884 For PR libgcj/7292:
9885 * java/lang/Character.java (toString(char)): Now static.
9886
9887 2002-07-12 Mark Wielaard <mark@klomp.org>
9888
9889 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9890 (getStackTrace0): new method.
9891 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9892 (printStackTrace(PrintWriter)): replace with pure java implementation.
9893 (printRawStackTrace): removed.
9894 (getStackTrace0): new method.
9895 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9896 * gcj/javaprims.h: regenerate class list.
9897 * include/name-finder.h (lookup): new returns StackTraceElement*.
9898 (method_name, file_name): fields removed.
9899 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9900 (~_Jv_name_finder): close new descriptors.
9901 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9902 (createStackTraceElement): new method.
9903 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9904
9905 2002-07-10 Tom Tromey <tromey@redhat.com>
9906
9907 * configure: Rebuilt.
9908 * configure.in: Use `test' after `&&'. From Chris Faylor.
9909
9910 2002-07-08 Mark Wielaard <mark@klomp.org>
9911
9912 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9913 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9914 java.sql.DatabaseMetaData.TestJdbc20
9915
9916 2002-07-05 Tony Kimball <alk@pobox.com>
9917
9918 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9919
9920 2002-07-04 Tom Tromey <tromey@redhat.com>
9921 Jeff Sturm <jsturm@one-point.com>
9922
9923 Fix for PR libgcj/7060:
9924 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9925 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9926 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9927 * java/lang/Class.java (getMethod): New Java implementation;
9928 complies with spec.
9929 (_getMethod): New native method.
9930
9931 2002-07-02 Tom Tromey <tromey@redhat.com>
9932 David Hovemeyer <daveho@cs.umd.edu>
9933
9934 * java/text/ChoiceFormat.java
9935 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9936 in check loop.
9937 * java/text/MessageFormat.java
9938 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9939 to MessageFormat.
9940
9941 2002-07-01 Tom Tromey <tromey@redhat.com>
9942
9943 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9944 StringTokenizer on null string. For PR libgcj/7180.
9945 From daveho@cs.umd.edu.
9946
9947 2002-06-24 Tom Tromey <tromey@redhat.com>
9948
9949 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9950 (IntegerClass): Likewise.
9951 * java/lang/natClass.cc (CloneableClass): Removed.
9952 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9953 ConstructorClass): Likewise.
9954 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9955 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9956 SerializableClass): Likewise.
9957 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9958 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9959 LongClass, FloatClass, DoubleClass): Likewise.
9960
9961 * verify.cc (branch_prepass): Updated for change to exception
9962 handler type.
9963 (verify_instructions_0): Likewise.
9964 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9965 (handleExceptionTableEntry): Updated for change to exception
9966 handler type.
9967 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9968 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9969 (union _Jv_InterpPC): New.
9970 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9971 (class _Jv_InterpMethod): Added new `prepared' field.
9972 (class _Jv_InterpMethod): Added `compile' method. Removed
9973 `continue1' and `find_exception'. Changed arguments to `run'.
9974 * interpret.cc (union insn_slot): New.
9975 (find_exception): Removed.
9976 (run_normal): Removed most logic.
9977 (run_synch_object): Likewise; also, use JvSynchronize.
9978 (run_synch_class): Likewise.
9979 (run): Removed.
9980 (continue1): Renamed as `run'. Compile bytecode if required.
9981 Add new code to allow refinement of direct-threaded code at
9982 runtime. Handle exceptions.
9983 (SAVE_PC): Removed.
9984 (compile): New method.
9985 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9986 (NULLARRAYCHECK): Don't use SAVE_PC.
9987 (pc_t): New typedef.
9988 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9989 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9990
9991 2002-06-23 Tom Tromey <tromey@redhat.com>
9992
9993 * configure: Rebuilt.
9994 * configure.in (INTERPRETER): New subst.
9995 (AM_RUNTESTFLAGS): Don't subst.
9996
9997 * Makefile.in: Rebuilt.
9998 * Makefile.am ($(srcdir)/java/lang/Object.h,
9999 $(srcdir)/java/lang/Class.h): Added dummy targets.
10000
10001 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10002
10003 Reformat JDBC classes and add new JDK 1.4 classes and methods.
10004
10005 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10006 java/sql/Savepoint.java: New files.
10007 * java/sql/Array.java, java/sql/BatchUpdateException.java,
10008 java/sql/Blob.java, java/sql/CallableStatement.java,
10009 java/sql/Clob.java, java/sql/Connection.java,
10010 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10011 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10012 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10013 java/sql/Ref.java, java/sql/ResultSet.java,
10014 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10015 java/sql/SQLException.java, java/sql/SQLInput.java,
10016 java/sql/SQLOutput.java, java/sql/SQLWarning.java
10017 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10018 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10019 (JDK 1.4) specification.
10020 * javax/sql/ConnectionEvent.java,
10021 javax/sql/ConnectionEventListener.java,
10022 javax/sql/ConnectionPoolDataSource.java,
10023 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10024 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10025 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10026 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10027 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10028 javax/sql/XADataSource.java: New files.
10029 * Makefile.am: Add new files.
10030 * Makefile.in: Rebuilt.
10031
10032 2002-06-20 Tom Tromey <tromey@redhat.com>
10033
10034 For PR libgcj/7073:
10035 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10036 exists.
10037 * defineclass.cc (handleClassBegin): Superclass for interface is
10038 `null'.
10039
10040 2002-06-18 Tom Tromey <tromey@redhat.com>
10041
10042 * gcj/javaprims.h: Updated class declaration list.
10043 * Makefile.in: Rebuilt.
10044 * Makefile.am (core_java_source_files): Removed
10045 BasicMapEntry.java.
10046 * java/util/BasicMapEntry.java: Removed.
10047
10048 2002-06-18 Jeff Sturm <jsturm@one-point.com>
10049
10050 * java/net/natPlainDatagramSocketImpl.cc (receive):
10051 Check bounds of argument to FD_SET.
10052 (setOption): Throw exception if socket is closed.
10053
10054 * java/net/natPlainSocketImpl.cc (accept, read):
10055 Check bounds of argument to FD_SET.
10056 (setOption): Throw exception if socket is closed.
10057
10058 2002-06-18 Tom Tromey <tromey@redhat.com>
10059
10060 * gcj/javaprims.h: Updated class declaration list.
10061 * Makefile.in: Rebuilt.
10062 * Makefile.am (core_java_source_files): Added
10063 PropertyPermissionCollection.java.
10064 * java/lang/Thread.java (group, name): Now package-private.
10065 * java/lang/ThreadGroup.java: Re-merge with Classpath.
10066 * java/util/AbstractList.java: Likewise.
10067 * java/util/AbstractMap.java: Likewise.
10068 * java/util/Calendar.java: Likewise.
10069 * java/util/Collections.java: Likewise.
10070 * java/util/HashMap.java: Likewise.
10071 * java/util/Hashtable.java: Likewise.
10072 * java/util/LinkedHashMap.java: Likewise.
10073 * java/util/LinkedList.java: Likewise.
10074 * java/util/List.java: Likewise.
10075 * java/util/ListResourceBundle.java: Likewise.
10076 * java/util/Map.java: Likewise.
10077 * java/util/Observable.java: Likewise.
10078 * java/util/Properties.java: Likewise.
10079 * java/util/PropertyPermission.java: Likewise.
10080 * java/util/PropertyPermissionCollection.java: Likewise.
10081 * java/util/PropertyResourceBundle.java: Likewise.
10082 * java/util/Random.java: Likewise.
10083 * java/util/SimpleTimeZone.java: Likewise.
10084 * java/util/StringTokenizer.java: Likewise.
10085 * java/util/TimerTask.java: Likewise.
10086 * java/util/TreeMap.java: Likewise.
10087 * java/util/WeakHashMap.java: Likewise.
10088 * java/util/jar/Attributes.java: Likewise.
10089 * java/util/jar/JarException.java: Likewise.
10090 * java/util/jar/Manifest.java: Likewise.
10091
10092 2002-06-17 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): Added new file.
10097 * java/util/EventListenerProxy.java: New file.
10098 * java/util/EventListener.java: Re-merge with Classpath.
10099 * java/util/EventObject.java: Re-merge with Classpath.
10100
10101 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10102
10103 * java/lang/ClassNotFoundException.java: New Classpath version.
10104
10105 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10106
10107 * java/rmi/activation/ActivateFailedException.java: Remerge from
10108 Classpath version.
10109 * java/rmi/activation/ActivationException.java: Ditto.
10110 * java/rmi/activation/UnknownGroupException.java: Ditto.
10111 * java/rmi/activation/UnknownObjectException.java: Ditto.
10112 * java/rmi/server/ExportException: Ditto.
10113 * java/rmi/server/ServerCloneException: Ditto.
10114 * java/rmi/server/ServerNotActiveException: Ditto.
10115 * java/rmi/server/SkeletonMismatchException: Ditto.
10116 * java/rmi/server/SkeletonNotFoundException: Ditto.
10117 * java/rmi/server/SocketSecurityException: Ditto.
10118
10119 2002-06-16 Tom Tromey <tromey@redhat.com>
10120
10121 * gcj/javaprims.h: Updated class declaration list.
10122
10123 * java/io/LineNumberInputStream.java: Merged with Classpath.
10124
10125 * java/lang/RuntimeException.java: Re-merge with Classpath.
10126 * java/util/ArrayList.java: Likewise.
10127 * java/util/Arrays.java: Likewise.
10128 * java/util/BitSet.java: Likewise.
10129 * java/util/Dictionary.java: Likewise.
10130 * java/util/IdentityHashMap.java: Likewise.
10131 * java/util/MissingResourceException.java: Likewise.
10132 * java/util/Observer.java: Likewise.
10133 * java/util/TooManyListenersException.java: Likewise.
10134 * java/util/zip/DataFormatException.java: Likewise.
10135 * java/util/zip/ZipException.java: Likewise.
10136
10137 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10138
10139 * java/rmi/AccessException.java: Remerge from Classpath.
10140 * java/rmi/AlreadyBoundException.java: Ditto.
10141 * java/rmi/ConnectException.java: Ditto.
10142 * java/rmi/ConnectIOException.java: Ditto.
10143 * java/rmi/MarshalException.java: Ditto.
10144 * java/rmi/NoSuchObjectException.java: Ditto.
10145 * java/rmi/NotBoundException.java: Ditto.
10146 * java/rmi/RemoteException.java: Ditto.
10147 * java/rmi/RMISecurityException.java: Ditto.
10148 * java/rmi/ServerError.java: Ditto.
10149 * java/rmi/ServerException.java: Ditto.
10150 * java/rmi/ServerRuntimeException.java: Ditto.
10151 * java/rmi/StubNotFoundException.java: Ditto.
10152 * java/rmi/UnexpectedExcpetion.java: Ditto.
10153 * java/rmi/UnknownHostException.java: Ditto.
10154 * java/rmi/UnmarshalException.java: Ditto.
10155
10156 2002-06-15 Tom Tromey <tromey@redhat.com>
10157
10158 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10159 * java/lang/ArithmeticException.java: Likewise.
10160 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10161 * java/lang/ArrayStoreException.java: Likewise.
10162 * java/lang/Byte.java: Likewise.
10163 * java/lang/CharSequence.java: Likewise.
10164 * java/lang/ClassCastException.java: Likewise.
10165 * java/lang/ClassCircularityError.java: Likewise.
10166 * java/lang/ClassFormatError.java: Likewise.
10167 * java/lang/CloneNotSupportedException.java: Likewise.
10168 * java/lang/Cloneable.java: Likewise.
10169 * java/lang/Comparable.java: Likewise.
10170 * java/lang/Compiler.java: Likewise.
10171 * java/lang/Error.java: Likewise.
10172 * java/lang/ExceptionInInitializerError.java: Likewise.
10173 * java/lang/IllegalAccessError.java: Likewise.
10174 * java/lang/IllegalAccessException.java: Likewise.
10175 * java/lang/IllegalArgumentException.java: Likewise.
10176 * java/lang/IllegalMonitorStateException.java: Likewise.
10177 * java/lang/IllegalStateException.java: Likewise.
10178 * java/lang/IllegalThreadStateException.java: Likewise.
10179 * java/lang/IncompatibleClassChangeError.java: Likewise.
10180 * java/lang/IndexOutOfBoundsException.java: Likewise.
10181 * java/lang/InheritableThreadLocal.java: Likewise.
10182 * java/lang/InstantiationError.java: Likewise.
10183 * java/lang/InstantiationException.java: Likewise.
10184 * java/lang/InternalError.java: Likewise.
10185 * java/lang/InterruptedException.java: Likewise.
10186 * java/lang/LinkageError.java: Likewise.
10187 * java/lang/NegativeArraySizeException.java: Likewise.
10188 * java/lang/NoClassDefFoundError.java: Likewise.
10189 * java/lang/NoSuchFieldError.java: Likewise.
10190 * java/lang/NoSuchFieldException.java: Likewise.
10191 * java/lang/NoSuchMethodError.java: Likewise.
10192 * java/lang/NoSuchMethodException.java: Likewise.
10193 * java/lang/NullPointerException.java: Likewise.
10194 * java/lang/NumberFormatException.java: Likewise.
10195 * java/lang/OutOfMemoryError.java: Likewise.
10196 * java/lang/Process.java: Likewise.
10197 * java/lang/Runnable.java: Likewise.
10198 * java/lang/RuntimePermission.java: Likewise.
10199 * java/lang/SecurityException.java: Likewise.
10200 * java/lang/Short.java: Likewise.
10201 * java/lang/StackOverflowError.java: Likewise.
10202 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10203 * java/lang/ThreadDeath.java: Likewise.
10204 * java/lang/ThreadLocal.java: Likewise.
10205 * java/lang/UnknownError.java: Likewise.
10206 * java/lang/UnsatisfiedLinkError.java: Likewise.
10207 * java/lang/UnsupportedClassVersionError.java: Likewise.
10208 * java/lang/UnsupportedOperationException.java: Likewise.
10209 * java/lang/VerifyError.java: Likewise.
10210 * java/lang/VirtualMachineError.java: Likewise.
10211 * java/lang/reflect/InvocationTargetException.java: Likewise.
10212 * java/net/BindException.java: Likewise.
10213 * java/net/ConnectException.java: Likewise.
10214 * java/net/MalformedURLException.java: Likewise.
10215 * java/net/NoRouteToHostException.java: Likewise.
10216 * java/net/ProtocolException.java: Likewise.
10217 * java/net/SocketException.java: Likewise.
10218 * java/net/UnknownHostException.java: Likewise.
10219 * java/net/UnknownServiceException.java: Likewise.
10220
10221 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10222 * java/io/CharConversionException.java: Likewise.
10223 * java/io/EOFException.java: Likewise.
10224 * java/io/FileNotFoundException.java: Likewise.
10225 * java/io/IOException.java: Likewise.
10226 * java/io/InterruptedIOException.java: Likewise.
10227 * java/io/InvalidClassException.java: Likewise.
10228 * java/io/InvalidObjectException.java: Likewise.
10229 * java/io/NotActiveException.java: Likewise.
10230 * java/io/NotSerializableException.java: Likewise.
10231 * java/io/ObjectStreamException.java: Likewise.
10232 * java/io/ObjectStreamConstants.java: Likewise.
10233 * java/io/OptionalDataException.java: Likewise.
10234 * java/io/PipedInputStream.java: Likewise.
10235 * java/io/PushbackInputStream.java: Likewise.
10236 * java/io/StreamCorruptedException.java: Likewise.
10237 * java/io/SyncFailedException.java: Likewise.
10238 * java/io/UTFDataFormatException.java: Likewise.
10239 * java/io/UnsupportedEncodingException.java: Likewise.
10240 * java/io/WriteAbortedException.java: Likewise.
10241
10242 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10243
10244 * java/text/ChoiceFormat.java: Update comments from Classpath.
10245 * java/text/ParseException.java (serialVersionUID): New
10246 field from Classpath.
10247 * java/text/ParseException.java: Update formatting & comments
10248 from Classpath.
10249
10250 2002-06-15 Tom Tromey <tromey@redhat.com>
10251
10252 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10253 been read but none output by inflater.
10254 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10255 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10256 is_finished.
10257 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10258 version.
10259 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10260 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10261 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10262 version.
10263 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10264
10265 2002-06-13 Tom Tromey <tromey@redhat.com>
10266
10267 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10268 true and OFFSET!=0.
10269 * java/lang/String.java (String(char[],int,int,boolean): New
10270 constructor.
10271 * java/lang/Long.java: Imported new version from Classpath.
10272 * java/lang/Number.java: Likewise.
10273 * java/lang/Integer.java: Likewise.
10274 * java/lang/Long.java: Likewise.
10275 * java/lang/Float.java: Likewise.
10276 * java/lang/Boolean.java: Likewise.
10277 * java/lang/Double.java: Likewise.
10278 * java/lang/Void.java: Likewise.
10279
10280 2002-06-12 Tom Tromey <tromey@redhat.com>
10281
10282 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10283 Fixes PR libgcj/6652.
10284
10285 2002-06-10 Tom Tromey <tromey@redhat.com>
10286
10287 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10288 (Class::getPackagePortion): Likewise.
10289 * java/lang/Class.java (desiredAssertionStatus): New method from
10290 Classpath.
10291 (getPackagePortion): Likewise.
10292 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10293 packageAssertionStatus, classAssertionStatus): New methods from
10294 Classpath.
10295 * java/lang/ClassLoader.java (defaultAssertionStatus,
10296 systemPackageAssertionStatus, packageAssertionStatus,
10297 systemClassAssertionStatus, classAssertionStatus): New fields from
10298 Classpath.
10299 (setDefaultAssertionStatus, setPackageAssertionStatus,
10300 setClassAssertionStatus, clearAssertionStatus): New methods from
10301 Classpath.
10302 * Makefile.in: Rebuilt.
10303 * Makefile.am (core_java_source_files): Added AssertionError.java.
10304 * java/lang/AssertionError.java: New from Classpath.
10305
10306 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10307
10308 * configure.host: Disable hash synchronization and slow_pthread_self
10309 for cygwin.
10310
10311 2002-06-06 Adam Megacz <adam@xwt.org>
10312
10313 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10314 locking, just like the Sun JVM does.
10315
10316 2002-06-05 H.J. Lu (hjl@gnu.org)
10317
10318 * Makefile.am (libgcj_convenience.la): Revert the last change.
10319 (libgcj.la): Likewise.
10320 * Makefile.in: Regenerated.
10321
10322 2002-06-04 H.J. Lu (hjl@gnu.org)
10323
10324 * Makefile.am (libgcj_convenience.la): New target.
10325 (libgcj.la): Depend on libgcj_convenience.la.
10326 * Makefile.in: Regenerated.
10327
10328 2002-06-04 H.J. Lu (hjl@gnu.org)
10329
10330 * configure.in (--with-newlib): New option:
10331 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10332 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10333 Linux.
10334 * configure: Regenerated.
10335
10336 2002-06-04 Tom Tromey <tromey@redhat.com>
10337
10338 * java/util/natTimeZone.cc: Include <stdio.h>.
10339
10340 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10341
10342 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10343 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10344 Set SIGNAL_HANDLER=include/s390-linux.h.
10345 * configure: Regenerate.
10346 * include/s390-linux.h: New file.
10347
10348 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10349
10350 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10351 not "stackTrace".
10352
10353 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10354
10355 Merge JDK 1.4 java.security changes from classpath.
10356
10357 * java/security/AccessControlException.java: Merge from Classpath.
10358 * java/security/AccessController.java: Likewise.
10359 * java/security/AllPermission.java: Likewise.
10360 * java/security/BasicPermission.java: Likewise.
10361 * java/security/Certificate.java: Likewise.
10362 * java/security/CodeSource.java: Likewise.
10363 * java/security/DigestException.java: Likewise.
10364 * java/security/DigestOutputStream.java: Likewise.
10365 * java/security/DomainCombiner.java: Likewise.
10366 * java/security/GeneralSecurityException.java: Likewise.
10367 * java/security/Guard.java: Likewise.
10368 * java/security/GuardedObject.java: Likewise.
10369 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10370 * java/security/InvalidKeyException.java: Likewise.
10371 * java/security/InvalidParameterException.java: Likewise.
10372 * java/security/Key.java: Likewise.
10373 * java/security/KeyException.java: Likewise.
10374 * java/security/KeyManagementException.java: Likewise.
10375 * java/security/KeyStoreException.java: Likewise.
10376 * java/security/MessageDigest.java: Likewise.
10377 * java/security/NoSuchAlgorithmException.java: Likewise.
10378 * java/security/NoSuchProviderException.java: Likewise.
10379 * java/security/Permission.java: Likewise.
10380 * java/security/PermissionCollection.java: Likewise.
10381 * java/security/Permissions.java: Likewise.
10382 * java/security/Policy.java: Likewise.
10383 * java/security/Principal.java: Likewise.
10384 * java/security/PrivateKey.java: Likewise.
10385 * java/security/PrivilegedAction.java: Likewise.
10386 * java/security/PrivilegedActionException.java: Likewise.
10387 * java/security/PrivilegedExceptionAction.java: Likewise.
10388 * java/security/ProtectionDomain.java: Likewise.
10389 * java/security/ProviderException.java: Likewise.
10390 * java/security/PublicKey.java: Likewise.
10391 * java/security/SecureClassLoader.java: Likewise.
10392 * java/security/SecurityPermission.java: Likewise.
10393 * java/security/SignatureException.java: Likewise.
10394 * java/security/UnrecoverableKeyException.java: Likewise.
10395 * java/security/UnresolvedPermission.java: Likewise.
10396 * java/security/acl/AclNotFoundException.java: Likewise.
10397 * java/security/acl/LastOwnerException.java: Likewise.
10398 * java/security/acl/NotOwnerException.java: Likewise.
10399 * java/security/cert/CRLException.java: Likewise.
10400 * java/security/cert/CertificateEncodingException.java: Likewise.
10401 * java/security/cert/CertificateException.java: Likewise.
10402 * java/security/cert/CertificateExpiredException.java: Likewise.
10403 * java/security/cert/CertificateFactory.java: Likewise.
10404 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10405 * java/security/cert/CertificateParsingException.java: Likewise.
10406 * java/security/spec/InvalidKeySpecException.java: Likewise.
10407 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10408
10409 * java/security/cert/CertPath.java: New file.
10410 * java/security/cert/CertPathBuilderException.java: New file.
10411 * java/security/cert/CertPathValidatorException.java: New file.
10412 * java/security/cert/CertStoreException.java: New file.
10413
10414 * Makefile.am: Add new CertPath classes.
10415 * Makefile.in: Rebuilt.
10416
10417 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10418
10419 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10420
10421 Merge JDK 1.4 exception chaining support from classpath.
10422
10423 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10424 (stackTraceBytes): Rename from stackTrace.
10425 * java/lang/Exception.java: Merge from classpath.
10426 * java/lang/StackTraceElement: New file from classpath.
10427 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10428 * Makefile.am: Add StackTraceElement.
10429 * Makefile.in: Rebuilt.
10430
10431 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10432
10433 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10434 they build first.
10435 * Makefile.in: Rebuilt.
10436
10437 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10438
10439 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10440 * configure.in: Likewise.
10441 * aclocal.m4: Regenerate.
10442 * configure: Regenerate.
10443
10444 2002-05-13 Tom Tromey <tromey@redhat.com>
10445
10446 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10447 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10448 Include platform.h.
10449
10450 Fixes PR libgcj/6389:
10451 * Makefile.in: Rebuilt.
10452 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10453 * java/util/natTimeZone.cc: New file.
10454 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10455 * java/lang/System.java: Merged with Classpath.
10456 * java/lang/Runtime.java: Merged with Classpath.
10457 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10458 security check.
10459 (setIn0): Renamed from setIn; don't run security check.
10460 (setOut0): Renamed from setOut; don't run security check.
10461 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10462 init_properties): Moved to natRuntime.cc.
10463 Moved many includes to natRuntime.cc.
10464 (isWordsBigEndian): New method.
10465 * java/lang/natRuntime.cc: Include Long.h, also other includes
10466 previously in natSystem.cc.
10467 (maxMemory): New function.
10468 (exitInternal): Renamed from `_exit'.
10469 (exit): Removed.
10470 (init): Don't set finalize_on_exit.
10471 (exitInternal): Use `finalizeOnExit'.
10472 (file_encoding, getpwuid_adaptor): New functions from
10473 natSystem.cc.
10474 (insertSystemProperties): New method, renamed from
10475 System::init_properties. Don't set user.timezone.
10476 (_load): Don't call checkLink.
10477 (execInternal): New method.
10478 (availableProcessors): Likewise.
10479 (nativeGetLibname): Likewise.
10480
10481 2002-05-11 Mark Wielaard <mark@klomp.org>
10482
10483 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10484 space characters.
10485 (previous_internal): Likewise.
10486
10487 2002-05-09 Tom Tromey <tromey@redhat.com>
10488
10489 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10490
10491 * java/util/ResourceBundle.java: New version from Classpath.
10492 * java/util/Locale.java: Likewise.
10493
10494 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10495
10496 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10497 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10498 LD_LIBRARY_PATH.
10499
10500 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10501
10502 * libjava/Makefile.am (all_java_source_files): New variable.
10503 (all_java_class_files): Likewise.
10504 .java.class: New rule.
10505 (CLEANFILES): Remove tmp-list.
10506 * libjava/Makefile.in: Regenerated.
10507
10508 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10509
10510 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10511 Append .exe to executable names. Fix for cygwin.
10512
10513 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10514
10515 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10516 script entry, and set LD to it when configuring multilibs.
10517 * configure: Rebuilt.
10518
10519 2002-05-07 Tom Tromey <tromey@redhat.com>
10520
10521 * java/lang/natString.cc (unintern): Fixed typo.
10522
10523 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10524
10525 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10526 with -no-install on *-*-cygwin*.
10527
10528 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10529
10530 * testsuite/lib/libjava.exp (test_libjava_from_source):
10531 Add comment explaining last patch
10532
10533 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10534
10535 * testsuite/lib/libjava.exp (test_libjava_from_source):
10536 Append .exe to executable names. If no suffix is present,
10537 then ".exe" is added by default on win32. Harmless
10538 elsewhere so always do it.
10539
10540 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10541 Tom Tromey <tromey@redhat.com>
10542
10543 * java/lang/natSystem.cc (getSystemTimeZone): Use
10544 HAVE_UNDERSCORE_TIMEZONE.
10545 * include/config.h.in: Rebuilt.
10546 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10547 * aclocal.m4, configure: Rebuilt.
10548 * acinclude.m4: Run AC_EXEEXT.
10549 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10550 Add test for `_timezone'.
10551
10552 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10553
10554 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10555 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10556 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10557 * Makefile.in: Rebuilt.
10558
10559 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10560
10561 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10562 use sigaction instead of __libc_sigaction.
10563
10564 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10565
10566 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10567 (libjava_init): Use it to find libgcj.spec.
10568 (libjava_arguments): Likewise.
10569
10570 2002-05-02 David S. Miller <davem@redhat.com>
10571
10572 PR bootstrap/6525
10573 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10574 __libc_sigaction on Sparc.
10575
10576 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10577
10578 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10579 sys/filio.h, if present.
10580
10581 2002-04-30 Tom Tromey <tromey@redhat.com>
10582
10583 * java/io/BufferedReader.java (fill): Handle case where markPos
10584 point to ignored \n. Fixes PR libgcj/6301.
10585
10586 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10587
10588 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10589
10590 2002-04-29 Adam King <aking@dreammechanics.com>
10591
10592 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10593 of file in APPEND mode.
10594
10595 2002-04-25 David S. Miller <davem@redhat.com>
10596
10597 PR target/6422
10598 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10599 program counter to next program counter minus 8. Update
10600 comments in this macro to explain why.
10601
10602 2002-04-26 Tom Tromey <tromey@redhat.com>
10603
10604 * verify.cc (construct_primitive_array_type) [void_type]: New
10605 case.
10606 (branch_prepass): Added dummy entries for unused instruction
10607 values.
10608 (verify_instructions_0): Likewise.
10609 * interpret.cc (continue1): Comment fix.
10610 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10611 * Makefile.in: Rebuilt.
10612 * Makefile.am: Added -Wswitch-enum.
10613
10614 2002-04-24 Tom Tromey <tromey@redhat.com>
10615
10616 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10617 correct length of UTF-8 encoded name. Strip leading `/'.
10618 (_Jv_RegisterResource): Use _Jv_Malloc.
10619
10620 2002-04-23 Adam Megacz <adam@xwt.org>
10621
10622 * win32.cc, include/win32.cc (backtrace): Added this function
10623 because Win32 does not supply it.
10624
10625 2002-04-21 David S. Miller <davem@redhat.com>
10626
10627 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10628 magic instruction reading sequence.
10629
10630 2002-04-21 Mark Wielaard <mark@klomp.org>
10631
10632 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10633
10634 2002-04-19 David S. Miller <davem@redhat.com>
10635
10636 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10637 arg.
10638 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10639 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10640 on Sparc too.
10641 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10642 for 64-bit sparc.
10643 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10644 * sysdeps/sparc/locks.h: New file.
10645 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10646 on all sparc Solaris configurations. Set to
10647 include/dwarf2-signal.h on sparc Linux.
10648 * configure: Regenerate
10649 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10650
10651 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10652
10653 * configure: Rebuilt.
10654 * configure.in (backtrace): Function doesn't work on IA-64.
10655
10656 2002-04-17 Adam King <aking@dreammechanics.com>
10657
10658 * java/io/File.java (normalizePath): Add Win32 support for auto
10659 conversion of a '/' path separator to Win32's '\' separator.
10660
10661 2002-04-16 Tom Tromey <tromey@redhat.com>
10662
10663 Fix for PR libgcj/6081:
10664 * Makefile.in: Rebuilt.
10665 * Makefile.am (install-data-local): Use GNU make trick to avoid
10666 shell limit.
10667
10668 2002-04-16 Adam King <aking@dreammechanics.com>
10669 Tom Tromey <tromey@redhat.com>
10670
10671 * java/io/natFileWin32.cc (performList): Return the correct array
10672 type. Don't duplicate the creation of a File since it's already
10673 done earlier in the method and the existing code would cause a
10674 ArrayStoreException. Don't use fixed-size array.
10675 (_access, _stat, attr, getCanonicalPath, performMkdir,
10676 performRenameTo): Don't use fixed-size array.
10677 (getCanonicalPath): Use throw, not _Jv_Throw.
10678
10679 2002-04-15 DJ Delorie <dj@redhat.com>
10680
10681 * configure.in: Allow building in $srcdir.
10682 * configure: Regenerated.
10683
10684 2002-04-14 Mark Wielaard <mark@klomp.org>
10685
10686 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10687 * java/net/natSocketImpl.cc (close): Likewise.
10688
10689 2002-04-14 Mark Wielaard <mark@klomp.org>
10690
10691 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10692
10693 2002-04-13 Adam King <aking@dreammechanics.com>
10694
10695 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10696 the f/F/d/D modifiers.
10697
10698 2002-04-12 Anthony Green <green@redhat.com>
10699
10700 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10701 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10702 * Makefile.in: Rebuilt.
10703 * configure.in: Substitute gcc_version.
10704 * configure: Rebuilt.
10705
10706 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10707
10708 * configure.host: Set can_unwind_signal on hosts which support it.
10709 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10710 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10711 exceptions and can_unwind_signal isn't set.
10712 * configure: Rebuilt.
10713
10714 2002-04-11 Tom Tromey <tromey@redhat.com>
10715
10716 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10717
10718 2002-04-11 Adam King <aking@dreammechanics.com>
10719 Tom Tromey <tromey@redhat.com>
10720
10721 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10722 _Jv_ThrowNullPointerException): Mark as noreturn.
10723 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10724 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10725 fixes.
10726
10727 2002-04-10 Tom Tromey <tromey@redhat.com>
10728
10729 * Makefile.in: Rebuilt.
10730 * Makefile.am (java/lang/Thread.h): Mark
10731 _Jv_AttachCurrentThreadAsDaemon as friend.
10732 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10733 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10734 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10735 function.
10736 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10737 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10738 (_Jv_JNI_InvokeFunctions): Added
10739 _Jv_JNI_AttachCurrentThreadAsDaemon.
10740 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10741 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10742 (JNI_CreateJavaVM): Likewise.
10743 (_Jv_JNI_AttachCurrentThread): Likewise.
10744 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10745 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10746 (_Jv_JNIFunctions): Initialize new fields.
10747 (_Jv_JNI_NewDirectByteBuffer): New function.
10748 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10749 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10750 * include/jni.h (JNI_VERSION_1_4): New macro.
10751 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10752 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10753 (JNINativeInterface::NewDirectByteBuffer): New field.
10754 (JNINativeInterface::GetDirectBufferAddress): New field.
10755 (JNINativeInterface::GetDirectBufferCapacity): New field.
10756 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10757 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10758 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10759
10760 2002-04-09 Tom Tromey <tromey@redhat.com>
10761
10762 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10763
10764 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10765
10766 Fix for PR libgcj/6187:
10767 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10768 distance.
10769
10770 2002-04-07 Mark Wielaard <mark@klomp.org>
10771
10772 * java/util/AbstractMap.java (putAll): Use entrySet size.
10773 (toString): Explicitly use getKey() and getValue().
10774
10775 2002-04-07 Mark Wielaard <mark@klomp.org>
10776
10777 * java/util/Hashtable.java (contains): Remove NullPointer check.
10778 (containsValue): Add NullPointer check.
10779 (remove): Always throw NullPointerException when key
10780 is null.
10781
10782 2002-04-07 Adam King <aking@dreammechanics.com>
10783
10784 * java/lang/natSystem.cc (init_properties): Call new function
10785 _Jv_platform_initProperties.
10786 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10787 support for the System properties os.name, os.arch, os.version,
10788 user.name, user.home, and user.dir.
10789 * include/posix.h, include/win32.h, posix.cc: New function
10790 _Jv_platform_initProperties.
10791
10792 2002-04-06 Mark Wielaard <mark@klomp.org>
10793
10794 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10795
10796 2002-04-06 Mark Wielaard <mark@klomp.org>
10797
10798 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10799 all of the remaining elements.
10800 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10801 (removeRange): If toIndex == fromIndex do
10802 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10803 (removeAll): Always throw NullPointerException when collection is
10804 null.
10805 (retrainAll): Likewise.
10806
10807 2002-04-05 Mark Wielaard <mark@klomp.org>
10808
10809 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10810 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10811
10812 2002-04-05 Adam Megacz <adam@xwt.org>
10813
10814 * exception.cc (abort): added static modifier
10815
10816 2002-04-04 Adam Megacz <adam@xwt.org>
10817
10818 * include/win32.h (_Jv_platform_close_on_exec): added inline
10819 modifier.
10820
10821 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10822
10823 * configure.host: Add case statement to support generic port
10824 properties. Add *-*-freebsd* section.
10825
10826 2002-04-04 Mark Wielaard <mark@klomp.org>
10827
10828 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10829 test.
10830 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10831 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10832 that depend on awt code and BufferedByteOutputStream.interrupt.
10833
10834 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10835
10836 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10837 incorrect "hi" value when count > 40.
10838
10839 2002-04-03 Mark Wielaard <mark@klomp.org>
10840
10841 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10842 ordering.
10843
10844 2002-04-02 Tom Tromey <tromey@redhat.com>
10845
10846 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10847 not `0'.
10848
10849 2002-04-02 Mark Wielaard <mark@klomp.org>
10850
10851 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10852 list of testsuite crashers.
10853
10854 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10855
10856 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10857 when resizing table.
10858
10859 2002-04-01 Mark Wielaard <mark@klomp.org>
10860
10861 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10862 NegativeArraySizeException
10863 (clear(int)): Use sign extended shift.
10864 (flip(int)): Likewise.
10865 (get(int)): Likewise.
10866 (nextClearBit(int)): Likewise.
10867 (nextSetBit(int)): Likewise.
10868 (set(int)): Likewise.
10869
10870 2002-04-01 Mark Wielaard <mark@klomp.org>
10871
10872 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10873 that can be compiled now and add testsuite crashers to ignore list.
10874
10875 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10876
10877 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10878
10879 * libgcj.spec.in: Override libgcc, not lib.
10880 * libgcj-test.spec.in: Likewise.
10881
10882 2002-03-29 Tom Tromey <tromey@redhat.com>
10883
10884 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10885 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10886
10887 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10888
10889 * java/net/PlainDatagramSocketImpl.java
10890 (close): Use native implementation.
10891 (finalize): New method.
10892
10893 * java/net/PlainSocketImpl.java (finalize): New method.
10894
10895 * java/net/natPlainDatagramSocketImpl.cc
10896 (java/io/FileDescriptor.h): Don't include.
10897 (close): Implement method here.
10898 (create): Don't assign fd.
10899
10900 * java/net/natPlainSocketImpl.cc
10901 (java/io/FileDescriptor.h): Don't include.
10902 (create): Don't assign fd.
10903 (accept): Likewise.
10904 (close): Synchronize.
10905
10906 2002-03-27 Richard Henderson <rth@redhat.com>
10907
10908 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10909
10910 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10911
10912 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10913 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10914 instead of syscall on IA-64.
10915 Add FIXME comment.
10916
10917 2002-03-27 Anthony Green <green@redhat.com>
10918
10919 * libgcj.spec.in: Add CHECKREFSPEC.
10920 * configure.in: Ditto.
10921 * configure.host: Ditto. Check references for xscale-elf.
10922 * configure: Rebuilt.
10923
10924 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10925
10926 * include/dwarf2-signal.h: Temporarily back out last change.
10927
10928 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10929
10930 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10931
10932 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10933
10934 * configure.in, configure: enable dwarf2-exception-style
10935 exception handling on IA-64.
10936 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10937 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10938 Add FIXME comment.
10939
10940 2002-03-25 Tom Tromey <tromey@redhat.com>
10941
10942 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10943 (jv_convert_LDFLAGS): Likewise.
10944 (gij_LDFLAGS): Likewise.
10945 (rmic_LDFLAGS): Likewise.
10946 (rmiregistry_LDFLAGS): Likewise.
10947 * configure.in (THREADLDFLAGS): New subst; set correctly for
10948 *BSD.
10949
10950 2002-03-25 Tom Tromey <tromey@redhat.com>
10951
10952 For PR libgcj/5303:
10953 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10954 and --version.
10955 (help): New method.
10956 (version): Likewise.
10957 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10958 "GNU".
10959 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10960 "GNU".
10961
10962 2002-03-25 Tom Tromey <tromey@redhat.com>
10963
10964 * java/awt/Component.java (processEvent): Check ComponentEvent
10965 after KeyEvent.
10966
10967 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10968
10969 * java/io/PushbackReader.java: Reformat.
10970
10971 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10972 calculate correct number of bytes skipped.
10973
10974 Based on patch from Intel's ORP team:
10975 * java/io/PushbackInputStream.java (available): Calculate correct
10976 number of bytes in buffer.
10977 (read): Remove redundant bound check. Return bytes from both the
10978 buffer and the stream.
10979
10980 2002-03-24 Tom Tromey <tromey@redhat.com>
10981
10982 * java/awt/TextComponent.java (TextComponent): Editable by
10983 default.
10984
10985 * java/awt/MenuItem.java (eventMask): No longer private.
10986 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10987 superclass if we didn't handle event.
10988 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10989 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10990 * java/awt/Choice.java (dispatchEventImpl): New method.
10991 * java/awt/List.java (dispatchEventImpl): New method.
10992 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10993 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10994 * java/awt/TextField.java (dispatchEventImpl): New method.
10995
10996 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10997
10998 * java/beans/IntrospectionException.java: Update to 1.4.
10999 * java/beans/PropertyVetoException.java: Ditto.
11000
11001 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11002
11003 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11004 Arrays.equals instead of ArrayHelper.equalsArray.
11005
11006 2002-03-24 C. Brian Jones <cbj@gnu.org>
11007
11008 * java/beans/Introspector.java: added new static final fields
11009 introduced in 1.2, lots of other updates remain to be done
11010
11011 2002-03-24 C. Brian Jones <cbj@gnu.org>
11012
11013 * java/beans/Introspector.java: reformatting
11014
11015 2002-03-24 C. Brian Jones <cbj@gnu.org>
11016
11017 * java/beans/Introspector.java: default beanInfoSearchPath will
11018 not include sun.beans.infos given we provide no such package and
11019 the API doesn't really require it; gnu.java.beans.info is the
11020 default.
11021
11022 2002-03-24 Mark Wielaard <mark@klomp.org>
11023
11024 Thanks to Orp developers
11025 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11026 switch TRUE and FALSE return values.
11027
11028 2002-03-23 Tom Tromey <tromey@redhat.com>
11029
11030 * include/name-finder.h (_Jv_name_finder::myclose): New method.
11031 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11032
11033 2002-03-23 Michael Smith <msmith@spinnakernet.com>
11034
11035 * java/util/GregorianCalendar.java (minimums, maximums): Correct
11036 MONTH entry. Fixes PR libgcj/6045.
11037
11038 2002-03-23 Jeff Sturm <jsturm@one-point.com>
11039
11040 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11041
11042 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11043
11044 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11045 not release_set.
11046 * sysdep/powerpc/locks.h (write_barrier): New function.
11047 * sysdep/i386/locks.h (write_barrier): New function.
11048
11049 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
11050
11051 * include/jni.h Use correct C comments.
11052
11053 2002-03-18 Tom Tromey <tromey@redhat.com>
11054
11055 * include/jni.h (JNIIMPORT): New macro.
11056 (JNIEXPORT): Likewise.
11057 (JNICALL): Likewise.
11058
11059 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11060
11061 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11062 systems.
11063
11064 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
11065
11066 * include/i386-signal.h (old_i386_kernel_sigaction): New.
11067 INIT_SEGV: Use old_i386_kernel_sigaction.
11068 INIT_FP: Likewise.
11069
11070 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11071
11072 * java/lang/natSystem.cc (init_properties): Update VM version
11073 properties.
11074 * configure.in: Set GCJVERSION.
11075 * acconfig.h: Add GCJVERSION.
11076 * configure: Rebuilt.
11077 * include/config.h.in: Rebuilt.
11078
11079 2002-03-17 Anthony Green <green@redhat.com>
11080
11081 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11082
11083 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11084
11085 Build a single libgcj.so, without separate gc and zlib libraries.
11086 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11087 SYS_ZLIBS if system zlib is used.
11088 * configure: Rebuilt.
11089 * Makefile.am: Use boehm-gc and zlib convenience libraries.
11090 * Makefile.in: Rebuilt.
11091 * libtool-version: Increment .so version number.
11092
11093 * Makefile.am: Escape quotes in echo.
11094 * Makefile.in: Rebuilt.
11095
11096 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11097
11098 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11099 * Makefile.in: Rebuilt.
11100
11101 2002-03-15 Anthony Green <green@redhat.com>
11102
11103 * configure.host (FILE): New macro for specifing File
11104 implementation.
11105 * configure: Rebuilt.
11106 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11107
11108 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11109
11110 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11111 already implicitly brought in from libgcj.la.
11112 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11113 * Makefile.in: Rebuilt.
11114
11115 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11116
11117 * THANKS: Fix punctuation, alphabetization.
11118
11119 2002-03-15 Tom Tromey <tromey@redhat.com>
11120 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11121
11122 Fix for PR libgcj/5944.
11123 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11124
11125 2002-03-15 Anthony Green <green@redhat.com>
11126
11127 * configure.in (tool_include_dir): Define.
11128 * configure: Rebuilt.
11129 * gcj/Makefile.am: Install libgcj-config.h relative to
11130 tool_include_dir.
11131 * gcj/Makefile: Rebuilt.
11132 * gcj/libgcj-config.h: Add warning comment.
11133
11134 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11135
11136 * configure.host (powerpc*-darwin*): Enable interpreter.
11137
11138 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11139
11140 * include/posix.h: Add multiple include header protection.
11141 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11142
11143 2002-03-10 Adam Megacz <adam@xwt.org>
11144
11145 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11146
11147 2002-03-10 Tom Tromey <tromey@redhat.com>
11148
11149 * java/awt/GridLayout.java (layoutContainer): Handle case where
11150 there are no items in container.
11151
11152 * java/lang/Win32Process.java: Added comment.
11153 * include/posix.h (_Jv_platform_close_on_exec): New function.
11154 Include fcntl.h.
11155 * include/win32.h (_Jv_platform_close_on_exec): New function.
11156 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11157 flag.
11158 (accept): Likewise.
11159 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11160 close-on-exec flag.
11161 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11162 flag.
11163
11164 2002-03-09 Tom Tromey <tromey@redhat.com>
11165
11166 * verify.cc (state::NO_STACK): New constant.
11167 (state::is_unmerged_ret_state): Handle case where stacktop is
11168 NO_STACK.
11169 (state::merge): Handle NO_STACK merges.
11170 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11171 for instruction following jsr.
11172 (stacktop, stackdepth): Removed unused variables.
11173 (pop_jump): Ignore case where all remaining states are skipped.
11174
11175 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11176
11177 * java/awt/ImageMediaEntry: Removed.
11178 * java/awt/MediaEntry: Removed.
11179
11180 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11181
11182 Hashtable synchronization for PowerPC.
11183 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11184 slow_pthread_self. Set up symlink for sysdeps directory.
11185 * configure: Rebuild.
11186 * configure.host: Document more shell variables. Set sysdeps_dir
11187 for most platforms. Set slow_pthread_self for i686. Set
11188 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11189 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11190 that memory barrier is emitted where required.
11191 * prims.cc: 64-bit align static primitive class instances.
11192 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11193 read_barrier() to enforce ordering of reads.
11194 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11195 primitives for PowerPC.
11196 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11197 moved from natObject.cc.
11198 * sysdep/alpha/locks.h: Likewise.
11199 * sysdep/ia64/locks.h: Likewise.
11200 * sysdep/generic/locks.h: Likewise.
11201 * java/lang/natObject.cc: Move thread synchronization primitives to
11202 system-dependent headers.
11203
11204 2002-03-09 Adam Megacz <adam@xwt.org>
11205
11206 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11207 bytes read and no failure code returned.
11208
11209 2002-03-09 Adam Megacz <adam@xwt.org>
11210
11211 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11212 definitions to simulate -mthreads.
11213
11214 2002-03-09 Adam Megacz <adam@xwt.org>
11215
11216 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11217 avoid precision loss.
11218
11219 2002-03-09 Per Bothner <per@bothner.com>
11220
11221 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11222 * gnu/gcj/xlib/XImage.java: Likewise.
11223 * gnu/gcj/xlib/XColor.java: Likewise.
11224
11225 2002-03-09 Adam Megacz <adam@xwt.org>
11226
11227 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11228 IOException so that Throwable.printStackTrace fails correctly.
11229
11230 2002-03-08 Adam Megacz <adam@xwt.org>
11231
11232 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11233 fixed.
11234
11235 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11236
11237 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11238 truncated to int.
11239
11240 2002-03-08 Tom Tromey <tromey@redhat.com>
11241
11242 * include/jni.h: Include stdio.h.
11243
11244 2002-03-08 Tom Tromey <tromey@redhat.com>
11245
11246 * posix.cc (internal_gettimeofday): New function.
11247 (_Jv_select): Use it.
11248
11249 2002-03-07 Adam Megacz <adam@xwt.org>
11250
11251 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11252 WIN32, and added thunks for read(), write(), and close().
11253 * java/net/natPlainSocketImpl.cc (accept, read, read):
11254 Disabled timeouts on WIN32 pending discussion.
11255
11256 2002-03-07 Adam Megacz <adam@xwt.org>
11257
11258 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11259 returns jlong. Added implementation
11260 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11261 returns jlong.
11262 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11263 returns jlong.
11264 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11265 returns jlong.
11266 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11267 _Jv_platform_gettimeofday signature.
11268
11269 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11270
11271 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11272 (read): Call recv() directly, not _Jv_recv().
11273
11274 2002-03-06 Tom Tromey <tromey@redhat.com>
11275
11276 * java/io/natFileDescriptorEcos.cc (init): Don't use
11277 GetStdHandle.
11278 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11279 is negative.
11280 (init): Don't use GetStdHandle.
11281
11282 * include/config.h.in: Rebuilt.
11283 * configure: Rebuilt.
11284 * Makefile.in: Rebuilt.
11285
11286 2002-03-06 Adam Megacz <adam@xwt.org>
11287
11288 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11289 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11290 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11291 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11292
11293 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11294
11295 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11296 the code for generating include/java-chartables.h.
11297 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11298 merge with Classpath.
11299 * scripts/unicode-muncher.pl: Copy from Classpath.
11300 * scritps/MakeCharTables.java: New file.
11301 * gnu/gcj/convert/Blocks-3.txt: New file.
11302 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11303 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11304 * gnu/java/lang/CharData.java: Copy from Classpath.
11305 * Makefile.am (ordinary_java_source_files): Add
11306 gnu/java/lang/CharData.java.
11307 * configure.in: Remove --enable-fast-character option.
11308 * java/lang/Character.java: Merge algorithms and Javadoc with
11309 Classpath.
11310 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11311 efficiently.
11312 * include/java-chardecomp.h: Regenerate.
11313 * include/java-chartables.h: Regenerate.
11314
11315 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11316
11317 * java/awt/MediaTracker.java: Implemented.
11318 * Makefile.am: Add MediaTracker.
11319 * Makefile.in: Rebuilt.
11320
11321 2002-03-05 Tom Tromey <tromey@redhat.com>
11322
11323 * java/lang/natPosixProcess.cc (fail): Removed.
11324 (startProcess): Simplified error-handling. Preserve
11325 LD_LIBRARY_PATH across exec.
11326
11327 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11328 AbstractMethodError.
11329
11330 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11331
11332 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11333 * Makefile.in: Rebuilt.
11334
11335 2002-03-03 Mark Wielaard <mark@klomp.org>
11336
11337 * java/util/Timer (TaskQueue.stop): set elements to zero.
11338
11339 2002-02-28 Anthony Green <green@redhat.com>
11340
11341 * java/lang/reflect/natMethod.cc (result): Add void* element.
11342 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11343 constructor test.
11344
11345 2002-02-27 Adam Megacz <adam@xwt.org>
11346
11347 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11348 '#undef STRICT'.
11349
11350 2002-02-26 Tom Tromey <tromey@redhat.com>
11351
11352 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11353 * gij.cc (version): Use __VERSION__.
11354 * include/config.h.in: Rebuilt.
11355 * acconfig.h (GCJVERSION): Removed.
11356 * configure: Rebuilt.
11357 * configure.in (GCJVERSION): Removed.
11358
11359 2002-02-26 Andreas Schwab <schwab@suse.de>
11360
11361 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11362 glibcpp_CXX, since libjava uses even another CXX.
11363 * aclocal.m4, configure: Regenerated.
11364
11365 2002-02-26 Tom Tromey <tromey@redhat.com>
11366
11367 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11368 `1'.
11369
11370 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11371
11372 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11373 dependency tracking for .java files.
11374 * Makefile.in: Rebuilt.
11375
11376 2002-02-24 Adam Megacz <adam@xwt.org>
11377
11378 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11379 typo. Sorry.
11380
11381 2002-02-24 Adam Megacz <adam@xwt.org>
11382
11383 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11384 for Win32, changed #ifdefs to check WIN32 instead of the
11385 (now-obsolete) USE_WINSOCK, and removed support for socket
11386 timeouts on Win32 pending further discussion.
11387
11388 2002-02-24 Adam Megacz <adam@xwt.org>
11389
11390 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11391 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11392 delete
11393
11394 2002-02-24 Adam Megacz <adam@xwt.org>
11395
11396 * java/lang/Win32Process.java: Created a dummy class to allow
11397 build process to run to completion.
11398
11399 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11400
11401 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11402 Define ffi_result union for ffi_call result. Cast
11403 ffi_result members to jvalue.
11404
11405 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11406
11407 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11408 * testsuite/Makefile.in: Likewise.
11409
11410 2002-02-20 Per Bothner <per@bothner.com>
11411
11412 * java/net/URL.java (getPath): New JDK 1.3 method.
11413
11414 * java/net/URLStreamHandler.java (parseURL):
11415 It is wrong to prepend '/' to the file part of a relative url.
11416
11417 * java/net/URLStreamHandler.java (parseURL):
11418 Minor optizations - append '/' rather than "/".
11419
11420 * java/net/URLStreamHandler.java (parseURL):
11421 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11422 We probably should canonicalize for a context-relative url, though.
11423 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11424 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11425 (sameFile): New method. Uses canonicalizeFilename.
11426
11427 2002-02-22 Tom Tromey <tromey@redhat.com>
11428
11429 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11430 java.vendor and java.vm.vendor.
11431 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11432 recent copyright date.
11433 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11434 * gij.cc (version): Print `Inc'.
11435
11436 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11437
11438 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11439 * aclocal.m4, configure: Rebuilt.
11440
11441 2002-02-20 Per Bothner <per@bothner.com>
11442
11443 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11444 and/or output streams immediately here, instead of using File.exists.
11445 (inputStream, outputStream): New fields to save open streams.
11446 (getInputStream, getOutputStream): Use already-opened streams.
11447
11448 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11449
11450 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11451 Use it.
11452 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11453 * aclocal.m4, configure, Makefile.in: Rebuilt.
11454
11455 2002-02-19 Tom Tromey <tromey@redhat.com>
11456
11457 Fix for PR libgcj/5696:
11458 * verify.cc (is_assignable_from_slow): Never call
11459 _Jv_IsAssignableFrom.
11460 (verify_instructions_0): Added new debug statement.
11461 (state::print): Print information about whether local has
11462 changed.
11463 (state::merge): Don't call note_variable when merging locals.
11464 (state::set_exception): Removed old FIXME comment.
11465
11466 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11467
11468 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11469 enable SO_BROADCAST.
11470
11471 2002-02-18 Jason Merrill <jason@redhat.com>
11472
11473 * name-finder.cc (toHex): Use word mode, not long long.
11474
11475 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11476
11477 2002-02-15 Tom Tromey <tromey@redhat.com>
11478
11479 Fix for PR libgcj/5695:
11480 * verify.cc (is_assignable_from_slow): Check to see if target is
11481 an Object before checking to see if source is an interface.
11482 (verify_instructions_0) [op_invokeinterface]: Handle case where
11483 we're making an interface call on Object.
11484
11485 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11486
11487 * Makefile.in: Rebuilt with Eric's change below.
11488
11489 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11490 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11491 Removed functions which are now implemented in Math.java.
11492
11493 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11494
11495 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11496 * Makefile.am (core_java_source_files): Add
11497 java/lang/StrictMath.java.
11498 * java/lang/Math.java: Merge with Classpath.
11499 * java/lang/StrictMath.java: New file - merge with Classpath.
11500
11501 2002-02-14 Mark Wielaard <mark@klomp.org>
11502
11503 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11504 package as a workaround for gcj 3.0.x
11505
11506 2002-02-14 Mark Wielaard <mark@klomp.org>
11507
11508 * java/security/BasicPermission.java: extends with fully qualified
11509 classname as workaround for gcj 3.0.4.
11510
11511 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11512
11513 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11514 around gcj bug of wrong emitted qualifier for inherited method.
11515 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11516 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11517 constructor to reduce amount of emitted bytecode. While this
11518 happens to work around a jikes 1.15 bug, it is still a useful
11519 patch even for correct compilers.
11520 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11521 * gnu/java/rmi/server/UnicastRemoteCall.java
11522 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11523
11524 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11525
11526 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11527 * java/net/SocketImpl.java: Ditto.
11528 * java/rmi/server/RMIClassLoader.java: Ditto.
11529 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11530
11531 2002-02-14 Mark Wielaard <mark@klomp.org>
11532
11533 Thanks to Takashi Okamoto
11534 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11535 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11536 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11537
11538 2002-02-13 Todd Stock <toddastock@yahoo.com>
11539
11540 Fix for PR libgcj/5670:
11541 * verify.cc (is_assignable_from_slow): If `source' is interface,
11542 recursively look for merge with `target'.
11543
11544 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11545
11546 * include/jni.h: Fix typo.
11547
11548 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11549
11550 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11551 correctly.
11552
11553 2002-02-13 Todd Stock <toddastock@yahoo.com>
11554
11555 Fix for PR libgcj/5671:
11556 * verify.cc (state::merge): Handle case where we're merging
11557 against an interface.
11558
11559 2002-02-12 Tom Tromey <tromey@redhat.com>
11560
11561 * exception.cc (std::abort): Mark as noreturn.
11562
11563 2002-02-12 Adam Megacz <adam@xwt.org>
11564
11565 * java/lang/Win32Process.java: Filled in a placeholder
11566 implementation so Win32 will build.
11567
11568 2002-02-12 Adam Megacz <adam@xwt.org>
11569
11570 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11571 * java/io/natFile.cc: Removed from repository.
11572 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11573
11574 2002-02-12 Adam Megacz <adam@xwt.org>
11575
11576 * win32.cc: Added two #includes to make win32.cc compile.
11577
11578 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11579
11580 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11581 declarations.
11582 (_Jv_InitGC): Don't bother locking, as this is always called from a
11583 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11584
11585 2002-02-11 Adam Megacz <adam@xwt.org>
11586
11587 * include/win32.h: Added _Jv_platform_gettimeofday.
11588 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11589
11590 2002-02-11 Adam Megacz <adam@xwt.org>
11591
11592 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11593 Added #undef STRICT to make windows.h and
11594 java/lang/reflect/Modifier.h cooperate.
11595
11596 2002-02-11 Adam Megacz <adam@xwt.org>
11597
11598 * java/io/natFileWin32.cc: Created a placeholder class with lots
11599 of FIXMEs.
11600
11601 2002-02-11 Adam Megacz <adam@xwt.org>
11602
11603 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11604 std::abort() to simply abort(). Also added "fake" std::abort() so
11605 we can #include unwind-pe.h without having to link against
11606 libstdc++-v3.
11607
11608 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11609
11610 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11611
11612 2002-02-08 Tom Tromey <tromey@redhat.com>
11613
11614 * interpret.cc (convert): New function.
11615 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11616 convert.
11617 Include Long.h.
11618
11619 2002-02-08 Anthony Green <green@redhat.com>
11620
11621 * configure.host: Add support for xscale-elf embedded target.
11622
11623 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11624
11625 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11626 dereferenced.
11627 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11628 frame.
11629
11630 2002-02-07 Tom Tromey <tromey@redhat.com>
11631
11632 * java/io/natFile.cc (_access): Use __builtin_alloca.
11633 (_stat): Likewise.
11634 (attr): Likewise.
11635 (getCanonicalPath): Likewise.
11636 (performList): Likewise.
11637 (performMkdir): Likewise.
11638 (performSetReadOnly): Likewise.
11639 (performRenameTo): Likewise.
11640 (performSetLastModified): Likewise.
11641 (performCreate): Likewise.
11642 (performDelete): Likewise.
11643
11644 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11645
11646 * HACKING: Fix URL for the automake-gcj.
11647
11648 2002-02-07 Tom Tromey <tromey@redhat.com>
11649
11650 * java/lang/natThrowable.cc: Updated copyright.
11651 * java/io/natFileWin32.cc: Updated copyright.
11652 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11653 * win32-threads.cc: Updated copyright.
11654 * name-finder.cc: Updated copyright.
11655 * include/name-finder.h: Updated copyright.
11656
11657 * include/name-finder.h: Conditionally include sys/wait.h.
11658 * include/config.h.in: Rebuilt.
11659
11660 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11661 Size buffer based on real size of string.
11662 (_stat): Likewise.
11663 (attr): Likewise.
11664 (getCanonicalPath): Likewise.
11665 (performList): Likewise.
11666 (performMkdir): Likewise.
11667 (performSetReadOnly): Likewise.
11668 (unixroot): Removed.
11669 (performRenameTo): Likewise.
11670 (performSetLastModified): Likewise.
11671 (performCreate): Likewise.
11672 (performDelete): Likewise.
11673 (performListRoots): Always return new array.
11674
11675 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11676 * win32.cc (win32_exception_handler): Now static.
11677 * include/win32.h (_Jv_platform_initialize): Declare.
11678 (win32_exception_handler): Don't declare.
11679 * java/lang/natSystem.cc (currentTimeMillis): Use
11680 _Jv_platform_gettimeofday.
11681 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11682 (_Jv_select): Use new name.
11683 (_Jv_platform_initialize): New function.
11684 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11685 _Jv_gettimeofday.
11686 (_Jv_platform_initialize): Declare.
11687
11688 * configure: Rebuilt.
11689 * configure.in: Removed unnecessary parens.
11690
11691 2002-02-06 Adam Megacz <adam@xwt.org>
11692
11693 * configure.in: Changed mingw) to *mingw*).
11694 * win32.cc: Created this file.
11695 * win32.h: Created this file.
11696 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11697 win32_exception_handler from prims.cc to win32.cc, added
11698 header in win32.h.
11699 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11700 longer needed now that we have platform.h
11701
11702 2002-02-06 Adam Megacz <adam@xwt.org>
11703
11704 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11705 use uint<n>_t instead of LONG and BYTE
11706
11707 2002-02-06 Adam Megacz <adam@xwt.org>
11708
11709 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11710
11711 2002-02-06 Anthony Green <green@redhat.com>
11712
11713 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11714 Implement missing method stubs.
11715 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11716 targets.
11717 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11718 concept of timezones.
11719 (init_properties): Don't refer to _Jv_Environment_Properties
11720 when this feature is not available.
11721 * include/config.h.in: Rebuilt.
11722 * acconfig.h: Add DISABLE_MAIN_ARGS.
11723 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11724 * configure: Rebuilt.
11725 * configure.in: Add --disable-main-args option. Test for
11726 opendir function. Replace AC_CHECK_SIZEOF with
11727 AC_COMPILE_CHECK_SIZEOF.
11728 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11729 * aclocal.m4: Rebuilt.
11730 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11731
11732 2002-02-06 Tom Tromey <tromey@redhat.com>
11733
11734 * verify.cc (require_array_type): If argument is a null array of
11735 references, return null as the element type.
11736
11737 2002-02-06 Mark Wielaard <mark@klomp.org>
11738
11739 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11740 duplicate of a wide type.
11741
11742 2002-02-06 Tom Tromey <tromey@redhat.com>
11743
11744 * verify.cc (type::isnull): New method.
11745 (require_array_type): Handle case where array is null.
11746 (verify_instructions_0) [op_arraylength]: Likewise.
11747
11748 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11749
11750 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11751 Symlink PLATFORMH to platform.h.
11752 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11753 PLATFORMOBJS.
11754 * java/lang/natSystem.cc: #include platform.h not posix.h.
11755 * Makefile.in: Rebuilt with libgcj automake.
11756 * configure: Rebuilt.
11757
11758 2002-02-05 Richard Henderson <rth@redhat.com>
11759
11760 * Makefile.in: Undo munging last change.
11761
11762 2002-02-04 Adam Megacz <adam@xwt.org>
11763
11764 * win32.cc: Created it.
11765 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11766 which is set to posix.cc or win32.cc.
11767 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11768
11769 2002-02-04 Adam Megacz <adam@xwt.org>
11770
11771 * configure.in: Corrected mingw case branches; added * before
11772 and after.
11773
11774 2002-02-04 Adam Megacz <adam@xwt.org>
11775
11776 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11777 if compiling for win32
11778
11779 2002-02-04 Adam Megacz <adam@xwt.org>
11780
11781 * win32-threads.cc: #undef STRICT after gc.h inclusion
11782
11783 2002-02-02 Tom Tromey <tromey@redhat.com>
11784
11785 * Makefile.in: Rebuilt.
11786
11787 2002-02-02 Jason Merrill <jason@redhat.com>
11788
11789 * Makefile.am (clean-nat): New target.
11790
11791 2002-02-02 Tom Tromey <tromey@redhat.com>
11792
11793 * java/io/natFile.cc: Removed old "FIXME" comments.
11794
11795 2002-02-01 Tom Tromey <tromey@redhat.com>
11796
11797 * java/lang/natPosixProcess.cc (myclose): New function.
11798 (fail): Use it.
11799 (startProcess): Likewise.
11800
11801 2002-02-01 Adam Megacz <adam@xwt.org>
11802
11803 * prims.cc: Added #undef STRICT after #include<windows.h>.
11804
11805 2002-02-01 Adam Megacz <adam@xwt.org>
11806
11807 * prims.cc
11808 (_Jv_CreateJavaVM): We now use WIN32 instead of
11809 USE_WIN32_SIGNALLING and USE_WINSOCK.
11810 (win32_exception_handler): Now throws an exception out of
11811 the signal handler; assumes SJLJ.
11812
11813 2002-02-01 Adam Megacz <adam@xwt.org>
11814
11815 * win32-threads.cc:
11816 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11817 wait() algorithm to make it safe.
11818 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11819 Added lazy creation of Win32 Events for better performance
11820 (really_start): This now uses GC_CreateThread so boehm-gc
11821 knows about new threads even when statically linked.
11822
11823 2002-02-01 Adam Megacz <adam@xwt.org>
11824
11825 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11826 enable safer wait() algorithm.
11827 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11828 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11829 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11830 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11831 instead of mutex.
11832 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11833
11834 2002-02-01 Adam Megacz <adam@xwt.org>
11835
11836 * configure.in: Added support for mingw.
11837 * java/lang/Win32Process.java: Created as empty file.
11838 * java/lang/natWin32Process.cc: Created as empty file.
11839
11840 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11841
11842 PR java/4972
11843 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11844 for libiconv in LIBICONV variable.
11845 * configure: Regenerated.
11846
11847 2002-01-31 Tom Tromey <tromey@redhat.com>
11848
11849 * verify.cc (state::enter_subroutine): New method.
11850 (handle_jsr_insn): Use it.
11851 (state::merge): When processing a `ret', correctly use
11852 subroutine's state to determine which local variables have
11853 changed.
11854 (push_exception_jump): Don't let stack overflow.
11855
11856 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11857
11858 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11859 --version output.
11860
11861 2002-01-30 Tom Tromey <tromey@redhat.com>
11862
11863 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11864 parameter for `recv' return type.
11865
11866 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11867 (state::merge): ... not here.
11868 (subr_entry_info): New structure.
11869 (entry_points): New field.
11870 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11871 entry_points.
11872
11873 2002-01-29 Tom Tromey <tromey@redhat.com>
11874
11875 * java/awt/List.java (addNotify): Correctly check to see if peer
11876 does not exist.
11877
11878 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11879 to compute height of each cell, and number of columns to compute
11880 width of each cell.
11881 * java/awt/Window.java (getOwnedWindows): Don't return null.
11882 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11883 of component. Increment x using horizontal gap, not vertical
11884 gap.
11885
11886 2002-01-28 Tom Tromey <tromey@redhat.com>
11887
11888 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11889 `nargs' byte is number of words, not number of arguments.
11890
11891 2002-01-27 Tom Tromey <tromey@redhat.com>
11892
11893 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11894 (when): Likewise.
11895 * java/awt/event/InputEvent.java (modifiers, when): Now
11896 package-private.
11897
11898 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11899 and to-do list.
11900 (state::merge): Use current class' class loader.
11901 (state::print): Print subroutine.
11902 (state::merge): Don't look at subroutine of unmerged `ret'.
11903
11904 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11905
11906 * nogc.cc: Remove warnings.
11907 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11908 New functions.
11909
11910 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11911
11912 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11913 int, int): Remove empty "if" statement to work around compiler bug.
11914 (newPixels(int[], ColorModel, int, int): Likewise.
11915
11916 2002-01-25 Per Bothner <per@bothner.com>
11917
11918 * verify.cc (verify_fail): Change from being a top-level function
11919 to e method of _Jv_BytecodeVerifier. Emit current method name.
11920 Pass the current verifier to type: and state: methods as needed,
11921 for better error messages, and for resolve.
11922 (resolve): Pass current class's loader for Class.forName and
11923 _Jv_FindClassFromSignature, rather than using the default loader.
11924 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11925 (get_type_val_for_signature): Make non-static.
11926 (various methods): Pass start_PC implicitly, not explicitly.
11927
11928 2002-01-25 Tom Tromey <tromey@redhat.com>
11929
11930 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11931 loop termination condition.
11932 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11933 width.
11934
11935 2002-01-24 Tom Tromey <tromey@redhat.com>
11936
11937 * java/awt/Shape.java: Merged with Classpath.
11938 * java/awt/Scrollbar.java: Merged with Classpath.
11939
11940 * java/awt/Container.java (addNotify): Unconditionally call
11941 addNotifyContainerChildren and superclass addNotify.
11942
11943 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11944 getAlpha, not getBlue.
11945
11946 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11947
11948 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11949
11950 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11951 (grabPixels(long)): Wait to be notified that the ImageProducer has
11952 completed.
11953
11954 2002-01-24 Per Bothner <per@bothner.com>
11955
11956 * verify.cc (is_assignable_from_slow): If target is an interface,
11957 we must still check the source's superclass before giving up.
11958
11959 2002-01-24 Tom Tromey <tromey@redhat.com>
11960
11961 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11962
11963 2002-01-23 Tom Tromey <tromey@redhat.com>
11964
11965 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11966 `else'.
11967
11968 * Makefile.in: Rebuilt.
11969 * Makefile.am (awt_java_source_files): Added new files.
11970 * java/awt/Toolkit.java: Merged with Classpath.
11971 * java/awt/PrintGraphics.java: New file from Classpath.
11972 * java/awt/PrintJob.java: New file from Classpath.
11973 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11974 * java/awt/datatransfer/ClipboardOwner.java: New file from
11975 Classpath.
11976 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11977 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11978 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11979 Classpath.
11980 * java/awt/datatransfer/StringSelection.java: New file from
11981 Classpath.
11982 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11983 Classpath.
11984 * java/awt/datatransfer/Transferable.java: New file from
11985 Classpath.
11986 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11987 from Classpath.
11988
11989 * Makefile.in: Rebuilt.
11990 * Makefile.am (awt_java_source_files): Added new files.
11991 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11992 Classpath.
11993 * java/awt/image/CropImageFilter.java: New file from Classpath.
11994 * java/awt/image/FilteredImageSource.java: New file from
11995 Classpath.
11996 * java/awt/image/ImageFilter.java: New file from Classpath.
11997 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11998 * java/awt/image/PixelGrabber.java: New file from Classpath.
11999 * java/awt/image/RGBImageFilter.java: New file from Classpath.
12000 * java/awt/image/ReplicateScaleFilter.java: New file from
12001 Classpath.
12002 * java/awt/image/ImageProducer.java: Replaced with Classpath
12003 version.
12004 * java/awt/image/ImageObserver.java: Replaced with Classpath
12005 version.
12006 * java/awt/image/ImageConsumer.java: Replaced with Classpath
12007 version.
12008 * java/awt/GridBagConstraints.java (clone): Catch
12009 CloneNotSupportedException.
12010
12011 2002-01-23 Per Bothner <per@bothner.com>
12012
12013 * java/lang/reflect/natField.cc (setAddr): New function.
12014 Calls getAddr and then checks that the field isn't final.
12015 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12016 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
12017 (set): Call setAddr before check that new value has right type,
12018 to better match specified semantics.
12019
12020 2002-01-22 Tom Tromey <tromey@redhat.com>
12021
12022 * java/awt/TextField.java: Replaced with Classpath version.
12023 * java/awt/TextArea.java: Replaced with Classpath version.
12024 * java/awt/TextComponent.java: Replaced with Classpath version.
12025
12026 * java/awt/GridBagConstraints.java: Updated copyright.
12027
12028 2002-01-22 Mark Wielaard <mark@klomp.org>
12029
12030 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12031 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12032 java/awt/Dialog.java java/awt/FileDialog.java
12033 java/awt/Font.java java/awt/FontMetrics.java
12034 java/awt/Image.java java/awt/ImageMediaEntry.java
12035 java/awt/Insets.java java/awt/List.java
12036 java/awt/MediaEntry.java java/awt/MediaTracker.java
12037 java/awt/Menu.java java/awt/MenuBar.java
12038 java/awt/MenuContainer.java java/awt/MenuShortcut.java
12039 java/awt/PaintContext.java java/awt/Panel.java
12040 java/awt/PopupMenu.java java/awt/SystemColor.java
12041 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12042 java/awt/peer/CheckboxMenuItemPeer.java
12043 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12044 java/awt/peer/ComponentPeer.java
12045 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12046 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12047 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12048 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12049 java/awt/peer/MenuBarPeer.java
12050 java/awt/peer/MenuComponentPeer.java
12051 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12052 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12053 java/awt/peer/ScrollPanePeer.java
12054 java/awt/peer/ScrollbarPeer.java
12055 java/awt/peer/TextAreaPeer.java
12056 java/awt/peer/TextComponentPeer.java
12057 java/awt/peer/TextFieldPeer.java
12058 java/awt/peer/WindowPeer.java: Add license clarification.
12059
12060 2002-01-22 Mark Wielaard <mark@klomp.org>
12061
12062 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12063 gnu/gcj/runtime/StringBuffer.java
12064 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12065 gnu/java/awt/ComponentDataBlitOp.java
12066 gnu/java/awt/GLightweightPeer.java
12067 gnu/java/beans/BeanInfoEmbryo.java
12068 gnu/java/beans/EmptyBeanInfo.java
12069 gnu/java/beans/ExplicitBeanInfo.java
12070 gnu/java/beans/IntrospectionIncubator.java
12071 gnu/java/beans/editors/ColorEditor.java
12072 gnu/java/beans/editors/FontEditor.java
12073 gnu/java/beans/editors/NativeBooleanEditor.java
12074 gnu/java/beans/editors/NativeByteEditor.java
12075 gnu/java/beans/editors/NativeDoubleEditor.java
12076 gnu/java/beans/editors/NativeFloatEditor.java
12077 gnu/java/beans/editors/NativeIntEditor.java
12078 gnu/java/beans/editors/NativeLongEditor.java
12079 gnu/java/beans/editors/NativeShortEditor.java
12080 gnu/java/beans/editors/StringEditor.java
12081 gnu/java/beans/info/ComponentBeanInfo.java
12082 gnu/java/io/ClassLoaderObjectInputStream.java
12083 gnu/java/io/NullOutputStream.java
12084 gnu/java/io/ObjectIdentityWrapper.java
12085 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12086 gnu/java/lang/reflect/TypeSignature.java
12087 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12088 gnu/java/locale/Calendar_en.java
12089 gnu/java/locale/Calendar_nl.java
12090 gnu/java/locale/LocaleInformation.java
12091 gnu/java/locale/LocaleInformation_de.java
12092 gnu/java/locale/LocaleInformation_en.java
12093 gnu/java/locale/LocaleInformation_nl.java
12094 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12095 gnu/java/rmi/registry/RegistryImpl.java
12096 gnu/java/rmi/rmic/Compile_gcj.java
12097 gnu/java/rmi/rmic/Compiler.java
12098 gnu/java/rmi/rmic/CompilerProcess.java
12099 gnu/java/rmi/rmic/RMIC.java
12100 gnu/java/rmi/rmic/TabbedWriter.java
12101 gnu/java/rmi/server/ProtocolConstants.java
12102 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12103 gnu/java/rmi/server/RMIHashes.java
12104 gnu/java/rmi/server/RMIObjectInputStream.java
12105 gnu/java/rmi/server/RMIObjectOutputStream.java
12106 gnu/java/rmi/server/UnicastConnection.java
12107 gnu/java/rmi/server/UnicastConnectionManager.java
12108 gnu/java/rmi/server/UnicastRef.java
12109 gnu/java/rmi/server/UnicastRemoteCall.java
12110 gnu/java/rmi/server/UnicastRemoteStub.java
12111 gnu/java/rmi/server/UnicastServer.java
12112 gnu/java/rmi/server/UnicastServerRef.java
12113 gnu/java/security/provider/DefaultPolicy.java
12114 gnu/java/security/provider/Gnu.java
12115 gnu/java/security/provider/SHA.java
12116 gnu/java/security/provider/SHA1PRNG.java
12117 gnu/java/text/BaseBreakIterator.java
12118 gnu/java/text/CharacterBreakIterator.java
12119 gnu/java/text/LineBreakIterator.java
12120 gnu/java/text/SentenceBreakIterator.java
12121 gnu/java/text/WordBreakIterator.java
12122 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12123 java/applet/AppletContext.java java/applet/AppletStub.java
12124 java/applet/AudioClip.java java/awt/AWTError.java
12125 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12126 java/awt/AWTException.java java/awt/AWTPermission.java
12127 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12128 java/awt/Button.java java/awt/Canvas.java
12129 java/awt/CardLayout.java java/awt/Checkbox.java
12130 java/awt/CheckboxGroup.java java/awt/Component.java
12131 java/awt/ComponentOrientation.java java/awt/Container.java
12132 java/awt/Dimension.java java/awt/Event.java
12133 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12134 java/awt/FlowLayout.java java/awt/Frame.java
12135 java/awt/Graphics.java java/awt/Graphics2D.java
12136 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12137 java/awt/IllegalComponentStateException.java
12138 java/awt/ItemSelectable.java java/awt/Label.java
12139 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12140 java/awt/MenuComponent.java java/awt/MenuItem.java
12141 java/awt/Paint.java java/awt/Point.java
12142 java/awt/Rectangle.java java/awt/RenderingHints.java
12143 java/awt/Transparency.java java/awt/Window.java
12144 java/awt/color/ColorSpace.java
12145 java/awt/color/ICC_ColorSpace.java
12146 java/awt/color/ICC_Profile.java
12147 java/awt/event/HierarchyBoundsAdapter.java
12148 java/awt/event/HierarchyBoundsListener.java
12149 java/awt/event/HierarchyEvent.java
12150 java/awt/event/HierarchyListener.java
12151 java/awt/geom/AffineTransform.java
12152 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12153 java/awt/geom/IllegalPathStateException.java
12154 java/awt/geom/Line2D.java
12155 java/awt/geom/NoninvertibleTransformException.java
12156 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12157 java/awt/geom/Rectangle2D.java
12158 java/awt/geom/RectangularShape.java
12159 java/awt/geom/RoundRectangle2D.java
12160 java/awt/image/BufferedImage.java
12161 java/awt/image/ColorModel.java
12162 java/awt/image/ComponentColorModel.java
12163 java/awt/image/ComponentSampleModel.java
12164 java/awt/image/DataBuffer.java
12165 java/awt/image/DataBufferByte.java
12166 java/awt/image/DataBufferInt.java
12167 java/awt/image/DataBufferUShort.java
12168 java/awt/image/DirectColorModel.java
12169 java/awt/image/PackedColorModel.java
12170 java/awt/image/Raster.java java/awt/image/RasterOp.java
12171 java/awt/image/SampleModel.java
12172 java/awt/image/SinglePixelPackedSampleModel.java
12173 java/awt/image/WritableRaster.java
12174 java/beans/AppletInitializer.java
12175 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12176 java/beans/Beans.java java/beans/Customizer.java
12177 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12178 java/beans/FeatureDescriptor.java
12179 java/beans/IndexedPropertyDescriptor.java
12180 java/beans/IntrospectionException.java
12181 java/beans/Introspector.java java/beans/MethodDescriptor.java
12182 java/beans/ParameterDescriptor.java
12183 java/beans/PropertyChangeEvent.java
12184 java/beans/PropertyChangeListener.java
12185 java/beans/PropertyChangeSupport.java
12186 java/beans/PropertyDescriptor.java
12187 java/beans/PropertyEditor.java
12188 java/beans/PropertyEditorManager.java
12189 java/beans/PropertyEditorSupport.java
12190 java/beans/PropertyVetoException.java
12191 java/beans/SimpleBeanInfo.java
12192 java/beans/VetoableChangeListener.java
12193 java/beans/VetoableChangeSupport.java
12194 java/beans/Visibility.java
12195 java/beans/beancontext/BeanContext.java
12196 java/beans/beancontext/BeanContextChild.java
12197 java/beans/beancontext/BeanContextChildComponentProxy.java
12198 java/beans/beancontext/BeanContextChildSupport.java
12199 java/beans/beancontext/BeanContextContainerProxy.java
12200 java/beans/beancontext/BeanContextEvent.java
12201 java/beans/beancontext/BeanContextMembershipEvent.java
12202 java/beans/beancontext/BeanContextMembershipListener.java
12203 java/beans/beancontext/BeanContextProxy.java
12204 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12205 java/beans/beancontext/BeanContextServiceProvider.java
12206 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12207 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12208 java/beans/beancontext/BeanContextServiceRevokedListener.java
12209 java/beans/beancontext/BeanContextServices.java
12210 java/beans/beancontext/BeanContextServicesListener.java
12211 java/io/BufferedInputStream.java
12212 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12213 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12214 java/io/ByteArrayOutputStream.java
12215 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12216 java/io/CharConversionException.java java/io/DataInput.java
12217 java/io/DataInputStream.java java/io/DataOutput.java
12218 java/io/EOFException.java java/io/Externalizable.java
12219 java/io/FileFilter.java java/io/FileNotFoundException.java
12220 java/io/FilePermission.java java/io/FileReader.java
12221 java/io/FileWriter.java java/io/FilenameFilter.java
12222 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12223 java/io/FilterReader.java java/io/FilterWriter.java
12224 java/io/IOException.java java/io/InputStream.java
12225 java/io/InterruptedIOException.java
12226 java/io/InvalidClassException.java
12227 java/io/InvalidObjectException.java
12228 java/io/NotActiveException.java
12229 java/io/NotSerializableException.java java/io/ObjectInput.java
12230 java/io/ObjectInputStream.java
12231 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12232 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12233 java/io/ObjectStreamConstants.java
12234 java/io/ObjectStreamException.java
12235 java/io/ObjectStreamField.java
12236 java/io/OptionalDataException.java java/io/OutputStream.java
12237 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12238 java/io/PipedReader.java java/io/PipedWriter.java
12239 java/io/PrintWriter.java java/io/PushbackInputStream.java
12240 java/io/PushbackReader.java java/io/Reader.java
12241 java/io/SequenceInputStream.java java/io/Serializable.java
12242 java/io/SerializablePermission.java
12243 java/io/StreamCorruptedException.java
12244 java/io/StreamTokenizer.java
12245 java/io/StringBufferInputStream.java java/io/StringReader.java
12246 java/io/StringWriter.java java/io/SyncFailedException.java
12247 java/io/UTFDataFormatException.java
12248 java/io/UnsupportedEncodingException.java
12249 java/io/WriteAbortedException.java java/io/Writer.java
12250 java/lang/AbstractMethodError.java
12251 java/lang/ArithmeticException.java
12252 java/lang/ArrayIndexOutOfBoundsException.java
12253 java/lang/ArrayStoreException.java java/lang/Boolean.java
12254 java/lang/Byte.java java/lang/CharSequence.java
12255 java/lang/ClassCastException.java
12256 java/lang/ClassCircularityError.java
12257 java/lang/ClassFormatError.java
12258 java/lang/ClassNotFoundException.java
12259 java/lang/CloneNotSupportedException.java
12260 java/lang/Cloneable.java java/lang/Comparable.java
12261 java/lang/Compiler.java java/lang/Double.java
12262 java/lang/Error.java java/lang/Exception.java
12263 java/lang/ExceptionInInitializerError.java
12264 java/lang/Float.java java/lang/IllegalAccessError.java
12265 java/lang/IllegalAccessException.java
12266 java/lang/IllegalArgumentException.java
12267 java/lang/IllegalMonitorStateException.java
12268 java/lang/IllegalStateException.java
12269 java/lang/IllegalThreadStateException.java
12270 java/lang/IncompatibleClassChangeError.java
12271 java/lang/IndexOutOfBoundsException.java
12272 java/lang/InheritableThreadLocal.java
12273 java/lang/InstantiationError.java
12274 java/lang/InstantiationException.java java/lang/Integer.java
12275 java/lang/InternalError.java
12276 java/lang/InterruptedException.java
12277 java/lang/LinkageError.java java/lang/Long.java
12278 java/lang/NegativeArraySizeException.java
12279 java/lang/NoClassDefFoundError.java
12280 java/lang/NoSuchFieldError.java
12281 java/lang/NoSuchFieldException.java
12282 java/lang/NoSuchMethodError.java
12283 java/lang/NoSuchMethodException.java
12284 java/lang/NullPointerException.java java/lang/Number.java
12285 java/lang/NumberFormatException.java
12286 java/lang/OutOfMemoryError.java java/lang/Package.java
12287 java/lang/Process.java java/lang/Runnable.java
12288 java/lang/RuntimeException.java
12289 java/lang/RuntimePermission.java
12290 java/lang/SecurityException.java
12291 java/lang/SecurityManager.java java/lang/Short.java
12292 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12293 java/lang/StringIndexOutOfBoundsException.java
12294 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12295 java/lang/ThreadLocal.java java/lang/UnknownError.java
12296 java/lang/UnsatisfiedLinkError.java
12297 java/lang/UnsupportedClassVersionError.java
12298 java/lang/UnsupportedOperationException.java
12299 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12300 java/lang/Void.java java/lang/ref/PhantomReference.java
12301 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12302 java/lang/ref/SoftReference.java
12303 java/lang/ref/WeakReference.java
12304 java/lang/reflect/AccessibleObject.java
12305 java/lang/reflect/InvocationTargetException.java
12306 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12307 java/lang/reflect/ReflectPermission.java
12308 java/math/BigDecimal.java java/math/BigInteger.java
12309 java/net/Authenticator.java java/net/BindException.java
12310 java/net/ConnectException.java java/net/ContentHandler.java
12311 java/net/ContentHandlerFactory.java
12312 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12313 java/net/FileNameMap.java java/net/MalformedURLException.java
12314 java/net/MulticastSocket.java java/net/NetPermission.java
12315 java/net/NoRouteToHostException.java
12316 java/net/PasswordAuthentication.java
12317 java/net/ProtocolException.java java/net/ServerSocket.java
12318 java/net/Socket.java java/net/SocketException.java
12319 java/net/SocketImpl.java java/net/SocketImplFactory.java
12320 java/net/SocketOptions.java java/net/SocketPermission.java
12321 java/net/URLDecoder.java java/net/URLEncoder.java
12322 java/net/URLStreamHandlerFactory.java
12323 java/net/UnknownHostException.java
12324 java/net/UnknownServiceException.java
12325 java/rmi/AccessException.java
12326 java/rmi/AlreadyBoundException.java
12327 java/rmi/ConnectException.java
12328 java/rmi/ConnectIOException.java
12329 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12330 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12331 java/rmi/NotBoundException.java
12332 java/rmi/RMISecurityException.java
12333 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12334 java/rmi/RemoteException.java java/rmi/ServerError.java
12335 java/rmi/ServerException.java
12336 java/rmi/ServerRuntimeException.java
12337 java/rmi/StubNotFoundException.java
12338 java/rmi/UnexpectedException.java
12339 java/rmi/UnknownHostException.java
12340 java/rmi/UnmarshalException.java
12341 java/rmi/activation/Activatable.java
12342 java/rmi/activation/ActivateFailedException.java
12343 java/rmi/activation/ActivationDesc.java
12344 java/rmi/activation/ActivationException.java
12345 java/rmi/activation/ActivationGroup.java
12346 java/rmi/activation/ActivationGroupDesc.java
12347 java/rmi/activation/ActivationGroupID.java
12348 java/rmi/activation/ActivationID.java
12349 java/rmi/activation/ActivationInstantiator.java
12350 java/rmi/activation/ActivationMonitor.java
12351 java/rmi/activation/ActivationSystem.java
12352 java/rmi/activation/Activator.java
12353 java/rmi/activation/UnknownGroupException.java
12354 java/rmi/activation/UnknownObjectException.java
12355 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12356 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12357 java/rmi/registry/Registry.java
12358 java/rmi/registry/RegistryHandler.java
12359 java/rmi/server/ExportException.java
12360 java/rmi/server/LoaderHandler.java
12361 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12362 java/rmi/server/Operation.java
12363 java/rmi/server/RMIClassLoader.java
12364 java/rmi/server/RMIClientSocketFactory.java
12365 java/rmi/server/RMIFailureHandler.java
12366 java/rmi/server/RMIServerSocketFactory.java
12367 java/rmi/server/RMISocketFactory.java
12368 java/rmi/server/RemoteCall.java
12369 java/rmi/server/RemoteObject.java
12370 java/rmi/server/RemoteRef.java
12371 java/rmi/server/RemoteServer.java
12372 java/rmi/server/RemoteStub.java
12373 java/rmi/server/ServerCloneException.java
12374 java/rmi/server/ServerNotActiveException.java
12375 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12376 java/rmi/server/SkeletonMismatchException.java
12377 java/rmi/server/SkeletonNotFoundException.java
12378 java/rmi/server/SocketSecurityException.java
12379 java/rmi/server/UID.java
12380 java/rmi/server/UnicastRemoteObject.java
12381 java/rmi/server/Unreferenced.java
12382 java/security/AccessControlContext.java
12383 java/security/AccessControlException.java
12384 java/security/AccessController.java
12385 java/security/AlgorithmParameterGenerator.java
12386 java/security/AlgorithmParameterGeneratorSpi.java
12387 java/security/AlgorithmParameters.java
12388 java/security/AlgorithmParametersSpi.java
12389 java/security/AllPermission.java
12390 java/security/BasicPermission.java
12391 java/security/Certificate.java java/security/CodeSource.java
12392 java/security/DigestException.java
12393 java/security/DigestInputStream.java
12394 java/security/DigestOutputStream.java
12395 java/security/DomainCombiner.java
12396 java/security/DummyKeyPairGenerator.java
12397 java/security/DummyMessageDigest.java
12398 java/security/DummySignature.java
12399 java/security/GeneralSecurityException.java
12400 java/security/Guard.java java/security/GuardedObject.java
12401 java/security/Identity.java java/security/IdentityScope.java
12402 java/security/InvalidAlgorithmParameterException.java
12403 java/security/InvalidKeyException.java
12404 java/security/InvalidParameterException.java
12405 java/security/Key.java java/security/KeyException.java
12406 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12407 java/security/KeyManagementException.java
12408 java/security/KeyPair.java java/security/KeyPairGenerator.java
12409 java/security/KeyPairGeneratorSpi.java
12410 java/security/KeyStore.java
12411 java/security/KeyStoreException.java
12412 java/security/KeyStoreSpi.java
12413 java/security/MessageDigest.java
12414 java/security/MessageDigestSpi.java
12415 java/security/NoSuchAlgorithmException.java
12416 java/security/NoSuchProviderException.java
12417 java/security/Permission.java
12418 java/security/PermissionCollection.java
12419 java/security/Permissions.java java/security/Policy.java
12420 java/security/Principal.java java/security/PrivateKey.java
12421 java/security/PrivilegedAction.java
12422 java/security/PrivilegedActionException.java
12423 java/security/PrivilegedExceptionAction.java
12424 java/security/ProtectionDomain.java
12425 java/security/Provider.java
12426 java/security/ProviderException.java
12427 java/security/PublicKey.java
12428 java/security/SecureClassLoader.java
12429 java/security/SecureRandom.java
12430 java/security/SecureRandomSpi.java java/security/Security.java
12431 java/security/SecurityPermission.java
12432 java/security/Signature.java
12433 java/security/SignatureException.java
12434 java/security/SignatureSpi.java
12435 java/security/SignedObject.java java/security/Signer.java
12436 java/security/UnrecoverableKeyException.java
12437 java/security/UnresolvedPermission.java
12438 java/security/acl/Acl.java java/security/acl/AclEntry.java
12439 java/security/acl/AclNotFoundException.java
12440 java/security/acl/Group.java
12441 java/security/acl/LastOwnerException.java
12442 java/security/acl/NotOwnerException.java
12443 java/security/acl/Owner.java java/security/acl/Permission.java
12444 java/security/cert/CRL.java
12445 java/security/cert/CRLException.java
12446 java/security/cert/Certificate.java
12447 java/security/cert/CertificateEncodingException.java
12448 java/security/cert/CertificateException.java
12449 java/security/cert/CertificateExpiredException.java
12450 java/security/cert/CertificateFactory.java
12451 java/security/cert/CertificateFactorySpi.java
12452 java/security/cert/CertificateNotYetValidException.java
12453 java/security/cert/CertificateParsingException.java
12454 java/security/cert/X509CRL.java
12455 java/security/cert/X509CRLEntry.java
12456 java/security/cert/X509Certificate.java
12457 java/security/cert/X509Extension.java
12458 java/security/interfaces/DSAKey.java
12459 java/security/interfaces/DSAKeyPairGenerator.java
12460 java/security/interfaces/DSAParams.java
12461 java/security/interfaces/DSAPrivateKey.java
12462 java/security/interfaces/DSAPublicKey.java
12463 java/security/interfaces/RSAKey.java
12464 java/security/interfaces/RSAPrivateCrtKey.java
12465 java/security/interfaces/RSAPrivateKey.java
12466 java/security/interfaces/RSAPublicKey.java
12467 java/security/spec/AlgorithmParameterSpec.java
12468 java/security/spec/DSAParameterSpec.java
12469 java/security/spec/DSAPrivateKeySpec.java
12470 java/security/spec/DSAPublicKeySpec.java
12471 java/security/spec/EncodedKeySpec.java
12472 java/security/spec/InvalidKeySpecException.java
12473 java/security/spec/InvalidParameterSpecException.java
12474 java/security/spec/KeySpec.java
12475 java/security/spec/PKCS8EncodedKeySpec.java
12476 java/security/spec/RSAKeyGenParameterSpec.java
12477 java/security/spec/RSAPrivateCrtKeySpec.java
12478 java/security/spec/RSAPrivateKeySpec.java
12479 java/security/spec/RSAPublicKeySpec.java
12480 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12481 java/sql/BatchUpdateException.java java/sql/Blob.java
12482 java/sql/CallableStatement.java java/sql/Clob.java
12483 java/sql/Connection.java java/sql/DataTruncation.java
12484 java/sql/DatabaseMetaData.java java/sql/Date.java
12485 java/sql/Driver.java java/sql/DriverManager.java
12486 java/sql/DriverPropertyInfo.java
12487 java/sql/PreparedStatement.java java/sql/Ref.java
12488 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12489 java/sql/SQLData.java java/sql/SQLException.java
12490 java/sql/SQLInput.java java/sql/SQLOutput.java
12491 java/sql/SQLWarning.java java/sql/Statement.java
12492 java/sql/Struct.java java/sql/Time.java
12493 java/sql/Timestamp.java java/sql/Types.java
12494 java/text/Annotation.java
12495 java/text/AttributedCharacterIterator.java
12496 java/text/AttributedString.java
12497 java/text/AttributedStringIterator.java
12498 java/text/BreakIterator.java java/text/CharacterIterator.java
12499 java/text/ChoiceFormat.java java/text/Collator.java
12500 java/text/DateFormat.java java/text/DateFormatSymbols.java
12501 java/text/DecimalFormat.java
12502 java/text/DecimalFormatSymbols.java
12503 java/text/FieldPosition.java java/text/Format.java
12504 java/text/MessageFormat.java java/text/NumberFormat.java
12505 java/text/ParseException.java java/text/ParsePosition.java
12506 java/text/SimpleDateFormat.java
12507 java/text/StringCharacterIterator.java
12508 java/util/AbstractCollection.java java/util/AbstractList.java
12509 java/util/AbstractMap.java
12510 java/util/AbstractSequentialList.java
12511 java/util/AbstractSet.java java/util/ArrayList.java
12512 java/util/Arrays.java java/util/BasicMapEntry.java
12513 java/util/BitSet.java java/util/Calendar.java
12514 java/util/Collection.java java/util/Collections.java
12515 java/util/Comparator.java
12516 java/util/ConcurrentModificationException.java
12517 java/util/Date.java java/util/Dictionary.java
12518 java/util/EmptyStackException.java java/util/Enumeration.java
12519 java/util/EventListener.java java/util/EventObject.java
12520 java/util/GregorianCalendar.java java/util/HashMap.java
12521 java/util/HashSet.java java/util/Hashtable.java
12522 java/util/IdentityHashMap.java java/util/Iterator.java
12523 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12524 java/util/LinkedList.java java/util/List.java
12525 java/util/ListIterator.java java/util/ListResourceBundle.java
12526 java/util/Locale.java java/util/Map.java
12527 java/util/MissingResourceException.java
12528 java/util/NoSuchElementException.java
12529 java/util/Observable.java java/util/Observer.java
12530 java/util/Properties.java java/util/PropertyPermission.java
12531 java/util/PropertyResourceBundle.java java/util/Random.java
12532 java/util/RandomAccess.java java/util/ResourceBundle.java
12533 java/util/Set.java java/util/SimpleTimeZone.java
12534 java/util/SortedMap.java java/util/SortedSet.java
12535 java/util/Stack.java java/util/StringTokenizer.java
12536 java/util/TimeZone.java java/util/Timer.java
12537 java/util/TimerTask.java
12538 java/util/TooManyListenersException.java
12539 java/util/TreeMap.java java/util/TreeSet.java
12540 java/util/Vector.java java/util/WeakHashMap.java
12541 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12542 java/util/jar/JarException.java java/util/jar/JarFile.java
12543 java/util/jar/JarInputStream.java
12544 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12545 java/util/zip/Adler32.java java/util/zip/CRC32.java
12546 java/util/zip/CheckedInputStream.java
12547 java/util/zip/CheckedOutputStream.java
12548 java/util/zip/Checksum.java
12549 java/util/zip/DataFormatException.java
12550 java/util/zip/Deflater.java
12551 java/util/zip/DeflaterOutputStream.java
12552 java/util/zip/GZIPInputStream.java
12553 java/util/zip/GZIPOutputStream.java
12554 java/util/zip/Inflater.java
12555 java/util/zip/InflaterInputStream.java
12556 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12557 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12558 java/util/zip/ZipInputStream.java
12559 java/util/zip/ZipOutputStream.java
12560 javax/naming/BinaryRefAddr.java
12561 javax/naming/InvalidNameException.java javax/naming/Name.java
12562 javax/naming/NamingException.java javax/naming/RefAddr.java
12563 javax/naming/StringRefAddr.java: Add license clarification.
12564
12565 2002-01-22 Tom Tromey <tromey@redhat.com>
12566
12567 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12568 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12569 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12570 version.
12571 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12572 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12573 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12574 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12575 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12576 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12577 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12578 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12579 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12580 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12581 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12582 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12583 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12584 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12585 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12586 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12587 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12588 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12589 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12590 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12591 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12592 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12593 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12594 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12595 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12596 (minimumSize, preferredSize, reshape): Likewise.
12597 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12598 getColorModel): New methods.
12599 * java/awt/PopupMenu.java: Merged with Classpath.
12600 * java/awt/MenuBar.java: Merged with Classpath.
12601 * java/awt/SystemColor.java: Replace with Classpath version.
12602 * java/awt/Panel.java: Merged with Classpath.
12603 * java/awt/PaintContext.java: Updated copyright.
12604 * java/awt/MenuShortcut.java: Merged with Classpath.
12605 * java/awt/MenuContainer.java: Merged with Classpath.
12606 * java/awt/Menu.java: Merged with Classpath.
12607 * java/awt/MediaEntry.java: New file from Classpath.
12608 * java/awt/MediaTracker.java: New file from Classpath.
12609 * java/awt/List.java: Merged with Classpath version.
12610 * java/awt/Insets.java: Merged with Classpath version.
12611 * java/awt/ImageMediaEntry.java: New file from Classpath.
12612 * java/awt/Image.java: Replaced with Classpath version.
12613 * java/awt/FontMetrics.java: Merged with Classpath version.
12614 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12615 constant.
12616 * java/awt/Font.java: Merged with Classpath version.
12617 * java/awt/Dialog.java: Merged with Classpath version.
12618 * java/awt/Color.java: Merged with Classpath version.
12619 * java/awt/Choice.java: Merged with Classpath version.
12620 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12621 * java/awt/Adjustable.java: Replace with Classpath version.
12622 * java/awt/MenuItem.java (paramString): Don't include class name
12623 or brackets. Call superclass paramString.
12624 * java/awt/MenuComponent.java (toString): Call paramString.
12625 (paramString): Compute string; don't call toString.
12626 * java/awt/Label.java (paramString): Don't include class name
12627 or brackets. Call superclass paramString.
12628 * java/awt/Checkbox.java (paramString): Don't include class name
12629 or brackets. Call superclass paramString.
12630 * java/awt/Button.java (paramString): Don't include class name or
12631 brackets. Call superclass paramString.
12632 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12633
12634 2002-01-20 Andreas Schwab <schwab@suse.de>
12635
12636 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12637 function and of parameter recv_func to ssize_t, as specified by
12638 POSIX.
12639
12640 2002-01-19 Per Bothner <per@bothner.com>
12641
12642 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12643 uncompressed_size in readiness for next entry.
12644
12645 2002-01-18 Tom Tromey <tromey@redhat.com>
12646
12647 * java/net/natPlainSocketImpl.cc: Include
12648 IllegalArgumentException.h.
12649 (_Jv_recv): New template function.
12650 (BooleanClass): Removed.
12651 (read): Use _Jv_recv.
12652 (setOption): Use Boolean::class$. Throw exception if object is
12653 not Boolean or Integer.
12654
12655 2002-01-17 Tom Tromey <tromey@redhat.com>
12656
12657 * java/awt/MenuComponent.java: Merged with Classpath.
12658 * java/awt/MenuItem.java: Merged with Classpath.
12659 * java/awt/Button.java: Merged with Classpath.
12660
12661 * java/awt/ActiveEvent.java: Updated copyright.
12662
12663 * java/awt/AWTError.java: Replaced with Classpath version.
12664 * java/awt/AWTException.java: Replaced with Classpath version.
12665 * java/awt/IllegalComponentStateException.java: Replaced with
12666 Classpath version.
12667
12668 2002-01-16 Tom Tromey <tromey@redhat.com>
12669
12670 * java/awt/Canvas.java (serialVersionUID): New constant.
12671 Updated copyright. Added javadoc from Classpath.
12672 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12673
12674 * java/awt/CheckboxGroup.java: Merged with Classpath.
12675 * java/awt/Checkbox.java: Merged with Classpath.
12676
12677 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12678 Classpath.
12679 * java/awt/Point.java: Updated copyright.
12680
12681 * java/awt/Point.java (toString): Use getClass().getName().
12682 Added javadoc.
12683
12684 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12685 commented code.
12686 (hash): Correctly compute initial value for `h'.
12687
12688 * java/awt/Label.java: Merged with Classpath.
12689
12690 2002-01-15 Tom Tromey <tromey@redhat.com>
12691
12692 * java/awt/AWTPermission.java: Updated copyright.
12693
12694 * java/awt/LayoutManager2.java: Merged with Classpath.
12695 * java/awt/LayoutManager.java: Merged with Classpath.
12696 * java/awt/GridLayout.java: Updated copyright and javadoc.
12697 (getSize): Use `parent.ncomponents'. Handle insets.
12698 (layoutContainer): Use `parent.ncomponents'. Handle case where
12699 there are fewer children than columns. Correctly compute size of
12700 each cell in the grid. Handle case where there isn't enough
12701 space.
12702 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12703 all users.
12704 (gotoComponent): Use parent.ncomponents. Ensure child exists
12705 before calling setVisible() on it. Last item is `num - 1', not
12706 `num'.
12707 (layoutContainer): Hoist invariants out of loop.
12708
12709 Start of AWT merge with Classpath:
12710 * Makefile.in: Rebuilt.
12711 * Makefile.am (awt_java_source_files): Reference files in
12712 gnu/java/awt, not gnu/gcj/awt.
12713 * java/awt/image/BufferedImage.java: Updated copyright.
12714 * java/awt/image/ComponentColorModel.java: Updated copyright.
12715 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12716 * java/awt/image/DataBuffer.java: Updated copyright.
12717 * java/awt/image/DataBufferByte.java: Updated copyright.
12718 * java/awt/image/DataBufferInt.java: Updated copyright.
12719 * java/awt/image/DataBufferUShort.java: Updated copyright.
12720 * java/awt/image/IndexColorModel.java: Updated copyright.
12721 * java/awt/image/PackedColorModel.java: Updated copyright.
12722 * java/awt/image/Raster.java: Updated copyright.
12723 * java/awt/image/RasterOp.java: Updated copyright.
12724 * java/awt/image/SampleModel.java: Updated copyright.
12725 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12726 * java/awt/image/WritableRaster.java: Updated copyright.
12727 * java/awt/color/ColorSpace.java: Updated copyright.
12728 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12729 * java/awt/color/ICC_Profile.java: Updated copyright.
12730 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12731 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12732 * java/awt/event/HierarchyEvent.java: Updated copyright.
12733 * java/awt/event/HierarchyListener.java: Updated copyright.
12734 * java/awt/geom/AffineTransform.java: Updated copyright.
12735 * java/awt/geom/Dimension2D.java: Updated copyright.
12736 * java/awt/geom/Ellipse2D.java: Updated copyright.
12737 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12738 * java/awt/geom/Line2D.java: Updated copyright.
12739 * java/awt/geom/NoninvertibleTransformException.java: Updated
12740 copyright.
12741 * java/awt/geom/PathIterator.java: Updated copyright.
12742 * java/awt/geom/Point2D.java: Updated copyright.
12743 * java/awt/geom/Rectangle2D.java: Updated copyright.
12744 * java/awt/geom/RectangularShape.java: Updated copyright.
12745 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12746 * java/awt/Toolkit.java: Updated import for file moves.
12747 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12748 Classpath.
12749 (hashCode): New method from Classpath.
12750 * java/awt/Graphics2D.java: Updated copyright.
12751 * java/awt/Transparency.java: Updated copyright.
12752 * java/awt/Paint.java: Updated copyright.
12753 * java/awt/Graphics.java: New version from Classpath.
12754 * java/awt/EventDispatchThread.java: Updated copyright.
12755 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12756 children.
12757 (gotoComponent): Wrap around on next/previous.
12758 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12759 * gnu/gcj/awt/Buffers.java: Removed.
12760 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12761 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12762 * gnu/java/awt/BitMaskExtent.java: Added.
12763 * gnu/java/awt/Buffers.java: Added.
12764 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12765 * gnu/java/awt/GLightweightPeer.java: Added.
12766 * java/awt/geom/Line2D.java (clone): Ignore
12767 CloneNotSupportedException.
12768 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12769 * java/awt/Frame.java: Merged with Classpath.
12770 * java/awt/RenderingHints.java: Copyright update.
12771 * java/awt/Paint.java: Copyright update.
12772 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12773 * java/awt/image/ColorModel.java: Merged with Classpath.
12774 * java/awt/Window.java (show): New Implementation from Classpath.
12775 (isShowing): Use super.isShowing().
12776 * java/awt/EventQueue.java: Merged with Classpath.
12777 * java/awt/AWTEventMulticaster.java (save): Throw
12778 RuntimeException.
12779 (saveInternal): Likewise.
12780 * java/awt/AWTEvent.java: Now implements Serializable.
12781 * java/awt/Event.java: Copyright update.
12782 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12783 * java/awt/image/BufferedImage.java: Copyright update.
12784 * java/awt/GraphicsConfiguration.java: Copyright update.
12785 * java/awt/Component.java: (addNotify): Don't call
12786 addNotifyContainerChildren().
12787 (addNotifyContainerChildren): Removed.
12788 (setPeer): New method from Classpath.
12789 (setTreeLock): Likewise.
12790 (setVisible): Rewrote.
12791 (show): Use it.
12792 (hide): Likewise.
12793 (validate): Set `valid'.
12794 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12795 (createImage(ImageProducer)): Likewise.
12796 (prepareImage): Likewise.
12797 * java/awt/Container.java (addImpl): Handle case where constraint
12798 is not a String. Post event via system event queue.
12799 (remove): Post event via system event queue.
12800 (validateTree): Only validate child if it is invalid.
12801 (getAlignmentX): Call super method as default.
12802 (getAlignmentY): Likewise.
12803 (addContainerListener): Now synchronized.
12804 (removeContainerListener): Likewise.
12805 (addNotifyContainerChildren): Now private.
12806 * java/awt/ComponentOrientation.java: Updated copyright. Added
12807 @author.
12808 * java/awt/FlowLayout.java (serialVersionUID): New field.
12809 (setAlignment): Better exception message.
12810 (layoutContainer): Don't compute component's preferred size unless
12811 we're going to use it.
12812 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12813 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12814 (firstLine, lastLine, firstItem, lastItem): New fields.
12815 (addLayoutComponent): Handle case where constraints is null.
12816 Also, handle relative locations.
12817 (removeLayoutComponent): Handle relative locations.
12818 (MIN, MAX, PREF): New constants.
12819 (calcCompSize): New method.
12820 (calcSize): New method.
12821 (minimumLayoutSize): Use it.
12822 (preferredLayoutSize): Likewise.
12823 (maximumLayoutSize): Likewise.
12824 (toString): Include more information.
12825 (setBounds): New method.
12826 (layoutContainer): Use libgcj implementation; extended to handle
12827 relative locations.
12828
12829 2002-01-15 Tom Tromey <tromey@redhat.com>
12830
12831 * java/lang/Float.java (equals): Preserve old code.
12832 * java/lang/Double.java (equals): Preserve old code.
12833
12834 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12835
12836 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12837 * java/lang/Float.java (equals, compare): Ditto.
12838
12839 2002-01-13 Mark Wielaard <mark@klomp.org>
12840
12841 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12842 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12843 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12844 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12845
12846 2002-01-11 Mark Wielaard <mark@klomp.org>
12847
12848 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12849 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12850 InetAddress.
12851 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12852 * java/net/Socket.java: Merge with Classpath.
12853 * java/net/ServerSocket.java: Likewise.
12854
12855 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12856
12857 * interpret.cc (NULLARRAYCHECK): New macro.
12858 (SAVE_PC): Just store `pc'.
12859 (find_exception): Subtract one from `pc' here.
12860 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12861 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12862 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12863 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12864 don't call SAVE_PC.
12865 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12866 call SAVE_PC.
12867
12868 2002-01-11 Tom Tromey <tromey@redhat.com>
12869
12870 * java/lang/natSystem.cc (init_properties): Only look for default
12871 locale if LC_MESSAGES is defined.
12872 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12873 * configure.in: Call AM_LC_MESSAGES.
12874 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12875
12876 2002-01-10 Tom Tromey <tromey@redhat.com>
12877
12878 For PR libgcj/5303:
12879 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12880 --version. Recognize GNU-style long options. Print GNU-style
12881 error messages.
12882 (usage): Print GNU-style help. Exit with status 0.
12883 (error): New method.
12884 (run): Print error message if no class names found.
12885 (main): Don't print usage on error.
12886
12887 2002-01-09 Tom Tromey <tromey@redhat.com>
12888
12889 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12890 property.
12891 (help, version): Use println(), not println("").
12892
12893 For PR libgcj/5303:
12894 * gnu/gcj/convert/Convert.java (error): Program is called
12895 `jv-convert'. Print GNU-style message. Exit with status 1, not
12896 -1.
12897 (main): Handle --help and --version.
12898 (help): New method.
12899 (version): Likewise.
12900
12901 2002-01-08 Tom Tromey <tromey@redhat.com>
12902
12903 * Makefile.in: Rebuilt.
12904 * Makefile.am (ordinary_java_source_files): Added new files.
12905 * gnu/java/locale/LocaleInformation.java: Extend
12906 LocaleInformation_en.
12907 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12908 and time/date formats.
12909 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12910 generated.
12911 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12912 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12913 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12914 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12915 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12916 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12917 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12918 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12919 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12920 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12921 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12922 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12923 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12924 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12925 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12926 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12927 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12928 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12929 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12930 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12931 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12932 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12933 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12934 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12935 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12936 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12937 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12938 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12939 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12940 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12941 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12942 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12943 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12944 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12945 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12946 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12947 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12948 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12949 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12950 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12951 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12952 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12953 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12954 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12955 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12956 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12957 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12958 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12959 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12960 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12961 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12962 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12963 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12964 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12965 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12966 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12967 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12968 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12969 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12970 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12971 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12972 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12973 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12974 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12975 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12976 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12977 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12978 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12979 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12980 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12981 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12982 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12983 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12984 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12985 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12986 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12987 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12988 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12989 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12990 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12991 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12992 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12993 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12994 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12995 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12996 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12997 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12998 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12999 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13000 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13001 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13002 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13003 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13004 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13005 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13006 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13007 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13008 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13009 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13010 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13011 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13012 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13013 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13014 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13015 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13016 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13017 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13018 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13019 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13020 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13021 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13022 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13023 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13024 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13025 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13026 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13027 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13028 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13029 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13030 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13031 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13032 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13033 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13034 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13035 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13036 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13037 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13038 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13039 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13040 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13041
13042 For PR libgcj/5031:
13043 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13044 choose default locale.
13045
13046 * Makefile.in: Rebuilt.
13047 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13048
13049 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
13050
13051 * java/net/natPlainSocketImpl.cc: Added timeout handling for
13052 sockets.
13053 (close): New function closes the socket.
13054 (write): New functions for output to socket.
13055 (read): New functions for reading from socket.
13056 * java/net/PlainSocketImpl.java: Glue for new timeout
13057 implementation.
13058 (write): Call the native impl.
13059 (read): Likewise.
13060 (getInputStream): Get a stream to read from the socket.
13061 (getOutputStream): Get a stream to write to the socket.
13062
13063 2002-01-08 Tom Tromey <tromey@redhat.com>
13064
13065 * resolve.cc (_Jv_PrepareClass): Enable verifier.
13066
13067 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
13068
13069 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13070 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13071
13072 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
13073
13074 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13075 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13076 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13077 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13078 insn_bastore, insn_castore, insn_sastore]: Use it.
13079 (continue1) [insn_arraylength]: Check for null array.
13080
13081 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13082
13083 * configure, include/config.h.in: Rebuilt.
13084 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13085 * configure.in: Call AC_STRUCT_TIMEZONE.
13086
13087 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13088
13089 * configure.host: Disable the interpreter for Darwin.
13090
13091 2002-01-04 Tom Tromey <tromey@redhat.com>
13092
13093 * java/lang/Thread.java (stop): No longer synchronized.
13094 (start): Likewise.
13095
13096 2002-01-02 Tom Tromey <tromey@redhat.com>
13097
13098 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13099 patch.
13100
13101 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13102
13103 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13104 PPC Darwin, not for all of Darwin.