2003-08-02 Michael Koch <konqueror@gmx.de>
[gcc.git] / libjava / ChangeLog
1 2003-08-02 Michael Koch <konqueror@gmx.de>
2
3 * java/nio/ByteBufferImpl.java
4 (getChar): Check remaining bytes, fixed comment about endianess.
5 (putChar): Likewise.
6 (getShort): Likewise.
7 (putShort): Likewise.
8 (getInt): Check remaining bytes, fixed conversion, fixed comment about
9 endianess.
10 (putInt): Likewise.
11 (getLong): Likewise.
12 (putLong): Likewise.
13 (getFloat): Likewise.
14 (putFloat): Likewise.
15 (getDouble): Likewise.
16 (putDouble): Likewise.
17 * java/nio/DirectByteBufferImpl.java
18 (getChar): Wrapped code, fixed comment about endianess.
19 (putchar): Likewise.
20 (getShort): Likewise.
21 (putShort): Likewise.
22 (getInt): Fixed conversion, fixed comment about endianess.
23 (putInt): Likewise.
24 (getLong): Likewise.
25 (putLong): Likewise.
26 (getFloat): Likewise.
27 (putFloat): Likewise.
28 (getDouble): Likewise.
29 (putDouble): Likewise.
30 * java/nio/MappedByteBufferImpl.java
31 (compact): Implemented.
32 (getChar): Implemented.
33 (putChar): Implemented.
34 (getDouble): Implemented.
35 (putdouble): Implemented.
36 (getFloat): Implemented.
37 (putFloat): Implemented.
38 (getInt): Implemented.
39 (putInt): Implemented.
40 (getLong): Implemented.
41 (putLong): Implemented.
42 (getShort): Implemented.
43 (putShort): Implemented.
44 * java/nio/channels/FileChannelImpl.java
45 (read): Set position where to access file.
46 (write): Likewise.
47 (transferTo): Flip buffer after read and before write.
48 (transferFrom): Likewise.
49
50 2003-08-02 Michael Koch <konqueror@gmx.de>
51
52 * gnu/java/lang/ArrayHelper.java
53 (equalsArray): Reformated, added method documentation.
54
55 2003-08-02 Michael Koch <konqueror@gmx.de>
56
57 * java/net/URL.java
58 (URL): Added paragraph about the
59 gnu.java.net.nocache_protocol_handlers property.
60 (ph_cache): Renamed from handlers to match classpath's implementation.
61 Reordered it with factory and serialVersionUID member variables.
62 (cache_handlers): New member variable.
63 (static): New static initializer to initialize cache_handlers from
64 gnu.java.net.nocache_protocol_handlers property.
65 (URL): Use ph_cache instead of handlers, reformatted some code to
66 match classpath's implementation.
67
68 2003-08-01 Tom Tromey <tromey@redhat.com>
69
70 Fix for PR libgcj/11241:
71 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
72 initialCapacity is 0, set it to 1.
73
74 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
75
76 * java/net/SocketImpl.java (toString): Display the remote address
77 of an unconnected server socket as "0.0.0.0/0.0.0.0".
78
79 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
80
81 * javax/swing/border/BevelBorder.java,
82 javax/swing/border/EtchedBorder.java,
83 javax/swing/border/LineBorder.java,
84 javax/swing/border/MatteBorder.java,
85 javax/swing/border/SoftBevelBorder.java,
86 javax/swing/plaf/BorderUIResource.java,
87 javax/swing/plaf/ComponentUI.java,
88 javax/swing/plaf/TreeUI.java,
89 javax/swing/plaf/basic/BasicBorders.java,
90 javax/swing/plaf/basic/BasicGraphicsUtils.java,
91 javax/swing/plaf/basic/BasicTreeUI.java:
92 Prepend "doc-files" to all paths to embedded Javadoc images, so
93 that the generated documentation contains the correct URL.
94
95 2003-08-01 Tom Tromey <tromey@redhat.com>
96
97 * configure: Rebuilt.
98 * configure.in (tool_include_dir): Redefine to match gcc.
99
100 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
101 Mark Wielaard <mark@klomp.org>
102
103 * java/math/BigDecimal (divide): Correctly handle
104 ROUND_HALF_EVEN when amount is greater than 0.5.
105 Simplify and optimize code.
106
107 2003-07-31 Tom Tromey <tromey@redhat.com>
108
109 More for PR libgcj/11737:
110 * java/io/ObjectInputStream.java (processResolution): Use
111 getMethod.
112 (getMethod): Make method accessible.
113 (getField): Make field accessible.
114 (setBooleanField): Don't call setAccessible here.
115 (setByteField, setCharField, setDoubleField, setFloatField,
116 setIntField, setLongField, setShortField, setObjectField):
117 Likewise.
118 (callReadMethod): Don't check whether method is null. Catch
119 NoSuchMethodException.
120 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
121 cause on thrown exceptions.
122
123 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
124
125 Fix for PR libgcj/11728:
126 * java/util/HashMap.java (readObject): Set size.
127
128 2003-07-31 Tom Tromey <tromey@redhat.com>
129
130 Fix for PR libgcj/11737:
131 * java/io/ObjectOutputStream.java (getMethod): Make method
132 accessible.
133 (getField): Likewise.
134 (writeObject): Use getMethod.
135 Import PrivilegedAction and AccessController.
136 (callWriteMethod): Don't check whether m is null. Catch
137 NoSuchMethodException.
138
139 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
140 (containsAngle): Likewise.
141 (getStartPoint): Rewrote.
142 (getEndPoint): Likewise.
143 (setAngleStart(Point2D)): Likewise.
144
145 2003-07-31 Roger Sayle <roger@eyesopen.com>
146 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
147
148 * configure.in: Add new THREADCXXFLAGS variable.
149 Handle POSIX threads on alpha*-dec-osf*.
150 * configure: Regenerate.
151 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
152 * Makefile.in: Regenerate.
153
154 2003-07-08 Andrew Haley <aph@redhat.com>
155
156 * include/i386-signal.h (RESTORE): New.
157 (INIT_SEGV): Set restorer.
158 (INIT_FPE): Likewise.
159
160 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
161
162 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
163 than getXLFD.
164 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
165 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
167 (gtkSetFont): Scale size parameter by PANGO_SCALE.
168 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
169 Likewise.
170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
171 Likewise.
172
173 2003-07-29 Tom Tromey <tromey@redhat.com>
174
175 * defineclass.cc (handleField): Throw exception if field name is
176 duplicated.
177 (handleMethod): Throw exception for duplicate method.
178
179 2003-07-29 Tom Tromey <tromey@redhat.com>
180
181 * gnu/gcj/convert/natIconv.cc (write): Handle case where
182 output buffer is too small.
183
184 2003-07-28 Tom Tromey <tromey@redhat.com>
185
186 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
187 New method.
188 Include gnu/gcj/runtime/StringBuffer.h.
189 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
190 native method.
191 (String(gnu.gcj.runtime.StringBuffer)): Use it.
192
193 2003-07-27 Anthony Green <green@redhat.com>
194
195 * configure.in: Fix newlib check.
196 * configure: Rebuilt.
197
198 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
199
200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
201 Create vbox and layout for GtkPlug.
202
203 2003-07-27 Michael Koch <konqueror@gmx.de>
204
205 * java/awt/Window.java
206 (Window): Removed now unused constructor. It became oboslete with the
207 new embedded window patch.
208
209 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
210 Michael Koch <konqueror@gmx.de>
211
212 * gnu/java/awt/EmbeddedWindow.java
213 (EmbeddedWindow): Extends Frame instead of Window.
214 (window_id): New member variable to store the native window handle.
215 (create): Removed.
216 (EmbeddedWindow): New constructor.
217 (addNotify): New method.
218 (getHandler): Likewise.
219 (setWindowPeer): New native method.
220 * gnu/java/awt/EmbeddedWindowSupport.java
221 (EmbeddedWindowSupport): Fixed documentation.
222 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
223 WindowPeer, give it an EmbeddedWindow instance instead of the raw
224 window data.
225 * gnu/java/awt/natEmbeddedWindow.cc
226 (create): Removed.
227 (setWindowPeer): New method.
228 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
229 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
230 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
231 New files
232 * gnu/java/awt/peer/gtk/GtkToolkit.java
233 (GtkToolkit): Implements EmbeddedWindowSupport.
234 (createEmbeddedWindow): New method.
235 * java/awt/Window.java
236 (Window): Removed.
237 * Makefile.am
238 (java_source_files): Added EmbeddedWindowPeer.java.
239 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
240 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
241 * Makefile.in: Regenerated.
242
243 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
244
245 * java/lang/Win32Process.java (ConcreteProcess): Surround
246 a command line element with quotes if it contains an
247 embedded space or tab.
248 * java/lang/natWin32Process.cc (startProcess): Do not
249 surround command line elements with quotes here.
250
251 * configure.host: Use -fcheck-references and
252 -fuse-divide-subroutine for MinGW until we fix
253 win32_exception_handler( ) in win32.cc w.r.t. Win32
254 Structured Exception Handling (SEH).
255
256 * win32.cc (_Jv_platform_initProperties): Use generic names
257 like "x86" for the "os.arch" property to be consistent with
258 what Sun's JDK produces. Use the wProcessorArchitecture
259 member of the Win32 SYSTEM_INFO structure, filled in a call
260 to GetSystemInfo( ), instead of dwProcessorType.
261
262 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
263 Ranjit Mathew <rmathew@hotmail.com>
264
265 * Makefile.am: Use cross-compiling gcjh from the path for
266 a crossed-native build.
267 * Makefile.in: Rebuilt.
268 * configure.in: Include libltdl in non-newlib builds.
269 Moved determination of gcj used to build libraries to
270 its own section. Fixed cross-compilation issues for
271 non-newlib builds.
272 * configure: Rebuilt.
273
274 2003-07-25 Tom Tromey <tromey@redhat.com>
275
276 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
277 (write): Likewise.
278 (read): Likewise.
279 (read): Likewise.
280
281 2003-07-25 Mark Wielaard <mark@klomp.org>
282
283 * java/lang/natRuntime.cc (_load): Add library name to
284 UnsatisfiedLinkError when thrown.
285
286 2003-07-25 Mark Wielaard <mark@klomp.org>
287
288 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
289 added.
290 * Makefile.in: Likewise.
291
292 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
293
294 * java/awt/Component.java
295 (getPreferredSize): Call preferredSize.
296 (preferredSize): Moved body of getPreferredSize here.
297 (getMinimumSize): Call minimumSize.
298 (minimumSize): Moved body of getMinimumSize here.
299 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
300 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
301 pass -1
302 * java/awt/Container.java
303 (validate): Don't validate if there is no peer.
304 (update): Clear background before calling paint.
305 * java/awt/GridBagLayout.java
306 Completed the implementation and fixed several bugs.
307 * java/awt/MediaTracker.java
308 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
309 combine flags.
310 * java/awt/Window.java
311 (Window): Don't call setVisible(false). Windows are invisible by
312 default and calling virtual methods from constructor causes
313 compatibility problems (e.g. subclasses may assume that the peer
314 already exists).
315
316 2003-07-25 Michael Koch <konqueror@gmx.de>
317
318 * java/awt/GridBagLayout.java:
319 Totally reworked and partly implemented.
320 * java/awt/GridBagLayoutInfo.java:
321 New file.
322
323 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
324
325 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
326 Don't pack label in an event box.
327
328 2003-07-24 Tom Tromey <tromey@redhat.com>
329
330 For PR libgcj/7482:
331 * verify.cc (ref_intersection): New class.
332 (type_val): Removed unresolved_reference_type,
333 uninitialized_unresolved_reference_type.
334 (is_assignable_from_slow): Rewrote.
335 (type::data): Removed.
336 (type::klass): New field.
337 (type::type): Added verifier argument.
338 (type::resolve): Removed.
339 (type::set_uninitialized): Updated for change to type_val.
340 (type::set_initialized): Likewise.
341 (type::isinitialized): Likewise.
342 (type::print): Likewise.
343 (construct_primitive_array_type): Likewise.
344 (type::compatible): Updated for change to type_val and to use
345 ref_intersection.
346 (type::isarray): Updated to use ref_intersection.
347 (type::isinterface): Likewise.
348 (type::element_type): Likewise.
349 (type::to_array): Likewise.
350 (type::verify_dimensions): Rewrote.
351 (type::merge): Likewise.
352 (check_class_constant): Updated for type constructor change.
353 (check_constant): Likewise.
354 (check_field_constant): Likewise.
355 (get_one_type): Likewise.
356 (initialize_stack): Likewise.
357 (verify_instructions_0): Likewise.
358 (verify_instructions_0) [op_invokeinterface]: Removed special
359 case.
360 (isect_list): New field.
361 (_Jv_BytecodeVerifier): Initialize it.
362 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
363
364 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
365
366 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
367 unless field size is 2.
368
369 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
370
371 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
372 (connectHooks): New method.
373 (handleEvent): Remove.
374 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
375 (createHooks): Remove declaration.
376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
377 (generates_key_typed_event): Change to handle only certain
378 keyvals.
379 (awt_event_handler): Add special handling for GtkTextView.
380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
381 (textcomponent_commit_cb): New function.
382 (textcomponent_changed_cb): Likewise.
383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
384 (connectHooks): Remove.
385
386 2003-07-23 Tom Tromey <tromey@redhat.com>
387
388 * java/lang/natSystem.cc (arraycopy): Check for overflow.
389
390 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
391
392 2003-07-22 Tom Tromey <tromey@redhat.com>
393
394 * boehm.cc (_Jv_BuildGCDescr): Wrote.
395 Include limits.h.
396
397 2003-07-22 Tom Tromey <tromey@redhat.com>
398
399 * java/awt/Window.java (getWarningString): Just return the
400 string.
401 (Window): Set warningString; check with security manager.
402
403 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
404
405 * gnu/awt/xlib/XGraphicsConfiguration.java
406 (FontMetricsCache): Made static.
407
408 2003-07-22 Tom Tromey <tromey@redhat.com>
409
410 * java/net/URLEncoder.java (encode(String)): Use platform default
411 encoding.
412 (encode(String,String)): Convert to 2-digit upper-case hex
413 number.
414 (hex): New field.
415
416 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
417
418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
419 (create): Remove unused method implementation.
420 (connectHooks): Remove debug messages.
421
422 2003-07-20 Anthony Green <green@redhat.com>
423
424 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
425 CloneNotSupportedException.
426 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
427 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
428 * gnu/gcj/xlib/GC.java (clone): Ditto.
429 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
430 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
431
432 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
433 handler.
434 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
435
436 2003-07-20 Steve Pribyl <steve@netfuel.com.>
437
438 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
439 String. Put dlerror() message into exception.
440 Include UnsatisfiedLinkError.
441 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
442 String. Now native.
443
444 2003-07-20 Tom Tromey <tromey@redhat.com>
445
446 * java/lang/Runtime.java: Comment fix.
447 * java/lang/ClassLoader.java (isAncestorOf): New method.
448 (getParent): Uncommented security check. Use isAncestorOf.
449 * include/jvm.h (_Jv_CheckAccess): Declare.
450 * java/lang/reflect/natConstructor.cc (newInstance): Perform
451 access check.
452 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
453 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
454 class loader to _Jv_GetArrayClass.
455 Include ArrayIndexOutOfBoundsException.h.
456 * java/lang/reflect/Field.java: Update comment to reflect status.
457 (equals): Fixed indentation.
458 * java/lang/Class.h (Class): Declare memberAccessCheck, not
459 checkMemberAccess. Make _Jv_CheckAccess a friend.
460 * java/lang/Class.java (memberAccessCheck): New method from
461 Classpath.
462 (checkMemberAccess): Removed.
463 (getDeclaredMethod): Use memberAccessCheck.
464 (getField): Likewise.
465 (getMethod): Likewise.
466 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
467 (_Jv_SearchMethodInClass): Likewise.
468 * prims.cc (_Jv_CheckAccess): New function.
469 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
470 (_Jv_JNI_GetAnyFieldID): Likewise.
471 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
472 (getClassLoader): Added security check.
473 (getConstructor): Call memberAccessCheck.
474 (getDeclaredClasses): Likewise.
475 (getDeclaredField): Likewise.
476 (getDeclaredFields): Likewise.
477 (_getConstructors): Likewise.
478 (getDeclaredConstructor): Likewise.
479 (getDeclaredMethods): Likewise.
480 (getFields): Likewise.
481 (getMethods): Likewise.
482 (newInstance): Likewise.
483 (_Jv_MakeVTable): Put method name in exception.
484 * java/lang/reflect/natMethod.cc (getType): Use
485 getClassLoaderInternal.
486 (_Jv_GetTypesFromSignature): Likewise.
487 (invoke): Perform access check.
488 (_Jv_CallAnyMethodA): Removed old FIXME comments.
489 Include ArrayIndexOutOfBoundsException.h.
490 * java/lang/reflect/natField.cc (getType): Use
491 getClassLoaderInternal.
492 (_Jv_CheckFieldAccessibility): Removed.
493 (getAddr): Use _Jv_CheckAccess; find caller.
494 Include ArrayIndexOutOfBoundsException.h.
495
496 2003-07-20 Michael Koch <konqueror@gmx.de>
497
498 * java/net/URL.java
499 (URL): Fixed documentation to name an argument correcty, Reformatted
500 one method declaration.
501 (getURLStreamHandler): Added documentation from classpath.
502
503 2003-07-19 Tom Tromey <tromey@redhat.com>
504
505 * mauve-libgcj: Don't run CollationElementIterator tests.
506
507 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
508
509 * java/net/URLClassLoader.java (addURL): Moved implementation to
510 private addURLImpl() to avoid calling addURL from the constructor.
511 (addURLImpl): Contains the code that was previously in addURL.
512 (addURLs): Call addURLImpl(), not addURL().
513
514 2003-07-18 Graydon Hoare <graydon@redhat.com>
515
516 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
517 Handle missing event cases, connect to "value-changed" signal.
518
519 2003-07-18 Graydon Hoare <graydon@redhat.com>
520
521 * java/awt/geom/CubicCurve2D.java,
522 java/awt/geom/Line2D.java,
523 java/awt/geom/QuadCurve2D.java,
524 java/awt/geom/Rectangle2D.java:
525 Fix path some calculations, make path iterators follow
526 a consistent style.
527
528 2003-07-18 Mark Wielaard <mark@klomp.org>
529
530 * java/util/logging/Handler.java (isLoggable): Check record level
531 smaller or equal.
532
533 2003-07-17 Michael Koch <konqueror@gmx.de>
534
535 * gnu/java/awt/peer/gtk/GtkToolkit.java:
536 Reworked imports.
537
538 2003-07-14 Michael Koch <konqueror@gmx.de>
539
540 * gnu/java/rmi/server/UnicastServerRef.java:
541 New version from classpath.
542
543 2003-07-14 Michael Koch <konqueror@gmx.de>
544
545 * java/awt/image/MemoryImageSource.java,
546 java/beans/PropertyEditorManager.java,
547 javax/naming/CompoundName.java,
548 javax/naming/spi/NamingManager.java,
549 javax/swing/AbstractButton.java,
550 javax/swing/ButtonModel.java,
551 javax/swing/SwingUtilities.java,
552 javax/swing/UIManager.java,
553 javax/swing/colorchooser/DefaultColorSelectionModel.java,
554 javax/swing/event/AncestorEvent.java,
555 javax/swing/event/InternalFrameEvent.java,
556 java/util/zip/ZipFile.java:
557 New versions from classpath.
558
559 2003-07-13 Michael Koch <konqueror@gmx.de>
560
561 * gnu/java/nio/FileChannelImpl.java,
562 gnu/java/nio/natFileChannelImpl.cc: Removed.
563 * java/io/FileInputStream.java,
564 java/io/FileOutputStream.java,
565 java/io/RandomAccessFile.java,
566 java/nio/MappedByteBufferImpl.java:
567 Import java.nio.channels.FileChannelImpl instead of
568 gnu.java.nio.FileChannelImpl.
569 * java/nio/channels/FileChannelImpl.java,
570 java/nio/channels/natFileChannelImpl.cc:
571 New files.
572 * Makefile.am
573 (ordinary_java_source_files):
574 Removed gnu/java/nio/FileChannelImpl.java and added
575 java/nio/channels/FileChannelImpl.java.
576 (nat source_files):
577 Removed gnu/java/nio/natFileChannelImpl.cc and added
578 java/nio/channels/natFileChannelImpl.cc.
579 * Makefile.in: Regenerated.
580
581 2003-07-13 Michael Koch <konqueror@gmx.de>
582
583 * javax/swing/plaf/basic/BasicBorders.java,
584 javax/swing/plaf/basic/BasicLabelUI.java,
585 javax/swing/plaf/basic/BasicLookAndFeel.java,
586 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
587 javax/swing/plaf/basic/BasicTextUI.java,
588 javax/swing/plaf/metal/MetalLookAndFeel.java:
589 New versions from classpath.
590
591 2003-07-13 Michael Koch <konqueror@gmx.de>
592
593 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
594 * gnu/java/awt/peer/gtk/GdkGraphics.java
595 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
596 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
597 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
598 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
599 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
600 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
601 * gnu/java/awt/peer/gtk/GtkClipboard.java
602 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
603 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
604 * gnu/java/awt/peer/gtk/GtkFramePeer.java
605 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
606 * gnu/java/awt/peer/gtk/GtkImage.java
607 * gnu/java/awt/peer/gtk/GtkImagePainter.java
608 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
609 * gnu/java/awt/peer/gtk/GtkListPeer.java
610 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
611 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
612 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
613 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
614 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
615 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
616 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
617 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
618 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
619 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
620 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
621 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
622
623 2003-07-13 Michael Koch <konqueror@gmx.de>
624
625 * gnu/java/locale/LocaleInformation_de.java
626 * gnu/java/locale/LocaleInformation_en.java
627 * gnu/java/locale/LocaleInformation_nl.java
628
629 2003-07-13 Michael Koch <konqueror@gmx.de>
630
631 * gnu/java/awt/EmbeddedWindow.java,
632 gnu/java/awt/EmbeddedWindowSupport.java,
633 gnu/java/awt/natEmbeddedWindow.cc:
634 New files.
635 * java/awt/Window.java
636 (Window): New constructor to support embedded windows.
637 * Makefile.am
638 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
639 gnu/java/awt/EmbeddedWindowSupport.java.
640 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
641 * Makefile.in: Regenerated.
642
643 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
644
645 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
646 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
647 * java/awt/im/InputContext.java: Remove a redundant
648 partial line.
649
650 2003-07-09 Tom Tromey <tromey@redhat.com>
651
652 * Makefile.in: Rebuilt.
653 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
654
655 2003-07-09 Mark Wielaard <mark@klomp.org>
656
657 * java/io/ObjectOutputStream.java (writeObject): break after
658 calling writeClassDescriptor().
659
660 2003-07-09 Mark Mitchell <mark@codesourcery.com>
661
662 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
663
664 2003-07-09 Michael Koch <konqueror@gmx.de>
665
666 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
667 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
668 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
669 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
670 Explicitly import used classes.
671 * java/awt/Container.java: New version from classpath.
672
673 2003-07-09 Michael Koch <konqueror@gmx.de>
674
675 * libgcj.pc.in: New file.
676 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
677 * Makefile.in: Regenerated.
678 * configure: Regenrated.
679 * configure.in: Create libgcj.pc from libgcj.pc.in.
680
681 2003-07-08 Mark Wielaard <mark@klomp.org>
682
683 * gcj/cni.h: CNI now expands to Compiled Native Interface.
684
685 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
686 * java/lang/fdlibm.h: Likewise.
687
688 2003-07-07 Adam Megacz <adam@xwt.org>
689
690 * posix.cc: added #include<stdio.h>
691
692 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
693
694 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
695 formatting.
696
697 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
698 (setCaretPosition, setEditable): Rely entirely on native
699 implementation.
700 (getArgs): Remove.
701 (postTextEvent): New method.
702 (handleEvent): New method.
703 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
704 method.
705 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
707 (keysym_to_awt_keycode): Fix range checks.
708 (generates_key_typed_event): New function.
709 (awt_event_handler): Post AWT_KEY_RELEASED events to event
710 queue.
711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
712 (gtkInit): Store TextComponent's postTextEvent method ID.
713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
714 (setText): Post TEXT_VALUE_CHANGED event to event queue.
715
716 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
717
718 * configure.in: Check for usleep declaration.
719 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
720 * configure: Regenerate.
721 * include/config.h.in: Likewise.
722 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
723
724 2003-07-01 Michael Koch <konqueror@gmx.de>
725
726 * gnu/gcj/convert/natIconv.cc
727 (iconv_init): Fixed possible memory leak by releasing allocated iconv
728 handle.
729
730 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
731
732 * glib-2.0.m4: New file.
733 * gtk-2.0.m4: New file.
734 * glib.m4: Remove.
735 * gtk.m4: Remove.
736 * configure.in: Update AM_PATH_GTK macro call to
737 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
739 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
740 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
741 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
742 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
743 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
744 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
745 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
746 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
747 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
748 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
749 jni/gtk-peer/gthread-jni.c,
750 jni/gtk-peer/gthread-jni.h:
751 New versions from classpath.
752 * aclocal.m4: Regenerate.
753 * configure: Regenerate.
754 * Makefile.in: Regenerate.
755 * gcj/Makefile.in: Regenerate.
756 * include/Makefile.in: Regenerate.
757 * testsuite/Makefile.in: Regenerate.
758
759 2003-06-30 Gary Benson <gbenson@redhat.com>
760
761 For PR libgcj/11349:
762 * javax/naming/spi/NamingManager.java (getURLContext): Use
763 correct name for factory class.
764
765 2003-06-28 Michael Koch <konqueror@gmx.de>
766
767 * java/io/PrintStream.java
768 (checkError): Call flush() instead of direct flushing of the Writer
769 object.
770 (print): Call print(String) instead of direct print method of the
771 Writer Object.
772 (println): Call println(String) instead of direct println method of the
773 Writer Object.
774 (write): Simplified.
775
776 2003-06-28 Michael Koch <konqueror@gmx.de>
777
778 * java/net/ServerSocket.java
779 (setChannel): New method.
780 * java/net/Socket.java
781 (setChannel): New method.
782
783 2003-06-27 Michael Koch <konqueror@gmx.de>
784
785 * java/beans/beancontext/BeanContextSupport.java:
786 New version from classpath.
787
788 2003-06-27 Michael Koch <konqueror@gmx.de>
789
790 * java/awt/Window.java,
791 java/awt/font/GraphicAttribute.java,
792 java/awt/font/ImageGraphicAttribute.java,
793 java/awt/image/DataBufferByte.java,
794 java/awt/image/DataBufferInt.java,
795 java/awt/image/DataBufferUShort.java,
796 java/awt/image/DirectColorModel.java,
797 java/awt/image/PixelGrabber.java:
798 New versions from classpath.
799
800 2003-06-27 Michael Koch <konqueror@gmx.de>
801
802 * java/security/Certificate.java
803 (getGuarantor): Removed wrong @deprecated tag.
804 (getPrincipal): Likewise.
805 (getPublicKey): Likewise.
806 (encode): Likewise.
807 (decode): Likewise.
808 (getFormat): Likewise.
809 (toString): Likewise.
810 * java/security/cert/PolicyQualifierInfo.java
811 (PolicyQualifierInfo): Made final.
812 * javax/security/auth/x500/X500Principal.java
813 (serialVersionUID): New member variable.
814
815 2003-06-27 Michael Koch <konqueror@gmx.de>
816
817 * java/text/Format.java
818 (serialVersionUID): Fixed value.
819
820 2003-06-27 Michael Koch <konqueror@gmx.de>
821
822 * java/net/Inet4Address.java
823 (Inet4Address): Made package-private.
824 * java/net/Inet6Address.java
825 (Inet4Address): Made package-private.
826
827 2003-06-27 Michael Koch <konqueror@gmx.de>
828
829 * java/io/RandomAccessFile.java
830 (readLine): Removed wrong @deprecated tag.
831 (getChannel): Made final.
832
833 2003-06-27 Michael Koch <konqueror@gmx.de>
834
835 * gnu/java/nio/FileChannelImpl.java
836 (write): Removed.
837
838 2003-06-27 Michael Koch <konqueror@gmx.de>
839
840 * java/nio/ByteBufferImpl.java
841 (ByteBufferImpl): Made it a package-private class
842 * java/nio/CharBufferImpl.java
843 (CharBufferImpl): Made it a package-private class
844 * java/nio/DirectByteBufferImpl.java
845 (DirectByteBufferImpl): Made it a package-private class
846 * java/nio/DoubleBufferImpl.java
847 (DoubleBufferImpl): Made it a package-private class
848 * java/nio/FloatBufferImpl.java
849 (FloatBufferImpl): Made it a package-private class
850 * java/nio/IntBufferImpl.java
851 (IntBufferImpl): Made it a package-private class
852 * java/nio/LongBufferImpl.java
853 (LongBufferImpl): Made it a package-private class
854 * java/nio/ShortBufferImpl.java
855 (ShortBufferImpl): Made it a package-private class
856 * java/nio/channels/FileChannel.java
857 (write): Made final.
858 * java/nio/channels/ServerSocketChannel.java
859 (ServerSocketChanne): Made protected.
860
861 2003-06-27 Michael Koch <konqueror@gmx.de>
862
863 * javax/naming/CompositeName.java
864 (serialVersionUID): New member variable.
865 * javax/naming/CompoundName.java
866 (serialVersionUID): New member variable.
867 * javax/naming/InitialContext.java
868 (InitialContext): Throws NamingException.
869 (init): Likewise.
870 * javax/naming/LinkRef.java
871 (serialVersionUID): New member variable.
872 (gteLinkName): Throws NamingException.
873 * javax/naming/NamingException.java
874 (serialVersionUID): New member variable.
875 * javax/naming/NamingSecurityException.java
876 (NamingSecurityException): Made abstract.
877 (serialVersionUID): New member variable.
878 * javax/naming/ReferralException.java
879 (serialVersionUID): New member variable.
880 * javax/naming/StringRefAddr.java
881 (serialVersionUID): New member variable.
882 * javax/naming/directory/BasicAttribute.java:
883 Reworked imports.
884 (serialVersionUID): New member variable.
885 (get): Throws NamingException.
886 (getAll): Throws NamingException.
887 * javax/naming/directory/BasicAttributes.java:
888 Reworked imports.
889 (serialVersionUID): New member variable.
890 * javax/naming/ldap/UnsolicitedNotificationEvent.java
891 (serialVersionUID): New member variable.
892
893 2003-06-27 Michael Koch <konqueror@gmx.de>
894
895 * Makefile.am
896 (awt_java_source_files): Added new files:
897 javax/swing/Popup.java,
898 javax/swing/PopupFactory.java
899 * Makefile.in: Regenerated.
900
901 2003-06-27 Michael Koch <konqueror@gmx.de>
902
903 * javax/swing/JWindow.java,
904 javax/swing/event/AncestorEvent.java,
905 javax/swing/event/HyperlinkEvent.java,
906 javax/swing/event/InternalFrameEvent.java,
907 javax/swing/event/ListDataEvent.java,
908 javax/swing/event/TableModelEvent.java,
909 javax/swing/plaf/PopupMenuUI.java,
910 javax/swing/plaf/SplitPaneUI.java,
911 javax/swing/plaf/TabbedPaneUI.java,
912 javax/swing/plaf/TextUI.java,
913 javax/swing/plaf/TreeUI.java,
914 javax/swing/plaf/basic/BasicTextUI.java,
915 javax/swing/plaf/basic/BasicTreeUI.java:
916 New versions from classpath.
917 * javax/swing/Popup.java,
918 javax/swing/PopupFactory.jav:
919 New source files from classpath.
920 * javax/swing/plaf/doc-files/TreeUI-1.png:
921 New binary files from classpath.
922
923 2003-06-25 Michael Koch <konqueror@gmx.de>
924
925 * Makefile.am
926 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
927 * Makefile.in: Regenerated.
928
929 2003-06-25 Michael Koch <konqueror@gmx.de>
930
931 * javax/swing/plaf/ActionMapUIResource.java,
932 javax/swing/plaf/BorderUIResource.java,
933 javax/swing/plaf/ButtonUI.java,
934 javax/swing/plaf/ColorChooserUI.java,
935 javax/swing/plaf/ColorUIResource.java,
936 javax/swing/plaf/ComboBoxUI.java,
937 javax/swing/plaf/ComponentInputMapUIResource.java,
938 javax/swing/plaf/ComponentUI.java,
939 javax/swing/plaf/DesktopIconUI.java,
940 javax/swing/plaf/DesktopPaneUI.java,
941 javax/swing/plaf/DimensionUIResource.java,
942 javax/swing/plaf/FileChooserUI.java,
943 javax/swing/plaf/FontUIResource.java,
944 javax/swing/plaf/IconUIResource.java,
945 javax/swing/plaf/InputMapUIResource.java,
946 javax/swing/plaf/InsetsUIResource.java,
947 javax/swing/plaf/InternalFrameUI.java,
948 javax/swing/plaf/LabelUI.java,
949 javax/swing/plaf/ListUI.java,
950 javax/swing/plaf/MenuBarUI.java,
951 javax/swing/plaf/MenuItemUI.java,
952 javax/swing/plaf/OptionPaneUI.java,
953 javax/swing/plaf/PanelUI.java,
954 javax/swing/plaf/ProgressBarUI.java,
955 javax/swing/plaf/RootPaneUI.java,
956 javax/swing/plaf/ScrollBarUI.java,
957 javax/swing/plaf/ScrollPaneUI.java,
958 javax/swing/plaf/SeparatorUI.java,
959 javax/swing/plaf/SliderUI.java,
960 javax/swing/plaf/TableHeaderUI.java,
961 javax/swing/plaf/TableUI.java,
962 javax/swing/plaf/ToolBarUI.java,
963 javax/swing/plaf/ToolTipUI.java,
964 javax/swing/plaf/ViewportUI.java:
965 New versions from classpath.
966 * javax/swing/plaf/SpinnerUI.java:
967 New file from classpath
968
969 2003-06-25 Michael Koch <konqueror@gmx.de>
970
971 * java/awt/image/ColorModel.java:
972 New version from classpath.
973
974 2003-06-25 Michael Koch <konqueror@gmx.de>
975
976 * java/net/PlainDatagramSocketImpl.java:
977 Partly merged with classpath, this mainly adds documentation.
978
979 2003-06-25 Michael Koch <konqueror@gmx.de>
980
981 * java/io/ObjectInputStream.java
982 (readClassDescriptor): New method.
983 (readObject): Moved functionality to readClassDescriptor().
984 * java/io/ObjectOutputStream.java
985 (writeClassDescriptor): New method.
986 (writeObject): Moved functionality to writeClassDescriptor().
987
988 2003-06-25 Michael Koch <konqueror@gmx.de>
989
990 * javax/swing/plaf/basic/BasicListUI.java,
991 javax/swing/plaf/basic/BasicOptionPaneUI.java:
992 Added missing methods.
993
994 2003-06-25 Michael Koch <konqueror@gmx.de>
995
996 * javax/swing/event/AncestorEvent.java
997 javax/swing/event/HyperlinkEvent.java
998 javax/swing/event/InternalFrameEvent.java
999 javax/swing/event/ListDataEvent.java
1000 javax/swing/event/TableModelEvent.java:
1001 Compile fixes.
1002
1003 2003-06-24 Michael Koch <konqueror@gmx.de>
1004
1005 * java/net/URL.java:
1006 Renamed "handler" to "ph" in the whole file to match classpaths
1007 version.
1008 * java/net/URLStreamHandler.java:
1009 (equals): Renamed "handler" to "ph".
1010
1011 2003-06-24 Michael Koch <konqueror@gmx.de>
1012
1013 * javax/swing/event/AncestorEvent.java,
1014 javax/swing/event/HyperlinkEvent.java,
1015 javax/swing/event/InternalFrameEvent.java,
1016 javax/swing/event/ListDataEvent.java,
1017 javax/swing/event/TableModelEvent.java,
1018 javax/swing/event/TreeWillExpandListener.java,
1019 javax/swing/plaf/ComponentUI.java,
1020 javax/swing/plaf/DesktopIconUI.java,
1021 javax/swing/plaf/DesktopPaneUI.java,
1022 javax/swing/plaf/DimensionUIResource.java,
1023 javax/swing/plaf/FileChooserUI.java,
1024 javax/swing/plaf/FontUIResource.java,
1025 javax/swing/plaf/IconUIResource.java,
1026 javax/swing/plaf/InputMapUIResource.java,
1027 javax/swing/plaf/InsetsUIResource.java,
1028 javax/swing/plaf/InternalFrameUI.java,
1029 javax/swing/plaf/LabelUI.java,
1030 javax/swing/plaf/ListUI.java,
1031 javax/swing/plaf/MenuBarUI.java,
1032 javax/swing/plaf/MenuItemUI.java,
1033 javax/swing/plaf/OptionPaneUI.java,
1034 javax/swing/plaf/PanelUI.java,
1035 javax/swing/plaf/ProgressBarUI.java,
1036 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1037 javax/swing/plaf/doc-files/ComponentUI-1.png:
1038 New versions from classpath.
1039
1040 2003-06-24 Michael Koch <konqueror@gmx.de>
1041
1042 * java/nio/Buffer.java
1043 (cap): Made package-private.
1044 (pos): Likewise.
1045 (limit): Likewise.
1046 (mark): Likewise.
1047
1048 2003-06-24 Michael Koch <konqueror@gmx.de>
1049
1050 * java/net/SocketImpl.java
1051 (shutdownInput): Made it non-abstract method throwing an exception
1052 like in SUNs JRE.
1053 (shutdownOutput): Likewise.
1054 * java/net/SocketInputStream.java,
1055 java/net/SocketOutputStream.java:
1056 New files from classpath.
1057
1058 2003-06-24 Michael Koch <konqueror@gmx.de>
1059
1060 * java/awt/Font.java,
1061 java/awt/Window.java,
1062 java/awt/color/ColorSpace.java,
1063 java/awt/datatransfer/StringSelection.java,
1064 java/awt/image/ColorModel.java:
1065 New versions from classpath.
1066
1067 2003-06-24 Michael Koch <konqueror@gmx.de>
1068
1069 * Makefile.am
1070 (awt_java_source_files): Added new files:
1071 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1072 javax/swing/plaf/basic/BasicSplitPaneUI.java
1073 * Makefile.in: Regenerated.
1074
1075 2003-06-24 Michael Koch <konqueror@gmx.de>
1076
1077 * javax/swing/text/JTextComponent.java:
1078 New version from classpath.
1079
1080 2003-06-24 Michael Koch <konqueror@gmx.de>
1081
1082 * javax/swing/Timer.java,
1083 javax/swing/plaf/ActionMapUIResource.java,
1084 javax/swing/plaf/ButtonUI.java,
1085 javax/swing/plaf/ColorChooserUI.java,
1086 javax/swing/plaf/ColorUIResource.java,
1087 javax/swing/plaf/ComboBoxUI.java,
1088 javax/swing/plaf/ComponentInputMapUIResource.java,
1089 javax/swing/plaf/basic/BasicBorders.java:
1090 New versions from classpath.
1091 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1092 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1093 New file from classpath.
1094 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1095 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1096 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1097 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1098 javax/swing/plaf/doc-files/ComponentUI-1.png:
1099 New binary files from classpath.
1100
1101 2003-06-24 Michael Koch <konqueror@gmx.de>
1102
1103 * java/io/LineNumberReader.java
1104 (skip): Dont do line number accounting here as this is already done in
1105 read(), simplified.
1106
1107 2003-06-21 Michael Koch <konqueror@gmx.de>
1108
1109 * java/io/File.java
1110 (static): Load javaio lib if existing (only in classpath).
1111 (File): Revised documentation to show the correct argument name.
1112 (createTempFile): Partly merged with classpath.
1113 (compareTo): Simplified.
1114 (lastModified): Throw exception if time < 0.
1115 (deleteOnExit): Revised documentation.
1116
1117 2003-06-21 Michael Koch <konqueror@gmx.de>
1118
1119 * java/net/PlainSocketImpl.java:
1120 Reformatted.
1121 (PlainSocketImpl): Merged class documentaion with classpath.
1122 (in): Moved.
1123 (out): Moved.
1124 (PlainSocketImpl): New empty constructor.
1125 (finalize): Moved.
1126 (setOption): Merged documentation from classpath.
1127 (getOption): Likewise.
1128 (create): Likewise.
1129 (connect): Likewise.
1130 (bind): Likewise.
1131 (listen): Likewise.
1132 (accept): Likewise.
1133 (available): Likewise.
1134 (close): Likewise.
1135 (read): Likewise.
1136 (write): Likewise.
1137 (getInputStream): Made synchronozed to get sure that only one stream
1138 object can be created for this socket, merged documentation from
1139 classpath.
1140 (getOutputStream): Likewise.
1141
1142 2003-06-21 Michael Koch <konqueror@gmx.de>
1143
1144 * java/net/PlainSocketImpl.java:
1145 Reformatting.
1146 (static): New implicit method.
1147 (read): Made package private.
1148 (write): Likewise.
1149
1150 2003-06-21 Michael Koch <konqueror@gmx.de>
1151
1152 * java/util/SimpleTimeZone.java:
1153 Removed unneeded import, reformatting.
1154
1155 2003-06-21 Michael Koch <konqueror@gmx.de>
1156
1157 * java/text/DateFormat.java,
1158 java/text/SimpleDateFormat.java,
1159 java/util/Locale.java:
1160 New versions from classpath.
1161
1162 2003-06-21 Michael Koch <konqueror@gmx.de>
1163
1164 * javax/swing/SpinnerModel.java:
1165 New file from classpath.
1166 * javax/swing/border/LineBorder.java,
1167 javax/swing/border/SoftBevelBorder.java,
1168 javax/swing/plaf/BorderUIResource.java,
1169 javax/swing/plaf/basic/BasicBorders.java:
1170 New versions from classpath.
1171 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1172 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1173 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1174 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1175 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1176 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1177 New binary files from classpath.
1178
1179 2003-06-21 Michael Koch <konqueror@gmx.de>
1180
1181 * java/util/logging/LogRecord.java,
1182 java/util/logging/Logger.java,
1183 java/util/logging/SocketHandler.java,
1184 java/util/logging/SimpleFormatter.java,
1185 java/util/logging/Formatter.java,
1186 java/util/logging/ErrorManager.java,
1187 java/util/logging/Handler.java,
1188 java/util/logging/FileHandler.java,
1189 java/util/logging/LogManager.java,
1190 java/util/logging/Level.java,
1191 java/util/logging/ConsoleHandler.java,
1192 java/util/logging/StreamHandler.java,
1193 java/util/logging/LoggingPermission.java,
1194 java/util/logging/Filter.java,
1195 java/util/logging/MemoryHandler.java,
1196 java/util/logging/XMLFormatter.java:
1197 New files from classpath.
1198
1199 2003-06-20 Michael Koch <konqueror@gmx.de>
1200
1201 * java/io/ObjectStreamField.java
1202 (unshared): new member variable.
1203 (ObjectStreamField): New constructor.
1204 (isUnshared): New method.
1205
1206 2003-06-20 Michael Koch <konqueror@gmx.de>
1207
1208 * java/net/URLStreamHandler.java
1209 (hostsEqual): Rewritten.
1210
1211 2003-06-20 Michael Koch <konqueror@gmx.de>
1212
1213 * gnu/java/nio/MappedByteFileBuffer.java,
1214 gnu/java/nio/natMappedByteFileBuffer.cc:
1215 Removed
1216 * java/nio/MappedByteBufferImpl.java:
1217 New file.
1218 * gnu/java/nio/FileChannelImpl.java:
1219 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1220 * Makefile.am
1221 (ordinary_java_source_files): Removed
1222 gnu/java/nio/MappedByteFileBuffer.java and added
1223 java/nio/MappedByteBufferImpl.java.
1224 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1225 * Makefile.in: Regenerated.
1226
1227 2003-06-19 Michael Koch <konqueror@gmx.de>
1228
1229 * gnu/java/nio/DatagramChannelImpl.java
1230 (fd): Removed.
1231 (blocking): New member variable.
1232 (socket): Likewise.
1233 (DatagramChannelImpl): Throws IOException, initialize socket.
1234 (socket):Implemented.
1235 (implCloseSelectableChannel): Throws IOException, implemented.
1236 (implConfigureBlocking): Likewise.
1237 (connect): Likewise.
1238 (disconnect): Likewise.
1239 (isConnected): Likewise.
1240 (write): Likewise.
1241 (read): Likewise.
1242 (receive): Throws IOException.
1243 (send): Likewise.
1244 * gnu/java/nio/SocketChannelImpl.java
1245 (read): Implemented.
1246 (write): Implemented.
1247
1248 2003-06-19 Michael Koch <konqueror@gmx.de>
1249
1250 * javax/swing/JComponent.java,
1251 javax/swing/JInternalFrame.java,
1252 javax/swing/MenuSelectionManager.java,
1253 javax/swing/SwingUtilities.java,
1254 javax/swing/ToggleButtonModel.java:
1255 New versions from classpath.
1256
1257 2003-06-19 Michael Koch <konqueror@gmx.de>
1258
1259 * java/text/CollationElementIterator.java
1260 (NULLORDER): Initialize with -1 as JDK documentation says.
1261
1262 2003-06-19 Michael Koch <konqueror@gmx.de>
1263
1264 * java/net/HttpURLConnection.java,
1265 java/net/Inet4Address.java,
1266 java/net/Inet6Address.java,
1267 java/net/SocketImpl.java,
1268 java/net/URLClassLoader.java:
1269 Reworked import statements.
1270 * java/net/InetAddress.java
1271 (getByAddress): Simplified.
1272 * java/net/ServerSocket.java
1273 (ServerSocket): Moved special handling during bind operation to
1274 bind().
1275 (bind): Handle different cases when trying to bind a socket.
1276 * java/net/URLConnection.java
1277 (getHeaderFieldDate): Merged with classpath.
1278 (getHeaderFieldInt): Likewise.
1279
1280 2003-06-19 Michael Koch <konqueror@gmx.de>
1281
1282 * java/util/zip/InflaterInputStream.java
1283 (InflaterInputStream): Throw NullPointerException if in is null (as
1284 JDK does).
1285
1286 2003-06-19 Michael Koch <konqueror@gmx.de>
1287
1288 * java/awt/Font.java
1289 javax/swing/UIManager.java
1290 javax/swing/border/AbstractBorder.java
1291 javax/swing/border/BevelBorder.java
1292 javax/swing/border/Border.java
1293 javax/swing/border/CompoundBorder.java
1294 javax/swing/border/EmptyBorder.java
1295 javax/swing/border/EtchedBorder.java
1296 javax/swing/border/LineBorder.java
1297 javax/swing/border/MatteBorder.java
1298 javax/swing/border/TitledBorder.java
1299 javax/swing/plaf/BorderUIResource.java
1300 javax/swing/plaf/basic/BasicBorders.java
1301 javax/swing/plaf/basic/BasicButtonUI.java
1302 javax/swing/plaf/basic/BasicCheckBoxUI.java
1303 javax/swing/plaf/basic/BasicGraphicsUtils.java
1304 javax/swing/plaf/basic/BasicLabelUI.java
1305 javax/swing/plaf/basic/BasicRadioButtonUI.java
1306 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1307 New versions from classpath.
1308 * javax/swing/border/SoftBevelBorder.java:
1309 New file from classpath.
1310 * javax/swing/border/doc-files/LineBorder-1.png,
1311 javax/swing/border/doc-files/BevelBorder-1.png,
1312 javax/swing/border/doc-files/BevelBorder-2.png,
1313 javax/swing/border/doc-files/BevelBorder-3.png,
1314 javax/swing/border/doc-files/EmptyBorder-1.png,
1315 javax/swing/border/doc-files/EtchedBorder-1.png,
1316 javax/swing/border/doc-files/EtchedBorder-2.png,
1317 javax/swing/border/doc-files/MatteBorder-1.png,
1318 javax/swing/border/doc-files/MatteBorder-2.png,
1319 javax/swing/border/doc-files/MatteBorder-3.png,
1320 javax/swing/border/doc-files/MatteBorder-4.png,
1321 javax/swing/border/doc-files/MatteBorder-5.png,
1322 javax/swing/border/doc-files/MatteBorder-6.png,
1323 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1324 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1325 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1326 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1327 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1328 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1329 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1330 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1331 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1332 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1333 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1334 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1335 New binary files from classpath.
1336 * Makefile.am
1337 (awt_java_source_files): Added
1338 javax/swing/border/SoftBevelBorder.java.
1339 * Makefile.in: Regenerated.
1340
1341 2003-06-19 Michael Koch <konqueror@gmx.de>
1342
1343 * gnu/java/security/x509/X509Certificate.java
1344 (writeReplace): Merged from classpath.
1345
1346 2003-06-19 Michael Koch <konqueror@gmx.de>
1347
1348 * gnu/java/nio/FileChannelImpl.java
1349 (map_address): Made public.
1350 (FileChannelImpl): Merged with classpath.
1351 * gnu/java/nio/natFileChannelImpl.cc
1352 (nio_mmap_file): Commented out unused arguments.
1353 (nio_unmmap_file): Likewise.
1354 (niu_msync): Likewise.
1355
1356 2003-06-19 Michael Koch <konqueror@gmx.de>
1357
1358 * java/awt/image/IndexColorModel.java:
1359 New version from classpath.
1360
1361 2003-06-18 Tom Tromey <tromey@redhat.com>
1362
1363 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1364 on arrays.
1365 (isLoopbackAddress): Likewise.
1366 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1367 on arrays.
1368
1369 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1370
1371 * java/lang/natVMSecurityManager.cc (getClassContext):
1372 Use maxlen instead of len for loop bound.
1373
1374 2003-06-18 Michael Koch <konqueror@gmx.de>
1375
1376 * gnu/java/nio/SelectorImpl.java
1377 (register): Use fd with value 0 for now, will be fixed later.
1378 * gnu/java/nio/ServerSocketChannelImpl.java
1379 (fd): Removed.
1380 (local_port): Removed.
1381 (InetSocketAddress): Removed.
1382 (ServerSocketChannelImpl): Just initialize internal socket object.
1383 (implCloseSelectableChannel): Close internal socket object.
1384 (implConfigureBlocking): Added comment.
1385 (accept): Use jaba.net stuff to accept socket.
1386 * gnu/java/nio/SocketChannelImpl.java
1387 (fd): Removed.
1388 (local_port): Removed.
1389 (InetSocketAddress): Removed.
1390 (SocketCreate): Removed.
1391 (SocketConnect): Removed.
1392 (SocketBind): Removed.
1393 (SocketListen): Removed.
1394 (SocketAvailable): Removed.
1395 (SocketClose): Removed.
1396 (SocketRead): Removed.
1397 (SocketWrite): Removed.
1398 (SocketChannelImpl): Just initialize internal socket object.
1399 (implCloseSelectableChannel): Close internal socket object.
1400 (implConfigureBlocking): Fixed implementation, added comment.
1401 (connect): Use internal socket object to connect.
1402 (socket): No need for sanity checks.
1403 (read): Comment out some stuff, this will be reimplemented in the next
1404 commit.
1405 (write): Likewise.
1406 * gnu/java/nio/natFileChannelImpl.cc
1407 (nio_mmap_file): Line wrapped.
1408 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1409 * Makefile.am
1410 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1411 * Makefile.in: Regenerated.
1412
1413 2003-06-18 Michael Koch <konqueror@gmx.de>
1414
1415 * java/util/Locale.java
1416 (equals): Merged from classpath.
1417
1418 2003-06-18 Michael Koch <konqueror@gmx.de>
1419
1420 * java/net/InetAddress.java:
1421 Reformatted to better match classpath's version.
1422 * java/net/URL.java
1423 (equals): Simplified.
1424 * java/net/URLConnection.java
1425 (setDoInput): Revised documentation.
1426 (getDefaultUseCaches): Likewise.
1427 (setRequestProperty): Added @since tag.
1428
1429 2003-06-17 Michael Koch <konqueror@gmx.de>
1430
1431 * java/net/InetSocketAddress.java
1432 (InetSocketAddress): Use wildcard address if addr is null.
1433 (InetSocketAddress): Dont duplicate implementation.
1434 (InetSocketAddress): Throw exception when hostname is null.
1435 * java/net/Socket.java:
1436 Reworked imports.
1437 (Socket): Throw exception when raddr is null, handle case when laddr
1438 is null.
1439
1440 2003-06-17 Michael Koch <konqueror@gmx.de>
1441
1442 * java/nio/DirectByteBufferImpl.java
1443 (address): Made package private.
1444 (DirectByteBufferImpl): New constructor.
1445 * java/nio/natDirectByteBufferImpl.cc
1446 (allocateImpl): Moved to java.nio namespace, implemented.
1447 (freeImpl): Likewise.
1448 (getImpl): Likewise.
1449 (putImpl): Likewise.
1450 * jni.cc
1451 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1452 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1453 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1454
1455 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1456
1457 * include/powerpc-signal.h: New File.
1458 * configure.in: Use it.
1459 * configure: Regenerated.
1460
1461 2003-06-17 Michael Koch <konqueror@gmx.de>
1462
1463 * java/util/Locale.java
1464 (getDisplayLanguage): Made it final.
1465 (getDisplayCountry): Likewise.
1466 (getDisplayVariant): Likewise.
1467 (getDisplayName): Likewise.
1468
1469 2003-06-17 Michael Koch <konqueror@gmx.de>
1470
1471 * java/util/PropertyResourceBundle.java:
1472 Removed unneeded import.
1473
1474 2003-06-17 Michael Koch <konqueror@gmx.de>
1475
1476 * java/util/prefs/AbstractPreferences.java,
1477 java/util/prefs/PreferencesFactory.java:
1478 Reworked imports, removed unused imports.
1479 * java/util/prefs/Preferences.java
1480 (systemNodeForPackage): Method takes a Class not an Object.
1481 (userNodeForPackage): Likewise.
1482 (nodeForPackage): Likewise.
1483
1484 2003-06-17 Michael Koch <konqueror@gmx.de>
1485
1486 * gnu/java/security/x509/X509Certificate.java:
1487 Explicitely import used classes.
1488
1489 2003-06-17 Michael Koch <konqueror@gmx.de>
1490
1491 * java/util/zip/ZipEntry.java,
1492 java/util/zip/ZipFile.java,
1493 java/util/zip/ZipInputStream.java,
1494 java/util/zip/ZipOutputStream.java:
1495 Reworked imports, only import used classes.
1496
1497 2003-06-17 Michael Koch <konqueror@gmx.de>
1498
1499 * gnu/java/lang/ArrayHelper.java,
1500 gnu/java/lang/ClassHelper.java:
1501 Reformatted to match classpath's versions.
1502
1503 2003-06-14 Michael Koch <konqueror@gmx.de>
1504
1505 * gnu/java/nio/FileChannelImpl.java
1506 (map_address): Removed incorrect comment.
1507 * gnu/java/nio/SelectorImpl.java
1508 (register): Remove code duplication and code for file channel handling.
1509 * gnu/java/nio/ServerSocketChannelImpl.java
1510 (serverSocket): Renamed from sock_object.
1511 (ServerSocketChannel): Initialize serverSocket.
1512 (socket): Return serverSocket.
1513 * gnu/java/nio/SocketChannelImpl.java
1514 (socket): Renamed from sock_object.
1515 (isConnectionPenging): Simplified.
1516 (socket): Return socket.
1517 2003-06-14 Michael Koch <konqueror@gmx.de>
1518
1519 * java/security/BasicPermission.java:
1520 New version from classpath.
1521
1522 2003-06-14 Michael Koch <konqueror@gmx.de>
1523
1524 * javax/naming/directory/Attribute.java:
1525 New version from classpath.
1526
1527 2003-06-14 Michael Koch <konqueror@gmx.de>
1528
1529 * java/io/BufferedReader.java,
1530 java/io/FileOutputStream.java:
1531 New versions from classpath.
1532
1533 2003-06-12 Andrew Haley <aph@redhat.com>
1534
1535 * prims.cc (catch_segv): Create exception in handler.
1536 (catch_fpe): Likewise.
1537 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1538 (_Jv_ThrowSignal): Remove.
1539
1540 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1541 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1542 to nullp and arithexception.
1543 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1544 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1545 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1546 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1547 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1548
1549 2003-06-11 Andrew Haley <aph@redhat.com>
1550
1551 * jni.cc (_Jv_JNI_check_types): New.
1552 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1553 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1554 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1555 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1556
1557 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1558 infinite loop.
1559
1560 2003-06-11 Tom Tromey <tromey@redhat.com>
1561
1562 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1563 * java/io/PrintStream.java: Not deprecated.
1564
1565 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1566
1567 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1568 (fillOval): implemented
1569 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1570 (fillArc): implemented.
1571 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1572 (fillArc): added native method.
1573 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1574 (fillArc): added native method.
1575
1576 2003-06-11 Michael Koch <konqueror@gmx.de>
1577
1578 * java/awt/im/InputSubset.java:
1579 New version from classpath.
1580
1581 2003-06-11 Michael Koch <konqueror@gmx.de>
1582
1583 * javax/swing/AbstractAction.java,
1584 javax/swing/AbstractButton.java,
1585 javax/swing/AbstractCellEditor.java,
1586 javax/swing/AbstractListModel.java,
1587 javax/swing/BorderFactory.java,
1588 javax/swing/Box.java,
1589 javax/swing/BoxLayout.java,
1590 javax/swing/ButtonGroup.java,
1591 javax/swing/DefaultButtonModel.java,
1592 javax/swing/DefaultListModel.java,
1593 javax/swing/DefaultListSelectionModel.java,
1594 javax/swing/FocusManager.java,
1595 javax/swing/ImageIcon.java,
1596 javax/swing/InputMap.java,
1597 javax/swing/JApplet.java,
1598 javax/swing/JButton.java,
1599 javax/swing/JCheckBox.java,
1600 javax/swing/JCheckBoxMenuItem.java,
1601 javax/swing/JColorChooser.java,
1602 javax/swing/JComboBox.java,
1603 javax/swing/JComponent.java,
1604 javax/swing/JDesktopPane.java,
1605 javax/swing/JDialog.java,
1606 javax/swing/JEditorPane.java,
1607 javax/swing/JFileChooser.java,
1608 javax/swing/JFormattedTextField.java,
1609 javax/swing/JFrame.java,
1610 javax/swing/JLabel.java,
1611 javax/swing/JLayeredPane.java,
1612 javax/swing/JList.java,
1613 javax/swing/JMenuBar.java,
1614 javax/swing/JMenuItem.java,
1615 javax/swing/JOptionPane.java,
1616 javax/swing/JPanel.java,
1617 javax/swing/JPasswordField.java,
1618 javax/swing/JPopupMenu.java,
1619 javax/swing/JProgressBar.java,
1620 javax/swing/JRadioButton.java,
1621 javax/swing/JRadioButtonMenuItem.java,
1622 javax/swing/JRootPane.java,
1623 javax/swing/JScrollBar.java,
1624 javax/swing/JScrollPane.java,
1625 javax/swing/JSeparator.java,
1626 javax/swing/JSlider.java,
1627 javax/swing/JTabbedPane.java,
1628 javax/swing/JTable.java,
1629 javax/swing/JTextField.java,
1630 javax/swing/JToggleButton.java,
1631 javax/swing/JToolBar.java,
1632 javax/swing/JToolTip.java,
1633 javax/swing/JTree.java,
1634 javax/swing/JViewport.java,
1635 javax/swing/JWindow.java,
1636 javax/swing/KeyStroke.java,
1637 javax/swing/ListSelectionModel.java,
1638 javax/swing/LookAndFeel.java,
1639 javax/swing/RepaintManager.java,
1640 javax/swing/ScrollPaneLayout.java,
1641 javax/swing/SizeRequirements.java,
1642 javax/swing/SwingConstants.java,
1643 javax/swing/Timer.java,
1644 javax/swing/UIDefaults.java,
1645 javax/swing/UIManager.java,
1646 javax/swing/border/AbstractBorder.java,
1647 javax/swing/border/CompoundBorder.java,
1648 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1649 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1650 javax/swing/colorchooser/ColorSelectionModel.java,
1651 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1652 javax/swing/event/AncestorEvent.java,
1653 javax/swing/event/HyperlinkEvent.java,
1654 javax/swing/event/InternalFrameAdapter.java,
1655 javax/swing/event/InternalFrameEvent.java,
1656 javax/swing/event/ListDataEvent.java,
1657 javax/swing/event/MouseInputAdapter.java,
1658 javax/swing/event/SwingPropertyChangeSupport.java,
1659 javax/swing/event/TableModelEvent.java,
1660 javax/swing/event/TreeWillExpandListener.java,
1661 javax/swing/event/UndoableEditEvent.java,
1662 javax/swing/filechooser/FileFilter.java,
1663 javax/swing/filechooser/FileSystemView.java,
1664 javax/swing/filechooser/FileView.java,
1665 javax/swing/plaf/BorderUIResource.java,
1666 javax/swing/plaf/basic/BasicDefaults.java,
1667 javax/swing/table/AbstractTableModel.java,
1668 javax/swing/table/DefaultTableCellRenderer.java,
1669 javax/swing/table/DefaultTableColumnModel.java,
1670 javax/swing/table/DefaultTableModel.java,
1671 javax/swing/table/TableColumn.java,
1672 javax/swing/text/JTextComponent.java,
1673 javax/swing/tree/AbstractLayoutCache.java,
1674 javax/swing/tree/DefaultMutableTreeNode.java,
1675 javax/swing/tree/DefaultTreeCellEditor.java,
1676 javax/swing/tree/DefaultTreeCellRenderer.java,
1677 javax/swing/tree/DefaultTreeModel.java,
1678 javax/swing/tree/DefaultTreeSelectionModel.java,
1679 javax/swing/tree/FixedHeightLayoutCache.java,
1680 javax/swing/tree/TreeCellEditor.java,
1681 javax/swing/tree/TreeModel.java,
1682 javax/swing/tree/TreeNode.java,
1683 javax/swing/tree/TreePath.java,
1684 javax/swing/tree/TreeSelectionModel.java,
1685 javax/swing/tree/VariableHeightLayoutCache.java,
1686 javax/swing/undo/AbstractUndoableEdit.java,
1687 javax/swing/undo/CompoundEdit.java,
1688 javax/swing/undo/StateEdit.java,
1689 javax/swing/undo/UndoManager.java,
1690 javax/swing/undo/UndoableEditSupport.java:
1691 New versions from classpath.
1692 * javax/swing/table/JTableHeader.java:
1693 New file from classpath.
1694 * Makefile.am
1695 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1696 * Makefile.in: Regenerated.
1697
1698 2003-06-11 Michael Koch <konqueror@gmx.de>
1699
1700 * java/nio/MappedByteBuffer.java,
1701 java/nio/channels/Channels.java,
1702 java/nio/channels/ServerSocketChannel.java,
1703 java/nio/channels/spi/AbstractSelector.java:
1704 Removed unneeded imports.
1705
1706 2003-06-11 Michael Koch <konqueror@gmx.de>
1707
1708 * java/net/DatagramSocket.java:
1709 Partly merged with classpath.
1710
1711 2003-06-11 Michael Koch <konqueror@gmx.de>
1712
1713 * java/awt/Frame.java,
1714 java/awt/Graphics.java,
1715 java/awt/Menu.java,
1716 java/awt/Robot.java,
1717 java/awt/image/ColorModel.java:
1718 New versions from classpath.
1719
1720 2003-06-10 Michael Koch <konqueror@gmx.de>
1721
1722 * java/io/PrintStream.java:
1723 Merged version from classpath.
1724 (close): Removed sychronized keyword. This class is not garantied to
1725 be thread-safe.
1726 (write): Likewise.
1727
1728 2003-06-09 Tom Tromey <tromey@redhat.com>
1729
1730 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1731 field.
1732 (getDescent): Likewise, for "descent".
1733
1734 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1735
1736 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1737 (getMaxDescent): adjusted return value.
1738 (getAscent): modified to use metrics for 'O'.
1739 (getDescent): modified to use metrics for 'y'.
1740
1741 2003-06-08 Anthony Green <green@redhat.com>
1742
1743 * java/net/URLStreamHandler.java (sameFile): Fix port value
1744 comparison.
1745 * java/net/URL.java (handler): Make package private.
1746 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1747
1748 2003-06-07 Tom Tromey <tromey@redhat.com>
1749
1750 For PR libgcj/11085:
1751 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1752 Limit number of characters in numeric field when required.
1753 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1754 Respect maximumIntegerDigits.
1755
1756 2003-06-08 Michael Koch <konqueror@gmx.de>
1757
1758 * java/net/Socket.java
1759 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1760 call bind() and connect() to actually do the bind and connect tasks.
1761 (bind): Connect to canonical address if bindpoint is null, create
1762 socket and bind it to bindpoint.
1763 (connect): Check for exceptions.
1764
1765 2003-06-08 Michael Koch <konqueror@gmx.de>
1766
1767 * java/net/DatagramSocket.java
1768 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1769 into the Multicast constructors.
1770 * java/net/DatagramSocketImpl.java
1771 (getOption): Removed.
1772 (setOption): Removed.
1773 * java/net/MulticastSocket.java
1774 (MulticastSocket): Call setReuseAddress (true).
1775 * java/net/SocketImpl.java
1776 (getOption): Removed.
1777 (setOption): Removed.
1778
1779 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1780
1781 PR libgcj/10886:
1782 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1783 Test for empty vector.
1784
1785 2003-06-06 Mark Wielaard <mark@klomp.org>
1786
1787 * java/security/Security.java (secprops): Initialize.
1788 (loadProviders): Return boolean.
1789 (static): Check result of loadProvider calls. If necessary
1790 display WARNING and fallback to Gnu provider.
1791
1792 2002-06-06 James Clark <jjc@jclark.com>
1793
1794 Fix for PR libgcj/8738:
1795 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1796 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1797 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1798 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1799 (write): Always decrease avail when count is increased.
1800 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1801 and whether output buffer is full before increasing size.
1802
1803 2002-06-06 Mark Wielaard <mark@klomp dot org>
1804
1805 * java/io/PrintStream.java (writeChars(char[],int, int)):
1806 Check converter.havePendingBytes().
1807 (writeChars(String,int,int)): Likewise.
1808 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1809 Check converter.havePendingBytes() and flush buffer when stalled.
1810
1811 2003-06-07 Michael Koch <konqueror@gmx.de>
1812
1813 * include/posix.h
1814 (O_DSYNC): Define O_DSYNC on platforms not
1815 supporting O_FSYNC (newlib).
1816
1817 2003-06-06 Mark Wielaard <mark@klomp.org>
1818
1819 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1820 AWTError.
1821
1822 2003-06-06 Michael Koch <konqueror@gmx.de>
1823
1824 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1825 More compile fixes from my stupid work yesterday.
1826
1827 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1828
1829 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1830 if _IEEE_LIBM is undefined.
1831
1832 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1833
1834 * libjava/include/posix.h (O_SYNC): Define if not available
1835 and a reasonable, perhaps more conservative, replacement exists.
1836 (O_DSYNC): Likewise.
1837 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1838
1839 2003-06-05 Michael Koch <konqueror@gmx.de>
1840
1841 * javax/swing/plaf/BorderUIResource.java,
1842 javax/swing/plaf/basic/BasicDefaults.java,
1843 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1844 More compile fixes for latest Border commit. I should not commit
1845 something in this heat here ...
1846
1847 2003-06-05 Michael Koch <konqueror@gmx.de>
1848
1849 * javax/swing/border/BevelBorder.java
1850 (BevelBorder): Removed.
1851 * javax/swing/border/EmptyBorder.java:
1852 Reformatted.
1853 (EmptyBorder): Removed.
1854 (getBorderInsets): Dont use l, r, t and b.
1855 * javax/swing/border/EtchedBorder.java
1856 (EtchedBorder): Removed.
1857 * javax/swing/border/LineBorder.java
1858 (LineBorder): Removed.
1859 * javax/swing/border/MatteBorder.java
1860 (MatteBorder): Removed.
1861 * javax/swing/border/TitledBorder.java
1862 (defaultBorder): Use other default for now.
1863 (defaultFont): Likewise.
1864 (defaultColor): Likewise.
1865
1866 2003-06-05 Michael Koch <konqueror@gmx.de>
1867
1868 * javax/swing/border/Border.java:
1869 New version from classpath.
1870
1871 2003-06-05 Michael Koch <konqueror@gmx.de>
1872
1873 * javax/swing/border/AbstractBorder.java,
1874 javax/swing/border/BevelBorder.java,
1875 javax/swing/border/CompoundBorder.java,
1876 javax/swing/border/EmptyBorder.java,
1877 javax/swing/border/EtchedBorder.java,
1878 javax/swing/border/LineBorder.java,
1879 javax/swing/border/MatteBorder.java,
1880 javax/swing/border/TitledBorder.java:
1881 New versions from Classpath.
1882
1883 2003-06-05 Michael Koch <konqueror@gmx.de>
1884
1885 * java/awt/Button.java,
1886 java/awt/Checkbox.java,
1887 java/awt/CheckboxMenuItem.java,
1888 java/awt/Choice.java,
1889 java/awt/Container.java,
1890 java/awt/Dialog.java,
1891 java/awt/EventQueue.java,
1892 java/awt/FileDialog.java,
1893 java/awt/Frame.java,
1894 java/awt/Label.java,
1895 java/awt/List.java,
1896 java/awt/Menu.java,
1897 java/awt/MenuItem.java,
1898 java/awt/Panel.java,
1899 java/awt/PopupMenu.java,
1900 java/awt/Rectangle.java,
1901 java/awt/ScrollPane.java,
1902 java/awt/Scrollbar.java,
1903 java/awt/TextArea.java,
1904 java/awt/TextField.java,
1905 java/awt/Window.java,
1906 java/awt/datatransfer/DataFlavor.java,
1907 java/awt/dnd/DragSource.java,
1908 java/awt/dnd/DragSourceContext.java,
1909 java/awt/event/HierarchyEvent.java,
1910 java/awt/event/MouseWheelEvent.java,
1911 java/awt/im/InputContext.java,
1912 java/awt/image/BufferedImage.java,
1913 java/awt/image/ComponentColorModel.java,
1914 java/awt/image/Raster.java,
1915 java/awt/image/WritableRaster.java,
1916 java/awt/peer/ComponentPeer.java,
1917 java/awt/print/PageFormat.java,
1918 java/awt/print/PrinterJob.java:
1919 New versions from Classpath.
1920
1921 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1922
1923 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1924 numberFormat.setParseIntegerOnly(true).
1925
1926 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1927
1928 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1929
1930 2003-06-03 Andrew Haley <aph@redhat.com>
1931
1932 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1933 stack volatile to prevent optimization from removing it.
1934
1935 2003-05-27 Michael Koch <konqueror@gmx.de>
1936
1937 * java/util/zip/Deflater.java
1938 (FILTERED): Merged documentation from classpath.
1939 * java/util/zip/DeflaterOutputStream.java
1940 (DeflaterOutputStream): Merged documentation and argument validity
1941 check from classpath.
1942 (deflate): Merged documentation from classpath.
1943 (finish): Likewise.
1944 * java/util/zip/Inflater.java
1945 (Inflater): Merged class documentation from classpath.
1946 (zstream): Reordered.
1947 (is_finished): Reordered.
1948 (dict_needed): Reordered.
1949 (Inflater): Reordered, merged documentation from classpath.
1950 (end): Likewise.
1951 (finalize): Merged documentation from classpath.
1952 (finished): Likewise.
1953 (getAdler): Likewise.
1954 (getRemaining): Likewise.
1955 (getTotalIn): Likewise.
1956 (getTotalOut): Likewise.
1957 (inflate): Likewise.
1958 (needsDictionary): Likewise.
1959 (needsInput): Likewise.
1960 (reset): Likewise.
1961 (setDictionary): Likewise.
1962 (setInput): Likewise.
1963
1964 2003-05-27 Michael Koch <konqueror@gmx.de>
1965
1966 * java/net/URLConnection.java
1967 (getHeaderFieldInt): Merged with classpath.
1968
1969 2003-05-27 Michael Koch <konqueror@gmx.de>
1970
1971 * java/io/PrintStream.java
1972 (PrintStream): Reformatted.
1973 (PrintStream): New method, merged from classpath.
1974 (write): Reformatted.
1975
1976 2003-05-27 Michael Koch <konqueror@gmx.de>
1977
1978 * java/lang/System.java:
1979 Explicitely import needed classes.
1980
1981 2003-05-26 Michael Koch <konqueror@gmx.de>
1982
1983 * java/net/NetPermission.java,
1984 java/net/NetworkInterface.java,
1985 java/net/PasswordAuthentication.java,
1986 java/net/SocketPermission.java:
1987 New versions from classpath.
1988
1989 2003-05-25 Michael Koch <konqueror@gmx.de>
1990
1991 * java/io/PushbackInputStream.java,
1992 java/net/Authenticator.java,
1993 java/net/ContentHandler.java,
1994 java/net/ContentHandlerFactory.java,
1995 java/net/DatagramSocket.java,
1996 java/net/DatagramSocketImpl.java,
1997 java/net/DatagramSocketImplFactory.java,
1998 java/net/FileNameMap.java,
1999 java/net/SocketImplFactory.java,
2000 java/net/SocketOptions.java,
2001 java/net/URLStreamHandlerFactory.java:
2002 Merged new versions from classpath.
2003
2004 2003-05-25 Michael Koch <konqueror@gmx.de>
2005
2006 * java/awt/Checkbox.java,
2007 java/awt/Dialog.java,
2008 java/awt/Font.java,
2009 java/awt/Frame.java,
2010 java/awt/ScrollPaneAdjustable.java,
2011 java/awt/Scrollbar.java,
2012 java/awt/Window.java:
2013 New versions from classpath.
2014
2015 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2016
2017 PR libgcj/10838:
2018 * java/io/ObjectInputStream (enableResolveObject):
2019 Fixed spelling of permission name.
2020
2021 2003-05-20 Michael Koch <konqueror@gmx.de>
2022
2023 * java/io/DataInputStream.java
2024 (convertFromUTF): Merged comment from classpath.
2025 * java/io/PrintStream.java
2026 (error_occured): Renamed from error, merged comment from classpath.
2027 (PrintStream): No need to initialized error.
2028 (checkError): Replace error with error_occurred.
2029 (setError): Likewise.
2030
2031 2003-05-20 Michael Koch <konqueror@gmx.de>
2032
2033 * java/io/DataInputStream.java:
2034 Reformatted, Replaced < and & with html entitites in documentation.
2035 * java/io/File.java:
2036 Reformatted.
2037 * java/io/PrintWriter.java:
2038 Moved class documentation.
2039
2040 2003-05-20 Michael Koch <konqueror@gmx.de>
2041
2042 * gnu/java/nio/ByteBufferImpl.java,
2043 gnu/java/nio/CharBufferImpl.java,
2044 gnu/java/nio/CharViewBufferImpl.java,
2045 gnu/java/nio/DirectByteBufferImpl.java,
2046 gnu/java/nio/DoubleBufferImpl.java,
2047 gnu/java/nio/DoubleViewBufferImpl.java,
2048 gnu/java/nio/FloatBufferImpl.java,
2049 gnu/java/nio/FloatViewBufferImpl.java,
2050 gnu/java/nio/IntBufferImpl.java,
2051 gnu/java/nio/IntViewBufferImpl.java,
2052 gnu/java/nio/LongBufferImpl.java,
2053 gnu/java/nio/LongViewBufferImpl.java,
2054 gnu/java/nio/natDirectByteBufferImpl.cc,
2055 gnu/java/nio/ShortBufferImpl.java,
2056 gnu/java/nio/ShortViewBufferImpl.java:
2057 Moved files to java/nio.
2058 * gnu/java/nio/SocketChannelImpl.java
2059
2060 * java/nio/ByteBuffer.java,
2061 java/nio/CharBuffer.java,
2062 java/nio/DoubleBuffer.java,
2063 java/nio/FloatBuffer.java,
2064 java/nio/IntBuffer.java,
2065 java/nio/LongBuffer.java,
2066 java/nio/ShortBuffer.java:
2067 Dont import anything.
2068 * java/nio/ByteBufferImpl.java,
2069 java/nio/CharBufferImpl.java,
2070 java/nio/CharViewBufferImpl.java,
2071 java/nio/DirectByteBufferImpl.java,
2072 java/nio/DoubleBufferImpl.java,
2073 java/nio/DoubleViewBufferImpl.java,
2074 java/nio/FloatBufferImpl.java,
2075 java/nio/FloatViewBufferImpl.java,
2076 java/nio/IntBufferImpl.java,
2077 java/nio/IntViewBufferImpl.java,
2078 java/nio/LongBufferImpl.java,
2079 java/nio/LongViewBufferImpl.java,
2080 java/nio/natDirectByteBufferImpl.cc,
2081 java/nio/ShortBufferImpl.java,
2082 java/nio/ShortViewBufferImpl.java:
2083 Moved from gnu/java/nio.
2084 * Makefile.am
2085 (ordinary_java_source_files): Moved files from gnu/java/nio to
2086 java/nio.
2087 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2088 to java/nio.
2089 * Makefile.in: Regenerated.
2090
2091 2003-05-19 Michael Koch <konqueror@gmx.de>
2092
2093 * java/util/Calendar.java
2094 (get): Not final anymore since JDK 1.4
2095 (set): Likewise.
2096
2097 2003-05-19 Michael Koch <konqueror@gmx.de>
2098
2099 * java/text/CollationKey.java:
2100 Merged copyright and dat from classpath.
2101 * java/text/RuleBasedCollator.java:
2102 Merged class documentation from classpath.
2103
2104 2003-05-19 Michael Koch <konqueror@gmx.de>
2105
2106 * java/nio/CharBuffer.java
2107 (toString): Compile fix.
2108
2109 2003-05-19 Michael Koch <konqueror@gmx.de>
2110
2111 * gnu/java/nio/ByteBufferImpl.java
2112 (putLong): Fixed conversion to bytes.
2113 (putDouble): Fixed conversion to bytes.
2114 * gnu/java/nio/DirectByteBufferImpl.java
2115 (putLong): Fixed conversion to bytes.
2116 (putDouble): Fixed conversion to bytes.
2117 * gnu/java/nio/FileLockImpl.java
2118 (isValid): Reformatted.
2119 * java/nio/Buffer.java
2120 (Buffer): Fixed off-by-one bug in handling mark.
2121 * java/nio/ByteBuffer.java:
2122 Added newline.
2123 * java/nio/CharBuffer.java
2124 (toString): Don't use relative get to get string data.
2125
2126 2003-05-16 Michael Koch <konqueror@gmx.de>
2127
2128 * java/io/natFileDescriptorPosix.cc
2129 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2130 tested.
2131
2132 2003-05-14 Michael Koch <konqueror@gmx.de>
2133
2134 * gnu/java/nio/FileLockImpl.java
2135 (released): New member variable.
2136 (FileLockImpl): Initialize released.
2137 (releaseImpl): New native method.
2138 (release): Implemented.
2139 * gnu/java/nio/SelectorImpl.java: Reformatted.
2140 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2141 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2142 (accept): Throws IOException.
2143 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2144 (implConfigureBlocking): Throws IOException.
2145 (connect): Likewise.
2146 (read): Likewise.
2147 (write): Likewise.
2148 * gnu/java/nio/natFileLockImpl.cc: New file.
2149 * java/nio/channels/FileLock.java: Reformatted.
2150 * Makefile.am:
2151 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2152 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2153 * Makefile.in: Regenerated.
2154
2155 2003-05-13 Michael Koch <konqueror@gmx.de>
2156
2157 * gnu/java/nio/CharViewBufferImpl.java
2158 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2159 (get): Shift bits to the right direction.
2160 (put): Likewise.
2161 * gnu/java/nio/DoubleViewBufferImpl.java
2162 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2163 (get): Shift bits to the right direction.
2164 (put): Likewise.
2165 * gnu/java/nio/FloatViewBufferImpl.java
2166 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2167 (get): Shift bits to the right direction.
2168 (put): Likewise.
2169 * gnu/java/nio/IntViewBufferImpl.java
2170 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2171 (get): Shift bits to the right direction.
2172 (put): Likewise.
2173 * gnu/java/nio/LongViewBufferImpl.java
2174 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2175 (get): Shift bits to the right direction.
2176 (put): Likewise.
2177 * gnu/java/nio/ShortViewBufferImpl.java
2178 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2179 (get): Shift bits to the right direction.
2180 (put): Likewise.
2181
2182 2003-05-13 Michael Koch <konqueror@gmx.de>
2183
2184 * gnu/java/nio/natDirectByteBufferImpl.cc
2185 (allocateImpl): jlong -> RawData*.
2186 (freeImpl): Likewise.
2187
2188 2003-05-13 Michael Koch <konqueror@gmx.de>
2189
2190 * java/nio/channels/FileChannel.java
2191 (MapMode.m): Made it package-private to match JDK 1.4.
2192 * java/nio/charset/Charset.java
2193 (decode): Made it final to match JDK 1.4.
2194
2195 2003-05-13 Michael Koch <konqueror@gmx.de>
2196
2197 * java/io/FileDescriptor.java
2198 (SYNC): New constant.
2199 (DSYNC): Likewise.
2200 (getLength): Renamed from lenght() to match classpath's
2201 FileDescriptor.java.
2202 * java/io/RandomAccessFile.java
2203 (RandomAccessFile): Removed unneeded mode check, implemented mode
2204 "rws" and "rwd", merged documentation from classpath.
2205 (setLength): Reformatted.
2206 (length): Use new getLength() of FileDescriptor.
2207 * java/io/natFileDescriptorEcos.cc
2208 (getLength): Renamed from length().
2209 * java/io/natFileDescriptorPosix.cc
2210 (open): Implemented support for SYNC and DSYNC.
2211 (seek): Use getLength() instead of length().
2212 (getLength): Renamed from length().
2213 * java/io/natFileDescriptorWin32.cc
2214 (getLength): Renamed from length().
2215 (seek): Use getLength() instead of length().
2216 (available): Likewise.
2217 * gnu/java/nio/natFileChannelImpl.cc
2218 (size): Use getLength() instead of length().
2219
2220 2003-05-13 Michael Koch <konqueror@gmx.de>
2221
2222 * gnu/java/nio/ByteBufferImpl.java
2223 (ByteBufferImpl): All constructors revised.
2224 (slice): Reimplemented.
2225 (duplicate): Reimplemented.
2226 (asReadOnlyBuffer): Reimplemented.
2227 * java/nio/ByteBuffer.java:
2228 Reformatted.
2229 (array_offset): Renamed from "offset" to match all other buffer
2230 classes.
2231 (ByteBuffer): All constructors revised.
2232 (allocateDirect): Implemented.
2233 (allocate): New implementation, documentation reworked.
2234 (wrap): Likewise.
2235 (get): Documentation reworked.
2236 (put): New implementation, documentation reworked.
2237 (hasArray): Documentation reworked.
2238 (arrayOffset): Likewise.
2239 (hashCode): Likewise.
2240 (equals): Likewise.
2241 (compareTo): Likewise.
2242 (order): Likewise.
2243 (compact): Likewise.
2244 (isDirect): Likewise.
2245 (slice): Likewise.
2246 (duplicate): Likewise.
2247 (asReadOnlyBuffer): Likewise.
2248 * Makefile.am
2249 (ordinary_java_source_files):
2250 Added gnu/java/nio/DirectByteBufferImpl.java.
2251 (nat_source_files):
2252 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2253 * Makefile.in: Regenerated.
2254
2255 2003-05-12 Michael Koch <konqueror@gmx.de>
2256
2257 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2258 (nio_get_*): Removed.
2259 (nio_put_*): Removed.
2260 (as*Buffer): Implemented.
2261 (compact): Implemented.
2262 (get): Documentation added.
2263 (put): Documentation added.
2264 (get*): Newly implemented.
2265 (put*): Newly implemented.
2266 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2267 (CharBufferImpl): Revised.
2268 (slice): New implementation.
2269 (duplicate): New implementation.
2270 (compact): New implementation.
2271 (asReadOnlyBuffer): New implementation.
2272 (get): Documentation revised.
2273 (order): Return native byte order.
2274 * gnu/java/nio/DirectByteBufferImpl.java
2275 (allocateDirect): objects can be null not 0.
2276 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2277 (DoubleBufferImpl): Revised.
2278 (slice): New implementation.
2279 (duplicate): New implementation.
2280 (compact): New implementation.
2281 (asReadOnlyBuffer): New implementation.
2282 (get): Documentation revised.
2283 (order): Return native byte order.
2284 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2285 (FloatBufferImpl): Revised.
2286 (slice): New implementation.
2287 (duplicate): New implementation.
2288 (compact): New implementation.
2289 (asReadOnlyBuffer): New implementation.
2290 (get): Documentation revised.
2291 (order): Return native byte order.
2292 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2293 (IntBufferImpl): Revised.
2294 (slice): New implementation.
2295 (duplicate): New implementation.
2296 (compact): New implementation.
2297 (asReadOnlyBuffer): New implementation.
2298 (get): Documentation revised.
2299 (order): Return native byte order.
2300 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2301 (LongBufferImpl): Revised.
2302 (slice): New implementation.
2303 (duplicate): New implementation.
2304 (compact): New implementation.
2305 (asReadOnlyBuffer): New implementation.
2306 (get): Documentation revised.
2307 (order): Return native byte order.
2308 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2309 (ShortBufferImpl): Revised.
2310 (slice): New implementation.
2311 (duplicate): New implementation.
2312 (compact): New implementation.
2313 (asReadOnlyBuffer): New implementation.
2314 (get): Documentation revised.
2315 (order): Return native byte order.
2316 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2317 (CharBuffer): Revised.
2318 (order): Removed.
2319 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2320 (DoubleBuffer): Revised.
2321 (allocateDirect): Removed.
2322 (order): Removed.
2323 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2324 (FloatBuffer): Revised.
2325 (allocateDirect): Removed.
2326 (order): Removed.
2327 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2328 (IntBuffer): Revised.
2329 (allocateDirect): Removed.
2330 (order): Removed.
2331 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2332 (LongBuffer): Revised.
2333 (allocateDirect): Removed.
2334 (order): Removed.
2335 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2336 (ShortBuffer): Revised.
2337 (allocateDirect): Removed.
2338 (order): Removed.
2339 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2340 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2341 * Makefile.am
2342 (ordinary_java_source_files): Added the following files:
2343 gnu/java/nio/CharViewBufferImpl.java,
2344 gnu/java/nio/DoubleViewBufferImpl.java,
2345 gnu/java/nio/FloatViewBufferImpl.java,
2346 gnu/java/nio/IntViewBufferImpl.java,
2347 gnu/java/nio/LongViewBufferImpl.java,
2348 gnu/java/nio/ShortViewBufferImpl.java
2349 (nat_source_files): Removed the following files:
2350 gnu/java/nio/natByteBufferImpl.cc,
2351 gnu/java/nio/natCharBufferImpl.cc
2352 * Makefile.in: Regenerated.
2353
2354 2003-05-12 Michael Koch <konqueror@gmx.de>
2355
2356 * gnu/java/nio/CharViewBufferImpl.java,
2357 gnu/java/nio/DirectByteBufferImpl.java,
2358 gnu/java/nio/DoubleViewBufferImpl.java,
2359 gnu/java/nio/FloatViewBufferImpl.java,
2360 gnu/java/nio/IntViewBufferImpl.java,
2361 gnu/java/nio/LongViewBufferImpl.java,
2362 gnu/java/nio/ShortViewBufferImpl.java,
2363 gnu/java/nio/natDirectByteBufferImpl.cc:
2364 New files, not yet to be compiled.
2365
2366 2003-05-10 Michael Koch <konqueror@gmx.de>
2367
2368 * javax/swing/plaf/ButtonUI.java,
2369 javax/swing/plaf/ColorUIResource.java,
2370 javax/swing/plaf/ComponentUI.java,
2371 javax/swing/plaf/DimensionUIResource.java,
2372 javax/swing/plaf/FontUIResource.java,
2373 javax/swing/plaf/IconUIResource.java,
2374 javax/swing/plaf/InsetsUIResource.java,
2375 javax/swing/plaf/LabelUI.java,
2376 javax/swing/plaf/ListUI.java,
2377 javax/swing/plaf/OptionPaneUI.java,
2378 javax/swing/plaf/PanelUI.java,
2379 javax/swing/plaf/TabbedPaneUI.java,
2380 javax/swing/plaf/TextUI.java,
2381 javax/swing/plaf/TreeUI.java,
2382 javax/swing/plaf/ViewportUI.java,
2383 javax/swing/plaf/basic/BasicBorders.java,
2384 javax/swing/plaf/basic/BasicButtonUI.java,
2385 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2386 javax/swing/plaf/basic/BasicDefaults.java,
2387 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2388 javax/swing/plaf/basic/BasicIconFactory.java,
2389 javax/swing/plaf/basic/BasicLabelUI.java,
2390 javax/swing/plaf/basic/BasicListUI.java,
2391 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2392 javax/swing/plaf/basic/BasicPanelUI.java,
2393 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2394 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2395 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2396 javax/swing/plaf/basic/BasicTextUI.java,
2397 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2398 javax/swing/plaf/basic/BasicTreeUI.java,
2399 javax/swing/plaf/basic/BasicViewportUI.java,
2400 javax/swing/plaf/metal/MetalLookAndFeel.java:
2401 New versions from classpath. This adds copyrights to all files and
2402 some serialVersionUIDs.
2403
2404 2003-05-10 Michael Koch <konqueror@gmx.de>
2405
2406 * java/nio/CharBuffer.java
2407 (offset): Make it package-private.
2408 (backing_buffer): Likewise.
2409 * java/nio/DoubleBuffer.java
2410 (offset): Make it package-private.
2411 (backing_buffer): Likewise.
2412 (put): Reformatted.
2413 * java/nio/FloatBuffer.java
2414 (offset): Make it package-private.
2415 (backing_buffer): Likewise.
2416 * java/nio/IntBuffer.java
2417 (offset): Make it package-private.
2418 (backing_buffer): Likewise.
2419 * java/nio/LongBuffer.java
2420 (offset): Make it package-private.
2421 (backing_buffer): Likewise.
2422 * java/nio/ShortBuffer.java
2423 (offset): Make it package-private.
2424 (backing_buffer): Likewise.
2425
2426 2003-05-10 Michael Koch <konqueror@gmx.de>
2427
2428 * java/nio/CharBuffer.java
2429 (put): Fixed precondtion check.
2430 (toString): Make it work without backing array.
2431 (put): Skip one level of method calling.
2432
2433 2003-05-10 Michael Koch <konqueror@gmx.de>
2434
2435 * java/security/Identity.java,
2436 java/security/IdentityScope.java,
2437 java/security/Key.java,
2438 java/security/KeyPair.java,
2439 java/security/PrivateKey.java,
2440 java/security/Provider.java,
2441 java/security/PublicKey.java,
2442 java/security/SecureRandom.java,
2443 java/security/SecureRandomSpi.java,
2444 java/security/SignedObject.java,
2445 java/security/Signer.java,
2446 java/security/cert/Certificate.java,
2447 java/security/cert/PKIXCertPathBuilderResult.java,
2448 java/security/cert/X509Certificate.java:
2449 New versions from classpath.
2450
2451 2003-05-09 Tom Tromey <tromey@redhat.com>
2452
2453 * Makefile.in: Rebuilt.
2454 * Makefile.am (nat_source_files): Removed old files.
2455 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2456 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2457 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2458 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2459 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2460
2461 2003-05-09 Michael Koch <konqueror@gmx.de>
2462
2463 * gnu/java/nio/ByteBufferImpl.java
2464 (nio_cast): Removed.
2465 (ByteBufferImpl): Removed.
2466 (nio_get_Byte): Removed.
2467 (nio_put_Byte): Removed.
2468 (asByteBuffer): Removed.
2469 (asCharBuffer): Removed implementation and throw exception.
2470 (asShortBuffer): Likewise.
2471 (asIntBuffer): Likewise.
2472 (asLongBuffer): Likewise.
2473 (asFloatBuffer): Likewise.
2474 (asDoubleBuffer): Likewise.
2475 * gnu/java/nio/CharBufferImpl.java
2476 (CharBufferImpl): Removed.
2477 (nio_get_Byte): Removed.
2478 (nio_put_Byte): Removed.
2479 (asByteBuffer): Removed.
2480 * gnu/java/nio/DoubleBufferImpl.java
2481 (DoubleBufferImpl): Removed.
2482 (nio_get_Byte): Removed.
2483 (nio_put_Byte): Removed.
2484 (asByteBuffer): Removed.
2485 * gnu/java/nio/FloatBufferImpl.java
2486 (FloatBufferImpl): Removed.
2487 (nio_get_Byte): Removed.
2488 (nio_put_Byte): Removed.
2489 (asByteBuffer): Removed.
2490 * gnu/java/nio/IntBufferImpl.java
2491 (IntBufferImpl): Removed.
2492 (nio_get_Byte): Removed.
2493 (nio_put_Byte): Removed.
2494 (asByteBuffer): Removed.
2495 * gnu/java/nio/LongBufferImpl.java
2496 (LongBufferImpl): Removed.
2497 (nio_get_Byte): Removed.
2498 (nio_put_Byte): Removed.
2499 (asByteBuffer): Removed.
2500 * gnu/java/nio/ShortBufferImpl.java
2501 (ShortBufferImpl): Removed.
2502 (nio_get_Byte): Removed.
2503 (nio_put_Byte): Removed.
2504 (asByteBuffer): Removed.
2505 * gnu/java/nio/natByteBufferImpl.cc
2506 (nio_cast): Removed.
2507 (nio_get_Byte): Removed.
2508 (nio_put_Byte): Removed.
2509 * gnu/java/nio/natCharBufferImpl.cc
2510 (nio_get_Byte): Removed.
2511 (nio_put_Byte): Removed.
2512
2513 2003-05-09 Michael Koch <konqueror@gmx.de>
2514
2515 * java/net/JarURLConnection.java
2516 (getJarEntry): Merged documentation from classpath.
2517 (getJarFile): Likewise.
2518 (getMainAttributes): Likewise.
2519 (getAttributes): Likewise.
2520 (getManifest): Likewise.
2521 (getCertificates): Reformatted.
2522 * java/net/URLConnection.java:
2523 Little classpath merge.
2524
2525 2003-05-09 Michael Koch <konqueror@gmx.de>
2526
2527 * java/io/DataOutputStream.java
2528 (writeShort): Made it synchronized.
2529 (writeChar): Likewise.
2530 (writeInt): Likewise.
2531 (writeLong): Liekwise.
2532 (writeUTF): Made it synchronized, renamed argument to match classpath.
2533 * java/io/InputStreamReader.java
2534 (converter): Added documentation.
2535 (read): Merged documentation from classpath.
2536 * java/io/OutputStreamWriter.java
2537 (OutputStreamWriter): Merged documentation from classpath.
2538 (close): Reformatted.
2539 (getEncoding): Likewise.
2540 (flush): Likewise.
2541 (write): Merged documentation from classpath, reformatted.
2542
2543 2003-05-08 Tom Tromey <tromey@redhat.com>
2544
2545 * configure.host <powerpc64*-*>: Set with_libffi_default and
2546 libgcj_interpreter to "yes".
2547
2548 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2549
2550 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2551
2552 2003-05-06 Tom Tromey <tromey@redhat.com>
2553
2554 * verify.cc: Reverted previous patch.
2555
2556 2003-05-06 Michael Koch <konqueror@gmx.de>
2557
2558 * java/io/DataOutputStream.java
2559 (write): Renamed argument to "value", merged documentation from
2560 classpath.
2561 (writeBoolean): Likewise.
2562 (writeByte): Likewise.
2563 (writeShort): Likewise.
2564 (writeChar): Likewise.
2565 (writeInt): Likewise.
2566 (writeLong): Likewise.
2567 (writeFloat): Likewise.
2568 (writeDouble): Likewise.
2569 (writeBytes): Likewise.
2570 (writeChars): Likewise.
2571 (writeUTF): Likewise.
2572 * java/io/File.java
2573 (performDelete): Added documentation.
2574 (performList): Likewise.
2575 (performMkdir): Likewise.
2576 (performSetReadOnly): Likewise.
2577 (performRenameTo): Likewise.
2578 (performSetLastModified): Likewise.
2579 (delete): Made it sychronized.
2580 (renameTo): Made it sychronized.
2581 (equals): Reformatted.
2582 (isHidden): Likewise.
2583 (listFiles): Likewise.
2584 (setReadOnly): Likewise.
2585 (listRoots): Likewise.
2586 (setLastModified): Likewise.
2587 (checkRead): Likewise.
2588 (checkWrite): Likewise.
2589 * java/io/FileInputStream.java
2590 (skip): Made it sychronized, merged from classpath.
2591 * java/io/FileOutputStream.java
2592 (write): Merged from classpath.
2593 * java/io/InputStreamReader.java:
2594 (InputStreamReader): Merged documentation from classpath.
2595
2596 2003-05-05 Michael Koch <konqueror@gmx.de>
2597
2598 * java/net/NetworkInterface.java
2599 (networkInterfaces): Removed.
2600 (getByName): Use getRealNetworkInterfaces() instead of
2601 networkInterfaces.
2602 (getByInetAddress): Likewise.
2603 (getNetworkInterfaces): Likewise.
2604 (toString): Fix output of addresses of an interface.
2605
2606 2003-05-05 Michael Koch <konqueror@gmx.de>
2607
2608 * java/io/DataInputStream.java:
2609 Merged new documentation from classpath.
2610
2611 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2612
2613 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2614 "version".
2615 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2616 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2617 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2618 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2619 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2620 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2621 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2622 * java/security/Key.java: Likewise.
2623 * java/security/PrivateKey.java: Likewise.
2624 * java/security/Provider.java: Likewise.
2625 * java/security/PublicKey.java: Likewise.
2626
2627 2003-05-02 Michael Koch <konqueror@gmx.de>
2628
2629 * java/net/URI.java
2630 (create): Doesnt throws any exceptions.
2631 * java/net/URLConnection.java
2632 (URLConnection): Commend added.
2633 (getExpiration): The header field is called "expires" not
2634 "expiration".
2635 (getHeaderField): Merged documentation with classpath.
2636 (getHeaderFieldInt): Likewise.
2637 (getHeaderFieldDate): Likewise.
2638 (getHeaderFieldKey): Likewise.
2639 (getPermission): Likewise.
2640 (setDefaultUseCaches): Likewise.
2641 (setRequestProperty): Likewise.
2642 (addRequestProperty): Likewise.
2643 (getRequestProperty): Likewise.
2644 (getRequestProperties): Likewise.
2645 (setDefaultRequestProperty): Likewise.
2646 (getDefaultRequestProperty): Likewise.
2647 (guessContentTypeFromStream): Likewise.
2648 (getFileNameMap): Likewise.
2649 (setFileNameMap): Likewise.
2650 (setDoInput): Merged implementation and documentation with classpath.
2651 (setDoOutput): Likewise.
2652 (setAllowUserInteraction): Likewise.
2653 (setDefaultAllowUserInteraction): Likewise.
2654 (setContentHandlerFactory): Made it synchronized, merged documentation
2655 with classpath.
2656 (guessContentTypeFromName): Renamed argument fname to filename to
2657 match classpath, merged documentation with classpath.
2658
2659 2003-05-02 Michael Koch <konqueror@gmx.de>
2660
2661 * java/net/JarURLConnection.java
2662 (JarURLConnection): Class documentation merged with classpath.
2663 (getJarFileURL): Moved and documentation merged with classpath.
2664 (getEntryName): Likewise.
2665 (JarURLConnection): Documentation merged with classpath.
2666 (getJarEntry): Likewise.
2667 (getJarFile): Likewise.
2668 * java/net/PlainDatagramSocketImpl.java:
2669 Class documentation moved.
2670 * java/net/URLConnection.java
2671 (fileNameMap): Moved and documentation merged with classpath.
2672 (factory): Likewise.
2673 (defaultAllowUserInteraction): Likewis.
2674 (defaultUseCaches): Likewise.
2675 (allowUserInteraction): Likewise.
2676 (connected): Likewise.
2677 (url): Likewise.
2678 (connect): Documentation merged with classpath.
2679 (getURL): Likewise.
2680 (getContentLength): Likewise.
2681 (getContentType): Likewise.
2682 (getContentEncoding): Likewise.
2683 (getExpiration): Likewise.
2684 (getDate): Likewise.
2685 (getLastModified): Likewise.
2686 (getHeaderField): Likewise.
2687 (getContent): Likewise.
2688 (getPermission): Likewise.
2689 (getInputStream): Likewise.
2690 (getOutputStream): Likewise.
2691 (toString): Likewise.
2692 (getDoInput): Likewise.
2693 (getDoOutput): Likewise.
2694 (setAllowUserInteraction): Likewise.
2695 (getAllowUserInteraction): Likewise.
2696 (setDefaultAllowUserInteraction): Likewise.
2697 (getDefaultAllowUserInteraction): Likewise.
2698 (setUseCaches): Likewise.
2699 (getUseCaches): Likewise.
2700 (setIfModifiedSince): Likewise.
2701 (getIfModifiedSince): Likewise.
2702 (setDefaultRequestProperty): Likewise.
2703 (getDefaultRequestProperty): Likewise.
2704 (setContentHandlerFactory): Likewise.
2705 (setFileNameMap): Likewise.
2706
2707 2003-05-02 Michael Koch <konqueror@gmx.de>
2708
2709 * java/net/InetAddress.java:
2710 Merged class documentation with classpath.
2711 * java/net/JarURLConnection.java:
2712 Explicitely import all used classes.
2713 * java/net/URL.java:
2714 Reformatting.
2715 * java/net/ServerSocket.java,
2716 java/net/Socket.java:
2717 New versions from classpath.
2718
2719 2003-05-02 Michael Koch <konqueror@gmx.de>
2720
2721 * gnu/java/nio/FileChannelImpl.java
2722 (read): New implementation.
2723 (implRead): New methods.
2724 (write): New implementation, call other write insteal of read method.
2725 (implWrite): New methods.
2726 (map): Added comment.
2727 (transferFrom): Implemented.
2728 (transferTo): Implemented.
2729 (lock): Added checks to throw exceptions.
2730 (truncate): Added check to throw exception.
2731 * gnu/java/nio/natFileChannelImpl.cc
2732 (implRead): New method.
2733 (implWrite): New method.
2734 * java/nio/ByteBuffer.java
2735 (hashCode): Fixed comment.
2736 (get): Fixed exception documentation.
2737 (put): Fixed exception documentation.
2738 * java/nio/CharBuffer.java:
2739 Added comment for later optimizations.
2740
2741 2003-04-30 Tom Tromey <tromey@redhat.com>
2742
2743 PR libgcj/10582:
2744 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2745 Removed.
2746 (type::compatible): Use _Jv_IsAssignableFrom.
2747 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2748 (_Jv_IsAssignableFrom): Work even when source or target class is
2749 not prepared.
2750
2751 2003-04-30 Michael Koch <konqueror@gmx.de>
2752
2753 * java/text/BreakIterator.java
2754 (clone): New method.
2755
2756 2003-04-30 Michael Koch <konqueror@gmx.de>
2757
2758 * java/text/CollationElementIterator.java,
2759 java/text/CollationKey.java,
2760 java/text/RuleBasedCollator.java:
2761 Merged copyright and documentation from classpath and
2762 rearranged some code. No code changes done.
2763
2764 2003-04-30 Michael Koch <konqueror@gmx.de>
2765
2766 * java/util/regex/Matcher.java
2767 (pattern): New member variable.
2768 (appendReplacement): New method.
2769 (appendTail): New method.
2770 (end): New method.
2771 (find): New method.
2772 (group): New method.
2773 (replaceFirst): Added documentation.
2774 (replaceAll): Added documentation.
2775 (groupCount): New method.
2776 (lookingAt): New method.
2777 (matches): New method.
2778 (reset): New method.
2779 (start): New method.
2780 * java/util/regex/Pattern.java
2781 (serialVersionUID): New constant.
2782 (CANON_EQ): New constant.
2783 (CASE_INSENSITIVE): New constant.
2784 (COMMENTS): New constant.
2785 (DOTALL): New constant.
2786 (MULTILINE): New constant.
2787 (UNICODE_CASE): New constant.
2788 (UNIX_LINES): New constant.
2789 (regex): New member variable.
2790 (flags): New member variable.
2791 (Pattern): New method.
2792 (compile): Documentation added.
2793 (flags): New method.
2794 (matches): Documentation added.
2795 (matcher): Documentation added.
2796 (split): Documentation added.
2797 (pattern): New method.
2798
2799 2003-04-30 Michael Koch <konqueror@gmx.de>
2800
2801 * gnu/java/security/Engine.java,
2802 gnu/java/security/OID.java,
2803 gnu/java/security/der/BitString.java,
2804 gnu/java/security/der/DER.java,
2805 gnu/java/security/der/DERReader.java,
2806 gnu/java/security/der/DERValue.java,
2807 gnu/java/security/der/DERWriter.java,
2808 gnu/java/security/provider/DSAKeyFactory.java,
2809 gnu/java/security/provider/X509CertificateFactory.java,
2810 gnu/java/security/x509/X500DistinguishedName.java,
2811 gnu/java/security/x509/X509CRL.java,
2812 gnu/java/security/x509/X509CRLEntry.java,
2813 gnu/java/security/x509/X509Certificate.java,
2814 java/security/cert/CRLSelector.java,
2815 java/security/cert/CertPathBuilder.java,
2816 java/security/cert/CertPathBuilderResult.java,
2817 java/security/cert/CertPathBuilderSpi.java,
2818 java/security/cert/CertPathParameters.java,
2819 java/security/cert/CertPathValidator.java,
2820 java/security/cert/CertPathValidatorResult.java,
2821 java/security/cert/CertPathValidatorSpi.java,
2822 java/security/cert/CertSelector.java,
2823 java/security/cert/CertStore.java,
2824 java/security/cert/CertStoreParameters.java,
2825 java/security/cert/CertStoreSpi.java,
2826 java/security/cert/CollectionCertStoreParameters.java,
2827 java/security/cert/LDAPCertStoreParameters.java,
2828 java/security/cert/PKIXBuilderParameters.java,
2829 java/security/cert/PKIXCertPathBuilderResult.java,
2830 java/security/cert/PKIXCertPathChecker.java,
2831 java/security/cert/PKIXCertPathValidatorResult.java,
2832 java/security/cert/PKIXParameters.java,
2833 java/security/cert/PolicyNode.java,
2834 java/security/cert/PolicyQualifierInfo.java,
2835 java/security/cert/TrustAnchor.java,
2836 javax/security/auth/x500/X500Principal.java:
2837 New files from classpath.
2838 * gnu/java/io/ASN1ParsingException.java,
2839 gnu/java/io/Base64InputStream.java,
2840 gnu/java/security/der/DEREncodingException.java,
2841 gnu/java/security/provider/DSAParameters.java,
2842 gnu/java/security/provider/DSASignature.java,
2843 gnu/java/security/provider/Gnu.java,
2844 gnu/java/security/provider/GnuDSAPrivateKey.java,
2845 gnu/java/security/provider/GnuDSAPublicKey.java,
2846 java/security/AlgorithmParameterGenerator.java,
2847 java/security/AlgorithmParameters.java,
2848 java/security/KeyFactory.java,
2849 java/security/KeyPairGenerator.java,
2850 java/security/KeyStore.java,
2851 java/security/MessageDigest.java,
2852 java/security/SecureClassLoader.java,
2853 java/security/SecureRandom.java,
2854 java/security/Security.java,
2855 java/security/Signature.java,
2856 java/security/cert/Certificate.java,
2857 java/security/cert/CertificateFactory.java,
2858 java/security/cert/CertificateFactorySpi.java,
2859 java/security/cert/X509CRL.java,
2860 java/security/cert/X509Certificate.java,
2861 java/security/spec/DSAPublicKeySpec.java:
2862 New versions from classpath.
2863 * gnu/java/security/provider/DERReader.java,
2864 gnu/java/security/provider/DERWriter.java,
2865 java/security/Engine.java: Removed.
2866 * Makefile.am
2867 (java_source_files, javax_source_files): Added new files.
2868 * Makefile.in: Regenerated.
2869
2870 2003-04-29 Michael Koch <konqueror@gmx.de>
2871
2872 * javax/swing/JTable.java
2873 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2874 (AUTO_RESIZE_LAST_COLUMN): New constant.
2875 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2876 (AUTO_RESIZE_OFF): New constant.
2877 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2878 (JTable): New method.
2879 (columnAdded): New method.
2880 (columnMarginChanged): New method.
2881 (columnMoved): New method.
2882 (columnRemoved): New method.
2883 (columnSelectionChanged): New method.
2884 (editingCanceled): New method.
2885 (editingStopped): New method.
2886 (getColumnModel): New method.
2887 (getPreferredScrollableViewportSize): New method.
2888 (getScrollableBlockIncrement): New method.
2889 (getScrollableTracksViewportHeight): New method.
2890 (getScrollableTracksViewportWidth): New method.
2891 (getScrollableUnitIncrement): New method.
2892 (getSelectedRow): New method.
2893 (getSelectionModel): New method.
2894 (tableChanged): New method.
2895 (setModel): New method.
2896 (setSelectionMode): New method.
2897 (setSelectionModel): New method.
2898 (setShowGrid): New method.
2899 (valueChanged): New method.
2900 * javax/swing/text/DefaultEditorKit.java
2901 (backwardAction): New constant.
2902 (beepAction): New constant.
2903 (beginAction): New constant.
2904 (beginLineAction): New constant.
2905 (beginParagraphAction): New constant.
2906 (beginWordAction): New constant.
2907 (copyAction): New constant.
2908 (cutAction): New constant.
2909 (defaultKeyTypedAction): New constant.
2910 (deleteNextCharAction): New constant.
2911 (deletePrevCharAction): New constant.
2912 (downAction): New constant.
2913 (endAction): New constant.
2914 (endLineAction): New constant.
2915 (endOfLineStringProperty): New constant.
2916 (endParagraphAction): New constant.
2917 (endWordAction): New constant.
2918 (forwardAction): New constant.
2919 (insertBreakAction): New constant.
2920 (insertContentAction): New constant.
2921 (insertTabAction): New constant.
2922 (nextWordAction): New constant.
2923 (pageDownAction): New constant.
2924 (pageUpAction): New constant.
2925 (pasteAction): New constant.
2926 (previousWordAction): New constant.
2927 (readOnlyAction): New constant.
2928 (selectAllAction): New constant.
2929 (selectionBackwardAction): New constant.
2930 (selectionBeginAction): New constant.
2931 (selectionBeginLineAction): New constant.
2932 (selectionBeginParagraphAction): New constant.
2933 (selectionBeginWordAction): New constant.
2934 (selectionDownAction): New constant.
2935 (selectionEndAction): New constant.
2936 (selectionEndLineAction): New constant.
2937 (selectionEndParagraphAction): New constant.
2938 (selectionEndWordAction): New constant.
2939 (selectionForwardAction): New constant.
2940 (selectionNextWordAction): New constant.
2941 (selectionPreviousWordAction): New constant.
2942 (selectionUpAction): New constant.
2943 (selectLineAction): New constant.
2944 (selectParagraphAction): New constant.
2945 (selectWordAction): New constant.
2946 (upAction): New constant.
2947 (writableAction): New constant.
2948
2949 2003-04-29 Michael Koch <konqueror@gmx.de>
2950
2951 * java/util/PropertyPermission.java:
2952 New version from classpath
2953 * java/util/ResourceBundle.java:
2954 Partly merged from classpath
2955 (getObject): Reformated.
2956 (tryBundle): Set foundBundle = null if no bundle found.
2957
2958 2003-04-29 Michael Koch <konqueror@gmx.de>
2959
2960 * javax/swing/AbstractListModel.java,
2961 javax/swing/DefaultBoundedRangeModel.java,
2962 javax/swing/DefaultSingleSelectionModel.java:
2963 New Versions from classpath.
2964
2965 2003-04-29 Michael Koch <konqueror@gmx.de>
2966
2967 * java/awt/Window.java
2968 (show): Call super.show() instead of setVisible() to avoid endless
2969 loop.
2970 (hide): Call super.hide() instead of setVisible() to avoid endless
2971 loop.
2972
2973 2003-04-29 Michael Koch <konqueror@gmx.de>
2974
2975 * java/util/zip/Deflater.java,
2976 java/util/zip/DeflaterOutputStream.java:
2977 Partly merged with classpath.
2978
2979 2003-04-27 Tom Tromey <tromey@redhat.com>
2980
2981 * java/lang/natString.cc (_Jv_AllocString): Initialize
2982 cachedHashCode.
2983 (init): Likewise.
2984 (_Jv_NewStringUtf8Const): Likewise.
2985
2986 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2987
2988 * include/jvm.h: (_Jv_GetNbArgs) added
2989 (_Jv_GetSafeArg) added
2990 (_Jv_SetArgs) added
2991 * prims.cc: (_Jv_GetNbArgs) implemented
2992 (_Jv_GetSafeArg) implemented
2993 (_Jv_SetArgs) implemented
2994 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2995 setting _Jv_argc and _Jv_argv
2996 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2997 instead of _Jv_argv
2998 * java/lang/natRuntime.cc: (insertSystemProperties) use
2999 _Jv_GetSafeArg() instead of _Jv_argv
3000
3001 2003-04-23 Tom Tromey <tromey@redhat.com>
3002
3003 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3004 required by this object. Search superclasses to find required
3005 alignment.
3006 (get_alignment_from_class): Use alignment of type as it appears
3007 in a struct.
3008 (ALIGNOF): New macro.
3009 (struct aligner): New helper structure.
3010
3011 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3012
3013 * java/awt/Container.java (addImpl): Enable paint events if adding
3014 a lightweight to a heavyweight.
3015 (addNotify): Ensure that peer is created before
3016 addNotifyContainerChildren.
3017 (addNotifyContainerChildren): Enable paint events if a heavyweight
3018 container contains a lightweight.
3019
3020 2003-04-20 Tom Tromey <tromey@redhat.com>
3021
3022 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3023 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3024 Classpath.
3025
3026 2003-04-19 Tom Tromey <tromey@redhat.com>
3027
3028 * java/sql/Date.java, java/sql/DriverManager.java,
3029 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3030 Classpath.
3031
3032 * Makefile.in: Rebuilt.
3033 * Makefile.am (ordinary_java_source_files): Added new files.
3034 * java/security/AlgorithmParameterGenerator.java,
3035 java/security/AlgorithmParameters.java, java/security/Engine.java,
3036 java/security/Identity.java, java/security/IdentityScope.java,
3037 java/security/KeyFactory.java,
3038 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3039 java/security/MessageDigest.java, java/security/Policy.java,
3040 java/security/ProtectionDomain.java,
3041 java/security/SecureRandom.java, java/security/Security.java,
3042 java/security/Signature.java, java/security/SignatureSpi.java,
3043 java/security/SignedObject.java, java/security/Signer.java,
3044 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3045 java/security/spec/PSSParameterSpec.java,
3046 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3047 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3048 Classpath.
3049
3050 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3051
3052 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3053 (dispose): Null metrics.
3054 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3055 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3056 finalize.
3057 (finalize): Call dispose.
3058 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3059 (gcCachedCount): New field.
3060 (finalize): New method.
3061 (putGCInCache): New method.
3062 (getGCFromCache): New method.
3063 * gnu/gcj/xlib/GC.java (GC): Make protected.
3064 (clone): Get new GC from cache if possible.
3065 (create): New static method.
3066 (dispose): Save old GC in cache.
3067 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3068 deleting.
3069 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3070 is null.
3071 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3072 * java/awt/Container.java (visitChild): Dispose gfx2 when
3073 finished.
3074
3075 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3076
3077 * java/math/BigInteger.java (probablePrime): New.
3078 * java/math/BigDecimal.java (unscaledValue): New.
3079
3080 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3081
3082 * java/io/File.java (getAbsolutePath): On Windows, take care
3083 of paths like "C:", "G:foo\bar", etc.
3084 (getName): Make it work correctly on Windows.
3085 (getParent): Make it work correctly on Windows. For UNIX,
3086 fix bug that causes "/" to be returned as the parent of "/",
3087 instead of null as returned by Sun's JRE.
3088
3089 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3090
3091 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3092
3093 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3094 inner class.
3095 (CACHE_SIZE_PER_DISPLAY): New field
3096 (fontMetricsCache): New field
3097 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3098 loading ISO10646-1 fonts.
3099
3100 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3101
3102 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3103 characters.
3104 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3105 characters.
3106
3107 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3108
3109 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3110 floating point.
3111
3112 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3113
3114 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3115 installed libpthread is either linuxthreads with floating stacks or
3116 NPTL.
3117
3118 2003-04-14 Tom Tromey <tromey@redhat.com>
3119
3120 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3121 of alignment.
3122
3123 2003-04-10 Tom Tromey <tromey@redhat.com>
3124
3125 * verify.cc (pop64): Removed.
3126 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3127 exception if top-of-stack is narrow.
3128 (initialize_stack): Check to ensure that <init> is not static and
3129 <clinit> is.
3130
3131 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3132
3133 * java/io/ObjectStreamException
3134 * java/io/FileFilter
3135 * java/io/FilenameFilter
3136 * java/io/ObjectInput
3137 * java/io/ObjectOutput
3138 * java/io/ObjectStreamConstants
3139 Minor doc fixes, format fixes, spelling corrections, etc.
3140 * java/io/DataInput
3141 Corrected code samples in Javadocs to match reality
3142 * java/io/DataOutput
3143 * java/io/ObjectInputValidation
3144 Major documentation fixes - all Javadocs re-written or updated
3145
3146 2003-04-06 Michael Koch <konqueror@gmx.de>
3147
3148 * java/net/URLConnection.java:
3149 Import classes directly.
3150 (URLConnection): Merged class documentation with classpath.
3151 (url): Moved, documentation from classpath added.
3152 (doInput): Moved, documentation from classpath added.
3153 (doOutput): Moved, documentation from classpath added.
3154 (allowUserInteraction): Moved.
3155 (useCaches): Moved, documentation from classpath added.
3156 (ifModifiedSince): Moved, documentation from classpath added.
3157 (connected): Moved, documentation from classpath added.
3158
3159 2003-04-06 Michael Koch <konqueror@gmx.de>
3160
3161 * java/io/FileInputStream.java
3162 (skip): Renamed some variables to match classpath, added
3163 checks from classpath.
3164
3165 2003-03-31 Michael Koch <konqueror@gmx.de>
3166
3167 * javax/swing/AbstractAction.java
3168 (AbstractAction): Reformatted.
3169 (serialVersionUID): New private member variable.
3170 * javax/swing/plaf/BorderUIResource.java
3171 (serialVersionUID): New private member variable.
3172 * javax/swing/plaf/basic/BasicLookAndFeel.java
3173 (serialVersionUID): New private member variable.
3174
3175 2003-03-31 Michael Koch <konqueror@gmx.de>
3176
3177 * java/sql/Date.java
3178 (valueOf): Deprecated, reformatted.
3179 (toString): Deprecated, reformatted.
3180 * java/sql/Time.java
3181 (valueOf): Deprecated, reformatted.
3182 (toString): Deprecated, reformatted.
3183
3184 2003-03-31 Michael Koch <konqueror@gmx.de>
3185
3186 * java/rmi/dgc/VMID.java
3187 (isUnique): Deprecated.
3188
3189 2003-03-31 Michael Koch <konqueror@gmx.de>
3190
3191 * java/io/File.java
3192 (separator): Merged documentation from classpath.
3193 (separatorChar): Merged documentation from classpath.
3194 (pathSeparator): Merged documentation from classpath.
3195 (pathSeparatorChar): Merged documentation from classpath.
3196 (path): Merged documentation from classpath.
3197 (canRead): Merged documentation from classpath.
3198 (canWrite): Merged documentation from classpath.
3199 (createNewFile): Merged documentation from classpath.
3200 (delete): Merged documentation from classpath.
3201 (equals): Merged documentation from classpath.
3202 (exists): Merged documentation from classpath.
3203 (File): Renamed p to name to match classpath, merged documentation
3204 from classpath.
3205 (getAbsolutePath): Merged documentation from classpath.
3206 (getCanonicalPath): Merged documentation from classpath.
3207 (getCanonicalFile): Merged documentation from classpath.
3208 (getName): Merged documentation from classpath.
3209 (getParent): Merged documentation from classpath.
3210 (getParentFile): Merged documentation from classpath.
3211 (getPath): Merged documentation from classpath.
3212 (hashCode): Merged documentation from classpath.
3213 (isAbsolute): Merged documentation from classpath.
3214 (isDirectory): Merged documentation from classpath.
3215 (isFile): Merged documentation from classpath.
3216 (isHidden): Merged documentation from classpath.
3217 (lastModified): Merged documentation from classpath.
3218 (length): Merged documentation from classpath.
3219 (list): Merged documentation from classpath.
3220 (listFiles): Merged documentation from classpath.
3221 (toString): Merged documentation from classpath.
3222 (toURL): Merged documentation from classpath.
3223 (mkdir): Merged documentation from classpath.
3224 (mkdirs): Merged documentation from classpath.
3225 (createTempFile): Merged documentation from classpath.
3226 (setReadOnly): Merged documentation from classpath.
3227 (listRoots): Merged documentation from classpath.
3228 (compareTo): Merged documentation from classpath.
3229 (renameTo): Merged documentation from classpath.
3230 (setLastModified): Merged documentation from classpath.
3231 * java/io/PrintStream.java
3232 (auto_flush): Merged documentation from classpath.
3233 (PrintStream): Merged documentation from classpath.
3234 (checkError): Merged documentation from classpath.
3235 (setError): Merged documentation from classpath.
3236 (close): Merged documentation from classpath.
3237 (flush): Merged documentation from classpath.
3238 (print): Merged documentation from classpath.
3239 (println): Merged documentation from classpath.
3240 (write): Renamed count to len to match classpath,
3241 merged documentation from classpath.
3242 * java/io/RandomAccessFile.java
3243 (readShort): Merged documentation from classpath.
3244 (readUnsignedByte): Merged documentation from classpath.
3245 (readUnsignedShort): Merged documentation from classpath.
3246 (readUTF): Merged documentation from classpath.
3247 (seek): Reformatted, merged documentation from classpath.
3248 (skipBytes): Renamed some variables to match classpath, reformatted,
3249 merged documentation from classpath.
3250 (write): Merged documentation from classpath.
3251 (writeBoolean): Merged documentation from classpath.
3252 (writeByte): Merged documentation from classpath.
3253 (writeShort): Merged documentation from classpath.
3254 (writeChar): Merged documentation from classpath.
3255 (writeInt): Merged documentation from classpath.
3256 (writeLong): Merged documentation from classpath.
3257 (writeFloat): Merged documentation from classpath.
3258 (writeDouble): Merged documentation from classpath.
3259 (writeBytes): Merged documentation from classpath.
3260 (writeChars): Merged documentation from classpath.
3261 (writeUTF): Reformatted.
3262 (getChannel): Reformatted.
3263
3264 2003-03-31 Michael Koch <konqueror@gmx.de>
3265
3266 * java/awt/font/TextAttribute.java
3267 (readResolve): Throws java.io.InvalidObjectException.
3268
3269 2003-03-31 Michael Koch <konqueror@gmx.de>
3270
3271 * java/rmi/server/LoaderHandler.java
3272 (loadClass): Deprecated.
3273 (getSecurityContext): Deprecated.
3274 * java/rmi/server/LogStream.java
3275 (getDefaultStream): Deprecated.
3276 (setDefaultStream): Deprecated.
3277 (getOutputStream): Deprecated.
3278 (setOutputStream): Deprecated.
3279 (write): Deprecated.
3280 (toString): Deprecated.
3281 (parseLevel): Deprecated.
3282 * java/rmi/server/Operation.java
3283 (Operation): Deprecated.
3284 (getOperation): Deprecated.
3285 (toString): Deprecated.
3286 * java/rmi/server/RemoteCall.java
3287 (getOutputStream): Deprecated.
3288 (releaseOutputStream): Deprecated.
3289 (getInputStream): Deprecated.
3290 (releaseInputStream): Deprecated.
3291 (getResultStream): Deprecated.
3292 (executeCall): Deprecated.
3293 (done): Deprecated.
3294 * java/rmi/server/RemoteRef.java
3295 (invoke): Deprecated.
3296 (newCall): Deprecated.
3297 (done): Deprecated.
3298 * java/rmi/server/RemoteStub.java
3299 (setRef): Deprecated.
3300 * java/rmi/server/Skeleton.java:
3301 No need to import java.lang.Exception explicitly.
3302 (dispatch): Deprecated.
3303 (getOperations): Deprecated.
3304
3305 2003-03-31 Michael Koch <konqueror@gmx.de>
3306
3307 * java/rmi/dgc/VMID.java,
3308 java/rmi/registry/RegistryHandler.java,
3309 java/rmi/server/LogStream.java,
3310 java/rmi/server/Operation.java,
3311 java/rmi/server/RemoteCall.java,
3312 java/rmi/server/RemoteRef.java,
3313 java/rmi/server/RemoteStub.java:
3314 Reformatted.
3315
3316 2003-03-31 Michael Koch <konqueror@gmx.de>
3317
3318 * javax/swing/AbstractCellEditor.java,
3319 javax/swing/AbstractListModel.java,
3320 javax/swing/ActionMap.java,
3321 javax/swing/BorderFactory.java,
3322 javax/swing/ButtonGroup.java,
3323 javax/swing/DefaultBoundedRangeModel.java,
3324 javax/swing/DefaultButtonModel.java,
3325 javax/swing/DefaultCellEditor.java,
3326 javax/swing/DefaultComboBoxModel.java,
3327 javax/swing/DefaultDesktopManager.java,
3328 javax/swing/DefaultListCellRenderer.java,
3329 javax/swing/DefaultSingleSelectionModel.java,
3330 javax/swing/InputMap.java,
3331 javax/swing/JComponent.java,
3332 javax/swing/JMenu.java,
3333 javax/swing/JSlider.java,
3334 javax/swing/KeyStroke.java,
3335 javax/swing/OverlayLayout.java,
3336 javax/swing/ScrollPaneLayout.java,
3337 javax/swing/SizeRequirements.java,
3338 javax/swing/UIManager.java,
3339 javax/swing/ViewportLayout.java,
3340 javax/swing/border/AbstractBorder.java,
3341 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3342 javax/swing/event/EventListenerList.java,
3343 javax/swing/table/AbstractTableModel.java,
3344 javax/swing/table/DefaultTableCellRenderer.java,
3345 javax/swing/table/DefaultTableColumnModel.java,
3346 javax/swing/table/DefaultTableModel.java,
3347 javax/swing/table/TableColumn.java,
3348 javax/swing/text/StyledEditorKit.java,
3349 javax/swing/tree/DefaultMutableTreeNode.java,
3350 javax/swing/tree/DefaultTreeModel.java,
3351 javax/swing/tree/DefaultTreeSelectionModel.java,
3352 javax/swing/tree/TreePath.java,
3353 javax/swing/undo/AbstractUndoableEdit.java,
3354 javax/swing/undo/StateEdit.java,
3355 javax/swing/undo/StateEditable.java,
3356 javax/swing/undo/UndoableEditSupport.java:
3357 Merges from classpath.
3358
3359 2003-03-30 Tom Tromey <tromey@redhat.com>
3360
3361 * java/lang/String.java (data, boffset, count): Documented.
3362 (String(byte[],String)): Reformatted.
3363 (String(byte[])): Likewise.
3364 (lastIndexOf(int)): Likewise.
3365 (lastIndexOf(String)): Likewise.
3366 (substring(int)): Renamed argument to match Classpath.
3367 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3368
3369 * java/lang/String.java: Miscellaneous minor formatting changes
3370 to match Classpath more closely.
3371
3372 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3373 Tom Tromey <tromey@redhat.com>
3374
3375 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3376 (init()): Removed.
3377 (charAt): Put index in exception.
3378 (contentEquals): New method.
3379 Include StringBuffer.h.
3380 * java/lang/String.java (cachedHashCode): New field.
3381 (String()): Follow classpath implementation.
3382 (init()): Removed.
3383 (contentEquals): Declare.
3384 (subSequence): Don't declare IndexOutIfBoundsException in throws
3385 clause.
3386 (matches, replaceFirst, replaceAll, split): New methods from
3387 Classpath.
3388
3389 2003-03-29 Tom Tromey <tromey@redhat.com>
3390
3391 * java/lang/String.java: Reordered to follow Classpath; merged in
3392 javadoc.
3393
3394 * java/text/MessageFormat.java: Removed some whitespace.
3395
3396 * Makefile.in: Rebuilt.
3397 * Makefile.am (awt_java_source_files): Added new files.
3398 * gnu/javax/rmi/PortableServer.java,
3399 gnu/javax/rmi/CORBA/DelegateFactory.java,
3400 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3401 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3402 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3403 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3404 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3405 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3406 javax/rmi/PortableRemoteObject.java,
3407 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3408 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3409 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3410 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3411 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3412 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3413
3414 * java/lang/natClass.cc (newInstance): Put method name in
3415 exception.
3416 (getConstructor): Likewise.
3417 (getDeclaredConstructor): Likewise.
3418 (getPrivateMethod): Likewise.
3419
3420 2003-03-28 Tom Tromey <tromey@redhat.com>
3421
3422 * java/lang/reflect/Proxy.java: New version from Classpath.
3423 * java/lang/Package.java: New version from Classpath.
3424
3425 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3426
3427 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3428 * configure: Regenerate.
3429
3430 2003-03-28 Michael Koch <konqueror@gmx.de>
3431
3432 * java/io/File.java:
3433 Import needed classes instead of whole packages, merged class
3434 documentation with classpath, moved constants and variables to top of
3435 class.
3436 * java/io/PrintStream.java:
3437 Merged class documentation with classpath, moved constants and
3438 variables to top of class.
3439 * java/io/RandomAccessFile.java
3440 (RandomAccessFile): Merged with classpath.
3441 (read): Merged with classpath).
3442 (read*): Reformatted.
3443
3444 2003-03-28 Michael Koch <konqueror@gmx.de>
3445
3446 * java/io/FileDescriptor.java
3447 (finalize): Throws Throwable, not IOException.
3448 * java/io/ObjectOutputStream.java
3449 (PutField.put): Doesnt throws anything.
3450
3451 2003­03-28 Michael Koch <konqueror@gmx.de>
3452
3453 * java/io/FileOutputStream.java:
3454 Merged class documentation and authors with classpath.
3455 (FileOutputStream): Partly merged with classpath.
3456 (write): Merged with classpath.
3457 (getChannel): Make it synchronized instead of explicit block in this
3458 method.
3459 * java/io/RandomAccessFile.java:
3460 Merged class documentation and authors with classpath.
3461
3462 2003-03-26 Tom Tromey <tromey@redhat.com>
3463
3464 * java/lang/natRuntime.cc (insertSystemProperties): Set
3465 gnu.classpath.home.url.
3466 * Makefile.in: Rebuilt.
3467 * Makefile.am: Define LIBDIR.
3468
3469 2003-03-25 Michael Koch <konqueror@gmx.de>
3470
3471 * java/io/FileInputStream.java
3472 (read): Renamed b to buf and off to offset.
3473 * java/io/FileOutputStream.java
3474 (ch): Documentation added.
3475 (FileOutputStream): Documentation added.
3476 (getFD): Documentation added.
3477 (write): Documentation added.
3478 (close): Documentation added.
3479 (getChannel): Documentation added.
3480
3481 2003-03-24 Michael Koch <konqueror@gmx.de>
3482
3483 * java/io/DataOutputStream.java
3484 (write): Merged from classpath.
3485 * java/io/File.java:
3486 Merged copyrigth with classpath.
3487 * java/io/FileInputStream.java
3488 (getChannel): Made it synchronized instead of using a synchronized
3489 block.
3490 * java/io/FileOutputStream.java: Reformatted.
3491 * java/io/InputStreamReader.java
3492 (InputStreamReader): Renamed enc to encoding_name.
3493 (close): Merged documentation from classpath.
3494 (getEncoding): Merged documentation from classpath.
3495 (ready): Merged documentation from classpath.
3496 (read): Merged documentation from classpath.
3497 * java/io/LineNumberReader.java
3498 (lineNumber): Made it private.
3499 (LineNumberReader): Use Constant instead of a direct value.
3500 * java/io/OutputStreamWriter.java
3501 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3502 documentation from classpath.
3503 (close): Merged documentation from classpath.
3504 (flush): Merged documentation from classpath.
3505 (write): Merged documentation from classpath.
3506 * java/io/PrintStream.java: Reformatted.
3507
3508 2003-03-24 Michael Koch <konqueror@gmx.de>
3509
3510 * javax/swing/text/ComponentView.java
3511 (getComponent): Must be final.
3512 * javax/swing/tree/DefaultTreeCellRenderer.java:
3513 Reformatted.
3514 * javax/swing/undo/StateEditable.java:
3515 Reformatted.
3516
3517 2003-03-24 Michael Koch <konqueror@gmx.de>
3518
3519 * java/rmi/activation/ActivationInstantiator.java:
3520 Reformatted.
3521 * java/rmi/activation/Activator.java:
3522 Reformatted.
3523 * java/rmi/registry/RegistryHandler.java:
3524 Remerged from classpath.
3525
3526 2003-03-24 Michael Koch <konqueror@gmx.de>
3527
3528 * java/util/Date.java:
3529 Fixed documentation starting tag to make javadoc happy.
3530 * java/util/regex/Pattern.java
3531 (Pattern): Implements Serializable.
3532 * java/util/PatternSyntaxException.java
3533 (serialVersionUID): New member variable.
3534
3535 2003-03-24 Michael Koch <koqnueror@gmx.de>
3536
3537 * java/awt/ContainerOrderFocusTraversalPolicy.java
3538 (getFirstComponent): Implemented.
3539 (getLastComponent): Implemented.
3540 (getDefaultComponent): Implemented.
3541 (setImplicitDownCycleTraversal): Fixed implementation.
3542 * java/awt/Robot.java
3543 (Robot): Added documentation.
3544 * java/awt/Toolkit.java
3545 (getFontList): Deprecated.
3546 (getFontMetrics): Deprecated.
3547 (getPrintJob): Added documentation.
3548 (getSystemSelection): Added documentation.
3549 (getLockingKeyState): Added documentation.
3550 (setLockingKeyState): Added documentation.
3551 (createCustomCursor): Added documentation.
3552 (getBestCursorSize): Added documentation.
3553 (getMaximumCursorColors): Added documentation.
3554 (isFrameStateSupported): Added documentation.
3555
3556 2003-03-24 Michael Koch <konqueror@gmx.de>
3557
3558 * java/io/RandomAccessFile.java:
3559 More little merges with classpath. No code changes.
3560
3561 2003-03-24 Michael Koch <konqueror@gmx.de>
3562
3563 * java/net/natInetAddressNoNet.cc:
3564 Include stddef.h.
3565 * java/net/natPlainDatagramSocketImplNoNet.cc:
3566 Fixed inlcude of java/net/DatagramPacket.h.
3567 * java/net/natPlainSocketImplNoNet.cc:
3568 Include some missing classes.
3569
3570 2003-03-24 Michael Koch <konqueror@gmx.de>
3571
3572 * java/awt/dnd/DropTarget.java
3573 (DropTargetAutoScroller): According to the online documentation, this
3574 is protected, but in reality it is public.
3575 * java/awt/dnd/DropTargetContext.java
3576 (TransferableProxy): According to the online documentation, this
3577 is protected, but in reality it is public.
3578
3579 2003-03-24 Michael Koch <konqueror@gmx.de>
3580
3581 * java/io/DataInputStream.java
3582 (): Wrapped documentation line.
3583 (): Fixed @return tag.
3584 * java/io/DataOutputStream.java
3585 (written): Moved to top of class.
3586 (all methods): Merged documentation from classpath.
3587 * java/io/File.java:
3588 Merged copyright year with classpath.
3589 * java/io/FileInputStream.java
3590 (all methods): Merged documentation from classpath.
3591 * java/io/LineNumberReader.java
3592 (getLineNumber): Fixed @return tag.
3593 * java/io/ObjectInputStream.java.
3594 Reformatted.
3595 * java/io/ObjectOutputStream.java:
3596 Reformatted, fixed some @see tags.
3597 * java/io/OutputStreamWriter.java:
3598 Deleted empty line.
3599 * java/io/Writer.java:
3600 Reformatted.
3601
3602 2003-03-24 Michael Koch <konqueror@gmx.de>
3603
3604 * java/awt/Frame.java
3605 (DEFAULT_CURSOR): Fixed @deprecated tag.
3606 (setCursor): Fixed @deprecated tag.
3607
3608 2003-03-24 Michael Koch <konqueror@gmx.de>
3609
3610 * java/beans/beancontext/BeanContextEvent.java:
3611 Reformated.
3612
3613 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3614
3615 * java/lang/natStringBuffer.cc (regionMatches): New function.
3616 * java/lang/String.java (count): Now package-private.
3617 * java/lang/StringBuffer.java: Merged with Classpath.
3618
3619 2003-03-23 Michael Koch <konqueror@gmx.de>
3620
3621 * java/io/BufferedOutputStream.java:
3622 Reformated.
3623 * java/io/BufferedReader.java:
3624 Reformated.
3625 * java/io/ByteArrayOutputStream.java
3626 (size): Fixed @see tag.
3627 * java/io/CharArrayWriter.java
3628 (size): Fixed @see tag.
3629 * java/io/DataInput.java:
3630 Reformated.
3631 * java/io/DataOutput.java:
3632 Reformated.
3633 * java/io/DataOutputStream.java:
3634 Merged copyright years with classpath.
3635 * java/io/Externalizable.java:
3636 Reformated.
3637 * java/io/FileFilter.java:
3638 Reformated.
3639 * java/io/FileInputStream.java:
3640 Merged copyright years with classpath.
3641 * java/io/FileOutputStream.java:
3642 Merged copyright years with classpath.
3643 * java/io/FilePermission.java
3644 (FilePermission): Replaced @XXX with FIXME:.
3645 * java/io/FileWriter.java:
3646 Reformated.
3647 * java/io/FilenameFilter.java:
3648 Reformated.
3649 * java/io/FilterInputStream.java:
3650 Reformated.
3651 * java/io/FilterOutputStream.java:
3652 Reformated.
3653 * java/io/FilterReader.java:
3654 Reformated.
3655 * java/io/FilterWriter.java:
3656 Reformated.
3657 * java/io/LineNumberInputStream.java
3658 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3659 happy.
3660 (getLineNumber): Fixed @return tag.
3661 * java/io/ObjectInput.java:
3662 Reformated.
3663 * java/io/ObjectOutput.java:
3664 Reformated.
3665 * java/io/ObjectStreamClass.java:
3666 Reformated.
3667 * java/io/PrintStream.java:
3668 Merged copyright years with classpath.
3669 * java/io/PushbackReader.java
3670 (PushbackReader): Replaced @code with @param.
3671 * java/io/SerializablePermission.java:
3672 Reformated.
3673 * java/io/StreamTokenizer.java
3674 (resetSyntax): Fixed @see tag.
3675
3676 2003-03-22 Richard Henderson <rth@redhat.com>
3677
3678 * sysdep/ia64/locks.h: Include ia64intrin.h.
3679 (compare_and_swap): Use __sync_bool_compare_and_swap.
3680 (compare_and_swap_release): Expose ar.ccv assignment.
3681
3682 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3683
3684 * include/posix.h: Add suffix for darwin dynamic libraries.
3685
3686 2003-03-21 Michael Koch <konqueror@gmx.de>
3687
3688 * javax/swing/Action.java
3689 (ACCELERATOR_KEY): New constant.
3690 (ACTION_COMMAND_KEY): Likewise.
3691 (MNEMONIC_KEY): Likewise.
3692 * javax/swing/UnsupportedLookAndFeelException.java
3693 (UnsupportedLookAndFeelException): Must be public.
3694 * javax/swing/WindowConstants.java
3695 (EXIT_ON_CLOSE): New constant.
3696 * javax/swing/text/BadLocationException.java
3697 (offset): New member variable.
3698 (BadLocationException): New implementation, documentation added.
3699 (offsetRequested): New method.
3700 * javax/swing/text/Caret.java:
3701 Reformated.
3702 * javax/swing/text/Document.java:
3703 Reformated.
3704
3705 2003-03-21 Michael Koch <konqueror@gmx.de>
3706
3707 * java/rmi/activation/Activatable.java
3708 (serialVersionUID): New member variable.
3709 * java/rmi/activation/ActivationGroup.java
3710 (serialVersionUID): New member variable.
3711 * java/rmi/activation/ActivationGroupDesc.java
3712 (serialVersionUID): New member variable.
3713 * java/rmi/registry/Registry.java:
3714 Reformated.
3715 (Registry): Deprecated.
3716 * java/rmi/server/LoaderHandler.java
3717 Reformated.
3718 (LoaderHandler): Deprecated.
3719 * java/rmi/server/LogStream.java
3720 Reformated.
3721 (LogStream): Deprecated.
3722 * java/rmi/server/Operation.java
3723 (Operation): Deprecated.
3724 * java/rmi/server/RMIFailureHandler.java:
3725 Reformated.
3726 * java/rmi/server/RMISocketFactory.java:
3727 Reformated.
3728 * java/rmi/server/RemoteCall.java
3729 (RemoteCall): Deprecated.
3730 * java/rmi/server/RemoteStub.java:
3731 Reformated.
3732 * java/rmi/server/Skeleton.java
3733 Reformated.
3734 (Skeleton): Deprecated.
3735
3736 2003-03-21 Michael Koch <konqueror@gmx.de>
3737
3738 * java/io/LineNumberReader.java
3739 (LineNumberReader): Merged documentation with classpath.
3740 (getLineNumber): Likewise.
3741 (setLineNumber): Likewise.
3742 (mark): Likewise.
3743 (reset): Likewise.
3744 (read): Likewise.
3745 (readLine): Likewise.
3746 (skip): Likewise.
3747
3748 2003-03-21 Michael Koch <konqueror@gmx.de>
3749
3750 * java/rmi/RMISecurityManager.java
3751 (checkAccept): Removed.
3752 (checkAccess): Likewise.
3753 (checkAccess): Likewise.
3754 (checkAwtEventQueueAccess): Likewise.
3755 (checkConnect): Likewise.
3756 (checkCreateClassLoader): Likewise.
3757 (checkDelete): Likewise.
3758 (checkExec): Likewise.
3759 (checkExit): Likewise.
3760 (checkLink): Likewise.
3761 (checkListen): Likewise.
3762 (checkMemberAccess): Likewise.
3763 (checkMulticast): Likewise.
3764 (checkPackageAccess): Likewise.
3765 (checkPackageDefinition): Likewise.
3766 (checkPermission): Likewise.
3767 (checkPrintJobAccess): Likewise.
3768 (checkPropertiesAccess): Likewise.
3769 (checkPropertyAccess): Likewise.
3770 (checkRead): Likewise.
3771 (checkSecurityAccess): Likewise.
3772 (checkSetFactory): Likewise.
3773 (checkSystemClipboardAccess): Likewise.
3774 (checkTopLevelWindow): Likewise.
3775 (checkWrite): Likewise.
3776
3777 2003-03-20 Michael Koch <konqueror@gmx.de>
3778
3779 * gnu/java/nio/FileChannelImpl.java
3780 (address): Removed.
3781 (map_address): New member variable.
3782 (length): Make it package private.
3783 (fd): Make it package private.
3784 (buf): Make it package private.
3785 (file_obj): Make it package private.
3786 (FileChannelImpl): New constructor.
3787 (nio_mmap_file): Use RawData instead of long.
3788 (nio_munmap_file): Use RawData instead of long.
3789 (nio_msync): Use RawData instead of long.
3790 (implCloseChannel): New implementation using map_address.
3791 (read): Reformated.
3792 (map): Implemented.
3793 (create_direct_mapped_buffer): Implemented, use RawData, throws
3794 IOException.
3795 (force): Use map_address instead of address.
3796 * gnu/java/nio/MappedByteFileBuffer.java
3797 (address): Removed.
3798 (map_address): New member variable.
3799 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3800 (several methods): Use map_address instead of address, replaced long
3801 with RawData where appropriate.
3802 * gnu/java/nio/natFileChannelImpl.cc
3803 (nio_mmap_file): Replaced long with RawData.
3804 (nio_munmap_file): Replaced long with RawData.
3805 (nio_msync): Replaced long with RawData.
3806 * gnu/java/nio/natMappedByteFileBuffer.cc
3807 (several methods): Replaced long with RawData where appropriate.
3808
3809 2003-03-20 Michael Koch <konqueror@gmx.de>
3810
3811 * java/net/InetAddress.java,
3812 java/net/JarURLConnection.java,
3813 java/net/PlainDatagramSocketImpl.java,
3814 java/net/PlainSocketImpl.java,
3815 java/net/URLConnection.java:
3816 Merged copyright statements with classpath for easier merging.
3817
3818 2003-03-20 Michael Koch <konqueror@gmx.de>
3819
3820 * java/io/FileInputStream.java
3821 (getChannel): New implementation.
3822 * java/io/FileOutputStream.java
3823 (ch): New member variable.
3824 (getChannel): Implemented.
3825 * java/io/RandomAccessFile.java
3826 (RandomAccessFile): Throws FileNotFoundException instead of
3827 IOException.
3828 (getChannel): New method.
3829 (ch): New member variable.
3830
3831 2003-03-20 Michael Koch <konqueror@gmx.de>
3832
3833 * java/io/DataOutputStream.java,
3834 java/io/File.java,
3835 java/io/FileInputStream.java,
3836 java/io/FileOutputStream.java,
3837 java/io/InputStreamReader.java,
3838 java/io/LineNumberReader.java,
3839 java/io/OutputStreamWriter.java,
3840 java/io/PrintStream.java,
3841 java/io/RandomAccessFile.java:
3842 Merged copyright statements with classpath for easier merging.
3843
3844 2003-03-19 Michael Koch <konqueror@gmx.de>
3845
3846 * java/lang/Process.java:
3847 Merged from classpath.
3848
3849 2003-03-19 Michael Koch <konqueror@gmx.de>
3850
3851 * java/io/FileOutputStream.java
3852 (FileOutputStream): New constructor, merged from classpath.
3853 * java/io/FileWriter.java
3854 (FileWriter): New constructor, merged from classpath.
3855
3856 2003-03-18 Michael Koch <konqueror@gmx.de>
3857
3858 * java/awt/ScrollPane.java
3859 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3860 (getViewportSize): Likewise.
3861 (addNotify): Likewise.
3862 (removeNotify): Likewise.
3863 * java/awt/ScrollPaneAdjustable.java
3864 (ScrollPaneAdjustable): No longer extends Scrollbar.
3865 * java/beans/beancontext/BeanContextServices.java:
3866 Reformated.
3867 (getService): Added throws TooManyListenersException;
3868 * java/beans/beancontext/BeanContextServicesSupport.java:
3869 Reformated.
3870
3871 2003-03-18 Michael Koch <konqueror@gmx.de>
3872
3873 * java/io/BufferedOutputStream.java,
3874 java/io/DataInput.java,
3875 java/io/DataInputStream.java,
3876 java/io/DataOutput.java,
3877 java/io/Externalizable.java:
3878 More merges from classpath.
3879
3880 2003-03-18 Michael Koch <konqueror@gmx.de>
3881
3882 * configure.in: Fixed links to platform dependant java.net files.
3883 * configure: Regenerated.
3884 * java/net/natInetAddress.cc,
3885 java/net/natNetworkInterface.cc,
3886 java/net/natPlainDatagramSocketImpl.cc,
3887 java/net/natPlainSocketImpl.cc:
3888 Removed.
3889
3890 2003-03-18 Michael Koch <konqueror@gmx.de>
3891
3892 * configure.in: Create links to architecture dependent files,
3893 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3894 * configure: Regenerated.
3895 * java/net/natInetAddressNoNet.cc,
3896 java/net/natInetAddressPosix.cc,
3897 java/net/natInetAddressWin32.cc,
3898 java/net/natNetworkInterfaceNoNet.cc,
3899 java/net/natNetworkInterfacePosix.cc,
3900 java/net/natNetworkInterfaceWin32.cc,
3901 java/net/natPlainDatagramSocketImplNoNet.cc,
3902 java/net/natPlainDatagramSocketImplPosix.cc,
3903 java/net/natPlainDatagramSocketImplWin32.cc,
3904 java/net/natPlainSocketImplNoNet.cc,
3905 java/net/natPlainSocketImplPosix.cc,
3906 java/net/natPlainSocketImplWin32.cc: New files.
3907
3908 2003-03-18 Michael Koch <konqueror@gmx.de>
3909
3910 * java/io/BufferedReader.java,
3911 java/io/BufferedWriter.java,
3912 java/io/ByteArrayOutputStream.java,
3913 java/io/FileFilter.java,
3914 java/io/FilePermission.java,
3915 java/io/FileReader.java,
3916 java/io/FileWriter.java,
3917 java/io/FilenameFilter.java,
3918 java/io/FilterInputStream.java,
3919 java/io/FilterOutputStream.java,
3920 java/io/FilterReader.java,
3921 java/io/FilterWriter.java,
3922 java/io/ObjectInput.java,
3923 java/io/ObjectInputValidation.java,
3924 java/io/ObjectOutput.java,
3925 java/io/ObjectStreamField.java,
3926 java/io/PipedInputStream.java,
3927 java/io/PipedReader.java,
3928 java/io/PrintWriter.java,
3929 java/io/PushbackReader.java,
3930 java/io/Reader.java,
3931 java/io/SerializablePermission.java,
3932 java/io/StringReader.java,
3933 java/io/Writer.java:
3934 Merged from classpath.
3935
3936 2003-03-17 Michael Koch <konqueror@gmx.de>
3937
3938 * java/awt/ScrollPaneAdjustable.java:
3939 Compile fixes.
3940
3941 2003-03-17 Michael Koch <konqueror@gmx.de>
3942
3943 * java/net/DatagramSocket.java
3944 (connect): Fixed comment.
3945 * java/nio/ByteBuffer.java
3946 (hasArray): Fixed comment.
3947
3948 2003-03-17 Michael Koch <konqueror@gmx.de>
3949
3950 * java/beans/Beans.java:
3951 Explicitely import classes not packages.
3952 * java/beans/FeatureDescriptor.java
3953 (preferred): New member variable.
3954 (isPreferred): New method.
3955 (setPreferred): New method.
3956 * java/beans/PropertyEditorManager.java:
3957 Explicitely import used classes.
3958 * java/beans/beancontext/BeanContextChild.java:
3959 Added line wrapping.
3960 * java/beans/beancontext/BeanContextChildSupport.java:
3961 Reindented.
3962 * java/beans/beancontext/BeanContextEvent.java:
3963 Reindented.
3964
3965 2003-03-17 Michael Koch <konqueror@gmx.de>
3966
3967 * java/awt/Dialog.java
3968 (Dialog): New constructor, changed implementations, added
3969 documentation.
3970 * java/awt/ScrollPaneAdjustable.java
3971 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3972 Serializable.
3973 (serialVersionUID): New member variable.
3974 (sp): New member variable.
3975 (orientation): New member variable.
3976 (value): New member variable.
3977 (minimum): New member variable.
3978 (maximum): New member variable.
3979 (visibleAmount): New member variable.
3980 (unitIncrement): New member variable.
3981 (blockIncrement): New member variable.
3982 (AdjustmentListener): New member variable.
3983 (ScrollPaneAdjustable): New implementation.
3984 (addAdjustmentListener): New method.
3985 (removeAdjustmentListener): New method.
3986 (getAdjustmentListeners): New method.
3987 (getBlockIncrement): New method.
3988 (getMaximum): New method.
3989 (getMinimum): New method.
3990 (getOrientation): New method.
3991 (getUnitIncrement): New method.
3992 (getValue): New method.
3993 (getVisibleAmount): New method.
3994 (setBlockIncrement): New method.
3995 (setMaximum): Implemented.
3996 (setMinimum): Implemented.
3997 (setUnitIncrement): New method.
3998 (setValue): New method.
3999 (setVisibleAmount): Implemented.
4000 (paramString): New stubbed method.
4001 * java/awt/Window.java
4002 (show): Call setVisible().
4003 (hide): Call setVisible().
4004 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4005 and WINDOW_STATE_CHANGED.
4006 (processWindowFocusEvent): New method.
4007 (processWindowStateEvent): New method.
4008 (postEvent): Deprecated.
4009 (applyResourceBundle): Deprecated.
4010 * java/awt/datatransfer/DataFlavor.java
4011 (DataFlavor): Doesn't thow ClassNotFoundException.
4012
4013 2003-03-17 Michael Koch
4014
4015 * javax/print/attribute/Attribute.java,
4016 javax/print/attribute/AttributeSet.java,
4017 javax/print/attribute/PrintRequestAttributeSet.java:
4018 New files.
4019 * Makefile.am
4020 (javax_source_files): Added new files:
4021 javax/print/attribute/Attribute.java
4022 javax/print/attribute/AttributeSet.java
4023 javax/print/attribute/PrintRequestAttributeSet.java
4024 * Makefile.in: Regenerated.
4025
4026 2003-03-17 Michael Koch
4027
4028 * javax/print/attribute/Attribute.java,
4029 javax/print/attribute/AttributeSet.java,
4030 javax/print/attribute/PrintRequestAttributeSet.java:
4031 New files.
4032 * Makefile.am
4033 (awt_java_source_files): Added new files:
4034 javax/print/attribute/Attribute.java
4035 javax/print/attribute/AttributeSet.java
4036 javax/print/attribute/PrintRequestAttributeSet.java
4037 * Makefile.in: Regenerated.
4038
4039 2003-03-16 Tom Tromey <tromey@redhat.com>
4040
4041 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4042 Include platform.h.
4043 * java/lang/natRuntime.cc (insertSystemProperties): Use
4044 _Jv_platform_path_separator.
4045 (nativeGetLibname): Use _Jv_platform_file_separator.
4046 (_load): Use _Jv_platform_onload_names.
4047 (onload_names): New global.
4048 * include/win32.h (_Jv_platform_file_separator): New define.
4049 (_Jv_platform_path_separator): Likewise.
4050 (_Jv_platform_onload_names): Likewise.
4051 (_Jv_platform_ffi_abi): Likewise.
4052 * include/posix.h (_Jv_platform_file_separator): New define.
4053 (_Jv_platform_path_separator): Likewise.
4054 (_Jv_platform_onload_names): Likewise.
4055 (_Jv_platform_ffi_abi): Likewise.
4056
4057 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4058
4059 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4060
4061 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4062
4063 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4064 hierarchy loop.
4065 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4066 list to Object,ObjectStreamClass, moved callReadMethod code up into
4067 readObject and added Class argument to all setXxxField calls.
4068 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4069 consistent with ObjectOutputStream and to facilitate caching the
4070 Method in the future.
4071 (setBooleanField): Added Class argument.
4072 (setByteField): Likewise.
4073 (setCharField): Likewise.
4074 (setDoubleField): Likewise.
4075 (setFloatField): Likewise.
4076 (setIntField): Likewise.
4077 (setLongField): Likewise.
4078 (setShortField): Likewise.
4079 (setObjectField): Likewise.
4080 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4081 class hierarchy loop.
4082 (defaultWriteObject): Call writeFields with new argument list.
4083 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4084 list to Object,ObjectStreamClass, moved callWriteMethod up into
4085 writeObject and added Class argument to all getXxxField calls.
4086 (callWriteMethod): Added ObjectStreamClass argument to be able to
4087 get the proper class to call getMethod on (each class can have (or
4088 not have) its own writeObject method).
4089 (getBooleanField): Added Class argument.
4090 (getByteField): Likewise.
4091 (getCharField): Likewise.
4092 (getDoubleField): Likewise.
4093 (getFloatField): Likewise.
4094 (getIntField): Likewise.
4095 (getLongField): Likewise.
4096 (getShortField): Likewise.
4097 (getObjectField): Likewise.
4098 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4099 facilitate caching the Method object in the future.
4100
4101 2003-03-12 Andreas Schwab <schwab@suse.de>
4102
4103 * configure.in: Avoid trailing /. in toolexeclibdir.
4104 * configure: Rebuilt.
4105
4106 2003-03-11 Michael Koch <konqueror@gmx.de>
4107
4108 * gnu/java/nio/ByteBufferImpl.java
4109 (putInt): Use limit() instead of limit.
4110 * gnu/java/nio/CharBufferImpl.java
4111 (slice): Fixed implementation.
4112 (subSequence): Better bounds checking.
4113 * gnu/java/nio/MappedByteFileBuffer.java:
4114 Import all needed classes directly.
4115 * java/nio/ByteBuffer.java
4116 (hashCode): New dummy method.
4117 * java/nio/CharBuffer.java
4118 (array_offset): New member variable.
4119 (hasArray): Fixed documentation.
4120 (arrayOffset): Return array_offset.
4121
4122 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4123
4124 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4125 setter; made return value of getter const char* instead of char*
4126 * prims.cc: removed all references to _Jv_ThisExecutable().
4127 These are in the platform-specific sections now.
4128 * posix.cc: define platform-specific _Jv_ThisExecutable().
4129 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4130 * win32.cc: define platform-specific _Jv_ThisExecutable()
4131 using GetModuleFilename()
4132 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4133 to argv[0] instead of _Jv_ThisExecutable()
4134
4135 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4136
4137 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4138 that is set if we are using addr2name.awk instead of addr2line.
4139 (NameFinder): Set usingAddr2name if using addr2name.awk.
4140 (getExternalLabel): New native method to convert a method
4141 name to an external label.
4142 (lookup): Convert name given by addr2line to an external label
4143 before demangling.
4144
4145 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4146 constant representing the prefix attached to method names to
4147 convert them to an external label.
4148 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4149 using LABEL_PREFIX.
4150
4151 2003-03-10 Tom Tromey <tromey@redhat.com>
4152
4153 * Makefile.in: Rebuilt.
4154 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4155 (JC1FLAGS): Removed -Wno-deprecated.
4156
4157 2003-03-10 Michael Koch <konqueror@gmx.de>
4158
4159 * java/nio/ByteOrder.java
4160 (nativeOrder): Working implementation, added documentation.
4161 (toString): Added documentation.
4162
4163 2003-03-10 Michael Koch <konqueror@gmx.de>
4164
4165 * java/net/DatagramSocket.java,
4166 java/net/MulticastSocket.java,
4167 java/net/Socket.java,
4168 java/net/URL.java,
4169 java/net/URLConnection.java:
4170 Fixed some documentation tags to make javadoc and friends happy.
4171
4172 2003-03-10 Michael Koch <koqnueror@gmx.de>
4173
4174 * java/beans/beancontext/BeanContextServicesSupport.java,
4175 java/beans/beancontext/BeanContextSupport.java: New files.
4176 * Makefile.am
4177 (awt_source_files): Added new files.
4178 * Makefile.in: Regenerated.
4179
4180 2003-03-10 Michael Koch <konqueror@gmx.de>
4181
4182 * java/awt/FocusTraversalPolicy.java
4183 (FocusTraversalPolicy): Documentation added.
4184 (getComponentAfter): Documentation added.
4185 (getComponentBefore): Documentation added.
4186 (getFirstComponent): Documentation added.
4187 (getLastComponent): Documentation added.
4188 (getDefaultComponent): Documentation added.
4189 (getInitialComponent): Documentation added.
4190 * java/awt/ScrollPaneAdjustable.java
4191 (sp): New member variable.
4192 (orientation): New member variable.
4193 (value): New member variable.
4194 (minimum): New member variable.
4195 (maximum): New member variable.
4196 (visibleAmount): New member variable.
4197 (unitIncrement): New member variable.
4198 (blockIncrement): New member variable.
4199 (adjustmentListener): New member variable.
4200 (ScrollPaneAdjustable): Rewrote.
4201 (addAdjustmentListener): New method.
4202 (removeAdjustmentListener): New method.
4203 (getAdjustmentListeners): New method.
4204 (getBlockIncrement): New method.
4205 (getMaximum): New method.
4206 (getMinimum): New method.
4207 (getOrientation): New method.
4208 (getUnitIncrement): New method.
4209 (getValue): New method.
4210 (getVisibleAmount): New method.
4211 (setBlockIncrement): New method.
4212 (setUnitIncrement): New method.
4213 (setMaximum): Implemented.
4214 (setMinimum): Implemented.
4215 (setValue): New method.
4216 (setVisibleAmount): Implemented.
4217 (paramString): New method.
4218 * java/awt/Window.java
4219 (show): Use setVisible(true) instead of super.show().
4220 (hide): Use sevVisible(false) instead of super.hide().
4221 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4222 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4223 (postEvent): Deprecated.
4224 (applyResourceBundle): Deprecated.
4225 (processWindowFocusEvent): New method.
4226 (processWindowStateEvent): New method.
4227 * java/awt/datatransfer/DataFlavor.java: Reindented.
4228 * java/awt/font/TextHitInfo.java
4229 (charIndex): New member variable.
4230 (leadingEdge): New member variable.
4231 (TextHitInfo): New constructor.
4232 (getCharIndex): Implemented.
4233 (isLeadingEdge): Implemented.
4234 (getInsertionIndex): Implemented.
4235 (hashCode): Access charIndex directly.
4236 (equals): Reformated.
4237 (leading): Implemented.
4238 (trailing): Implemented.
4239 (beforeOffset): Implemented.
4240 (afterOffset): Implemented.
4241 (getOtherHit): Implemented.
4242 (getOffsetHit): Implemented.
4243 (toString): Implemented.
4244 * java/awt/image/BufferedImage.java
4245 (BufferedImage): Implements WritableRenderedImage.
4246 (observers): New member variable.
4247 (addTileObserver): New method.
4248 (removeTileObserver): New method.
4249
4250 2003-03-09 Tom Tromey <tromey@redhat.com>
4251
4252 PR libgcj/9934:
4253 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4254 to lseek. Return 0 if we can't compute the value.
4255
4256 2003-03-03 Michael Koch <konqueror@gmx.de>
4257
4258 * java/net/NetworkInterface.java: Merged with classpath.
4259
4260 2003-03-03 Tom Tromey <tromey@redhat.com>
4261
4262 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4263 of bytecode.
4264 (handle_ret_insn): Fail if returning to jsr that appears at end of
4265 bytecode.
4266
4267 2003-03-03 Michael Koch <konqueror@gmx.de>
4268
4269 * Makefile.am
4270 (ordinary_java_source_files):
4271 Added gnu/java/nio/MappedByteFileBuffer.java.
4272 (nat_source_files):
4273 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4274 * Makefile.in: Regenerated.
4275
4276 2003-03-03 Michael Koch <konqueror@gmx.de>
4277
4278 * java/net/DatagramSocket.java
4279 (connect): Merged comment from classpath.
4280 (receive): Merged documentation from classpath.
4281 * java/net/Socket.java
4282 (setSoTimeout): Clarified documentation.
4283 * java/net/URL.java
4284 (getPath): Merged from classpath.
4285 (getUserInfo): Merged from classpath.
4286 (getQuery): Merged from classpath.
4287 * java/net/URLStreamHandler.java
4288 (toExternalForm): Merged from classpath.
4289
4290 2003-03-02 Mark Wielaard <mark@klomp.org>
4291
4292 * java/util/Properties.java (load): Only skip line if the first
4293 character is a comment, whitespaces don't count.
4294
4295 2003-03-02 Michael Koch <konqueror@gmx.de>
4296
4297 * java/net/NetPermission.java:
4298 Merged copyright with classpath.
4299
4300 2003-03-02 Michael Koch <konqueror@gmx.de>
4301
4302 * java/lang/Package.java:
4303 Remerged from classpath.
4304
4305 2003-03-02 Michael Koch <konqueror@gmx.de>
4306
4307 * java/net/HttpURLConnection.java
4308 (HTTP_SERVER_ERROR): Deprecated.
4309 * java/net/MulticastSocket.java
4310 (send): Replaced checkMulticast with appropriate checkPermission call,
4311 deprecated.
4312 * java/net/URLDecoder.java
4313 (decode): Deprecated.
4314 * java/net/URLEncoder.java
4315 (encode): Deprecated.
4316
4317 2003-03-02 Michael Koch <konqueror@gmx.de>
4318
4319 * javax/swing/text/Caret.java
4320 (getMagicCaretPosition): Fixed typo in method name.
4321 * javax/swing/text/DefaultCaret.java
4322 (getMagicCaretPosition): Fixed typo in method name.
4323
4324 2003-03-02 Michael Koch <konqueror@gmx.de>
4325
4326 * java/awt/List.java
4327 (setMultipleSelections): Deprecated.
4328 (delItem): Deprecated.
4329 * java/awt/MenuComponent.java
4330 (getPeer): Deprecated.
4331 * java/awt/ScrollPane.java
4332 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4333 * java/awt/dnd/MouseDragGestureRecognizer.java
4334 (mouseClicked): Added comment.
4335 (mousePressed): Added comment.
4336 (mouseReleased): Added comment.
4337 (mouseEntered): Added comment.
4338 (mouseExited): Added comment.
4339 (mouseDragged): Added comment.
4340 (mouseMoved): Added comment.
4341 * java/awt/event/KeyEvent.java
4342 (KeyEvent): Deprecated.
4343 (setModifiers): Deprecated.
4344
4345 2003-03-02 Michael Koch <konqueror@gmx.de>
4346
4347 * gnu/java/nio/FileChannelImpl.java
4348 (fd): Type FileDescriptor instead of int.
4349 (lengthInternal): Removed.
4350 (FileChannelImpl): Fixed arguments, check type of file object.
4351 (size): Made it native.
4352 (implPosition): New native method.
4353 (implTruncate): New native method.
4354 (position): Implemented.
4355 (truncate): Implemented.
4356 (nio_mmap_file): Changed arguments.
4357 (nio_munmap_file): Changed arguments.
4358 (nio_msync): Changed arguments.
4359 * gnu/java/nio/natFileChannelImpl.cc
4360 (lengthInternal): Removed.
4361 (size): New method.
4362 (implPosition): New method.
4363 (implTruncate): New method.
4364 (nio_mmap_file): Changed arguments.
4365 (nio_munmap_file): Changed arguments.
4366 (nio_msync): Changed arguments.
4367
4368 2003-03-02 Michael Koch <konqueror@gmx.de>
4369
4370 * java/awt/dnd/DropTargetContext.java:
4371 Compile fix: Forgot to commit import.
4372
4373 2003-03-02 Michael Koch <konqueror@gmx.de>
4374
4375 * java/awt/Component.java,
4376 java/awt/ScrollPane.java:
4377 Fixed typos.
4378
4379 2003-03-02 Michael Koch <konqueror@gmx.de>
4380
4381 * java/awt/dnd/DnDEventMulticaster.java: New file.
4382 * java/awt/dnd/DragSource.java
4383 (flavorMap): New member variable.
4384 (dragSourceListener): New member variable.
4385 (dragSourceMotionListener): New member variable.
4386 (getFlavorMap): Implemented.
4387 (createDragGestureRecognizer): Implemented.
4388 (addDragSourceListener): Implemented.
4389 (removeDragSourceListener): Implemented.
4390 (getDragSourceListeners): Implemented.
4391 (addDragSourceMotionListener): Implemented.
4392 (removeDragSourceMotionListener): Implemented.
4393 (getDragSourceMotionListeners): Implemented.
4394 (getListeners): Implemented.
4395 * java/awt/dnd/DragSourceContext.java
4396 (peer): New member variable.
4397 (cursor): New member variable.
4398 (transferable): New member variable.
4399 (trigger): New member variable.
4400 (dragSourceListener): New member variable.
4401 (image): New member variable.
4402 (offset): New member variable.
4403 (DragSourceContext): Implemented.
4404 (getDragSource): Implemented.
4405 (getComponent): Implemented.
4406 (getTrigger): Implemented.
4407 (getSourceActions): Implemented.
4408 (setCursor): Implemented.
4409 (getCursor): Implemented.
4410 (addDragSourceListener): Implemented.
4411 (removeDragSourceListener): Implemented.
4412 (getTransferable): Implemented.
4413 * java/awt/dnd/DropTarget.java
4414 (DropTargetAutoScroller.component): New member variable.
4415 (DropTargetAutoScroller.point): New member variable.
4416 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4417 (DropTargetAutoScroller.updateLocation): Implemented.
4418 (active): Renamed from isActive, defaults to true now.
4419 (component): New member variable.
4420 (flavorMap): New member variable.
4421 (actions): New member variable.
4422 (dropTargetContext): New member variable.
4423 (dropTargetListener): New member variable.
4424 (DropTarget): Implemented.
4425 (getComponent): Implemented.
4426 (setComponent): Implemented.
4427 (setDefaultActions): Implemented.
4428 (getDefaultActions): Implemented.
4429 (setActive): Use active instead of isActive.
4430 (isActive): Use active instead of isActive.
4431 (addDropTargetListener): Implemented.
4432 (removeDropTargetListener): Implemented.
4433 (getFlavorMap): Implemented.
4434 (setFlavorMap): Implemented.
4435 (getDropTargetContext): Implemented.
4436 (createDropTargetContext): Implemented.
4437 (createDropTargetAutoScroller): Implemented.
4438 * java/awt/dnd/DropTargetContext.java
4439 (TransferableProxy.getTransferDataFlavors): Implemented.
4440 (TransferableProxy.isDataFlavorSupported): Implemented.
4441 (TransferableProxy.getTransferData): Implemented.
4442 (dropTarget): New member variable.
4443 (dtcp): New member variable.
4444 (DropTargetContext): New package private constructor.
4445 (getDropTarget): Implemented.
4446 (getComponent): Implemented.
4447 (addNotify): Implemented.
4448 (removeNotify): Implemented.
4449 (getCurrentDataFlavorsAsList): Implemented.
4450 (isDataFlavorSupported): Implemented.
4451 * java/awt/dnd/MouseDragGestureRecognizer.java
4452 (registerListeners): Implemented.
4453 (unregisterListeners): Implemented.
4454 * Makefile.am
4455 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4456 * Makefile.in: Regenerated.
4457
4458 2003-03-02 Michael Koch <konqueror@gmx.de>
4459
4460 * java/awt/Component.java
4461 (eventTypeEnabled): New method.
4462 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4463 * java/awt/Container.java
4464 (changeSupport): New member variable.
4465 (addPropertyChangeListener): New methods.
4466 * java/awt/ContainerOrderFocusTraversalPolicy.java
4467 (ContainerOrderFocusTraversalPolicy): Added comment.
4468 (getComponentAfter): Throw exception, documentation added.
4469 (getComponentBefore): Throw exception, documentation added.
4470 (getFirstComponent): Throw exception, documentation added.
4471 (getLastComponent): Throw exception, documentation added.
4472 (getDefaultComponent): Throw exception, documentation added.
4473 * java/awt/EventQueue.java: Reindented.
4474 * java/awt/FocusTraversalPolicy.java:
4475 (FocusTraversalPolicy): Added comment.
4476 (getComponentAfter): Documentation added.
4477 (getComponentBefore): Documentation added.
4478 (getFirstComponent): Documentation added.
4479 (getLastComponent): Documentation added.
4480 (getDefaultComponent): Documentation added.
4481 (getInitialComponent): Documentation added.
4482 * java/awt/ScrollPane.java
4483 (wheelScrollingEnabled): New member variable.
4484 (ScrollPane): Initialize wheelScollingEnabled.
4485 (eventTypeEnabled): New method.
4486 (isWheelScrollingEnabled): New method.
4487 (setWheelScrollingEnabled): New method.
4488
4489 2003-03-02 Michael Koch <konqueror@gmx.de>
4490
4491 * java/net/DatagramSocket.java
4492 (closed): New member variable.
4493 (close): Use closed variable.
4494 (getInetAddress): No need to call isConnected().
4495 (getPort): No need to call isConnected().
4496 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4497 (isClosed): Reimplemented.
4498
4499 2003-03-02 Michael Koch <konqueror@gmx.de>
4500
4501 * configure.in: Added check for memory mapping of files.
4502 * configure: Regenerated.
4503 * config.h.in: Regenerated.
4504
4505 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4506
4507 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4508 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4509
4510 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4511
4512 * java/io/File.java (normalizePath): Remove trailing separator
4513 on Windows only if path is not of the form "x:\".
4514
4515 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4516 (java::io::File::attr): Change formatting a bit and use
4517 WIN32_EPOCH_MILLIS instead of magic numbers.
4518 (java::io::File::isAbsolute): Path must have at least 3
4519 characters for a UNC network path.
4520 (java::io::File::init_native): Define.
4521 (java::io::File::performCreate): Likewise.
4522 (java::io::File::performSetReadOnly): Likewise.
4523 (java::io::File::performSetLastModified): Likewise.
4524 (java::io::File::performListRoots): Likewise.
4525
4526 2003-03-01 Tom Tromey <tromey@redhat.com>
4527
4528 * java/lang/natObject.cc: Don't include assert.h.
4529 (heavy_lock_obj_finalization_proc): Use JvAssert.
4530 (remove_all_heavy): Likewise.
4531 (_Jv_MonitorEnter): Likewise.
4532 (_Jv_MonitorExit): Likewise.
4533 (wait): Likewise.
4534
4535 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4536
4537 * java/io/File (getAbsolutePath): Prefix drive specifier on
4538 Windows for paths starting with a '\'.
4539 (toURL): Make URL more consistent with what Sun's JDK returns.
4540
4541 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4542 true only if the path is a UNC network path or it starts with a
4543 drive specifier.
4544
4545 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4546 Be prepared to handle either '/' or '\\' in the file path for
4547 Windows if using the "file" protocol.
4548 Canonicalise the file path if using a relative path in the given
4549 context and the "file" protocol.
4550
4551 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4552
4553 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4554 program array element passed to CreateProcess.
4555
4556 2003-03-01 Tom Tromey <tromey@redhat.com>
4557
4558 * java/rmi/registry/RegistryHandler.java: Deprecate.
4559
4560 2003-03-01 Tom Tromey <tromey@redhat.com>
4561
4562 * javax/accessibility/AccessibleEditableText.java,
4563 javax/accessibility/AccessibleHyperlink.java: New versions from
4564 Classpath.
4565
4566 * gnu/java/locale/LocaleInformation_af_ZA.java,
4567 gnu/java/locale/LocaleInformation_ar_AE.java,
4568 gnu/java/locale/LocaleInformation_ar_BH.java,
4569 gnu/java/locale/LocaleInformation_ar_DZ.java,
4570 gnu/java/locale/LocaleInformation_ar_EG.java,
4571 gnu/java/locale/LocaleInformation_ar_IN.java,
4572 gnu/java/locale/LocaleInformation_ar_IQ.java,
4573 gnu/java/locale/LocaleInformation_ar_JO.java,
4574 gnu/java/locale/LocaleInformation_ar_KW.java,
4575 gnu/java/locale/LocaleInformation_ar_LB.java,
4576 gnu/java/locale/LocaleInformation_ar_LY.java,
4577 gnu/java/locale/LocaleInformation_ar_MA.java,
4578 gnu/java/locale/LocaleInformation_ar_OM.java,
4579 gnu/java/locale/LocaleInformation_ar_QA.java,
4580 gnu/java/locale/LocaleInformation_ar_SD.java,
4581 gnu/java/locale/LocaleInformation_ar_SY.java,
4582 gnu/java/locale/LocaleInformation_ar_TN.java,
4583 gnu/java/locale/LocaleInformation_ar_YE.java,
4584 gnu/java/locale/LocaleInformation_be_BY.java,
4585 gnu/java/locale/LocaleInformation_bn_IN.java,
4586 gnu/java/locale/LocaleInformation_br_FR.java,
4587 gnu/java/locale/LocaleInformation_bs_BA.java,
4588 gnu/java/locale/LocaleInformation_ca_ES.java,
4589 gnu/java/locale/LocaleInformation_cs_CZ.java,
4590 gnu/java/locale/LocaleInformation_cy_GB.java,
4591 gnu/java/locale/LocaleInformation_da_DK.java,
4592 gnu/java/locale/LocaleInformation_de_AT.java,
4593 gnu/java/locale/LocaleInformation_de_BE.java,
4594 gnu/java/locale/LocaleInformation_de_CH.java,
4595 gnu/java/locale/LocaleInformation_de_DE.java,
4596 gnu/java/locale/LocaleInformation_de_LU.java,
4597 gnu/java/locale/LocaleInformation_el_GR.java,
4598 gnu/java/locale/LocaleInformation_en_AU.java,
4599 gnu/java/locale/LocaleInformation_en_BW.java,
4600 gnu/java/locale/LocaleInformation_en_CA.java,
4601 gnu/java/locale/LocaleInformation_en_DK.java,
4602 gnu/java/locale/LocaleInformation_en_GB.java,
4603 gnu/java/locale/LocaleInformation_en_HK.java,
4604 gnu/java/locale/LocaleInformation_en_IE.java,
4605 gnu/java/locale/LocaleInformation_en_IN.java,
4606 gnu/java/locale/LocaleInformation_en_NZ.java,
4607 gnu/java/locale/LocaleInformation_en_PH.java,
4608 gnu/java/locale/LocaleInformation_en_SG.java,
4609 gnu/java/locale/LocaleInformation_en_US.java,
4610 gnu/java/locale/LocaleInformation_en_ZA.java,
4611 gnu/java/locale/LocaleInformation_en_ZW.java,
4612 gnu/java/locale/LocaleInformation_es_AR.java,
4613 gnu/java/locale/LocaleInformation_es_BO.java,
4614 gnu/java/locale/LocaleInformation_es_CL.java,
4615 gnu/java/locale/LocaleInformation_es_CO.java,
4616 gnu/java/locale/LocaleInformation_es_CR.java,
4617 gnu/java/locale/LocaleInformation_es_DO.java,
4618 gnu/java/locale/LocaleInformation_es_EC.java,
4619 gnu/java/locale/LocaleInformation_es_ES.java,
4620 gnu/java/locale/LocaleInformation_es_GT.java,
4621 gnu/java/locale/LocaleInformation_es_HN.java,
4622 gnu/java/locale/LocaleInformation_es_MX.java,
4623 gnu/java/locale/LocaleInformation_es_NI.java,
4624 gnu/java/locale/LocaleInformation_es_PA.java,
4625 gnu/java/locale/LocaleInformation_es_PE.java,
4626 gnu/java/locale/LocaleInformation_es_PR.java,
4627 gnu/java/locale/LocaleInformation_es_PY.java,
4628 gnu/java/locale/LocaleInformation_es_SV.java,
4629 gnu/java/locale/LocaleInformation_es_US.java,
4630 gnu/java/locale/LocaleInformation_es_UY.java,
4631 gnu/java/locale/LocaleInformation_es_VE.java,
4632 gnu/java/locale/LocaleInformation_et_EE.java,
4633 gnu/java/locale/LocaleInformation_eu_ES.java,
4634 gnu/java/locale/LocaleInformation_fa_IR.java,
4635 gnu/java/locale/LocaleInformation_fi_FI.java,
4636 gnu/java/locale/LocaleInformation_fo_FO.java,
4637 gnu/java/locale/LocaleInformation_fr_BE.java,
4638 gnu/java/locale/LocaleInformation_fr_CA.java,
4639 gnu/java/locale/LocaleInformation_fr_CH.java,
4640 gnu/java/locale/LocaleInformation_fr_FR.java,
4641 gnu/java/locale/LocaleInformation_fr_LU.java,
4642 gnu/java/locale/LocaleInformation_ga_IE.java,
4643 gnu/java/locale/LocaleInformation_gd_GB.java,
4644 gnu/java/locale/LocaleInformation_gl_ES.java,
4645 gnu/java/locale/LocaleInformation_gv_GB.java,
4646 gnu/java/locale/LocaleInformation_he_IL.java,
4647 gnu/java/locale/LocaleInformation_hi_IN.java,
4648 gnu/java/locale/LocaleInformation_hr_HR.java,
4649 gnu/java/locale/LocaleInformation_hu_HU.java,
4650 gnu/java/locale/LocaleInformation_id_ID.java,
4651 gnu/java/locale/LocaleInformation_it_CH.java,
4652 gnu/java/locale/LocaleInformation_it_IT.java,
4653 gnu/java/locale/LocaleInformation_iw_IL.java,
4654 gnu/java/locale/LocaleInformation_ja_JP.java,
4655 gnu/java/locale/LocaleInformation_ka_GE.java,
4656 gnu/java/locale/LocaleInformation_kl_GL.java,
4657 gnu/java/locale/LocaleInformation_ko_KR.java,
4658 gnu/java/locale/LocaleInformation_kw_GB.java,
4659 gnu/java/locale/LocaleInformation_lt_LT.java,
4660 gnu/java/locale/LocaleInformation_lv_LV.java,
4661 gnu/java/locale/LocaleInformation_mi_NZ.java,
4662 gnu/java/locale/LocaleInformation_mk_MK.java,
4663 gnu/java/locale/LocaleInformation_mr_IN.java,
4664 gnu/java/locale/LocaleInformation_mt_MT.java,
4665 gnu/java/locale/LocaleInformation_nl_BE.java,
4666 gnu/java/locale/LocaleInformation_nl_NL.java,
4667 gnu/java/locale/LocaleInformation_nn_NO.java,
4668 gnu/java/locale/LocaleInformation_no_NO.java,
4669 gnu/java/locale/LocaleInformation_oc_FR.java,
4670 gnu/java/locale/LocaleInformation_pl_PL.java,
4671 gnu/java/locale/LocaleInformation_pt_BR.java,
4672 gnu/java/locale/LocaleInformation_pt_PT.java,
4673 gnu/java/locale/LocaleInformation_ro_RO.java,
4674 gnu/java/locale/LocaleInformation_ru_RU.java,
4675 gnu/java/locale/LocaleInformation_ru_UA.java,
4676 gnu/java/locale/LocaleInformation_se_NO.java,
4677 gnu/java/locale/LocaleInformation_sk_SK.java,
4678 gnu/java/locale/LocaleInformation_sl_SI.java,
4679 gnu/java/locale/LocaleInformation_sq_AL.java,
4680 gnu/java/locale/LocaleInformation_sr_YU.java,
4681 gnu/java/locale/LocaleInformation_sv_FI.java,
4682 gnu/java/locale/LocaleInformation_sv_SE.java,
4683 gnu/java/locale/LocaleInformation_ta_IN.java,
4684 gnu/java/locale/LocaleInformation_te_IN.java,
4685 gnu/java/locale/LocaleInformation_tg_TJ.java,
4686 gnu/java/locale/LocaleInformation_tl_PH.java,
4687 gnu/java/locale/LocaleInformation_tr_TR.java,
4688 gnu/java/locale/LocaleInformation_uk_UA.java,
4689 gnu/java/locale/LocaleInformation_ur_PK.java,
4690 gnu/java/locale/LocaleInformation_uz_UZ.java,
4691 gnu/java/locale/LocaleInformation_vi_VN.java,
4692 gnu/java/locale/LocaleInformation_yi_US.java,
4693 gnu/java/locale/LocaleInformation_zh_CN.java,
4694 gnu/java/locale/LocaleInformation_zh_HK.java,
4695 gnu/java/locale/LocaleInformation_zh_SG.java,
4696 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4697 info; from Classpath.
4698
4699 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4700 isPaintPending): New methods.
4701 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4702 setMaximizedBounds): New methods.
4703 (beginLayout, endLayout, isPaintPending): Likewise.
4704 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4705 (requestFocus): Likewise.
4706 (isObscured): Likewise.
4707 (canDetermineObscurity): Likewise.
4708 (coalescePaintEvent): Likewise.
4709 (updateCursorImmediately): Likewise.
4710 (createVolatileImage): Likewise.
4711 (handlesWheelScrolling): Likewise.
4712 (createBuffers): Likewise.
4713 (getBackBuffer): Likewise.
4714 (flip): Likewise.
4715 (destroyBuffers): Likewise.
4716
4717 * Makefile.in: Rebuilt.
4718 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4719 RobotPeer.java.
4720 * gnu/java/awt/GLightweightPeer.java,
4721 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4722 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4723 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4724 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4725 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4726 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4727 java/awt/dnd/peer/DragSourceContextPeer.java,
4728 java/awt/dnd/peer/DropTargetContextPeer.java,
4729 java/awt/peer/ButtonPeer.java,
4730 java/awt/peer/CheckboxMenuItemPeer.java,
4731 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4732 java/awt/peer/ComponentPeer.java,
4733 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4734 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4735 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4736 java/awt/peer/MenuBarPeer.java,
4737 java/awt/peer/MenuComponentPeer.java,
4738 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4739 java/awt/peer/PopupMenuPeer.java,
4740 java/awt/peer/ScrollPanePeer.java,
4741 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4742 java/awt/peer/TextComponentPeer.java,
4743 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4744 New versions from Classpath.
4745 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4746 * java/awt/peer/RobotPeer.java: Likewise.
4747
4748 2003-03-01 Mark Wielaard <mark@klomp.org>
4749
4750 * java/io/ObjectInputStream.java: Reindent.
4751 * java/io/ObjectOutputStream.java: Likewise.
4752
4753 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4754
4755 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4756 jvalue for each argument. Simplify.
4757 * testsuite/libjava.jni/calls.c (docall),
4758 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4759 misalignment.
4760
4761 2003-02-28 Mark Wielaard <mark@klomp.org>
4762
4763 * Makefile.am (nat_source_files): Remove
4764 java/io/natObjectOutputStream.cc.
4765 * Makefile.in: Regenerated.
4766 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4767 * java/io/ObjectStreamField.java (typename): New field.
4768 (ObjectStreamField(String, Class)): Initialize new field.
4769 (ObjectStreamField(String, String)): New Constructor.
4770 (getTypeCode): Use new field.
4771 (getTypeString): Use new field.
4772 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4773 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4774 Handle reading of Proxy classes. Never drain(), just write
4775 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4776 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4777 (flush): Call flush(), not just drain().
4778 (writeBoolean): Always use blockDataOutput.
4779 (writeByte): Likewise.
4780 (writeShort): Likewise.
4781 (writeChar): Likewise.
4782 (writeInt): Likewise.
4783 (writeLong): Likewise.
4784 (writeFloat): Likewise.
4785 (writeDouble): Likewise.
4786 (writeBytes): Likewise.
4787 (putfield (put(String,Object))): Throw IllegalArgumentException if
4788 field cannot be found.
4789 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4790 (writeArraySizeAndElements): Write byte[] in one go.
4791 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4792 set BlockDataMode to false.
4793 (annotateProxyClass): New method.
4794 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4795 (getField): No longer native.
4796 (getMethod): Likewise.
4797 (setBlockDataMode): Always drain() on switch, return old mode.
4798 (static): New static code block.
4799 * java/io/natObjectOutputStream.cc: Removed.
4800 * java/io/ObjectInputStream.java (getField): No longer native.
4801 (getMethod): Likewise.
4802 (readObject): Remember and reset old BlockDataMode. Track whether
4803 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4804 TC_LONGSTRING.
4805 (defaultReadObject): Set BlockDataMode to false during readFields.
4806 (resolveClass): Create new SecurityManager if necessary.
4807 Use Class.forName() if null ClassLoader found.
4808 (read(byte[],int,int): Copy remaining bytes to data before calling
4809 readNextBlock().
4810 (readFields): Set and reset BlockDataMode on call_read_method.
4811 Catch NoSuchFieldErrors.
4812 (setBlockDataMode): Return old mode.
4813 (static): New static code block.
4814 * java/io/natObjectInputStream.cc (getField): Removed.
4815 (getMethod): Likewise.
4816
4817 2003-02-27 Michael Koch <konqueror@gmx.de>
4818
4819 * java/beans/Beans.java,
4820 java/beans/FeatureDescriptor.java
4821 java/beans/PropertyEditorManager.java:
4822 Reformated to GNU style.
4823
4824 2003-02-25 Michael Koch <konqueror@gmx.de>
4825
4826 * gnu/java/nio/MappedByteFileBuffer.java,
4827 gnu/java/nio/natMappedByteFileBuffer.cc:
4828 New files, both are not compiled yet to get not noncompiling CVS.
4829
4830 2003-02-24 Tom Tromey <tromey@redhat.com>
4831
4832 * java/util/prefs/AbstractPreferences.java (isUserNode):
4833 Implemented.
4834
4835 2003-02-24 Tom Tromey <tromey@redhat.com>
4836
4837 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4838 Deprecate.
4839 * java/lang/Thread.java (resume): Deprecate.
4840 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4841 in @deprecated.
4842
4843 2003-02-23 Tom Tromey <tromey@redhat.com>
4844
4845 * Makefile.in: Rebuilt.
4846 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4847
4848 2003-02-23 Tom Tromey <tromey@redhat.com>
4849
4850 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4851 libraries): Removed.
4852 (add_library): Removed.
4853 (_load): Don't call add_library.
4854 (loadLibraryInternal): Likewise.
4855 (init): Likewise.
4856 (lookup_data): New struct.
4857 (find_symbol): New function.
4858 (_Jv_FindSymbolInExecutable): Use it.
4859
4860 2002-02-21 Anthony Green <green@redhat.com>
4861
4862 * java/lang/Thread.java (Thread): New constructor taking stack
4863 size parameter (ignored for now).
4864 * Many methods: Merged GNU Classpath documentation.
4865
4866 * java/lang/Class.java (finalize): throws a Throwable.
4867
4868 2003-02-21 Mark Wielaard <mark@klomp.org>
4869
4870 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4871 argument is null.
4872
4873 2003-02-21 Mark Wielaard <mark@klomp.org>
4874
4875 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4876 then 65535 chars throw IllegalArgumentException.
4877
4878 2003-02-21 Mark Wielaard <mark@klomp.org>
4879
4880 * java/util/zip/ZipFile.java (finalize): New method.
4881
4882 2003-02-21 Michael Koch <konqueror@gmx.de>
4883
4884 * gnu/java/nio/natSocketChannelImpl.cc:
4885 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4886 <cato@df.lth.se> for pointing to it.
4887
4888 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4889
4890 * java/math/BigInteger.java (euclidInv): Take result array as an
4891 argument. Updated all callers.
4892 (modInverse): Removed unused variables.
4893
4894 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4895
4896 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4897 config.status.
4898 * configure: Rebuilt.
4899
4900 2003-02-19 Michael Koch <konqueror@gmx.de>
4901
4902 * gnu/java/nio/natSocketChannelImpl.cc:
4903 Added support for platforms without network support.
4904
4905 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4906
4907 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4908 after config.h. Use <> for consistency.
4909 * java/lang/natObject.cc: Likewise.
4910 * java/lang/natRuntime.cc: Likewise.
4911 * java/lang/natSystem.cc: Likewise.
4912 * java/util/natTimeZone.cc: Likewise.
4913 * win32.cc: Likewise.
4914 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4915 listen, write, read): Undef to avoid interference from OS macros.
4916
4917 2003-02-19 Michael Koch <konqueror@gmx.de>
4918
4919 * gnu/java/nio/ByteBufferImpl.java
4920 (ByteBufferImpl): Renamed two variables.
4921 * gnu/java/nio/CharBufferImpl.java
4922 (CharBufferImpl): Renamed two variables.
4923 * gnu/java/nio/DoubleBufferImpl.java
4924 (DoubleBufferImpl): Renamed two variables.
4925 * gnu/java/nio/FloatBufferImpl.java
4926 (FloatBufferImpl): Renamed two variables.
4927 * gnu/java/nio/IntBufferImpl.java
4928 (IntBufferImpl): Renamed two variables.
4929 * gnu/java/nio/LongBufferImpl.java
4930 (LongBufferImpl): Renamed two variables.
4931 * gnu/java/nio/ShortBufferImpl.java
4932 (ShortBufferImpl): Renamed two variables.
4933 * java/nio/CharBuffer.java
4934 (wrap): Fixed arguments to CharBufferImpl constructor.
4935 (hasArray): Only not read-only buffers have backing arrays.
4936 (length): Documentation added.
4937 (subSequence): Documentation added.
4938 * java/nio/DoubleBuffer.java
4939 (hasArray): Only not read-only buffers have backing arrays.
4940 * java/nio/FloatBuffer.java
4941 (hasArray): Only not read-only buffers have backing arrays.
4942 * java/nio/IntBuffer.java
4943 (hasArray): Only not read-only buffers have backing arrays.
4944 * java/nio/LongBuffer.java
4945 (hasArray): Only not read-only buffers have backing arrays.
4946 * java/nio/ShortBuffer.java
4947 (hasArray): Only not read-only buffers have backing arrays.
4948
4949 2003-02-19 Michael Koch <konqueror@gmx.de>
4950
4951 * javax/accessibility/AccessibleContext.java
4952 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4953
4954 2003-02-19 Michael Koch <konqueror@gmx.de>
4955
4956 * java/awt/ScrollPaneAdjustable.java: Reformated.
4957
4958 2003-02-19 Michael Koch <konqueror@gmx.de>
4959
4960 * gnu/awt/j2d/Graphics2DImpl.java
4961 (getFontRenderContext): New method.
4962 (drawGlyphVector): New method.
4963 * java/awt/Graphics2D.java
4964 (getFontRenderContext): New abstract method.
4965 (drawGlyphVector): New abstract method.
4966
4967 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4968
4969 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4970 if necessary.
4971
4972 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4973 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4974 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4975 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4976 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4977 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4978 (setFont, gtkSetFont): add.
4979 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4980 Propagate font to peer. (setFont): add FIXME comment.
4981
4982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4983 (gtkTextGetSize): fix height, width computation.
4984
4985 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4986 Make X font name a bit less bogus.
4987
4988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4989 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4990
4991 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4992 (processAdjustmentEvent): Adjust value.
4993
4994 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4995 logic errors.
4996
4997 * java/awt/Component.java (setVisible, show, hide): Call show and
4998 hide methods in subclasses.
4999 (getPreferredSize): don't set prefSize before we have peer.
5000
5001 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5002 Guess (0,0) if we don't have peer.
5003
5004
5005 2003-02-18 Michael Koch <konqueror@gmx.de>
5006
5007 * java/nio/channels/FileChannel.java
5008 (toString): New implementation, added documentation.
5009 (map): Added exception documentation.
5010 (size): Added exception documentation.
5011 (write): New methods, documentation work.
5012 (read): New methods, documentation work.
5013 (implCloseChannel): Rewrote exception documentation.
5014 (force): Throws IOException, added documentation.
5015 (lock): New methods.
5016 (tryLock): New methods.
5017 (position): New methods.
5018 (transferTo): New method.
5019 (transferFrom): New method.
5020 (truncate): New method.
5021 * java/nio/channels/spi/SelectorProvider.java
5022 (provider): Implemented.
5023 * Makefile.am
5024 (ordinary_java_source_files): Added the following files:
5025 gnu/java/nio/DatagramChannelImpl.java
5026 gnu/java/nio/FileChannelImpl.java
5027 gnu/java/nio/PipeImpl.java
5028 gnu/java/nio/SelectionKeyImpl.java
5029 gnu/java/nio/SelectorImpl.java
5030 gnu/java/nio/SelectorProviderImpl.java
5031 gnu/java/nio/ServerSocketChannelImpl.java
5032 gnu/java/nio/SocketChannelImpl.java
5033 java/nio/channels/FileLock.java
5034 (nat_java_source_files): Added the following files:
5035 gnu/java/nio/natFileChannelImpl.cc
5036 gnu/java/nio/natSelectorImpl.cc
5037 gnu/java/nio/natSocketChannelImpl.cc
5038 * Makefile.in: Regenerated.
5039
5040 2003-02-17 Tom Tromey <tromey@redhat.com>
5041
5042 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5043 * java/awt/image/ImageFilter.java: Likewise.
5044
5045 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5046
5047 * java/math/BigInteger.java (euclidInv): Return array of
5048 `BigInteger's. Changed all callers.
5049
5050 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5051
5052 * java/util/Properties.java (store): Move the code formerly in
5053 list(), into this method.
5054 (list (PrintStream)): Just call list (PrintWriter) with a
5055 PrintWriter object constructed from the given PrintStream object.
5056 (list (PrintWriter)): Emulate the output of Properties.list()
5057 as found in JDK 1.3/1.4.
5058
5059 2003-02-17 Michael Koch <konqueror@gmx.de>
5060
5061 * java/net/DatagramSocket.java
5062 (connect): Merged with classpath.
5063 (disconnect): Merged documentation with classpath.
5064 (receice): Merged documentation with classpath.
5065 (send): Merged documentation with classpath.
5066
5067 2003-02-17 Michael Koch <konqueror@gmx.de>
5068
5069 * java/awt/dnd/DragSourceContext.java
5070 (addDragSourceListener): Added documentation.
5071 * java/awt/dnd/DragSourceDragEvent.java
5072 (serialVersionUID): New member variable.
5073 (getDropAction): Reformated.
5074 * java/awt/dnd/DragSourceDropEvent.java
5075 (serialVersionUID): New member variable.
5076 (dropSuccess): Renamed from success for serialization issues.
5077 * java/awt/dnd/DragSourceEvent.java
5078 (serialVersionUID): New member variable.
5079 * java/awt/dnd/DropTarget.java
5080 (serialVersionUID): New member variable.
5081 (DropTarget): Implemented, documentation reworked.
5082 (setComponent): Documentation added.
5083 (getComponent): Documentation added.
5084 (setDefaultActions): Documentation added.
5085 (getDefaultActions): Documentation added.
5086 (addDropTargetListener): Documentation added.
5087 * java/awt/dnd/DropTargetContext.java
5088 (DropTargetContext): Documentation added.
5089 (TransferableProxy.TransferableProxy): New method.
5090 (dropComplete): Fixed documentation.
5091 (getTransferable): Fixed documentation.
5092 (createTransferableProxy): Implemented.
5093 * java/awt/dnd/DropTargetDragEvent.java
5094 (DropTargetDragEvent): Documentation added.
5095 (serialVersionUID): New member variable.
5096 (DropTargetDragEvent): Throw exceptions, documentation added.
5097 (acceptDrag): Implemented.
5098 (getCurrentDataFlavors): Implemented.3yy
5099 (getCurrentDataFlavorsAsList): Implemented.
5100 (isDataFlavorSupported): Implemented.
5101 (rejectDrag): Implemented.
5102 * java/awt/dnd/DropTargetDropEvent.java
5103 (DropTargetDropEvent): Documentation added.
5104 (serialVersionUID): New member variable.
5105 (actions): Renamed from srcActions for serialization issues.
5106 (isLocalTx): Renamed from isLocalTx for serialization issues.
5107 (DropTargetDropEvent): New implementation, throw exceptions,
5108 documentation added.
5109 (getCurrentDataFlavors): Implemented.
5110 (getCurrentDataFlavorsAsList): Implemented.
5111 (isDataFlavorSupported): Implemented.
5112 (getSourceActions): Implemented.
5113 (getDropAction): Implemented.
5114 (getTransferable): Implemented.
5115 (acceptDrop): Implemented.
5116 (rejectDrop): Implemented.
5117 * java/awt/dnd/DropTargetListener.java
5118 (drop): Fixed documentation.
5119 * java/awt/dnd/MouseDragGestureRecognizer.java
5120 (MouseDragGestureRecognizer): Documentation added.
5121
5122 2003-02-17 Michael Koch <konqueror@gmx.de>
5123
5124 * java/awt/font/FontRenderContext.java,
5125 java/awt/font/ShapeGraphicAttribute.java,
5126 java/awt/font/MultipleMaster.java,
5127 java/awt/font/TransformAttribute.java,
5128 java/awt/font/GlyphJustificationInfo.java,
5129 java/awt/font/LineBreakMeasurer.java,
5130 java/awt/font/TextMeasurer.java,
5131 java/awt/font/TextLayout.java,
5132 java/awt/font/LineMetrics.java,
5133 java/awt/font/TextAttribute.java,
5134 java/awt/font/GlyphMetrics.java,
5135 java/awt/font/OpenType.java,
5136 java/awt/font/GlyphVector.java,
5137 java/awt/font/GraphicAttribute.java,
5138 java/awt/font/ImageGraphicAttribute.java,
5139 java/awt/font/NumericShaper.java: New files.
5140 * Makefile.am
5141 (awt_java_source_files): Added the following files:
5142 java/awt/font/FontRenderContext.java
5143 java/awt/font/ShapeGraphicAttribute.java
5144 java/awt/font/MultipleMaster.java
5145 java/awt/font/TransformAttribute.java
5146 java/awt/font/GlyphJustificationInfo.java
5147 java/awt/font/LineBreakMeasurer.java
5148 java/awt/font/TextMeasurer.java
5149 java/awt/font/TextLayout.java
5150 java/awt/font/LineMetrics.java
5151 java/awt/font/TextAttribute.java
5152 java/awt/font/GlyphMetrics.java
5153 java/awt/font/OpenType.java
5154 java/awt/font/GlyphVector.java
5155 java/awt/font/GraphicAttribute.java
5156 java/awt/font/ImageGraphicAttribute.java
5157 java/awt/font/NumericShaper.java
5158 * Makefile.in: Regenerated.
5159
5160 2003-02-17 Michael Koch <konqueror@gmx.de>
5161
5162 * java/awt/print/Paper.java
5163 (Paper): Implements Cloneable.
5164 * java/awt/print/PrinterJob.java
5165 (setJobName): Return value must be void.
5166 (print): Throws PrinterException.
5167
5168 2003-02-16 Tom Tromey <tromey@redhat.com>
5169
5170 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5171 variable.
5172
5173 2003-02-15 Michael Koch <konqueror@gmx.de>
5174
5175 * java/awt/datatransfer/DataFlavor.java
5176 (isRepresentationClassByteBuffer): Removed try-catch block.
5177 (isRepresentationClassCharBuffer): Removed try-catch block.
5178 (isRepresentationClassReader): Removed try-catch block.
5179
5180 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5181
5182 * java/nio/charset/Charset.java
5183 (isRegistered): Fixed method args and implementation.
5184 * java/nio/charset/CharsetEncoder.java
5185 (unmappableCharacterAction): New method.
5186
5187 2003-02-15 Michael Koch <konqueror@gmx.de>
5188
5189 * java/awt/CheckboxMenuItem.java
5190 (CheckBoxMenuItem): Dont implement Serializable.
5191 (getListeners): New method,
5192 (getItemListeners): New method.
5193 * java/awt/Choice.java
5194 (getListeners): New method,
5195 (getItemListeners): New method.
5196 * java/awt/Container.java
5197 (getListeners): Added exception documentation.
5198 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5199 (getFocusTraversalKeys): Added documentation.
5200 (areFocusTraversalKeysSet): Added documentation.
5201 (applyComponentOrientation): Added documentation.
5202 * java/awt/ContainerOrderFocusTraversalPolicy.java
5203 (implicitDownCycleTraversal): Renamed from downCycle for
5204 serialization.
5205 (ContainerOrderFocusTraversalPolicy): Added documentation.
5206 (accept): Reformated.
5207 * java/awt/Dialog.java
5208 (Dialog): Dont implement Serializable.
5209 (Dialog): Added documentation.
5210 * java/awt/Font.java
5211 (Font): Dont use absolute class name.
5212 * java/awt/Frame.java
5213 (Frame): Font implement Serializable.
5214 * java/awt/List.java
5215 (getListeners): New method,
5216 (getActionListeners): New method.
5217 (getItemListeners): New method.
5218 * java/awt/Menu.java
5219 (countItems): New deprecated method.
5220 * java/awt/Scrollbar.java
5221 (getListeners): New method,
5222 (getAdjustmentListeners): New method,
5223 * java/awt/TextComponent.java
5224 (getListeners): New method,
5225 (getTextListeners): New method,
5226 * java/awt/TextField.java
5227 (getListeners): New method,
5228 (getActionListeners): New method.
5229 * java/awt/Window.java
5230 (windowFocusListener): New member variable.
5231 (windowStateListener): New member variable.
5232 (getWindowFocusListeners): New method.
5233 (getWindowStateListeners): New method.
5234 (addWindowFocusListener): New method.
5235 (addWindowStateListener): New method.
5236 (removeWindowFocusListener): New method.
5237 (removeWindowStateListener): New method.
5238 * java/awt/datatransfer/DataFlavor.java
5239 (isRepresentationClassByteBuffer): New method.
5240 (isRepresentationClassCharBuffer): New method.
5241 (isRepresentationClassReader): New method.
5242
5243 2003-02-14 Mark Wielaard <mark@klomp.org>
5244
5245 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5246 zero when there is an exponent and the significant is zero.
5247 (divide): Always set scale to newScale even in special ZERO case.
5248
5249 2003-02-14 Tom Tromey <tromey@redhat.com>
5250
5251 * java/lang/System.java (properties): Use Properties.clone.
5252 (setProperties): Likewise.
5253
5254 2003-02-14 Michael Koch <konqueror@gmx.de>
5255
5256 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5257 * gnu/java/nio/ServerSocketChannelImpl.java
5258 (SocketAccept): Removed.
5259 (accept): Commented out use of SocketAccept.
5260
5261 2003-02-13 Tom Tromey <tromey@redhat.com>
5262
5263 * verify.cc (state::seen_subrs): New field.
5264 (state::state): Initialize it.
5265 (state::clean_subrs): New method.
5266 (state::~state): Call it.
5267 (state::copy): Copy subroutine list.
5268 (state::add_subr): New method.
5269 (state::merge): Only register a change if the current subroutine
5270 hasn't yet been noted.
5271
5272 2003-02-13 Mark Wielaard <mark@klomp.org>
5273
5274 * java/io/InputStreamReader.java (getEncoding): Return null when
5275 closed.
5276 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5277
5278 2003-02-13 Mark Wielaard <mark@klomp.org>
5279
5280 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5281 is zero.
5282
5283 2003-02-13 Mark Wielaard <mark@klomp.org>
5284
5285 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5286 next byte cannot be buffered.
5287
5288 2003-02-13 Michael Koch <konqueror@gmx.de>
5289
5290 * java/awt/Label.java
5291 (Label): Don't implement Serializable directly.
5292 (addNotify): Fixed typo in documentation.
5293 * java/awt/List.java
5294 (List): Don't implement Serializable directly.
5295 * java/awt/PopupMenu.java
5296 (PopupMenu): Don't implement Serializable directly.
5297 * java/awt/ScrollPane.java
5298 (ScrollPane): Don't implement Serializable directly.
5299 * java/awt/Scrollbar.java
5300 (Scrollbar): Don't implement Serializable directly.
5301 * java/awt/TextArea.java
5302 (preferredSize): Fixed method arguments.
5303 * java/awt/TextField.java
5304 (TextField): Don't implement Serializable directly.
5305 * java/awt/color/ICC_ColorSpace.java
5306 (fromCIOXYZ): Documentation added.
5307 (getMinValue): Documentation added.
5308 (getMaxValue): Documentation added.
5309 * java/awt/datatransfer/DataFlavor.java
5310 (isMimeTypeEqual): May not be final.
5311 (clone): Throws CloneNotSupportedException.
5312 (getReaderForText): Don't throws UnsupportedEncodingException.
5313
5314 2003-02-13 Michael Koch <konqueror@gmx.de>
5315
5316 * gnu/java/awt/peer/gtk/GdkGraphics.java
5317 (drawString): New stubbed method.
5318 * java/awt/Graphics.java
5319 (drawString): New method.
5320
5321 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5322
5323 PR libgcj/9271:
5324 * java/security/SecureRandom.java (next): Avoid bias in results.
5325
5326 2003-02-13 Michael <konqueror@gmx.de>
5327
5328 * gnu/java/nio/FileChannelImpl.java
5329 (lengthInternal): Must be native.
5330 (size): Check if channel is already closed.
5331 (implCloseChannel): Reformated.
5332 (read): w was unused, removed it.
5333 (read): Removed.
5334 (read): New method.
5335 (write): New method.
5336 (map): Check arguments.
5337 (force): Throws IOException, check if channel is closed.
5338 (transferTo): New method.
5339 (transferFrom): New method.
5340 (lock): New method.
5341 (tryLock): New method.
5342 (position): New method.
5343 (truncate): New method.
5344 (nio_mmap_file): Uncommented.
5345 (nio_munmap_file): Uncommented.
5346 (nio_msync): Uncommented.
5347 * gnu/java/nio/natFileChannelImpl.cc: New file.
5348
5349 2003-02-13 Michael Koch <konqueror@gmx.de>
5350
5351 * java/nio/ByteBuffer.java
5352 (endian): New member variable.
5353 (get): New methods.
5354 (equals): New method.
5355 (compareTo): New method.
5356 (order): New methods.
5357 (compact): New method.
5358 (isDirect): New method.
5359 (slice): New method.
5360 (duplicate): New method.
5361 (asReadOnlyBuffer): New method.
5362 (asCharBuffer): New method.
5363 (asDoubleBuffer): New method.
5364 (asFloatBuffer): New method.
5365 (asIntBuffer): New method.
5366 (asLongBuffer): New method.
5367 (asShortBuffer): New method.
5368 (get*): New methods.
5369 (put*): New methods.
5370 (toString): New method.
5371 * java/nio/CharBuffer.java
5372 (CharBuffer): Implement Comparable instead of Cloneable.
5373 (get): May not be final.
5374 (put): May not be final.
5375
5376 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5377
5378 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5379 lastIndexOf( ) instead of indexOf( ) to find the colon before
5380 the line number, because Win32 file names might contain a
5381 drive letter and a colon at the start of an absolute path.
5382
5383 2003-02-13 Michael Koch <konqueror@gmx.de>
5384
5385 * gnu/java/nio/natSocketChannelImpl.cc
5386 (SocketConnect): This is not implemented yet.
5387 (SocketBind): This is not implemented yet.
5388
5389 2003-02-13 Michael Koch <konqueror@gmx.de>
5390
5391 * gnu/java/nio/natByteBufferImpl.cc,
5392 gnu/java/nio/natCharBufferImpl.cc,
5393 gnu/java/nio/natDoubleBufferImpl.cc,
5394 gnu/java/nio/natFloatBufferImpl.cc,
5395 gnu/java/nio/natIntBufferImpl.cc,
5396 gnu/java/nio/natLongBufferImpl.cc,
5397 gnu/java/nio/natShortBufferImpl.cc:
5398 Added copyright and license.
5399 * java/nio/DoubleBuffer.java,
5400 java/nio/FloatBuffer.java,
5401 java/nio/IntBuffer.java,
5402 java/nio/LongBuffer.java,
5403 java/nio/ShortBuffer.java
5404 (array): Throw exceptions.
5405 (arrayOffset): Throw exceptions.
5406
5407 2003-02-13 Michael Koch <konqueror@gmx.de>
5408
5409 * gnu/java/util/prefs/FileBasedFactory.java,
5410 gnu/java/util/prefs/MemmoryBasedFactory.java,
5411 gnu/java/util/prefs/MemoryBasedPreferences.java,
5412 gnu/java/util/prefs/NodeReader.java,
5413 gnu/java/util/prefs/NodeWriter.java,
5414 java/util/prefs/AbstractPreferences.java,
5415 java/util/prefs/BackingStoreException.java,
5416 java/util/prefs/InvalidPreferencesFormatException.java,
5417 java/util/prefs/NodeChangeEvent.java,
5418 java/util/prefs/NodeChangeListener.java,
5419 java/util/prefs/PreferenceChangeEvent.java,
5420 java/util/prefs/PreferenceChangeListener.java,
5421 java/util/prefs/Preferences.java,
5422 java/util/prefs/PreferencesFactory.java:
5423 New files, all merged from classpath.
5424 * Makefile.am
5425 (ordinary_java_source_files): Added the following files:
5426 gnu/java/util/prefs/FileBasedFactory.java,
5427 gnu/java/util/prefs/MemmoryBasedFactory.java,
5428 gnu/java/util/prefs/MemoryBasedPreferences.java,
5429 gnu/java/util/prefs/NodeReader.java,
5430 gnu/java/util/prefs/NodeWriter.java,
5431 (core_java_source_files): Added the following files:
5432 java/util/prefs/AbstractPreferences.java,
5433 java/util/prefs/BackingStoreException.java,
5434 java/util/prefs/InvalidPreferencesFormatException.java,
5435 java/util/prefs/NodeChangeEvent.java,
5436 java/util/prefs/NodeChangeListener.java,
5437 java/util/prefs/PreferenceChangeEvent.java,
5438 java/util/prefs/PreferenceChangeListener.java,
5439 java/util/prefs/Preferences.java,
5440 java/util/prefs/PreferencesFactory.java
5441 * Makefile.in: Regenerated.
5442
5443 2003-02-13 Michael Koch <konqueror@gmx.de>
5444
5445 * java/net/NetPermission.java
5446 (NetPermission): Make doucmentation match the method declaration.
5447 * java/net/NetworkInterface.java
5448 (equals): Reformated for GNU coding style.
5449 * java/net/ServerSocket.java: Merged with classpath.
5450 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5451 * java/net/SocketImpl.java
5452 (localPort): Merged with classpath (initialize with -1).
5453 * java/net/SocketPermission.java: Merged with classpath (reindented).
5454 * java/net/URLDecoder.java: Merged with classpath (reindented).
5455
5456 2003-02-13 Michael Koch <konqueror@gmx.de>
5457
5458 * java/awt/GridBagConstraints.java
5459 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5460 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5461 * java/awt/KeyboardFocusManager.java
5462 (setGlobalCurrentFocusCycleRoot): Must be public.
5463 * java/awt/MenuComponent.java
5464 (MenuComponent): Must be public.
5465 * java/awt/Toolkit.java:
5466 Added some empty lines to make documentation more readable.
5467 (getFontPeer): Added @deprecated.
5468 (getColorModel): Added exception documentation.
5469 (getProperty): Fixed documentation.
5470
5471 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5472
5473 * configure.host (alpha*-*): Default to -mieee.
5474 * configure.in (IEEESPEC): New.
5475 * libgcj.spec.in (jc1): Add IEEESPEC.
5476 * configure: Rebuild.
5477
5478 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5479
5480 * include/win32.h: Include ws2tcpip.h instead of
5481 winsock.h to obtain definition of the socklen_t type.
5482 Remove IP_TOS definition - not needed with ws2tcpip.h
5483 (_Jv_connect): Correct slight formatting error.
5484
5485 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5486
5487 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5488 size of the arguments for a JNI function. For Win32,
5489 modify to search for all forms of possible exported
5490 names of an stdcall JNI function.
5491 (_Jv_JNIMethod::call): Modify to calculate the size
5492 of the arguments passed to a JNI function and pass
5493 it to _Jv_LookupJNIMethod.
5494
5495 2003-02-12 Michael Koch <konqueror@gmx.de>
5496
5497 * java/nio/channels/Channels.java: New file.
5498 * Makefile.am
5499 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5500 * Makefile.in: Regenerated.
5501
5502 2003-02-12 Michael Koch <konqueror@gmx.de>
5503
5504 * java/nio/ByteBuffer.java
5505 (allocate): Implemented.
5506 (wrap): Implemented.
5507 * java/nio/CharBuffer.java:
5508 Some documentation added and reworked.
5509 (endian): Removed.
5510 (allocate): Implemented.
5511 (wrap): Implemented.
5512 (array): Throw exceptions.
5513 (arrayOffset): Throw exceptions.
5514 (toString): Implemented.
5515 (length): Implemented.
5516 (put): Implemented.
5517 (charAt): Implemented.
5518
5519 2003-02-11 John Leuner <jewel@debian.org>
5520
5521 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5522 reads from end of file.
5523
5524 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5525
5526 * java/io/natFileDescriptorWin32.cc
5527 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5528 returns with Win32 error code ERROR_BROKEN_PIPE.
5529
5530 2003-02-11 Michael Koch <konqueror@gmx.de>
5531
5532 * Makefile.in
5533 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5534
5535 2003-02-11 Michael Koch <konqueror@gmx.de>
5536
5537 * gnu/java/nio/ByteBufferImpl.java:
5538 Reformated and removed some code.
5539 (backing_buffer): Removed.
5540 (array_offset): Removed.
5541 (ro): Renamed to readOnly.
5542 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5543 * gnu/java/nio/CharBufferImpl.java:
5544 Reformated and removed some code.
5545 (array_offset): Removed.
5546 (ro): Renamed to readOnly.
5547 (CharBufferImpl): Use parent constructor, initialize readOnly.
5548 (inc_pos): Removed.
5549 (order): New method.
5550 * gnu/java/nio/DoubleBufferImpl.java:
5551 Reformated and removed some code.
5552 (array_offset): Removed.
5553 (ro): Renamed to readOnly.
5554 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5555 (inc_pos): Removed.
5556 (order): New method.
5557 * gnu/java/nio/FloatBufferImpl.java:
5558 Reformated and removed some code.
5559 (array_offset): Removed.
5560 (ro): Renamed to readOnly.
5561 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5562 (inc_pos): Removed.
5563 (order): New method.
5564 * gnu/java/nio/IntBufferImpl.java:
5565 Reformated and removed some code.
5566 (array_offset): Removed.
5567 (ro): Renamed to readOnly.
5568 (IntBufferImpl): Use parent constructor, initialize readOnly.
5569 (inc_pos): Removed.
5570 (order): New method.
5571 * gnu/java/nio/LongBufferImpl.java:
5572 Reformated and removed some code.
5573 (array_offset): Removed.
5574 (ro): Renamed to readOnly.
5575 (LongBufferImpl): Use parent constructor, initialize readOnly.
5576 (inc_pos): Removed.
5577 (order): New method.
5578 * gnu/java/nio/ShortBufferImpl.java:
5579 Reformated and removed some code.
5580 (array_offset): Removed.
5581 (ro): Renamed to readOnly.
5582 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5583 (inc_pos): Removed.
5584 (order): New method.
5585 * Makefile.am
5586 (ordinary_java_source_files): Added the following files:
5587 gnu/java/nio/ByteBufferImpl.java
5588 gnu/java/nio/CharBufferImpl.java
5589 gnu/java/nio/DoubleBufferImpl.java
5590 gnu/java/nio/FloatBufferImpl.java
5591 gnu/java/nio/IntBufferImpl.java
5592 gnu/java/nio/LongBufferImpl.java
5593 gnu/java/nio/ShortBufferImpl.java
5594 java/nio/DoubleBuffer.java
5595 java/nio/FloatBuffer.java
5596 java/nio/IntBuffer.java
5597 java/nio/LongBuffer.java
5598 java/nio/ShortBuffer.java
5599 (nat_source_files): Added the following files:
5600 gnu/java/nio/natByteBufferImpl.cc
5601 gnu/java/nio/natCharBufferImpl.cc
5602 gnu/java/nio/natDoubleBufferImpl.cc
5603 gnu/java/nio/natFloatBufferImpl.cc
5604 gnu/java/nio/natIntBufferImpl.cc
5605 gnu/java/nio/natLongBufferImpl.cc
5606 gnu/java/nio/natShortBufferImpl.cc
5607 * Makefile.in: Regenerated.
5608
5609 2003-02-11 Michael Koch <konqueror@gmx.de>
5610
5611 * gnu/java/nio/natCharBufferImpl.cc
5612 (nio_cast): Removed.
5613 (nio_put_*): Removed.
5614 (nio_get_*): Removed.
5615 * gnu/java/nio/natDoubleBufferImpl.cc
5616 (nio_cast): Removed.
5617 (nio_put_*): Removed.
5618 (nio_get_*): Removed.
5619 * gnu/java/nio/natFloatBufferImpl.cc
5620 (nio_cast): Removed.
5621 (nio_put_*): Removed.
5622 (nio_get_*): Removed.
5623 * gnu/java/nio/natIntBufferImpl.cc
5624 (nio_cast): Removed.
5625 (nio_put_*): Removed.
5626 (nio_get_*): Removed.
5627 * gnu/java/nio/natLongBufferImpl.cc
5628 (nio_cast): Removed.
5629 (nio_put_*): Removed.
5630 (nio_get_*): Removed.
5631 * gnu/java/nio/natShortBufferImpl.cc
5632 (nio_cast): Removed.
5633 (nio_put_*): Removed.
5634 (nio_get_*): Removed.
5635 * gnu/java/nio/SelectorProviderImpl.java
5636 (openDatagramChannel): Throws IOException.
5637 (openPipe): Throws IOException.
5638 (openSelector): Throws IOException.
5639 (openServerSocketChannel): Throws IOException.
5640 (openSocketChannel): Throws IOException.
5641 * gnu/java/nio/ServerSocketChannelImpl.java
5642 (ServerSocketChannelImpl): Throws IOException.
5643 (implCloseSelectableChannel): Throws IOException.
5644 (implConfigureBlocking): Throws IOException.
5645 * java/nio/ByteBuffer.java
5646 (readOnly): Removed.
5647 (hasArray): Use isReadOnly() instead of readOnly.
5648 (array): Use isReadOnly() instead of readOnly.
5649 (arrayOffset): Use isReadOnly() instead of readOnly.
5650 * java/nio/CharBuffer.java
5651 (CharBuffer): Implements Cloneable and CharSequence.
5652
5653 2003-02-11 Michael Koch <konqueror@gmx.de>
5654
5655 * java/nio/DoubleBuffer.java
5656 (DoubleBuffer): Implements Comparable.
5657 (endian): Removed.
5658 (array_offset): New member variable.
5659 (DoubleBuffer): New constuctor.
5660 (get): May not be final.
5661 (put): May not be final.
5662 (arrayOffset): Implemented.
5663 (order): Made abstract.
5664 (order): Removed.
5665 (as*Buffer): Removed.
5666 (get*): Removed.
5667 (put*): Removed.
5668 * java/nio/FloatBuffer.java
5669 (FloatBuffer): Implements Comparable.
5670 (endian): Removed.
5671 (array_offset): New member variable.
5672 (FloatBuffer): New constuctor.
5673 (get): May not be final.
5674 (put): May not be final.
5675 (arrayOffset): Implemented.
5676 (order): Made abstract.
5677 (order): Removed.
5678 (as*Buffer): Removed.
5679 (get*): Removed.
5680 (put*): Removed.
5681 * java/nio/IntBuffer.java
5682 (IntBuffer): Implements Comparable.
5683 (endian): Removed.
5684 (array_offset): New member variable.
5685 (IntBuffer): New constuctor.
5686 (get): May not be final.
5687 (put): May not be final.
5688 (arrayOffset): Implemented.
5689 (order): Made abstract.
5690 (order): Removed.
5691 (as*Buffer): Removed.
5692 (get*): Removed.
5693 (put*): Removed.
5694 * java/nio/LongBuffer.java
5695 (LongBuffer): Implements Comparable.
5696 (endian): Removed.
5697 (array_offset): New member variable.
5698 (LongBuffer): New constuctor.
5699 (get): May not be final.
5700 (put): May not be final.
5701 (arrayOffset): Implemented.
5702 (order): Made abstract.
5703 (order): Removed.
5704 (as*Buffer): Removed.
5705 (get*): Removed.
5706 (put*): Removed.
5707 * java/nio/ShortBuffer.java
5708 (ShortBuffer): Implements Comparable.
5709 (endian): Removed.
5710 (array_offset): New member variable.
5711 (ShortBuffer): New constuctor.
5712 (get): May not be final.
5713 (put): May not be final.
5714 (arrayOffset): Implemented.
5715 (order): Made abstract.
5716 (order): Removed.
5717 (as*Buffer): Removed.
5718 (get*): Removed.
5719 (put*): Removed.
5720
5721 2003-02-11 Michael Koch <konqueror@gmx.de>
5722
5723 * java/nio/channels/SelectionKey.java
5724 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5725 values.
5726
5727 2003-02-11 Michael Koch <konqueror@gmx.de>
5728
5729 * java/nio/channels/DatagramChannel.java
5730 (write): Throws IOException.
5731 (connect): Throws IOException.
5732 (disconnect): Throws IOException.
5733 (read): Throws IOException.
5734 (receive): Throws IOException.
5735 (send): Throws IOException.
5736 * java/nio/channels/Pipe.java
5737 (open): Throws IOException.
5738 * java/nio/channels/SelectableChannel.java
5739 (configureBlocking): Throws IOException.
5740 * java/nio/channels/ServerSocketChannel.java
5741 (accept): Throws IOException.
5742 * java/nio/channels/SocketChannel.java
5743 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5744 GatheringByteChannel.
5745 (read): Throws IOException.
5746 (write): Throws IOException.
5747 (finishConnect): Throws IOException.
5748 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5749 (end): Throws AsynchronousCloseException.
5750 * java/nio/channels/spi/AbstractSelectableChannel.java
5751 (configureBlocking): Throws IOException.
5752 (implCloseChannel): Throws IOException.
5753 (implCloseSelectableChannel): Throws IOException.
5754 (implConfigureBlocking): Throws IOException.
5755 * java/nio/channels/spi/SelectorProvider.java
5756 (openDatagramChannel): Throws IOException.
5757 (openPipe): Throws IOException.
5758 (openSelector): Throws IOException.
5759 (openServerSocketChannel): Throws IOException.
5760 (openSocketChannel): Throws IOException.
5761
5762 2003-02-11 Michael Koch <konqueror@gmx.de>
5763
5764 * gnu/java/nio/FileLockImpl.java,
5765 java/nio/channels/FileLock.java: New files.
5766
5767 2003-02-11 Michael Koch <konqueror@gmx.de>
5768
5769 * java/nio/charset/IllegalCharsetNameException.java
5770 (serialVersionUID): New member variable.
5771 (charsetName): New member variable.
5772 (IllegalCharsetException): New implementation.
5773 (getCharsetName): New implementation.
5774 * java/nio/charset/UnsupportedCharsetException.java
5775 (serialVersionUID): New member variable.
5776 (charsetName): New member variable.
5777 (UnsupportedCharsetException): New implementation.
5778 (getCharsetName): New implementation.
5779
5780 2003-02-10 Tom Tromey <tromey@redhat.com>
5781
5782 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5783 (ex): Renamed from sqlException.
5784
5785 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5786
5787 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5788 method used to ensure seeding has occurred and that a specific
5789 seed can be set and used.
5790
5791 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5792
5793 * java/lang/Win32Process.java (destroy): Declare as native.
5794 (hasExited): New native method.
5795 (exitValue): Define.
5796 (getErrorStream): Likewise.
5797 (getInputStream): Likewise.
5798 (getOutputStream): Likewise.
5799 (waitFor): Declare as native.
5800 (startProcess): New native method.
5801 (cleanup): Likewise.
5802 (ConcreteProcess): Define.
5803 (outputStream, inputStream, errorStream): New members.
5804 (procHandle, exitCode): Likewise.
5805
5806 * java/lang/natWin32Process.cc
5807 (java::lang::ConcreteProcess::cleanup): Define.
5808 (java::lang::ConcreteProcess::destroy): Likewise.
5809 (java::lang::ConcreteProcess::hasExited): Likewise.
5810 (java::lang::ConcreteProcess::waitFor): Likewise.
5811 (new_string): Likewise.
5812 (java::lang::ConcreteProcess::startProcess): Likewise.
5813
5814 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5815
5816 * java/math/BigInteger.java:
5817 Updated notice to include years 2002 and 3.
5818 Added 2 private (int) arrays with values from the HAC (Handbook of
5819 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5820 and t[] that contains nbr. of tests --used in isProbablePrime().
5821
5822 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5823
5824 * java/math/BigInteger.java (make(int[],int), add(int,int),
5825 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5826 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5827 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5828 make(long).
5829
5830 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5831 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5832 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5833 BIs and returns void.
5834 (modInverse(BI)): Use new signatures of euclidInv().
5835
5836 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5837 static small primes instead of remainder().
5838 Use pre-computed max nbr of trials based on bitlength of BI to test.
5839 Use pre-computed small primes for the trial tests instead of random
5840 numbers.
5841
5842 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5843 not used.
5844
5845 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5846 invoacation of MPN.chars_per_word(). not used.
5847
5848 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5849 local var and used where needed.
5850
5851 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5852 Combined declaration with initialisation of locals.
5853 Removed unused var.
5854
5855 * java/math/BigInteger.java: Style changes
5856 (pow(int)): Removed 'else' keyword.
5857 (toString(int)): idem.
5858 (doubleValue()): idem.
5859 (bitLength()): idem.
5860 (equals(Object)): Use static methods name in same class w/o prepending
5861 class name.
5862 (doubleValue()): idem.
5863 (setNegative(BI)): idem.
5864 (negate()): idem.
5865 (and(BI,int)): idem.
5866 (and(BI)): idem.
5867 (gcd(BI)): idem.
5868 (byteArrayToIntArray()): Removed casting to (int). this is
5869 std. behaviour.
5870 (canonicalize()): idem.
5871 (alloc(int)): Always instantiate a new BI.
5872
5873 2003-02-10 Tom Tromey <tromey@redhat.com>
5874
5875 * java/sql/Timestamp.java (compareTo(Object)): New method.
5876 (compareTo(Timestamp)): Likewise.
5877 (serialVersionUID): Updated.
5878
5879 2003-02-07 Mark Wielaard <mark@klomp.org>
5880
5881 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5882 when verify is true.
5883 (JarFile(File, boolean)): Likewise.
5884 (manifestRead): Set manifestRead field correctly.
5885
5886 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5887
5888 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5889 tests; see patch #1016 on Savannah.
5890
5891 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5892
5893 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5894 (toString): do not return Strings starting with . and - erroneously.
5895 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5896 DiagBigDecimal.
5897
5898 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5899
5900 * java/beans/PropertyDescriptor.java
5901 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5902 methods.
5903 (PropertyDescriptor(String, Class, String, String)): Likewise.
5904 (PropertyDescriptor(String, Method, Method): Factor out getter and
5905 setter method sanity checks into new method.
5906 (findMethods): Don't do parameter sanity checking of get method here.
5907 (checkMethods): New method.
5908
5909 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5910
5911 * java/beans/PropertyDescriptor.java: Reformat.
5912
5913 2003-02-04 Tom Tromey <tromey@redhat.com>
5914
5915 * java/io/PipedOutputStream.java (flush): Declare as throwing
5916 IOException.
5917 (close): Likewise.
5918 * java/io/PipedWriter.java (close): Declare as throwing
5919 IOException.
5920 * java/io/StringWriter.java (close): Declare as throwing
5921 IOException.
5922
5923 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5924
5925 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5926 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5927 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5928 "_JNI_OnLoad@8" (MSVC).
5929
5930 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5931
5932 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5933 convention on Win32 to invoke native JNI methods.
5934
5935 2003-02-03 Andrew Haley <aph@redhat.com>
5936
5937 * configure.host (x86_64): Enable interpreter.
5938
5939 2003-02-03 Andrew Haley <aph@redhat.com>
5940
5941 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5942 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5943 * configure.in (BACKTRACESPEC): New.
5944 * configure: Regenerate.
5945
5946 2003-02-02 Tom Tromey <tromey@redhat.com>
5947
5948 * configure: Rebuilt.
5949 * configure.in (TOOLKIT) [xlib]: Set correctly.
5950
5951 * Makefile.in: Rebuilt.
5952 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5953 libstdc++.
5954
5955 2003-01-31 Mark WIelaard <mark@klomp.org>
5956
5957 * Makefile.in: Rebuilt.
5958 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5959
5960 2003-01-31 Tom Tromey <tromey@redhat.com>
5961
5962 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5963 cast to element type.
5964 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5965 (_Jv_JNI_GetObjectArrayElement): Likewise.
5966
5967 * Makefile.in: Rebuilt.
5968 * Makefile.am (cond_x_ltlibrary): Renamed library to
5969 lib-gnu-awt-xlib.la.
5970 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5971 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5972 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5973 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5974 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5975 (lib_gnu_awt_xlib_la_LINK): Likewise.
5976 (install-exec-hook): Removed.
5977 (lib-gnu-awt-xlib.la): Renamed.
5978
5979 2003-01-31 Tom Tromey <tromey@redhat.com>
5980
5981 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5982 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5983 aclocal.m4 and lost in some merge.
5984
5985 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5986 Don't try to find graphics configuration.
5987 * java/awt/Toolkit.java (default_toolkit_name): Use new
5988 Configuration entry.
5989 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5990 New global.
5991 * configure: Rebuilt.
5992 * configure.in (TOOLKIT): New subst.
5993 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5994 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5995 directory. Make output directories for .c files.
5996 * Makefile.in: Rebuilt.
5997 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5998 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5999 (all_java_source_files): Added new sources.
6000 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6001 (gtk_c_files): New macro.
6002 (gtk_c_source_files): New macro.
6003 (cond_gtk_ltlibrary): New macro.
6004 ($(gtk_c_files)): New target.
6005 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6006 (gtk_awt_peer_sources): New macro.
6007 (gtk_c_headers): New macro.
6008 ($(gtk_c_headers)): New target.
6009 (ACLOCAL_AMFLAGS): New macro.
6010 * gtk.m4, glib.m4, libart.m4: New files.
6011 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6012 gnu/java/awt/peer/gtk/GdkGraphics.java,
6013 gnu/java/awt/peer/gtk/GtkArg.java,
6014 gnu/java/awt/peer/gtk/GtkArgList.java,
6015 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6016 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6017 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6018 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6019 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6020 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6021 gnu/java/awt/peer/gtk/GtkClipboard.java,
6022 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6023 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6024 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6025 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6026 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6027 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6028 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6029 gnu/java/awt/peer/gtk/GtkImage.java,
6030 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6031 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6032 gnu/java/awt/peer/gtk/GtkListPeer.java,
6033 gnu/java/awt/peer/gtk/GtkMainThread.java,
6034 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6035 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6036 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6037 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6038 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6039 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6040 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6041 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6042 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6043 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6044 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6045 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6046 gnu/java/awt/peer/gtk/GtkToolkit.java,
6047 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6048 gnu/java/awt/peer/gtk/TestAWT.java,
6049 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6051 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6052 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6053 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6054 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6055 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6056 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6057 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6058 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6059 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6060 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6061 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6062 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6063 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6064 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6065 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6066 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6067 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6068 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6069 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6070 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6071 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6072 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6073 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6074 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6075 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6076 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6077 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6078 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6079 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6080 jni/classpath/native_state.c, jni/classpath/native_state.h,
6081 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6082
6083 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6084
6085 * java/util/Properties.java (load): Ignore backslash before EOF.
6086
6087 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6088
6089 * java/lang/natClass.cc (initializeClass): Check tables when
6090 (state == JV_STATE_IN_PROGRESS).
6091 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6092 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6093 interpreted classes.
6094 (linkClass0): Use _Jv_WaitForState.
6095
6096 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6097
6098 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6099 object when finished.
6100
6101 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6102
6103 * libjava/configure.host: Disable can_unwind_signal on darwin.
6104
6105 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6106
6107 Fixes PR java/9254:
6108 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6109 additionally containing id of the owner thread as well as
6110 the number of nested times the thread has acquired the mutex.
6111 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6112 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6113 (_Jv_MutexUnlock): Check if really the owner thread, reset
6114 owner thread id to 0 before leaving, if leaving for the last
6115 time.
6116 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6117 refcount.
6118 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6119 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6120 the passed mutex.
6121 Pass handle of the broadcast event, instead of a pointer to it
6122 in Win32 ResetEvent( ) call.
6123 Remove incorrect return values.
6124 (_Jv_CondDestroy): Close both event handles and delete
6125 critical section.
6126 (_Jv_CondNotify): Check if really the owner thread.
6127 (_Jv_CondNotifyAll): Check if really the owner thread.
6128 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6129 (really_start): Use SetEvent( ) to signal daemon_cond.
6130 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6131 WaitForSingleObject( ) instead to wait for daemon_cond to be
6132 signalled.
6133
6134 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6135
6136 * configure.in: Specifically define HAVE_BACKTRACE if building
6137 for MinGW.
6138 * include/win32.h: Remove HAVE_BACKTRACE definition.
6139 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6140 * configure: Rebuilt.
6141
6142 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6143
6144 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6145 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6146 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6147 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6148 * Makefile.in, configure: Rebuilt.
6149
6150 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6151
6152 Fixes PR java/9253:
6153 * java/io/natFileWin32.cc (performList): Append only "*.*"
6154 if the canonical file path already has a "\" at the end.
6155
6156 2003-01-24 Tom Tromey <tromey@redhat.com>
6157
6158 * defineclass.cc (handleMethodsEnd): Precompute code for static
6159 method.
6160 (handleCodeAttribute): Likewise.
6161 * resolve.cc (ncode): Use run_class for unsynchronized static
6162 methods.
6163 * include/java-interp.h (class _Jv_InterpMethod): Declare
6164 run_class.
6165 * interpret.cc (run_synch_class): Initialize class.
6166 (run) [insn_invokestatic]: Don't initialize class.
6167 [insn_anewarray]: Likewise.
6168 [insn_multianewarray]: Likewise.
6169 (run_class): New function.
6170
6171 2003-01-24 Tom Tromey <tromey@redhat.com>
6172
6173 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6174 comment.
6175
6176 2003-01-22 Andrew Haley <aph@redhat.com>
6177
6178 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6179 * configure.host (CHECKREFSPEC): Define for x86_64.
6180
6181 2003-01-21 Tom Tromey <tromey@redhat.com>
6182
6183 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6184 search at 2, not 3.
6185
6186 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6187
6188 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6189 looking at any characters.
6190 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6191 be used.
6192 (isAbsolute): Check path's length as well.
6193
6194 2003-01-17 Mark Wielaard <mark@klomp.org>
6195
6196 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6197 (nat_source_files): Add natVMObjectStreamClass.cc.
6198 * Makefile.in: Regenerated.
6199 * gcj/javaprims.h (namespace java): Regenerated.
6200 * java/io/ObjectStreamClass.java (getClassUID): Call
6201 VMObjectStreamClass.hasClassInitializer().
6202 (hasClassInitializer): Removed.
6203 * java/io/VMObjectStreamClass.java: New class.
6204 * java/io/natVMObjectStreamClass.cc: New file.
6205 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6206
6207 2003-01-16 Mark Wielaard <mark@klomp.org>
6208
6209 * java/net/SocketImpl.java (toString): Don't explicitly call
6210 toString() on possible null address.
6211
6212 2003-01-16 Michael Koch <konqueror@gmx.de>
6213
6214 * java/net/MulticastSocket.java
6215 (setInterface): Reindented.
6216
6217 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6218
6219 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6220 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6221 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6222 translateY arguments. Implement.
6223 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6224 down translation arguments.
6225 (drawPolyline, drawPolygon): Fix incorrect tests.
6226 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6227 translateX and translateY arguments.
6228
6229 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6230
6231 * Makefile.in: Rebuilt.
6232 * Makefile.am (xlib_includes): New macro.
6233 (INCLUDES): Use it.
6234
6235 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6236
6237 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6238 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6239 16-bit display mode.
6240
6241 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6242
6243 * java/awt/CardLayout.java (show): Rewrote.
6244 (gotoComponent): Removed `target' argument. Simplified code.
6245 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6246 Changed all callers.
6247 (NONE): Removed.
6248
6249 2003-01-14 Michael Koch <konqueror@gmx.de>
6250
6251 * java/net/InetSocketAddress.java
6252 (serialVersionUID): New member variable.
6253 * java/net/NetPermission.java
6254 (NetPermission): Dont implement java.io.Serialization directly.
6255 * java/net/SocketAddress.java:
6256 (serialVersionUID): Documentation added.
6257
6258 2003-01-14 Michael Koch <konqueror@gmx.de>
6259
6260 * java/awt/Label.java
6261 (Label): Implements javax.accessibility.Accessible;
6262 * java/awt/List.java
6263 (List): Implements javax.accessibility.Accessible;
6264 * java/awt/ScrollPane.java
6265 (ScrollPane): Implements javax.accessibility.Accessible;
6266 * java/awt/Scrollbar.java
6267 (Scrollbar): Implements javax.accessibility.Accessible;
6268 * java/awt/TextComponent.java
6269 (setCaretPosition): Throw exception, documentation added.
6270 * java/awt/Toolkit.java:
6271 Added some newlines in method documentations.
6272 (createButton): Exception documentation added.
6273 (createTextField): Exception documentation added.
6274 (createLabel): Exception documentation added.
6275 (createList): Exception documentation added.
6276 (createCheckbox): Exception documentation added.
6277 (createScrollbar): Exception documentation added.
6278 (createScrollPane): Exception documentation added.
6279 (createTextArea): Exception documentation added.
6280 (createChoice): Exception documentation added.
6281 (createFrame): Exception documentation added.
6282 (createWindow): Exception documentation added.
6283 (createDialog): Exception documentation added.
6284 (createMenuBar): Exception documentation added.
6285 (createMenu): Exception documentation added.
6286 (createMenuItem): Exception documentation added.
6287 (createFileDialog): Exception documentation added.
6288 (createCheckboxMenuItem): Exception documentation added.
6289 (loadSystemColors): Exception documentation added.
6290 (setDynamicLayout): Exception documentation added.
6291 (isDynamicLayoutSet): Exception documentation added.
6292 (isDynamicLayoutActive): Exception documentation added.
6293 (getScreenSize): Exception documentation added.
6294 (getScreenResolution): Exception documentation added.
6295 (getScreenInsets): Exception documentation added.
6296 (getColorModel): Exception documentation added.
6297 (getSystemClipboard): Exception documentation added.
6298 (getSystemSelection): Exception documentation added.
6299 (getMenuShortcutKeyMask): Exception documentation added.
6300 (getSystemEventQueue): Exception documentation added.
6301 * java/awt/Window.java:
6302 Reindented some code.
6303 (Window): Centralized implementation, documentation added.
6304 (finalize): Documentation added.
6305 (hide): Fixed typo in comment.
6306 (getWindowListeners): Documentation added.
6307 * java/awt/color/ColorSpace.java
6308 (toRGB): Documentation added.
6309 * java/awt/color/ICC_ColorSpace.java
6310 (ICC_ColorSpace): Documentation added.
6311 (toRGB): Throw exception, documentation added.
6312 (fromRGB): Throw exception, documentation added.
6313 (toCIEXYZ): Documentation added.
6314 (fromCIEXYZ): Documentation added.
6315 (getMinValue): Documentation added.
6316 (getMaxValue): Documentation added.
6317 * java/awt/geom/Dimension2D.java
6318 (clone): Documentation added.
6319 * java/awt/geom/GeneralPath.java
6320 (clone): Documentation added.
6321 * java/awt/geom/Line2D.java
6322 (clone): Documentation added.
6323 * java/awt/geom/QuadCurve2D.java
6324 (clone): Documentation added.
6325 * java/awt/image/ColorModel.java
6326 (ColorModel): Throw exception, documentation added.
6327 * java/awt/image/ImageFilter.java
6328 (clone): Doesnt throw CloneNotSupportedException.
6329
6330 2003-01-14 Andrew Haley <aph@redhat.com>
6331
6332 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6333 in a try block.
6334
6335 2003-01-10 Andrew Haley <aph@redhat.com>
6336
6337 * include/dwarf2-signal.h: Remove x86_64.
6338 * configure.host (x86_64 DIVIDESPEC): Remove.
6339 * include/x86_64-signal.h: New file.
6340 * configure.in: Regenerate.
6341
6342 2003-01-10 Michael Koch <konqueror@gmx.de>
6343
6344 * java/net/DatagramSocket.java
6345 (ch): Description added.
6346 (remotePort): Initialize with -1.
6347 (connect): Doesnt throws SocketException.
6348 * java/net/MulticastSocket.java
6349 (setInterface): Merge with Classpath.
6350 * java/net/ServerSocket.java
6351 (closed): New member variable.
6352 (bind): Check if socket is closed.
6353 (close): Close an associated channel too, set new value to closed.
6354 (isBound): Reindented.
6355 (isClosed): Implemented.
6356 * java/net/Socket.java
6357 (closed): New member variable.
6358 (bind): Check if socket is closed.
6359 (connect): Check if socket is closed.
6360 (close): Close an associated channel too, set new value to closed.
6361 (isClosed): Implemented.
6362
6363 2003-01-10 Michael Koch <konqueror@gmx.de>
6364
6365 * java/awt/DisplayMode.java
6366 (equals): Fixed argument type and implementation.
6367
6368 2003-01-07 Tom Tromey <tromey@redhat.com>
6369
6370 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6371 JV_HASH_SYNCHRONIZATION.
6372 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6373 JV_HASH_SYNCHRONIZATION.
6374
6375 2003-01-07 Michael Koch <konqueror@gmx.de>
6376
6377 * java/net/DatagramSocket.java:
6378 Added classpath license info.
6379 (DatagramSocket): Merged description with classpath.
6380 (close): Merged description with classpath.
6381 (getChannel): Merged description with classpath.
6382 (getInetAddress): Merged description with classpath.
6383 (getPort): Merged description with classpath.
6384 (getLocalAddress): Merged description with classpath.
6385 (getLocalPort): Merged description with classpath.
6386 (getSoTimeout): Merged description with classpath.
6387 (setSoTimeout): Merged description with classpath.
6388 (getSendBufferSize): Merged description with classpath.
6389 (setSendBufferSize): Merged description with classpath.
6390 (getReceiveBufferSize): Merged description with classpath.
6391 (setReceiveBufferSize): Merged description with classpath.
6392
6393 2003-01-04 Tom Tromey <tromey@redhat.com>
6394
6395 * java/awt/List.java: Merged with Classpath.
6396
6397 2003-01-03 Mark Wielaard <mark@klomp.org>
6398
6399 * java/io/FileDescriptor.java (position): New private field.
6400 * java/io/natFileDescriptorPosix.cc (write): Up position.
6401 (setLength): Use and set position.
6402 (seek): Set position.
6403 (getFilePointer): Return position.
6404 (read): Up position.
6405
6406 2003-01-03 Mark Wielaard <mark@klomp.org>
6407
6408 Merge with Classpath:
6409 * java/io/ObjectStreamClass.java (lookup): Split method and call
6410 lookupForClassObject().
6411 (lookupForClassObject): New method.
6412 (isProxyClass): New field.
6413 (setClass): Set isProxyClass, add object to classLookupTable, set
6414 superClass and calculateOffsets.
6415 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6416 and not a proxy class.
6417 (setFields): Set accessible true for serialPersistentFields.
6418 (getClassUID): Same for suid. And check if suid is of type long.
6419 (hasClassInitializer): Don't throw NoSuchMethodError.
6420
6421 2003-01-03 Mark Wielaard <mark@klomp.org>
6422
6423 * java/io/FileInputStream.java (finalize): Don't explicitly
6424 finalize FileDescriptor.
6425
6426 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6427
6428 * configure.host (sparc*-*): Enable bytecode interpreter.
6429
6430 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6431
6432 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6433 Don't throw RemoteException.
6434 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6435 throw RemoteException.
6436
6437 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6438
6439 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6440 proxyHost): New static fields.
6441 (<clinit>): Initialize new fields.
6442 (connect): Use proxy if necessary.
6443 (usingProxy): Implement.
6444
6445 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6446
6447 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6448 (TreeIterator.remove): Prefer IllegalStateException over
6449 ConcurrentModificationException, to match Sun.
6450
6451 2002-12-22 Anthony Green <green@redhat.com>
6452
6453 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6454
6455 2003-01-02 Mark Wielaard <mark@klomp.org>
6456
6457 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6458 public.
6459 (HTTP_USE_PROXY): Add field.
6460 (getResponseVals): Only set responseCode when not yet explicitly
6461 set by subclass.
6462
6463 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6464 Mark Wielaard <mark@klomp.org>
6465
6466 * java/util/zip/ZipFile.java (entries): Now HashMap.
6467 (readLeShort(DataInput, byte[])): Read from given byte array.
6468 (readLeInt(DataInput, byte[]): Likewise.
6469 (readLeShort(byte[] b, int off)): New method.
6470 (readLeInt(byte[] b, int off)): Likewise.
6471 (readEntries): Use byte arrays to read info in bigger chunks.
6472 (getEntries): Return HashMap.
6473 (getEntry): Use HashMap.
6474 (locBuf): New private field.
6475 (checkLocalHeader): Use locBuf to read info in one chunk.
6476 (getInputStream): Use entries HashMap, wrap PartialInputStream
6477 in BufferedInputStream.
6478 (ZipEntryEnumeration): Use HashMap and Interator.
6479
6480 2003-01-02 Mark Wielaard <mark@klomp.org>
6481 Jeroen Frijters <jeroen@sumatra.nl>
6482
6483 * java/net/URLClassLoader.java (Resource.getCodeSource):
6484 Fix check certs == null.
6485 (getCanonicalFileURL): Removed method.
6486 (JarURLLoader): Don't call removed method.
6487 (FileURLLoader): Likewise.
6488 (FileURLLoader.getResource): Don't canonicalize file name.
6489
6490 2003-01-01 Tom Tromey <tromey@redhat.com>
6491
6492 * Makefile.in: Rebuilt.
6493 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6494 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6495 java/awt/BufferCapabilities.java, java/awt/Button.java,
6496 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6497 java/awt/Container.java, java/awt/Cursor.java,
6498 java/awt/EventQueue.java, java/awt/FileDialog.java,
6499 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6500 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6501 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6502 java/awt/Scrollbar.java, java/awt/TextArea.java,
6503 java/awt/TextField.java, java/awt/color/CMMException.java,
6504 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6505 java/awt/color/ProfileDataException.java,
6506 java/awt/datatransfer/Clipboard.java,
6507 java/awt/datatransfer/DataFlavor.java,
6508 java/awt/datatransfer/FlavorMap.java,
6509 java/awt/datatransfer/SystemFlavorMap.java,
6510 java/awt/dnd/DragGestureEvent.java,
6511 java/awt/dnd/DragGestureRecognizer.java,
6512 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6513 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6514 java/awt/im/InputMethodHighlight.java,
6515 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6516 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6517
6518 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6519 `op' to BufferedImageOp.
6520
6521 2002-12-31 Tom Tromey <tromey@redhat.com>
6522
6523 Fix for PR libgcj/7416:
6524 * javax/naming/InitialContext.java (init): Use
6525 gnu.classpath.home.url.
6526 * java/security/Security.java: Use new properties.
6527 (loadProviders): Accept base url; use it.
6528 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6529 gnu.classpath.home.url.
6530 (gnu.classpath.home.url): Define.
6531 (gnu.classpath.vm.shortname): Likewise.
6532
6533 2002-12-31 Tom Tromey <tromey@redhat.com>
6534 Ranjit Mathew <rmathew@hotmail.com>
6535
6536 Fix for PR libgcj/8997:
6537 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6538 Include platform.h.
6539 * include/posix.h (_Jv_platform_usleep): New function.
6540 * include/win32.h (_Jv_platform_usleep): New function.
6541
6542 2002-12-29 Tom Tromey <tromey@redhat.com>
6543
6544 * gcj/javaprims.h: Updated.
6545 * scripts/classes.pl (scan): Removed stray semicolon.
6546
6547 2002-12-30 Mark Wielaard <mark@klomp.org>
6548
6549 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6550 if zero or smaller.
6551
6552 2002-12-30 Mark Wielaard <mark@klomp.org>
6553
6554 * java/util/Properties (formatForOutput): Don't fall through to
6555 default case after escaping character.
6556
6557 2002-12-30 Mark Wielaard <mark@klomp.org>
6558
6559 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6560 against count.
6561
6562 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6563
6564 * boehm.cc: Remove stray semicolon.
6565 * interpret.cc: Likewise.
6566 * prims.cc: Likewise.
6567 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6568 earlier to ensure default arguments are processed.
6569 * gcj/array.h (JArray): Add forward declaration.
6570 (elements): Likewise.
6571 * gcj/javaprim.h: Remove stray semicolons.
6572 * include/bohm-gc.h: Likewise.
6573 * include/jni.h: Likewise.
6574 * include/jvm.h: Likewise.
6575 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6576
6577 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6578
6579 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6580 of catch_type.
6581 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6582 idt tables after initializing superclass.
6583 * java/lang/natClassLoader.cc (uaddr): New typedef.
6584 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6585 if they are constant pool indicies. Don't link vtable, otable yet.
6586
6587 2002-12-21 Anthony Green <green@redhat.com>
6588
6589 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6590 libraries.
6591 * Makefile.in: Rebuilt.
6592
6593 2002-12-19 Anthony Green <green@redhat.com>
6594
6595 * Makefile.am (ordinary_java_source_files): Add
6596 org/xml/sax/helpers/NewInstance.java.
6597 * Makefile.in: Rebuilt.
6598 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6599 org/xml/sax/helpers/package.html: New files.
6600 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6601 http://www.saxproject.org.
6602
6603 2002-12-19 Andrew Haley <aph@redhat.com>
6604
6605 * java/util/natResourceBundle.cc: Include
6606 ArrayIndexOutOfBoundsException.h.
6607 (getCallingClassLoader): Don't put upper bound on stack search.
6608 Catch ArrayIndexOutOfBoundsException.
6609
6610 2002-12-19 Tom Tromey <tromey@redhat.com>
6611
6612 * libtool-version: Increased `current'.
6613
6614 2002-12-19 Tom Tromey <tromey@redhat.com>
6615
6616 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6617 comment.
6618 * java/lang/ClassLoader.java (defineClass): Use chained
6619 exception when rethrowing.
6620 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6621 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6622 constants.
6623 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6624 (_Jv_PrepareClass): Use it.
6625 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6626 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6627 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6628 (Class): _Jv_PrepareMissingMethods now friend.
6629 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6630 Record `NULL' for system class loader.
6631 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6632 system class loader.
6633 (_Jv_FindClassInCache): Likewise.
6634 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6635 (_Jv_FindClass): Special case system class loader.
6636 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6637 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6638 vtable slots.
6639 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6640 in a final class.
6641 (_getDeclaredMethod): Don't return synthetic methods.
6642 (getDeclaredMethods): Likewise.
6643 (_getMethod): Likewise.
6644 (_getMethods): Likewise.
6645
6646 2002-12-18 Raif Naffah <raif@fl.net.au>
6647
6648 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6649 canonical form after divide().
6650 (modInverse): Likewise.
6651
6652 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6653 Mark Wielaard <mark@klomp.org>
6654
6655 * java/security/SecurityRandom (digest): Removed field.
6656 (SecureRandom): Check all providers for case-insensitive SecureRandom
6657 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6658 if necessary.
6659 (getInstance(String,Provider,boolean): New method.
6660 (getInstance(String)): Use new method.
6661 (getInstance(String,String)): Likewise.
6662 (getInstance(String,Provider)): Likewise.
6663
6664 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6665
6666 * java/security/Security.java (loadProviders): Increment i only once.
6667
6668 2002-12-12 Mark Wielaard <mark@klomp.org>
6669
6670 * java/lang/ClassLoader.java (resolveClass0): Transform
6671 ClassNotFoundException to NoClassDefFoundError. Transform all other
6672 throwables to LinkageError.
6673
6674 2002-12-11 Tom Tromey <tromey@redhat.com>
6675
6676 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6677
6678 * java/lang/ClassLoader.java (loadedClasses): New field.
6679 (defineClass): Fixed indentation. Put new class in
6680 loadedClasses.
6681 (findLoadedClass): Implement here.
6682 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6683
6684 2002-12-10 Tom Tromey <tromey@redhat.com>
6685
6686 * Makefile.in: Rebuilt.
6687 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6688 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6689 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6690 * java/lang/natClassLoader.cc
6691 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6692
6693 2002-12-10 Mark Wielaard <mark@klomp.org>
6694 Tom Tromey <tromey@redhat.com>
6695
6696 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6697 (JarURLLoader): Use it.
6698 (FileURLLoader): Likewise.
6699 (JarURLResource.getURL): Use chained exception.
6700 (FileResource.getURL): Likewise.
6701 (FileURLLoader.getResource): Use canonical file name.
6702 (addURL): Indentation fix.
6703
6704 2002-12-10 Tom Tromey <tromey@redhat.com>
6705
6706 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6707 From Laurent Bardet <l.bardet@magic.fr>.
6708
6709 2002-12-09 Tom Tromey <tromey@redhat.com>
6710
6711 * include/win32.h (_Jv_platform_solib_prefix): New define.
6712 (_Jv_platform_solib_suffix): Likewise.
6713 * include/posix.h (_Jv_platform_solib_prefix): New define.
6714 (_Jv_platform_solib_suffix): Likewise.
6715 * java/lang/natRuntime.cc: Include StackTrace.h.
6716 (_load): Use findLibrary and new platform defines.
6717 (nativeGetLibname): Use new platform defines.
6718
6719 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6720 `t' won't be null.
6721
6722 2002-12-08 Mark Wielaard <mark@klomp.org>
6723
6724 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6725 cache remote jar files.
6726 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6727 add File.separator to URL when it is a directory.
6728 * java/lang/ClassLoader.java: Add Classpath javadoc.
6729 (parent): final.
6730 (getParent): Add (disabled) security check.
6731 (findLibrary): New default method.
6732 * java/net/JarURLConnection.java (getManifest): Implement.
6733 (getInputStream): Only create InputStream when entry exists.
6734 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6735 when they exist.
6736 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6737
6738 2002-12-08 Mark Wielaard <mark@klomp.org>
6739
6740 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6741 (lastDefaultLocale): New field.
6742 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6743 resourceBundleCache.
6744
6745 2002-12-06 Mark Wielaard <mark@klomp.org>
6746
6747 * java/net/InetAddress.java (toString): Use hostname when not null,
6748 don't do an explicit reverse getHostName() lookup.
6749 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6750 NullPointerException.
6751
6752 2002-12-06 Tom Tromey <tromey@redhat.com>
6753
6754 * include/java-interp.h (class _Jv_InterpMethod): Added
6755 JV_MARKOBJ_DECL.
6756 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6757 mark `prepared' field of interpreted method.
6758 * interpret.cc (compile): Use _Jv_AllocBytes.
6759
6760 2002-12-05 Andrew Haley <aph@redhat.com>
6761
6762 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6763 #ifdef (HAVE_BACKTRACE) around the whole function body.
6764
6765 2002-12-05 Tom Tromey <tromey@redhat.com>
6766
6767 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6768 * resolve.cc: Don't include AbstractMethodError.h.
6769 (_Jv_abstractMethodError): Removed.
6770 * defineclass.cc (handleMethodsBegin): Initialize method index to
6771 -1.
6772 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6773 method index for "new" final method.
6774 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6775 isVirtualMethod. Added `flags' argument.
6776 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6777 class.
6778
6779 2002-12-04 Tom Tromey <tromey@redhat.com>
6780
6781 * java/net/SocketPermission.java (hashCode): Rewrote.
6782
6783 2002-12-04 Tom Tromey <tromey@redhat.com>
6784
6785 * Makefile.in: Rebuilt.
6786 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6787 natResourceBundle.
6788 * java/util/ResourceBundle.java (Security): Removed.
6789 (getCallingClassLoader): Now native.
6790 * java/util/natResourceBundle.cc: New file.
6791 * java/lang/natVMSecurityManager.cc: New file.
6792 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6793
6794 2002-12-03 Mark Wielaard <mark@klomp.org>
6795
6796 * java/util/jar/JarFile.java (manifest): Not final.
6797 (manifestRead): New field.
6798 (JarFile): Don't read Manifest in constructor.
6799 (getManifest): New method.
6800 (JarEnumeration.nextElement): Use new method.
6801 (getEntry): Likewise.
6802 * java/util/zip/ZipFile.java (name): Final.
6803 (raf): Likewsie.
6804 (entries): Change type to Hashtable.
6805 (closed): New field.
6806 (ZipFile): Don't read enties in constructor.
6807 (readEntries): Use Hashtable.
6808 (close): Set new close flag and set entries to null inside
6809 synchronized block.
6810 (entries): Contruct enumeration using new getEntries() method and
6811 entries Hashtable.
6812 (getEntryIndex): Removed.
6813 (getEntries): New method.
6814 (getEntry): Use new getEntries() method and entries Hastable.
6815 (getInputStream): Likewise.
6816 (size): Return getEntries().size().
6817 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6818 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6819 (time): Removed
6820 (dostime): New field.
6821 (zipFileIndex): Removed.
6822 (ZipEntry(ZipEntry)): Copy dostime.
6823 (setDOSTime): Now final and doesn't convert dos time.
6824 (getDOSTime): Likewise.
6825 (setTime): Convert dos time.
6826 (getTime): Likewise.
6827 (getCalendar): New method.
6828 (setExtra): Use setTime().
6829 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6830
6831 2002-12-03 Tom Tromey <tromey@redhat.com>
6832
6833 * java/lang/Character.java (forDigit): Formatting fix.
6834
6835 2002-12-03 Raif Naffah <raif@fl.net.au>
6836
6837 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6838 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6839 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6840
6841 2002-12-03 Andrew Haley <aph@redhat.com>
6842
6843 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6844 _Jv_PushClass.
6845 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6846 (_Jv_PopClass): New.
6847 (_Jv_PushClass): New.
6848 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6849 discover the ClassLoader of our caller.
6850 (_Jv_CheckArrayStore): Don't check that a class is assignment
6851 compatible with Object.
6852 * java/lang/natVMTHrowable.cc: Delete.
6853 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6854 java.lang.VMThrowable.
6855 (StackTrace(), StackTrace(int)): New constructors.
6856 (classAt, methodAt, update, methodAtAddress): New methods.
6857 (map): New field.
6858 * java/lang/VMThrowable.java: Use StackTrace instead of
6859 natVMTHrowable.
6860 * java/lang/Class.h (getClassLoaderInternal): New.
6861 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6862 Be friendly with gnu::gcj::runtime::StackTrace.
6863 (Object.chain): New field.
6864 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6865 gnu::gcj::runtime::StackTrace.
6866 * gnu/gcj/runtime/natStackTrace.cc: New file.
6867 * gnu/gcj/runtime/MethodRef.java: New file.
6868 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6869 instead of getClassLoader().
6870 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6871 java::lang::VMThrowable.
6872 * Makefile.am (core_java_source_files): Add MethodRef.java,
6873 StackTrace.java.
6874 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6875 * Makefile.in: Rebuild.
6876
6877 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6878
6879 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6880 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6881 yes also for sh-linux* and sh[34]*-linux*.
6882 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6883 set SIGNAL_HANDLER to use DWARF2 exception for them.
6884 * configure: Regenerate.
6885
6886 2002-12-02 Tom Tromey <tromey@redhat.com>
6887
6888 * jni.cc: Added `name' argument.
6889 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6890 `const char *' argument.
6891 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6892
6893 2002-12-01 Tom Tromey <tromey@redhat.com>
6894
6895 Bug compatibility, for PR libgcj/8738:
6896 * java/io/CharArrayWriter.java (close): Do nothing.
6897 (flush): Likewise.
6898 (reset): Don't touch `closed'.
6899 (write(int)): Don't throw IOException.
6900 (write(char[],int,int)): Likewise.
6901 (write(String,int,int)): Likewise.
6902 (closed): Removed.
6903
6904 2002-12-01 Mark Wielaard <mark@klomp.org>
6905
6906 * java/lang/SecurityManager.java: Remerge comments, indenting and
6907 checkXXX methods with Classpath.
6908
6909 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6910
6911 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6912 getNormalizedComponents): Fix calculation which was using one too
6913 many bits in the unnormalized format.
6914
6915 2002-11-29 Gary Benson <gbenson@redhat.com>
6916
6917 For PR libgcj/8759:
6918 * java/beans/Introspector.java (flushCaches): New method.
6919 (flushFromCaches): Likewise.
6920
6921 2002-11-29 Michael Koch <konqueror@gmx.de>
6922
6923 * java/nio/channels/DatagramChannel.java
6924 (open): Added exception documentation.
6925 (write): Added exception documentation.
6926 (connect): Added exception documentation.
6927 (disconnect): Added exception documentation.
6928 (isConnected): Added exception documentation.
6929 (read): Added exception documentation.
6930 (receive): Added exception documentation.
6931 (send): Added exception documentation.
6932 (validOps): Added exception documentation.
6933 * java/nio/channels/SocketChannel.java
6934 (open): Added exception documentation.
6935 (read): Added exception documentation.
6936 (write): Added exception documentation.
6937 (connect): Added exception documentation.
6938 (finishConnect): Added exception documentation.
6939
6940 2002-11-29 Michael Koch <konqueror@gmx.de>
6941
6942 * gnu/java/nio/DatagramChannelImpl:
6943 (fd): New member variable to store file descriptor of socket.
6944 * gnu/java/nio/SelectionKeyImpl.java:
6945 (ops): Removed.
6946 (readyOps): New member variable.
6947 (interestOps): New member variable.
6948 (readyOps): Implemented.
6949 (readyOps): New method to set member variable readyOps.
6950 (interestOps): Replaced ops by interestOps.
6951 * gnu/java/nio/SelectorImpl.java:
6952 (SelectorImpl): Initialize key sets.
6953 (select): Call select with -1 instead of Long.MAX_VALUE).
6954 (java_do_select): Make it a native method.
6955 (getFDsAsArray): New helper method.
6956 (select): Remove canceled keys, give only interested file discriptors
6957 to java_do_select, set ready ops.
6958 (add): No need to initialize keys set here.
6959 (add_selected): No need to initialize selected set here.
6960 (deregisterCanceledKeys): New helper method.
6961 (register): Set interest ops, set attachments, added handling of datagram
6962 channels.
6963 * gnu/java/nio/ServerSocketChannelImpl:
6964 (SocketAccept): Renamed from NioSocketAccept.
6965 (implConfigureBlocking): Implemented.
6966 (accept): Use SocketAccept instead of NioSocketAccept.
6967 * gnu/java/nio/SocketChannelImpl:
6968 Reactivate native methods.
6969
6970 2002-11-29 Michael Koch <konqueror@gmx.de>
6971
6972 * gnu/java/nio/natByteBufferImpl.cc,
6973 gnu/java/nio/natCharBufferImpl.cc,
6974 gnu/java/nio/natDoubleBufferImpl.cc,
6975 gnu/java/nio/natFloatBufferImpl.cc,
6976 gnu/java/nio/natIntBufferImpl.cc,
6977 gnu/java/nio/natLongBufferImpl.cc,
6978 gnu/java/nio/natSelectorImpl.cc,
6979 gnu/java/nio/natServerSocketChannelImpl.cc,
6980 gnu/java/nio/natShortBufferImpl.cc,
6981 gnu/java/nio/natSocketChannelImpl.cc:
6982 New files that implement native functionalities.
6983
6984 2002-11-29 Michael Koch <konqueror@gmx.de>
6985
6986 * gnu/java/nio/ByteBufferImpl.java
6987 (ByteBufferImpl): Moved position() after limit.
6988 (nio_*): Use native implementation.
6989 * gnu/java/nio/CharBufferImpl.java:
6990 Reformated.
6991 (endian): New member variable string endianess of buffer.
6992 (CharBufferImpl): Moved position() after limit.
6993 (nio_*): Use native implementation.
6994 (subSequence): Implemented.
6995 * gnu/java/nio/DoubleBufferImpl.java
6996 (DoubleBufferImpl): Moved position() after limit.
6997 (nio_*): Use native implementation.
6998 * gnu/java/nio/FloatBufferImpl.java
6999 Reformated.
7000 (FloatBufferImpl): Moved position() after limit.
7001 (nio_*): Use native implementation.
7002 * gnu/java/nio/IntBufferImpl.java
7003 Added needed imports, Reformated.
7004 (IntBufferImpl): Moved position() after limit.
7005 (nio_*): Use native implementation.
7006 * gnu/java/nio/LongBufferImpl.java
7007 Reformated.
7008 (LongBufferImpl): Moved position() after limit.
7009 (nio_*): Use native implementation.
7010 * gnu/java/nio/ShortBufferImpl.java
7011 Reformated.
7012 (ShortBufferImpl): Moved position() after limit.
7013 (nio_*): Use native implementation.
7014
7015 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7016
7017 * java/util/Locale.java (toString): Improve efficiency if country
7018 and variant are both empty.
7019
7020 2002-11-26 Tom Tromey <tromey@redhat.com>
7021
7022 * verify.cc (pop_init_ref): New method.
7023 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7024 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7025 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7026 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7027 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7028 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7029 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7030 let `this' argument be uninitialized. Don't let `null' be passed
7031 as `this' to construtor.
7032
7033 2002-11-26 Mark Wielaard <mark@klomp.org>
7034
7035 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7036 * javax/transaction/HeuristicMixedException.java: Likewise.
7037 * javax/transaction/HeuristicRollbackException.java: Likewise.
7038 * javax/transaction/InvalidTransactionException.java: Likewise.
7039 * javax/transaction/NotSupportedException.java: Likewise.
7040 * javax/transaction/RollbackException.java: Likewise.
7041 * javax/transaction/Status.java: Likewise.
7042 * javax/transaction/Synchronization.java: Likewise.
7043 * javax/transaction/SystemException.java: Likewise.
7044 * javax/transaction/Transaction.java: Likewise.
7045 * javax/transaction/TransactionManager.java: Likewise.
7046 * javax/transaction/TransactionRequiredException.java: Likewise.
7047 * javax/transaction/TransactionRolledbackException.java: Likewise.
7048 * javax/transaction/UserTransaction.java: Likewise.
7049 * javax/transaction/xa/XAException.java: Likewise.
7050 * javax/transaction/xa/XAResource.java: Likewise.
7051 * javax/transaction/xa/Xid.java: Likewise.
7052
7053 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7054
7055 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7056 define.
7057 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7058 * include/posix.h (socklen_t): Define if not already defined.
7059
7060 2002-11-25 Tom Tromey <tromey@redhat.com>
7061
7062 * verify.cc (type::compatible): Backed out broken change.
7063
7064 * verify.cc (type::compatible): Check initialization status
7065 first.
7066 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7067 Don't use NULLCHECK.
7068
7069 2002-11-23 H.J. Lu <hjl@gnu.org>
7070
7071 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7072 Include ../config/accross.m4.
7073 * aclocal.m4; Rebuild.
7074 * configure: Likewise.
7075
7076 2002-11-23 Mark Wielaard <mark@klomp.org>
7077
7078 * javax/naming/AuthenticationException.java: Update copyright header.
7079 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7080 * javax/naming/Binding.java: Likewise.
7081 * javax/naming/CannotProceedException.java: Likewise.
7082 * javax/naming/CommunicationException.java: Likewise.
7083 * javax/naming/CompositeName.java: Likewise.
7084 * javax/naming/CompoundName.java: Likewise.
7085 * javax/naming/ConfigurationException.java: Likewise.
7086 * javax/naming/Context.java: Likewise.
7087 * javax/naming/ContextNotEmptyException.java: Likewise.
7088 * javax/naming/InitialContext.java: Likewise.
7089 * javax/naming/InsufficientResourcesException.java: Likewise.
7090 * javax/naming/InterruptedNamingException.java: Likewise.
7091 * javax/naming/LimitExceededException.java: Likewise.
7092 * javax/naming/LinkException.java: Likewise.
7093 * javax/naming/LinkLoopException.java: Likewise.
7094 * javax/naming/LinkRef.java: Likewise.
7095 * javax/naming/MalformedLinkException.java: Likewise.
7096 * javax/naming/NameAlreadyBoundException.java: Likewise.
7097 * javax/naming/NameClassPair.java: Likewise.
7098 * javax/naming/NameNotFoundException.java: Likewise.
7099 * javax/naming/NameParser.java: Likewise.
7100 * javax/naming/NamingEnumeration.java: Likewise.
7101 * javax/naming/NamingSecurityException.java: Likewise.
7102 * javax/naming/NoInitialContextException.java: Likewise.
7103 * javax/naming/NoPermissionException.java: Likewise.
7104 * javax/naming/NotContextException.java: Likewise.
7105 * javax/naming/OperationNotSupportedException.java: Likewise.
7106 * javax/naming/PartialResultException.java: Likewise.
7107 * javax/naming/Reference.java: Likewise.
7108 * javax/naming/Referenceable.java: Likewise.
7109 * javax/naming/ReferralException.java: Likewise.
7110 * javax/naming/ServiceUnavailableException.java: Likewise.
7111 * javax/naming/SizeLimitExceededException.java: Likewise.
7112 * javax/naming/TimeLimitExceededException.java: Likewise.
7113 * javax/naming/directory/Attribute.java: Likewise.
7114 * javax/naming/directory/AttributeInUseException.java: Likewise.
7115 * javax/naming/directory/AttributeModificationException.java: Likewise.
7116 * javax/naming/directory/Attributes.java: Likewise.
7117 * javax/naming/directory/BasicAttribute.java: Likewise.
7118 * javax/naming/directory/BasicAttributes.java: Likewise.
7119 * javax/naming/directory/DirContext.java: Likewise.
7120 * javax/naming/directory/InitialDirContext.java: Likewise.
7121 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7122 Likewise.
7123 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7124 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7125 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7126 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7127 * javax/naming/directory/ModificationItem.java: Likewise.
7128 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7129 * javax/naming/directory/SchemaViolationException.java: Likewise.
7130 * javax/naming/directory/SearchControls.java: Likewise.
7131 * javax/naming/directory/SearchResult.java: Likewise.
7132 * javax/naming/event/EventContext.java: Likewise.
7133 * javax/naming/event/EventDirContext.java: Likewise.
7134 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7135 * javax/naming/event/NamingEvent.java: Likewise.
7136 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7137 * javax/naming/event/NamingListener.java: Likewise.
7138 * javax/naming/event/ObjectChangeListener.java: Likewise.
7139 * javax/naming/ldap/Control.java: Likewise.
7140 * javax/naming/ldap/ControlFactory.java: Likewise.
7141 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7142 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7143 * javax/naming/ldap/HasControls.java: Likewise.
7144 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7145 * javax/naming/ldap/LdapContext.java: Likewise.
7146 * javax/naming/ldap/LdapReferralException.java: Likewise.
7147 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7148 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7149 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7150 * javax/naming/spi/DirObjectFactory.java: Likewise.
7151 * javax/naming/spi/DirStateFactory.java: Likewise.
7152 * javax/naming/spi/DirectoryManager.java: Likewise.
7153 * javax/naming/spi/InitialContextFactory.java: Likewise.
7154 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7155 * javax/naming/spi/NamingManager.java: Likewise.
7156 * javax/naming/spi/ObjectFactory.java: Likewise.
7157 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7158 * javax/naming/spi/ResolveResult.java: Likewise.
7159 * javax/naming/spi/Resolver.java: Likewise.
7160 * javax/naming/spi/StateFactory.java: Likewise.
7161
7162 * javax/naming/spi/NamingManager.java (ofb): Package private.
7163
7164 2002-11-21 Mark Wielaard <mark@klomp.org>
7165
7166 * java/net/URL.java: Merge with Classpath (partly).
7167 * java/net/URLStreamHandler: Merge with Classpath.
7168
7169 2002-11-22 Michael Koch <konqueror@gmx.de>
7170
7171 * include/posix.h:
7172 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7173 * include/win32.h:
7174 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7175 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7176
7177 2002-11-21 Michael Koch <konqueror@gmx.de>
7178
7179 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7180 Only the new network functions should be in it.
7181
7182 2002-11-21 Michael Koch <konqueror@gmx.de>
7183
7184 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7185 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7186
7187 2002-11-21 Michael Koch <konqueror@gmx.de>
7188
7189 * java/nio/channels/AsynchronousCloseException.java,
7190 java/nio/channels/CancelledKeyException.java,
7191 java/nio/channels/ClosedByInterruptException.java,
7192 java/nio/channels/ConnectionPendingException.java,
7193 java/nio/channels/FileLockInterruptionException.java,
7194 java/nio/channels/IllegalSelectorException.java,
7195 java/nio/channels/NoConnectionPendingException.java,
7196 java/nio/channels/NonReadableChannelException.java,
7197 java/nio/channels/NonWritableChannelException.java,
7198 java/nio/channels/NotYetBoundException.java,
7199 java/nio/channels/NotYetConnectedException.java,
7200 java/nio/channels/OverlappingFileLockException.java,
7201 java/nio/channels/UnresolvedAddressException.java,
7202 java/nio/channels/UnsupportedAddressTypeException.java:
7203 New files.
7204 * Makefile.am (ordinary_java_source_files): Added new files.
7205 * Makefile.in: Regenerated.
7206
7207 2002-11-21 Michael Koch <konqueror@gmx.de>
7208
7209 * include/posix.h
7210 (_Jv_socket): New method.
7211 (_Jv_connect): New method.
7212 (_Jv_close): New method.
7213 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7214 (_Jv_bind): New method.
7215 (_Jv_listen): New method.
7216 (_Jv_write): New method.
7217 (_Jv_read): New method.
7218 * include/win32.h
7219 (_Jv_socket): New method.
7220 (_Jv_connect): New method.
7221 (_Jv_close): New method.
7222 (_Jv_bind): New method.
7223 (_Jv_listen): New method.
7224 (_Jv_write): New method.
7225 (_Jv_read): New method.
7226 * java/net/natNetworkInterface.cc:
7227 Include platform.h, removed inclusion of socket.h
7228 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7229 ::close() by _Jv_close().
7230 * java/net/natPlainDatagramSocketImpl.cc:
7231 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7232 added some new lines to make code more readable.
7233 (create): Replaced ::socket() by _Jv_socket().
7234 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7235 * java/net/natPlainSocketImpl.cc:
7236 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7237 removed include of socket.h, removed some windows defines
7238 (now in include/win32.h).
7239 (create): Replaced ::socket() by _Jv_socket().
7240 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7241 (write): Replaced ::read by _Jv_write().
7242 (read): Replaced ::read by _Jv_read().
7243
7244 2002-11-20 Michael Koch <konqueror@gmx.de>
7245
7246 * Makefile.am (ordinary_java_source_files):
7247 Added java/nio/channels/FileChannel.java.
7248 * Makefile.in: Regenerated.
7249
7250 2002-11-20 Michael Koch <konqueror@gmx.de>
7251
7252 * java/io/FileInputStream.java
7253 (getChannel): New method.
7254 * java/io/FileOutputStream.java
7255 (getChannel): New method.
7256 * java/net/ServerSocket.java
7257 (bind): Removed duplicate code and called another bind method instead.
7258 * java/nio/channels/SelectionKey.java
7259 (isValid): Removed wrong exception documentation.
7260 * java/nio/channels/ServerSocketChannel.java
7261 (accept): Added exception documentation.
7262 (open): Fixed typo, added exception documentation.
7263 * java/nio/channels/spi/AbstractSelectableChannel.java
7264 (implCloseChannel): Added exception documentation.
7265 (add): Reformated.
7266 (register): Added exception documentation.
7267
7268 2002-11-20 Andreas Jaeger <aj@suse.de>
7269
7270 * configure: Regenerated with new libtool.m4.
7271
7272 2002-11-19 Tom Tromey <tromey@redhat.com>
7273
7274 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7275 `referent'.
7276 (finalize_referred_to_object): Don't modify `referent' or `copy'
7277 fields.
7278 (add_to_hash): Correctly set `n->next' when updating list.
7279 * java/lang/ref/Reference.java (enqueue): Return false if already
7280 enqueued.
7281
7282 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7283
7284 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7285 to function and function pointer declarations in accordance with
7286 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7287 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7288 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7289 JNI function definitions.
7290
7291 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7292
7293 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7294 that was causing CoderResults to be cached, not WeakReferences
7295 to CoderResults.
7296
7297 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7298
7299 * java/security/KeyStore.java (getInstance): Fix
7300 comment and throw IllegalArgumentException if
7301 given provider is null.
7302 (getInstance): New method for jdk1.4 compatibility.
7303
7304 2002-11-18 Michael Koch <konqueror@gmx.de>
7305
7306 * java/net/PlainSocketImpl.java: Fix imports.
7307
7308 2002-11-18 Michael Koch <konqueror@gmx.de>
7309
7310 * java/nio/channels/SelectionKey.java
7311 (isValid): Added exception documentation.
7312 * java/nio/channels/Selector.java
7313 (open): Declare "throws IOException".
7314
7315 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7316
7317 * java/nio/charset/Charset.java
7318 (<clinit>): New method.
7319 (encode): Synchronize use of cached encoder object.
7320 (decode): Synchronize use of cached encoder object.
7321
7322 2002-11-18 Michael Koch <konqueror@gmx.de>
7323
7324 * gnu/java/nio/ByteBufferImpl.java,
7325 gnu/java/nio/CharBufferImpl.java,
7326 gnu/java/nio/DatagramChannelImpl.java,
7327 gnu/java/nio/DoubleBufferImpl.java,
7328 gnu/java/nio/FileChannelImpl.java,
7329 gnu/java/nio/FloatBufferImpl.java,
7330 gnu/java/nio/IntBufferImpl.java,
7331 gnu/java/nio/LongBufferImpl.java,
7332 gnu/java/nio/PipeImpl.java,
7333 gnu/java/nio/SelectionKeyImpl.java,
7334 gnu/java/nio/SelectorImpl.java,
7335 gnu/java/nio/SelectorProviderImpl.java,
7336 gnu/java/nio/ServerSocketChannelImpl.java,
7337 gnu/java/nio/ShortBufferImpl.java,
7338 gnu/java/nio/SocketChannelImpl.java,
7339 java/nio/DoubleBuffer.java,
7340 java/nio/FloatBuffer.java,
7341 java/nio/IntBuffer.java,
7342 java/nio/LongBuffer.java,
7343 java/nio/ShortBuffer.java,
7344 java/nio/channels/FileChannel.java: New files.
7345
7346 2002-11-18 Michael Koch <konqueror@gmx.de>
7347
7348 * Makefile.am (ordinary_java_source_files):
7349 Added java/nio/ReadOnlyBufferException.java and
7350 java/nio/channels/ClosedSelectorException.java.
7351 * Makefile.in: Regenerated.
7352
7353 2002-11-18 Michael Koch <konqueror@gmx.de>
7354
7355 * java/net/PlainSocketImpl.java: Reworked imports.
7356 * java/net/ServerSocket.java
7357 (ServerSocket): Create socket.
7358 * java/net/SocketAddress.java: Documentation added.
7359 * java/net/natPlainSocketImpl.cc: Reindented.
7360 * java/nio/ReadOnlyBufferException.java: New file
7361 * java/nio/channels/ClosedChannelException.java: Documentation added.
7362 * java/nio/channels/ClosedSelectorException.java: New file.
7363
7364 2002-11-17 Mark Wielaard <mark@klomp.org>
7365
7366 * java/net/HttpURLConnection.java ((getPermission): Take port
7367 into consideration.
7368 (getErrorStream): Implement.
7369
7370 2002-11-17 Mark Wielaard <mark@klomp.org>
7371
7372 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7373
7374 2002-11-16 Mark Wielaard <mark@klomp.org>
7375
7376 Integrate work by Raif S. Naffah (raif@fl.net.au)
7377 * java/security/DummyKeyPairGenerator.java (clone): New method.
7378 * java/security/DummyMessageDigest.java (clone): New method.
7379 (engineUpdate): Now public.
7380 (engineReset): Likewise.
7381 (engineDigest): Likewise.
7382 (engineGetDigestLength): New method.
7383 * java/security/DummySignature.java (clone): New method.
7384 * java/security/KeyPairGenerator.java (provider): Now package private.
7385 (getInstance(String)): Use getInstance(String,Provider).
7386 (getInstance(String,String): Use getInstance(String,Provider)
7387 (getInstance(String,Provider): New method.
7388 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7389 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7390 * java/security/MessageDigest.java (provider): Now package private.
7391 (getInstance(String): Use getInstance(String,Provider).
7392 (getInstance(String,String): Use getInstance(String,Provider)
7393 (getInstance(String,Provider): New method.
7394 * java/security/Provider.java (toCanonicalKey): New method.
7395 (get): New method that uses toCanonicalKey().
7396 (put): Use toCanonicalKey().
7397 (remove): Likewise.
7398 * java/security/Security.java (insertProviderAt): Provider index is one
7399 based, not zero based.
7400 (addProvider): Likewise.
7401 (removeProvider): Likewise.
7402 * java/security/Signature.java (provider): Now package private.
7403 (getInstance(String)): Use getInstance(String,Provider).
7404 (getInstance(String,String): Use getInstance(String,Provider)
7405 (getInstance(String,Provider): New method.
7406 (getInstance(String,String,Provider): Don't cast DummySignature.
7407
7408 2002-11-15 Tom Tromey <tromey@redhat.com>
7409
7410 For PR libgcj/8593:
7411 * java/util/zip/GZIPInputStream.java (read): Check file size.
7412 Look in inflater for remaining input bytes.
7413 (read4): Added buf and offset arguments.
7414
7415 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7416
7417 * java/applet/AppletContext.java: Fix typo and remove redundant
7418 modifiers.
7419
7420 2002-11-14 Tom Tromey <tromey@redhat.com>
7421
7422 * java/lang/natRuntime.cc (insertSystemProperties): Set
7423 gnu.classpath.home.
7424
7425 2002-11-13 Michael Koch <konqueror@gmx.de>
7426
7427 * java/nio/ByteBuffer.java
7428 (allocate): New method.
7429 (wrap): New method.
7430 (put): New method.
7431 (get): New method.
7432
7433 2002-11-13 Michael Koch <konqueror@gmx.de>
7434
7435 * java/nio/channels/AlreadyConnectedException.java:
7436 Removed unneeded import.
7437 (AlreadyConnectedException): Documentation added.
7438 * java/nio/channels/Pipe.java
7439 (SinkChannel.SinkChannel): Documentation added.
7440 (SinkChannel.validOps): New method.
7441 (SourceChannel.SourceChannel): Documentation added.
7442 (SourceChannel.validOps): New method.
7443 (Pipe): Documentation added.
7444 (open): Documentation added.
7445 (SinkChannel.channel): Documentation added.
7446 (SourceChannel.channel): Documentation added.
7447 * java/nio/channel/SelectableChannel.java
7448 (SelectableChannel): Documentation added.
7449 (blockingLock): Documentation added.
7450 (configureBlocking):Documentation added.
7451 (isBlocking):Documentation added.
7452 (isRegistered):Documentation added.
7453 (keyFor):Documentation added.
7454 (provider):Documentation added.
7455 (register): Documentation added.
7456 (validOps): Documentation added.
7457 * jaba/nio/channels/SelectionKey.java
7458 (SelectionKey): Documentation added.
7459 (attach): Documentation added.
7460 (attachment): Documentation added.
7461 (isAcceptable): Documentation added.
7462 (isConnetable): Documentation added.
7463 (isReadable): Documentation added.
7464 (isWritable): Documentation added.
7465 (cancel): Documentation added.
7466 (channel): Documentation added.
7467 (interestOps): Documentation added.
7468 (isValid): Documentation added.
7469 (readyOps): Documentation added.
7470 (selector): Documentation added.
7471 * jaba/nio/channels/Selector.java
7472 (Selector): Documentation added.
7473 (open): Documentation added.
7474 (close): Documentation added.
7475 (isOpen): Documentation added.
7476 (keys): Documentation added.
7477 (provider): Documentation added.
7478 (select): Documentation added.
7479 (selectedKeys): Documentation added.
7480 (selectNow): Documentation added.
7481 (wakeup): Documentation added.
7482 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7483 (AbstractInterruptibleChannel): Documentation added.
7484 (opened): Default to true;
7485 (begin): Documentation added.
7486 (close): Set opened to false, documentation added.
7487 (isOpen): Documentation added.
7488 * java/nio/channels/spi/AbstractSelectionKey.java
7489 (AbstractSelectionKey): Documentation added.
7490 (cancel): Documentation added.
7491 (isValid): Documentation added.
7492 * java/nio/channels/spi/AbstractSelector.java
7493 (AbstractSelector): Documentation added.
7494 (begin): Documentation added.
7495 (close): Documentation added.
7496 (isOpen): Documentation added.
7497 (deregister): Documentation added.
7498 (end): Documentation added.
7499 (provider): Documentation added.
7500 (implCloseSelector): Documentation added.
7501 (register): Documentation added.
7502 * java/nio/channels/spi/SelectorProvider.java
7503 (SelectorProvider): Documentation added.
7504 (openDatagramChannel): Documentation added.
7505 (openPipe): Documentation added.
7506 (openSelector): Documentation added.
7507 (openServerSocketChannel): Documentation added.
7508 (openSocketChannel): Documentation added.
7509 (provider): Documentation added.
7510
7511 2002-11-12 Michael Koch <konqueror@gmx.de>
7512
7513 * java/nio/Buffer.java: Implemented.
7514 * java/nio/CharBuffer.java: New file.
7515 * java/nio/InvalidMarkException.java: New file.
7516 * java/nio/channels/DatagramChannel.java: Implemented.
7517 * java/nio/channels/ServerSocketChannel.java: Implemented.
7518 * java/nio/channels/SocketChannel.java: Implemented.
7519 * java/nio/channels/spi/AbstractChannel.java: Removed.
7520 * java/nio/channels/spi/AbstractSelectableChannel.java:
7521 Implemented.
7522 * java/nio/charset/Charset.java:
7523 Merge from Classpath.
7524 * java/nio/charset/CharsetDecoder.java: New file.
7525 * java/nio/charset/CharsetEncoder.java: New file.
7526 * java/nio/charset/CoderResult.java: New file.
7527 * Makefile.am (ordinary_java_source_files): Added new files.
7528 * Makefile.in: Regenerated.
7529
7530 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7531
7532 * gnu/java/nio/charset/ISO_8859_1.java,
7533 gnu/java/nio/charset/Provider.java,
7534 gnu/java/nio/charset/US_ASCII.java,
7535 gnu/java/nio/charset/UTF_16.java,
7536 gnu/java/nio/charset/UTF_16BE.java,
7537 gnu/java/nio/charset/UTF_16Decoder.java,
7538 gnu/java/nio/charset/UTF_16Encoder.java,
7539 gnu/java/nio/charset/UTF_16LE.java,
7540 gnu/java/nio/charset/UTF_8.java: New files.
7541
7542 2002-11-11 Michael Koch <konqueror@gmx.de>
7543
7544 * java/nio/charset/CharacterCodingException.java:
7545 This class must be public.
7546 * java/nio/charset/CoderMalfunctionError.java:
7547 This class must be public.
7548 * java/nio/charset/CodingErrorAction.java:
7549 This class must be public.
7550 * java/nio/charset/IllegalCharsetNameException.java:
7551 This class must be public, better implementation.
7552 * java/nio/charset/MalformedInputException.java:
7553 This class must be public, better implementation.
7554 * java/nio/charset/UnmappableCharacterException.java:
7555 This class must be public, better implementation.
7556 * java/nio/charset/UnsupportedCharsetException.java:
7557 This class must be public, better implementation.
7558
7559 2002-11-11 Michael Koch <konqueror@gmx.de>
7560
7561 * java/nio/BufferOverflowException.java,
7562 java/nio/BufferUnderflowException.java: New file.
7563 * Makefile.am (ordinary_java_source_files):
7564 Added new files.
7565 * Makefile.in: Regenerated.
7566
7567 2002-11-10 Tom Tromey <tromey@redhat.com>
7568
7569 * java/awt/Container.java (validate): Use tree lock.
7570 (getComponent): Likewise.
7571 (getComponents): Likewise.
7572 (addImpl): Likewise.
7573 (remove): Likewise.
7574 (removeAll): Likewise.
7575 (processEvent): Fixed indentation.
7576 (getComponentAt): Use tree lock.
7577 (findComponentAt): Likewise.
7578 (removeNotify): Likewise.
7579 (isAncestorOf): Likewise.
7580 (list): Likewise.
7581 (visitChildren): Likewise.
7582 (findNextFocusComponent): Likewise.
7583 (addNotifyContainerChildren): Likewise.
7584 (getAccessibleChildrenCount): Likewise.
7585 (getAccessibleChild): Likewise.
7586
7587 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7588 (getSize): Likewise.
7589 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7590 (getSize): Likewise.
7591 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7592 (calcSize): Likewise.
7593 * java/awt/CardLayout.java (getSize): Use tree lock.
7594 (gotoComponent): Likewise.
7595 (layoutContainer): Likewise.
7596
7597 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7598 count is 0.
7599 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7600 count is 0.
7601
7602 * java/io/Externalizable.java, java/io/FilePermission.java,
7603 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7604 java/io/SerializablePermission.java, java/text/Format.java,
7605 java/util/AbstractMap.java, java/util/HashMap.java,
7606 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7607 versions from Classpath.
7608
7609 2002-11-10 Anthony Green <green@redhat.com>
7610
7611 * java/util/jar/Attributes.java (Name): Fix name check.
7612
7613 2002-11-10 Mark Wielaard <mark@klomp.org>
7614
7615 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7616 with getName() as message.
7617 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7618 type as message.
7619
7620 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7621 unused.
7622
7623 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7624
7625 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7626 for Win32. JNICALL has been defined to __stdcall to be compatible
7627 with Sun's JDKs.
7628
7629 2002-11-10 Tom Tromey <tromey@redhat.com>
7630
7631 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7632 (setRows): Check newRows, not rows.
7633
7634 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7635
7636 2002-11-09 Tom Tromey <tromey@redhat.com>
7637
7638 * java/applet/Applet.java, java/applet/AppletContext.java,
7639 java/applet/AppletStub.java, java/applet/AudioClip.java,
7640 java/awt/CardLayout.java,
7641 java/awt/ContainerOrderFocusTraversalPolicy.java,
7642 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7643 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7644 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7645 java/awt/color/ICC_ColorSpace.java,
7646 java/awt/color/ICC_Profile.java,
7647 java/awt/color/ICC_ProfileGray.java,
7648 java/awt/color/ICC_ProfileRGB.java,
7649 java/awt/datatransfer/DataFlavor.java,
7650 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7651 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7652 New versions from Classpath.
7653 * Makefile.in: Rebuilt.
7654 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7655 ICC_ProfileRGB.
7656
7657 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7658 display policy.
7659
7660 * java/awt/List.java (processEvent): Added missing `else's.
7661
7662 * java/awt/Window.java (show): validate() before showing. Make
7663 parent displayable.
7664 (isDisplayable): New method.
7665
7666 2002-11-07 Mark Wielaard <mark@klomp.org>
7667
7668 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7669 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7670
7671 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7672 annotation.
7673 (loadClass): Take String as codebases.
7674 (getClassAnnotation): Use MyClassLoader annotations.
7675 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7676 call exportObject(this).
7677
7678 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7679 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7680 (setAnnotation): Don't set locBytesStream and locStream.
7681 (replaceObject): Removed.
7682 (flush): Don't test locStream.
7683 (getLocBytes): LikeWise.
7684 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7685 (leaseCache): New field.
7686 (dirty): Use leaseCache.
7687 (LeaseRecord): New inner class.
7688 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7689 explicitly call exportObject().
7690 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7691 false to communicate with Sun JDK130.
7692 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7693 * gnu/java/rmi/server/RMIObjectInputStream.java
7694 (UnicastConnectionManager): Removed field.
7695 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7696 Use UnicastServer.getExportedRef().
7697 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7698 (expireTime): Likewise.
7699 (CONNECTION_TIMEOUT): Likewise.
7700 (disconnect): Call sock.close().
7701 (isExpired): New method.
7702 (resetTime): Likewise.
7703 (run): Use do while loop and catch Exception for discardConnection().
7704 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7705 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7706 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7707 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7708 (exportObject): Use refcache.
7709 (unexportObject): Likewise.
7710 (getExportedRef): New method.
7711 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7712 constructor.
7713 (exportObject): Save manager.serverobj.
7714 (getStub): New method.
7715
7716 2002-11-07 Mark Wielaard <mark@klomp.org>
7717
7718 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7719 (getByte): Likewise.
7720 (getShort): Likewise.
7721 (getInt): Likewise.
7722 (getLong): Likewise.
7723 (getFloat): Likewise.
7724 (getDouble): Likewise.
7725 (get): Likewise.
7726 (setChar): Likewise.
7727 (setByte): Likewise.
7728 (setShort): Likewise.
7729 (setInt): Likewise.
7730 (setLong): Likewise.
7731 (setFloat): Likewise.
7732 (setDouble): Likewise.
7733
7734 2002-11-07 Michael Koch <konqueror@gmx.de>
7735
7736 * java/awt/Choice.java,
7737 java/awt/Container.java,
7738 java/awt/GridBagLayout.java:
7739 Fixed documentation.
7740 * java/awt/peer/ContainerPeer.java:
7741 Reindented.
7742
7743 2002-11-07 Michael Koch <konqueror@gmx.de>
7744
7745 * java/awt/color/ICC_Profile.java:
7746 Added missing constants.
7747 * java/awt/color/ICC_ColorSpace.java
7748 (getMinValue): Added dummy implementation.
7749 (getMaxValue): Added dummy implementation.
7750 * java/awt/datatransfer/DataFlavor.java
7751 (imageFlavor): Added.
7752 (isMimeTypeEqual): Must be final.
7753 (getDefaultRepresentationClass): Must be non-static.
7754 (getDefaultRepresentationClassAsString): Must be non-static.
7755 * java/awt/dnd/DragSourceContext.java
7756 (dragExit): Corrected argument.
7757 (dragDropEnd): Corrected argument.
7758 * java/awt/dnd/DragSourceListener.java.java
7759 (dragExit): Corrected argument.
7760 (dragDropEnd): Corrected argument.
7761 * java/awt/font/TextHitInfo.java
7762 (toString): Added stubbed implementation.
7763 * java/awt/geom/PathIterator.java:
7764 The constants must be static.
7765 * java/awt/image/VolatileImage.java
7766 (IMAGE_INCOMPATIBLE): Fixed typo.
7767 * java/awt/image/renderable/RenderableImage.java
7768 (HINTS_OBSERVED): Must be static.
7769 * java/beans/BeanInfo.java:
7770 Constants must be final.
7771
7772 2002-11-06 Tom Tromey <tromey@redhat.com>
7773
7774 From svens@it.uu.se. For PR libgcj/8481.
7775 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7776
7777 2002-11-06 Tom Tromey <tromey@redhat.com>
7778
7779 * jni.cc (array_from_valist): Assume that jlong won't be
7780 promoted.
7781
7782 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7783
7784 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7785 Return 20.
7786 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7787 Return 16.
7788
7789 2002-11-03 Tom Tromey <tromey@redhat.com>
7790
7791 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7792 VMClassLoader, not findClass.
7793
7794 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7795
7796 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7797 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7798 _Jv_DetermineVTableIndex, to determine vtable offset.
7799 (_Jv_DetermineVTableIndex): Remove.
7800 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7801
7802 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7803
7804 2002-11-03 Tom Tromey <tromey@redhat.com>
7805
7806 * java/nio/channels/AlreadyConnectedException.java: Extend
7807 IllegalStateException, per spec.
7808
7809 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7810
7811 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7812
7813 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7814
7815 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7816 size items.
7817
7818 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7819
7820 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7821 initial estimated size to avoid enlarge buffer frequently.
7822
7823 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7824
7825 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7826 ClassLoader when null.
7827 (ProxyType.hashCode): Loader null check no longer needed.
7828 (ProxyType.sameTypes): New method.
7829 (ProxyType.equals): Use new method.
7830
7831 2002-10-31 Mark Wielaard <mark@klomp.org>
7832
7833 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7834 length of String.
7835 * java/net/URLEncoder.java (encode): Likewise.
7836
7837 2002-10-31 Mark Wielaard <mark@klomp.org>
7838
7839 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7840 when stream is closed.
7841 (closeEntry): Likewise.
7842 (read): Likewise.
7843 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7844 ZipException when no entry active.
7845 (closeEntry): Likewise.
7846 (write): Likewise.
7847
7848 2002-11-02 Tom Tromey <tromey@redhat.com>
7849
7850 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7851 * java/lang/natClass.cc (initializeClass): Don't return just
7852 because self==thread.
7853
7854 For PR java/8415:
7855 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7856 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7857
7858 2002-11-02 Andreas Schwab <schwab@suse.de>
7859
7860 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7861 pass GCJFLAGS.
7862 (FLAGS_TO_PASS): Define.
7863 * Makefile.in: Regenerated.
7864
7865 2002-11-01 Michael Koch <konqueror@gmx.de>
7866
7867 * java/nio/ByteOrder.java: New file.
7868 * java/nio/channels/DatagramChannel.java:
7869 (DatagramChannel): New constructor.
7870 * java/nio/channels/Pipe.java: New file.
7871 * java/nio/channels/SelectableChannel.java: New file.
7872 * java/nio/channels/SelectionKey.java: New file.
7873 * java/nio/channels/Selector.java: New file.
7874 * java/nio/channels/ServerSocketChannel.java
7875 (ServerSocketChannel): New constructor.
7876 * java/nio/channels/SocketChannel.java
7877 (SocketChannel): New constructor.
7878 * java/nio/channels/Pipe.java: New file.
7879 * java/nio/channels/spi/AbstractChannel.java: New file.
7880 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7881 * java/nio/channels/spi/AbstractSelectableChannel.java:
7882 License added
7883 (AbstractSelectableChannel): New stubbed method.
7884 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7885 * java/nio/channels/spi/AbstractSelector.java: New file.
7886 * java/nio/channels/spi/SelectorProvider.java: New file.
7887 * java/nio/charset/Charset.java: New file.
7888 * java/nio/charset/CoderMalfunctionError.java: New file.
7889 * java/nio/charset/CodingErrorAction.java: New file.
7890 * java/nio/charset/spi/CharsetProvider.java
7891 (charsetForName): Uncommented.
7892 * Makefile.am (java_native_source_files): Added new files.
7893 * Makefile.in: Regenerated.
7894
7895 2002-11-01 Michael Koch <konqueror@gmx.de>
7896
7897 * java/net/InetAddress.java:
7898 (isAnyLocalAddress): Implemented.
7899 (isLoopbackAddress): Implemented, comment added.
7900 (isLinkLocalAddress): Implemented, documentation added.
7901 (isSiteLocalAddress): Implemented, documentation added.
7902 (isMCGlobal): Implemented, documentation added.
7903 (isMCNodeLocal): Implemented, documentation added.
7904 (isMCLinkLocal): Implemented, documentation added.
7905 (isMCSiteLocal): Implemented, documentation added.
7906 (isMCOrgLocal): Implemented, documentation added.
7907 (getHostName): Documentation added.
7908 (getCanonicalHostName): Implemented, documentation added.
7909 (getAddress): Documentation added.
7910 (hashCode): Documentation added.
7911 (equals): Documentation added.
7912 (toString): Fixed implementation.
7913 (getByAddress): Use Inet4Address and Inet6Address.
7914 (lookup): New linewrap.
7915 (getByName): SecurityManager check added, support Inet4Address and
7916 Inet6address, comments added.
7917 (getAllByName): SecurityManager check added, comments added.
7918 * java/net/Inet6Address.java:
7919 (Inet6Address): Initialize parent class with addr instead of null.
7920 * java/net/URL.java
7921 (equals): Documentation added.
7922 (getFile): Documentation added.
7923 (hashCode): Documentation added.
7924 * java/net/natInetAddress.cc:
7925 (aton): Fix IPv6 support.
7926 * java/net/natPlainDatagramSocketImpl.cc:
7927 (peek): Throw PortUnreachableException when suitable.
7928 (peekData): Throw PortUnreachableException when suitable.
7929 (send): Throw PortUnreachableException when suitable.
7930 (receive): Throw PortUnreachableException when suitable.
7931
7932 2002-10-27 Mark Wielaard <mark@klomp.org>
7933
7934 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7935 argument.
7936 (readLeShort): Likewise and use byte[].
7937 (readLeInt): Likewise.
7938 (readEntries): Use new versions of methods and use byte[] for reading
7939 a complete zip entry. Add ZipFile name to exceptions.
7940 (entries): Add ZipFile name to exceptions.
7941 (getEntry): Likewise.
7942 (checkLocalHeader): Use new versions of methods and add ZipFile name
7943 to exceptions.
7944
7945 2002-10-31 Mark Anderson <mark@panonet.net>
7946
7947 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7948 added
7949
7950 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7951
7952 * configure.in: Disable hash sync when not using threads.
7953 * configure: Regenerated.
7954
7955 2002-10-24 Tom Tromey <tromey@redhat.com>
7956
7957 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7958 (_Jv_FindSymbolInExecutable): Removed argument name.
7959 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7960 java.library.path is set.
7961
7962 * gij.cc (help): Document --showversion.
7963 (version): Don't exit.
7964 (main): Handle --showversion. Exit if --version given.
7965
7966 2002-10-23 Tom Tromey <tromey@redhat.com>
7967
7968 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7969 (array_from_valist): Correctly handle promotion for jint, jlong,
7970 jfloat, and jdouble.
7971
7972 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7973
7974 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7975 GetFileAttributesEx( ) to find file length and modification times,
7976 as the latter is not present on Windows 95.
7977
7978 2002-10-21 Michael Koch <konqueror@gmx.de>
7979
7980 * java/net/URL.java
7981 (URL): Activate SecurityManager checks.
7982 (equals): Use URLStreamHandler implementation instead of doing it
7983 alone. This allows special protocol stream handlers to change default
7984 behaviour.
7985 (hashCode): Use URLStreamHandler implementation instead of doing it
7986 alone. This allows special protocol stream handlers to change default
7987 behaviour.
7988 * java/net/URLStreamHandler.java
7989 (equals): Implemented default URL equality check.
7990 (hostsEqual): Implemented default URL equality check.
7991 (hashCode): Implemented default URL hashCode algorithm.
7992 * java/net/natPlainDatagramSocketImpl.cc:
7993 No lines longer then 80 characters.
7994
7995 2002-10-20 Adam Megacz <adam@xwt.org>
7996
7997 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7998 * configure.in: enabled hash sync on Win32
7999 * include/win32-threads.h (_Jv_ThreadId_t): added.
8000 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8001 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8002 removed some posix-isms, use Thread::sleep() instead of usleep,
8003 added code to clear bottom three bits if platform has a broken
8004 linker.
8005 * include/win32-threads.h (_Jv_ThreadId_t): added.
8006
8007 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8008
8009 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8010 runtime property "gnu.gcj.progname" containing the name used to
8011 invoke the current Java program (similar to argv[0] for C
8012 programs).
8013
8014 2002-10-15 Tom Tromey <tromey@redhat.com>
8015
8016 Fix for PR libgcj/8234:
8017 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8018 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8019
8020 2002-10-13 Mark Wielaard <mark@klomp.org>
8021
8022 * mauve-libgcj: Enable Mauve tests that compile now.
8023
8024 2002-10-11 Mark Wielaard <mark@klomp.org>
8025
8026 Fix for PR libgcj/8142
8027 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8028 loading native modules.
8029
8030 2002-10-10 Michael Koch <konqueror@gmx.de>
8031
8032 * javax/swing/AbstractListModel.java
8033 (getListDataListeners): New stubbed method.
8034 javax/swing/DefaultBoundedRangeModel.java
8035 (getChangeListeners): New stubbed method.
8036 javax/swing/DefaultSingleSelectionModel.java
8037 (getChangeListeners): New stubbed method.
8038
8039 2002-10-10 Michael Koch <konqueror@gmx.de>
8040
8041 * gcj/.cvsignore: New file to ignore files generated during build.
8042 * include/.cvsignore: New file to ignore files generated during build.
8043
8044 2002-10-10 Michael Koch <konqueror@gmx.de>
8045
8046 * java/net/HttpURLConnection.java
8047 (getPermission): New method.
8048 (getErrorStream): New stub method.
8049 (getHeaderFieldDate): New stub method.
8050 * java/net/Inet4Address.java:
8051 (isLinkLocalAddress): Typo fixed.
8052 * java/net/InetAddress.java:
8053 (readResolve): New stubbed method (for serialization).
8054 (isAnyLocalAddress): New stubbed method.
8055 (isLoopbackAddress): New stubbed method.
8056 (isLinkLocalAddress): New stubbed method.
8057 (isSiteLocalAddress): New stubbed method.
8058 (isMCGlobal): New stubbed method.
8059 (isMCNodeGlobal): New stubbed method.
8060 (isMCLinkLocal): New stubbed method.
8061 (isMCSiteLocal): New stubbed method.
8062 (isMCOrgLocal): New stubbed method.
8063 (getCanonicalHostName): New stubbed method.
8064 (getByAddress): Create instances of Inet4Address/Inet6Address,
8065 instead of InetAddress, documentation added.
8066 * java/net/MulticastSocket.java
8067 (getInterface): Removed FIXME.
8068 (getNetworkInterface): New method.
8069 (setNetworkInterface): New method.
8070 * java/net/NetworkInterface.java:
8071 (toString): Use property "line.separator" instead of "\n".
8072 * java/net/URLConnection.java
8073 (getContent): New stubbed method.
8074 * java/net/URLStreamHandler.java:
8075 (equals): New stubbed method.
8076 (hostsEqual): New stubbed method.
8077 (hashCode): New stubbed method.
8078 * java/net/natNetworkInterface.cc:
8079 (getRealNetworkInterfaces): Create Inet4Address object
8080 instead of InetAddress.
8081
8082 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8083
8084 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8085 unsigned long temporary to implement insn_iushr shifts.
8086
8087 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8088
8089 * configure.host [s390*-*]: Enable Java interpreter.
8090 Enable hash synchronization. Add sysdeps dir.
8091 * sysdep/s390/locks.h: New file.
8092
8093 2002-10-06 Mark Wielaard <mark@klomp.org>
8094
8095 * java/lang/Thread.java (setDaemon): Check startable_flag,
8096 not isAlive().
8097
8098 2002-10-07 Michael Koch <konqueror@gmx.de>
8099
8100 * java/nio/Buffer.java: New stub file.
8101 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8102 of class Charset.
8103 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8104 * Makefile.in: Regenerated.
8105
8106 2002-10-07 Michael Koch <konqueror@gmx.de>
8107
8108 * java/nio/ByteBuffer.java:
8109 removed import of not commited class.
8110
8111 2002-10-07 Michael Koch <konqueror@gmx.de>
8112
8113 * java/nio/ByteBuffer.java,
8114 java/nio/MappedByteBuffer.java:
8115 New files, forgot to add these dummies.
8116 * Makefile.am (java_native_source_files): Added new files.
8117 * Makefile.in: Regenerated.
8118
8119 2002-10-07 Michael Koch <konqueror@gmx.de>
8120
8121 * java/nio/channels/AlreadyConnectedException.java,
8122 java/nio/channels/ClosedChannelException.java,
8123 java/nio/channels/ReadableByteChannel.java,
8124 java/nio/channels/InterruptibleChannel.java,
8125 java/nio/channels/Channel.java,
8126 java/nio/channels/ByteChannel.java,
8127 java/nio/channels/GatheringByteChannel.java,
8128 java/nio/channels/ScatteringByteChannel.java,
8129 java/nio/channels/WritableByteChannel.java,
8130 java/nio/charset/CharacterCodingException.java,
8131 java/nio/charset/IllegalCharsetNameException.java,
8132 java/nio/charset/MalformedInputException.java,
8133 java/nio/charset/UnmappableCharacterException.java,
8134 java/nio/charset/UnsupportedCharsetException.java,
8135 java/nio/charset/spi/CharsetProvider.java: New file.
8136 These files are exceptions or interfaces,
8137 no real or abstract classes.
8138 * Makefile.am (java_native_source_files): Added new files.
8139 * Makefile.in: Regenerated.
8140
8141 2002-10-05 Michael Koch <konqueror@gmx.de>
8142
8143 * java/net/InetAddress.java
8144 (getByAddress): Fixed documentation.
8145 (getByAddress): New method.
8146 * java/net/Inet4Address.java: New file.
8147 * java/net/URL.java
8148 (URL): Documentation added.
8149 (getContent): Documentation added.
8150 (getContent): New stubbed method.
8151 (getQuery): New method.
8152 (openConnection): Documentation added.
8153 (openStream): Documentation added.
8154 (setURLStreamHandlerFactory): Documentation added.
8155 * java/net/URI.java: New stub file.
8156 * Makefile.am
8157 (java_native_source_files): Added java/net/Inet4Address.java,
8158 java/net/Inet6Address.java and java/net/URI.java.
8159 * Makefile.in: Regenerated.
8160
8161 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8162
8163 * java/lang/ProtectionDomain.java (linesep): Remove field.
8164 (toString): Use System.getProperty("line.separator").
8165
8166 2002-10-04 Michael Koch <konqueror@gmx.de>
8167
8168 * java/security/Identity.java: Added serialVersionUID.
8169 * java/security/KeyPair.java: Added serialVersionUID.
8170 * java/security/Provider.java: Added serialVersionUID.
8171 * java/security/SecureRandom.java: Added serialVersionUID.
8172 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8173 * java/security/SignedObject.java: Added serialVersionUID.
8174 * java/security/cert/Certificate.java: Added serialVersionUID.
8175
8176 2002-10-04 Mark Wielaard <mark@klomp.org>
8177
8178 * java/security/Security.java: Use java.home or gnu.classpath.home
8179 to load providers.
8180 (loadProviders): Extra dir argument.
8181 (getProvider): Return null when not found.
8182
8183 2002-10-04 Mark Wielaard <mark@klomp.org>
8184
8185 * java/lang/Throwable.java: Remerge with Classpath.
8186
8187 2002-10-04 Michael Koch <konqueror@gmx.de>
8188
8189 * java/net/InetAddress.java:
8190 (isMulticastAddress): Added documentation.
8191 (getHostAddress): Added documentation.
8192 (toString): Added documentation.
8193 (getByAddress): Fixed documentation.
8194 (getByName): Added documentation.
8195 (getAllByName): Added documentation.
8196 (getLocalHost): Added documentation.
8197
8198 2002-10-04 Michael Koch <konqueror@gmx.de>
8199
8200 * java/beans/beancontext/BeanContextChildSupport.java:
8201 Added serialVersionUID.
8202 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8203 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8204 * javax/naming/Name.java: Added serialVersionUID.
8205
8206 2002-10-03 Adam Megacz <adam@xwt.org>
8207
8208 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8209 some functionality that isn't supported yet on WIN32.
8210
8211 2002-10-03 Tom Tromey <tromey@redhat.com>
8212
8213 * Makefile.in: Rebuilt.
8214 * Makefile.am (awt_java_source_files): Added new files.
8215
8216 2002-10-03 Michael Koch <konqueror@gmx.de>
8217
8218 * java/net/InetAddress.java
8219 (class InetAddress): Removed final keyword.
8220 (equals): Fixed typo.
8221 (getByAddress): New method.
8222
8223 2002-10-03 Michael Koch <konqueror@gmx.de>
8224
8225 * java/awt/dnd/Autoscroll.java:
8226 New file, merge from Classpath.
8227 * java/awt/dnd/DragSourceAdapter.java:
8228 (dragExit): Fixed typos in argument type.
8229 (dragDropEnd): Fixed typos in argument type.
8230 * java/awt/dnd/DragSourceDropEvent.java:
8231 New file, merge from Classpath.
8232 * java/awt/dnd/DropTarget.java:
8233 Added stubs, merge from Classpath.
8234 * java/awt/dnd/DropTargetAdapter.java:
8235 New file, merge from Classpath.
8236 * java/awt/dnd/DropTargetContext.java:
8237 New file, merge from Classpath.
8238 * java/awt/dnd/DropTargetDragEvent.java:
8239 New file, merge from Classpath.
8240 * java/awt/dnd/DropTargetDropEvent.java:
8241 New file, merge from Classpath.
8242 * java/awt/dnd/DropTargetEvent.java:
8243 New file, merge from Classpath.
8244 * java/awt/dnd/DropTargetListener.java:
8245 New file, merge from Classpath.
8246 * java/awt/dnd/MouseDragGestureRecognizer.java:
8247 New file, merge from Classpath.
8248 * java/awt/dnd/peer/DropTargetContextPeer.java:
8249 New file, merge from Classpath.
8250
8251 2002-10-03 Michael Koch <konqueror@gmx.de>
8252
8253 * java/net/DatagramPacket.java
8254 (setLength): Fixed typo and be HTML-aware.
8255 * java/net/InetSocketAddress.java
8256 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8257 (equals): Added comment about equality of InetSocketAddress objects.
8258 * java/net/ServerSocket.java
8259 (accept): Added checks.
8260 (isClosed): New stubbed method.
8261 * java/net/SocketOptions.java: Reindention.
8262 * java/net/SocketPermission
8263 (SocketPermission): Documentation fixed.
8264
8265 2002-10-03 Michael Koch <konqueror@gmx.de>
8266
8267 * java/net/DatagramSocket.java
8268 (receive): Check with SecurityManager AFTER the packet is received,
8269 check if connected to multicast address, documentation added.
8270 (send): Only check SecurityManager if connected, check address of
8271 packet to send.
8272 (connect): Implemented, documentation added.
8273 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8274 * java/net/InetSocketAddress.java
8275 (whole file): Reindented.
8276 (hostname): New attribute.
8277 (InetSocketAddress): Initialize new attribute.
8278 (getAddress): Documentation added.
8279 (getHostName): Documentation added.
8280 (getPort): Documentation added.
8281 (hashCode): Documentation added.
8282 (isUnresolved): Documentation added.
8283 (toString): Conform to output of JDK 1.4.1, documentation added.
8284 * java/net/MulticastSocket.java
8285 (joinGroup): Removed FIXME, documentation added.
8286 (leaveGroup): Removed FIXME, documentation added.
8287 (send): Documentation added.
8288 * java/net/Socket.java
8289 (inputShutdown): New variable.
8290 (outputShutdown): New variable.
8291 (Socket): Initialize new variables.
8292 (getRemoteSocketAddress): Check if connected.
8293 (shutdownInput): Set new variable.
8294 (shutdownOutput): Set new variable.
8295 (isConnected): New method.
8296 (isClosed): New method.
8297 (isInputShutdown): New method.
8298 (isOutputShutdown): New method.
8299 * java/net/URLStreamHandler.java
8300 (URLStreamHandler): New method.
8301 (openConnection): Added documentation.
8302 (parseURL): Added documentation.
8303 (getHostAddress): New method.
8304 (getDefaultPort): New method.
8305
8306 2002-10-02 Tom Tromey <tromey@redhat.com>
8307
8308 * java/rmi/activation/ActivationDesc.java,
8309 java/rmi/activation/ActivationGroupDesc.java,
8310 java/rmi/activation/ActivationGroupID.java,
8311 java/rmi/activation/ActivationID.java: New versions from
8312 Classpath.
8313
8314 2002-09-30 Bo Thorsen <bo@suse.de>
8315
8316 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8317
8318 2002-09-30 Tom Tromey <tromey@redhat.com>
8319
8320 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8321 from Classpath.
8322 * Makefile.in: Rebuilt.
8323 * Makefile.am (rmi_java_source_files): Added new files.
8324 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8325 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8326 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8327 Classpath.
8328 * gnu/java/rmi/dgc/DGCImpl.java,
8329 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8330 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8331 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8332 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8333 gnu/java/rmi/server/RMIHashes.java,
8334 gnu/java/rmi/server/RMIObjectInputStream.java,
8335 gnu/java/rmi/server/RMIObjectOutputStream.java,
8336 gnu/java/rmi/server/UnicastConnection.java,
8337 gnu/java/rmi/server/UnicastConnectionManager.java,
8338 gnu/java/rmi/server/UnicastRef.java,
8339 gnu/java/rmi/server/UnicastServer.java,
8340 gnu/java/rmi/server/UnicastServerRef.java,
8341 java/rmi/MarshalledObject.java,
8342 java/rmi/server/RMIClassLoader.java,
8343 java/rmi/server/RemoteObject.java,
8344 java/rmi/server/UnicastRemoteObject.java,
8345 java/security/SecureClassLoader.java: Merged from Classpath.
8346
8347 2002-09-29 Anthony Green <green@redhat.com>
8348
8349 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8350 Imported from GNU Classpath.
8351 * java/lang/reflect/natProxy.cc: New file.
8352 * java/lang/reflect/InvocationHandler.java: New file. Imported
8353 from GNU Classpath.
8354 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8355 Classpath.
8356 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8357 Classpath.
8358 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8359 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8360 New statics.
8361 * gcj/javaprims.h ("Java"): Add new classes.
8362 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8363 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8364 java/lang/reflect/Proxy$$ProxyType.h): And this.
8365 (inner_nat_headers): Add these new headers.
8366 (ordinary_java_source_files): Add new files.
8367 (nat_source_files): Add new file.
8368 * Makefile.in: Rebuilt.
8369
8370 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8371
8372 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8373 a single configuration.
8374
8375 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8376
8377 * java/util/TimeZone.java (getDSTSavings): New method.
8378 Fixes PR libgcj/7786.
8379
8380 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8381
8382 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8383 to see if `the_method == 0' before looking up vtable index.
8384 Fixes PR libgcj/7709.
8385
8386 2002-09-25 Tom Tromey <tromey@redhat.com>
8387
8388 * java/lang/natClassLoader.cc:
8389 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8390 * resolve.cc: Include NoClassDefFoundError.h, not
8391 ClassNotFoundException.h.
8392 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8393
8394 * defineclass.cc: Don't include ClassNotFoundException.h.
8395
8396 * resolve.cc: Include StringBuffer.
8397 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8398
8399 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8400 allocated but not initialized.
8401
8402 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8403
8404 Fix for PR libgcj/7766:
8405 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8406 (getNextEntry): Set it.
8407 (closeEntry): Likewise.
8408 (read): Likewise.
8409 (close): Likewise.
8410 (available): Use it.
8411
8412 2002-09-25 Michael Koch <konqueror@gmx.de>
8413
8414 * java/net/DatagramSocket.java
8415 (DatagramSocket): Initialize new instance variables.
8416 (close): Reset new instance variables.
8417 (getLocalAddress): Remove unneeded SecurityManager usage.
8418 (getLocalPort): Check if socket is already bound.
8419 (isConnected): New method.
8420 (getInetAddress): Implemented.
8421 (getPort): Better Implementation, documentation fixed.
8422 (getRemoteSocketAddress): New method.
8423 * java/net/JarURLConnection.java
8424 (element): Typo fixed.
8425 (getMainAttributes): New method.
8426 (getAttributes): New method (stub only).
8427 (getManifest): New method (stub only).
8428 * java/net/NetPermission.java: Added serialVersionsUID.
8429 * java/net/Socket.java
8430 (connect): Check blocking mode of associated channel,
8431 documentation added.
8432 (getLocalSocketAddress): Better implementation.
8433 (getRemoteSocketAddress): Implemented.
8434 (isBound): New method.
8435 (setSendBufferSize): Documentation added.
8436 * java/net/SocketAddress.java: Added serialVersionsUID.
8437 * java/net/SocketPermission.java: Added serialVersionsUID.
8438 * java/net/URL.java
8439 (URL): Wrap for shorter lines, initialize new instance variables,
8440 documentation added.
8441 (equals): Check new instance variables too.
8442 (getContent): Documentation added.
8443 (getPath): Documentation added.
8444 (getAuthority): New method.
8445 (getHost): Documentation added.
8446 (getPort): Documentation added.
8447 (getDefaultPort): New method.
8448 (getProtocol): Documentation added.
8449 (getUserInfo): Documentation added.
8450 (set): Initialize new instance variables, documentation added.
8451 * java/net/URLStreamHandler.java
8452 (setURL): New method.
8453 * java/net/natPlainDatagramSocketImpl.cc
8454 (connect): Fix exception name.
8455 (disconnect): Fix exception name.
8456
8457 2002-09-25 Michael Koch <konqueror@gmx.de>
8458
8459 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8460 * java/nio/channels/DatagramChannel.java:
8461 extends AbstractSelectableChannel
8462 * java/nio/channels/ServerSocketChannel.java:
8463 extends AbstractSelectableChannel
8464 * java/nio/channels/SocketChannel.java:
8465 extends AbstractSelectableChannel
8466 * Makefile.am (ordinary_java_source_files):
8467 java/nio/channels/spi/AbstractSelectableChannel.java added.
8468 * Makefile.in: Regenerated.
8469
8470 2002-09-25 Michael Koch <konqueror@gmx.de>
8471
8472 * java/net/DatagramSocket.java
8473 (DatagramSocket): Exception documentation added.
8474 (bind): Exception documentation added, addded SecurityManager check,
8475 added SocketAddress type check.
8476 (getSoTimeout): Check impl.
8477 (receive): Fix SecurityManager check, check impl, documentation added.
8478 (send): Check channel mode, documentation added.
8479 (connect): New method.
8480 (disconnect): Implemented.
8481 (getLocalSocketAddress): New method.
8482 (getReceiveBufferSize): Check impl.
8483 (setReuseAddress): Check impl.
8484 (getReuseAddress): Check impl.
8485 (setBroadcast): Check impl.
8486 (getBroadcast): Check impl.
8487 (setTrafficClass): Check impl, Documentation cleared.
8488 (getTrafficClass): Check impl.
8489 (getSendBufferSize): Check impl.
8490 (setReceiveBufferSize): Check impl, documentation added.
8491 (setSendBufferSize): Documentation added.
8492 (setDatagramSocketImplFactory): New method.
8493 * java/net/HttpURLConnection.java
8494 (HTTP_INTERNAL_ERROR): The correct code is 500.
8495 (HTTP_NOT_IMPLEMENTED): Added new constant.
8496 (setFollowRedirects): Documentation added.
8497 (getInstanceFollowRedirects): New method.
8498 (setInstanceFollowRedirects): New method.
8499 (setRequestMethod): Documentation added.
8500 (getResponseCode): Documentation added.
8501 (getResponseMessage): Documentation added.
8502 * java/net/JarURLConnection.java
8503 (JarURLConnection): protected since JDK 1.4.
8504 (getJarEntry): java.io.IOException to IOException, documentation added.
8505 (getJarFile): Documentation added.
8506 * java/net/ServerSocket.java
8507 (ServerSocket): Private to public, exception added.
8508 (ServerSocket): java.io.IOException to IOException, documentation added.
8509 (bind): Check socket address type, documentation added.
8510 (bind): java.io.IOException to IOException, documentation added.
8511 (accept): Documentation added.
8512 (implAccept): Check ch is not non-blocking, documentation added.
8513 (setSoTimeout): Documentation fixed.
8514 (setReceiveBufferSize): Documentation added.
8515 * java/net/Socket.java
8516 (Socket): Documentation added.
8517 (bind): Documentation added.
8518 (connect): Check socket address type, documentation added.
8519 (getRemoteSocketAddress): New method.
8520 (getLocalSocketAddress): New method.
8521 (setSoLinger): Documentation added.
8522 (getReuseAddress): New method.
8523 (setReuseAddress): New method.
8524 (getTrafficClass): New method.
8525 (setTrafficClass): New method.
8526 * java/net/URLStreamHandler.java
8527 (openConnection): java.io.IOException to IOException.
8528 (parseURL): Documentation added.
8529 (sameFile): public to protected, documentation added.
8530 (setURL): Documentation added.
8531 * java/nio/IllegalBlockingModeException.java: New file.
8532 * Makefile.am (ordinary_java_source_files):
8533 added java/nio/IllegalBlockingModeException.java
8534 * Makefile.in: Regenerated.
8535
8536 2002-09-25 Michael Koch <konqueror@gmx.de>
8537
8538 * java/net/DatagramPacket
8539 (DatagramPacket): Exception documentation added.
8540 (setData): Likewise.
8541 (setSocketAddress): Likewise.
8542 * java/net/DatagramSocketImpl.java
8543 (peek): Documentation addded.
8544 (peekData): Documentation addded.
8545 (send): Documentation addded.
8546 (receive): Documentation addded.
8547 (connect): New method.
8548 (disconnect): New method.
8549 (joinGroup): New abstract method.
8550 (leaveGroup): New abstract method.
8551 * java/net/InetSocketAddress.java
8552 (InetSocketAddress): Documentation added.
8553 (equals): final keyword added.
8554 (getAddress): final keyword added.
8555 (getHostName): final keyword added.
8556 (getPort): final keyword added.
8557 (hashCode): final keyword added.
8558 (isUnresolved): final keyword added.
8559 * java/net/MulticastSocket.java
8560 (MulticastSocket): Documentation added.
8561 (MulticastSocket): New method.
8562 (joinGroup): Documentation added.
8563 (joinGroup): New method.
8564 (leaveGroup): Documentation added.
8565 (leaveGroup): New method.
8566 (send): Documentation added.
8567 * java/net/NetworkInterface.java
8568 (getByName): Documentation added.
8569 (getByInetAddress): Documentation added.
8570 (getNetworkInterfaces): Documentation added.
8571 * java/net/PlainDatagramSocketImpl.java
8572 (connect): New method.
8573 (disconnect): New method.
8574 * java/net/SocketImpl.java
8575 (create): Documentation added.
8576 (shutdownInput): Convert public to protected, as it always was.
8577 (shutdownOutput): Convert public to protected, as it always was.
8578 * java/net/SocketOptions.java
8579 (whole file): Reintented.
8580 * java/net/URLClassLoader.java
8581 (URLClassLoader): SecurityManager check added, documentation added.
8582 (findResources): Documentation added.
8583 (findClass): Documentation added.
8584 (newInstance): More correct method arguments.
8585 * java/net/URLConnection.java
8586 (connect): Documentation added.
8587 (getContent): Documentation added.
8588 (getPermission): Documentation added.
8589 (getInputStream): Documentation added.
8590 (getOutputStream): Documentation added.
8591 (setDoInput): Throw correct exception, documentation added.
8592 (setDoOutput): Throw correct exception, documentation added.
8593 (setAllowUserInteraction): Throw correct exception, documentation added.
8594 (setUseCaches): Throw correct exception, documentation added.
8595 (setIfModifiedSince): Throw correct exception, documentation added.
8596 (setRequestProperty): Throw exception, documentation added.
8597 (addRequestProperty): Throw exception, documentation added.
8598 (getRequestProperty): Throw exception, documentation added.
8599 (getRequestProperties): Documentation added.
8600 (setContentHandlerFactory): Documentation added.
8601 (guessContentTypeFromName): protected to public.
8602 (setFileNameMap): Documentation added.
8603 * java/net/URLDecoder.java
8604 (URLDecoder): New method.
8605 (decode): Documentation added.
8606 (whole file): Reindented.
8607 * java/net/URLEncoder.java
8608 (encode): Documentation added.
8609 * java/net/natPlainDatagramSocketImpl.cc
8610 (connect): New method.
8611 (disconnect): New method.
8612 * javax/naming/RefAddr:
8613 (addrType): addrType was never final.
8614 (equals): Fix typo in method name.
8615 * javax/naming/BinaryRefAddr:
8616 (equals): Fix typo in method name.
8617
8618 2002-09-22 Tom Tromey <tromey@redhat.com>
8619
8620 Fix for PR libgcj/6576:
8621 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8622 didn't find a given bundle.
8623 (getBundle): Don't require base bundle.
8624 (setParent): Removed old comment.
8625 (tryLocalBundle): Try components even if preceding components were
8626 empty.
8627
8628 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8629
8630 * Makefile.am (all-multi): Fix multilib parallel build.
8631
8632 2002-09-21 Michael Koch <konqueror@gmx.de>
8633
8634 * java/net/Socket.java
8635 (sendUrgentData): New method.
8636 (getChannel): New method.
8637 * java/net/ServerSocket.java
8638 (getChannel): New method.
8639 (isBound): New method.
8640 * java/net/DatagramSocket.java
8641 (DatagramSocket): Two new methods.
8642 (bind): New method.
8643 (getChannel): New method.
8644 (isBound): New method.
8645 (send): Added newline to to make shorter lines.
8646 * java/net/PlainDatagramSocketImpl.java
8647 (mcastGrp): Added argument.
8648 (join): Use new mcastGrp.
8649 (leave): Use new mcastGrp.
8650 (joinGroup): New method.
8651 (leaveGroup): New method.
8652 * java/net/natPlainDatagramSocketImpl.cc
8653 (mcastGrp): Added argument, no yet really implemented.
8654 (getOption): Added newline for shorter lines.
8655 * java/net/natPlainSocketImpl.cc
8656 (read, setOption, getOption): Added newline for shorter lines.
8657
8658 2002-09-19 Tom Tromey <tromey@redhat.com>
8659
8660 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8661 newly-created exception.
8662
8663 2002-09-18 Michael Koch <konqueror@gmx.de>
8664
8665 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8666 java/util/regex/PatternSyntaxException.java:
8667 Merge with classpath, new files.
8668 * Makefile.am (core_java_source_files):
8669 Added java/util/regex/Matcher.java,
8670 java/util/regex/Pattern.java,
8671 java/util/regex/PatternSyntaxException.java
8672 * Makefile.in: Regenerated.
8673 * include/config.h.in: Added HAVE_NET_IF_H.
8674 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8675 Removed #if 0 ... #endif.
8676
8677 2002-09-17 Michael Koch <konqueror@gmx.de>
8678
8679 * java/net/natNetworkInterface.cc:
8680 Removed unneed and yet wrong includes.
8681
8682 2002-09-17 Michael Koch <konqueror@gmx.de>
8683
8684 * java/net/NetworkInterface.java: New file.
8685 * java/net/natNetworkInterface.java: New file.
8686 * configure.in: Added check for net/if.h.
8687 * configure: Regenerated.
8688 * Makefile.am
8689 (ordinary_java_source_files): Added NetworkInterface.java.
8690 (nat_source_files): Added natNetworkInterface.cc.
8691 * Makefile.in: Regenerated.
8692
8693 2002-09-16 Tom Tromey <tromey@redhat.com>
8694
8695 * java/net/URLClassLoader.java (findClass): Code source for a
8696 class from a jar is not necessarily a jar: URL.
8697
8698 2002-09-16 Michael Koch <konqueror@gmx.de>
8699
8700 * java/lang/AssertionError.java:
8701 Merge with classpath, fixes HTML.
8702 * java/rmi/server/LogStream.java:
8703 Merge with classpath, fixes some constants.
8704 * java/net/server/RemoteServer.java:
8705 Merge with classpath, adds serialVersionUID.
8706 * javax/naming/BinaryRefAddr.java:
8707 Merge with classpath, s/equal/equals/.
8708 * javax/naming/NamingException.java:
8709 Merge with classpath, fixed typo.
8710 * javax/naming/RefAddr.java:
8711 Merge with classpath, s/equal/equals/.
8712 * java/awt/Toolkit.java:
8713 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8714 and typo fixed.
8715
8716 2002-09-15 Adam Megacz <adam@xwt.org>
8717
8718 * java/net/natPlainSocketImpl.cc: fixed typo.
8719
8720 2002-09-15 Adam Megacz <adam@xwt.org>
8721
8722 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8723 which don't work on Win32 (yet).
8724
8725 2002-09-14 Adam Megacz <adam@xwt.org>
8726
8727 * java/net/natPlainDatagramSocket.cc: removed #include
8728 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8729 * include/win32.h: included definition for IP_TOS to satisfy
8730 natPlainDatagramSocket.cc
8731
8732 2002-09-13 Michael Koch <konqueror@gmx.de>
8733
8734 * java/net/DatagramPacket.java (DatagramPacket):
8735 Added linebreak for 80 chars per line.
8736 * java/net/JarURLConection.java
8737 (getInputStreami, getJarEntry): Likewise.
8738 * java/net/SocketPErmission.java
8739 (SocketPermission class docu, implies): Likewise.
8740 * java/net/URLClassLoader.java (findResources): Likewise.
8741 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8742
8743 2002-09-13 Michael Koch <konqueror@gmx.de>
8744
8745 * java/nio/channels/DatagramChannel.java,
8746 java/nio/channels/ServerSocketChannel.java
8747 java/nio/channels/SocketChannel.java:
8748 New dummy files to make java.net fully JDK 1.4 compatible
8749 * Makefile.am (ordinary_java_source_files): Added
8750 java/net/DatagramSocketImplFactory.java (long forgotten),
8751 java/nio/SocketChannel.java,
8752 java/nio/ServerSocketChannel.java,
8753 java/nio/DatagramChannel.java
8754 * Makefile.in: Regenrated.
8755
8756 2002-09-12 Michael Koch <konqueror@gmx.de>
8757
8758 * java/net/DatagramSocketImpl.java
8759 (peekData): New method.
8760 * java/net/PlainDatagramSocketImpl.java
8761 (peekData): New method.
8762 * java/net/natPlainDatagramSocketImpl.cc
8763 (peekData): New method.
8764 * java/net/URLConnection
8765 (getPermission): New method.
8766 (addRequestProperty): New method.
8767 (getRequestProperties): New method.
8768 (guessContentTypeFromStream): New method, not really implemented.
8769 (URLConnection): Added/updated documentation.
8770 (connect): Added/updated documentation.
8771 (getURL): Added/updated documentation.
8772 (getContentLength): Added/updated documentation.
8773 (getContentType: Added/updated documentation.
8774 (getContentEncoding): Added/updated documentation.
8775 (getExpiration): Added/updated documentation.
8776 (getDate): Added/updated documentation.
8777 (getLastModified): Added/updated documentation.
8778 (getHeaderField): Added/updated documentation.
8779 (getHeaderFields): Added/updated documentation.
8780 (getHeaderFieldInt): Added/updated documentation.
8781 (getHeaderFieldDate): Added/updated documentation.
8782 (getHeaderFieldKey): Added/updated documentation.
8783 (getContent): Added/updated documentation.
8784 (getInputStream): Added/updated documentation.
8785 (getOutputStream): Added/updated documentation.
8786 (toString): Added/updated documentation.
8787 (setDoInput): Added/updated documentation.
8788 (getDoInput): Added/updated documentation.
8789 (setDoOutput): Added/updated documentation.
8790 (getDoOutput): Added/updated documentation.
8791 (setAllowUserInteraction): Added/updated documentation.
8792 (getAllowUserInteraction): Added/updated documentation.
8793 (setDefaultAllowUserInteraction): Added/updated documentation.
8794 (getDefaultAllowUserInteraction): Added/updated documentation.
8795 (setUseCaches): Added/updated documentation.
8796 (getUseCaches): Added/updated documentation.
8797 (setIfModifiedSince): Added/updated documentation.
8798 (getIfModifiedSince): Added/updated documentation.
8799 (getDefaultUseCaches): Added/updated documentation.
8800 (setDefaultUseCaches): Added/updated documentation.
8801 (setRequestProperty): Added/updated documentation.
8802 (getRequestProperty): Added/updated documentation.
8803 (setDefaultRequestProperty): Added/updated documentation.
8804 (getDefaultRequestProperty): Added/updated documentation.
8805 (setContentHandlerFactory): Added/updated documentation.
8806 (guessContentTypeFromName): Added/updated documentation.
8807 (getFileNameMap): Added/updated documentation.
8808 (setFileNameMap): Added/updated documentation.
8809
8810 2002-09-11 Michael Koch <konqueror@gmx.de>
8811
8812 * java/net/Socket.java
8813 (Socket): protected to public (since JDK 1.4). Added @specnote.
8814 (bind): New method.
8815 (connect): Two new methods.
8816 (getKeepalive): Get correct socket option.
8817 (setKeepalive): Set correct socket option.
8818 (getOOBInline): New method.
8819 (setOOBInline): New method.
8820 * java/net/ServerSocket.java
8821 (bind): Two new methods.
8822 (getInetAddress): Reimplemented, catch exception.
8823 (getLocalSocketAddress): New method.
8824 (setReuseAddress): New method.
8825 (getReuseAdress): New method.
8826 (setReceiveBufferSize): New method.
8827 (getReceiveBufferSize): New method.
8828 (toString): Made string JDK 1.4 compliant.
8829
8830 2002-09-10 Michael Koch <konqueror@gmx.de>
8831
8832 * java/net/SocketImpl.java
8833 (connect): New method.
8834 (supportsUrgentData): New method.
8835 (sendUrgentData): New method.
8836 * java/net/PlainSocketImpl.java
8837 (connect): One new method and two new implementation.
8838 (sendUrgentData): New method.
8839 * java/natPlainSocketImpl.cc
8840 (connect): Arguments changed, added support for timeouts.
8841 (getOption): Another __java_boolean to jboolean.
8842
8843 2002-09-07 Adam Megacz <adam@xwt.org>
8844
8845 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8846 definition of IP_TOS.
8847
8848 2002-09-04 Michael Koch <konqueror@gmx.de>
8849
8850 * java/net/DatagramSocket.java
8851 (DatagramSocket): Added documentation.
8852 (close): Likewise.
8853 (getLocalAddress): Likewise.
8854 (getLocalPort): Likewise.
8855 (receive): Likewise.
8856 (send): Likewise.
8857 (setSoTimeout): Likewise.
8858 (connect): New method.
8859 (disconnect): New method.
8860 (getInetAddress): New method (FIXME)
8861 (getPort): New method.
8862 (setReuseAddress): New method.
8863 (getReuseAddress): New method.
8864 (setBroadcast): New method.
8865 (getBroadcast): New method.
8866 (setTrafficClass): New method.
8867 (getTrafficClass): New method.
8868 * java/net/MulticastSocket.java):
8869 (getTTL): Added @see in documentation.
8870 (setTTL): Added @see in documentation.
8871 (setLoopbackMode): New method.
8872 (getLoopbackMode): New method.
8873 * java/net/PlainSocketImpl.java:
8874 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8875 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8876 * java/net/PlainDatagramSocketImpl.java
8877 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8878 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8879 * java/net/natPlainSocketImpl.cc
8880 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8881 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8882 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8883 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8884 This should also fix SO_KEEPALIVE
8885 * java/net/natPlainDatagramSocketImpl.cc
8886 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8887 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8888 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8889 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8890
8891 2002-09-04 Michael Koch <konqueror@gmx.de>
8892
8893 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8894 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8895 IP_MULTICAST_LOOP, IP_TOS
8896
8897 2002-09-03 Tom Tromey <tromey@redhat.com>
8898
8899 * java/lang/Class.h (_getDeclaredMethod): Declare.
8900 (_getMethod): Now private.
8901 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8902 getDeclaredMethod. Now returns NULL on failure.
8903 * java/lang/Class.java (_getDeclaredMethod): Declare.
8904 (getDeclaredMethod): No longer native; implements access checks.
8905
8906 2002-09-01 Mark Wielaard <mark@klomp.org>
8907
8908 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8909 (sanitizeStack): Correctly reset unknown and interpreter counters,
8910 detect interpreter runtime frames.
8911 (demangleInterpreterMethod): New method.
8912 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8913 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8914 filling in addrs[].
8915
8916 2002-09-02 Michael Koch <konqueror@gmx.de>
8917
8918 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8919 re-indented documentation.
8920
8921 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8922
8923 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8924 public, per 1.4 spec. Fixes PR libgcj/7785.
8925
8926 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8927
8928 * Makefile.in: Rebuilt.
8929 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8930
8931 2002-08-29 Tom Tromey <tromey@redhat.com>
8932
8933 * java/net/JarURLConnection.java (getCertificates): New method
8934 from Classpath.
8935 * java/net/URLClassLoader.java (URLClassLoader): Extends
8936 SecureClassLoader.
8937 (definePackage): New method from Classpath.
8938 (getPermissions): Likewise.
8939 (newInstance): Likewise.
8940 (findClass): Construct CodeSource for new class (from Classpath).
8941 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8942 methods.
8943 * java/net/URL.java (getUserInfo): New method.
8944 (set(String,String,int,String,String,String,String,String)): New
8945 method.
8946 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8947 (shutdownInput, shutdownOutput): Declare.
8948 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8949 Define.
8950 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8951 (getOption): Likewise.
8952 (shutdownInput): New method.
8953 (shutdownOutput): Likewise.
8954 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8955 keepalive.
8956 (getOption): Likewise.
8957 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8958 * java/net/Socket.java (setKeepAlive): New method.
8959 (getKeepAlive): Likewise.
8960 (shutdownInput, shutdownOutput): New methods.
8961
8962 2002-08-29 Michael Koch <konqueror@gmx.de>
8963
8964 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8965 new methods are:
8966 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8967 address),
8968 DatagramPacket(byte[] buf, int length, SocketAddress address),
8969 void setSocketAddress(SocketAddress address)
8970 public SocketAddress getSocketAddress()
8971
8972 2002-08-29 Tom Tromey <tromey@redhat.com>
8973
8974 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8975 ftruncate is missing.
8976 * configure, include/config.h.in: Rebuilt.
8977 * acconfig.h (HAVE_FTRUNCATE): Mention.
8978 * configure.in: Check for ftruncate.
8979
8980 2002-08-29 Tom Tromey <tromey@redhat.com>
8981
8982 * include/jvm.h (struct _Jv_frame_info): New structure.
8983 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8984 java-interp.h.
8985 (lookupInterp): New method.
8986 (getAddrAsString): Use _Jv_frame_info.
8987 (dladdrLookup): Likewise.
8988 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8989 interpreted frame.
8990 (lookupInterp): Declare.
8991 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8992 (fillInStackTrace): Collect information on interpreted frames.
8993 Use _Jv_frame_info.
8994 * interpret.cc: Include Thread.h.
8995 (run): Create and push _Jv_MethodChain object.
8996 (_Jv_EndOfInterpreter): New global.
8997 * java/lang/Thread.java (interp_frame): New field.
8998 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8999 Include NameFinder.h.
9000
9001 2002-08-28 Tom Tromey <tromey@redhat.com>
9002
9003 * java/lang/Class.h: Include Package.h.
9004 (Class::getProtectionDomain): Declare.
9005 (Class::getPackage): Declare.
9006
9007 2002-08-28 Michael Koch <konqueror@gmx.de>
9008
9009 * java/net/InetSocketAddress.java: Added some documentation and argument
9010 checks for the port numbers.
9011 * java/net/DatagramSocketImplFactory.java: New file.
9012
9013 2002-08-28 Michael Koch <konqueror@gmx.de>
9014
9015 * java/net/Authenticator.java: added some documentation.
9016
9017 2002-08-27 Tom Tromey <tromey@redhat.com>
9018
9019 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9020 class.
9021 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9022
9023 2002-08-27 Michael Koch <konqueror@gmx.de>
9024
9025 * java/net/BindException.java,
9026 java/net/JarURLConnection.java,
9027 java/net/FileNameMap.java,
9028 java/net/HttpURLConnection.java,
9029 java/net/InetSocketAddress.java,
9030 java/net/DatagramPacket.java,
9031 java/net/DatagramSocket.java,
9032 java/net/DatagramSocketImpl.java,
9033 java/net/MulticastSocket.java,
9034 java/net/PasswordAuthentication.java,
9035 java/net/ServerSocket.java,
9036 java/net/Socket.java,
9037 java/net/URLClassLoader.java,
9038 java/net/URLConnection.java: add/update of some @since/@deprecated
9039
9040 2002-08-27 Tony Kimball <alk@pobox.com>
9041 Tom Tromey <tromey@redhat.com>
9042
9043 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9044 define.
9045 (::close): Removed.
9046 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9047 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9048 (::close): Removed.
9049 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9050 * include/win32.h (getcwd): Removed declaration. Include io.h.
9051
9052 2002-08-25 Adam Megacz <adam@xwt.org>
9053
9054 * include/win32.h (getcwd): copied function declaration as
9055 temporary fix for header confusion.
9056
9057 2002-08-24 Mark Wielaard <mark@klomp.org>
9058
9059 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9060 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9061 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9062 and natNameFinder.cc.
9063 * Makefile.in: Regenerate.
9064 * prims.cc: Use trace_enabled from VMThrowable.
9065 * name-finder.cc: Removed.
9066 * gcj/javaprims.h: Add class VMThrowable.
9067 * gnu/gcj/runtime/NameFinder.java: New file.
9068 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9069 * include/name-finder.h: Removed.
9070 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9071 method stackTraceString().
9072 (printStackTrace (PrintWriter)): Likewise.
9073 (stackTraceString): Complete rewrite of old printStackTrace using
9074 StringBuffer.
9075 (stackTraceStringBuffer): New helper method for stackTraceString().
9076 (fillInStackTrace): Delegate to VMTrowable.
9077 (getStackTrace): Likewise.
9078 (getStackTrace0): Removed.
9079 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9080 (setStackTrace): Copy given array.
9081 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9082 * java/lang/VMThrowable.java: New class.
9083 * java/lang/natVMThrowable.cc: New file.
9084
9085 2003-08-23 Michael Koch <konqueror@gmx.de>
9086
9087 * java/net/URLConnection.java,
9088 java/netJarURLConnection.java,
9089 gnu/gcj/protocol/core/Connection.java,
9090 gnu/gcj/protocol/file/Connection.java,
9091 gnu/gcj/protocol/http/Connection.java: Added implementation of
9092 getHeaderFields().
9093
9094 2002-08-22 Tom Tromey <tromey@redhat.com>
9095
9096 * gij.cc (help): Document -cp and -classpath.
9097 (main): Handle -classpath.
9098
9099 2002-08-21 Tom Tromey <tromey@redhat.com>
9100
9101 * Makefile.in: Rebuilt.
9102 * Makefile.am (ordinary_java_source_files): Added
9103 SocketAddress.java, InetSocketAddress.java.
9104 * java/net/PortUnreachableException.java: Merged with Classpath.
9105 * java/net/SocketTimeoutException.java: Likewise.
9106 * java/net/URISyntaxException.java: Likewise.
9107 * java/net/SocketAddress.java: New class from Classpath.
9108 * java/net/InetSocketAddress.java: Likewise.
9109
9110 2003-08-21 Michael Koch <konqueror@gmx.de>
9111
9112 * java/net/Authenticator.java: updated JDK 1.4
9113 * java/net/ContentHandler.java: updated JDK 1.4
9114
9115 2002-08-20 Michael Koch <konqueror@gmx.de>
9116
9117 * java/net/URISyntaxException.java: New file.
9118 * java/net/SocketTimeoutException.java: New file.
9119 * java/net/PortUnreachableException.java: New file.
9120 * Makefile.am: Updated.
9121 * Makefile.in: Rebuilt.
9122
9123 2002-08-18 Mark Wielaard <mark@klomp.org>
9124
9125 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9126 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9127 MessageDigestSpi (fixes Classpath bug #783).
9128
9129 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9130
9131 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9132 (startProcess): Allocate path for chdir in async-signal-safe way.
9133
9134 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9135
9136 Fix for PR libgcj/7570 and PR libgcj/7578:
9137 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9138 (startProcess): Handle new `dir' argument.
9139 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9140 argument.
9141 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9142 argument.
9143 (startProcess): Likewise.
9144 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9145 argument.
9146 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9147 (exec): Don't create new environment if ENV==null. Pass DIR to
9148 execInternal.
9149 * java/lang/natRuntime.cc: Include java/io/File.h.
9150 (execInternal): Added `dir' argument.
9151
9152 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9153
9154 * java/io/RandomAccessFile.java (skipBytes): Return number of
9155 bytes skipped.
9156
9157 2002-08-01 Mark Wielaard <mark@klomp.org>
9158
9159 Reenable patch since shared library troubles on powerpc are solved:
9160 * gnu/java/security/provider/Gnu.java: Reference all implementation
9161 classes by using Class.getName().
9162 * gnu/java/security/der/DEREncodingException.java,
9163 gnu/java/security/provider/DERReader.java,
9164 gnu/java/security/provider/DERWriter.java,
9165 gnu/java/security/provider/DSAKeyPairGenerator.java,
9166 gnu/java/security/provider/DSAParameterGenerator.java,
9167 gnu/java/security/provider/DSAParameters.java,
9168 gnu/java/security/provider/DSASignature.java,
9169 gnu/java/security/provider/GnuDSAPrivateKey.java,
9170 gnu/java/security/provider/GnuDSAPublicKey.java,
9171 gnu/java/security/provider/MD5.java,
9172 gnu/java/security/util/Prime.java: New classes
9173 * Makefile.am (ordinary_java_source_files): Add above files.
9174 * Makefile.in: Regenerate.
9175 * gnu/java/security/provider/DefaultPolicy.java
9176 (getPermissions): Don't maintain static class variable of Permissions.
9177 * gnu/java/security/provider/SHA.java
9178 (engineUpdate): algorithm change.
9179 (engineDigest): algorithm change.
9180
9181 2002-08-09 Mark Wielaard <mark@klomp.org>
9182
9183 * java/awt/image/MemoryImageSource.java: Change constructor to take
9184 int[] not byte[].
9185 * java/awt/Graphics2D.java: Uncomment methods that can now be
9186 compiled.
9187 * java/awt/GridBagLayout.java: New stub implementation.
9188 * javax/swing/text/html/HTML.java: Stub implementation.
9189 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9190 implementation.
9191
9192 * Makefile.am: Add new files.
9193 * Makefile.in: Rebuilt.
9194
9195 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9196
9197 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9198 methods in Graphics2D.
9199
9200 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9201
9202 AWT/Swing merge from GNU Classpath.
9203
9204 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9205 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9206 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9207 java/awt/color/ProfileDataException.java,
9208 java/awt/CompositeContext.java, java/awt/Composite.java,
9209 java/awt/ContainerOrderFocusTraversalPolicy.java,
9210 java/awt/datatransfer/FlavorTable.java,
9211 java/awt/DefaultFocusTraversalPolicy.java,
9212 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9213 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9214 java/awt/dnd/DragGestureListener.java,
9215 java/awt/dnd/DragGestureRecognizer.java,
9216 java/awt/dnd/DragSourceAdapter.java,
9217 java/awt/dnd/DragSourceContext.java,
9218 java/awt/dnd/DragSourceDragEvent.java,
9219 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9220 java/awt/dnd/DragSourceListener.java,
9221 java/awt/dnd/DragSourceMotionListener.java,
9222 java/awt/dnd/DropTarget.java,
9223 java/awt/dnd/InvalidDnDOperationException.java,
9224 java/awt/dnd/peer/DragSourceContextPeer.java,
9225 java/awt/event/AWTEventListenerProxy.java,
9226 java/awt/event/MouseWheelEvent.java,
9227 java/awt/event/MouseWheelListener.java,
9228 java/awt/event/WindowFocusListener.java,
9229 java/awt/event/WindowStateListener.java,
9230 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9231 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9232 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9233 java/awt/geom/FlatteningPathIterator.java,
9234 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9235 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9236 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9237 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9238 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9239 java/awt/image/ImagingOpException.java,
9240 java/awt/image/RasterFormatException.java,
9241 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9242 java/awt/image/VolatileImage.java,
9243 java/awt/image/WritableRenderedImage.java,
9244 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9245 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9246 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9247 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9248 java/awt/PageAttributes.java, java/awt/print/Book.java,
9249 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9250 java/awt/print/Paper.java, java/awt/print/Printable.java,
9251 java/awt/print/PrinterAbortException.java,
9252 java/awt/print/PrinterException.java,
9253 java/awt/print/PrinterGraphics.java,
9254 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9255 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9256 java/awt/Stroke.java, java/awt/TexturePaint.java,
9257 javax/accessibility/AccessibleAction.java,
9258 javax/accessibility/AccessibleBundle.java,
9259 javax/accessibility/AccessibleComponent.java,
9260 javax/accessibility/AccessibleContext.java,
9261 javax/accessibility/AccessibleEditableText.java,
9262 javax/accessibility/AccessibleExtendedComponent.java,
9263 javax/accessibility/AccessibleExtendedTable.java,
9264 javax/accessibility/AccessibleHyperlink.java,
9265 javax/accessibility/AccessibleHypertext.java,
9266 javax/accessibility/AccessibleIcon.java,
9267 javax/accessibility/Accessible.java,
9268 javax/accessibility/AccessibleKeyBinding.java,
9269 javax/accessibility/AccessibleRelation.java,
9270 javax/accessibility/AccessibleRelationSet.java,
9271 javax/accessibility/AccessibleResourceBundle.java,
9272 javax/accessibility/AccessibleRole.java,
9273 javax/accessibility/AccessibleSelection.java,
9274 javax/accessibility/AccessibleState.java,
9275 javax/accessibility/AccessibleStateSet.java,
9276 javax/accessibility/AccessibleTable.java,
9277 javax/accessibility/AccessibleTableModelChange.java,
9278 javax/accessibility/AccessibleText.java,
9279 javax/accessibility/AccessibleValue.java,
9280 javax/swing/AbstractAction.java,
9281 javax/swing/AbstractButton.java,
9282 javax/swing/AbstractCellEditor.java,
9283 javax/swing/AbstractListModel.java,
9284 javax/swing/AbstractSet.java, javax/swing/Action.java,
9285 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9286 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9287 javax/swing/border/CompoundBorder.java,
9288 javax/swing/border/EmptyBorder.java,
9289 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9290 javax/swing/border/LineBorder.java,
9291 javax/swing/border/MatteBorder.java,
9292 javax/swing/border/TitledBorder.java,
9293 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9294 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9295 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9296 javax/swing/CellRendererPane.java,
9297 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9298 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9299 javax/swing/colorchooser/ColorSelectionModel.java,
9300 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9301 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9302 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9303 javax/swing/DefaultBoundedRangeModel.java,
9304 javax/swing/DefaultButtonModel.java,
9305 javax/swing/DefaultCellEditor.java,
9306 javax/swing/DefaultCellRenderer.java,
9307 javax/swing/DefaultComboBoxModel.java,
9308 javax/swing/DefaultDesktopManager.java,
9309 javax/swing/DefaultFocusManager.java,
9310 javax/swing/DefaultListCellRenderer.java,
9311 javax/swing/DefaultListModel.java,
9312 javax/swing/DefaultListSelectionModel.java,
9313 javax/swing/DefaultSingleSelectionModel.java,
9314 javax/swing/DesktopManager.java,
9315 javax/swing/event/AncestorEvent.java,
9316 javax/swing/event/AncestorListener.java,
9317 javax/swing/event/CaretEvent.java,
9318 javax/swing/event/CaretListener.java,
9319 javax/swing/event/CellEditorListener.java,
9320 javax/swing/event/ChangeEvent.java,
9321 javax/swing/event/ChangeListener.java,
9322 javax/swing/event/DocumentEvent.java,
9323 javax/swing/event/DocumentListener.java,
9324 javax/swing/event/EventListenerList.java,
9325 javax/swing/event/HyperlinkEvent.java,
9326 javax/swing/event/HyperlinkListener.java,
9327 javax/swing/event/InternalFrameAdapter.java,
9328 javax/swing/event/InternalFrameEvent.java,
9329 javax/swing/event/InternalFrameListener.java,
9330 javax/swing/event/ListDataEvent.java,
9331 javax/swing/event/ListDataListener.java,
9332 javax/swing/event/ListSelectionEvent.java,
9333 javax/swing/event/ListSelectionListener.java,
9334 javax/swing/event/MenuDragMouseEvent.java,
9335 javax/swing/event/MenuDragMouseListener.java,
9336 javax/swing/event/MenuEvent.java,
9337 javax/swing/event/MenuKeyEvent.java,
9338 javax/swing/event/MenuKeyListener.java,
9339 javax/swing/event/MenuListener.java,
9340 javax/swing/event/MouseInputAdapter.java,
9341 javax/swing/event/MouseInputListener.java,
9342 javax/swing/event/PopupMenuEvent.java,
9343 javax/swing/event/PopupMenuListener.java,
9344 javax/swing/event/SwingPropertyChangeSupport.java,
9345 javax/swing/event/TableColumnModelEvent.java,
9346 javax/swing/event/TableColumnModelListener.java,
9347 javax/swing/event/TableModelEvent.java,
9348 javax/swing/event/TableModelListener.java,
9349 javax/swing/event/TreeExpansionEvent.java,
9350 javax/swing/event/TreeExpansionListener.java,
9351 javax/swing/event/TreeModelEvent.java,
9352 javax/swing/event/TreeModelListener.java,
9353 javax/swing/event/TreeSelectionEvent.java,
9354 javax/swing/event/TreeSelectionListener.java,
9355 javax/swing/event/TreeWillExpandListener.java,
9356 javax/swing/event/UndoableEditEvent.java,
9357 javax/swing/event/UndoableEditListener.java,
9358 javax/swing/filechooser/FileFilter.java,
9359 javax/swing/filechooser/FileSystemView.java,
9360 javax/swing/filechooser/FileView.java,
9361 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9362 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9363 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9364 javax/swing/JApplet.java, javax/swing/JButton.java,
9365 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9366 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9367 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9368 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9369 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9370 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9371 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9372 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9373 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9374 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9375 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9376 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9377 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9378 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9379 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9380 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9381 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9382 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9383 javax/swing/JToolTip.java, javax/swing/JTree.java,
9384 javax/swing/JViewport.java, javax/swing/JWindow.java,
9385 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9386 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9387 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9388 javax/swing/MenuSelectionManager.java,
9389 javax/swing/MutableComboBoxModel.java,
9390 javax/swing/OverlayLayout.java,
9391 javax/swing/plaf/ActionMapUIResource.java,
9392 javax/swing/plaf/basic/BasicBorders.java,
9393 javax/swing/plaf/basic/BasicButtonUI.java,
9394 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9395 javax/swing/plaf/basic/BasicDefaults.java,
9396 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9397 javax/swing/plaf/basic/BasicIconFactory.java,
9398 javax/swing/plaf/basic/BasicLabelUI.java,
9399 javax/swing/plaf/basic/BasicListUI.java,
9400 javax/swing/plaf/basic/BasicLookAndFeel.java,
9401 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9402 javax/swing/plaf/basic/BasicPanelUI.java,
9403 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9404 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9405 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9406 javax/swing/plaf/basic/BasicTextUI.java,
9407 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9408 javax/swing/plaf/basic/BasicTreeUI.java,
9409 javax/swing/plaf/basic/BasicViewportUI.java,
9410 javax/swing/plaf/BorderUIResource.java,
9411 javax/swing/plaf/ButtonUI.java,
9412 javax/swing/plaf/ColorChooserUI.java,
9413 javax/swing/plaf/ColorUIResource.java,
9414 javax/swing/plaf/ComboBoxUI.java,
9415 javax/swing/plaf/ComponentInputMapUIResource.java,
9416 javax/swing/plaf/ComponentUI.java,
9417 javax/swing/plaf/DesktopIconUI.java,
9418 javax/swing/plaf/DesktopPaneUI.java,
9419 javax/swing/plaf/DimensionUIResource.java,
9420 javax/swing/plaf/FileChooserUI.java,
9421 javax/swing/plaf/FontUIResource.java,
9422 javax/swing/plaf/IconUIResource.java,
9423 javax/swing/plaf/InputMapUIResource.java,
9424 javax/swing/plaf/InsetsUIResource.java,
9425 javax/swing/plaf/InternalFrameUI.java,
9426 javax/swing/plaf/LabelUI.java,
9427 javax/swing/plaf/ListUI.java,
9428 javax/swing/plaf/MenuBarUI.java,
9429 javax/swing/plaf/MenuItemUI.java,
9430 javax/swing/plaf/OptionPaneUI.java,
9431 javax/swing/plaf/PanelUI.java,
9432 javax/swing/plaf/PopupMenuUI.java,
9433 javax/swing/plaf/ProgressBarUI.java,
9434 javax/swing/plaf/RootPaneUI.java,
9435 javax/swing/plaf/ScrollBarUI.java,
9436 javax/swing/plaf/ScrollPaneUI.java,
9437 javax/swing/plaf/SeparatorUI.java,
9438 javax/swing/plaf/SliderUI.java,
9439 javax/swing/plaf/SplitPaneUI.java,
9440 javax/swing/plaf/TabbedPaneUI.java,
9441 javax/swing/plaf/TableHeaderUI.java,
9442 javax/swing/plaf/TableUI.java,
9443 javax/swing/plaf/TextUI.java,
9444 javax/swing/plaf/ToolBarUI.java,
9445 javax/swing/plaf/ToolTipUI.java,
9446 javax/swing/plaf/TreeUI.java,
9447 javax/swing/plaf/UIResource.java,
9448 javax/swing/plaf/ViewportUI.java,
9449 javax/swing/ProgressMonitorInputStream.java,
9450 javax/swing/ProgressMonitor.java,
9451 javax/swing/Renderer.java,
9452 javax/swing/RepaintManager.java,
9453 javax/swing/RootPaneContainer.java,
9454 javax/swing/Scrollable.java,
9455 javax/swing/ScrollPaneConstants.java,
9456 javax/swing/ScrollPaneLayout.java,
9457 javax/swing/SingleSelectionModel.java,
9458 javax/swing/SizeRequirements.java,
9459 javax/swing/SizeSequence.java,
9460 javax/swing/SwingConstants.java,
9461 javax/swing/SwingUtilities.java,
9462 javax/swing/table/AbstractTableModel.java,
9463 javax/swing/table/DefaultTableCellRenderer.java,
9464 javax/swing/table/DefaultTableColumnModel.java,
9465 javax/swing/table/DefaultTableModel.java,
9466 javax/swing/table/TableCellEditor.java,
9467 javax/swing/table/TableCellRenderer.java,
9468 javax/swing/table/TableColumn.java,
9469 javax/swing/table/TableColumnModel.java,
9470 javax/swing/table/TableModel.java,
9471 javax/swing/text/AbstractDocument.java,
9472 javax/swing/text/AttributeSet.java,
9473 javax/swing/text/BadLocationException.java,
9474 javax/swing/text/Caret.java,
9475 javax/swing/text/CharacterIterator.java,
9476 javax/swing/text/ComponentView.java,
9477 javax/swing/text/DefaultCaret.java,
9478 javax/swing/text/DefaultEditorKit.java,
9479 javax/swing/text/Document.java,
9480 javax/swing/text/EditorKit.java,
9481 javax/swing/text/Element.java,
9482 javax/swing/text/GapContent.java,
9483 javax/swing/text/JTextComponent.java,
9484 javax/swing/text/Keymap.java,
9485 javax/swing/text/MutableAttributeSet.java,
9486 javax/swing/text/PlainDocument.java,
9487 javax/swing/text/PlainEditorKit.java,
9488 javax/swing/text/Position.java,
9489 javax/swing/text/Segment.java,
9490 javax/swing/text/StyledDocument.java,
9491 javax/swing/text/StyledEditorKit.java,
9492 javax/swing/text/Style.java,
9493 javax/swing/text/TextAction.java,
9494 javax/swing/text/ViewFactory.java,
9495 javax/swing/text/View.java,
9496 javax/swing/Timer.java,
9497 javax/swing/ToggleButtonModel.java,
9498 javax/swing/ToolTipManager.java,
9499 javax/swing/tree/AbstractLayoutCache.java,
9500 javax/swing/tree/DefaultMutableTreeNode.java,
9501 javax/swing/tree/DefaultTreeCellEditor.java,
9502 javax/swing/tree/DefaultTreeCellRenderer.java,
9503 javax/swing/tree/DefaultTreeModel.java,
9504 javax/swing/tree/DefaultTreeSelectionModel.java,
9505 javax/swing/tree/ExpandVetoException.java,
9506 javax/swing/tree/FixedHeightLayoutCache.java,
9507 javax/swing/tree/MutableTreeNode.java,
9508 javax/swing/tree/RowMapper.java,
9509 javax/swing/tree/TreeCellEditor.java,
9510 javax/swing/tree/TreeCellRenderer.java,
9511 javax/swing/tree/TreeModel.java,
9512 javax/swing/tree/TreeNode.java,
9513 javax/swing/tree/TreePath.java,
9514 javax/swing/tree/TreeSelectionModel.java,
9515 javax/swing/tree/VariableHeightLayoutCache.java,
9516 javax/swing/UIDefaults.java,
9517 javax/swing/UIManager.java,
9518 javax/swing/undo/AbstractUndoableEdit.java,
9519 javax/swing/undo/CannotRedoException.java,
9520 javax/swing/undo/CannotUndoException.java,
9521 javax/swing/undo/CompoundEdit.java,
9522 javax/swing/undo/StateEditable.java,
9523 javax/swing/undo/StateEdit.java,
9524 javax/swing/undo/UndoableEdit.java,
9525 javax/swing/undo/UndoableEditSupport.java,
9526 javax/swing/undo/UndoManager.java,
9527 javax/swing/UnsupportedLookAndFeelException.java,
9528 javax/swing/ViewportLayout.java,
9529 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9530
9531 * java/awt/ActiveEvent.java,
9532 java/awt/Adjustable.java, java/awt/AWTError.java,
9533 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9534 java/awt/AWTException.java, java/awt/AWTPermission.java,
9535 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9536 java/awt/Color.java, java/awt/Component.java,
9537 java/awt/ComponentOrientation.java, java/awt/Container.java,
9538 java/awt/datatransfer/MimeTypeParseException.java,
9539 java/awt/datatransfer/Transferable.java,
9540 java/awt/datatransfer/UnsupportedFlavorException.java,
9541 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9542 java/awt/event/ActionListener.java,
9543 java/awt/event/AdjustmentEvent.java,
9544 java/awt/event/AdjustmentListener.java,
9545 java/awt/event/AWTEventListener.java,
9546 java/awt/event/ComponentAdapter.java,
9547 java/awt/event/ComponentEvent.java,
9548 java/awt/event/ComponentListener.java,
9549 java/awt/event/ContainerAdapter.java,
9550 java/awt/event/ContainerEvent.java,
9551 java/awt/event/ContainerListener.java,
9552 java/awt/event/FocusAdapter.java,
9553 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9554 java/awt/event/HierarchyBoundsAdapter.java,
9555 java/awt/event/HierarchyBoundsListener.java,
9556 java/awt/event/HierarchyEvent.java,
9557 java/awt/event/HierarchyListener.java,
9558 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9559 java/awt/event/InputMethodListener.java,
9560 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9561 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9562 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9563 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9564 java/awt/event/MouseListener.java,
9565 java/awt/event/MouseMotionAdapter.java,
9566 java/awt/event/MouseMotionListener.java,
9567 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9568 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9569 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9570 java/awt/event/WindowListener.java, java/awt/Font.java,
9571 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9572 java/awt/geom/Ellipse2D.java,
9573 java/awt/geom/IllegalPathStateException.java,
9574 java/awt/geom/Line2D.java,
9575 java/awt/geom/NoninvertibleTransformException.java,
9576 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9577 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9578 java/awt/geom/RoundRectangle2D.java,
9579 java/awt/GraphicsConfiguration.java,
9580 java/awt/IllegalComponentStateException.java,
9581 java/awt/image/IndexColorModel.java,
9582 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9583 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9584 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9585 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9586 java/awt/MenuItem.java, java/awt/PaintContext.java,
9587 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9588 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9589 java/awt/PrintJob.java, java/awt/Rectangle.java,
9590 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9591 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9592 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9593
9594 * java/awt/im/spi/InputMethod.java,
9595 java/awt/im/spi/InputMethodContext.java,
9596 java/awt/im/spi/InputMethodDescriptor.java,
9597 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9598 java/awt/image/renderable/ParameterBlock.java,
9599 java/awt/image/renderable/RenderContext.java,
9600 java/awt/image/renderable/RenderableImage.java,
9601 java/awt/image/renderable/RenderableImageOp.java,
9602 java/awt/image/renderable/RenderableImageProducer.java,
9603 java/awt/image/renderable/RenderedImageFactory.java: New files from
9604 classpath.
9605
9606 * gnu/java/awt/EventModifier.java,
9607 gnu/java/awt/image/ImageDecoder.java,
9608 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9609
9610 * gnu/awt/xlib/XGraphicsConfiguration.java,
9611 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9612 API.
9613
9614 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9615 GNU Classpath.
9616
9617 * Makefile.am: Add new files.
9618 * Makefile.in: Rebuilt.
9619
9620 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9621
9622 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9623 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9624 findResource, getResources, findResources): Add javadoc from classpath.
9625 (getSystemResources): Implemented.
9626
9627 2002-08-01 Mark Wielaard <mark@klomp.org>
9628
9629 Revert patch that breaks libgcj shared library on powerpc:
9630 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9631 implementation classes by using Class.getName(). Uses Strings again.
9632 * gnu/java/security/der/DEREncodingException.java,
9633 gnu/java/security/provider/DERReader.java,
9634 gnu/java/security/provider/DERWriter.java,
9635 gnu/java/security/provider/DSAKeyPairGenerator.java,
9636 gnu/java/security/provider/DSAParameterGenerator.java,
9637 gnu/java/security/provider/DSAParameters.java,
9638 gnu/java/security/provider/DSASignature.java,
9639 gnu/java/security/provider/GnuDSAPrivateKey.java,
9640 gnu/java/security/provider/GnuDSAPublicKey.java,
9641 gnu/java/security/provider/MD5.java,
9642 gnu/java/security/util/Prime.java: Removed.
9643 * Makefile.am (ordinary_java_source_files): Remove above files.
9644 * Makefile.in: Regenerate.
9645 * gnu/java/security/provider/DefaultPolicy.java
9646 (getPermissions): Revert to maintaining static class variable of
9647 Permissions.
9648 * gnu/java/security/provider/SHA.java
9649 (engineUpdate): Revert algorithm change.
9650 (engineDigest): Revert algorithm change.
9651
9652 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9653
9654 * configure.host: Add SH support.
9655 * sysdep/sh/locks.h: New file.
9656
9657 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9658
9659 * java/awt/Frame.java (Frame): Remove println calls.
9660
9661 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9662
9663 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9664 * configure: Rebuilt.
9665
9666 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9667
9668 * sysdep/powerpc/locks.h: Formatting.
9669 (_LARX): Define.
9670 (_STCX): Define.
9671 (compare_and_swap): Use _LARX and _STCX.
9672 (compare_and_swap_release): Likewise.
9673
9674 2002-07-26 Tom Tromey <tromey@redhat.com>
9675
9676 * java/net/Authenticator.java: New version from Classpath.
9677 * java/net/DatagramSocketImpl.java: New version from Classpath.
9678
9679 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9680
9681 * configure.host: Add powerpc64*-* entry.
9682
9683 2002-07-26 Tom Tromey <tromey@redhat.com>
9684
9685 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9686 fcntl.h.
9687
9688 2002-07-24 Tom Tromey <tromey@redhat.com>
9689
9690 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9691 argument to _load.
9692
9693 2002-07-24 Tom Tromey <tromey@redhat.com>
9694 Tony Kimball <alk@pobox.com>
9695
9696 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9697 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9698 * java/io/RandomAccessFile.java (setLength): New method.
9699 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9700 * java/io/FileDescriptor.java (setLength): New method.
9701
9702 2002-07-24 Mark Wielaard <mark@klomp.org>
9703
9704 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9705 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9706 field call setAccessible(true).
9707 (setByteField): Likewise.
9708 (setCharField): Likewise.
9709 (setDoubleField): Likewise.
9710 (setFloatField): Likewise.
9711 (setIntField): Likewise.
9712 (setLongField): Likewise.
9713 (setShortField): Likewise.
9714 (setObjectField): Likewise.
9715
9716 2002-07-24 Tom Tromey <tromey@redhat.com>
9717
9718 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9719 use toString() to format array element.
9720
9721 2002-07-23 Mark Wielaard <mark@klomp.org>
9722
9723 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9724 MessageDigestSpi (fixes Classpath bug #783).
9725
9726 2002-07-21 Mark Wielaard <mark@klomp.org>
9727
9728 * gnu/java/security/provider/Gnu.java: Reference all implementation
9729 classes by using Class.getName().
9730
9731 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9732
9733 * java/lang/ieeefp.h: Add x86-64 support.
9734 * configure.in: Likewise.
9735 * configure.host: Likewise.
9736 * configure: Regenerated.
9737 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9738
9739 2002-07-16 Mark Wielaard <mark@klomp.org>
9740
9741 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9742 (whitespaceChars): call resetChar().
9743
9744 2002-07-15 Tom Tromey <tromey@redhat.com>
9745
9746 * Makefile.in: Rebuilt.
9747 * Makefile.am (awt_java_source_files): Added new files.
9748 * java/beans/ExceptionListener.java: Merged with Classpath.
9749 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9750 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9751 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9752 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9753 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9754 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9755 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9756
9757 2002-07-14 Mark Wielaard <mark@klomp.org>
9758
9759 * gnu/java/security/der/DEREncodingException.java,
9760 gnu/java/security/provider/DERReader.java,
9761 gnu/java/security/provider/DERWriter.java,
9762 gnu/java/security/provider/DSAKeyPairGenerator.java,
9763 gnu/java/security/provider/DSAParameterGenerator.java,
9764 gnu/java/security/provider/DSAParameters.java,
9765 gnu/java/security/provider/DSASignature.java,
9766 gnu/java/security/provider/GnuDSAPrivateKey.java,
9767 gnu/java/security/provider/GnuDSAPublicKey.java,
9768 gnu/java/security/provider/MD5.java,
9769 gnu/java/security/util/Prime.java: New files from Classpath.
9770 * Makefile.am (ordinary_java_source_files): Add new files.
9771 * Makefile.in: Regenerate.
9772
9773 2002-07-14 C. Brian Jones <cbj@gnu.org>
9774
9775 * gnu/java/security/provider/DefaultPolicy.java
9776 (getPermissions): do not maintain static class variable of
9777 Permissions
9778 * gnu/java/security/provider/SHA.java
9779 (engineUpdate): algorithm change
9780 (engineDigest): algorithm change
9781
9782 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9783
9784 For PR libgcj/7292:
9785 * java/lang/Character.java (toString(char)): Now static.
9786
9787 2002-07-12 Mark Wielaard <mark@klomp.org>
9788
9789 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9790 (getStackTrace0): new method.
9791 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9792 (printStackTrace(PrintWriter)): replace with pure java implementation.
9793 (printRawStackTrace): removed.
9794 (getStackTrace0): new method.
9795 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9796 * gcj/javaprims.h: regenerate class list.
9797 * include/name-finder.h (lookup): new returns StackTraceElement*.
9798 (method_name, file_name): fields removed.
9799 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9800 (~_Jv_name_finder): close new descriptors.
9801 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9802 (createStackTraceElement): new method.
9803 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9804
9805 2002-07-10 Tom Tromey <tromey@redhat.com>
9806
9807 * configure: Rebuilt.
9808 * configure.in: Use `test' after `&&'. From Chris Faylor.
9809
9810 2002-07-08 Mark Wielaard <mark@klomp.org>
9811
9812 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9813 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9814 java.sql.DatabaseMetaData.TestJdbc20
9815
9816 2002-07-05 Tony Kimball <alk@pobox.com>
9817
9818 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9819
9820 2002-07-04 Tom Tromey <tromey@redhat.com>
9821 Jeff Sturm <jsturm@one-point.com>
9822
9823 Fix for PR libgcj/7060:
9824 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9825 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9826 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9827 * java/lang/Class.java (getMethod): New Java implementation;
9828 complies with spec.
9829 (_getMethod): New native method.
9830
9831 2002-07-02 Tom Tromey <tromey@redhat.com>
9832 David Hovemeyer <daveho@cs.umd.edu>
9833
9834 * java/text/ChoiceFormat.java
9835 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9836 in check loop.
9837 * java/text/MessageFormat.java
9838 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9839 to MessageFormat.
9840
9841 2002-07-01 Tom Tromey <tromey@redhat.com>
9842
9843 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9844 StringTokenizer on null string. For PR libgcj/7180.
9845 From daveho@cs.umd.edu.
9846
9847 2002-06-24 Tom Tromey <tromey@redhat.com>
9848
9849 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9850 (IntegerClass): Likewise.
9851 * java/lang/natClass.cc (CloneableClass): Removed.
9852 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9853 ConstructorClass): Likewise.
9854 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9855 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9856 SerializableClass): Likewise.
9857 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9858 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9859 LongClass, FloatClass, DoubleClass): Likewise.
9860
9861 * verify.cc (branch_prepass): Updated for change to exception
9862 handler type.
9863 (verify_instructions_0): Likewise.
9864 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9865 (handleExceptionTableEntry): Updated for change to exception
9866 handler type.
9867 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9868 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9869 (union _Jv_InterpPC): New.
9870 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9871 (class _Jv_InterpMethod): Added new `prepared' field.
9872 (class _Jv_InterpMethod): Added `compile' method. Removed
9873 `continue1' and `find_exception'. Changed arguments to `run'.
9874 * interpret.cc (union insn_slot): New.
9875 (find_exception): Removed.
9876 (run_normal): Removed most logic.
9877 (run_synch_object): Likewise; also, use JvSynchronize.
9878 (run_synch_class): Likewise.
9879 (run): Removed.
9880 (continue1): Renamed as `run'. Compile bytecode if required.
9881 Add new code to allow refinement of direct-threaded code at
9882 runtime. Handle exceptions.
9883 (SAVE_PC): Removed.
9884 (compile): New method.
9885 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9886 (NULLARRAYCHECK): Don't use SAVE_PC.
9887 (pc_t): New typedef.
9888 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9889 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9890
9891 2002-06-23 Tom Tromey <tromey@redhat.com>
9892
9893 * configure: Rebuilt.
9894 * configure.in (INTERPRETER): New subst.
9895 (AM_RUNTESTFLAGS): Don't subst.
9896
9897 * Makefile.in: Rebuilt.
9898 * Makefile.am ($(srcdir)/java/lang/Object.h,
9899 $(srcdir)/java/lang/Class.h): Added dummy targets.
9900
9901 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9902
9903 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9904
9905 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9906 java/sql/Savepoint.java: New files.
9907 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9908 java/sql/Blob.java, java/sql/CallableStatement.java,
9909 java/sql/Clob.java, java/sql/Connection.java,
9910 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9911 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9912 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9913 java/sql/Ref.java, java/sql/ResultSet.java,
9914 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9915 java/sql/SQLException.java, java/sql/SQLInput.java,
9916 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9917 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9918 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9919 (JDK 1.4) specification.
9920 * javax/sql/ConnectionEvent.java,
9921 javax/sql/ConnectionEventListener.java,
9922 javax/sql/ConnectionPoolDataSource.java,
9923 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9924 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9925 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9926 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9927 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9928 javax/sql/XADataSource.java: New files.
9929 * Makefile.am: Add new files.
9930 * Makefile.in: Rebuilt.
9931
9932 2002-06-20 Tom Tromey <tromey@redhat.com>
9933
9934 For PR libgcj/7073:
9935 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9936 exists.
9937 * defineclass.cc (handleClassBegin): Superclass for interface is
9938 `null'.
9939
9940 2002-06-18 Tom Tromey <tromey@redhat.com>
9941
9942 * gcj/javaprims.h: Updated class declaration list.
9943 * Makefile.in: Rebuilt.
9944 * Makefile.am (core_java_source_files): Removed
9945 BasicMapEntry.java.
9946 * java/util/BasicMapEntry.java: Removed.
9947
9948 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9949
9950 * java/net/natPlainDatagramSocketImpl.cc (receive):
9951 Check bounds of argument to FD_SET.
9952 (setOption): Throw exception if socket is closed.
9953
9954 * java/net/natPlainSocketImpl.cc (accept, read):
9955 Check bounds of argument to FD_SET.
9956 (setOption): Throw exception if socket is closed.
9957
9958 2002-06-18 Tom Tromey <tromey@redhat.com>
9959
9960 * gcj/javaprims.h: Updated class declaration list.
9961 * Makefile.in: Rebuilt.
9962 * Makefile.am (core_java_source_files): Added
9963 PropertyPermissionCollection.java.
9964 * java/lang/Thread.java (group, name): Now package-private.
9965 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9966 * java/util/AbstractList.java: Likewise.
9967 * java/util/AbstractMap.java: Likewise.
9968 * java/util/Calendar.java: Likewise.
9969 * java/util/Collections.java: Likewise.
9970 * java/util/HashMap.java: Likewise.
9971 * java/util/Hashtable.java: Likewise.
9972 * java/util/LinkedHashMap.java: Likewise.
9973 * java/util/LinkedList.java: Likewise.
9974 * java/util/List.java: Likewise.
9975 * java/util/ListResourceBundle.java: Likewise.
9976 * java/util/Map.java: Likewise.
9977 * java/util/Observable.java: Likewise.
9978 * java/util/Properties.java: Likewise.
9979 * java/util/PropertyPermission.java: Likewise.
9980 * java/util/PropertyPermissionCollection.java: Likewise.
9981 * java/util/PropertyResourceBundle.java: Likewise.
9982 * java/util/Random.java: Likewise.
9983 * java/util/SimpleTimeZone.java: Likewise.
9984 * java/util/StringTokenizer.java: Likewise.
9985 * java/util/TimerTask.java: Likewise.
9986 * java/util/TreeMap.java: Likewise.
9987 * java/util/WeakHashMap.java: Likewise.
9988 * java/util/jar/Attributes.java: Likewise.
9989 * java/util/jar/JarException.java: Likewise.
9990 * java/util/jar/Manifest.java: Likewise.
9991
9992 2002-06-17 Tom Tromey <tromey@redhat.com>
9993
9994 * gcj/javaprims.h: Updated class declaration list.
9995 * Makefile.in: Rebuilt.
9996 * Makefile.am (core_java_source_files): Added new file.
9997 * java/util/EventListenerProxy.java: New file.
9998 * java/util/EventListener.java: Re-merge with Classpath.
9999 * java/util/EventObject.java: Re-merge with Classpath.
10000
10001 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10002
10003 * java/lang/ClassNotFoundException.java: New Classpath version.
10004
10005 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10006
10007 * java/rmi/activation/ActivateFailedException.java: Remerge from
10008 Classpath version.
10009 * java/rmi/activation/ActivationException.java: Ditto.
10010 * java/rmi/activation/UnknownGroupException.java: Ditto.
10011 * java/rmi/activation/UnknownObjectException.java: Ditto.
10012 * java/rmi/server/ExportException: Ditto.
10013 * java/rmi/server/ServerCloneException: Ditto.
10014 * java/rmi/server/ServerNotActiveException: Ditto.
10015 * java/rmi/server/SkeletonMismatchException: Ditto.
10016 * java/rmi/server/SkeletonNotFoundException: Ditto.
10017 * java/rmi/server/SocketSecurityException: Ditto.
10018
10019 2002-06-16 Tom Tromey <tromey@redhat.com>
10020
10021 * gcj/javaprims.h: Updated class declaration list.
10022
10023 * java/io/LineNumberInputStream.java: Merged with Classpath.
10024
10025 * java/lang/RuntimeException.java: Re-merge with Classpath.
10026 * java/util/ArrayList.java: Likewise.
10027 * java/util/Arrays.java: Likewise.
10028 * java/util/BitSet.java: Likewise.
10029 * java/util/Dictionary.java: Likewise.
10030 * java/util/IdentityHashMap.java: Likewise.
10031 * java/util/MissingResourceException.java: Likewise.
10032 * java/util/Observer.java: Likewise.
10033 * java/util/TooManyListenersException.java: Likewise.
10034 * java/util/zip/DataFormatException.java: Likewise.
10035 * java/util/zip/ZipException.java: Likewise.
10036
10037 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10038
10039 * java/rmi/AccessException.java: Remerge from Classpath.
10040 * java/rmi/AlreadyBoundException.java: Ditto.
10041 * java/rmi/ConnectException.java: Ditto.
10042 * java/rmi/ConnectIOException.java: Ditto.
10043 * java/rmi/MarshalException.java: Ditto.
10044 * java/rmi/NoSuchObjectException.java: Ditto.
10045 * java/rmi/NotBoundException.java: Ditto.
10046 * java/rmi/RemoteException.java: Ditto.
10047 * java/rmi/RMISecurityException.java: Ditto.
10048 * java/rmi/ServerError.java: Ditto.
10049 * java/rmi/ServerException.java: Ditto.
10050 * java/rmi/ServerRuntimeException.java: Ditto.
10051 * java/rmi/StubNotFoundException.java: Ditto.
10052 * java/rmi/UnexpectedExcpetion.java: Ditto.
10053 * java/rmi/UnknownHostException.java: Ditto.
10054 * java/rmi/UnmarshalException.java: Ditto.
10055
10056 2002-06-15 Tom Tromey <tromey@redhat.com>
10057
10058 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10059 * java/lang/ArithmeticException.java: Likewise.
10060 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10061 * java/lang/ArrayStoreException.java: Likewise.
10062 * java/lang/Byte.java: Likewise.
10063 * java/lang/CharSequence.java: Likewise.
10064 * java/lang/ClassCastException.java: Likewise.
10065 * java/lang/ClassCircularityError.java: Likewise.
10066 * java/lang/ClassFormatError.java: Likewise.
10067 * java/lang/CloneNotSupportedException.java: Likewise.
10068 * java/lang/Cloneable.java: Likewise.
10069 * java/lang/Comparable.java: Likewise.
10070 * java/lang/Compiler.java: Likewise.
10071 * java/lang/Error.java: Likewise.
10072 * java/lang/ExceptionInInitializerError.java: Likewise.
10073 * java/lang/IllegalAccessError.java: Likewise.
10074 * java/lang/IllegalAccessException.java: Likewise.
10075 * java/lang/IllegalArgumentException.java: Likewise.
10076 * java/lang/IllegalMonitorStateException.java: Likewise.
10077 * java/lang/IllegalStateException.java: Likewise.
10078 * java/lang/IllegalThreadStateException.java: Likewise.
10079 * java/lang/IncompatibleClassChangeError.java: Likewise.
10080 * java/lang/IndexOutOfBoundsException.java: Likewise.
10081 * java/lang/InheritableThreadLocal.java: Likewise.
10082 * java/lang/InstantiationError.java: Likewise.
10083 * java/lang/InstantiationException.java: Likewise.
10084 * java/lang/InternalError.java: Likewise.
10085 * java/lang/InterruptedException.java: Likewise.
10086 * java/lang/LinkageError.java: Likewise.
10087 * java/lang/NegativeArraySizeException.java: Likewise.
10088 * java/lang/NoClassDefFoundError.java: Likewise.
10089 * java/lang/NoSuchFieldError.java: Likewise.
10090 * java/lang/NoSuchFieldException.java: Likewise.
10091 * java/lang/NoSuchMethodError.java: Likewise.
10092 * java/lang/NoSuchMethodException.java: Likewise.
10093 * java/lang/NullPointerException.java: Likewise.
10094 * java/lang/NumberFormatException.java: Likewise.
10095 * java/lang/OutOfMemoryError.java: Likewise.
10096 * java/lang/Process.java: Likewise.
10097 * java/lang/Runnable.java: Likewise.
10098 * java/lang/RuntimePermission.java: Likewise.
10099 * java/lang/SecurityException.java: Likewise.
10100 * java/lang/Short.java: Likewise.
10101 * java/lang/StackOverflowError.java: Likewise.
10102 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10103 * java/lang/ThreadDeath.java: Likewise.
10104 * java/lang/ThreadLocal.java: Likewise.
10105 * java/lang/UnknownError.java: Likewise.
10106 * java/lang/UnsatisfiedLinkError.java: Likewise.
10107 * java/lang/UnsupportedClassVersionError.java: Likewise.
10108 * java/lang/UnsupportedOperationException.java: Likewise.
10109 * java/lang/VerifyError.java: Likewise.
10110 * java/lang/VirtualMachineError.java: Likewise.
10111 * java/lang/reflect/InvocationTargetException.java: Likewise.
10112 * java/net/BindException.java: Likewise.
10113 * java/net/ConnectException.java: Likewise.
10114 * java/net/MalformedURLException.java: Likewise.
10115 * java/net/NoRouteToHostException.java: Likewise.
10116 * java/net/ProtocolException.java: Likewise.
10117 * java/net/SocketException.java: Likewise.
10118 * java/net/UnknownHostException.java: Likewise.
10119 * java/net/UnknownServiceException.java: Likewise.
10120
10121 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10122 * java/io/CharConversionException.java: Likewise.
10123 * java/io/EOFException.java: Likewise.
10124 * java/io/FileNotFoundException.java: Likewise.
10125 * java/io/IOException.java: Likewise.
10126 * java/io/InterruptedIOException.java: Likewise.
10127 * java/io/InvalidClassException.java: Likewise.
10128 * java/io/InvalidObjectException.java: Likewise.
10129 * java/io/NotActiveException.java: Likewise.
10130 * java/io/NotSerializableException.java: Likewise.
10131 * java/io/ObjectStreamException.java: Likewise.
10132 * java/io/ObjectStreamConstants.java: Likewise.
10133 * java/io/OptionalDataException.java: Likewise.
10134 * java/io/PipedInputStream.java: Likewise.
10135 * java/io/PushbackInputStream.java: Likewise.
10136 * java/io/StreamCorruptedException.java: Likewise.
10137 * java/io/SyncFailedException.java: Likewise.
10138 * java/io/UTFDataFormatException.java: Likewise.
10139 * java/io/UnsupportedEncodingException.java: Likewise.
10140 * java/io/WriteAbortedException.java: Likewise.
10141
10142 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10143
10144 * java/text/ChoiceFormat.java: Update comments from Classpath.
10145 * java/text/ParseException.java (serialVersionUID): New
10146 field from Classpath.
10147 * java/text/ParseException.java: Update formatting & comments
10148 from Classpath.
10149
10150 2002-06-15 Tom Tromey <tromey@redhat.com>
10151
10152 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10153 been read but none output by inflater.
10154 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10155 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10156 is_finished.
10157 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10158 version.
10159 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10160 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10161 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10162 version.
10163 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10164
10165 2002-06-13 Tom Tromey <tromey@redhat.com>
10166
10167 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10168 true and OFFSET!=0.
10169 * java/lang/String.java (String(char[],int,int,boolean): New
10170 constructor.
10171 * java/lang/Long.java: Imported new version from Classpath.
10172 * java/lang/Number.java: Likewise.
10173 * java/lang/Integer.java: Likewise.
10174 * java/lang/Long.java: Likewise.
10175 * java/lang/Float.java: Likewise.
10176 * java/lang/Boolean.java: Likewise.
10177 * java/lang/Double.java: Likewise.
10178 * java/lang/Void.java: Likewise.
10179
10180 2002-06-12 Tom Tromey <tromey@redhat.com>
10181
10182 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10183 Fixes PR libgcj/6652.
10184
10185 2002-06-10 Tom Tromey <tromey@redhat.com>
10186
10187 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10188 (Class::getPackagePortion): Likewise.
10189 * java/lang/Class.java (desiredAssertionStatus): New method from
10190 Classpath.
10191 (getPackagePortion): Likewise.
10192 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10193 packageAssertionStatus, classAssertionStatus): New methods from
10194 Classpath.
10195 * java/lang/ClassLoader.java (defaultAssertionStatus,
10196 systemPackageAssertionStatus, packageAssertionStatus,
10197 systemClassAssertionStatus, classAssertionStatus): New fields from
10198 Classpath.
10199 (setDefaultAssertionStatus, setPackageAssertionStatus,
10200 setClassAssertionStatus, clearAssertionStatus): New methods from
10201 Classpath.
10202 * Makefile.in: Rebuilt.
10203 * Makefile.am (core_java_source_files): Added AssertionError.java.
10204 * java/lang/AssertionError.java: New from Classpath.
10205
10206 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10207
10208 * configure.host: Disable hash synchronization and slow_pthread_self
10209 for cygwin.
10210
10211 2002-06-06 Adam Megacz <adam@xwt.org>
10212
10213 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10214 locking, just like the Sun JVM does.
10215
10216 2002-06-05 H.J. Lu (hjl@gnu.org)
10217
10218 * Makefile.am (libgcj_convenience.la): Revert the last change.
10219 (libgcj.la): Likewise.
10220 * Makefile.in: Regenerated.
10221
10222 2002-06-04 H.J. Lu (hjl@gnu.org)
10223
10224 * Makefile.am (libgcj_convenience.la): New target.
10225 (libgcj.la): Depend on libgcj_convenience.la.
10226 * Makefile.in: Regenerated.
10227
10228 2002-06-04 H.J. Lu (hjl@gnu.org)
10229
10230 * configure.in (--with-newlib): New option:
10231 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10232 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10233 Linux.
10234 * configure: Regenerated.
10235
10236 2002-06-04 Tom Tromey <tromey@redhat.com>
10237
10238 * java/util/natTimeZone.cc: Include <stdio.h>.
10239
10240 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10241
10242 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10243 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10244 Set SIGNAL_HANDLER=include/s390-linux.h.
10245 * configure: Regenerate.
10246 * include/s390-linux.h: New file.
10247
10248 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10249
10250 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10251 not "stackTrace".
10252
10253 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10254
10255 Merge JDK 1.4 java.security changes from classpath.
10256
10257 * java/security/AccessControlException.java: Merge from Classpath.
10258 * java/security/AccessController.java: Likewise.
10259 * java/security/AllPermission.java: Likewise.
10260 * java/security/BasicPermission.java: Likewise.
10261 * java/security/Certificate.java: Likewise.
10262 * java/security/CodeSource.java: Likewise.
10263 * java/security/DigestException.java: Likewise.
10264 * java/security/DigestOutputStream.java: Likewise.
10265 * java/security/DomainCombiner.java: Likewise.
10266 * java/security/GeneralSecurityException.java: Likewise.
10267 * java/security/Guard.java: Likewise.
10268 * java/security/GuardedObject.java: Likewise.
10269 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10270 * java/security/InvalidKeyException.java: Likewise.
10271 * java/security/InvalidParameterException.java: Likewise.
10272 * java/security/Key.java: Likewise.
10273 * java/security/KeyException.java: Likewise.
10274 * java/security/KeyManagementException.java: Likewise.
10275 * java/security/KeyStoreException.java: Likewise.
10276 * java/security/MessageDigest.java: Likewise.
10277 * java/security/NoSuchAlgorithmException.java: Likewise.
10278 * java/security/NoSuchProviderException.java: Likewise.
10279 * java/security/Permission.java: Likewise.
10280 * java/security/PermissionCollection.java: Likewise.
10281 * java/security/Permissions.java: Likewise.
10282 * java/security/Policy.java: Likewise.
10283 * java/security/Principal.java: Likewise.
10284 * java/security/PrivateKey.java: Likewise.
10285 * java/security/PrivilegedAction.java: Likewise.
10286 * java/security/PrivilegedActionException.java: Likewise.
10287 * java/security/PrivilegedExceptionAction.java: Likewise.
10288 * java/security/ProtectionDomain.java: Likewise.
10289 * java/security/ProviderException.java: Likewise.
10290 * java/security/PublicKey.java: Likewise.
10291 * java/security/SecureClassLoader.java: Likewise.
10292 * java/security/SecurityPermission.java: Likewise.
10293 * java/security/SignatureException.java: Likewise.
10294 * java/security/UnrecoverableKeyException.java: Likewise.
10295 * java/security/UnresolvedPermission.java: Likewise.
10296 * java/security/acl/AclNotFoundException.java: Likewise.
10297 * java/security/acl/LastOwnerException.java: Likewise.
10298 * java/security/acl/NotOwnerException.java: Likewise.
10299 * java/security/cert/CRLException.java: Likewise.
10300 * java/security/cert/CertificateEncodingException.java: Likewise.
10301 * java/security/cert/CertificateException.java: Likewise.
10302 * java/security/cert/CertificateExpiredException.java: Likewise.
10303 * java/security/cert/CertificateFactory.java: Likewise.
10304 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10305 * java/security/cert/CertificateParsingException.java: Likewise.
10306 * java/security/spec/InvalidKeySpecException.java: Likewise.
10307 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10308
10309 * java/security/cert/CertPath.java: New file.
10310 * java/security/cert/CertPathBuilderException.java: New file.
10311 * java/security/cert/CertPathValidatorException.java: New file.
10312 * java/security/cert/CertStoreException.java: New file.
10313
10314 * Makefile.am: Add new CertPath classes.
10315 * Makefile.in: Rebuilt.
10316
10317 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10318
10319 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10320
10321 Merge JDK 1.4 exception chaining support from classpath.
10322
10323 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10324 (stackTraceBytes): Rename from stackTrace.
10325 * java/lang/Exception.java: Merge from classpath.
10326 * java/lang/StackTraceElement: New file from classpath.
10327 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10328 * Makefile.am: Add StackTraceElement.
10329 * Makefile.in: Rebuilt.
10330
10331 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10332
10333 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10334 they build first.
10335 * Makefile.in: Rebuilt.
10336
10337 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10338
10339 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10340 * configure.in: Likewise.
10341 * aclocal.m4: Regenerate.
10342 * configure: Regenerate.
10343
10344 2002-05-13 Tom Tromey <tromey@redhat.com>
10345
10346 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10347 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10348 Include platform.h.
10349
10350 Fixes PR libgcj/6389:
10351 * Makefile.in: Rebuilt.
10352 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10353 * java/util/natTimeZone.cc: New file.
10354 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10355 * java/lang/System.java: Merged with Classpath.
10356 * java/lang/Runtime.java: Merged with Classpath.
10357 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10358 security check.
10359 (setIn0): Renamed from setIn; don't run security check.
10360 (setOut0): Renamed from setOut; don't run security check.
10361 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10362 init_properties): Moved to natRuntime.cc.
10363 Moved many includes to natRuntime.cc.
10364 (isWordsBigEndian): New method.
10365 * java/lang/natRuntime.cc: Include Long.h, also other includes
10366 previously in natSystem.cc.
10367 (maxMemory): New function.
10368 (exitInternal): Renamed from `_exit'.
10369 (exit): Removed.
10370 (init): Don't set finalize_on_exit.
10371 (exitInternal): Use `finalizeOnExit'.
10372 (file_encoding, getpwuid_adaptor): New functions from
10373 natSystem.cc.
10374 (insertSystemProperties): New method, renamed from
10375 System::init_properties. Don't set user.timezone.
10376 (_load): Don't call checkLink.
10377 (execInternal): New method.
10378 (availableProcessors): Likewise.
10379 (nativeGetLibname): Likewise.
10380
10381 2002-05-11 Mark Wielaard <mark@klomp.org>
10382
10383 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10384 space characters.
10385 (previous_internal): Likewise.
10386
10387 2002-05-09 Tom Tromey <tromey@redhat.com>
10388
10389 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10390
10391 * java/util/ResourceBundle.java: New version from Classpath.
10392 * java/util/Locale.java: Likewise.
10393
10394 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10395
10396 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10397 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10398 LD_LIBRARY_PATH.
10399
10400 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10401
10402 * libjava/Makefile.am (all_java_source_files): New variable.
10403 (all_java_class_files): Likewise.
10404 .java.class: New rule.
10405 (CLEANFILES): Remove tmp-list.
10406 * libjava/Makefile.in: Regenerated.
10407
10408 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10409
10410 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10411 Append .exe to executable names. Fix for cygwin.
10412
10413 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10414
10415 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10416 script entry, and set LD to it when configuring multilibs.
10417 * configure: Rebuilt.
10418
10419 2002-05-07 Tom Tromey <tromey@redhat.com>
10420
10421 * java/lang/natString.cc (unintern): Fixed typo.
10422
10423 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10424
10425 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10426 with -no-install on *-*-cygwin*.
10427
10428 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10429
10430 * testsuite/lib/libjava.exp (test_libjava_from_source):
10431 Add comment explaining last patch
10432
10433 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10434
10435 * testsuite/lib/libjava.exp (test_libjava_from_source):
10436 Append .exe to executable names. If no suffix is present,
10437 then ".exe" is added by default on win32. Harmless
10438 elsewhere so always do it.
10439
10440 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10441 Tom Tromey <tromey@redhat.com>
10442
10443 * java/lang/natSystem.cc (getSystemTimeZone): Use
10444 HAVE_UNDERSCORE_TIMEZONE.
10445 * include/config.h.in: Rebuilt.
10446 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10447 * aclocal.m4, configure: Rebuilt.
10448 * acinclude.m4: Run AC_EXEEXT.
10449 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10450 Add test for `_timezone'.
10451
10452 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10453
10454 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10455 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10456 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10457 * Makefile.in: Rebuilt.
10458
10459 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10460
10461 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10462 use sigaction instead of __libc_sigaction.
10463
10464 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10465
10466 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10467 (libjava_init): Use it to find libgcj.spec.
10468 (libjava_arguments): Likewise.
10469
10470 2002-05-02 David S. Miller <davem@redhat.com>
10471
10472 PR bootstrap/6525
10473 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10474 __libc_sigaction on Sparc.
10475
10476 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10477
10478 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10479 sys/filio.h, if present.
10480
10481 2002-04-30 Tom Tromey <tromey@redhat.com>
10482
10483 * java/io/BufferedReader.java (fill): Handle case where markPos
10484 point to ignored \n. Fixes PR libgcj/6301.
10485
10486 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10487
10488 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10489
10490 2002-04-29 Adam King <aking@dreammechanics.com>
10491
10492 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10493 of file in APPEND mode.
10494
10495 2002-04-25 David S. Miller <davem@redhat.com>
10496
10497 PR target/6422
10498 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10499 program counter to next program counter minus 8. Update
10500 comments in this macro to explain why.
10501
10502 2002-04-26 Tom Tromey <tromey@redhat.com>
10503
10504 * verify.cc (construct_primitive_array_type) [void_type]: New
10505 case.
10506 (branch_prepass): Added dummy entries for unused instruction
10507 values.
10508 (verify_instructions_0): Likewise.
10509 * interpret.cc (continue1): Comment fix.
10510 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10511 * Makefile.in: Rebuilt.
10512 * Makefile.am: Added -Wswitch-enum.
10513
10514 2002-04-24 Tom Tromey <tromey@redhat.com>
10515
10516 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10517 correct length of UTF-8 encoded name. Strip leading `/'.
10518 (_Jv_RegisterResource): Use _Jv_Malloc.
10519
10520 2002-04-23 Adam Megacz <adam@xwt.org>
10521
10522 * win32.cc, include/win32.cc (backtrace): Added this function
10523 because Win32 does not supply it.
10524
10525 2002-04-21 David S. Miller <davem@redhat.com>
10526
10527 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10528 magic instruction reading sequence.
10529
10530 2002-04-21 Mark Wielaard <mark@klomp.org>
10531
10532 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10533
10534 2002-04-19 David S. Miller <davem@redhat.com>
10535
10536 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10537 arg.
10538 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10539 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10540 on Sparc too.
10541 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10542 for 64-bit sparc.
10543 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10544 * sysdeps/sparc/locks.h: New file.
10545 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10546 on all sparc Solaris configurations. Set to
10547 include/dwarf2-signal.h on sparc Linux.
10548 * configure: Regenerate
10549 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10550
10551 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10552
10553 * configure: Rebuilt.
10554 * configure.in (backtrace): Function doesn't work on IA-64.
10555
10556 2002-04-17 Adam King <aking@dreammechanics.com>
10557
10558 * java/io/File.java (normalizePath): Add Win32 support for auto
10559 conversion of a '/' path separator to Win32's '\' separator.
10560
10561 2002-04-16 Tom Tromey <tromey@redhat.com>
10562
10563 Fix for PR libgcj/6081:
10564 * Makefile.in: Rebuilt.
10565 * Makefile.am (install-data-local): Use GNU make trick to avoid
10566 shell limit.
10567
10568 2002-04-16 Adam King <aking@dreammechanics.com>
10569 Tom Tromey <tromey@redhat.com>
10570
10571 * java/io/natFileWin32.cc (performList): Return the correct array
10572 type. Don't duplicate the creation of a File since it's already
10573 done earlier in the method and the existing code would cause a
10574 ArrayStoreException. Don't use fixed-size array.
10575 (_access, _stat, attr, getCanonicalPath, performMkdir,
10576 performRenameTo): Don't use fixed-size array.
10577 (getCanonicalPath): Use throw, not _Jv_Throw.
10578
10579 2002-04-15 DJ Delorie <dj@redhat.com>
10580
10581 * configure.in: Allow building in $srcdir.
10582 * configure: Regenerated.
10583
10584 2002-04-14 Mark Wielaard <mark@klomp.org>
10585
10586 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10587 * java/net/natSocketImpl.cc (close): Likewise.
10588
10589 2002-04-14 Mark Wielaard <mark@klomp.org>
10590
10591 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10592
10593 2002-04-13 Adam King <aking@dreammechanics.com>
10594
10595 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10596 the f/F/d/D modifiers.
10597
10598 2002-04-12 Anthony Green <green@redhat.com>
10599
10600 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10601 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10602 * Makefile.in: Rebuilt.
10603 * configure.in: Substitute gcc_version.
10604 * configure: Rebuilt.
10605
10606 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10607
10608 * configure.host: Set can_unwind_signal on hosts which support it.
10609 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10610 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10611 exceptions and can_unwind_signal isn't set.
10612 * configure: Rebuilt.
10613
10614 2002-04-11 Tom Tromey <tromey@redhat.com>
10615
10616 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10617
10618 2002-04-11 Adam King <aking@dreammechanics.com>
10619 Tom Tromey <tromey@redhat.com>
10620
10621 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10622 _Jv_ThrowNullPointerException): Mark as noreturn.
10623 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10624 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10625 fixes.
10626
10627 2002-04-10 Tom Tromey <tromey@redhat.com>
10628
10629 * Makefile.in: Rebuilt.
10630 * Makefile.am (java/lang/Thread.h): Mark
10631 _Jv_AttachCurrentThreadAsDaemon as friend.
10632 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10633 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10634 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10635 function.
10636 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10637 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10638 (_Jv_JNI_InvokeFunctions): Added
10639 _Jv_JNI_AttachCurrentThreadAsDaemon.
10640 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10641 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10642 (JNI_CreateJavaVM): Likewise.
10643 (_Jv_JNI_AttachCurrentThread): Likewise.
10644 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10645 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10646 (_Jv_JNIFunctions): Initialize new fields.
10647 (_Jv_JNI_NewDirectByteBuffer): New function.
10648 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10649 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10650 * include/jni.h (JNI_VERSION_1_4): New macro.
10651 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10652 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10653 (JNINativeInterface::NewDirectByteBuffer): New field.
10654 (JNINativeInterface::GetDirectBufferAddress): New field.
10655 (JNINativeInterface::GetDirectBufferCapacity): New field.
10656 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10657 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10658 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10659
10660 2002-04-09 Tom Tromey <tromey@redhat.com>
10661
10662 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10663
10664 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10665
10666 Fix for PR libgcj/6187:
10667 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10668 distance.
10669
10670 2002-04-07 Mark Wielaard <mark@klomp.org>
10671
10672 * java/util/AbstractMap.java (putAll): Use entrySet size.
10673 (toString): Explicitly use getKey() and getValue().
10674
10675 2002-04-07 Mark Wielaard <mark@klomp.org>
10676
10677 * java/util/Hashtable.java (contains): Remove NullPointer check.
10678 (containsValue): Add NullPointer check.
10679 (remove): Always throw NullPointerException when key
10680 is null.
10681
10682 2002-04-07 Adam King <aking@dreammechanics.com>
10683
10684 * java/lang/natSystem.cc (init_properties): Call new function
10685 _Jv_platform_initProperties.
10686 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10687 support for the System properties os.name, os.arch, os.version,
10688 user.name, user.home, and user.dir.
10689 * include/posix.h, include/win32.h, posix.cc: New function
10690 _Jv_platform_initProperties.
10691
10692 2002-04-06 Mark Wielaard <mark@klomp.org>
10693
10694 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10695
10696 2002-04-06 Mark Wielaard <mark@klomp.org>
10697
10698 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10699 all of the remaining elements.
10700 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10701 (removeRange): If toIndex == fromIndex do
10702 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10703 (removeAll): Always throw NullPointerException when collection is
10704 null.
10705 (retrainAll): Likewise.
10706
10707 2002-04-05 Mark Wielaard <mark@klomp.org>
10708
10709 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10710 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10711
10712 2002-04-05 Adam Megacz <adam@xwt.org>
10713
10714 * exception.cc (abort): added static modifier
10715
10716 2002-04-04 Adam Megacz <adam@xwt.org>
10717
10718 * include/win32.h (_Jv_platform_close_on_exec): added inline
10719 modifier.
10720
10721 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10722
10723 * configure.host: Add case statement to support generic port
10724 properties. Add *-*-freebsd* section.
10725
10726 2002-04-04 Mark Wielaard <mark@klomp.org>
10727
10728 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10729 test.
10730 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10731 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10732 that depend on awt code and BufferedByteOutputStream.interrupt.
10733
10734 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10735
10736 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10737 incorrect "hi" value when count > 40.
10738
10739 2002-04-03 Mark Wielaard <mark@klomp.org>
10740
10741 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10742 ordering.
10743
10744 2002-04-02 Tom Tromey <tromey@redhat.com>
10745
10746 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10747 not `0'.
10748
10749 2002-04-02 Mark Wielaard <mark@klomp.org>
10750
10751 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10752 list of testsuite crashers.
10753
10754 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10755
10756 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10757 when resizing table.
10758
10759 2002-04-01 Mark Wielaard <mark@klomp.org>
10760
10761 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10762 NegativeArraySizeException
10763 (clear(int)): Use sign extended shift.
10764 (flip(int)): Likewise.
10765 (get(int)): Likewise.
10766 (nextClearBit(int)): Likewise.
10767 (nextSetBit(int)): Likewise.
10768 (set(int)): Likewise.
10769
10770 2002-04-01 Mark Wielaard <mark@klomp.org>
10771
10772 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10773 that can be compiled now and add testsuite crashers to ignore list.
10774
10775 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10776
10777 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10778
10779 * libgcj.spec.in: Override libgcc, not lib.
10780 * libgcj-test.spec.in: Likewise.
10781
10782 2002-03-29 Tom Tromey <tromey@redhat.com>
10783
10784 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10785 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10786
10787 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10788
10789 * java/net/PlainDatagramSocketImpl.java
10790 (close): Use native implementation.
10791 (finalize): New method.
10792
10793 * java/net/PlainSocketImpl.java (finalize): New method.
10794
10795 * java/net/natPlainDatagramSocketImpl.cc
10796 (java/io/FileDescriptor.h): Don't include.
10797 (close): Implement method here.
10798 (create): Don't assign fd.
10799
10800 * java/net/natPlainSocketImpl.cc
10801 (java/io/FileDescriptor.h): Don't include.
10802 (create): Don't assign fd.
10803 (accept): Likewise.
10804 (close): Synchronize.
10805
10806 2002-03-27 Richard Henderson <rth@redhat.com>
10807
10808 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10809
10810 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10811
10812 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10813 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10814 instead of syscall on IA-64.
10815 Add FIXME comment.
10816
10817 2002-03-27 Anthony Green <green@redhat.com>
10818
10819 * libgcj.spec.in: Add CHECKREFSPEC.
10820 * configure.in: Ditto.
10821 * configure.host: Ditto. Check references for xscale-elf.
10822 * configure: Rebuilt.
10823
10824 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10825
10826 * include/dwarf2-signal.h: Temporarily back out last change.
10827
10828 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10829
10830 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10831
10832 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10833
10834 * configure.in, configure: enable dwarf2-exception-style
10835 exception handling on IA-64.
10836 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10837 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10838 Add FIXME comment.
10839
10840 2002-03-25 Tom Tromey <tromey@redhat.com>
10841
10842 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10843 (jv_convert_LDFLAGS): Likewise.
10844 (gij_LDFLAGS): Likewise.
10845 (rmic_LDFLAGS): Likewise.
10846 (rmiregistry_LDFLAGS): Likewise.
10847 * configure.in (THREADLDFLAGS): New subst; set correctly for
10848 *BSD.
10849
10850 2002-03-25 Tom Tromey <tromey@redhat.com>
10851
10852 For PR libgcj/5303:
10853 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10854 and --version.
10855 (help): New method.
10856 (version): Likewise.
10857 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10858 "GNU".
10859 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10860 "GNU".
10861
10862 2002-03-25 Tom Tromey <tromey@redhat.com>
10863
10864 * java/awt/Component.java (processEvent): Check ComponentEvent
10865 after KeyEvent.
10866
10867 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10868
10869 * java/io/PushbackReader.java: Reformat.
10870
10871 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10872 calculate correct number of bytes skipped.
10873
10874 Based on patch from Intel's ORP team:
10875 * java/io/PushbackInputStream.java (available): Calculate correct
10876 number of bytes in buffer.
10877 (read): Remove redundant bound check. Return bytes from both the
10878 buffer and the stream.
10879
10880 2002-03-24 Tom Tromey <tromey@redhat.com>
10881
10882 * java/awt/TextComponent.java (TextComponent): Editable by
10883 default.
10884
10885 * java/awt/MenuItem.java (eventMask): No longer private.
10886 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10887 superclass if we didn't handle event.
10888 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10889 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10890 * java/awt/Choice.java (dispatchEventImpl): New method.
10891 * java/awt/List.java (dispatchEventImpl): New method.
10892 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10893 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10894 * java/awt/TextField.java (dispatchEventImpl): New method.
10895
10896 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10897
10898 * java/beans/IntrospectionException.java: Update to 1.4.
10899 * java/beans/PropertyVetoException.java: Ditto.
10900
10901 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10902
10903 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10904 Arrays.equals instead of ArrayHelper.equalsArray.
10905
10906 2002-03-24 C. Brian Jones <cbj@gnu.org>
10907
10908 * java/beans/Introspector.java: added new static final fields
10909 introduced in 1.2, lots of other updates remain to be done
10910
10911 2002-03-24 C. Brian Jones <cbj@gnu.org>
10912
10913 * java/beans/Introspector.java: reformatting
10914
10915 2002-03-24 C. Brian Jones <cbj@gnu.org>
10916
10917 * java/beans/Introspector.java: default beanInfoSearchPath will
10918 not include sun.beans.infos given we provide no such package and
10919 the API doesn't really require it; gnu.java.beans.info is the
10920 default.
10921
10922 2002-03-24 Mark Wielaard <mark@klomp.org>
10923
10924 Thanks to Orp developers
10925 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10926 switch TRUE and FALSE return values.
10927
10928 2002-03-23 Tom Tromey <tromey@redhat.com>
10929
10930 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10931 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10932
10933 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10934
10935 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10936 MONTH entry. Fixes PR libgcj/6045.
10937
10938 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10939
10940 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10941
10942 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10943
10944 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10945 not release_set.
10946 * sysdep/powerpc/locks.h (write_barrier): New function.
10947 * sysdep/i386/locks.h (write_barrier): New function.
10948
10949 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10950
10951 * include/jni.h Use correct C comments.
10952
10953 2002-03-18 Tom Tromey <tromey@redhat.com>
10954
10955 * include/jni.h (JNIIMPORT): New macro.
10956 (JNIEXPORT): Likewise.
10957 (JNICALL): Likewise.
10958
10959 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10960
10961 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10962 systems.
10963
10964 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10965
10966 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10967 INIT_SEGV: Use old_i386_kernel_sigaction.
10968 INIT_FP: Likewise.
10969
10970 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10971
10972 * java/lang/natSystem.cc (init_properties): Update VM version
10973 properties.
10974 * configure.in: Set GCJVERSION.
10975 * acconfig.h: Add GCJVERSION.
10976 * configure: Rebuilt.
10977 * include/config.h.in: Rebuilt.
10978
10979 2002-03-17 Anthony Green <green@redhat.com>
10980
10981 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10982
10983 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10984
10985 Build a single libgcj.so, without separate gc and zlib libraries.
10986 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10987 SYS_ZLIBS if system zlib is used.
10988 * configure: Rebuilt.
10989 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10990 * Makefile.in: Rebuilt.
10991 * libtool-version: Increment .so version number.
10992
10993 * Makefile.am: Escape quotes in echo.
10994 * Makefile.in: Rebuilt.
10995
10996 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10997
10998 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10999 * Makefile.in: Rebuilt.
11000
11001 2002-03-15 Anthony Green <green@redhat.com>
11002
11003 * configure.host (FILE): New macro for specifing File
11004 implementation.
11005 * configure: Rebuilt.
11006 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11007
11008 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11009
11010 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11011 already implicitly brought in from libgcj.la.
11012 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11013 * Makefile.in: Rebuilt.
11014
11015 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11016
11017 * THANKS: Fix punctuation, alphabetization.
11018
11019 2002-03-15 Tom Tromey <tromey@redhat.com>
11020 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11021
11022 Fix for PR libgcj/5944.
11023 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11024
11025 2002-03-15 Anthony Green <green@redhat.com>
11026
11027 * configure.in (tool_include_dir): Define.
11028 * configure: Rebuilt.
11029 * gcj/Makefile.am: Install libgcj-config.h relative to
11030 tool_include_dir.
11031 * gcj/Makefile: Rebuilt.
11032 * gcj/libgcj-config.h: Add warning comment.
11033
11034 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11035
11036 * configure.host (powerpc*-darwin*): Enable interpreter.
11037
11038 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11039
11040 * include/posix.h: Add multiple include header protection.
11041 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11042
11043 2002-03-10 Adam Megacz <adam@xwt.org>
11044
11045 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11046
11047 2002-03-10 Tom Tromey <tromey@redhat.com>
11048
11049 * java/awt/GridLayout.java (layoutContainer): Handle case where
11050 there are no items in container.
11051
11052 * java/lang/Win32Process.java: Added comment.
11053 * include/posix.h (_Jv_platform_close_on_exec): New function.
11054 Include fcntl.h.
11055 * include/win32.h (_Jv_platform_close_on_exec): New function.
11056 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11057 flag.
11058 (accept): Likewise.
11059 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11060 close-on-exec flag.
11061 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11062 flag.
11063
11064 2002-03-09 Tom Tromey <tromey@redhat.com>
11065
11066 * verify.cc (state::NO_STACK): New constant.
11067 (state::is_unmerged_ret_state): Handle case where stacktop is
11068 NO_STACK.
11069 (state::merge): Handle NO_STACK merges.
11070 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11071 for instruction following jsr.
11072 (stacktop, stackdepth): Removed unused variables.
11073 (pop_jump): Ignore case where all remaining states are skipped.
11074
11075 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11076
11077 * java/awt/ImageMediaEntry: Removed.
11078 * java/awt/MediaEntry: Removed.
11079
11080 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11081
11082 Hashtable synchronization for PowerPC.
11083 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11084 slow_pthread_self. Set up symlink for sysdeps directory.
11085 * configure: Rebuild.
11086 * configure.host: Document more shell variables. Set sysdeps_dir
11087 for most platforms. Set slow_pthread_self for i686. Set
11088 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11089 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11090 that memory barrier is emitted where required.
11091 * prims.cc: 64-bit align static primitive class instances.
11092 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11093 read_barrier() to enforce ordering of reads.
11094 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11095 primitives for PowerPC.
11096 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11097 moved from natObject.cc.
11098 * sysdep/alpha/locks.h: Likewise.
11099 * sysdep/ia64/locks.h: Likewise.
11100 * sysdep/generic/locks.h: Likewise.
11101 * java/lang/natObject.cc: Move thread synchronization primitives to
11102 system-dependent headers.
11103
11104 2002-03-09 Adam Megacz <adam@xwt.org>
11105
11106 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11107 bytes read and no failure code returned.
11108
11109 2002-03-09 Adam Megacz <adam@xwt.org>
11110
11111 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11112 definitions to simulate -mthreads.
11113
11114 2002-03-09 Adam Megacz <adam@xwt.org>
11115
11116 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11117 avoid precision loss.
11118
11119 2002-03-09 Per Bothner <per@bothner.com>
11120
11121 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11122 * gnu/gcj/xlib/XImage.java: Likewise.
11123 * gnu/gcj/xlib/XColor.java: Likewise.
11124
11125 2002-03-09 Adam Megacz <adam@xwt.org>
11126
11127 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11128 IOException so that Throwable.printStackTrace fails correctly.
11129
11130 2002-03-08 Adam Megacz <adam@xwt.org>
11131
11132 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11133 fixed.
11134
11135 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11136
11137 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11138 truncated to int.
11139
11140 2002-03-08 Tom Tromey <tromey@redhat.com>
11141
11142 * include/jni.h: Include stdio.h.
11143
11144 2002-03-08 Tom Tromey <tromey@redhat.com>
11145
11146 * posix.cc (internal_gettimeofday): New function.
11147 (_Jv_select): Use it.
11148
11149 2002-03-07 Adam Megacz <adam@xwt.org>
11150
11151 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11152 WIN32, and added thunks for read(), write(), and close().
11153 * java/net/natPlainSocketImpl.cc (accept, read, read):
11154 Disabled timeouts on WIN32 pending discussion.
11155
11156 2002-03-07 Adam Megacz <adam@xwt.org>
11157
11158 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11159 returns jlong. Added implementation
11160 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11161 returns jlong.
11162 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11163 returns jlong.
11164 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11165 returns jlong.
11166 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11167 _Jv_platform_gettimeofday signature.
11168
11169 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11170
11171 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11172 (read): Call recv() directly, not _Jv_recv().
11173
11174 2002-03-06 Tom Tromey <tromey@redhat.com>
11175
11176 * java/io/natFileDescriptorEcos.cc (init): Don't use
11177 GetStdHandle.
11178 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11179 is negative.
11180 (init): Don't use GetStdHandle.
11181
11182 * include/config.h.in: Rebuilt.
11183 * configure: Rebuilt.
11184 * Makefile.in: Rebuilt.
11185
11186 2002-03-06 Adam Megacz <adam@xwt.org>
11187
11188 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11189 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11190 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11191 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11192
11193 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11194
11195 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11196 the code for generating include/java-chartables.h.
11197 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11198 merge with Classpath.
11199 * scripts/unicode-muncher.pl: Copy from Classpath.
11200 * scritps/MakeCharTables.java: New file.
11201 * gnu/gcj/convert/Blocks-3.txt: New file.
11202 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11203 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11204 * gnu/java/lang/CharData.java: Copy from Classpath.
11205 * Makefile.am (ordinary_java_source_files): Add
11206 gnu/java/lang/CharData.java.
11207 * configure.in: Remove --enable-fast-character option.
11208 * java/lang/Character.java: Merge algorithms and Javadoc with
11209 Classpath.
11210 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11211 efficiently.
11212 * include/java-chardecomp.h: Regenerate.
11213 * include/java-chartables.h: Regenerate.
11214
11215 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11216
11217 * java/awt/MediaTracker.java: Implemented.
11218 * Makefile.am: Add MediaTracker.
11219 * Makefile.in: Rebuilt.
11220
11221 2002-03-05 Tom Tromey <tromey@redhat.com>
11222
11223 * java/lang/natPosixProcess.cc (fail): Removed.
11224 (startProcess): Simplified error-handling. Preserve
11225 LD_LIBRARY_PATH across exec.
11226
11227 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11228 AbstractMethodError.
11229
11230 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11231
11232 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11233 * Makefile.in: Rebuilt.
11234
11235 2002-03-03 Mark Wielaard <mark@klomp.org>
11236
11237 * java/util/Timer (TaskQueue.stop): set elements to zero.
11238
11239 2002-02-28 Anthony Green <green@redhat.com>
11240
11241 * java/lang/reflect/natMethod.cc (result): Add void* element.
11242 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11243 constructor test.
11244
11245 2002-02-27 Adam Megacz <adam@xwt.org>
11246
11247 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11248 '#undef STRICT'.
11249
11250 2002-02-26 Tom Tromey <tromey@redhat.com>
11251
11252 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11253 * gij.cc (version): Use __VERSION__.
11254 * include/config.h.in: Rebuilt.
11255 * acconfig.h (GCJVERSION): Removed.
11256 * configure: Rebuilt.
11257 * configure.in (GCJVERSION): Removed.
11258
11259 2002-02-26 Andreas Schwab <schwab@suse.de>
11260
11261 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11262 glibcpp_CXX, since libjava uses even another CXX.
11263 * aclocal.m4, configure: Regenerated.
11264
11265 2002-02-26 Tom Tromey <tromey@redhat.com>
11266
11267 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11268 `1'.
11269
11270 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11271
11272 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11273 dependency tracking for .java files.
11274 * Makefile.in: Rebuilt.
11275
11276 2002-02-24 Adam Megacz <adam@xwt.org>
11277
11278 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11279 typo. Sorry.
11280
11281 2002-02-24 Adam Megacz <adam@xwt.org>
11282
11283 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11284 for Win32, changed #ifdefs to check WIN32 instead of the
11285 (now-obsolete) USE_WINSOCK, and removed support for socket
11286 timeouts on Win32 pending further discussion.
11287
11288 2002-02-24 Adam Megacz <adam@xwt.org>
11289
11290 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11291 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11292 delete
11293
11294 2002-02-24 Adam Megacz <adam@xwt.org>
11295
11296 * java/lang/Win32Process.java: Created a dummy class to allow
11297 build process to run to completion.
11298
11299 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11300
11301 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11302 Define ffi_result union for ffi_call result. Cast
11303 ffi_result members to jvalue.
11304
11305 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11306
11307 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11308 * testsuite/Makefile.in: Likewise.
11309
11310 2002-02-20 Per Bothner <per@bothner.com>
11311
11312 * java/net/URL.java (getPath): New JDK 1.3 method.
11313
11314 * java/net/URLStreamHandler.java (parseURL):
11315 It is wrong to prepend '/' to the file part of a relative url.
11316
11317 * java/net/URLStreamHandler.java (parseURL):
11318 Minor optizations - append '/' rather than "/".
11319
11320 * java/net/URLStreamHandler.java (parseURL):
11321 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11322 We probably should canonicalize for a context-relative url, though.
11323 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11324 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11325 (sameFile): New method. Uses canonicalizeFilename.
11326
11327 2002-02-22 Tom Tromey <tromey@redhat.com>
11328
11329 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11330 java.vendor and java.vm.vendor.
11331 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11332 recent copyright date.
11333 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11334 * gij.cc (version): Print `Inc'.
11335
11336 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11337
11338 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11339 * aclocal.m4, configure: Rebuilt.
11340
11341 2002-02-20 Per Bothner <per@bothner.com>
11342
11343 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11344 and/or output streams immediately here, instead of using File.exists.
11345 (inputStream, outputStream): New fields to save open streams.
11346 (getInputStream, getOutputStream): Use already-opened streams.
11347
11348 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11349
11350 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11351 Use it.
11352 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11353 * aclocal.m4, configure, Makefile.in: Rebuilt.
11354
11355 2002-02-19 Tom Tromey <tromey@redhat.com>
11356
11357 Fix for PR libgcj/5696:
11358 * verify.cc (is_assignable_from_slow): Never call
11359 _Jv_IsAssignableFrom.
11360 (verify_instructions_0): Added new debug statement.
11361 (state::print): Print information about whether local has
11362 changed.
11363 (state::merge): Don't call note_variable when merging locals.
11364 (state::set_exception): Removed old FIXME comment.
11365
11366 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11367
11368 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11369 enable SO_BROADCAST.
11370
11371 2002-02-18 Jason Merrill <jason@redhat.com>
11372
11373 * name-finder.cc (toHex): Use word mode, not long long.
11374
11375 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11376
11377 2002-02-15 Tom Tromey <tromey@redhat.com>
11378
11379 Fix for PR libgcj/5695:
11380 * verify.cc (is_assignable_from_slow): Check to see if target is
11381 an Object before checking to see if source is an interface.
11382 (verify_instructions_0) [op_invokeinterface]: Handle case where
11383 we're making an interface call on Object.
11384
11385 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11386
11387 * Makefile.in: Rebuilt with Eric's change below.
11388
11389 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11390 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11391 Removed functions which are now implemented in Math.java.
11392
11393 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11394
11395 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11396 * Makefile.am (core_java_source_files): Add
11397 java/lang/StrictMath.java.
11398 * java/lang/Math.java: Merge with Classpath.
11399 * java/lang/StrictMath.java: New file - merge with Classpath.
11400
11401 2002-02-14 Mark Wielaard <mark@klomp.org>
11402
11403 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11404 package as a workaround for gcj 3.0.x
11405
11406 2002-02-14 Mark Wielaard <mark@klomp.org>
11407
11408 * java/security/BasicPermission.java: extends with fully qualified
11409 classname as workaround for gcj 3.0.4.
11410
11411 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11412
11413 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11414 around gcj bug of wrong emitted qualifier for inherited method.
11415 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11416 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11417 constructor to reduce amount of emitted bytecode. While this
11418 happens to work around a jikes 1.15 bug, it is still a useful
11419 patch even for correct compilers.
11420 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11421 * gnu/java/rmi/server/UnicastRemoteCall.java
11422 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11423
11424 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11425
11426 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11427 * java/net/SocketImpl.java: Ditto.
11428 * java/rmi/server/RMIClassLoader.java: Ditto.
11429 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11430
11431 2002-02-14 Mark Wielaard <mark@klomp.org>
11432
11433 Thanks to Takashi Okamoto
11434 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11435 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11436 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11437
11438 2002-02-13 Todd Stock <toddastock@yahoo.com>
11439
11440 Fix for PR libgcj/5670:
11441 * verify.cc (is_assignable_from_slow): If `source' is interface,
11442 recursively look for merge with `target'.
11443
11444 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11445
11446 * include/jni.h: Fix typo.
11447
11448 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11449
11450 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11451 correctly.
11452
11453 2002-02-13 Todd Stock <toddastock@yahoo.com>
11454
11455 Fix for PR libgcj/5671:
11456 * verify.cc (state::merge): Handle case where we're merging
11457 against an interface.
11458
11459 2002-02-12 Tom Tromey <tromey@redhat.com>
11460
11461 * exception.cc (std::abort): Mark as noreturn.
11462
11463 2002-02-12 Adam Megacz <adam@xwt.org>
11464
11465 * java/lang/Win32Process.java: Filled in a placeholder
11466 implementation so Win32 will build.
11467
11468 2002-02-12 Adam Megacz <adam@xwt.org>
11469
11470 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11471 * java/io/natFile.cc: Removed from repository.
11472 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11473
11474 2002-02-12 Adam Megacz <adam@xwt.org>
11475
11476 * win32.cc: Added two #includes to make win32.cc compile.
11477
11478 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11479
11480 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11481 declarations.
11482 (_Jv_InitGC): Don't bother locking, as this is always called from a
11483 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11484
11485 2002-02-11 Adam Megacz <adam@xwt.org>
11486
11487 * include/win32.h: Added _Jv_platform_gettimeofday.
11488 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11489
11490 2002-02-11 Adam Megacz <adam@xwt.org>
11491
11492 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11493 Added #undef STRICT to make windows.h and
11494 java/lang/reflect/Modifier.h cooperate.
11495
11496 2002-02-11 Adam Megacz <adam@xwt.org>
11497
11498 * java/io/natFileWin32.cc: Created a placeholder class with lots
11499 of FIXMEs.
11500
11501 2002-02-11 Adam Megacz <adam@xwt.org>
11502
11503 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11504 std::abort() to simply abort(). Also added "fake" std::abort() so
11505 we can #include unwind-pe.h without having to link against
11506 libstdc++-v3.
11507
11508 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11509
11510 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11511
11512 2002-02-08 Tom Tromey <tromey@redhat.com>
11513
11514 * interpret.cc (convert): New function.
11515 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11516 convert.
11517 Include Long.h.
11518
11519 2002-02-08 Anthony Green <green@redhat.com>
11520
11521 * configure.host: Add support for xscale-elf embedded target.
11522
11523 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11524
11525 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11526 dereferenced.
11527 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11528 frame.
11529
11530 2002-02-07 Tom Tromey <tromey@redhat.com>
11531
11532 * java/io/natFile.cc (_access): Use __builtin_alloca.
11533 (_stat): Likewise.
11534 (attr): Likewise.
11535 (getCanonicalPath): Likewise.
11536 (performList): Likewise.
11537 (performMkdir): Likewise.
11538 (performSetReadOnly): Likewise.
11539 (performRenameTo): Likewise.
11540 (performSetLastModified): Likewise.
11541 (performCreate): Likewise.
11542 (performDelete): Likewise.
11543
11544 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11545
11546 * HACKING: Fix URL for the automake-gcj.
11547
11548 2002-02-07 Tom Tromey <tromey@redhat.com>
11549
11550 * java/lang/natThrowable.cc: Updated copyright.
11551 * java/io/natFileWin32.cc: Updated copyright.
11552 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11553 * win32-threads.cc: Updated copyright.
11554 * name-finder.cc: Updated copyright.
11555 * include/name-finder.h: Updated copyright.
11556
11557 * include/name-finder.h: Conditionally include sys/wait.h.
11558 * include/config.h.in: Rebuilt.
11559
11560 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11561 Size buffer based on real size of string.
11562 (_stat): Likewise.
11563 (attr): Likewise.
11564 (getCanonicalPath): Likewise.
11565 (performList): Likewise.
11566 (performMkdir): Likewise.
11567 (performSetReadOnly): Likewise.
11568 (unixroot): Removed.
11569 (performRenameTo): Likewise.
11570 (performSetLastModified): Likewise.
11571 (performCreate): Likewise.
11572 (performDelete): Likewise.
11573 (performListRoots): Always return new array.
11574
11575 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11576 * win32.cc (win32_exception_handler): Now static.
11577 * include/win32.h (_Jv_platform_initialize): Declare.
11578 (win32_exception_handler): Don't declare.
11579 * java/lang/natSystem.cc (currentTimeMillis): Use
11580 _Jv_platform_gettimeofday.
11581 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11582 (_Jv_select): Use new name.
11583 (_Jv_platform_initialize): New function.
11584 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11585 _Jv_gettimeofday.
11586 (_Jv_platform_initialize): Declare.
11587
11588 * configure: Rebuilt.
11589 * configure.in: Removed unnecessary parens.
11590
11591 2002-02-06 Adam Megacz <adam@xwt.org>
11592
11593 * configure.in: Changed mingw) to *mingw*).
11594 * win32.cc: Created this file.
11595 * win32.h: Created this file.
11596 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11597 win32_exception_handler from prims.cc to win32.cc, added
11598 header in win32.h.
11599 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11600 longer needed now that we have platform.h
11601
11602 2002-02-06 Adam Megacz <adam@xwt.org>
11603
11604 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11605 use uint<n>_t instead of LONG and BYTE
11606
11607 2002-02-06 Adam Megacz <adam@xwt.org>
11608
11609 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11610
11611 2002-02-06 Anthony Green <green@redhat.com>
11612
11613 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11614 Implement missing method stubs.
11615 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11616 targets.
11617 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11618 concept of timezones.
11619 (init_properties): Don't refer to _Jv_Environment_Properties
11620 when this feature is not available.
11621 * include/config.h.in: Rebuilt.
11622 * acconfig.h: Add DISABLE_MAIN_ARGS.
11623 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11624 * configure: Rebuilt.
11625 * configure.in: Add --disable-main-args option. Test for
11626 opendir function. Replace AC_CHECK_SIZEOF with
11627 AC_COMPILE_CHECK_SIZEOF.
11628 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11629 * aclocal.m4: Rebuilt.
11630 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11631
11632 2002-02-06 Tom Tromey <tromey@redhat.com>
11633
11634 * verify.cc (require_array_type): If argument is a null array of
11635 references, return null as the element type.
11636
11637 2002-02-06 Mark Wielaard <mark@klomp.org>
11638
11639 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11640 duplicate of a wide type.
11641
11642 2002-02-06 Tom Tromey <tromey@redhat.com>
11643
11644 * verify.cc (type::isnull): New method.
11645 (require_array_type): Handle case where array is null.
11646 (verify_instructions_0) [op_arraylength]: Likewise.
11647
11648 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11649
11650 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11651 Symlink PLATFORMH to platform.h.
11652 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11653 PLATFORMOBJS.
11654 * java/lang/natSystem.cc: #include platform.h not posix.h.
11655 * Makefile.in: Rebuilt with libgcj automake.
11656 * configure: Rebuilt.
11657
11658 2002-02-05 Richard Henderson <rth@redhat.com>
11659
11660 * Makefile.in: Undo munging last change.
11661
11662 2002-02-04 Adam Megacz <adam@xwt.org>
11663
11664 * win32.cc: Created it.
11665 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11666 which is set to posix.cc or win32.cc.
11667 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11668
11669 2002-02-04 Adam Megacz <adam@xwt.org>
11670
11671 * configure.in: Corrected mingw case branches; added * before
11672 and after.
11673
11674 2002-02-04 Adam Megacz <adam@xwt.org>
11675
11676 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11677 if compiling for win32
11678
11679 2002-02-04 Adam Megacz <adam@xwt.org>
11680
11681 * win32-threads.cc: #undef STRICT after gc.h inclusion
11682
11683 2002-02-02 Tom Tromey <tromey@redhat.com>
11684
11685 * Makefile.in: Rebuilt.
11686
11687 2002-02-02 Jason Merrill <jason@redhat.com>
11688
11689 * Makefile.am (clean-nat): New target.
11690
11691 2002-02-02 Tom Tromey <tromey@redhat.com>
11692
11693 * java/io/natFile.cc: Removed old "FIXME" comments.
11694
11695 2002-02-01 Tom Tromey <tromey@redhat.com>
11696
11697 * java/lang/natPosixProcess.cc (myclose): New function.
11698 (fail): Use it.
11699 (startProcess): Likewise.
11700
11701 2002-02-01 Adam Megacz <adam@xwt.org>
11702
11703 * prims.cc: Added #undef STRICT after #include<windows.h>.
11704
11705 2002-02-01 Adam Megacz <adam@xwt.org>
11706
11707 * prims.cc
11708 (_Jv_CreateJavaVM): We now use WIN32 instead of
11709 USE_WIN32_SIGNALLING and USE_WINSOCK.
11710 (win32_exception_handler): Now throws an exception out of
11711 the signal handler; assumes SJLJ.
11712
11713 2002-02-01 Adam Megacz <adam@xwt.org>
11714
11715 * win32-threads.cc:
11716 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11717 wait() algorithm to make it safe.
11718 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11719 Added lazy creation of Win32 Events for better performance
11720 (really_start): This now uses GC_CreateThread so boehm-gc
11721 knows about new threads even when statically linked.
11722
11723 2002-02-01 Adam Megacz <adam@xwt.org>
11724
11725 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11726 enable safer wait() algorithm.
11727 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11728 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11729 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11730 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11731 instead of mutex.
11732 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11733
11734 2002-02-01 Adam Megacz <adam@xwt.org>
11735
11736 * configure.in: Added support for mingw.
11737 * java/lang/Win32Process.java: Created as empty file.
11738 * java/lang/natWin32Process.cc: Created as empty file.
11739
11740 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11741
11742 PR java/4972
11743 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11744 for libiconv in LIBICONV variable.
11745 * configure: Regenerated.
11746
11747 2002-01-31 Tom Tromey <tromey@redhat.com>
11748
11749 * verify.cc (state::enter_subroutine): New method.
11750 (handle_jsr_insn): Use it.
11751 (state::merge): When processing a `ret', correctly use
11752 subroutine's state to determine which local variables have
11753 changed.
11754 (push_exception_jump): Don't let stack overflow.
11755
11756 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11757
11758 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11759 --version output.
11760
11761 2002-01-30 Tom Tromey <tromey@redhat.com>
11762
11763 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11764 parameter for `recv' return type.
11765
11766 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11767 (state::merge): ... not here.
11768 (subr_entry_info): New structure.
11769 (entry_points): New field.
11770 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11771 entry_points.
11772
11773 2002-01-29 Tom Tromey <tromey@redhat.com>
11774
11775 * java/awt/List.java (addNotify): Correctly check to see if peer
11776 does not exist.
11777
11778 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11779 to compute height of each cell, and number of columns to compute
11780 width of each cell.
11781 * java/awt/Window.java (getOwnedWindows): Don't return null.
11782 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11783 of component. Increment x using horizontal gap, not vertical
11784 gap.
11785
11786 2002-01-28 Tom Tromey <tromey@redhat.com>
11787
11788 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11789 `nargs' byte is number of words, not number of arguments.
11790
11791 2002-01-27 Tom Tromey <tromey@redhat.com>
11792
11793 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11794 (when): Likewise.
11795 * java/awt/event/InputEvent.java (modifiers, when): Now
11796 package-private.
11797
11798 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11799 and to-do list.
11800 (state::merge): Use current class' class loader.
11801 (state::print): Print subroutine.
11802 (state::merge): Don't look at subroutine of unmerged `ret'.
11803
11804 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11805
11806 * nogc.cc: Remove warnings.
11807 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11808 New functions.
11809
11810 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11811
11812 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11813 int, int): Remove empty "if" statement to work around compiler bug.
11814 (newPixels(int[], ColorModel, int, int): Likewise.
11815
11816 2002-01-25 Per Bothner <per@bothner.com>
11817
11818 * verify.cc (verify_fail): Change from being a top-level function
11819 to e method of _Jv_BytecodeVerifier. Emit current method name.
11820 Pass the current verifier to type: and state: methods as needed,
11821 for better error messages, and for resolve.
11822 (resolve): Pass current class's loader for Class.forName and
11823 _Jv_FindClassFromSignature, rather than using the default loader.
11824 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11825 (get_type_val_for_signature): Make non-static.
11826 (various methods): Pass start_PC implicitly, not explicitly.
11827
11828 2002-01-25 Tom Tromey <tromey@redhat.com>
11829
11830 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11831 loop termination condition.
11832 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11833 width.
11834
11835 2002-01-24 Tom Tromey <tromey@redhat.com>
11836
11837 * java/awt/Shape.java: Merged with Classpath.
11838 * java/awt/Scrollbar.java: Merged with Classpath.
11839
11840 * java/awt/Container.java (addNotify): Unconditionally call
11841 addNotifyContainerChildren and superclass addNotify.
11842
11843 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11844 getAlpha, not getBlue.
11845
11846 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11847
11848 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11849
11850 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11851 (grabPixels(long)): Wait to be notified that the ImageProducer has
11852 completed.
11853
11854 2002-01-24 Per Bothner <per@bothner.com>
11855
11856 * verify.cc (is_assignable_from_slow): If target is an interface,
11857 we must still check the source's superclass before giving up.
11858
11859 2002-01-24 Tom Tromey <tromey@redhat.com>
11860
11861 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11862
11863 2002-01-23 Tom Tromey <tromey@redhat.com>
11864
11865 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11866 `else'.
11867
11868 * Makefile.in: Rebuilt.
11869 * Makefile.am (awt_java_source_files): Added new files.
11870 * java/awt/Toolkit.java: Merged with Classpath.
11871 * java/awt/PrintGraphics.java: New file from Classpath.
11872 * java/awt/PrintJob.java: New file from Classpath.
11873 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11874 * java/awt/datatransfer/ClipboardOwner.java: New file from
11875 Classpath.
11876 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11877 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11878 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11879 Classpath.
11880 * java/awt/datatransfer/StringSelection.java: New file from
11881 Classpath.
11882 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11883 Classpath.
11884 * java/awt/datatransfer/Transferable.java: New file from
11885 Classpath.
11886 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11887 from Classpath.
11888
11889 * Makefile.in: Rebuilt.
11890 * Makefile.am (awt_java_source_files): Added new files.
11891 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11892 Classpath.
11893 * java/awt/image/CropImageFilter.java: New file from Classpath.
11894 * java/awt/image/FilteredImageSource.java: New file from
11895 Classpath.
11896 * java/awt/image/ImageFilter.java: New file from Classpath.
11897 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11898 * java/awt/image/PixelGrabber.java: New file from Classpath.
11899 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11900 * java/awt/image/ReplicateScaleFilter.java: New file from
11901 Classpath.
11902 * java/awt/image/ImageProducer.java: Replaced with Classpath
11903 version.
11904 * java/awt/image/ImageObserver.java: Replaced with Classpath
11905 version.
11906 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11907 version.
11908 * java/awt/GridBagConstraints.java (clone): Catch
11909 CloneNotSupportedException.
11910
11911 2002-01-23 Per Bothner <per@bothner.com>
11912
11913 * java/lang/reflect/natField.cc (setAddr): New function.
11914 Calls getAddr and then checks that the field isn't final.
11915 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11916 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11917 (set): Call setAddr before check that new value has right type,
11918 to better match specified semantics.
11919
11920 2002-01-22 Tom Tromey <tromey@redhat.com>
11921
11922 * java/awt/TextField.java: Replaced with Classpath version.
11923 * java/awt/TextArea.java: Replaced with Classpath version.
11924 * java/awt/TextComponent.java: Replaced with Classpath version.
11925
11926 * java/awt/GridBagConstraints.java: Updated copyright.
11927
11928 2002-01-22 Mark Wielaard <mark@klomp.org>
11929
11930 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11931 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11932 java/awt/Dialog.java java/awt/FileDialog.java
11933 java/awt/Font.java java/awt/FontMetrics.java
11934 java/awt/Image.java java/awt/ImageMediaEntry.java
11935 java/awt/Insets.java java/awt/List.java
11936 java/awt/MediaEntry.java java/awt/MediaTracker.java
11937 java/awt/Menu.java java/awt/MenuBar.java
11938 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11939 java/awt/PaintContext.java java/awt/Panel.java
11940 java/awt/PopupMenu.java java/awt/SystemColor.java
11941 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11942 java/awt/peer/CheckboxMenuItemPeer.java
11943 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11944 java/awt/peer/ComponentPeer.java
11945 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11946 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11947 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11948 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11949 java/awt/peer/MenuBarPeer.java
11950 java/awt/peer/MenuComponentPeer.java
11951 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11952 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11953 java/awt/peer/ScrollPanePeer.java
11954 java/awt/peer/ScrollbarPeer.java
11955 java/awt/peer/TextAreaPeer.java
11956 java/awt/peer/TextComponentPeer.java
11957 java/awt/peer/TextFieldPeer.java
11958 java/awt/peer/WindowPeer.java: Add license clarification.
11959
11960 2002-01-22 Mark Wielaard <mark@klomp.org>
11961
11962 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11963 gnu/gcj/runtime/StringBuffer.java
11964 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11965 gnu/java/awt/ComponentDataBlitOp.java
11966 gnu/java/awt/GLightweightPeer.java
11967 gnu/java/beans/BeanInfoEmbryo.java
11968 gnu/java/beans/EmptyBeanInfo.java
11969 gnu/java/beans/ExplicitBeanInfo.java
11970 gnu/java/beans/IntrospectionIncubator.java
11971 gnu/java/beans/editors/ColorEditor.java
11972 gnu/java/beans/editors/FontEditor.java
11973 gnu/java/beans/editors/NativeBooleanEditor.java
11974 gnu/java/beans/editors/NativeByteEditor.java
11975 gnu/java/beans/editors/NativeDoubleEditor.java
11976 gnu/java/beans/editors/NativeFloatEditor.java
11977 gnu/java/beans/editors/NativeIntEditor.java
11978 gnu/java/beans/editors/NativeLongEditor.java
11979 gnu/java/beans/editors/NativeShortEditor.java
11980 gnu/java/beans/editors/StringEditor.java
11981 gnu/java/beans/info/ComponentBeanInfo.java
11982 gnu/java/io/ClassLoaderObjectInputStream.java
11983 gnu/java/io/NullOutputStream.java
11984 gnu/java/io/ObjectIdentityWrapper.java
11985 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11986 gnu/java/lang/reflect/TypeSignature.java
11987 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11988 gnu/java/locale/Calendar_en.java
11989 gnu/java/locale/Calendar_nl.java
11990 gnu/java/locale/LocaleInformation.java
11991 gnu/java/locale/LocaleInformation_de.java
11992 gnu/java/locale/LocaleInformation_en.java
11993 gnu/java/locale/LocaleInformation_nl.java
11994 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11995 gnu/java/rmi/registry/RegistryImpl.java
11996 gnu/java/rmi/rmic/Compile_gcj.java
11997 gnu/java/rmi/rmic/Compiler.java
11998 gnu/java/rmi/rmic/CompilerProcess.java
11999 gnu/java/rmi/rmic/RMIC.java
12000 gnu/java/rmi/rmic/TabbedWriter.java
12001 gnu/java/rmi/server/ProtocolConstants.java
12002 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12003 gnu/java/rmi/server/RMIHashes.java
12004 gnu/java/rmi/server/RMIObjectInputStream.java
12005 gnu/java/rmi/server/RMIObjectOutputStream.java
12006 gnu/java/rmi/server/UnicastConnection.java
12007 gnu/java/rmi/server/UnicastConnectionManager.java
12008 gnu/java/rmi/server/UnicastRef.java
12009 gnu/java/rmi/server/UnicastRemoteCall.java
12010 gnu/java/rmi/server/UnicastRemoteStub.java
12011 gnu/java/rmi/server/UnicastServer.java
12012 gnu/java/rmi/server/UnicastServerRef.java
12013 gnu/java/security/provider/DefaultPolicy.java
12014 gnu/java/security/provider/Gnu.java
12015 gnu/java/security/provider/SHA.java
12016 gnu/java/security/provider/SHA1PRNG.java
12017 gnu/java/text/BaseBreakIterator.java
12018 gnu/java/text/CharacterBreakIterator.java
12019 gnu/java/text/LineBreakIterator.java
12020 gnu/java/text/SentenceBreakIterator.java
12021 gnu/java/text/WordBreakIterator.java
12022 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12023 java/applet/AppletContext.java java/applet/AppletStub.java
12024 java/applet/AudioClip.java java/awt/AWTError.java
12025 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12026 java/awt/AWTException.java java/awt/AWTPermission.java
12027 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12028 java/awt/Button.java java/awt/Canvas.java
12029 java/awt/CardLayout.java java/awt/Checkbox.java
12030 java/awt/CheckboxGroup.java java/awt/Component.java
12031 java/awt/ComponentOrientation.java java/awt/Container.java
12032 java/awt/Dimension.java java/awt/Event.java
12033 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12034 java/awt/FlowLayout.java java/awt/Frame.java
12035 java/awt/Graphics.java java/awt/Graphics2D.java
12036 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12037 java/awt/IllegalComponentStateException.java
12038 java/awt/ItemSelectable.java java/awt/Label.java
12039 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12040 java/awt/MenuComponent.java java/awt/MenuItem.java
12041 java/awt/Paint.java java/awt/Point.java
12042 java/awt/Rectangle.java java/awt/RenderingHints.java
12043 java/awt/Transparency.java java/awt/Window.java
12044 java/awt/color/ColorSpace.java
12045 java/awt/color/ICC_ColorSpace.java
12046 java/awt/color/ICC_Profile.java
12047 java/awt/event/HierarchyBoundsAdapter.java
12048 java/awt/event/HierarchyBoundsListener.java
12049 java/awt/event/HierarchyEvent.java
12050 java/awt/event/HierarchyListener.java
12051 java/awt/geom/AffineTransform.java
12052 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12053 java/awt/geom/IllegalPathStateException.java
12054 java/awt/geom/Line2D.java
12055 java/awt/geom/NoninvertibleTransformException.java
12056 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12057 java/awt/geom/Rectangle2D.java
12058 java/awt/geom/RectangularShape.java
12059 java/awt/geom/RoundRectangle2D.java
12060 java/awt/image/BufferedImage.java
12061 java/awt/image/ColorModel.java
12062 java/awt/image/ComponentColorModel.java
12063 java/awt/image/ComponentSampleModel.java
12064 java/awt/image/DataBuffer.java
12065 java/awt/image/DataBufferByte.java
12066 java/awt/image/DataBufferInt.java
12067 java/awt/image/DataBufferUShort.java
12068 java/awt/image/DirectColorModel.java
12069 java/awt/image/PackedColorModel.java
12070 java/awt/image/Raster.java java/awt/image/RasterOp.java
12071 java/awt/image/SampleModel.java
12072 java/awt/image/SinglePixelPackedSampleModel.java
12073 java/awt/image/WritableRaster.java
12074 java/beans/AppletInitializer.java
12075 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12076 java/beans/Beans.java java/beans/Customizer.java
12077 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12078 java/beans/FeatureDescriptor.java
12079 java/beans/IndexedPropertyDescriptor.java
12080 java/beans/IntrospectionException.java
12081 java/beans/Introspector.java java/beans/MethodDescriptor.java
12082 java/beans/ParameterDescriptor.java
12083 java/beans/PropertyChangeEvent.java
12084 java/beans/PropertyChangeListener.java
12085 java/beans/PropertyChangeSupport.java
12086 java/beans/PropertyDescriptor.java
12087 java/beans/PropertyEditor.java
12088 java/beans/PropertyEditorManager.java
12089 java/beans/PropertyEditorSupport.java
12090 java/beans/PropertyVetoException.java
12091 java/beans/SimpleBeanInfo.java
12092 java/beans/VetoableChangeListener.java
12093 java/beans/VetoableChangeSupport.java
12094 java/beans/Visibility.java
12095 java/beans/beancontext/BeanContext.java
12096 java/beans/beancontext/BeanContextChild.java
12097 java/beans/beancontext/BeanContextChildComponentProxy.java
12098 java/beans/beancontext/BeanContextChildSupport.java
12099 java/beans/beancontext/BeanContextContainerProxy.java
12100 java/beans/beancontext/BeanContextEvent.java
12101 java/beans/beancontext/BeanContextMembershipEvent.java
12102 java/beans/beancontext/BeanContextMembershipListener.java
12103 java/beans/beancontext/BeanContextProxy.java
12104 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12105 java/beans/beancontext/BeanContextServiceProvider.java
12106 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12107 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12108 java/beans/beancontext/BeanContextServiceRevokedListener.java
12109 java/beans/beancontext/BeanContextServices.java
12110 java/beans/beancontext/BeanContextServicesListener.java
12111 java/io/BufferedInputStream.java
12112 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12113 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12114 java/io/ByteArrayOutputStream.java
12115 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12116 java/io/CharConversionException.java java/io/DataInput.java
12117 java/io/DataInputStream.java java/io/DataOutput.java
12118 java/io/EOFException.java java/io/Externalizable.java
12119 java/io/FileFilter.java java/io/FileNotFoundException.java
12120 java/io/FilePermission.java java/io/FileReader.java
12121 java/io/FileWriter.java java/io/FilenameFilter.java
12122 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12123 java/io/FilterReader.java java/io/FilterWriter.java
12124 java/io/IOException.java java/io/InputStream.java
12125 java/io/InterruptedIOException.java
12126 java/io/InvalidClassException.java
12127 java/io/InvalidObjectException.java
12128 java/io/NotActiveException.java
12129 java/io/NotSerializableException.java java/io/ObjectInput.java
12130 java/io/ObjectInputStream.java
12131 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12132 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12133 java/io/ObjectStreamConstants.java
12134 java/io/ObjectStreamException.java
12135 java/io/ObjectStreamField.java
12136 java/io/OptionalDataException.java java/io/OutputStream.java
12137 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12138 java/io/PipedReader.java java/io/PipedWriter.java
12139 java/io/PrintWriter.java java/io/PushbackInputStream.java
12140 java/io/PushbackReader.java java/io/Reader.java
12141 java/io/SequenceInputStream.java java/io/Serializable.java
12142 java/io/SerializablePermission.java
12143 java/io/StreamCorruptedException.java
12144 java/io/StreamTokenizer.java
12145 java/io/StringBufferInputStream.java java/io/StringReader.java
12146 java/io/StringWriter.java java/io/SyncFailedException.java
12147 java/io/UTFDataFormatException.java
12148 java/io/UnsupportedEncodingException.java
12149 java/io/WriteAbortedException.java java/io/Writer.java
12150 java/lang/AbstractMethodError.java
12151 java/lang/ArithmeticException.java
12152 java/lang/ArrayIndexOutOfBoundsException.java
12153 java/lang/ArrayStoreException.java java/lang/Boolean.java
12154 java/lang/Byte.java java/lang/CharSequence.java
12155 java/lang/ClassCastException.java
12156 java/lang/ClassCircularityError.java
12157 java/lang/ClassFormatError.java
12158 java/lang/ClassNotFoundException.java
12159 java/lang/CloneNotSupportedException.java
12160 java/lang/Cloneable.java java/lang/Comparable.java
12161 java/lang/Compiler.java java/lang/Double.java
12162 java/lang/Error.java java/lang/Exception.java
12163 java/lang/ExceptionInInitializerError.java
12164 java/lang/Float.java java/lang/IllegalAccessError.java
12165 java/lang/IllegalAccessException.java
12166 java/lang/IllegalArgumentException.java
12167 java/lang/IllegalMonitorStateException.java
12168 java/lang/IllegalStateException.java
12169 java/lang/IllegalThreadStateException.java
12170 java/lang/IncompatibleClassChangeError.java
12171 java/lang/IndexOutOfBoundsException.java
12172 java/lang/InheritableThreadLocal.java
12173 java/lang/InstantiationError.java
12174 java/lang/InstantiationException.java java/lang/Integer.java
12175 java/lang/InternalError.java
12176 java/lang/InterruptedException.java
12177 java/lang/LinkageError.java java/lang/Long.java
12178 java/lang/NegativeArraySizeException.java
12179 java/lang/NoClassDefFoundError.java
12180 java/lang/NoSuchFieldError.java
12181 java/lang/NoSuchFieldException.java
12182 java/lang/NoSuchMethodError.java
12183 java/lang/NoSuchMethodException.java
12184 java/lang/NullPointerException.java java/lang/Number.java
12185 java/lang/NumberFormatException.java
12186 java/lang/OutOfMemoryError.java java/lang/Package.java
12187 java/lang/Process.java java/lang/Runnable.java
12188 java/lang/RuntimeException.java
12189 java/lang/RuntimePermission.java
12190 java/lang/SecurityException.java
12191 java/lang/SecurityManager.java java/lang/Short.java
12192 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12193 java/lang/StringIndexOutOfBoundsException.java
12194 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12195 java/lang/ThreadLocal.java java/lang/UnknownError.java
12196 java/lang/UnsatisfiedLinkError.java
12197 java/lang/UnsupportedClassVersionError.java
12198 java/lang/UnsupportedOperationException.java
12199 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12200 java/lang/Void.java java/lang/ref/PhantomReference.java
12201 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12202 java/lang/ref/SoftReference.java
12203 java/lang/ref/WeakReference.java
12204 java/lang/reflect/AccessibleObject.java
12205 java/lang/reflect/InvocationTargetException.java
12206 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12207 java/lang/reflect/ReflectPermission.java
12208 java/math/BigDecimal.java java/math/BigInteger.java
12209 java/net/Authenticator.java java/net/BindException.java
12210 java/net/ConnectException.java java/net/ContentHandler.java
12211 java/net/ContentHandlerFactory.java
12212 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12213 java/net/FileNameMap.java java/net/MalformedURLException.java
12214 java/net/MulticastSocket.java java/net/NetPermission.java
12215 java/net/NoRouteToHostException.java
12216 java/net/PasswordAuthentication.java
12217 java/net/ProtocolException.java java/net/ServerSocket.java
12218 java/net/Socket.java java/net/SocketException.java
12219 java/net/SocketImpl.java java/net/SocketImplFactory.java
12220 java/net/SocketOptions.java java/net/SocketPermission.java
12221 java/net/URLDecoder.java java/net/URLEncoder.java
12222 java/net/URLStreamHandlerFactory.java
12223 java/net/UnknownHostException.java
12224 java/net/UnknownServiceException.java
12225 java/rmi/AccessException.java
12226 java/rmi/AlreadyBoundException.java
12227 java/rmi/ConnectException.java
12228 java/rmi/ConnectIOException.java
12229 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12230 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12231 java/rmi/NotBoundException.java
12232 java/rmi/RMISecurityException.java
12233 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12234 java/rmi/RemoteException.java java/rmi/ServerError.java
12235 java/rmi/ServerException.java
12236 java/rmi/ServerRuntimeException.java
12237 java/rmi/StubNotFoundException.java
12238 java/rmi/UnexpectedException.java
12239 java/rmi/UnknownHostException.java
12240 java/rmi/UnmarshalException.java
12241 java/rmi/activation/Activatable.java
12242 java/rmi/activation/ActivateFailedException.java
12243 java/rmi/activation/ActivationDesc.java
12244 java/rmi/activation/ActivationException.java
12245 java/rmi/activation/ActivationGroup.java
12246 java/rmi/activation/ActivationGroupDesc.java
12247 java/rmi/activation/ActivationGroupID.java
12248 java/rmi/activation/ActivationID.java
12249 java/rmi/activation/ActivationInstantiator.java
12250 java/rmi/activation/ActivationMonitor.java
12251 java/rmi/activation/ActivationSystem.java
12252 java/rmi/activation/Activator.java
12253 java/rmi/activation/UnknownGroupException.java
12254 java/rmi/activation/UnknownObjectException.java
12255 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12256 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12257 java/rmi/registry/Registry.java
12258 java/rmi/registry/RegistryHandler.java
12259 java/rmi/server/ExportException.java
12260 java/rmi/server/LoaderHandler.java
12261 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12262 java/rmi/server/Operation.java
12263 java/rmi/server/RMIClassLoader.java
12264 java/rmi/server/RMIClientSocketFactory.java
12265 java/rmi/server/RMIFailureHandler.java
12266 java/rmi/server/RMIServerSocketFactory.java
12267 java/rmi/server/RMISocketFactory.java
12268 java/rmi/server/RemoteCall.java
12269 java/rmi/server/RemoteObject.java
12270 java/rmi/server/RemoteRef.java
12271 java/rmi/server/RemoteServer.java
12272 java/rmi/server/RemoteStub.java
12273 java/rmi/server/ServerCloneException.java
12274 java/rmi/server/ServerNotActiveException.java
12275 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12276 java/rmi/server/SkeletonMismatchException.java
12277 java/rmi/server/SkeletonNotFoundException.java
12278 java/rmi/server/SocketSecurityException.java
12279 java/rmi/server/UID.java
12280 java/rmi/server/UnicastRemoteObject.java
12281 java/rmi/server/Unreferenced.java
12282 java/security/AccessControlContext.java
12283 java/security/AccessControlException.java
12284 java/security/AccessController.java
12285 java/security/AlgorithmParameterGenerator.java
12286 java/security/AlgorithmParameterGeneratorSpi.java
12287 java/security/AlgorithmParameters.java
12288 java/security/AlgorithmParametersSpi.java
12289 java/security/AllPermission.java
12290 java/security/BasicPermission.java
12291 java/security/Certificate.java java/security/CodeSource.java
12292 java/security/DigestException.java
12293 java/security/DigestInputStream.java
12294 java/security/DigestOutputStream.java
12295 java/security/DomainCombiner.java
12296 java/security/DummyKeyPairGenerator.java
12297 java/security/DummyMessageDigest.java
12298 java/security/DummySignature.java
12299 java/security/GeneralSecurityException.java
12300 java/security/Guard.java java/security/GuardedObject.java
12301 java/security/Identity.java java/security/IdentityScope.java
12302 java/security/InvalidAlgorithmParameterException.java
12303 java/security/InvalidKeyException.java
12304 java/security/InvalidParameterException.java
12305 java/security/Key.java java/security/KeyException.java
12306 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12307 java/security/KeyManagementException.java
12308 java/security/KeyPair.java java/security/KeyPairGenerator.java
12309 java/security/KeyPairGeneratorSpi.java
12310 java/security/KeyStore.java
12311 java/security/KeyStoreException.java
12312 java/security/KeyStoreSpi.java
12313 java/security/MessageDigest.java
12314 java/security/MessageDigestSpi.java
12315 java/security/NoSuchAlgorithmException.java
12316 java/security/NoSuchProviderException.java
12317 java/security/Permission.java
12318 java/security/PermissionCollection.java
12319 java/security/Permissions.java java/security/Policy.java
12320 java/security/Principal.java java/security/PrivateKey.java
12321 java/security/PrivilegedAction.java
12322 java/security/PrivilegedActionException.java
12323 java/security/PrivilegedExceptionAction.java
12324 java/security/ProtectionDomain.java
12325 java/security/Provider.java
12326 java/security/ProviderException.java
12327 java/security/PublicKey.java
12328 java/security/SecureClassLoader.java
12329 java/security/SecureRandom.java
12330 java/security/SecureRandomSpi.java java/security/Security.java
12331 java/security/SecurityPermission.java
12332 java/security/Signature.java
12333 java/security/SignatureException.java
12334 java/security/SignatureSpi.java
12335 java/security/SignedObject.java java/security/Signer.java
12336 java/security/UnrecoverableKeyException.java
12337 java/security/UnresolvedPermission.java
12338 java/security/acl/Acl.java java/security/acl/AclEntry.java
12339 java/security/acl/AclNotFoundException.java
12340 java/security/acl/Group.java
12341 java/security/acl/LastOwnerException.java
12342 java/security/acl/NotOwnerException.java
12343 java/security/acl/Owner.java java/security/acl/Permission.java
12344 java/security/cert/CRL.java
12345 java/security/cert/CRLException.java
12346 java/security/cert/Certificate.java
12347 java/security/cert/CertificateEncodingException.java
12348 java/security/cert/CertificateException.java
12349 java/security/cert/CertificateExpiredException.java
12350 java/security/cert/CertificateFactory.java
12351 java/security/cert/CertificateFactorySpi.java
12352 java/security/cert/CertificateNotYetValidException.java
12353 java/security/cert/CertificateParsingException.java
12354 java/security/cert/X509CRL.java
12355 java/security/cert/X509CRLEntry.java
12356 java/security/cert/X509Certificate.java
12357 java/security/cert/X509Extension.java
12358 java/security/interfaces/DSAKey.java
12359 java/security/interfaces/DSAKeyPairGenerator.java
12360 java/security/interfaces/DSAParams.java
12361 java/security/interfaces/DSAPrivateKey.java
12362 java/security/interfaces/DSAPublicKey.java
12363 java/security/interfaces/RSAKey.java
12364 java/security/interfaces/RSAPrivateCrtKey.java
12365 java/security/interfaces/RSAPrivateKey.java
12366 java/security/interfaces/RSAPublicKey.java
12367 java/security/spec/AlgorithmParameterSpec.java
12368 java/security/spec/DSAParameterSpec.java
12369 java/security/spec/DSAPrivateKeySpec.java
12370 java/security/spec/DSAPublicKeySpec.java
12371 java/security/spec/EncodedKeySpec.java
12372 java/security/spec/InvalidKeySpecException.java
12373 java/security/spec/InvalidParameterSpecException.java
12374 java/security/spec/KeySpec.java
12375 java/security/spec/PKCS8EncodedKeySpec.java
12376 java/security/spec/RSAKeyGenParameterSpec.java
12377 java/security/spec/RSAPrivateCrtKeySpec.java
12378 java/security/spec/RSAPrivateKeySpec.java
12379 java/security/spec/RSAPublicKeySpec.java
12380 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12381 java/sql/BatchUpdateException.java java/sql/Blob.java
12382 java/sql/CallableStatement.java java/sql/Clob.java
12383 java/sql/Connection.java java/sql/DataTruncation.java
12384 java/sql/DatabaseMetaData.java java/sql/Date.java
12385 java/sql/Driver.java java/sql/DriverManager.java
12386 java/sql/DriverPropertyInfo.java
12387 java/sql/PreparedStatement.java java/sql/Ref.java
12388 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12389 java/sql/SQLData.java java/sql/SQLException.java
12390 java/sql/SQLInput.java java/sql/SQLOutput.java
12391 java/sql/SQLWarning.java java/sql/Statement.java
12392 java/sql/Struct.java java/sql/Time.java
12393 java/sql/Timestamp.java java/sql/Types.java
12394 java/text/Annotation.java
12395 java/text/AttributedCharacterIterator.java
12396 java/text/AttributedString.java
12397 java/text/AttributedStringIterator.java
12398 java/text/BreakIterator.java java/text/CharacterIterator.java
12399 java/text/ChoiceFormat.java java/text/Collator.java
12400 java/text/DateFormat.java java/text/DateFormatSymbols.java
12401 java/text/DecimalFormat.java
12402 java/text/DecimalFormatSymbols.java
12403 java/text/FieldPosition.java java/text/Format.java
12404 java/text/MessageFormat.java java/text/NumberFormat.java
12405 java/text/ParseException.java java/text/ParsePosition.java
12406 java/text/SimpleDateFormat.java
12407 java/text/StringCharacterIterator.java
12408 java/util/AbstractCollection.java java/util/AbstractList.java
12409 java/util/AbstractMap.java
12410 java/util/AbstractSequentialList.java
12411 java/util/AbstractSet.java java/util/ArrayList.java
12412 java/util/Arrays.java java/util/BasicMapEntry.java
12413 java/util/BitSet.java java/util/Calendar.java
12414 java/util/Collection.java java/util/Collections.java
12415 java/util/Comparator.java
12416 java/util/ConcurrentModificationException.java
12417 java/util/Date.java java/util/Dictionary.java
12418 java/util/EmptyStackException.java java/util/Enumeration.java
12419 java/util/EventListener.java java/util/EventObject.java
12420 java/util/GregorianCalendar.java java/util/HashMap.java
12421 java/util/HashSet.java java/util/Hashtable.java
12422 java/util/IdentityHashMap.java java/util/Iterator.java
12423 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12424 java/util/LinkedList.java java/util/List.java
12425 java/util/ListIterator.java java/util/ListResourceBundle.java
12426 java/util/Locale.java java/util/Map.java
12427 java/util/MissingResourceException.java
12428 java/util/NoSuchElementException.java
12429 java/util/Observable.java java/util/Observer.java
12430 java/util/Properties.java java/util/PropertyPermission.java
12431 java/util/PropertyResourceBundle.java java/util/Random.java
12432 java/util/RandomAccess.java java/util/ResourceBundle.java
12433 java/util/Set.java java/util/SimpleTimeZone.java
12434 java/util/SortedMap.java java/util/SortedSet.java
12435 java/util/Stack.java java/util/StringTokenizer.java
12436 java/util/TimeZone.java java/util/Timer.java
12437 java/util/TimerTask.java
12438 java/util/TooManyListenersException.java
12439 java/util/TreeMap.java java/util/TreeSet.java
12440 java/util/Vector.java java/util/WeakHashMap.java
12441 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12442 java/util/jar/JarException.java java/util/jar/JarFile.java
12443 java/util/jar/JarInputStream.java
12444 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12445 java/util/zip/Adler32.java java/util/zip/CRC32.java
12446 java/util/zip/CheckedInputStream.java
12447 java/util/zip/CheckedOutputStream.java
12448 java/util/zip/Checksum.java
12449 java/util/zip/DataFormatException.java
12450 java/util/zip/Deflater.java
12451 java/util/zip/DeflaterOutputStream.java
12452 java/util/zip/GZIPInputStream.java
12453 java/util/zip/GZIPOutputStream.java
12454 java/util/zip/Inflater.java
12455 java/util/zip/InflaterInputStream.java
12456 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12457 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12458 java/util/zip/ZipInputStream.java
12459 java/util/zip/ZipOutputStream.java
12460 javax/naming/BinaryRefAddr.java
12461 javax/naming/InvalidNameException.java javax/naming/Name.java
12462 javax/naming/NamingException.java javax/naming/RefAddr.java
12463 javax/naming/StringRefAddr.java: Add license clarification.
12464
12465 2002-01-22 Tom Tromey <tromey@redhat.com>
12466
12467 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12468 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12469 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12470 version.
12471 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12472 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12473 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12474 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12475 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12476 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12477 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12478 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12479 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12480 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12481 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12482 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12483 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12484 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12485 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12486 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12487 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12488 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12489 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12490 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12491 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12492 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12493 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12494 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12495 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12496 (minimumSize, preferredSize, reshape): Likewise.
12497 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12498 getColorModel): New methods.
12499 * java/awt/PopupMenu.java: Merged with Classpath.
12500 * java/awt/MenuBar.java: Merged with Classpath.
12501 * java/awt/SystemColor.java: Replace with Classpath version.
12502 * java/awt/Panel.java: Merged with Classpath.
12503 * java/awt/PaintContext.java: Updated copyright.
12504 * java/awt/MenuShortcut.java: Merged with Classpath.
12505 * java/awt/MenuContainer.java: Merged with Classpath.
12506 * java/awt/Menu.java: Merged with Classpath.
12507 * java/awt/MediaEntry.java: New file from Classpath.
12508 * java/awt/MediaTracker.java: New file from Classpath.
12509 * java/awt/List.java: Merged with Classpath version.
12510 * java/awt/Insets.java: Merged with Classpath version.
12511 * java/awt/ImageMediaEntry.java: New file from Classpath.
12512 * java/awt/Image.java: Replaced with Classpath version.
12513 * java/awt/FontMetrics.java: Merged with Classpath version.
12514 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12515 constant.
12516 * java/awt/Font.java: Merged with Classpath version.
12517 * java/awt/Dialog.java: Merged with Classpath version.
12518 * java/awt/Color.java: Merged with Classpath version.
12519 * java/awt/Choice.java: Merged with Classpath version.
12520 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12521 * java/awt/Adjustable.java: Replace with Classpath version.
12522 * java/awt/MenuItem.java (paramString): Don't include class name
12523 or brackets. Call superclass paramString.
12524 * java/awt/MenuComponent.java (toString): Call paramString.
12525 (paramString): Compute string; don't call toString.
12526 * java/awt/Label.java (paramString): Don't include class name
12527 or brackets. Call superclass paramString.
12528 * java/awt/Checkbox.java (paramString): Don't include class name
12529 or brackets. Call superclass paramString.
12530 * java/awt/Button.java (paramString): Don't include class name or
12531 brackets. Call superclass paramString.
12532 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12533
12534 2002-01-20 Andreas Schwab <schwab@suse.de>
12535
12536 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12537 function and of parameter recv_func to ssize_t, as specified by
12538 POSIX.
12539
12540 2002-01-19 Per Bothner <per@bothner.com>
12541
12542 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12543 uncompressed_size in readiness for next entry.
12544
12545 2002-01-18 Tom Tromey <tromey@redhat.com>
12546
12547 * java/net/natPlainSocketImpl.cc: Include
12548 IllegalArgumentException.h.
12549 (_Jv_recv): New template function.
12550 (BooleanClass): Removed.
12551 (read): Use _Jv_recv.
12552 (setOption): Use Boolean::class$. Throw exception if object is
12553 not Boolean or Integer.
12554
12555 2002-01-17 Tom Tromey <tromey@redhat.com>
12556
12557 * java/awt/MenuComponent.java: Merged with Classpath.
12558 * java/awt/MenuItem.java: Merged with Classpath.
12559 * java/awt/Button.java: Merged with Classpath.
12560
12561 * java/awt/ActiveEvent.java: Updated copyright.
12562
12563 * java/awt/AWTError.java: Replaced with Classpath version.
12564 * java/awt/AWTException.java: Replaced with Classpath version.
12565 * java/awt/IllegalComponentStateException.java: Replaced with
12566 Classpath version.
12567
12568 2002-01-16 Tom Tromey <tromey@redhat.com>
12569
12570 * java/awt/Canvas.java (serialVersionUID): New constant.
12571 Updated copyright. Added javadoc from Classpath.
12572 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12573
12574 * java/awt/CheckboxGroup.java: Merged with Classpath.
12575 * java/awt/Checkbox.java: Merged with Classpath.
12576
12577 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12578 Classpath.
12579 * java/awt/Point.java: Updated copyright.
12580
12581 * java/awt/Point.java (toString): Use getClass().getName().
12582 Added javadoc.
12583
12584 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12585 commented code.
12586 (hash): Correctly compute initial value for `h'.
12587
12588 * java/awt/Label.java: Merged with Classpath.
12589
12590 2002-01-15 Tom Tromey <tromey@redhat.com>
12591
12592 * java/awt/AWTPermission.java: Updated copyright.
12593
12594 * java/awt/LayoutManager2.java: Merged with Classpath.
12595 * java/awt/LayoutManager.java: Merged with Classpath.
12596 * java/awt/GridLayout.java: Updated copyright and javadoc.
12597 (getSize): Use `parent.ncomponents'. Handle insets.
12598 (layoutContainer): Use `parent.ncomponents'. Handle case where
12599 there are fewer children than columns. Correctly compute size of
12600 each cell in the grid. Handle case where there isn't enough
12601 space.
12602 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12603 all users.
12604 (gotoComponent): Use parent.ncomponents. Ensure child exists
12605 before calling setVisible() on it. Last item is `num - 1', not
12606 `num'.
12607 (layoutContainer): Hoist invariants out of loop.
12608
12609 Start of AWT merge with Classpath:
12610 * Makefile.in: Rebuilt.
12611 * Makefile.am (awt_java_source_files): Reference files in
12612 gnu/java/awt, not gnu/gcj/awt.
12613 * java/awt/image/BufferedImage.java: Updated copyright.
12614 * java/awt/image/ComponentColorModel.java: Updated copyright.
12615 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12616 * java/awt/image/DataBuffer.java: Updated copyright.
12617 * java/awt/image/DataBufferByte.java: Updated copyright.
12618 * java/awt/image/DataBufferInt.java: Updated copyright.
12619 * java/awt/image/DataBufferUShort.java: Updated copyright.
12620 * java/awt/image/IndexColorModel.java: Updated copyright.
12621 * java/awt/image/PackedColorModel.java: Updated copyright.
12622 * java/awt/image/Raster.java: Updated copyright.
12623 * java/awt/image/RasterOp.java: Updated copyright.
12624 * java/awt/image/SampleModel.java: Updated copyright.
12625 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12626 * java/awt/image/WritableRaster.java: Updated copyright.
12627 * java/awt/color/ColorSpace.java: Updated copyright.
12628 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12629 * java/awt/color/ICC_Profile.java: Updated copyright.
12630 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12631 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12632 * java/awt/event/HierarchyEvent.java: Updated copyright.
12633 * java/awt/event/HierarchyListener.java: Updated copyright.
12634 * java/awt/geom/AffineTransform.java: Updated copyright.
12635 * java/awt/geom/Dimension2D.java: Updated copyright.
12636 * java/awt/geom/Ellipse2D.java: Updated copyright.
12637 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12638 * java/awt/geom/Line2D.java: Updated copyright.
12639 * java/awt/geom/NoninvertibleTransformException.java: Updated
12640 copyright.
12641 * java/awt/geom/PathIterator.java: Updated copyright.
12642 * java/awt/geom/Point2D.java: Updated copyright.
12643 * java/awt/geom/Rectangle2D.java: Updated copyright.
12644 * java/awt/geom/RectangularShape.java: Updated copyright.
12645 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12646 * java/awt/Toolkit.java: Updated import for file moves.
12647 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12648 Classpath.
12649 (hashCode): New method from Classpath.
12650 * java/awt/Graphics2D.java: Updated copyright.
12651 * java/awt/Transparency.java: Updated copyright.
12652 * java/awt/Paint.java: Updated copyright.
12653 * java/awt/Graphics.java: New version from Classpath.
12654 * java/awt/EventDispatchThread.java: Updated copyright.
12655 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12656 children.
12657 (gotoComponent): Wrap around on next/previous.
12658 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12659 * gnu/gcj/awt/Buffers.java: Removed.
12660 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12661 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12662 * gnu/java/awt/BitMaskExtent.java: Added.
12663 * gnu/java/awt/Buffers.java: Added.
12664 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12665 * gnu/java/awt/GLightweightPeer.java: Added.
12666 * java/awt/geom/Line2D.java (clone): Ignore
12667 CloneNotSupportedException.
12668 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12669 * java/awt/Frame.java: Merged with Classpath.
12670 * java/awt/RenderingHints.java: Copyright update.
12671 * java/awt/Paint.java: Copyright update.
12672 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12673 * java/awt/image/ColorModel.java: Merged with Classpath.
12674 * java/awt/Window.java (show): New Implementation from Classpath.
12675 (isShowing): Use super.isShowing().
12676 * java/awt/EventQueue.java: Merged with Classpath.
12677 * java/awt/AWTEventMulticaster.java (save): Throw
12678 RuntimeException.
12679 (saveInternal): Likewise.
12680 * java/awt/AWTEvent.java: Now implements Serializable.
12681 * java/awt/Event.java: Copyright update.
12682 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12683 * java/awt/image/BufferedImage.java: Copyright update.
12684 * java/awt/GraphicsConfiguration.java: Copyright update.
12685 * java/awt/Component.java: (addNotify): Don't call
12686 addNotifyContainerChildren().
12687 (addNotifyContainerChildren): Removed.
12688 (setPeer): New method from Classpath.
12689 (setTreeLock): Likewise.
12690 (setVisible): Rewrote.
12691 (show): Use it.
12692 (hide): Likewise.
12693 (validate): Set `valid'.
12694 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12695 (createImage(ImageProducer)): Likewise.
12696 (prepareImage): Likewise.
12697 * java/awt/Container.java (addImpl): Handle case where constraint
12698 is not a String. Post event via system event queue.
12699 (remove): Post event via system event queue.
12700 (validateTree): Only validate child if it is invalid.
12701 (getAlignmentX): Call super method as default.
12702 (getAlignmentY): Likewise.
12703 (addContainerListener): Now synchronized.
12704 (removeContainerListener): Likewise.
12705 (addNotifyContainerChildren): Now private.
12706 * java/awt/ComponentOrientation.java: Updated copyright. Added
12707 @author.
12708 * java/awt/FlowLayout.java (serialVersionUID): New field.
12709 (setAlignment): Better exception message.
12710 (layoutContainer): Don't compute component's preferred size unless
12711 we're going to use it.
12712 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12713 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12714 (firstLine, lastLine, firstItem, lastItem): New fields.
12715 (addLayoutComponent): Handle case where constraints is null.
12716 Also, handle relative locations.
12717 (removeLayoutComponent): Handle relative locations.
12718 (MIN, MAX, PREF): New constants.
12719 (calcCompSize): New method.
12720 (calcSize): New method.
12721 (minimumLayoutSize): Use it.
12722 (preferredLayoutSize): Likewise.
12723 (maximumLayoutSize): Likewise.
12724 (toString): Include more information.
12725 (setBounds): New method.
12726 (layoutContainer): Use libgcj implementation; extended to handle
12727 relative locations.
12728
12729 2002-01-15 Tom Tromey <tromey@redhat.com>
12730
12731 * java/lang/Float.java (equals): Preserve old code.
12732 * java/lang/Double.java (equals): Preserve old code.
12733
12734 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12735
12736 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12737 * java/lang/Float.java (equals, compare): Ditto.
12738
12739 2002-01-13 Mark Wielaard <mark@klomp.org>
12740
12741 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12742 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12743 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12744 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12745
12746 2002-01-11 Mark Wielaard <mark@klomp.org>
12747
12748 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12749 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12750 InetAddress.
12751 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12752 * java/net/Socket.java: Merge with Classpath.
12753 * java/net/ServerSocket.java: Likewise.
12754
12755 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12756
12757 * interpret.cc (NULLARRAYCHECK): New macro.
12758 (SAVE_PC): Just store `pc'.
12759 (find_exception): Subtract one from `pc' here.
12760 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12761 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12762 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12763 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12764 don't call SAVE_PC.
12765 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12766 call SAVE_PC.
12767
12768 2002-01-11 Tom Tromey <tromey@redhat.com>
12769
12770 * java/lang/natSystem.cc (init_properties): Only look for default
12771 locale if LC_MESSAGES is defined.
12772 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12773 * configure.in: Call AM_LC_MESSAGES.
12774 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12775
12776 2002-01-10 Tom Tromey <tromey@redhat.com>
12777
12778 For PR libgcj/5303:
12779 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12780 --version. Recognize GNU-style long options. Print GNU-style
12781 error messages.
12782 (usage): Print GNU-style help. Exit with status 0.
12783 (error): New method.
12784 (run): Print error message if no class names found.
12785 (main): Don't print usage on error.
12786
12787 2002-01-09 Tom Tromey <tromey@redhat.com>
12788
12789 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12790 property.
12791 (help, version): Use println(), not println("").
12792
12793 For PR libgcj/5303:
12794 * gnu/gcj/convert/Convert.java (error): Program is called
12795 `jv-convert'. Print GNU-style message. Exit with status 1, not
12796 -1.
12797 (main): Handle --help and --version.
12798 (help): New method.
12799 (version): Likewise.
12800
12801 2002-01-08 Tom Tromey <tromey@redhat.com>
12802
12803 * Makefile.in: Rebuilt.
12804 * Makefile.am (ordinary_java_source_files): Added new files.
12805 * gnu/java/locale/LocaleInformation.java: Extend
12806 LocaleInformation_en.
12807 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12808 and time/date formats.
12809 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12810 generated.
12811 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12812 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12813 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12814 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12815 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12816 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12817 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12818 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12819 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12820 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12821 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12822 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12823 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12824 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12825 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12826 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12827 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12828 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12829 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12830 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12831 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12832 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12833 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12834 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12835 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12836 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12837 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12838 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12839 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12840 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12841 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12842 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12843 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12844 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12845 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12846 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12847 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12848 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12849 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12850 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12851 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12852 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12853 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12854 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12855 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12856 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12857 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12858 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12859 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12860 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12861 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12862 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12863 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12864 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12865 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12866 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12867 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12868 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12869 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12870 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12871 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12872 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12873 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12874 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12875 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12876 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12877 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12878 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12879 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12880 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12881 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12882 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12883 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12884 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12885 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12886 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12887 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12888 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12889 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12890 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12891 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12892 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12893 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12894 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12895 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12896 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12897 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12898 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12899 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12900 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12901 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12902 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12903 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12904 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12905 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12906 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12907 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12908 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12909 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12910 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12911 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12912 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12913 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12914 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12915 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12916 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12917 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12918 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12919 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12920 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12921 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12922 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12923 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12924 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12925 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12926 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12927 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12928 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12929 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12930 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12931 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12932 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12933 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12934 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12935 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12936 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12937 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12938 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12939 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12940 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12941
12942 For PR libgcj/5031:
12943 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12944 choose default locale.
12945
12946 * Makefile.in: Rebuilt.
12947 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12948
12949 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12950
12951 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12952 sockets.
12953 (close): New function closes the socket.
12954 (write): New functions for output to socket.
12955 (read): New functions for reading from socket.
12956 * java/net/PlainSocketImpl.java: Glue for new timeout
12957 implementation.
12958 (write): Call the native impl.
12959 (read): Likewise.
12960 (getInputStream): Get a stream to read from the socket.
12961 (getOutputStream): Get a stream to write to the socket.
12962
12963 2002-01-08 Tom Tromey <tromey@redhat.com>
12964
12965 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12966
12967 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12968
12969 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12970 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12971
12972 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12973
12974 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12975 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12976 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12977 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12978 insn_bastore, insn_castore, insn_sastore]: Use it.
12979 (continue1) [insn_arraylength]: Check for null array.
12980
12981 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12982
12983 * configure, include/config.h.in: Rebuilt.
12984 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12985 * configure.in: Call AC_STRUCT_TIMEZONE.
12986
12987 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12988
12989 * configure.host: Disable the interpreter for Darwin.
12990
12991 2002-01-04 Tom Tromey <tromey@redhat.com>
12992
12993 * java/lang/Thread.java (stop): No longer synchronized.
12994 (start): Likewise.
12995
12996 2002-01-02 Tom Tromey <tromey@redhat.com>
12997
12998 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12999 patch.
13000
13001 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13002
13003 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13004 PPC Darwin, not for all of Darwin.