[multiple changes]
[gcc.git] / libjava / ChangeLog
1 2003-08-08 Andrew Haley <aph@redhat.com>
2
3 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4 * Makefile.in: Rebuild.
5 * java/lang/natRuntime.cc (insertSystemProperties): Add
6 "sun.boot.class.path".
7
8 2003-08-07 Andrew Haley <aph@redhat.com>
9
10 * java/io/PrintStream.java: Don't crash on a null string.
11
12 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13
14 * configure.in: Don't initialize GCINCS to boehm-gc/include.
15 * configure: Regenerate.
16
17 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
18
19 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
20 SocketImpl. Update Javadoc.
21 (bind): Call close() not impl.close() in event of exception.
22 (connect): Likewise.
23 Remove superfluous null checks throughout.
24 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
25 Don't create an extra socket. Fix for PR libgcj/10868.
26 (bind): Clean up exception handling.
27 Remove superfluous null checks throughout.
28
29 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
30 Bryce McKinlay <bryce@mckinlay.net.nz>
31
32 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
33 ready-to-write argument to _Jv_Select. Reset the socket back to
34 non-blocking state after connecting.
35 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
36 Throw SocketTimeoutException not InterruptedIOException.
37 (read): Throw SocketTimeoutException not InterruptedIOException.
38
39 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
40
41 * java/lang/Thread.java (Thread): Check for null "name" from
42 start of private constructor, not after calling the private
43 constructor.
44
45 2003-08-06 Tom Tromey <tromey@redhat.com>
46
47 * java/io/FilePermission.java (equals): Use correct index for
48 last character of path.
49
50 2003-08-06 Alan Modra <amodra@bigpond.net.au>
51
52 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
53 * configure.in: Compare with_cross_host to build_alias, not build.
54 * aclocal.m4: Regenerate.
55 * configure: Regenerate.
56
57 2003-08-05 Tom Tromey <tromey@redhat.com>
58
59 Fix for PR libgcj/11779:
60 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
61 class.
62
63 * java/lang/reflect/Method.java: Updated status comment.
64 Imported javadoc from Classpath and re-ordered methods.
65 * java/lang/reflect/Constructor.java: Reindented. Updated
66 status comment. Imported javadoc from Classpath and re-ordered
67 methods.
68
69 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
70
71 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
72 Add keyLocation parameter.
73 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
74 string.
75 (paramString): Generate keyChar string according to keyChar, not
76 keyCode.
77 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
78 (state_to_awt_mods): Handle ALT key.
79 (keyevent_state_to_awt_mods): New function.
80 (get_first_keyval_from_keymap): New function.
81 (keysym_to_awt_keycode): Get virtual key code from keymap.
82 Handle missing VK_ values.
83 (keysym_to_awt_keylocation): New function.
84 (keyevent_to_awt_keychar): New function.
85 (generates_key_typed_event): Handle non-text-component case.
86 Handle GDK_KP_Delete and GDK_KP_Enter.
87 (awt_event_handler): Call new functions to get postKeyEvent
88 parameters.
89 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
90 Update postKeyEvent method signature.
91 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
92 VK_ defines.
93
94 2003-08-05 Matthias Klose <doko@debian.org>
95
96 * aclocal.m4: check for libart-config binary
97 under the name libart2-config as well.
98 * configure: regenerated.
99
100 2003-08-04 David P Grove <groved@us.ibm.com>
101
102 * java/text/DecimalFormat.java (format): avoid ArithmeticException
103 when groupingSize is 0.
104 (parse): Likewise.
105
106 2003-08-04 Matthias Klose <doko@debian.org>
107
108 * libart.m4: check for libart-config binary
109 under the name libart2-config as well.
110 * configure, aclocal.m4: regenerated.
111
112 2003-08-02 Michael Koch <konqueror@gmx.de>
113
114 * java/nio/ByteBufferImpl.java
115 (getChar): Check remaining bytes, fixed comment about endianess.
116 (putChar): Likewise.
117 (getShort): Likewise.
118 (putShort): Likewise.
119 (getInt): Check remaining bytes, fixed conversion, fixed comment about
120 endianess.
121 (putInt): Likewise.
122 (getLong): Likewise.
123 (putLong): Likewise.
124 (getFloat): Likewise.
125 (putFloat): Likewise.
126 (getDouble): Likewise.
127 (putDouble): Likewise.
128 * java/nio/DirectByteBufferImpl.java
129 (getChar): Wrapped code, fixed comment about endianess.
130 (putchar): Likewise.
131 (getShort): Likewise.
132 (putShort): Likewise.
133 (getInt): Fixed conversion, fixed comment about endianess.
134 (putInt): Likewise.
135 (getLong): Likewise.
136 (putLong): Likewise.
137 (getFloat): Likewise.
138 (putFloat): Likewise.
139 (getDouble): Likewise.
140 (putDouble): Likewise.
141 * java/nio/MappedByteBufferImpl.java
142 (compact): Implemented.
143 (getChar): Implemented.
144 (putChar): Implemented.
145 (getDouble): Implemented.
146 (putdouble): Implemented.
147 (getFloat): Implemented.
148 (putFloat): Implemented.
149 (getInt): Implemented.
150 (putInt): Implemented.
151 (getLong): Implemented.
152 (putLong): Implemented.
153 (getShort): Implemented.
154 (putShort): Implemented.
155 * java/nio/channels/FileChannelImpl.java
156 (read): Set position where to access file.
157 (write): Likewise.
158 (transferTo): Flip buffer after read and before write.
159 (transferFrom): Likewise.
160
161 2003-08-02 Michael Koch <konqueror@gmx.de>
162
163 * gnu/java/lang/ArrayHelper.java
164 (equalsArray): Reformated, added method documentation.
165
166 2003-08-02 Michael Koch <konqueror@gmx.de>
167
168 * java/net/URL.java
169 (URL): Added paragraph about the
170 gnu.java.net.nocache_protocol_handlers property.
171 (ph_cache): Renamed from handlers to match classpath's implementation.
172 Reordered it with factory and serialVersionUID member variables.
173 (cache_handlers): New member variable.
174 (static): New static initializer to initialize cache_handlers from
175 gnu.java.net.nocache_protocol_handlers property.
176 (URL): Use ph_cache instead of handlers, reformatted some code to
177 match classpath's implementation.
178
179 2003-08-01 Tom Tromey <tromey@redhat.com>
180
181 Fix for PR libgcj/11241:
182 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
183 initialCapacity is 0, set it to 1.
184
185 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
186
187 * java/net/SocketImpl.java (toString): Display the remote address
188 of an unconnected server socket as "0.0.0.0/0.0.0.0".
189
190 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
191
192 * javax/swing/border/BevelBorder.java,
193 javax/swing/border/EtchedBorder.java,
194 javax/swing/border/LineBorder.java,
195 javax/swing/border/MatteBorder.java,
196 javax/swing/border/SoftBevelBorder.java,
197 javax/swing/plaf/BorderUIResource.java,
198 javax/swing/plaf/ComponentUI.java,
199 javax/swing/plaf/TreeUI.java,
200 javax/swing/plaf/basic/BasicBorders.java,
201 javax/swing/plaf/basic/BasicGraphicsUtils.java,
202 javax/swing/plaf/basic/BasicTreeUI.java:
203 Prepend "doc-files" to all paths to embedded Javadoc images, so
204 that the generated documentation contains the correct URL.
205
206 2003-08-01 Tom Tromey <tromey@redhat.com>
207
208 * configure: Rebuilt.
209 * configure.in (tool_include_dir): Redefine to match gcc.
210
211 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
212 Mark Wielaard <mark@klomp.org>
213
214 * java/math/BigDecimal (divide): Correctly handle
215 ROUND_HALF_EVEN when amount is greater than 0.5.
216 Simplify and optimize code.
217
218 2003-07-31 Tom Tromey <tromey@redhat.com>
219
220 More for PR libgcj/11737:
221 * java/io/ObjectInputStream.java (processResolution): Use
222 getMethod.
223 (getMethod): Make method accessible.
224 (getField): Make field accessible.
225 (setBooleanField): Don't call setAccessible here.
226 (setByteField, setCharField, setDoubleField, setFloatField,
227 setIntField, setLongField, setShortField, setObjectField):
228 Likewise.
229 (callReadMethod): Don't check whether method is null. Catch
230 NoSuchMethodException.
231 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
232 cause on thrown exceptions.
233
234 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
235
236 Fix for PR libgcj/11728:
237 * java/util/HashMap.java (readObject): Set size.
238
239 2003-07-31 Tom Tromey <tromey@redhat.com>
240
241 Fix for PR libgcj/11737:
242 * java/io/ObjectOutputStream.java (getMethod): Make method
243 accessible.
244 (getField): Likewise.
245 (writeObject): Use getMethod.
246 Import PrivilegedAction and AccessController.
247 (callWriteMethod): Don't check whether m is null. Catch
248 NoSuchMethodException.
249
250 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
251 (containsAngle): Likewise.
252 (getStartPoint): Rewrote.
253 (getEndPoint): Likewise.
254 (setAngleStart(Point2D)): Likewise.
255
256 2003-07-31 Roger Sayle <roger@eyesopen.com>
257 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
258
259 * configure.in: Add new THREADCXXFLAGS variable.
260 Handle POSIX threads on alpha*-dec-osf*.
261 * configure: Regenerate.
262 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
263 * Makefile.in: Regenerate.
264
265 2003-07-08 Andrew Haley <aph@redhat.com>
266
267 * include/i386-signal.h (RESTORE): New.
268 (INIT_SEGV): Set restorer.
269 (INIT_FPE): Likewise.
270
271 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
272
273 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
274 than getXLFD.
275 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
276 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
277 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
278 (gtkSetFont): Scale size parameter by PANGO_SCALE.
279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
280 Likewise.
281 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
282 Likewise.
283
284 2003-07-29 Tom Tromey <tromey@redhat.com>
285
286 * defineclass.cc (handleField): Throw exception if field name is
287 duplicated.
288 (handleMethod): Throw exception for duplicate method.
289
290 2003-07-29 Tom Tromey <tromey@redhat.com>
291
292 * gnu/gcj/convert/natIconv.cc (write): Handle case where
293 output buffer is too small.
294
295 2003-07-28 Tom Tromey <tromey@redhat.com>
296
297 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
298 New method.
299 Include gnu/gcj/runtime/StringBuffer.h.
300 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
301 native method.
302 (String(gnu.gcj.runtime.StringBuffer)): Use it.
303
304 2003-07-27 Anthony Green <green@redhat.com>
305
306 * configure.in: Fix newlib check.
307 * configure: Rebuilt.
308
309 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
310
311 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
312 Create vbox and layout for GtkPlug.
313
314 2003-07-27 Michael Koch <konqueror@gmx.de>
315
316 * java/awt/Window.java
317 (Window): Removed now unused constructor. It became oboslete with the
318 new embedded window patch.
319
320 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
321 Michael Koch <konqueror@gmx.de>
322
323 * gnu/java/awt/EmbeddedWindow.java
324 (EmbeddedWindow): Extends Frame instead of Window.
325 (window_id): New member variable to store the native window handle.
326 (create): Removed.
327 (EmbeddedWindow): New constructor.
328 (addNotify): New method.
329 (getHandler): Likewise.
330 (setWindowPeer): New native method.
331 * gnu/java/awt/EmbeddedWindowSupport.java
332 (EmbeddedWindowSupport): Fixed documentation.
333 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
334 WindowPeer, give it an EmbeddedWindow instance instead of the raw
335 window data.
336 * gnu/java/awt/natEmbeddedWindow.cc
337 (create): Removed.
338 (setWindowPeer): New method.
339 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
340 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
341 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
342 New files
343 * gnu/java/awt/peer/gtk/GtkToolkit.java
344 (GtkToolkit): Implements EmbeddedWindowSupport.
345 (createEmbeddedWindow): New method.
346 * java/awt/Window.java
347 (Window): Removed.
348 * Makefile.am
349 (java_source_files): Added EmbeddedWindowPeer.java.
350 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
351 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
352 * Makefile.in: Regenerated.
353
354 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
355
356 * java/lang/Win32Process.java (ConcreteProcess): Surround
357 a command line element with quotes if it contains an
358 embedded space or tab.
359 * java/lang/natWin32Process.cc (startProcess): Do not
360 surround command line elements with quotes here.
361
362 * configure.host: Use -fcheck-references and
363 -fuse-divide-subroutine for MinGW until we fix
364 win32_exception_handler( ) in win32.cc w.r.t. Win32
365 Structured Exception Handling (SEH).
366
367 * win32.cc (_Jv_platform_initProperties): Use generic names
368 like "x86" for the "os.arch" property to be consistent with
369 what Sun's JDK produces. Use the wProcessorArchitecture
370 member of the Win32 SYSTEM_INFO structure, filled in a call
371 to GetSystemInfo( ), instead of dwProcessorType.
372
373 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
374 Ranjit Mathew <rmathew@hotmail.com>
375
376 * Makefile.am: Use cross-compiling gcjh from the path for
377 a crossed-native build.
378 * Makefile.in: Rebuilt.
379 * configure.in: Include libltdl in non-newlib builds.
380 Moved determination of gcj used to build libraries to
381 its own section. Fixed cross-compilation issues for
382 non-newlib builds.
383 * configure: Rebuilt.
384
385 2003-07-25 Tom Tromey <tromey@redhat.com>
386
387 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
388 (write): Likewise.
389 (read): Likewise.
390 (read): Likewise.
391
392 2003-07-25 Mark Wielaard <mark@klomp.org>
393
394 * java/lang/natRuntime.cc (_load): Add library name to
395 UnsatisfiedLinkError when thrown.
396
397 2003-07-25 Mark Wielaard <mark@klomp.org>
398
399 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
400 added.
401 * Makefile.in: Likewise.
402
403 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
404
405 * java/awt/Component.java
406 (getPreferredSize): Call preferredSize.
407 (preferredSize): Moved body of getPreferredSize here.
408 (getMinimumSize): Call minimumSize.
409 (minimumSize): Moved body of getMinimumSize here.
410 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
411 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
412 pass -1
413 * java/awt/Container.java
414 (validate): Don't validate if there is no peer.
415 (update): Clear background before calling paint.
416 * java/awt/GridBagLayout.java
417 Completed the implementation and fixed several bugs.
418 * java/awt/MediaTracker.java
419 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
420 combine flags.
421 * java/awt/Window.java
422 (Window): Don't call setVisible(false). Windows are invisible by
423 default and calling virtual methods from constructor causes
424 compatibility problems (e.g. subclasses may assume that the peer
425 already exists).
426
427 2003-07-25 Michael Koch <konqueror@gmx.de>
428
429 * java/awt/GridBagLayout.java:
430 Totally reworked and partly implemented.
431 * java/awt/GridBagLayoutInfo.java:
432 New file.
433
434 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
435
436 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
437 Don't pack label in an event box.
438
439 2003-07-24 Tom Tromey <tromey@redhat.com>
440
441 For PR libgcj/7482:
442 * verify.cc (ref_intersection): New class.
443 (type_val): Removed unresolved_reference_type,
444 uninitialized_unresolved_reference_type.
445 (is_assignable_from_slow): Rewrote.
446 (type::data): Removed.
447 (type::klass): New field.
448 (type::type): Added verifier argument.
449 (type::resolve): Removed.
450 (type::set_uninitialized): Updated for change to type_val.
451 (type::set_initialized): Likewise.
452 (type::isinitialized): Likewise.
453 (type::print): Likewise.
454 (construct_primitive_array_type): Likewise.
455 (type::compatible): Updated for change to type_val and to use
456 ref_intersection.
457 (type::isarray): Updated to use ref_intersection.
458 (type::isinterface): Likewise.
459 (type::element_type): Likewise.
460 (type::to_array): Likewise.
461 (type::verify_dimensions): Rewrote.
462 (type::merge): Likewise.
463 (check_class_constant): Updated for type constructor change.
464 (check_constant): Likewise.
465 (check_field_constant): Likewise.
466 (get_one_type): Likewise.
467 (initialize_stack): Likewise.
468 (verify_instructions_0): Likewise.
469 (verify_instructions_0) [op_invokeinterface]: Removed special
470 case.
471 (isect_list): New field.
472 (_Jv_BytecodeVerifier): Initialize it.
473 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
474
475 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
476
477 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
478 unless field size is 2.
479
480 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
481
482 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
483 (connectHooks): New method.
484 (handleEvent): Remove.
485 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
486 (createHooks): Remove declaration.
487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
488 (generates_key_typed_event): Change to handle only certain
489 keyvals.
490 (awt_event_handler): Add special handling for GtkTextView.
491 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
492 (textcomponent_commit_cb): New function.
493 (textcomponent_changed_cb): Likewise.
494 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
495 (connectHooks): Remove.
496
497 2003-07-23 Tom Tromey <tromey@redhat.com>
498
499 * java/lang/natSystem.cc (arraycopy): Check for overflow.
500
501 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
502
503 2003-07-22 Tom Tromey <tromey@redhat.com>
504
505 * boehm.cc (_Jv_BuildGCDescr): Wrote.
506 Include limits.h.
507
508 2003-07-22 Tom Tromey <tromey@redhat.com>
509
510 * java/awt/Window.java (getWarningString): Just return the
511 string.
512 (Window): Set warningString; check with security manager.
513
514 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
515
516 * gnu/awt/xlib/XGraphicsConfiguration.java
517 (FontMetricsCache): Made static.
518
519 2003-07-22 Tom Tromey <tromey@redhat.com>
520
521 * java/net/URLEncoder.java (encode(String)): Use platform default
522 encoding.
523 (encode(String,String)): Convert to 2-digit upper-case hex
524 number.
525 (hex): New field.
526
527 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
528
529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
530 (create): Remove unused method implementation.
531 (connectHooks): Remove debug messages.
532
533 2003-07-20 Anthony Green <green@redhat.com>
534
535 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
536 CloneNotSupportedException.
537 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
538 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
539 * gnu/gcj/xlib/GC.java (clone): Ditto.
540 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
541 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
542
543 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
544 handler.
545 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
546
547 2003-07-20 Steve Pribyl <steve@netfuel.com.>
548
549 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
550 String. Put dlerror() message into exception.
551 Include UnsatisfiedLinkError.
552 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
553 String. Now native.
554
555 2003-07-20 Tom Tromey <tromey@redhat.com>
556
557 * java/lang/Runtime.java: Comment fix.
558 * java/lang/ClassLoader.java (isAncestorOf): New method.
559 (getParent): Uncommented security check. Use isAncestorOf.
560 * include/jvm.h (_Jv_CheckAccess): Declare.
561 * java/lang/reflect/natConstructor.cc (newInstance): Perform
562 access check.
563 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
564 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
565 class loader to _Jv_GetArrayClass.
566 Include ArrayIndexOutOfBoundsException.h.
567 * java/lang/reflect/Field.java: Update comment to reflect status.
568 (equals): Fixed indentation.
569 * java/lang/Class.h (Class): Declare memberAccessCheck, not
570 checkMemberAccess. Make _Jv_CheckAccess a friend.
571 * java/lang/Class.java (memberAccessCheck): New method from
572 Classpath.
573 (checkMemberAccess): Removed.
574 (getDeclaredMethod): Use memberAccessCheck.
575 (getField): Likewise.
576 (getMethod): Likewise.
577 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
578 (_Jv_SearchMethodInClass): Likewise.
579 * prims.cc (_Jv_CheckAccess): New function.
580 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
581 (_Jv_JNI_GetAnyFieldID): Likewise.
582 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
583 (getClassLoader): Added security check.
584 (getConstructor): Call memberAccessCheck.
585 (getDeclaredClasses): Likewise.
586 (getDeclaredField): Likewise.
587 (getDeclaredFields): Likewise.
588 (_getConstructors): Likewise.
589 (getDeclaredConstructor): Likewise.
590 (getDeclaredMethods): Likewise.
591 (getFields): Likewise.
592 (getMethods): Likewise.
593 (newInstance): Likewise.
594 (_Jv_MakeVTable): Put method name in exception.
595 * java/lang/reflect/natMethod.cc (getType): Use
596 getClassLoaderInternal.
597 (_Jv_GetTypesFromSignature): Likewise.
598 (invoke): Perform access check.
599 (_Jv_CallAnyMethodA): Removed old FIXME comments.
600 Include ArrayIndexOutOfBoundsException.h.
601 * java/lang/reflect/natField.cc (getType): Use
602 getClassLoaderInternal.
603 (_Jv_CheckFieldAccessibility): Removed.
604 (getAddr): Use _Jv_CheckAccess; find caller.
605 Include ArrayIndexOutOfBoundsException.h.
606
607 2003-07-20 Michael Koch <konqueror@gmx.de>
608
609 * java/net/URL.java
610 (URL): Fixed documentation to name an argument correcty, Reformatted
611 one method declaration.
612 (getURLStreamHandler): Added documentation from classpath.
613
614 2003-07-19 Tom Tromey <tromey@redhat.com>
615
616 * mauve-libgcj: Don't run CollationElementIterator tests.
617
618 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
619
620 * java/net/URLClassLoader.java (addURL): Moved implementation to
621 private addURLImpl() to avoid calling addURL from the constructor.
622 (addURLImpl): Contains the code that was previously in addURL.
623 (addURLs): Call addURLImpl(), not addURL().
624
625 2003-07-18 Graydon Hoare <graydon@redhat.com>
626
627 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
628 Handle missing event cases, connect to "value-changed" signal.
629
630 2003-07-18 Graydon Hoare <graydon@redhat.com>
631
632 * java/awt/geom/CubicCurve2D.java,
633 java/awt/geom/Line2D.java,
634 java/awt/geom/QuadCurve2D.java,
635 java/awt/geom/Rectangle2D.java:
636 Fix path some calculations, make path iterators follow
637 a consistent style.
638
639 2003-07-18 Mark Wielaard <mark@klomp.org>
640
641 * java/util/logging/Handler.java (isLoggable): Check record level
642 smaller or equal.
643
644 2003-07-17 Michael Koch <konqueror@gmx.de>
645
646 * gnu/java/awt/peer/gtk/GtkToolkit.java:
647 Reworked imports.
648
649 2003-07-14 Michael Koch <konqueror@gmx.de>
650
651 * gnu/java/rmi/server/UnicastServerRef.java:
652 New version from classpath.
653
654 2003-07-14 Michael Koch <konqueror@gmx.de>
655
656 * java/awt/image/MemoryImageSource.java,
657 java/beans/PropertyEditorManager.java,
658 javax/naming/CompoundName.java,
659 javax/naming/spi/NamingManager.java,
660 javax/swing/AbstractButton.java,
661 javax/swing/ButtonModel.java,
662 javax/swing/SwingUtilities.java,
663 javax/swing/UIManager.java,
664 javax/swing/colorchooser/DefaultColorSelectionModel.java,
665 javax/swing/event/AncestorEvent.java,
666 javax/swing/event/InternalFrameEvent.java,
667 java/util/zip/ZipFile.java:
668 New versions from classpath.
669
670 2003-07-13 Michael Koch <konqueror@gmx.de>
671
672 * gnu/java/nio/FileChannelImpl.java,
673 gnu/java/nio/natFileChannelImpl.cc: Removed.
674 * java/io/FileInputStream.java,
675 java/io/FileOutputStream.java,
676 java/io/RandomAccessFile.java,
677 java/nio/MappedByteBufferImpl.java:
678 Import java.nio.channels.FileChannelImpl instead of
679 gnu.java.nio.FileChannelImpl.
680 * java/nio/channels/FileChannelImpl.java,
681 java/nio/channels/natFileChannelImpl.cc:
682 New files.
683 * Makefile.am
684 (ordinary_java_source_files):
685 Removed gnu/java/nio/FileChannelImpl.java and added
686 java/nio/channels/FileChannelImpl.java.
687 (nat source_files):
688 Removed gnu/java/nio/natFileChannelImpl.cc and added
689 java/nio/channels/natFileChannelImpl.cc.
690 * Makefile.in: Regenerated.
691
692 2003-07-13 Michael Koch <konqueror@gmx.de>
693
694 * javax/swing/plaf/basic/BasicBorders.java,
695 javax/swing/plaf/basic/BasicLabelUI.java,
696 javax/swing/plaf/basic/BasicLookAndFeel.java,
697 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
698 javax/swing/plaf/basic/BasicTextUI.java,
699 javax/swing/plaf/metal/MetalLookAndFeel.java:
700 New versions from classpath.
701
702 2003-07-13 Michael Koch <konqueror@gmx.de>
703
704 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
705 * gnu/java/awt/peer/gtk/GdkGraphics.java
706 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
707 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
708 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
709 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
710 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
711 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
712 * gnu/java/awt/peer/gtk/GtkClipboard.java
713 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
714 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
715 * gnu/java/awt/peer/gtk/GtkFramePeer.java
716 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
717 * gnu/java/awt/peer/gtk/GtkImage.java
718 * gnu/java/awt/peer/gtk/GtkImagePainter.java
719 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
720 * gnu/java/awt/peer/gtk/GtkListPeer.java
721 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
722 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
723 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
724 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
725 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
726 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
727 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
728 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
729 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
730 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
731 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
732 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
733
734 2003-07-13 Michael Koch <konqueror@gmx.de>
735
736 * gnu/java/locale/LocaleInformation_de.java
737 * gnu/java/locale/LocaleInformation_en.java
738 * gnu/java/locale/LocaleInformation_nl.java
739
740 2003-07-13 Michael Koch <konqueror@gmx.de>
741
742 * gnu/java/awt/EmbeddedWindow.java,
743 gnu/java/awt/EmbeddedWindowSupport.java,
744 gnu/java/awt/natEmbeddedWindow.cc:
745 New files.
746 * java/awt/Window.java
747 (Window): New constructor to support embedded windows.
748 * Makefile.am
749 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
750 gnu/java/awt/EmbeddedWindowSupport.java.
751 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
752 * Makefile.in: Regenerated.
753
754 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
755
756 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
757 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
758 * java/awt/im/InputContext.java: Remove a redundant
759 partial line.
760
761 2003-07-09 Tom Tromey <tromey@redhat.com>
762
763 * Makefile.in: Rebuilt.
764 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
765
766 2003-07-09 Mark Wielaard <mark@klomp.org>
767
768 * java/io/ObjectOutputStream.java (writeObject): break after
769 calling writeClassDescriptor().
770
771 2003-07-09 Mark Mitchell <mark@codesourcery.com>
772
773 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
774
775 2003-07-09 Michael Koch <konqueror@gmx.de>
776
777 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
778 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
779 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
780 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
781 Explicitly import used classes.
782 * java/awt/Container.java: New version from classpath.
783
784 2003-07-09 Michael Koch <konqueror@gmx.de>
785
786 * libgcj.pc.in: New file.
787 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
788 * Makefile.in: Regenerated.
789 * configure: Regenrated.
790 * configure.in: Create libgcj.pc from libgcj.pc.in.
791
792 2003-07-08 Mark Wielaard <mark@klomp.org>
793
794 * gcj/cni.h: CNI now expands to Compiled Native Interface.
795
796 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
797 * java/lang/fdlibm.h: Likewise.
798
799 2003-07-07 Adam Megacz <adam@xwt.org>
800
801 * posix.cc: added #include<stdio.h>
802
803 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
804
805 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
806 formatting.
807
808 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
809 (setCaretPosition, setEditable): Rely entirely on native
810 implementation.
811 (getArgs): Remove.
812 (postTextEvent): New method.
813 (handleEvent): New method.
814 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
815 method.
816 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
817 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
818 (keysym_to_awt_keycode): Fix range checks.
819 (generates_key_typed_event): New function.
820 (awt_event_handler): Post AWT_KEY_RELEASED events to event
821 queue.
822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
823 (gtkInit): Store TextComponent's postTextEvent method ID.
824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
825 (setText): Post TEXT_VALUE_CHANGED event to event queue.
826
827 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
828
829 * configure.in: Check for usleep declaration.
830 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
831 * configure: Regenerate.
832 * include/config.h.in: Likewise.
833 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
834
835 2003-07-01 Michael Koch <konqueror@gmx.de>
836
837 * gnu/gcj/convert/natIconv.cc
838 (iconv_init): Fixed possible memory leak by releasing allocated iconv
839 handle.
840
841 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
842
843 * glib-2.0.m4: New file.
844 * gtk-2.0.m4: New file.
845 * glib.m4: Remove.
846 * gtk.m4: Remove.
847 * configure.in: Update AM_PATH_GTK macro call to
848 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
850 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
851 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
852 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
853 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
854 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
855 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
856 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
857 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
858 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
859 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
860 jni/gtk-peer/gthread-jni.c,
861 jni/gtk-peer/gthread-jni.h:
862 New versions from classpath.
863 * aclocal.m4: Regenerate.
864 * configure: Regenerate.
865 * Makefile.in: Regenerate.
866 * gcj/Makefile.in: Regenerate.
867 * include/Makefile.in: Regenerate.
868 * testsuite/Makefile.in: Regenerate.
869
870 2003-06-30 Gary Benson <gbenson@redhat.com>
871
872 For PR libgcj/11349:
873 * javax/naming/spi/NamingManager.java (getURLContext): Use
874 correct name for factory class.
875
876 2003-06-28 Michael Koch <konqueror@gmx.de>
877
878 * java/io/PrintStream.java
879 (checkError): Call flush() instead of direct flushing of the Writer
880 object.
881 (print): Call print(String) instead of direct print method of the
882 Writer Object.
883 (println): Call println(String) instead of direct println method of the
884 Writer Object.
885 (write): Simplified.
886
887 2003-06-28 Michael Koch <konqueror@gmx.de>
888
889 * java/net/ServerSocket.java
890 (setChannel): New method.
891 * java/net/Socket.java
892 (setChannel): New method.
893
894 2003-06-27 Michael Koch <konqueror@gmx.de>
895
896 * java/beans/beancontext/BeanContextSupport.java:
897 New version from classpath.
898
899 2003-06-27 Michael Koch <konqueror@gmx.de>
900
901 * java/awt/Window.java,
902 java/awt/font/GraphicAttribute.java,
903 java/awt/font/ImageGraphicAttribute.java,
904 java/awt/image/DataBufferByte.java,
905 java/awt/image/DataBufferInt.java,
906 java/awt/image/DataBufferUShort.java,
907 java/awt/image/DirectColorModel.java,
908 java/awt/image/PixelGrabber.java:
909 New versions from classpath.
910
911 2003-06-27 Michael Koch <konqueror@gmx.de>
912
913 * java/security/Certificate.java
914 (getGuarantor): Removed wrong @deprecated tag.
915 (getPrincipal): Likewise.
916 (getPublicKey): Likewise.
917 (encode): Likewise.
918 (decode): Likewise.
919 (getFormat): Likewise.
920 (toString): Likewise.
921 * java/security/cert/PolicyQualifierInfo.java
922 (PolicyQualifierInfo): Made final.
923 * javax/security/auth/x500/X500Principal.java
924 (serialVersionUID): New member variable.
925
926 2003-06-27 Michael Koch <konqueror@gmx.de>
927
928 * java/text/Format.java
929 (serialVersionUID): Fixed value.
930
931 2003-06-27 Michael Koch <konqueror@gmx.de>
932
933 * java/net/Inet4Address.java
934 (Inet4Address): Made package-private.
935 * java/net/Inet6Address.java
936 (Inet4Address): Made package-private.
937
938 2003-06-27 Michael Koch <konqueror@gmx.de>
939
940 * java/io/RandomAccessFile.java
941 (readLine): Removed wrong @deprecated tag.
942 (getChannel): Made final.
943
944 2003-06-27 Michael Koch <konqueror@gmx.de>
945
946 * gnu/java/nio/FileChannelImpl.java
947 (write): Removed.
948
949 2003-06-27 Michael Koch <konqueror@gmx.de>
950
951 * java/nio/ByteBufferImpl.java
952 (ByteBufferImpl): Made it a package-private class
953 * java/nio/CharBufferImpl.java
954 (CharBufferImpl): Made it a package-private class
955 * java/nio/DirectByteBufferImpl.java
956 (DirectByteBufferImpl): Made it a package-private class
957 * java/nio/DoubleBufferImpl.java
958 (DoubleBufferImpl): Made it a package-private class
959 * java/nio/FloatBufferImpl.java
960 (FloatBufferImpl): Made it a package-private class
961 * java/nio/IntBufferImpl.java
962 (IntBufferImpl): Made it a package-private class
963 * java/nio/LongBufferImpl.java
964 (LongBufferImpl): Made it a package-private class
965 * java/nio/ShortBufferImpl.java
966 (ShortBufferImpl): Made it a package-private class
967 * java/nio/channels/FileChannel.java
968 (write): Made final.
969 * java/nio/channels/ServerSocketChannel.java
970 (ServerSocketChanne): Made protected.
971
972 2003-06-27 Michael Koch <konqueror@gmx.de>
973
974 * javax/naming/CompositeName.java
975 (serialVersionUID): New member variable.
976 * javax/naming/CompoundName.java
977 (serialVersionUID): New member variable.
978 * javax/naming/InitialContext.java
979 (InitialContext): Throws NamingException.
980 (init): Likewise.
981 * javax/naming/LinkRef.java
982 (serialVersionUID): New member variable.
983 (gteLinkName): Throws NamingException.
984 * javax/naming/NamingException.java
985 (serialVersionUID): New member variable.
986 * javax/naming/NamingSecurityException.java
987 (NamingSecurityException): Made abstract.
988 (serialVersionUID): New member variable.
989 * javax/naming/ReferralException.java
990 (serialVersionUID): New member variable.
991 * javax/naming/StringRefAddr.java
992 (serialVersionUID): New member variable.
993 * javax/naming/directory/BasicAttribute.java:
994 Reworked imports.
995 (serialVersionUID): New member variable.
996 (get): Throws NamingException.
997 (getAll): Throws NamingException.
998 * javax/naming/directory/BasicAttributes.java:
999 Reworked imports.
1000 (serialVersionUID): New member variable.
1001 * javax/naming/ldap/UnsolicitedNotificationEvent.java
1002 (serialVersionUID): New member variable.
1003
1004 2003-06-27 Michael Koch <konqueror@gmx.de>
1005
1006 * Makefile.am
1007 (awt_java_source_files): Added new files:
1008 javax/swing/Popup.java,
1009 javax/swing/PopupFactory.java
1010 * Makefile.in: Regenerated.
1011
1012 2003-06-27 Michael Koch <konqueror@gmx.de>
1013
1014 * javax/swing/JWindow.java,
1015 javax/swing/event/AncestorEvent.java,
1016 javax/swing/event/HyperlinkEvent.java,
1017 javax/swing/event/InternalFrameEvent.java,
1018 javax/swing/event/ListDataEvent.java,
1019 javax/swing/event/TableModelEvent.java,
1020 javax/swing/plaf/PopupMenuUI.java,
1021 javax/swing/plaf/SplitPaneUI.java,
1022 javax/swing/plaf/TabbedPaneUI.java,
1023 javax/swing/plaf/TextUI.java,
1024 javax/swing/plaf/TreeUI.java,
1025 javax/swing/plaf/basic/BasicTextUI.java,
1026 javax/swing/plaf/basic/BasicTreeUI.java:
1027 New versions from classpath.
1028 * javax/swing/Popup.java,
1029 javax/swing/PopupFactory.jav:
1030 New source files from classpath.
1031 * javax/swing/plaf/doc-files/TreeUI-1.png:
1032 New binary files from classpath.
1033
1034 2003-06-25 Michael Koch <konqueror@gmx.de>
1035
1036 * Makefile.am
1037 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
1038 * Makefile.in: Regenerated.
1039
1040 2003-06-25 Michael Koch <konqueror@gmx.de>
1041
1042 * javax/swing/plaf/ActionMapUIResource.java,
1043 javax/swing/plaf/BorderUIResource.java,
1044 javax/swing/plaf/ButtonUI.java,
1045 javax/swing/plaf/ColorChooserUI.java,
1046 javax/swing/plaf/ColorUIResource.java,
1047 javax/swing/plaf/ComboBoxUI.java,
1048 javax/swing/plaf/ComponentInputMapUIResource.java,
1049 javax/swing/plaf/ComponentUI.java,
1050 javax/swing/plaf/DesktopIconUI.java,
1051 javax/swing/plaf/DesktopPaneUI.java,
1052 javax/swing/plaf/DimensionUIResource.java,
1053 javax/swing/plaf/FileChooserUI.java,
1054 javax/swing/plaf/FontUIResource.java,
1055 javax/swing/plaf/IconUIResource.java,
1056 javax/swing/plaf/InputMapUIResource.java,
1057 javax/swing/plaf/InsetsUIResource.java,
1058 javax/swing/plaf/InternalFrameUI.java,
1059 javax/swing/plaf/LabelUI.java,
1060 javax/swing/plaf/ListUI.java,
1061 javax/swing/plaf/MenuBarUI.java,
1062 javax/swing/plaf/MenuItemUI.java,
1063 javax/swing/plaf/OptionPaneUI.java,
1064 javax/swing/plaf/PanelUI.java,
1065 javax/swing/plaf/ProgressBarUI.java,
1066 javax/swing/plaf/RootPaneUI.java,
1067 javax/swing/plaf/ScrollBarUI.java,
1068 javax/swing/plaf/ScrollPaneUI.java,
1069 javax/swing/plaf/SeparatorUI.java,
1070 javax/swing/plaf/SliderUI.java,
1071 javax/swing/plaf/TableHeaderUI.java,
1072 javax/swing/plaf/TableUI.java,
1073 javax/swing/plaf/ToolBarUI.java,
1074 javax/swing/plaf/ToolTipUI.java,
1075 javax/swing/plaf/ViewportUI.java:
1076 New versions from classpath.
1077 * javax/swing/plaf/SpinnerUI.java:
1078 New file from classpath
1079
1080 2003-06-25 Michael Koch <konqueror@gmx.de>
1081
1082 * java/awt/image/ColorModel.java:
1083 New version from classpath.
1084
1085 2003-06-25 Michael Koch <konqueror@gmx.de>
1086
1087 * java/net/PlainDatagramSocketImpl.java:
1088 Partly merged with classpath, this mainly adds documentation.
1089
1090 2003-06-25 Michael Koch <konqueror@gmx.de>
1091
1092 * java/io/ObjectInputStream.java
1093 (readClassDescriptor): New method.
1094 (readObject): Moved functionality to readClassDescriptor().
1095 * java/io/ObjectOutputStream.java
1096 (writeClassDescriptor): New method.
1097 (writeObject): Moved functionality to writeClassDescriptor().
1098
1099 2003-06-25 Michael Koch <konqueror@gmx.de>
1100
1101 * javax/swing/plaf/basic/BasicListUI.java,
1102 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1103 Added missing methods.
1104
1105 2003-06-25 Michael Koch <konqueror@gmx.de>
1106
1107 * javax/swing/event/AncestorEvent.java
1108 javax/swing/event/HyperlinkEvent.java
1109 javax/swing/event/InternalFrameEvent.java
1110 javax/swing/event/ListDataEvent.java
1111 javax/swing/event/TableModelEvent.java:
1112 Compile fixes.
1113
1114 2003-06-24 Michael Koch <konqueror@gmx.de>
1115
1116 * java/net/URL.java:
1117 Renamed "handler" to "ph" in the whole file to match classpaths
1118 version.
1119 * java/net/URLStreamHandler.java:
1120 (equals): Renamed "handler" to "ph".
1121
1122 2003-06-24 Michael Koch <konqueror@gmx.de>
1123
1124 * javax/swing/event/AncestorEvent.java,
1125 javax/swing/event/HyperlinkEvent.java,
1126 javax/swing/event/InternalFrameEvent.java,
1127 javax/swing/event/ListDataEvent.java,
1128 javax/swing/event/TableModelEvent.java,
1129 javax/swing/event/TreeWillExpandListener.java,
1130 javax/swing/plaf/ComponentUI.java,
1131 javax/swing/plaf/DesktopIconUI.java,
1132 javax/swing/plaf/DesktopPaneUI.java,
1133 javax/swing/plaf/DimensionUIResource.java,
1134 javax/swing/plaf/FileChooserUI.java,
1135 javax/swing/plaf/FontUIResource.java,
1136 javax/swing/plaf/IconUIResource.java,
1137 javax/swing/plaf/InputMapUIResource.java,
1138 javax/swing/plaf/InsetsUIResource.java,
1139 javax/swing/plaf/InternalFrameUI.java,
1140 javax/swing/plaf/LabelUI.java,
1141 javax/swing/plaf/ListUI.java,
1142 javax/swing/plaf/MenuBarUI.java,
1143 javax/swing/plaf/MenuItemUI.java,
1144 javax/swing/plaf/OptionPaneUI.java,
1145 javax/swing/plaf/PanelUI.java,
1146 javax/swing/plaf/ProgressBarUI.java,
1147 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1148 javax/swing/plaf/doc-files/ComponentUI-1.png:
1149 New versions from classpath.
1150
1151 2003-06-24 Michael Koch <konqueror@gmx.de>
1152
1153 * java/nio/Buffer.java
1154 (cap): Made package-private.
1155 (pos): Likewise.
1156 (limit): Likewise.
1157 (mark): Likewise.
1158
1159 2003-06-24 Michael Koch <konqueror@gmx.de>
1160
1161 * java/net/SocketImpl.java
1162 (shutdownInput): Made it non-abstract method throwing an exception
1163 like in SUNs JRE.
1164 (shutdownOutput): Likewise.
1165 * java/net/SocketInputStream.java,
1166 java/net/SocketOutputStream.java:
1167 New files from classpath.
1168
1169 2003-06-24 Michael Koch <konqueror@gmx.de>
1170
1171 * java/awt/Font.java,
1172 java/awt/Window.java,
1173 java/awt/color/ColorSpace.java,
1174 java/awt/datatransfer/StringSelection.java,
1175 java/awt/image/ColorModel.java:
1176 New versions from classpath.
1177
1178 2003-06-24 Michael Koch <konqueror@gmx.de>
1179
1180 * Makefile.am
1181 (awt_java_source_files): Added new files:
1182 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1183 javax/swing/plaf/basic/BasicSplitPaneUI.java
1184 * Makefile.in: Regenerated.
1185
1186 2003-06-24 Michael Koch <konqueror@gmx.de>
1187
1188 * javax/swing/text/JTextComponent.java:
1189 New version from classpath.
1190
1191 2003-06-24 Michael Koch <konqueror@gmx.de>
1192
1193 * javax/swing/Timer.java,
1194 javax/swing/plaf/ActionMapUIResource.java,
1195 javax/swing/plaf/ButtonUI.java,
1196 javax/swing/plaf/ColorChooserUI.java,
1197 javax/swing/plaf/ColorUIResource.java,
1198 javax/swing/plaf/ComboBoxUI.java,
1199 javax/swing/plaf/ComponentInputMapUIResource.java,
1200 javax/swing/plaf/basic/BasicBorders.java:
1201 New versions from classpath.
1202 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1203 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1204 New file from classpath.
1205 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1206 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1207 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1208 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1209 javax/swing/plaf/doc-files/ComponentUI-1.png:
1210 New binary files from classpath.
1211
1212 2003-06-24 Michael Koch <konqueror@gmx.de>
1213
1214 * java/io/LineNumberReader.java
1215 (skip): Dont do line number accounting here as this is already done in
1216 read(), simplified.
1217
1218 2003-06-21 Michael Koch <konqueror@gmx.de>
1219
1220 * java/io/File.java
1221 (static): Load javaio lib if existing (only in classpath).
1222 (File): Revised documentation to show the correct argument name.
1223 (createTempFile): Partly merged with classpath.
1224 (compareTo): Simplified.
1225 (lastModified): Throw exception if time < 0.
1226 (deleteOnExit): Revised documentation.
1227
1228 2003-06-21 Michael Koch <konqueror@gmx.de>
1229
1230 * java/net/PlainSocketImpl.java:
1231 Reformatted.
1232 (PlainSocketImpl): Merged class documentaion with classpath.
1233 (in): Moved.
1234 (out): Moved.
1235 (PlainSocketImpl): New empty constructor.
1236 (finalize): Moved.
1237 (setOption): Merged documentation from classpath.
1238 (getOption): Likewise.
1239 (create): Likewise.
1240 (connect): Likewise.
1241 (bind): Likewise.
1242 (listen): Likewise.
1243 (accept): Likewise.
1244 (available): Likewise.
1245 (close): Likewise.
1246 (read): Likewise.
1247 (write): Likewise.
1248 (getInputStream): Made synchronozed to get sure that only one stream
1249 object can be created for this socket, merged documentation from
1250 classpath.
1251 (getOutputStream): Likewise.
1252
1253 2003-06-21 Michael Koch <konqueror@gmx.de>
1254
1255 * java/net/PlainSocketImpl.java:
1256 Reformatting.
1257 (static): New implicit method.
1258 (read): Made package private.
1259 (write): Likewise.
1260
1261 2003-06-21 Michael Koch <konqueror@gmx.de>
1262
1263 * java/util/SimpleTimeZone.java:
1264 Removed unneeded import, reformatting.
1265
1266 2003-06-21 Michael Koch <konqueror@gmx.de>
1267
1268 * java/text/DateFormat.java,
1269 java/text/SimpleDateFormat.java,
1270 java/util/Locale.java:
1271 New versions from classpath.
1272
1273 2003-06-21 Michael Koch <konqueror@gmx.de>
1274
1275 * javax/swing/SpinnerModel.java:
1276 New file from classpath.
1277 * javax/swing/border/LineBorder.java,
1278 javax/swing/border/SoftBevelBorder.java,
1279 javax/swing/plaf/BorderUIResource.java,
1280 javax/swing/plaf/basic/BasicBorders.java:
1281 New versions from classpath.
1282 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1283 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1284 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1285 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1286 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1287 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1288 New binary files from classpath.
1289
1290 2003-06-21 Michael Koch <konqueror@gmx.de>
1291
1292 * java/util/logging/LogRecord.java,
1293 java/util/logging/Logger.java,
1294 java/util/logging/SocketHandler.java,
1295 java/util/logging/SimpleFormatter.java,
1296 java/util/logging/Formatter.java,
1297 java/util/logging/ErrorManager.java,
1298 java/util/logging/Handler.java,
1299 java/util/logging/FileHandler.java,
1300 java/util/logging/LogManager.java,
1301 java/util/logging/Level.java,
1302 java/util/logging/ConsoleHandler.java,
1303 java/util/logging/StreamHandler.java,
1304 java/util/logging/LoggingPermission.java,
1305 java/util/logging/Filter.java,
1306 java/util/logging/MemoryHandler.java,
1307 java/util/logging/XMLFormatter.java:
1308 New files from classpath.
1309
1310 2003-06-20 Michael Koch <konqueror@gmx.de>
1311
1312 * java/io/ObjectStreamField.java
1313 (unshared): new member variable.
1314 (ObjectStreamField): New constructor.
1315 (isUnshared): New method.
1316
1317 2003-06-20 Michael Koch <konqueror@gmx.de>
1318
1319 * java/net/URLStreamHandler.java
1320 (hostsEqual): Rewritten.
1321
1322 2003-06-20 Michael Koch <konqueror@gmx.de>
1323
1324 * gnu/java/nio/MappedByteFileBuffer.java,
1325 gnu/java/nio/natMappedByteFileBuffer.cc:
1326 Removed
1327 * java/nio/MappedByteBufferImpl.java:
1328 New file.
1329 * gnu/java/nio/FileChannelImpl.java:
1330 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1331 * Makefile.am
1332 (ordinary_java_source_files): Removed
1333 gnu/java/nio/MappedByteFileBuffer.java and added
1334 java/nio/MappedByteBufferImpl.java.
1335 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1336 * Makefile.in: Regenerated.
1337
1338 2003-06-19 Michael Koch <konqueror@gmx.de>
1339
1340 * gnu/java/nio/DatagramChannelImpl.java
1341 (fd): Removed.
1342 (blocking): New member variable.
1343 (socket): Likewise.
1344 (DatagramChannelImpl): Throws IOException, initialize socket.
1345 (socket):Implemented.
1346 (implCloseSelectableChannel): Throws IOException, implemented.
1347 (implConfigureBlocking): Likewise.
1348 (connect): Likewise.
1349 (disconnect): Likewise.
1350 (isConnected): Likewise.
1351 (write): Likewise.
1352 (read): Likewise.
1353 (receive): Throws IOException.
1354 (send): Likewise.
1355 * gnu/java/nio/SocketChannelImpl.java
1356 (read): Implemented.
1357 (write): Implemented.
1358
1359 2003-06-19 Michael Koch <konqueror@gmx.de>
1360
1361 * javax/swing/JComponent.java,
1362 javax/swing/JInternalFrame.java,
1363 javax/swing/MenuSelectionManager.java,
1364 javax/swing/SwingUtilities.java,
1365 javax/swing/ToggleButtonModel.java:
1366 New versions from classpath.
1367
1368 2003-06-19 Michael Koch <konqueror@gmx.de>
1369
1370 * java/text/CollationElementIterator.java
1371 (NULLORDER): Initialize with -1 as JDK documentation says.
1372
1373 2003-06-19 Michael Koch <konqueror@gmx.de>
1374
1375 * java/net/HttpURLConnection.java,
1376 java/net/Inet4Address.java,
1377 java/net/Inet6Address.java,
1378 java/net/SocketImpl.java,
1379 java/net/URLClassLoader.java:
1380 Reworked import statements.
1381 * java/net/InetAddress.java
1382 (getByAddress): Simplified.
1383 * java/net/ServerSocket.java
1384 (ServerSocket): Moved special handling during bind operation to
1385 bind().
1386 (bind): Handle different cases when trying to bind a socket.
1387 * java/net/URLConnection.java
1388 (getHeaderFieldDate): Merged with classpath.
1389 (getHeaderFieldInt): Likewise.
1390
1391 2003-06-19 Michael Koch <konqueror@gmx.de>
1392
1393 * java/util/zip/InflaterInputStream.java
1394 (InflaterInputStream): Throw NullPointerException if in is null (as
1395 JDK does).
1396
1397 2003-06-19 Michael Koch <konqueror@gmx.de>
1398
1399 * java/awt/Font.java
1400 javax/swing/UIManager.java
1401 javax/swing/border/AbstractBorder.java
1402 javax/swing/border/BevelBorder.java
1403 javax/swing/border/Border.java
1404 javax/swing/border/CompoundBorder.java
1405 javax/swing/border/EmptyBorder.java
1406 javax/swing/border/EtchedBorder.java
1407 javax/swing/border/LineBorder.java
1408 javax/swing/border/MatteBorder.java
1409 javax/swing/border/TitledBorder.java
1410 javax/swing/plaf/BorderUIResource.java
1411 javax/swing/plaf/basic/BasicBorders.java
1412 javax/swing/plaf/basic/BasicButtonUI.java
1413 javax/swing/plaf/basic/BasicCheckBoxUI.java
1414 javax/swing/plaf/basic/BasicGraphicsUtils.java
1415 javax/swing/plaf/basic/BasicLabelUI.java
1416 javax/swing/plaf/basic/BasicRadioButtonUI.java
1417 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1418 New versions from classpath.
1419 * javax/swing/border/SoftBevelBorder.java:
1420 New file from classpath.
1421 * javax/swing/border/doc-files/LineBorder-1.png,
1422 javax/swing/border/doc-files/BevelBorder-1.png,
1423 javax/swing/border/doc-files/BevelBorder-2.png,
1424 javax/swing/border/doc-files/BevelBorder-3.png,
1425 javax/swing/border/doc-files/EmptyBorder-1.png,
1426 javax/swing/border/doc-files/EtchedBorder-1.png,
1427 javax/swing/border/doc-files/EtchedBorder-2.png,
1428 javax/swing/border/doc-files/MatteBorder-1.png,
1429 javax/swing/border/doc-files/MatteBorder-2.png,
1430 javax/swing/border/doc-files/MatteBorder-3.png,
1431 javax/swing/border/doc-files/MatteBorder-4.png,
1432 javax/swing/border/doc-files/MatteBorder-5.png,
1433 javax/swing/border/doc-files/MatteBorder-6.png,
1434 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1435 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1436 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1437 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1438 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1439 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1440 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1441 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1442 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1443 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1444 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1445 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1446 New binary files from classpath.
1447 * Makefile.am
1448 (awt_java_source_files): Added
1449 javax/swing/border/SoftBevelBorder.java.
1450 * Makefile.in: Regenerated.
1451
1452 2003-06-19 Michael Koch <konqueror@gmx.de>
1453
1454 * gnu/java/security/x509/X509Certificate.java
1455 (writeReplace): Merged from classpath.
1456
1457 2003-06-19 Michael Koch <konqueror@gmx.de>
1458
1459 * gnu/java/nio/FileChannelImpl.java
1460 (map_address): Made public.
1461 (FileChannelImpl): Merged with classpath.
1462 * gnu/java/nio/natFileChannelImpl.cc
1463 (nio_mmap_file): Commented out unused arguments.
1464 (nio_unmmap_file): Likewise.
1465 (niu_msync): Likewise.
1466
1467 2003-06-19 Michael Koch <konqueror@gmx.de>
1468
1469 * java/awt/image/IndexColorModel.java:
1470 New version from classpath.
1471
1472 2003-06-18 Tom Tromey <tromey@redhat.com>
1473
1474 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1475 on arrays.
1476 (isLoopbackAddress): Likewise.
1477 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1478 on arrays.
1479
1480 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1481
1482 * java/lang/natVMSecurityManager.cc (getClassContext):
1483 Use maxlen instead of len for loop bound.
1484
1485 2003-06-18 Michael Koch <konqueror@gmx.de>
1486
1487 * gnu/java/nio/SelectorImpl.java
1488 (register): Use fd with value 0 for now, will be fixed later.
1489 * gnu/java/nio/ServerSocketChannelImpl.java
1490 (fd): Removed.
1491 (local_port): Removed.
1492 (InetSocketAddress): Removed.
1493 (ServerSocketChannelImpl): Just initialize internal socket object.
1494 (implCloseSelectableChannel): Close internal socket object.
1495 (implConfigureBlocking): Added comment.
1496 (accept): Use jaba.net stuff to accept socket.
1497 * gnu/java/nio/SocketChannelImpl.java
1498 (fd): Removed.
1499 (local_port): Removed.
1500 (InetSocketAddress): Removed.
1501 (SocketCreate): Removed.
1502 (SocketConnect): Removed.
1503 (SocketBind): Removed.
1504 (SocketListen): Removed.
1505 (SocketAvailable): Removed.
1506 (SocketClose): Removed.
1507 (SocketRead): Removed.
1508 (SocketWrite): Removed.
1509 (SocketChannelImpl): Just initialize internal socket object.
1510 (implCloseSelectableChannel): Close internal socket object.
1511 (implConfigureBlocking): Fixed implementation, added comment.
1512 (connect): Use internal socket object to connect.
1513 (socket): No need for sanity checks.
1514 (read): Comment out some stuff, this will be reimplemented in the next
1515 commit.
1516 (write): Likewise.
1517 * gnu/java/nio/natFileChannelImpl.cc
1518 (nio_mmap_file): Line wrapped.
1519 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1520 * Makefile.am
1521 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1522 * Makefile.in: Regenerated.
1523
1524 2003-06-18 Michael Koch <konqueror@gmx.de>
1525
1526 * java/util/Locale.java
1527 (equals): Merged from classpath.
1528
1529 2003-06-18 Michael Koch <konqueror@gmx.de>
1530
1531 * java/net/InetAddress.java:
1532 Reformatted to better match classpath's version.
1533 * java/net/URL.java
1534 (equals): Simplified.
1535 * java/net/URLConnection.java
1536 (setDoInput): Revised documentation.
1537 (getDefaultUseCaches): Likewise.
1538 (setRequestProperty): Added @since tag.
1539
1540 2003-06-17 Michael Koch <konqueror@gmx.de>
1541
1542 * java/net/InetSocketAddress.java
1543 (InetSocketAddress): Use wildcard address if addr is null.
1544 (InetSocketAddress): Dont duplicate implementation.
1545 (InetSocketAddress): Throw exception when hostname is null.
1546 * java/net/Socket.java:
1547 Reworked imports.
1548 (Socket): Throw exception when raddr is null, handle case when laddr
1549 is null.
1550
1551 2003-06-17 Michael Koch <konqueror@gmx.de>
1552
1553 * java/nio/DirectByteBufferImpl.java
1554 (address): Made package private.
1555 (DirectByteBufferImpl): New constructor.
1556 * java/nio/natDirectByteBufferImpl.cc
1557 (allocateImpl): Moved to java.nio namespace, implemented.
1558 (freeImpl): Likewise.
1559 (getImpl): Likewise.
1560 (putImpl): Likewise.
1561 * jni.cc
1562 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1563 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1564 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1565
1566 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1567
1568 * include/powerpc-signal.h: New File.
1569 * configure.in: Use it.
1570 * configure: Regenerated.
1571
1572 2003-06-17 Michael Koch <konqueror@gmx.de>
1573
1574 * java/util/Locale.java
1575 (getDisplayLanguage): Made it final.
1576 (getDisplayCountry): Likewise.
1577 (getDisplayVariant): Likewise.
1578 (getDisplayName): Likewise.
1579
1580 2003-06-17 Michael Koch <konqueror@gmx.de>
1581
1582 * java/util/PropertyResourceBundle.java:
1583 Removed unneeded import.
1584
1585 2003-06-17 Michael Koch <konqueror@gmx.de>
1586
1587 * java/util/prefs/AbstractPreferences.java,
1588 java/util/prefs/PreferencesFactory.java:
1589 Reworked imports, removed unused imports.
1590 * java/util/prefs/Preferences.java
1591 (systemNodeForPackage): Method takes a Class not an Object.
1592 (userNodeForPackage): Likewise.
1593 (nodeForPackage): Likewise.
1594
1595 2003-06-17 Michael Koch <konqueror@gmx.de>
1596
1597 * gnu/java/security/x509/X509Certificate.java:
1598 Explicitely import used classes.
1599
1600 2003-06-17 Michael Koch <konqueror@gmx.de>
1601
1602 * java/util/zip/ZipEntry.java,
1603 java/util/zip/ZipFile.java,
1604 java/util/zip/ZipInputStream.java,
1605 java/util/zip/ZipOutputStream.java:
1606 Reworked imports, only import used classes.
1607
1608 2003-06-17 Michael Koch <konqueror@gmx.de>
1609
1610 * gnu/java/lang/ArrayHelper.java,
1611 gnu/java/lang/ClassHelper.java:
1612 Reformatted to match classpath's versions.
1613
1614 2003-06-14 Michael Koch <konqueror@gmx.de>
1615
1616 * gnu/java/nio/FileChannelImpl.java
1617 (map_address): Removed incorrect comment.
1618 * gnu/java/nio/SelectorImpl.java
1619 (register): Remove code duplication and code for file channel handling.
1620 * gnu/java/nio/ServerSocketChannelImpl.java
1621 (serverSocket): Renamed from sock_object.
1622 (ServerSocketChannel): Initialize serverSocket.
1623 (socket): Return serverSocket.
1624 * gnu/java/nio/SocketChannelImpl.java
1625 (socket): Renamed from sock_object.
1626 (isConnectionPenging): Simplified.
1627 (socket): Return socket.
1628 2003-06-14 Michael Koch <konqueror@gmx.de>
1629
1630 * java/security/BasicPermission.java:
1631 New version from classpath.
1632
1633 2003-06-14 Michael Koch <konqueror@gmx.de>
1634
1635 * javax/naming/directory/Attribute.java:
1636 New version from classpath.
1637
1638 2003-06-14 Michael Koch <konqueror@gmx.de>
1639
1640 * java/io/BufferedReader.java,
1641 java/io/FileOutputStream.java:
1642 New versions from classpath.
1643
1644 2003-06-12 Andrew Haley <aph@redhat.com>
1645
1646 * prims.cc (catch_segv): Create exception in handler.
1647 (catch_fpe): Likewise.
1648 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1649 (_Jv_ThrowSignal): Remove.
1650
1651 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1652 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1653 to nullp and arithexception.
1654 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1655 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1656 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1657 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1658 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1659
1660 2003-06-11 Andrew Haley <aph@redhat.com>
1661
1662 * jni.cc (_Jv_JNI_check_types): New.
1663 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1664 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1665 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1666 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1667
1668 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1669 infinite loop.
1670
1671 2003-06-11 Tom Tromey <tromey@redhat.com>
1672
1673 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1674 * java/io/PrintStream.java: Not deprecated.
1675
1676 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1677
1678 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1679 (fillOval): implemented
1680 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1681 (fillArc): implemented.
1682 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1683 (fillArc): added native method.
1684 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1685 (fillArc): added native method.
1686
1687 2003-06-11 Michael Koch <konqueror@gmx.de>
1688
1689 * java/awt/im/InputSubset.java:
1690 New version from classpath.
1691
1692 2003-06-11 Michael Koch <konqueror@gmx.de>
1693
1694 * javax/swing/AbstractAction.java,
1695 javax/swing/AbstractButton.java,
1696 javax/swing/AbstractCellEditor.java,
1697 javax/swing/AbstractListModel.java,
1698 javax/swing/BorderFactory.java,
1699 javax/swing/Box.java,
1700 javax/swing/BoxLayout.java,
1701 javax/swing/ButtonGroup.java,
1702 javax/swing/DefaultButtonModel.java,
1703 javax/swing/DefaultListModel.java,
1704 javax/swing/DefaultListSelectionModel.java,
1705 javax/swing/FocusManager.java,
1706 javax/swing/ImageIcon.java,
1707 javax/swing/InputMap.java,
1708 javax/swing/JApplet.java,
1709 javax/swing/JButton.java,
1710 javax/swing/JCheckBox.java,
1711 javax/swing/JCheckBoxMenuItem.java,
1712 javax/swing/JColorChooser.java,
1713 javax/swing/JComboBox.java,
1714 javax/swing/JComponent.java,
1715 javax/swing/JDesktopPane.java,
1716 javax/swing/JDialog.java,
1717 javax/swing/JEditorPane.java,
1718 javax/swing/JFileChooser.java,
1719 javax/swing/JFormattedTextField.java,
1720 javax/swing/JFrame.java,
1721 javax/swing/JLabel.java,
1722 javax/swing/JLayeredPane.java,
1723 javax/swing/JList.java,
1724 javax/swing/JMenuBar.java,
1725 javax/swing/JMenuItem.java,
1726 javax/swing/JOptionPane.java,
1727 javax/swing/JPanel.java,
1728 javax/swing/JPasswordField.java,
1729 javax/swing/JPopupMenu.java,
1730 javax/swing/JProgressBar.java,
1731 javax/swing/JRadioButton.java,
1732 javax/swing/JRadioButtonMenuItem.java,
1733 javax/swing/JRootPane.java,
1734 javax/swing/JScrollBar.java,
1735 javax/swing/JScrollPane.java,
1736 javax/swing/JSeparator.java,
1737 javax/swing/JSlider.java,
1738 javax/swing/JTabbedPane.java,
1739 javax/swing/JTable.java,
1740 javax/swing/JTextField.java,
1741 javax/swing/JToggleButton.java,
1742 javax/swing/JToolBar.java,
1743 javax/swing/JToolTip.java,
1744 javax/swing/JTree.java,
1745 javax/swing/JViewport.java,
1746 javax/swing/JWindow.java,
1747 javax/swing/KeyStroke.java,
1748 javax/swing/ListSelectionModel.java,
1749 javax/swing/LookAndFeel.java,
1750 javax/swing/RepaintManager.java,
1751 javax/swing/ScrollPaneLayout.java,
1752 javax/swing/SizeRequirements.java,
1753 javax/swing/SwingConstants.java,
1754 javax/swing/Timer.java,
1755 javax/swing/UIDefaults.java,
1756 javax/swing/UIManager.java,
1757 javax/swing/border/AbstractBorder.java,
1758 javax/swing/border/CompoundBorder.java,
1759 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1760 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1761 javax/swing/colorchooser/ColorSelectionModel.java,
1762 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1763 javax/swing/event/AncestorEvent.java,
1764 javax/swing/event/HyperlinkEvent.java,
1765 javax/swing/event/InternalFrameAdapter.java,
1766 javax/swing/event/InternalFrameEvent.java,
1767 javax/swing/event/ListDataEvent.java,
1768 javax/swing/event/MouseInputAdapter.java,
1769 javax/swing/event/SwingPropertyChangeSupport.java,
1770 javax/swing/event/TableModelEvent.java,
1771 javax/swing/event/TreeWillExpandListener.java,
1772 javax/swing/event/UndoableEditEvent.java,
1773 javax/swing/filechooser/FileFilter.java,
1774 javax/swing/filechooser/FileSystemView.java,
1775 javax/swing/filechooser/FileView.java,
1776 javax/swing/plaf/BorderUIResource.java,
1777 javax/swing/plaf/basic/BasicDefaults.java,
1778 javax/swing/table/AbstractTableModel.java,
1779 javax/swing/table/DefaultTableCellRenderer.java,
1780 javax/swing/table/DefaultTableColumnModel.java,
1781 javax/swing/table/DefaultTableModel.java,
1782 javax/swing/table/TableColumn.java,
1783 javax/swing/text/JTextComponent.java,
1784 javax/swing/tree/AbstractLayoutCache.java,
1785 javax/swing/tree/DefaultMutableTreeNode.java,
1786 javax/swing/tree/DefaultTreeCellEditor.java,
1787 javax/swing/tree/DefaultTreeCellRenderer.java,
1788 javax/swing/tree/DefaultTreeModel.java,
1789 javax/swing/tree/DefaultTreeSelectionModel.java,
1790 javax/swing/tree/FixedHeightLayoutCache.java,
1791 javax/swing/tree/TreeCellEditor.java,
1792 javax/swing/tree/TreeModel.java,
1793 javax/swing/tree/TreeNode.java,
1794 javax/swing/tree/TreePath.java,
1795 javax/swing/tree/TreeSelectionModel.java,
1796 javax/swing/tree/VariableHeightLayoutCache.java,
1797 javax/swing/undo/AbstractUndoableEdit.java,
1798 javax/swing/undo/CompoundEdit.java,
1799 javax/swing/undo/StateEdit.java,
1800 javax/swing/undo/UndoManager.java,
1801 javax/swing/undo/UndoableEditSupport.java:
1802 New versions from classpath.
1803 * javax/swing/table/JTableHeader.java:
1804 New file from classpath.
1805 * Makefile.am
1806 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1807 * Makefile.in: Regenerated.
1808
1809 2003-06-11 Michael Koch <konqueror@gmx.de>
1810
1811 * java/nio/MappedByteBuffer.java,
1812 java/nio/channels/Channels.java,
1813 java/nio/channels/ServerSocketChannel.java,
1814 java/nio/channels/spi/AbstractSelector.java:
1815 Removed unneeded imports.
1816
1817 2003-06-11 Michael Koch <konqueror@gmx.de>
1818
1819 * java/net/DatagramSocket.java:
1820 Partly merged with classpath.
1821
1822 2003-06-11 Michael Koch <konqueror@gmx.de>
1823
1824 * java/awt/Frame.java,
1825 java/awt/Graphics.java,
1826 java/awt/Menu.java,
1827 java/awt/Robot.java,
1828 java/awt/image/ColorModel.java:
1829 New versions from classpath.
1830
1831 2003-06-10 Michael Koch <konqueror@gmx.de>
1832
1833 * java/io/PrintStream.java:
1834 Merged version from classpath.
1835 (close): Removed sychronized keyword. This class is not garantied to
1836 be thread-safe.
1837 (write): Likewise.
1838
1839 2003-06-09 Tom Tromey <tromey@redhat.com>
1840
1841 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1842 field.
1843 (getDescent): Likewise, for "descent".
1844
1845 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1846
1847 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1848 (getMaxDescent): adjusted return value.
1849 (getAscent): modified to use metrics for 'O'.
1850 (getDescent): modified to use metrics for 'y'.
1851
1852 2003-06-08 Anthony Green <green@redhat.com>
1853
1854 * java/net/URLStreamHandler.java (sameFile): Fix port value
1855 comparison.
1856 * java/net/URL.java (handler): Make package private.
1857 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1858
1859 2003-06-07 Tom Tromey <tromey@redhat.com>
1860
1861 For PR libgcj/11085:
1862 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1863 Limit number of characters in numeric field when required.
1864 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1865 Respect maximumIntegerDigits.
1866
1867 2003-06-08 Michael Koch <konqueror@gmx.de>
1868
1869 * java/net/Socket.java
1870 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1871 call bind() and connect() to actually do the bind and connect tasks.
1872 (bind): Connect to canonical address if bindpoint is null, create
1873 socket and bind it to bindpoint.
1874 (connect): Check for exceptions.
1875
1876 2003-06-08 Michael Koch <konqueror@gmx.de>
1877
1878 * java/net/DatagramSocket.java
1879 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1880 into the Multicast constructors.
1881 * java/net/DatagramSocketImpl.java
1882 (getOption): Removed.
1883 (setOption): Removed.
1884 * java/net/MulticastSocket.java
1885 (MulticastSocket): Call setReuseAddress (true).
1886 * java/net/SocketImpl.java
1887 (getOption): Removed.
1888 (setOption): Removed.
1889
1890 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1891
1892 PR libgcj/10886:
1893 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1894 Test for empty vector.
1895
1896 2003-06-06 Mark Wielaard <mark@klomp.org>
1897
1898 * java/security/Security.java (secprops): Initialize.
1899 (loadProviders): Return boolean.
1900 (static): Check result of loadProvider calls. If necessary
1901 display WARNING and fallback to Gnu provider.
1902
1903 2002-06-06 James Clark <jjc@jclark.com>
1904
1905 Fix for PR libgcj/8738:
1906 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1907 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1908 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1909 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1910 (write): Always decrease avail when count is increased.
1911 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1912 and whether output buffer is full before increasing size.
1913
1914 2002-06-06 Mark Wielaard <mark@klomp dot org>
1915
1916 * java/io/PrintStream.java (writeChars(char[],int, int)):
1917 Check converter.havePendingBytes().
1918 (writeChars(String,int,int)): Likewise.
1919 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1920 Check converter.havePendingBytes() and flush buffer when stalled.
1921
1922 2003-06-07 Michael Koch <konqueror@gmx.de>
1923
1924 * include/posix.h
1925 (O_DSYNC): Define O_DSYNC on platforms not
1926 supporting O_FSYNC (newlib).
1927
1928 2003-06-06 Mark Wielaard <mark@klomp.org>
1929
1930 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1931 AWTError.
1932
1933 2003-06-06 Michael Koch <konqueror@gmx.de>
1934
1935 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1936 More compile fixes from my stupid work yesterday.
1937
1938 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1939
1940 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1941 if _IEEE_LIBM is undefined.
1942
1943 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1944
1945 * libjava/include/posix.h (O_SYNC): Define if not available
1946 and a reasonable, perhaps more conservative, replacement exists.
1947 (O_DSYNC): Likewise.
1948 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1949
1950 2003-06-05 Michael Koch <konqueror@gmx.de>
1951
1952 * javax/swing/plaf/BorderUIResource.java,
1953 javax/swing/plaf/basic/BasicDefaults.java,
1954 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1955 More compile fixes for latest Border commit. I should not commit
1956 something in this heat here ...
1957
1958 2003-06-05 Michael Koch <konqueror@gmx.de>
1959
1960 * javax/swing/border/BevelBorder.java
1961 (BevelBorder): Removed.
1962 * javax/swing/border/EmptyBorder.java:
1963 Reformatted.
1964 (EmptyBorder): Removed.
1965 (getBorderInsets): Dont use l, r, t and b.
1966 * javax/swing/border/EtchedBorder.java
1967 (EtchedBorder): Removed.
1968 * javax/swing/border/LineBorder.java
1969 (LineBorder): Removed.
1970 * javax/swing/border/MatteBorder.java
1971 (MatteBorder): Removed.
1972 * javax/swing/border/TitledBorder.java
1973 (defaultBorder): Use other default for now.
1974 (defaultFont): Likewise.
1975 (defaultColor): Likewise.
1976
1977 2003-06-05 Michael Koch <konqueror@gmx.de>
1978
1979 * javax/swing/border/Border.java:
1980 New version from classpath.
1981
1982 2003-06-05 Michael Koch <konqueror@gmx.de>
1983
1984 * javax/swing/border/AbstractBorder.java,
1985 javax/swing/border/BevelBorder.java,
1986 javax/swing/border/CompoundBorder.java,
1987 javax/swing/border/EmptyBorder.java,
1988 javax/swing/border/EtchedBorder.java,
1989 javax/swing/border/LineBorder.java,
1990 javax/swing/border/MatteBorder.java,
1991 javax/swing/border/TitledBorder.java:
1992 New versions from Classpath.
1993
1994 2003-06-05 Michael Koch <konqueror@gmx.de>
1995
1996 * java/awt/Button.java,
1997 java/awt/Checkbox.java,
1998 java/awt/CheckboxMenuItem.java,
1999 java/awt/Choice.java,
2000 java/awt/Container.java,
2001 java/awt/Dialog.java,
2002 java/awt/EventQueue.java,
2003 java/awt/FileDialog.java,
2004 java/awt/Frame.java,
2005 java/awt/Label.java,
2006 java/awt/List.java,
2007 java/awt/Menu.java,
2008 java/awt/MenuItem.java,
2009 java/awt/Panel.java,
2010 java/awt/PopupMenu.java,
2011 java/awt/Rectangle.java,
2012 java/awt/ScrollPane.java,
2013 java/awt/Scrollbar.java,
2014 java/awt/TextArea.java,
2015 java/awt/TextField.java,
2016 java/awt/Window.java,
2017 java/awt/datatransfer/DataFlavor.java,
2018 java/awt/dnd/DragSource.java,
2019 java/awt/dnd/DragSourceContext.java,
2020 java/awt/event/HierarchyEvent.java,
2021 java/awt/event/MouseWheelEvent.java,
2022 java/awt/im/InputContext.java,
2023 java/awt/image/BufferedImage.java,
2024 java/awt/image/ComponentColorModel.java,
2025 java/awt/image/Raster.java,
2026 java/awt/image/WritableRaster.java,
2027 java/awt/peer/ComponentPeer.java,
2028 java/awt/print/PageFormat.java,
2029 java/awt/print/PrinterJob.java:
2030 New versions from Classpath.
2031
2032 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
2033
2034 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
2035 numberFormat.setParseIntegerOnly(true).
2036
2037 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
2038
2039 * include/posix-threads.h: Include <machine/pal.h> on OSF.
2040
2041 2003-06-03 Andrew Haley <aph@redhat.com>
2042
2043 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
2044 stack volatile to prevent optimization from removing it.
2045
2046 2003-05-27 Michael Koch <konqueror@gmx.de>
2047
2048 * java/util/zip/Deflater.java
2049 (FILTERED): Merged documentation from classpath.
2050 * java/util/zip/DeflaterOutputStream.java
2051 (DeflaterOutputStream): Merged documentation and argument validity
2052 check from classpath.
2053 (deflate): Merged documentation from classpath.
2054 (finish): Likewise.
2055 * java/util/zip/Inflater.java
2056 (Inflater): Merged class documentation from classpath.
2057 (zstream): Reordered.
2058 (is_finished): Reordered.
2059 (dict_needed): Reordered.
2060 (Inflater): Reordered, merged documentation from classpath.
2061 (end): Likewise.
2062 (finalize): Merged documentation from classpath.
2063 (finished): Likewise.
2064 (getAdler): Likewise.
2065 (getRemaining): Likewise.
2066 (getTotalIn): Likewise.
2067 (getTotalOut): Likewise.
2068 (inflate): Likewise.
2069 (needsDictionary): Likewise.
2070 (needsInput): Likewise.
2071 (reset): Likewise.
2072 (setDictionary): Likewise.
2073 (setInput): Likewise.
2074
2075 2003-05-27 Michael Koch <konqueror@gmx.de>
2076
2077 * java/net/URLConnection.java
2078 (getHeaderFieldInt): Merged with classpath.
2079
2080 2003-05-27 Michael Koch <konqueror@gmx.de>
2081
2082 * java/io/PrintStream.java
2083 (PrintStream): Reformatted.
2084 (PrintStream): New method, merged from classpath.
2085 (write): Reformatted.
2086
2087 2003-05-27 Michael Koch <konqueror@gmx.de>
2088
2089 * java/lang/System.java:
2090 Explicitely import needed classes.
2091
2092 2003-05-26 Michael Koch <konqueror@gmx.de>
2093
2094 * java/net/NetPermission.java,
2095 java/net/NetworkInterface.java,
2096 java/net/PasswordAuthentication.java,
2097 java/net/SocketPermission.java:
2098 New versions from classpath.
2099
2100 2003-05-25 Michael Koch <konqueror@gmx.de>
2101
2102 * java/io/PushbackInputStream.java,
2103 java/net/Authenticator.java,
2104 java/net/ContentHandler.java,
2105 java/net/ContentHandlerFactory.java,
2106 java/net/DatagramSocket.java,
2107 java/net/DatagramSocketImpl.java,
2108 java/net/DatagramSocketImplFactory.java,
2109 java/net/FileNameMap.java,
2110 java/net/SocketImplFactory.java,
2111 java/net/SocketOptions.java,
2112 java/net/URLStreamHandlerFactory.java:
2113 Merged new versions from classpath.
2114
2115 2003-05-25 Michael Koch <konqueror@gmx.de>
2116
2117 * java/awt/Checkbox.java,
2118 java/awt/Dialog.java,
2119 java/awt/Font.java,
2120 java/awt/Frame.java,
2121 java/awt/ScrollPaneAdjustable.java,
2122 java/awt/Scrollbar.java,
2123 java/awt/Window.java:
2124 New versions from classpath.
2125
2126 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2127
2128 PR libgcj/10838:
2129 * java/io/ObjectInputStream (enableResolveObject):
2130 Fixed spelling of permission name.
2131
2132 2003-05-20 Michael Koch <konqueror@gmx.de>
2133
2134 * java/io/DataInputStream.java
2135 (convertFromUTF): Merged comment from classpath.
2136 * java/io/PrintStream.java
2137 (error_occured): Renamed from error, merged comment from classpath.
2138 (PrintStream): No need to initialized error.
2139 (checkError): Replace error with error_occurred.
2140 (setError): Likewise.
2141
2142 2003-05-20 Michael Koch <konqueror@gmx.de>
2143
2144 * java/io/DataInputStream.java:
2145 Reformatted, Replaced < and & with html entitites in documentation.
2146 * java/io/File.java:
2147 Reformatted.
2148 * java/io/PrintWriter.java:
2149 Moved class documentation.
2150
2151 2003-05-20 Michael Koch <konqueror@gmx.de>
2152
2153 * gnu/java/nio/ByteBufferImpl.java,
2154 gnu/java/nio/CharBufferImpl.java,
2155 gnu/java/nio/CharViewBufferImpl.java,
2156 gnu/java/nio/DirectByteBufferImpl.java,
2157 gnu/java/nio/DoubleBufferImpl.java,
2158 gnu/java/nio/DoubleViewBufferImpl.java,
2159 gnu/java/nio/FloatBufferImpl.java,
2160 gnu/java/nio/FloatViewBufferImpl.java,
2161 gnu/java/nio/IntBufferImpl.java,
2162 gnu/java/nio/IntViewBufferImpl.java,
2163 gnu/java/nio/LongBufferImpl.java,
2164 gnu/java/nio/LongViewBufferImpl.java,
2165 gnu/java/nio/natDirectByteBufferImpl.cc,
2166 gnu/java/nio/ShortBufferImpl.java,
2167 gnu/java/nio/ShortViewBufferImpl.java:
2168 Moved files to java/nio.
2169 * gnu/java/nio/SocketChannelImpl.java
2170
2171 * java/nio/ByteBuffer.java,
2172 java/nio/CharBuffer.java,
2173 java/nio/DoubleBuffer.java,
2174 java/nio/FloatBuffer.java,
2175 java/nio/IntBuffer.java,
2176 java/nio/LongBuffer.java,
2177 java/nio/ShortBuffer.java:
2178 Dont import anything.
2179 * java/nio/ByteBufferImpl.java,
2180 java/nio/CharBufferImpl.java,
2181 java/nio/CharViewBufferImpl.java,
2182 java/nio/DirectByteBufferImpl.java,
2183 java/nio/DoubleBufferImpl.java,
2184 java/nio/DoubleViewBufferImpl.java,
2185 java/nio/FloatBufferImpl.java,
2186 java/nio/FloatViewBufferImpl.java,
2187 java/nio/IntBufferImpl.java,
2188 java/nio/IntViewBufferImpl.java,
2189 java/nio/LongBufferImpl.java,
2190 java/nio/LongViewBufferImpl.java,
2191 java/nio/natDirectByteBufferImpl.cc,
2192 java/nio/ShortBufferImpl.java,
2193 java/nio/ShortViewBufferImpl.java:
2194 Moved from gnu/java/nio.
2195 * Makefile.am
2196 (ordinary_java_source_files): Moved files from gnu/java/nio to
2197 java/nio.
2198 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2199 to java/nio.
2200 * Makefile.in: Regenerated.
2201
2202 2003-05-19 Michael Koch <konqueror@gmx.de>
2203
2204 * java/util/Calendar.java
2205 (get): Not final anymore since JDK 1.4
2206 (set): Likewise.
2207
2208 2003-05-19 Michael Koch <konqueror@gmx.de>
2209
2210 * java/text/CollationKey.java:
2211 Merged copyright and dat from classpath.
2212 * java/text/RuleBasedCollator.java:
2213 Merged class documentation from classpath.
2214
2215 2003-05-19 Michael Koch <konqueror@gmx.de>
2216
2217 * java/nio/CharBuffer.java
2218 (toString): Compile fix.
2219
2220 2003-05-19 Michael Koch <konqueror@gmx.de>
2221
2222 * gnu/java/nio/ByteBufferImpl.java
2223 (putLong): Fixed conversion to bytes.
2224 (putDouble): Fixed conversion to bytes.
2225 * gnu/java/nio/DirectByteBufferImpl.java
2226 (putLong): Fixed conversion to bytes.
2227 (putDouble): Fixed conversion to bytes.
2228 * gnu/java/nio/FileLockImpl.java
2229 (isValid): Reformatted.
2230 * java/nio/Buffer.java
2231 (Buffer): Fixed off-by-one bug in handling mark.
2232 * java/nio/ByteBuffer.java:
2233 Added newline.
2234 * java/nio/CharBuffer.java
2235 (toString): Don't use relative get to get string data.
2236
2237 2003-05-16 Michael Koch <konqueror@gmx.de>
2238
2239 * java/io/natFileDescriptorPosix.cc
2240 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2241 tested.
2242
2243 2003-05-14 Michael Koch <konqueror@gmx.de>
2244
2245 * gnu/java/nio/FileLockImpl.java
2246 (released): New member variable.
2247 (FileLockImpl): Initialize released.
2248 (releaseImpl): New native method.
2249 (release): Implemented.
2250 * gnu/java/nio/SelectorImpl.java: Reformatted.
2251 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2252 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2253 (accept): Throws IOException.
2254 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2255 (implConfigureBlocking): Throws IOException.
2256 (connect): Likewise.
2257 (read): Likewise.
2258 (write): Likewise.
2259 * gnu/java/nio/natFileLockImpl.cc: New file.
2260 * java/nio/channels/FileLock.java: Reformatted.
2261 * Makefile.am:
2262 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2263 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2264 * Makefile.in: Regenerated.
2265
2266 2003-05-13 Michael Koch <konqueror@gmx.de>
2267
2268 * gnu/java/nio/CharViewBufferImpl.java
2269 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2270 (get): Shift bits to the right direction.
2271 (put): Likewise.
2272 * gnu/java/nio/DoubleViewBufferImpl.java
2273 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2274 (get): Shift bits to the right direction.
2275 (put): Likewise.
2276 * gnu/java/nio/FloatViewBufferImpl.java
2277 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2278 (get): Shift bits to the right direction.
2279 (put): Likewise.
2280 * gnu/java/nio/IntViewBufferImpl.java
2281 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2282 (get): Shift bits to the right direction.
2283 (put): Likewise.
2284 * gnu/java/nio/LongViewBufferImpl.java
2285 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2286 (get): Shift bits to the right direction.
2287 (put): Likewise.
2288 * gnu/java/nio/ShortViewBufferImpl.java
2289 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2290 (get): Shift bits to the right direction.
2291 (put): Likewise.
2292
2293 2003-05-13 Michael Koch <konqueror@gmx.de>
2294
2295 * gnu/java/nio/natDirectByteBufferImpl.cc
2296 (allocateImpl): jlong -> RawData*.
2297 (freeImpl): Likewise.
2298
2299 2003-05-13 Michael Koch <konqueror@gmx.de>
2300
2301 * java/nio/channels/FileChannel.java
2302 (MapMode.m): Made it package-private to match JDK 1.4.
2303 * java/nio/charset/Charset.java
2304 (decode): Made it final to match JDK 1.4.
2305
2306 2003-05-13 Michael Koch <konqueror@gmx.de>
2307
2308 * java/io/FileDescriptor.java
2309 (SYNC): New constant.
2310 (DSYNC): Likewise.
2311 (getLength): Renamed from lenght() to match classpath's
2312 FileDescriptor.java.
2313 * java/io/RandomAccessFile.java
2314 (RandomAccessFile): Removed unneeded mode check, implemented mode
2315 "rws" and "rwd", merged documentation from classpath.
2316 (setLength): Reformatted.
2317 (length): Use new getLength() of FileDescriptor.
2318 * java/io/natFileDescriptorEcos.cc
2319 (getLength): Renamed from length().
2320 * java/io/natFileDescriptorPosix.cc
2321 (open): Implemented support for SYNC and DSYNC.
2322 (seek): Use getLength() instead of length().
2323 (getLength): Renamed from length().
2324 * java/io/natFileDescriptorWin32.cc
2325 (getLength): Renamed from length().
2326 (seek): Use getLength() instead of length().
2327 (available): Likewise.
2328 * gnu/java/nio/natFileChannelImpl.cc
2329 (size): Use getLength() instead of length().
2330
2331 2003-05-13 Michael Koch <konqueror@gmx.de>
2332
2333 * gnu/java/nio/ByteBufferImpl.java
2334 (ByteBufferImpl): All constructors revised.
2335 (slice): Reimplemented.
2336 (duplicate): Reimplemented.
2337 (asReadOnlyBuffer): Reimplemented.
2338 * java/nio/ByteBuffer.java:
2339 Reformatted.
2340 (array_offset): Renamed from "offset" to match all other buffer
2341 classes.
2342 (ByteBuffer): All constructors revised.
2343 (allocateDirect): Implemented.
2344 (allocate): New implementation, documentation reworked.
2345 (wrap): Likewise.
2346 (get): Documentation reworked.
2347 (put): New implementation, documentation reworked.
2348 (hasArray): Documentation reworked.
2349 (arrayOffset): Likewise.
2350 (hashCode): Likewise.
2351 (equals): Likewise.
2352 (compareTo): Likewise.
2353 (order): Likewise.
2354 (compact): Likewise.
2355 (isDirect): Likewise.
2356 (slice): Likewise.
2357 (duplicate): Likewise.
2358 (asReadOnlyBuffer): Likewise.
2359 * Makefile.am
2360 (ordinary_java_source_files):
2361 Added gnu/java/nio/DirectByteBufferImpl.java.
2362 (nat_source_files):
2363 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2364 * Makefile.in: Regenerated.
2365
2366 2003-05-12 Michael Koch <konqueror@gmx.de>
2367
2368 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2369 (nio_get_*): Removed.
2370 (nio_put_*): Removed.
2371 (as*Buffer): Implemented.
2372 (compact): Implemented.
2373 (get): Documentation added.
2374 (put): Documentation added.
2375 (get*): Newly implemented.
2376 (put*): Newly implemented.
2377 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2378 (CharBufferImpl): Revised.
2379 (slice): New implementation.
2380 (duplicate): New implementation.
2381 (compact): New implementation.
2382 (asReadOnlyBuffer): New implementation.
2383 (get): Documentation revised.
2384 (order): Return native byte order.
2385 * gnu/java/nio/DirectByteBufferImpl.java
2386 (allocateDirect): objects can be null not 0.
2387 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2388 (DoubleBufferImpl): Revised.
2389 (slice): New implementation.
2390 (duplicate): New implementation.
2391 (compact): New implementation.
2392 (asReadOnlyBuffer): New implementation.
2393 (get): Documentation revised.
2394 (order): Return native byte order.
2395 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2396 (FloatBufferImpl): Revised.
2397 (slice): New implementation.
2398 (duplicate): New implementation.
2399 (compact): New implementation.
2400 (asReadOnlyBuffer): New implementation.
2401 (get): Documentation revised.
2402 (order): Return native byte order.
2403 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2404 (IntBufferImpl): Revised.
2405 (slice): New implementation.
2406 (duplicate): New implementation.
2407 (compact): New implementation.
2408 (asReadOnlyBuffer): New implementation.
2409 (get): Documentation revised.
2410 (order): Return native byte order.
2411 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2412 (LongBufferImpl): Revised.
2413 (slice): New implementation.
2414 (duplicate): New implementation.
2415 (compact): New implementation.
2416 (asReadOnlyBuffer): New implementation.
2417 (get): Documentation revised.
2418 (order): Return native byte order.
2419 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2420 (ShortBufferImpl): Revised.
2421 (slice): New implementation.
2422 (duplicate): New implementation.
2423 (compact): New implementation.
2424 (asReadOnlyBuffer): New implementation.
2425 (get): Documentation revised.
2426 (order): Return native byte order.
2427 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2428 (CharBuffer): Revised.
2429 (order): Removed.
2430 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2431 (DoubleBuffer): Revised.
2432 (allocateDirect): Removed.
2433 (order): Removed.
2434 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2435 (FloatBuffer): Revised.
2436 (allocateDirect): Removed.
2437 (order): Removed.
2438 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2439 (IntBuffer): Revised.
2440 (allocateDirect): Removed.
2441 (order): Removed.
2442 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2443 (LongBuffer): Revised.
2444 (allocateDirect): Removed.
2445 (order): Removed.
2446 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2447 (ShortBuffer): Revised.
2448 (allocateDirect): Removed.
2449 (order): Removed.
2450 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2451 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2452 * Makefile.am
2453 (ordinary_java_source_files): Added the following files:
2454 gnu/java/nio/CharViewBufferImpl.java,
2455 gnu/java/nio/DoubleViewBufferImpl.java,
2456 gnu/java/nio/FloatViewBufferImpl.java,
2457 gnu/java/nio/IntViewBufferImpl.java,
2458 gnu/java/nio/LongViewBufferImpl.java,
2459 gnu/java/nio/ShortViewBufferImpl.java
2460 (nat_source_files): Removed the following files:
2461 gnu/java/nio/natByteBufferImpl.cc,
2462 gnu/java/nio/natCharBufferImpl.cc
2463 * Makefile.in: Regenerated.
2464
2465 2003-05-12 Michael Koch <konqueror@gmx.de>
2466
2467 * gnu/java/nio/CharViewBufferImpl.java,
2468 gnu/java/nio/DirectByteBufferImpl.java,
2469 gnu/java/nio/DoubleViewBufferImpl.java,
2470 gnu/java/nio/FloatViewBufferImpl.java,
2471 gnu/java/nio/IntViewBufferImpl.java,
2472 gnu/java/nio/LongViewBufferImpl.java,
2473 gnu/java/nio/ShortViewBufferImpl.java,
2474 gnu/java/nio/natDirectByteBufferImpl.cc:
2475 New files, not yet to be compiled.
2476
2477 2003-05-10 Michael Koch <konqueror@gmx.de>
2478
2479 * javax/swing/plaf/ButtonUI.java,
2480 javax/swing/plaf/ColorUIResource.java,
2481 javax/swing/plaf/ComponentUI.java,
2482 javax/swing/plaf/DimensionUIResource.java,
2483 javax/swing/plaf/FontUIResource.java,
2484 javax/swing/plaf/IconUIResource.java,
2485 javax/swing/plaf/InsetsUIResource.java,
2486 javax/swing/plaf/LabelUI.java,
2487 javax/swing/plaf/ListUI.java,
2488 javax/swing/plaf/OptionPaneUI.java,
2489 javax/swing/plaf/PanelUI.java,
2490 javax/swing/plaf/TabbedPaneUI.java,
2491 javax/swing/plaf/TextUI.java,
2492 javax/swing/plaf/TreeUI.java,
2493 javax/swing/plaf/ViewportUI.java,
2494 javax/swing/plaf/basic/BasicBorders.java,
2495 javax/swing/plaf/basic/BasicButtonUI.java,
2496 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2497 javax/swing/plaf/basic/BasicDefaults.java,
2498 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2499 javax/swing/plaf/basic/BasicIconFactory.java,
2500 javax/swing/plaf/basic/BasicLabelUI.java,
2501 javax/swing/plaf/basic/BasicListUI.java,
2502 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2503 javax/swing/plaf/basic/BasicPanelUI.java,
2504 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2505 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2506 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2507 javax/swing/plaf/basic/BasicTextUI.java,
2508 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2509 javax/swing/plaf/basic/BasicTreeUI.java,
2510 javax/swing/plaf/basic/BasicViewportUI.java,
2511 javax/swing/plaf/metal/MetalLookAndFeel.java:
2512 New versions from classpath. This adds copyrights to all files and
2513 some serialVersionUIDs.
2514
2515 2003-05-10 Michael Koch <konqueror@gmx.de>
2516
2517 * java/nio/CharBuffer.java
2518 (offset): Make it package-private.
2519 (backing_buffer): Likewise.
2520 * java/nio/DoubleBuffer.java
2521 (offset): Make it package-private.
2522 (backing_buffer): Likewise.
2523 (put): Reformatted.
2524 * java/nio/FloatBuffer.java
2525 (offset): Make it package-private.
2526 (backing_buffer): Likewise.
2527 * java/nio/IntBuffer.java
2528 (offset): Make it package-private.
2529 (backing_buffer): Likewise.
2530 * java/nio/LongBuffer.java
2531 (offset): Make it package-private.
2532 (backing_buffer): Likewise.
2533 * java/nio/ShortBuffer.java
2534 (offset): Make it package-private.
2535 (backing_buffer): Likewise.
2536
2537 2003-05-10 Michael Koch <konqueror@gmx.de>
2538
2539 * java/nio/CharBuffer.java
2540 (put): Fixed precondtion check.
2541 (toString): Make it work without backing array.
2542 (put): Skip one level of method calling.
2543
2544 2003-05-10 Michael Koch <konqueror@gmx.de>
2545
2546 * java/security/Identity.java,
2547 java/security/IdentityScope.java,
2548 java/security/Key.java,
2549 java/security/KeyPair.java,
2550 java/security/PrivateKey.java,
2551 java/security/Provider.java,
2552 java/security/PublicKey.java,
2553 java/security/SecureRandom.java,
2554 java/security/SecureRandomSpi.java,
2555 java/security/SignedObject.java,
2556 java/security/Signer.java,
2557 java/security/cert/Certificate.java,
2558 java/security/cert/PKIXCertPathBuilderResult.java,
2559 java/security/cert/X509Certificate.java:
2560 New versions from classpath.
2561
2562 2003-05-09 Tom Tromey <tromey@redhat.com>
2563
2564 * Makefile.in: Rebuilt.
2565 * Makefile.am (nat_source_files): Removed old files.
2566 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2567 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2568 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2569 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2570 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2571
2572 2003-05-09 Michael Koch <konqueror@gmx.de>
2573
2574 * gnu/java/nio/ByteBufferImpl.java
2575 (nio_cast): Removed.
2576 (ByteBufferImpl): Removed.
2577 (nio_get_Byte): Removed.
2578 (nio_put_Byte): Removed.
2579 (asByteBuffer): Removed.
2580 (asCharBuffer): Removed implementation and throw exception.
2581 (asShortBuffer): Likewise.
2582 (asIntBuffer): Likewise.
2583 (asLongBuffer): Likewise.
2584 (asFloatBuffer): Likewise.
2585 (asDoubleBuffer): Likewise.
2586 * gnu/java/nio/CharBufferImpl.java
2587 (CharBufferImpl): Removed.
2588 (nio_get_Byte): Removed.
2589 (nio_put_Byte): Removed.
2590 (asByteBuffer): Removed.
2591 * gnu/java/nio/DoubleBufferImpl.java
2592 (DoubleBufferImpl): Removed.
2593 (nio_get_Byte): Removed.
2594 (nio_put_Byte): Removed.
2595 (asByteBuffer): Removed.
2596 * gnu/java/nio/FloatBufferImpl.java
2597 (FloatBufferImpl): Removed.
2598 (nio_get_Byte): Removed.
2599 (nio_put_Byte): Removed.
2600 (asByteBuffer): Removed.
2601 * gnu/java/nio/IntBufferImpl.java
2602 (IntBufferImpl): Removed.
2603 (nio_get_Byte): Removed.
2604 (nio_put_Byte): Removed.
2605 (asByteBuffer): Removed.
2606 * gnu/java/nio/LongBufferImpl.java
2607 (LongBufferImpl): Removed.
2608 (nio_get_Byte): Removed.
2609 (nio_put_Byte): Removed.
2610 (asByteBuffer): Removed.
2611 * gnu/java/nio/ShortBufferImpl.java
2612 (ShortBufferImpl): Removed.
2613 (nio_get_Byte): Removed.
2614 (nio_put_Byte): Removed.
2615 (asByteBuffer): Removed.
2616 * gnu/java/nio/natByteBufferImpl.cc
2617 (nio_cast): Removed.
2618 (nio_get_Byte): Removed.
2619 (nio_put_Byte): Removed.
2620 * gnu/java/nio/natCharBufferImpl.cc
2621 (nio_get_Byte): Removed.
2622 (nio_put_Byte): Removed.
2623
2624 2003-05-09 Michael Koch <konqueror@gmx.de>
2625
2626 * java/net/JarURLConnection.java
2627 (getJarEntry): Merged documentation from classpath.
2628 (getJarFile): Likewise.
2629 (getMainAttributes): Likewise.
2630 (getAttributes): Likewise.
2631 (getManifest): Likewise.
2632 (getCertificates): Reformatted.
2633 * java/net/URLConnection.java:
2634 Little classpath merge.
2635
2636 2003-05-09 Michael Koch <konqueror@gmx.de>
2637
2638 * java/io/DataOutputStream.java
2639 (writeShort): Made it synchronized.
2640 (writeChar): Likewise.
2641 (writeInt): Likewise.
2642 (writeLong): Liekwise.
2643 (writeUTF): Made it synchronized, renamed argument to match classpath.
2644 * java/io/InputStreamReader.java
2645 (converter): Added documentation.
2646 (read): Merged documentation from classpath.
2647 * java/io/OutputStreamWriter.java
2648 (OutputStreamWriter): Merged documentation from classpath.
2649 (close): Reformatted.
2650 (getEncoding): Likewise.
2651 (flush): Likewise.
2652 (write): Merged documentation from classpath, reformatted.
2653
2654 2003-05-08 Tom Tromey <tromey@redhat.com>
2655
2656 * configure.host <powerpc64*-*>: Set with_libffi_default and
2657 libgcj_interpreter to "yes".
2658
2659 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2660
2661 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2662
2663 2003-05-06 Tom Tromey <tromey@redhat.com>
2664
2665 * verify.cc: Reverted previous patch.
2666
2667 2003-05-06 Michael Koch <konqueror@gmx.de>
2668
2669 * java/io/DataOutputStream.java
2670 (write): Renamed argument to "value", merged documentation from
2671 classpath.
2672 (writeBoolean): Likewise.
2673 (writeByte): Likewise.
2674 (writeShort): Likewise.
2675 (writeChar): Likewise.
2676 (writeInt): Likewise.
2677 (writeLong): Likewise.
2678 (writeFloat): Likewise.
2679 (writeDouble): Likewise.
2680 (writeBytes): Likewise.
2681 (writeChars): Likewise.
2682 (writeUTF): Likewise.
2683 * java/io/File.java
2684 (performDelete): Added documentation.
2685 (performList): Likewise.
2686 (performMkdir): Likewise.
2687 (performSetReadOnly): Likewise.
2688 (performRenameTo): Likewise.
2689 (performSetLastModified): Likewise.
2690 (delete): Made it sychronized.
2691 (renameTo): Made it sychronized.
2692 (equals): Reformatted.
2693 (isHidden): Likewise.
2694 (listFiles): Likewise.
2695 (setReadOnly): Likewise.
2696 (listRoots): Likewise.
2697 (setLastModified): Likewise.
2698 (checkRead): Likewise.
2699 (checkWrite): Likewise.
2700 * java/io/FileInputStream.java
2701 (skip): Made it sychronized, merged from classpath.
2702 * java/io/FileOutputStream.java
2703 (write): Merged from classpath.
2704 * java/io/InputStreamReader.java:
2705 (InputStreamReader): Merged documentation from classpath.
2706
2707 2003-05-05 Michael Koch <konqueror@gmx.de>
2708
2709 * java/net/NetworkInterface.java
2710 (networkInterfaces): Removed.
2711 (getByName): Use getRealNetworkInterfaces() instead of
2712 networkInterfaces.
2713 (getByInetAddress): Likewise.
2714 (getNetworkInterfaces): Likewise.
2715 (toString): Fix output of addresses of an interface.
2716
2717 2003-05-05 Michael Koch <konqueror@gmx.de>
2718
2719 * java/io/DataInputStream.java:
2720 Merged new documentation from classpath.
2721
2722 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2723
2724 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2725 "version".
2726 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2727 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2728 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2729 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2730 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2731 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2732 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2733 * java/security/Key.java: Likewise.
2734 * java/security/PrivateKey.java: Likewise.
2735 * java/security/Provider.java: Likewise.
2736 * java/security/PublicKey.java: Likewise.
2737
2738 2003-05-02 Michael Koch <konqueror@gmx.de>
2739
2740 * java/net/URI.java
2741 (create): Doesnt throws any exceptions.
2742 * java/net/URLConnection.java
2743 (URLConnection): Commend added.
2744 (getExpiration): The header field is called "expires" not
2745 "expiration".
2746 (getHeaderField): Merged documentation with classpath.
2747 (getHeaderFieldInt): Likewise.
2748 (getHeaderFieldDate): Likewise.
2749 (getHeaderFieldKey): Likewise.
2750 (getPermission): Likewise.
2751 (setDefaultUseCaches): Likewise.
2752 (setRequestProperty): Likewise.
2753 (addRequestProperty): Likewise.
2754 (getRequestProperty): Likewise.
2755 (getRequestProperties): Likewise.
2756 (setDefaultRequestProperty): Likewise.
2757 (getDefaultRequestProperty): Likewise.
2758 (guessContentTypeFromStream): Likewise.
2759 (getFileNameMap): Likewise.
2760 (setFileNameMap): Likewise.
2761 (setDoInput): Merged implementation and documentation with classpath.
2762 (setDoOutput): Likewise.
2763 (setAllowUserInteraction): Likewise.
2764 (setDefaultAllowUserInteraction): Likewise.
2765 (setContentHandlerFactory): Made it synchronized, merged documentation
2766 with classpath.
2767 (guessContentTypeFromName): Renamed argument fname to filename to
2768 match classpath, merged documentation with classpath.
2769
2770 2003-05-02 Michael Koch <konqueror@gmx.de>
2771
2772 * java/net/JarURLConnection.java
2773 (JarURLConnection): Class documentation merged with classpath.
2774 (getJarFileURL): Moved and documentation merged with classpath.
2775 (getEntryName): Likewise.
2776 (JarURLConnection): Documentation merged with classpath.
2777 (getJarEntry): Likewise.
2778 (getJarFile): Likewise.
2779 * java/net/PlainDatagramSocketImpl.java:
2780 Class documentation moved.
2781 * java/net/URLConnection.java
2782 (fileNameMap): Moved and documentation merged with classpath.
2783 (factory): Likewise.
2784 (defaultAllowUserInteraction): Likewis.
2785 (defaultUseCaches): Likewise.
2786 (allowUserInteraction): Likewise.
2787 (connected): Likewise.
2788 (url): Likewise.
2789 (connect): Documentation merged with classpath.
2790 (getURL): Likewise.
2791 (getContentLength): Likewise.
2792 (getContentType): Likewise.
2793 (getContentEncoding): Likewise.
2794 (getExpiration): Likewise.
2795 (getDate): Likewise.
2796 (getLastModified): Likewise.
2797 (getHeaderField): Likewise.
2798 (getContent): Likewise.
2799 (getPermission): Likewise.
2800 (getInputStream): Likewise.
2801 (getOutputStream): Likewise.
2802 (toString): Likewise.
2803 (getDoInput): Likewise.
2804 (getDoOutput): Likewise.
2805 (setAllowUserInteraction): Likewise.
2806 (getAllowUserInteraction): Likewise.
2807 (setDefaultAllowUserInteraction): Likewise.
2808 (getDefaultAllowUserInteraction): Likewise.
2809 (setUseCaches): Likewise.
2810 (getUseCaches): Likewise.
2811 (setIfModifiedSince): Likewise.
2812 (getIfModifiedSince): Likewise.
2813 (setDefaultRequestProperty): Likewise.
2814 (getDefaultRequestProperty): Likewise.
2815 (setContentHandlerFactory): Likewise.
2816 (setFileNameMap): Likewise.
2817
2818 2003-05-02 Michael Koch <konqueror@gmx.de>
2819
2820 * java/net/InetAddress.java:
2821 Merged class documentation with classpath.
2822 * java/net/JarURLConnection.java:
2823 Explicitely import all used classes.
2824 * java/net/URL.java:
2825 Reformatting.
2826 * java/net/ServerSocket.java,
2827 java/net/Socket.java:
2828 New versions from classpath.
2829
2830 2003-05-02 Michael Koch <konqueror@gmx.de>
2831
2832 * gnu/java/nio/FileChannelImpl.java
2833 (read): New implementation.
2834 (implRead): New methods.
2835 (write): New implementation, call other write insteal of read method.
2836 (implWrite): New methods.
2837 (map): Added comment.
2838 (transferFrom): Implemented.
2839 (transferTo): Implemented.
2840 (lock): Added checks to throw exceptions.
2841 (truncate): Added check to throw exception.
2842 * gnu/java/nio/natFileChannelImpl.cc
2843 (implRead): New method.
2844 (implWrite): New method.
2845 * java/nio/ByteBuffer.java
2846 (hashCode): Fixed comment.
2847 (get): Fixed exception documentation.
2848 (put): Fixed exception documentation.
2849 * java/nio/CharBuffer.java:
2850 Added comment for later optimizations.
2851
2852 2003-04-30 Tom Tromey <tromey@redhat.com>
2853
2854 PR libgcj/10582:
2855 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2856 Removed.
2857 (type::compatible): Use _Jv_IsAssignableFrom.
2858 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2859 (_Jv_IsAssignableFrom): Work even when source or target class is
2860 not prepared.
2861
2862 2003-04-30 Michael Koch <konqueror@gmx.de>
2863
2864 * java/text/BreakIterator.java
2865 (clone): New method.
2866
2867 2003-04-30 Michael Koch <konqueror@gmx.de>
2868
2869 * java/text/CollationElementIterator.java,
2870 java/text/CollationKey.java,
2871 java/text/RuleBasedCollator.java:
2872 Merged copyright and documentation from classpath and
2873 rearranged some code. No code changes done.
2874
2875 2003-04-30 Michael Koch <konqueror@gmx.de>
2876
2877 * java/util/regex/Matcher.java
2878 (pattern): New member variable.
2879 (appendReplacement): New method.
2880 (appendTail): New method.
2881 (end): New method.
2882 (find): New method.
2883 (group): New method.
2884 (replaceFirst): Added documentation.
2885 (replaceAll): Added documentation.
2886 (groupCount): New method.
2887 (lookingAt): New method.
2888 (matches): New method.
2889 (reset): New method.
2890 (start): New method.
2891 * java/util/regex/Pattern.java
2892 (serialVersionUID): New constant.
2893 (CANON_EQ): New constant.
2894 (CASE_INSENSITIVE): New constant.
2895 (COMMENTS): New constant.
2896 (DOTALL): New constant.
2897 (MULTILINE): New constant.
2898 (UNICODE_CASE): New constant.
2899 (UNIX_LINES): New constant.
2900 (regex): New member variable.
2901 (flags): New member variable.
2902 (Pattern): New method.
2903 (compile): Documentation added.
2904 (flags): New method.
2905 (matches): Documentation added.
2906 (matcher): Documentation added.
2907 (split): Documentation added.
2908 (pattern): New method.
2909
2910 2003-04-30 Michael Koch <konqueror@gmx.de>
2911
2912 * gnu/java/security/Engine.java,
2913 gnu/java/security/OID.java,
2914 gnu/java/security/der/BitString.java,
2915 gnu/java/security/der/DER.java,
2916 gnu/java/security/der/DERReader.java,
2917 gnu/java/security/der/DERValue.java,
2918 gnu/java/security/der/DERWriter.java,
2919 gnu/java/security/provider/DSAKeyFactory.java,
2920 gnu/java/security/provider/X509CertificateFactory.java,
2921 gnu/java/security/x509/X500DistinguishedName.java,
2922 gnu/java/security/x509/X509CRL.java,
2923 gnu/java/security/x509/X509CRLEntry.java,
2924 gnu/java/security/x509/X509Certificate.java,
2925 java/security/cert/CRLSelector.java,
2926 java/security/cert/CertPathBuilder.java,
2927 java/security/cert/CertPathBuilderResult.java,
2928 java/security/cert/CertPathBuilderSpi.java,
2929 java/security/cert/CertPathParameters.java,
2930 java/security/cert/CertPathValidator.java,
2931 java/security/cert/CertPathValidatorResult.java,
2932 java/security/cert/CertPathValidatorSpi.java,
2933 java/security/cert/CertSelector.java,
2934 java/security/cert/CertStore.java,
2935 java/security/cert/CertStoreParameters.java,
2936 java/security/cert/CertStoreSpi.java,
2937 java/security/cert/CollectionCertStoreParameters.java,
2938 java/security/cert/LDAPCertStoreParameters.java,
2939 java/security/cert/PKIXBuilderParameters.java,
2940 java/security/cert/PKIXCertPathBuilderResult.java,
2941 java/security/cert/PKIXCertPathChecker.java,
2942 java/security/cert/PKIXCertPathValidatorResult.java,
2943 java/security/cert/PKIXParameters.java,
2944 java/security/cert/PolicyNode.java,
2945 java/security/cert/PolicyQualifierInfo.java,
2946 java/security/cert/TrustAnchor.java,
2947 javax/security/auth/x500/X500Principal.java:
2948 New files from classpath.
2949 * gnu/java/io/ASN1ParsingException.java,
2950 gnu/java/io/Base64InputStream.java,
2951 gnu/java/security/der/DEREncodingException.java,
2952 gnu/java/security/provider/DSAParameters.java,
2953 gnu/java/security/provider/DSASignature.java,
2954 gnu/java/security/provider/Gnu.java,
2955 gnu/java/security/provider/GnuDSAPrivateKey.java,
2956 gnu/java/security/provider/GnuDSAPublicKey.java,
2957 java/security/AlgorithmParameterGenerator.java,
2958 java/security/AlgorithmParameters.java,
2959 java/security/KeyFactory.java,
2960 java/security/KeyPairGenerator.java,
2961 java/security/KeyStore.java,
2962 java/security/MessageDigest.java,
2963 java/security/SecureClassLoader.java,
2964 java/security/SecureRandom.java,
2965 java/security/Security.java,
2966 java/security/Signature.java,
2967 java/security/cert/Certificate.java,
2968 java/security/cert/CertificateFactory.java,
2969 java/security/cert/CertificateFactorySpi.java,
2970 java/security/cert/X509CRL.java,
2971 java/security/cert/X509Certificate.java,
2972 java/security/spec/DSAPublicKeySpec.java:
2973 New versions from classpath.
2974 * gnu/java/security/provider/DERReader.java,
2975 gnu/java/security/provider/DERWriter.java,
2976 java/security/Engine.java: Removed.
2977 * Makefile.am
2978 (java_source_files, javax_source_files): Added new files.
2979 * Makefile.in: Regenerated.
2980
2981 2003-04-29 Michael Koch <konqueror@gmx.de>
2982
2983 * javax/swing/JTable.java
2984 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2985 (AUTO_RESIZE_LAST_COLUMN): New constant.
2986 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2987 (AUTO_RESIZE_OFF): New constant.
2988 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2989 (JTable): New method.
2990 (columnAdded): New method.
2991 (columnMarginChanged): New method.
2992 (columnMoved): New method.
2993 (columnRemoved): New method.
2994 (columnSelectionChanged): New method.
2995 (editingCanceled): New method.
2996 (editingStopped): New method.
2997 (getColumnModel): New method.
2998 (getPreferredScrollableViewportSize): New method.
2999 (getScrollableBlockIncrement): New method.
3000 (getScrollableTracksViewportHeight): New method.
3001 (getScrollableTracksViewportWidth): New method.
3002 (getScrollableUnitIncrement): New method.
3003 (getSelectedRow): New method.
3004 (getSelectionModel): New method.
3005 (tableChanged): New method.
3006 (setModel): New method.
3007 (setSelectionMode): New method.
3008 (setSelectionModel): New method.
3009 (setShowGrid): New method.
3010 (valueChanged): New method.
3011 * javax/swing/text/DefaultEditorKit.java
3012 (backwardAction): New constant.
3013 (beepAction): New constant.
3014 (beginAction): New constant.
3015 (beginLineAction): New constant.
3016 (beginParagraphAction): New constant.
3017 (beginWordAction): New constant.
3018 (copyAction): New constant.
3019 (cutAction): New constant.
3020 (defaultKeyTypedAction): New constant.
3021 (deleteNextCharAction): New constant.
3022 (deletePrevCharAction): New constant.
3023 (downAction): New constant.
3024 (endAction): New constant.
3025 (endLineAction): New constant.
3026 (endOfLineStringProperty): New constant.
3027 (endParagraphAction): New constant.
3028 (endWordAction): New constant.
3029 (forwardAction): New constant.
3030 (insertBreakAction): New constant.
3031 (insertContentAction): New constant.
3032 (insertTabAction): New constant.
3033 (nextWordAction): New constant.
3034 (pageDownAction): New constant.
3035 (pageUpAction): New constant.
3036 (pasteAction): New constant.
3037 (previousWordAction): New constant.
3038 (readOnlyAction): New constant.
3039 (selectAllAction): New constant.
3040 (selectionBackwardAction): New constant.
3041 (selectionBeginAction): New constant.
3042 (selectionBeginLineAction): New constant.
3043 (selectionBeginParagraphAction): New constant.
3044 (selectionBeginWordAction): New constant.
3045 (selectionDownAction): New constant.
3046 (selectionEndAction): New constant.
3047 (selectionEndLineAction): New constant.
3048 (selectionEndParagraphAction): New constant.
3049 (selectionEndWordAction): New constant.
3050 (selectionForwardAction): New constant.
3051 (selectionNextWordAction): New constant.
3052 (selectionPreviousWordAction): New constant.
3053 (selectionUpAction): New constant.
3054 (selectLineAction): New constant.
3055 (selectParagraphAction): New constant.
3056 (selectWordAction): New constant.
3057 (upAction): New constant.
3058 (writableAction): New constant.
3059
3060 2003-04-29 Michael Koch <konqueror@gmx.de>
3061
3062 * java/util/PropertyPermission.java:
3063 New version from classpath
3064 * java/util/ResourceBundle.java:
3065 Partly merged from classpath
3066 (getObject): Reformated.
3067 (tryBundle): Set foundBundle = null if no bundle found.
3068
3069 2003-04-29 Michael Koch <konqueror@gmx.de>
3070
3071 * javax/swing/AbstractListModel.java,
3072 javax/swing/DefaultBoundedRangeModel.java,
3073 javax/swing/DefaultSingleSelectionModel.java:
3074 New Versions from classpath.
3075
3076 2003-04-29 Michael Koch <konqueror@gmx.de>
3077
3078 * java/awt/Window.java
3079 (show): Call super.show() instead of setVisible() to avoid endless
3080 loop.
3081 (hide): Call super.hide() instead of setVisible() to avoid endless
3082 loop.
3083
3084 2003-04-29 Michael Koch <konqueror@gmx.de>
3085
3086 * java/util/zip/Deflater.java,
3087 java/util/zip/DeflaterOutputStream.java:
3088 Partly merged with classpath.
3089
3090 2003-04-27 Tom Tromey <tromey@redhat.com>
3091
3092 * java/lang/natString.cc (_Jv_AllocString): Initialize
3093 cachedHashCode.
3094 (init): Likewise.
3095 (_Jv_NewStringUtf8Const): Likewise.
3096
3097 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3098
3099 * include/jvm.h: (_Jv_GetNbArgs) added
3100 (_Jv_GetSafeArg) added
3101 (_Jv_SetArgs) added
3102 * prims.cc: (_Jv_GetNbArgs) implemented
3103 (_Jv_GetSafeArg) implemented
3104 (_Jv_SetArgs) implemented
3105 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3106 setting _Jv_argc and _Jv_argv
3107 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3108 instead of _Jv_argv
3109 * java/lang/natRuntime.cc: (insertSystemProperties) use
3110 _Jv_GetSafeArg() instead of _Jv_argv
3111
3112 2003-04-23 Tom Tromey <tromey@redhat.com>
3113
3114 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3115 required by this object. Search superclasses to find required
3116 alignment.
3117 (get_alignment_from_class): Use alignment of type as it appears
3118 in a struct.
3119 (ALIGNOF): New macro.
3120 (struct aligner): New helper structure.
3121
3122 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3123
3124 * java/awt/Container.java (addImpl): Enable paint events if adding
3125 a lightweight to a heavyweight.
3126 (addNotify): Ensure that peer is created before
3127 addNotifyContainerChildren.
3128 (addNotifyContainerChildren): Enable paint events if a heavyweight
3129 container contains a lightweight.
3130
3131 2003-04-20 Tom Tromey <tromey@redhat.com>
3132
3133 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3134 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3135 Classpath.
3136
3137 2003-04-19 Tom Tromey <tromey@redhat.com>
3138
3139 * java/sql/Date.java, java/sql/DriverManager.java,
3140 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3141 Classpath.
3142
3143 * Makefile.in: Rebuilt.
3144 * Makefile.am (ordinary_java_source_files): Added new files.
3145 * java/security/AlgorithmParameterGenerator.java,
3146 java/security/AlgorithmParameters.java, java/security/Engine.java,
3147 java/security/Identity.java, java/security/IdentityScope.java,
3148 java/security/KeyFactory.java,
3149 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3150 java/security/MessageDigest.java, java/security/Policy.java,
3151 java/security/ProtectionDomain.java,
3152 java/security/SecureRandom.java, java/security/Security.java,
3153 java/security/Signature.java, java/security/SignatureSpi.java,
3154 java/security/SignedObject.java, java/security/Signer.java,
3155 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3156 java/security/spec/PSSParameterSpec.java,
3157 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3158 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3159 Classpath.
3160
3161 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3162
3163 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3164 (dispose): Null metrics.
3165 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3166 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3167 finalize.
3168 (finalize): Call dispose.
3169 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3170 (gcCachedCount): New field.
3171 (finalize): New method.
3172 (putGCInCache): New method.
3173 (getGCFromCache): New method.
3174 * gnu/gcj/xlib/GC.java (GC): Make protected.
3175 (clone): Get new GC from cache if possible.
3176 (create): New static method.
3177 (dispose): Save old GC in cache.
3178 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3179 deleting.
3180 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3181 is null.
3182 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3183 * java/awt/Container.java (visitChild): Dispose gfx2 when
3184 finished.
3185
3186 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3187
3188 * java/math/BigInteger.java (probablePrime): New.
3189 * java/math/BigDecimal.java (unscaledValue): New.
3190
3191 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3192
3193 * java/io/File.java (getAbsolutePath): On Windows, take care
3194 of paths like "C:", "G:foo\bar", etc.
3195 (getName): Make it work correctly on Windows.
3196 (getParent): Make it work correctly on Windows. For UNIX,
3197 fix bug that causes "/" to be returned as the parent of "/",
3198 instead of null as returned by Sun's JRE.
3199
3200 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3201
3202 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3203
3204 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3205 inner class.
3206 (CACHE_SIZE_PER_DISPLAY): New field
3207 (fontMetricsCache): New field
3208 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3209 loading ISO10646-1 fonts.
3210
3211 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3212
3213 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3214 characters.
3215 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3216 characters.
3217
3218 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3219
3220 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3221 floating point.
3222
3223 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3224
3225 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3226 installed libpthread is either linuxthreads with floating stacks or
3227 NPTL.
3228
3229 2003-04-14 Tom Tromey <tromey@redhat.com>
3230
3231 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3232 of alignment.
3233
3234 2003-04-10 Tom Tromey <tromey@redhat.com>
3235
3236 * verify.cc (pop64): Removed.
3237 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3238 exception if top-of-stack is narrow.
3239 (initialize_stack): Check to ensure that <init> is not static and
3240 <clinit> is.
3241
3242 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3243
3244 * java/io/ObjectStreamException
3245 * java/io/FileFilter
3246 * java/io/FilenameFilter
3247 * java/io/ObjectInput
3248 * java/io/ObjectOutput
3249 * java/io/ObjectStreamConstants
3250 Minor doc fixes, format fixes, spelling corrections, etc.
3251 * java/io/DataInput
3252 Corrected code samples in Javadocs to match reality
3253 * java/io/DataOutput
3254 * java/io/ObjectInputValidation
3255 Major documentation fixes - all Javadocs re-written or updated
3256
3257 2003-04-06 Michael Koch <konqueror@gmx.de>
3258
3259 * java/net/URLConnection.java:
3260 Import classes directly.
3261 (URLConnection): Merged class documentation with classpath.
3262 (url): Moved, documentation from classpath added.
3263 (doInput): Moved, documentation from classpath added.
3264 (doOutput): Moved, documentation from classpath added.
3265 (allowUserInteraction): Moved.
3266 (useCaches): Moved, documentation from classpath added.
3267 (ifModifiedSince): Moved, documentation from classpath added.
3268 (connected): Moved, documentation from classpath added.
3269
3270 2003-04-06 Michael Koch <konqueror@gmx.de>
3271
3272 * java/io/FileInputStream.java
3273 (skip): Renamed some variables to match classpath, added
3274 checks from classpath.
3275
3276 2003-03-31 Michael Koch <konqueror@gmx.de>
3277
3278 * javax/swing/AbstractAction.java
3279 (AbstractAction): Reformatted.
3280 (serialVersionUID): New private member variable.
3281 * javax/swing/plaf/BorderUIResource.java
3282 (serialVersionUID): New private member variable.
3283 * javax/swing/plaf/basic/BasicLookAndFeel.java
3284 (serialVersionUID): New private member variable.
3285
3286 2003-03-31 Michael Koch <konqueror@gmx.de>
3287
3288 * java/sql/Date.java
3289 (valueOf): Deprecated, reformatted.
3290 (toString): Deprecated, reformatted.
3291 * java/sql/Time.java
3292 (valueOf): Deprecated, reformatted.
3293 (toString): Deprecated, reformatted.
3294
3295 2003-03-31 Michael Koch <konqueror@gmx.de>
3296
3297 * java/rmi/dgc/VMID.java
3298 (isUnique): Deprecated.
3299
3300 2003-03-31 Michael Koch <konqueror@gmx.de>
3301
3302 * java/io/File.java
3303 (separator): Merged documentation from classpath.
3304 (separatorChar): Merged documentation from classpath.
3305 (pathSeparator): Merged documentation from classpath.
3306 (pathSeparatorChar): Merged documentation from classpath.
3307 (path): Merged documentation from classpath.
3308 (canRead): Merged documentation from classpath.
3309 (canWrite): Merged documentation from classpath.
3310 (createNewFile): Merged documentation from classpath.
3311 (delete): Merged documentation from classpath.
3312 (equals): Merged documentation from classpath.
3313 (exists): Merged documentation from classpath.
3314 (File): Renamed p to name to match classpath, merged documentation
3315 from classpath.
3316 (getAbsolutePath): Merged documentation from classpath.
3317 (getCanonicalPath): Merged documentation from classpath.
3318 (getCanonicalFile): Merged documentation from classpath.
3319 (getName): Merged documentation from classpath.
3320 (getParent): Merged documentation from classpath.
3321 (getParentFile): Merged documentation from classpath.
3322 (getPath): Merged documentation from classpath.
3323 (hashCode): Merged documentation from classpath.
3324 (isAbsolute): Merged documentation from classpath.
3325 (isDirectory): Merged documentation from classpath.
3326 (isFile): Merged documentation from classpath.
3327 (isHidden): Merged documentation from classpath.
3328 (lastModified): Merged documentation from classpath.
3329 (length): Merged documentation from classpath.
3330 (list): Merged documentation from classpath.
3331 (listFiles): Merged documentation from classpath.
3332 (toString): Merged documentation from classpath.
3333 (toURL): Merged documentation from classpath.
3334 (mkdir): Merged documentation from classpath.
3335 (mkdirs): Merged documentation from classpath.
3336 (createTempFile): Merged documentation from classpath.
3337 (setReadOnly): Merged documentation from classpath.
3338 (listRoots): Merged documentation from classpath.
3339 (compareTo): Merged documentation from classpath.
3340 (renameTo): Merged documentation from classpath.
3341 (setLastModified): Merged documentation from classpath.
3342 * java/io/PrintStream.java
3343 (auto_flush): Merged documentation from classpath.
3344 (PrintStream): Merged documentation from classpath.
3345 (checkError): Merged documentation from classpath.
3346 (setError): Merged documentation from classpath.
3347 (close): Merged documentation from classpath.
3348 (flush): Merged documentation from classpath.
3349 (print): Merged documentation from classpath.
3350 (println): Merged documentation from classpath.
3351 (write): Renamed count to len to match classpath,
3352 merged documentation from classpath.
3353 * java/io/RandomAccessFile.java
3354 (readShort): Merged documentation from classpath.
3355 (readUnsignedByte): Merged documentation from classpath.
3356 (readUnsignedShort): Merged documentation from classpath.
3357 (readUTF): Merged documentation from classpath.
3358 (seek): Reformatted, merged documentation from classpath.
3359 (skipBytes): Renamed some variables to match classpath, reformatted,
3360 merged documentation from classpath.
3361 (write): Merged documentation from classpath.
3362 (writeBoolean): Merged documentation from classpath.
3363 (writeByte): Merged documentation from classpath.
3364 (writeShort): Merged documentation from classpath.
3365 (writeChar): Merged documentation from classpath.
3366 (writeInt): Merged documentation from classpath.
3367 (writeLong): Merged documentation from classpath.
3368 (writeFloat): Merged documentation from classpath.
3369 (writeDouble): Merged documentation from classpath.
3370 (writeBytes): Merged documentation from classpath.
3371 (writeChars): Merged documentation from classpath.
3372 (writeUTF): Reformatted.
3373 (getChannel): Reformatted.
3374
3375 2003-03-31 Michael Koch <konqueror@gmx.de>
3376
3377 * java/awt/font/TextAttribute.java
3378 (readResolve): Throws java.io.InvalidObjectException.
3379
3380 2003-03-31 Michael Koch <konqueror@gmx.de>
3381
3382 * java/rmi/server/LoaderHandler.java
3383 (loadClass): Deprecated.
3384 (getSecurityContext): Deprecated.
3385 * java/rmi/server/LogStream.java
3386 (getDefaultStream): Deprecated.
3387 (setDefaultStream): Deprecated.
3388 (getOutputStream): Deprecated.
3389 (setOutputStream): Deprecated.
3390 (write): Deprecated.
3391 (toString): Deprecated.
3392 (parseLevel): Deprecated.
3393 * java/rmi/server/Operation.java
3394 (Operation): Deprecated.
3395 (getOperation): Deprecated.
3396 (toString): Deprecated.
3397 * java/rmi/server/RemoteCall.java
3398 (getOutputStream): Deprecated.
3399 (releaseOutputStream): Deprecated.
3400 (getInputStream): Deprecated.
3401 (releaseInputStream): Deprecated.
3402 (getResultStream): Deprecated.
3403 (executeCall): Deprecated.
3404 (done): Deprecated.
3405 * java/rmi/server/RemoteRef.java
3406 (invoke): Deprecated.
3407 (newCall): Deprecated.
3408 (done): Deprecated.
3409 * java/rmi/server/RemoteStub.java
3410 (setRef): Deprecated.
3411 * java/rmi/server/Skeleton.java:
3412 No need to import java.lang.Exception explicitly.
3413 (dispatch): Deprecated.
3414 (getOperations): Deprecated.
3415
3416 2003-03-31 Michael Koch <konqueror@gmx.de>
3417
3418 * java/rmi/dgc/VMID.java,
3419 java/rmi/registry/RegistryHandler.java,
3420 java/rmi/server/LogStream.java,
3421 java/rmi/server/Operation.java,
3422 java/rmi/server/RemoteCall.java,
3423 java/rmi/server/RemoteRef.java,
3424 java/rmi/server/RemoteStub.java:
3425 Reformatted.
3426
3427 2003-03-31 Michael Koch <konqueror@gmx.de>
3428
3429 * javax/swing/AbstractCellEditor.java,
3430 javax/swing/AbstractListModel.java,
3431 javax/swing/ActionMap.java,
3432 javax/swing/BorderFactory.java,
3433 javax/swing/ButtonGroup.java,
3434 javax/swing/DefaultBoundedRangeModel.java,
3435 javax/swing/DefaultButtonModel.java,
3436 javax/swing/DefaultCellEditor.java,
3437 javax/swing/DefaultComboBoxModel.java,
3438 javax/swing/DefaultDesktopManager.java,
3439 javax/swing/DefaultListCellRenderer.java,
3440 javax/swing/DefaultSingleSelectionModel.java,
3441 javax/swing/InputMap.java,
3442 javax/swing/JComponent.java,
3443 javax/swing/JMenu.java,
3444 javax/swing/JSlider.java,
3445 javax/swing/KeyStroke.java,
3446 javax/swing/OverlayLayout.java,
3447 javax/swing/ScrollPaneLayout.java,
3448 javax/swing/SizeRequirements.java,
3449 javax/swing/UIManager.java,
3450 javax/swing/ViewportLayout.java,
3451 javax/swing/border/AbstractBorder.java,
3452 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3453 javax/swing/event/EventListenerList.java,
3454 javax/swing/table/AbstractTableModel.java,
3455 javax/swing/table/DefaultTableCellRenderer.java,
3456 javax/swing/table/DefaultTableColumnModel.java,
3457 javax/swing/table/DefaultTableModel.java,
3458 javax/swing/table/TableColumn.java,
3459 javax/swing/text/StyledEditorKit.java,
3460 javax/swing/tree/DefaultMutableTreeNode.java,
3461 javax/swing/tree/DefaultTreeModel.java,
3462 javax/swing/tree/DefaultTreeSelectionModel.java,
3463 javax/swing/tree/TreePath.java,
3464 javax/swing/undo/AbstractUndoableEdit.java,
3465 javax/swing/undo/StateEdit.java,
3466 javax/swing/undo/StateEditable.java,
3467 javax/swing/undo/UndoableEditSupport.java:
3468 Merges from classpath.
3469
3470 2003-03-30 Tom Tromey <tromey@redhat.com>
3471
3472 * java/lang/String.java (data, boffset, count): Documented.
3473 (String(byte[],String)): Reformatted.
3474 (String(byte[])): Likewise.
3475 (lastIndexOf(int)): Likewise.
3476 (lastIndexOf(String)): Likewise.
3477 (substring(int)): Renamed argument to match Classpath.
3478 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3479
3480 * java/lang/String.java: Miscellaneous minor formatting changes
3481 to match Classpath more closely.
3482
3483 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3484 Tom Tromey <tromey@redhat.com>
3485
3486 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3487 (init()): Removed.
3488 (charAt): Put index in exception.
3489 (contentEquals): New method.
3490 Include StringBuffer.h.
3491 * java/lang/String.java (cachedHashCode): New field.
3492 (String()): Follow classpath implementation.
3493 (init()): Removed.
3494 (contentEquals): Declare.
3495 (subSequence): Don't declare IndexOutIfBoundsException in throws
3496 clause.
3497 (matches, replaceFirst, replaceAll, split): New methods from
3498 Classpath.
3499
3500 2003-03-29 Tom Tromey <tromey@redhat.com>
3501
3502 * java/lang/String.java: Reordered to follow Classpath; merged in
3503 javadoc.
3504
3505 * java/text/MessageFormat.java: Removed some whitespace.
3506
3507 * Makefile.in: Rebuilt.
3508 * Makefile.am (awt_java_source_files): Added new files.
3509 * gnu/javax/rmi/PortableServer.java,
3510 gnu/javax/rmi/CORBA/DelegateFactory.java,
3511 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3512 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3513 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3514 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3515 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3516 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3517 javax/rmi/PortableRemoteObject.java,
3518 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3519 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3520 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3521 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3522 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3523 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3524
3525 * java/lang/natClass.cc (newInstance): Put method name in
3526 exception.
3527 (getConstructor): Likewise.
3528 (getDeclaredConstructor): Likewise.
3529 (getPrivateMethod): Likewise.
3530
3531 2003-03-28 Tom Tromey <tromey@redhat.com>
3532
3533 * java/lang/reflect/Proxy.java: New version from Classpath.
3534 * java/lang/Package.java: New version from Classpath.
3535
3536 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3537
3538 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3539 * configure: Regenerate.
3540
3541 2003-03-28 Michael Koch <konqueror@gmx.de>
3542
3543 * java/io/File.java:
3544 Import needed classes instead of whole packages, merged class
3545 documentation with classpath, moved constants and variables to top of
3546 class.
3547 * java/io/PrintStream.java:
3548 Merged class documentation with classpath, moved constants and
3549 variables to top of class.
3550 * java/io/RandomAccessFile.java
3551 (RandomAccessFile): Merged with classpath.
3552 (read): Merged with classpath).
3553 (read*): Reformatted.
3554
3555 2003-03-28 Michael Koch <konqueror@gmx.de>
3556
3557 * java/io/FileDescriptor.java
3558 (finalize): Throws Throwable, not IOException.
3559 * java/io/ObjectOutputStream.java
3560 (PutField.put): Doesnt throws anything.
3561
3562 2003­03-28 Michael Koch <konqueror@gmx.de>
3563
3564 * java/io/FileOutputStream.java:
3565 Merged class documentation and authors with classpath.
3566 (FileOutputStream): Partly merged with classpath.
3567 (write): Merged with classpath.
3568 (getChannel): Make it synchronized instead of explicit block in this
3569 method.
3570 * java/io/RandomAccessFile.java:
3571 Merged class documentation and authors with classpath.
3572
3573 2003-03-26 Tom Tromey <tromey@redhat.com>
3574
3575 * java/lang/natRuntime.cc (insertSystemProperties): Set
3576 gnu.classpath.home.url.
3577 * Makefile.in: Rebuilt.
3578 * Makefile.am: Define LIBDIR.
3579
3580 2003-03-25 Michael Koch <konqueror@gmx.de>
3581
3582 * java/io/FileInputStream.java
3583 (read): Renamed b to buf and off to offset.
3584 * java/io/FileOutputStream.java
3585 (ch): Documentation added.
3586 (FileOutputStream): Documentation added.
3587 (getFD): Documentation added.
3588 (write): Documentation added.
3589 (close): Documentation added.
3590 (getChannel): Documentation added.
3591
3592 2003-03-24 Michael Koch <konqueror@gmx.de>
3593
3594 * java/io/DataOutputStream.java
3595 (write): Merged from classpath.
3596 * java/io/File.java:
3597 Merged copyrigth with classpath.
3598 * java/io/FileInputStream.java
3599 (getChannel): Made it synchronized instead of using a synchronized
3600 block.
3601 * java/io/FileOutputStream.java: Reformatted.
3602 * java/io/InputStreamReader.java
3603 (InputStreamReader): Renamed enc to encoding_name.
3604 (close): Merged documentation from classpath.
3605 (getEncoding): Merged documentation from classpath.
3606 (ready): Merged documentation from classpath.
3607 (read): Merged documentation from classpath.
3608 * java/io/LineNumberReader.java
3609 (lineNumber): Made it private.
3610 (LineNumberReader): Use Constant instead of a direct value.
3611 * java/io/OutputStreamWriter.java
3612 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3613 documentation from classpath.
3614 (close): Merged documentation from classpath.
3615 (flush): Merged documentation from classpath.
3616 (write): Merged documentation from classpath.
3617 * java/io/PrintStream.java: Reformatted.
3618
3619 2003-03-24 Michael Koch <konqueror@gmx.de>
3620
3621 * javax/swing/text/ComponentView.java
3622 (getComponent): Must be final.
3623 * javax/swing/tree/DefaultTreeCellRenderer.java:
3624 Reformatted.
3625 * javax/swing/undo/StateEditable.java:
3626 Reformatted.
3627
3628 2003-03-24 Michael Koch <konqueror@gmx.de>
3629
3630 * java/rmi/activation/ActivationInstantiator.java:
3631 Reformatted.
3632 * java/rmi/activation/Activator.java:
3633 Reformatted.
3634 * java/rmi/registry/RegistryHandler.java:
3635 Remerged from classpath.
3636
3637 2003-03-24 Michael Koch <konqueror@gmx.de>
3638
3639 * java/util/Date.java:
3640 Fixed documentation starting tag to make javadoc happy.
3641 * java/util/regex/Pattern.java
3642 (Pattern): Implements Serializable.
3643 * java/util/PatternSyntaxException.java
3644 (serialVersionUID): New member variable.
3645
3646 2003-03-24 Michael Koch <koqnueror@gmx.de>
3647
3648 * java/awt/ContainerOrderFocusTraversalPolicy.java
3649 (getFirstComponent): Implemented.
3650 (getLastComponent): Implemented.
3651 (getDefaultComponent): Implemented.
3652 (setImplicitDownCycleTraversal): Fixed implementation.
3653 * java/awt/Robot.java
3654 (Robot): Added documentation.
3655 * java/awt/Toolkit.java
3656 (getFontList): Deprecated.
3657 (getFontMetrics): Deprecated.
3658 (getPrintJob): Added documentation.
3659 (getSystemSelection): Added documentation.
3660 (getLockingKeyState): Added documentation.
3661 (setLockingKeyState): Added documentation.
3662 (createCustomCursor): Added documentation.
3663 (getBestCursorSize): Added documentation.
3664 (getMaximumCursorColors): Added documentation.
3665 (isFrameStateSupported): Added documentation.
3666
3667 2003-03-24 Michael Koch <konqueror@gmx.de>
3668
3669 * java/io/RandomAccessFile.java:
3670 More little merges with classpath. No code changes.
3671
3672 2003-03-24 Michael Koch <konqueror@gmx.de>
3673
3674 * java/net/natInetAddressNoNet.cc:
3675 Include stddef.h.
3676 * java/net/natPlainDatagramSocketImplNoNet.cc:
3677 Fixed inlcude of java/net/DatagramPacket.h.
3678 * java/net/natPlainSocketImplNoNet.cc:
3679 Include some missing classes.
3680
3681 2003-03-24 Michael Koch <konqueror@gmx.de>
3682
3683 * java/awt/dnd/DropTarget.java
3684 (DropTargetAutoScroller): According to the online documentation, this
3685 is protected, but in reality it is public.
3686 * java/awt/dnd/DropTargetContext.java
3687 (TransferableProxy): According to the online documentation, this
3688 is protected, but in reality it is public.
3689
3690 2003-03-24 Michael Koch <konqueror@gmx.de>
3691
3692 * java/io/DataInputStream.java
3693 (): Wrapped documentation line.
3694 (): Fixed @return tag.
3695 * java/io/DataOutputStream.java
3696 (written): Moved to top of class.
3697 (all methods): Merged documentation from classpath.
3698 * java/io/File.java:
3699 Merged copyright year with classpath.
3700 * java/io/FileInputStream.java
3701 (all methods): Merged documentation from classpath.
3702 * java/io/LineNumberReader.java
3703 (getLineNumber): Fixed @return tag.
3704 * java/io/ObjectInputStream.java.
3705 Reformatted.
3706 * java/io/ObjectOutputStream.java:
3707 Reformatted, fixed some @see tags.
3708 * java/io/OutputStreamWriter.java:
3709 Deleted empty line.
3710 * java/io/Writer.java:
3711 Reformatted.
3712
3713 2003-03-24 Michael Koch <konqueror@gmx.de>
3714
3715 * java/awt/Frame.java
3716 (DEFAULT_CURSOR): Fixed @deprecated tag.
3717 (setCursor): Fixed @deprecated tag.
3718
3719 2003-03-24 Michael Koch <konqueror@gmx.de>
3720
3721 * java/beans/beancontext/BeanContextEvent.java:
3722 Reformated.
3723
3724 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3725
3726 * java/lang/natStringBuffer.cc (regionMatches): New function.
3727 * java/lang/String.java (count): Now package-private.
3728 * java/lang/StringBuffer.java: Merged with Classpath.
3729
3730 2003-03-23 Michael Koch <konqueror@gmx.de>
3731
3732 * java/io/BufferedOutputStream.java:
3733 Reformated.
3734 * java/io/BufferedReader.java:
3735 Reformated.
3736 * java/io/ByteArrayOutputStream.java
3737 (size): Fixed @see tag.
3738 * java/io/CharArrayWriter.java
3739 (size): Fixed @see tag.
3740 * java/io/DataInput.java:
3741 Reformated.
3742 * java/io/DataOutput.java:
3743 Reformated.
3744 * java/io/DataOutputStream.java:
3745 Merged copyright years with classpath.
3746 * java/io/Externalizable.java:
3747 Reformated.
3748 * java/io/FileFilter.java:
3749 Reformated.
3750 * java/io/FileInputStream.java:
3751 Merged copyright years with classpath.
3752 * java/io/FileOutputStream.java:
3753 Merged copyright years with classpath.
3754 * java/io/FilePermission.java
3755 (FilePermission): Replaced @XXX with FIXME:.
3756 * java/io/FileWriter.java:
3757 Reformated.
3758 * java/io/FilenameFilter.java:
3759 Reformated.
3760 * java/io/FilterInputStream.java:
3761 Reformated.
3762 * java/io/FilterOutputStream.java:
3763 Reformated.
3764 * java/io/FilterReader.java:
3765 Reformated.
3766 * java/io/FilterWriter.java:
3767 Reformated.
3768 * java/io/LineNumberInputStream.java
3769 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3770 happy.
3771 (getLineNumber): Fixed @return tag.
3772 * java/io/ObjectInput.java:
3773 Reformated.
3774 * java/io/ObjectOutput.java:
3775 Reformated.
3776 * java/io/ObjectStreamClass.java:
3777 Reformated.
3778 * java/io/PrintStream.java:
3779 Merged copyright years with classpath.
3780 * java/io/PushbackReader.java
3781 (PushbackReader): Replaced @code with @param.
3782 * java/io/SerializablePermission.java:
3783 Reformated.
3784 * java/io/StreamTokenizer.java
3785 (resetSyntax): Fixed @see tag.
3786
3787 2003-03-22 Richard Henderson <rth@redhat.com>
3788
3789 * sysdep/ia64/locks.h: Include ia64intrin.h.
3790 (compare_and_swap): Use __sync_bool_compare_and_swap.
3791 (compare_and_swap_release): Expose ar.ccv assignment.
3792
3793 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3794
3795 * include/posix.h: Add suffix for darwin dynamic libraries.
3796
3797 2003-03-21 Michael Koch <konqueror@gmx.de>
3798
3799 * javax/swing/Action.java
3800 (ACCELERATOR_KEY): New constant.
3801 (ACTION_COMMAND_KEY): Likewise.
3802 (MNEMONIC_KEY): Likewise.
3803 * javax/swing/UnsupportedLookAndFeelException.java
3804 (UnsupportedLookAndFeelException): Must be public.
3805 * javax/swing/WindowConstants.java
3806 (EXIT_ON_CLOSE): New constant.
3807 * javax/swing/text/BadLocationException.java
3808 (offset): New member variable.
3809 (BadLocationException): New implementation, documentation added.
3810 (offsetRequested): New method.
3811 * javax/swing/text/Caret.java:
3812 Reformated.
3813 * javax/swing/text/Document.java:
3814 Reformated.
3815
3816 2003-03-21 Michael Koch <konqueror@gmx.de>
3817
3818 * java/rmi/activation/Activatable.java
3819 (serialVersionUID): New member variable.
3820 * java/rmi/activation/ActivationGroup.java
3821 (serialVersionUID): New member variable.
3822 * java/rmi/activation/ActivationGroupDesc.java
3823 (serialVersionUID): New member variable.
3824 * java/rmi/registry/Registry.java:
3825 Reformated.
3826 (Registry): Deprecated.
3827 * java/rmi/server/LoaderHandler.java
3828 Reformated.
3829 (LoaderHandler): Deprecated.
3830 * java/rmi/server/LogStream.java
3831 Reformated.
3832 (LogStream): Deprecated.
3833 * java/rmi/server/Operation.java
3834 (Operation): Deprecated.
3835 * java/rmi/server/RMIFailureHandler.java:
3836 Reformated.
3837 * java/rmi/server/RMISocketFactory.java:
3838 Reformated.
3839 * java/rmi/server/RemoteCall.java
3840 (RemoteCall): Deprecated.
3841 * java/rmi/server/RemoteStub.java:
3842 Reformated.
3843 * java/rmi/server/Skeleton.java
3844 Reformated.
3845 (Skeleton): Deprecated.
3846
3847 2003-03-21 Michael Koch <konqueror@gmx.de>
3848
3849 * java/io/LineNumberReader.java
3850 (LineNumberReader): Merged documentation with classpath.
3851 (getLineNumber): Likewise.
3852 (setLineNumber): Likewise.
3853 (mark): Likewise.
3854 (reset): Likewise.
3855 (read): Likewise.
3856 (readLine): Likewise.
3857 (skip): Likewise.
3858
3859 2003-03-21 Michael Koch <konqueror@gmx.de>
3860
3861 * java/rmi/RMISecurityManager.java
3862 (checkAccept): Removed.
3863 (checkAccess): Likewise.
3864 (checkAccess): Likewise.
3865 (checkAwtEventQueueAccess): Likewise.
3866 (checkConnect): Likewise.
3867 (checkCreateClassLoader): Likewise.
3868 (checkDelete): Likewise.
3869 (checkExec): Likewise.
3870 (checkExit): Likewise.
3871 (checkLink): Likewise.
3872 (checkListen): Likewise.
3873 (checkMemberAccess): Likewise.
3874 (checkMulticast): Likewise.
3875 (checkPackageAccess): Likewise.
3876 (checkPackageDefinition): Likewise.
3877 (checkPermission): Likewise.
3878 (checkPrintJobAccess): Likewise.
3879 (checkPropertiesAccess): Likewise.
3880 (checkPropertyAccess): Likewise.
3881 (checkRead): Likewise.
3882 (checkSecurityAccess): Likewise.
3883 (checkSetFactory): Likewise.
3884 (checkSystemClipboardAccess): Likewise.
3885 (checkTopLevelWindow): Likewise.
3886 (checkWrite): Likewise.
3887
3888 2003-03-20 Michael Koch <konqueror@gmx.de>
3889
3890 * gnu/java/nio/FileChannelImpl.java
3891 (address): Removed.
3892 (map_address): New member variable.
3893 (length): Make it package private.
3894 (fd): Make it package private.
3895 (buf): Make it package private.
3896 (file_obj): Make it package private.
3897 (FileChannelImpl): New constructor.
3898 (nio_mmap_file): Use RawData instead of long.
3899 (nio_munmap_file): Use RawData instead of long.
3900 (nio_msync): Use RawData instead of long.
3901 (implCloseChannel): New implementation using map_address.
3902 (read): Reformated.
3903 (map): Implemented.
3904 (create_direct_mapped_buffer): Implemented, use RawData, throws
3905 IOException.
3906 (force): Use map_address instead of address.
3907 * gnu/java/nio/MappedByteFileBuffer.java
3908 (address): Removed.
3909 (map_address): New member variable.
3910 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3911 (several methods): Use map_address instead of address, replaced long
3912 with RawData where appropriate.
3913 * gnu/java/nio/natFileChannelImpl.cc
3914 (nio_mmap_file): Replaced long with RawData.
3915 (nio_munmap_file): Replaced long with RawData.
3916 (nio_msync): Replaced long with RawData.
3917 * gnu/java/nio/natMappedByteFileBuffer.cc
3918 (several methods): Replaced long with RawData where appropriate.
3919
3920 2003-03-20 Michael Koch <konqueror@gmx.de>
3921
3922 * java/net/InetAddress.java,
3923 java/net/JarURLConnection.java,
3924 java/net/PlainDatagramSocketImpl.java,
3925 java/net/PlainSocketImpl.java,
3926 java/net/URLConnection.java:
3927 Merged copyright statements with classpath for easier merging.
3928
3929 2003-03-20 Michael Koch <konqueror@gmx.de>
3930
3931 * java/io/FileInputStream.java
3932 (getChannel): New implementation.
3933 * java/io/FileOutputStream.java
3934 (ch): New member variable.
3935 (getChannel): Implemented.
3936 * java/io/RandomAccessFile.java
3937 (RandomAccessFile): Throws FileNotFoundException instead of
3938 IOException.
3939 (getChannel): New method.
3940 (ch): New member variable.
3941
3942 2003-03-20 Michael Koch <konqueror@gmx.de>
3943
3944 * java/io/DataOutputStream.java,
3945 java/io/File.java,
3946 java/io/FileInputStream.java,
3947 java/io/FileOutputStream.java,
3948 java/io/InputStreamReader.java,
3949 java/io/LineNumberReader.java,
3950 java/io/OutputStreamWriter.java,
3951 java/io/PrintStream.java,
3952 java/io/RandomAccessFile.java:
3953 Merged copyright statements with classpath for easier merging.
3954
3955 2003-03-19 Michael Koch <konqueror@gmx.de>
3956
3957 * java/lang/Process.java:
3958 Merged from classpath.
3959
3960 2003-03-19 Michael Koch <konqueror@gmx.de>
3961
3962 * java/io/FileOutputStream.java
3963 (FileOutputStream): New constructor, merged from classpath.
3964 * java/io/FileWriter.java
3965 (FileWriter): New constructor, merged from classpath.
3966
3967 2003-03-18 Michael Koch <konqueror@gmx.de>
3968
3969 * java/awt/ScrollPane.java
3970 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3971 (getViewportSize): Likewise.
3972 (addNotify): Likewise.
3973 (removeNotify): Likewise.
3974 * java/awt/ScrollPaneAdjustable.java
3975 (ScrollPaneAdjustable): No longer extends Scrollbar.
3976 * java/beans/beancontext/BeanContextServices.java:
3977 Reformated.
3978 (getService): Added throws TooManyListenersException;
3979 * java/beans/beancontext/BeanContextServicesSupport.java:
3980 Reformated.
3981
3982 2003-03-18 Michael Koch <konqueror@gmx.de>
3983
3984 * java/io/BufferedOutputStream.java,
3985 java/io/DataInput.java,
3986 java/io/DataInputStream.java,
3987 java/io/DataOutput.java,
3988 java/io/Externalizable.java:
3989 More merges from classpath.
3990
3991 2003-03-18 Michael Koch <konqueror@gmx.de>
3992
3993 * configure.in: Fixed links to platform dependant java.net files.
3994 * configure: Regenerated.
3995 * java/net/natInetAddress.cc,
3996 java/net/natNetworkInterface.cc,
3997 java/net/natPlainDatagramSocketImpl.cc,
3998 java/net/natPlainSocketImpl.cc:
3999 Removed.
4000
4001 2003-03-18 Michael Koch <konqueror@gmx.de>
4002
4003 * configure.in: Create links to architecture dependent files,
4004 introduced PLATFORMNET variable (set to NoNet for newlib usage).
4005 * configure: Regenerated.
4006 * java/net/natInetAddressNoNet.cc,
4007 java/net/natInetAddressPosix.cc,
4008 java/net/natInetAddressWin32.cc,
4009 java/net/natNetworkInterfaceNoNet.cc,
4010 java/net/natNetworkInterfacePosix.cc,
4011 java/net/natNetworkInterfaceWin32.cc,
4012 java/net/natPlainDatagramSocketImplNoNet.cc,
4013 java/net/natPlainDatagramSocketImplPosix.cc,
4014 java/net/natPlainDatagramSocketImplWin32.cc,
4015 java/net/natPlainSocketImplNoNet.cc,
4016 java/net/natPlainSocketImplPosix.cc,
4017 java/net/natPlainSocketImplWin32.cc: New files.
4018
4019 2003-03-18 Michael Koch <konqueror@gmx.de>
4020
4021 * java/io/BufferedReader.java,
4022 java/io/BufferedWriter.java,
4023 java/io/ByteArrayOutputStream.java,
4024 java/io/FileFilter.java,
4025 java/io/FilePermission.java,
4026 java/io/FileReader.java,
4027 java/io/FileWriter.java,
4028 java/io/FilenameFilter.java,
4029 java/io/FilterInputStream.java,
4030 java/io/FilterOutputStream.java,
4031 java/io/FilterReader.java,
4032 java/io/FilterWriter.java,
4033 java/io/ObjectInput.java,
4034 java/io/ObjectInputValidation.java,
4035 java/io/ObjectOutput.java,
4036 java/io/ObjectStreamField.java,
4037 java/io/PipedInputStream.java,
4038 java/io/PipedReader.java,
4039 java/io/PrintWriter.java,
4040 java/io/PushbackReader.java,
4041 java/io/Reader.java,
4042 java/io/SerializablePermission.java,
4043 java/io/StringReader.java,
4044 java/io/Writer.java:
4045 Merged from classpath.
4046
4047 2003-03-17 Michael Koch <konqueror@gmx.de>
4048
4049 * java/awt/ScrollPaneAdjustable.java:
4050 Compile fixes.
4051
4052 2003-03-17 Michael Koch <konqueror@gmx.de>
4053
4054 * java/net/DatagramSocket.java
4055 (connect): Fixed comment.
4056 * java/nio/ByteBuffer.java
4057 (hasArray): Fixed comment.
4058
4059 2003-03-17 Michael Koch <konqueror@gmx.de>
4060
4061 * java/beans/Beans.java:
4062 Explicitely import classes not packages.
4063 * java/beans/FeatureDescriptor.java
4064 (preferred): New member variable.
4065 (isPreferred): New method.
4066 (setPreferred): New method.
4067 * java/beans/PropertyEditorManager.java:
4068 Explicitely import used classes.
4069 * java/beans/beancontext/BeanContextChild.java:
4070 Added line wrapping.
4071 * java/beans/beancontext/BeanContextChildSupport.java:
4072 Reindented.
4073 * java/beans/beancontext/BeanContextEvent.java:
4074 Reindented.
4075
4076 2003-03-17 Michael Koch <konqueror@gmx.de>
4077
4078 * java/awt/Dialog.java
4079 (Dialog): New constructor, changed implementations, added
4080 documentation.
4081 * java/awt/ScrollPaneAdjustable.java
4082 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
4083 Serializable.
4084 (serialVersionUID): New member variable.
4085 (sp): New member variable.
4086 (orientation): New member variable.
4087 (value): New member variable.
4088 (minimum): New member variable.
4089 (maximum): New member variable.
4090 (visibleAmount): New member variable.
4091 (unitIncrement): New member variable.
4092 (blockIncrement): New member variable.
4093 (AdjustmentListener): New member variable.
4094 (ScrollPaneAdjustable): New implementation.
4095 (addAdjustmentListener): New method.
4096 (removeAdjustmentListener): New method.
4097 (getAdjustmentListeners): New method.
4098 (getBlockIncrement): New method.
4099 (getMaximum): New method.
4100 (getMinimum): New method.
4101 (getOrientation): New method.
4102 (getUnitIncrement): New method.
4103 (getValue): New method.
4104 (getVisibleAmount): New method.
4105 (setBlockIncrement): New method.
4106 (setMaximum): Implemented.
4107 (setMinimum): Implemented.
4108 (setUnitIncrement): New method.
4109 (setValue): New method.
4110 (setVisibleAmount): Implemented.
4111 (paramString): New stubbed method.
4112 * java/awt/Window.java
4113 (show): Call setVisible().
4114 (hide): Call setVisible().
4115 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4116 and WINDOW_STATE_CHANGED.
4117 (processWindowFocusEvent): New method.
4118 (processWindowStateEvent): New method.
4119 (postEvent): Deprecated.
4120 (applyResourceBundle): Deprecated.
4121 * java/awt/datatransfer/DataFlavor.java
4122 (DataFlavor): Doesn't thow ClassNotFoundException.
4123
4124 2003-03-17 Michael Koch
4125
4126 * javax/print/attribute/Attribute.java,
4127 javax/print/attribute/AttributeSet.java,
4128 javax/print/attribute/PrintRequestAttributeSet.java:
4129 New files.
4130 * Makefile.am
4131 (javax_source_files): Added new files:
4132 javax/print/attribute/Attribute.java
4133 javax/print/attribute/AttributeSet.java
4134 javax/print/attribute/PrintRequestAttributeSet.java
4135 * Makefile.in: Regenerated.
4136
4137 2003-03-17 Michael Koch
4138
4139 * javax/print/attribute/Attribute.java,
4140 javax/print/attribute/AttributeSet.java,
4141 javax/print/attribute/PrintRequestAttributeSet.java:
4142 New files.
4143 * Makefile.am
4144 (awt_java_source_files): Added new files:
4145 javax/print/attribute/Attribute.java
4146 javax/print/attribute/AttributeSet.java
4147 javax/print/attribute/PrintRequestAttributeSet.java
4148 * Makefile.in: Regenerated.
4149
4150 2003-03-16 Tom Tromey <tromey@redhat.com>
4151
4152 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4153 Include platform.h.
4154 * java/lang/natRuntime.cc (insertSystemProperties): Use
4155 _Jv_platform_path_separator.
4156 (nativeGetLibname): Use _Jv_platform_file_separator.
4157 (_load): Use _Jv_platform_onload_names.
4158 (onload_names): New global.
4159 * include/win32.h (_Jv_platform_file_separator): New define.
4160 (_Jv_platform_path_separator): Likewise.
4161 (_Jv_platform_onload_names): Likewise.
4162 (_Jv_platform_ffi_abi): Likewise.
4163 * include/posix.h (_Jv_platform_file_separator): New define.
4164 (_Jv_platform_path_separator): Likewise.
4165 (_Jv_platform_onload_names): Likewise.
4166 (_Jv_platform_ffi_abi): Likewise.
4167
4168 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4169
4170 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4171
4172 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4173
4174 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4175 hierarchy loop.
4176 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4177 list to Object,ObjectStreamClass, moved callReadMethod code up into
4178 readObject and added Class argument to all setXxxField calls.
4179 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4180 consistent with ObjectOutputStream and to facilitate caching the
4181 Method in the future.
4182 (setBooleanField): Added Class argument.
4183 (setByteField): Likewise.
4184 (setCharField): Likewise.
4185 (setDoubleField): Likewise.
4186 (setFloatField): Likewise.
4187 (setIntField): Likewise.
4188 (setLongField): Likewise.
4189 (setShortField): Likewise.
4190 (setObjectField): Likewise.
4191 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4192 class hierarchy loop.
4193 (defaultWriteObject): Call writeFields with new argument list.
4194 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4195 list to Object,ObjectStreamClass, moved callWriteMethod up into
4196 writeObject and added Class argument to all getXxxField calls.
4197 (callWriteMethod): Added ObjectStreamClass argument to be able to
4198 get the proper class to call getMethod on (each class can have (or
4199 not have) its own writeObject method).
4200 (getBooleanField): Added Class argument.
4201 (getByteField): Likewise.
4202 (getCharField): Likewise.
4203 (getDoubleField): Likewise.
4204 (getFloatField): Likewise.
4205 (getIntField): Likewise.
4206 (getLongField): Likewise.
4207 (getShortField): Likewise.
4208 (getObjectField): Likewise.
4209 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4210 facilitate caching the Method object in the future.
4211
4212 2003-03-12 Andreas Schwab <schwab@suse.de>
4213
4214 * configure.in: Avoid trailing /. in toolexeclibdir.
4215 * configure: Rebuilt.
4216
4217 2003-03-11 Michael Koch <konqueror@gmx.de>
4218
4219 * gnu/java/nio/ByteBufferImpl.java
4220 (putInt): Use limit() instead of limit.
4221 * gnu/java/nio/CharBufferImpl.java
4222 (slice): Fixed implementation.
4223 (subSequence): Better bounds checking.
4224 * gnu/java/nio/MappedByteFileBuffer.java:
4225 Import all needed classes directly.
4226 * java/nio/ByteBuffer.java
4227 (hashCode): New dummy method.
4228 * java/nio/CharBuffer.java
4229 (array_offset): New member variable.
4230 (hasArray): Fixed documentation.
4231 (arrayOffset): Return array_offset.
4232
4233 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4234
4235 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4236 setter; made return value of getter const char* instead of char*
4237 * prims.cc: removed all references to _Jv_ThisExecutable().
4238 These are in the platform-specific sections now.
4239 * posix.cc: define platform-specific _Jv_ThisExecutable().
4240 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4241 * win32.cc: define platform-specific _Jv_ThisExecutable()
4242 using GetModuleFilename()
4243 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4244 to argv[0] instead of _Jv_ThisExecutable()
4245
4246 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4247
4248 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4249 that is set if we are using addr2name.awk instead of addr2line.
4250 (NameFinder): Set usingAddr2name if using addr2name.awk.
4251 (getExternalLabel): New native method to convert a method
4252 name to an external label.
4253 (lookup): Convert name given by addr2line to an external label
4254 before demangling.
4255
4256 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4257 constant representing the prefix attached to method names to
4258 convert them to an external label.
4259 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4260 using LABEL_PREFIX.
4261
4262 2003-03-10 Tom Tromey <tromey@redhat.com>
4263
4264 * Makefile.in: Rebuilt.
4265 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4266 (JC1FLAGS): Removed -Wno-deprecated.
4267
4268 2003-03-10 Michael Koch <konqueror@gmx.de>
4269
4270 * java/nio/ByteOrder.java
4271 (nativeOrder): Working implementation, added documentation.
4272 (toString): Added documentation.
4273
4274 2003-03-10 Michael Koch <konqueror@gmx.de>
4275
4276 * java/net/DatagramSocket.java,
4277 java/net/MulticastSocket.java,
4278 java/net/Socket.java,
4279 java/net/URL.java,
4280 java/net/URLConnection.java:
4281 Fixed some documentation tags to make javadoc and friends happy.
4282
4283 2003-03-10 Michael Koch <koqnueror@gmx.de>
4284
4285 * java/beans/beancontext/BeanContextServicesSupport.java,
4286 java/beans/beancontext/BeanContextSupport.java: New files.
4287 * Makefile.am
4288 (awt_source_files): Added new files.
4289 * Makefile.in: Regenerated.
4290
4291 2003-03-10 Michael Koch <konqueror@gmx.de>
4292
4293 * java/awt/FocusTraversalPolicy.java
4294 (FocusTraversalPolicy): Documentation added.
4295 (getComponentAfter): Documentation added.
4296 (getComponentBefore): Documentation added.
4297 (getFirstComponent): Documentation added.
4298 (getLastComponent): Documentation added.
4299 (getDefaultComponent): Documentation added.
4300 (getInitialComponent): Documentation added.
4301 * java/awt/ScrollPaneAdjustable.java
4302 (sp): New member variable.
4303 (orientation): New member variable.
4304 (value): New member variable.
4305 (minimum): New member variable.
4306 (maximum): New member variable.
4307 (visibleAmount): New member variable.
4308 (unitIncrement): New member variable.
4309 (blockIncrement): New member variable.
4310 (adjustmentListener): New member variable.
4311 (ScrollPaneAdjustable): Rewrote.
4312 (addAdjustmentListener): New method.
4313 (removeAdjustmentListener): New method.
4314 (getAdjustmentListeners): New method.
4315 (getBlockIncrement): New method.
4316 (getMaximum): New method.
4317 (getMinimum): New method.
4318 (getOrientation): New method.
4319 (getUnitIncrement): New method.
4320 (getValue): New method.
4321 (getVisibleAmount): New method.
4322 (setBlockIncrement): New method.
4323 (setUnitIncrement): New method.
4324 (setMaximum): Implemented.
4325 (setMinimum): Implemented.
4326 (setValue): New method.
4327 (setVisibleAmount): Implemented.
4328 (paramString): New method.
4329 * java/awt/Window.java
4330 (show): Use setVisible(true) instead of super.show().
4331 (hide): Use sevVisible(false) instead of super.hide().
4332 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4333 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4334 (postEvent): Deprecated.
4335 (applyResourceBundle): Deprecated.
4336 (processWindowFocusEvent): New method.
4337 (processWindowStateEvent): New method.
4338 * java/awt/datatransfer/DataFlavor.java: Reindented.
4339 * java/awt/font/TextHitInfo.java
4340 (charIndex): New member variable.
4341 (leadingEdge): New member variable.
4342 (TextHitInfo): New constructor.
4343 (getCharIndex): Implemented.
4344 (isLeadingEdge): Implemented.
4345 (getInsertionIndex): Implemented.
4346 (hashCode): Access charIndex directly.
4347 (equals): Reformated.
4348 (leading): Implemented.
4349 (trailing): Implemented.
4350 (beforeOffset): Implemented.
4351 (afterOffset): Implemented.
4352 (getOtherHit): Implemented.
4353 (getOffsetHit): Implemented.
4354 (toString): Implemented.
4355 * java/awt/image/BufferedImage.java
4356 (BufferedImage): Implements WritableRenderedImage.
4357 (observers): New member variable.
4358 (addTileObserver): New method.
4359 (removeTileObserver): New method.
4360
4361 2003-03-09 Tom Tromey <tromey@redhat.com>
4362
4363 PR libgcj/9934:
4364 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4365 to lseek. Return 0 if we can't compute the value.
4366
4367 2003-03-03 Michael Koch <konqueror@gmx.de>
4368
4369 * java/net/NetworkInterface.java: Merged with classpath.
4370
4371 2003-03-03 Tom Tromey <tromey@redhat.com>
4372
4373 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4374 of bytecode.
4375 (handle_ret_insn): Fail if returning to jsr that appears at end of
4376 bytecode.
4377
4378 2003-03-03 Michael Koch <konqueror@gmx.de>
4379
4380 * Makefile.am
4381 (ordinary_java_source_files):
4382 Added gnu/java/nio/MappedByteFileBuffer.java.
4383 (nat_source_files):
4384 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4385 * Makefile.in: Regenerated.
4386
4387 2003-03-03 Michael Koch <konqueror@gmx.de>
4388
4389 * java/net/DatagramSocket.java
4390 (connect): Merged comment from classpath.
4391 (receive): Merged documentation from classpath.
4392 * java/net/Socket.java
4393 (setSoTimeout): Clarified documentation.
4394 * java/net/URL.java
4395 (getPath): Merged from classpath.
4396 (getUserInfo): Merged from classpath.
4397 (getQuery): Merged from classpath.
4398 * java/net/URLStreamHandler.java
4399 (toExternalForm): Merged from classpath.
4400
4401 2003-03-02 Mark Wielaard <mark@klomp.org>
4402
4403 * java/util/Properties.java (load): Only skip line if the first
4404 character is a comment, whitespaces don't count.
4405
4406 2003-03-02 Michael Koch <konqueror@gmx.de>
4407
4408 * java/net/NetPermission.java:
4409 Merged copyright with classpath.
4410
4411 2003-03-02 Michael Koch <konqueror@gmx.de>
4412
4413 * java/lang/Package.java:
4414 Remerged from classpath.
4415
4416 2003-03-02 Michael Koch <konqueror@gmx.de>
4417
4418 * java/net/HttpURLConnection.java
4419 (HTTP_SERVER_ERROR): Deprecated.
4420 * java/net/MulticastSocket.java
4421 (send): Replaced checkMulticast with appropriate checkPermission call,
4422 deprecated.
4423 * java/net/URLDecoder.java
4424 (decode): Deprecated.
4425 * java/net/URLEncoder.java
4426 (encode): Deprecated.
4427
4428 2003-03-02 Michael Koch <konqueror@gmx.de>
4429
4430 * javax/swing/text/Caret.java
4431 (getMagicCaretPosition): Fixed typo in method name.
4432 * javax/swing/text/DefaultCaret.java
4433 (getMagicCaretPosition): Fixed typo in method name.
4434
4435 2003-03-02 Michael Koch <konqueror@gmx.de>
4436
4437 * java/awt/List.java
4438 (setMultipleSelections): Deprecated.
4439 (delItem): Deprecated.
4440 * java/awt/MenuComponent.java
4441 (getPeer): Deprecated.
4442 * java/awt/ScrollPane.java
4443 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4444 * java/awt/dnd/MouseDragGestureRecognizer.java
4445 (mouseClicked): Added comment.
4446 (mousePressed): Added comment.
4447 (mouseReleased): Added comment.
4448 (mouseEntered): Added comment.
4449 (mouseExited): Added comment.
4450 (mouseDragged): Added comment.
4451 (mouseMoved): Added comment.
4452 * java/awt/event/KeyEvent.java
4453 (KeyEvent): Deprecated.
4454 (setModifiers): Deprecated.
4455
4456 2003-03-02 Michael Koch <konqueror@gmx.de>
4457
4458 * gnu/java/nio/FileChannelImpl.java
4459 (fd): Type FileDescriptor instead of int.
4460 (lengthInternal): Removed.
4461 (FileChannelImpl): Fixed arguments, check type of file object.
4462 (size): Made it native.
4463 (implPosition): New native method.
4464 (implTruncate): New native method.
4465 (position): Implemented.
4466 (truncate): Implemented.
4467 (nio_mmap_file): Changed arguments.
4468 (nio_munmap_file): Changed arguments.
4469 (nio_msync): Changed arguments.
4470 * gnu/java/nio/natFileChannelImpl.cc
4471 (lengthInternal): Removed.
4472 (size): New method.
4473 (implPosition): New method.
4474 (implTruncate): New method.
4475 (nio_mmap_file): Changed arguments.
4476 (nio_munmap_file): Changed arguments.
4477 (nio_msync): Changed arguments.
4478
4479 2003-03-02 Michael Koch <konqueror@gmx.de>
4480
4481 * java/awt/dnd/DropTargetContext.java:
4482 Compile fix: Forgot to commit import.
4483
4484 2003-03-02 Michael Koch <konqueror@gmx.de>
4485
4486 * java/awt/Component.java,
4487 java/awt/ScrollPane.java:
4488 Fixed typos.
4489
4490 2003-03-02 Michael Koch <konqueror@gmx.de>
4491
4492 * java/awt/dnd/DnDEventMulticaster.java: New file.
4493 * java/awt/dnd/DragSource.java
4494 (flavorMap): New member variable.
4495 (dragSourceListener): New member variable.
4496 (dragSourceMotionListener): New member variable.
4497 (getFlavorMap): Implemented.
4498 (createDragGestureRecognizer): Implemented.
4499 (addDragSourceListener): Implemented.
4500 (removeDragSourceListener): Implemented.
4501 (getDragSourceListeners): Implemented.
4502 (addDragSourceMotionListener): Implemented.
4503 (removeDragSourceMotionListener): Implemented.
4504 (getDragSourceMotionListeners): Implemented.
4505 (getListeners): Implemented.
4506 * java/awt/dnd/DragSourceContext.java
4507 (peer): New member variable.
4508 (cursor): New member variable.
4509 (transferable): New member variable.
4510 (trigger): New member variable.
4511 (dragSourceListener): New member variable.
4512 (image): New member variable.
4513 (offset): New member variable.
4514 (DragSourceContext): Implemented.
4515 (getDragSource): Implemented.
4516 (getComponent): Implemented.
4517 (getTrigger): Implemented.
4518 (getSourceActions): Implemented.
4519 (setCursor): Implemented.
4520 (getCursor): Implemented.
4521 (addDragSourceListener): Implemented.
4522 (removeDragSourceListener): Implemented.
4523 (getTransferable): Implemented.
4524 * java/awt/dnd/DropTarget.java
4525 (DropTargetAutoScroller.component): New member variable.
4526 (DropTargetAutoScroller.point): New member variable.
4527 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4528 (DropTargetAutoScroller.updateLocation): Implemented.
4529 (active): Renamed from isActive, defaults to true now.
4530 (component): New member variable.
4531 (flavorMap): New member variable.
4532 (actions): New member variable.
4533 (dropTargetContext): New member variable.
4534 (dropTargetListener): New member variable.
4535 (DropTarget): Implemented.
4536 (getComponent): Implemented.
4537 (setComponent): Implemented.
4538 (setDefaultActions): Implemented.
4539 (getDefaultActions): Implemented.
4540 (setActive): Use active instead of isActive.
4541 (isActive): Use active instead of isActive.
4542 (addDropTargetListener): Implemented.
4543 (removeDropTargetListener): Implemented.
4544 (getFlavorMap): Implemented.
4545 (setFlavorMap): Implemented.
4546 (getDropTargetContext): Implemented.
4547 (createDropTargetContext): Implemented.
4548 (createDropTargetAutoScroller): Implemented.
4549 * java/awt/dnd/DropTargetContext.java
4550 (TransferableProxy.getTransferDataFlavors): Implemented.
4551 (TransferableProxy.isDataFlavorSupported): Implemented.
4552 (TransferableProxy.getTransferData): Implemented.
4553 (dropTarget): New member variable.
4554 (dtcp): New member variable.
4555 (DropTargetContext): New package private constructor.
4556 (getDropTarget): Implemented.
4557 (getComponent): Implemented.
4558 (addNotify): Implemented.
4559 (removeNotify): Implemented.
4560 (getCurrentDataFlavorsAsList): Implemented.
4561 (isDataFlavorSupported): Implemented.
4562 * java/awt/dnd/MouseDragGestureRecognizer.java
4563 (registerListeners): Implemented.
4564 (unregisterListeners): Implemented.
4565 * Makefile.am
4566 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4567 * Makefile.in: Regenerated.
4568
4569 2003-03-02 Michael Koch <konqueror@gmx.de>
4570
4571 * java/awt/Component.java
4572 (eventTypeEnabled): New method.
4573 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4574 * java/awt/Container.java
4575 (changeSupport): New member variable.
4576 (addPropertyChangeListener): New methods.
4577 * java/awt/ContainerOrderFocusTraversalPolicy.java
4578 (ContainerOrderFocusTraversalPolicy): Added comment.
4579 (getComponentAfter): Throw exception, documentation added.
4580 (getComponentBefore): Throw exception, documentation added.
4581 (getFirstComponent): Throw exception, documentation added.
4582 (getLastComponent): Throw exception, documentation added.
4583 (getDefaultComponent): Throw exception, documentation added.
4584 * java/awt/EventQueue.java: Reindented.
4585 * java/awt/FocusTraversalPolicy.java:
4586 (FocusTraversalPolicy): Added comment.
4587 (getComponentAfter): Documentation added.
4588 (getComponentBefore): Documentation added.
4589 (getFirstComponent): Documentation added.
4590 (getLastComponent): Documentation added.
4591 (getDefaultComponent): Documentation added.
4592 (getInitialComponent): Documentation added.
4593 * java/awt/ScrollPane.java
4594 (wheelScrollingEnabled): New member variable.
4595 (ScrollPane): Initialize wheelScollingEnabled.
4596 (eventTypeEnabled): New method.
4597 (isWheelScrollingEnabled): New method.
4598 (setWheelScrollingEnabled): New method.
4599
4600 2003-03-02 Michael Koch <konqueror@gmx.de>
4601
4602 * java/net/DatagramSocket.java
4603 (closed): New member variable.
4604 (close): Use closed variable.
4605 (getInetAddress): No need to call isConnected().
4606 (getPort): No need to call isConnected().
4607 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4608 (isClosed): Reimplemented.
4609
4610 2003-03-02 Michael Koch <konqueror@gmx.de>
4611
4612 * configure.in: Added check for memory mapping of files.
4613 * configure: Regenerated.
4614 * config.h.in: Regenerated.
4615
4616 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4617
4618 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4619 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4620
4621 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4622
4623 * java/io/File.java (normalizePath): Remove trailing separator
4624 on Windows only if path is not of the form "x:\".
4625
4626 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4627 (java::io::File::attr): Change formatting a bit and use
4628 WIN32_EPOCH_MILLIS instead of magic numbers.
4629 (java::io::File::isAbsolute): Path must have at least 3
4630 characters for a UNC network path.
4631 (java::io::File::init_native): Define.
4632 (java::io::File::performCreate): Likewise.
4633 (java::io::File::performSetReadOnly): Likewise.
4634 (java::io::File::performSetLastModified): Likewise.
4635 (java::io::File::performListRoots): Likewise.
4636
4637 2003-03-01 Tom Tromey <tromey@redhat.com>
4638
4639 * java/lang/natObject.cc: Don't include assert.h.
4640 (heavy_lock_obj_finalization_proc): Use JvAssert.
4641 (remove_all_heavy): Likewise.
4642 (_Jv_MonitorEnter): Likewise.
4643 (_Jv_MonitorExit): Likewise.
4644 (wait): Likewise.
4645
4646 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4647
4648 * java/io/File (getAbsolutePath): Prefix drive specifier on
4649 Windows for paths starting with a '\'.
4650 (toURL): Make URL more consistent with what Sun's JDK returns.
4651
4652 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4653 true only if the path is a UNC network path or it starts with a
4654 drive specifier.
4655
4656 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4657 Be prepared to handle either '/' or '\\' in the file path for
4658 Windows if using the "file" protocol.
4659 Canonicalise the file path if using a relative path in the given
4660 context and the "file" protocol.
4661
4662 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4663
4664 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4665 program array element passed to CreateProcess.
4666
4667 2003-03-01 Tom Tromey <tromey@redhat.com>
4668
4669 * java/rmi/registry/RegistryHandler.java: Deprecate.
4670
4671 2003-03-01 Tom Tromey <tromey@redhat.com>
4672
4673 * javax/accessibility/AccessibleEditableText.java,
4674 javax/accessibility/AccessibleHyperlink.java: New versions from
4675 Classpath.
4676
4677 * gnu/java/locale/LocaleInformation_af_ZA.java,
4678 gnu/java/locale/LocaleInformation_ar_AE.java,
4679 gnu/java/locale/LocaleInformation_ar_BH.java,
4680 gnu/java/locale/LocaleInformation_ar_DZ.java,
4681 gnu/java/locale/LocaleInformation_ar_EG.java,
4682 gnu/java/locale/LocaleInformation_ar_IN.java,
4683 gnu/java/locale/LocaleInformation_ar_IQ.java,
4684 gnu/java/locale/LocaleInformation_ar_JO.java,
4685 gnu/java/locale/LocaleInformation_ar_KW.java,
4686 gnu/java/locale/LocaleInformation_ar_LB.java,
4687 gnu/java/locale/LocaleInformation_ar_LY.java,
4688 gnu/java/locale/LocaleInformation_ar_MA.java,
4689 gnu/java/locale/LocaleInformation_ar_OM.java,
4690 gnu/java/locale/LocaleInformation_ar_QA.java,
4691 gnu/java/locale/LocaleInformation_ar_SD.java,
4692 gnu/java/locale/LocaleInformation_ar_SY.java,
4693 gnu/java/locale/LocaleInformation_ar_TN.java,
4694 gnu/java/locale/LocaleInformation_ar_YE.java,
4695 gnu/java/locale/LocaleInformation_be_BY.java,
4696 gnu/java/locale/LocaleInformation_bn_IN.java,
4697 gnu/java/locale/LocaleInformation_br_FR.java,
4698 gnu/java/locale/LocaleInformation_bs_BA.java,
4699 gnu/java/locale/LocaleInformation_ca_ES.java,
4700 gnu/java/locale/LocaleInformation_cs_CZ.java,
4701 gnu/java/locale/LocaleInformation_cy_GB.java,
4702 gnu/java/locale/LocaleInformation_da_DK.java,
4703 gnu/java/locale/LocaleInformation_de_AT.java,
4704 gnu/java/locale/LocaleInformation_de_BE.java,
4705 gnu/java/locale/LocaleInformation_de_CH.java,
4706 gnu/java/locale/LocaleInformation_de_DE.java,
4707 gnu/java/locale/LocaleInformation_de_LU.java,
4708 gnu/java/locale/LocaleInformation_el_GR.java,
4709 gnu/java/locale/LocaleInformation_en_AU.java,
4710 gnu/java/locale/LocaleInformation_en_BW.java,
4711 gnu/java/locale/LocaleInformation_en_CA.java,
4712 gnu/java/locale/LocaleInformation_en_DK.java,
4713 gnu/java/locale/LocaleInformation_en_GB.java,
4714 gnu/java/locale/LocaleInformation_en_HK.java,
4715 gnu/java/locale/LocaleInformation_en_IE.java,
4716 gnu/java/locale/LocaleInformation_en_IN.java,
4717 gnu/java/locale/LocaleInformation_en_NZ.java,
4718 gnu/java/locale/LocaleInformation_en_PH.java,
4719 gnu/java/locale/LocaleInformation_en_SG.java,
4720 gnu/java/locale/LocaleInformation_en_US.java,
4721 gnu/java/locale/LocaleInformation_en_ZA.java,
4722 gnu/java/locale/LocaleInformation_en_ZW.java,
4723 gnu/java/locale/LocaleInformation_es_AR.java,
4724 gnu/java/locale/LocaleInformation_es_BO.java,
4725 gnu/java/locale/LocaleInformation_es_CL.java,
4726 gnu/java/locale/LocaleInformation_es_CO.java,
4727 gnu/java/locale/LocaleInformation_es_CR.java,
4728 gnu/java/locale/LocaleInformation_es_DO.java,
4729 gnu/java/locale/LocaleInformation_es_EC.java,
4730 gnu/java/locale/LocaleInformation_es_ES.java,
4731 gnu/java/locale/LocaleInformation_es_GT.java,
4732 gnu/java/locale/LocaleInformation_es_HN.java,
4733 gnu/java/locale/LocaleInformation_es_MX.java,
4734 gnu/java/locale/LocaleInformation_es_NI.java,
4735 gnu/java/locale/LocaleInformation_es_PA.java,
4736 gnu/java/locale/LocaleInformation_es_PE.java,
4737 gnu/java/locale/LocaleInformation_es_PR.java,
4738 gnu/java/locale/LocaleInformation_es_PY.java,
4739 gnu/java/locale/LocaleInformation_es_SV.java,
4740 gnu/java/locale/LocaleInformation_es_US.java,
4741 gnu/java/locale/LocaleInformation_es_UY.java,
4742 gnu/java/locale/LocaleInformation_es_VE.java,
4743 gnu/java/locale/LocaleInformation_et_EE.java,
4744 gnu/java/locale/LocaleInformation_eu_ES.java,
4745 gnu/java/locale/LocaleInformation_fa_IR.java,
4746 gnu/java/locale/LocaleInformation_fi_FI.java,
4747 gnu/java/locale/LocaleInformation_fo_FO.java,
4748 gnu/java/locale/LocaleInformation_fr_BE.java,
4749 gnu/java/locale/LocaleInformation_fr_CA.java,
4750 gnu/java/locale/LocaleInformation_fr_CH.java,
4751 gnu/java/locale/LocaleInformation_fr_FR.java,
4752 gnu/java/locale/LocaleInformation_fr_LU.java,
4753 gnu/java/locale/LocaleInformation_ga_IE.java,
4754 gnu/java/locale/LocaleInformation_gd_GB.java,
4755 gnu/java/locale/LocaleInformation_gl_ES.java,
4756 gnu/java/locale/LocaleInformation_gv_GB.java,
4757 gnu/java/locale/LocaleInformation_he_IL.java,
4758 gnu/java/locale/LocaleInformation_hi_IN.java,
4759 gnu/java/locale/LocaleInformation_hr_HR.java,
4760 gnu/java/locale/LocaleInformation_hu_HU.java,
4761 gnu/java/locale/LocaleInformation_id_ID.java,
4762 gnu/java/locale/LocaleInformation_it_CH.java,
4763 gnu/java/locale/LocaleInformation_it_IT.java,
4764 gnu/java/locale/LocaleInformation_iw_IL.java,
4765 gnu/java/locale/LocaleInformation_ja_JP.java,
4766 gnu/java/locale/LocaleInformation_ka_GE.java,
4767 gnu/java/locale/LocaleInformation_kl_GL.java,
4768 gnu/java/locale/LocaleInformation_ko_KR.java,
4769 gnu/java/locale/LocaleInformation_kw_GB.java,
4770 gnu/java/locale/LocaleInformation_lt_LT.java,
4771 gnu/java/locale/LocaleInformation_lv_LV.java,
4772 gnu/java/locale/LocaleInformation_mi_NZ.java,
4773 gnu/java/locale/LocaleInformation_mk_MK.java,
4774 gnu/java/locale/LocaleInformation_mr_IN.java,
4775 gnu/java/locale/LocaleInformation_mt_MT.java,
4776 gnu/java/locale/LocaleInformation_nl_BE.java,
4777 gnu/java/locale/LocaleInformation_nl_NL.java,
4778 gnu/java/locale/LocaleInformation_nn_NO.java,
4779 gnu/java/locale/LocaleInformation_no_NO.java,
4780 gnu/java/locale/LocaleInformation_oc_FR.java,
4781 gnu/java/locale/LocaleInformation_pl_PL.java,
4782 gnu/java/locale/LocaleInformation_pt_BR.java,
4783 gnu/java/locale/LocaleInformation_pt_PT.java,
4784 gnu/java/locale/LocaleInformation_ro_RO.java,
4785 gnu/java/locale/LocaleInformation_ru_RU.java,
4786 gnu/java/locale/LocaleInformation_ru_UA.java,
4787 gnu/java/locale/LocaleInformation_se_NO.java,
4788 gnu/java/locale/LocaleInformation_sk_SK.java,
4789 gnu/java/locale/LocaleInformation_sl_SI.java,
4790 gnu/java/locale/LocaleInformation_sq_AL.java,
4791 gnu/java/locale/LocaleInformation_sr_YU.java,
4792 gnu/java/locale/LocaleInformation_sv_FI.java,
4793 gnu/java/locale/LocaleInformation_sv_SE.java,
4794 gnu/java/locale/LocaleInformation_ta_IN.java,
4795 gnu/java/locale/LocaleInformation_te_IN.java,
4796 gnu/java/locale/LocaleInformation_tg_TJ.java,
4797 gnu/java/locale/LocaleInformation_tl_PH.java,
4798 gnu/java/locale/LocaleInformation_tr_TR.java,
4799 gnu/java/locale/LocaleInformation_uk_UA.java,
4800 gnu/java/locale/LocaleInformation_ur_PK.java,
4801 gnu/java/locale/LocaleInformation_uz_UZ.java,
4802 gnu/java/locale/LocaleInformation_vi_VN.java,
4803 gnu/java/locale/LocaleInformation_yi_US.java,
4804 gnu/java/locale/LocaleInformation_zh_CN.java,
4805 gnu/java/locale/LocaleInformation_zh_HK.java,
4806 gnu/java/locale/LocaleInformation_zh_SG.java,
4807 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4808 info; from Classpath.
4809
4810 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4811 isPaintPending): New methods.
4812 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4813 setMaximizedBounds): New methods.
4814 (beginLayout, endLayout, isPaintPending): Likewise.
4815 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4816 (requestFocus): Likewise.
4817 (isObscured): Likewise.
4818 (canDetermineObscurity): Likewise.
4819 (coalescePaintEvent): Likewise.
4820 (updateCursorImmediately): Likewise.
4821 (createVolatileImage): Likewise.
4822 (handlesWheelScrolling): Likewise.
4823 (createBuffers): Likewise.
4824 (getBackBuffer): Likewise.
4825 (flip): Likewise.
4826 (destroyBuffers): Likewise.
4827
4828 * Makefile.in: Rebuilt.
4829 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4830 RobotPeer.java.
4831 * gnu/java/awt/GLightweightPeer.java,
4832 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4833 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4834 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4835 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4836 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4837 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4838 java/awt/dnd/peer/DragSourceContextPeer.java,
4839 java/awt/dnd/peer/DropTargetContextPeer.java,
4840 java/awt/peer/ButtonPeer.java,
4841 java/awt/peer/CheckboxMenuItemPeer.java,
4842 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4843 java/awt/peer/ComponentPeer.java,
4844 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4845 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4846 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4847 java/awt/peer/MenuBarPeer.java,
4848 java/awt/peer/MenuComponentPeer.java,
4849 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4850 java/awt/peer/PopupMenuPeer.java,
4851 java/awt/peer/ScrollPanePeer.java,
4852 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4853 java/awt/peer/TextComponentPeer.java,
4854 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4855 New versions from Classpath.
4856 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4857 * java/awt/peer/RobotPeer.java: Likewise.
4858
4859 2003-03-01 Mark Wielaard <mark@klomp.org>
4860
4861 * java/io/ObjectInputStream.java: Reindent.
4862 * java/io/ObjectOutputStream.java: Likewise.
4863
4864 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4865
4866 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4867 jvalue for each argument. Simplify.
4868 * testsuite/libjava.jni/calls.c (docall),
4869 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4870 misalignment.
4871
4872 2003-02-28 Mark Wielaard <mark@klomp.org>
4873
4874 * Makefile.am (nat_source_files): Remove
4875 java/io/natObjectOutputStream.cc.
4876 * Makefile.in: Regenerated.
4877 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4878 * java/io/ObjectStreamField.java (typename): New field.
4879 (ObjectStreamField(String, Class)): Initialize new field.
4880 (ObjectStreamField(String, String)): New Constructor.
4881 (getTypeCode): Use new field.
4882 (getTypeString): Use new field.
4883 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4884 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4885 Handle reading of Proxy classes. Never drain(), just write
4886 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4887 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4888 (flush): Call flush(), not just drain().
4889 (writeBoolean): Always use blockDataOutput.
4890 (writeByte): Likewise.
4891 (writeShort): Likewise.
4892 (writeChar): Likewise.
4893 (writeInt): Likewise.
4894 (writeLong): Likewise.
4895 (writeFloat): Likewise.
4896 (writeDouble): Likewise.
4897 (writeBytes): Likewise.
4898 (putfield (put(String,Object))): Throw IllegalArgumentException if
4899 field cannot be found.
4900 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4901 (writeArraySizeAndElements): Write byte[] in one go.
4902 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4903 set BlockDataMode to false.
4904 (annotateProxyClass): New method.
4905 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4906 (getField): No longer native.
4907 (getMethod): Likewise.
4908 (setBlockDataMode): Always drain() on switch, return old mode.
4909 (static): New static code block.
4910 * java/io/natObjectOutputStream.cc: Removed.
4911 * java/io/ObjectInputStream.java (getField): No longer native.
4912 (getMethod): Likewise.
4913 (readObject): Remember and reset old BlockDataMode. Track whether
4914 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4915 TC_LONGSTRING.
4916 (defaultReadObject): Set BlockDataMode to false during readFields.
4917 (resolveClass): Create new SecurityManager if necessary.
4918 Use Class.forName() if null ClassLoader found.
4919 (read(byte[],int,int): Copy remaining bytes to data before calling
4920 readNextBlock().
4921 (readFields): Set and reset BlockDataMode on call_read_method.
4922 Catch NoSuchFieldErrors.
4923 (setBlockDataMode): Return old mode.
4924 (static): New static code block.
4925 * java/io/natObjectInputStream.cc (getField): Removed.
4926 (getMethod): Likewise.
4927
4928 2003-02-27 Michael Koch <konqueror@gmx.de>
4929
4930 * java/beans/Beans.java,
4931 java/beans/FeatureDescriptor.java
4932 java/beans/PropertyEditorManager.java:
4933 Reformated to GNU style.
4934
4935 2003-02-25 Michael Koch <konqueror@gmx.de>
4936
4937 * gnu/java/nio/MappedByteFileBuffer.java,
4938 gnu/java/nio/natMappedByteFileBuffer.cc:
4939 New files, both are not compiled yet to get not noncompiling CVS.
4940
4941 2003-02-24 Tom Tromey <tromey@redhat.com>
4942
4943 * java/util/prefs/AbstractPreferences.java (isUserNode):
4944 Implemented.
4945
4946 2003-02-24 Tom Tromey <tromey@redhat.com>
4947
4948 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4949 Deprecate.
4950 * java/lang/Thread.java (resume): Deprecate.
4951 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4952 in @deprecated.
4953
4954 2003-02-23 Tom Tromey <tromey@redhat.com>
4955
4956 * Makefile.in: Rebuilt.
4957 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4958
4959 2003-02-23 Tom Tromey <tromey@redhat.com>
4960
4961 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4962 libraries): Removed.
4963 (add_library): Removed.
4964 (_load): Don't call add_library.
4965 (loadLibraryInternal): Likewise.
4966 (init): Likewise.
4967 (lookup_data): New struct.
4968 (find_symbol): New function.
4969 (_Jv_FindSymbolInExecutable): Use it.
4970
4971 2002-02-21 Anthony Green <green@redhat.com>
4972
4973 * java/lang/Thread.java (Thread): New constructor taking stack
4974 size parameter (ignored for now).
4975 * Many methods: Merged GNU Classpath documentation.
4976
4977 * java/lang/Class.java (finalize): throws a Throwable.
4978
4979 2003-02-21 Mark Wielaard <mark@klomp.org>
4980
4981 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4982 argument is null.
4983
4984 2003-02-21 Mark Wielaard <mark@klomp.org>
4985
4986 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4987 then 65535 chars throw IllegalArgumentException.
4988
4989 2003-02-21 Mark Wielaard <mark@klomp.org>
4990
4991 * java/util/zip/ZipFile.java (finalize): New method.
4992
4993 2003-02-21 Michael Koch <konqueror@gmx.de>
4994
4995 * gnu/java/nio/natSocketChannelImpl.cc:
4996 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4997 <cato@df.lth.se> for pointing to it.
4998
4999 2003-02-20 Raif S. Naffah <raif@fl.net.au>
5000
5001 * java/math/BigInteger.java (euclidInv): Take result array as an
5002 argument. Updated all callers.
5003 (modInverse): Removed unused variables.
5004
5005 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5006
5007 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5008 config.status.
5009 * configure: Rebuilt.
5010
5011 2003-02-19 Michael Koch <konqueror@gmx.de>
5012
5013 * gnu/java/nio/natSocketChannelImpl.cc:
5014 Added support for platforms without network support.
5015
5016 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5017
5018 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
5019 after config.h. Use <> for consistency.
5020 * java/lang/natObject.cc: Likewise.
5021 * java/lang/natRuntime.cc: Likewise.
5022 * java/lang/natSystem.cc: Likewise.
5023 * java/util/natTimeZone.cc: Likewise.
5024 * win32.cc: Likewise.
5025 * include/posix.h (fcntl, socket, connect, close, bind, accept,
5026 listen, write, read): Undef to avoid interference from OS macros.
5027
5028 2003-02-19 Michael Koch <konqueror@gmx.de>
5029
5030 * gnu/java/nio/ByteBufferImpl.java
5031 (ByteBufferImpl): Renamed two variables.
5032 * gnu/java/nio/CharBufferImpl.java
5033 (CharBufferImpl): Renamed two variables.
5034 * gnu/java/nio/DoubleBufferImpl.java
5035 (DoubleBufferImpl): Renamed two variables.
5036 * gnu/java/nio/FloatBufferImpl.java
5037 (FloatBufferImpl): Renamed two variables.
5038 * gnu/java/nio/IntBufferImpl.java
5039 (IntBufferImpl): Renamed two variables.
5040 * gnu/java/nio/LongBufferImpl.java
5041 (LongBufferImpl): Renamed two variables.
5042 * gnu/java/nio/ShortBufferImpl.java
5043 (ShortBufferImpl): Renamed two variables.
5044 * java/nio/CharBuffer.java
5045 (wrap): Fixed arguments to CharBufferImpl constructor.
5046 (hasArray): Only not read-only buffers have backing arrays.
5047 (length): Documentation added.
5048 (subSequence): Documentation added.
5049 * java/nio/DoubleBuffer.java
5050 (hasArray): Only not read-only buffers have backing arrays.
5051 * java/nio/FloatBuffer.java
5052 (hasArray): Only not read-only buffers have backing arrays.
5053 * java/nio/IntBuffer.java
5054 (hasArray): Only not read-only buffers have backing arrays.
5055 * java/nio/LongBuffer.java
5056 (hasArray): Only not read-only buffers have backing arrays.
5057 * java/nio/ShortBuffer.java
5058 (hasArray): Only not read-only buffers have backing arrays.
5059
5060 2003-02-19 Michael Koch <konqueror@gmx.de>
5061
5062 * javax/accessibility/AccessibleContext.java
5063 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
5064
5065 2003-02-19 Michael Koch <konqueror@gmx.de>
5066
5067 * java/awt/ScrollPaneAdjustable.java: Reformated.
5068
5069 2003-02-19 Michael Koch <konqueror@gmx.de>
5070
5071 * gnu/awt/j2d/Graphics2DImpl.java
5072 (getFontRenderContext): New method.
5073 (drawGlyphVector): New method.
5074 * java/awt/Graphics2D.java
5075 (getFontRenderContext): New abstract method.
5076 (drawGlyphVector): New abstract method.
5077
5078 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
5079
5080 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
5081 if necessary.
5082
5083 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5084 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5085 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5086 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5087 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5088 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5089 (setFont, gtkSetFont): add.
5090 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
5091 Propagate font to peer. (setFont): add FIXME comment.
5092
5093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5094 (gtkTextGetSize): fix height, width computation.
5095
5096 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
5097 Make X font name a bit less bogus.
5098
5099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
5100 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
5101
5102 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
5103 (processAdjustmentEvent): Adjust value.
5104
5105 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5106 logic errors.
5107
5108 * java/awt/Component.java (setVisible, show, hide): Call show and
5109 hide methods in subclasses.
5110 (getPreferredSize): don't set prefSize before we have peer.
5111
5112 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5113 Guess (0,0) if we don't have peer.
5114
5115
5116 2003-02-18 Michael Koch <konqueror@gmx.de>
5117
5118 * java/nio/channels/FileChannel.java
5119 (toString): New implementation, added documentation.
5120 (map): Added exception documentation.
5121 (size): Added exception documentation.
5122 (write): New methods, documentation work.
5123 (read): New methods, documentation work.
5124 (implCloseChannel): Rewrote exception documentation.
5125 (force): Throws IOException, added documentation.
5126 (lock): New methods.
5127 (tryLock): New methods.
5128 (position): New methods.
5129 (transferTo): New method.
5130 (transferFrom): New method.
5131 (truncate): New method.
5132 * java/nio/channels/spi/SelectorProvider.java
5133 (provider): Implemented.
5134 * Makefile.am
5135 (ordinary_java_source_files): Added the following files:
5136 gnu/java/nio/DatagramChannelImpl.java
5137 gnu/java/nio/FileChannelImpl.java
5138 gnu/java/nio/PipeImpl.java
5139 gnu/java/nio/SelectionKeyImpl.java
5140 gnu/java/nio/SelectorImpl.java
5141 gnu/java/nio/SelectorProviderImpl.java
5142 gnu/java/nio/ServerSocketChannelImpl.java
5143 gnu/java/nio/SocketChannelImpl.java
5144 java/nio/channels/FileLock.java
5145 (nat_java_source_files): Added the following files:
5146 gnu/java/nio/natFileChannelImpl.cc
5147 gnu/java/nio/natSelectorImpl.cc
5148 gnu/java/nio/natSocketChannelImpl.cc
5149 * Makefile.in: Regenerated.
5150
5151 2003-02-17 Tom Tromey <tromey@redhat.com>
5152
5153 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5154 * java/awt/image/ImageFilter.java: Likewise.
5155
5156 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5157
5158 * java/math/BigInteger.java (euclidInv): Return array of
5159 `BigInteger's. Changed all callers.
5160
5161 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5162
5163 * java/util/Properties.java (store): Move the code formerly in
5164 list(), into this method.
5165 (list (PrintStream)): Just call list (PrintWriter) with a
5166 PrintWriter object constructed from the given PrintStream object.
5167 (list (PrintWriter)): Emulate the output of Properties.list()
5168 as found in JDK 1.3/1.4.
5169
5170 2003-02-17 Michael Koch <konqueror@gmx.de>
5171
5172 * java/net/DatagramSocket.java
5173 (connect): Merged with classpath.
5174 (disconnect): Merged documentation with classpath.
5175 (receice): Merged documentation with classpath.
5176 (send): Merged documentation with classpath.
5177
5178 2003-02-17 Michael Koch <konqueror@gmx.de>
5179
5180 * java/awt/dnd/DragSourceContext.java
5181 (addDragSourceListener): Added documentation.
5182 * java/awt/dnd/DragSourceDragEvent.java
5183 (serialVersionUID): New member variable.
5184 (getDropAction): Reformated.
5185 * java/awt/dnd/DragSourceDropEvent.java
5186 (serialVersionUID): New member variable.
5187 (dropSuccess): Renamed from success for serialization issues.
5188 * java/awt/dnd/DragSourceEvent.java
5189 (serialVersionUID): New member variable.
5190 * java/awt/dnd/DropTarget.java
5191 (serialVersionUID): New member variable.
5192 (DropTarget): Implemented, documentation reworked.
5193 (setComponent): Documentation added.
5194 (getComponent): Documentation added.
5195 (setDefaultActions): Documentation added.
5196 (getDefaultActions): Documentation added.
5197 (addDropTargetListener): Documentation added.
5198 * java/awt/dnd/DropTargetContext.java
5199 (DropTargetContext): Documentation added.
5200 (TransferableProxy.TransferableProxy): New method.
5201 (dropComplete): Fixed documentation.
5202 (getTransferable): Fixed documentation.
5203 (createTransferableProxy): Implemented.
5204 * java/awt/dnd/DropTargetDragEvent.java
5205 (DropTargetDragEvent): Documentation added.
5206 (serialVersionUID): New member variable.
5207 (DropTargetDragEvent): Throw exceptions, documentation added.
5208 (acceptDrag): Implemented.
5209 (getCurrentDataFlavors): Implemented.3yy
5210 (getCurrentDataFlavorsAsList): Implemented.
5211 (isDataFlavorSupported): Implemented.
5212 (rejectDrag): Implemented.
5213 * java/awt/dnd/DropTargetDropEvent.java
5214 (DropTargetDropEvent): Documentation added.
5215 (serialVersionUID): New member variable.
5216 (actions): Renamed from srcActions for serialization issues.
5217 (isLocalTx): Renamed from isLocalTx for serialization issues.
5218 (DropTargetDropEvent): New implementation, throw exceptions,
5219 documentation added.
5220 (getCurrentDataFlavors): Implemented.
5221 (getCurrentDataFlavorsAsList): Implemented.
5222 (isDataFlavorSupported): Implemented.
5223 (getSourceActions): Implemented.
5224 (getDropAction): Implemented.
5225 (getTransferable): Implemented.
5226 (acceptDrop): Implemented.
5227 (rejectDrop): Implemented.
5228 * java/awt/dnd/DropTargetListener.java
5229 (drop): Fixed documentation.
5230 * java/awt/dnd/MouseDragGestureRecognizer.java
5231 (MouseDragGestureRecognizer): Documentation added.
5232
5233 2003-02-17 Michael Koch <konqueror@gmx.de>
5234
5235 * java/awt/font/FontRenderContext.java,
5236 java/awt/font/ShapeGraphicAttribute.java,
5237 java/awt/font/MultipleMaster.java,
5238 java/awt/font/TransformAttribute.java,
5239 java/awt/font/GlyphJustificationInfo.java,
5240 java/awt/font/LineBreakMeasurer.java,
5241 java/awt/font/TextMeasurer.java,
5242 java/awt/font/TextLayout.java,
5243 java/awt/font/LineMetrics.java,
5244 java/awt/font/TextAttribute.java,
5245 java/awt/font/GlyphMetrics.java,
5246 java/awt/font/OpenType.java,
5247 java/awt/font/GlyphVector.java,
5248 java/awt/font/GraphicAttribute.java,
5249 java/awt/font/ImageGraphicAttribute.java,
5250 java/awt/font/NumericShaper.java: New files.
5251 * Makefile.am
5252 (awt_java_source_files): Added the following files:
5253 java/awt/font/FontRenderContext.java
5254 java/awt/font/ShapeGraphicAttribute.java
5255 java/awt/font/MultipleMaster.java
5256 java/awt/font/TransformAttribute.java
5257 java/awt/font/GlyphJustificationInfo.java
5258 java/awt/font/LineBreakMeasurer.java
5259 java/awt/font/TextMeasurer.java
5260 java/awt/font/TextLayout.java
5261 java/awt/font/LineMetrics.java
5262 java/awt/font/TextAttribute.java
5263 java/awt/font/GlyphMetrics.java
5264 java/awt/font/OpenType.java
5265 java/awt/font/GlyphVector.java
5266 java/awt/font/GraphicAttribute.java
5267 java/awt/font/ImageGraphicAttribute.java
5268 java/awt/font/NumericShaper.java
5269 * Makefile.in: Regenerated.
5270
5271 2003-02-17 Michael Koch <konqueror@gmx.de>
5272
5273 * java/awt/print/Paper.java
5274 (Paper): Implements Cloneable.
5275 * java/awt/print/PrinterJob.java
5276 (setJobName): Return value must be void.
5277 (print): Throws PrinterException.
5278
5279 2003-02-16 Tom Tromey <tromey@redhat.com>
5280
5281 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5282 variable.
5283
5284 2003-02-15 Michael Koch <konqueror@gmx.de>
5285
5286 * java/awt/datatransfer/DataFlavor.java
5287 (isRepresentationClassByteBuffer): Removed try-catch block.
5288 (isRepresentationClassCharBuffer): Removed try-catch block.
5289 (isRepresentationClassReader): Removed try-catch block.
5290
5291 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5292
5293 * java/nio/charset/Charset.java
5294 (isRegistered): Fixed method args and implementation.
5295 * java/nio/charset/CharsetEncoder.java
5296 (unmappableCharacterAction): New method.
5297
5298 2003-02-15 Michael Koch <konqueror@gmx.de>
5299
5300 * java/awt/CheckboxMenuItem.java
5301 (CheckBoxMenuItem): Dont implement Serializable.
5302 (getListeners): New method,
5303 (getItemListeners): New method.
5304 * java/awt/Choice.java
5305 (getListeners): New method,
5306 (getItemListeners): New method.
5307 * java/awt/Container.java
5308 (getListeners): Added exception documentation.
5309 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5310 (getFocusTraversalKeys): Added documentation.
5311 (areFocusTraversalKeysSet): Added documentation.
5312 (applyComponentOrientation): Added documentation.
5313 * java/awt/ContainerOrderFocusTraversalPolicy.java
5314 (implicitDownCycleTraversal): Renamed from downCycle for
5315 serialization.
5316 (ContainerOrderFocusTraversalPolicy): Added documentation.
5317 (accept): Reformated.
5318 * java/awt/Dialog.java
5319 (Dialog): Dont implement Serializable.
5320 (Dialog): Added documentation.
5321 * java/awt/Font.java
5322 (Font): Dont use absolute class name.
5323 * java/awt/Frame.java
5324 (Frame): Font implement Serializable.
5325 * java/awt/List.java
5326 (getListeners): New method,
5327 (getActionListeners): New method.
5328 (getItemListeners): New method.
5329 * java/awt/Menu.java
5330 (countItems): New deprecated method.
5331 * java/awt/Scrollbar.java
5332 (getListeners): New method,
5333 (getAdjustmentListeners): New method,
5334 * java/awt/TextComponent.java
5335 (getListeners): New method,
5336 (getTextListeners): New method,
5337 * java/awt/TextField.java
5338 (getListeners): New method,
5339 (getActionListeners): New method.
5340 * java/awt/Window.java
5341 (windowFocusListener): New member variable.
5342 (windowStateListener): New member variable.
5343 (getWindowFocusListeners): New method.
5344 (getWindowStateListeners): New method.
5345 (addWindowFocusListener): New method.
5346 (addWindowStateListener): New method.
5347 (removeWindowFocusListener): New method.
5348 (removeWindowStateListener): New method.
5349 * java/awt/datatransfer/DataFlavor.java
5350 (isRepresentationClassByteBuffer): New method.
5351 (isRepresentationClassCharBuffer): New method.
5352 (isRepresentationClassReader): New method.
5353
5354 2003-02-14 Mark Wielaard <mark@klomp.org>
5355
5356 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5357 zero when there is an exponent and the significant is zero.
5358 (divide): Always set scale to newScale even in special ZERO case.
5359
5360 2003-02-14 Tom Tromey <tromey@redhat.com>
5361
5362 * java/lang/System.java (properties): Use Properties.clone.
5363 (setProperties): Likewise.
5364
5365 2003-02-14 Michael Koch <konqueror@gmx.de>
5366
5367 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5368 * gnu/java/nio/ServerSocketChannelImpl.java
5369 (SocketAccept): Removed.
5370 (accept): Commented out use of SocketAccept.
5371
5372 2003-02-13 Tom Tromey <tromey@redhat.com>
5373
5374 * verify.cc (state::seen_subrs): New field.
5375 (state::state): Initialize it.
5376 (state::clean_subrs): New method.
5377 (state::~state): Call it.
5378 (state::copy): Copy subroutine list.
5379 (state::add_subr): New method.
5380 (state::merge): Only register a change if the current subroutine
5381 hasn't yet been noted.
5382
5383 2003-02-13 Mark Wielaard <mark@klomp.org>
5384
5385 * java/io/InputStreamReader.java (getEncoding): Return null when
5386 closed.
5387 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5388
5389 2003-02-13 Mark Wielaard <mark@klomp.org>
5390
5391 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5392 is zero.
5393
5394 2003-02-13 Mark Wielaard <mark@klomp.org>
5395
5396 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5397 next byte cannot be buffered.
5398
5399 2003-02-13 Michael Koch <konqueror@gmx.de>
5400
5401 * java/awt/Label.java
5402 (Label): Don't implement Serializable directly.
5403 (addNotify): Fixed typo in documentation.
5404 * java/awt/List.java
5405 (List): Don't implement Serializable directly.
5406 * java/awt/PopupMenu.java
5407 (PopupMenu): Don't implement Serializable directly.
5408 * java/awt/ScrollPane.java
5409 (ScrollPane): Don't implement Serializable directly.
5410 * java/awt/Scrollbar.java
5411 (Scrollbar): Don't implement Serializable directly.
5412 * java/awt/TextArea.java
5413 (preferredSize): Fixed method arguments.
5414 * java/awt/TextField.java
5415 (TextField): Don't implement Serializable directly.
5416 * java/awt/color/ICC_ColorSpace.java
5417 (fromCIOXYZ): Documentation added.
5418 (getMinValue): Documentation added.
5419 (getMaxValue): Documentation added.
5420 * java/awt/datatransfer/DataFlavor.java
5421 (isMimeTypeEqual): May not be final.
5422 (clone): Throws CloneNotSupportedException.
5423 (getReaderForText): Don't throws UnsupportedEncodingException.
5424
5425 2003-02-13 Michael Koch <konqueror@gmx.de>
5426
5427 * gnu/java/awt/peer/gtk/GdkGraphics.java
5428 (drawString): New stubbed method.
5429 * java/awt/Graphics.java
5430 (drawString): New method.
5431
5432 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5433
5434 PR libgcj/9271:
5435 * java/security/SecureRandom.java (next): Avoid bias in results.
5436
5437 2003-02-13 Michael <konqueror@gmx.de>
5438
5439 * gnu/java/nio/FileChannelImpl.java
5440 (lengthInternal): Must be native.
5441 (size): Check if channel is already closed.
5442 (implCloseChannel): Reformated.
5443 (read): w was unused, removed it.
5444 (read): Removed.
5445 (read): New method.
5446 (write): New method.
5447 (map): Check arguments.
5448 (force): Throws IOException, check if channel is closed.
5449 (transferTo): New method.
5450 (transferFrom): New method.
5451 (lock): New method.
5452 (tryLock): New method.
5453 (position): New method.
5454 (truncate): New method.
5455 (nio_mmap_file): Uncommented.
5456 (nio_munmap_file): Uncommented.
5457 (nio_msync): Uncommented.
5458 * gnu/java/nio/natFileChannelImpl.cc: New file.
5459
5460 2003-02-13 Michael Koch <konqueror@gmx.de>
5461
5462 * java/nio/ByteBuffer.java
5463 (endian): New member variable.
5464 (get): New methods.
5465 (equals): New method.
5466 (compareTo): New method.
5467 (order): New methods.
5468 (compact): New method.
5469 (isDirect): New method.
5470 (slice): New method.
5471 (duplicate): New method.
5472 (asReadOnlyBuffer): New method.
5473 (asCharBuffer): New method.
5474 (asDoubleBuffer): New method.
5475 (asFloatBuffer): New method.
5476 (asIntBuffer): New method.
5477 (asLongBuffer): New method.
5478 (asShortBuffer): New method.
5479 (get*): New methods.
5480 (put*): New methods.
5481 (toString): New method.
5482 * java/nio/CharBuffer.java
5483 (CharBuffer): Implement Comparable instead of Cloneable.
5484 (get): May not be final.
5485 (put): May not be final.
5486
5487 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5488
5489 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5490 lastIndexOf( ) instead of indexOf( ) to find the colon before
5491 the line number, because Win32 file names might contain a
5492 drive letter and a colon at the start of an absolute path.
5493
5494 2003-02-13 Michael Koch <konqueror@gmx.de>
5495
5496 * gnu/java/nio/natSocketChannelImpl.cc
5497 (SocketConnect): This is not implemented yet.
5498 (SocketBind): This is not implemented yet.
5499
5500 2003-02-13 Michael Koch <konqueror@gmx.de>
5501
5502 * gnu/java/nio/natByteBufferImpl.cc,
5503 gnu/java/nio/natCharBufferImpl.cc,
5504 gnu/java/nio/natDoubleBufferImpl.cc,
5505 gnu/java/nio/natFloatBufferImpl.cc,
5506 gnu/java/nio/natIntBufferImpl.cc,
5507 gnu/java/nio/natLongBufferImpl.cc,
5508 gnu/java/nio/natShortBufferImpl.cc:
5509 Added copyright and license.
5510 * java/nio/DoubleBuffer.java,
5511 java/nio/FloatBuffer.java,
5512 java/nio/IntBuffer.java,
5513 java/nio/LongBuffer.java,
5514 java/nio/ShortBuffer.java
5515 (array): Throw exceptions.
5516 (arrayOffset): Throw exceptions.
5517
5518 2003-02-13 Michael Koch <konqueror@gmx.de>
5519
5520 * gnu/java/util/prefs/FileBasedFactory.java,
5521 gnu/java/util/prefs/MemmoryBasedFactory.java,
5522 gnu/java/util/prefs/MemoryBasedPreferences.java,
5523 gnu/java/util/prefs/NodeReader.java,
5524 gnu/java/util/prefs/NodeWriter.java,
5525 java/util/prefs/AbstractPreferences.java,
5526 java/util/prefs/BackingStoreException.java,
5527 java/util/prefs/InvalidPreferencesFormatException.java,
5528 java/util/prefs/NodeChangeEvent.java,
5529 java/util/prefs/NodeChangeListener.java,
5530 java/util/prefs/PreferenceChangeEvent.java,
5531 java/util/prefs/PreferenceChangeListener.java,
5532 java/util/prefs/Preferences.java,
5533 java/util/prefs/PreferencesFactory.java:
5534 New files, all merged from classpath.
5535 * Makefile.am
5536 (ordinary_java_source_files): Added the following files:
5537 gnu/java/util/prefs/FileBasedFactory.java,
5538 gnu/java/util/prefs/MemmoryBasedFactory.java,
5539 gnu/java/util/prefs/MemoryBasedPreferences.java,
5540 gnu/java/util/prefs/NodeReader.java,
5541 gnu/java/util/prefs/NodeWriter.java,
5542 (core_java_source_files): Added the following files:
5543 java/util/prefs/AbstractPreferences.java,
5544 java/util/prefs/BackingStoreException.java,
5545 java/util/prefs/InvalidPreferencesFormatException.java,
5546 java/util/prefs/NodeChangeEvent.java,
5547 java/util/prefs/NodeChangeListener.java,
5548 java/util/prefs/PreferenceChangeEvent.java,
5549 java/util/prefs/PreferenceChangeListener.java,
5550 java/util/prefs/Preferences.java,
5551 java/util/prefs/PreferencesFactory.java
5552 * Makefile.in: Regenerated.
5553
5554 2003-02-13 Michael Koch <konqueror@gmx.de>
5555
5556 * java/net/NetPermission.java
5557 (NetPermission): Make doucmentation match the method declaration.
5558 * java/net/NetworkInterface.java
5559 (equals): Reformated for GNU coding style.
5560 * java/net/ServerSocket.java: Merged with classpath.
5561 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5562 * java/net/SocketImpl.java
5563 (localPort): Merged with classpath (initialize with -1).
5564 * java/net/SocketPermission.java: Merged with classpath (reindented).
5565 * java/net/URLDecoder.java: Merged with classpath (reindented).
5566
5567 2003-02-13 Michael Koch <konqueror@gmx.de>
5568
5569 * java/awt/GridBagConstraints.java
5570 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5571 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5572 * java/awt/KeyboardFocusManager.java
5573 (setGlobalCurrentFocusCycleRoot): Must be public.
5574 * java/awt/MenuComponent.java
5575 (MenuComponent): Must be public.
5576 * java/awt/Toolkit.java:
5577 Added some empty lines to make documentation more readable.
5578 (getFontPeer): Added @deprecated.
5579 (getColorModel): Added exception documentation.
5580 (getProperty): Fixed documentation.
5581
5582 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5583
5584 * configure.host (alpha*-*): Default to -mieee.
5585 * configure.in (IEEESPEC): New.
5586 * libgcj.spec.in (jc1): Add IEEESPEC.
5587 * configure: Rebuild.
5588
5589 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5590
5591 * include/win32.h: Include ws2tcpip.h instead of
5592 winsock.h to obtain definition of the socklen_t type.
5593 Remove IP_TOS definition - not needed with ws2tcpip.h
5594 (_Jv_connect): Correct slight formatting error.
5595
5596 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5597
5598 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5599 size of the arguments for a JNI function. For Win32,
5600 modify to search for all forms of possible exported
5601 names of an stdcall JNI function.
5602 (_Jv_JNIMethod::call): Modify to calculate the size
5603 of the arguments passed to a JNI function and pass
5604 it to _Jv_LookupJNIMethod.
5605
5606 2003-02-12 Michael Koch <konqueror@gmx.de>
5607
5608 * java/nio/channels/Channels.java: New file.
5609 * Makefile.am
5610 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5611 * Makefile.in: Regenerated.
5612
5613 2003-02-12 Michael Koch <konqueror@gmx.de>
5614
5615 * java/nio/ByteBuffer.java
5616 (allocate): Implemented.
5617 (wrap): Implemented.
5618 * java/nio/CharBuffer.java:
5619 Some documentation added and reworked.
5620 (endian): Removed.
5621 (allocate): Implemented.
5622 (wrap): Implemented.
5623 (array): Throw exceptions.
5624 (arrayOffset): Throw exceptions.
5625 (toString): Implemented.
5626 (length): Implemented.
5627 (put): Implemented.
5628 (charAt): Implemented.
5629
5630 2003-02-11 John Leuner <jewel@debian.org>
5631
5632 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5633 reads from end of file.
5634
5635 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5636
5637 * java/io/natFileDescriptorWin32.cc
5638 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5639 returns with Win32 error code ERROR_BROKEN_PIPE.
5640
5641 2003-02-11 Michael Koch <konqueror@gmx.de>
5642
5643 * Makefile.in
5644 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5645
5646 2003-02-11 Michael Koch <konqueror@gmx.de>
5647
5648 * gnu/java/nio/ByteBufferImpl.java:
5649 Reformated and removed some code.
5650 (backing_buffer): Removed.
5651 (array_offset): Removed.
5652 (ro): Renamed to readOnly.
5653 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5654 * gnu/java/nio/CharBufferImpl.java:
5655 Reformated and removed some code.
5656 (array_offset): Removed.
5657 (ro): Renamed to readOnly.
5658 (CharBufferImpl): Use parent constructor, initialize readOnly.
5659 (inc_pos): Removed.
5660 (order): New method.
5661 * gnu/java/nio/DoubleBufferImpl.java:
5662 Reformated and removed some code.
5663 (array_offset): Removed.
5664 (ro): Renamed to readOnly.
5665 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5666 (inc_pos): Removed.
5667 (order): New method.
5668 * gnu/java/nio/FloatBufferImpl.java:
5669 Reformated and removed some code.
5670 (array_offset): Removed.
5671 (ro): Renamed to readOnly.
5672 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5673 (inc_pos): Removed.
5674 (order): New method.
5675 * gnu/java/nio/IntBufferImpl.java:
5676 Reformated and removed some code.
5677 (array_offset): Removed.
5678 (ro): Renamed to readOnly.
5679 (IntBufferImpl): Use parent constructor, initialize readOnly.
5680 (inc_pos): Removed.
5681 (order): New method.
5682 * gnu/java/nio/LongBufferImpl.java:
5683 Reformated and removed some code.
5684 (array_offset): Removed.
5685 (ro): Renamed to readOnly.
5686 (LongBufferImpl): Use parent constructor, initialize readOnly.
5687 (inc_pos): Removed.
5688 (order): New method.
5689 * gnu/java/nio/ShortBufferImpl.java:
5690 Reformated and removed some code.
5691 (array_offset): Removed.
5692 (ro): Renamed to readOnly.
5693 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5694 (inc_pos): Removed.
5695 (order): New method.
5696 * Makefile.am
5697 (ordinary_java_source_files): Added the following files:
5698 gnu/java/nio/ByteBufferImpl.java
5699 gnu/java/nio/CharBufferImpl.java
5700 gnu/java/nio/DoubleBufferImpl.java
5701 gnu/java/nio/FloatBufferImpl.java
5702 gnu/java/nio/IntBufferImpl.java
5703 gnu/java/nio/LongBufferImpl.java
5704 gnu/java/nio/ShortBufferImpl.java
5705 java/nio/DoubleBuffer.java
5706 java/nio/FloatBuffer.java
5707 java/nio/IntBuffer.java
5708 java/nio/LongBuffer.java
5709 java/nio/ShortBuffer.java
5710 (nat_source_files): Added the following files:
5711 gnu/java/nio/natByteBufferImpl.cc
5712 gnu/java/nio/natCharBufferImpl.cc
5713 gnu/java/nio/natDoubleBufferImpl.cc
5714 gnu/java/nio/natFloatBufferImpl.cc
5715 gnu/java/nio/natIntBufferImpl.cc
5716 gnu/java/nio/natLongBufferImpl.cc
5717 gnu/java/nio/natShortBufferImpl.cc
5718 * Makefile.in: Regenerated.
5719
5720 2003-02-11 Michael Koch <konqueror@gmx.de>
5721
5722 * gnu/java/nio/natCharBufferImpl.cc
5723 (nio_cast): Removed.
5724 (nio_put_*): Removed.
5725 (nio_get_*): Removed.
5726 * gnu/java/nio/natDoubleBufferImpl.cc
5727 (nio_cast): Removed.
5728 (nio_put_*): Removed.
5729 (nio_get_*): Removed.
5730 * gnu/java/nio/natFloatBufferImpl.cc
5731 (nio_cast): Removed.
5732 (nio_put_*): Removed.
5733 (nio_get_*): Removed.
5734 * gnu/java/nio/natIntBufferImpl.cc
5735 (nio_cast): Removed.
5736 (nio_put_*): Removed.
5737 (nio_get_*): Removed.
5738 * gnu/java/nio/natLongBufferImpl.cc
5739 (nio_cast): Removed.
5740 (nio_put_*): Removed.
5741 (nio_get_*): Removed.
5742 * gnu/java/nio/natShortBufferImpl.cc
5743 (nio_cast): Removed.
5744 (nio_put_*): Removed.
5745 (nio_get_*): Removed.
5746 * gnu/java/nio/SelectorProviderImpl.java
5747 (openDatagramChannel): Throws IOException.
5748 (openPipe): Throws IOException.
5749 (openSelector): Throws IOException.
5750 (openServerSocketChannel): Throws IOException.
5751 (openSocketChannel): Throws IOException.
5752 * gnu/java/nio/ServerSocketChannelImpl.java
5753 (ServerSocketChannelImpl): Throws IOException.
5754 (implCloseSelectableChannel): Throws IOException.
5755 (implConfigureBlocking): Throws IOException.
5756 * java/nio/ByteBuffer.java
5757 (readOnly): Removed.
5758 (hasArray): Use isReadOnly() instead of readOnly.
5759 (array): Use isReadOnly() instead of readOnly.
5760 (arrayOffset): Use isReadOnly() instead of readOnly.
5761 * java/nio/CharBuffer.java
5762 (CharBuffer): Implements Cloneable and CharSequence.
5763
5764 2003-02-11 Michael Koch <konqueror@gmx.de>
5765
5766 * java/nio/DoubleBuffer.java
5767 (DoubleBuffer): Implements Comparable.
5768 (endian): Removed.
5769 (array_offset): New member variable.
5770 (DoubleBuffer): New constuctor.
5771 (get): May not be final.
5772 (put): May not be final.
5773 (arrayOffset): Implemented.
5774 (order): Made abstract.
5775 (order): Removed.
5776 (as*Buffer): Removed.
5777 (get*): Removed.
5778 (put*): Removed.
5779 * java/nio/FloatBuffer.java
5780 (FloatBuffer): Implements Comparable.
5781 (endian): Removed.
5782 (array_offset): New member variable.
5783 (FloatBuffer): New constuctor.
5784 (get): May not be final.
5785 (put): May not be final.
5786 (arrayOffset): Implemented.
5787 (order): Made abstract.
5788 (order): Removed.
5789 (as*Buffer): Removed.
5790 (get*): Removed.
5791 (put*): Removed.
5792 * java/nio/IntBuffer.java
5793 (IntBuffer): Implements Comparable.
5794 (endian): Removed.
5795 (array_offset): New member variable.
5796 (IntBuffer): New constuctor.
5797 (get): May not be final.
5798 (put): May not be final.
5799 (arrayOffset): Implemented.
5800 (order): Made abstract.
5801 (order): Removed.
5802 (as*Buffer): Removed.
5803 (get*): Removed.
5804 (put*): Removed.
5805 * java/nio/LongBuffer.java
5806 (LongBuffer): Implements Comparable.
5807 (endian): Removed.
5808 (array_offset): New member variable.
5809 (LongBuffer): New constuctor.
5810 (get): May not be final.
5811 (put): May not be final.
5812 (arrayOffset): Implemented.
5813 (order): Made abstract.
5814 (order): Removed.
5815 (as*Buffer): Removed.
5816 (get*): Removed.
5817 (put*): Removed.
5818 * java/nio/ShortBuffer.java
5819 (ShortBuffer): Implements Comparable.
5820 (endian): Removed.
5821 (array_offset): New member variable.
5822 (ShortBuffer): New constuctor.
5823 (get): May not be final.
5824 (put): May not be final.
5825 (arrayOffset): Implemented.
5826 (order): Made abstract.
5827 (order): Removed.
5828 (as*Buffer): Removed.
5829 (get*): Removed.
5830 (put*): Removed.
5831
5832 2003-02-11 Michael Koch <konqueror@gmx.de>
5833
5834 * java/nio/channels/SelectionKey.java
5835 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5836 values.
5837
5838 2003-02-11 Michael Koch <konqueror@gmx.de>
5839
5840 * java/nio/channels/DatagramChannel.java
5841 (write): Throws IOException.
5842 (connect): Throws IOException.
5843 (disconnect): Throws IOException.
5844 (read): Throws IOException.
5845 (receive): Throws IOException.
5846 (send): Throws IOException.
5847 * java/nio/channels/Pipe.java
5848 (open): Throws IOException.
5849 * java/nio/channels/SelectableChannel.java
5850 (configureBlocking): Throws IOException.
5851 * java/nio/channels/ServerSocketChannel.java
5852 (accept): Throws IOException.
5853 * java/nio/channels/SocketChannel.java
5854 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5855 GatheringByteChannel.
5856 (read): Throws IOException.
5857 (write): Throws IOException.
5858 (finishConnect): Throws IOException.
5859 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5860 (end): Throws AsynchronousCloseException.
5861 * java/nio/channels/spi/AbstractSelectableChannel.java
5862 (configureBlocking): Throws IOException.
5863 (implCloseChannel): Throws IOException.
5864 (implCloseSelectableChannel): Throws IOException.
5865 (implConfigureBlocking): Throws IOException.
5866 * java/nio/channels/spi/SelectorProvider.java
5867 (openDatagramChannel): Throws IOException.
5868 (openPipe): Throws IOException.
5869 (openSelector): Throws IOException.
5870 (openServerSocketChannel): Throws IOException.
5871 (openSocketChannel): Throws IOException.
5872
5873 2003-02-11 Michael Koch <konqueror@gmx.de>
5874
5875 * gnu/java/nio/FileLockImpl.java,
5876 java/nio/channels/FileLock.java: New files.
5877
5878 2003-02-11 Michael Koch <konqueror@gmx.de>
5879
5880 * java/nio/charset/IllegalCharsetNameException.java
5881 (serialVersionUID): New member variable.
5882 (charsetName): New member variable.
5883 (IllegalCharsetException): New implementation.
5884 (getCharsetName): New implementation.
5885 * java/nio/charset/UnsupportedCharsetException.java
5886 (serialVersionUID): New member variable.
5887 (charsetName): New member variable.
5888 (UnsupportedCharsetException): New implementation.
5889 (getCharsetName): New implementation.
5890
5891 2003-02-10 Tom Tromey <tromey@redhat.com>
5892
5893 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5894 (ex): Renamed from sqlException.
5895
5896 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5897
5898 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5899 method used to ensure seeding has occurred and that a specific
5900 seed can be set and used.
5901
5902 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5903
5904 * java/lang/Win32Process.java (destroy): Declare as native.
5905 (hasExited): New native method.
5906 (exitValue): Define.
5907 (getErrorStream): Likewise.
5908 (getInputStream): Likewise.
5909 (getOutputStream): Likewise.
5910 (waitFor): Declare as native.
5911 (startProcess): New native method.
5912 (cleanup): Likewise.
5913 (ConcreteProcess): Define.
5914 (outputStream, inputStream, errorStream): New members.
5915 (procHandle, exitCode): Likewise.
5916
5917 * java/lang/natWin32Process.cc
5918 (java::lang::ConcreteProcess::cleanup): Define.
5919 (java::lang::ConcreteProcess::destroy): Likewise.
5920 (java::lang::ConcreteProcess::hasExited): Likewise.
5921 (java::lang::ConcreteProcess::waitFor): Likewise.
5922 (new_string): Likewise.
5923 (java::lang::ConcreteProcess::startProcess): Likewise.
5924
5925 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5926
5927 * java/math/BigInteger.java:
5928 Updated notice to include years 2002 and 3.
5929 Added 2 private (int) arrays with values from the HAC (Handbook of
5930 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5931 and t[] that contains nbr. of tests --used in isProbablePrime().
5932
5933 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5934
5935 * java/math/BigInteger.java (make(int[],int), add(int,int),
5936 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5937 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5938 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5939 make(long).
5940
5941 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5942 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5943 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5944 BIs and returns void.
5945 (modInverse(BI)): Use new signatures of euclidInv().
5946
5947 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5948 static small primes instead of remainder().
5949 Use pre-computed max nbr of trials based on bitlength of BI to test.
5950 Use pre-computed small primes for the trial tests instead of random
5951 numbers.
5952
5953 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5954 not used.
5955
5956 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5957 invoacation of MPN.chars_per_word(). not used.
5958
5959 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5960 local var and used where needed.
5961
5962 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5963 Combined declaration with initialisation of locals.
5964 Removed unused var.
5965
5966 * java/math/BigInteger.java: Style changes
5967 (pow(int)): Removed 'else' keyword.
5968 (toString(int)): idem.
5969 (doubleValue()): idem.
5970 (bitLength()): idem.
5971 (equals(Object)): Use static methods name in same class w/o prepending
5972 class name.
5973 (doubleValue()): idem.
5974 (setNegative(BI)): idem.
5975 (negate()): idem.
5976 (and(BI,int)): idem.
5977 (and(BI)): idem.
5978 (gcd(BI)): idem.
5979 (byteArrayToIntArray()): Removed casting to (int). this is
5980 std. behaviour.
5981 (canonicalize()): idem.
5982 (alloc(int)): Always instantiate a new BI.
5983
5984 2003-02-10 Tom Tromey <tromey@redhat.com>
5985
5986 * java/sql/Timestamp.java (compareTo(Object)): New method.
5987 (compareTo(Timestamp)): Likewise.
5988 (serialVersionUID): Updated.
5989
5990 2003-02-07 Mark Wielaard <mark@klomp.org>
5991
5992 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5993 when verify is true.
5994 (JarFile(File, boolean)): Likewise.
5995 (manifestRead): Set manifestRead field correctly.
5996
5997 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5998
5999 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
6000 tests; see patch #1016 on Savannah.
6001
6002 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6003
6004 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
6005 (toString): do not return Strings starting with . and - erroneously.
6006 Improves Mauve results to 12 of 600 instead of 16 of 338 on
6007 DiagBigDecimal.
6008
6009 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6010
6011 * java/beans/PropertyDescriptor.java
6012 (PropertyDescriptor(String, Class)): Sanity check getter and setter
6013 methods.
6014 (PropertyDescriptor(String, Class, String, String)): Likewise.
6015 (PropertyDescriptor(String, Method, Method): Factor out getter and
6016 setter method sanity checks into new method.
6017 (findMethods): Don't do parameter sanity checking of get method here.
6018 (checkMethods): New method.
6019
6020 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
6021
6022 * java/beans/PropertyDescriptor.java: Reformat.
6023
6024 2003-02-04 Tom Tromey <tromey@redhat.com>
6025
6026 * java/io/PipedOutputStream.java (flush): Declare as throwing
6027 IOException.
6028 (close): Likewise.
6029 * java/io/PipedWriter.java (close): Declare as throwing
6030 IOException.
6031 * java/io/StringWriter.java (close): Declare as throwing
6032 IOException.
6033
6034 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6035
6036 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
6037 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
6038 could also have been exported as "JNI_OnLoad@8" (MinGW) or
6039 "_JNI_OnLoad@8" (MSVC).
6040
6041 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
6042
6043 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
6044 convention on Win32 to invoke native JNI methods.
6045
6046 2003-02-03 Andrew Haley <aph@redhat.com>
6047
6048 * configure.host (x86_64): Enable interpreter.
6049
6050 2003-02-03 Andrew Haley <aph@redhat.com>
6051
6052 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
6053 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
6054 * configure.in (BACKTRACESPEC): New.
6055 * configure: Regenerate.
6056
6057 2003-02-02 Tom Tromey <tromey@redhat.com>
6058
6059 * configure: Rebuilt.
6060 * configure.in (TOOLKIT) [xlib]: Set correctly.
6061
6062 * Makefile.in: Rebuilt.
6063 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
6064 libstdc++.
6065
6066 2003-01-31 Mark WIelaard <mark@klomp.org>
6067
6068 * Makefile.in: Rebuilt.
6069 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
6070
6071 2003-01-31 Tom Tromey <tromey@redhat.com>
6072
6073 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
6074 cast to element type.
6075 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
6076 (_Jv_JNI_GetObjectArrayElement): Likewise.
6077
6078 * Makefile.in: Rebuilt.
6079 * Makefile.am (cond_x_ltlibrary): Renamed library to
6080 lib-gnu-awt-xlib.la.
6081 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
6082 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
6083 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
6084 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
6085 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
6086 (lib_gnu_awt_xlib_la_LINK): Likewise.
6087 (install-exec-hook): Removed.
6088 (lib-gnu-awt-xlib.la): Renamed.
6089
6090 2003-01-31 Tom Tromey <tromey@redhat.com>
6091
6092 * aclocal.m4, configure, include/config.h.in: Rebuilt.
6093 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
6094 aclocal.m4 and lost in some merge.
6095
6096 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
6097 Don't try to find graphics configuration.
6098 * java/awt/Toolkit.java (default_toolkit_name): Use new
6099 Configuration entry.
6100 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
6101 New global.
6102 * configure: Rebuilt.
6103 * configure.in (TOOLKIT): New subst.
6104 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6105 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6106 directory. Make output directories for .c files.
6107 * Makefile.in: Rebuilt.
6108 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6109 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6110 (all_java_source_files): Added new sources.
6111 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6112 (gtk_c_files): New macro.
6113 (gtk_c_source_files): New macro.
6114 (cond_gtk_ltlibrary): New macro.
6115 ($(gtk_c_files)): New target.
6116 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6117 (gtk_awt_peer_sources): New macro.
6118 (gtk_c_headers): New macro.
6119 ($(gtk_c_headers)): New target.
6120 (ACLOCAL_AMFLAGS): New macro.
6121 * gtk.m4, glib.m4, libart.m4: New files.
6122 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6123 gnu/java/awt/peer/gtk/GdkGraphics.java,
6124 gnu/java/awt/peer/gtk/GtkArg.java,
6125 gnu/java/awt/peer/gtk/GtkArgList.java,
6126 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6127 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6128 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6129 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6130 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6131 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6132 gnu/java/awt/peer/gtk/GtkClipboard.java,
6133 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6134 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6135 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6136 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6137 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6138 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6139 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6140 gnu/java/awt/peer/gtk/GtkImage.java,
6141 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6142 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6143 gnu/java/awt/peer/gtk/GtkListPeer.java,
6144 gnu/java/awt/peer/gtk/GtkMainThread.java,
6145 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6146 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6147 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6148 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6149 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6150 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6151 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6152 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6153 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6154 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6155 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6156 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6157 gnu/java/awt/peer/gtk/GtkToolkit.java,
6158 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6159 gnu/java/awt/peer/gtk/TestAWT.java,
6160 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6162 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6163 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6164 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6165 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6166 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6167 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6168 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6169 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6170 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6171 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6172 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6173 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6174 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6175 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6176 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6177 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6178 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6179 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6180 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6181 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6182 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6183 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6184 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6185 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6186 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6187 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6188 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6189 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6190 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6191 jni/classpath/native_state.c, jni/classpath/native_state.h,
6192 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6193
6194 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6195
6196 * java/util/Properties.java (load): Ignore backslash before EOF.
6197
6198 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6199
6200 * java/lang/natClass.cc (initializeClass): Check tables when
6201 (state == JV_STATE_IN_PROGRESS).
6202 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6203 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6204 interpreted classes.
6205 (linkClass0): Use _Jv_WaitForState.
6206
6207 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6208
6209 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6210 object when finished.
6211
6212 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6213
6214 * libjava/configure.host: Disable can_unwind_signal on darwin.
6215
6216 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6217
6218 Fixes PR java/9254:
6219 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6220 additionally containing id of the owner thread as well as
6221 the number of nested times the thread has acquired the mutex.
6222 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6223 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6224 (_Jv_MutexUnlock): Check if really the owner thread, reset
6225 owner thread id to 0 before leaving, if leaving for the last
6226 time.
6227 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6228 refcount.
6229 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6230 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6231 the passed mutex.
6232 Pass handle of the broadcast event, instead of a pointer to it
6233 in Win32 ResetEvent( ) call.
6234 Remove incorrect return values.
6235 (_Jv_CondDestroy): Close both event handles and delete
6236 critical section.
6237 (_Jv_CondNotify): Check if really the owner thread.
6238 (_Jv_CondNotifyAll): Check if really the owner thread.
6239 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6240 (really_start): Use SetEvent( ) to signal daemon_cond.
6241 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6242 WaitForSingleObject( ) instead to wait for daemon_cond to be
6243 signalled.
6244
6245 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6246
6247 * configure.in: Specifically define HAVE_BACKTRACE if building
6248 for MinGW.
6249 * include/win32.h: Remove HAVE_BACKTRACE definition.
6250 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6251 * configure: Rebuilt.
6252
6253 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6254
6255 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6256 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6257 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6258 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6259 * Makefile.in, configure: Rebuilt.
6260
6261 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6262
6263 Fixes PR java/9253:
6264 * java/io/natFileWin32.cc (performList): Append only "*.*"
6265 if the canonical file path already has a "\" at the end.
6266
6267 2003-01-24 Tom Tromey <tromey@redhat.com>
6268
6269 * defineclass.cc (handleMethodsEnd): Precompute code for static
6270 method.
6271 (handleCodeAttribute): Likewise.
6272 * resolve.cc (ncode): Use run_class for unsynchronized static
6273 methods.
6274 * include/java-interp.h (class _Jv_InterpMethod): Declare
6275 run_class.
6276 * interpret.cc (run_synch_class): Initialize class.
6277 (run) [insn_invokestatic]: Don't initialize class.
6278 [insn_anewarray]: Likewise.
6279 [insn_multianewarray]: Likewise.
6280 (run_class): New function.
6281
6282 2003-01-24 Tom Tromey <tromey@redhat.com>
6283
6284 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6285 comment.
6286
6287 2003-01-22 Andrew Haley <aph@redhat.com>
6288
6289 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6290 * configure.host (CHECKREFSPEC): Define for x86_64.
6291
6292 2003-01-21 Tom Tromey <tromey@redhat.com>
6293
6294 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6295 search at 2, not 3.
6296
6297 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6298
6299 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6300 looking at any characters.
6301 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6302 be used.
6303 (isAbsolute): Check path's length as well.
6304
6305 2003-01-17 Mark Wielaard <mark@klomp.org>
6306
6307 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6308 (nat_source_files): Add natVMObjectStreamClass.cc.
6309 * Makefile.in: Regenerated.
6310 * gcj/javaprims.h (namespace java): Regenerated.
6311 * java/io/ObjectStreamClass.java (getClassUID): Call
6312 VMObjectStreamClass.hasClassInitializer().
6313 (hasClassInitializer): Removed.
6314 * java/io/VMObjectStreamClass.java: New class.
6315 * java/io/natVMObjectStreamClass.cc: New file.
6316 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6317
6318 2003-01-16 Mark Wielaard <mark@klomp.org>
6319
6320 * java/net/SocketImpl.java (toString): Don't explicitly call
6321 toString() on possible null address.
6322
6323 2003-01-16 Michael Koch <konqueror@gmx.de>
6324
6325 * java/net/MulticastSocket.java
6326 (setInterface): Reindented.
6327
6328 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6329
6330 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6331 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6332 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6333 translateY arguments. Implement.
6334 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6335 down translation arguments.
6336 (drawPolyline, drawPolygon): Fix incorrect tests.
6337 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6338 translateX and translateY arguments.
6339
6340 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6341
6342 * Makefile.in: Rebuilt.
6343 * Makefile.am (xlib_includes): New macro.
6344 (INCLUDES): Use it.
6345
6346 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6347
6348 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6349 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6350 16-bit display mode.
6351
6352 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6353
6354 * java/awt/CardLayout.java (show): Rewrote.
6355 (gotoComponent): Removed `target' argument. Simplified code.
6356 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6357 Changed all callers.
6358 (NONE): Removed.
6359
6360 2003-01-14 Michael Koch <konqueror@gmx.de>
6361
6362 * java/net/InetSocketAddress.java
6363 (serialVersionUID): New member variable.
6364 * java/net/NetPermission.java
6365 (NetPermission): Dont implement java.io.Serialization directly.
6366 * java/net/SocketAddress.java:
6367 (serialVersionUID): Documentation added.
6368
6369 2003-01-14 Michael Koch <konqueror@gmx.de>
6370
6371 * java/awt/Label.java
6372 (Label): Implements javax.accessibility.Accessible;
6373 * java/awt/List.java
6374 (List): Implements javax.accessibility.Accessible;
6375 * java/awt/ScrollPane.java
6376 (ScrollPane): Implements javax.accessibility.Accessible;
6377 * java/awt/Scrollbar.java
6378 (Scrollbar): Implements javax.accessibility.Accessible;
6379 * java/awt/TextComponent.java
6380 (setCaretPosition): Throw exception, documentation added.
6381 * java/awt/Toolkit.java:
6382 Added some newlines in method documentations.
6383 (createButton): Exception documentation added.
6384 (createTextField): Exception documentation added.
6385 (createLabel): Exception documentation added.
6386 (createList): Exception documentation added.
6387 (createCheckbox): Exception documentation added.
6388 (createScrollbar): Exception documentation added.
6389 (createScrollPane): Exception documentation added.
6390 (createTextArea): Exception documentation added.
6391 (createChoice): Exception documentation added.
6392 (createFrame): Exception documentation added.
6393 (createWindow): Exception documentation added.
6394 (createDialog): Exception documentation added.
6395 (createMenuBar): Exception documentation added.
6396 (createMenu): Exception documentation added.
6397 (createMenuItem): Exception documentation added.
6398 (createFileDialog): Exception documentation added.
6399 (createCheckboxMenuItem): Exception documentation added.
6400 (loadSystemColors): Exception documentation added.
6401 (setDynamicLayout): Exception documentation added.
6402 (isDynamicLayoutSet): Exception documentation added.
6403 (isDynamicLayoutActive): Exception documentation added.
6404 (getScreenSize): Exception documentation added.
6405 (getScreenResolution): Exception documentation added.
6406 (getScreenInsets): Exception documentation added.
6407 (getColorModel): Exception documentation added.
6408 (getSystemClipboard): Exception documentation added.
6409 (getSystemSelection): Exception documentation added.
6410 (getMenuShortcutKeyMask): Exception documentation added.
6411 (getSystemEventQueue): Exception documentation added.
6412 * java/awt/Window.java:
6413 Reindented some code.
6414 (Window): Centralized implementation, documentation added.
6415 (finalize): Documentation added.
6416 (hide): Fixed typo in comment.
6417 (getWindowListeners): Documentation added.
6418 * java/awt/color/ColorSpace.java
6419 (toRGB): Documentation added.
6420 * java/awt/color/ICC_ColorSpace.java
6421 (ICC_ColorSpace): Documentation added.
6422 (toRGB): Throw exception, documentation added.
6423 (fromRGB): Throw exception, documentation added.
6424 (toCIEXYZ): Documentation added.
6425 (fromCIEXYZ): Documentation added.
6426 (getMinValue): Documentation added.
6427 (getMaxValue): Documentation added.
6428 * java/awt/geom/Dimension2D.java
6429 (clone): Documentation added.
6430 * java/awt/geom/GeneralPath.java
6431 (clone): Documentation added.
6432 * java/awt/geom/Line2D.java
6433 (clone): Documentation added.
6434 * java/awt/geom/QuadCurve2D.java
6435 (clone): Documentation added.
6436 * java/awt/image/ColorModel.java
6437 (ColorModel): Throw exception, documentation added.
6438 * java/awt/image/ImageFilter.java
6439 (clone): Doesnt throw CloneNotSupportedException.
6440
6441 2003-01-14 Andrew Haley <aph@redhat.com>
6442
6443 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6444 in a try block.
6445
6446 2003-01-10 Andrew Haley <aph@redhat.com>
6447
6448 * include/dwarf2-signal.h: Remove x86_64.
6449 * configure.host (x86_64 DIVIDESPEC): Remove.
6450 * include/x86_64-signal.h: New file.
6451 * configure.in: Regenerate.
6452
6453 2003-01-10 Michael Koch <konqueror@gmx.de>
6454
6455 * java/net/DatagramSocket.java
6456 (ch): Description added.
6457 (remotePort): Initialize with -1.
6458 (connect): Doesnt throws SocketException.
6459 * java/net/MulticastSocket.java
6460 (setInterface): Merge with Classpath.
6461 * java/net/ServerSocket.java
6462 (closed): New member variable.
6463 (bind): Check if socket is closed.
6464 (close): Close an associated channel too, set new value to closed.
6465 (isBound): Reindented.
6466 (isClosed): Implemented.
6467 * java/net/Socket.java
6468 (closed): New member variable.
6469 (bind): Check if socket is closed.
6470 (connect): Check if socket is closed.
6471 (close): Close an associated channel too, set new value to closed.
6472 (isClosed): Implemented.
6473
6474 2003-01-10 Michael Koch <konqueror@gmx.de>
6475
6476 * java/awt/DisplayMode.java
6477 (equals): Fixed argument type and implementation.
6478
6479 2003-01-07 Tom Tromey <tromey@redhat.com>
6480
6481 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6482 JV_HASH_SYNCHRONIZATION.
6483 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6484 JV_HASH_SYNCHRONIZATION.
6485
6486 2003-01-07 Michael Koch <konqueror@gmx.de>
6487
6488 * java/net/DatagramSocket.java:
6489 Added classpath license info.
6490 (DatagramSocket): Merged description with classpath.
6491 (close): Merged description with classpath.
6492 (getChannel): Merged description with classpath.
6493 (getInetAddress): Merged description with classpath.
6494 (getPort): Merged description with classpath.
6495 (getLocalAddress): Merged description with classpath.
6496 (getLocalPort): Merged description with classpath.
6497 (getSoTimeout): Merged description with classpath.
6498 (setSoTimeout): Merged description with classpath.
6499 (getSendBufferSize): Merged description with classpath.
6500 (setSendBufferSize): Merged description with classpath.
6501 (getReceiveBufferSize): Merged description with classpath.
6502 (setReceiveBufferSize): Merged description with classpath.
6503
6504 2003-01-04 Tom Tromey <tromey@redhat.com>
6505
6506 * java/awt/List.java: Merged with Classpath.
6507
6508 2003-01-03 Mark Wielaard <mark@klomp.org>
6509
6510 * java/io/FileDescriptor.java (position): New private field.
6511 * java/io/natFileDescriptorPosix.cc (write): Up position.
6512 (setLength): Use and set position.
6513 (seek): Set position.
6514 (getFilePointer): Return position.
6515 (read): Up position.
6516
6517 2003-01-03 Mark Wielaard <mark@klomp.org>
6518
6519 Merge with Classpath:
6520 * java/io/ObjectStreamClass.java (lookup): Split method and call
6521 lookupForClassObject().
6522 (lookupForClassObject): New method.
6523 (isProxyClass): New field.
6524 (setClass): Set isProxyClass, add object to classLookupTable, set
6525 superClass and calculateOffsets.
6526 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6527 and not a proxy class.
6528 (setFields): Set accessible true for serialPersistentFields.
6529 (getClassUID): Same for suid. And check if suid is of type long.
6530 (hasClassInitializer): Don't throw NoSuchMethodError.
6531
6532 2003-01-03 Mark Wielaard <mark@klomp.org>
6533
6534 * java/io/FileInputStream.java (finalize): Don't explicitly
6535 finalize FileDescriptor.
6536
6537 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6538
6539 * configure.host (sparc*-*): Enable bytecode interpreter.
6540
6541 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6542
6543 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6544 Don't throw RemoteException.
6545 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6546 throw RemoteException.
6547
6548 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6549
6550 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6551 proxyHost): New static fields.
6552 (<clinit>): Initialize new fields.
6553 (connect): Use proxy if necessary.
6554 (usingProxy): Implement.
6555
6556 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6557
6558 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6559 (TreeIterator.remove): Prefer IllegalStateException over
6560 ConcurrentModificationException, to match Sun.
6561
6562 2002-12-22 Anthony Green <green@redhat.com>
6563
6564 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6565
6566 2003-01-02 Mark Wielaard <mark@klomp.org>
6567
6568 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6569 public.
6570 (HTTP_USE_PROXY): Add field.
6571 (getResponseVals): Only set responseCode when not yet explicitly
6572 set by subclass.
6573
6574 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6575 Mark Wielaard <mark@klomp.org>
6576
6577 * java/util/zip/ZipFile.java (entries): Now HashMap.
6578 (readLeShort(DataInput, byte[])): Read from given byte array.
6579 (readLeInt(DataInput, byte[]): Likewise.
6580 (readLeShort(byte[] b, int off)): New method.
6581 (readLeInt(byte[] b, int off)): Likewise.
6582 (readEntries): Use byte arrays to read info in bigger chunks.
6583 (getEntries): Return HashMap.
6584 (getEntry): Use HashMap.
6585 (locBuf): New private field.
6586 (checkLocalHeader): Use locBuf to read info in one chunk.
6587 (getInputStream): Use entries HashMap, wrap PartialInputStream
6588 in BufferedInputStream.
6589 (ZipEntryEnumeration): Use HashMap and Interator.
6590
6591 2003-01-02 Mark Wielaard <mark@klomp.org>
6592 Jeroen Frijters <jeroen@sumatra.nl>
6593
6594 * java/net/URLClassLoader.java (Resource.getCodeSource):
6595 Fix check certs == null.
6596 (getCanonicalFileURL): Removed method.
6597 (JarURLLoader): Don't call removed method.
6598 (FileURLLoader): Likewise.
6599 (FileURLLoader.getResource): Don't canonicalize file name.
6600
6601 2003-01-01 Tom Tromey <tromey@redhat.com>
6602
6603 * Makefile.in: Rebuilt.
6604 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6605 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6606 java/awt/BufferCapabilities.java, java/awt/Button.java,
6607 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6608 java/awt/Container.java, java/awt/Cursor.java,
6609 java/awt/EventQueue.java, java/awt/FileDialog.java,
6610 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6611 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6612 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6613 java/awt/Scrollbar.java, java/awt/TextArea.java,
6614 java/awt/TextField.java, java/awt/color/CMMException.java,
6615 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6616 java/awt/color/ProfileDataException.java,
6617 java/awt/datatransfer/Clipboard.java,
6618 java/awt/datatransfer/DataFlavor.java,
6619 java/awt/datatransfer/FlavorMap.java,
6620 java/awt/datatransfer/SystemFlavorMap.java,
6621 java/awt/dnd/DragGestureEvent.java,
6622 java/awt/dnd/DragGestureRecognizer.java,
6623 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6624 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6625 java/awt/im/InputMethodHighlight.java,
6626 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6627 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6628
6629 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6630 `op' to BufferedImageOp.
6631
6632 2002-12-31 Tom Tromey <tromey@redhat.com>
6633
6634 Fix for PR libgcj/7416:
6635 * javax/naming/InitialContext.java (init): Use
6636 gnu.classpath.home.url.
6637 * java/security/Security.java: Use new properties.
6638 (loadProviders): Accept base url; use it.
6639 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6640 gnu.classpath.home.url.
6641 (gnu.classpath.home.url): Define.
6642 (gnu.classpath.vm.shortname): Likewise.
6643
6644 2002-12-31 Tom Tromey <tromey@redhat.com>
6645 Ranjit Mathew <rmathew@hotmail.com>
6646
6647 Fix for PR libgcj/8997:
6648 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6649 Include platform.h.
6650 * include/posix.h (_Jv_platform_usleep): New function.
6651 * include/win32.h (_Jv_platform_usleep): New function.
6652
6653 2002-12-29 Tom Tromey <tromey@redhat.com>
6654
6655 * gcj/javaprims.h: Updated.
6656 * scripts/classes.pl (scan): Removed stray semicolon.
6657
6658 2002-12-30 Mark Wielaard <mark@klomp.org>
6659
6660 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6661 if zero or smaller.
6662
6663 2002-12-30 Mark Wielaard <mark@klomp.org>
6664
6665 * java/util/Properties (formatForOutput): Don't fall through to
6666 default case after escaping character.
6667
6668 2002-12-30 Mark Wielaard <mark@klomp.org>
6669
6670 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6671 against count.
6672
6673 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6674
6675 * boehm.cc: Remove stray semicolon.
6676 * interpret.cc: Likewise.
6677 * prims.cc: Likewise.
6678 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6679 earlier to ensure default arguments are processed.
6680 * gcj/array.h (JArray): Add forward declaration.
6681 (elements): Likewise.
6682 * gcj/javaprim.h: Remove stray semicolons.
6683 * include/bohm-gc.h: Likewise.
6684 * include/jni.h: Likewise.
6685 * include/jvm.h: Likewise.
6686 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6687
6688 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6689
6690 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6691 of catch_type.
6692 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6693 idt tables after initializing superclass.
6694 * java/lang/natClassLoader.cc (uaddr): New typedef.
6695 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6696 if they are constant pool indicies. Don't link vtable, otable yet.
6697
6698 2002-12-21 Anthony Green <green@redhat.com>
6699
6700 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6701 libraries.
6702 * Makefile.in: Rebuilt.
6703
6704 2002-12-19 Anthony Green <green@redhat.com>
6705
6706 * Makefile.am (ordinary_java_source_files): Add
6707 org/xml/sax/helpers/NewInstance.java.
6708 * Makefile.in: Rebuilt.
6709 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6710 org/xml/sax/helpers/package.html: New files.
6711 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6712 http://www.saxproject.org.
6713
6714 2002-12-19 Andrew Haley <aph@redhat.com>
6715
6716 * java/util/natResourceBundle.cc: Include
6717 ArrayIndexOutOfBoundsException.h.
6718 (getCallingClassLoader): Don't put upper bound on stack search.
6719 Catch ArrayIndexOutOfBoundsException.
6720
6721 2002-12-19 Tom Tromey <tromey@redhat.com>
6722
6723 * libtool-version: Increased `current'.
6724
6725 2002-12-19 Tom Tromey <tromey@redhat.com>
6726
6727 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6728 comment.
6729 * java/lang/ClassLoader.java (defineClass): Use chained
6730 exception when rethrowing.
6731 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6732 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6733 constants.
6734 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6735 (_Jv_PrepareClass): Use it.
6736 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6737 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6738 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6739 (Class): _Jv_PrepareMissingMethods now friend.
6740 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6741 Record `NULL' for system class loader.
6742 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6743 system class loader.
6744 (_Jv_FindClassInCache): Likewise.
6745 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6746 (_Jv_FindClass): Special case system class loader.
6747 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6748 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6749 vtable slots.
6750 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6751 in a final class.
6752 (_getDeclaredMethod): Don't return synthetic methods.
6753 (getDeclaredMethods): Likewise.
6754 (_getMethod): Likewise.
6755 (_getMethods): Likewise.
6756
6757 2002-12-18 Raif Naffah <raif@fl.net.au>
6758
6759 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6760 canonical form after divide().
6761 (modInverse): Likewise.
6762
6763 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6764 Mark Wielaard <mark@klomp.org>
6765
6766 * java/security/SecurityRandom (digest): Removed field.
6767 (SecureRandom): Check all providers for case-insensitive SecureRandom
6768 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6769 if necessary.
6770 (getInstance(String,Provider,boolean): New method.
6771 (getInstance(String)): Use new method.
6772 (getInstance(String,String)): Likewise.
6773 (getInstance(String,Provider)): Likewise.
6774
6775 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6776
6777 * java/security/Security.java (loadProviders): Increment i only once.
6778
6779 2002-12-12 Mark Wielaard <mark@klomp.org>
6780
6781 * java/lang/ClassLoader.java (resolveClass0): Transform
6782 ClassNotFoundException to NoClassDefFoundError. Transform all other
6783 throwables to LinkageError.
6784
6785 2002-12-11 Tom Tromey <tromey@redhat.com>
6786
6787 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6788
6789 * java/lang/ClassLoader.java (loadedClasses): New field.
6790 (defineClass): Fixed indentation. Put new class in
6791 loadedClasses.
6792 (findLoadedClass): Implement here.
6793 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6794
6795 2002-12-10 Tom Tromey <tromey@redhat.com>
6796
6797 * Makefile.in: Rebuilt.
6798 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6799 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6800 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6801 * java/lang/natClassLoader.cc
6802 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6803
6804 2002-12-10 Mark Wielaard <mark@klomp.org>
6805 Tom Tromey <tromey@redhat.com>
6806
6807 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6808 (JarURLLoader): Use it.
6809 (FileURLLoader): Likewise.
6810 (JarURLResource.getURL): Use chained exception.
6811 (FileResource.getURL): Likewise.
6812 (FileURLLoader.getResource): Use canonical file name.
6813 (addURL): Indentation fix.
6814
6815 2002-12-10 Tom Tromey <tromey@redhat.com>
6816
6817 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6818 From Laurent Bardet <l.bardet@magic.fr>.
6819
6820 2002-12-09 Tom Tromey <tromey@redhat.com>
6821
6822 * include/win32.h (_Jv_platform_solib_prefix): New define.
6823 (_Jv_platform_solib_suffix): Likewise.
6824 * include/posix.h (_Jv_platform_solib_prefix): New define.
6825 (_Jv_platform_solib_suffix): Likewise.
6826 * java/lang/natRuntime.cc: Include StackTrace.h.
6827 (_load): Use findLibrary and new platform defines.
6828 (nativeGetLibname): Use new platform defines.
6829
6830 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6831 `t' won't be null.
6832
6833 2002-12-08 Mark Wielaard <mark@klomp.org>
6834
6835 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6836 cache remote jar files.
6837 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6838 add File.separator to URL when it is a directory.
6839 * java/lang/ClassLoader.java: Add Classpath javadoc.
6840 (parent): final.
6841 (getParent): Add (disabled) security check.
6842 (findLibrary): New default method.
6843 * java/net/JarURLConnection.java (getManifest): Implement.
6844 (getInputStream): Only create InputStream when entry exists.
6845 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6846 when they exist.
6847 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6848
6849 2002-12-08 Mark Wielaard <mark@klomp.org>
6850
6851 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6852 (lastDefaultLocale): New field.
6853 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6854 resourceBundleCache.
6855
6856 2002-12-06 Mark Wielaard <mark@klomp.org>
6857
6858 * java/net/InetAddress.java (toString): Use hostname when not null,
6859 don't do an explicit reverse getHostName() lookup.
6860 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6861 NullPointerException.
6862
6863 2002-12-06 Tom Tromey <tromey@redhat.com>
6864
6865 * include/java-interp.h (class _Jv_InterpMethod): Added
6866 JV_MARKOBJ_DECL.
6867 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6868 mark `prepared' field of interpreted method.
6869 * interpret.cc (compile): Use _Jv_AllocBytes.
6870
6871 2002-12-05 Andrew Haley <aph@redhat.com>
6872
6873 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6874 #ifdef (HAVE_BACKTRACE) around the whole function body.
6875
6876 2002-12-05 Tom Tromey <tromey@redhat.com>
6877
6878 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6879 * resolve.cc: Don't include AbstractMethodError.h.
6880 (_Jv_abstractMethodError): Removed.
6881 * defineclass.cc (handleMethodsBegin): Initialize method index to
6882 -1.
6883 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6884 method index for "new" final method.
6885 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6886 isVirtualMethod. Added `flags' argument.
6887 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6888 class.
6889
6890 2002-12-04 Tom Tromey <tromey@redhat.com>
6891
6892 * java/net/SocketPermission.java (hashCode): Rewrote.
6893
6894 2002-12-04 Tom Tromey <tromey@redhat.com>
6895
6896 * Makefile.in: Rebuilt.
6897 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6898 natResourceBundle.
6899 * java/util/ResourceBundle.java (Security): Removed.
6900 (getCallingClassLoader): Now native.
6901 * java/util/natResourceBundle.cc: New file.
6902 * java/lang/natVMSecurityManager.cc: New file.
6903 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6904
6905 2002-12-03 Mark Wielaard <mark@klomp.org>
6906
6907 * java/util/jar/JarFile.java (manifest): Not final.
6908 (manifestRead): New field.
6909 (JarFile): Don't read Manifest in constructor.
6910 (getManifest): New method.
6911 (JarEnumeration.nextElement): Use new method.
6912 (getEntry): Likewise.
6913 * java/util/zip/ZipFile.java (name): Final.
6914 (raf): Likewsie.
6915 (entries): Change type to Hashtable.
6916 (closed): New field.
6917 (ZipFile): Don't read enties in constructor.
6918 (readEntries): Use Hashtable.
6919 (close): Set new close flag and set entries to null inside
6920 synchronized block.
6921 (entries): Contruct enumeration using new getEntries() method and
6922 entries Hashtable.
6923 (getEntryIndex): Removed.
6924 (getEntries): New method.
6925 (getEntry): Use new getEntries() method and entries Hastable.
6926 (getInputStream): Likewise.
6927 (size): Return getEntries().size().
6928 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6929 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6930 (time): Removed
6931 (dostime): New field.
6932 (zipFileIndex): Removed.
6933 (ZipEntry(ZipEntry)): Copy dostime.
6934 (setDOSTime): Now final and doesn't convert dos time.
6935 (getDOSTime): Likewise.
6936 (setTime): Convert dos time.
6937 (getTime): Likewise.
6938 (getCalendar): New method.
6939 (setExtra): Use setTime().
6940 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6941
6942 2002-12-03 Tom Tromey <tromey@redhat.com>
6943
6944 * java/lang/Character.java (forDigit): Formatting fix.
6945
6946 2002-12-03 Raif Naffah <raif@fl.net.au>
6947
6948 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6949 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6950 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6951
6952 2002-12-03 Andrew Haley <aph@redhat.com>
6953
6954 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6955 _Jv_PushClass.
6956 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6957 (_Jv_PopClass): New.
6958 (_Jv_PushClass): New.
6959 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6960 discover the ClassLoader of our caller.
6961 (_Jv_CheckArrayStore): Don't check that a class is assignment
6962 compatible with Object.
6963 * java/lang/natVMTHrowable.cc: Delete.
6964 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6965 java.lang.VMThrowable.
6966 (StackTrace(), StackTrace(int)): New constructors.
6967 (classAt, methodAt, update, methodAtAddress): New methods.
6968 (map): New field.
6969 * java/lang/VMThrowable.java: Use StackTrace instead of
6970 natVMTHrowable.
6971 * java/lang/Class.h (getClassLoaderInternal): New.
6972 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6973 Be friendly with gnu::gcj::runtime::StackTrace.
6974 (Object.chain): New field.
6975 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6976 gnu::gcj::runtime::StackTrace.
6977 * gnu/gcj/runtime/natStackTrace.cc: New file.
6978 * gnu/gcj/runtime/MethodRef.java: New file.
6979 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6980 instead of getClassLoader().
6981 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6982 java::lang::VMThrowable.
6983 * Makefile.am (core_java_source_files): Add MethodRef.java,
6984 StackTrace.java.
6985 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6986 * Makefile.in: Rebuild.
6987
6988 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6989
6990 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6991 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6992 yes also for sh-linux* and sh[34]*-linux*.
6993 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6994 set SIGNAL_HANDLER to use DWARF2 exception for them.
6995 * configure: Regenerate.
6996
6997 2002-12-02 Tom Tromey <tromey@redhat.com>
6998
6999 * jni.cc: Added `name' argument.
7000 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
7001 `const char *' argument.
7002 (class _Jv_JNIEnv) [DefineClass]: Likewise.
7003
7004 2002-12-01 Tom Tromey <tromey@redhat.com>
7005
7006 Bug compatibility, for PR libgcj/8738:
7007 * java/io/CharArrayWriter.java (close): Do nothing.
7008 (flush): Likewise.
7009 (reset): Don't touch `closed'.
7010 (write(int)): Don't throw IOException.
7011 (write(char[],int,int)): Likewise.
7012 (write(String,int,int)): Likewise.
7013 (closed): Removed.
7014
7015 2002-12-01 Mark Wielaard <mark@klomp.org>
7016
7017 * java/lang/SecurityManager.java: Remerge comments, indenting and
7018 checkXXX methods with Classpath.
7019
7020 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
7021
7022 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
7023 getNormalizedComponents): Fix calculation which was using one too
7024 many bits in the unnormalized format.
7025
7026 2002-11-29 Gary Benson <gbenson@redhat.com>
7027
7028 For PR libgcj/8759:
7029 * java/beans/Introspector.java (flushCaches): New method.
7030 (flushFromCaches): Likewise.
7031
7032 2002-11-29 Michael Koch <konqueror@gmx.de>
7033
7034 * java/nio/channels/DatagramChannel.java
7035 (open): Added exception documentation.
7036 (write): Added exception documentation.
7037 (connect): Added exception documentation.
7038 (disconnect): Added exception documentation.
7039 (isConnected): Added exception documentation.
7040 (read): Added exception documentation.
7041 (receive): Added exception documentation.
7042 (send): Added exception documentation.
7043 (validOps): Added exception documentation.
7044 * java/nio/channels/SocketChannel.java
7045 (open): Added exception documentation.
7046 (read): Added exception documentation.
7047 (write): Added exception documentation.
7048 (connect): Added exception documentation.
7049 (finishConnect): Added exception documentation.
7050
7051 2002-11-29 Michael Koch <konqueror@gmx.de>
7052
7053 * gnu/java/nio/DatagramChannelImpl:
7054 (fd): New member variable to store file descriptor of socket.
7055 * gnu/java/nio/SelectionKeyImpl.java:
7056 (ops): Removed.
7057 (readyOps): New member variable.
7058 (interestOps): New member variable.
7059 (readyOps): Implemented.
7060 (readyOps): New method to set member variable readyOps.
7061 (interestOps): Replaced ops by interestOps.
7062 * gnu/java/nio/SelectorImpl.java:
7063 (SelectorImpl): Initialize key sets.
7064 (select): Call select with -1 instead of Long.MAX_VALUE).
7065 (java_do_select): Make it a native method.
7066 (getFDsAsArray): New helper method.
7067 (select): Remove canceled keys, give only interested file discriptors
7068 to java_do_select, set ready ops.
7069 (add): No need to initialize keys set here.
7070 (add_selected): No need to initialize selected set here.
7071 (deregisterCanceledKeys): New helper method.
7072 (register): Set interest ops, set attachments, added handling of datagram
7073 channels.
7074 * gnu/java/nio/ServerSocketChannelImpl:
7075 (SocketAccept): Renamed from NioSocketAccept.
7076 (implConfigureBlocking): Implemented.
7077 (accept): Use SocketAccept instead of NioSocketAccept.
7078 * gnu/java/nio/SocketChannelImpl:
7079 Reactivate native methods.
7080
7081 2002-11-29 Michael Koch <konqueror@gmx.de>
7082
7083 * gnu/java/nio/natByteBufferImpl.cc,
7084 gnu/java/nio/natCharBufferImpl.cc,
7085 gnu/java/nio/natDoubleBufferImpl.cc,
7086 gnu/java/nio/natFloatBufferImpl.cc,
7087 gnu/java/nio/natIntBufferImpl.cc,
7088 gnu/java/nio/natLongBufferImpl.cc,
7089 gnu/java/nio/natSelectorImpl.cc,
7090 gnu/java/nio/natServerSocketChannelImpl.cc,
7091 gnu/java/nio/natShortBufferImpl.cc,
7092 gnu/java/nio/natSocketChannelImpl.cc:
7093 New files that implement native functionalities.
7094
7095 2002-11-29 Michael Koch <konqueror@gmx.de>
7096
7097 * gnu/java/nio/ByteBufferImpl.java
7098 (ByteBufferImpl): Moved position() after limit.
7099 (nio_*): Use native implementation.
7100 * gnu/java/nio/CharBufferImpl.java:
7101 Reformated.
7102 (endian): New member variable string endianess of buffer.
7103 (CharBufferImpl): Moved position() after limit.
7104 (nio_*): Use native implementation.
7105 (subSequence): Implemented.
7106 * gnu/java/nio/DoubleBufferImpl.java
7107 (DoubleBufferImpl): Moved position() after limit.
7108 (nio_*): Use native implementation.
7109 * gnu/java/nio/FloatBufferImpl.java
7110 Reformated.
7111 (FloatBufferImpl): Moved position() after limit.
7112 (nio_*): Use native implementation.
7113 * gnu/java/nio/IntBufferImpl.java
7114 Added needed imports, Reformated.
7115 (IntBufferImpl): Moved position() after limit.
7116 (nio_*): Use native implementation.
7117 * gnu/java/nio/LongBufferImpl.java
7118 Reformated.
7119 (LongBufferImpl): Moved position() after limit.
7120 (nio_*): Use native implementation.
7121 * gnu/java/nio/ShortBufferImpl.java
7122 Reformated.
7123 (ShortBufferImpl): Moved position() after limit.
7124 (nio_*): Use native implementation.
7125
7126 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7127
7128 * java/util/Locale.java (toString): Improve efficiency if country
7129 and variant are both empty.
7130
7131 2002-11-26 Tom Tromey <tromey@redhat.com>
7132
7133 * verify.cc (pop_init_ref): New method.
7134 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7135 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7136 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7137 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7138 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7139 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7140 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7141 let `this' argument be uninitialized. Don't let `null' be passed
7142 as `this' to construtor.
7143
7144 2002-11-26 Mark Wielaard <mark@klomp.org>
7145
7146 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7147 * javax/transaction/HeuristicMixedException.java: Likewise.
7148 * javax/transaction/HeuristicRollbackException.java: Likewise.
7149 * javax/transaction/InvalidTransactionException.java: Likewise.
7150 * javax/transaction/NotSupportedException.java: Likewise.
7151 * javax/transaction/RollbackException.java: Likewise.
7152 * javax/transaction/Status.java: Likewise.
7153 * javax/transaction/Synchronization.java: Likewise.
7154 * javax/transaction/SystemException.java: Likewise.
7155 * javax/transaction/Transaction.java: Likewise.
7156 * javax/transaction/TransactionManager.java: Likewise.
7157 * javax/transaction/TransactionRequiredException.java: Likewise.
7158 * javax/transaction/TransactionRolledbackException.java: Likewise.
7159 * javax/transaction/UserTransaction.java: Likewise.
7160 * javax/transaction/xa/XAException.java: Likewise.
7161 * javax/transaction/xa/XAResource.java: Likewise.
7162 * javax/transaction/xa/Xid.java: Likewise.
7163
7164 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7165
7166 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7167 define.
7168 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7169 * include/posix.h (socklen_t): Define if not already defined.
7170
7171 2002-11-25 Tom Tromey <tromey@redhat.com>
7172
7173 * verify.cc (type::compatible): Backed out broken change.
7174
7175 * verify.cc (type::compatible): Check initialization status
7176 first.
7177 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7178 Don't use NULLCHECK.
7179
7180 2002-11-23 H.J. Lu <hjl@gnu.org>
7181
7182 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7183 Include ../config/accross.m4.
7184 * aclocal.m4; Rebuild.
7185 * configure: Likewise.
7186
7187 2002-11-23 Mark Wielaard <mark@klomp.org>
7188
7189 * javax/naming/AuthenticationException.java: Update copyright header.
7190 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7191 * javax/naming/Binding.java: Likewise.
7192 * javax/naming/CannotProceedException.java: Likewise.
7193 * javax/naming/CommunicationException.java: Likewise.
7194 * javax/naming/CompositeName.java: Likewise.
7195 * javax/naming/CompoundName.java: Likewise.
7196 * javax/naming/ConfigurationException.java: Likewise.
7197 * javax/naming/Context.java: Likewise.
7198 * javax/naming/ContextNotEmptyException.java: Likewise.
7199 * javax/naming/InitialContext.java: Likewise.
7200 * javax/naming/InsufficientResourcesException.java: Likewise.
7201 * javax/naming/InterruptedNamingException.java: Likewise.
7202 * javax/naming/LimitExceededException.java: Likewise.
7203 * javax/naming/LinkException.java: Likewise.
7204 * javax/naming/LinkLoopException.java: Likewise.
7205 * javax/naming/LinkRef.java: Likewise.
7206 * javax/naming/MalformedLinkException.java: Likewise.
7207 * javax/naming/NameAlreadyBoundException.java: Likewise.
7208 * javax/naming/NameClassPair.java: Likewise.
7209 * javax/naming/NameNotFoundException.java: Likewise.
7210 * javax/naming/NameParser.java: Likewise.
7211 * javax/naming/NamingEnumeration.java: Likewise.
7212 * javax/naming/NamingSecurityException.java: Likewise.
7213 * javax/naming/NoInitialContextException.java: Likewise.
7214 * javax/naming/NoPermissionException.java: Likewise.
7215 * javax/naming/NotContextException.java: Likewise.
7216 * javax/naming/OperationNotSupportedException.java: Likewise.
7217 * javax/naming/PartialResultException.java: Likewise.
7218 * javax/naming/Reference.java: Likewise.
7219 * javax/naming/Referenceable.java: Likewise.
7220 * javax/naming/ReferralException.java: Likewise.
7221 * javax/naming/ServiceUnavailableException.java: Likewise.
7222 * javax/naming/SizeLimitExceededException.java: Likewise.
7223 * javax/naming/TimeLimitExceededException.java: Likewise.
7224 * javax/naming/directory/Attribute.java: Likewise.
7225 * javax/naming/directory/AttributeInUseException.java: Likewise.
7226 * javax/naming/directory/AttributeModificationException.java: Likewise.
7227 * javax/naming/directory/Attributes.java: Likewise.
7228 * javax/naming/directory/BasicAttribute.java: Likewise.
7229 * javax/naming/directory/BasicAttributes.java: Likewise.
7230 * javax/naming/directory/DirContext.java: Likewise.
7231 * javax/naming/directory/InitialDirContext.java: Likewise.
7232 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7233 Likewise.
7234 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7235 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7236 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7237 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7238 * javax/naming/directory/ModificationItem.java: Likewise.
7239 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7240 * javax/naming/directory/SchemaViolationException.java: Likewise.
7241 * javax/naming/directory/SearchControls.java: Likewise.
7242 * javax/naming/directory/SearchResult.java: Likewise.
7243 * javax/naming/event/EventContext.java: Likewise.
7244 * javax/naming/event/EventDirContext.java: Likewise.
7245 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7246 * javax/naming/event/NamingEvent.java: Likewise.
7247 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7248 * javax/naming/event/NamingListener.java: Likewise.
7249 * javax/naming/event/ObjectChangeListener.java: Likewise.
7250 * javax/naming/ldap/Control.java: Likewise.
7251 * javax/naming/ldap/ControlFactory.java: Likewise.
7252 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7253 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7254 * javax/naming/ldap/HasControls.java: Likewise.
7255 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7256 * javax/naming/ldap/LdapContext.java: Likewise.
7257 * javax/naming/ldap/LdapReferralException.java: Likewise.
7258 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7259 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7260 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7261 * javax/naming/spi/DirObjectFactory.java: Likewise.
7262 * javax/naming/spi/DirStateFactory.java: Likewise.
7263 * javax/naming/spi/DirectoryManager.java: Likewise.
7264 * javax/naming/spi/InitialContextFactory.java: Likewise.
7265 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7266 * javax/naming/spi/NamingManager.java: Likewise.
7267 * javax/naming/spi/ObjectFactory.java: Likewise.
7268 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7269 * javax/naming/spi/ResolveResult.java: Likewise.
7270 * javax/naming/spi/Resolver.java: Likewise.
7271 * javax/naming/spi/StateFactory.java: Likewise.
7272
7273 * javax/naming/spi/NamingManager.java (ofb): Package private.
7274
7275 2002-11-21 Mark Wielaard <mark@klomp.org>
7276
7277 * java/net/URL.java: Merge with Classpath (partly).
7278 * java/net/URLStreamHandler: Merge with Classpath.
7279
7280 2002-11-22 Michael Koch <konqueror@gmx.de>
7281
7282 * include/posix.h:
7283 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7284 * include/win32.h:
7285 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7286 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7287
7288 2002-11-21 Michael Koch <konqueror@gmx.de>
7289
7290 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7291 Only the new network functions should be in it.
7292
7293 2002-11-21 Michael Koch <konqueror@gmx.de>
7294
7295 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7296 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7297
7298 2002-11-21 Michael Koch <konqueror@gmx.de>
7299
7300 * java/nio/channels/AsynchronousCloseException.java,
7301 java/nio/channels/CancelledKeyException.java,
7302 java/nio/channels/ClosedByInterruptException.java,
7303 java/nio/channels/ConnectionPendingException.java,
7304 java/nio/channels/FileLockInterruptionException.java,
7305 java/nio/channels/IllegalSelectorException.java,
7306 java/nio/channels/NoConnectionPendingException.java,
7307 java/nio/channels/NonReadableChannelException.java,
7308 java/nio/channels/NonWritableChannelException.java,
7309 java/nio/channels/NotYetBoundException.java,
7310 java/nio/channels/NotYetConnectedException.java,
7311 java/nio/channels/OverlappingFileLockException.java,
7312 java/nio/channels/UnresolvedAddressException.java,
7313 java/nio/channels/UnsupportedAddressTypeException.java:
7314 New files.
7315 * Makefile.am (ordinary_java_source_files): Added new files.
7316 * Makefile.in: Regenerated.
7317
7318 2002-11-21 Michael Koch <konqueror@gmx.de>
7319
7320 * include/posix.h
7321 (_Jv_socket): New method.
7322 (_Jv_connect): New method.
7323 (_Jv_close): New method.
7324 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7325 (_Jv_bind): New method.
7326 (_Jv_listen): New method.
7327 (_Jv_write): New method.
7328 (_Jv_read): New method.
7329 * include/win32.h
7330 (_Jv_socket): New method.
7331 (_Jv_connect): New method.
7332 (_Jv_close): New method.
7333 (_Jv_bind): New method.
7334 (_Jv_listen): New method.
7335 (_Jv_write): New method.
7336 (_Jv_read): New method.
7337 * java/net/natNetworkInterface.cc:
7338 Include platform.h, removed inclusion of socket.h
7339 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7340 ::close() by _Jv_close().
7341 * java/net/natPlainDatagramSocketImpl.cc:
7342 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7343 added some new lines to make code more readable.
7344 (create): Replaced ::socket() by _Jv_socket().
7345 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7346 * java/net/natPlainSocketImpl.cc:
7347 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7348 removed include of socket.h, removed some windows defines
7349 (now in include/win32.h).
7350 (create): Replaced ::socket() by _Jv_socket().
7351 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7352 (write): Replaced ::read by _Jv_write().
7353 (read): Replaced ::read by _Jv_read().
7354
7355 2002-11-20 Michael Koch <konqueror@gmx.de>
7356
7357 * Makefile.am (ordinary_java_source_files):
7358 Added java/nio/channels/FileChannel.java.
7359 * Makefile.in: Regenerated.
7360
7361 2002-11-20 Michael Koch <konqueror@gmx.de>
7362
7363 * java/io/FileInputStream.java
7364 (getChannel): New method.
7365 * java/io/FileOutputStream.java
7366 (getChannel): New method.
7367 * java/net/ServerSocket.java
7368 (bind): Removed duplicate code and called another bind method instead.
7369 * java/nio/channels/SelectionKey.java
7370 (isValid): Removed wrong exception documentation.
7371 * java/nio/channels/ServerSocketChannel.java
7372 (accept): Added exception documentation.
7373 (open): Fixed typo, added exception documentation.
7374 * java/nio/channels/spi/AbstractSelectableChannel.java
7375 (implCloseChannel): Added exception documentation.
7376 (add): Reformated.
7377 (register): Added exception documentation.
7378
7379 2002-11-20 Andreas Jaeger <aj@suse.de>
7380
7381 * configure: Regenerated with new libtool.m4.
7382
7383 2002-11-19 Tom Tromey <tromey@redhat.com>
7384
7385 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7386 `referent'.
7387 (finalize_referred_to_object): Don't modify `referent' or `copy'
7388 fields.
7389 (add_to_hash): Correctly set `n->next' when updating list.
7390 * java/lang/ref/Reference.java (enqueue): Return false if already
7391 enqueued.
7392
7393 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7394
7395 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7396 to function and function pointer declarations in accordance with
7397 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7398 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7399 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7400 JNI function definitions.
7401
7402 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7403
7404 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7405 that was causing CoderResults to be cached, not WeakReferences
7406 to CoderResults.
7407
7408 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7409
7410 * java/security/KeyStore.java (getInstance): Fix
7411 comment and throw IllegalArgumentException if
7412 given provider is null.
7413 (getInstance): New method for jdk1.4 compatibility.
7414
7415 2002-11-18 Michael Koch <konqueror@gmx.de>
7416
7417 * java/net/PlainSocketImpl.java: Fix imports.
7418
7419 2002-11-18 Michael Koch <konqueror@gmx.de>
7420
7421 * java/nio/channels/SelectionKey.java
7422 (isValid): Added exception documentation.
7423 * java/nio/channels/Selector.java
7424 (open): Declare "throws IOException".
7425
7426 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7427
7428 * java/nio/charset/Charset.java
7429 (<clinit>): New method.
7430 (encode): Synchronize use of cached encoder object.
7431 (decode): Synchronize use of cached encoder object.
7432
7433 2002-11-18 Michael Koch <konqueror@gmx.de>
7434
7435 * gnu/java/nio/ByteBufferImpl.java,
7436 gnu/java/nio/CharBufferImpl.java,
7437 gnu/java/nio/DatagramChannelImpl.java,
7438 gnu/java/nio/DoubleBufferImpl.java,
7439 gnu/java/nio/FileChannelImpl.java,
7440 gnu/java/nio/FloatBufferImpl.java,
7441 gnu/java/nio/IntBufferImpl.java,
7442 gnu/java/nio/LongBufferImpl.java,
7443 gnu/java/nio/PipeImpl.java,
7444 gnu/java/nio/SelectionKeyImpl.java,
7445 gnu/java/nio/SelectorImpl.java,
7446 gnu/java/nio/SelectorProviderImpl.java,
7447 gnu/java/nio/ServerSocketChannelImpl.java,
7448 gnu/java/nio/ShortBufferImpl.java,
7449 gnu/java/nio/SocketChannelImpl.java,
7450 java/nio/DoubleBuffer.java,
7451 java/nio/FloatBuffer.java,
7452 java/nio/IntBuffer.java,
7453 java/nio/LongBuffer.java,
7454 java/nio/ShortBuffer.java,
7455 java/nio/channels/FileChannel.java: New files.
7456
7457 2002-11-18 Michael Koch <konqueror@gmx.de>
7458
7459 * Makefile.am (ordinary_java_source_files):
7460 Added java/nio/ReadOnlyBufferException.java and
7461 java/nio/channels/ClosedSelectorException.java.
7462 * Makefile.in: Regenerated.
7463
7464 2002-11-18 Michael Koch <konqueror@gmx.de>
7465
7466 * java/net/PlainSocketImpl.java: Reworked imports.
7467 * java/net/ServerSocket.java
7468 (ServerSocket): Create socket.
7469 * java/net/SocketAddress.java: Documentation added.
7470 * java/net/natPlainSocketImpl.cc: Reindented.
7471 * java/nio/ReadOnlyBufferException.java: New file
7472 * java/nio/channels/ClosedChannelException.java: Documentation added.
7473 * java/nio/channels/ClosedSelectorException.java: New file.
7474
7475 2002-11-17 Mark Wielaard <mark@klomp.org>
7476
7477 * java/net/HttpURLConnection.java ((getPermission): Take port
7478 into consideration.
7479 (getErrorStream): Implement.
7480
7481 2002-11-17 Mark Wielaard <mark@klomp.org>
7482
7483 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7484
7485 2002-11-16 Mark Wielaard <mark@klomp.org>
7486
7487 Integrate work by Raif S. Naffah (raif@fl.net.au)
7488 * java/security/DummyKeyPairGenerator.java (clone): New method.
7489 * java/security/DummyMessageDigest.java (clone): New method.
7490 (engineUpdate): Now public.
7491 (engineReset): Likewise.
7492 (engineDigest): Likewise.
7493 (engineGetDigestLength): New method.
7494 * java/security/DummySignature.java (clone): New method.
7495 * java/security/KeyPairGenerator.java (provider): Now package private.
7496 (getInstance(String)): Use getInstance(String,Provider).
7497 (getInstance(String,String): Use getInstance(String,Provider)
7498 (getInstance(String,Provider): New method.
7499 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7500 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7501 * java/security/MessageDigest.java (provider): Now package private.
7502 (getInstance(String): Use getInstance(String,Provider).
7503 (getInstance(String,String): Use getInstance(String,Provider)
7504 (getInstance(String,Provider): New method.
7505 * java/security/Provider.java (toCanonicalKey): New method.
7506 (get): New method that uses toCanonicalKey().
7507 (put): Use toCanonicalKey().
7508 (remove): Likewise.
7509 * java/security/Security.java (insertProviderAt): Provider index is one
7510 based, not zero based.
7511 (addProvider): Likewise.
7512 (removeProvider): Likewise.
7513 * java/security/Signature.java (provider): Now package private.
7514 (getInstance(String)): Use getInstance(String,Provider).
7515 (getInstance(String,String): Use getInstance(String,Provider)
7516 (getInstance(String,Provider): New method.
7517 (getInstance(String,String,Provider): Don't cast DummySignature.
7518
7519 2002-11-15 Tom Tromey <tromey@redhat.com>
7520
7521 For PR libgcj/8593:
7522 * java/util/zip/GZIPInputStream.java (read): Check file size.
7523 Look in inflater for remaining input bytes.
7524 (read4): Added buf and offset arguments.
7525
7526 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7527
7528 * java/applet/AppletContext.java: Fix typo and remove redundant
7529 modifiers.
7530
7531 2002-11-14 Tom Tromey <tromey@redhat.com>
7532
7533 * java/lang/natRuntime.cc (insertSystemProperties): Set
7534 gnu.classpath.home.
7535
7536 2002-11-13 Michael Koch <konqueror@gmx.de>
7537
7538 * java/nio/ByteBuffer.java
7539 (allocate): New method.
7540 (wrap): New method.
7541 (put): New method.
7542 (get): New method.
7543
7544 2002-11-13 Michael Koch <konqueror@gmx.de>
7545
7546 * java/nio/channels/AlreadyConnectedException.java:
7547 Removed unneeded import.
7548 (AlreadyConnectedException): Documentation added.
7549 * java/nio/channels/Pipe.java
7550 (SinkChannel.SinkChannel): Documentation added.
7551 (SinkChannel.validOps): New method.
7552 (SourceChannel.SourceChannel): Documentation added.
7553 (SourceChannel.validOps): New method.
7554 (Pipe): Documentation added.
7555 (open): Documentation added.
7556 (SinkChannel.channel): Documentation added.
7557 (SourceChannel.channel): Documentation added.
7558 * java/nio/channel/SelectableChannel.java
7559 (SelectableChannel): Documentation added.
7560 (blockingLock): Documentation added.
7561 (configureBlocking):Documentation added.
7562 (isBlocking):Documentation added.
7563 (isRegistered):Documentation added.
7564 (keyFor):Documentation added.
7565 (provider):Documentation added.
7566 (register): Documentation added.
7567 (validOps): Documentation added.
7568 * jaba/nio/channels/SelectionKey.java
7569 (SelectionKey): Documentation added.
7570 (attach): Documentation added.
7571 (attachment): Documentation added.
7572 (isAcceptable): Documentation added.
7573 (isConnetable): Documentation added.
7574 (isReadable): Documentation added.
7575 (isWritable): Documentation added.
7576 (cancel): Documentation added.
7577 (channel): Documentation added.
7578 (interestOps): Documentation added.
7579 (isValid): Documentation added.
7580 (readyOps): Documentation added.
7581 (selector): Documentation added.
7582 * jaba/nio/channels/Selector.java
7583 (Selector): Documentation added.
7584 (open): Documentation added.
7585 (close): Documentation added.
7586 (isOpen): Documentation added.
7587 (keys): Documentation added.
7588 (provider): Documentation added.
7589 (select): Documentation added.
7590 (selectedKeys): Documentation added.
7591 (selectNow): Documentation added.
7592 (wakeup): Documentation added.
7593 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7594 (AbstractInterruptibleChannel): Documentation added.
7595 (opened): Default to true;
7596 (begin): Documentation added.
7597 (close): Set opened to false, documentation added.
7598 (isOpen): Documentation added.
7599 * java/nio/channels/spi/AbstractSelectionKey.java
7600 (AbstractSelectionKey): Documentation added.
7601 (cancel): Documentation added.
7602 (isValid): Documentation added.
7603 * java/nio/channels/spi/AbstractSelector.java
7604 (AbstractSelector): Documentation added.
7605 (begin): Documentation added.
7606 (close): Documentation added.
7607 (isOpen): Documentation added.
7608 (deregister): Documentation added.
7609 (end): Documentation added.
7610 (provider): Documentation added.
7611 (implCloseSelector): Documentation added.
7612 (register): Documentation added.
7613 * java/nio/channels/spi/SelectorProvider.java
7614 (SelectorProvider): Documentation added.
7615 (openDatagramChannel): Documentation added.
7616 (openPipe): Documentation added.
7617 (openSelector): Documentation added.
7618 (openServerSocketChannel): Documentation added.
7619 (openSocketChannel): Documentation added.
7620 (provider): Documentation added.
7621
7622 2002-11-12 Michael Koch <konqueror@gmx.de>
7623
7624 * java/nio/Buffer.java: Implemented.
7625 * java/nio/CharBuffer.java: New file.
7626 * java/nio/InvalidMarkException.java: New file.
7627 * java/nio/channels/DatagramChannel.java: Implemented.
7628 * java/nio/channels/ServerSocketChannel.java: Implemented.
7629 * java/nio/channels/SocketChannel.java: Implemented.
7630 * java/nio/channels/spi/AbstractChannel.java: Removed.
7631 * java/nio/channels/spi/AbstractSelectableChannel.java:
7632 Implemented.
7633 * java/nio/charset/Charset.java:
7634 Merge from Classpath.
7635 * java/nio/charset/CharsetDecoder.java: New file.
7636 * java/nio/charset/CharsetEncoder.java: New file.
7637 * java/nio/charset/CoderResult.java: New file.
7638 * Makefile.am (ordinary_java_source_files): Added new files.
7639 * Makefile.in: Regenerated.
7640
7641 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7642
7643 * gnu/java/nio/charset/ISO_8859_1.java,
7644 gnu/java/nio/charset/Provider.java,
7645 gnu/java/nio/charset/US_ASCII.java,
7646 gnu/java/nio/charset/UTF_16.java,
7647 gnu/java/nio/charset/UTF_16BE.java,
7648 gnu/java/nio/charset/UTF_16Decoder.java,
7649 gnu/java/nio/charset/UTF_16Encoder.java,
7650 gnu/java/nio/charset/UTF_16LE.java,
7651 gnu/java/nio/charset/UTF_8.java: New files.
7652
7653 2002-11-11 Michael Koch <konqueror@gmx.de>
7654
7655 * java/nio/charset/CharacterCodingException.java:
7656 This class must be public.
7657 * java/nio/charset/CoderMalfunctionError.java:
7658 This class must be public.
7659 * java/nio/charset/CodingErrorAction.java:
7660 This class must be public.
7661 * java/nio/charset/IllegalCharsetNameException.java:
7662 This class must be public, better implementation.
7663 * java/nio/charset/MalformedInputException.java:
7664 This class must be public, better implementation.
7665 * java/nio/charset/UnmappableCharacterException.java:
7666 This class must be public, better implementation.
7667 * java/nio/charset/UnsupportedCharsetException.java:
7668 This class must be public, better implementation.
7669
7670 2002-11-11 Michael Koch <konqueror@gmx.de>
7671
7672 * java/nio/BufferOverflowException.java,
7673 java/nio/BufferUnderflowException.java: New file.
7674 * Makefile.am (ordinary_java_source_files):
7675 Added new files.
7676 * Makefile.in: Regenerated.
7677
7678 2002-11-10 Tom Tromey <tromey@redhat.com>
7679
7680 * java/awt/Container.java (validate): Use tree lock.
7681 (getComponent): Likewise.
7682 (getComponents): Likewise.
7683 (addImpl): Likewise.
7684 (remove): Likewise.
7685 (removeAll): Likewise.
7686 (processEvent): Fixed indentation.
7687 (getComponentAt): Use tree lock.
7688 (findComponentAt): Likewise.
7689 (removeNotify): Likewise.
7690 (isAncestorOf): Likewise.
7691 (list): Likewise.
7692 (visitChildren): Likewise.
7693 (findNextFocusComponent): Likewise.
7694 (addNotifyContainerChildren): Likewise.
7695 (getAccessibleChildrenCount): Likewise.
7696 (getAccessibleChild): Likewise.
7697
7698 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7699 (getSize): Likewise.
7700 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7701 (getSize): Likewise.
7702 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7703 (calcSize): Likewise.
7704 * java/awt/CardLayout.java (getSize): Use tree lock.
7705 (gotoComponent): Likewise.
7706 (layoutContainer): Likewise.
7707
7708 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7709 count is 0.
7710 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7711 count is 0.
7712
7713 * java/io/Externalizable.java, java/io/FilePermission.java,
7714 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7715 java/io/SerializablePermission.java, java/text/Format.java,
7716 java/util/AbstractMap.java, java/util/HashMap.java,
7717 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7718 versions from Classpath.
7719
7720 2002-11-10 Anthony Green <green@redhat.com>
7721
7722 * java/util/jar/Attributes.java (Name): Fix name check.
7723
7724 2002-11-10 Mark Wielaard <mark@klomp.org>
7725
7726 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7727 with getName() as message.
7728 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7729 type as message.
7730
7731 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7732 unused.
7733
7734 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7735
7736 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7737 for Win32. JNICALL has been defined to __stdcall to be compatible
7738 with Sun's JDKs.
7739
7740 2002-11-10 Tom Tromey <tromey@redhat.com>
7741
7742 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7743 (setRows): Check newRows, not rows.
7744
7745 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7746
7747 2002-11-09 Tom Tromey <tromey@redhat.com>
7748
7749 * java/applet/Applet.java, java/applet/AppletContext.java,
7750 java/applet/AppletStub.java, java/applet/AudioClip.java,
7751 java/awt/CardLayout.java,
7752 java/awt/ContainerOrderFocusTraversalPolicy.java,
7753 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7754 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7755 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7756 java/awt/color/ICC_ColorSpace.java,
7757 java/awt/color/ICC_Profile.java,
7758 java/awt/color/ICC_ProfileGray.java,
7759 java/awt/color/ICC_ProfileRGB.java,
7760 java/awt/datatransfer/DataFlavor.java,
7761 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7762 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7763 New versions from Classpath.
7764 * Makefile.in: Rebuilt.
7765 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7766 ICC_ProfileRGB.
7767
7768 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7769 display policy.
7770
7771 * java/awt/List.java (processEvent): Added missing `else's.
7772
7773 * java/awt/Window.java (show): validate() before showing. Make
7774 parent displayable.
7775 (isDisplayable): New method.
7776
7777 2002-11-07 Mark Wielaard <mark@klomp.org>
7778
7779 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7780 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7781
7782 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7783 annotation.
7784 (loadClass): Take String as codebases.
7785 (getClassAnnotation): Use MyClassLoader annotations.
7786 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7787 call exportObject(this).
7788
7789 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7790 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7791 (setAnnotation): Don't set locBytesStream and locStream.
7792 (replaceObject): Removed.
7793 (flush): Don't test locStream.
7794 (getLocBytes): LikeWise.
7795 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7796 (leaseCache): New field.
7797 (dirty): Use leaseCache.
7798 (LeaseRecord): New inner class.
7799 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7800 explicitly call exportObject().
7801 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7802 false to communicate with Sun JDK130.
7803 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7804 * gnu/java/rmi/server/RMIObjectInputStream.java
7805 (UnicastConnectionManager): Removed field.
7806 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7807 Use UnicastServer.getExportedRef().
7808 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7809 (expireTime): Likewise.
7810 (CONNECTION_TIMEOUT): Likewise.
7811 (disconnect): Call sock.close().
7812 (isExpired): New method.
7813 (resetTime): Likewise.
7814 (run): Use do while loop and catch Exception for discardConnection().
7815 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7816 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7817 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7818 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7819 (exportObject): Use refcache.
7820 (unexportObject): Likewise.
7821 (getExportedRef): New method.
7822 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7823 constructor.
7824 (exportObject): Save manager.serverobj.
7825 (getStub): New method.
7826
7827 2002-11-07 Mark Wielaard <mark@klomp.org>
7828
7829 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7830 (getByte): Likewise.
7831 (getShort): Likewise.
7832 (getInt): Likewise.
7833 (getLong): Likewise.
7834 (getFloat): Likewise.
7835 (getDouble): Likewise.
7836 (get): Likewise.
7837 (setChar): Likewise.
7838 (setByte): Likewise.
7839 (setShort): Likewise.
7840 (setInt): Likewise.
7841 (setLong): Likewise.
7842 (setFloat): Likewise.
7843 (setDouble): Likewise.
7844
7845 2002-11-07 Michael Koch <konqueror@gmx.de>
7846
7847 * java/awt/Choice.java,
7848 java/awt/Container.java,
7849 java/awt/GridBagLayout.java:
7850 Fixed documentation.
7851 * java/awt/peer/ContainerPeer.java:
7852 Reindented.
7853
7854 2002-11-07 Michael Koch <konqueror@gmx.de>
7855
7856 * java/awt/color/ICC_Profile.java:
7857 Added missing constants.
7858 * java/awt/color/ICC_ColorSpace.java
7859 (getMinValue): Added dummy implementation.
7860 (getMaxValue): Added dummy implementation.
7861 * java/awt/datatransfer/DataFlavor.java
7862 (imageFlavor): Added.
7863 (isMimeTypeEqual): Must be final.
7864 (getDefaultRepresentationClass): Must be non-static.
7865 (getDefaultRepresentationClassAsString): Must be non-static.
7866 * java/awt/dnd/DragSourceContext.java
7867 (dragExit): Corrected argument.
7868 (dragDropEnd): Corrected argument.
7869 * java/awt/dnd/DragSourceListener.java.java
7870 (dragExit): Corrected argument.
7871 (dragDropEnd): Corrected argument.
7872 * java/awt/font/TextHitInfo.java
7873 (toString): Added stubbed implementation.
7874 * java/awt/geom/PathIterator.java:
7875 The constants must be static.
7876 * java/awt/image/VolatileImage.java
7877 (IMAGE_INCOMPATIBLE): Fixed typo.
7878 * java/awt/image/renderable/RenderableImage.java
7879 (HINTS_OBSERVED): Must be static.
7880 * java/beans/BeanInfo.java:
7881 Constants must be final.
7882
7883 2002-11-06 Tom Tromey <tromey@redhat.com>
7884
7885 From svens@it.uu.se. For PR libgcj/8481.
7886 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7887
7888 2002-11-06 Tom Tromey <tromey@redhat.com>
7889
7890 * jni.cc (array_from_valist): Assume that jlong won't be
7891 promoted.
7892
7893 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7894
7895 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7896 Return 20.
7897 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7898 Return 16.
7899
7900 2002-11-03 Tom Tromey <tromey@redhat.com>
7901
7902 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7903 VMClassLoader, not findClass.
7904
7905 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7906
7907 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7908 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7909 _Jv_DetermineVTableIndex, to determine vtable offset.
7910 (_Jv_DetermineVTableIndex): Remove.
7911 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7912
7913 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7914
7915 2002-11-03 Tom Tromey <tromey@redhat.com>
7916
7917 * java/nio/channels/AlreadyConnectedException.java: Extend
7918 IllegalStateException, per spec.
7919
7920 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7921
7922 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7923
7924 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7925
7926 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7927 size items.
7928
7929 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7930
7931 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7932 initial estimated size to avoid enlarge buffer frequently.
7933
7934 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7935
7936 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7937 ClassLoader when null.
7938 (ProxyType.hashCode): Loader null check no longer needed.
7939 (ProxyType.sameTypes): New method.
7940 (ProxyType.equals): Use new method.
7941
7942 2002-10-31 Mark Wielaard <mark@klomp.org>
7943
7944 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7945 length of String.
7946 * java/net/URLEncoder.java (encode): Likewise.
7947
7948 2002-10-31 Mark Wielaard <mark@klomp.org>
7949
7950 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7951 when stream is closed.
7952 (closeEntry): Likewise.
7953 (read): Likewise.
7954 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7955 ZipException when no entry active.
7956 (closeEntry): Likewise.
7957 (write): Likewise.
7958
7959 2002-11-02 Tom Tromey <tromey@redhat.com>
7960
7961 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7962 * java/lang/natClass.cc (initializeClass): Don't return just
7963 because self==thread.
7964
7965 For PR java/8415:
7966 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7967 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7968
7969 2002-11-02 Andreas Schwab <schwab@suse.de>
7970
7971 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7972 pass GCJFLAGS.
7973 (FLAGS_TO_PASS): Define.
7974 * Makefile.in: Regenerated.
7975
7976 2002-11-01 Michael Koch <konqueror@gmx.de>
7977
7978 * java/nio/ByteOrder.java: New file.
7979 * java/nio/channels/DatagramChannel.java:
7980 (DatagramChannel): New constructor.
7981 * java/nio/channels/Pipe.java: New file.
7982 * java/nio/channels/SelectableChannel.java: New file.
7983 * java/nio/channels/SelectionKey.java: New file.
7984 * java/nio/channels/Selector.java: New file.
7985 * java/nio/channels/ServerSocketChannel.java
7986 (ServerSocketChannel): New constructor.
7987 * java/nio/channels/SocketChannel.java
7988 (SocketChannel): New constructor.
7989 * java/nio/channels/Pipe.java: New file.
7990 * java/nio/channels/spi/AbstractChannel.java: New file.
7991 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7992 * java/nio/channels/spi/AbstractSelectableChannel.java:
7993 License added
7994 (AbstractSelectableChannel): New stubbed method.
7995 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7996 * java/nio/channels/spi/AbstractSelector.java: New file.
7997 * java/nio/channels/spi/SelectorProvider.java: New file.
7998 * java/nio/charset/Charset.java: New file.
7999 * java/nio/charset/CoderMalfunctionError.java: New file.
8000 * java/nio/charset/CodingErrorAction.java: New file.
8001 * java/nio/charset/spi/CharsetProvider.java
8002 (charsetForName): Uncommented.
8003 * Makefile.am (java_native_source_files): Added new files.
8004 * Makefile.in: Regenerated.
8005
8006 2002-11-01 Michael Koch <konqueror@gmx.de>
8007
8008 * java/net/InetAddress.java:
8009 (isAnyLocalAddress): Implemented.
8010 (isLoopbackAddress): Implemented, comment added.
8011 (isLinkLocalAddress): Implemented, documentation added.
8012 (isSiteLocalAddress): Implemented, documentation added.
8013 (isMCGlobal): Implemented, documentation added.
8014 (isMCNodeLocal): Implemented, documentation added.
8015 (isMCLinkLocal): Implemented, documentation added.
8016 (isMCSiteLocal): Implemented, documentation added.
8017 (isMCOrgLocal): Implemented, documentation added.
8018 (getHostName): Documentation added.
8019 (getCanonicalHostName): Implemented, documentation added.
8020 (getAddress): Documentation added.
8021 (hashCode): Documentation added.
8022 (equals): Documentation added.
8023 (toString): Fixed implementation.
8024 (getByAddress): Use Inet4Address and Inet6Address.
8025 (lookup): New linewrap.
8026 (getByName): SecurityManager check added, support Inet4Address and
8027 Inet6address, comments added.
8028 (getAllByName): SecurityManager check added, comments added.
8029 * java/net/Inet6Address.java:
8030 (Inet6Address): Initialize parent class with addr instead of null.
8031 * java/net/URL.java
8032 (equals): Documentation added.
8033 (getFile): Documentation added.
8034 (hashCode): Documentation added.
8035 * java/net/natInetAddress.cc:
8036 (aton): Fix IPv6 support.
8037 * java/net/natPlainDatagramSocketImpl.cc:
8038 (peek): Throw PortUnreachableException when suitable.
8039 (peekData): Throw PortUnreachableException when suitable.
8040 (send): Throw PortUnreachableException when suitable.
8041 (receive): Throw PortUnreachableException when suitable.
8042
8043 2002-10-27 Mark Wielaard <mark@klomp.org>
8044
8045 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
8046 argument.
8047 (readLeShort): Likewise and use byte[].
8048 (readLeInt): Likewise.
8049 (readEntries): Use new versions of methods and use byte[] for reading
8050 a complete zip entry. Add ZipFile name to exceptions.
8051 (entries): Add ZipFile name to exceptions.
8052 (getEntry): Likewise.
8053 (checkLocalHeader): Use new versions of methods and add ZipFile name
8054 to exceptions.
8055
8056 2002-10-31 Mark Anderson <mark@panonet.net>
8057
8058 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
8059 added
8060
8061 2002-10-25 Krister Walfridsson <cato@df.lth.se>
8062
8063 * configure.in: Disable hash sync when not using threads.
8064 * configure: Regenerated.
8065
8066 2002-10-24 Tom Tromey <tromey@redhat.com>
8067
8068 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
8069 (_Jv_FindSymbolInExecutable): Removed argument name.
8070 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
8071 java.library.path is set.
8072
8073 * gij.cc (help): Document --showversion.
8074 (version): Don't exit.
8075 (main): Handle --showversion. Exit if --version given.
8076
8077 2002-10-23 Tom Tromey <tromey@redhat.com>
8078
8079 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
8080 (array_from_valist): Correctly handle promotion for jint, jlong,
8081 jfloat, and jdouble.
8082
8083 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
8084
8085 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
8086 GetFileAttributesEx( ) to find file length and modification times,
8087 as the latter is not present on Windows 95.
8088
8089 2002-10-21 Michael Koch <konqueror@gmx.de>
8090
8091 * java/net/URL.java
8092 (URL): Activate SecurityManager checks.
8093 (equals): Use URLStreamHandler implementation instead of doing it
8094 alone. This allows special protocol stream handlers to change default
8095 behaviour.
8096 (hashCode): Use URLStreamHandler implementation instead of doing it
8097 alone. This allows special protocol stream handlers to change default
8098 behaviour.
8099 * java/net/URLStreamHandler.java
8100 (equals): Implemented default URL equality check.
8101 (hostsEqual): Implemented default URL equality check.
8102 (hashCode): Implemented default URL hashCode algorithm.
8103 * java/net/natPlainDatagramSocketImpl.cc:
8104 No lines longer then 80 characters.
8105
8106 2002-10-20 Adam Megacz <adam@xwt.org>
8107
8108 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8109 * configure.in: enabled hash sync on Win32
8110 * include/win32-threads.h (_Jv_ThreadId_t): added.
8111 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8112 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8113 removed some posix-isms, use Thread::sleep() instead of usleep,
8114 added code to clear bottom three bits if platform has a broken
8115 linker.
8116 * include/win32-threads.h (_Jv_ThreadId_t): added.
8117
8118 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8119
8120 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8121 runtime property "gnu.gcj.progname" containing the name used to
8122 invoke the current Java program (similar to argv[0] for C
8123 programs).
8124
8125 2002-10-15 Tom Tromey <tromey@redhat.com>
8126
8127 Fix for PR libgcj/8234:
8128 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8129 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8130
8131 2002-10-13 Mark Wielaard <mark@klomp.org>
8132
8133 * mauve-libgcj: Enable Mauve tests that compile now.
8134
8135 2002-10-11 Mark Wielaard <mark@klomp.org>
8136
8137 Fix for PR libgcj/8142
8138 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8139 loading native modules.
8140
8141 2002-10-10 Michael Koch <konqueror@gmx.de>
8142
8143 * javax/swing/AbstractListModel.java
8144 (getListDataListeners): New stubbed method.
8145 javax/swing/DefaultBoundedRangeModel.java
8146 (getChangeListeners): New stubbed method.
8147 javax/swing/DefaultSingleSelectionModel.java
8148 (getChangeListeners): New stubbed method.
8149
8150 2002-10-10 Michael Koch <konqueror@gmx.de>
8151
8152 * gcj/.cvsignore: New file to ignore files generated during build.
8153 * include/.cvsignore: New file to ignore files generated during build.
8154
8155 2002-10-10 Michael Koch <konqueror@gmx.de>
8156
8157 * java/net/HttpURLConnection.java
8158 (getPermission): New method.
8159 (getErrorStream): New stub method.
8160 (getHeaderFieldDate): New stub method.
8161 * java/net/Inet4Address.java:
8162 (isLinkLocalAddress): Typo fixed.
8163 * java/net/InetAddress.java:
8164 (readResolve): New stubbed method (for serialization).
8165 (isAnyLocalAddress): New stubbed method.
8166 (isLoopbackAddress): New stubbed method.
8167 (isLinkLocalAddress): New stubbed method.
8168 (isSiteLocalAddress): New stubbed method.
8169 (isMCGlobal): New stubbed method.
8170 (isMCNodeGlobal): New stubbed method.
8171 (isMCLinkLocal): New stubbed method.
8172 (isMCSiteLocal): New stubbed method.
8173 (isMCOrgLocal): New stubbed method.
8174 (getCanonicalHostName): New stubbed method.
8175 (getByAddress): Create instances of Inet4Address/Inet6Address,
8176 instead of InetAddress, documentation added.
8177 * java/net/MulticastSocket.java
8178 (getInterface): Removed FIXME.
8179 (getNetworkInterface): New method.
8180 (setNetworkInterface): New method.
8181 * java/net/NetworkInterface.java:
8182 (toString): Use property "line.separator" instead of "\n".
8183 * java/net/URLConnection.java
8184 (getContent): New stubbed method.
8185 * java/net/URLStreamHandler.java:
8186 (equals): New stubbed method.
8187 (hostsEqual): New stubbed method.
8188 (hashCode): New stubbed method.
8189 * java/net/natNetworkInterface.cc:
8190 (getRealNetworkInterfaces): Create Inet4Address object
8191 instead of InetAddress.
8192
8193 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8194
8195 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8196 unsigned long temporary to implement insn_iushr shifts.
8197
8198 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8199
8200 * configure.host [s390*-*]: Enable Java interpreter.
8201 Enable hash synchronization. Add sysdeps dir.
8202 * sysdep/s390/locks.h: New file.
8203
8204 2002-10-06 Mark Wielaard <mark@klomp.org>
8205
8206 * java/lang/Thread.java (setDaemon): Check startable_flag,
8207 not isAlive().
8208
8209 2002-10-07 Michael Koch <konqueror@gmx.de>
8210
8211 * java/nio/Buffer.java: New stub file.
8212 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8213 of class Charset.
8214 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8215 * Makefile.in: Regenerated.
8216
8217 2002-10-07 Michael Koch <konqueror@gmx.de>
8218
8219 * java/nio/ByteBuffer.java:
8220 removed import of not commited class.
8221
8222 2002-10-07 Michael Koch <konqueror@gmx.de>
8223
8224 * java/nio/ByteBuffer.java,
8225 java/nio/MappedByteBuffer.java:
8226 New files, forgot to add these dummies.
8227 * Makefile.am (java_native_source_files): Added new files.
8228 * Makefile.in: Regenerated.
8229
8230 2002-10-07 Michael Koch <konqueror@gmx.de>
8231
8232 * java/nio/channels/AlreadyConnectedException.java,
8233 java/nio/channels/ClosedChannelException.java,
8234 java/nio/channels/ReadableByteChannel.java,
8235 java/nio/channels/InterruptibleChannel.java,
8236 java/nio/channels/Channel.java,
8237 java/nio/channels/ByteChannel.java,
8238 java/nio/channels/GatheringByteChannel.java,
8239 java/nio/channels/ScatteringByteChannel.java,
8240 java/nio/channels/WritableByteChannel.java,
8241 java/nio/charset/CharacterCodingException.java,
8242 java/nio/charset/IllegalCharsetNameException.java,
8243 java/nio/charset/MalformedInputException.java,
8244 java/nio/charset/UnmappableCharacterException.java,
8245 java/nio/charset/UnsupportedCharsetException.java,
8246 java/nio/charset/spi/CharsetProvider.java: New file.
8247 These files are exceptions or interfaces,
8248 no real or abstract classes.
8249 * Makefile.am (java_native_source_files): Added new files.
8250 * Makefile.in: Regenerated.
8251
8252 2002-10-05 Michael Koch <konqueror@gmx.de>
8253
8254 * java/net/InetAddress.java
8255 (getByAddress): Fixed documentation.
8256 (getByAddress): New method.
8257 * java/net/Inet4Address.java: New file.
8258 * java/net/URL.java
8259 (URL): Documentation added.
8260 (getContent): Documentation added.
8261 (getContent): New stubbed method.
8262 (getQuery): New method.
8263 (openConnection): Documentation added.
8264 (openStream): Documentation added.
8265 (setURLStreamHandlerFactory): Documentation added.
8266 * java/net/URI.java: New stub file.
8267 * Makefile.am
8268 (java_native_source_files): Added java/net/Inet4Address.java,
8269 java/net/Inet6Address.java and java/net/URI.java.
8270 * Makefile.in: Regenerated.
8271
8272 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8273
8274 * java/lang/ProtectionDomain.java (linesep): Remove field.
8275 (toString): Use System.getProperty("line.separator").
8276
8277 2002-10-04 Michael Koch <konqueror@gmx.de>
8278
8279 * java/security/Identity.java: Added serialVersionUID.
8280 * java/security/KeyPair.java: Added serialVersionUID.
8281 * java/security/Provider.java: Added serialVersionUID.
8282 * java/security/SecureRandom.java: Added serialVersionUID.
8283 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8284 * java/security/SignedObject.java: Added serialVersionUID.
8285 * java/security/cert/Certificate.java: Added serialVersionUID.
8286
8287 2002-10-04 Mark Wielaard <mark@klomp.org>
8288
8289 * java/security/Security.java: Use java.home or gnu.classpath.home
8290 to load providers.
8291 (loadProviders): Extra dir argument.
8292 (getProvider): Return null when not found.
8293
8294 2002-10-04 Mark Wielaard <mark@klomp.org>
8295
8296 * java/lang/Throwable.java: Remerge with Classpath.
8297
8298 2002-10-04 Michael Koch <konqueror@gmx.de>
8299
8300 * java/net/InetAddress.java:
8301 (isMulticastAddress): Added documentation.
8302 (getHostAddress): Added documentation.
8303 (toString): Added documentation.
8304 (getByAddress): Fixed documentation.
8305 (getByName): Added documentation.
8306 (getAllByName): Added documentation.
8307 (getLocalHost): Added documentation.
8308
8309 2002-10-04 Michael Koch <konqueror@gmx.de>
8310
8311 * java/beans/beancontext/BeanContextChildSupport.java:
8312 Added serialVersionUID.
8313 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8314 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8315 * javax/naming/Name.java: Added serialVersionUID.
8316
8317 2002-10-03 Adam Megacz <adam@xwt.org>
8318
8319 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8320 some functionality that isn't supported yet on WIN32.
8321
8322 2002-10-03 Tom Tromey <tromey@redhat.com>
8323
8324 * Makefile.in: Rebuilt.
8325 * Makefile.am (awt_java_source_files): Added new files.
8326
8327 2002-10-03 Michael Koch <konqueror@gmx.de>
8328
8329 * java/net/InetAddress.java
8330 (class InetAddress): Removed final keyword.
8331 (equals): Fixed typo.
8332 (getByAddress): New method.
8333
8334 2002-10-03 Michael Koch <konqueror@gmx.de>
8335
8336 * java/awt/dnd/Autoscroll.java:
8337 New file, merge from Classpath.
8338 * java/awt/dnd/DragSourceAdapter.java:
8339 (dragExit): Fixed typos in argument type.
8340 (dragDropEnd): Fixed typos in argument type.
8341 * java/awt/dnd/DragSourceDropEvent.java:
8342 New file, merge from Classpath.
8343 * java/awt/dnd/DropTarget.java:
8344 Added stubs, merge from Classpath.
8345 * java/awt/dnd/DropTargetAdapter.java:
8346 New file, merge from Classpath.
8347 * java/awt/dnd/DropTargetContext.java:
8348 New file, merge from Classpath.
8349 * java/awt/dnd/DropTargetDragEvent.java:
8350 New file, merge from Classpath.
8351 * java/awt/dnd/DropTargetDropEvent.java:
8352 New file, merge from Classpath.
8353 * java/awt/dnd/DropTargetEvent.java:
8354 New file, merge from Classpath.
8355 * java/awt/dnd/DropTargetListener.java:
8356 New file, merge from Classpath.
8357 * java/awt/dnd/MouseDragGestureRecognizer.java:
8358 New file, merge from Classpath.
8359 * java/awt/dnd/peer/DropTargetContextPeer.java:
8360 New file, merge from Classpath.
8361
8362 2002-10-03 Michael Koch <konqueror@gmx.de>
8363
8364 * java/net/DatagramPacket.java
8365 (setLength): Fixed typo and be HTML-aware.
8366 * java/net/InetSocketAddress.java
8367 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8368 (equals): Added comment about equality of InetSocketAddress objects.
8369 * java/net/ServerSocket.java
8370 (accept): Added checks.
8371 (isClosed): New stubbed method.
8372 * java/net/SocketOptions.java: Reindention.
8373 * java/net/SocketPermission
8374 (SocketPermission): Documentation fixed.
8375
8376 2002-10-03 Michael Koch <konqueror@gmx.de>
8377
8378 * java/net/DatagramSocket.java
8379 (receive): Check with SecurityManager AFTER the packet is received,
8380 check if connected to multicast address, documentation added.
8381 (send): Only check SecurityManager if connected, check address of
8382 packet to send.
8383 (connect): Implemented, documentation added.
8384 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8385 * java/net/InetSocketAddress.java
8386 (whole file): Reindented.
8387 (hostname): New attribute.
8388 (InetSocketAddress): Initialize new attribute.
8389 (getAddress): Documentation added.
8390 (getHostName): Documentation added.
8391 (getPort): Documentation added.
8392 (hashCode): Documentation added.
8393 (isUnresolved): Documentation added.
8394 (toString): Conform to output of JDK 1.4.1, documentation added.
8395 * java/net/MulticastSocket.java
8396 (joinGroup): Removed FIXME, documentation added.
8397 (leaveGroup): Removed FIXME, documentation added.
8398 (send): Documentation added.
8399 * java/net/Socket.java
8400 (inputShutdown): New variable.
8401 (outputShutdown): New variable.
8402 (Socket): Initialize new variables.
8403 (getRemoteSocketAddress): Check if connected.
8404 (shutdownInput): Set new variable.
8405 (shutdownOutput): Set new variable.
8406 (isConnected): New method.
8407 (isClosed): New method.
8408 (isInputShutdown): New method.
8409 (isOutputShutdown): New method.
8410 * java/net/URLStreamHandler.java
8411 (URLStreamHandler): New method.
8412 (openConnection): Added documentation.
8413 (parseURL): Added documentation.
8414 (getHostAddress): New method.
8415 (getDefaultPort): New method.
8416
8417 2002-10-02 Tom Tromey <tromey@redhat.com>
8418
8419 * java/rmi/activation/ActivationDesc.java,
8420 java/rmi/activation/ActivationGroupDesc.java,
8421 java/rmi/activation/ActivationGroupID.java,
8422 java/rmi/activation/ActivationID.java: New versions from
8423 Classpath.
8424
8425 2002-09-30 Bo Thorsen <bo@suse.de>
8426
8427 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8428
8429 2002-09-30 Tom Tromey <tromey@redhat.com>
8430
8431 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8432 from Classpath.
8433 * Makefile.in: Rebuilt.
8434 * Makefile.am (rmi_java_source_files): Added new files.
8435 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8436 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8437 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8438 Classpath.
8439 * gnu/java/rmi/dgc/DGCImpl.java,
8440 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8441 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8442 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8443 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8444 gnu/java/rmi/server/RMIHashes.java,
8445 gnu/java/rmi/server/RMIObjectInputStream.java,
8446 gnu/java/rmi/server/RMIObjectOutputStream.java,
8447 gnu/java/rmi/server/UnicastConnection.java,
8448 gnu/java/rmi/server/UnicastConnectionManager.java,
8449 gnu/java/rmi/server/UnicastRef.java,
8450 gnu/java/rmi/server/UnicastServer.java,
8451 gnu/java/rmi/server/UnicastServerRef.java,
8452 java/rmi/MarshalledObject.java,
8453 java/rmi/server/RMIClassLoader.java,
8454 java/rmi/server/RemoteObject.java,
8455 java/rmi/server/UnicastRemoteObject.java,
8456 java/security/SecureClassLoader.java: Merged from Classpath.
8457
8458 2002-09-29 Anthony Green <green@redhat.com>
8459
8460 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8461 Imported from GNU Classpath.
8462 * java/lang/reflect/natProxy.cc: New file.
8463 * java/lang/reflect/InvocationHandler.java: New file. Imported
8464 from GNU Classpath.
8465 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8466 Classpath.
8467 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8468 Classpath.
8469 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8470 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8471 New statics.
8472 * gcj/javaprims.h ("Java"): Add new classes.
8473 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8474 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8475 java/lang/reflect/Proxy$$ProxyType.h): And this.
8476 (inner_nat_headers): Add these new headers.
8477 (ordinary_java_source_files): Add new files.
8478 (nat_source_files): Add new file.
8479 * Makefile.in: Rebuilt.
8480
8481 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8482
8483 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8484 a single configuration.
8485
8486 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8487
8488 * java/util/TimeZone.java (getDSTSavings): New method.
8489 Fixes PR libgcj/7786.
8490
8491 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8492
8493 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8494 to see if `the_method == 0' before looking up vtable index.
8495 Fixes PR libgcj/7709.
8496
8497 2002-09-25 Tom Tromey <tromey@redhat.com>
8498
8499 * java/lang/natClassLoader.cc:
8500 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8501 * resolve.cc: Include NoClassDefFoundError.h, not
8502 ClassNotFoundException.h.
8503 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8504
8505 * defineclass.cc: Don't include ClassNotFoundException.h.
8506
8507 * resolve.cc: Include StringBuffer.
8508 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8509
8510 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8511 allocated but not initialized.
8512
8513 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8514
8515 Fix for PR libgcj/7766:
8516 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8517 (getNextEntry): Set it.
8518 (closeEntry): Likewise.
8519 (read): Likewise.
8520 (close): Likewise.
8521 (available): Use it.
8522
8523 2002-09-25 Michael Koch <konqueror@gmx.de>
8524
8525 * java/net/DatagramSocket.java
8526 (DatagramSocket): Initialize new instance variables.
8527 (close): Reset new instance variables.
8528 (getLocalAddress): Remove unneeded SecurityManager usage.
8529 (getLocalPort): Check if socket is already bound.
8530 (isConnected): New method.
8531 (getInetAddress): Implemented.
8532 (getPort): Better Implementation, documentation fixed.
8533 (getRemoteSocketAddress): New method.
8534 * java/net/JarURLConnection.java
8535 (element): Typo fixed.
8536 (getMainAttributes): New method.
8537 (getAttributes): New method (stub only).
8538 (getManifest): New method (stub only).
8539 * java/net/NetPermission.java: Added serialVersionsUID.
8540 * java/net/Socket.java
8541 (connect): Check blocking mode of associated channel,
8542 documentation added.
8543 (getLocalSocketAddress): Better implementation.
8544 (getRemoteSocketAddress): Implemented.
8545 (isBound): New method.
8546 (setSendBufferSize): Documentation added.
8547 * java/net/SocketAddress.java: Added serialVersionsUID.
8548 * java/net/SocketPermission.java: Added serialVersionsUID.
8549 * java/net/URL.java
8550 (URL): Wrap for shorter lines, initialize new instance variables,
8551 documentation added.
8552 (equals): Check new instance variables too.
8553 (getContent): Documentation added.
8554 (getPath): Documentation added.
8555 (getAuthority): New method.
8556 (getHost): Documentation added.
8557 (getPort): Documentation added.
8558 (getDefaultPort): New method.
8559 (getProtocol): Documentation added.
8560 (getUserInfo): Documentation added.
8561 (set): Initialize new instance variables, documentation added.
8562 * java/net/URLStreamHandler.java
8563 (setURL): New method.
8564 * java/net/natPlainDatagramSocketImpl.cc
8565 (connect): Fix exception name.
8566 (disconnect): Fix exception name.
8567
8568 2002-09-25 Michael Koch <konqueror@gmx.de>
8569
8570 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8571 * java/nio/channels/DatagramChannel.java:
8572 extends AbstractSelectableChannel
8573 * java/nio/channels/ServerSocketChannel.java:
8574 extends AbstractSelectableChannel
8575 * java/nio/channels/SocketChannel.java:
8576 extends AbstractSelectableChannel
8577 * Makefile.am (ordinary_java_source_files):
8578 java/nio/channels/spi/AbstractSelectableChannel.java added.
8579 * Makefile.in: Regenerated.
8580
8581 2002-09-25 Michael Koch <konqueror@gmx.de>
8582
8583 * java/net/DatagramSocket.java
8584 (DatagramSocket): Exception documentation added.
8585 (bind): Exception documentation added, addded SecurityManager check,
8586 added SocketAddress type check.
8587 (getSoTimeout): Check impl.
8588 (receive): Fix SecurityManager check, check impl, documentation added.
8589 (send): Check channel mode, documentation added.
8590 (connect): New method.
8591 (disconnect): Implemented.
8592 (getLocalSocketAddress): New method.
8593 (getReceiveBufferSize): Check impl.
8594 (setReuseAddress): Check impl.
8595 (getReuseAddress): Check impl.
8596 (setBroadcast): Check impl.
8597 (getBroadcast): Check impl.
8598 (setTrafficClass): Check impl, Documentation cleared.
8599 (getTrafficClass): Check impl.
8600 (getSendBufferSize): Check impl.
8601 (setReceiveBufferSize): Check impl, documentation added.
8602 (setSendBufferSize): Documentation added.
8603 (setDatagramSocketImplFactory): New method.
8604 * java/net/HttpURLConnection.java
8605 (HTTP_INTERNAL_ERROR): The correct code is 500.
8606 (HTTP_NOT_IMPLEMENTED): Added new constant.
8607 (setFollowRedirects): Documentation added.
8608 (getInstanceFollowRedirects): New method.
8609 (setInstanceFollowRedirects): New method.
8610 (setRequestMethod): Documentation added.
8611 (getResponseCode): Documentation added.
8612 (getResponseMessage): Documentation added.
8613 * java/net/JarURLConnection.java
8614 (JarURLConnection): protected since JDK 1.4.
8615 (getJarEntry): java.io.IOException to IOException, documentation added.
8616 (getJarFile): Documentation added.
8617 * java/net/ServerSocket.java
8618 (ServerSocket): Private to public, exception added.
8619 (ServerSocket): java.io.IOException to IOException, documentation added.
8620 (bind): Check socket address type, documentation added.
8621 (bind): java.io.IOException to IOException, documentation added.
8622 (accept): Documentation added.
8623 (implAccept): Check ch is not non-blocking, documentation added.
8624 (setSoTimeout): Documentation fixed.
8625 (setReceiveBufferSize): Documentation added.
8626 * java/net/Socket.java
8627 (Socket): Documentation added.
8628 (bind): Documentation added.
8629 (connect): Check socket address type, documentation added.
8630 (getRemoteSocketAddress): New method.
8631 (getLocalSocketAddress): New method.
8632 (setSoLinger): Documentation added.
8633 (getReuseAddress): New method.
8634 (setReuseAddress): New method.
8635 (getTrafficClass): New method.
8636 (setTrafficClass): New method.
8637 * java/net/URLStreamHandler.java
8638 (openConnection): java.io.IOException to IOException.
8639 (parseURL): Documentation added.
8640 (sameFile): public to protected, documentation added.
8641 (setURL): Documentation added.
8642 * java/nio/IllegalBlockingModeException.java: New file.
8643 * Makefile.am (ordinary_java_source_files):
8644 added java/nio/IllegalBlockingModeException.java
8645 * Makefile.in: Regenerated.
8646
8647 2002-09-25 Michael Koch <konqueror@gmx.de>
8648
8649 * java/net/DatagramPacket
8650 (DatagramPacket): Exception documentation added.
8651 (setData): Likewise.
8652 (setSocketAddress): Likewise.
8653 * java/net/DatagramSocketImpl.java
8654 (peek): Documentation addded.
8655 (peekData): Documentation addded.
8656 (send): Documentation addded.
8657 (receive): Documentation addded.
8658 (connect): New method.
8659 (disconnect): New method.
8660 (joinGroup): New abstract method.
8661 (leaveGroup): New abstract method.
8662 * java/net/InetSocketAddress.java
8663 (InetSocketAddress): Documentation added.
8664 (equals): final keyword added.
8665 (getAddress): final keyword added.
8666 (getHostName): final keyword added.
8667 (getPort): final keyword added.
8668 (hashCode): final keyword added.
8669 (isUnresolved): final keyword added.
8670 * java/net/MulticastSocket.java
8671 (MulticastSocket): Documentation added.
8672 (MulticastSocket): New method.
8673 (joinGroup): Documentation added.
8674 (joinGroup): New method.
8675 (leaveGroup): Documentation added.
8676 (leaveGroup): New method.
8677 (send): Documentation added.
8678 * java/net/NetworkInterface.java
8679 (getByName): Documentation added.
8680 (getByInetAddress): Documentation added.
8681 (getNetworkInterfaces): Documentation added.
8682 * java/net/PlainDatagramSocketImpl.java
8683 (connect): New method.
8684 (disconnect): New method.
8685 * java/net/SocketImpl.java
8686 (create): Documentation added.
8687 (shutdownInput): Convert public to protected, as it always was.
8688 (shutdownOutput): Convert public to protected, as it always was.
8689 * java/net/SocketOptions.java
8690 (whole file): Reintented.
8691 * java/net/URLClassLoader.java
8692 (URLClassLoader): SecurityManager check added, documentation added.
8693 (findResources): Documentation added.
8694 (findClass): Documentation added.
8695 (newInstance): More correct method arguments.
8696 * java/net/URLConnection.java
8697 (connect): Documentation added.
8698 (getContent): Documentation added.
8699 (getPermission): Documentation added.
8700 (getInputStream): Documentation added.
8701 (getOutputStream): Documentation added.
8702 (setDoInput): Throw correct exception, documentation added.
8703 (setDoOutput): Throw correct exception, documentation added.
8704 (setAllowUserInteraction): Throw correct exception, documentation added.
8705 (setUseCaches): Throw correct exception, documentation added.
8706 (setIfModifiedSince): Throw correct exception, documentation added.
8707 (setRequestProperty): Throw exception, documentation added.
8708 (addRequestProperty): Throw exception, documentation added.
8709 (getRequestProperty): Throw exception, documentation added.
8710 (getRequestProperties): Documentation added.
8711 (setContentHandlerFactory): Documentation added.
8712 (guessContentTypeFromName): protected to public.
8713 (setFileNameMap): Documentation added.
8714 * java/net/URLDecoder.java
8715 (URLDecoder): New method.
8716 (decode): Documentation added.
8717 (whole file): Reindented.
8718 * java/net/URLEncoder.java
8719 (encode): Documentation added.
8720 * java/net/natPlainDatagramSocketImpl.cc
8721 (connect): New method.
8722 (disconnect): New method.
8723 * javax/naming/RefAddr:
8724 (addrType): addrType was never final.
8725 (equals): Fix typo in method name.
8726 * javax/naming/BinaryRefAddr:
8727 (equals): Fix typo in method name.
8728
8729 2002-09-22 Tom Tromey <tromey@redhat.com>
8730
8731 Fix for PR libgcj/6576:
8732 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8733 didn't find a given bundle.
8734 (getBundle): Don't require base bundle.
8735 (setParent): Removed old comment.
8736 (tryLocalBundle): Try components even if preceding components were
8737 empty.
8738
8739 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8740
8741 * Makefile.am (all-multi): Fix multilib parallel build.
8742
8743 2002-09-21 Michael Koch <konqueror@gmx.de>
8744
8745 * java/net/Socket.java
8746 (sendUrgentData): New method.
8747 (getChannel): New method.
8748 * java/net/ServerSocket.java
8749 (getChannel): New method.
8750 (isBound): New method.
8751 * java/net/DatagramSocket.java
8752 (DatagramSocket): Two new methods.
8753 (bind): New method.
8754 (getChannel): New method.
8755 (isBound): New method.
8756 (send): Added newline to to make shorter lines.
8757 * java/net/PlainDatagramSocketImpl.java
8758 (mcastGrp): Added argument.
8759 (join): Use new mcastGrp.
8760 (leave): Use new mcastGrp.
8761 (joinGroup): New method.
8762 (leaveGroup): New method.
8763 * java/net/natPlainDatagramSocketImpl.cc
8764 (mcastGrp): Added argument, no yet really implemented.
8765 (getOption): Added newline for shorter lines.
8766 * java/net/natPlainSocketImpl.cc
8767 (read, setOption, getOption): Added newline for shorter lines.
8768
8769 2002-09-19 Tom Tromey <tromey@redhat.com>
8770
8771 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8772 newly-created exception.
8773
8774 2002-09-18 Michael Koch <konqueror@gmx.de>
8775
8776 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8777 java/util/regex/PatternSyntaxException.java:
8778 Merge with classpath, new files.
8779 * Makefile.am (core_java_source_files):
8780 Added java/util/regex/Matcher.java,
8781 java/util/regex/Pattern.java,
8782 java/util/regex/PatternSyntaxException.java
8783 * Makefile.in: Regenerated.
8784 * include/config.h.in: Added HAVE_NET_IF_H.
8785 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8786 Removed #if 0 ... #endif.
8787
8788 2002-09-17 Michael Koch <konqueror@gmx.de>
8789
8790 * java/net/natNetworkInterface.cc:
8791 Removed unneed and yet wrong includes.
8792
8793 2002-09-17 Michael Koch <konqueror@gmx.de>
8794
8795 * java/net/NetworkInterface.java: New file.
8796 * java/net/natNetworkInterface.java: New file.
8797 * configure.in: Added check for net/if.h.
8798 * configure: Regenerated.
8799 * Makefile.am
8800 (ordinary_java_source_files): Added NetworkInterface.java.
8801 (nat_source_files): Added natNetworkInterface.cc.
8802 * Makefile.in: Regenerated.
8803
8804 2002-09-16 Tom Tromey <tromey@redhat.com>
8805
8806 * java/net/URLClassLoader.java (findClass): Code source for a
8807 class from a jar is not necessarily a jar: URL.
8808
8809 2002-09-16 Michael Koch <konqueror@gmx.de>
8810
8811 * java/lang/AssertionError.java:
8812 Merge with classpath, fixes HTML.
8813 * java/rmi/server/LogStream.java:
8814 Merge with classpath, fixes some constants.
8815 * java/net/server/RemoteServer.java:
8816 Merge with classpath, adds serialVersionUID.
8817 * javax/naming/BinaryRefAddr.java:
8818 Merge with classpath, s/equal/equals/.
8819 * javax/naming/NamingException.java:
8820 Merge with classpath, fixed typo.
8821 * javax/naming/RefAddr.java:
8822 Merge with classpath, s/equal/equals/.
8823 * java/awt/Toolkit.java:
8824 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8825 and typo fixed.
8826
8827 2002-09-15 Adam Megacz <adam@xwt.org>
8828
8829 * java/net/natPlainSocketImpl.cc: fixed typo.
8830
8831 2002-09-15 Adam Megacz <adam@xwt.org>
8832
8833 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8834 which don't work on Win32 (yet).
8835
8836 2002-09-14 Adam Megacz <adam@xwt.org>
8837
8838 * java/net/natPlainDatagramSocket.cc: removed #include
8839 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8840 * include/win32.h: included definition for IP_TOS to satisfy
8841 natPlainDatagramSocket.cc
8842
8843 2002-09-13 Michael Koch <konqueror@gmx.de>
8844
8845 * java/net/DatagramPacket.java (DatagramPacket):
8846 Added linebreak for 80 chars per line.
8847 * java/net/JarURLConection.java
8848 (getInputStreami, getJarEntry): Likewise.
8849 * java/net/SocketPErmission.java
8850 (SocketPermission class docu, implies): Likewise.
8851 * java/net/URLClassLoader.java (findResources): Likewise.
8852 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8853
8854 2002-09-13 Michael Koch <konqueror@gmx.de>
8855
8856 * java/nio/channels/DatagramChannel.java,
8857 java/nio/channels/ServerSocketChannel.java
8858 java/nio/channels/SocketChannel.java:
8859 New dummy files to make java.net fully JDK 1.4 compatible
8860 * Makefile.am (ordinary_java_source_files): Added
8861 java/net/DatagramSocketImplFactory.java (long forgotten),
8862 java/nio/SocketChannel.java,
8863 java/nio/ServerSocketChannel.java,
8864 java/nio/DatagramChannel.java
8865 * Makefile.in: Regenrated.
8866
8867 2002-09-12 Michael Koch <konqueror@gmx.de>
8868
8869 * java/net/DatagramSocketImpl.java
8870 (peekData): New method.
8871 * java/net/PlainDatagramSocketImpl.java
8872 (peekData): New method.
8873 * java/net/natPlainDatagramSocketImpl.cc
8874 (peekData): New method.
8875 * java/net/URLConnection
8876 (getPermission): New method.
8877 (addRequestProperty): New method.
8878 (getRequestProperties): New method.
8879 (guessContentTypeFromStream): New method, not really implemented.
8880 (URLConnection): Added/updated documentation.
8881 (connect): Added/updated documentation.
8882 (getURL): Added/updated documentation.
8883 (getContentLength): Added/updated documentation.
8884 (getContentType: Added/updated documentation.
8885 (getContentEncoding): Added/updated documentation.
8886 (getExpiration): Added/updated documentation.
8887 (getDate): Added/updated documentation.
8888 (getLastModified): Added/updated documentation.
8889 (getHeaderField): Added/updated documentation.
8890 (getHeaderFields): Added/updated documentation.
8891 (getHeaderFieldInt): Added/updated documentation.
8892 (getHeaderFieldDate): Added/updated documentation.
8893 (getHeaderFieldKey): Added/updated documentation.
8894 (getContent): Added/updated documentation.
8895 (getInputStream): Added/updated documentation.
8896 (getOutputStream): Added/updated documentation.
8897 (toString): Added/updated documentation.
8898 (setDoInput): Added/updated documentation.
8899 (getDoInput): Added/updated documentation.
8900 (setDoOutput): Added/updated documentation.
8901 (getDoOutput): Added/updated documentation.
8902 (setAllowUserInteraction): Added/updated documentation.
8903 (getAllowUserInteraction): Added/updated documentation.
8904 (setDefaultAllowUserInteraction): Added/updated documentation.
8905 (getDefaultAllowUserInteraction): Added/updated documentation.
8906 (setUseCaches): Added/updated documentation.
8907 (getUseCaches): Added/updated documentation.
8908 (setIfModifiedSince): Added/updated documentation.
8909 (getIfModifiedSince): Added/updated documentation.
8910 (getDefaultUseCaches): Added/updated documentation.
8911 (setDefaultUseCaches): Added/updated documentation.
8912 (setRequestProperty): Added/updated documentation.
8913 (getRequestProperty): Added/updated documentation.
8914 (setDefaultRequestProperty): Added/updated documentation.
8915 (getDefaultRequestProperty): Added/updated documentation.
8916 (setContentHandlerFactory): Added/updated documentation.
8917 (guessContentTypeFromName): Added/updated documentation.
8918 (getFileNameMap): Added/updated documentation.
8919 (setFileNameMap): Added/updated documentation.
8920
8921 2002-09-11 Michael Koch <konqueror@gmx.de>
8922
8923 * java/net/Socket.java
8924 (Socket): protected to public (since JDK 1.4). Added @specnote.
8925 (bind): New method.
8926 (connect): Two new methods.
8927 (getKeepalive): Get correct socket option.
8928 (setKeepalive): Set correct socket option.
8929 (getOOBInline): New method.
8930 (setOOBInline): New method.
8931 * java/net/ServerSocket.java
8932 (bind): Two new methods.
8933 (getInetAddress): Reimplemented, catch exception.
8934 (getLocalSocketAddress): New method.
8935 (setReuseAddress): New method.
8936 (getReuseAdress): New method.
8937 (setReceiveBufferSize): New method.
8938 (getReceiveBufferSize): New method.
8939 (toString): Made string JDK 1.4 compliant.
8940
8941 2002-09-10 Michael Koch <konqueror@gmx.de>
8942
8943 * java/net/SocketImpl.java
8944 (connect): New method.
8945 (supportsUrgentData): New method.
8946 (sendUrgentData): New method.
8947 * java/net/PlainSocketImpl.java
8948 (connect): One new method and two new implementation.
8949 (sendUrgentData): New method.
8950 * java/natPlainSocketImpl.cc
8951 (connect): Arguments changed, added support for timeouts.
8952 (getOption): Another __java_boolean to jboolean.
8953
8954 2002-09-07 Adam Megacz <adam@xwt.org>
8955
8956 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8957 definition of IP_TOS.
8958
8959 2002-09-04 Michael Koch <konqueror@gmx.de>
8960
8961 * java/net/DatagramSocket.java
8962 (DatagramSocket): Added documentation.
8963 (close): Likewise.
8964 (getLocalAddress): Likewise.
8965 (getLocalPort): Likewise.
8966 (receive): Likewise.
8967 (send): Likewise.
8968 (setSoTimeout): Likewise.
8969 (connect): New method.
8970 (disconnect): New method.
8971 (getInetAddress): New method (FIXME)
8972 (getPort): New method.
8973 (setReuseAddress): New method.
8974 (getReuseAddress): New method.
8975 (setBroadcast): New method.
8976 (getBroadcast): New method.
8977 (setTrafficClass): New method.
8978 (getTrafficClass): New method.
8979 * java/net/MulticastSocket.java):
8980 (getTTL): Added @see in documentation.
8981 (setTTL): Added @see in documentation.
8982 (setLoopbackMode): New method.
8983 (getLoopbackMode): New method.
8984 * java/net/PlainSocketImpl.java:
8985 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8986 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8987 * java/net/PlainDatagramSocketImpl.java
8988 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8989 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8990 * java/net/natPlainSocketImpl.cc
8991 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8992 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8993 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8994 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8995 This should also fix SO_KEEPALIVE
8996 * java/net/natPlainDatagramSocketImpl.cc
8997 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8998 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8999 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
9000 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
9001
9002 2002-09-04 Michael Koch <konqueror@gmx.de>
9003
9004 * java/net/SocketOptions.java: added static variables to be JDK 1.4
9005 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
9006 IP_MULTICAST_LOOP, IP_TOS
9007
9008 2002-09-03 Tom Tromey <tromey@redhat.com>
9009
9010 * java/lang/Class.h (_getDeclaredMethod): Declare.
9011 (_getMethod): Now private.
9012 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
9013 getDeclaredMethod. Now returns NULL on failure.
9014 * java/lang/Class.java (_getDeclaredMethod): Declare.
9015 (getDeclaredMethod): No longer native; implements access checks.
9016
9017 2002-09-01 Mark Wielaard <mark@klomp.org>
9018
9019 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
9020 (sanitizeStack): Correctly reset unknown and interpreter counters,
9021 detect interpreter runtime frames.
9022 (demangleInterpreterMethod): New method.
9023 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
9024 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
9025 filling in addrs[].
9026
9027 2002-09-02 Michael Koch <konqueror@gmx.de>
9028
9029 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
9030 re-indented documentation.
9031
9032 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9033
9034 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
9035 public, per 1.4 spec. Fixes PR libgcj/7785.
9036
9037 2002-08-30 Jeff Sturm <jsturm@one-point.com>
9038
9039 * Makefile.in: Rebuilt.
9040 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
9041
9042 2002-08-29 Tom Tromey <tromey@redhat.com>
9043
9044 * java/net/JarURLConnection.java (getCertificates): New method
9045 from Classpath.
9046 * java/net/URLClassLoader.java (URLClassLoader): Extends
9047 SecureClassLoader.
9048 (definePackage): New method from Classpath.
9049 (getPermissions): Likewise.
9050 (newInstance): Likewise.
9051 (findClass): Construct CodeSource for new class (from Classpath).
9052 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
9053 methods.
9054 * java/net/URL.java (getUserInfo): New method.
9055 (set(String,String,int,String,String,String,String,String)): New
9056 method.
9057 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
9058 (shutdownInput, shutdownOutput): Declare.
9059 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
9060 Define.
9061 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
9062 (getOption): Likewise.
9063 (shutdownInput): New method.
9064 (shutdownOutput): Likewise.
9065 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
9066 keepalive.
9067 (getOption): Likewise.
9068 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
9069 * java/net/Socket.java (setKeepAlive): New method.
9070 (getKeepAlive): Likewise.
9071 (shutdownInput, shutdownOutput): New methods.
9072
9073 2002-08-29 Michael Koch <konqueror@gmx.de>
9074
9075 * java/net/DatagramPacket.java: updated to JDK 1.4 API
9076 new methods are:
9077 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
9078 address),
9079 DatagramPacket(byte[] buf, int length, SocketAddress address),
9080 void setSocketAddress(SocketAddress address)
9081 public SocketAddress getSocketAddress()
9082
9083 2002-08-29 Tom Tromey <tromey@redhat.com>
9084
9085 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
9086 ftruncate is missing.
9087 * configure, include/config.h.in: Rebuilt.
9088 * acconfig.h (HAVE_FTRUNCATE): Mention.
9089 * configure.in: Check for ftruncate.
9090
9091 2002-08-29 Tom Tromey <tromey@redhat.com>
9092
9093 * include/jvm.h (struct _Jv_frame_info): New structure.
9094 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
9095 java-interp.h.
9096 (lookupInterp): New method.
9097 (getAddrAsString): Use _Jv_frame_info.
9098 (dladdrLookup): Likewise.
9099 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
9100 interpreted frame.
9101 (lookupInterp): Declare.
9102 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
9103 (fillInStackTrace): Collect information on interpreted frames.
9104 Use _Jv_frame_info.
9105 * interpret.cc: Include Thread.h.
9106 (run): Create and push _Jv_MethodChain object.
9107 (_Jv_EndOfInterpreter): New global.
9108 * java/lang/Thread.java (interp_frame): New field.
9109 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9110 Include NameFinder.h.
9111
9112 2002-08-28 Tom Tromey <tromey@redhat.com>
9113
9114 * java/lang/Class.h: Include Package.h.
9115 (Class::getProtectionDomain): Declare.
9116 (Class::getPackage): Declare.
9117
9118 2002-08-28 Michael Koch <konqueror@gmx.de>
9119
9120 * java/net/InetSocketAddress.java: Added some documentation and argument
9121 checks for the port numbers.
9122 * java/net/DatagramSocketImplFactory.java: New file.
9123
9124 2002-08-28 Michael Koch <konqueror@gmx.de>
9125
9126 * java/net/Authenticator.java: added some documentation.
9127
9128 2002-08-27 Tom Tromey <tromey@redhat.com>
9129
9130 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9131 class.
9132 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9133
9134 2002-08-27 Michael Koch <konqueror@gmx.de>
9135
9136 * java/net/BindException.java,
9137 java/net/JarURLConnection.java,
9138 java/net/FileNameMap.java,
9139 java/net/HttpURLConnection.java,
9140 java/net/InetSocketAddress.java,
9141 java/net/DatagramPacket.java,
9142 java/net/DatagramSocket.java,
9143 java/net/DatagramSocketImpl.java,
9144 java/net/MulticastSocket.java,
9145 java/net/PasswordAuthentication.java,
9146 java/net/ServerSocket.java,
9147 java/net/Socket.java,
9148 java/net/URLClassLoader.java,
9149 java/net/URLConnection.java: add/update of some @since/@deprecated
9150
9151 2002-08-27 Tony Kimball <alk@pobox.com>
9152 Tom Tromey <tromey@redhat.com>
9153
9154 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9155 define.
9156 (::close): Removed.
9157 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9158 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9159 (::close): Removed.
9160 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9161 * include/win32.h (getcwd): Removed declaration. Include io.h.
9162
9163 2002-08-25 Adam Megacz <adam@xwt.org>
9164
9165 * include/win32.h (getcwd): copied function declaration as
9166 temporary fix for header confusion.
9167
9168 2002-08-24 Mark Wielaard <mark@klomp.org>
9169
9170 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9171 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9172 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9173 and natNameFinder.cc.
9174 * Makefile.in: Regenerate.
9175 * prims.cc: Use trace_enabled from VMThrowable.
9176 * name-finder.cc: Removed.
9177 * gcj/javaprims.h: Add class VMThrowable.
9178 * gnu/gcj/runtime/NameFinder.java: New file.
9179 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9180 * include/name-finder.h: Removed.
9181 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9182 method stackTraceString().
9183 (printStackTrace (PrintWriter)): Likewise.
9184 (stackTraceString): Complete rewrite of old printStackTrace using
9185 StringBuffer.
9186 (stackTraceStringBuffer): New helper method for stackTraceString().
9187 (fillInStackTrace): Delegate to VMTrowable.
9188 (getStackTrace): Likewise.
9189 (getStackTrace0): Removed.
9190 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9191 (setStackTrace): Copy given array.
9192 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9193 * java/lang/VMThrowable.java: New class.
9194 * java/lang/natVMThrowable.cc: New file.
9195
9196 2003-08-23 Michael Koch <konqueror@gmx.de>
9197
9198 * java/net/URLConnection.java,
9199 java/netJarURLConnection.java,
9200 gnu/gcj/protocol/core/Connection.java,
9201 gnu/gcj/protocol/file/Connection.java,
9202 gnu/gcj/protocol/http/Connection.java: Added implementation of
9203 getHeaderFields().
9204
9205 2002-08-22 Tom Tromey <tromey@redhat.com>
9206
9207 * gij.cc (help): Document -cp and -classpath.
9208 (main): Handle -classpath.
9209
9210 2002-08-21 Tom Tromey <tromey@redhat.com>
9211
9212 * Makefile.in: Rebuilt.
9213 * Makefile.am (ordinary_java_source_files): Added
9214 SocketAddress.java, InetSocketAddress.java.
9215 * java/net/PortUnreachableException.java: Merged with Classpath.
9216 * java/net/SocketTimeoutException.java: Likewise.
9217 * java/net/URISyntaxException.java: Likewise.
9218 * java/net/SocketAddress.java: New class from Classpath.
9219 * java/net/InetSocketAddress.java: Likewise.
9220
9221 2003-08-21 Michael Koch <konqueror@gmx.de>
9222
9223 * java/net/Authenticator.java: updated JDK 1.4
9224 * java/net/ContentHandler.java: updated JDK 1.4
9225
9226 2002-08-20 Michael Koch <konqueror@gmx.de>
9227
9228 * java/net/URISyntaxException.java: New file.
9229 * java/net/SocketTimeoutException.java: New file.
9230 * java/net/PortUnreachableException.java: New file.
9231 * Makefile.am: Updated.
9232 * Makefile.in: Rebuilt.
9233
9234 2002-08-18 Mark Wielaard <mark@klomp.org>
9235
9236 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9237 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9238 MessageDigestSpi (fixes Classpath bug #783).
9239
9240 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9241
9242 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9243 (startProcess): Allocate path for chdir in async-signal-safe way.
9244
9245 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9246
9247 Fix for PR libgcj/7570 and PR libgcj/7578:
9248 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9249 (startProcess): Handle new `dir' argument.
9250 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9251 argument.
9252 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9253 argument.
9254 (startProcess): Likewise.
9255 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9256 argument.
9257 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9258 (exec): Don't create new environment if ENV==null. Pass DIR to
9259 execInternal.
9260 * java/lang/natRuntime.cc: Include java/io/File.h.
9261 (execInternal): Added `dir' argument.
9262
9263 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9264
9265 * java/io/RandomAccessFile.java (skipBytes): Return number of
9266 bytes skipped.
9267
9268 2002-08-01 Mark Wielaard <mark@klomp.org>
9269
9270 Reenable patch since shared library troubles on powerpc are solved:
9271 * gnu/java/security/provider/Gnu.java: Reference all implementation
9272 classes by using Class.getName().
9273 * gnu/java/security/der/DEREncodingException.java,
9274 gnu/java/security/provider/DERReader.java,
9275 gnu/java/security/provider/DERWriter.java,
9276 gnu/java/security/provider/DSAKeyPairGenerator.java,
9277 gnu/java/security/provider/DSAParameterGenerator.java,
9278 gnu/java/security/provider/DSAParameters.java,
9279 gnu/java/security/provider/DSASignature.java,
9280 gnu/java/security/provider/GnuDSAPrivateKey.java,
9281 gnu/java/security/provider/GnuDSAPublicKey.java,
9282 gnu/java/security/provider/MD5.java,
9283 gnu/java/security/util/Prime.java: New classes
9284 * Makefile.am (ordinary_java_source_files): Add above files.
9285 * Makefile.in: Regenerate.
9286 * gnu/java/security/provider/DefaultPolicy.java
9287 (getPermissions): Don't maintain static class variable of Permissions.
9288 * gnu/java/security/provider/SHA.java
9289 (engineUpdate): algorithm change.
9290 (engineDigest): algorithm change.
9291
9292 2002-08-09 Mark Wielaard <mark@klomp.org>
9293
9294 * java/awt/image/MemoryImageSource.java: Change constructor to take
9295 int[] not byte[].
9296 * java/awt/Graphics2D.java: Uncomment methods that can now be
9297 compiled.
9298 * java/awt/GridBagLayout.java: New stub implementation.
9299 * javax/swing/text/html/HTML.java: Stub implementation.
9300 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9301 implementation.
9302
9303 * Makefile.am: Add new files.
9304 * Makefile.in: Rebuilt.
9305
9306 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9307
9308 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9309 methods in Graphics2D.
9310
9311 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9312
9313 AWT/Swing merge from GNU Classpath.
9314
9315 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9316 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9317 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9318 java/awt/color/ProfileDataException.java,
9319 java/awt/CompositeContext.java, java/awt/Composite.java,
9320 java/awt/ContainerOrderFocusTraversalPolicy.java,
9321 java/awt/datatransfer/FlavorTable.java,
9322 java/awt/DefaultFocusTraversalPolicy.java,
9323 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9324 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9325 java/awt/dnd/DragGestureListener.java,
9326 java/awt/dnd/DragGestureRecognizer.java,
9327 java/awt/dnd/DragSourceAdapter.java,
9328 java/awt/dnd/DragSourceContext.java,
9329 java/awt/dnd/DragSourceDragEvent.java,
9330 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9331 java/awt/dnd/DragSourceListener.java,
9332 java/awt/dnd/DragSourceMotionListener.java,
9333 java/awt/dnd/DropTarget.java,
9334 java/awt/dnd/InvalidDnDOperationException.java,
9335 java/awt/dnd/peer/DragSourceContextPeer.java,
9336 java/awt/event/AWTEventListenerProxy.java,
9337 java/awt/event/MouseWheelEvent.java,
9338 java/awt/event/MouseWheelListener.java,
9339 java/awt/event/WindowFocusListener.java,
9340 java/awt/event/WindowStateListener.java,
9341 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9342 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9343 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9344 java/awt/geom/FlatteningPathIterator.java,
9345 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9346 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9347 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9348 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9349 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9350 java/awt/image/ImagingOpException.java,
9351 java/awt/image/RasterFormatException.java,
9352 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9353 java/awt/image/VolatileImage.java,
9354 java/awt/image/WritableRenderedImage.java,
9355 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9356 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9357 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9358 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9359 java/awt/PageAttributes.java, java/awt/print/Book.java,
9360 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9361 java/awt/print/Paper.java, java/awt/print/Printable.java,
9362 java/awt/print/PrinterAbortException.java,
9363 java/awt/print/PrinterException.java,
9364 java/awt/print/PrinterGraphics.java,
9365 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9366 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9367 java/awt/Stroke.java, java/awt/TexturePaint.java,
9368 javax/accessibility/AccessibleAction.java,
9369 javax/accessibility/AccessibleBundle.java,
9370 javax/accessibility/AccessibleComponent.java,
9371 javax/accessibility/AccessibleContext.java,
9372 javax/accessibility/AccessibleEditableText.java,
9373 javax/accessibility/AccessibleExtendedComponent.java,
9374 javax/accessibility/AccessibleExtendedTable.java,
9375 javax/accessibility/AccessibleHyperlink.java,
9376 javax/accessibility/AccessibleHypertext.java,
9377 javax/accessibility/AccessibleIcon.java,
9378 javax/accessibility/Accessible.java,
9379 javax/accessibility/AccessibleKeyBinding.java,
9380 javax/accessibility/AccessibleRelation.java,
9381 javax/accessibility/AccessibleRelationSet.java,
9382 javax/accessibility/AccessibleResourceBundle.java,
9383 javax/accessibility/AccessibleRole.java,
9384 javax/accessibility/AccessibleSelection.java,
9385 javax/accessibility/AccessibleState.java,
9386 javax/accessibility/AccessibleStateSet.java,
9387 javax/accessibility/AccessibleTable.java,
9388 javax/accessibility/AccessibleTableModelChange.java,
9389 javax/accessibility/AccessibleText.java,
9390 javax/accessibility/AccessibleValue.java,
9391 javax/swing/AbstractAction.java,
9392 javax/swing/AbstractButton.java,
9393 javax/swing/AbstractCellEditor.java,
9394 javax/swing/AbstractListModel.java,
9395 javax/swing/AbstractSet.java, javax/swing/Action.java,
9396 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9397 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9398 javax/swing/border/CompoundBorder.java,
9399 javax/swing/border/EmptyBorder.java,
9400 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9401 javax/swing/border/LineBorder.java,
9402 javax/swing/border/MatteBorder.java,
9403 javax/swing/border/TitledBorder.java,
9404 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9405 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9406 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9407 javax/swing/CellRendererPane.java,
9408 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9409 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9410 javax/swing/colorchooser/ColorSelectionModel.java,
9411 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9412 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9413 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9414 javax/swing/DefaultBoundedRangeModel.java,
9415 javax/swing/DefaultButtonModel.java,
9416 javax/swing/DefaultCellEditor.java,
9417 javax/swing/DefaultCellRenderer.java,
9418 javax/swing/DefaultComboBoxModel.java,
9419 javax/swing/DefaultDesktopManager.java,
9420 javax/swing/DefaultFocusManager.java,
9421 javax/swing/DefaultListCellRenderer.java,
9422 javax/swing/DefaultListModel.java,
9423 javax/swing/DefaultListSelectionModel.java,
9424 javax/swing/DefaultSingleSelectionModel.java,
9425 javax/swing/DesktopManager.java,
9426 javax/swing/event/AncestorEvent.java,
9427 javax/swing/event/AncestorListener.java,
9428 javax/swing/event/CaretEvent.java,
9429 javax/swing/event/CaretListener.java,
9430 javax/swing/event/CellEditorListener.java,
9431 javax/swing/event/ChangeEvent.java,
9432 javax/swing/event/ChangeListener.java,
9433 javax/swing/event/DocumentEvent.java,
9434 javax/swing/event/DocumentListener.java,
9435 javax/swing/event/EventListenerList.java,
9436 javax/swing/event/HyperlinkEvent.java,
9437 javax/swing/event/HyperlinkListener.java,
9438 javax/swing/event/InternalFrameAdapter.java,
9439 javax/swing/event/InternalFrameEvent.java,
9440 javax/swing/event/InternalFrameListener.java,
9441 javax/swing/event/ListDataEvent.java,
9442 javax/swing/event/ListDataListener.java,
9443 javax/swing/event/ListSelectionEvent.java,
9444 javax/swing/event/ListSelectionListener.java,
9445 javax/swing/event/MenuDragMouseEvent.java,
9446 javax/swing/event/MenuDragMouseListener.java,
9447 javax/swing/event/MenuEvent.java,
9448 javax/swing/event/MenuKeyEvent.java,
9449 javax/swing/event/MenuKeyListener.java,
9450 javax/swing/event/MenuListener.java,
9451 javax/swing/event/MouseInputAdapter.java,
9452 javax/swing/event/MouseInputListener.java,
9453 javax/swing/event/PopupMenuEvent.java,
9454 javax/swing/event/PopupMenuListener.java,
9455 javax/swing/event/SwingPropertyChangeSupport.java,
9456 javax/swing/event/TableColumnModelEvent.java,
9457 javax/swing/event/TableColumnModelListener.java,
9458 javax/swing/event/TableModelEvent.java,
9459 javax/swing/event/TableModelListener.java,
9460 javax/swing/event/TreeExpansionEvent.java,
9461 javax/swing/event/TreeExpansionListener.java,
9462 javax/swing/event/TreeModelEvent.java,
9463 javax/swing/event/TreeModelListener.java,
9464 javax/swing/event/TreeSelectionEvent.java,
9465 javax/swing/event/TreeSelectionListener.java,
9466 javax/swing/event/TreeWillExpandListener.java,
9467 javax/swing/event/UndoableEditEvent.java,
9468 javax/swing/event/UndoableEditListener.java,
9469 javax/swing/filechooser/FileFilter.java,
9470 javax/swing/filechooser/FileSystemView.java,
9471 javax/swing/filechooser/FileView.java,
9472 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9473 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9474 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9475 javax/swing/JApplet.java, javax/swing/JButton.java,
9476 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9477 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9478 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9479 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9480 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9481 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9482 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9483 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9484 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9485 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9486 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9487 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9488 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9489 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9490 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9491 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9492 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9493 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9494 javax/swing/JToolTip.java, javax/swing/JTree.java,
9495 javax/swing/JViewport.java, javax/swing/JWindow.java,
9496 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9497 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9498 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9499 javax/swing/MenuSelectionManager.java,
9500 javax/swing/MutableComboBoxModel.java,
9501 javax/swing/OverlayLayout.java,
9502 javax/swing/plaf/ActionMapUIResource.java,
9503 javax/swing/plaf/basic/BasicBorders.java,
9504 javax/swing/plaf/basic/BasicButtonUI.java,
9505 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9506 javax/swing/plaf/basic/BasicDefaults.java,
9507 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9508 javax/swing/plaf/basic/BasicIconFactory.java,
9509 javax/swing/plaf/basic/BasicLabelUI.java,
9510 javax/swing/plaf/basic/BasicListUI.java,
9511 javax/swing/plaf/basic/BasicLookAndFeel.java,
9512 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9513 javax/swing/plaf/basic/BasicPanelUI.java,
9514 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9515 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9516 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9517 javax/swing/plaf/basic/BasicTextUI.java,
9518 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9519 javax/swing/plaf/basic/BasicTreeUI.java,
9520 javax/swing/plaf/basic/BasicViewportUI.java,
9521 javax/swing/plaf/BorderUIResource.java,
9522 javax/swing/plaf/ButtonUI.java,
9523 javax/swing/plaf/ColorChooserUI.java,
9524 javax/swing/plaf/ColorUIResource.java,
9525 javax/swing/plaf/ComboBoxUI.java,
9526 javax/swing/plaf/ComponentInputMapUIResource.java,
9527 javax/swing/plaf/ComponentUI.java,
9528 javax/swing/plaf/DesktopIconUI.java,
9529 javax/swing/plaf/DesktopPaneUI.java,
9530 javax/swing/plaf/DimensionUIResource.java,
9531 javax/swing/plaf/FileChooserUI.java,
9532 javax/swing/plaf/FontUIResource.java,
9533 javax/swing/plaf/IconUIResource.java,
9534 javax/swing/plaf/InputMapUIResource.java,
9535 javax/swing/plaf/InsetsUIResource.java,
9536 javax/swing/plaf/InternalFrameUI.java,
9537 javax/swing/plaf/LabelUI.java,
9538 javax/swing/plaf/ListUI.java,
9539 javax/swing/plaf/MenuBarUI.java,
9540 javax/swing/plaf/MenuItemUI.java,
9541 javax/swing/plaf/OptionPaneUI.java,
9542 javax/swing/plaf/PanelUI.java,
9543 javax/swing/plaf/PopupMenuUI.java,
9544 javax/swing/plaf/ProgressBarUI.java,
9545 javax/swing/plaf/RootPaneUI.java,
9546 javax/swing/plaf/ScrollBarUI.java,
9547 javax/swing/plaf/ScrollPaneUI.java,
9548 javax/swing/plaf/SeparatorUI.java,
9549 javax/swing/plaf/SliderUI.java,
9550 javax/swing/plaf/SplitPaneUI.java,
9551 javax/swing/plaf/TabbedPaneUI.java,
9552 javax/swing/plaf/TableHeaderUI.java,
9553 javax/swing/plaf/TableUI.java,
9554 javax/swing/plaf/TextUI.java,
9555 javax/swing/plaf/ToolBarUI.java,
9556 javax/swing/plaf/ToolTipUI.java,
9557 javax/swing/plaf/TreeUI.java,
9558 javax/swing/plaf/UIResource.java,
9559 javax/swing/plaf/ViewportUI.java,
9560 javax/swing/ProgressMonitorInputStream.java,
9561 javax/swing/ProgressMonitor.java,
9562 javax/swing/Renderer.java,
9563 javax/swing/RepaintManager.java,
9564 javax/swing/RootPaneContainer.java,
9565 javax/swing/Scrollable.java,
9566 javax/swing/ScrollPaneConstants.java,
9567 javax/swing/ScrollPaneLayout.java,
9568 javax/swing/SingleSelectionModel.java,
9569 javax/swing/SizeRequirements.java,
9570 javax/swing/SizeSequence.java,
9571 javax/swing/SwingConstants.java,
9572 javax/swing/SwingUtilities.java,
9573 javax/swing/table/AbstractTableModel.java,
9574 javax/swing/table/DefaultTableCellRenderer.java,
9575 javax/swing/table/DefaultTableColumnModel.java,
9576 javax/swing/table/DefaultTableModel.java,
9577 javax/swing/table/TableCellEditor.java,
9578 javax/swing/table/TableCellRenderer.java,
9579 javax/swing/table/TableColumn.java,
9580 javax/swing/table/TableColumnModel.java,
9581 javax/swing/table/TableModel.java,
9582 javax/swing/text/AbstractDocument.java,
9583 javax/swing/text/AttributeSet.java,
9584 javax/swing/text/BadLocationException.java,
9585 javax/swing/text/Caret.java,
9586 javax/swing/text/CharacterIterator.java,
9587 javax/swing/text/ComponentView.java,
9588 javax/swing/text/DefaultCaret.java,
9589 javax/swing/text/DefaultEditorKit.java,
9590 javax/swing/text/Document.java,
9591 javax/swing/text/EditorKit.java,
9592 javax/swing/text/Element.java,
9593 javax/swing/text/GapContent.java,
9594 javax/swing/text/JTextComponent.java,
9595 javax/swing/text/Keymap.java,
9596 javax/swing/text/MutableAttributeSet.java,
9597 javax/swing/text/PlainDocument.java,
9598 javax/swing/text/PlainEditorKit.java,
9599 javax/swing/text/Position.java,
9600 javax/swing/text/Segment.java,
9601 javax/swing/text/StyledDocument.java,
9602 javax/swing/text/StyledEditorKit.java,
9603 javax/swing/text/Style.java,
9604 javax/swing/text/TextAction.java,
9605 javax/swing/text/ViewFactory.java,
9606 javax/swing/text/View.java,
9607 javax/swing/Timer.java,
9608 javax/swing/ToggleButtonModel.java,
9609 javax/swing/ToolTipManager.java,
9610 javax/swing/tree/AbstractLayoutCache.java,
9611 javax/swing/tree/DefaultMutableTreeNode.java,
9612 javax/swing/tree/DefaultTreeCellEditor.java,
9613 javax/swing/tree/DefaultTreeCellRenderer.java,
9614 javax/swing/tree/DefaultTreeModel.java,
9615 javax/swing/tree/DefaultTreeSelectionModel.java,
9616 javax/swing/tree/ExpandVetoException.java,
9617 javax/swing/tree/FixedHeightLayoutCache.java,
9618 javax/swing/tree/MutableTreeNode.java,
9619 javax/swing/tree/RowMapper.java,
9620 javax/swing/tree/TreeCellEditor.java,
9621 javax/swing/tree/TreeCellRenderer.java,
9622 javax/swing/tree/TreeModel.java,
9623 javax/swing/tree/TreeNode.java,
9624 javax/swing/tree/TreePath.java,
9625 javax/swing/tree/TreeSelectionModel.java,
9626 javax/swing/tree/VariableHeightLayoutCache.java,
9627 javax/swing/UIDefaults.java,
9628 javax/swing/UIManager.java,
9629 javax/swing/undo/AbstractUndoableEdit.java,
9630 javax/swing/undo/CannotRedoException.java,
9631 javax/swing/undo/CannotUndoException.java,
9632 javax/swing/undo/CompoundEdit.java,
9633 javax/swing/undo/StateEditable.java,
9634 javax/swing/undo/StateEdit.java,
9635 javax/swing/undo/UndoableEdit.java,
9636 javax/swing/undo/UndoableEditSupport.java,
9637 javax/swing/undo/UndoManager.java,
9638 javax/swing/UnsupportedLookAndFeelException.java,
9639 javax/swing/ViewportLayout.java,
9640 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9641
9642 * java/awt/ActiveEvent.java,
9643 java/awt/Adjustable.java, java/awt/AWTError.java,
9644 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9645 java/awt/AWTException.java, java/awt/AWTPermission.java,
9646 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9647 java/awt/Color.java, java/awt/Component.java,
9648 java/awt/ComponentOrientation.java, java/awt/Container.java,
9649 java/awt/datatransfer/MimeTypeParseException.java,
9650 java/awt/datatransfer/Transferable.java,
9651 java/awt/datatransfer/UnsupportedFlavorException.java,
9652 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9653 java/awt/event/ActionListener.java,
9654 java/awt/event/AdjustmentEvent.java,
9655 java/awt/event/AdjustmentListener.java,
9656 java/awt/event/AWTEventListener.java,
9657 java/awt/event/ComponentAdapter.java,
9658 java/awt/event/ComponentEvent.java,
9659 java/awt/event/ComponentListener.java,
9660 java/awt/event/ContainerAdapter.java,
9661 java/awt/event/ContainerEvent.java,
9662 java/awt/event/ContainerListener.java,
9663 java/awt/event/FocusAdapter.java,
9664 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9665 java/awt/event/HierarchyBoundsAdapter.java,
9666 java/awt/event/HierarchyBoundsListener.java,
9667 java/awt/event/HierarchyEvent.java,
9668 java/awt/event/HierarchyListener.java,
9669 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9670 java/awt/event/InputMethodListener.java,
9671 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9672 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9673 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9674 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9675 java/awt/event/MouseListener.java,
9676 java/awt/event/MouseMotionAdapter.java,
9677 java/awt/event/MouseMotionListener.java,
9678 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9679 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9680 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9681 java/awt/event/WindowListener.java, java/awt/Font.java,
9682 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9683 java/awt/geom/Ellipse2D.java,
9684 java/awt/geom/IllegalPathStateException.java,
9685 java/awt/geom/Line2D.java,
9686 java/awt/geom/NoninvertibleTransformException.java,
9687 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9688 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9689 java/awt/geom/RoundRectangle2D.java,
9690 java/awt/GraphicsConfiguration.java,
9691 java/awt/IllegalComponentStateException.java,
9692 java/awt/image/IndexColorModel.java,
9693 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9694 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9695 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9696 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9697 java/awt/MenuItem.java, java/awt/PaintContext.java,
9698 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9699 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9700 java/awt/PrintJob.java, java/awt/Rectangle.java,
9701 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9702 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9703 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9704
9705 * java/awt/im/spi/InputMethod.java,
9706 java/awt/im/spi/InputMethodContext.java,
9707 java/awt/im/spi/InputMethodDescriptor.java,
9708 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9709 java/awt/image/renderable/ParameterBlock.java,
9710 java/awt/image/renderable/RenderContext.java,
9711 java/awt/image/renderable/RenderableImage.java,
9712 java/awt/image/renderable/RenderableImageOp.java,
9713 java/awt/image/renderable/RenderableImageProducer.java,
9714 java/awt/image/renderable/RenderedImageFactory.java: New files from
9715 classpath.
9716
9717 * gnu/java/awt/EventModifier.java,
9718 gnu/java/awt/image/ImageDecoder.java,
9719 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9720
9721 * gnu/awt/xlib/XGraphicsConfiguration.java,
9722 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9723 API.
9724
9725 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9726 GNU Classpath.
9727
9728 * Makefile.am: Add new files.
9729 * Makefile.in: Rebuilt.
9730
9731 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9732
9733 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9734 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9735 findResource, getResources, findResources): Add javadoc from classpath.
9736 (getSystemResources): Implemented.
9737
9738 2002-08-01 Mark Wielaard <mark@klomp.org>
9739
9740 Revert patch that breaks libgcj shared library on powerpc:
9741 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9742 implementation classes by using Class.getName(). Uses Strings again.
9743 * gnu/java/security/der/DEREncodingException.java,
9744 gnu/java/security/provider/DERReader.java,
9745 gnu/java/security/provider/DERWriter.java,
9746 gnu/java/security/provider/DSAKeyPairGenerator.java,
9747 gnu/java/security/provider/DSAParameterGenerator.java,
9748 gnu/java/security/provider/DSAParameters.java,
9749 gnu/java/security/provider/DSASignature.java,
9750 gnu/java/security/provider/GnuDSAPrivateKey.java,
9751 gnu/java/security/provider/GnuDSAPublicKey.java,
9752 gnu/java/security/provider/MD5.java,
9753 gnu/java/security/util/Prime.java: Removed.
9754 * Makefile.am (ordinary_java_source_files): Remove above files.
9755 * Makefile.in: Regenerate.
9756 * gnu/java/security/provider/DefaultPolicy.java
9757 (getPermissions): Revert to maintaining static class variable of
9758 Permissions.
9759 * gnu/java/security/provider/SHA.java
9760 (engineUpdate): Revert algorithm change.
9761 (engineDigest): Revert algorithm change.
9762
9763 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9764
9765 * configure.host: Add SH support.
9766 * sysdep/sh/locks.h: New file.
9767
9768 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9769
9770 * java/awt/Frame.java (Frame): Remove println calls.
9771
9772 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9773
9774 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9775 * configure: Rebuilt.
9776
9777 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9778
9779 * sysdep/powerpc/locks.h: Formatting.
9780 (_LARX): Define.
9781 (_STCX): Define.
9782 (compare_and_swap): Use _LARX and _STCX.
9783 (compare_and_swap_release): Likewise.
9784
9785 2002-07-26 Tom Tromey <tromey@redhat.com>
9786
9787 * java/net/Authenticator.java: New version from Classpath.
9788 * java/net/DatagramSocketImpl.java: New version from Classpath.
9789
9790 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9791
9792 * configure.host: Add powerpc64*-* entry.
9793
9794 2002-07-26 Tom Tromey <tromey@redhat.com>
9795
9796 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9797 fcntl.h.
9798
9799 2002-07-24 Tom Tromey <tromey@redhat.com>
9800
9801 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9802 argument to _load.
9803
9804 2002-07-24 Tom Tromey <tromey@redhat.com>
9805 Tony Kimball <alk@pobox.com>
9806
9807 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9808 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9809 * java/io/RandomAccessFile.java (setLength): New method.
9810 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9811 * java/io/FileDescriptor.java (setLength): New method.
9812
9813 2002-07-24 Mark Wielaard <mark@klomp.org>
9814
9815 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9816 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9817 field call setAccessible(true).
9818 (setByteField): Likewise.
9819 (setCharField): Likewise.
9820 (setDoubleField): Likewise.
9821 (setFloatField): Likewise.
9822 (setIntField): Likewise.
9823 (setLongField): Likewise.
9824 (setShortField): Likewise.
9825 (setObjectField): Likewise.
9826
9827 2002-07-24 Tom Tromey <tromey@redhat.com>
9828
9829 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9830 use toString() to format array element.
9831
9832 2002-07-23 Mark Wielaard <mark@klomp.org>
9833
9834 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9835 MessageDigestSpi (fixes Classpath bug #783).
9836
9837 2002-07-21 Mark Wielaard <mark@klomp.org>
9838
9839 * gnu/java/security/provider/Gnu.java: Reference all implementation
9840 classes by using Class.getName().
9841
9842 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9843
9844 * java/lang/ieeefp.h: Add x86-64 support.
9845 * configure.in: Likewise.
9846 * configure.host: Likewise.
9847 * configure: Regenerated.
9848 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9849
9850 2002-07-16 Mark Wielaard <mark@klomp.org>
9851
9852 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9853 (whitespaceChars): call resetChar().
9854
9855 2002-07-15 Tom Tromey <tromey@redhat.com>
9856
9857 * Makefile.in: Rebuilt.
9858 * Makefile.am (awt_java_source_files): Added new files.
9859 * java/beans/ExceptionListener.java: Merged with Classpath.
9860 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9861 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9862 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9863 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9864 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9865 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9866 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9867
9868 2002-07-14 Mark Wielaard <mark@klomp.org>
9869
9870 * gnu/java/security/der/DEREncodingException.java,
9871 gnu/java/security/provider/DERReader.java,
9872 gnu/java/security/provider/DERWriter.java,
9873 gnu/java/security/provider/DSAKeyPairGenerator.java,
9874 gnu/java/security/provider/DSAParameterGenerator.java,
9875 gnu/java/security/provider/DSAParameters.java,
9876 gnu/java/security/provider/DSASignature.java,
9877 gnu/java/security/provider/GnuDSAPrivateKey.java,
9878 gnu/java/security/provider/GnuDSAPublicKey.java,
9879 gnu/java/security/provider/MD5.java,
9880 gnu/java/security/util/Prime.java: New files from Classpath.
9881 * Makefile.am (ordinary_java_source_files): Add new files.
9882 * Makefile.in: Regenerate.
9883
9884 2002-07-14 C. Brian Jones <cbj@gnu.org>
9885
9886 * gnu/java/security/provider/DefaultPolicy.java
9887 (getPermissions): do not maintain static class variable of
9888 Permissions
9889 * gnu/java/security/provider/SHA.java
9890 (engineUpdate): algorithm change
9891 (engineDigest): algorithm change
9892
9893 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9894
9895 For PR libgcj/7292:
9896 * java/lang/Character.java (toString(char)): Now static.
9897
9898 2002-07-12 Mark Wielaard <mark@klomp.org>
9899
9900 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9901 (getStackTrace0): new method.
9902 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9903 (printStackTrace(PrintWriter)): replace with pure java implementation.
9904 (printRawStackTrace): removed.
9905 (getStackTrace0): new method.
9906 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9907 * gcj/javaprims.h: regenerate class list.
9908 * include/name-finder.h (lookup): new returns StackTraceElement*.
9909 (method_name, file_name): fields removed.
9910 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9911 (~_Jv_name_finder): close new descriptors.
9912 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9913 (createStackTraceElement): new method.
9914 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9915
9916 2002-07-10 Tom Tromey <tromey@redhat.com>
9917
9918 * configure: Rebuilt.
9919 * configure.in: Use `test' after `&&'. From Chris Faylor.
9920
9921 2002-07-08 Mark Wielaard <mark@klomp.org>
9922
9923 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9924 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9925 java.sql.DatabaseMetaData.TestJdbc20
9926
9927 2002-07-05 Tony Kimball <alk@pobox.com>
9928
9929 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9930
9931 2002-07-04 Tom Tromey <tromey@redhat.com>
9932 Jeff Sturm <jsturm@one-point.com>
9933
9934 Fix for PR libgcj/7060:
9935 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9936 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9937 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9938 * java/lang/Class.java (getMethod): New Java implementation;
9939 complies with spec.
9940 (_getMethod): New native method.
9941
9942 2002-07-02 Tom Tromey <tromey@redhat.com>
9943 David Hovemeyer <daveho@cs.umd.edu>
9944
9945 * java/text/ChoiceFormat.java
9946 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9947 in check loop.
9948 * java/text/MessageFormat.java
9949 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9950 to MessageFormat.
9951
9952 2002-07-01 Tom Tromey <tromey@redhat.com>
9953
9954 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9955 StringTokenizer on null string. For PR libgcj/7180.
9956 From daveho@cs.umd.edu.
9957
9958 2002-06-24 Tom Tromey <tromey@redhat.com>
9959
9960 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9961 (IntegerClass): Likewise.
9962 * java/lang/natClass.cc (CloneableClass): Removed.
9963 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9964 ConstructorClass): Likewise.
9965 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9966 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9967 SerializableClass): Likewise.
9968 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9969 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9970 LongClass, FloatClass, DoubleClass): Likewise.
9971
9972 * verify.cc (branch_prepass): Updated for change to exception
9973 handler type.
9974 (verify_instructions_0): Likewise.
9975 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9976 (handleExceptionTableEntry): Updated for change to exception
9977 handler type.
9978 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9979 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9980 (union _Jv_InterpPC): New.
9981 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9982 (class _Jv_InterpMethod): Added new `prepared' field.
9983 (class _Jv_InterpMethod): Added `compile' method. Removed
9984 `continue1' and `find_exception'. Changed arguments to `run'.
9985 * interpret.cc (union insn_slot): New.
9986 (find_exception): Removed.
9987 (run_normal): Removed most logic.
9988 (run_synch_object): Likewise; also, use JvSynchronize.
9989 (run_synch_class): Likewise.
9990 (run): Removed.
9991 (continue1): Renamed as `run'. Compile bytecode if required.
9992 Add new code to allow refinement of direct-threaded code at
9993 runtime. Handle exceptions.
9994 (SAVE_PC): Removed.
9995 (compile): New method.
9996 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9997 (NULLARRAYCHECK): Don't use SAVE_PC.
9998 (pc_t): New typedef.
9999 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
10000 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
10001
10002 2002-06-23 Tom Tromey <tromey@redhat.com>
10003
10004 * configure: Rebuilt.
10005 * configure.in (INTERPRETER): New subst.
10006 (AM_RUNTESTFLAGS): Don't subst.
10007
10008 * Makefile.in: Rebuilt.
10009 * Makefile.am ($(srcdir)/java/lang/Object.h,
10010 $(srcdir)/java/lang/Class.h): Added dummy targets.
10011
10012 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10013
10014 Reformat JDBC classes and add new JDK 1.4 classes and methods.
10015
10016 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
10017 java/sql/Savepoint.java: New files.
10018 * java/sql/Array.java, java/sql/BatchUpdateException.java,
10019 java/sql/Blob.java, java/sql/CallableStatement.java,
10020 java/sql/Clob.java, java/sql/Connection.java,
10021 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
10022 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
10023 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
10024 java/sql/Ref.java, java/sql/ResultSet.java,
10025 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
10026 java/sql/SQLException.java, java/sql/SQLInput.java,
10027 java/sql/SQLOutput.java, java/sql/SQLWarning.java
10028 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
10029 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
10030 (JDK 1.4) specification.
10031 * javax/sql/ConnectionEvent.java,
10032 javax/sql/ConnectionEventListener.java,
10033 javax/sql/ConnectionPoolDataSource.java,
10034 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
10035 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
10036 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
10037 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
10038 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
10039 javax/sql/XADataSource.java: New files.
10040 * Makefile.am: Add new files.
10041 * Makefile.in: Rebuilt.
10042
10043 2002-06-20 Tom Tromey <tromey@redhat.com>
10044
10045 For PR libgcj/7073:
10046 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
10047 exists.
10048 * defineclass.cc (handleClassBegin): Superclass for interface is
10049 `null'.
10050
10051 2002-06-18 Tom Tromey <tromey@redhat.com>
10052
10053 * gcj/javaprims.h: Updated class declaration list.
10054 * Makefile.in: Rebuilt.
10055 * Makefile.am (core_java_source_files): Removed
10056 BasicMapEntry.java.
10057 * java/util/BasicMapEntry.java: Removed.
10058
10059 2002-06-18 Jeff Sturm <jsturm@one-point.com>
10060
10061 * java/net/natPlainDatagramSocketImpl.cc (receive):
10062 Check bounds of argument to FD_SET.
10063 (setOption): Throw exception if socket is closed.
10064
10065 * java/net/natPlainSocketImpl.cc (accept, read):
10066 Check bounds of argument to FD_SET.
10067 (setOption): Throw exception if socket is closed.
10068
10069 2002-06-18 Tom Tromey <tromey@redhat.com>
10070
10071 * gcj/javaprims.h: Updated class declaration list.
10072 * Makefile.in: Rebuilt.
10073 * Makefile.am (core_java_source_files): Added
10074 PropertyPermissionCollection.java.
10075 * java/lang/Thread.java (group, name): Now package-private.
10076 * java/lang/ThreadGroup.java: Re-merge with Classpath.
10077 * java/util/AbstractList.java: Likewise.
10078 * java/util/AbstractMap.java: Likewise.
10079 * java/util/Calendar.java: Likewise.
10080 * java/util/Collections.java: Likewise.
10081 * java/util/HashMap.java: Likewise.
10082 * java/util/Hashtable.java: Likewise.
10083 * java/util/LinkedHashMap.java: Likewise.
10084 * java/util/LinkedList.java: Likewise.
10085 * java/util/List.java: Likewise.
10086 * java/util/ListResourceBundle.java: Likewise.
10087 * java/util/Map.java: Likewise.
10088 * java/util/Observable.java: Likewise.
10089 * java/util/Properties.java: Likewise.
10090 * java/util/PropertyPermission.java: Likewise.
10091 * java/util/PropertyPermissionCollection.java: Likewise.
10092 * java/util/PropertyResourceBundle.java: Likewise.
10093 * java/util/Random.java: Likewise.
10094 * java/util/SimpleTimeZone.java: Likewise.
10095 * java/util/StringTokenizer.java: Likewise.
10096 * java/util/TimerTask.java: Likewise.
10097 * java/util/TreeMap.java: Likewise.
10098 * java/util/WeakHashMap.java: Likewise.
10099 * java/util/jar/Attributes.java: Likewise.
10100 * java/util/jar/JarException.java: Likewise.
10101 * java/util/jar/Manifest.java: Likewise.
10102
10103 2002-06-17 Tom Tromey <tromey@redhat.com>
10104
10105 * gcj/javaprims.h: Updated class declaration list.
10106 * Makefile.in: Rebuilt.
10107 * Makefile.am (core_java_source_files): Added new file.
10108 * java/util/EventListenerProxy.java: New file.
10109 * java/util/EventListener.java: Re-merge with Classpath.
10110 * java/util/EventObject.java: Re-merge with Classpath.
10111
10112 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10113
10114 * java/lang/ClassNotFoundException.java: New Classpath version.
10115
10116 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10117
10118 * java/rmi/activation/ActivateFailedException.java: Remerge from
10119 Classpath version.
10120 * java/rmi/activation/ActivationException.java: Ditto.
10121 * java/rmi/activation/UnknownGroupException.java: Ditto.
10122 * java/rmi/activation/UnknownObjectException.java: Ditto.
10123 * java/rmi/server/ExportException: Ditto.
10124 * java/rmi/server/ServerCloneException: Ditto.
10125 * java/rmi/server/ServerNotActiveException: Ditto.
10126 * java/rmi/server/SkeletonMismatchException: Ditto.
10127 * java/rmi/server/SkeletonNotFoundException: Ditto.
10128 * java/rmi/server/SocketSecurityException: Ditto.
10129
10130 2002-06-16 Tom Tromey <tromey@redhat.com>
10131
10132 * gcj/javaprims.h: Updated class declaration list.
10133
10134 * java/io/LineNumberInputStream.java: Merged with Classpath.
10135
10136 * java/lang/RuntimeException.java: Re-merge with Classpath.
10137 * java/util/ArrayList.java: Likewise.
10138 * java/util/Arrays.java: Likewise.
10139 * java/util/BitSet.java: Likewise.
10140 * java/util/Dictionary.java: Likewise.
10141 * java/util/IdentityHashMap.java: Likewise.
10142 * java/util/MissingResourceException.java: Likewise.
10143 * java/util/Observer.java: Likewise.
10144 * java/util/TooManyListenersException.java: Likewise.
10145 * java/util/zip/DataFormatException.java: Likewise.
10146 * java/util/zip/ZipException.java: Likewise.
10147
10148 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10149
10150 * java/rmi/AccessException.java: Remerge from Classpath.
10151 * java/rmi/AlreadyBoundException.java: Ditto.
10152 * java/rmi/ConnectException.java: Ditto.
10153 * java/rmi/ConnectIOException.java: Ditto.
10154 * java/rmi/MarshalException.java: Ditto.
10155 * java/rmi/NoSuchObjectException.java: Ditto.
10156 * java/rmi/NotBoundException.java: Ditto.
10157 * java/rmi/RemoteException.java: Ditto.
10158 * java/rmi/RMISecurityException.java: Ditto.
10159 * java/rmi/ServerError.java: Ditto.
10160 * java/rmi/ServerException.java: Ditto.
10161 * java/rmi/ServerRuntimeException.java: Ditto.
10162 * java/rmi/StubNotFoundException.java: Ditto.
10163 * java/rmi/UnexpectedExcpetion.java: Ditto.
10164 * java/rmi/UnknownHostException.java: Ditto.
10165 * java/rmi/UnmarshalException.java: Ditto.
10166
10167 2002-06-15 Tom Tromey <tromey@redhat.com>
10168
10169 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10170 * java/lang/ArithmeticException.java: Likewise.
10171 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10172 * java/lang/ArrayStoreException.java: Likewise.
10173 * java/lang/Byte.java: Likewise.
10174 * java/lang/CharSequence.java: Likewise.
10175 * java/lang/ClassCastException.java: Likewise.
10176 * java/lang/ClassCircularityError.java: Likewise.
10177 * java/lang/ClassFormatError.java: Likewise.
10178 * java/lang/CloneNotSupportedException.java: Likewise.
10179 * java/lang/Cloneable.java: Likewise.
10180 * java/lang/Comparable.java: Likewise.
10181 * java/lang/Compiler.java: Likewise.
10182 * java/lang/Error.java: Likewise.
10183 * java/lang/ExceptionInInitializerError.java: Likewise.
10184 * java/lang/IllegalAccessError.java: Likewise.
10185 * java/lang/IllegalAccessException.java: Likewise.
10186 * java/lang/IllegalArgumentException.java: Likewise.
10187 * java/lang/IllegalMonitorStateException.java: Likewise.
10188 * java/lang/IllegalStateException.java: Likewise.
10189 * java/lang/IllegalThreadStateException.java: Likewise.
10190 * java/lang/IncompatibleClassChangeError.java: Likewise.
10191 * java/lang/IndexOutOfBoundsException.java: Likewise.
10192 * java/lang/InheritableThreadLocal.java: Likewise.
10193 * java/lang/InstantiationError.java: Likewise.
10194 * java/lang/InstantiationException.java: Likewise.
10195 * java/lang/InternalError.java: Likewise.
10196 * java/lang/InterruptedException.java: Likewise.
10197 * java/lang/LinkageError.java: Likewise.
10198 * java/lang/NegativeArraySizeException.java: Likewise.
10199 * java/lang/NoClassDefFoundError.java: Likewise.
10200 * java/lang/NoSuchFieldError.java: Likewise.
10201 * java/lang/NoSuchFieldException.java: Likewise.
10202 * java/lang/NoSuchMethodError.java: Likewise.
10203 * java/lang/NoSuchMethodException.java: Likewise.
10204 * java/lang/NullPointerException.java: Likewise.
10205 * java/lang/NumberFormatException.java: Likewise.
10206 * java/lang/OutOfMemoryError.java: Likewise.
10207 * java/lang/Process.java: Likewise.
10208 * java/lang/Runnable.java: Likewise.
10209 * java/lang/RuntimePermission.java: Likewise.
10210 * java/lang/SecurityException.java: Likewise.
10211 * java/lang/Short.java: Likewise.
10212 * java/lang/StackOverflowError.java: Likewise.
10213 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10214 * java/lang/ThreadDeath.java: Likewise.
10215 * java/lang/ThreadLocal.java: Likewise.
10216 * java/lang/UnknownError.java: Likewise.
10217 * java/lang/UnsatisfiedLinkError.java: Likewise.
10218 * java/lang/UnsupportedClassVersionError.java: Likewise.
10219 * java/lang/UnsupportedOperationException.java: Likewise.
10220 * java/lang/VerifyError.java: Likewise.
10221 * java/lang/VirtualMachineError.java: Likewise.
10222 * java/lang/reflect/InvocationTargetException.java: Likewise.
10223 * java/net/BindException.java: Likewise.
10224 * java/net/ConnectException.java: Likewise.
10225 * java/net/MalformedURLException.java: Likewise.
10226 * java/net/NoRouteToHostException.java: Likewise.
10227 * java/net/ProtocolException.java: Likewise.
10228 * java/net/SocketException.java: Likewise.
10229 * java/net/UnknownHostException.java: Likewise.
10230 * java/net/UnknownServiceException.java: Likewise.
10231
10232 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10233 * java/io/CharConversionException.java: Likewise.
10234 * java/io/EOFException.java: Likewise.
10235 * java/io/FileNotFoundException.java: Likewise.
10236 * java/io/IOException.java: Likewise.
10237 * java/io/InterruptedIOException.java: Likewise.
10238 * java/io/InvalidClassException.java: Likewise.
10239 * java/io/InvalidObjectException.java: Likewise.
10240 * java/io/NotActiveException.java: Likewise.
10241 * java/io/NotSerializableException.java: Likewise.
10242 * java/io/ObjectStreamException.java: Likewise.
10243 * java/io/ObjectStreamConstants.java: Likewise.
10244 * java/io/OptionalDataException.java: Likewise.
10245 * java/io/PipedInputStream.java: Likewise.
10246 * java/io/PushbackInputStream.java: Likewise.
10247 * java/io/StreamCorruptedException.java: Likewise.
10248 * java/io/SyncFailedException.java: Likewise.
10249 * java/io/UTFDataFormatException.java: Likewise.
10250 * java/io/UnsupportedEncodingException.java: Likewise.
10251 * java/io/WriteAbortedException.java: Likewise.
10252
10253 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10254
10255 * java/text/ChoiceFormat.java: Update comments from Classpath.
10256 * java/text/ParseException.java (serialVersionUID): New
10257 field from Classpath.
10258 * java/text/ParseException.java: Update formatting & comments
10259 from Classpath.
10260
10261 2002-06-15 Tom Tromey <tromey@redhat.com>
10262
10263 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10264 been read but none output by inflater.
10265 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10266 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10267 is_finished.
10268 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10269 version.
10270 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10271 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10272 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10273 version.
10274 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10275
10276 2002-06-13 Tom Tromey <tromey@redhat.com>
10277
10278 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10279 true and OFFSET!=0.
10280 * java/lang/String.java (String(char[],int,int,boolean): New
10281 constructor.
10282 * java/lang/Long.java: Imported new version from Classpath.
10283 * java/lang/Number.java: Likewise.
10284 * java/lang/Integer.java: Likewise.
10285 * java/lang/Long.java: Likewise.
10286 * java/lang/Float.java: Likewise.
10287 * java/lang/Boolean.java: Likewise.
10288 * java/lang/Double.java: Likewise.
10289 * java/lang/Void.java: Likewise.
10290
10291 2002-06-12 Tom Tromey <tromey@redhat.com>
10292
10293 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10294 Fixes PR libgcj/6652.
10295
10296 2002-06-10 Tom Tromey <tromey@redhat.com>
10297
10298 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10299 (Class::getPackagePortion): Likewise.
10300 * java/lang/Class.java (desiredAssertionStatus): New method from
10301 Classpath.
10302 (getPackagePortion): Likewise.
10303 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10304 packageAssertionStatus, classAssertionStatus): New methods from
10305 Classpath.
10306 * java/lang/ClassLoader.java (defaultAssertionStatus,
10307 systemPackageAssertionStatus, packageAssertionStatus,
10308 systemClassAssertionStatus, classAssertionStatus): New fields from
10309 Classpath.
10310 (setDefaultAssertionStatus, setPackageAssertionStatus,
10311 setClassAssertionStatus, clearAssertionStatus): New methods from
10312 Classpath.
10313 * Makefile.in: Rebuilt.
10314 * Makefile.am (core_java_source_files): Added AssertionError.java.
10315 * java/lang/AssertionError.java: New from Classpath.
10316
10317 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10318
10319 * configure.host: Disable hash synchronization and slow_pthread_self
10320 for cygwin.
10321
10322 2002-06-06 Adam Megacz <adam@xwt.org>
10323
10324 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10325 locking, just like the Sun JVM does.
10326
10327 2002-06-05 H.J. Lu (hjl@gnu.org)
10328
10329 * Makefile.am (libgcj_convenience.la): Revert the last change.
10330 (libgcj.la): Likewise.
10331 * Makefile.in: Regenerated.
10332
10333 2002-06-04 H.J. Lu (hjl@gnu.org)
10334
10335 * Makefile.am (libgcj_convenience.la): New target.
10336 (libgcj.la): Depend on libgcj_convenience.la.
10337 * Makefile.in: Regenerated.
10338
10339 2002-06-04 H.J. Lu (hjl@gnu.org)
10340
10341 * configure.in (--with-newlib): New option:
10342 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10343 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10344 Linux.
10345 * configure: Regenerated.
10346
10347 2002-06-04 Tom Tromey <tromey@redhat.com>
10348
10349 * java/util/natTimeZone.cc: Include <stdio.h>.
10350
10351 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10352
10353 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10354 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10355 Set SIGNAL_HANDLER=include/s390-linux.h.
10356 * configure: Regenerate.
10357 * include/s390-linux.h: New file.
10358
10359 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10360
10361 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10362 not "stackTrace".
10363
10364 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10365
10366 Merge JDK 1.4 java.security changes from classpath.
10367
10368 * java/security/AccessControlException.java: Merge from Classpath.
10369 * java/security/AccessController.java: Likewise.
10370 * java/security/AllPermission.java: Likewise.
10371 * java/security/BasicPermission.java: Likewise.
10372 * java/security/Certificate.java: Likewise.
10373 * java/security/CodeSource.java: Likewise.
10374 * java/security/DigestException.java: Likewise.
10375 * java/security/DigestOutputStream.java: Likewise.
10376 * java/security/DomainCombiner.java: Likewise.
10377 * java/security/GeneralSecurityException.java: Likewise.
10378 * java/security/Guard.java: Likewise.
10379 * java/security/GuardedObject.java: Likewise.
10380 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10381 * java/security/InvalidKeyException.java: Likewise.
10382 * java/security/InvalidParameterException.java: Likewise.
10383 * java/security/Key.java: Likewise.
10384 * java/security/KeyException.java: Likewise.
10385 * java/security/KeyManagementException.java: Likewise.
10386 * java/security/KeyStoreException.java: Likewise.
10387 * java/security/MessageDigest.java: Likewise.
10388 * java/security/NoSuchAlgorithmException.java: Likewise.
10389 * java/security/NoSuchProviderException.java: Likewise.
10390 * java/security/Permission.java: Likewise.
10391 * java/security/PermissionCollection.java: Likewise.
10392 * java/security/Permissions.java: Likewise.
10393 * java/security/Policy.java: Likewise.
10394 * java/security/Principal.java: Likewise.
10395 * java/security/PrivateKey.java: Likewise.
10396 * java/security/PrivilegedAction.java: Likewise.
10397 * java/security/PrivilegedActionException.java: Likewise.
10398 * java/security/PrivilegedExceptionAction.java: Likewise.
10399 * java/security/ProtectionDomain.java: Likewise.
10400 * java/security/ProviderException.java: Likewise.
10401 * java/security/PublicKey.java: Likewise.
10402 * java/security/SecureClassLoader.java: Likewise.
10403 * java/security/SecurityPermission.java: Likewise.
10404 * java/security/SignatureException.java: Likewise.
10405 * java/security/UnrecoverableKeyException.java: Likewise.
10406 * java/security/UnresolvedPermission.java: Likewise.
10407 * java/security/acl/AclNotFoundException.java: Likewise.
10408 * java/security/acl/LastOwnerException.java: Likewise.
10409 * java/security/acl/NotOwnerException.java: Likewise.
10410 * java/security/cert/CRLException.java: Likewise.
10411 * java/security/cert/CertificateEncodingException.java: Likewise.
10412 * java/security/cert/CertificateException.java: Likewise.
10413 * java/security/cert/CertificateExpiredException.java: Likewise.
10414 * java/security/cert/CertificateFactory.java: Likewise.
10415 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10416 * java/security/cert/CertificateParsingException.java: Likewise.
10417 * java/security/spec/InvalidKeySpecException.java: Likewise.
10418 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10419
10420 * java/security/cert/CertPath.java: New file.
10421 * java/security/cert/CertPathBuilderException.java: New file.
10422 * java/security/cert/CertPathValidatorException.java: New file.
10423 * java/security/cert/CertStoreException.java: New file.
10424
10425 * Makefile.am: Add new CertPath classes.
10426 * Makefile.in: Rebuilt.
10427
10428 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10429
10430 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10431
10432 Merge JDK 1.4 exception chaining support from classpath.
10433
10434 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10435 (stackTraceBytes): Rename from stackTrace.
10436 * java/lang/Exception.java: Merge from classpath.
10437 * java/lang/StackTraceElement: New file from classpath.
10438 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10439 * Makefile.am: Add StackTraceElement.
10440 * Makefile.in: Rebuilt.
10441
10442 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10443
10444 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10445 they build first.
10446 * Makefile.in: Rebuilt.
10447
10448 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10449
10450 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10451 * configure.in: Likewise.
10452 * aclocal.m4: Regenerate.
10453 * configure: Regenerate.
10454
10455 2002-05-13 Tom Tromey <tromey@redhat.com>
10456
10457 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10458 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10459 Include platform.h.
10460
10461 Fixes PR libgcj/6389:
10462 * Makefile.in: Rebuilt.
10463 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10464 * java/util/natTimeZone.cc: New file.
10465 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10466 * java/lang/System.java: Merged with Classpath.
10467 * java/lang/Runtime.java: Merged with Classpath.
10468 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10469 security check.
10470 (setIn0): Renamed from setIn; don't run security check.
10471 (setOut0): Renamed from setOut; don't run security check.
10472 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10473 init_properties): Moved to natRuntime.cc.
10474 Moved many includes to natRuntime.cc.
10475 (isWordsBigEndian): New method.
10476 * java/lang/natRuntime.cc: Include Long.h, also other includes
10477 previously in natSystem.cc.
10478 (maxMemory): New function.
10479 (exitInternal): Renamed from `_exit'.
10480 (exit): Removed.
10481 (init): Don't set finalize_on_exit.
10482 (exitInternal): Use `finalizeOnExit'.
10483 (file_encoding, getpwuid_adaptor): New functions from
10484 natSystem.cc.
10485 (insertSystemProperties): New method, renamed from
10486 System::init_properties. Don't set user.timezone.
10487 (_load): Don't call checkLink.
10488 (execInternal): New method.
10489 (availableProcessors): Likewise.
10490 (nativeGetLibname): Likewise.
10491
10492 2002-05-11 Mark Wielaard <mark@klomp.org>
10493
10494 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10495 space characters.
10496 (previous_internal): Likewise.
10497
10498 2002-05-09 Tom Tromey <tromey@redhat.com>
10499
10500 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10501
10502 * java/util/ResourceBundle.java: New version from Classpath.
10503 * java/util/Locale.java: Likewise.
10504
10505 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10506
10507 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10508 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10509 LD_LIBRARY_PATH.
10510
10511 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10512
10513 * libjava/Makefile.am (all_java_source_files): New variable.
10514 (all_java_class_files): Likewise.
10515 .java.class: New rule.
10516 (CLEANFILES): Remove tmp-list.
10517 * libjava/Makefile.in: Regenerated.
10518
10519 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10520
10521 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10522 Append .exe to executable names. Fix for cygwin.
10523
10524 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10525
10526 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10527 script entry, and set LD to it when configuring multilibs.
10528 * configure: Rebuilt.
10529
10530 2002-05-07 Tom Tromey <tromey@redhat.com>
10531
10532 * java/lang/natString.cc (unintern): Fixed typo.
10533
10534 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10535
10536 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10537 with -no-install on *-*-cygwin*.
10538
10539 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10540
10541 * testsuite/lib/libjava.exp (test_libjava_from_source):
10542 Add comment explaining last patch
10543
10544 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10545
10546 * testsuite/lib/libjava.exp (test_libjava_from_source):
10547 Append .exe to executable names. If no suffix is present,
10548 then ".exe" is added by default on win32. Harmless
10549 elsewhere so always do it.
10550
10551 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10552 Tom Tromey <tromey@redhat.com>
10553
10554 * java/lang/natSystem.cc (getSystemTimeZone): Use
10555 HAVE_UNDERSCORE_TIMEZONE.
10556 * include/config.h.in: Rebuilt.
10557 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10558 * aclocal.m4, configure: Rebuilt.
10559 * acinclude.m4: Run AC_EXEEXT.
10560 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10561 Add test for `_timezone'.
10562
10563 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10564
10565 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10566 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10567 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10568 * Makefile.in: Rebuilt.
10569
10570 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10571
10572 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10573 use sigaction instead of __libc_sigaction.
10574
10575 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10576
10577 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10578 (libjava_init): Use it to find libgcj.spec.
10579 (libjava_arguments): Likewise.
10580
10581 2002-05-02 David S. Miller <davem@redhat.com>
10582
10583 PR bootstrap/6525
10584 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10585 __libc_sigaction on Sparc.
10586
10587 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10588
10589 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10590 sys/filio.h, if present.
10591
10592 2002-04-30 Tom Tromey <tromey@redhat.com>
10593
10594 * java/io/BufferedReader.java (fill): Handle case where markPos
10595 point to ignored \n. Fixes PR libgcj/6301.
10596
10597 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10598
10599 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10600
10601 2002-04-29 Adam King <aking@dreammechanics.com>
10602
10603 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10604 of file in APPEND mode.
10605
10606 2002-04-25 David S. Miller <davem@redhat.com>
10607
10608 PR target/6422
10609 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10610 program counter to next program counter minus 8. Update
10611 comments in this macro to explain why.
10612
10613 2002-04-26 Tom Tromey <tromey@redhat.com>
10614
10615 * verify.cc (construct_primitive_array_type) [void_type]: New
10616 case.
10617 (branch_prepass): Added dummy entries for unused instruction
10618 values.
10619 (verify_instructions_0): Likewise.
10620 * interpret.cc (continue1): Comment fix.
10621 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10622 * Makefile.in: Rebuilt.
10623 * Makefile.am: Added -Wswitch-enum.
10624
10625 2002-04-24 Tom Tromey <tromey@redhat.com>
10626
10627 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10628 correct length of UTF-8 encoded name. Strip leading `/'.
10629 (_Jv_RegisterResource): Use _Jv_Malloc.
10630
10631 2002-04-23 Adam Megacz <adam@xwt.org>
10632
10633 * win32.cc, include/win32.cc (backtrace): Added this function
10634 because Win32 does not supply it.
10635
10636 2002-04-21 David S. Miller <davem@redhat.com>
10637
10638 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10639 magic instruction reading sequence.
10640
10641 2002-04-21 Mark Wielaard <mark@klomp.org>
10642
10643 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10644
10645 2002-04-19 David S. Miller <davem@redhat.com>
10646
10647 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10648 arg.
10649 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10650 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10651 on Sparc too.
10652 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10653 for 64-bit sparc.
10654 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10655 * sysdeps/sparc/locks.h: New file.
10656 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10657 on all sparc Solaris configurations. Set to
10658 include/dwarf2-signal.h on sparc Linux.
10659 * configure: Regenerate
10660 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10661
10662 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10663
10664 * configure: Rebuilt.
10665 * configure.in (backtrace): Function doesn't work on IA-64.
10666
10667 2002-04-17 Adam King <aking@dreammechanics.com>
10668
10669 * java/io/File.java (normalizePath): Add Win32 support for auto
10670 conversion of a '/' path separator to Win32's '\' separator.
10671
10672 2002-04-16 Tom Tromey <tromey@redhat.com>
10673
10674 Fix for PR libgcj/6081:
10675 * Makefile.in: Rebuilt.
10676 * Makefile.am (install-data-local): Use GNU make trick to avoid
10677 shell limit.
10678
10679 2002-04-16 Adam King <aking@dreammechanics.com>
10680 Tom Tromey <tromey@redhat.com>
10681
10682 * java/io/natFileWin32.cc (performList): Return the correct array
10683 type. Don't duplicate the creation of a File since it's already
10684 done earlier in the method and the existing code would cause a
10685 ArrayStoreException. Don't use fixed-size array.
10686 (_access, _stat, attr, getCanonicalPath, performMkdir,
10687 performRenameTo): Don't use fixed-size array.
10688 (getCanonicalPath): Use throw, not _Jv_Throw.
10689
10690 2002-04-15 DJ Delorie <dj@redhat.com>
10691
10692 * configure.in: Allow building in $srcdir.
10693 * configure: Regenerated.
10694
10695 2002-04-14 Mark Wielaard <mark@klomp.org>
10696
10697 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10698 * java/net/natSocketImpl.cc (close): Likewise.
10699
10700 2002-04-14 Mark Wielaard <mark@klomp.org>
10701
10702 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10703
10704 2002-04-13 Adam King <aking@dreammechanics.com>
10705
10706 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10707 the f/F/d/D modifiers.
10708
10709 2002-04-12 Anthony Green <green@redhat.com>
10710
10711 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10712 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10713 * Makefile.in: Rebuilt.
10714 * configure.in: Substitute gcc_version.
10715 * configure: Rebuilt.
10716
10717 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10718
10719 * configure.host: Set can_unwind_signal on hosts which support it.
10720 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10721 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10722 exceptions and can_unwind_signal isn't set.
10723 * configure: Rebuilt.
10724
10725 2002-04-11 Tom Tromey <tromey@redhat.com>
10726
10727 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10728
10729 2002-04-11 Adam King <aking@dreammechanics.com>
10730 Tom Tromey <tromey@redhat.com>
10731
10732 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10733 _Jv_ThrowNullPointerException): Mark as noreturn.
10734 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10735 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10736 fixes.
10737
10738 2002-04-10 Tom Tromey <tromey@redhat.com>
10739
10740 * Makefile.in: Rebuilt.
10741 * Makefile.am (java/lang/Thread.h): Mark
10742 _Jv_AttachCurrentThreadAsDaemon as friend.
10743 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10744 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10745 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10746 function.
10747 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10748 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10749 (_Jv_JNI_InvokeFunctions): Added
10750 _Jv_JNI_AttachCurrentThreadAsDaemon.
10751 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10752 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10753 (JNI_CreateJavaVM): Likewise.
10754 (_Jv_JNI_AttachCurrentThread): Likewise.
10755 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10756 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10757 (_Jv_JNIFunctions): Initialize new fields.
10758 (_Jv_JNI_NewDirectByteBuffer): New function.
10759 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10760 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10761 * include/jni.h (JNI_VERSION_1_4): New macro.
10762 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10763 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10764 (JNINativeInterface::NewDirectByteBuffer): New field.
10765 (JNINativeInterface::GetDirectBufferAddress): New field.
10766 (JNINativeInterface::GetDirectBufferCapacity): New field.
10767 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10768 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10769 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10770
10771 2002-04-09 Tom Tromey <tromey@redhat.com>
10772
10773 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10774
10775 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10776
10777 Fix for PR libgcj/6187:
10778 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10779 distance.
10780
10781 2002-04-07 Mark Wielaard <mark@klomp.org>
10782
10783 * java/util/AbstractMap.java (putAll): Use entrySet size.
10784 (toString): Explicitly use getKey() and getValue().
10785
10786 2002-04-07 Mark Wielaard <mark@klomp.org>
10787
10788 * java/util/Hashtable.java (contains): Remove NullPointer check.
10789 (containsValue): Add NullPointer check.
10790 (remove): Always throw NullPointerException when key
10791 is null.
10792
10793 2002-04-07 Adam King <aking@dreammechanics.com>
10794
10795 * java/lang/natSystem.cc (init_properties): Call new function
10796 _Jv_platform_initProperties.
10797 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10798 support for the System properties os.name, os.arch, os.version,
10799 user.name, user.home, and user.dir.
10800 * include/posix.h, include/win32.h, posix.cc: New function
10801 _Jv_platform_initProperties.
10802
10803 2002-04-06 Mark Wielaard <mark@klomp.org>
10804
10805 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10806
10807 2002-04-06 Mark Wielaard <mark@klomp.org>
10808
10809 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10810 all of the remaining elements.
10811 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10812 (removeRange): If toIndex == fromIndex do
10813 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10814 (removeAll): Always throw NullPointerException when collection is
10815 null.
10816 (retrainAll): Likewise.
10817
10818 2002-04-05 Mark Wielaard <mark@klomp.org>
10819
10820 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10821 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10822
10823 2002-04-05 Adam Megacz <adam@xwt.org>
10824
10825 * exception.cc (abort): added static modifier
10826
10827 2002-04-04 Adam Megacz <adam@xwt.org>
10828
10829 * include/win32.h (_Jv_platform_close_on_exec): added inline
10830 modifier.
10831
10832 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10833
10834 * configure.host: Add case statement to support generic port
10835 properties. Add *-*-freebsd* section.
10836
10837 2002-04-04 Mark Wielaard <mark@klomp.org>
10838
10839 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10840 test.
10841 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10842 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10843 that depend on awt code and BufferedByteOutputStream.interrupt.
10844
10845 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10846
10847 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10848 incorrect "hi" value when count > 40.
10849
10850 2002-04-03 Mark Wielaard <mark@klomp.org>
10851
10852 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10853 ordering.
10854
10855 2002-04-02 Tom Tromey <tromey@redhat.com>
10856
10857 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10858 not `0'.
10859
10860 2002-04-02 Mark Wielaard <mark@klomp.org>
10861
10862 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10863 list of testsuite crashers.
10864
10865 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10866
10867 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10868 when resizing table.
10869
10870 2002-04-01 Mark Wielaard <mark@klomp.org>
10871
10872 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10873 NegativeArraySizeException
10874 (clear(int)): Use sign extended shift.
10875 (flip(int)): Likewise.
10876 (get(int)): Likewise.
10877 (nextClearBit(int)): Likewise.
10878 (nextSetBit(int)): Likewise.
10879 (set(int)): Likewise.
10880
10881 2002-04-01 Mark Wielaard <mark@klomp.org>
10882
10883 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10884 that can be compiled now and add testsuite crashers to ignore list.
10885
10886 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10887
10888 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10889
10890 * libgcj.spec.in: Override libgcc, not lib.
10891 * libgcj-test.spec.in: Likewise.
10892
10893 2002-03-29 Tom Tromey <tromey@redhat.com>
10894
10895 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10896 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10897
10898 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10899
10900 * java/net/PlainDatagramSocketImpl.java
10901 (close): Use native implementation.
10902 (finalize): New method.
10903
10904 * java/net/PlainSocketImpl.java (finalize): New method.
10905
10906 * java/net/natPlainDatagramSocketImpl.cc
10907 (java/io/FileDescriptor.h): Don't include.
10908 (close): Implement method here.
10909 (create): Don't assign fd.
10910
10911 * java/net/natPlainSocketImpl.cc
10912 (java/io/FileDescriptor.h): Don't include.
10913 (create): Don't assign fd.
10914 (accept): Likewise.
10915 (close): Synchronize.
10916
10917 2002-03-27 Richard Henderson <rth@redhat.com>
10918
10919 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10920
10921 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10922
10923 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10924 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10925 instead of syscall on IA-64.
10926 Add FIXME comment.
10927
10928 2002-03-27 Anthony Green <green@redhat.com>
10929
10930 * libgcj.spec.in: Add CHECKREFSPEC.
10931 * configure.in: Ditto.
10932 * configure.host: Ditto. Check references for xscale-elf.
10933 * configure: Rebuilt.
10934
10935 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10936
10937 * include/dwarf2-signal.h: Temporarily back out last change.
10938
10939 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10940
10941 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10942
10943 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10944
10945 * configure.in, configure: enable dwarf2-exception-style
10946 exception handling on IA-64.
10947 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10948 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10949 Add FIXME comment.
10950
10951 2002-03-25 Tom Tromey <tromey@redhat.com>
10952
10953 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10954 (jv_convert_LDFLAGS): Likewise.
10955 (gij_LDFLAGS): Likewise.
10956 (rmic_LDFLAGS): Likewise.
10957 (rmiregistry_LDFLAGS): Likewise.
10958 * configure.in (THREADLDFLAGS): New subst; set correctly for
10959 *BSD.
10960
10961 2002-03-25 Tom Tromey <tromey@redhat.com>
10962
10963 For PR libgcj/5303:
10964 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10965 and --version.
10966 (help): New method.
10967 (version): Likewise.
10968 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10969 "GNU".
10970 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10971 "GNU".
10972
10973 2002-03-25 Tom Tromey <tromey@redhat.com>
10974
10975 * java/awt/Component.java (processEvent): Check ComponentEvent
10976 after KeyEvent.
10977
10978 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10979
10980 * java/io/PushbackReader.java: Reformat.
10981
10982 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10983 calculate correct number of bytes skipped.
10984
10985 Based on patch from Intel's ORP team:
10986 * java/io/PushbackInputStream.java (available): Calculate correct
10987 number of bytes in buffer.
10988 (read): Remove redundant bound check. Return bytes from both the
10989 buffer and the stream.
10990
10991 2002-03-24 Tom Tromey <tromey@redhat.com>
10992
10993 * java/awt/TextComponent.java (TextComponent): Editable by
10994 default.
10995
10996 * java/awt/MenuItem.java (eventMask): No longer private.
10997 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10998 superclass if we didn't handle event.
10999 * java/awt/Checkbox.java (dispatchEventImpl): New method.
11000 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
11001 * java/awt/Choice.java (dispatchEventImpl): New method.
11002 * java/awt/List.java (dispatchEventImpl): New method.
11003 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
11004 * java/awt/TextComponent.java (dispatchEventImpl): New method.
11005 * java/awt/TextField.java (dispatchEventImpl): New method.
11006
11007 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11008
11009 * java/beans/IntrospectionException.java: Update to 1.4.
11010 * java/beans/PropertyVetoException.java: Ditto.
11011
11012 2002-03-24 Eric Blake <ebb9@email.byu.edu>
11013
11014 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
11015 Arrays.equals instead of ArrayHelper.equalsArray.
11016
11017 2002-03-24 C. Brian Jones <cbj@gnu.org>
11018
11019 * java/beans/Introspector.java: added new static final fields
11020 introduced in 1.2, lots of other updates remain to be done
11021
11022 2002-03-24 C. Brian Jones <cbj@gnu.org>
11023
11024 * java/beans/Introspector.java: reformatting
11025
11026 2002-03-24 C. Brian Jones <cbj@gnu.org>
11027
11028 * java/beans/Introspector.java: default beanInfoSearchPath will
11029 not include sun.beans.infos given we provide no such package and
11030 the API doesn't really require it; gnu.java.beans.info is the
11031 default.
11032
11033 2002-03-24 Mark Wielaard <mark@klomp.org>
11034
11035 Thanks to Orp developers
11036 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
11037 switch TRUE and FALSE return values.
11038
11039 2002-03-23 Tom Tromey <tromey@redhat.com>
11040
11041 * include/name-finder.h (_Jv_name_finder::myclose): New method.
11042 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
11043
11044 2002-03-23 Michael Smith <msmith@spinnakernet.com>
11045
11046 * java/util/GregorianCalendar.java (minimums, maximums): Correct
11047 MONTH entry. Fixes PR libgcj/6045.
11048
11049 2002-03-23 Jeff Sturm <jsturm@one-point.com>
11050
11051 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
11052
11053 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11054
11055 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
11056 not release_set.
11057 * sysdep/powerpc/locks.h (write_barrier): New function.
11058 * sysdep/i386/locks.h (write_barrier): New function.
11059
11060 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
11061
11062 * include/jni.h Use correct C comments.
11063
11064 2002-03-18 Tom Tromey <tromey@redhat.com>
11065
11066 * include/jni.h (JNIIMPORT): New macro.
11067 (JNIEXPORT): Likewise.
11068 (JNICALL): Likewise.
11069
11070 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11071
11072 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
11073 systems.
11074
11075 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
11076
11077 * include/i386-signal.h (old_i386_kernel_sigaction): New.
11078 INIT_SEGV: Use old_i386_kernel_sigaction.
11079 INIT_FP: Likewise.
11080
11081 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11082
11083 * java/lang/natSystem.cc (init_properties): Update VM version
11084 properties.
11085 * configure.in: Set GCJVERSION.
11086 * acconfig.h: Add GCJVERSION.
11087 * configure: Rebuilt.
11088 * include/config.h.in: Rebuilt.
11089
11090 2002-03-17 Anthony Green <green@redhat.com>
11091
11092 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
11093
11094 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11095
11096 Build a single libgcj.so, without separate gc and zlib libraries.
11097 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
11098 SYS_ZLIBS if system zlib is used.
11099 * configure: Rebuilt.
11100 * Makefile.am: Use boehm-gc and zlib convenience libraries.
11101 * Makefile.in: Rebuilt.
11102 * libtool-version: Increment .so version number.
11103
11104 * Makefile.am: Escape quotes in echo.
11105 * Makefile.in: Rebuilt.
11106
11107 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11108
11109 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11110 * Makefile.in: Rebuilt.
11111
11112 2002-03-15 Anthony Green <green@redhat.com>
11113
11114 * configure.host (FILE): New macro for specifing File
11115 implementation.
11116 * configure: Rebuilt.
11117 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11118
11119 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11120
11121 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11122 already implicitly brought in from libgcj.la.
11123 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11124 * Makefile.in: Rebuilt.
11125
11126 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11127
11128 * THANKS: Fix punctuation, alphabetization.
11129
11130 2002-03-15 Tom Tromey <tromey@redhat.com>
11131 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11132
11133 Fix for PR libgcj/5944.
11134 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11135
11136 2002-03-15 Anthony Green <green@redhat.com>
11137
11138 * configure.in (tool_include_dir): Define.
11139 * configure: Rebuilt.
11140 * gcj/Makefile.am: Install libgcj-config.h relative to
11141 tool_include_dir.
11142 * gcj/Makefile: Rebuilt.
11143 * gcj/libgcj-config.h: Add warning comment.
11144
11145 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11146
11147 * configure.host (powerpc*-darwin*): Enable interpreter.
11148
11149 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11150
11151 * include/posix.h: Add multiple include header protection.
11152 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11153
11154 2002-03-10 Adam Megacz <adam@xwt.org>
11155
11156 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11157
11158 2002-03-10 Tom Tromey <tromey@redhat.com>
11159
11160 * java/awt/GridLayout.java (layoutContainer): Handle case where
11161 there are no items in container.
11162
11163 * java/lang/Win32Process.java: Added comment.
11164 * include/posix.h (_Jv_platform_close_on_exec): New function.
11165 Include fcntl.h.
11166 * include/win32.h (_Jv_platform_close_on_exec): New function.
11167 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11168 flag.
11169 (accept): Likewise.
11170 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11171 close-on-exec flag.
11172 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11173 flag.
11174
11175 2002-03-09 Tom Tromey <tromey@redhat.com>
11176
11177 * verify.cc (state::NO_STACK): New constant.
11178 (state::is_unmerged_ret_state): Handle case where stacktop is
11179 NO_STACK.
11180 (state::merge): Handle NO_STACK merges.
11181 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11182 for instruction following jsr.
11183 (stacktop, stackdepth): Removed unused variables.
11184 (pop_jump): Ignore case where all remaining states are skipped.
11185
11186 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11187
11188 * java/awt/ImageMediaEntry: Removed.
11189 * java/awt/MediaEntry: Removed.
11190
11191 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11192
11193 Hashtable synchronization for PowerPC.
11194 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11195 slow_pthread_self. Set up symlink for sysdeps directory.
11196 * configure: Rebuild.
11197 * configure.host: Document more shell variables. Set sysdeps_dir
11198 for most platforms. Set slow_pthread_self for i686. Set
11199 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11200 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11201 that memory barrier is emitted where required.
11202 * prims.cc: 64-bit align static primitive class instances.
11203 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11204 read_barrier() to enforce ordering of reads.
11205 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11206 primitives for PowerPC.
11207 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11208 moved from natObject.cc.
11209 * sysdep/alpha/locks.h: Likewise.
11210 * sysdep/ia64/locks.h: Likewise.
11211 * sysdep/generic/locks.h: Likewise.
11212 * java/lang/natObject.cc: Move thread synchronization primitives to
11213 system-dependent headers.
11214
11215 2002-03-09 Adam Megacz <adam@xwt.org>
11216
11217 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11218 bytes read and no failure code returned.
11219
11220 2002-03-09 Adam Megacz <adam@xwt.org>
11221
11222 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11223 definitions to simulate -mthreads.
11224
11225 2002-03-09 Adam Megacz <adam@xwt.org>
11226
11227 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11228 avoid precision loss.
11229
11230 2002-03-09 Per Bothner <per@bothner.com>
11231
11232 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11233 * gnu/gcj/xlib/XImage.java: Likewise.
11234 * gnu/gcj/xlib/XColor.java: Likewise.
11235
11236 2002-03-09 Adam Megacz <adam@xwt.org>
11237
11238 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11239 IOException so that Throwable.printStackTrace fails correctly.
11240
11241 2002-03-08 Adam Megacz <adam@xwt.org>
11242
11243 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11244 fixed.
11245
11246 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11247
11248 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11249 truncated to int.
11250
11251 2002-03-08 Tom Tromey <tromey@redhat.com>
11252
11253 * include/jni.h: Include stdio.h.
11254
11255 2002-03-08 Tom Tromey <tromey@redhat.com>
11256
11257 * posix.cc (internal_gettimeofday): New function.
11258 (_Jv_select): Use it.
11259
11260 2002-03-07 Adam Megacz <adam@xwt.org>
11261
11262 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11263 WIN32, and added thunks for read(), write(), and close().
11264 * java/net/natPlainSocketImpl.cc (accept, read, read):
11265 Disabled timeouts on WIN32 pending discussion.
11266
11267 2002-03-07 Adam Megacz <adam@xwt.org>
11268
11269 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11270 returns jlong. Added implementation
11271 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11272 returns jlong.
11273 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11274 returns jlong.
11275 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11276 returns jlong.
11277 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11278 _Jv_platform_gettimeofday signature.
11279
11280 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11281
11282 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11283 (read): Call recv() directly, not _Jv_recv().
11284
11285 2002-03-06 Tom Tromey <tromey@redhat.com>
11286
11287 * java/io/natFileDescriptorEcos.cc (init): Don't use
11288 GetStdHandle.
11289 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11290 is negative.
11291 (init): Don't use GetStdHandle.
11292
11293 * include/config.h.in: Rebuilt.
11294 * configure: Rebuilt.
11295 * Makefile.in: Rebuilt.
11296
11297 2002-03-06 Adam Megacz <adam@xwt.org>
11298
11299 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11300 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11301 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11302 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11303
11304 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11305
11306 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11307 the code for generating include/java-chartables.h.
11308 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11309 merge with Classpath.
11310 * scripts/unicode-muncher.pl: Copy from Classpath.
11311 * scritps/MakeCharTables.java: New file.
11312 * gnu/gcj/convert/Blocks-3.txt: New file.
11313 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11314 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11315 * gnu/java/lang/CharData.java: Copy from Classpath.
11316 * Makefile.am (ordinary_java_source_files): Add
11317 gnu/java/lang/CharData.java.
11318 * configure.in: Remove --enable-fast-character option.
11319 * java/lang/Character.java: Merge algorithms and Javadoc with
11320 Classpath.
11321 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11322 efficiently.
11323 * include/java-chardecomp.h: Regenerate.
11324 * include/java-chartables.h: Regenerate.
11325
11326 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11327
11328 * java/awt/MediaTracker.java: Implemented.
11329 * Makefile.am: Add MediaTracker.
11330 * Makefile.in: Rebuilt.
11331
11332 2002-03-05 Tom Tromey <tromey@redhat.com>
11333
11334 * java/lang/natPosixProcess.cc (fail): Removed.
11335 (startProcess): Simplified error-handling. Preserve
11336 LD_LIBRARY_PATH across exec.
11337
11338 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11339 AbstractMethodError.
11340
11341 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11342
11343 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11344 * Makefile.in: Rebuilt.
11345
11346 2002-03-03 Mark Wielaard <mark@klomp.org>
11347
11348 * java/util/Timer (TaskQueue.stop): set elements to zero.
11349
11350 2002-02-28 Anthony Green <green@redhat.com>
11351
11352 * java/lang/reflect/natMethod.cc (result): Add void* element.
11353 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11354 constructor test.
11355
11356 2002-02-27 Adam Megacz <adam@xwt.org>
11357
11358 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11359 '#undef STRICT'.
11360
11361 2002-02-26 Tom Tromey <tromey@redhat.com>
11362
11363 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11364 * gij.cc (version): Use __VERSION__.
11365 * include/config.h.in: Rebuilt.
11366 * acconfig.h (GCJVERSION): Removed.
11367 * configure: Rebuilt.
11368 * configure.in (GCJVERSION): Removed.
11369
11370 2002-02-26 Andreas Schwab <schwab@suse.de>
11371
11372 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11373 glibcpp_CXX, since libjava uses even another CXX.
11374 * aclocal.m4, configure: Regenerated.
11375
11376 2002-02-26 Tom Tromey <tromey@redhat.com>
11377
11378 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11379 `1'.
11380
11381 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11382
11383 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11384 dependency tracking for .java files.
11385 * Makefile.in: Rebuilt.
11386
11387 2002-02-24 Adam Megacz <adam@xwt.org>
11388
11389 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11390 typo. Sorry.
11391
11392 2002-02-24 Adam Megacz <adam@xwt.org>
11393
11394 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11395 for Win32, changed #ifdefs to check WIN32 instead of the
11396 (now-obsolete) USE_WINSOCK, and removed support for socket
11397 timeouts on Win32 pending further discussion.
11398
11399 2002-02-24 Adam Megacz <adam@xwt.org>
11400
11401 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11402 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11403 delete
11404
11405 2002-02-24 Adam Megacz <adam@xwt.org>
11406
11407 * java/lang/Win32Process.java: Created a dummy class to allow
11408 build process to run to completion.
11409
11410 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11411
11412 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11413 Define ffi_result union for ffi_call result. Cast
11414 ffi_result members to jvalue.
11415
11416 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11417
11418 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11419 * testsuite/Makefile.in: Likewise.
11420
11421 2002-02-20 Per Bothner <per@bothner.com>
11422
11423 * java/net/URL.java (getPath): New JDK 1.3 method.
11424
11425 * java/net/URLStreamHandler.java (parseURL):
11426 It is wrong to prepend '/' to the file part of a relative url.
11427
11428 * java/net/URLStreamHandler.java (parseURL):
11429 Minor optizations - append '/' rather than "/".
11430
11431 * java/net/URLStreamHandler.java (parseURL):
11432 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11433 We probably should canonicalize for a context-relative url, though.
11434 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11435 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11436 (sameFile): New method. Uses canonicalizeFilename.
11437
11438 2002-02-22 Tom Tromey <tromey@redhat.com>
11439
11440 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11441 java.vendor and java.vm.vendor.
11442 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11443 recent copyright date.
11444 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11445 * gij.cc (version): Print `Inc'.
11446
11447 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11448
11449 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11450 * aclocal.m4, configure: Rebuilt.
11451
11452 2002-02-20 Per Bothner <per@bothner.com>
11453
11454 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11455 and/or output streams immediately here, instead of using File.exists.
11456 (inputStream, outputStream): New fields to save open streams.
11457 (getInputStream, getOutputStream): Use already-opened streams.
11458
11459 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11460
11461 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11462 Use it.
11463 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11464 * aclocal.m4, configure, Makefile.in: Rebuilt.
11465
11466 2002-02-19 Tom Tromey <tromey@redhat.com>
11467
11468 Fix for PR libgcj/5696:
11469 * verify.cc (is_assignable_from_slow): Never call
11470 _Jv_IsAssignableFrom.
11471 (verify_instructions_0): Added new debug statement.
11472 (state::print): Print information about whether local has
11473 changed.
11474 (state::merge): Don't call note_variable when merging locals.
11475 (state::set_exception): Removed old FIXME comment.
11476
11477 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11478
11479 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11480 enable SO_BROADCAST.
11481
11482 2002-02-18 Jason Merrill <jason@redhat.com>
11483
11484 * name-finder.cc (toHex): Use word mode, not long long.
11485
11486 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11487
11488 2002-02-15 Tom Tromey <tromey@redhat.com>
11489
11490 Fix for PR libgcj/5695:
11491 * verify.cc (is_assignable_from_slow): Check to see if target is
11492 an Object before checking to see if source is an interface.
11493 (verify_instructions_0) [op_invokeinterface]: Handle case where
11494 we're making an interface call on Object.
11495
11496 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11497
11498 * Makefile.in: Rebuilt with Eric's change below.
11499
11500 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11501 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11502 Removed functions which are now implemented in Math.java.
11503
11504 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11505
11506 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11507 * Makefile.am (core_java_source_files): Add
11508 java/lang/StrictMath.java.
11509 * java/lang/Math.java: Merge with Classpath.
11510 * java/lang/StrictMath.java: New file - merge with Classpath.
11511
11512 2002-02-14 Mark Wielaard <mark@klomp.org>
11513
11514 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11515 package as a workaround for gcj 3.0.x
11516
11517 2002-02-14 Mark Wielaard <mark@klomp.org>
11518
11519 * java/security/BasicPermission.java: extends with fully qualified
11520 classname as workaround for gcj 3.0.4.
11521
11522 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11523
11524 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11525 around gcj bug of wrong emitted qualifier for inherited method.
11526 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11527 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11528 constructor to reduce amount of emitted bytecode. While this
11529 happens to work around a jikes 1.15 bug, it is still a useful
11530 patch even for correct compilers.
11531 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11532 * gnu/java/rmi/server/UnicastRemoteCall.java
11533 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11534
11535 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11536
11537 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11538 * java/net/SocketImpl.java: Ditto.
11539 * java/rmi/server/RMIClassLoader.java: Ditto.
11540 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11541
11542 2002-02-14 Mark Wielaard <mark@klomp.org>
11543
11544 Thanks to Takashi Okamoto
11545 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11546 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11547 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11548
11549 2002-02-13 Todd Stock <toddastock@yahoo.com>
11550
11551 Fix for PR libgcj/5670:
11552 * verify.cc (is_assignable_from_slow): If `source' is interface,
11553 recursively look for merge with `target'.
11554
11555 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11556
11557 * include/jni.h: Fix typo.
11558
11559 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11560
11561 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11562 correctly.
11563
11564 2002-02-13 Todd Stock <toddastock@yahoo.com>
11565
11566 Fix for PR libgcj/5671:
11567 * verify.cc (state::merge): Handle case where we're merging
11568 against an interface.
11569
11570 2002-02-12 Tom Tromey <tromey@redhat.com>
11571
11572 * exception.cc (std::abort): Mark as noreturn.
11573
11574 2002-02-12 Adam Megacz <adam@xwt.org>
11575
11576 * java/lang/Win32Process.java: Filled in a placeholder
11577 implementation so Win32 will build.
11578
11579 2002-02-12 Adam Megacz <adam@xwt.org>
11580
11581 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11582 * java/io/natFile.cc: Removed from repository.
11583 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11584
11585 2002-02-12 Adam Megacz <adam@xwt.org>
11586
11587 * win32.cc: Added two #includes to make win32.cc compile.
11588
11589 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11590
11591 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11592 declarations.
11593 (_Jv_InitGC): Don't bother locking, as this is always called from a
11594 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11595
11596 2002-02-11 Adam Megacz <adam@xwt.org>
11597
11598 * include/win32.h: Added _Jv_platform_gettimeofday.
11599 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11600
11601 2002-02-11 Adam Megacz <adam@xwt.org>
11602
11603 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11604 Added #undef STRICT to make windows.h and
11605 java/lang/reflect/Modifier.h cooperate.
11606
11607 2002-02-11 Adam Megacz <adam@xwt.org>
11608
11609 * java/io/natFileWin32.cc: Created a placeholder class with lots
11610 of FIXMEs.
11611
11612 2002-02-11 Adam Megacz <adam@xwt.org>
11613
11614 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11615 std::abort() to simply abort(). Also added "fake" std::abort() so
11616 we can #include unwind-pe.h without having to link against
11617 libstdc++-v3.
11618
11619 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11620
11621 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11622
11623 2002-02-08 Tom Tromey <tromey@redhat.com>
11624
11625 * interpret.cc (convert): New function.
11626 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11627 convert.
11628 Include Long.h.
11629
11630 2002-02-08 Anthony Green <green@redhat.com>
11631
11632 * configure.host: Add support for xscale-elf embedded target.
11633
11634 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11635
11636 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11637 dereferenced.
11638 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11639 frame.
11640
11641 2002-02-07 Tom Tromey <tromey@redhat.com>
11642
11643 * java/io/natFile.cc (_access): Use __builtin_alloca.
11644 (_stat): Likewise.
11645 (attr): Likewise.
11646 (getCanonicalPath): Likewise.
11647 (performList): Likewise.
11648 (performMkdir): Likewise.
11649 (performSetReadOnly): Likewise.
11650 (performRenameTo): Likewise.
11651 (performSetLastModified): Likewise.
11652 (performCreate): Likewise.
11653 (performDelete): Likewise.
11654
11655 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11656
11657 * HACKING: Fix URL for the automake-gcj.
11658
11659 2002-02-07 Tom Tromey <tromey@redhat.com>
11660
11661 * java/lang/natThrowable.cc: Updated copyright.
11662 * java/io/natFileWin32.cc: Updated copyright.
11663 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11664 * win32-threads.cc: Updated copyright.
11665 * name-finder.cc: Updated copyright.
11666 * include/name-finder.h: Updated copyright.
11667
11668 * include/name-finder.h: Conditionally include sys/wait.h.
11669 * include/config.h.in: Rebuilt.
11670
11671 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11672 Size buffer based on real size of string.
11673 (_stat): Likewise.
11674 (attr): Likewise.
11675 (getCanonicalPath): Likewise.
11676 (performList): Likewise.
11677 (performMkdir): Likewise.
11678 (performSetReadOnly): Likewise.
11679 (unixroot): Removed.
11680 (performRenameTo): Likewise.
11681 (performSetLastModified): Likewise.
11682 (performCreate): Likewise.
11683 (performDelete): Likewise.
11684 (performListRoots): Always return new array.
11685
11686 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11687 * win32.cc (win32_exception_handler): Now static.
11688 * include/win32.h (_Jv_platform_initialize): Declare.
11689 (win32_exception_handler): Don't declare.
11690 * java/lang/natSystem.cc (currentTimeMillis): Use
11691 _Jv_platform_gettimeofday.
11692 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11693 (_Jv_select): Use new name.
11694 (_Jv_platform_initialize): New function.
11695 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11696 _Jv_gettimeofday.
11697 (_Jv_platform_initialize): Declare.
11698
11699 * configure: Rebuilt.
11700 * configure.in: Removed unnecessary parens.
11701
11702 2002-02-06 Adam Megacz <adam@xwt.org>
11703
11704 * configure.in: Changed mingw) to *mingw*).
11705 * win32.cc: Created this file.
11706 * win32.h: Created this file.
11707 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11708 win32_exception_handler from prims.cc to win32.cc, added
11709 header in win32.h.
11710 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11711 longer needed now that we have platform.h
11712
11713 2002-02-06 Adam Megacz <adam@xwt.org>
11714
11715 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11716 use uint<n>_t instead of LONG and BYTE
11717
11718 2002-02-06 Adam Megacz <adam@xwt.org>
11719
11720 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11721
11722 2002-02-06 Anthony Green <green@redhat.com>
11723
11724 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11725 Implement missing method stubs.
11726 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11727 targets.
11728 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11729 concept of timezones.
11730 (init_properties): Don't refer to _Jv_Environment_Properties
11731 when this feature is not available.
11732 * include/config.h.in: Rebuilt.
11733 * acconfig.h: Add DISABLE_MAIN_ARGS.
11734 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11735 * configure: Rebuilt.
11736 * configure.in: Add --disable-main-args option. Test for
11737 opendir function. Replace AC_CHECK_SIZEOF with
11738 AC_COMPILE_CHECK_SIZEOF.
11739 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11740 * aclocal.m4: Rebuilt.
11741 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11742
11743 2002-02-06 Tom Tromey <tromey@redhat.com>
11744
11745 * verify.cc (require_array_type): If argument is a null array of
11746 references, return null as the element type.
11747
11748 2002-02-06 Mark Wielaard <mark@klomp.org>
11749
11750 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11751 duplicate of a wide type.
11752
11753 2002-02-06 Tom Tromey <tromey@redhat.com>
11754
11755 * verify.cc (type::isnull): New method.
11756 (require_array_type): Handle case where array is null.
11757 (verify_instructions_0) [op_arraylength]: Likewise.
11758
11759 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11760
11761 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11762 Symlink PLATFORMH to platform.h.
11763 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11764 PLATFORMOBJS.
11765 * java/lang/natSystem.cc: #include platform.h not posix.h.
11766 * Makefile.in: Rebuilt with libgcj automake.
11767 * configure: Rebuilt.
11768
11769 2002-02-05 Richard Henderson <rth@redhat.com>
11770
11771 * Makefile.in: Undo munging last change.
11772
11773 2002-02-04 Adam Megacz <adam@xwt.org>
11774
11775 * win32.cc: Created it.
11776 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11777 which is set to posix.cc or win32.cc.
11778 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11779
11780 2002-02-04 Adam Megacz <adam@xwt.org>
11781
11782 * configure.in: Corrected mingw case branches; added * before
11783 and after.
11784
11785 2002-02-04 Adam Megacz <adam@xwt.org>
11786
11787 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11788 if compiling for win32
11789
11790 2002-02-04 Adam Megacz <adam@xwt.org>
11791
11792 * win32-threads.cc: #undef STRICT after gc.h inclusion
11793
11794 2002-02-02 Tom Tromey <tromey@redhat.com>
11795
11796 * Makefile.in: Rebuilt.
11797
11798 2002-02-02 Jason Merrill <jason@redhat.com>
11799
11800 * Makefile.am (clean-nat): New target.
11801
11802 2002-02-02 Tom Tromey <tromey@redhat.com>
11803
11804 * java/io/natFile.cc: Removed old "FIXME" comments.
11805
11806 2002-02-01 Tom Tromey <tromey@redhat.com>
11807
11808 * java/lang/natPosixProcess.cc (myclose): New function.
11809 (fail): Use it.
11810 (startProcess): Likewise.
11811
11812 2002-02-01 Adam Megacz <adam@xwt.org>
11813
11814 * prims.cc: Added #undef STRICT after #include<windows.h>.
11815
11816 2002-02-01 Adam Megacz <adam@xwt.org>
11817
11818 * prims.cc
11819 (_Jv_CreateJavaVM): We now use WIN32 instead of
11820 USE_WIN32_SIGNALLING and USE_WINSOCK.
11821 (win32_exception_handler): Now throws an exception out of
11822 the signal handler; assumes SJLJ.
11823
11824 2002-02-01 Adam Megacz <adam@xwt.org>
11825
11826 * win32-threads.cc:
11827 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11828 wait() algorithm to make it safe.
11829 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11830 Added lazy creation of Win32 Events for better performance
11831 (really_start): This now uses GC_CreateThread so boehm-gc
11832 knows about new threads even when statically linked.
11833
11834 2002-02-01 Adam Megacz <adam@xwt.org>
11835
11836 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11837 enable safer wait() algorithm.
11838 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11839 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11840 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11841 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11842 instead of mutex.
11843 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11844
11845 2002-02-01 Adam Megacz <adam@xwt.org>
11846
11847 * configure.in: Added support for mingw.
11848 * java/lang/Win32Process.java: Created as empty file.
11849 * java/lang/natWin32Process.cc: Created as empty file.
11850
11851 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11852
11853 PR java/4972
11854 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11855 for libiconv in LIBICONV variable.
11856 * configure: Regenerated.
11857
11858 2002-01-31 Tom Tromey <tromey@redhat.com>
11859
11860 * verify.cc (state::enter_subroutine): New method.
11861 (handle_jsr_insn): Use it.
11862 (state::merge): When processing a `ret', correctly use
11863 subroutine's state to determine which local variables have
11864 changed.
11865 (push_exception_jump): Don't let stack overflow.
11866
11867 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11868
11869 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11870 --version output.
11871
11872 2002-01-30 Tom Tromey <tromey@redhat.com>
11873
11874 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11875 parameter for `recv' return type.
11876
11877 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11878 (state::merge): ... not here.
11879 (subr_entry_info): New structure.
11880 (entry_points): New field.
11881 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11882 entry_points.
11883
11884 2002-01-29 Tom Tromey <tromey@redhat.com>
11885
11886 * java/awt/List.java (addNotify): Correctly check to see if peer
11887 does not exist.
11888
11889 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11890 to compute height of each cell, and number of columns to compute
11891 width of each cell.
11892 * java/awt/Window.java (getOwnedWindows): Don't return null.
11893 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11894 of component. Increment x using horizontal gap, not vertical
11895 gap.
11896
11897 2002-01-28 Tom Tromey <tromey@redhat.com>
11898
11899 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11900 `nargs' byte is number of words, not number of arguments.
11901
11902 2002-01-27 Tom Tromey <tromey@redhat.com>
11903
11904 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11905 (when): Likewise.
11906 * java/awt/event/InputEvent.java (modifiers, when): Now
11907 package-private.
11908
11909 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11910 and to-do list.
11911 (state::merge): Use current class' class loader.
11912 (state::print): Print subroutine.
11913 (state::merge): Don't look at subroutine of unmerged `ret'.
11914
11915 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11916
11917 * nogc.cc: Remove warnings.
11918 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11919 New functions.
11920
11921 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11922
11923 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11924 int, int): Remove empty "if" statement to work around compiler bug.
11925 (newPixels(int[], ColorModel, int, int): Likewise.
11926
11927 2002-01-25 Per Bothner <per@bothner.com>
11928
11929 * verify.cc (verify_fail): Change from being a top-level function
11930 to e method of _Jv_BytecodeVerifier. Emit current method name.
11931 Pass the current verifier to type: and state: methods as needed,
11932 for better error messages, and for resolve.
11933 (resolve): Pass current class's loader for Class.forName and
11934 _Jv_FindClassFromSignature, rather than using the default loader.
11935 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11936 (get_type_val_for_signature): Make non-static.
11937 (various methods): Pass start_PC implicitly, not explicitly.
11938
11939 2002-01-25 Tom Tromey <tromey@redhat.com>
11940
11941 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11942 loop termination condition.
11943 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11944 width.
11945
11946 2002-01-24 Tom Tromey <tromey@redhat.com>
11947
11948 * java/awt/Shape.java: Merged with Classpath.
11949 * java/awt/Scrollbar.java: Merged with Classpath.
11950
11951 * java/awt/Container.java (addNotify): Unconditionally call
11952 addNotifyContainerChildren and superclass addNotify.
11953
11954 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11955 getAlpha, not getBlue.
11956
11957 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11958
11959 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11960
11961 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11962 (grabPixels(long)): Wait to be notified that the ImageProducer has
11963 completed.
11964
11965 2002-01-24 Per Bothner <per@bothner.com>
11966
11967 * verify.cc (is_assignable_from_slow): If target is an interface,
11968 we must still check the source's superclass before giving up.
11969
11970 2002-01-24 Tom Tromey <tromey@redhat.com>
11971
11972 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11973
11974 2002-01-23 Tom Tromey <tromey@redhat.com>
11975
11976 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11977 `else'.
11978
11979 * Makefile.in: Rebuilt.
11980 * Makefile.am (awt_java_source_files): Added new files.
11981 * java/awt/Toolkit.java: Merged with Classpath.
11982 * java/awt/PrintGraphics.java: New file from Classpath.
11983 * java/awt/PrintJob.java: New file from Classpath.
11984 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11985 * java/awt/datatransfer/ClipboardOwner.java: New file from
11986 Classpath.
11987 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11988 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11989 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11990 Classpath.
11991 * java/awt/datatransfer/StringSelection.java: New file from
11992 Classpath.
11993 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11994 Classpath.
11995 * java/awt/datatransfer/Transferable.java: New file from
11996 Classpath.
11997 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11998 from Classpath.
11999
12000 * Makefile.in: Rebuilt.
12001 * Makefile.am (awt_java_source_files): Added new files.
12002 * java/awt/image/AreaAveragingScaleFilter.java: New file from
12003 Classpath.
12004 * java/awt/image/CropImageFilter.java: New file from Classpath.
12005 * java/awt/image/FilteredImageSource.java: New file from
12006 Classpath.
12007 * java/awt/image/ImageFilter.java: New file from Classpath.
12008 * java/awt/image/MemoryImageSource.java: New file from Classpath.
12009 * java/awt/image/PixelGrabber.java: New file from Classpath.
12010 * java/awt/image/RGBImageFilter.java: New file from Classpath.
12011 * java/awt/image/ReplicateScaleFilter.java: New file from
12012 Classpath.
12013 * java/awt/image/ImageProducer.java: Replaced with Classpath
12014 version.
12015 * java/awt/image/ImageObserver.java: Replaced with Classpath
12016 version.
12017 * java/awt/image/ImageConsumer.java: Replaced with Classpath
12018 version.
12019 * java/awt/GridBagConstraints.java (clone): Catch
12020 CloneNotSupportedException.
12021
12022 2002-01-23 Per Bothner <per@bothner.com>
12023
12024 * java/lang/reflect/natField.cc (setAddr): New function.
12025 Calls getAddr and then checks that the field isn't final.
12026 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
12027 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
12028 (set): Call setAddr before check that new value has right type,
12029 to better match specified semantics.
12030
12031 2002-01-22 Tom Tromey <tromey@redhat.com>
12032
12033 * java/awt/TextField.java: Replaced with Classpath version.
12034 * java/awt/TextArea.java: Replaced with Classpath version.
12035 * java/awt/TextComponent.java: Replaced with Classpath version.
12036
12037 * java/awt/GridBagConstraints.java: Updated copyright.
12038
12039 2002-01-22 Mark Wielaard <mark@klomp.org>
12040
12041 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
12042 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
12043 java/awt/Dialog.java java/awt/FileDialog.java
12044 java/awt/Font.java java/awt/FontMetrics.java
12045 java/awt/Image.java java/awt/ImageMediaEntry.java
12046 java/awt/Insets.java java/awt/List.java
12047 java/awt/MediaEntry.java java/awt/MediaTracker.java
12048 java/awt/Menu.java java/awt/MenuBar.java
12049 java/awt/MenuContainer.java java/awt/MenuShortcut.java
12050 java/awt/PaintContext.java java/awt/Panel.java
12051 java/awt/PopupMenu.java java/awt/SystemColor.java
12052 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
12053 java/awt/peer/CheckboxMenuItemPeer.java
12054 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
12055 java/awt/peer/ComponentPeer.java
12056 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
12057 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
12058 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
12059 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
12060 java/awt/peer/MenuBarPeer.java
12061 java/awt/peer/MenuComponentPeer.java
12062 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
12063 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
12064 java/awt/peer/ScrollPanePeer.java
12065 java/awt/peer/ScrollbarPeer.java
12066 java/awt/peer/TextAreaPeer.java
12067 java/awt/peer/TextComponentPeer.java
12068 java/awt/peer/TextFieldPeer.java
12069 java/awt/peer/WindowPeer.java: Add license clarification.
12070
12071 2002-01-22 Mark Wielaard <mark@klomp.org>
12072
12073 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
12074 gnu/gcj/runtime/StringBuffer.java
12075 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
12076 gnu/java/awt/ComponentDataBlitOp.java
12077 gnu/java/awt/GLightweightPeer.java
12078 gnu/java/beans/BeanInfoEmbryo.java
12079 gnu/java/beans/EmptyBeanInfo.java
12080 gnu/java/beans/ExplicitBeanInfo.java
12081 gnu/java/beans/IntrospectionIncubator.java
12082 gnu/java/beans/editors/ColorEditor.java
12083 gnu/java/beans/editors/FontEditor.java
12084 gnu/java/beans/editors/NativeBooleanEditor.java
12085 gnu/java/beans/editors/NativeByteEditor.java
12086 gnu/java/beans/editors/NativeDoubleEditor.java
12087 gnu/java/beans/editors/NativeFloatEditor.java
12088 gnu/java/beans/editors/NativeIntEditor.java
12089 gnu/java/beans/editors/NativeLongEditor.java
12090 gnu/java/beans/editors/NativeShortEditor.java
12091 gnu/java/beans/editors/StringEditor.java
12092 gnu/java/beans/info/ComponentBeanInfo.java
12093 gnu/java/io/ClassLoaderObjectInputStream.java
12094 gnu/java/io/NullOutputStream.java
12095 gnu/java/io/ObjectIdentityWrapper.java
12096 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
12097 gnu/java/lang/reflect/TypeSignature.java
12098 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
12099 gnu/java/locale/Calendar_en.java
12100 gnu/java/locale/Calendar_nl.java
12101 gnu/java/locale/LocaleInformation.java
12102 gnu/java/locale/LocaleInformation_de.java
12103 gnu/java/locale/LocaleInformation_en.java
12104 gnu/java/locale/LocaleInformation_nl.java
12105 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12106 gnu/java/rmi/registry/RegistryImpl.java
12107 gnu/java/rmi/rmic/Compile_gcj.java
12108 gnu/java/rmi/rmic/Compiler.java
12109 gnu/java/rmi/rmic/CompilerProcess.java
12110 gnu/java/rmi/rmic/RMIC.java
12111 gnu/java/rmi/rmic/TabbedWriter.java
12112 gnu/java/rmi/server/ProtocolConstants.java
12113 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12114 gnu/java/rmi/server/RMIHashes.java
12115 gnu/java/rmi/server/RMIObjectInputStream.java
12116 gnu/java/rmi/server/RMIObjectOutputStream.java
12117 gnu/java/rmi/server/UnicastConnection.java
12118 gnu/java/rmi/server/UnicastConnectionManager.java
12119 gnu/java/rmi/server/UnicastRef.java
12120 gnu/java/rmi/server/UnicastRemoteCall.java
12121 gnu/java/rmi/server/UnicastRemoteStub.java
12122 gnu/java/rmi/server/UnicastServer.java
12123 gnu/java/rmi/server/UnicastServerRef.java
12124 gnu/java/security/provider/DefaultPolicy.java
12125 gnu/java/security/provider/Gnu.java
12126 gnu/java/security/provider/SHA.java
12127 gnu/java/security/provider/SHA1PRNG.java
12128 gnu/java/text/BaseBreakIterator.java
12129 gnu/java/text/CharacterBreakIterator.java
12130 gnu/java/text/LineBreakIterator.java
12131 gnu/java/text/SentenceBreakIterator.java
12132 gnu/java/text/WordBreakIterator.java
12133 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12134 java/applet/AppletContext.java java/applet/AppletStub.java
12135 java/applet/AudioClip.java java/awt/AWTError.java
12136 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12137 java/awt/AWTException.java java/awt/AWTPermission.java
12138 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12139 java/awt/Button.java java/awt/Canvas.java
12140 java/awt/CardLayout.java java/awt/Checkbox.java
12141 java/awt/CheckboxGroup.java java/awt/Component.java
12142 java/awt/ComponentOrientation.java java/awt/Container.java
12143 java/awt/Dimension.java java/awt/Event.java
12144 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12145 java/awt/FlowLayout.java java/awt/Frame.java
12146 java/awt/Graphics.java java/awt/Graphics2D.java
12147 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12148 java/awt/IllegalComponentStateException.java
12149 java/awt/ItemSelectable.java java/awt/Label.java
12150 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12151 java/awt/MenuComponent.java java/awt/MenuItem.java
12152 java/awt/Paint.java java/awt/Point.java
12153 java/awt/Rectangle.java java/awt/RenderingHints.java
12154 java/awt/Transparency.java java/awt/Window.java
12155 java/awt/color/ColorSpace.java
12156 java/awt/color/ICC_ColorSpace.java
12157 java/awt/color/ICC_Profile.java
12158 java/awt/event/HierarchyBoundsAdapter.java
12159 java/awt/event/HierarchyBoundsListener.java
12160 java/awt/event/HierarchyEvent.java
12161 java/awt/event/HierarchyListener.java
12162 java/awt/geom/AffineTransform.java
12163 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12164 java/awt/geom/IllegalPathStateException.java
12165 java/awt/geom/Line2D.java
12166 java/awt/geom/NoninvertibleTransformException.java
12167 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12168 java/awt/geom/Rectangle2D.java
12169 java/awt/geom/RectangularShape.java
12170 java/awt/geom/RoundRectangle2D.java
12171 java/awt/image/BufferedImage.java
12172 java/awt/image/ColorModel.java
12173 java/awt/image/ComponentColorModel.java
12174 java/awt/image/ComponentSampleModel.java
12175 java/awt/image/DataBuffer.java
12176 java/awt/image/DataBufferByte.java
12177 java/awt/image/DataBufferInt.java
12178 java/awt/image/DataBufferUShort.java
12179 java/awt/image/DirectColorModel.java
12180 java/awt/image/PackedColorModel.java
12181 java/awt/image/Raster.java java/awt/image/RasterOp.java
12182 java/awt/image/SampleModel.java
12183 java/awt/image/SinglePixelPackedSampleModel.java
12184 java/awt/image/WritableRaster.java
12185 java/beans/AppletInitializer.java
12186 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12187 java/beans/Beans.java java/beans/Customizer.java
12188 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12189 java/beans/FeatureDescriptor.java
12190 java/beans/IndexedPropertyDescriptor.java
12191 java/beans/IntrospectionException.java
12192 java/beans/Introspector.java java/beans/MethodDescriptor.java
12193 java/beans/ParameterDescriptor.java
12194 java/beans/PropertyChangeEvent.java
12195 java/beans/PropertyChangeListener.java
12196 java/beans/PropertyChangeSupport.java
12197 java/beans/PropertyDescriptor.java
12198 java/beans/PropertyEditor.java
12199 java/beans/PropertyEditorManager.java
12200 java/beans/PropertyEditorSupport.java
12201 java/beans/PropertyVetoException.java
12202 java/beans/SimpleBeanInfo.java
12203 java/beans/VetoableChangeListener.java
12204 java/beans/VetoableChangeSupport.java
12205 java/beans/Visibility.java
12206 java/beans/beancontext/BeanContext.java
12207 java/beans/beancontext/BeanContextChild.java
12208 java/beans/beancontext/BeanContextChildComponentProxy.java
12209 java/beans/beancontext/BeanContextChildSupport.java
12210 java/beans/beancontext/BeanContextContainerProxy.java
12211 java/beans/beancontext/BeanContextEvent.java
12212 java/beans/beancontext/BeanContextMembershipEvent.java
12213 java/beans/beancontext/BeanContextMembershipListener.java
12214 java/beans/beancontext/BeanContextProxy.java
12215 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12216 java/beans/beancontext/BeanContextServiceProvider.java
12217 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12218 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12219 java/beans/beancontext/BeanContextServiceRevokedListener.java
12220 java/beans/beancontext/BeanContextServices.java
12221 java/beans/beancontext/BeanContextServicesListener.java
12222 java/io/BufferedInputStream.java
12223 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12224 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12225 java/io/ByteArrayOutputStream.java
12226 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12227 java/io/CharConversionException.java java/io/DataInput.java
12228 java/io/DataInputStream.java java/io/DataOutput.java
12229 java/io/EOFException.java java/io/Externalizable.java
12230 java/io/FileFilter.java java/io/FileNotFoundException.java
12231 java/io/FilePermission.java java/io/FileReader.java
12232 java/io/FileWriter.java java/io/FilenameFilter.java
12233 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12234 java/io/FilterReader.java java/io/FilterWriter.java
12235 java/io/IOException.java java/io/InputStream.java
12236 java/io/InterruptedIOException.java
12237 java/io/InvalidClassException.java
12238 java/io/InvalidObjectException.java
12239 java/io/NotActiveException.java
12240 java/io/NotSerializableException.java java/io/ObjectInput.java
12241 java/io/ObjectInputStream.java
12242 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12243 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12244 java/io/ObjectStreamConstants.java
12245 java/io/ObjectStreamException.java
12246 java/io/ObjectStreamField.java
12247 java/io/OptionalDataException.java java/io/OutputStream.java
12248 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12249 java/io/PipedReader.java java/io/PipedWriter.java
12250 java/io/PrintWriter.java java/io/PushbackInputStream.java
12251 java/io/PushbackReader.java java/io/Reader.java
12252 java/io/SequenceInputStream.java java/io/Serializable.java
12253 java/io/SerializablePermission.java
12254 java/io/StreamCorruptedException.java
12255 java/io/StreamTokenizer.java
12256 java/io/StringBufferInputStream.java java/io/StringReader.java
12257 java/io/StringWriter.java java/io/SyncFailedException.java
12258 java/io/UTFDataFormatException.java
12259 java/io/UnsupportedEncodingException.java
12260 java/io/WriteAbortedException.java java/io/Writer.java
12261 java/lang/AbstractMethodError.java
12262 java/lang/ArithmeticException.java
12263 java/lang/ArrayIndexOutOfBoundsException.java
12264 java/lang/ArrayStoreException.java java/lang/Boolean.java
12265 java/lang/Byte.java java/lang/CharSequence.java
12266 java/lang/ClassCastException.java
12267 java/lang/ClassCircularityError.java
12268 java/lang/ClassFormatError.java
12269 java/lang/ClassNotFoundException.java
12270 java/lang/CloneNotSupportedException.java
12271 java/lang/Cloneable.java java/lang/Comparable.java
12272 java/lang/Compiler.java java/lang/Double.java
12273 java/lang/Error.java java/lang/Exception.java
12274 java/lang/ExceptionInInitializerError.java
12275 java/lang/Float.java java/lang/IllegalAccessError.java
12276 java/lang/IllegalAccessException.java
12277 java/lang/IllegalArgumentException.java
12278 java/lang/IllegalMonitorStateException.java
12279 java/lang/IllegalStateException.java
12280 java/lang/IllegalThreadStateException.java
12281 java/lang/IncompatibleClassChangeError.java
12282 java/lang/IndexOutOfBoundsException.java
12283 java/lang/InheritableThreadLocal.java
12284 java/lang/InstantiationError.java
12285 java/lang/InstantiationException.java java/lang/Integer.java
12286 java/lang/InternalError.java
12287 java/lang/InterruptedException.java
12288 java/lang/LinkageError.java java/lang/Long.java
12289 java/lang/NegativeArraySizeException.java
12290 java/lang/NoClassDefFoundError.java
12291 java/lang/NoSuchFieldError.java
12292 java/lang/NoSuchFieldException.java
12293 java/lang/NoSuchMethodError.java
12294 java/lang/NoSuchMethodException.java
12295 java/lang/NullPointerException.java java/lang/Number.java
12296 java/lang/NumberFormatException.java
12297 java/lang/OutOfMemoryError.java java/lang/Package.java
12298 java/lang/Process.java java/lang/Runnable.java
12299 java/lang/RuntimeException.java
12300 java/lang/RuntimePermission.java
12301 java/lang/SecurityException.java
12302 java/lang/SecurityManager.java java/lang/Short.java
12303 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12304 java/lang/StringIndexOutOfBoundsException.java
12305 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12306 java/lang/ThreadLocal.java java/lang/UnknownError.java
12307 java/lang/UnsatisfiedLinkError.java
12308 java/lang/UnsupportedClassVersionError.java
12309 java/lang/UnsupportedOperationException.java
12310 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12311 java/lang/Void.java java/lang/ref/PhantomReference.java
12312 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12313 java/lang/ref/SoftReference.java
12314 java/lang/ref/WeakReference.java
12315 java/lang/reflect/AccessibleObject.java
12316 java/lang/reflect/InvocationTargetException.java
12317 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12318 java/lang/reflect/ReflectPermission.java
12319 java/math/BigDecimal.java java/math/BigInteger.java
12320 java/net/Authenticator.java java/net/BindException.java
12321 java/net/ConnectException.java java/net/ContentHandler.java
12322 java/net/ContentHandlerFactory.java
12323 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12324 java/net/FileNameMap.java java/net/MalformedURLException.java
12325 java/net/MulticastSocket.java java/net/NetPermission.java
12326 java/net/NoRouteToHostException.java
12327 java/net/PasswordAuthentication.java
12328 java/net/ProtocolException.java java/net/ServerSocket.java
12329 java/net/Socket.java java/net/SocketException.java
12330 java/net/SocketImpl.java java/net/SocketImplFactory.java
12331 java/net/SocketOptions.java java/net/SocketPermission.java
12332 java/net/URLDecoder.java java/net/URLEncoder.java
12333 java/net/URLStreamHandlerFactory.java
12334 java/net/UnknownHostException.java
12335 java/net/UnknownServiceException.java
12336 java/rmi/AccessException.java
12337 java/rmi/AlreadyBoundException.java
12338 java/rmi/ConnectException.java
12339 java/rmi/ConnectIOException.java
12340 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12341 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12342 java/rmi/NotBoundException.java
12343 java/rmi/RMISecurityException.java
12344 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12345 java/rmi/RemoteException.java java/rmi/ServerError.java
12346 java/rmi/ServerException.java
12347 java/rmi/ServerRuntimeException.java
12348 java/rmi/StubNotFoundException.java
12349 java/rmi/UnexpectedException.java
12350 java/rmi/UnknownHostException.java
12351 java/rmi/UnmarshalException.java
12352 java/rmi/activation/Activatable.java
12353 java/rmi/activation/ActivateFailedException.java
12354 java/rmi/activation/ActivationDesc.java
12355 java/rmi/activation/ActivationException.java
12356 java/rmi/activation/ActivationGroup.java
12357 java/rmi/activation/ActivationGroupDesc.java
12358 java/rmi/activation/ActivationGroupID.java
12359 java/rmi/activation/ActivationID.java
12360 java/rmi/activation/ActivationInstantiator.java
12361 java/rmi/activation/ActivationMonitor.java
12362 java/rmi/activation/ActivationSystem.java
12363 java/rmi/activation/Activator.java
12364 java/rmi/activation/UnknownGroupException.java
12365 java/rmi/activation/UnknownObjectException.java
12366 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12367 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12368 java/rmi/registry/Registry.java
12369 java/rmi/registry/RegistryHandler.java
12370 java/rmi/server/ExportException.java
12371 java/rmi/server/LoaderHandler.java
12372 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12373 java/rmi/server/Operation.java
12374 java/rmi/server/RMIClassLoader.java
12375 java/rmi/server/RMIClientSocketFactory.java
12376 java/rmi/server/RMIFailureHandler.java
12377 java/rmi/server/RMIServerSocketFactory.java
12378 java/rmi/server/RMISocketFactory.java
12379 java/rmi/server/RemoteCall.java
12380 java/rmi/server/RemoteObject.java
12381 java/rmi/server/RemoteRef.java
12382 java/rmi/server/RemoteServer.java
12383 java/rmi/server/RemoteStub.java
12384 java/rmi/server/ServerCloneException.java
12385 java/rmi/server/ServerNotActiveException.java
12386 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12387 java/rmi/server/SkeletonMismatchException.java
12388 java/rmi/server/SkeletonNotFoundException.java
12389 java/rmi/server/SocketSecurityException.java
12390 java/rmi/server/UID.java
12391 java/rmi/server/UnicastRemoteObject.java
12392 java/rmi/server/Unreferenced.java
12393 java/security/AccessControlContext.java
12394 java/security/AccessControlException.java
12395 java/security/AccessController.java
12396 java/security/AlgorithmParameterGenerator.java
12397 java/security/AlgorithmParameterGeneratorSpi.java
12398 java/security/AlgorithmParameters.java
12399 java/security/AlgorithmParametersSpi.java
12400 java/security/AllPermission.java
12401 java/security/BasicPermission.java
12402 java/security/Certificate.java java/security/CodeSource.java
12403 java/security/DigestException.java
12404 java/security/DigestInputStream.java
12405 java/security/DigestOutputStream.java
12406 java/security/DomainCombiner.java
12407 java/security/DummyKeyPairGenerator.java
12408 java/security/DummyMessageDigest.java
12409 java/security/DummySignature.java
12410 java/security/GeneralSecurityException.java
12411 java/security/Guard.java java/security/GuardedObject.java
12412 java/security/Identity.java java/security/IdentityScope.java
12413 java/security/InvalidAlgorithmParameterException.java
12414 java/security/InvalidKeyException.java
12415 java/security/InvalidParameterException.java
12416 java/security/Key.java java/security/KeyException.java
12417 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12418 java/security/KeyManagementException.java
12419 java/security/KeyPair.java java/security/KeyPairGenerator.java
12420 java/security/KeyPairGeneratorSpi.java
12421 java/security/KeyStore.java
12422 java/security/KeyStoreException.java
12423 java/security/KeyStoreSpi.java
12424 java/security/MessageDigest.java
12425 java/security/MessageDigestSpi.java
12426 java/security/NoSuchAlgorithmException.java
12427 java/security/NoSuchProviderException.java
12428 java/security/Permission.java
12429 java/security/PermissionCollection.java
12430 java/security/Permissions.java java/security/Policy.java
12431 java/security/Principal.java java/security/PrivateKey.java
12432 java/security/PrivilegedAction.java
12433 java/security/PrivilegedActionException.java
12434 java/security/PrivilegedExceptionAction.java
12435 java/security/ProtectionDomain.java
12436 java/security/Provider.java
12437 java/security/ProviderException.java
12438 java/security/PublicKey.java
12439 java/security/SecureClassLoader.java
12440 java/security/SecureRandom.java
12441 java/security/SecureRandomSpi.java java/security/Security.java
12442 java/security/SecurityPermission.java
12443 java/security/Signature.java
12444 java/security/SignatureException.java
12445 java/security/SignatureSpi.java
12446 java/security/SignedObject.java java/security/Signer.java
12447 java/security/UnrecoverableKeyException.java
12448 java/security/UnresolvedPermission.java
12449 java/security/acl/Acl.java java/security/acl/AclEntry.java
12450 java/security/acl/AclNotFoundException.java
12451 java/security/acl/Group.java
12452 java/security/acl/LastOwnerException.java
12453 java/security/acl/NotOwnerException.java
12454 java/security/acl/Owner.java java/security/acl/Permission.java
12455 java/security/cert/CRL.java
12456 java/security/cert/CRLException.java
12457 java/security/cert/Certificate.java
12458 java/security/cert/CertificateEncodingException.java
12459 java/security/cert/CertificateException.java
12460 java/security/cert/CertificateExpiredException.java
12461 java/security/cert/CertificateFactory.java
12462 java/security/cert/CertificateFactorySpi.java
12463 java/security/cert/CertificateNotYetValidException.java
12464 java/security/cert/CertificateParsingException.java
12465 java/security/cert/X509CRL.java
12466 java/security/cert/X509CRLEntry.java
12467 java/security/cert/X509Certificate.java
12468 java/security/cert/X509Extension.java
12469 java/security/interfaces/DSAKey.java
12470 java/security/interfaces/DSAKeyPairGenerator.java
12471 java/security/interfaces/DSAParams.java
12472 java/security/interfaces/DSAPrivateKey.java
12473 java/security/interfaces/DSAPublicKey.java
12474 java/security/interfaces/RSAKey.java
12475 java/security/interfaces/RSAPrivateCrtKey.java
12476 java/security/interfaces/RSAPrivateKey.java
12477 java/security/interfaces/RSAPublicKey.java
12478 java/security/spec/AlgorithmParameterSpec.java
12479 java/security/spec/DSAParameterSpec.java
12480 java/security/spec/DSAPrivateKeySpec.java
12481 java/security/spec/DSAPublicKeySpec.java
12482 java/security/spec/EncodedKeySpec.java
12483 java/security/spec/InvalidKeySpecException.java
12484 java/security/spec/InvalidParameterSpecException.java
12485 java/security/spec/KeySpec.java
12486 java/security/spec/PKCS8EncodedKeySpec.java
12487 java/security/spec/RSAKeyGenParameterSpec.java
12488 java/security/spec/RSAPrivateCrtKeySpec.java
12489 java/security/spec/RSAPrivateKeySpec.java
12490 java/security/spec/RSAPublicKeySpec.java
12491 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12492 java/sql/BatchUpdateException.java java/sql/Blob.java
12493 java/sql/CallableStatement.java java/sql/Clob.java
12494 java/sql/Connection.java java/sql/DataTruncation.java
12495 java/sql/DatabaseMetaData.java java/sql/Date.java
12496 java/sql/Driver.java java/sql/DriverManager.java
12497 java/sql/DriverPropertyInfo.java
12498 java/sql/PreparedStatement.java java/sql/Ref.java
12499 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12500 java/sql/SQLData.java java/sql/SQLException.java
12501 java/sql/SQLInput.java java/sql/SQLOutput.java
12502 java/sql/SQLWarning.java java/sql/Statement.java
12503 java/sql/Struct.java java/sql/Time.java
12504 java/sql/Timestamp.java java/sql/Types.java
12505 java/text/Annotation.java
12506 java/text/AttributedCharacterIterator.java
12507 java/text/AttributedString.java
12508 java/text/AttributedStringIterator.java
12509 java/text/BreakIterator.java java/text/CharacterIterator.java
12510 java/text/ChoiceFormat.java java/text/Collator.java
12511 java/text/DateFormat.java java/text/DateFormatSymbols.java
12512 java/text/DecimalFormat.java
12513 java/text/DecimalFormatSymbols.java
12514 java/text/FieldPosition.java java/text/Format.java
12515 java/text/MessageFormat.java java/text/NumberFormat.java
12516 java/text/ParseException.java java/text/ParsePosition.java
12517 java/text/SimpleDateFormat.java
12518 java/text/StringCharacterIterator.java
12519 java/util/AbstractCollection.java java/util/AbstractList.java
12520 java/util/AbstractMap.java
12521 java/util/AbstractSequentialList.java
12522 java/util/AbstractSet.java java/util/ArrayList.java
12523 java/util/Arrays.java java/util/BasicMapEntry.java
12524 java/util/BitSet.java java/util/Calendar.java
12525 java/util/Collection.java java/util/Collections.java
12526 java/util/Comparator.java
12527 java/util/ConcurrentModificationException.java
12528 java/util/Date.java java/util/Dictionary.java
12529 java/util/EmptyStackException.java java/util/Enumeration.java
12530 java/util/EventListener.java java/util/EventObject.java
12531 java/util/GregorianCalendar.java java/util/HashMap.java
12532 java/util/HashSet.java java/util/Hashtable.java
12533 java/util/IdentityHashMap.java java/util/Iterator.java
12534 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12535 java/util/LinkedList.java java/util/List.java
12536 java/util/ListIterator.java java/util/ListResourceBundle.java
12537 java/util/Locale.java java/util/Map.java
12538 java/util/MissingResourceException.java
12539 java/util/NoSuchElementException.java
12540 java/util/Observable.java java/util/Observer.java
12541 java/util/Properties.java java/util/PropertyPermission.java
12542 java/util/PropertyResourceBundle.java java/util/Random.java
12543 java/util/RandomAccess.java java/util/ResourceBundle.java
12544 java/util/Set.java java/util/SimpleTimeZone.java
12545 java/util/SortedMap.java java/util/SortedSet.java
12546 java/util/Stack.java java/util/StringTokenizer.java
12547 java/util/TimeZone.java java/util/Timer.java
12548 java/util/TimerTask.java
12549 java/util/TooManyListenersException.java
12550 java/util/TreeMap.java java/util/TreeSet.java
12551 java/util/Vector.java java/util/WeakHashMap.java
12552 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12553 java/util/jar/JarException.java java/util/jar/JarFile.java
12554 java/util/jar/JarInputStream.java
12555 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12556 java/util/zip/Adler32.java java/util/zip/CRC32.java
12557 java/util/zip/CheckedInputStream.java
12558 java/util/zip/CheckedOutputStream.java
12559 java/util/zip/Checksum.java
12560 java/util/zip/DataFormatException.java
12561 java/util/zip/Deflater.java
12562 java/util/zip/DeflaterOutputStream.java
12563 java/util/zip/GZIPInputStream.java
12564 java/util/zip/GZIPOutputStream.java
12565 java/util/zip/Inflater.java
12566 java/util/zip/InflaterInputStream.java
12567 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12568 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12569 java/util/zip/ZipInputStream.java
12570 java/util/zip/ZipOutputStream.java
12571 javax/naming/BinaryRefAddr.java
12572 javax/naming/InvalidNameException.java javax/naming/Name.java
12573 javax/naming/NamingException.java javax/naming/RefAddr.java
12574 javax/naming/StringRefAddr.java: Add license clarification.
12575
12576 2002-01-22 Tom Tromey <tromey@redhat.com>
12577
12578 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12579 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12580 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12581 version.
12582 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12583 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12584 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12585 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12586 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12587 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12588 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12589 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12590 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12591 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12592 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12593 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12594 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12595 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12596 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12597 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12598 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12599 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12600 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12601 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12602 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12603 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12604 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12605 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12606 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12607 (minimumSize, preferredSize, reshape): Likewise.
12608 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12609 getColorModel): New methods.
12610 * java/awt/PopupMenu.java: Merged with Classpath.
12611 * java/awt/MenuBar.java: Merged with Classpath.
12612 * java/awt/SystemColor.java: Replace with Classpath version.
12613 * java/awt/Panel.java: Merged with Classpath.
12614 * java/awt/PaintContext.java: Updated copyright.
12615 * java/awt/MenuShortcut.java: Merged with Classpath.
12616 * java/awt/MenuContainer.java: Merged with Classpath.
12617 * java/awt/Menu.java: Merged with Classpath.
12618 * java/awt/MediaEntry.java: New file from Classpath.
12619 * java/awt/MediaTracker.java: New file from Classpath.
12620 * java/awt/List.java: Merged with Classpath version.
12621 * java/awt/Insets.java: Merged with Classpath version.
12622 * java/awt/ImageMediaEntry.java: New file from Classpath.
12623 * java/awt/Image.java: Replaced with Classpath version.
12624 * java/awt/FontMetrics.java: Merged with Classpath version.
12625 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12626 constant.
12627 * java/awt/Font.java: Merged with Classpath version.
12628 * java/awt/Dialog.java: Merged with Classpath version.
12629 * java/awt/Color.java: Merged with Classpath version.
12630 * java/awt/Choice.java: Merged with Classpath version.
12631 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12632 * java/awt/Adjustable.java: Replace with Classpath version.
12633 * java/awt/MenuItem.java (paramString): Don't include class name
12634 or brackets. Call superclass paramString.
12635 * java/awt/MenuComponent.java (toString): Call paramString.
12636 (paramString): Compute string; don't call toString.
12637 * java/awt/Label.java (paramString): Don't include class name
12638 or brackets. Call superclass paramString.
12639 * java/awt/Checkbox.java (paramString): Don't include class name
12640 or brackets. Call superclass paramString.
12641 * java/awt/Button.java (paramString): Don't include class name or
12642 brackets. Call superclass paramString.
12643 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12644
12645 2002-01-20 Andreas Schwab <schwab@suse.de>
12646
12647 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12648 function and of parameter recv_func to ssize_t, as specified by
12649 POSIX.
12650
12651 2002-01-19 Per Bothner <per@bothner.com>
12652
12653 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12654 uncompressed_size in readiness for next entry.
12655
12656 2002-01-18 Tom Tromey <tromey@redhat.com>
12657
12658 * java/net/natPlainSocketImpl.cc: Include
12659 IllegalArgumentException.h.
12660 (_Jv_recv): New template function.
12661 (BooleanClass): Removed.
12662 (read): Use _Jv_recv.
12663 (setOption): Use Boolean::class$. Throw exception if object is
12664 not Boolean or Integer.
12665
12666 2002-01-17 Tom Tromey <tromey@redhat.com>
12667
12668 * java/awt/MenuComponent.java: Merged with Classpath.
12669 * java/awt/MenuItem.java: Merged with Classpath.
12670 * java/awt/Button.java: Merged with Classpath.
12671
12672 * java/awt/ActiveEvent.java: Updated copyright.
12673
12674 * java/awt/AWTError.java: Replaced with Classpath version.
12675 * java/awt/AWTException.java: Replaced with Classpath version.
12676 * java/awt/IllegalComponentStateException.java: Replaced with
12677 Classpath version.
12678
12679 2002-01-16 Tom Tromey <tromey@redhat.com>
12680
12681 * java/awt/Canvas.java (serialVersionUID): New constant.
12682 Updated copyright. Added javadoc from Classpath.
12683 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12684
12685 * java/awt/CheckboxGroup.java: Merged with Classpath.
12686 * java/awt/Checkbox.java: Merged with Classpath.
12687
12688 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12689 Classpath.
12690 * java/awt/Point.java: Updated copyright.
12691
12692 * java/awt/Point.java (toString): Use getClass().getName().
12693 Added javadoc.
12694
12695 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12696 commented code.
12697 (hash): Correctly compute initial value for `h'.
12698
12699 * java/awt/Label.java: Merged with Classpath.
12700
12701 2002-01-15 Tom Tromey <tromey@redhat.com>
12702
12703 * java/awt/AWTPermission.java: Updated copyright.
12704
12705 * java/awt/LayoutManager2.java: Merged with Classpath.
12706 * java/awt/LayoutManager.java: Merged with Classpath.
12707 * java/awt/GridLayout.java: Updated copyright and javadoc.
12708 (getSize): Use `parent.ncomponents'. Handle insets.
12709 (layoutContainer): Use `parent.ncomponents'. Handle case where
12710 there are fewer children than columns. Correctly compute size of
12711 each cell in the grid. Handle case where there isn't enough
12712 space.
12713 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12714 all users.
12715 (gotoComponent): Use parent.ncomponents. Ensure child exists
12716 before calling setVisible() on it. Last item is `num - 1', not
12717 `num'.
12718 (layoutContainer): Hoist invariants out of loop.
12719
12720 Start of AWT merge with Classpath:
12721 * Makefile.in: Rebuilt.
12722 * Makefile.am (awt_java_source_files): Reference files in
12723 gnu/java/awt, not gnu/gcj/awt.
12724 * java/awt/image/BufferedImage.java: Updated copyright.
12725 * java/awt/image/ComponentColorModel.java: Updated copyright.
12726 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12727 * java/awt/image/DataBuffer.java: Updated copyright.
12728 * java/awt/image/DataBufferByte.java: Updated copyright.
12729 * java/awt/image/DataBufferInt.java: Updated copyright.
12730 * java/awt/image/DataBufferUShort.java: Updated copyright.
12731 * java/awt/image/IndexColorModel.java: Updated copyright.
12732 * java/awt/image/PackedColorModel.java: Updated copyright.
12733 * java/awt/image/Raster.java: Updated copyright.
12734 * java/awt/image/RasterOp.java: Updated copyright.
12735 * java/awt/image/SampleModel.java: Updated copyright.
12736 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12737 * java/awt/image/WritableRaster.java: Updated copyright.
12738 * java/awt/color/ColorSpace.java: Updated copyright.
12739 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12740 * java/awt/color/ICC_Profile.java: Updated copyright.
12741 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12742 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12743 * java/awt/event/HierarchyEvent.java: Updated copyright.
12744 * java/awt/event/HierarchyListener.java: Updated copyright.
12745 * java/awt/geom/AffineTransform.java: Updated copyright.
12746 * java/awt/geom/Dimension2D.java: Updated copyright.
12747 * java/awt/geom/Ellipse2D.java: Updated copyright.
12748 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12749 * java/awt/geom/Line2D.java: Updated copyright.
12750 * java/awt/geom/NoninvertibleTransformException.java: Updated
12751 copyright.
12752 * java/awt/geom/PathIterator.java: Updated copyright.
12753 * java/awt/geom/Point2D.java: Updated copyright.
12754 * java/awt/geom/Rectangle2D.java: Updated copyright.
12755 * java/awt/geom/RectangularShape.java: Updated copyright.
12756 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12757 * java/awt/Toolkit.java: Updated import for file moves.
12758 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12759 Classpath.
12760 (hashCode): New method from Classpath.
12761 * java/awt/Graphics2D.java: Updated copyright.
12762 * java/awt/Transparency.java: Updated copyright.
12763 * java/awt/Paint.java: Updated copyright.
12764 * java/awt/Graphics.java: New version from Classpath.
12765 * java/awt/EventDispatchThread.java: Updated copyright.
12766 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12767 children.
12768 (gotoComponent): Wrap around on next/previous.
12769 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12770 * gnu/gcj/awt/Buffers.java: Removed.
12771 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12772 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12773 * gnu/java/awt/BitMaskExtent.java: Added.
12774 * gnu/java/awt/Buffers.java: Added.
12775 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12776 * gnu/java/awt/GLightweightPeer.java: Added.
12777 * java/awt/geom/Line2D.java (clone): Ignore
12778 CloneNotSupportedException.
12779 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12780 * java/awt/Frame.java: Merged with Classpath.
12781 * java/awt/RenderingHints.java: Copyright update.
12782 * java/awt/Paint.java: Copyright update.
12783 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12784 * java/awt/image/ColorModel.java: Merged with Classpath.
12785 * java/awt/Window.java (show): New Implementation from Classpath.
12786 (isShowing): Use super.isShowing().
12787 * java/awt/EventQueue.java: Merged with Classpath.
12788 * java/awt/AWTEventMulticaster.java (save): Throw
12789 RuntimeException.
12790 (saveInternal): Likewise.
12791 * java/awt/AWTEvent.java: Now implements Serializable.
12792 * java/awt/Event.java: Copyright update.
12793 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12794 * java/awt/image/BufferedImage.java: Copyright update.
12795 * java/awt/GraphicsConfiguration.java: Copyright update.
12796 * java/awt/Component.java: (addNotify): Don't call
12797 addNotifyContainerChildren().
12798 (addNotifyContainerChildren): Removed.
12799 (setPeer): New method from Classpath.
12800 (setTreeLock): Likewise.
12801 (setVisible): Rewrote.
12802 (show): Use it.
12803 (hide): Likewise.
12804 (validate): Set `valid'.
12805 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12806 (createImage(ImageProducer)): Likewise.
12807 (prepareImage): Likewise.
12808 * java/awt/Container.java (addImpl): Handle case where constraint
12809 is not a String. Post event via system event queue.
12810 (remove): Post event via system event queue.
12811 (validateTree): Only validate child if it is invalid.
12812 (getAlignmentX): Call super method as default.
12813 (getAlignmentY): Likewise.
12814 (addContainerListener): Now synchronized.
12815 (removeContainerListener): Likewise.
12816 (addNotifyContainerChildren): Now private.
12817 * java/awt/ComponentOrientation.java: Updated copyright. Added
12818 @author.
12819 * java/awt/FlowLayout.java (serialVersionUID): New field.
12820 (setAlignment): Better exception message.
12821 (layoutContainer): Don't compute component's preferred size unless
12822 we're going to use it.
12823 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12824 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12825 (firstLine, lastLine, firstItem, lastItem): New fields.
12826 (addLayoutComponent): Handle case where constraints is null.
12827 Also, handle relative locations.
12828 (removeLayoutComponent): Handle relative locations.
12829 (MIN, MAX, PREF): New constants.
12830 (calcCompSize): New method.
12831 (calcSize): New method.
12832 (minimumLayoutSize): Use it.
12833 (preferredLayoutSize): Likewise.
12834 (maximumLayoutSize): Likewise.
12835 (toString): Include more information.
12836 (setBounds): New method.
12837 (layoutContainer): Use libgcj implementation; extended to handle
12838 relative locations.
12839
12840 2002-01-15 Tom Tromey <tromey@redhat.com>
12841
12842 * java/lang/Float.java (equals): Preserve old code.
12843 * java/lang/Double.java (equals): Preserve old code.
12844
12845 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12846
12847 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12848 * java/lang/Float.java (equals, compare): Ditto.
12849
12850 2002-01-13 Mark Wielaard <mark@klomp.org>
12851
12852 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12853 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12854 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12855 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12856
12857 2002-01-11 Mark Wielaard <mark@klomp.org>
12858
12859 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12860 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12861 InetAddress.
12862 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12863 * java/net/Socket.java: Merge with Classpath.
12864 * java/net/ServerSocket.java: Likewise.
12865
12866 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12867
12868 * interpret.cc (NULLARRAYCHECK): New macro.
12869 (SAVE_PC): Just store `pc'.
12870 (find_exception): Subtract one from `pc' here.
12871 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12872 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12873 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12874 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12875 don't call SAVE_PC.
12876 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12877 call SAVE_PC.
12878
12879 2002-01-11 Tom Tromey <tromey@redhat.com>
12880
12881 * java/lang/natSystem.cc (init_properties): Only look for default
12882 locale if LC_MESSAGES is defined.
12883 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12884 * configure.in: Call AM_LC_MESSAGES.
12885 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12886
12887 2002-01-10 Tom Tromey <tromey@redhat.com>
12888
12889 For PR libgcj/5303:
12890 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12891 --version. Recognize GNU-style long options. Print GNU-style
12892 error messages.
12893 (usage): Print GNU-style help. Exit with status 0.
12894 (error): New method.
12895 (run): Print error message if no class names found.
12896 (main): Don't print usage on error.
12897
12898 2002-01-09 Tom Tromey <tromey@redhat.com>
12899
12900 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12901 property.
12902 (help, version): Use println(), not println("").
12903
12904 For PR libgcj/5303:
12905 * gnu/gcj/convert/Convert.java (error): Program is called
12906 `jv-convert'. Print GNU-style message. Exit with status 1, not
12907 -1.
12908 (main): Handle --help and --version.
12909 (help): New method.
12910 (version): Likewise.
12911
12912 2002-01-08 Tom Tromey <tromey@redhat.com>
12913
12914 * Makefile.in: Rebuilt.
12915 * Makefile.am (ordinary_java_source_files): Added new files.
12916 * gnu/java/locale/LocaleInformation.java: Extend
12917 LocaleInformation_en.
12918 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12919 and time/date formats.
12920 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12921 generated.
12922 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12923 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12924 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12925 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12926 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12927 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12928 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12929 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12930 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12931 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12932 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12933 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12934 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12935 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12936 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12937 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12938 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12939 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12940 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12941 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12942 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12943 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12944 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12945 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12946 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12947 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12948 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12949 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12950 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12951 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12952 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12953 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12954 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12955 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12956 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12957 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12958 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12959 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12960 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12961 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12962 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12963 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12964 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12965 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12966 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12967 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12968 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12969 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12970 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12971 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12972 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12973 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12974 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12975 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12976 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12977 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12978 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12979 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12980 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12981 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12982 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12983 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12984 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12985 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12986 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12987 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12988 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12989 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12990 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12991 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12992 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12993 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12994 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12995 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12996 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12997 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12998 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12999 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
13000 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
13001 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
13002 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
13003 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
13004 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
13005 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
13006 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
13007 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
13008 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
13009 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
13010 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
13011 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
13012 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
13013 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
13014 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
13015 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
13016 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
13017 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
13018 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
13019 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
13020 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
13021 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
13022 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
13023 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
13024 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
13025 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
13026 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
13027 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
13028 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
13029 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
13030 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
13031 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
13032 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
13033 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
13034 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
13035 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
13036 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
13037 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
13038 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
13039 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
13040 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
13041 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
13042 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
13043 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
13044 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
13045 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
13046 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
13047 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
13048 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
13049 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
13050 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
13051 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
13052
13053 For PR libgcj/5031:
13054 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
13055 choose default locale.
13056
13057 * Makefile.in: Rebuilt.
13058 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
13059
13060 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
13061
13062 * java/net/natPlainSocketImpl.cc: Added timeout handling for
13063 sockets.
13064 (close): New function closes the socket.
13065 (write): New functions for output to socket.
13066 (read): New functions for reading from socket.
13067 * java/net/PlainSocketImpl.java: Glue for new timeout
13068 implementation.
13069 (write): Call the native impl.
13070 (read): Likewise.
13071 (getInputStream): Get a stream to read from the socket.
13072 (getOutputStream): Get a stream to write to the socket.
13073
13074 2002-01-08 Tom Tromey <tromey@redhat.com>
13075
13076 * resolve.cc (_Jv_PrepareClass): Enable verifier.
13077
13078 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
13079
13080 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
13081 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
13082
13083 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
13084
13085 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
13086 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
13087 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
13088 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
13089 insn_bastore, insn_castore, insn_sastore]: Use it.
13090 (continue1) [insn_arraylength]: Check for null array.
13091
13092 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
13093
13094 * configure, include/config.h.in: Rebuilt.
13095 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
13096 * configure.in: Call AC_STRUCT_TIMEZONE.
13097
13098 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
13099
13100 * configure.host: Disable the interpreter for Darwin.
13101
13102 2002-01-04 Tom Tromey <tromey@redhat.com>
13103
13104 * java/lang/Thread.java (stop): No longer synchronized.
13105 (start): Likewise.
13106
13107 2002-01-02 Tom Tromey <tromey@redhat.com>
13108
13109 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13110 patch.
13111
13112 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13113
13114 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13115 PPC Darwin, not for all of Darwin.