libart.m4: check for libart-config binary under the name libart2-config as well.
[gcc.git] / libjava / ChangeLog
1 2003-08-04 Matthias Klose <doko@debian.org>
2
3 * libart.m4: check for libart-config binary
4 under the name libart2-config as well.
5 * configure, aclocal.m4: regenerated.
6
7 2003-08-02 Michael Koch <konqueror@gmx.de>
8
9 * java/nio/ByteBufferImpl.java
10 (getChar): Check remaining bytes, fixed comment about endianess.
11 (putChar): Likewise.
12 (getShort): Likewise.
13 (putShort): Likewise.
14 (getInt): Check remaining bytes, fixed conversion, fixed comment about
15 endianess.
16 (putInt): Likewise.
17 (getLong): Likewise.
18 (putLong): Likewise.
19 (getFloat): Likewise.
20 (putFloat): Likewise.
21 (getDouble): Likewise.
22 (putDouble): Likewise.
23 * java/nio/DirectByteBufferImpl.java
24 (getChar): Wrapped code, fixed comment about endianess.
25 (putchar): Likewise.
26 (getShort): Likewise.
27 (putShort): Likewise.
28 (getInt): Fixed conversion, fixed comment about endianess.
29 (putInt): Likewise.
30 (getLong): Likewise.
31 (putLong): Likewise.
32 (getFloat): Likewise.
33 (putFloat): Likewise.
34 (getDouble): Likewise.
35 (putDouble): Likewise.
36 * java/nio/MappedByteBufferImpl.java
37 (compact): Implemented.
38 (getChar): Implemented.
39 (putChar): Implemented.
40 (getDouble): Implemented.
41 (putdouble): Implemented.
42 (getFloat): Implemented.
43 (putFloat): Implemented.
44 (getInt): Implemented.
45 (putInt): Implemented.
46 (getLong): Implemented.
47 (putLong): Implemented.
48 (getShort): Implemented.
49 (putShort): Implemented.
50 * java/nio/channels/FileChannelImpl.java
51 (read): Set position where to access file.
52 (write): Likewise.
53 (transferTo): Flip buffer after read and before write.
54 (transferFrom): Likewise.
55
56 2003-08-02 Michael Koch <konqueror@gmx.de>
57
58 * gnu/java/lang/ArrayHelper.java
59 (equalsArray): Reformated, added method documentation.
60
61 2003-08-02 Michael Koch <konqueror@gmx.de>
62
63 * java/net/URL.java
64 (URL): Added paragraph about the
65 gnu.java.net.nocache_protocol_handlers property.
66 (ph_cache): Renamed from handlers to match classpath's implementation.
67 Reordered it with factory and serialVersionUID member variables.
68 (cache_handlers): New member variable.
69 (static): New static initializer to initialize cache_handlers from
70 gnu.java.net.nocache_protocol_handlers property.
71 (URL): Use ph_cache instead of handlers, reformatted some code to
72 match classpath's implementation.
73
74 2003-08-01 Tom Tromey <tromey@redhat.com>
75
76 Fix for PR libgcj/11241:
77 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
78 initialCapacity is 0, set it to 1.
79
80 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
81
82 * java/net/SocketImpl.java (toString): Display the remote address
83 of an unconnected server socket as "0.0.0.0/0.0.0.0".
84
85 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
86
87 * javax/swing/border/BevelBorder.java,
88 javax/swing/border/EtchedBorder.java,
89 javax/swing/border/LineBorder.java,
90 javax/swing/border/MatteBorder.java,
91 javax/swing/border/SoftBevelBorder.java,
92 javax/swing/plaf/BorderUIResource.java,
93 javax/swing/plaf/ComponentUI.java,
94 javax/swing/plaf/TreeUI.java,
95 javax/swing/plaf/basic/BasicBorders.java,
96 javax/swing/plaf/basic/BasicGraphicsUtils.java,
97 javax/swing/plaf/basic/BasicTreeUI.java:
98 Prepend "doc-files" to all paths to embedded Javadoc images, so
99 that the generated documentation contains the correct URL.
100
101 2003-08-01 Tom Tromey <tromey@redhat.com>
102
103 * configure: Rebuilt.
104 * configure.in (tool_include_dir): Redefine to match gcc.
105
106 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
107 Mark Wielaard <mark@klomp.org>
108
109 * java/math/BigDecimal (divide): Correctly handle
110 ROUND_HALF_EVEN when amount is greater than 0.5.
111 Simplify and optimize code.
112
113 2003-07-31 Tom Tromey <tromey@redhat.com>
114
115 More for PR libgcj/11737:
116 * java/io/ObjectInputStream.java (processResolution): Use
117 getMethod.
118 (getMethod): Make method accessible.
119 (getField): Make field accessible.
120 (setBooleanField): Don't call setAccessible here.
121 (setByteField, setCharField, setDoubleField, setFloatField,
122 setIntField, setLongField, setShortField, setObjectField):
123 Likewise.
124 (callReadMethod): Don't check whether method is null. Catch
125 NoSuchMethodException.
126 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
127 cause on thrown exceptions.
128
129 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
130
131 Fix for PR libgcj/11728:
132 * java/util/HashMap.java (readObject): Set size.
133
134 2003-07-31 Tom Tromey <tromey@redhat.com>
135
136 Fix for PR libgcj/11737:
137 * java/io/ObjectOutputStream.java (getMethod): Make method
138 accessible.
139 (getField): Likewise.
140 (writeObject): Use getMethod.
141 Import PrivilegedAction and AccessController.
142 (callWriteMethod): Don't check whether m is null. Catch
143 NoSuchMethodException.
144
145 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
146 (containsAngle): Likewise.
147 (getStartPoint): Rewrote.
148 (getEndPoint): Likewise.
149 (setAngleStart(Point2D)): Likewise.
150
151 2003-07-31 Roger Sayle <roger@eyesopen.com>
152 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
153
154 * configure.in: Add new THREADCXXFLAGS variable.
155 Handle POSIX threads on alpha*-dec-osf*.
156 * configure: Regenerate.
157 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
158 * Makefile.in: Regenerate.
159
160 2003-07-08 Andrew Haley <aph@redhat.com>
161
162 * include/i386-signal.h (RESTORE): New.
163 (INIT_SEGV): Set restorer.
164 (INIT_FPE): Likewise.
165
166 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
167
168 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
169 than getXLFD.
170 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
171 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
173 (gtkSetFont): Scale size parameter by PANGO_SCALE.
174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
175 Likewise.
176 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
177 Likewise.
178
179 2003-07-29 Tom Tromey <tromey@redhat.com>
180
181 * defineclass.cc (handleField): Throw exception if field name is
182 duplicated.
183 (handleMethod): Throw exception for duplicate method.
184
185 2003-07-29 Tom Tromey <tromey@redhat.com>
186
187 * gnu/gcj/convert/natIconv.cc (write): Handle case where
188 output buffer is too small.
189
190 2003-07-28 Tom Tromey <tromey@redhat.com>
191
192 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
193 New method.
194 Include gnu/gcj/runtime/StringBuffer.h.
195 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
196 native method.
197 (String(gnu.gcj.runtime.StringBuffer)): Use it.
198
199 2003-07-27 Anthony Green <green@redhat.com>
200
201 * configure.in: Fix newlib check.
202 * configure: Rebuilt.
203
204 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
205
206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
207 Create vbox and layout for GtkPlug.
208
209 2003-07-27 Michael Koch <konqueror@gmx.de>
210
211 * java/awt/Window.java
212 (Window): Removed now unused constructor. It became oboslete with the
213 new embedded window patch.
214
215 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
216 Michael Koch <konqueror@gmx.de>
217
218 * gnu/java/awt/EmbeddedWindow.java
219 (EmbeddedWindow): Extends Frame instead of Window.
220 (window_id): New member variable to store the native window handle.
221 (create): Removed.
222 (EmbeddedWindow): New constructor.
223 (addNotify): New method.
224 (getHandler): Likewise.
225 (setWindowPeer): New native method.
226 * gnu/java/awt/EmbeddedWindowSupport.java
227 (EmbeddedWindowSupport): Fixed documentation.
228 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
229 WindowPeer, give it an EmbeddedWindow instance instead of the raw
230 window data.
231 * gnu/java/awt/natEmbeddedWindow.cc
232 (create): Removed.
233 (setWindowPeer): New method.
234 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
235 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
236 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
237 New files
238 * gnu/java/awt/peer/gtk/GtkToolkit.java
239 (GtkToolkit): Implements EmbeddedWindowSupport.
240 (createEmbeddedWindow): New method.
241 * java/awt/Window.java
242 (Window): Removed.
243 * Makefile.am
244 (java_source_files): Added EmbeddedWindowPeer.java.
245 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
246 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
247 * Makefile.in: Regenerated.
248
249 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
250
251 * java/lang/Win32Process.java (ConcreteProcess): Surround
252 a command line element with quotes if it contains an
253 embedded space or tab.
254 * java/lang/natWin32Process.cc (startProcess): Do not
255 surround command line elements with quotes here.
256
257 * configure.host: Use -fcheck-references and
258 -fuse-divide-subroutine for MinGW until we fix
259 win32_exception_handler( ) in win32.cc w.r.t. Win32
260 Structured Exception Handling (SEH).
261
262 * win32.cc (_Jv_platform_initProperties): Use generic names
263 like "x86" for the "os.arch" property to be consistent with
264 what Sun's JDK produces. Use the wProcessorArchitecture
265 member of the Win32 SYSTEM_INFO structure, filled in a call
266 to GetSystemInfo( ), instead of dwProcessorType.
267
268 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
269 Ranjit Mathew <rmathew@hotmail.com>
270
271 * Makefile.am: Use cross-compiling gcjh from the path for
272 a crossed-native build.
273 * Makefile.in: Rebuilt.
274 * configure.in: Include libltdl in non-newlib builds.
275 Moved determination of gcj used to build libraries to
276 its own section. Fixed cross-compilation issues for
277 non-newlib builds.
278 * configure: Rebuilt.
279
280 2003-07-25 Tom Tromey <tromey@redhat.com>
281
282 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
283 (write): Likewise.
284 (read): Likewise.
285 (read): Likewise.
286
287 2003-07-25 Mark Wielaard <mark@klomp.org>
288
289 * java/lang/natRuntime.cc (_load): Add library name to
290 UnsatisfiedLinkError when thrown.
291
292 2003-07-25 Mark Wielaard <mark@klomp.org>
293
294 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
295 added.
296 * Makefile.in: Likewise.
297
298 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
299
300 * java/awt/Component.java
301 (getPreferredSize): Call preferredSize.
302 (preferredSize): Moved body of getPreferredSize here.
303 (getMinimumSize): Call minimumSize.
304 (minimumSize): Moved body of getMinimumSize here.
305 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
306 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
307 pass -1
308 * java/awt/Container.java
309 (validate): Don't validate if there is no peer.
310 (update): Clear background before calling paint.
311 * java/awt/GridBagLayout.java
312 Completed the implementation and fixed several bugs.
313 * java/awt/MediaTracker.java
314 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
315 combine flags.
316 * java/awt/Window.java
317 (Window): Don't call setVisible(false). Windows are invisible by
318 default and calling virtual methods from constructor causes
319 compatibility problems (e.g. subclasses may assume that the peer
320 already exists).
321
322 2003-07-25 Michael Koch <konqueror@gmx.de>
323
324 * java/awt/GridBagLayout.java:
325 Totally reworked and partly implemented.
326 * java/awt/GridBagLayoutInfo.java:
327 New file.
328
329 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
330
331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
332 Don't pack label in an event box.
333
334 2003-07-24 Tom Tromey <tromey@redhat.com>
335
336 For PR libgcj/7482:
337 * verify.cc (ref_intersection): New class.
338 (type_val): Removed unresolved_reference_type,
339 uninitialized_unresolved_reference_type.
340 (is_assignable_from_slow): Rewrote.
341 (type::data): Removed.
342 (type::klass): New field.
343 (type::type): Added verifier argument.
344 (type::resolve): Removed.
345 (type::set_uninitialized): Updated for change to type_val.
346 (type::set_initialized): Likewise.
347 (type::isinitialized): Likewise.
348 (type::print): Likewise.
349 (construct_primitive_array_type): Likewise.
350 (type::compatible): Updated for change to type_val and to use
351 ref_intersection.
352 (type::isarray): Updated to use ref_intersection.
353 (type::isinterface): Likewise.
354 (type::element_type): Likewise.
355 (type::to_array): Likewise.
356 (type::verify_dimensions): Rewrote.
357 (type::merge): Likewise.
358 (check_class_constant): Updated for type constructor change.
359 (check_constant): Likewise.
360 (check_field_constant): Likewise.
361 (get_one_type): Likewise.
362 (initialize_stack): Likewise.
363 (verify_instructions_0): Likewise.
364 (verify_instructions_0) [op_invokeinterface]: Removed special
365 case.
366 (isect_list): New field.
367 (_Jv_BytecodeVerifier): Initialize it.
368 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
369
370 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
371
372 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
373 unless field size is 2.
374
375 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
376
377 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
378 (connectHooks): New method.
379 (handleEvent): Remove.
380 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
381 (createHooks): Remove declaration.
382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
383 (generates_key_typed_event): Change to handle only certain
384 keyvals.
385 (awt_event_handler): Add special handling for GtkTextView.
386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
387 (textcomponent_commit_cb): New function.
388 (textcomponent_changed_cb): Likewise.
389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
390 (connectHooks): Remove.
391
392 2003-07-23 Tom Tromey <tromey@redhat.com>
393
394 * java/lang/natSystem.cc (arraycopy): Check for overflow.
395
396 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
397
398 2003-07-22 Tom Tromey <tromey@redhat.com>
399
400 * boehm.cc (_Jv_BuildGCDescr): Wrote.
401 Include limits.h.
402
403 2003-07-22 Tom Tromey <tromey@redhat.com>
404
405 * java/awt/Window.java (getWarningString): Just return the
406 string.
407 (Window): Set warningString; check with security manager.
408
409 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
410
411 * gnu/awt/xlib/XGraphicsConfiguration.java
412 (FontMetricsCache): Made static.
413
414 2003-07-22 Tom Tromey <tromey@redhat.com>
415
416 * java/net/URLEncoder.java (encode(String)): Use platform default
417 encoding.
418 (encode(String,String)): Convert to 2-digit upper-case hex
419 number.
420 (hex): New field.
421
422 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
423
424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
425 (create): Remove unused method implementation.
426 (connectHooks): Remove debug messages.
427
428 2003-07-20 Anthony Green <green@redhat.com>
429
430 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
431 CloneNotSupportedException.
432 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
433 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
434 * gnu/gcj/xlib/GC.java (clone): Ditto.
435 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
436 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
437
438 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
439 handler.
440 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
441
442 2003-07-20 Steve Pribyl <steve@netfuel.com.>
443
444 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
445 String. Put dlerror() message into exception.
446 Include UnsatisfiedLinkError.
447 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
448 String. Now native.
449
450 2003-07-20 Tom Tromey <tromey@redhat.com>
451
452 * java/lang/Runtime.java: Comment fix.
453 * java/lang/ClassLoader.java (isAncestorOf): New method.
454 (getParent): Uncommented security check. Use isAncestorOf.
455 * include/jvm.h (_Jv_CheckAccess): Declare.
456 * java/lang/reflect/natConstructor.cc (newInstance): Perform
457 access check.
458 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
459 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
460 class loader to _Jv_GetArrayClass.
461 Include ArrayIndexOutOfBoundsException.h.
462 * java/lang/reflect/Field.java: Update comment to reflect status.
463 (equals): Fixed indentation.
464 * java/lang/Class.h (Class): Declare memberAccessCheck, not
465 checkMemberAccess. Make _Jv_CheckAccess a friend.
466 * java/lang/Class.java (memberAccessCheck): New method from
467 Classpath.
468 (checkMemberAccess): Removed.
469 (getDeclaredMethod): Use memberAccessCheck.
470 (getField): Likewise.
471 (getMethod): Likewise.
472 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
473 (_Jv_SearchMethodInClass): Likewise.
474 * prims.cc (_Jv_CheckAccess): New function.
475 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
476 (_Jv_JNI_GetAnyFieldID): Likewise.
477 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
478 (getClassLoader): Added security check.
479 (getConstructor): Call memberAccessCheck.
480 (getDeclaredClasses): Likewise.
481 (getDeclaredField): Likewise.
482 (getDeclaredFields): Likewise.
483 (_getConstructors): Likewise.
484 (getDeclaredConstructor): Likewise.
485 (getDeclaredMethods): Likewise.
486 (getFields): Likewise.
487 (getMethods): Likewise.
488 (newInstance): Likewise.
489 (_Jv_MakeVTable): Put method name in exception.
490 * java/lang/reflect/natMethod.cc (getType): Use
491 getClassLoaderInternal.
492 (_Jv_GetTypesFromSignature): Likewise.
493 (invoke): Perform access check.
494 (_Jv_CallAnyMethodA): Removed old FIXME comments.
495 Include ArrayIndexOutOfBoundsException.h.
496 * java/lang/reflect/natField.cc (getType): Use
497 getClassLoaderInternal.
498 (_Jv_CheckFieldAccessibility): Removed.
499 (getAddr): Use _Jv_CheckAccess; find caller.
500 Include ArrayIndexOutOfBoundsException.h.
501
502 2003-07-20 Michael Koch <konqueror@gmx.de>
503
504 * java/net/URL.java
505 (URL): Fixed documentation to name an argument correcty, Reformatted
506 one method declaration.
507 (getURLStreamHandler): Added documentation from classpath.
508
509 2003-07-19 Tom Tromey <tromey@redhat.com>
510
511 * mauve-libgcj: Don't run CollationElementIterator tests.
512
513 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
514
515 * java/net/URLClassLoader.java (addURL): Moved implementation to
516 private addURLImpl() to avoid calling addURL from the constructor.
517 (addURLImpl): Contains the code that was previously in addURL.
518 (addURLs): Call addURLImpl(), not addURL().
519
520 2003-07-18 Graydon Hoare <graydon@redhat.com>
521
522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
523 Handle missing event cases, connect to "value-changed" signal.
524
525 2003-07-18 Graydon Hoare <graydon@redhat.com>
526
527 * java/awt/geom/CubicCurve2D.java,
528 java/awt/geom/Line2D.java,
529 java/awt/geom/QuadCurve2D.java,
530 java/awt/geom/Rectangle2D.java:
531 Fix path some calculations, make path iterators follow
532 a consistent style.
533
534 2003-07-18 Mark Wielaard <mark@klomp.org>
535
536 * java/util/logging/Handler.java (isLoggable): Check record level
537 smaller or equal.
538
539 2003-07-17 Michael Koch <konqueror@gmx.de>
540
541 * gnu/java/awt/peer/gtk/GtkToolkit.java:
542 Reworked imports.
543
544 2003-07-14 Michael Koch <konqueror@gmx.de>
545
546 * gnu/java/rmi/server/UnicastServerRef.java:
547 New version from classpath.
548
549 2003-07-14 Michael Koch <konqueror@gmx.de>
550
551 * java/awt/image/MemoryImageSource.java,
552 java/beans/PropertyEditorManager.java,
553 javax/naming/CompoundName.java,
554 javax/naming/spi/NamingManager.java,
555 javax/swing/AbstractButton.java,
556 javax/swing/ButtonModel.java,
557 javax/swing/SwingUtilities.java,
558 javax/swing/UIManager.java,
559 javax/swing/colorchooser/DefaultColorSelectionModel.java,
560 javax/swing/event/AncestorEvent.java,
561 javax/swing/event/InternalFrameEvent.java,
562 java/util/zip/ZipFile.java:
563 New versions from classpath.
564
565 2003-07-13 Michael Koch <konqueror@gmx.de>
566
567 * gnu/java/nio/FileChannelImpl.java,
568 gnu/java/nio/natFileChannelImpl.cc: Removed.
569 * java/io/FileInputStream.java,
570 java/io/FileOutputStream.java,
571 java/io/RandomAccessFile.java,
572 java/nio/MappedByteBufferImpl.java:
573 Import java.nio.channels.FileChannelImpl instead of
574 gnu.java.nio.FileChannelImpl.
575 * java/nio/channels/FileChannelImpl.java,
576 java/nio/channels/natFileChannelImpl.cc:
577 New files.
578 * Makefile.am
579 (ordinary_java_source_files):
580 Removed gnu/java/nio/FileChannelImpl.java and added
581 java/nio/channels/FileChannelImpl.java.
582 (nat source_files):
583 Removed gnu/java/nio/natFileChannelImpl.cc and added
584 java/nio/channels/natFileChannelImpl.cc.
585 * Makefile.in: Regenerated.
586
587 2003-07-13 Michael Koch <konqueror@gmx.de>
588
589 * javax/swing/plaf/basic/BasicBorders.java,
590 javax/swing/plaf/basic/BasicLabelUI.java,
591 javax/swing/plaf/basic/BasicLookAndFeel.java,
592 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
593 javax/swing/plaf/basic/BasicTextUI.java,
594 javax/swing/plaf/metal/MetalLookAndFeel.java:
595 New versions from classpath.
596
597 2003-07-13 Michael Koch <konqueror@gmx.de>
598
599 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
600 * gnu/java/awt/peer/gtk/GdkGraphics.java
601 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
602 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
603 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
604 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
605 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
606 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
607 * gnu/java/awt/peer/gtk/GtkClipboard.java
608 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
609 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
610 * gnu/java/awt/peer/gtk/GtkFramePeer.java
611 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
612 * gnu/java/awt/peer/gtk/GtkImage.java
613 * gnu/java/awt/peer/gtk/GtkImagePainter.java
614 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
615 * gnu/java/awt/peer/gtk/GtkListPeer.java
616 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
617 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
618 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
619 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
620 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
621 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
622 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
623 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
624 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
625 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
626 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
627 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
628
629 2003-07-13 Michael Koch <konqueror@gmx.de>
630
631 * gnu/java/locale/LocaleInformation_de.java
632 * gnu/java/locale/LocaleInformation_en.java
633 * gnu/java/locale/LocaleInformation_nl.java
634
635 2003-07-13 Michael Koch <konqueror@gmx.de>
636
637 * gnu/java/awt/EmbeddedWindow.java,
638 gnu/java/awt/EmbeddedWindowSupport.java,
639 gnu/java/awt/natEmbeddedWindow.cc:
640 New files.
641 * java/awt/Window.java
642 (Window): New constructor to support embedded windows.
643 * Makefile.am
644 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
645 gnu/java/awt/EmbeddedWindowSupport.java.
646 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
647 * Makefile.in: Regenerated.
648
649 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
650
651 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
652 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
653 * java/awt/im/InputContext.java: Remove a redundant
654 partial line.
655
656 2003-07-09 Tom Tromey <tromey@redhat.com>
657
658 * Makefile.in: Rebuilt.
659 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
660
661 2003-07-09 Mark Wielaard <mark@klomp.org>
662
663 * java/io/ObjectOutputStream.java (writeObject): break after
664 calling writeClassDescriptor().
665
666 2003-07-09 Mark Mitchell <mark@codesourcery.com>
667
668 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
669
670 2003-07-09 Michael Koch <konqueror@gmx.de>
671
672 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
673 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
674 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
675 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
676 Explicitly import used classes.
677 * java/awt/Container.java: New version from classpath.
678
679 2003-07-09 Michael Koch <konqueror@gmx.de>
680
681 * libgcj.pc.in: New file.
682 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
683 * Makefile.in: Regenerated.
684 * configure: Regenrated.
685 * configure.in: Create libgcj.pc from libgcj.pc.in.
686
687 2003-07-08 Mark Wielaard <mark@klomp.org>
688
689 * gcj/cni.h: CNI now expands to Compiled Native Interface.
690
691 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
692 * java/lang/fdlibm.h: Likewise.
693
694 2003-07-07 Adam Megacz <adam@xwt.org>
695
696 * posix.cc: added #include<stdio.h>
697
698 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
699
700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
701 formatting.
702
703 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
704 (setCaretPosition, setEditable): Rely entirely on native
705 implementation.
706 (getArgs): Remove.
707 (postTextEvent): New method.
708 (handleEvent): New method.
709 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
710 method.
711 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
713 (keysym_to_awt_keycode): Fix range checks.
714 (generates_key_typed_event): New function.
715 (awt_event_handler): Post AWT_KEY_RELEASED events to event
716 queue.
717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
718 (gtkInit): Store TextComponent's postTextEvent method ID.
719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
720 (setText): Post TEXT_VALUE_CHANGED event to event queue.
721
722 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
723
724 * configure.in: Check for usleep declaration.
725 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
726 * configure: Regenerate.
727 * include/config.h.in: Likewise.
728 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
729
730 2003-07-01 Michael Koch <konqueror@gmx.de>
731
732 * gnu/gcj/convert/natIconv.cc
733 (iconv_init): Fixed possible memory leak by releasing allocated iconv
734 handle.
735
736 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
737
738 * glib-2.0.m4: New file.
739 * gtk-2.0.m4: New file.
740 * glib.m4: Remove.
741 * gtk.m4: Remove.
742 * configure.in: Update AM_PATH_GTK macro call to
743 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
744 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
745 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
746 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
747 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
748 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
749 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
750 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
751 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
752 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
753 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
754 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
755 jni/gtk-peer/gthread-jni.c,
756 jni/gtk-peer/gthread-jni.h:
757 New versions from classpath.
758 * aclocal.m4: Regenerate.
759 * configure: Regenerate.
760 * Makefile.in: Regenerate.
761 * gcj/Makefile.in: Regenerate.
762 * include/Makefile.in: Regenerate.
763 * testsuite/Makefile.in: Regenerate.
764
765 2003-06-30 Gary Benson <gbenson@redhat.com>
766
767 For PR libgcj/11349:
768 * javax/naming/spi/NamingManager.java (getURLContext): Use
769 correct name for factory class.
770
771 2003-06-28 Michael Koch <konqueror@gmx.de>
772
773 * java/io/PrintStream.java
774 (checkError): Call flush() instead of direct flushing of the Writer
775 object.
776 (print): Call print(String) instead of direct print method of the
777 Writer Object.
778 (println): Call println(String) instead of direct println method of the
779 Writer Object.
780 (write): Simplified.
781
782 2003-06-28 Michael Koch <konqueror@gmx.de>
783
784 * java/net/ServerSocket.java
785 (setChannel): New method.
786 * java/net/Socket.java
787 (setChannel): New method.
788
789 2003-06-27 Michael Koch <konqueror@gmx.de>
790
791 * java/beans/beancontext/BeanContextSupport.java:
792 New version from classpath.
793
794 2003-06-27 Michael Koch <konqueror@gmx.de>
795
796 * java/awt/Window.java,
797 java/awt/font/GraphicAttribute.java,
798 java/awt/font/ImageGraphicAttribute.java,
799 java/awt/image/DataBufferByte.java,
800 java/awt/image/DataBufferInt.java,
801 java/awt/image/DataBufferUShort.java,
802 java/awt/image/DirectColorModel.java,
803 java/awt/image/PixelGrabber.java:
804 New versions from classpath.
805
806 2003-06-27 Michael Koch <konqueror@gmx.de>
807
808 * java/security/Certificate.java
809 (getGuarantor): Removed wrong @deprecated tag.
810 (getPrincipal): Likewise.
811 (getPublicKey): Likewise.
812 (encode): Likewise.
813 (decode): Likewise.
814 (getFormat): Likewise.
815 (toString): Likewise.
816 * java/security/cert/PolicyQualifierInfo.java
817 (PolicyQualifierInfo): Made final.
818 * javax/security/auth/x500/X500Principal.java
819 (serialVersionUID): New member variable.
820
821 2003-06-27 Michael Koch <konqueror@gmx.de>
822
823 * java/text/Format.java
824 (serialVersionUID): Fixed value.
825
826 2003-06-27 Michael Koch <konqueror@gmx.de>
827
828 * java/net/Inet4Address.java
829 (Inet4Address): Made package-private.
830 * java/net/Inet6Address.java
831 (Inet4Address): Made package-private.
832
833 2003-06-27 Michael Koch <konqueror@gmx.de>
834
835 * java/io/RandomAccessFile.java
836 (readLine): Removed wrong @deprecated tag.
837 (getChannel): Made final.
838
839 2003-06-27 Michael Koch <konqueror@gmx.de>
840
841 * gnu/java/nio/FileChannelImpl.java
842 (write): Removed.
843
844 2003-06-27 Michael Koch <konqueror@gmx.de>
845
846 * java/nio/ByteBufferImpl.java
847 (ByteBufferImpl): Made it a package-private class
848 * java/nio/CharBufferImpl.java
849 (CharBufferImpl): Made it a package-private class
850 * java/nio/DirectByteBufferImpl.java
851 (DirectByteBufferImpl): Made it a package-private class
852 * java/nio/DoubleBufferImpl.java
853 (DoubleBufferImpl): Made it a package-private class
854 * java/nio/FloatBufferImpl.java
855 (FloatBufferImpl): Made it a package-private class
856 * java/nio/IntBufferImpl.java
857 (IntBufferImpl): Made it a package-private class
858 * java/nio/LongBufferImpl.java
859 (LongBufferImpl): Made it a package-private class
860 * java/nio/ShortBufferImpl.java
861 (ShortBufferImpl): Made it a package-private class
862 * java/nio/channels/FileChannel.java
863 (write): Made final.
864 * java/nio/channels/ServerSocketChannel.java
865 (ServerSocketChanne): Made protected.
866
867 2003-06-27 Michael Koch <konqueror@gmx.de>
868
869 * javax/naming/CompositeName.java
870 (serialVersionUID): New member variable.
871 * javax/naming/CompoundName.java
872 (serialVersionUID): New member variable.
873 * javax/naming/InitialContext.java
874 (InitialContext): Throws NamingException.
875 (init): Likewise.
876 * javax/naming/LinkRef.java
877 (serialVersionUID): New member variable.
878 (gteLinkName): Throws NamingException.
879 * javax/naming/NamingException.java
880 (serialVersionUID): New member variable.
881 * javax/naming/NamingSecurityException.java
882 (NamingSecurityException): Made abstract.
883 (serialVersionUID): New member variable.
884 * javax/naming/ReferralException.java
885 (serialVersionUID): New member variable.
886 * javax/naming/StringRefAddr.java
887 (serialVersionUID): New member variable.
888 * javax/naming/directory/BasicAttribute.java:
889 Reworked imports.
890 (serialVersionUID): New member variable.
891 (get): Throws NamingException.
892 (getAll): Throws NamingException.
893 * javax/naming/directory/BasicAttributes.java:
894 Reworked imports.
895 (serialVersionUID): New member variable.
896 * javax/naming/ldap/UnsolicitedNotificationEvent.java
897 (serialVersionUID): New member variable.
898
899 2003-06-27 Michael Koch <konqueror@gmx.de>
900
901 * Makefile.am
902 (awt_java_source_files): Added new files:
903 javax/swing/Popup.java,
904 javax/swing/PopupFactory.java
905 * Makefile.in: Regenerated.
906
907 2003-06-27 Michael Koch <konqueror@gmx.de>
908
909 * javax/swing/JWindow.java,
910 javax/swing/event/AncestorEvent.java,
911 javax/swing/event/HyperlinkEvent.java,
912 javax/swing/event/InternalFrameEvent.java,
913 javax/swing/event/ListDataEvent.java,
914 javax/swing/event/TableModelEvent.java,
915 javax/swing/plaf/PopupMenuUI.java,
916 javax/swing/plaf/SplitPaneUI.java,
917 javax/swing/plaf/TabbedPaneUI.java,
918 javax/swing/plaf/TextUI.java,
919 javax/swing/plaf/TreeUI.java,
920 javax/swing/plaf/basic/BasicTextUI.java,
921 javax/swing/plaf/basic/BasicTreeUI.java:
922 New versions from classpath.
923 * javax/swing/Popup.java,
924 javax/swing/PopupFactory.jav:
925 New source files from classpath.
926 * javax/swing/plaf/doc-files/TreeUI-1.png:
927 New binary files from classpath.
928
929 2003-06-25 Michael Koch <konqueror@gmx.de>
930
931 * Makefile.am
932 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
933 * Makefile.in: Regenerated.
934
935 2003-06-25 Michael Koch <konqueror@gmx.de>
936
937 * javax/swing/plaf/ActionMapUIResource.java,
938 javax/swing/plaf/BorderUIResource.java,
939 javax/swing/plaf/ButtonUI.java,
940 javax/swing/plaf/ColorChooserUI.java,
941 javax/swing/plaf/ColorUIResource.java,
942 javax/swing/plaf/ComboBoxUI.java,
943 javax/swing/plaf/ComponentInputMapUIResource.java,
944 javax/swing/plaf/ComponentUI.java,
945 javax/swing/plaf/DesktopIconUI.java,
946 javax/swing/plaf/DesktopPaneUI.java,
947 javax/swing/plaf/DimensionUIResource.java,
948 javax/swing/plaf/FileChooserUI.java,
949 javax/swing/plaf/FontUIResource.java,
950 javax/swing/plaf/IconUIResource.java,
951 javax/swing/plaf/InputMapUIResource.java,
952 javax/swing/plaf/InsetsUIResource.java,
953 javax/swing/plaf/InternalFrameUI.java,
954 javax/swing/plaf/LabelUI.java,
955 javax/swing/plaf/ListUI.java,
956 javax/swing/plaf/MenuBarUI.java,
957 javax/swing/plaf/MenuItemUI.java,
958 javax/swing/plaf/OptionPaneUI.java,
959 javax/swing/plaf/PanelUI.java,
960 javax/swing/plaf/ProgressBarUI.java,
961 javax/swing/plaf/RootPaneUI.java,
962 javax/swing/plaf/ScrollBarUI.java,
963 javax/swing/plaf/ScrollPaneUI.java,
964 javax/swing/plaf/SeparatorUI.java,
965 javax/swing/plaf/SliderUI.java,
966 javax/swing/plaf/TableHeaderUI.java,
967 javax/swing/plaf/TableUI.java,
968 javax/swing/plaf/ToolBarUI.java,
969 javax/swing/plaf/ToolTipUI.java,
970 javax/swing/plaf/ViewportUI.java:
971 New versions from classpath.
972 * javax/swing/plaf/SpinnerUI.java:
973 New file from classpath
974
975 2003-06-25 Michael Koch <konqueror@gmx.de>
976
977 * java/awt/image/ColorModel.java:
978 New version from classpath.
979
980 2003-06-25 Michael Koch <konqueror@gmx.de>
981
982 * java/net/PlainDatagramSocketImpl.java:
983 Partly merged with classpath, this mainly adds documentation.
984
985 2003-06-25 Michael Koch <konqueror@gmx.de>
986
987 * java/io/ObjectInputStream.java
988 (readClassDescriptor): New method.
989 (readObject): Moved functionality to readClassDescriptor().
990 * java/io/ObjectOutputStream.java
991 (writeClassDescriptor): New method.
992 (writeObject): Moved functionality to writeClassDescriptor().
993
994 2003-06-25 Michael Koch <konqueror@gmx.de>
995
996 * javax/swing/plaf/basic/BasicListUI.java,
997 javax/swing/plaf/basic/BasicOptionPaneUI.java:
998 Added missing methods.
999
1000 2003-06-25 Michael Koch <konqueror@gmx.de>
1001
1002 * javax/swing/event/AncestorEvent.java
1003 javax/swing/event/HyperlinkEvent.java
1004 javax/swing/event/InternalFrameEvent.java
1005 javax/swing/event/ListDataEvent.java
1006 javax/swing/event/TableModelEvent.java:
1007 Compile fixes.
1008
1009 2003-06-24 Michael Koch <konqueror@gmx.de>
1010
1011 * java/net/URL.java:
1012 Renamed "handler" to "ph" in the whole file to match classpaths
1013 version.
1014 * java/net/URLStreamHandler.java:
1015 (equals): Renamed "handler" to "ph".
1016
1017 2003-06-24 Michael Koch <konqueror@gmx.de>
1018
1019 * javax/swing/event/AncestorEvent.java,
1020 javax/swing/event/HyperlinkEvent.java,
1021 javax/swing/event/InternalFrameEvent.java,
1022 javax/swing/event/ListDataEvent.java,
1023 javax/swing/event/TableModelEvent.java,
1024 javax/swing/event/TreeWillExpandListener.java,
1025 javax/swing/plaf/ComponentUI.java,
1026 javax/swing/plaf/DesktopIconUI.java,
1027 javax/swing/plaf/DesktopPaneUI.java,
1028 javax/swing/plaf/DimensionUIResource.java,
1029 javax/swing/plaf/FileChooserUI.java,
1030 javax/swing/plaf/FontUIResource.java,
1031 javax/swing/plaf/IconUIResource.java,
1032 javax/swing/plaf/InputMapUIResource.java,
1033 javax/swing/plaf/InsetsUIResource.java,
1034 javax/swing/plaf/InternalFrameUI.java,
1035 javax/swing/plaf/LabelUI.java,
1036 javax/swing/plaf/ListUI.java,
1037 javax/swing/plaf/MenuBarUI.java,
1038 javax/swing/plaf/MenuItemUI.java,
1039 javax/swing/plaf/OptionPaneUI.java,
1040 javax/swing/plaf/PanelUI.java,
1041 javax/swing/plaf/ProgressBarUI.java,
1042 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1043 javax/swing/plaf/doc-files/ComponentUI-1.png:
1044 New versions from classpath.
1045
1046 2003-06-24 Michael Koch <konqueror@gmx.de>
1047
1048 * java/nio/Buffer.java
1049 (cap): Made package-private.
1050 (pos): Likewise.
1051 (limit): Likewise.
1052 (mark): Likewise.
1053
1054 2003-06-24 Michael Koch <konqueror@gmx.de>
1055
1056 * java/net/SocketImpl.java
1057 (shutdownInput): Made it non-abstract method throwing an exception
1058 like in SUNs JRE.
1059 (shutdownOutput): Likewise.
1060 * java/net/SocketInputStream.java,
1061 java/net/SocketOutputStream.java:
1062 New files from classpath.
1063
1064 2003-06-24 Michael Koch <konqueror@gmx.de>
1065
1066 * java/awt/Font.java,
1067 java/awt/Window.java,
1068 java/awt/color/ColorSpace.java,
1069 java/awt/datatransfer/StringSelection.java,
1070 java/awt/image/ColorModel.java:
1071 New versions from classpath.
1072
1073 2003-06-24 Michael Koch <konqueror@gmx.de>
1074
1075 * Makefile.am
1076 (awt_java_source_files): Added new files:
1077 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1078 javax/swing/plaf/basic/BasicSplitPaneUI.java
1079 * Makefile.in: Regenerated.
1080
1081 2003-06-24 Michael Koch <konqueror@gmx.de>
1082
1083 * javax/swing/text/JTextComponent.java:
1084 New version from classpath.
1085
1086 2003-06-24 Michael Koch <konqueror@gmx.de>
1087
1088 * javax/swing/Timer.java,
1089 javax/swing/plaf/ActionMapUIResource.java,
1090 javax/swing/plaf/ButtonUI.java,
1091 javax/swing/plaf/ColorChooserUI.java,
1092 javax/swing/plaf/ColorUIResource.java,
1093 javax/swing/plaf/ComboBoxUI.java,
1094 javax/swing/plaf/ComponentInputMapUIResource.java,
1095 javax/swing/plaf/basic/BasicBorders.java:
1096 New versions from classpath.
1097 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1098 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1099 New file from classpath.
1100 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1101 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1102 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1103 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1104 javax/swing/plaf/doc-files/ComponentUI-1.png:
1105 New binary files from classpath.
1106
1107 2003-06-24 Michael Koch <konqueror@gmx.de>
1108
1109 * java/io/LineNumberReader.java
1110 (skip): Dont do line number accounting here as this is already done in
1111 read(), simplified.
1112
1113 2003-06-21 Michael Koch <konqueror@gmx.de>
1114
1115 * java/io/File.java
1116 (static): Load javaio lib if existing (only in classpath).
1117 (File): Revised documentation to show the correct argument name.
1118 (createTempFile): Partly merged with classpath.
1119 (compareTo): Simplified.
1120 (lastModified): Throw exception if time < 0.
1121 (deleteOnExit): Revised documentation.
1122
1123 2003-06-21 Michael Koch <konqueror@gmx.de>
1124
1125 * java/net/PlainSocketImpl.java:
1126 Reformatted.
1127 (PlainSocketImpl): Merged class documentaion with classpath.
1128 (in): Moved.
1129 (out): Moved.
1130 (PlainSocketImpl): New empty constructor.
1131 (finalize): Moved.
1132 (setOption): Merged documentation from classpath.
1133 (getOption): Likewise.
1134 (create): Likewise.
1135 (connect): Likewise.
1136 (bind): Likewise.
1137 (listen): Likewise.
1138 (accept): Likewise.
1139 (available): Likewise.
1140 (close): Likewise.
1141 (read): Likewise.
1142 (write): Likewise.
1143 (getInputStream): Made synchronozed to get sure that only one stream
1144 object can be created for this socket, merged documentation from
1145 classpath.
1146 (getOutputStream): Likewise.
1147
1148 2003-06-21 Michael Koch <konqueror@gmx.de>
1149
1150 * java/net/PlainSocketImpl.java:
1151 Reformatting.
1152 (static): New implicit method.
1153 (read): Made package private.
1154 (write): Likewise.
1155
1156 2003-06-21 Michael Koch <konqueror@gmx.de>
1157
1158 * java/util/SimpleTimeZone.java:
1159 Removed unneeded import, reformatting.
1160
1161 2003-06-21 Michael Koch <konqueror@gmx.de>
1162
1163 * java/text/DateFormat.java,
1164 java/text/SimpleDateFormat.java,
1165 java/util/Locale.java:
1166 New versions from classpath.
1167
1168 2003-06-21 Michael Koch <konqueror@gmx.de>
1169
1170 * javax/swing/SpinnerModel.java:
1171 New file from classpath.
1172 * javax/swing/border/LineBorder.java,
1173 javax/swing/border/SoftBevelBorder.java,
1174 javax/swing/plaf/BorderUIResource.java,
1175 javax/swing/plaf/basic/BasicBorders.java:
1176 New versions from classpath.
1177 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1178 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1179 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1180 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1181 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1182 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1183 New binary files from classpath.
1184
1185 2003-06-21 Michael Koch <konqueror@gmx.de>
1186
1187 * java/util/logging/LogRecord.java,
1188 java/util/logging/Logger.java,
1189 java/util/logging/SocketHandler.java,
1190 java/util/logging/SimpleFormatter.java,
1191 java/util/logging/Formatter.java,
1192 java/util/logging/ErrorManager.java,
1193 java/util/logging/Handler.java,
1194 java/util/logging/FileHandler.java,
1195 java/util/logging/LogManager.java,
1196 java/util/logging/Level.java,
1197 java/util/logging/ConsoleHandler.java,
1198 java/util/logging/StreamHandler.java,
1199 java/util/logging/LoggingPermission.java,
1200 java/util/logging/Filter.java,
1201 java/util/logging/MemoryHandler.java,
1202 java/util/logging/XMLFormatter.java:
1203 New files from classpath.
1204
1205 2003-06-20 Michael Koch <konqueror@gmx.de>
1206
1207 * java/io/ObjectStreamField.java
1208 (unshared): new member variable.
1209 (ObjectStreamField): New constructor.
1210 (isUnshared): New method.
1211
1212 2003-06-20 Michael Koch <konqueror@gmx.de>
1213
1214 * java/net/URLStreamHandler.java
1215 (hostsEqual): Rewritten.
1216
1217 2003-06-20 Michael Koch <konqueror@gmx.de>
1218
1219 * gnu/java/nio/MappedByteFileBuffer.java,
1220 gnu/java/nio/natMappedByteFileBuffer.cc:
1221 Removed
1222 * java/nio/MappedByteBufferImpl.java:
1223 New file.
1224 * gnu/java/nio/FileChannelImpl.java:
1225 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1226 * Makefile.am
1227 (ordinary_java_source_files): Removed
1228 gnu/java/nio/MappedByteFileBuffer.java and added
1229 java/nio/MappedByteBufferImpl.java.
1230 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1231 * Makefile.in: Regenerated.
1232
1233 2003-06-19 Michael Koch <konqueror@gmx.de>
1234
1235 * gnu/java/nio/DatagramChannelImpl.java
1236 (fd): Removed.
1237 (blocking): New member variable.
1238 (socket): Likewise.
1239 (DatagramChannelImpl): Throws IOException, initialize socket.
1240 (socket):Implemented.
1241 (implCloseSelectableChannel): Throws IOException, implemented.
1242 (implConfigureBlocking): Likewise.
1243 (connect): Likewise.
1244 (disconnect): Likewise.
1245 (isConnected): Likewise.
1246 (write): Likewise.
1247 (read): Likewise.
1248 (receive): Throws IOException.
1249 (send): Likewise.
1250 * gnu/java/nio/SocketChannelImpl.java
1251 (read): Implemented.
1252 (write): Implemented.
1253
1254 2003-06-19 Michael Koch <konqueror@gmx.de>
1255
1256 * javax/swing/JComponent.java,
1257 javax/swing/JInternalFrame.java,
1258 javax/swing/MenuSelectionManager.java,
1259 javax/swing/SwingUtilities.java,
1260 javax/swing/ToggleButtonModel.java:
1261 New versions from classpath.
1262
1263 2003-06-19 Michael Koch <konqueror@gmx.de>
1264
1265 * java/text/CollationElementIterator.java
1266 (NULLORDER): Initialize with -1 as JDK documentation says.
1267
1268 2003-06-19 Michael Koch <konqueror@gmx.de>
1269
1270 * java/net/HttpURLConnection.java,
1271 java/net/Inet4Address.java,
1272 java/net/Inet6Address.java,
1273 java/net/SocketImpl.java,
1274 java/net/URLClassLoader.java:
1275 Reworked import statements.
1276 * java/net/InetAddress.java
1277 (getByAddress): Simplified.
1278 * java/net/ServerSocket.java
1279 (ServerSocket): Moved special handling during bind operation to
1280 bind().
1281 (bind): Handle different cases when trying to bind a socket.
1282 * java/net/URLConnection.java
1283 (getHeaderFieldDate): Merged with classpath.
1284 (getHeaderFieldInt): Likewise.
1285
1286 2003-06-19 Michael Koch <konqueror@gmx.de>
1287
1288 * java/util/zip/InflaterInputStream.java
1289 (InflaterInputStream): Throw NullPointerException if in is null (as
1290 JDK does).
1291
1292 2003-06-19 Michael Koch <konqueror@gmx.de>
1293
1294 * java/awt/Font.java
1295 javax/swing/UIManager.java
1296 javax/swing/border/AbstractBorder.java
1297 javax/swing/border/BevelBorder.java
1298 javax/swing/border/Border.java
1299 javax/swing/border/CompoundBorder.java
1300 javax/swing/border/EmptyBorder.java
1301 javax/swing/border/EtchedBorder.java
1302 javax/swing/border/LineBorder.java
1303 javax/swing/border/MatteBorder.java
1304 javax/swing/border/TitledBorder.java
1305 javax/swing/plaf/BorderUIResource.java
1306 javax/swing/plaf/basic/BasicBorders.java
1307 javax/swing/plaf/basic/BasicButtonUI.java
1308 javax/swing/plaf/basic/BasicCheckBoxUI.java
1309 javax/swing/plaf/basic/BasicGraphicsUtils.java
1310 javax/swing/plaf/basic/BasicLabelUI.java
1311 javax/swing/plaf/basic/BasicRadioButtonUI.java
1312 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1313 New versions from classpath.
1314 * javax/swing/border/SoftBevelBorder.java:
1315 New file from classpath.
1316 * javax/swing/border/doc-files/LineBorder-1.png,
1317 javax/swing/border/doc-files/BevelBorder-1.png,
1318 javax/swing/border/doc-files/BevelBorder-2.png,
1319 javax/swing/border/doc-files/BevelBorder-3.png,
1320 javax/swing/border/doc-files/EmptyBorder-1.png,
1321 javax/swing/border/doc-files/EtchedBorder-1.png,
1322 javax/swing/border/doc-files/EtchedBorder-2.png,
1323 javax/swing/border/doc-files/MatteBorder-1.png,
1324 javax/swing/border/doc-files/MatteBorder-2.png,
1325 javax/swing/border/doc-files/MatteBorder-3.png,
1326 javax/swing/border/doc-files/MatteBorder-4.png,
1327 javax/swing/border/doc-files/MatteBorder-5.png,
1328 javax/swing/border/doc-files/MatteBorder-6.png,
1329 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1330 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1331 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1332 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1333 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1334 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1335 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1336 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1337 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1338 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1339 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1340 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1341 New binary files from classpath.
1342 * Makefile.am
1343 (awt_java_source_files): Added
1344 javax/swing/border/SoftBevelBorder.java.
1345 * Makefile.in: Regenerated.
1346
1347 2003-06-19 Michael Koch <konqueror@gmx.de>
1348
1349 * gnu/java/security/x509/X509Certificate.java
1350 (writeReplace): Merged from classpath.
1351
1352 2003-06-19 Michael Koch <konqueror@gmx.de>
1353
1354 * gnu/java/nio/FileChannelImpl.java
1355 (map_address): Made public.
1356 (FileChannelImpl): Merged with classpath.
1357 * gnu/java/nio/natFileChannelImpl.cc
1358 (nio_mmap_file): Commented out unused arguments.
1359 (nio_unmmap_file): Likewise.
1360 (niu_msync): Likewise.
1361
1362 2003-06-19 Michael Koch <konqueror@gmx.de>
1363
1364 * java/awt/image/IndexColorModel.java:
1365 New version from classpath.
1366
1367 2003-06-18 Tom Tromey <tromey@redhat.com>
1368
1369 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1370 on arrays.
1371 (isLoopbackAddress): Likewise.
1372 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1373 on arrays.
1374
1375 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1376
1377 * java/lang/natVMSecurityManager.cc (getClassContext):
1378 Use maxlen instead of len for loop bound.
1379
1380 2003-06-18 Michael Koch <konqueror@gmx.de>
1381
1382 * gnu/java/nio/SelectorImpl.java
1383 (register): Use fd with value 0 for now, will be fixed later.
1384 * gnu/java/nio/ServerSocketChannelImpl.java
1385 (fd): Removed.
1386 (local_port): Removed.
1387 (InetSocketAddress): Removed.
1388 (ServerSocketChannelImpl): Just initialize internal socket object.
1389 (implCloseSelectableChannel): Close internal socket object.
1390 (implConfigureBlocking): Added comment.
1391 (accept): Use jaba.net stuff to accept socket.
1392 * gnu/java/nio/SocketChannelImpl.java
1393 (fd): Removed.
1394 (local_port): Removed.
1395 (InetSocketAddress): Removed.
1396 (SocketCreate): Removed.
1397 (SocketConnect): Removed.
1398 (SocketBind): Removed.
1399 (SocketListen): Removed.
1400 (SocketAvailable): Removed.
1401 (SocketClose): Removed.
1402 (SocketRead): Removed.
1403 (SocketWrite): Removed.
1404 (SocketChannelImpl): Just initialize internal socket object.
1405 (implCloseSelectableChannel): Close internal socket object.
1406 (implConfigureBlocking): Fixed implementation, added comment.
1407 (connect): Use internal socket object to connect.
1408 (socket): No need for sanity checks.
1409 (read): Comment out some stuff, this will be reimplemented in the next
1410 commit.
1411 (write): Likewise.
1412 * gnu/java/nio/natFileChannelImpl.cc
1413 (nio_mmap_file): Line wrapped.
1414 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1415 * Makefile.am
1416 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1417 * Makefile.in: Regenerated.
1418
1419 2003-06-18 Michael Koch <konqueror@gmx.de>
1420
1421 * java/util/Locale.java
1422 (equals): Merged from classpath.
1423
1424 2003-06-18 Michael Koch <konqueror@gmx.de>
1425
1426 * java/net/InetAddress.java:
1427 Reformatted to better match classpath's version.
1428 * java/net/URL.java
1429 (equals): Simplified.
1430 * java/net/URLConnection.java
1431 (setDoInput): Revised documentation.
1432 (getDefaultUseCaches): Likewise.
1433 (setRequestProperty): Added @since tag.
1434
1435 2003-06-17 Michael Koch <konqueror@gmx.de>
1436
1437 * java/net/InetSocketAddress.java
1438 (InetSocketAddress): Use wildcard address if addr is null.
1439 (InetSocketAddress): Dont duplicate implementation.
1440 (InetSocketAddress): Throw exception when hostname is null.
1441 * java/net/Socket.java:
1442 Reworked imports.
1443 (Socket): Throw exception when raddr is null, handle case when laddr
1444 is null.
1445
1446 2003-06-17 Michael Koch <konqueror@gmx.de>
1447
1448 * java/nio/DirectByteBufferImpl.java
1449 (address): Made package private.
1450 (DirectByteBufferImpl): New constructor.
1451 * java/nio/natDirectByteBufferImpl.cc
1452 (allocateImpl): Moved to java.nio namespace, implemented.
1453 (freeImpl): Likewise.
1454 (getImpl): Likewise.
1455 (putImpl): Likewise.
1456 * jni.cc
1457 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1458 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1459 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1460
1461 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1462
1463 * include/powerpc-signal.h: New File.
1464 * configure.in: Use it.
1465 * configure: Regenerated.
1466
1467 2003-06-17 Michael Koch <konqueror@gmx.de>
1468
1469 * java/util/Locale.java
1470 (getDisplayLanguage): Made it final.
1471 (getDisplayCountry): Likewise.
1472 (getDisplayVariant): Likewise.
1473 (getDisplayName): Likewise.
1474
1475 2003-06-17 Michael Koch <konqueror@gmx.de>
1476
1477 * java/util/PropertyResourceBundle.java:
1478 Removed unneeded import.
1479
1480 2003-06-17 Michael Koch <konqueror@gmx.de>
1481
1482 * java/util/prefs/AbstractPreferences.java,
1483 java/util/prefs/PreferencesFactory.java:
1484 Reworked imports, removed unused imports.
1485 * java/util/prefs/Preferences.java
1486 (systemNodeForPackage): Method takes a Class not an Object.
1487 (userNodeForPackage): Likewise.
1488 (nodeForPackage): Likewise.
1489
1490 2003-06-17 Michael Koch <konqueror@gmx.de>
1491
1492 * gnu/java/security/x509/X509Certificate.java:
1493 Explicitely import used classes.
1494
1495 2003-06-17 Michael Koch <konqueror@gmx.de>
1496
1497 * java/util/zip/ZipEntry.java,
1498 java/util/zip/ZipFile.java,
1499 java/util/zip/ZipInputStream.java,
1500 java/util/zip/ZipOutputStream.java:
1501 Reworked imports, only import used classes.
1502
1503 2003-06-17 Michael Koch <konqueror@gmx.de>
1504
1505 * gnu/java/lang/ArrayHelper.java,
1506 gnu/java/lang/ClassHelper.java:
1507 Reformatted to match classpath's versions.
1508
1509 2003-06-14 Michael Koch <konqueror@gmx.de>
1510
1511 * gnu/java/nio/FileChannelImpl.java
1512 (map_address): Removed incorrect comment.
1513 * gnu/java/nio/SelectorImpl.java
1514 (register): Remove code duplication and code for file channel handling.
1515 * gnu/java/nio/ServerSocketChannelImpl.java
1516 (serverSocket): Renamed from sock_object.
1517 (ServerSocketChannel): Initialize serverSocket.
1518 (socket): Return serverSocket.
1519 * gnu/java/nio/SocketChannelImpl.java
1520 (socket): Renamed from sock_object.
1521 (isConnectionPenging): Simplified.
1522 (socket): Return socket.
1523 2003-06-14 Michael Koch <konqueror@gmx.de>
1524
1525 * java/security/BasicPermission.java:
1526 New version from classpath.
1527
1528 2003-06-14 Michael Koch <konqueror@gmx.de>
1529
1530 * javax/naming/directory/Attribute.java:
1531 New version from classpath.
1532
1533 2003-06-14 Michael Koch <konqueror@gmx.de>
1534
1535 * java/io/BufferedReader.java,
1536 java/io/FileOutputStream.java:
1537 New versions from classpath.
1538
1539 2003-06-12 Andrew Haley <aph@redhat.com>
1540
1541 * prims.cc (catch_segv): Create exception in handler.
1542 (catch_fpe): Likewise.
1543 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1544 (_Jv_ThrowSignal): Remove.
1545
1546 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1547 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1548 to nullp and arithexception.
1549 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1550 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1551 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1552 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1553 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1554
1555 2003-06-11 Andrew Haley <aph@redhat.com>
1556
1557 * jni.cc (_Jv_JNI_check_types): New.
1558 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1559 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1560 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1561 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1562
1563 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1564 infinite loop.
1565
1566 2003-06-11 Tom Tromey <tromey@redhat.com>
1567
1568 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1569 * java/io/PrintStream.java: Not deprecated.
1570
1571 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1572
1573 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1574 (fillOval): implemented
1575 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1576 (fillArc): implemented.
1577 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1578 (fillArc): added native method.
1579 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1580 (fillArc): added native method.
1581
1582 2003-06-11 Michael Koch <konqueror@gmx.de>
1583
1584 * java/awt/im/InputSubset.java:
1585 New version from classpath.
1586
1587 2003-06-11 Michael Koch <konqueror@gmx.de>
1588
1589 * javax/swing/AbstractAction.java,
1590 javax/swing/AbstractButton.java,
1591 javax/swing/AbstractCellEditor.java,
1592 javax/swing/AbstractListModel.java,
1593 javax/swing/BorderFactory.java,
1594 javax/swing/Box.java,
1595 javax/swing/BoxLayout.java,
1596 javax/swing/ButtonGroup.java,
1597 javax/swing/DefaultButtonModel.java,
1598 javax/swing/DefaultListModel.java,
1599 javax/swing/DefaultListSelectionModel.java,
1600 javax/swing/FocusManager.java,
1601 javax/swing/ImageIcon.java,
1602 javax/swing/InputMap.java,
1603 javax/swing/JApplet.java,
1604 javax/swing/JButton.java,
1605 javax/swing/JCheckBox.java,
1606 javax/swing/JCheckBoxMenuItem.java,
1607 javax/swing/JColorChooser.java,
1608 javax/swing/JComboBox.java,
1609 javax/swing/JComponent.java,
1610 javax/swing/JDesktopPane.java,
1611 javax/swing/JDialog.java,
1612 javax/swing/JEditorPane.java,
1613 javax/swing/JFileChooser.java,
1614 javax/swing/JFormattedTextField.java,
1615 javax/swing/JFrame.java,
1616 javax/swing/JLabel.java,
1617 javax/swing/JLayeredPane.java,
1618 javax/swing/JList.java,
1619 javax/swing/JMenuBar.java,
1620 javax/swing/JMenuItem.java,
1621 javax/swing/JOptionPane.java,
1622 javax/swing/JPanel.java,
1623 javax/swing/JPasswordField.java,
1624 javax/swing/JPopupMenu.java,
1625 javax/swing/JProgressBar.java,
1626 javax/swing/JRadioButton.java,
1627 javax/swing/JRadioButtonMenuItem.java,
1628 javax/swing/JRootPane.java,
1629 javax/swing/JScrollBar.java,
1630 javax/swing/JScrollPane.java,
1631 javax/swing/JSeparator.java,
1632 javax/swing/JSlider.java,
1633 javax/swing/JTabbedPane.java,
1634 javax/swing/JTable.java,
1635 javax/swing/JTextField.java,
1636 javax/swing/JToggleButton.java,
1637 javax/swing/JToolBar.java,
1638 javax/swing/JToolTip.java,
1639 javax/swing/JTree.java,
1640 javax/swing/JViewport.java,
1641 javax/swing/JWindow.java,
1642 javax/swing/KeyStroke.java,
1643 javax/swing/ListSelectionModel.java,
1644 javax/swing/LookAndFeel.java,
1645 javax/swing/RepaintManager.java,
1646 javax/swing/ScrollPaneLayout.java,
1647 javax/swing/SizeRequirements.java,
1648 javax/swing/SwingConstants.java,
1649 javax/swing/Timer.java,
1650 javax/swing/UIDefaults.java,
1651 javax/swing/UIManager.java,
1652 javax/swing/border/AbstractBorder.java,
1653 javax/swing/border/CompoundBorder.java,
1654 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1655 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1656 javax/swing/colorchooser/ColorSelectionModel.java,
1657 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1658 javax/swing/event/AncestorEvent.java,
1659 javax/swing/event/HyperlinkEvent.java,
1660 javax/swing/event/InternalFrameAdapter.java,
1661 javax/swing/event/InternalFrameEvent.java,
1662 javax/swing/event/ListDataEvent.java,
1663 javax/swing/event/MouseInputAdapter.java,
1664 javax/swing/event/SwingPropertyChangeSupport.java,
1665 javax/swing/event/TableModelEvent.java,
1666 javax/swing/event/TreeWillExpandListener.java,
1667 javax/swing/event/UndoableEditEvent.java,
1668 javax/swing/filechooser/FileFilter.java,
1669 javax/swing/filechooser/FileSystemView.java,
1670 javax/swing/filechooser/FileView.java,
1671 javax/swing/plaf/BorderUIResource.java,
1672 javax/swing/plaf/basic/BasicDefaults.java,
1673 javax/swing/table/AbstractTableModel.java,
1674 javax/swing/table/DefaultTableCellRenderer.java,
1675 javax/swing/table/DefaultTableColumnModel.java,
1676 javax/swing/table/DefaultTableModel.java,
1677 javax/swing/table/TableColumn.java,
1678 javax/swing/text/JTextComponent.java,
1679 javax/swing/tree/AbstractLayoutCache.java,
1680 javax/swing/tree/DefaultMutableTreeNode.java,
1681 javax/swing/tree/DefaultTreeCellEditor.java,
1682 javax/swing/tree/DefaultTreeCellRenderer.java,
1683 javax/swing/tree/DefaultTreeModel.java,
1684 javax/swing/tree/DefaultTreeSelectionModel.java,
1685 javax/swing/tree/FixedHeightLayoutCache.java,
1686 javax/swing/tree/TreeCellEditor.java,
1687 javax/swing/tree/TreeModel.java,
1688 javax/swing/tree/TreeNode.java,
1689 javax/swing/tree/TreePath.java,
1690 javax/swing/tree/TreeSelectionModel.java,
1691 javax/swing/tree/VariableHeightLayoutCache.java,
1692 javax/swing/undo/AbstractUndoableEdit.java,
1693 javax/swing/undo/CompoundEdit.java,
1694 javax/swing/undo/StateEdit.java,
1695 javax/swing/undo/UndoManager.java,
1696 javax/swing/undo/UndoableEditSupport.java:
1697 New versions from classpath.
1698 * javax/swing/table/JTableHeader.java:
1699 New file from classpath.
1700 * Makefile.am
1701 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1702 * Makefile.in: Regenerated.
1703
1704 2003-06-11 Michael Koch <konqueror@gmx.de>
1705
1706 * java/nio/MappedByteBuffer.java,
1707 java/nio/channels/Channels.java,
1708 java/nio/channels/ServerSocketChannel.java,
1709 java/nio/channels/spi/AbstractSelector.java:
1710 Removed unneeded imports.
1711
1712 2003-06-11 Michael Koch <konqueror@gmx.de>
1713
1714 * java/net/DatagramSocket.java:
1715 Partly merged with classpath.
1716
1717 2003-06-11 Michael Koch <konqueror@gmx.de>
1718
1719 * java/awt/Frame.java,
1720 java/awt/Graphics.java,
1721 java/awt/Menu.java,
1722 java/awt/Robot.java,
1723 java/awt/image/ColorModel.java:
1724 New versions from classpath.
1725
1726 2003-06-10 Michael Koch <konqueror@gmx.de>
1727
1728 * java/io/PrintStream.java:
1729 Merged version from classpath.
1730 (close): Removed sychronized keyword. This class is not garantied to
1731 be thread-safe.
1732 (write): Likewise.
1733
1734 2003-06-09 Tom Tromey <tromey@redhat.com>
1735
1736 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1737 field.
1738 (getDescent): Likewise, for "descent".
1739
1740 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1741
1742 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1743 (getMaxDescent): adjusted return value.
1744 (getAscent): modified to use metrics for 'O'.
1745 (getDescent): modified to use metrics for 'y'.
1746
1747 2003-06-08 Anthony Green <green@redhat.com>
1748
1749 * java/net/URLStreamHandler.java (sameFile): Fix port value
1750 comparison.
1751 * java/net/URL.java (handler): Make package private.
1752 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1753
1754 2003-06-07 Tom Tromey <tromey@redhat.com>
1755
1756 For PR libgcj/11085:
1757 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1758 Limit number of characters in numeric field when required.
1759 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1760 Respect maximumIntegerDigits.
1761
1762 2003-06-08 Michael Koch <konqueror@gmx.de>
1763
1764 * java/net/Socket.java
1765 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1766 call bind() and connect() to actually do the bind and connect tasks.
1767 (bind): Connect to canonical address if bindpoint is null, create
1768 socket and bind it to bindpoint.
1769 (connect): Check for exceptions.
1770
1771 2003-06-08 Michael Koch <konqueror@gmx.de>
1772
1773 * java/net/DatagramSocket.java
1774 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1775 into the Multicast constructors.
1776 * java/net/DatagramSocketImpl.java
1777 (getOption): Removed.
1778 (setOption): Removed.
1779 * java/net/MulticastSocket.java
1780 (MulticastSocket): Call setReuseAddress (true).
1781 * java/net/SocketImpl.java
1782 (getOption): Removed.
1783 (setOption): Removed.
1784
1785 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1786
1787 PR libgcj/10886:
1788 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1789 Test for empty vector.
1790
1791 2003-06-06 Mark Wielaard <mark@klomp.org>
1792
1793 * java/security/Security.java (secprops): Initialize.
1794 (loadProviders): Return boolean.
1795 (static): Check result of loadProvider calls. If necessary
1796 display WARNING and fallback to Gnu provider.
1797
1798 2002-06-06 James Clark <jjc@jclark.com>
1799
1800 Fix for PR libgcj/8738:
1801 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1802 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1803 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1804 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1805 (write): Always decrease avail when count is increased.
1806 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1807 and whether output buffer is full before increasing size.
1808
1809 2002-06-06 Mark Wielaard <mark@klomp dot org>
1810
1811 * java/io/PrintStream.java (writeChars(char[],int, int)):
1812 Check converter.havePendingBytes().
1813 (writeChars(String,int,int)): Likewise.
1814 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1815 Check converter.havePendingBytes() and flush buffer when stalled.
1816
1817 2003-06-07 Michael Koch <konqueror@gmx.de>
1818
1819 * include/posix.h
1820 (O_DSYNC): Define O_DSYNC on platforms not
1821 supporting O_FSYNC (newlib).
1822
1823 2003-06-06 Mark Wielaard <mark@klomp.org>
1824
1825 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1826 AWTError.
1827
1828 2003-06-06 Michael Koch <konqueror@gmx.de>
1829
1830 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1831 More compile fixes from my stupid work yesterday.
1832
1833 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1834
1835 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1836 if _IEEE_LIBM is undefined.
1837
1838 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1839
1840 * libjava/include/posix.h (O_SYNC): Define if not available
1841 and a reasonable, perhaps more conservative, replacement exists.
1842 (O_DSYNC): Likewise.
1843 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1844
1845 2003-06-05 Michael Koch <konqueror@gmx.de>
1846
1847 * javax/swing/plaf/BorderUIResource.java,
1848 javax/swing/plaf/basic/BasicDefaults.java,
1849 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1850 More compile fixes for latest Border commit. I should not commit
1851 something in this heat here ...
1852
1853 2003-06-05 Michael Koch <konqueror@gmx.de>
1854
1855 * javax/swing/border/BevelBorder.java
1856 (BevelBorder): Removed.
1857 * javax/swing/border/EmptyBorder.java:
1858 Reformatted.
1859 (EmptyBorder): Removed.
1860 (getBorderInsets): Dont use l, r, t and b.
1861 * javax/swing/border/EtchedBorder.java
1862 (EtchedBorder): Removed.
1863 * javax/swing/border/LineBorder.java
1864 (LineBorder): Removed.
1865 * javax/swing/border/MatteBorder.java
1866 (MatteBorder): Removed.
1867 * javax/swing/border/TitledBorder.java
1868 (defaultBorder): Use other default for now.
1869 (defaultFont): Likewise.
1870 (defaultColor): Likewise.
1871
1872 2003-06-05 Michael Koch <konqueror@gmx.de>
1873
1874 * javax/swing/border/Border.java:
1875 New version from classpath.
1876
1877 2003-06-05 Michael Koch <konqueror@gmx.de>
1878
1879 * javax/swing/border/AbstractBorder.java,
1880 javax/swing/border/BevelBorder.java,
1881 javax/swing/border/CompoundBorder.java,
1882 javax/swing/border/EmptyBorder.java,
1883 javax/swing/border/EtchedBorder.java,
1884 javax/swing/border/LineBorder.java,
1885 javax/swing/border/MatteBorder.java,
1886 javax/swing/border/TitledBorder.java:
1887 New versions from Classpath.
1888
1889 2003-06-05 Michael Koch <konqueror@gmx.de>
1890
1891 * java/awt/Button.java,
1892 java/awt/Checkbox.java,
1893 java/awt/CheckboxMenuItem.java,
1894 java/awt/Choice.java,
1895 java/awt/Container.java,
1896 java/awt/Dialog.java,
1897 java/awt/EventQueue.java,
1898 java/awt/FileDialog.java,
1899 java/awt/Frame.java,
1900 java/awt/Label.java,
1901 java/awt/List.java,
1902 java/awt/Menu.java,
1903 java/awt/MenuItem.java,
1904 java/awt/Panel.java,
1905 java/awt/PopupMenu.java,
1906 java/awt/Rectangle.java,
1907 java/awt/ScrollPane.java,
1908 java/awt/Scrollbar.java,
1909 java/awt/TextArea.java,
1910 java/awt/TextField.java,
1911 java/awt/Window.java,
1912 java/awt/datatransfer/DataFlavor.java,
1913 java/awt/dnd/DragSource.java,
1914 java/awt/dnd/DragSourceContext.java,
1915 java/awt/event/HierarchyEvent.java,
1916 java/awt/event/MouseWheelEvent.java,
1917 java/awt/im/InputContext.java,
1918 java/awt/image/BufferedImage.java,
1919 java/awt/image/ComponentColorModel.java,
1920 java/awt/image/Raster.java,
1921 java/awt/image/WritableRaster.java,
1922 java/awt/peer/ComponentPeer.java,
1923 java/awt/print/PageFormat.java,
1924 java/awt/print/PrinterJob.java:
1925 New versions from Classpath.
1926
1927 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1928
1929 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1930 numberFormat.setParseIntegerOnly(true).
1931
1932 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1933
1934 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1935
1936 2003-06-03 Andrew Haley <aph@redhat.com>
1937
1938 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1939 stack volatile to prevent optimization from removing it.
1940
1941 2003-05-27 Michael Koch <konqueror@gmx.de>
1942
1943 * java/util/zip/Deflater.java
1944 (FILTERED): Merged documentation from classpath.
1945 * java/util/zip/DeflaterOutputStream.java
1946 (DeflaterOutputStream): Merged documentation and argument validity
1947 check from classpath.
1948 (deflate): Merged documentation from classpath.
1949 (finish): Likewise.
1950 * java/util/zip/Inflater.java
1951 (Inflater): Merged class documentation from classpath.
1952 (zstream): Reordered.
1953 (is_finished): Reordered.
1954 (dict_needed): Reordered.
1955 (Inflater): Reordered, merged documentation from classpath.
1956 (end): Likewise.
1957 (finalize): Merged documentation from classpath.
1958 (finished): Likewise.
1959 (getAdler): Likewise.
1960 (getRemaining): Likewise.
1961 (getTotalIn): Likewise.
1962 (getTotalOut): Likewise.
1963 (inflate): Likewise.
1964 (needsDictionary): Likewise.
1965 (needsInput): Likewise.
1966 (reset): Likewise.
1967 (setDictionary): Likewise.
1968 (setInput): Likewise.
1969
1970 2003-05-27 Michael Koch <konqueror@gmx.de>
1971
1972 * java/net/URLConnection.java
1973 (getHeaderFieldInt): Merged with classpath.
1974
1975 2003-05-27 Michael Koch <konqueror@gmx.de>
1976
1977 * java/io/PrintStream.java
1978 (PrintStream): Reformatted.
1979 (PrintStream): New method, merged from classpath.
1980 (write): Reformatted.
1981
1982 2003-05-27 Michael Koch <konqueror@gmx.de>
1983
1984 * java/lang/System.java:
1985 Explicitely import needed classes.
1986
1987 2003-05-26 Michael Koch <konqueror@gmx.de>
1988
1989 * java/net/NetPermission.java,
1990 java/net/NetworkInterface.java,
1991 java/net/PasswordAuthentication.java,
1992 java/net/SocketPermission.java:
1993 New versions from classpath.
1994
1995 2003-05-25 Michael Koch <konqueror@gmx.de>
1996
1997 * java/io/PushbackInputStream.java,
1998 java/net/Authenticator.java,
1999 java/net/ContentHandler.java,
2000 java/net/ContentHandlerFactory.java,
2001 java/net/DatagramSocket.java,
2002 java/net/DatagramSocketImpl.java,
2003 java/net/DatagramSocketImplFactory.java,
2004 java/net/FileNameMap.java,
2005 java/net/SocketImplFactory.java,
2006 java/net/SocketOptions.java,
2007 java/net/URLStreamHandlerFactory.java:
2008 Merged new versions from classpath.
2009
2010 2003-05-25 Michael Koch <konqueror@gmx.de>
2011
2012 * java/awt/Checkbox.java,
2013 java/awt/Dialog.java,
2014 java/awt/Font.java,
2015 java/awt/Frame.java,
2016 java/awt/ScrollPaneAdjustable.java,
2017 java/awt/Scrollbar.java,
2018 java/awt/Window.java:
2019 New versions from classpath.
2020
2021 2003-05-22 Jeff Sturm <jsturm@one-point.com>
2022
2023 PR libgcj/10838:
2024 * java/io/ObjectInputStream (enableResolveObject):
2025 Fixed spelling of permission name.
2026
2027 2003-05-20 Michael Koch <konqueror@gmx.de>
2028
2029 * java/io/DataInputStream.java
2030 (convertFromUTF): Merged comment from classpath.
2031 * java/io/PrintStream.java
2032 (error_occured): Renamed from error, merged comment from classpath.
2033 (PrintStream): No need to initialized error.
2034 (checkError): Replace error with error_occurred.
2035 (setError): Likewise.
2036
2037 2003-05-20 Michael Koch <konqueror@gmx.de>
2038
2039 * java/io/DataInputStream.java:
2040 Reformatted, Replaced < and & with html entitites in documentation.
2041 * java/io/File.java:
2042 Reformatted.
2043 * java/io/PrintWriter.java:
2044 Moved class documentation.
2045
2046 2003-05-20 Michael Koch <konqueror@gmx.de>
2047
2048 * gnu/java/nio/ByteBufferImpl.java,
2049 gnu/java/nio/CharBufferImpl.java,
2050 gnu/java/nio/CharViewBufferImpl.java,
2051 gnu/java/nio/DirectByteBufferImpl.java,
2052 gnu/java/nio/DoubleBufferImpl.java,
2053 gnu/java/nio/DoubleViewBufferImpl.java,
2054 gnu/java/nio/FloatBufferImpl.java,
2055 gnu/java/nio/FloatViewBufferImpl.java,
2056 gnu/java/nio/IntBufferImpl.java,
2057 gnu/java/nio/IntViewBufferImpl.java,
2058 gnu/java/nio/LongBufferImpl.java,
2059 gnu/java/nio/LongViewBufferImpl.java,
2060 gnu/java/nio/natDirectByteBufferImpl.cc,
2061 gnu/java/nio/ShortBufferImpl.java,
2062 gnu/java/nio/ShortViewBufferImpl.java:
2063 Moved files to java/nio.
2064 * gnu/java/nio/SocketChannelImpl.java
2065
2066 * java/nio/ByteBuffer.java,
2067 java/nio/CharBuffer.java,
2068 java/nio/DoubleBuffer.java,
2069 java/nio/FloatBuffer.java,
2070 java/nio/IntBuffer.java,
2071 java/nio/LongBuffer.java,
2072 java/nio/ShortBuffer.java:
2073 Dont import anything.
2074 * java/nio/ByteBufferImpl.java,
2075 java/nio/CharBufferImpl.java,
2076 java/nio/CharViewBufferImpl.java,
2077 java/nio/DirectByteBufferImpl.java,
2078 java/nio/DoubleBufferImpl.java,
2079 java/nio/DoubleViewBufferImpl.java,
2080 java/nio/FloatBufferImpl.java,
2081 java/nio/FloatViewBufferImpl.java,
2082 java/nio/IntBufferImpl.java,
2083 java/nio/IntViewBufferImpl.java,
2084 java/nio/LongBufferImpl.java,
2085 java/nio/LongViewBufferImpl.java,
2086 java/nio/natDirectByteBufferImpl.cc,
2087 java/nio/ShortBufferImpl.java,
2088 java/nio/ShortViewBufferImpl.java:
2089 Moved from gnu/java/nio.
2090 * Makefile.am
2091 (ordinary_java_source_files): Moved files from gnu/java/nio to
2092 java/nio.
2093 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2094 to java/nio.
2095 * Makefile.in: Regenerated.
2096
2097 2003-05-19 Michael Koch <konqueror@gmx.de>
2098
2099 * java/util/Calendar.java
2100 (get): Not final anymore since JDK 1.4
2101 (set): Likewise.
2102
2103 2003-05-19 Michael Koch <konqueror@gmx.de>
2104
2105 * java/text/CollationKey.java:
2106 Merged copyright and dat from classpath.
2107 * java/text/RuleBasedCollator.java:
2108 Merged class documentation from classpath.
2109
2110 2003-05-19 Michael Koch <konqueror@gmx.de>
2111
2112 * java/nio/CharBuffer.java
2113 (toString): Compile fix.
2114
2115 2003-05-19 Michael Koch <konqueror@gmx.de>
2116
2117 * gnu/java/nio/ByteBufferImpl.java
2118 (putLong): Fixed conversion to bytes.
2119 (putDouble): Fixed conversion to bytes.
2120 * gnu/java/nio/DirectByteBufferImpl.java
2121 (putLong): Fixed conversion to bytes.
2122 (putDouble): Fixed conversion to bytes.
2123 * gnu/java/nio/FileLockImpl.java
2124 (isValid): Reformatted.
2125 * java/nio/Buffer.java
2126 (Buffer): Fixed off-by-one bug in handling mark.
2127 * java/nio/ByteBuffer.java:
2128 Added newline.
2129 * java/nio/CharBuffer.java
2130 (toString): Don't use relative get to get string data.
2131
2132 2003-05-16 Michael Koch <konqueror@gmx.de>
2133
2134 * java/io/natFileDescriptorPosix.cc
2135 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2136 tested.
2137
2138 2003-05-14 Michael Koch <konqueror@gmx.de>
2139
2140 * gnu/java/nio/FileLockImpl.java
2141 (released): New member variable.
2142 (FileLockImpl): Initialize released.
2143 (releaseImpl): New native method.
2144 (release): Implemented.
2145 * gnu/java/nio/SelectorImpl.java: Reformatted.
2146 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2147 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2148 (accept): Throws IOException.
2149 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2150 (implConfigureBlocking): Throws IOException.
2151 (connect): Likewise.
2152 (read): Likewise.
2153 (write): Likewise.
2154 * gnu/java/nio/natFileLockImpl.cc: New file.
2155 * java/nio/channels/FileLock.java: Reformatted.
2156 * Makefile.am:
2157 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2158 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2159 * Makefile.in: Regenerated.
2160
2161 2003-05-13 Michael Koch <konqueror@gmx.de>
2162
2163 * gnu/java/nio/CharViewBufferImpl.java
2164 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2165 (get): Shift bits to the right direction.
2166 (put): Likewise.
2167 * gnu/java/nio/DoubleViewBufferImpl.java
2168 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2169 (get): Shift bits to the right direction.
2170 (put): Likewise.
2171 * gnu/java/nio/FloatViewBufferImpl.java
2172 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2173 (get): Shift bits to the right direction.
2174 (put): Likewise.
2175 * gnu/java/nio/IntViewBufferImpl.java
2176 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2177 (get): Shift bits to the right direction.
2178 (put): Likewise.
2179 * gnu/java/nio/LongViewBufferImpl.java
2180 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2181 (get): Shift bits to the right direction.
2182 (put): Likewise.
2183 * gnu/java/nio/ShortViewBufferImpl.java
2184 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2185 (get): Shift bits to the right direction.
2186 (put): Likewise.
2187
2188 2003-05-13 Michael Koch <konqueror@gmx.de>
2189
2190 * gnu/java/nio/natDirectByteBufferImpl.cc
2191 (allocateImpl): jlong -> RawData*.
2192 (freeImpl): Likewise.
2193
2194 2003-05-13 Michael Koch <konqueror@gmx.de>
2195
2196 * java/nio/channels/FileChannel.java
2197 (MapMode.m): Made it package-private to match JDK 1.4.
2198 * java/nio/charset/Charset.java
2199 (decode): Made it final to match JDK 1.4.
2200
2201 2003-05-13 Michael Koch <konqueror@gmx.de>
2202
2203 * java/io/FileDescriptor.java
2204 (SYNC): New constant.
2205 (DSYNC): Likewise.
2206 (getLength): Renamed from lenght() to match classpath's
2207 FileDescriptor.java.
2208 * java/io/RandomAccessFile.java
2209 (RandomAccessFile): Removed unneeded mode check, implemented mode
2210 "rws" and "rwd", merged documentation from classpath.
2211 (setLength): Reformatted.
2212 (length): Use new getLength() of FileDescriptor.
2213 * java/io/natFileDescriptorEcos.cc
2214 (getLength): Renamed from length().
2215 * java/io/natFileDescriptorPosix.cc
2216 (open): Implemented support for SYNC and DSYNC.
2217 (seek): Use getLength() instead of length().
2218 (getLength): Renamed from length().
2219 * java/io/natFileDescriptorWin32.cc
2220 (getLength): Renamed from length().
2221 (seek): Use getLength() instead of length().
2222 (available): Likewise.
2223 * gnu/java/nio/natFileChannelImpl.cc
2224 (size): Use getLength() instead of length().
2225
2226 2003-05-13 Michael Koch <konqueror@gmx.de>
2227
2228 * gnu/java/nio/ByteBufferImpl.java
2229 (ByteBufferImpl): All constructors revised.
2230 (slice): Reimplemented.
2231 (duplicate): Reimplemented.
2232 (asReadOnlyBuffer): Reimplemented.
2233 * java/nio/ByteBuffer.java:
2234 Reformatted.
2235 (array_offset): Renamed from "offset" to match all other buffer
2236 classes.
2237 (ByteBuffer): All constructors revised.
2238 (allocateDirect): Implemented.
2239 (allocate): New implementation, documentation reworked.
2240 (wrap): Likewise.
2241 (get): Documentation reworked.
2242 (put): New implementation, documentation reworked.
2243 (hasArray): Documentation reworked.
2244 (arrayOffset): Likewise.
2245 (hashCode): Likewise.
2246 (equals): Likewise.
2247 (compareTo): Likewise.
2248 (order): Likewise.
2249 (compact): Likewise.
2250 (isDirect): Likewise.
2251 (slice): Likewise.
2252 (duplicate): Likewise.
2253 (asReadOnlyBuffer): Likewise.
2254 * Makefile.am
2255 (ordinary_java_source_files):
2256 Added gnu/java/nio/DirectByteBufferImpl.java.
2257 (nat_source_files):
2258 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2259 * Makefile.in: Regenerated.
2260
2261 2003-05-12 Michael Koch <konqueror@gmx.de>
2262
2263 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2264 (nio_get_*): Removed.
2265 (nio_put_*): Removed.
2266 (as*Buffer): Implemented.
2267 (compact): Implemented.
2268 (get): Documentation added.
2269 (put): Documentation added.
2270 (get*): Newly implemented.
2271 (put*): Newly implemented.
2272 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2273 (CharBufferImpl): Revised.
2274 (slice): New implementation.
2275 (duplicate): New implementation.
2276 (compact): New implementation.
2277 (asReadOnlyBuffer): New implementation.
2278 (get): Documentation revised.
2279 (order): Return native byte order.
2280 * gnu/java/nio/DirectByteBufferImpl.java
2281 (allocateDirect): objects can be null not 0.
2282 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2283 (DoubleBufferImpl): Revised.
2284 (slice): New implementation.
2285 (duplicate): New implementation.
2286 (compact): New implementation.
2287 (asReadOnlyBuffer): New implementation.
2288 (get): Documentation revised.
2289 (order): Return native byte order.
2290 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2291 (FloatBufferImpl): Revised.
2292 (slice): New implementation.
2293 (duplicate): New implementation.
2294 (compact): New implementation.
2295 (asReadOnlyBuffer): New implementation.
2296 (get): Documentation revised.
2297 (order): Return native byte order.
2298 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2299 (IntBufferImpl): Revised.
2300 (slice): New implementation.
2301 (duplicate): New implementation.
2302 (compact): New implementation.
2303 (asReadOnlyBuffer): New implementation.
2304 (get): Documentation revised.
2305 (order): Return native byte order.
2306 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2307 (LongBufferImpl): Revised.
2308 (slice): New implementation.
2309 (duplicate): New implementation.
2310 (compact): New implementation.
2311 (asReadOnlyBuffer): New implementation.
2312 (get): Documentation revised.
2313 (order): Return native byte order.
2314 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2315 (ShortBufferImpl): Revised.
2316 (slice): New implementation.
2317 (duplicate): New implementation.
2318 (compact): New implementation.
2319 (asReadOnlyBuffer): New implementation.
2320 (get): Documentation revised.
2321 (order): Return native byte order.
2322 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2323 (CharBuffer): Revised.
2324 (order): Removed.
2325 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2326 (DoubleBuffer): Revised.
2327 (allocateDirect): Removed.
2328 (order): Removed.
2329 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2330 (FloatBuffer): Revised.
2331 (allocateDirect): Removed.
2332 (order): Removed.
2333 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2334 (IntBuffer): Revised.
2335 (allocateDirect): Removed.
2336 (order): Removed.
2337 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2338 (LongBuffer): Revised.
2339 (allocateDirect): Removed.
2340 (order): Removed.
2341 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2342 (ShortBuffer): Revised.
2343 (allocateDirect): Removed.
2344 (order): Removed.
2345 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2346 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2347 * Makefile.am
2348 (ordinary_java_source_files): Added the following files:
2349 gnu/java/nio/CharViewBufferImpl.java,
2350 gnu/java/nio/DoubleViewBufferImpl.java,
2351 gnu/java/nio/FloatViewBufferImpl.java,
2352 gnu/java/nio/IntViewBufferImpl.java,
2353 gnu/java/nio/LongViewBufferImpl.java,
2354 gnu/java/nio/ShortViewBufferImpl.java
2355 (nat_source_files): Removed the following files:
2356 gnu/java/nio/natByteBufferImpl.cc,
2357 gnu/java/nio/natCharBufferImpl.cc
2358 * Makefile.in: Regenerated.
2359
2360 2003-05-12 Michael Koch <konqueror@gmx.de>
2361
2362 * gnu/java/nio/CharViewBufferImpl.java,
2363 gnu/java/nio/DirectByteBufferImpl.java,
2364 gnu/java/nio/DoubleViewBufferImpl.java,
2365 gnu/java/nio/FloatViewBufferImpl.java,
2366 gnu/java/nio/IntViewBufferImpl.java,
2367 gnu/java/nio/LongViewBufferImpl.java,
2368 gnu/java/nio/ShortViewBufferImpl.java,
2369 gnu/java/nio/natDirectByteBufferImpl.cc:
2370 New files, not yet to be compiled.
2371
2372 2003-05-10 Michael Koch <konqueror@gmx.de>
2373
2374 * javax/swing/plaf/ButtonUI.java,
2375 javax/swing/plaf/ColorUIResource.java,
2376 javax/swing/plaf/ComponentUI.java,
2377 javax/swing/plaf/DimensionUIResource.java,
2378 javax/swing/plaf/FontUIResource.java,
2379 javax/swing/plaf/IconUIResource.java,
2380 javax/swing/plaf/InsetsUIResource.java,
2381 javax/swing/plaf/LabelUI.java,
2382 javax/swing/plaf/ListUI.java,
2383 javax/swing/plaf/OptionPaneUI.java,
2384 javax/swing/plaf/PanelUI.java,
2385 javax/swing/plaf/TabbedPaneUI.java,
2386 javax/swing/plaf/TextUI.java,
2387 javax/swing/plaf/TreeUI.java,
2388 javax/swing/plaf/ViewportUI.java,
2389 javax/swing/plaf/basic/BasicBorders.java,
2390 javax/swing/plaf/basic/BasicButtonUI.java,
2391 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2392 javax/swing/plaf/basic/BasicDefaults.java,
2393 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2394 javax/swing/plaf/basic/BasicIconFactory.java,
2395 javax/swing/plaf/basic/BasicLabelUI.java,
2396 javax/swing/plaf/basic/BasicListUI.java,
2397 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2398 javax/swing/plaf/basic/BasicPanelUI.java,
2399 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2400 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2401 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2402 javax/swing/plaf/basic/BasicTextUI.java,
2403 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2404 javax/swing/plaf/basic/BasicTreeUI.java,
2405 javax/swing/plaf/basic/BasicViewportUI.java,
2406 javax/swing/plaf/metal/MetalLookAndFeel.java:
2407 New versions from classpath. This adds copyrights to all files and
2408 some serialVersionUIDs.
2409
2410 2003-05-10 Michael Koch <konqueror@gmx.de>
2411
2412 * java/nio/CharBuffer.java
2413 (offset): Make it package-private.
2414 (backing_buffer): Likewise.
2415 * java/nio/DoubleBuffer.java
2416 (offset): Make it package-private.
2417 (backing_buffer): Likewise.
2418 (put): Reformatted.
2419 * java/nio/FloatBuffer.java
2420 (offset): Make it package-private.
2421 (backing_buffer): Likewise.
2422 * java/nio/IntBuffer.java
2423 (offset): Make it package-private.
2424 (backing_buffer): Likewise.
2425 * java/nio/LongBuffer.java
2426 (offset): Make it package-private.
2427 (backing_buffer): Likewise.
2428 * java/nio/ShortBuffer.java
2429 (offset): Make it package-private.
2430 (backing_buffer): Likewise.
2431
2432 2003-05-10 Michael Koch <konqueror@gmx.de>
2433
2434 * java/nio/CharBuffer.java
2435 (put): Fixed precondtion check.
2436 (toString): Make it work without backing array.
2437 (put): Skip one level of method calling.
2438
2439 2003-05-10 Michael Koch <konqueror@gmx.de>
2440
2441 * java/security/Identity.java,
2442 java/security/IdentityScope.java,
2443 java/security/Key.java,
2444 java/security/KeyPair.java,
2445 java/security/PrivateKey.java,
2446 java/security/Provider.java,
2447 java/security/PublicKey.java,
2448 java/security/SecureRandom.java,
2449 java/security/SecureRandomSpi.java,
2450 java/security/SignedObject.java,
2451 java/security/Signer.java,
2452 java/security/cert/Certificate.java,
2453 java/security/cert/PKIXCertPathBuilderResult.java,
2454 java/security/cert/X509Certificate.java:
2455 New versions from classpath.
2456
2457 2003-05-09 Tom Tromey <tromey@redhat.com>
2458
2459 * Makefile.in: Rebuilt.
2460 * Makefile.am (nat_source_files): Removed old files.
2461 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2462 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2463 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2464 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2465 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2466
2467 2003-05-09 Michael Koch <konqueror@gmx.de>
2468
2469 * gnu/java/nio/ByteBufferImpl.java
2470 (nio_cast): Removed.
2471 (ByteBufferImpl): Removed.
2472 (nio_get_Byte): Removed.
2473 (nio_put_Byte): Removed.
2474 (asByteBuffer): Removed.
2475 (asCharBuffer): Removed implementation and throw exception.
2476 (asShortBuffer): Likewise.
2477 (asIntBuffer): Likewise.
2478 (asLongBuffer): Likewise.
2479 (asFloatBuffer): Likewise.
2480 (asDoubleBuffer): Likewise.
2481 * gnu/java/nio/CharBufferImpl.java
2482 (CharBufferImpl): Removed.
2483 (nio_get_Byte): Removed.
2484 (nio_put_Byte): Removed.
2485 (asByteBuffer): Removed.
2486 * gnu/java/nio/DoubleBufferImpl.java
2487 (DoubleBufferImpl): Removed.
2488 (nio_get_Byte): Removed.
2489 (nio_put_Byte): Removed.
2490 (asByteBuffer): Removed.
2491 * gnu/java/nio/FloatBufferImpl.java
2492 (FloatBufferImpl): Removed.
2493 (nio_get_Byte): Removed.
2494 (nio_put_Byte): Removed.
2495 (asByteBuffer): Removed.
2496 * gnu/java/nio/IntBufferImpl.java
2497 (IntBufferImpl): Removed.
2498 (nio_get_Byte): Removed.
2499 (nio_put_Byte): Removed.
2500 (asByteBuffer): Removed.
2501 * gnu/java/nio/LongBufferImpl.java
2502 (LongBufferImpl): Removed.
2503 (nio_get_Byte): Removed.
2504 (nio_put_Byte): Removed.
2505 (asByteBuffer): Removed.
2506 * gnu/java/nio/ShortBufferImpl.java
2507 (ShortBufferImpl): Removed.
2508 (nio_get_Byte): Removed.
2509 (nio_put_Byte): Removed.
2510 (asByteBuffer): Removed.
2511 * gnu/java/nio/natByteBufferImpl.cc
2512 (nio_cast): Removed.
2513 (nio_get_Byte): Removed.
2514 (nio_put_Byte): Removed.
2515 * gnu/java/nio/natCharBufferImpl.cc
2516 (nio_get_Byte): Removed.
2517 (nio_put_Byte): Removed.
2518
2519 2003-05-09 Michael Koch <konqueror@gmx.de>
2520
2521 * java/net/JarURLConnection.java
2522 (getJarEntry): Merged documentation from classpath.
2523 (getJarFile): Likewise.
2524 (getMainAttributes): Likewise.
2525 (getAttributes): Likewise.
2526 (getManifest): Likewise.
2527 (getCertificates): Reformatted.
2528 * java/net/URLConnection.java:
2529 Little classpath merge.
2530
2531 2003-05-09 Michael Koch <konqueror@gmx.de>
2532
2533 * java/io/DataOutputStream.java
2534 (writeShort): Made it synchronized.
2535 (writeChar): Likewise.
2536 (writeInt): Likewise.
2537 (writeLong): Liekwise.
2538 (writeUTF): Made it synchronized, renamed argument to match classpath.
2539 * java/io/InputStreamReader.java
2540 (converter): Added documentation.
2541 (read): Merged documentation from classpath.
2542 * java/io/OutputStreamWriter.java
2543 (OutputStreamWriter): Merged documentation from classpath.
2544 (close): Reformatted.
2545 (getEncoding): Likewise.
2546 (flush): Likewise.
2547 (write): Merged documentation from classpath, reformatted.
2548
2549 2003-05-08 Tom Tromey <tromey@redhat.com>
2550
2551 * configure.host <powerpc64*-*>: Set with_libffi_default and
2552 libgcj_interpreter to "yes".
2553
2554 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2555
2556 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2557
2558 2003-05-06 Tom Tromey <tromey@redhat.com>
2559
2560 * verify.cc: Reverted previous patch.
2561
2562 2003-05-06 Michael Koch <konqueror@gmx.de>
2563
2564 * java/io/DataOutputStream.java
2565 (write): Renamed argument to "value", merged documentation from
2566 classpath.
2567 (writeBoolean): Likewise.
2568 (writeByte): Likewise.
2569 (writeShort): Likewise.
2570 (writeChar): Likewise.
2571 (writeInt): Likewise.
2572 (writeLong): Likewise.
2573 (writeFloat): Likewise.
2574 (writeDouble): Likewise.
2575 (writeBytes): Likewise.
2576 (writeChars): Likewise.
2577 (writeUTF): Likewise.
2578 * java/io/File.java
2579 (performDelete): Added documentation.
2580 (performList): Likewise.
2581 (performMkdir): Likewise.
2582 (performSetReadOnly): Likewise.
2583 (performRenameTo): Likewise.
2584 (performSetLastModified): Likewise.
2585 (delete): Made it sychronized.
2586 (renameTo): Made it sychronized.
2587 (equals): Reformatted.
2588 (isHidden): Likewise.
2589 (listFiles): Likewise.
2590 (setReadOnly): Likewise.
2591 (listRoots): Likewise.
2592 (setLastModified): Likewise.
2593 (checkRead): Likewise.
2594 (checkWrite): Likewise.
2595 * java/io/FileInputStream.java
2596 (skip): Made it sychronized, merged from classpath.
2597 * java/io/FileOutputStream.java
2598 (write): Merged from classpath.
2599 * java/io/InputStreamReader.java:
2600 (InputStreamReader): Merged documentation from classpath.
2601
2602 2003-05-05 Michael Koch <konqueror@gmx.de>
2603
2604 * java/net/NetworkInterface.java
2605 (networkInterfaces): Removed.
2606 (getByName): Use getRealNetworkInterfaces() instead of
2607 networkInterfaces.
2608 (getByInetAddress): Likewise.
2609 (getNetworkInterfaces): Likewise.
2610 (toString): Fix output of addresses of an interface.
2611
2612 2003-05-05 Michael Koch <konqueror@gmx.de>
2613
2614 * java/io/DataInputStream.java:
2615 Merged new documentation from classpath.
2616
2617 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2618
2619 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2620 "version".
2621 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2622 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2623 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2624 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2625 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2626 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2627 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2628 * java/security/Key.java: Likewise.
2629 * java/security/PrivateKey.java: Likewise.
2630 * java/security/Provider.java: Likewise.
2631 * java/security/PublicKey.java: Likewise.
2632
2633 2003-05-02 Michael Koch <konqueror@gmx.de>
2634
2635 * java/net/URI.java
2636 (create): Doesnt throws any exceptions.
2637 * java/net/URLConnection.java
2638 (URLConnection): Commend added.
2639 (getExpiration): The header field is called "expires" not
2640 "expiration".
2641 (getHeaderField): Merged documentation with classpath.
2642 (getHeaderFieldInt): Likewise.
2643 (getHeaderFieldDate): Likewise.
2644 (getHeaderFieldKey): Likewise.
2645 (getPermission): Likewise.
2646 (setDefaultUseCaches): Likewise.
2647 (setRequestProperty): Likewise.
2648 (addRequestProperty): Likewise.
2649 (getRequestProperty): Likewise.
2650 (getRequestProperties): Likewise.
2651 (setDefaultRequestProperty): Likewise.
2652 (getDefaultRequestProperty): Likewise.
2653 (guessContentTypeFromStream): Likewise.
2654 (getFileNameMap): Likewise.
2655 (setFileNameMap): Likewise.
2656 (setDoInput): Merged implementation and documentation with classpath.
2657 (setDoOutput): Likewise.
2658 (setAllowUserInteraction): Likewise.
2659 (setDefaultAllowUserInteraction): Likewise.
2660 (setContentHandlerFactory): Made it synchronized, merged documentation
2661 with classpath.
2662 (guessContentTypeFromName): Renamed argument fname to filename to
2663 match classpath, merged documentation with classpath.
2664
2665 2003-05-02 Michael Koch <konqueror@gmx.de>
2666
2667 * java/net/JarURLConnection.java
2668 (JarURLConnection): Class documentation merged with classpath.
2669 (getJarFileURL): Moved and documentation merged with classpath.
2670 (getEntryName): Likewise.
2671 (JarURLConnection): Documentation merged with classpath.
2672 (getJarEntry): Likewise.
2673 (getJarFile): Likewise.
2674 * java/net/PlainDatagramSocketImpl.java:
2675 Class documentation moved.
2676 * java/net/URLConnection.java
2677 (fileNameMap): Moved and documentation merged with classpath.
2678 (factory): Likewise.
2679 (defaultAllowUserInteraction): Likewis.
2680 (defaultUseCaches): Likewise.
2681 (allowUserInteraction): Likewise.
2682 (connected): Likewise.
2683 (url): Likewise.
2684 (connect): Documentation merged with classpath.
2685 (getURL): Likewise.
2686 (getContentLength): Likewise.
2687 (getContentType): Likewise.
2688 (getContentEncoding): Likewise.
2689 (getExpiration): Likewise.
2690 (getDate): Likewise.
2691 (getLastModified): Likewise.
2692 (getHeaderField): Likewise.
2693 (getContent): Likewise.
2694 (getPermission): Likewise.
2695 (getInputStream): Likewise.
2696 (getOutputStream): Likewise.
2697 (toString): Likewise.
2698 (getDoInput): Likewise.
2699 (getDoOutput): Likewise.
2700 (setAllowUserInteraction): Likewise.
2701 (getAllowUserInteraction): Likewise.
2702 (setDefaultAllowUserInteraction): Likewise.
2703 (getDefaultAllowUserInteraction): Likewise.
2704 (setUseCaches): Likewise.
2705 (getUseCaches): Likewise.
2706 (setIfModifiedSince): Likewise.
2707 (getIfModifiedSince): Likewise.
2708 (setDefaultRequestProperty): Likewise.
2709 (getDefaultRequestProperty): Likewise.
2710 (setContentHandlerFactory): Likewise.
2711 (setFileNameMap): Likewise.
2712
2713 2003-05-02 Michael Koch <konqueror@gmx.de>
2714
2715 * java/net/InetAddress.java:
2716 Merged class documentation with classpath.
2717 * java/net/JarURLConnection.java:
2718 Explicitely import all used classes.
2719 * java/net/URL.java:
2720 Reformatting.
2721 * java/net/ServerSocket.java,
2722 java/net/Socket.java:
2723 New versions from classpath.
2724
2725 2003-05-02 Michael Koch <konqueror@gmx.de>
2726
2727 * gnu/java/nio/FileChannelImpl.java
2728 (read): New implementation.
2729 (implRead): New methods.
2730 (write): New implementation, call other write insteal of read method.
2731 (implWrite): New methods.
2732 (map): Added comment.
2733 (transferFrom): Implemented.
2734 (transferTo): Implemented.
2735 (lock): Added checks to throw exceptions.
2736 (truncate): Added check to throw exception.
2737 * gnu/java/nio/natFileChannelImpl.cc
2738 (implRead): New method.
2739 (implWrite): New method.
2740 * java/nio/ByteBuffer.java
2741 (hashCode): Fixed comment.
2742 (get): Fixed exception documentation.
2743 (put): Fixed exception documentation.
2744 * java/nio/CharBuffer.java:
2745 Added comment for later optimizations.
2746
2747 2003-04-30 Tom Tromey <tromey@redhat.com>
2748
2749 PR libgcj/10582:
2750 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2751 Removed.
2752 (type::compatible): Use _Jv_IsAssignableFrom.
2753 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2754 (_Jv_IsAssignableFrom): Work even when source or target class is
2755 not prepared.
2756
2757 2003-04-30 Michael Koch <konqueror@gmx.de>
2758
2759 * java/text/BreakIterator.java
2760 (clone): New method.
2761
2762 2003-04-30 Michael Koch <konqueror@gmx.de>
2763
2764 * java/text/CollationElementIterator.java,
2765 java/text/CollationKey.java,
2766 java/text/RuleBasedCollator.java:
2767 Merged copyright and documentation from classpath and
2768 rearranged some code. No code changes done.
2769
2770 2003-04-30 Michael Koch <konqueror@gmx.de>
2771
2772 * java/util/regex/Matcher.java
2773 (pattern): New member variable.
2774 (appendReplacement): New method.
2775 (appendTail): New method.
2776 (end): New method.
2777 (find): New method.
2778 (group): New method.
2779 (replaceFirst): Added documentation.
2780 (replaceAll): Added documentation.
2781 (groupCount): New method.
2782 (lookingAt): New method.
2783 (matches): New method.
2784 (reset): New method.
2785 (start): New method.
2786 * java/util/regex/Pattern.java
2787 (serialVersionUID): New constant.
2788 (CANON_EQ): New constant.
2789 (CASE_INSENSITIVE): New constant.
2790 (COMMENTS): New constant.
2791 (DOTALL): New constant.
2792 (MULTILINE): New constant.
2793 (UNICODE_CASE): New constant.
2794 (UNIX_LINES): New constant.
2795 (regex): New member variable.
2796 (flags): New member variable.
2797 (Pattern): New method.
2798 (compile): Documentation added.
2799 (flags): New method.
2800 (matches): Documentation added.
2801 (matcher): Documentation added.
2802 (split): Documentation added.
2803 (pattern): New method.
2804
2805 2003-04-30 Michael Koch <konqueror@gmx.de>
2806
2807 * gnu/java/security/Engine.java,
2808 gnu/java/security/OID.java,
2809 gnu/java/security/der/BitString.java,
2810 gnu/java/security/der/DER.java,
2811 gnu/java/security/der/DERReader.java,
2812 gnu/java/security/der/DERValue.java,
2813 gnu/java/security/der/DERWriter.java,
2814 gnu/java/security/provider/DSAKeyFactory.java,
2815 gnu/java/security/provider/X509CertificateFactory.java,
2816 gnu/java/security/x509/X500DistinguishedName.java,
2817 gnu/java/security/x509/X509CRL.java,
2818 gnu/java/security/x509/X509CRLEntry.java,
2819 gnu/java/security/x509/X509Certificate.java,
2820 java/security/cert/CRLSelector.java,
2821 java/security/cert/CertPathBuilder.java,
2822 java/security/cert/CertPathBuilderResult.java,
2823 java/security/cert/CertPathBuilderSpi.java,
2824 java/security/cert/CertPathParameters.java,
2825 java/security/cert/CertPathValidator.java,
2826 java/security/cert/CertPathValidatorResult.java,
2827 java/security/cert/CertPathValidatorSpi.java,
2828 java/security/cert/CertSelector.java,
2829 java/security/cert/CertStore.java,
2830 java/security/cert/CertStoreParameters.java,
2831 java/security/cert/CertStoreSpi.java,
2832 java/security/cert/CollectionCertStoreParameters.java,
2833 java/security/cert/LDAPCertStoreParameters.java,
2834 java/security/cert/PKIXBuilderParameters.java,
2835 java/security/cert/PKIXCertPathBuilderResult.java,
2836 java/security/cert/PKIXCertPathChecker.java,
2837 java/security/cert/PKIXCertPathValidatorResult.java,
2838 java/security/cert/PKIXParameters.java,
2839 java/security/cert/PolicyNode.java,
2840 java/security/cert/PolicyQualifierInfo.java,
2841 java/security/cert/TrustAnchor.java,
2842 javax/security/auth/x500/X500Principal.java:
2843 New files from classpath.
2844 * gnu/java/io/ASN1ParsingException.java,
2845 gnu/java/io/Base64InputStream.java,
2846 gnu/java/security/der/DEREncodingException.java,
2847 gnu/java/security/provider/DSAParameters.java,
2848 gnu/java/security/provider/DSASignature.java,
2849 gnu/java/security/provider/Gnu.java,
2850 gnu/java/security/provider/GnuDSAPrivateKey.java,
2851 gnu/java/security/provider/GnuDSAPublicKey.java,
2852 java/security/AlgorithmParameterGenerator.java,
2853 java/security/AlgorithmParameters.java,
2854 java/security/KeyFactory.java,
2855 java/security/KeyPairGenerator.java,
2856 java/security/KeyStore.java,
2857 java/security/MessageDigest.java,
2858 java/security/SecureClassLoader.java,
2859 java/security/SecureRandom.java,
2860 java/security/Security.java,
2861 java/security/Signature.java,
2862 java/security/cert/Certificate.java,
2863 java/security/cert/CertificateFactory.java,
2864 java/security/cert/CertificateFactorySpi.java,
2865 java/security/cert/X509CRL.java,
2866 java/security/cert/X509Certificate.java,
2867 java/security/spec/DSAPublicKeySpec.java:
2868 New versions from classpath.
2869 * gnu/java/security/provider/DERReader.java,
2870 gnu/java/security/provider/DERWriter.java,
2871 java/security/Engine.java: Removed.
2872 * Makefile.am
2873 (java_source_files, javax_source_files): Added new files.
2874 * Makefile.in: Regenerated.
2875
2876 2003-04-29 Michael Koch <konqueror@gmx.de>
2877
2878 * javax/swing/JTable.java
2879 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2880 (AUTO_RESIZE_LAST_COLUMN): New constant.
2881 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2882 (AUTO_RESIZE_OFF): New constant.
2883 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2884 (JTable): New method.
2885 (columnAdded): New method.
2886 (columnMarginChanged): New method.
2887 (columnMoved): New method.
2888 (columnRemoved): New method.
2889 (columnSelectionChanged): New method.
2890 (editingCanceled): New method.
2891 (editingStopped): New method.
2892 (getColumnModel): New method.
2893 (getPreferredScrollableViewportSize): New method.
2894 (getScrollableBlockIncrement): New method.
2895 (getScrollableTracksViewportHeight): New method.
2896 (getScrollableTracksViewportWidth): New method.
2897 (getScrollableUnitIncrement): New method.
2898 (getSelectedRow): New method.
2899 (getSelectionModel): New method.
2900 (tableChanged): New method.
2901 (setModel): New method.
2902 (setSelectionMode): New method.
2903 (setSelectionModel): New method.
2904 (setShowGrid): New method.
2905 (valueChanged): New method.
2906 * javax/swing/text/DefaultEditorKit.java
2907 (backwardAction): New constant.
2908 (beepAction): New constant.
2909 (beginAction): New constant.
2910 (beginLineAction): New constant.
2911 (beginParagraphAction): New constant.
2912 (beginWordAction): New constant.
2913 (copyAction): New constant.
2914 (cutAction): New constant.
2915 (defaultKeyTypedAction): New constant.
2916 (deleteNextCharAction): New constant.
2917 (deletePrevCharAction): New constant.
2918 (downAction): New constant.
2919 (endAction): New constant.
2920 (endLineAction): New constant.
2921 (endOfLineStringProperty): New constant.
2922 (endParagraphAction): New constant.
2923 (endWordAction): New constant.
2924 (forwardAction): New constant.
2925 (insertBreakAction): New constant.
2926 (insertContentAction): New constant.
2927 (insertTabAction): New constant.
2928 (nextWordAction): New constant.
2929 (pageDownAction): New constant.
2930 (pageUpAction): New constant.
2931 (pasteAction): New constant.
2932 (previousWordAction): New constant.
2933 (readOnlyAction): New constant.
2934 (selectAllAction): New constant.
2935 (selectionBackwardAction): New constant.
2936 (selectionBeginAction): New constant.
2937 (selectionBeginLineAction): New constant.
2938 (selectionBeginParagraphAction): New constant.
2939 (selectionBeginWordAction): New constant.
2940 (selectionDownAction): New constant.
2941 (selectionEndAction): New constant.
2942 (selectionEndLineAction): New constant.
2943 (selectionEndParagraphAction): New constant.
2944 (selectionEndWordAction): New constant.
2945 (selectionForwardAction): New constant.
2946 (selectionNextWordAction): New constant.
2947 (selectionPreviousWordAction): New constant.
2948 (selectionUpAction): New constant.
2949 (selectLineAction): New constant.
2950 (selectParagraphAction): New constant.
2951 (selectWordAction): New constant.
2952 (upAction): New constant.
2953 (writableAction): New constant.
2954
2955 2003-04-29 Michael Koch <konqueror@gmx.de>
2956
2957 * java/util/PropertyPermission.java:
2958 New version from classpath
2959 * java/util/ResourceBundle.java:
2960 Partly merged from classpath
2961 (getObject): Reformated.
2962 (tryBundle): Set foundBundle = null if no bundle found.
2963
2964 2003-04-29 Michael Koch <konqueror@gmx.de>
2965
2966 * javax/swing/AbstractListModel.java,
2967 javax/swing/DefaultBoundedRangeModel.java,
2968 javax/swing/DefaultSingleSelectionModel.java:
2969 New Versions from classpath.
2970
2971 2003-04-29 Michael Koch <konqueror@gmx.de>
2972
2973 * java/awt/Window.java
2974 (show): Call super.show() instead of setVisible() to avoid endless
2975 loop.
2976 (hide): Call super.hide() instead of setVisible() to avoid endless
2977 loop.
2978
2979 2003-04-29 Michael Koch <konqueror@gmx.de>
2980
2981 * java/util/zip/Deflater.java,
2982 java/util/zip/DeflaterOutputStream.java:
2983 Partly merged with classpath.
2984
2985 2003-04-27 Tom Tromey <tromey@redhat.com>
2986
2987 * java/lang/natString.cc (_Jv_AllocString): Initialize
2988 cachedHashCode.
2989 (init): Likewise.
2990 (_Jv_NewStringUtf8Const): Likewise.
2991
2992 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2993
2994 * include/jvm.h: (_Jv_GetNbArgs) added
2995 (_Jv_GetSafeArg) added
2996 (_Jv_SetArgs) added
2997 * prims.cc: (_Jv_GetNbArgs) implemented
2998 (_Jv_GetSafeArg) implemented
2999 (_Jv_SetArgs) implemented
3000 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
3001 setting _Jv_argc and _Jv_argv
3002 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
3003 instead of _Jv_argv
3004 * java/lang/natRuntime.cc: (insertSystemProperties) use
3005 _Jv_GetSafeArg() instead of _Jv_argv
3006
3007 2003-04-23 Tom Tromey <tromey@redhat.com>
3008
3009 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
3010 required by this object. Search superclasses to find required
3011 alignment.
3012 (get_alignment_from_class): Use alignment of type as it appears
3013 in a struct.
3014 (ALIGNOF): New macro.
3015 (struct aligner): New helper structure.
3016
3017 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
3018
3019 * java/awt/Container.java (addImpl): Enable paint events if adding
3020 a lightweight to a heavyweight.
3021 (addNotify): Ensure that peer is created before
3022 addNotifyContainerChildren.
3023 (addNotifyContainerChildren): Enable paint events if a heavyweight
3024 container contains a lightweight.
3025
3026 2003-04-20 Tom Tromey <tromey@redhat.com>
3027
3028 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
3029 java/io/DataInput.java, java/io/DataOutput.java: Imports from
3030 Classpath.
3031
3032 2003-04-19 Tom Tromey <tromey@redhat.com>
3033
3034 * java/sql/Date.java, java/sql/DriverManager.java,
3035 java/sql/Time.java, java/sql/Timestamp.java: New versions from
3036 Classpath.
3037
3038 * Makefile.in: Rebuilt.
3039 * Makefile.am (ordinary_java_source_files): Added new files.
3040 * java/security/AlgorithmParameterGenerator.java,
3041 java/security/AlgorithmParameters.java, java/security/Engine.java,
3042 java/security/Identity.java, java/security/IdentityScope.java,
3043 java/security/KeyFactory.java,
3044 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
3045 java/security/MessageDigest.java, java/security/Policy.java,
3046 java/security/ProtectionDomain.java,
3047 java/security/SecureRandom.java, java/security/Security.java,
3048 java/security/Signature.java, java/security/SignatureSpi.java,
3049 java/security/SignedObject.java, java/security/Signer.java,
3050 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3051 java/security/spec/PSSParameterSpec.java,
3052 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
3053 java/security/spec/RSAOtherPrimeInfo.java: New versions from
3054 Classpath.
3055
3056 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3057
3058 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3059 (dispose): Null metrics.
3060 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3061 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3062 finalize.
3063 (finalize): Call dispose.
3064 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3065 (gcCachedCount): New field.
3066 (finalize): New method.
3067 (putGCInCache): New method.
3068 (getGCFromCache): New method.
3069 * gnu/gcj/xlib/GC.java (GC): Make protected.
3070 (clone): Get new GC from cache if possible.
3071 (create): New static method.
3072 (dispose): Save old GC in cache.
3073 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3074 deleting.
3075 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3076 is null.
3077 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3078 * java/awt/Container.java (visitChild): Dispose gfx2 when
3079 finished.
3080
3081 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3082
3083 * java/math/BigInteger.java (probablePrime): New.
3084 * java/math/BigDecimal.java (unscaledValue): New.
3085
3086 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3087
3088 * java/io/File.java (getAbsolutePath): On Windows, take care
3089 of paths like "C:", "G:foo\bar", etc.
3090 (getName): Make it work correctly on Windows.
3091 (getParent): Make it work correctly on Windows. For UNIX,
3092 fix bug that causes "/" to be returned as the parent of "/",
3093 instead of null as returned by Sun's JRE.
3094
3095 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3096
3097 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3098
3099 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3100 inner class.
3101 (CACHE_SIZE_PER_DISPLAY): New field
3102 (fontMetricsCache): New field
3103 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3104 loading ISO10646-1 fonts.
3105
3106 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3107
3108 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3109 characters.
3110 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3111 characters.
3112
3113 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3114
3115 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3116 floating point.
3117
3118 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3119
3120 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3121 installed libpthread is either linuxthreads with floating stacks or
3122 NPTL.
3123
3124 2003-04-14 Tom Tromey <tromey@redhat.com>
3125
3126 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3127 of alignment.
3128
3129 2003-04-10 Tom Tromey <tromey@redhat.com>
3130
3131 * verify.cc (pop64): Removed.
3132 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3133 exception if top-of-stack is narrow.
3134 (initialize_stack): Check to ensure that <init> is not static and
3135 <clinit> is.
3136
3137 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3138
3139 * java/io/ObjectStreamException
3140 * java/io/FileFilter
3141 * java/io/FilenameFilter
3142 * java/io/ObjectInput
3143 * java/io/ObjectOutput
3144 * java/io/ObjectStreamConstants
3145 Minor doc fixes, format fixes, spelling corrections, etc.
3146 * java/io/DataInput
3147 Corrected code samples in Javadocs to match reality
3148 * java/io/DataOutput
3149 * java/io/ObjectInputValidation
3150 Major documentation fixes - all Javadocs re-written or updated
3151
3152 2003-04-06 Michael Koch <konqueror@gmx.de>
3153
3154 * java/net/URLConnection.java:
3155 Import classes directly.
3156 (URLConnection): Merged class documentation with classpath.
3157 (url): Moved, documentation from classpath added.
3158 (doInput): Moved, documentation from classpath added.
3159 (doOutput): Moved, documentation from classpath added.
3160 (allowUserInteraction): Moved.
3161 (useCaches): Moved, documentation from classpath added.
3162 (ifModifiedSince): Moved, documentation from classpath added.
3163 (connected): Moved, documentation from classpath added.
3164
3165 2003-04-06 Michael Koch <konqueror@gmx.de>
3166
3167 * java/io/FileInputStream.java
3168 (skip): Renamed some variables to match classpath, added
3169 checks from classpath.
3170
3171 2003-03-31 Michael Koch <konqueror@gmx.de>
3172
3173 * javax/swing/AbstractAction.java
3174 (AbstractAction): Reformatted.
3175 (serialVersionUID): New private member variable.
3176 * javax/swing/plaf/BorderUIResource.java
3177 (serialVersionUID): New private member variable.
3178 * javax/swing/plaf/basic/BasicLookAndFeel.java
3179 (serialVersionUID): New private member variable.
3180
3181 2003-03-31 Michael Koch <konqueror@gmx.de>
3182
3183 * java/sql/Date.java
3184 (valueOf): Deprecated, reformatted.
3185 (toString): Deprecated, reformatted.
3186 * java/sql/Time.java
3187 (valueOf): Deprecated, reformatted.
3188 (toString): Deprecated, reformatted.
3189
3190 2003-03-31 Michael Koch <konqueror@gmx.de>
3191
3192 * java/rmi/dgc/VMID.java
3193 (isUnique): Deprecated.
3194
3195 2003-03-31 Michael Koch <konqueror@gmx.de>
3196
3197 * java/io/File.java
3198 (separator): Merged documentation from classpath.
3199 (separatorChar): Merged documentation from classpath.
3200 (pathSeparator): Merged documentation from classpath.
3201 (pathSeparatorChar): Merged documentation from classpath.
3202 (path): Merged documentation from classpath.
3203 (canRead): Merged documentation from classpath.
3204 (canWrite): Merged documentation from classpath.
3205 (createNewFile): Merged documentation from classpath.
3206 (delete): Merged documentation from classpath.
3207 (equals): Merged documentation from classpath.
3208 (exists): Merged documentation from classpath.
3209 (File): Renamed p to name to match classpath, merged documentation
3210 from classpath.
3211 (getAbsolutePath): Merged documentation from classpath.
3212 (getCanonicalPath): Merged documentation from classpath.
3213 (getCanonicalFile): Merged documentation from classpath.
3214 (getName): Merged documentation from classpath.
3215 (getParent): Merged documentation from classpath.
3216 (getParentFile): Merged documentation from classpath.
3217 (getPath): Merged documentation from classpath.
3218 (hashCode): Merged documentation from classpath.
3219 (isAbsolute): Merged documentation from classpath.
3220 (isDirectory): Merged documentation from classpath.
3221 (isFile): Merged documentation from classpath.
3222 (isHidden): Merged documentation from classpath.
3223 (lastModified): Merged documentation from classpath.
3224 (length): Merged documentation from classpath.
3225 (list): Merged documentation from classpath.
3226 (listFiles): Merged documentation from classpath.
3227 (toString): Merged documentation from classpath.
3228 (toURL): Merged documentation from classpath.
3229 (mkdir): Merged documentation from classpath.
3230 (mkdirs): Merged documentation from classpath.
3231 (createTempFile): Merged documentation from classpath.
3232 (setReadOnly): Merged documentation from classpath.
3233 (listRoots): Merged documentation from classpath.
3234 (compareTo): Merged documentation from classpath.
3235 (renameTo): Merged documentation from classpath.
3236 (setLastModified): Merged documentation from classpath.
3237 * java/io/PrintStream.java
3238 (auto_flush): Merged documentation from classpath.
3239 (PrintStream): Merged documentation from classpath.
3240 (checkError): Merged documentation from classpath.
3241 (setError): Merged documentation from classpath.
3242 (close): Merged documentation from classpath.
3243 (flush): Merged documentation from classpath.
3244 (print): Merged documentation from classpath.
3245 (println): Merged documentation from classpath.
3246 (write): Renamed count to len to match classpath,
3247 merged documentation from classpath.
3248 * java/io/RandomAccessFile.java
3249 (readShort): Merged documentation from classpath.
3250 (readUnsignedByte): Merged documentation from classpath.
3251 (readUnsignedShort): Merged documentation from classpath.
3252 (readUTF): Merged documentation from classpath.
3253 (seek): Reformatted, merged documentation from classpath.
3254 (skipBytes): Renamed some variables to match classpath, reformatted,
3255 merged documentation from classpath.
3256 (write): Merged documentation from classpath.
3257 (writeBoolean): Merged documentation from classpath.
3258 (writeByte): Merged documentation from classpath.
3259 (writeShort): Merged documentation from classpath.
3260 (writeChar): Merged documentation from classpath.
3261 (writeInt): Merged documentation from classpath.
3262 (writeLong): Merged documentation from classpath.
3263 (writeFloat): Merged documentation from classpath.
3264 (writeDouble): Merged documentation from classpath.
3265 (writeBytes): Merged documentation from classpath.
3266 (writeChars): Merged documentation from classpath.
3267 (writeUTF): Reformatted.
3268 (getChannel): Reformatted.
3269
3270 2003-03-31 Michael Koch <konqueror@gmx.de>
3271
3272 * java/awt/font/TextAttribute.java
3273 (readResolve): Throws java.io.InvalidObjectException.
3274
3275 2003-03-31 Michael Koch <konqueror@gmx.de>
3276
3277 * java/rmi/server/LoaderHandler.java
3278 (loadClass): Deprecated.
3279 (getSecurityContext): Deprecated.
3280 * java/rmi/server/LogStream.java
3281 (getDefaultStream): Deprecated.
3282 (setDefaultStream): Deprecated.
3283 (getOutputStream): Deprecated.
3284 (setOutputStream): Deprecated.
3285 (write): Deprecated.
3286 (toString): Deprecated.
3287 (parseLevel): Deprecated.
3288 * java/rmi/server/Operation.java
3289 (Operation): Deprecated.
3290 (getOperation): Deprecated.
3291 (toString): Deprecated.
3292 * java/rmi/server/RemoteCall.java
3293 (getOutputStream): Deprecated.
3294 (releaseOutputStream): Deprecated.
3295 (getInputStream): Deprecated.
3296 (releaseInputStream): Deprecated.
3297 (getResultStream): Deprecated.
3298 (executeCall): Deprecated.
3299 (done): Deprecated.
3300 * java/rmi/server/RemoteRef.java
3301 (invoke): Deprecated.
3302 (newCall): Deprecated.
3303 (done): Deprecated.
3304 * java/rmi/server/RemoteStub.java
3305 (setRef): Deprecated.
3306 * java/rmi/server/Skeleton.java:
3307 No need to import java.lang.Exception explicitly.
3308 (dispatch): Deprecated.
3309 (getOperations): Deprecated.
3310
3311 2003-03-31 Michael Koch <konqueror@gmx.de>
3312
3313 * java/rmi/dgc/VMID.java,
3314 java/rmi/registry/RegistryHandler.java,
3315 java/rmi/server/LogStream.java,
3316 java/rmi/server/Operation.java,
3317 java/rmi/server/RemoteCall.java,
3318 java/rmi/server/RemoteRef.java,
3319 java/rmi/server/RemoteStub.java:
3320 Reformatted.
3321
3322 2003-03-31 Michael Koch <konqueror@gmx.de>
3323
3324 * javax/swing/AbstractCellEditor.java,
3325 javax/swing/AbstractListModel.java,
3326 javax/swing/ActionMap.java,
3327 javax/swing/BorderFactory.java,
3328 javax/swing/ButtonGroup.java,
3329 javax/swing/DefaultBoundedRangeModel.java,
3330 javax/swing/DefaultButtonModel.java,
3331 javax/swing/DefaultCellEditor.java,
3332 javax/swing/DefaultComboBoxModel.java,
3333 javax/swing/DefaultDesktopManager.java,
3334 javax/swing/DefaultListCellRenderer.java,
3335 javax/swing/DefaultSingleSelectionModel.java,
3336 javax/swing/InputMap.java,
3337 javax/swing/JComponent.java,
3338 javax/swing/JMenu.java,
3339 javax/swing/JSlider.java,
3340 javax/swing/KeyStroke.java,
3341 javax/swing/OverlayLayout.java,
3342 javax/swing/ScrollPaneLayout.java,
3343 javax/swing/SizeRequirements.java,
3344 javax/swing/UIManager.java,
3345 javax/swing/ViewportLayout.java,
3346 javax/swing/border/AbstractBorder.java,
3347 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3348 javax/swing/event/EventListenerList.java,
3349 javax/swing/table/AbstractTableModel.java,
3350 javax/swing/table/DefaultTableCellRenderer.java,
3351 javax/swing/table/DefaultTableColumnModel.java,
3352 javax/swing/table/DefaultTableModel.java,
3353 javax/swing/table/TableColumn.java,
3354 javax/swing/text/StyledEditorKit.java,
3355 javax/swing/tree/DefaultMutableTreeNode.java,
3356 javax/swing/tree/DefaultTreeModel.java,
3357 javax/swing/tree/DefaultTreeSelectionModel.java,
3358 javax/swing/tree/TreePath.java,
3359 javax/swing/undo/AbstractUndoableEdit.java,
3360 javax/swing/undo/StateEdit.java,
3361 javax/swing/undo/StateEditable.java,
3362 javax/swing/undo/UndoableEditSupport.java:
3363 Merges from classpath.
3364
3365 2003-03-30 Tom Tromey <tromey@redhat.com>
3366
3367 * java/lang/String.java (data, boffset, count): Documented.
3368 (String(byte[],String)): Reformatted.
3369 (String(byte[])): Likewise.
3370 (lastIndexOf(int)): Likewise.
3371 (lastIndexOf(String)): Likewise.
3372 (substring(int)): Renamed argument to match Classpath.
3373 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3374
3375 * java/lang/String.java: Miscellaneous minor formatting changes
3376 to match Classpath more closely.
3377
3378 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3379 Tom Tromey <tromey@redhat.com>
3380
3381 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3382 (init()): Removed.
3383 (charAt): Put index in exception.
3384 (contentEquals): New method.
3385 Include StringBuffer.h.
3386 * java/lang/String.java (cachedHashCode): New field.
3387 (String()): Follow classpath implementation.
3388 (init()): Removed.
3389 (contentEquals): Declare.
3390 (subSequence): Don't declare IndexOutIfBoundsException in throws
3391 clause.
3392 (matches, replaceFirst, replaceAll, split): New methods from
3393 Classpath.
3394
3395 2003-03-29 Tom Tromey <tromey@redhat.com>
3396
3397 * java/lang/String.java: Reordered to follow Classpath; merged in
3398 javadoc.
3399
3400 * java/text/MessageFormat.java: Removed some whitespace.
3401
3402 * Makefile.in: Rebuilt.
3403 * Makefile.am (awt_java_source_files): Added new files.
3404 * gnu/javax/rmi/PortableServer.java,
3405 gnu/javax/rmi/CORBA/DelegateFactory.java,
3406 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3407 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3408 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3409 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3410 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3411 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3412 javax/rmi/PortableRemoteObject.java,
3413 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3414 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3415 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3416 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3417 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3418 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3419
3420 * java/lang/natClass.cc (newInstance): Put method name in
3421 exception.
3422 (getConstructor): Likewise.
3423 (getDeclaredConstructor): Likewise.
3424 (getPrivateMethod): Likewise.
3425
3426 2003-03-28 Tom Tromey <tromey@redhat.com>
3427
3428 * java/lang/reflect/Proxy.java: New version from Classpath.
3429 * java/lang/Package.java: New version from Classpath.
3430
3431 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3432
3433 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3434 * configure: Regenerate.
3435
3436 2003-03-28 Michael Koch <konqueror@gmx.de>
3437
3438 * java/io/File.java:
3439 Import needed classes instead of whole packages, merged class
3440 documentation with classpath, moved constants and variables to top of
3441 class.
3442 * java/io/PrintStream.java:
3443 Merged class documentation with classpath, moved constants and
3444 variables to top of class.
3445 * java/io/RandomAccessFile.java
3446 (RandomAccessFile): Merged with classpath.
3447 (read): Merged with classpath).
3448 (read*): Reformatted.
3449
3450 2003-03-28 Michael Koch <konqueror@gmx.de>
3451
3452 * java/io/FileDescriptor.java
3453 (finalize): Throws Throwable, not IOException.
3454 * java/io/ObjectOutputStream.java
3455 (PutField.put): Doesnt throws anything.
3456
3457 2003­03-28 Michael Koch <konqueror@gmx.de>
3458
3459 * java/io/FileOutputStream.java:
3460 Merged class documentation and authors with classpath.
3461 (FileOutputStream): Partly merged with classpath.
3462 (write): Merged with classpath.
3463 (getChannel): Make it synchronized instead of explicit block in this
3464 method.
3465 * java/io/RandomAccessFile.java:
3466 Merged class documentation and authors with classpath.
3467
3468 2003-03-26 Tom Tromey <tromey@redhat.com>
3469
3470 * java/lang/natRuntime.cc (insertSystemProperties): Set
3471 gnu.classpath.home.url.
3472 * Makefile.in: Rebuilt.
3473 * Makefile.am: Define LIBDIR.
3474
3475 2003-03-25 Michael Koch <konqueror@gmx.de>
3476
3477 * java/io/FileInputStream.java
3478 (read): Renamed b to buf and off to offset.
3479 * java/io/FileOutputStream.java
3480 (ch): Documentation added.
3481 (FileOutputStream): Documentation added.
3482 (getFD): Documentation added.
3483 (write): Documentation added.
3484 (close): Documentation added.
3485 (getChannel): Documentation added.
3486
3487 2003-03-24 Michael Koch <konqueror@gmx.de>
3488
3489 * java/io/DataOutputStream.java
3490 (write): Merged from classpath.
3491 * java/io/File.java:
3492 Merged copyrigth with classpath.
3493 * java/io/FileInputStream.java
3494 (getChannel): Made it synchronized instead of using a synchronized
3495 block.
3496 * java/io/FileOutputStream.java: Reformatted.
3497 * java/io/InputStreamReader.java
3498 (InputStreamReader): Renamed enc to encoding_name.
3499 (close): Merged documentation from classpath.
3500 (getEncoding): Merged documentation from classpath.
3501 (ready): Merged documentation from classpath.
3502 (read): Merged documentation from classpath.
3503 * java/io/LineNumberReader.java
3504 (lineNumber): Made it private.
3505 (LineNumberReader): Use Constant instead of a direct value.
3506 * java/io/OutputStreamWriter.java
3507 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3508 documentation from classpath.
3509 (close): Merged documentation from classpath.
3510 (flush): Merged documentation from classpath.
3511 (write): Merged documentation from classpath.
3512 * java/io/PrintStream.java: Reformatted.
3513
3514 2003-03-24 Michael Koch <konqueror@gmx.de>
3515
3516 * javax/swing/text/ComponentView.java
3517 (getComponent): Must be final.
3518 * javax/swing/tree/DefaultTreeCellRenderer.java:
3519 Reformatted.
3520 * javax/swing/undo/StateEditable.java:
3521 Reformatted.
3522
3523 2003-03-24 Michael Koch <konqueror@gmx.de>
3524
3525 * java/rmi/activation/ActivationInstantiator.java:
3526 Reformatted.
3527 * java/rmi/activation/Activator.java:
3528 Reformatted.
3529 * java/rmi/registry/RegistryHandler.java:
3530 Remerged from classpath.
3531
3532 2003-03-24 Michael Koch <konqueror@gmx.de>
3533
3534 * java/util/Date.java:
3535 Fixed documentation starting tag to make javadoc happy.
3536 * java/util/regex/Pattern.java
3537 (Pattern): Implements Serializable.
3538 * java/util/PatternSyntaxException.java
3539 (serialVersionUID): New member variable.
3540
3541 2003-03-24 Michael Koch <koqnueror@gmx.de>
3542
3543 * java/awt/ContainerOrderFocusTraversalPolicy.java
3544 (getFirstComponent): Implemented.
3545 (getLastComponent): Implemented.
3546 (getDefaultComponent): Implemented.
3547 (setImplicitDownCycleTraversal): Fixed implementation.
3548 * java/awt/Robot.java
3549 (Robot): Added documentation.
3550 * java/awt/Toolkit.java
3551 (getFontList): Deprecated.
3552 (getFontMetrics): Deprecated.
3553 (getPrintJob): Added documentation.
3554 (getSystemSelection): Added documentation.
3555 (getLockingKeyState): Added documentation.
3556 (setLockingKeyState): Added documentation.
3557 (createCustomCursor): Added documentation.
3558 (getBestCursorSize): Added documentation.
3559 (getMaximumCursorColors): Added documentation.
3560 (isFrameStateSupported): Added documentation.
3561
3562 2003-03-24 Michael Koch <konqueror@gmx.de>
3563
3564 * java/io/RandomAccessFile.java:
3565 More little merges with classpath. No code changes.
3566
3567 2003-03-24 Michael Koch <konqueror@gmx.de>
3568
3569 * java/net/natInetAddressNoNet.cc:
3570 Include stddef.h.
3571 * java/net/natPlainDatagramSocketImplNoNet.cc:
3572 Fixed inlcude of java/net/DatagramPacket.h.
3573 * java/net/natPlainSocketImplNoNet.cc:
3574 Include some missing classes.
3575
3576 2003-03-24 Michael Koch <konqueror@gmx.de>
3577
3578 * java/awt/dnd/DropTarget.java
3579 (DropTargetAutoScroller): According to the online documentation, this
3580 is protected, but in reality it is public.
3581 * java/awt/dnd/DropTargetContext.java
3582 (TransferableProxy): According to the online documentation, this
3583 is protected, but in reality it is public.
3584
3585 2003-03-24 Michael Koch <konqueror@gmx.de>
3586
3587 * java/io/DataInputStream.java
3588 (): Wrapped documentation line.
3589 (): Fixed @return tag.
3590 * java/io/DataOutputStream.java
3591 (written): Moved to top of class.
3592 (all methods): Merged documentation from classpath.
3593 * java/io/File.java:
3594 Merged copyright year with classpath.
3595 * java/io/FileInputStream.java
3596 (all methods): Merged documentation from classpath.
3597 * java/io/LineNumberReader.java
3598 (getLineNumber): Fixed @return tag.
3599 * java/io/ObjectInputStream.java.
3600 Reformatted.
3601 * java/io/ObjectOutputStream.java:
3602 Reformatted, fixed some @see tags.
3603 * java/io/OutputStreamWriter.java:
3604 Deleted empty line.
3605 * java/io/Writer.java:
3606 Reformatted.
3607
3608 2003-03-24 Michael Koch <konqueror@gmx.de>
3609
3610 * java/awt/Frame.java
3611 (DEFAULT_CURSOR): Fixed @deprecated tag.
3612 (setCursor): Fixed @deprecated tag.
3613
3614 2003-03-24 Michael Koch <konqueror@gmx.de>
3615
3616 * java/beans/beancontext/BeanContextEvent.java:
3617 Reformated.
3618
3619 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3620
3621 * java/lang/natStringBuffer.cc (regionMatches): New function.
3622 * java/lang/String.java (count): Now package-private.
3623 * java/lang/StringBuffer.java: Merged with Classpath.
3624
3625 2003-03-23 Michael Koch <konqueror@gmx.de>
3626
3627 * java/io/BufferedOutputStream.java:
3628 Reformated.
3629 * java/io/BufferedReader.java:
3630 Reformated.
3631 * java/io/ByteArrayOutputStream.java
3632 (size): Fixed @see tag.
3633 * java/io/CharArrayWriter.java
3634 (size): Fixed @see tag.
3635 * java/io/DataInput.java:
3636 Reformated.
3637 * java/io/DataOutput.java:
3638 Reformated.
3639 * java/io/DataOutputStream.java:
3640 Merged copyright years with classpath.
3641 * java/io/Externalizable.java:
3642 Reformated.
3643 * java/io/FileFilter.java:
3644 Reformated.
3645 * java/io/FileInputStream.java:
3646 Merged copyright years with classpath.
3647 * java/io/FileOutputStream.java:
3648 Merged copyright years with classpath.
3649 * java/io/FilePermission.java
3650 (FilePermission): Replaced @XXX with FIXME:.
3651 * java/io/FileWriter.java:
3652 Reformated.
3653 * java/io/FilenameFilter.java:
3654 Reformated.
3655 * java/io/FilterInputStream.java:
3656 Reformated.
3657 * java/io/FilterOutputStream.java:
3658 Reformated.
3659 * java/io/FilterReader.java:
3660 Reformated.
3661 * java/io/FilterWriter.java:
3662 Reformated.
3663 * java/io/LineNumberInputStream.java
3664 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3665 happy.
3666 (getLineNumber): Fixed @return tag.
3667 * java/io/ObjectInput.java:
3668 Reformated.
3669 * java/io/ObjectOutput.java:
3670 Reformated.
3671 * java/io/ObjectStreamClass.java:
3672 Reformated.
3673 * java/io/PrintStream.java:
3674 Merged copyright years with classpath.
3675 * java/io/PushbackReader.java
3676 (PushbackReader): Replaced @code with @param.
3677 * java/io/SerializablePermission.java:
3678 Reformated.
3679 * java/io/StreamTokenizer.java
3680 (resetSyntax): Fixed @see tag.
3681
3682 2003-03-22 Richard Henderson <rth@redhat.com>
3683
3684 * sysdep/ia64/locks.h: Include ia64intrin.h.
3685 (compare_and_swap): Use __sync_bool_compare_and_swap.
3686 (compare_and_swap_release): Expose ar.ccv assignment.
3687
3688 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3689
3690 * include/posix.h: Add suffix for darwin dynamic libraries.
3691
3692 2003-03-21 Michael Koch <konqueror@gmx.de>
3693
3694 * javax/swing/Action.java
3695 (ACCELERATOR_KEY): New constant.
3696 (ACTION_COMMAND_KEY): Likewise.
3697 (MNEMONIC_KEY): Likewise.
3698 * javax/swing/UnsupportedLookAndFeelException.java
3699 (UnsupportedLookAndFeelException): Must be public.
3700 * javax/swing/WindowConstants.java
3701 (EXIT_ON_CLOSE): New constant.
3702 * javax/swing/text/BadLocationException.java
3703 (offset): New member variable.
3704 (BadLocationException): New implementation, documentation added.
3705 (offsetRequested): New method.
3706 * javax/swing/text/Caret.java:
3707 Reformated.
3708 * javax/swing/text/Document.java:
3709 Reformated.
3710
3711 2003-03-21 Michael Koch <konqueror@gmx.de>
3712
3713 * java/rmi/activation/Activatable.java
3714 (serialVersionUID): New member variable.
3715 * java/rmi/activation/ActivationGroup.java
3716 (serialVersionUID): New member variable.
3717 * java/rmi/activation/ActivationGroupDesc.java
3718 (serialVersionUID): New member variable.
3719 * java/rmi/registry/Registry.java:
3720 Reformated.
3721 (Registry): Deprecated.
3722 * java/rmi/server/LoaderHandler.java
3723 Reformated.
3724 (LoaderHandler): Deprecated.
3725 * java/rmi/server/LogStream.java
3726 Reformated.
3727 (LogStream): Deprecated.
3728 * java/rmi/server/Operation.java
3729 (Operation): Deprecated.
3730 * java/rmi/server/RMIFailureHandler.java:
3731 Reformated.
3732 * java/rmi/server/RMISocketFactory.java:
3733 Reformated.
3734 * java/rmi/server/RemoteCall.java
3735 (RemoteCall): Deprecated.
3736 * java/rmi/server/RemoteStub.java:
3737 Reformated.
3738 * java/rmi/server/Skeleton.java
3739 Reformated.
3740 (Skeleton): Deprecated.
3741
3742 2003-03-21 Michael Koch <konqueror@gmx.de>
3743
3744 * java/io/LineNumberReader.java
3745 (LineNumberReader): Merged documentation with classpath.
3746 (getLineNumber): Likewise.
3747 (setLineNumber): Likewise.
3748 (mark): Likewise.
3749 (reset): Likewise.
3750 (read): Likewise.
3751 (readLine): Likewise.
3752 (skip): Likewise.
3753
3754 2003-03-21 Michael Koch <konqueror@gmx.de>
3755
3756 * java/rmi/RMISecurityManager.java
3757 (checkAccept): Removed.
3758 (checkAccess): Likewise.
3759 (checkAccess): Likewise.
3760 (checkAwtEventQueueAccess): Likewise.
3761 (checkConnect): Likewise.
3762 (checkCreateClassLoader): Likewise.
3763 (checkDelete): Likewise.
3764 (checkExec): Likewise.
3765 (checkExit): Likewise.
3766 (checkLink): Likewise.
3767 (checkListen): Likewise.
3768 (checkMemberAccess): Likewise.
3769 (checkMulticast): Likewise.
3770 (checkPackageAccess): Likewise.
3771 (checkPackageDefinition): Likewise.
3772 (checkPermission): Likewise.
3773 (checkPrintJobAccess): Likewise.
3774 (checkPropertiesAccess): Likewise.
3775 (checkPropertyAccess): Likewise.
3776 (checkRead): Likewise.
3777 (checkSecurityAccess): Likewise.
3778 (checkSetFactory): Likewise.
3779 (checkSystemClipboardAccess): Likewise.
3780 (checkTopLevelWindow): Likewise.
3781 (checkWrite): Likewise.
3782
3783 2003-03-20 Michael Koch <konqueror@gmx.de>
3784
3785 * gnu/java/nio/FileChannelImpl.java
3786 (address): Removed.
3787 (map_address): New member variable.
3788 (length): Make it package private.
3789 (fd): Make it package private.
3790 (buf): Make it package private.
3791 (file_obj): Make it package private.
3792 (FileChannelImpl): New constructor.
3793 (nio_mmap_file): Use RawData instead of long.
3794 (nio_munmap_file): Use RawData instead of long.
3795 (nio_msync): Use RawData instead of long.
3796 (implCloseChannel): New implementation using map_address.
3797 (read): Reformated.
3798 (map): Implemented.
3799 (create_direct_mapped_buffer): Implemented, use RawData, throws
3800 IOException.
3801 (force): Use map_address instead of address.
3802 * gnu/java/nio/MappedByteFileBuffer.java
3803 (address): Removed.
3804 (map_address): New member variable.
3805 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3806 (several methods): Use map_address instead of address, replaced long
3807 with RawData where appropriate.
3808 * gnu/java/nio/natFileChannelImpl.cc
3809 (nio_mmap_file): Replaced long with RawData.
3810 (nio_munmap_file): Replaced long with RawData.
3811 (nio_msync): Replaced long with RawData.
3812 * gnu/java/nio/natMappedByteFileBuffer.cc
3813 (several methods): Replaced long with RawData where appropriate.
3814
3815 2003-03-20 Michael Koch <konqueror@gmx.de>
3816
3817 * java/net/InetAddress.java,
3818 java/net/JarURLConnection.java,
3819 java/net/PlainDatagramSocketImpl.java,
3820 java/net/PlainSocketImpl.java,
3821 java/net/URLConnection.java:
3822 Merged copyright statements with classpath for easier merging.
3823
3824 2003-03-20 Michael Koch <konqueror@gmx.de>
3825
3826 * java/io/FileInputStream.java
3827 (getChannel): New implementation.
3828 * java/io/FileOutputStream.java
3829 (ch): New member variable.
3830 (getChannel): Implemented.
3831 * java/io/RandomAccessFile.java
3832 (RandomAccessFile): Throws FileNotFoundException instead of
3833 IOException.
3834 (getChannel): New method.
3835 (ch): New member variable.
3836
3837 2003-03-20 Michael Koch <konqueror@gmx.de>
3838
3839 * java/io/DataOutputStream.java,
3840 java/io/File.java,
3841 java/io/FileInputStream.java,
3842 java/io/FileOutputStream.java,
3843 java/io/InputStreamReader.java,
3844 java/io/LineNumberReader.java,
3845 java/io/OutputStreamWriter.java,
3846 java/io/PrintStream.java,
3847 java/io/RandomAccessFile.java:
3848 Merged copyright statements with classpath for easier merging.
3849
3850 2003-03-19 Michael Koch <konqueror@gmx.de>
3851
3852 * java/lang/Process.java:
3853 Merged from classpath.
3854
3855 2003-03-19 Michael Koch <konqueror@gmx.de>
3856
3857 * java/io/FileOutputStream.java
3858 (FileOutputStream): New constructor, merged from classpath.
3859 * java/io/FileWriter.java
3860 (FileWriter): New constructor, merged from classpath.
3861
3862 2003-03-18 Michael Koch <konqueror@gmx.de>
3863
3864 * java/awt/ScrollPane.java
3865 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3866 (getViewportSize): Likewise.
3867 (addNotify): Likewise.
3868 (removeNotify): Likewise.
3869 * java/awt/ScrollPaneAdjustable.java
3870 (ScrollPaneAdjustable): No longer extends Scrollbar.
3871 * java/beans/beancontext/BeanContextServices.java:
3872 Reformated.
3873 (getService): Added throws TooManyListenersException;
3874 * java/beans/beancontext/BeanContextServicesSupport.java:
3875 Reformated.
3876
3877 2003-03-18 Michael Koch <konqueror@gmx.de>
3878
3879 * java/io/BufferedOutputStream.java,
3880 java/io/DataInput.java,
3881 java/io/DataInputStream.java,
3882 java/io/DataOutput.java,
3883 java/io/Externalizable.java:
3884 More merges from classpath.
3885
3886 2003-03-18 Michael Koch <konqueror@gmx.de>
3887
3888 * configure.in: Fixed links to platform dependant java.net files.
3889 * configure: Regenerated.
3890 * java/net/natInetAddress.cc,
3891 java/net/natNetworkInterface.cc,
3892 java/net/natPlainDatagramSocketImpl.cc,
3893 java/net/natPlainSocketImpl.cc:
3894 Removed.
3895
3896 2003-03-18 Michael Koch <konqueror@gmx.de>
3897
3898 * configure.in: Create links to architecture dependent files,
3899 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3900 * configure: Regenerated.
3901 * java/net/natInetAddressNoNet.cc,
3902 java/net/natInetAddressPosix.cc,
3903 java/net/natInetAddressWin32.cc,
3904 java/net/natNetworkInterfaceNoNet.cc,
3905 java/net/natNetworkInterfacePosix.cc,
3906 java/net/natNetworkInterfaceWin32.cc,
3907 java/net/natPlainDatagramSocketImplNoNet.cc,
3908 java/net/natPlainDatagramSocketImplPosix.cc,
3909 java/net/natPlainDatagramSocketImplWin32.cc,
3910 java/net/natPlainSocketImplNoNet.cc,
3911 java/net/natPlainSocketImplPosix.cc,
3912 java/net/natPlainSocketImplWin32.cc: New files.
3913
3914 2003-03-18 Michael Koch <konqueror@gmx.de>
3915
3916 * java/io/BufferedReader.java,
3917 java/io/BufferedWriter.java,
3918 java/io/ByteArrayOutputStream.java,
3919 java/io/FileFilter.java,
3920 java/io/FilePermission.java,
3921 java/io/FileReader.java,
3922 java/io/FileWriter.java,
3923 java/io/FilenameFilter.java,
3924 java/io/FilterInputStream.java,
3925 java/io/FilterOutputStream.java,
3926 java/io/FilterReader.java,
3927 java/io/FilterWriter.java,
3928 java/io/ObjectInput.java,
3929 java/io/ObjectInputValidation.java,
3930 java/io/ObjectOutput.java,
3931 java/io/ObjectStreamField.java,
3932 java/io/PipedInputStream.java,
3933 java/io/PipedReader.java,
3934 java/io/PrintWriter.java,
3935 java/io/PushbackReader.java,
3936 java/io/Reader.java,
3937 java/io/SerializablePermission.java,
3938 java/io/StringReader.java,
3939 java/io/Writer.java:
3940 Merged from classpath.
3941
3942 2003-03-17 Michael Koch <konqueror@gmx.de>
3943
3944 * java/awt/ScrollPaneAdjustable.java:
3945 Compile fixes.
3946
3947 2003-03-17 Michael Koch <konqueror@gmx.de>
3948
3949 * java/net/DatagramSocket.java
3950 (connect): Fixed comment.
3951 * java/nio/ByteBuffer.java
3952 (hasArray): Fixed comment.
3953
3954 2003-03-17 Michael Koch <konqueror@gmx.de>
3955
3956 * java/beans/Beans.java:
3957 Explicitely import classes not packages.
3958 * java/beans/FeatureDescriptor.java
3959 (preferred): New member variable.
3960 (isPreferred): New method.
3961 (setPreferred): New method.
3962 * java/beans/PropertyEditorManager.java:
3963 Explicitely import used classes.
3964 * java/beans/beancontext/BeanContextChild.java:
3965 Added line wrapping.
3966 * java/beans/beancontext/BeanContextChildSupport.java:
3967 Reindented.
3968 * java/beans/beancontext/BeanContextEvent.java:
3969 Reindented.
3970
3971 2003-03-17 Michael Koch <konqueror@gmx.de>
3972
3973 * java/awt/Dialog.java
3974 (Dialog): New constructor, changed implementations, added
3975 documentation.
3976 * java/awt/ScrollPaneAdjustable.java
3977 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3978 Serializable.
3979 (serialVersionUID): New member variable.
3980 (sp): New member variable.
3981 (orientation): New member variable.
3982 (value): New member variable.
3983 (minimum): New member variable.
3984 (maximum): New member variable.
3985 (visibleAmount): New member variable.
3986 (unitIncrement): New member variable.
3987 (blockIncrement): New member variable.
3988 (AdjustmentListener): New member variable.
3989 (ScrollPaneAdjustable): New implementation.
3990 (addAdjustmentListener): New method.
3991 (removeAdjustmentListener): New method.
3992 (getAdjustmentListeners): New method.
3993 (getBlockIncrement): New method.
3994 (getMaximum): New method.
3995 (getMinimum): New method.
3996 (getOrientation): New method.
3997 (getUnitIncrement): New method.
3998 (getValue): New method.
3999 (getVisibleAmount): New method.
4000 (setBlockIncrement): New method.
4001 (setMaximum): Implemented.
4002 (setMinimum): Implemented.
4003 (setUnitIncrement): New method.
4004 (setValue): New method.
4005 (setVisibleAmount): Implemented.
4006 (paramString): New stubbed method.
4007 * java/awt/Window.java
4008 (show): Call setVisible().
4009 (hide): Call setVisible().
4010 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
4011 and WINDOW_STATE_CHANGED.
4012 (processWindowFocusEvent): New method.
4013 (processWindowStateEvent): New method.
4014 (postEvent): Deprecated.
4015 (applyResourceBundle): Deprecated.
4016 * java/awt/datatransfer/DataFlavor.java
4017 (DataFlavor): Doesn't thow ClassNotFoundException.
4018
4019 2003-03-17 Michael Koch
4020
4021 * javax/print/attribute/Attribute.java,
4022 javax/print/attribute/AttributeSet.java,
4023 javax/print/attribute/PrintRequestAttributeSet.java:
4024 New files.
4025 * Makefile.am
4026 (javax_source_files): Added new files:
4027 javax/print/attribute/Attribute.java
4028 javax/print/attribute/AttributeSet.java
4029 javax/print/attribute/PrintRequestAttributeSet.java
4030 * Makefile.in: Regenerated.
4031
4032 2003-03-17 Michael Koch
4033
4034 * javax/print/attribute/Attribute.java,
4035 javax/print/attribute/AttributeSet.java,
4036 javax/print/attribute/PrintRequestAttributeSet.java:
4037 New files.
4038 * Makefile.am
4039 (awt_java_source_files): Added new files:
4040 javax/print/attribute/Attribute.java
4041 javax/print/attribute/AttributeSet.java
4042 javax/print/attribute/PrintRequestAttributeSet.java
4043 * Makefile.in: Regenerated.
4044
4045 2003-03-16 Tom Tromey <tromey@redhat.com>
4046
4047 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
4048 Include platform.h.
4049 * java/lang/natRuntime.cc (insertSystemProperties): Use
4050 _Jv_platform_path_separator.
4051 (nativeGetLibname): Use _Jv_platform_file_separator.
4052 (_load): Use _Jv_platform_onload_names.
4053 (onload_names): New global.
4054 * include/win32.h (_Jv_platform_file_separator): New define.
4055 (_Jv_platform_path_separator): Likewise.
4056 (_Jv_platform_onload_names): Likewise.
4057 (_Jv_platform_ffi_abi): Likewise.
4058 * include/posix.h (_Jv_platform_file_separator): New define.
4059 (_Jv_platform_path_separator): Likewise.
4060 (_Jv_platform_onload_names): Likewise.
4061 (_Jv_platform_ffi_abi): Likewise.
4062
4063 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4064
4065 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4066
4067 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4068
4069 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4070 hierarchy loop.
4071 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4072 list to Object,ObjectStreamClass, moved callReadMethod code up into
4073 readObject and added Class argument to all setXxxField calls.
4074 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4075 consistent with ObjectOutputStream and to facilitate caching the
4076 Method in the future.
4077 (setBooleanField): Added Class argument.
4078 (setByteField): Likewise.
4079 (setCharField): Likewise.
4080 (setDoubleField): Likewise.
4081 (setFloatField): Likewise.
4082 (setIntField): Likewise.
4083 (setLongField): Likewise.
4084 (setShortField): Likewise.
4085 (setObjectField): Likewise.
4086 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4087 class hierarchy loop.
4088 (defaultWriteObject): Call writeFields with new argument list.
4089 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4090 list to Object,ObjectStreamClass, moved callWriteMethod up into
4091 writeObject and added Class argument to all getXxxField calls.
4092 (callWriteMethod): Added ObjectStreamClass argument to be able to
4093 get the proper class to call getMethod on (each class can have (or
4094 not have) its own writeObject method).
4095 (getBooleanField): Added Class argument.
4096 (getByteField): Likewise.
4097 (getCharField): Likewise.
4098 (getDoubleField): Likewise.
4099 (getFloatField): Likewise.
4100 (getIntField): Likewise.
4101 (getLongField): Likewise.
4102 (getShortField): Likewise.
4103 (getObjectField): Likewise.
4104 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4105 facilitate caching the Method object in the future.
4106
4107 2003-03-12 Andreas Schwab <schwab@suse.de>
4108
4109 * configure.in: Avoid trailing /. in toolexeclibdir.
4110 * configure: Rebuilt.
4111
4112 2003-03-11 Michael Koch <konqueror@gmx.de>
4113
4114 * gnu/java/nio/ByteBufferImpl.java
4115 (putInt): Use limit() instead of limit.
4116 * gnu/java/nio/CharBufferImpl.java
4117 (slice): Fixed implementation.
4118 (subSequence): Better bounds checking.
4119 * gnu/java/nio/MappedByteFileBuffer.java:
4120 Import all needed classes directly.
4121 * java/nio/ByteBuffer.java
4122 (hashCode): New dummy method.
4123 * java/nio/CharBuffer.java
4124 (array_offset): New member variable.
4125 (hasArray): Fixed documentation.
4126 (arrayOffset): Return array_offset.
4127
4128 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4129
4130 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4131 setter; made return value of getter const char* instead of char*
4132 * prims.cc: removed all references to _Jv_ThisExecutable().
4133 These are in the platform-specific sections now.
4134 * posix.cc: define platform-specific _Jv_ThisExecutable().
4135 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4136 * win32.cc: define platform-specific _Jv_ThisExecutable()
4137 using GetModuleFilename()
4138 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4139 to argv[0] instead of _Jv_ThisExecutable()
4140
4141 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4142
4143 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4144 that is set if we are using addr2name.awk instead of addr2line.
4145 (NameFinder): Set usingAddr2name if using addr2name.awk.
4146 (getExternalLabel): New native method to convert a method
4147 name to an external label.
4148 (lookup): Convert name given by addr2line to an external label
4149 before demangling.
4150
4151 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4152 constant representing the prefix attached to method names to
4153 convert them to an external label.
4154 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4155 using LABEL_PREFIX.
4156
4157 2003-03-10 Tom Tromey <tromey@redhat.com>
4158
4159 * Makefile.in: Rebuilt.
4160 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4161 (JC1FLAGS): Removed -Wno-deprecated.
4162
4163 2003-03-10 Michael Koch <konqueror@gmx.de>
4164
4165 * java/nio/ByteOrder.java
4166 (nativeOrder): Working implementation, added documentation.
4167 (toString): Added documentation.
4168
4169 2003-03-10 Michael Koch <konqueror@gmx.de>
4170
4171 * java/net/DatagramSocket.java,
4172 java/net/MulticastSocket.java,
4173 java/net/Socket.java,
4174 java/net/URL.java,
4175 java/net/URLConnection.java:
4176 Fixed some documentation tags to make javadoc and friends happy.
4177
4178 2003-03-10 Michael Koch <koqnueror@gmx.de>
4179
4180 * java/beans/beancontext/BeanContextServicesSupport.java,
4181 java/beans/beancontext/BeanContextSupport.java: New files.
4182 * Makefile.am
4183 (awt_source_files): Added new files.
4184 * Makefile.in: Regenerated.
4185
4186 2003-03-10 Michael Koch <konqueror@gmx.de>
4187
4188 * java/awt/FocusTraversalPolicy.java
4189 (FocusTraversalPolicy): Documentation added.
4190 (getComponentAfter): Documentation added.
4191 (getComponentBefore): Documentation added.
4192 (getFirstComponent): Documentation added.
4193 (getLastComponent): Documentation added.
4194 (getDefaultComponent): Documentation added.
4195 (getInitialComponent): Documentation added.
4196 * java/awt/ScrollPaneAdjustable.java
4197 (sp): New member variable.
4198 (orientation): New member variable.
4199 (value): New member variable.
4200 (minimum): New member variable.
4201 (maximum): New member variable.
4202 (visibleAmount): New member variable.
4203 (unitIncrement): New member variable.
4204 (blockIncrement): New member variable.
4205 (adjustmentListener): New member variable.
4206 (ScrollPaneAdjustable): Rewrote.
4207 (addAdjustmentListener): New method.
4208 (removeAdjustmentListener): New method.
4209 (getAdjustmentListeners): New method.
4210 (getBlockIncrement): New method.
4211 (getMaximum): New method.
4212 (getMinimum): New method.
4213 (getOrientation): New method.
4214 (getUnitIncrement): New method.
4215 (getValue): New method.
4216 (getVisibleAmount): New method.
4217 (setBlockIncrement): New method.
4218 (setUnitIncrement): New method.
4219 (setMaximum): Implemented.
4220 (setMinimum): Implemented.
4221 (setValue): New method.
4222 (setVisibleAmount): Implemented.
4223 (paramString): New method.
4224 * java/awt/Window.java
4225 (show): Use setVisible(true) instead of super.show().
4226 (hide): Use sevVisible(false) instead of super.hide().
4227 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4228 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4229 (postEvent): Deprecated.
4230 (applyResourceBundle): Deprecated.
4231 (processWindowFocusEvent): New method.
4232 (processWindowStateEvent): New method.
4233 * java/awt/datatransfer/DataFlavor.java: Reindented.
4234 * java/awt/font/TextHitInfo.java
4235 (charIndex): New member variable.
4236 (leadingEdge): New member variable.
4237 (TextHitInfo): New constructor.
4238 (getCharIndex): Implemented.
4239 (isLeadingEdge): Implemented.
4240 (getInsertionIndex): Implemented.
4241 (hashCode): Access charIndex directly.
4242 (equals): Reformated.
4243 (leading): Implemented.
4244 (trailing): Implemented.
4245 (beforeOffset): Implemented.
4246 (afterOffset): Implemented.
4247 (getOtherHit): Implemented.
4248 (getOffsetHit): Implemented.
4249 (toString): Implemented.
4250 * java/awt/image/BufferedImage.java
4251 (BufferedImage): Implements WritableRenderedImage.
4252 (observers): New member variable.
4253 (addTileObserver): New method.
4254 (removeTileObserver): New method.
4255
4256 2003-03-09 Tom Tromey <tromey@redhat.com>
4257
4258 PR libgcj/9934:
4259 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4260 to lseek. Return 0 if we can't compute the value.
4261
4262 2003-03-03 Michael Koch <konqueror@gmx.de>
4263
4264 * java/net/NetworkInterface.java: Merged with classpath.
4265
4266 2003-03-03 Tom Tromey <tromey@redhat.com>
4267
4268 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4269 of bytecode.
4270 (handle_ret_insn): Fail if returning to jsr that appears at end of
4271 bytecode.
4272
4273 2003-03-03 Michael Koch <konqueror@gmx.de>
4274
4275 * Makefile.am
4276 (ordinary_java_source_files):
4277 Added gnu/java/nio/MappedByteFileBuffer.java.
4278 (nat_source_files):
4279 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4280 * Makefile.in: Regenerated.
4281
4282 2003-03-03 Michael Koch <konqueror@gmx.de>
4283
4284 * java/net/DatagramSocket.java
4285 (connect): Merged comment from classpath.
4286 (receive): Merged documentation from classpath.
4287 * java/net/Socket.java
4288 (setSoTimeout): Clarified documentation.
4289 * java/net/URL.java
4290 (getPath): Merged from classpath.
4291 (getUserInfo): Merged from classpath.
4292 (getQuery): Merged from classpath.
4293 * java/net/URLStreamHandler.java
4294 (toExternalForm): Merged from classpath.
4295
4296 2003-03-02 Mark Wielaard <mark@klomp.org>
4297
4298 * java/util/Properties.java (load): Only skip line if the first
4299 character is a comment, whitespaces don't count.
4300
4301 2003-03-02 Michael Koch <konqueror@gmx.de>
4302
4303 * java/net/NetPermission.java:
4304 Merged copyright with classpath.
4305
4306 2003-03-02 Michael Koch <konqueror@gmx.de>
4307
4308 * java/lang/Package.java:
4309 Remerged from classpath.
4310
4311 2003-03-02 Michael Koch <konqueror@gmx.de>
4312
4313 * java/net/HttpURLConnection.java
4314 (HTTP_SERVER_ERROR): Deprecated.
4315 * java/net/MulticastSocket.java
4316 (send): Replaced checkMulticast with appropriate checkPermission call,
4317 deprecated.
4318 * java/net/URLDecoder.java
4319 (decode): Deprecated.
4320 * java/net/URLEncoder.java
4321 (encode): Deprecated.
4322
4323 2003-03-02 Michael Koch <konqueror@gmx.de>
4324
4325 * javax/swing/text/Caret.java
4326 (getMagicCaretPosition): Fixed typo in method name.
4327 * javax/swing/text/DefaultCaret.java
4328 (getMagicCaretPosition): Fixed typo in method name.
4329
4330 2003-03-02 Michael Koch <konqueror@gmx.de>
4331
4332 * java/awt/List.java
4333 (setMultipleSelections): Deprecated.
4334 (delItem): Deprecated.
4335 * java/awt/MenuComponent.java
4336 (getPeer): Deprecated.
4337 * java/awt/ScrollPane.java
4338 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4339 * java/awt/dnd/MouseDragGestureRecognizer.java
4340 (mouseClicked): Added comment.
4341 (mousePressed): Added comment.
4342 (mouseReleased): Added comment.
4343 (mouseEntered): Added comment.
4344 (mouseExited): Added comment.
4345 (mouseDragged): Added comment.
4346 (mouseMoved): Added comment.
4347 * java/awt/event/KeyEvent.java
4348 (KeyEvent): Deprecated.
4349 (setModifiers): Deprecated.
4350
4351 2003-03-02 Michael Koch <konqueror@gmx.de>
4352
4353 * gnu/java/nio/FileChannelImpl.java
4354 (fd): Type FileDescriptor instead of int.
4355 (lengthInternal): Removed.
4356 (FileChannelImpl): Fixed arguments, check type of file object.
4357 (size): Made it native.
4358 (implPosition): New native method.
4359 (implTruncate): New native method.
4360 (position): Implemented.
4361 (truncate): Implemented.
4362 (nio_mmap_file): Changed arguments.
4363 (nio_munmap_file): Changed arguments.
4364 (nio_msync): Changed arguments.
4365 * gnu/java/nio/natFileChannelImpl.cc
4366 (lengthInternal): Removed.
4367 (size): New method.
4368 (implPosition): New method.
4369 (implTruncate): New method.
4370 (nio_mmap_file): Changed arguments.
4371 (nio_munmap_file): Changed arguments.
4372 (nio_msync): Changed arguments.
4373
4374 2003-03-02 Michael Koch <konqueror@gmx.de>
4375
4376 * java/awt/dnd/DropTargetContext.java:
4377 Compile fix: Forgot to commit import.
4378
4379 2003-03-02 Michael Koch <konqueror@gmx.de>
4380
4381 * java/awt/Component.java,
4382 java/awt/ScrollPane.java:
4383 Fixed typos.
4384
4385 2003-03-02 Michael Koch <konqueror@gmx.de>
4386
4387 * java/awt/dnd/DnDEventMulticaster.java: New file.
4388 * java/awt/dnd/DragSource.java
4389 (flavorMap): New member variable.
4390 (dragSourceListener): New member variable.
4391 (dragSourceMotionListener): New member variable.
4392 (getFlavorMap): Implemented.
4393 (createDragGestureRecognizer): Implemented.
4394 (addDragSourceListener): Implemented.
4395 (removeDragSourceListener): Implemented.
4396 (getDragSourceListeners): Implemented.
4397 (addDragSourceMotionListener): Implemented.
4398 (removeDragSourceMotionListener): Implemented.
4399 (getDragSourceMotionListeners): Implemented.
4400 (getListeners): Implemented.
4401 * java/awt/dnd/DragSourceContext.java
4402 (peer): New member variable.
4403 (cursor): New member variable.
4404 (transferable): New member variable.
4405 (trigger): New member variable.
4406 (dragSourceListener): New member variable.
4407 (image): New member variable.
4408 (offset): New member variable.
4409 (DragSourceContext): Implemented.
4410 (getDragSource): Implemented.
4411 (getComponent): Implemented.
4412 (getTrigger): Implemented.
4413 (getSourceActions): Implemented.
4414 (setCursor): Implemented.
4415 (getCursor): Implemented.
4416 (addDragSourceListener): Implemented.
4417 (removeDragSourceListener): Implemented.
4418 (getTransferable): Implemented.
4419 * java/awt/dnd/DropTarget.java
4420 (DropTargetAutoScroller.component): New member variable.
4421 (DropTargetAutoScroller.point): New member variable.
4422 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4423 (DropTargetAutoScroller.updateLocation): Implemented.
4424 (active): Renamed from isActive, defaults to true now.
4425 (component): New member variable.
4426 (flavorMap): New member variable.
4427 (actions): New member variable.
4428 (dropTargetContext): New member variable.
4429 (dropTargetListener): New member variable.
4430 (DropTarget): Implemented.
4431 (getComponent): Implemented.
4432 (setComponent): Implemented.
4433 (setDefaultActions): Implemented.
4434 (getDefaultActions): Implemented.
4435 (setActive): Use active instead of isActive.
4436 (isActive): Use active instead of isActive.
4437 (addDropTargetListener): Implemented.
4438 (removeDropTargetListener): Implemented.
4439 (getFlavorMap): Implemented.
4440 (setFlavorMap): Implemented.
4441 (getDropTargetContext): Implemented.
4442 (createDropTargetContext): Implemented.
4443 (createDropTargetAutoScroller): Implemented.
4444 * java/awt/dnd/DropTargetContext.java
4445 (TransferableProxy.getTransferDataFlavors): Implemented.
4446 (TransferableProxy.isDataFlavorSupported): Implemented.
4447 (TransferableProxy.getTransferData): Implemented.
4448 (dropTarget): New member variable.
4449 (dtcp): New member variable.
4450 (DropTargetContext): New package private constructor.
4451 (getDropTarget): Implemented.
4452 (getComponent): Implemented.
4453 (addNotify): Implemented.
4454 (removeNotify): Implemented.
4455 (getCurrentDataFlavorsAsList): Implemented.
4456 (isDataFlavorSupported): Implemented.
4457 * java/awt/dnd/MouseDragGestureRecognizer.java
4458 (registerListeners): Implemented.
4459 (unregisterListeners): Implemented.
4460 * Makefile.am
4461 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4462 * Makefile.in: Regenerated.
4463
4464 2003-03-02 Michael Koch <konqueror@gmx.de>
4465
4466 * java/awt/Component.java
4467 (eventTypeEnabled): New method.
4468 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4469 * java/awt/Container.java
4470 (changeSupport): New member variable.
4471 (addPropertyChangeListener): New methods.
4472 * java/awt/ContainerOrderFocusTraversalPolicy.java
4473 (ContainerOrderFocusTraversalPolicy): Added comment.
4474 (getComponentAfter): Throw exception, documentation added.
4475 (getComponentBefore): Throw exception, documentation added.
4476 (getFirstComponent): Throw exception, documentation added.
4477 (getLastComponent): Throw exception, documentation added.
4478 (getDefaultComponent): Throw exception, documentation added.
4479 * java/awt/EventQueue.java: Reindented.
4480 * java/awt/FocusTraversalPolicy.java:
4481 (FocusTraversalPolicy): Added comment.
4482 (getComponentAfter): Documentation added.
4483 (getComponentBefore): Documentation added.
4484 (getFirstComponent): Documentation added.
4485 (getLastComponent): Documentation added.
4486 (getDefaultComponent): Documentation added.
4487 (getInitialComponent): Documentation added.
4488 * java/awt/ScrollPane.java
4489 (wheelScrollingEnabled): New member variable.
4490 (ScrollPane): Initialize wheelScollingEnabled.
4491 (eventTypeEnabled): New method.
4492 (isWheelScrollingEnabled): New method.
4493 (setWheelScrollingEnabled): New method.
4494
4495 2003-03-02 Michael Koch <konqueror@gmx.de>
4496
4497 * java/net/DatagramSocket.java
4498 (closed): New member variable.
4499 (close): Use closed variable.
4500 (getInetAddress): No need to call isConnected().
4501 (getPort): No need to call isConnected().
4502 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4503 (isClosed): Reimplemented.
4504
4505 2003-03-02 Michael Koch <konqueror@gmx.de>
4506
4507 * configure.in: Added check for memory mapping of files.
4508 * configure: Regenerated.
4509 * config.h.in: Regenerated.
4510
4511 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4512
4513 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4514 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4515
4516 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4517
4518 * java/io/File.java (normalizePath): Remove trailing separator
4519 on Windows only if path is not of the form "x:\".
4520
4521 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4522 (java::io::File::attr): Change formatting a bit and use
4523 WIN32_EPOCH_MILLIS instead of magic numbers.
4524 (java::io::File::isAbsolute): Path must have at least 3
4525 characters for a UNC network path.
4526 (java::io::File::init_native): Define.
4527 (java::io::File::performCreate): Likewise.
4528 (java::io::File::performSetReadOnly): Likewise.
4529 (java::io::File::performSetLastModified): Likewise.
4530 (java::io::File::performListRoots): Likewise.
4531
4532 2003-03-01 Tom Tromey <tromey@redhat.com>
4533
4534 * java/lang/natObject.cc: Don't include assert.h.
4535 (heavy_lock_obj_finalization_proc): Use JvAssert.
4536 (remove_all_heavy): Likewise.
4537 (_Jv_MonitorEnter): Likewise.
4538 (_Jv_MonitorExit): Likewise.
4539 (wait): Likewise.
4540
4541 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4542
4543 * java/io/File (getAbsolutePath): Prefix drive specifier on
4544 Windows for paths starting with a '\'.
4545 (toURL): Make URL more consistent with what Sun's JDK returns.
4546
4547 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4548 true only if the path is a UNC network path or it starts with a
4549 drive specifier.
4550
4551 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4552 Be prepared to handle either '/' or '\\' in the file path for
4553 Windows if using the "file" protocol.
4554 Canonicalise the file path if using a relative path in the given
4555 context and the "file" protocol.
4556
4557 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4558
4559 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4560 program array element passed to CreateProcess.
4561
4562 2003-03-01 Tom Tromey <tromey@redhat.com>
4563
4564 * java/rmi/registry/RegistryHandler.java: Deprecate.
4565
4566 2003-03-01 Tom Tromey <tromey@redhat.com>
4567
4568 * javax/accessibility/AccessibleEditableText.java,
4569 javax/accessibility/AccessibleHyperlink.java: New versions from
4570 Classpath.
4571
4572 * gnu/java/locale/LocaleInformation_af_ZA.java,
4573 gnu/java/locale/LocaleInformation_ar_AE.java,
4574 gnu/java/locale/LocaleInformation_ar_BH.java,
4575 gnu/java/locale/LocaleInformation_ar_DZ.java,
4576 gnu/java/locale/LocaleInformation_ar_EG.java,
4577 gnu/java/locale/LocaleInformation_ar_IN.java,
4578 gnu/java/locale/LocaleInformation_ar_IQ.java,
4579 gnu/java/locale/LocaleInformation_ar_JO.java,
4580 gnu/java/locale/LocaleInformation_ar_KW.java,
4581 gnu/java/locale/LocaleInformation_ar_LB.java,
4582 gnu/java/locale/LocaleInformation_ar_LY.java,
4583 gnu/java/locale/LocaleInformation_ar_MA.java,
4584 gnu/java/locale/LocaleInformation_ar_OM.java,
4585 gnu/java/locale/LocaleInformation_ar_QA.java,
4586 gnu/java/locale/LocaleInformation_ar_SD.java,
4587 gnu/java/locale/LocaleInformation_ar_SY.java,
4588 gnu/java/locale/LocaleInformation_ar_TN.java,
4589 gnu/java/locale/LocaleInformation_ar_YE.java,
4590 gnu/java/locale/LocaleInformation_be_BY.java,
4591 gnu/java/locale/LocaleInformation_bn_IN.java,
4592 gnu/java/locale/LocaleInformation_br_FR.java,
4593 gnu/java/locale/LocaleInformation_bs_BA.java,
4594 gnu/java/locale/LocaleInformation_ca_ES.java,
4595 gnu/java/locale/LocaleInformation_cs_CZ.java,
4596 gnu/java/locale/LocaleInformation_cy_GB.java,
4597 gnu/java/locale/LocaleInformation_da_DK.java,
4598 gnu/java/locale/LocaleInformation_de_AT.java,
4599 gnu/java/locale/LocaleInformation_de_BE.java,
4600 gnu/java/locale/LocaleInformation_de_CH.java,
4601 gnu/java/locale/LocaleInformation_de_DE.java,
4602 gnu/java/locale/LocaleInformation_de_LU.java,
4603 gnu/java/locale/LocaleInformation_el_GR.java,
4604 gnu/java/locale/LocaleInformation_en_AU.java,
4605 gnu/java/locale/LocaleInformation_en_BW.java,
4606 gnu/java/locale/LocaleInformation_en_CA.java,
4607 gnu/java/locale/LocaleInformation_en_DK.java,
4608 gnu/java/locale/LocaleInformation_en_GB.java,
4609 gnu/java/locale/LocaleInformation_en_HK.java,
4610 gnu/java/locale/LocaleInformation_en_IE.java,
4611 gnu/java/locale/LocaleInformation_en_IN.java,
4612 gnu/java/locale/LocaleInformation_en_NZ.java,
4613 gnu/java/locale/LocaleInformation_en_PH.java,
4614 gnu/java/locale/LocaleInformation_en_SG.java,
4615 gnu/java/locale/LocaleInformation_en_US.java,
4616 gnu/java/locale/LocaleInformation_en_ZA.java,
4617 gnu/java/locale/LocaleInformation_en_ZW.java,
4618 gnu/java/locale/LocaleInformation_es_AR.java,
4619 gnu/java/locale/LocaleInformation_es_BO.java,
4620 gnu/java/locale/LocaleInformation_es_CL.java,
4621 gnu/java/locale/LocaleInformation_es_CO.java,
4622 gnu/java/locale/LocaleInformation_es_CR.java,
4623 gnu/java/locale/LocaleInformation_es_DO.java,
4624 gnu/java/locale/LocaleInformation_es_EC.java,
4625 gnu/java/locale/LocaleInformation_es_ES.java,
4626 gnu/java/locale/LocaleInformation_es_GT.java,
4627 gnu/java/locale/LocaleInformation_es_HN.java,
4628 gnu/java/locale/LocaleInformation_es_MX.java,
4629 gnu/java/locale/LocaleInformation_es_NI.java,
4630 gnu/java/locale/LocaleInformation_es_PA.java,
4631 gnu/java/locale/LocaleInformation_es_PE.java,
4632 gnu/java/locale/LocaleInformation_es_PR.java,
4633 gnu/java/locale/LocaleInformation_es_PY.java,
4634 gnu/java/locale/LocaleInformation_es_SV.java,
4635 gnu/java/locale/LocaleInformation_es_US.java,
4636 gnu/java/locale/LocaleInformation_es_UY.java,
4637 gnu/java/locale/LocaleInformation_es_VE.java,
4638 gnu/java/locale/LocaleInformation_et_EE.java,
4639 gnu/java/locale/LocaleInformation_eu_ES.java,
4640 gnu/java/locale/LocaleInformation_fa_IR.java,
4641 gnu/java/locale/LocaleInformation_fi_FI.java,
4642 gnu/java/locale/LocaleInformation_fo_FO.java,
4643 gnu/java/locale/LocaleInformation_fr_BE.java,
4644 gnu/java/locale/LocaleInformation_fr_CA.java,
4645 gnu/java/locale/LocaleInformation_fr_CH.java,
4646 gnu/java/locale/LocaleInformation_fr_FR.java,
4647 gnu/java/locale/LocaleInformation_fr_LU.java,
4648 gnu/java/locale/LocaleInformation_ga_IE.java,
4649 gnu/java/locale/LocaleInformation_gd_GB.java,
4650 gnu/java/locale/LocaleInformation_gl_ES.java,
4651 gnu/java/locale/LocaleInformation_gv_GB.java,
4652 gnu/java/locale/LocaleInformation_he_IL.java,
4653 gnu/java/locale/LocaleInformation_hi_IN.java,
4654 gnu/java/locale/LocaleInformation_hr_HR.java,
4655 gnu/java/locale/LocaleInformation_hu_HU.java,
4656 gnu/java/locale/LocaleInformation_id_ID.java,
4657 gnu/java/locale/LocaleInformation_it_CH.java,
4658 gnu/java/locale/LocaleInformation_it_IT.java,
4659 gnu/java/locale/LocaleInformation_iw_IL.java,
4660 gnu/java/locale/LocaleInformation_ja_JP.java,
4661 gnu/java/locale/LocaleInformation_ka_GE.java,
4662 gnu/java/locale/LocaleInformation_kl_GL.java,
4663 gnu/java/locale/LocaleInformation_ko_KR.java,
4664 gnu/java/locale/LocaleInformation_kw_GB.java,
4665 gnu/java/locale/LocaleInformation_lt_LT.java,
4666 gnu/java/locale/LocaleInformation_lv_LV.java,
4667 gnu/java/locale/LocaleInformation_mi_NZ.java,
4668 gnu/java/locale/LocaleInformation_mk_MK.java,
4669 gnu/java/locale/LocaleInformation_mr_IN.java,
4670 gnu/java/locale/LocaleInformation_mt_MT.java,
4671 gnu/java/locale/LocaleInformation_nl_BE.java,
4672 gnu/java/locale/LocaleInformation_nl_NL.java,
4673 gnu/java/locale/LocaleInformation_nn_NO.java,
4674 gnu/java/locale/LocaleInformation_no_NO.java,
4675 gnu/java/locale/LocaleInformation_oc_FR.java,
4676 gnu/java/locale/LocaleInformation_pl_PL.java,
4677 gnu/java/locale/LocaleInformation_pt_BR.java,
4678 gnu/java/locale/LocaleInformation_pt_PT.java,
4679 gnu/java/locale/LocaleInformation_ro_RO.java,
4680 gnu/java/locale/LocaleInformation_ru_RU.java,
4681 gnu/java/locale/LocaleInformation_ru_UA.java,
4682 gnu/java/locale/LocaleInformation_se_NO.java,
4683 gnu/java/locale/LocaleInformation_sk_SK.java,
4684 gnu/java/locale/LocaleInformation_sl_SI.java,
4685 gnu/java/locale/LocaleInformation_sq_AL.java,
4686 gnu/java/locale/LocaleInformation_sr_YU.java,
4687 gnu/java/locale/LocaleInformation_sv_FI.java,
4688 gnu/java/locale/LocaleInformation_sv_SE.java,
4689 gnu/java/locale/LocaleInformation_ta_IN.java,
4690 gnu/java/locale/LocaleInformation_te_IN.java,
4691 gnu/java/locale/LocaleInformation_tg_TJ.java,
4692 gnu/java/locale/LocaleInformation_tl_PH.java,
4693 gnu/java/locale/LocaleInformation_tr_TR.java,
4694 gnu/java/locale/LocaleInformation_uk_UA.java,
4695 gnu/java/locale/LocaleInformation_ur_PK.java,
4696 gnu/java/locale/LocaleInformation_uz_UZ.java,
4697 gnu/java/locale/LocaleInformation_vi_VN.java,
4698 gnu/java/locale/LocaleInformation_yi_US.java,
4699 gnu/java/locale/LocaleInformation_zh_CN.java,
4700 gnu/java/locale/LocaleInformation_zh_HK.java,
4701 gnu/java/locale/LocaleInformation_zh_SG.java,
4702 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4703 info; from Classpath.
4704
4705 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4706 isPaintPending): New methods.
4707 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4708 setMaximizedBounds): New methods.
4709 (beginLayout, endLayout, isPaintPending): Likewise.
4710 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4711 (requestFocus): Likewise.
4712 (isObscured): Likewise.
4713 (canDetermineObscurity): Likewise.
4714 (coalescePaintEvent): Likewise.
4715 (updateCursorImmediately): Likewise.
4716 (createVolatileImage): Likewise.
4717 (handlesWheelScrolling): Likewise.
4718 (createBuffers): Likewise.
4719 (getBackBuffer): Likewise.
4720 (flip): Likewise.
4721 (destroyBuffers): Likewise.
4722
4723 * Makefile.in: Rebuilt.
4724 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4725 RobotPeer.java.
4726 * gnu/java/awt/GLightweightPeer.java,
4727 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4728 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4729 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4730 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4731 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4732 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4733 java/awt/dnd/peer/DragSourceContextPeer.java,
4734 java/awt/dnd/peer/DropTargetContextPeer.java,
4735 java/awt/peer/ButtonPeer.java,
4736 java/awt/peer/CheckboxMenuItemPeer.java,
4737 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4738 java/awt/peer/ComponentPeer.java,
4739 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4740 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4741 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4742 java/awt/peer/MenuBarPeer.java,
4743 java/awt/peer/MenuComponentPeer.java,
4744 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4745 java/awt/peer/PopupMenuPeer.java,
4746 java/awt/peer/ScrollPanePeer.java,
4747 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4748 java/awt/peer/TextComponentPeer.java,
4749 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4750 New versions from Classpath.
4751 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4752 * java/awt/peer/RobotPeer.java: Likewise.
4753
4754 2003-03-01 Mark Wielaard <mark@klomp.org>
4755
4756 * java/io/ObjectInputStream.java: Reindent.
4757 * java/io/ObjectOutputStream.java: Likewise.
4758
4759 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4760
4761 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4762 jvalue for each argument. Simplify.
4763 * testsuite/libjava.jni/calls.c (docall),
4764 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4765 misalignment.
4766
4767 2003-02-28 Mark Wielaard <mark@klomp.org>
4768
4769 * Makefile.am (nat_source_files): Remove
4770 java/io/natObjectOutputStream.cc.
4771 * Makefile.in: Regenerated.
4772 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4773 * java/io/ObjectStreamField.java (typename): New field.
4774 (ObjectStreamField(String, Class)): Initialize new field.
4775 (ObjectStreamField(String, String)): New Constructor.
4776 (getTypeCode): Use new field.
4777 (getTypeString): Use new field.
4778 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4779 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4780 Handle reading of Proxy classes. Never drain(), just write
4781 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4782 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4783 (flush): Call flush(), not just drain().
4784 (writeBoolean): Always use blockDataOutput.
4785 (writeByte): Likewise.
4786 (writeShort): Likewise.
4787 (writeChar): Likewise.
4788 (writeInt): Likewise.
4789 (writeLong): Likewise.
4790 (writeFloat): Likewise.
4791 (writeDouble): Likewise.
4792 (writeBytes): Likewise.
4793 (putfield (put(String,Object))): Throw IllegalArgumentException if
4794 field cannot be found.
4795 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4796 (writeArraySizeAndElements): Write byte[] in one go.
4797 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4798 set BlockDataMode to false.
4799 (annotateProxyClass): New method.
4800 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4801 (getField): No longer native.
4802 (getMethod): Likewise.
4803 (setBlockDataMode): Always drain() on switch, return old mode.
4804 (static): New static code block.
4805 * java/io/natObjectOutputStream.cc: Removed.
4806 * java/io/ObjectInputStream.java (getField): No longer native.
4807 (getMethod): Likewise.
4808 (readObject): Remember and reset old BlockDataMode. Track whether
4809 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4810 TC_LONGSTRING.
4811 (defaultReadObject): Set BlockDataMode to false during readFields.
4812 (resolveClass): Create new SecurityManager if necessary.
4813 Use Class.forName() if null ClassLoader found.
4814 (read(byte[],int,int): Copy remaining bytes to data before calling
4815 readNextBlock().
4816 (readFields): Set and reset BlockDataMode on call_read_method.
4817 Catch NoSuchFieldErrors.
4818 (setBlockDataMode): Return old mode.
4819 (static): New static code block.
4820 * java/io/natObjectInputStream.cc (getField): Removed.
4821 (getMethod): Likewise.
4822
4823 2003-02-27 Michael Koch <konqueror@gmx.de>
4824
4825 * java/beans/Beans.java,
4826 java/beans/FeatureDescriptor.java
4827 java/beans/PropertyEditorManager.java:
4828 Reformated to GNU style.
4829
4830 2003-02-25 Michael Koch <konqueror@gmx.de>
4831
4832 * gnu/java/nio/MappedByteFileBuffer.java,
4833 gnu/java/nio/natMappedByteFileBuffer.cc:
4834 New files, both are not compiled yet to get not noncompiling CVS.
4835
4836 2003-02-24 Tom Tromey <tromey@redhat.com>
4837
4838 * java/util/prefs/AbstractPreferences.java (isUserNode):
4839 Implemented.
4840
4841 2003-02-24 Tom Tromey <tromey@redhat.com>
4842
4843 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4844 Deprecate.
4845 * java/lang/Thread.java (resume): Deprecate.
4846 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4847 in @deprecated.
4848
4849 2003-02-23 Tom Tromey <tromey@redhat.com>
4850
4851 * Makefile.in: Rebuilt.
4852 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4853
4854 2003-02-23 Tom Tromey <tromey@redhat.com>
4855
4856 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4857 libraries): Removed.
4858 (add_library): Removed.
4859 (_load): Don't call add_library.
4860 (loadLibraryInternal): Likewise.
4861 (init): Likewise.
4862 (lookup_data): New struct.
4863 (find_symbol): New function.
4864 (_Jv_FindSymbolInExecutable): Use it.
4865
4866 2002-02-21 Anthony Green <green@redhat.com>
4867
4868 * java/lang/Thread.java (Thread): New constructor taking stack
4869 size parameter (ignored for now).
4870 * Many methods: Merged GNU Classpath documentation.
4871
4872 * java/lang/Class.java (finalize): throws a Throwable.
4873
4874 2003-02-21 Mark Wielaard <mark@klomp.org>
4875
4876 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4877 argument is null.
4878
4879 2003-02-21 Mark Wielaard <mark@klomp.org>
4880
4881 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4882 then 65535 chars throw IllegalArgumentException.
4883
4884 2003-02-21 Mark Wielaard <mark@klomp.org>
4885
4886 * java/util/zip/ZipFile.java (finalize): New method.
4887
4888 2003-02-21 Michael Koch <konqueror@gmx.de>
4889
4890 * gnu/java/nio/natSocketChannelImpl.cc:
4891 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4892 <cato@df.lth.se> for pointing to it.
4893
4894 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4895
4896 * java/math/BigInteger.java (euclidInv): Take result array as an
4897 argument. Updated all callers.
4898 (modInverse): Removed unused variables.
4899
4900 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4901
4902 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4903 config.status.
4904 * configure: Rebuilt.
4905
4906 2003-02-19 Michael Koch <konqueror@gmx.de>
4907
4908 * gnu/java/nio/natSocketChannelImpl.cc:
4909 Added support for platforms without network support.
4910
4911 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4912
4913 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4914 after config.h. Use <> for consistency.
4915 * java/lang/natObject.cc: Likewise.
4916 * java/lang/natRuntime.cc: Likewise.
4917 * java/lang/natSystem.cc: Likewise.
4918 * java/util/natTimeZone.cc: Likewise.
4919 * win32.cc: Likewise.
4920 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4921 listen, write, read): Undef to avoid interference from OS macros.
4922
4923 2003-02-19 Michael Koch <konqueror@gmx.de>
4924
4925 * gnu/java/nio/ByteBufferImpl.java
4926 (ByteBufferImpl): Renamed two variables.
4927 * gnu/java/nio/CharBufferImpl.java
4928 (CharBufferImpl): Renamed two variables.
4929 * gnu/java/nio/DoubleBufferImpl.java
4930 (DoubleBufferImpl): Renamed two variables.
4931 * gnu/java/nio/FloatBufferImpl.java
4932 (FloatBufferImpl): Renamed two variables.
4933 * gnu/java/nio/IntBufferImpl.java
4934 (IntBufferImpl): Renamed two variables.
4935 * gnu/java/nio/LongBufferImpl.java
4936 (LongBufferImpl): Renamed two variables.
4937 * gnu/java/nio/ShortBufferImpl.java
4938 (ShortBufferImpl): Renamed two variables.
4939 * java/nio/CharBuffer.java
4940 (wrap): Fixed arguments to CharBufferImpl constructor.
4941 (hasArray): Only not read-only buffers have backing arrays.
4942 (length): Documentation added.
4943 (subSequence): Documentation added.
4944 * java/nio/DoubleBuffer.java
4945 (hasArray): Only not read-only buffers have backing arrays.
4946 * java/nio/FloatBuffer.java
4947 (hasArray): Only not read-only buffers have backing arrays.
4948 * java/nio/IntBuffer.java
4949 (hasArray): Only not read-only buffers have backing arrays.
4950 * java/nio/LongBuffer.java
4951 (hasArray): Only not read-only buffers have backing arrays.
4952 * java/nio/ShortBuffer.java
4953 (hasArray): Only not read-only buffers have backing arrays.
4954
4955 2003-02-19 Michael Koch <konqueror@gmx.de>
4956
4957 * javax/accessibility/AccessibleContext.java
4958 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4959
4960 2003-02-19 Michael Koch <konqueror@gmx.de>
4961
4962 * java/awt/ScrollPaneAdjustable.java: Reformated.
4963
4964 2003-02-19 Michael Koch <konqueror@gmx.de>
4965
4966 * gnu/awt/j2d/Graphics2DImpl.java
4967 (getFontRenderContext): New method.
4968 (drawGlyphVector): New method.
4969 * java/awt/Graphics2D.java
4970 (getFontRenderContext): New abstract method.
4971 (drawGlyphVector): New abstract method.
4972
4973 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4974
4975 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4976 if necessary.
4977
4978 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4979 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4980 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4981 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4982 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4983 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4984 (setFont, gtkSetFont): add.
4985 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4986 Propagate font to peer. (setFont): add FIXME comment.
4987
4988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4989 (gtkTextGetSize): fix height, width computation.
4990
4991 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4992 Make X font name a bit less bogus.
4993
4994 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4995 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4996
4997 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4998 (processAdjustmentEvent): Adjust value.
4999
5000 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
5001 logic errors.
5002
5003 * java/awt/Component.java (setVisible, show, hide): Call show and
5004 hide methods in subclasses.
5005 (getPreferredSize): don't set prefSize before we have peer.
5006
5007 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
5008 Guess (0,0) if we don't have peer.
5009
5010
5011 2003-02-18 Michael Koch <konqueror@gmx.de>
5012
5013 * java/nio/channels/FileChannel.java
5014 (toString): New implementation, added documentation.
5015 (map): Added exception documentation.
5016 (size): Added exception documentation.
5017 (write): New methods, documentation work.
5018 (read): New methods, documentation work.
5019 (implCloseChannel): Rewrote exception documentation.
5020 (force): Throws IOException, added documentation.
5021 (lock): New methods.
5022 (tryLock): New methods.
5023 (position): New methods.
5024 (transferTo): New method.
5025 (transferFrom): New method.
5026 (truncate): New method.
5027 * java/nio/channels/spi/SelectorProvider.java
5028 (provider): Implemented.
5029 * Makefile.am
5030 (ordinary_java_source_files): Added the following files:
5031 gnu/java/nio/DatagramChannelImpl.java
5032 gnu/java/nio/FileChannelImpl.java
5033 gnu/java/nio/PipeImpl.java
5034 gnu/java/nio/SelectionKeyImpl.java
5035 gnu/java/nio/SelectorImpl.java
5036 gnu/java/nio/SelectorProviderImpl.java
5037 gnu/java/nio/ServerSocketChannelImpl.java
5038 gnu/java/nio/SocketChannelImpl.java
5039 java/nio/channels/FileLock.java
5040 (nat_java_source_files): Added the following files:
5041 gnu/java/nio/natFileChannelImpl.cc
5042 gnu/java/nio/natSelectorImpl.cc
5043 gnu/java/nio/natSocketChannelImpl.cc
5044 * Makefile.in: Regenerated.
5045
5046 2003-02-17 Tom Tromey <tromey@redhat.com>
5047
5048 * java/awt/image/ColorModel.java: Re-merged with Classpath.
5049 * java/awt/image/ImageFilter.java: Likewise.
5050
5051 2003-02-17 Raif S. Naffah <raif@fl.net.au>
5052
5053 * java/math/BigInteger.java (euclidInv): Return array of
5054 `BigInteger's. Changed all callers.
5055
5056 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5057
5058 * java/util/Properties.java (store): Move the code formerly in
5059 list(), into this method.
5060 (list (PrintStream)): Just call list (PrintWriter) with a
5061 PrintWriter object constructed from the given PrintStream object.
5062 (list (PrintWriter)): Emulate the output of Properties.list()
5063 as found in JDK 1.3/1.4.
5064
5065 2003-02-17 Michael Koch <konqueror@gmx.de>
5066
5067 * java/net/DatagramSocket.java
5068 (connect): Merged with classpath.
5069 (disconnect): Merged documentation with classpath.
5070 (receice): Merged documentation with classpath.
5071 (send): Merged documentation with classpath.
5072
5073 2003-02-17 Michael Koch <konqueror@gmx.de>
5074
5075 * java/awt/dnd/DragSourceContext.java
5076 (addDragSourceListener): Added documentation.
5077 * java/awt/dnd/DragSourceDragEvent.java
5078 (serialVersionUID): New member variable.
5079 (getDropAction): Reformated.
5080 * java/awt/dnd/DragSourceDropEvent.java
5081 (serialVersionUID): New member variable.
5082 (dropSuccess): Renamed from success for serialization issues.
5083 * java/awt/dnd/DragSourceEvent.java
5084 (serialVersionUID): New member variable.
5085 * java/awt/dnd/DropTarget.java
5086 (serialVersionUID): New member variable.
5087 (DropTarget): Implemented, documentation reworked.
5088 (setComponent): Documentation added.
5089 (getComponent): Documentation added.
5090 (setDefaultActions): Documentation added.
5091 (getDefaultActions): Documentation added.
5092 (addDropTargetListener): Documentation added.
5093 * java/awt/dnd/DropTargetContext.java
5094 (DropTargetContext): Documentation added.
5095 (TransferableProxy.TransferableProxy): New method.
5096 (dropComplete): Fixed documentation.
5097 (getTransferable): Fixed documentation.
5098 (createTransferableProxy): Implemented.
5099 * java/awt/dnd/DropTargetDragEvent.java
5100 (DropTargetDragEvent): Documentation added.
5101 (serialVersionUID): New member variable.
5102 (DropTargetDragEvent): Throw exceptions, documentation added.
5103 (acceptDrag): Implemented.
5104 (getCurrentDataFlavors): Implemented.3yy
5105 (getCurrentDataFlavorsAsList): Implemented.
5106 (isDataFlavorSupported): Implemented.
5107 (rejectDrag): Implemented.
5108 * java/awt/dnd/DropTargetDropEvent.java
5109 (DropTargetDropEvent): Documentation added.
5110 (serialVersionUID): New member variable.
5111 (actions): Renamed from srcActions for serialization issues.
5112 (isLocalTx): Renamed from isLocalTx for serialization issues.
5113 (DropTargetDropEvent): New implementation, throw exceptions,
5114 documentation added.
5115 (getCurrentDataFlavors): Implemented.
5116 (getCurrentDataFlavorsAsList): Implemented.
5117 (isDataFlavorSupported): Implemented.
5118 (getSourceActions): Implemented.
5119 (getDropAction): Implemented.
5120 (getTransferable): Implemented.
5121 (acceptDrop): Implemented.
5122 (rejectDrop): Implemented.
5123 * java/awt/dnd/DropTargetListener.java
5124 (drop): Fixed documentation.
5125 * java/awt/dnd/MouseDragGestureRecognizer.java
5126 (MouseDragGestureRecognizer): Documentation added.
5127
5128 2003-02-17 Michael Koch <konqueror@gmx.de>
5129
5130 * java/awt/font/FontRenderContext.java,
5131 java/awt/font/ShapeGraphicAttribute.java,
5132 java/awt/font/MultipleMaster.java,
5133 java/awt/font/TransformAttribute.java,
5134 java/awt/font/GlyphJustificationInfo.java,
5135 java/awt/font/LineBreakMeasurer.java,
5136 java/awt/font/TextMeasurer.java,
5137 java/awt/font/TextLayout.java,
5138 java/awt/font/LineMetrics.java,
5139 java/awt/font/TextAttribute.java,
5140 java/awt/font/GlyphMetrics.java,
5141 java/awt/font/OpenType.java,
5142 java/awt/font/GlyphVector.java,
5143 java/awt/font/GraphicAttribute.java,
5144 java/awt/font/ImageGraphicAttribute.java,
5145 java/awt/font/NumericShaper.java: New files.
5146 * Makefile.am
5147 (awt_java_source_files): Added the following files:
5148 java/awt/font/FontRenderContext.java
5149 java/awt/font/ShapeGraphicAttribute.java
5150 java/awt/font/MultipleMaster.java
5151 java/awt/font/TransformAttribute.java
5152 java/awt/font/GlyphJustificationInfo.java
5153 java/awt/font/LineBreakMeasurer.java
5154 java/awt/font/TextMeasurer.java
5155 java/awt/font/TextLayout.java
5156 java/awt/font/LineMetrics.java
5157 java/awt/font/TextAttribute.java
5158 java/awt/font/GlyphMetrics.java
5159 java/awt/font/OpenType.java
5160 java/awt/font/GlyphVector.java
5161 java/awt/font/GraphicAttribute.java
5162 java/awt/font/ImageGraphicAttribute.java
5163 java/awt/font/NumericShaper.java
5164 * Makefile.in: Regenerated.
5165
5166 2003-02-17 Michael Koch <konqueror@gmx.de>
5167
5168 * java/awt/print/Paper.java
5169 (Paper): Implements Cloneable.
5170 * java/awt/print/PrinterJob.java
5171 (setJobName): Return value must be void.
5172 (print): Throws PrinterException.
5173
5174 2003-02-16 Tom Tromey <tromey@redhat.com>
5175
5176 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5177 variable.
5178
5179 2003-02-15 Michael Koch <konqueror@gmx.de>
5180
5181 * java/awt/datatransfer/DataFlavor.java
5182 (isRepresentationClassByteBuffer): Removed try-catch block.
5183 (isRepresentationClassCharBuffer): Removed try-catch block.
5184 (isRepresentationClassReader): Removed try-catch block.
5185
5186 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5187
5188 * java/nio/charset/Charset.java
5189 (isRegistered): Fixed method args and implementation.
5190 * java/nio/charset/CharsetEncoder.java
5191 (unmappableCharacterAction): New method.
5192
5193 2003-02-15 Michael Koch <konqueror@gmx.de>
5194
5195 * java/awt/CheckboxMenuItem.java
5196 (CheckBoxMenuItem): Dont implement Serializable.
5197 (getListeners): New method,
5198 (getItemListeners): New method.
5199 * java/awt/Choice.java
5200 (getListeners): New method,
5201 (getItemListeners): New method.
5202 * java/awt/Container.java
5203 (getListeners): Added exception documentation.
5204 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5205 (getFocusTraversalKeys): Added documentation.
5206 (areFocusTraversalKeysSet): Added documentation.
5207 (applyComponentOrientation): Added documentation.
5208 * java/awt/ContainerOrderFocusTraversalPolicy.java
5209 (implicitDownCycleTraversal): Renamed from downCycle for
5210 serialization.
5211 (ContainerOrderFocusTraversalPolicy): Added documentation.
5212 (accept): Reformated.
5213 * java/awt/Dialog.java
5214 (Dialog): Dont implement Serializable.
5215 (Dialog): Added documentation.
5216 * java/awt/Font.java
5217 (Font): Dont use absolute class name.
5218 * java/awt/Frame.java
5219 (Frame): Font implement Serializable.
5220 * java/awt/List.java
5221 (getListeners): New method,
5222 (getActionListeners): New method.
5223 (getItemListeners): New method.
5224 * java/awt/Menu.java
5225 (countItems): New deprecated method.
5226 * java/awt/Scrollbar.java
5227 (getListeners): New method,
5228 (getAdjustmentListeners): New method,
5229 * java/awt/TextComponent.java
5230 (getListeners): New method,
5231 (getTextListeners): New method,
5232 * java/awt/TextField.java
5233 (getListeners): New method,
5234 (getActionListeners): New method.
5235 * java/awt/Window.java
5236 (windowFocusListener): New member variable.
5237 (windowStateListener): New member variable.
5238 (getWindowFocusListeners): New method.
5239 (getWindowStateListeners): New method.
5240 (addWindowFocusListener): New method.
5241 (addWindowStateListener): New method.
5242 (removeWindowFocusListener): New method.
5243 (removeWindowStateListener): New method.
5244 * java/awt/datatransfer/DataFlavor.java
5245 (isRepresentationClassByteBuffer): New method.
5246 (isRepresentationClassCharBuffer): New method.
5247 (isRepresentationClassReader): New method.
5248
5249 2003-02-14 Mark Wielaard <mark@klomp.org>
5250
5251 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5252 zero when there is an exponent and the significant is zero.
5253 (divide): Always set scale to newScale even in special ZERO case.
5254
5255 2003-02-14 Tom Tromey <tromey@redhat.com>
5256
5257 * java/lang/System.java (properties): Use Properties.clone.
5258 (setProperties): Likewise.
5259
5260 2003-02-14 Michael Koch <konqueror@gmx.de>
5261
5262 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5263 * gnu/java/nio/ServerSocketChannelImpl.java
5264 (SocketAccept): Removed.
5265 (accept): Commented out use of SocketAccept.
5266
5267 2003-02-13 Tom Tromey <tromey@redhat.com>
5268
5269 * verify.cc (state::seen_subrs): New field.
5270 (state::state): Initialize it.
5271 (state::clean_subrs): New method.
5272 (state::~state): Call it.
5273 (state::copy): Copy subroutine list.
5274 (state::add_subr): New method.
5275 (state::merge): Only register a change if the current subroutine
5276 hasn't yet been noted.
5277
5278 2003-02-13 Mark Wielaard <mark@klomp.org>
5279
5280 * java/io/InputStreamReader.java (getEncoding): Return null when
5281 closed.
5282 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5283
5284 2003-02-13 Mark Wielaard <mark@klomp.org>
5285
5286 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5287 is zero.
5288
5289 2003-02-13 Mark Wielaard <mark@klomp.org>
5290
5291 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5292 next byte cannot be buffered.
5293
5294 2003-02-13 Michael Koch <konqueror@gmx.de>
5295
5296 * java/awt/Label.java
5297 (Label): Don't implement Serializable directly.
5298 (addNotify): Fixed typo in documentation.
5299 * java/awt/List.java
5300 (List): Don't implement Serializable directly.
5301 * java/awt/PopupMenu.java
5302 (PopupMenu): Don't implement Serializable directly.
5303 * java/awt/ScrollPane.java
5304 (ScrollPane): Don't implement Serializable directly.
5305 * java/awt/Scrollbar.java
5306 (Scrollbar): Don't implement Serializable directly.
5307 * java/awt/TextArea.java
5308 (preferredSize): Fixed method arguments.
5309 * java/awt/TextField.java
5310 (TextField): Don't implement Serializable directly.
5311 * java/awt/color/ICC_ColorSpace.java
5312 (fromCIOXYZ): Documentation added.
5313 (getMinValue): Documentation added.
5314 (getMaxValue): Documentation added.
5315 * java/awt/datatransfer/DataFlavor.java
5316 (isMimeTypeEqual): May not be final.
5317 (clone): Throws CloneNotSupportedException.
5318 (getReaderForText): Don't throws UnsupportedEncodingException.
5319
5320 2003-02-13 Michael Koch <konqueror@gmx.de>
5321
5322 * gnu/java/awt/peer/gtk/GdkGraphics.java
5323 (drawString): New stubbed method.
5324 * java/awt/Graphics.java
5325 (drawString): New method.
5326
5327 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5328
5329 PR libgcj/9271:
5330 * java/security/SecureRandom.java (next): Avoid bias in results.
5331
5332 2003-02-13 Michael <konqueror@gmx.de>
5333
5334 * gnu/java/nio/FileChannelImpl.java
5335 (lengthInternal): Must be native.
5336 (size): Check if channel is already closed.
5337 (implCloseChannel): Reformated.
5338 (read): w was unused, removed it.
5339 (read): Removed.
5340 (read): New method.
5341 (write): New method.
5342 (map): Check arguments.
5343 (force): Throws IOException, check if channel is closed.
5344 (transferTo): New method.
5345 (transferFrom): New method.
5346 (lock): New method.
5347 (tryLock): New method.
5348 (position): New method.
5349 (truncate): New method.
5350 (nio_mmap_file): Uncommented.
5351 (nio_munmap_file): Uncommented.
5352 (nio_msync): Uncommented.
5353 * gnu/java/nio/natFileChannelImpl.cc: New file.
5354
5355 2003-02-13 Michael Koch <konqueror@gmx.de>
5356
5357 * java/nio/ByteBuffer.java
5358 (endian): New member variable.
5359 (get): New methods.
5360 (equals): New method.
5361 (compareTo): New method.
5362 (order): New methods.
5363 (compact): New method.
5364 (isDirect): New method.
5365 (slice): New method.
5366 (duplicate): New method.
5367 (asReadOnlyBuffer): New method.
5368 (asCharBuffer): New method.
5369 (asDoubleBuffer): New method.
5370 (asFloatBuffer): New method.
5371 (asIntBuffer): New method.
5372 (asLongBuffer): New method.
5373 (asShortBuffer): New method.
5374 (get*): New methods.
5375 (put*): New methods.
5376 (toString): New method.
5377 * java/nio/CharBuffer.java
5378 (CharBuffer): Implement Comparable instead of Cloneable.
5379 (get): May not be final.
5380 (put): May not be final.
5381
5382 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5383
5384 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5385 lastIndexOf( ) instead of indexOf( ) to find the colon before
5386 the line number, because Win32 file names might contain a
5387 drive letter and a colon at the start of an absolute path.
5388
5389 2003-02-13 Michael Koch <konqueror@gmx.de>
5390
5391 * gnu/java/nio/natSocketChannelImpl.cc
5392 (SocketConnect): This is not implemented yet.
5393 (SocketBind): This is not implemented yet.
5394
5395 2003-02-13 Michael Koch <konqueror@gmx.de>
5396
5397 * gnu/java/nio/natByteBufferImpl.cc,
5398 gnu/java/nio/natCharBufferImpl.cc,
5399 gnu/java/nio/natDoubleBufferImpl.cc,
5400 gnu/java/nio/natFloatBufferImpl.cc,
5401 gnu/java/nio/natIntBufferImpl.cc,
5402 gnu/java/nio/natLongBufferImpl.cc,
5403 gnu/java/nio/natShortBufferImpl.cc:
5404 Added copyright and license.
5405 * java/nio/DoubleBuffer.java,
5406 java/nio/FloatBuffer.java,
5407 java/nio/IntBuffer.java,
5408 java/nio/LongBuffer.java,
5409 java/nio/ShortBuffer.java
5410 (array): Throw exceptions.
5411 (arrayOffset): Throw exceptions.
5412
5413 2003-02-13 Michael Koch <konqueror@gmx.de>
5414
5415 * gnu/java/util/prefs/FileBasedFactory.java,
5416 gnu/java/util/prefs/MemmoryBasedFactory.java,
5417 gnu/java/util/prefs/MemoryBasedPreferences.java,
5418 gnu/java/util/prefs/NodeReader.java,
5419 gnu/java/util/prefs/NodeWriter.java,
5420 java/util/prefs/AbstractPreferences.java,
5421 java/util/prefs/BackingStoreException.java,
5422 java/util/prefs/InvalidPreferencesFormatException.java,
5423 java/util/prefs/NodeChangeEvent.java,
5424 java/util/prefs/NodeChangeListener.java,
5425 java/util/prefs/PreferenceChangeEvent.java,
5426 java/util/prefs/PreferenceChangeListener.java,
5427 java/util/prefs/Preferences.java,
5428 java/util/prefs/PreferencesFactory.java:
5429 New files, all merged from classpath.
5430 * Makefile.am
5431 (ordinary_java_source_files): Added the following files:
5432 gnu/java/util/prefs/FileBasedFactory.java,
5433 gnu/java/util/prefs/MemmoryBasedFactory.java,
5434 gnu/java/util/prefs/MemoryBasedPreferences.java,
5435 gnu/java/util/prefs/NodeReader.java,
5436 gnu/java/util/prefs/NodeWriter.java,
5437 (core_java_source_files): Added the following files:
5438 java/util/prefs/AbstractPreferences.java,
5439 java/util/prefs/BackingStoreException.java,
5440 java/util/prefs/InvalidPreferencesFormatException.java,
5441 java/util/prefs/NodeChangeEvent.java,
5442 java/util/prefs/NodeChangeListener.java,
5443 java/util/prefs/PreferenceChangeEvent.java,
5444 java/util/prefs/PreferenceChangeListener.java,
5445 java/util/prefs/Preferences.java,
5446 java/util/prefs/PreferencesFactory.java
5447 * Makefile.in: Regenerated.
5448
5449 2003-02-13 Michael Koch <konqueror@gmx.de>
5450
5451 * java/net/NetPermission.java
5452 (NetPermission): Make doucmentation match the method declaration.
5453 * java/net/NetworkInterface.java
5454 (equals): Reformated for GNU coding style.
5455 * java/net/ServerSocket.java: Merged with classpath.
5456 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5457 * java/net/SocketImpl.java
5458 (localPort): Merged with classpath (initialize with -1).
5459 * java/net/SocketPermission.java: Merged with classpath (reindented).
5460 * java/net/URLDecoder.java: Merged with classpath (reindented).
5461
5462 2003-02-13 Michael Koch <konqueror@gmx.de>
5463
5464 * java/awt/GridBagConstraints.java
5465 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5466 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5467 * java/awt/KeyboardFocusManager.java
5468 (setGlobalCurrentFocusCycleRoot): Must be public.
5469 * java/awt/MenuComponent.java
5470 (MenuComponent): Must be public.
5471 * java/awt/Toolkit.java:
5472 Added some empty lines to make documentation more readable.
5473 (getFontPeer): Added @deprecated.
5474 (getColorModel): Added exception documentation.
5475 (getProperty): Fixed documentation.
5476
5477 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5478
5479 * configure.host (alpha*-*): Default to -mieee.
5480 * configure.in (IEEESPEC): New.
5481 * libgcj.spec.in (jc1): Add IEEESPEC.
5482 * configure: Rebuild.
5483
5484 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5485
5486 * include/win32.h: Include ws2tcpip.h instead of
5487 winsock.h to obtain definition of the socklen_t type.
5488 Remove IP_TOS definition - not needed with ws2tcpip.h
5489 (_Jv_connect): Correct slight formatting error.
5490
5491 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5492
5493 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5494 size of the arguments for a JNI function. For Win32,
5495 modify to search for all forms of possible exported
5496 names of an stdcall JNI function.
5497 (_Jv_JNIMethod::call): Modify to calculate the size
5498 of the arguments passed to a JNI function and pass
5499 it to _Jv_LookupJNIMethod.
5500
5501 2003-02-12 Michael Koch <konqueror@gmx.de>
5502
5503 * java/nio/channels/Channels.java: New file.
5504 * Makefile.am
5505 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5506 * Makefile.in: Regenerated.
5507
5508 2003-02-12 Michael Koch <konqueror@gmx.de>
5509
5510 * java/nio/ByteBuffer.java
5511 (allocate): Implemented.
5512 (wrap): Implemented.
5513 * java/nio/CharBuffer.java:
5514 Some documentation added and reworked.
5515 (endian): Removed.
5516 (allocate): Implemented.
5517 (wrap): Implemented.
5518 (array): Throw exceptions.
5519 (arrayOffset): Throw exceptions.
5520 (toString): Implemented.
5521 (length): Implemented.
5522 (put): Implemented.
5523 (charAt): Implemented.
5524
5525 2003-02-11 John Leuner <jewel@debian.org>
5526
5527 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5528 reads from end of file.
5529
5530 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5531
5532 * java/io/natFileDescriptorWin32.cc
5533 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5534 returns with Win32 error code ERROR_BROKEN_PIPE.
5535
5536 2003-02-11 Michael Koch <konqueror@gmx.de>
5537
5538 * Makefile.in
5539 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5540
5541 2003-02-11 Michael Koch <konqueror@gmx.de>
5542
5543 * gnu/java/nio/ByteBufferImpl.java:
5544 Reformated and removed some code.
5545 (backing_buffer): Removed.
5546 (array_offset): Removed.
5547 (ro): Renamed to readOnly.
5548 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5549 * gnu/java/nio/CharBufferImpl.java:
5550 Reformated and removed some code.
5551 (array_offset): Removed.
5552 (ro): Renamed to readOnly.
5553 (CharBufferImpl): Use parent constructor, initialize readOnly.
5554 (inc_pos): Removed.
5555 (order): New method.
5556 * gnu/java/nio/DoubleBufferImpl.java:
5557 Reformated and removed some code.
5558 (array_offset): Removed.
5559 (ro): Renamed to readOnly.
5560 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5561 (inc_pos): Removed.
5562 (order): New method.
5563 * gnu/java/nio/FloatBufferImpl.java:
5564 Reformated and removed some code.
5565 (array_offset): Removed.
5566 (ro): Renamed to readOnly.
5567 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5568 (inc_pos): Removed.
5569 (order): New method.
5570 * gnu/java/nio/IntBufferImpl.java:
5571 Reformated and removed some code.
5572 (array_offset): Removed.
5573 (ro): Renamed to readOnly.
5574 (IntBufferImpl): Use parent constructor, initialize readOnly.
5575 (inc_pos): Removed.
5576 (order): New method.
5577 * gnu/java/nio/LongBufferImpl.java:
5578 Reformated and removed some code.
5579 (array_offset): Removed.
5580 (ro): Renamed to readOnly.
5581 (LongBufferImpl): Use parent constructor, initialize readOnly.
5582 (inc_pos): Removed.
5583 (order): New method.
5584 * gnu/java/nio/ShortBufferImpl.java:
5585 Reformated and removed some code.
5586 (array_offset): Removed.
5587 (ro): Renamed to readOnly.
5588 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5589 (inc_pos): Removed.
5590 (order): New method.
5591 * Makefile.am
5592 (ordinary_java_source_files): Added the following files:
5593 gnu/java/nio/ByteBufferImpl.java
5594 gnu/java/nio/CharBufferImpl.java
5595 gnu/java/nio/DoubleBufferImpl.java
5596 gnu/java/nio/FloatBufferImpl.java
5597 gnu/java/nio/IntBufferImpl.java
5598 gnu/java/nio/LongBufferImpl.java
5599 gnu/java/nio/ShortBufferImpl.java
5600 java/nio/DoubleBuffer.java
5601 java/nio/FloatBuffer.java
5602 java/nio/IntBuffer.java
5603 java/nio/LongBuffer.java
5604 java/nio/ShortBuffer.java
5605 (nat_source_files): Added the following files:
5606 gnu/java/nio/natByteBufferImpl.cc
5607 gnu/java/nio/natCharBufferImpl.cc
5608 gnu/java/nio/natDoubleBufferImpl.cc
5609 gnu/java/nio/natFloatBufferImpl.cc
5610 gnu/java/nio/natIntBufferImpl.cc
5611 gnu/java/nio/natLongBufferImpl.cc
5612 gnu/java/nio/natShortBufferImpl.cc
5613 * Makefile.in: Regenerated.
5614
5615 2003-02-11 Michael Koch <konqueror@gmx.de>
5616
5617 * gnu/java/nio/natCharBufferImpl.cc
5618 (nio_cast): Removed.
5619 (nio_put_*): Removed.
5620 (nio_get_*): Removed.
5621 * gnu/java/nio/natDoubleBufferImpl.cc
5622 (nio_cast): Removed.
5623 (nio_put_*): Removed.
5624 (nio_get_*): Removed.
5625 * gnu/java/nio/natFloatBufferImpl.cc
5626 (nio_cast): Removed.
5627 (nio_put_*): Removed.
5628 (nio_get_*): Removed.
5629 * gnu/java/nio/natIntBufferImpl.cc
5630 (nio_cast): Removed.
5631 (nio_put_*): Removed.
5632 (nio_get_*): Removed.
5633 * gnu/java/nio/natLongBufferImpl.cc
5634 (nio_cast): Removed.
5635 (nio_put_*): Removed.
5636 (nio_get_*): Removed.
5637 * gnu/java/nio/natShortBufferImpl.cc
5638 (nio_cast): Removed.
5639 (nio_put_*): Removed.
5640 (nio_get_*): Removed.
5641 * gnu/java/nio/SelectorProviderImpl.java
5642 (openDatagramChannel): Throws IOException.
5643 (openPipe): Throws IOException.
5644 (openSelector): Throws IOException.
5645 (openServerSocketChannel): Throws IOException.
5646 (openSocketChannel): Throws IOException.
5647 * gnu/java/nio/ServerSocketChannelImpl.java
5648 (ServerSocketChannelImpl): Throws IOException.
5649 (implCloseSelectableChannel): Throws IOException.
5650 (implConfigureBlocking): Throws IOException.
5651 * java/nio/ByteBuffer.java
5652 (readOnly): Removed.
5653 (hasArray): Use isReadOnly() instead of readOnly.
5654 (array): Use isReadOnly() instead of readOnly.
5655 (arrayOffset): Use isReadOnly() instead of readOnly.
5656 * java/nio/CharBuffer.java
5657 (CharBuffer): Implements Cloneable and CharSequence.
5658
5659 2003-02-11 Michael Koch <konqueror@gmx.de>
5660
5661 * java/nio/DoubleBuffer.java
5662 (DoubleBuffer): Implements Comparable.
5663 (endian): Removed.
5664 (array_offset): New member variable.
5665 (DoubleBuffer): New constuctor.
5666 (get): May not be final.
5667 (put): May not be final.
5668 (arrayOffset): Implemented.
5669 (order): Made abstract.
5670 (order): Removed.
5671 (as*Buffer): Removed.
5672 (get*): Removed.
5673 (put*): Removed.
5674 * java/nio/FloatBuffer.java
5675 (FloatBuffer): Implements Comparable.
5676 (endian): Removed.
5677 (array_offset): New member variable.
5678 (FloatBuffer): New constuctor.
5679 (get): May not be final.
5680 (put): May not be final.
5681 (arrayOffset): Implemented.
5682 (order): Made abstract.
5683 (order): Removed.
5684 (as*Buffer): Removed.
5685 (get*): Removed.
5686 (put*): Removed.
5687 * java/nio/IntBuffer.java
5688 (IntBuffer): Implements Comparable.
5689 (endian): Removed.
5690 (array_offset): New member variable.
5691 (IntBuffer): New constuctor.
5692 (get): May not be final.
5693 (put): May not be final.
5694 (arrayOffset): Implemented.
5695 (order): Made abstract.
5696 (order): Removed.
5697 (as*Buffer): Removed.
5698 (get*): Removed.
5699 (put*): Removed.
5700 * java/nio/LongBuffer.java
5701 (LongBuffer): Implements Comparable.
5702 (endian): Removed.
5703 (array_offset): New member variable.
5704 (LongBuffer): New constuctor.
5705 (get): May not be final.
5706 (put): May not be final.
5707 (arrayOffset): Implemented.
5708 (order): Made abstract.
5709 (order): Removed.
5710 (as*Buffer): Removed.
5711 (get*): Removed.
5712 (put*): Removed.
5713 * java/nio/ShortBuffer.java
5714 (ShortBuffer): Implements Comparable.
5715 (endian): Removed.
5716 (array_offset): New member variable.
5717 (ShortBuffer): New constuctor.
5718 (get): May not be final.
5719 (put): May not be final.
5720 (arrayOffset): Implemented.
5721 (order): Made abstract.
5722 (order): Removed.
5723 (as*Buffer): Removed.
5724 (get*): Removed.
5725 (put*): Removed.
5726
5727 2003-02-11 Michael Koch <konqueror@gmx.de>
5728
5729 * java/nio/channels/SelectionKey.java
5730 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5731 values.
5732
5733 2003-02-11 Michael Koch <konqueror@gmx.de>
5734
5735 * java/nio/channels/DatagramChannel.java
5736 (write): Throws IOException.
5737 (connect): Throws IOException.
5738 (disconnect): Throws IOException.
5739 (read): Throws IOException.
5740 (receive): Throws IOException.
5741 (send): Throws IOException.
5742 * java/nio/channels/Pipe.java
5743 (open): Throws IOException.
5744 * java/nio/channels/SelectableChannel.java
5745 (configureBlocking): Throws IOException.
5746 * java/nio/channels/ServerSocketChannel.java
5747 (accept): Throws IOException.
5748 * java/nio/channels/SocketChannel.java
5749 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5750 GatheringByteChannel.
5751 (read): Throws IOException.
5752 (write): Throws IOException.
5753 (finishConnect): Throws IOException.
5754 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5755 (end): Throws AsynchronousCloseException.
5756 * java/nio/channels/spi/AbstractSelectableChannel.java
5757 (configureBlocking): Throws IOException.
5758 (implCloseChannel): Throws IOException.
5759 (implCloseSelectableChannel): Throws IOException.
5760 (implConfigureBlocking): Throws IOException.
5761 * java/nio/channels/spi/SelectorProvider.java
5762 (openDatagramChannel): Throws IOException.
5763 (openPipe): Throws IOException.
5764 (openSelector): Throws IOException.
5765 (openServerSocketChannel): Throws IOException.
5766 (openSocketChannel): Throws IOException.
5767
5768 2003-02-11 Michael Koch <konqueror@gmx.de>
5769
5770 * gnu/java/nio/FileLockImpl.java,
5771 java/nio/channels/FileLock.java: New files.
5772
5773 2003-02-11 Michael Koch <konqueror@gmx.de>
5774
5775 * java/nio/charset/IllegalCharsetNameException.java
5776 (serialVersionUID): New member variable.
5777 (charsetName): New member variable.
5778 (IllegalCharsetException): New implementation.
5779 (getCharsetName): New implementation.
5780 * java/nio/charset/UnsupportedCharsetException.java
5781 (serialVersionUID): New member variable.
5782 (charsetName): New member variable.
5783 (UnsupportedCharsetException): New implementation.
5784 (getCharsetName): New implementation.
5785
5786 2003-02-10 Tom Tromey <tromey@redhat.com>
5787
5788 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5789 (ex): Renamed from sqlException.
5790
5791 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5792
5793 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5794 method used to ensure seeding has occurred and that a specific
5795 seed can be set and used.
5796
5797 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5798
5799 * java/lang/Win32Process.java (destroy): Declare as native.
5800 (hasExited): New native method.
5801 (exitValue): Define.
5802 (getErrorStream): Likewise.
5803 (getInputStream): Likewise.
5804 (getOutputStream): Likewise.
5805 (waitFor): Declare as native.
5806 (startProcess): New native method.
5807 (cleanup): Likewise.
5808 (ConcreteProcess): Define.
5809 (outputStream, inputStream, errorStream): New members.
5810 (procHandle, exitCode): Likewise.
5811
5812 * java/lang/natWin32Process.cc
5813 (java::lang::ConcreteProcess::cleanup): Define.
5814 (java::lang::ConcreteProcess::destroy): Likewise.
5815 (java::lang::ConcreteProcess::hasExited): Likewise.
5816 (java::lang::ConcreteProcess::waitFor): Likewise.
5817 (new_string): Likewise.
5818 (java::lang::ConcreteProcess::startProcess): Likewise.
5819
5820 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5821
5822 * java/math/BigInteger.java:
5823 Updated notice to include years 2002 and 3.
5824 Added 2 private (int) arrays with values from the HAC (Handbook of
5825 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5826 and t[] that contains nbr. of tests --used in isProbablePrime().
5827
5828 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5829
5830 * java/math/BigInteger.java (make(int[],int), add(int,int),
5831 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5832 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5833 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5834 make(long).
5835
5836 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5837 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5838 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5839 BIs and returns void.
5840 (modInverse(BI)): Use new signatures of euclidInv().
5841
5842 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5843 static small primes instead of remainder().
5844 Use pre-computed max nbr of trials based on bitlength of BI to test.
5845 Use pre-computed small primes for the trial tests instead of random
5846 numbers.
5847
5848 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5849 not used.
5850
5851 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5852 invoacation of MPN.chars_per_word(). not used.
5853
5854 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5855 local var and used where needed.
5856
5857 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5858 Combined declaration with initialisation of locals.
5859 Removed unused var.
5860
5861 * java/math/BigInteger.java: Style changes
5862 (pow(int)): Removed 'else' keyword.
5863 (toString(int)): idem.
5864 (doubleValue()): idem.
5865 (bitLength()): idem.
5866 (equals(Object)): Use static methods name in same class w/o prepending
5867 class name.
5868 (doubleValue()): idem.
5869 (setNegative(BI)): idem.
5870 (negate()): idem.
5871 (and(BI,int)): idem.
5872 (and(BI)): idem.
5873 (gcd(BI)): idem.
5874 (byteArrayToIntArray()): Removed casting to (int). this is
5875 std. behaviour.
5876 (canonicalize()): idem.
5877 (alloc(int)): Always instantiate a new BI.
5878
5879 2003-02-10 Tom Tromey <tromey@redhat.com>
5880
5881 * java/sql/Timestamp.java (compareTo(Object)): New method.
5882 (compareTo(Timestamp)): Likewise.
5883 (serialVersionUID): Updated.
5884
5885 2003-02-07 Mark Wielaard <mark@klomp.org>
5886
5887 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5888 when verify is true.
5889 (JarFile(File, boolean)): Likewise.
5890 (manifestRead): Set manifestRead field correctly.
5891
5892 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5893
5894 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5895 tests; see patch #1016 on Savannah.
5896
5897 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5898
5899 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5900 (toString): do not return Strings starting with . and - erroneously.
5901 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5902 DiagBigDecimal.
5903
5904 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5905
5906 * java/beans/PropertyDescriptor.java
5907 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5908 methods.
5909 (PropertyDescriptor(String, Class, String, String)): Likewise.
5910 (PropertyDescriptor(String, Method, Method): Factor out getter and
5911 setter method sanity checks into new method.
5912 (findMethods): Don't do parameter sanity checking of get method here.
5913 (checkMethods): New method.
5914
5915 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5916
5917 * java/beans/PropertyDescriptor.java: Reformat.
5918
5919 2003-02-04 Tom Tromey <tromey@redhat.com>
5920
5921 * java/io/PipedOutputStream.java (flush): Declare as throwing
5922 IOException.
5923 (close): Likewise.
5924 * java/io/PipedWriter.java (close): Declare as throwing
5925 IOException.
5926 * java/io/StringWriter.java (close): Declare as throwing
5927 IOException.
5928
5929 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5930
5931 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5932 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5933 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5934 "_JNI_OnLoad@8" (MSVC).
5935
5936 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5937
5938 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5939 convention on Win32 to invoke native JNI methods.
5940
5941 2003-02-03 Andrew Haley <aph@redhat.com>
5942
5943 * configure.host (x86_64): Enable interpreter.
5944
5945 2003-02-03 Andrew Haley <aph@redhat.com>
5946
5947 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5948 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5949 * configure.in (BACKTRACESPEC): New.
5950 * configure: Regenerate.
5951
5952 2003-02-02 Tom Tromey <tromey@redhat.com>
5953
5954 * configure: Rebuilt.
5955 * configure.in (TOOLKIT) [xlib]: Set correctly.
5956
5957 * Makefile.in: Rebuilt.
5958 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5959 libstdc++.
5960
5961 2003-01-31 Mark WIelaard <mark@klomp.org>
5962
5963 * Makefile.in: Rebuilt.
5964 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5965
5966 2003-01-31 Tom Tromey <tromey@redhat.com>
5967
5968 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5969 cast to element type.
5970 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5971 (_Jv_JNI_GetObjectArrayElement): Likewise.
5972
5973 * Makefile.in: Rebuilt.
5974 * Makefile.am (cond_x_ltlibrary): Renamed library to
5975 lib-gnu-awt-xlib.la.
5976 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5977 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5978 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5979 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5980 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5981 (lib_gnu_awt_xlib_la_LINK): Likewise.
5982 (install-exec-hook): Removed.
5983 (lib-gnu-awt-xlib.la): Renamed.
5984
5985 2003-01-31 Tom Tromey <tromey@redhat.com>
5986
5987 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5988 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5989 aclocal.m4 and lost in some merge.
5990
5991 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5992 Don't try to find graphics configuration.
5993 * java/awt/Toolkit.java (default_toolkit_name): Use new
5994 Configuration entry.
5995 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5996 New global.
5997 * configure: Rebuilt.
5998 * configure.in (TOOLKIT): New subst.
5999 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
6000 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
6001 directory. Make output directories for .c files.
6002 * Makefile.in: Rebuilt.
6003 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
6004 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
6005 (all_java_source_files): Added new sources.
6006 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
6007 (gtk_c_files): New macro.
6008 (gtk_c_source_files): New macro.
6009 (cond_gtk_ltlibrary): New macro.
6010 ($(gtk_c_files)): New target.
6011 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
6012 (gtk_awt_peer_sources): New macro.
6013 (gtk_c_headers): New macro.
6014 ($(gtk_c_headers)): New target.
6015 (ACLOCAL_AMFLAGS): New macro.
6016 * gtk.m4, glib.m4, libart.m4: New files.
6017 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
6018 gnu/java/awt/peer/gtk/GdkGraphics.java,
6019 gnu/java/awt/peer/gtk/GtkArg.java,
6020 gnu/java/awt/peer/gtk/GtkArgList.java,
6021 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6022 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
6023 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
6024 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6025 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
6026 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6027 gnu/java/awt/peer/gtk/GtkClipboard.java,
6028 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6029 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6030 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6031 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6032 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6033 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6034 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
6035 gnu/java/awt/peer/gtk/GtkImage.java,
6036 gnu/java/awt/peer/gtk/GtkImagePainter.java,
6037 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6038 gnu/java/awt/peer/gtk/GtkListPeer.java,
6039 gnu/java/awt/peer/gtk/GtkMainThread.java,
6040 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6041 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
6042 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6043 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6044 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
6045 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6046 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6047 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6048 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6049 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6050 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6051 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6052 gnu/java/awt/peer/gtk/GtkToolkit.java,
6053 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6054 gnu/java/awt/peer/gtk/TestAWT.java,
6055 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6057 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6058 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6059 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6060 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6061 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6062 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6063 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6064 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6065 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6066 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6067 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6068 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6069 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6070 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6071 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6072 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6073 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6074 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6075 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6076 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6077 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6078 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6079 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6080 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6081 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6082 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6083 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6084 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6085 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6086 jni/classpath/native_state.c, jni/classpath/native_state.h,
6087 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6088
6089 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6090
6091 * java/util/Properties.java (load): Ignore backslash before EOF.
6092
6093 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6094
6095 * java/lang/natClass.cc (initializeClass): Check tables when
6096 (state == JV_STATE_IN_PROGRESS).
6097 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6098 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6099 interpreted classes.
6100 (linkClass0): Use _Jv_WaitForState.
6101
6102 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6103
6104 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6105 object when finished.
6106
6107 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6108
6109 * libjava/configure.host: Disable can_unwind_signal on darwin.
6110
6111 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6112
6113 Fixes PR java/9254:
6114 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6115 additionally containing id of the owner thread as well as
6116 the number of nested times the thread has acquired the mutex.
6117 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6118 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6119 (_Jv_MutexUnlock): Check if really the owner thread, reset
6120 owner thread id to 0 before leaving, if leaving for the last
6121 time.
6122 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6123 refcount.
6124 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6125 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6126 the passed mutex.
6127 Pass handle of the broadcast event, instead of a pointer to it
6128 in Win32 ResetEvent( ) call.
6129 Remove incorrect return values.
6130 (_Jv_CondDestroy): Close both event handles and delete
6131 critical section.
6132 (_Jv_CondNotify): Check if really the owner thread.
6133 (_Jv_CondNotifyAll): Check if really the owner thread.
6134 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6135 (really_start): Use SetEvent( ) to signal daemon_cond.
6136 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6137 WaitForSingleObject( ) instead to wait for daemon_cond to be
6138 signalled.
6139
6140 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6141
6142 * configure.in: Specifically define HAVE_BACKTRACE if building
6143 for MinGW.
6144 * include/win32.h: Remove HAVE_BACKTRACE definition.
6145 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6146 * configure: Rebuilt.
6147
6148 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6149
6150 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6151 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6152 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6153 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6154 * Makefile.in, configure: Rebuilt.
6155
6156 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6157
6158 Fixes PR java/9253:
6159 * java/io/natFileWin32.cc (performList): Append only "*.*"
6160 if the canonical file path already has a "\" at the end.
6161
6162 2003-01-24 Tom Tromey <tromey@redhat.com>
6163
6164 * defineclass.cc (handleMethodsEnd): Precompute code for static
6165 method.
6166 (handleCodeAttribute): Likewise.
6167 * resolve.cc (ncode): Use run_class for unsynchronized static
6168 methods.
6169 * include/java-interp.h (class _Jv_InterpMethod): Declare
6170 run_class.
6171 * interpret.cc (run_synch_class): Initialize class.
6172 (run) [insn_invokestatic]: Don't initialize class.
6173 [insn_anewarray]: Likewise.
6174 [insn_multianewarray]: Likewise.
6175 (run_class): New function.
6176
6177 2003-01-24 Tom Tromey <tromey@redhat.com>
6178
6179 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6180 comment.
6181
6182 2003-01-22 Andrew Haley <aph@redhat.com>
6183
6184 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6185 * configure.host (CHECKREFSPEC): Define for x86_64.
6186
6187 2003-01-21 Tom Tromey <tromey@redhat.com>
6188
6189 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6190 search at 2, not 3.
6191
6192 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6193
6194 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6195 looking at any characters.
6196 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6197 be used.
6198 (isAbsolute): Check path's length as well.
6199
6200 2003-01-17 Mark Wielaard <mark@klomp.org>
6201
6202 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6203 (nat_source_files): Add natVMObjectStreamClass.cc.
6204 * Makefile.in: Regenerated.
6205 * gcj/javaprims.h (namespace java): Regenerated.
6206 * java/io/ObjectStreamClass.java (getClassUID): Call
6207 VMObjectStreamClass.hasClassInitializer().
6208 (hasClassInitializer): Removed.
6209 * java/io/VMObjectStreamClass.java: New class.
6210 * java/io/natVMObjectStreamClass.cc: New file.
6211 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6212
6213 2003-01-16 Mark Wielaard <mark@klomp.org>
6214
6215 * java/net/SocketImpl.java (toString): Don't explicitly call
6216 toString() on possible null address.
6217
6218 2003-01-16 Michael Koch <konqueror@gmx.de>
6219
6220 * java/net/MulticastSocket.java
6221 (setInterface): Reindented.
6222
6223 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6224
6225 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6226 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6227 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6228 translateY arguments. Implement.
6229 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6230 down translation arguments.
6231 (drawPolyline, drawPolygon): Fix incorrect tests.
6232 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6233 translateX and translateY arguments.
6234
6235 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6236
6237 * Makefile.in: Rebuilt.
6238 * Makefile.am (xlib_includes): New macro.
6239 (INCLUDES): Use it.
6240
6241 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6242
6243 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6244 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6245 16-bit display mode.
6246
6247 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6248
6249 * java/awt/CardLayout.java (show): Rewrote.
6250 (gotoComponent): Removed `target' argument. Simplified code.
6251 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6252 Changed all callers.
6253 (NONE): Removed.
6254
6255 2003-01-14 Michael Koch <konqueror@gmx.de>
6256
6257 * java/net/InetSocketAddress.java
6258 (serialVersionUID): New member variable.
6259 * java/net/NetPermission.java
6260 (NetPermission): Dont implement java.io.Serialization directly.
6261 * java/net/SocketAddress.java:
6262 (serialVersionUID): Documentation added.
6263
6264 2003-01-14 Michael Koch <konqueror@gmx.de>
6265
6266 * java/awt/Label.java
6267 (Label): Implements javax.accessibility.Accessible;
6268 * java/awt/List.java
6269 (List): Implements javax.accessibility.Accessible;
6270 * java/awt/ScrollPane.java
6271 (ScrollPane): Implements javax.accessibility.Accessible;
6272 * java/awt/Scrollbar.java
6273 (Scrollbar): Implements javax.accessibility.Accessible;
6274 * java/awt/TextComponent.java
6275 (setCaretPosition): Throw exception, documentation added.
6276 * java/awt/Toolkit.java:
6277 Added some newlines in method documentations.
6278 (createButton): Exception documentation added.
6279 (createTextField): Exception documentation added.
6280 (createLabel): Exception documentation added.
6281 (createList): Exception documentation added.
6282 (createCheckbox): Exception documentation added.
6283 (createScrollbar): Exception documentation added.
6284 (createScrollPane): Exception documentation added.
6285 (createTextArea): Exception documentation added.
6286 (createChoice): Exception documentation added.
6287 (createFrame): Exception documentation added.
6288 (createWindow): Exception documentation added.
6289 (createDialog): Exception documentation added.
6290 (createMenuBar): Exception documentation added.
6291 (createMenu): Exception documentation added.
6292 (createMenuItem): Exception documentation added.
6293 (createFileDialog): Exception documentation added.
6294 (createCheckboxMenuItem): Exception documentation added.
6295 (loadSystemColors): Exception documentation added.
6296 (setDynamicLayout): Exception documentation added.
6297 (isDynamicLayoutSet): Exception documentation added.
6298 (isDynamicLayoutActive): Exception documentation added.
6299 (getScreenSize): Exception documentation added.
6300 (getScreenResolution): Exception documentation added.
6301 (getScreenInsets): Exception documentation added.
6302 (getColorModel): Exception documentation added.
6303 (getSystemClipboard): Exception documentation added.
6304 (getSystemSelection): Exception documentation added.
6305 (getMenuShortcutKeyMask): Exception documentation added.
6306 (getSystemEventQueue): Exception documentation added.
6307 * java/awt/Window.java:
6308 Reindented some code.
6309 (Window): Centralized implementation, documentation added.
6310 (finalize): Documentation added.
6311 (hide): Fixed typo in comment.
6312 (getWindowListeners): Documentation added.
6313 * java/awt/color/ColorSpace.java
6314 (toRGB): Documentation added.
6315 * java/awt/color/ICC_ColorSpace.java
6316 (ICC_ColorSpace): Documentation added.
6317 (toRGB): Throw exception, documentation added.
6318 (fromRGB): Throw exception, documentation added.
6319 (toCIEXYZ): Documentation added.
6320 (fromCIEXYZ): Documentation added.
6321 (getMinValue): Documentation added.
6322 (getMaxValue): Documentation added.
6323 * java/awt/geom/Dimension2D.java
6324 (clone): Documentation added.
6325 * java/awt/geom/GeneralPath.java
6326 (clone): Documentation added.
6327 * java/awt/geom/Line2D.java
6328 (clone): Documentation added.
6329 * java/awt/geom/QuadCurve2D.java
6330 (clone): Documentation added.
6331 * java/awt/image/ColorModel.java
6332 (ColorModel): Throw exception, documentation added.
6333 * java/awt/image/ImageFilter.java
6334 (clone): Doesnt throw CloneNotSupportedException.
6335
6336 2003-01-14 Andrew Haley <aph@redhat.com>
6337
6338 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6339 in a try block.
6340
6341 2003-01-10 Andrew Haley <aph@redhat.com>
6342
6343 * include/dwarf2-signal.h: Remove x86_64.
6344 * configure.host (x86_64 DIVIDESPEC): Remove.
6345 * include/x86_64-signal.h: New file.
6346 * configure.in: Regenerate.
6347
6348 2003-01-10 Michael Koch <konqueror@gmx.de>
6349
6350 * java/net/DatagramSocket.java
6351 (ch): Description added.
6352 (remotePort): Initialize with -1.
6353 (connect): Doesnt throws SocketException.
6354 * java/net/MulticastSocket.java
6355 (setInterface): Merge with Classpath.
6356 * java/net/ServerSocket.java
6357 (closed): New member variable.
6358 (bind): Check if socket is closed.
6359 (close): Close an associated channel too, set new value to closed.
6360 (isBound): Reindented.
6361 (isClosed): Implemented.
6362 * java/net/Socket.java
6363 (closed): New member variable.
6364 (bind): Check if socket is closed.
6365 (connect): Check if socket is closed.
6366 (close): Close an associated channel too, set new value to closed.
6367 (isClosed): Implemented.
6368
6369 2003-01-10 Michael Koch <konqueror@gmx.de>
6370
6371 * java/awt/DisplayMode.java
6372 (equals): Fixed argument type and implementation.
6373
6374 2003-01-07 Tom Tromey <tromey@redhat.com>
6375
6376 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6377 JV_HASH_SYNCHRONIZATION.
6378 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6379 JV_HASH_SYNCHRONIZATION.
6380
6381 2003-01-07 Michael Koch <konqueror@gmx.de>
6382
6383 * java/net/DatagramSocket.java:
6384 Added classpath license info.
6385 (DatagramSocket): Merged description with classpath.
6386 (close): Merged description with classpath.
6387 (getChannel): Merged description with classpath.
6388 (getInetAddress): Merged description with classpath.
6389 (getPort): Merged description with classpath.
6390 (getLocalAddress): Merged description with classpath.
6391 (getLocalPort): Merged description with classpath.
6392 (getSoTimeout): Merged description with classpath.
6393 (setSoTimeout): Merged description with classpath.
6394 (getSendBufferSize): Merged description with classpath.
6395 (setSendBufferSize): Merged description with classpath.
6396 (getReceiveBufferSize): Merged description with classpath.
6397 (setReceiveBufferSize): Merged description with classpath.
6398
6399 2003-01-04 Tom Tromey <tromey@redhat.com>
6400
6401 * java/awt/List.java: Merged with Classpath.
6402
6403 2003-01-03 Mark Wielaard <mark@klomp.org>
6404
6405 * java/io/FileDescriptor.java (position): New private field.
6406 * java/io/natFileDescriptorPosix.cc (write): Up position.
6407 (setLength): Use and set position.
6408 (seek): Set position.
6409 (getFilePointer): Return position.
6410 (read): Up position.
6411
6412 2003-01-03 Mark Wielaard <mark@klomp.org>
6413
6414 Merge with Classpath:
6415 * java/io/ObjectStreamClass.java (lookup): Split method and call
6416 lookupForClassObject().
6417 (lookupForClassObject): New method.
6418 (isProxyClass): New field.
6419 (setClass): Set isProxyClass, add object to classLookupTable, set
6420 superClass and calculateOffsets.
6421 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6422 and not a proxy class.
6423 (setFields): Set accessible true for serialPersistentFields.
6424 (getClassUID): Same for suid. And check if suid is of type long.
6425 (hasClassInitializer): Don't throw NoSuchMethodError.
6426
6427 2003-01-03 Mark Wielaard <mark@klomp.org>
6428
6429 * java/io/FileInputStream.java (finalize): Don't explicitly
6430 finalize FileDescriptor.
6431
6432 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6433
6434 * configure.host (sparc*-*): Enable bytecode interpreter.
6435
6436 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6437
6438 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6439 Don't throw RemoteException.
6440 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6441 throw RemoteException.
6442
6443 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6444
6445 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6446 proxyHost): New static fields.
6447 (<clinit>): Initialize new fields.
6448 (connect): Use proxy if necessary.
6449 (usingProxy): Implement.
6450
6451 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6452
6453 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6454 (TreeIterator.remove): Prefer IllegalStateException over
6455 ConcurrentModificationException, to match Sun.
6456
6457 2002-12-22 Anthony Green <green@redhat.com>
6458
6459 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6460
6461 2003-01-02 Mark Wielaard <mark@klomp.org>
6462
6463 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6464 public.
6465 (HTTP_USE_PROXY): Add field.
6466 (getResponseVals): Only set responseCode when not yet explicitly
6467 set by subclass.
6468
6469 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6470 Mark Wielaard <mark@klomp.org>
6471
6472 * java/util/zip/ZipFile.java (entries): Now HashMap.
6473 (readLeShort(DataInput, byte[])): Read from given byte array.
6474 (readLeInt(DataInput, byte[]): Likewise.
6475 (readLeShort(byte[] b, int off)): New method.
6476 (readLeInt(byte[] b, int off)): Likewise.
6477 (readEntries): Use byte arrays to read info in bigger chunks.
6478 (getEntries): Return HashMap.
6479 (getEntry): Use HashMap.
6480 (locBuf): New private field.
6481 (checkLocalHeader): Use locBuf to read info in one chunk.
6482 (getInputStream): Use entries HashMap, wrap PartialInputStream
6483 in BufferedInputStream.
6484 (ZipEntryEnumeration): Use HashMap and Interator.
6485
6486 2003-01-02 Mark Wielaard <mark@klomp.org>
6487 Jeroen Frijters <jeroen@sumatra.nl>
6488
6489 * java/net/URLClassLoader.java (Resource.getCodeSource):
6490 Fix check certs == null.
6491 (getCanonicalFileURL): Removed method.
6492 (JarURLLoader): Don't call removed method.
6493 (FileURLLoader): Likewise.
6494 (FileURLLoader.getResource): Don't canonicalize file name.
6495
6496 2003-01-01 Tom Tromey <tromey@redhat.com>
6497
6498 * Makefile.in: Rebuilt.
6499 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6500 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6501 java/awt/BufferCapabilities.java, java/awt/Button.java,
6502 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6503 java/awt/Container.java, java/awt/Cursor.java,
6504 java/awt/EventQueue.java, java/awt/FileDialog.java,
6505 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6506 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6507 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6508 java/awt/Scrollbar.java, java/awt/TextArea.java,
6509 java/awt/TextField.java, java/awt/color/CMMException.java,
6510 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6511 java/awt/color/ProfileDataException.java,
6512 java/awt/datatransfer/Clipboard.java,
6513 java/awt/datatransfer/DataFlavor.java,
6514 java/awt/datatransfer/FlavorMap.java,
6515 java/awt/datatransfer/SystemFlavorMap.java,
6516 java/awt/dnd/DragGestureEvent.java,
6517 java/awt/dnd/DragGestureRecognizer.java,
6518 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6519 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6520 java/awt/im/InputMethodHighlight.java,
6521 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6522 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6523
6524 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6525 `op' to BufferedImageOp.
6526
6527 2002-12-31 Tom Tromey <tromey@redhat.com>
6528
6529 Fix for PR libgcj/7416:
6530 * javax/naming/InitialContext.java (init): Use
6531 gnu.classpath.home.url.
6532 * java/security/Security.java: Use new properties.
6533 (loadProviders): Accept base url; use it.
6534 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6535 gnu.classpath.home.url.
6536 (gnu.classpath.home.url): Define.
6537 (gnu.classpath.vm.shortname): Likewise.
6538
6539 2002-12-31 Tom Tromey <tromey@redhat.com>
6540 Ranjit Mathew <rmathew@hotmail.com>
6541
6542 Fix for PR libgcj/8997:
6543 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6544 Include platform.h.
6545 * include/posix.h (_Jv_platform_usleep): New function.
6546 * include/win32.h (_Jv_platform_usleep): New function.
6547
6548 2002-12-29 Tom Tromey <tromey@redhat.com>
6549
6550 * gcj/javaprims.h: Updated.
6551 * scripts/classes.pl (scan): Removed stray semicolon.
6552
6553 2002-12-30 Mark Wielaard <mark@klomp.org>
6554
6555 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6556 if zero or smaller.
6557
6558 2002-12-30 Mark Wielaard <mark@klomp.org>
6559
6560 * java/util/Properties (formatForOutput): Don't fall through to
6561 default case after escaping character.
6562
6563 2002-12-30 Mark Wielaard <mark@klomp.org>
6564
6565 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6566 against count.
6567
6568 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6569
6570 * boehm.cc: Remove stray semicolon.
6571 * interpret.cc: Likewise.
6572 * prims.cc: Likewise.
6573 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6574 earlier to ensure default arguments are processed.
6575 * gcj/array.h (JArray): Add forward declaration.
6576 (elements): Likewise.
6577 * gcj/javaprim.h: Remove stray semicolons.
6578 * include/bohm-gc.h: Likewise.
6579 * include/jni.h: Likewise.
6580 * include/jvm.h: Likewise.
6581 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6582
6583 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6584
6585 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6586 of catch_type.
6587 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6588 idt tables after initializing superclass.
6589 * java/lang/natClassLoader.cc (uaddr): New typedef.
6590 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6591 if they are constant pool indicies. Don't link vtable, otable yet.
6592
6593 2002-12-21 Anthony Green <green@redhat.com>
6594
6595 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6596 libraries.
6597 * Makefile.in: Rebuilt.
6598
6599 2002-12-19 Anthony Green <green@redhat.com>
6600
6601 * Makefile.am (ordinary_java_source_files): Add
6602 org/xml/sax/helpers/NewInstance.java.
6603 * Makefile.in: Rebuilt.
6604 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6605 org/xml/sax/helpers/package.html: New files.
6606 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6607 http://www.saxproject.org.
6608
6609 2002-12-19 Andrew Haley <aph@redhat.com>
6610
6611 * java/util/natResourceBundle.cc: Include
6612 ArrayIndexOutOfBoundsException.h.
6613 (getCallingClassLoader): Don't put upper bound on stack search.
6614 Catch ArrayIndexOutOfBoundsException.
6615
6616 2002-12-19 Tom Tromey <tromey@redhat.com>
6617
6618 * libtool-version: Increased `current'.
6619
6620 2002-12-19 Tom Tromey <tromey@redhat.com>
6621
6622 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6623 comment.
6624 * java/lang/ClassLoader.java (defineClass): Use chained
6625 exception when rethrowing.
6626 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6627 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6628 constants.
6629 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6630 (_Jv_PrepareClass): Use it.
6631 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6632 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6633 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6634 (Class): _Jv_PrepareMissingMethods now friend.
6635 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6636 Record `NULL' for system class loader.
6637 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6638 system class loader.
6639 (_Jv_FindClassInCache): Likewise.
6640 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6641 (_Jv_FindClass): Special case system class loader.
6642 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6643 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6644 vtable slots.
6645 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6646 in a final class.
6647 (_getDeclaredMethod): Don't return synthetic methods.
6648 (getDeclaredMethods): Likewise.
6649 (_getMethod): Likewise.
6650 (_getMethods): Likewise.
6651
6652 2002-12-18 Raif Naffah <raif@fl.net.au>
6653
6654 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6655 canonical form after divide().
6656 (modInverse): Likewise.
6657
6658 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6659 Mark Wielaard <mark@klomp.org>
6660
6661 * java/security/SecurityRandom (digest): Removed field.
6662 (SecureRandom): Check all providers for case-insensitive SecureRandom
6663 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6664 if necessary.
6665 (getInstance(String,Provider,boolean): New method.
6666 (getInstance(String)): Use new method.
6667 (getInstance(String,String)): Likewise.
6668 (getInstance(String,Provider)): Likewise.
6669
6670 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6671
6672 * java/security/Security.java (loadProviders): Increment i only once.
6673
6674 2002-12-12 Mark Wielaard <mark@klomp.org>
6675
6676 * java/lang/ClassLoader.java (resolveClass0): Transform
6677 ClassNotFoundException to NoClassDefFoundError. Transform all other
6678 throwables to LinkageError.
6679
6680 2002-12-11 Tom Tromey <tromey@redhat.com>
6681
6682 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6683
6684 * java/lang/ClassLoader.java (loadedClasses): New field.
6685 (defineClass): Fixed indentation. Put new class in
6686 loadedClasses.
6687 (findLoadedClass): Implement here.
6688 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6689
6690 2002-12-10 Tom Tromey <tromey@redhat.com>
6691
6692 * Makefile.in: Rebuilt.
6693 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6694 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6695 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6696 * java/lang/natClassLoader.cc
6697 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6698
6699 2002-12-10 Mark Wielaard <mark@klomp.org>
6700 Tom Tromey <tromey@redhat.com>
6701
6702 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6703 (JarURLLoader): Use it.
6704 (FileURLLoader): Likewise.
6705 (JarURLResource.getURL): Use chained exception.
6706 (FileResource.getURL): Likewise.
6707 (FileURLLoader.getResource): Use canonical file name.
6708 (addURL): Indentation fix.
6709
6710 2002-12-10 Tom Tromey <tromey@redhat.com>
6711
6712 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6713 From Laurent Bardet <l.bardet@magic.fr>.
6714
6715 2002-12-09 Tom Tromey <tromey@redhat.com>
6716
6717 * include/win32.h (_Jv_platform_solib_prefix): New define.
6718 (_Jv_platform_solib_suffix): Likewise.
6719 * include/posix.h (_Jv_platform_solib_prefix): New define.
6720 (_Jv_platform_solib_suffix): Likewise.
6721 * java/lang/natRuntime.cc: Include StackTrace.h.
6722 (_load): Use findLibrary and new platform defines.
6723 (nativeGetLibname): Use new platform defines.
6724
6725 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6726 `t' won't be null.
6727
6728 2002-12-08 Mark Wielaard <mark@klomp.org>
6729
6730 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6731 cache remote jar files.
6732 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6733 add File.separator to URL when it is a directory.
6734 * java/lang/ClassLoader.java: Add Classpath javadoc.
6735 (parent): final.
6736 (getParent): Add (disabled) security check.
6737 (findLibrary): New default method.
6738 * java/net/JarURLConnection.java (getManifest): Implement.
6739 (getInputStream): Only create InputStream when entry exists.
6740 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6741 when they exist.
6742 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6743
6744 2002-12-08 Mark Wielaard <mark@klomp.org>
6745
6746 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6747 (lastDefaultLocale): New field.
6748 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6749 resourceBundleCache.
6750
6751 2002-12-06 Mark Wielaard <mark@klomp.org>
6752
6753 * java/net/InetAddress.java (toString): Use hostname when not null,
6754 don't do an explicit reverse getHostName() lookup.
6755 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6756 NullPointerException.
6757
6758 2002-12-06 Tom Tromey <tromey@redhat.com>
6759
6760 * include/java-interp.h (class _Jv_InterpMethod): Added
6761 JV_MARKOBJ_DECL.
6762 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6763 mark `prepared' field of interpreted method.
6764 * interpret.cc (compile): Use _Jv_AllocBytes.
6765
6766 2002-12-05 Andrew Haley <aph@redhat.com>
6767
6768 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6769 #ifdef (HAVE_BACKTRACE) around the whole function body.
6770
6771 2002-12-05 Tom Tromey <tromey@redhat.com>
6772
6773 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6774 * resolve.cc: Don't include AbstractMethodError.h.
6775 (_Jv_abstractMethodError): Removed.
6776 * defineclass.cc (handleMethodsBegin): Initialize method index to
6777 -1.
6778 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6779 method index for "new" final method.
6780 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6781 isVirtualMethod. Added `flags' argument.
6782 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6783 class.
6784
6785 2002-12-04 Tom Tromey <tromey@redhat.com>
6786
6787 * java/net/SocketPermission.java (hashCode): Rewrote.
6788
6789 2002-12-04 Tom Tromey <tromey@redhat.com>
6790
6791 * Makefile.in: Rebuilt.
6792 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6793 natResourceBundle.
6794 * java/util/ResourceBundle.java (Security): Removed.
6795 (getCallingClassLoader): Now native.
6796 * java/util/natResourceBundle.cc: New file.
6797 * java/lang/natVMSecurityManager.cc: New file.
6798 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6799
6800 2002-12-03 Mark Wielaard <mark@klomp.org>
6801
6802 * java/util/jar/JarFile.java (manifest): Not final.
6803 (manifestRead): New field.
6804 (JarFile): Don't read Manifest in constructor.
6805 (getManifest): New method.
6806 (JarEnumeration.nextElement): Use new method.
6807 (getEntry): Likewise.
6808 * java/util/zip/ZipFile.java (name): Final.
6809 (raf): Likewsie.
6810 (entries): Change type to Hashtable.
6811 (closed): New field.
6812 (ZipFile): Don't read enties in constructor.
6813 (readEntries): Use Hashtable.
6814 (close): Set new close flag and set entries to null inside
6815 synchronized block.
6816 (entries): Contruct enumeration using new getEntries() method and
6817 entries Hashtable.
6818 (getEntryIndex): Removed.
6819 (getEntries): New method.
6820 (getEntry): Use new getEntries() method and entries Hastable.
6821 (getInputStream): Likewise.
6822 (size): Return getEntries().size().
6823 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6824 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6825 (time): Removed
6826 (dostime): New field.
6827 (zipFileIndex): Removed.
6828 (ZipEntry(ZipEntry)): Copy dostime.
6829 (setDOSTime): Now final and doesn't convert dos time.
6830 (getDOSTime): Likewise.
6831 (setTime): Convert dos time.
6832 (getTime): Likewise.
6833 (getCalendar): New method.
6834 (setExtra): Use setTime().
6835 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6836
6837 2002-12-03 Tom Tromey <tromey@redhat.com>
6838
6839 * java/lang/Character.java (forDigit): Formatting fix.
6840
6841 2002-12-03 Raif Naffah <raif@fl.net.au>
6842
6843 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6844 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6845 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6846
6847 2002-12-03 Andrew Haley <aph@redhat.com>
6848
6849 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6850 _Jv_PushClass.
6851 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6852 (_Jv_PopClass): New.
6853 (_Jv_PushClass): New.
6854 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6855 discover the ClassLoader of our caller.
6856 (_Jv_CheckArrayStore): Don't check that a class is assignment
6857 compatible with Object.
6858 * java/lang/natVMTHrowable.cc: Delete.
6859 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6860 java.lang.VMThrowable.
6861 (StackTrace(), StackTrace(int)): New constructors.
6862 (classAt, methodAt, update, methodAtAddress): New methods.
6863 (map): New field.
6864 * java/lang/VMThrowable.java: Use StackTrace instead of
6865 natVMTHrowable.
6866 * java/lang/Class.h (getClassLoaderInternal): New.
6867 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6868 Be friendly with gnu::gcj::runtime::StackTrace.
6869 (Object.chain): New field.
6870 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6871 gnu::gcj::runtime::StackTrace.
6872 * gnu/gcj/runtime/natStackTrace.cc: New file.
6873 * gnu/gcj/runtime/MethodRef.java: New file.
6874 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6875 instead of getClassLoader().
6876 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6877 java::lang::VMThrowable.
6878 * Makefile.am (core_java_source_files): Add MethodRef.java,
6879 StackTrace.java.
6880 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6881 * Makefile.in: Rebuild.
6882
6883 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6884
6885 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6886 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6887 yes also for sh-linux* and sh[34]*-linux*.
6888 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6889 set SIGNAL_HANDLER to use DWARF2 exception for them.
6890 * configure: Regenerate.
6891
6892 2002-12-02 Tom Tromey <tromey@redhat.com>
6893
6894 * jni.cc: Added `name' argument.
6895 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6896 `const char *' argument.
6897 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6898
6899 2002-12-01 Tom Tromey <tromey@redhat.com>
6900
6901 Bug compatibility, for PR libgcj/8738:
6902 * java/io/CharArrayWriter.java (close): Do nothing.
6903 (flush): Likewise.
6904 (reset): Don't touch `closed'.
6905 (write(int)): Don't throw IOException.
6906 (write(char[],int,int)): Likewise.
6907 (write(String,int,int)): Likewise.
6908 (closed): Removed.
6909
6910 2002-12-01 Mark Wielaard <mark@klomp.org>
6911
6912 * java/lang/SecurityManager.java: Remerge comments, indenting and
6913 checkXXX methods with Classpath.
6914
6915 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6916
6917 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6918 getNormalizedComponents): Fix calculation which was using one too
6919 many bits in the unnormalized format.
6920
6921 2002-11-29 Gary Benson <gbenson@redhat.com>
6922
6923 For PR libgcj/8759:
6924 * java/beans/Introspector.java (flushCaches): New method.
6925 (flushFromCaches): Likewise.
6926
6927 2002-11-29 Michael Koch <konqueror@gmx.de>
6928
6929 * java/nio/channels/DatagramChannel.java
6930 (open): Added exception documentation.
6931 (write): Added exception documentation.
6932 (connect): Added exception documentation.
6933 (disconnect): Added exception documentation.
6934 (isConnected): Added exception documentation.
6935 (read): Added exception documentation.
6936 (receive): Added exception documentation.
6937 (send): Added exception documentation.
6938 (validOps): Added exception documentation.
6939 * java/nio/channels/SocketChannel.java
6940 (open): Added exception documentation.
6941 (read): Added exception documentation.
6942 (write): Added exception documentation.
6943 (connect): Added exception documentation.
6944 (finishConnect): Added exception documentation.
6945
6946 2002-11-29 Michael Koch <konqueror@gmx.de>
6947
6948 * gnu/java/nio/DatagramChannelImpl:
6949 (fd): New member variable to store file descriptor of socket.
6950 * gnu/java/nio/SelectionKeyImpl.java:
6951 (ops): Removed.
6952 (readyOps): New member variable.
6953 (interestOps): New member variable.
6954 (readyOps): Implemented.
6955 (readyOps): New method to set member variable readyOps.
6956 (interestOps): Replaced ops by interestOps.
6957 * gnu/java/nio/SelectorImpl.java:
6958 (SelectorImpl): Initialize key sets.
6959 (select): Call select with -1 instead of Long.MAX_VALUE).
6960 (java_do_select): Make it a native method.
6961 (getFDsAsArray): New helper method.
6962 (select): Remove canceled keys, give only interested file discriptors
6963 to java_do_select, set ready ops.
6964 (add): No need to initialize keys set here.
6965 (add_selected): No need to initialize selected set here.
6966 (deregisterCanceledKeys): New helper method.
6967 (register): Set interest ops, set attachments, added handling of datagram
6968 channels.
6969 * gnu/java/nio/ServerSocketChannelImpl:
6970 (SocketAccept): Renamed from NioSocketAccept.
6971 (implConfigureBlocking): Implemented.
6972 (accept): Use SocketAccept instead of NioSocketAccept.
6973 * gnu/java/nio/SocketChannelImpl:
6974 Reactivate native methods.
6975
6976 2002-11-29 Michael Koch <konqueror@gmx.de>
6977
6978 * gnu/java/nio/natByteBufferImpl.cc,
6979 gnu/java/nio/natCharBufferImpl.cc,
6980 gnu/java/nio/natDoubleBufferImpl.cc,
6981 gnu/java/nio/natFloatBufferImpl.cc,
6982 gnu/java/nio/natIntBufferImpl.cc,
6983 gnu/java/nio/natLongBufferImpl.cc,
6984 gnu/java/nio/natSelectorImpl.cc,
6985 gnu/java/nio/natServerSocketChannelImpl.cc,
6986 gnu/java/nio/natShortBufferImpl.cc,
6987 gnu/java/nio/natSocketChannelImpl.cc:
6988 New files that implement native functionalities.
6989
6990 2002-11-29 Michael Koch <konqueror@gmx.de>
6991
6992 * gnu/java/nio/ByteBufferImpl.java
6993 (ByteBufferImpl): Moved position() after limit.
6994 (nio_*): Use native implementation.
6995 * gnu/java/nio/CharBufferImpl.java:
6996 Reformated.
6997 (endian): New member variable string endianess of buffer.
6998 (CharBufferImpl): Moved position() after limit.
6999 (nio_*): Use native implementation.
7000 (subSequence): Implemented.
7001 * gnu/java/nio/DoubleBufferImpl.java
7002 (DoubleBufferImpl): Moved position() after limit.
7003 (nio_*): Use native implementation.
7004 * gnu/java/nio/FloatBufferImpl.java
7005 Reformated.
7006 (FloatBufferImpl): Moved position() after limit.
7007 (nio_*): Use native implementation.
7008 * gnu/java/nio/IntBufferImpl.java
7009 Added needed imports, Reformated.
7010 (IntBufferImpl): Moved position() after limit.
7011 (nio_*): Use native implementation.
7012 * gnu/java/nio/LongBufferImpl.java
7013 Reformated.
7014 (LongBufferImpl): Moved position() after limit.
7015 (nio_*): Use native implementation.
7016 * gnu/java/nio/ShortBufferImpl.java
7017 Reformated.
7018 (ShortBufferImpl): Moved position() after limit.
7019 (nio_*): Use native implementation.
7020
7021 2002-11-27 Julian Dolby <dolby@us.ibm.com>
7022
7023 * java/util/Locale.java (toString): Improve efficiency if country
7024 and variant are both empty.
7025
7026 2002-11-26 Tom Tromey <tromey@redhat.com>
7027
7028 * verify.cc (pop_init_ref): New method.
7029 (verify_instructions_0) [op_iaload, op_laload, op_faload,
7030 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
7031 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
7032 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
7033 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
7034 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
7035 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
7036 let `this' argument be uninitialized. Don't let `null' be passed
7037 as `this' to construtor.
7038
7039 2002-11-26 Mark Wielaard <mark@klomp.org>
7040
7041 * javax/transaction/HeuristicCommitException.java: Classpath merge.
7042 * javax/transaction/HeuristicMixedException.java: Likewise.
7043 * javax/transaction/HeuristicRollbackException.java: Likewise.
7044 * javax/transaction/InvalidTransactionException.java: Likewise.
7045 * javax/transaction/NotSupportedException.java: Likewise.
7046 * javax/transaction/RollbackException.java: Likewise.
7047 * javax/transaction/Status.java: Likewise.
7048 * javax/transaction/Synchronization.java: Likewise.
7049 * javax/transaction/SystemException.java: Likewise.
7050 * javax/transaction/Transaction.java: Likewise.
7051 * javax/transaction/TransactionManager.java: Likewise.
7052 * javax/transaction/TransactionRequiredException.java: Likewise.
7053 * javax/transaction/TransactionRolledbackException.java: Likewise.
7054 * javax/transaction/UserTransaction.java: Likewise.
7055 * javax/transaction/xa/XAException.java: Likewise.
7056 * javax/transaction/xa/XAResource.java: Likewise.
7057 * javax/transaction/xa/Xid.java: Likewise.
7058
7059 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7060
7061 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7062 define.
7063 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7064 * include/posix.h (socklen_t): Define if not already defined.
7065
7066 2002-11-25 Tom Tromey <tromey@redhat.com>
7067
7068 * verify.cc (type::compatible): Backed out broken change.
7069
7070 * verify.cc (type::compatible): Check initialization status
7071 first.
7072 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7073 Don't use NULLCHECK.
7074
7075 2002-11-23 H.J. Lu <hjl@gnu.org>
7076
7077 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7078 Include ../config/accross.m4.
7079 * aclocal.m4; Rebuild.
7080 * configure: Likewise.
7081
7082 2002-11-23 Mark Wielaard <mark@klomp.org>
7083
7084 * javax/naming/AuthenticationException.java: Update copyright header.
7085 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7086 * javax/naming/Binding.java: Likewise.
7087 * javax/naming/CannotProceedException.java: Likewise.
7088 * javax/naming/CommunicationException.java: Likewise.
7089 * javax/naming/CompositeName.java: Likewise.
7090 * javax/naming/CompoundName.java: Likewise.
7091 * javax/naming/ConfigurationException.java: Likewise.
7092 * javax/naming/Context.java: Likewise.
7093 * javax/naming/ContextNotEmptyException.java: Likewise.
7094 * javax/naming/InitialContext.java: Likewise.
7095 * javax/naming/InsufficientResourcesException.java: Likewise.
7096 * javax/naming/InterruptedNamingException.java: Likewise.
7097 * javax/naming/LimitExceededException.java: Likewise.
7098 * javax/naming/LinkException.java: Likewise.
7099 * javax/naming/LinkLoopException.java: Likewise.
7100 * javax/naming/LinkRef.java: Likewise.
7101 * javax/naming/MalformedLinkException.java: Likewise.
7102 * javax/naming/NameAlreadyBoundException.java: Likewise.
7103 * javax/naming/NameClassPair.java: Likewise.
7104 * javax/naming/NameNotFoundException.java: Likewise.
7105 * javax/naming/NameParser.java: Likewise.
7106 * javax/naming/NamingEnumeration.java: Likewise.
7107 * javax/naming/NamingSecurityException.java: Likewise.
7108 * javax/naming/NoInitialContextException.java: Likewise.
7109 * javax/naming/NoPermissionException.java: Likewise.
7110 * javax/naming/NotContextException.java: Likewise.
7111 * javax/naming/OperationNotSupportedException.java: Likewise.
7112 * javax/naming/PartialResultException.java: Likewise.
7113 * javax/naming/Reference.java: Likewise.
7114 * javax/naming/Referenceable.java: Likewise.
7115 * javax/naming/ReferralException.java: Likewise.
7116 * javax/naming/ServiceUnavailableException.java: Likewise.
7117 * javax/naming/SizeLimitExceededException.java: Likewise.
7118 * javax/naming/TimeLimitExceededException.java: Likewise.
7119 * javax/naming/directory/Attribute.java: Likewise.
7120 * javax/naming/directory/AttributeInUseException.java: Likewise.
7121 * javax/naming/directory/AttributeModificationException.java: Likewise.
7122 * javax/naming/directory/Attributes.java: Likewise.
7123 * javax/naming/directory/BasicAttribute.java: Likewise.
7124 * javax/naming/directory/BasicAttributes.java: Likewise.
7125 * javax/naming/directory/DirContext.java: Likewise.
7126 * javax/naming/directory/InitialDirContext.java: Likewise.
7127 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7128 Likewise.
7129 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7130 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7131 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7132 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7133 * javax/naming/directory/ModificationItem.java: Likewise.
7134 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7135 * javax/naming/directory/SchemaViolationException.java: Likewise.
7136 * javax/naming/directory/SearchControls.java: Likewise.
7137 * javax/naming/directory/SearchResult.java: Likewise.
7138 * javax/naming/event/EventContext.java: Likewise.
7139 * javax/naming/event/EventDirContext.java: Likewise.
7140 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7141 * javax/naming/event/NamingEvent.java: Likewise.
7142 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7143 * javax/naming/event/NamingListener.java: Likewise.
7144 * javax/naming/event/ObjectChangeListener.java: Likewise.
7145 * javax/naming/ldap/Control.java: Likewise.
7146 * javax/naming/ldap/ControlFactory.java: Likewise.
7147 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7148 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7149 * javax/naming/ldap/HasControls.java: Likewise.
7150 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7151 * javax/naming/ldap/LdapContext.java: Likewise.
7152 * javax/naming/ldap/LdapReferralException.java: Likewise.
7153 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7154 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7155 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7156 * javax/naming/spi/DirObjectFactory.java: Likewise.
7157 * javax/naming/spi/DirStateFactory.java: Likewise.
7158 * javax/naming/spi/DirectoryManager.java: Likewise.
7159 * javax/naming/spi/InitialContextFactory.java: Likewise.
7160 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7161 * javax/naming/spi/NamingManager.java: Likewise.
7162 * javax/naming/spi/ObjectFactory.java: Likewise.
7163 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7164 * javax/naming/spi/ResolveResult.java: Likewise.
7165 * javax/naming/spi/Resolver.java: Likewise.
7166 * javax/naming/spi/StateFactory.java: Likewise.
7167
7168 * javax/naming/spi/NamingManager.java (ofb): Package private.
7169
7170 2002-11-21 Mark Wielaard <mark@klomp.org>
7171
7172 * java/net/URL.java: Merge with Classpath (partly).
7173 * java/net/URLStreamHandler: Merge with Classpath.
7174
7175 2002-11-22 Michael Koch <konqueror@gmx.de>
7176
7177 * include/posix.h:
7178 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7179 * include/win32.h:
7180 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7181 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7182
7183 2002-11-21 Michael Koch <konqueror@gmx.de>
7184
7185 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7186 Only the new network functions should be in it.
7187
7188 2002-11-21 Michael Koch <konqueror@gmx.de>
7189
7190 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7191 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7192
7193 2002-11-21 Michael Koch <konqueror@gmx.de>
7194
7195 * java/nio/channels/AsynchronousCloseException.java,
7196 java/nio/channels/CancelledKeyException.java,
7197 java/nio/channels/ClosedByInterruptException.java,
7198 java/nio/channels/ConnectionPendingException.java,
7199 java/nio/channels/FileLockInterruptionException.java,
7200 java/nio/channels/IllegalSelectorException.java,
7201 java/nio/channels/NoConnectionPendingException.java,
7202 java/nio/channels/NonReadableChannelException.java,
7203 java/nio/channels/NonWritableChannelException.java,
7204 java/nio/channels/NotYetBoundException.java,
7205 java/nio/channels/NotYetConnectedException.java,
7206 java/nio/channels/OverlappingFileLockException.java,
7207 java/nio/channels/UnresolvedAddressException.java,
7208 java/nio/channels/UnsupportedAddressTypeException.java:
7209 New files.
7210 * Makefile.am (ordinary_java_source_files): Added new files.
7211 * Makefile.in: Regenerated.
7212
7213 2002-11-21 Michael Koch <konqueror@gmx.de>
7214
7215 * include/posix.h
7216 (_Jv_socket): New method.
7217 (_Jv_connect): New method.
7218 (_Jv_close): New method.
7219 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7220 (_Jv_bind): New method.
7221 (_Jv_listen): New method.
7222 (_Jv_write): New method.
7223 (_Jv_read): New method.
7224 * include/win32.h
7225 (_Jv_socket): New method.
7226 (_Jv_connect): New method.
7227 (_Jv_close): New method.
7228 (_Jv_bind): New method.
7229 (_Jv_listen): New method.
7230 (_Jv_write): New method.
7231 (_Jv_read): New method.
7232 * java/net/natNetworkInterface.cc:
7233 Include platform.h, removed inclusion of socket.h
7234 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7235 ::close() by _Jv_close().
7236 * java/net/natPlainDatagramSocketImpl.cc:
7237 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7238 added some new lines to make code more readable.
7239 (create): Replaced ::socket() by _Jv_socket().
7240 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7241 * java/net/natPlainSocketImpl.cc:
7242 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7243 removed include of socket.h, removed some windows defines
7244 (now in include/win32.h).
7245 (create): Replaced ::socket() by _Jv_socket().
7246 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7247 (write): Replaced ::read by _Jv_write().
7248 (read): Replaced ::read by _Jv_read().
7249
7250 2002-11-20 Michael Koch <konqueror@gmx.de>
7251
7252 * Makefile.am (ordinary_java_source_files):
7253 Added java/nio/channels/FileChannel.java.
7254 * Makefile.in: Regenerated.
7255
7256 2002-11-20 Michael Koch <konqueror@gmx.de>
7257
7258 * java/io/FileInputStream.java
7259 (getChannel): New method.
7260 * java/io/FileOutputStream.java
7261 (getChannel): New method.
7262 * java/net/ServerSocket.java
7263 (bind): Removed duplicate code and called another bind method instead.
7264 * java/nio/channels/SelectionKey.java
7265 (isValid): Removed wrong exception documentation.
7266 * java/nio/channels/ServerSocketChannel.java
7267 (accept): Added exception documentation.
7268 (open): Fixed typo, added exception documentation.
7269 * java/nio/channels/spi/AbstractSelectableChannel.java
7270 (implCloseChannel): Added exception documentation.
7271 (add): Reformated.
7272 (register): Added exception documentation.
7273
7274 2002-11-20 Andreas Jaeger <aj@suse.de>
7275
7276 * configure: Regenerated with new libtool.m4.
7277
7278 2002-11-19 Tom Tromey <tromey@redhat.com>
7279
7280 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7281 `referent'.
7282 (finalize_referred_to_object): Don't modify `referent' or `copy'
7283 fields.
7284 (add_to_hash): Correctly set `n->next' when updating list.
7285 * java/lang/ref/Reference.java (enqueue): Return false if already
7286 enqueued.
7287
7288 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7289
7290 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7291 to function and function pointer declarations in accordance with
7292 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7293 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7294 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7295 JNI function definitions.
7296
7297 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7298
7299 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7300 that was causing CoderResults to be cached, not WeakReferences
7301 to CoderResults.
7302
7303 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7304
7305 * java/security/KeyStore.java (getInstance): Fix
7306 comment and throw IllegalArgumentException if
7307 given provider is null.
7308 (getInstance): New method for jdk1.4 compatibility.
7309
7310 2002-11-18 Michael Koch <konqueror@gmx.de>
7311
7312 * java/net/PlainSocketImpl.java: Fix imports.
7313
7314 2002-11-18 Michael Koch <konqueror@gmx.de>
7315
7316 * java/nio/channels/SelectionKey.java
7317 (isValid): Added exception documentation.
7318 * java/nio/channels/Selector.java
7319 (open): Declare "throws IOException".
7320
7321 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7322
7323 * java/nio/charset/Charset.java
7324 (<clinit>): New method.
7325 (encode): Synchronize use of cached encoder object.
7326 (decode): Synchronize use of cached encoder object.
7327
7328 2002-11-18 Michael Koch <konqueror@gmx.de>
7329
7330 * gnu/java/nio/ByteBufferImpl.java,
7331 gnu/java/nio/CharBufferImpl.java,
7332 gnu/java/nio/DatagramChannelImpl.java,
7333 gnu/java/nio/DoubleBufferImpl.java,
7334 gnu/java/nio/FileChannelImpl.java,
7335 gnu/java/nio/FloatBufferImpl.java,
7336 gnu/java/nio/IntBufferImpl.java,
7337 gnu/java/nio/LongBufferImpl.java,
7338 gnu/java/nio/PipeImpl.java,
7339 gnu/java/nio/SelectionKeyImpl.java,
7340 gnu/java/nio/SelectorImpl.java,
7341 gnu/java/nio/SelectorProviderImpl.java,
7342 gnu/java/nio/ServerSocketChannelImpl.java,
7343 gnu/java/nio/ShortBufferImpl.java,
7344 gnu/java/nio/SocketChannelImpl.java,
7345 java/nio/DoubleBuffer.java,
7346 java/nio/FloatBuffer.java,
7347 java/nio/IntBuffer.java,
7348 java/nio/LongBuffer.java,
7349 java/nio/ShortBuffer.java,
7350 java/nio/channels/FileChannel.java: New files.
7351
7352 2002-11-18 Michael Koch <konqueror@gmx.de>
7353
7354 * Makefile.am (ordinary_java_source_files):
7355 Added java/nio/ReadOnlyBufferException.java and
7356 java/nio/channels/ClosedSelectorException.java.
7357 * Makefile.in: Regenerated.
7358
7359 2002-11-18 Michael Koch <konqueror@gmx.de>
7360
7361 * java/net/PlainSocketImpl.java: Reworked imports.
7362 * java/net/ServerSocket.java
7363 (ServerSocket): Create socket.
7364 * java/net/SocketAddress.java: Documentation added.
7365 * java/net/natPlainSocketImpl.cc: Reindented.
7366 * java/nio/ReadOnlyBufferException.java: New file
7367 * java/nio/channels/ClosedChannelException.java: Documentation added.
7368 * java/nio/channels/ClosedSelectorException.java: New file.
7369
7370 2002-11-17 Mark Wielaard <mark@klomp.org>
7371
7372 * java/net/HttpURLConnection.java ((getPermission): Take port
7373 into consideration.
7374 (getErrorStream): Implement.
7375
7376 2002-11-17 Mark Wielaard <mark@klomp.org>
7377
7378 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7379
7380 2002-11-16 Mark Wielaard <mark@klomp.org>
7381
7382 Integrate work by Raif S. Naffah (raif@fl.net.au)
7383 * java/security/DummyKeyPairGenerator.java (clone): New method.
7384 * java/security/DummyMessageDigest.java (clone): New method.
7385 (engineUpdate): Now public.
7386 (engineReset): Likewise.
7387 (engineDigest): Likewise.
7388 (engineGetDigestLength): New method.
7389 * java/security/DummySignature.java (clone): New method.
7390 * java/security/KeyPairGenerator.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 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7395 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7396 * java/security/MessageDigest.java (provider): Now package private.
7397 (getInstance(String): Use getInstance(String,Provider).
7398 (getInstance(String,String): Use getInstance(String,Provider)
7399 (getInstance(String,Provider): New method.
7400 * java/security/Provider.java (toCanonicalKey): New method.
7401 (get): New method that uses toCanonicalKey().
7402 (put): Use toCanonicalKey().
7403 (remove): Likewise.
7404 * java/security/Security.java (insertProviderAt): Provider index is one
7405 based, not zero based.
7406 (addProvider): Likewise.
7407 (removeProvider): Likewise.
7408 * java/security/Signature.java (provider): Now package private.
7409 (getInstance(String)): Use getInstance(String,Provider).
7410 (getInstance(String,String): Use getInstance(String,Provider)
7411 (getInstance(String,Provider): New method.
7412 (getInstance(String,String,Provider): Don't cast DummySignature.
7413
7414 2002-11-15 Tom Tromey <tromey@redhat.com>
7415
7416 For PR libgcj/8593:
7417 * java/util/zip/GZIPInputStream.java (read): Check file size.
7418 Look in inflater for remaining input bytes.
7419 (read4): Added buf and offset arguments.
7420
7421 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7422
7423 * java/applet/AppletContext.java: Fix typo and remove redundant
7424 modifiers.
7425
7426 2002-11-14 Tom Tromey <tromey@redhat.com>
7427
7428 * java/lang/natRuntime.cc (insertSystemProperties): Set
7429 gnu.classpath.home.
7430
7431 2002-11-13 Michael Koch <konqueror@gmx.de>
7432
7433 * java/nio/ByteBuffer.java
7434 (allocate): New method.
7435 (wrap): New method.
7436 (put): New method.
7437 (get): New method.
7438
7439 2002-11-13 Michael Koch <konqueror@gmx.de>
7440
7441 * java/nio/channels/AlreadyConnectedException.java:
7442 Removed unneeded import.
7443 (AlreadyConnectedException): Documentation added.
7444 * java/nio/channels/Pipe.java
7445 (SinkChannel.SinkChannel): Documentation added.
7446 (SinkChannel.validOps): New method.
7447 (SourceChannel.SourceChannel): Documentation added.
7448 (SourceChannel.validOps): New method.
7449 (Pipe): Documentation added.
7450 (open): Documentation added.
7451 (SinkChannel.channel): Documentation added.
7452 (SourceChannel.channel): Documentation added.
7453 * java/nio/channel/SelectableChannel.java
7454 (SelectableChannel): Documentation added.
7455 (blockingLock): Documentation added.
7456 (configureBlocking):Documentation added.
7457 (isBlocking):Documentation added.
7458 (isRegistered):Documentation added.
7459 (keyFor):Documentation added.
7460 (provider):Documentation added.
7461 (register): Documentation added.
7462 (validOps): Documentation added.
7463 * jaba/nio/channels/SelectionKey.java
7464 (SelectionKey): Documentation added.
7465 (attach): Documentation added.
7466 (attachment): Documentation added.
7467 (isAcceptable): Documentation added.
7468 (isConnetable): Documentation added.
7469 (isReadable): Documentation added.
7470 (isWritable): Documentation added.
7471 (cancel): Documentation added.
7472 (channel): Documentation added.
7473 (interestOps): Documentation added.
7474 (isValid): Documentation added.
7475 (readyOps): Documentation added.
7476 (selector): Documentation added.
7477 * jaba/nio/channels/Selector.java
7478 (Selector): Documentation added.
7479 (open): Documentation added.
7480 (close): Documentation added.
7481 (isOpen): Documentation added.
7482 (keys): Documentation added.
7483 (provider): Documentation added.
7484 (select): Documentation added.
7485 (selectedKeys): Documentation added.
7486 (selectNow): Documentation added.
7487 (wakeup): Documentation added.
7488 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7489 (AbstractInterruptibleChannel): Documentation added.
7490 (opened): Default to true;
7491 (begin): Documentation added.
7492 (close): Set opened to false, documentation added.
7493 (isOpen): Documentation added.
7494 * java/nio/channels/spi/AbstractSelectionKey.java
7495 (AbstractSelectionKey): Documentation added.
7496 (cancel): Documentation added.
7497 (isValid): Documentation added.
7498 * java/nio/channels/spi/AbstractSelector.java
7499 (AbstractSelector): Documentation added.
7500 (begin): Documentation added.
7501 (close): Documentation added.
7502 (isOpen): Documentation added.
7503 (deregister): Documentation added.
7504 (end): Documentation added.
7505 (provider): Documentation added.
7506 (implCloseSelector): Documentation added.
7507 (register): Documentation added.
7508 * java/nio/channels/spi/SelectorProvider.java
7509 (SelectorProvider): Documentation added.
7510 (openDatagramChannel): Documentation added.
7511 (openPipe): Documentation added.
7512 (openSelector): Documentation added.
7513 (openServerSocketChannel): Documentation added.
7514 (openSocketChannel): Documentation added.
7515 (provider): Documentation added.
7516
7517 2002-11-12 Michael Koch <konqueror@gmx.de>
7518
7519 * java/nio/Buffer.java: Implemented.
7520 * java/nio/CharBuffer.java: New file.
7521 * java/nio/InvalidMarkException.java: New file.
7522 * java/nio/channels/DatagramChannel.java: Implemented.
7523 * java/nio/channels/ServerSocketChannel.java: Implemented.
7524 * java/nio/channels/SocketChannel.java: Implemented.
7525 * java/nio/channels/spi/AbstractChannel.java: Removed.
7526 * java/nio/channels/spi/AbstractSelectableChannel.java:
7527 Implemented.
7528 * java/nio/charset/Charset.java:
7529 Merge from Classpath.
7530 * java/nio/charset/CharsetDecoder.java: New file.
7531 * java/nio/charset/CharsetEncoder.java: New file.
7532 * java/nio/charset/CoderResult.java: New file.
7533 * Makefile.am (ordinary_java_source_files): Added new files.
7534 * Makefile.in: Regenerated.
7535
7536 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7537
7538 * gnu/java/nio/charset/ISO_8859_1.java,
7539 gnu/java/nio/charset/Provider.java,
7540 gnu/java/nio/charset/US_ASCII.java,
7541 gnu/java/nio/charset/UTF_16.java,
7542 gnu/java/nio/charset/UTF_16BE.java,
7543 gnu/java/nio/charset/UTF_16Decoder.java,
7544 gnu/java/nio/charset/UTF_16Encoder.java,
7545 gnu/java/nio/charset/UTF_16LE.java,
7546 gnu/java/nio/charset/UTF_8.java: New files.
7547
7548 2002-11-11 Michael Koch <konqueror@gmx.de>
7549
7550 * java/nio/charset/CharacterCodingException.java:
7551 This class must be public.
7552 * java/nio/charset/CoderMalfunctionError.java:
7553 This class must be public.
7554 * java/nio/charset/CodingErrorAction.java:
7555 This class must be public.
7556 * java/nio/charset/IllegalCharsetNameException.java:
7557 This class must be public, better implementation.
7558 * java/nio/charset/MalformedInputException.java:
7559 This class must be public, better implementation.
7560 * java/nio/charset/UnmappableCharacterException.java:
7561 This class must be public, better implementation.
7562 * java/nio/charset/UnsupportedCharsetException.java:
7563 This class must be public, better implementation.
7564
7565 2002-11-11 Michael Koch <konqueror@gmx.de>
7566
7567 * java/nio/BufferOverflowException.java,
7568 java/nio/BufferUnderflowException.java: New file.
7569 * Makefile.am (ordinary_java_source_files):
7570 Added new files.
7571 * Makefile.in: Regenerated.
7572
7573 2002-11-10 Tom Tromey <tromey@redhat.com>
7574
7575 * java/awt/Container.java (validate): Use tree lock.
7576 (getComponent): Likewise.
7577 (getComponents): Likewise.
7578 (addImpl): Likewise.
7579 (remove): Likewise.
7580 (removeAll): Likewise.
7581 (processEvent): Fixed indentation.
7582 (getComponentAt): Use tree lock.
7583 (findComponentAt): Likewise.
7584 (removeNotify): Likewise.
7585 (isAncestorOf): Likewise.
7586 (list): Likewise.
7587 (visitChildren): Likewise.
7588 (findNextFocusComponent): Likewise.
7589 (addNotifyContainerChildren): Likewise.
7590 (getAccessibleChildrenCount): Likewise.
7591 (getAccessibleChild): Likewise.
7592
7593 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7594 (getSize): Likewise.
7595 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7596 (getSize): Likewise.
7597 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7598 (calcSize): Likewise.
7599 * java/awt/CardLayout.java (getSize): Use tree lock.
7600 (gotoComponent): Likewise.
7601 (layoutContainer): Likewise.
7602
7603 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7604 count is 0.
7605 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7606 count is 0.
7607
7608 * java/io/Externalizable.java, java/io/FilePermission.java,
7609 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7610 java/io/SerializablePermission.java, java/text/Format.java,
7611 java/util/AbstractMap.java, java/util/HashMap.java,
7612 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7613 versions from Classpath.
7614
7615 2002-11-10 Anthony Green <green@redhat.com>
7616
7617 * java/util/jar/Attributes.java (Name): Fix name check.
7618
7619 2002-11-10 Mark Wielaard <mark@klomp.org>
7620
7621 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7622 with getName() as message.
7623 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7624 type as message.
7625
7626 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7627 unused.
7628
7629 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7630
7631 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7632 for Win32. JNICALL has been defined to __stdcall to be compatible
7633 with Sun's JDKs.
7634
7635 2002-11-10 Tom Tromey <tromey@redhat.com>
7636
7637 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7638 (setRows): Check newRows, not rows.
7639
7640 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7641
7642 2002-11-09 Tom Tromey <tromey@redhat.com>
7643
7644 * java/applet/Applet.java, java/applet/AppletContext.java,
7645 java/applet/AppletStub.java, java/applet/AudioClip.java,
7646 java/awt/CardLayout.java,
7647 java/awt/ContainerOrderFocusTraversalPolicy.java,
7648 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7649 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7650 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7651 java/awt/color/ICC_ColorSpace.java,
7652 java/awt/color/ICC_Profile.java,
7653 java/awt/color/ICC_ProfileGray.java,
7654 java/awt/color/ICC_ProfileRGB.java,
7655 java/awt/datatransfer/DataFlavor.java,
7656 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7657 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7658 New versions from Classpath.
7659 * Makefile.in: Rebuilt.
7660 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7661 ICC_ProfileRGB.
7662
7663 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7664 display policy.
7665
7666 * java/awt/List.java (processEvent): Added missing `else's.
7667
7668 * java/awt/Window.java (show): validate() before showing. Make
7669 parent displayable.
7670 (isDisplayable): New method.
7671
7672 2002-11-07 Mark Wielaard <mark@klomp.org>
7673
7674 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7675 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7676
7677 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7678 annotation.
7679 (loadClass): Take String as codebases.
7680 (getClassAnnotation): Use MyClassLoader annotations.
7681 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7682 call exportObject(this).
7683
7684 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7685 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7686 (setAnnotation): Don't set locBytesStream and locStream.
7687 (replaceObject): Removed.
7688 (flush): Don't test locStream.
7689 (getLocBytes): LikeWise.
7690 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7691 (leaseCache): New field.
7692 (dirty): Use leaseCache.
7693 (LeaseRecord): New inner class.
7694 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7695 explicitly call exportObject().
7696 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7697 false to communicate with Sun JDK130.
7698 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7699 * gnu/java/rmi/server/RMIObjectInputStream.java
7700 (UnicastConnectionManager): Removed field.
7701 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7702 Use UnicastServer.getExportedRef().
7703 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7704 (expireTime): Likewise.
7705 (CONNECTION_TIMEOUT): Likewise.
7706 (disconnect): Call sock.close().
7707 (isExpired): New method.
7708 (resetTime): Likewise.
7709 (run): Use do while loop and catch Exception for discardConnection().
7710 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7711 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7712 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7713 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7714 (exportObject): Use refcache.
7715 (unexportObject): Likewise.
7716 (getExportedRef): New method.
7717 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7718 constructor.
7719 (exportObject): Save manager.serverobj.
7720 (getStub): New method.
7721
7722 2002-11-07 Mark Wielaard <mark@klomp.org>
7723
7724 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7725 (getByte): Likewise.
7726 (getShort): Likewise.
7727 (getInt): Likewise.
7728 (getLong): Likewise.
7729 (getFloat): Likewise.
7730 (getDouble): Likewise.
7731 (get): Likewise.
7732 (setChar): Likewise.
7733 (setByte): Likewise.
7734 (setShort): Likewise.
7735 (setInt): Likewise.
7736 (setLong): Likewise.
7737 (setFloat): Likewise.
7738 (setDouble): Likewise.
7739
7740 2002-11-07 Michael Koch <konqueror@gmx.de>
7741
7742 * java/awt/Choice.java,
7743 java/awt/Container.java,
7744 java/awt/GridBagLayout.java:
7745 Fixed documentation.
7746 * java/awt/peer/ContainerPeer.java:
7747 Reindented.
7748
7749 2002-11-07 Michael Koch <konqueror@gmx.de>
7750
7751 * java/awt/color/ICC_Profile.java:
7752 Added missing constants.
7753 * java/awt/color/ICC_ColorSpace.java
7754 (getMinValue): Added dummy implementation.
7755 (getMaxValue): Added dummy implementation.
7756 * java/awt/datatransfer/DataFlavor.java
7757 (imageFlavor): Added.
7758 (isMimeTypeEqual): Must be final.
7759 (getDefaultRepresentationClass): Must be non-static.
7760 (getDefaultRepresentationClassAsString): Must be non-static.
7761 * java/awt/dnd/DragSourceContext.java
7762 (dragExit): Corrected argument.
7763 (dragDropEnd): Corrected argument.
7764 * java/awt/dnd/DragSourceListener.java.java
7765 (dragExit): Corrected argument.
7766 (dragDropEnd): Corrected argument.
7767 * java/awt/font/TextHitInfo.java
7768 (toString): Added stubbed implementation.
7769 * java/awt/geom/PathIterator.java:
7770 The constants must be static.
7771 * java/awt/image/VolatileImage.java
7772 (IMAGE_INCOMPATIBLE): Fixed typo.
7773 * java/awt/image/renderable/RenderableImage.java
7774 (HINTS_OBSERVED): Must be static.
7775 * java/beans/BeanInfo.java:
7776 Constants must be final.
7777
7778 2002-11-06 Tom Tromey <tromey@redhat.com>
7779
7780 From svens@it.uu.se. For PR libgcj/8481.
7781 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7782
7783 2002-11-06 Tom Tromey <tromey@redhat.com>
7784
7785 * jni.cc (array_from_valist): Assume that jlong won't be
7786 promoted.
7787
7788 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7789
7790 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7791 Return 20.
7792 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7793 Return 16.
7794
7795 2002-11-03 Tom Tromey <tromey@redhat.com>
7796
7797 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7798 VMClassLoader, not findClass.
7799
7800 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7801
7802 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7803 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7804 _Jv_DetermineVTableIndex, to determine vtable offset.
7805 (_Jv_DetermineVTableIndex): Remove.
7806 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7807
7808 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7809
7810 2002-11-03 Tom Tromey <tromey@redhat.com>
7811
7812 * java/nio/channels/AlreadyConnectedException.java: Extend
7813 IllegalStateException, per spec.
7814
7815 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7816
7817 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7818
7819 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7820
7821 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7822 size items.
7823
7824 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7825
7826 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7827 initial estimated size to avoid enlarge buffer frequently.
7828
7829 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7830
7831 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7832 ClassLoader when null.
7833 (ProxyType.hashCode): Loader null check no longer needed.
7834 (ProxyType.sameTypes): New method.
7835 (ProxyType.equals): Use new method.
7836
7837 2002-10-31 Mark Wielaard <mark@klomp.org>
7838
7839 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7840 length of String.
7841 * java/net/URLEncoder.java (encode): Likewise.
7842
7843 2002-10-31 Mark Wielaard <mark@klomp.org>
7844
7845 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7846 when stream is closed.
7847 (closeEntry): Likewise.
7848 (read): Likewise.
7849 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7850 ZipException when no entry active.
7851 (closeEntry): Likewise.
7852 (write): Likewise.
7853
7854 2002-11-02 Tom Tromey <tromey@redhat.com>
7855
7856 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7857 * java/lang/natClass.cc (initializeClass): Don't return just
7858 because self==thread.
7859
7860 For PR java/8415:
7861 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7862 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7863
7864 2002-11-02 Andreas Schwab <schwab@suse.de>
7865
7866 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7867 pass GCJFLAGS.
7868 (FLAGS_TO_PASS): Define.
7869 * Makefile.in: Regenerated.
7870
7871 2002-11-01 Michael Koch <konqueror@gmx.de>
7872
7873 * java/nio/ByteOrder.java: New file.
7874 * java/nio/channels/DatagramChannel.java:
7875 (DatagramChannel): New constructor.
7876 * java/nio/channels/Pipe.java: New file.
7877 * java/nio/channels/SelectableChannel.java: New file.
7878 * java/nio/channels/SelectionKey.java: New file.
7879 * java/nio/channels/Selector.java: New file.
7880 * java/nio/channels/ServerSocketChannel.java
7881 (ServerSocketChannel): New constructor.
7882 * java/nio/channels/SocketChannel.java
7883 (SocketChannel): New constructor.
7884 * java/nio/channels/Pipe.java: New file.
7885 * java/nio/channels/spi/AbstractChannel.java: New file.
7886 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7887 * java/nio/channels/spi/AbstractSelectableChannel.java:
7888 License added
7889 (AbstractSelectableChannel): New stubbed method.
7890 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7891 * java/nio/channels/spi/AbstractSelector.java: New file.
7892 * java/nio/channels/spi/SelectorProvider.java: New file.
7893 * java/nio/charset/Charset.java: New file.
7894 * java/nio/charset/CoderMalfunctionError.java: New file.
7895 * java/nio/charset/CodingErrorAction.java: New file.
7896 * java/nio/charset/spi/CharsetProvider.java
7897 (charsetForName): Uncommented.
7898 * Makefile.am (java_native_source_files): Added new files.
7899 * Makefile.in: Regenerated.
7900
7901 2002-11-01 Michael Koch <konqueror@gmx.de>
7902
7903 * java/net/InetAddress.java:
7904 (isAnyLocalAddress): Implemented.
7905 (isLoopbackAddress): Implemented, comment added.
7906 (isLinkLocalAddress): Implemented, documentation added.
7907 (isSiteLocalAddress): Implemented, documentation added.
7908 (isMCGlobal): Implemented, documentation added.
7909 (isMCNodeLocal): Implemented, documentation added.
7910 (isMCLinkLocal): Implemented, documentation added.
7911 (isMCSiteLocal): Implemented, documentation added.
7912 (isMCOrgLocal): Implemented, documentation added.
7913 (getHostName): Documentation added.
7914 (getCanonicalHostName): Implemented, documentation added.
7915 (getAddress): Documentation added.
7916 (hashCode): Documentation added.
7917 (equals): Documentation added.
7918 (toString): Fixed implementation.
7919 (getByAddress): Use Inet4Address and Inet6Address.
7920 (lookup): New linewrap.
7921 (getByName): SecurityManager check added, support Inet4Address and
7922 Inet6address, comments added.
7923 (getAllByName): SecurityManager check added, comments added.
7924 * java/net/Inet6Address.java:
7925 (Inet6Address): Initialize parent class with addr instead of null.
7926 * java/net/URL.java
7927 (equals): Documentation added.
7928 (getFile): Documentation added.
7929 (hashCode): Documentation added.
7930 * java/net/natInetAddress.cc:
7931 (aton): Fix IPv6 support.
7932 * java/net/natPlainDatagramSocketImpl.cc:
7933 (peek): Throw PortUnreachableException when suitable.
7934 (peekData): Throw PortUnreachableException when suitable.
7935 (send): Throw PortUnreachableException when suitable.
7936 (receive): Throw PortUnreachableException when suitable.
7937
7938 2002-10-27 Mark Wielaard <mark@klomp.org>
7939
7940 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7941 argument.
7942 (readLeShort): Likewise and use byte[].
7943 (readLeInt): Likewise.
7944 (readEntries): Use new versions of methods and use byte[] for reading
7945 a complete zip entry. Add ZipFile name to exceptions.
7946 (entries): Add ZipFile name to exceptions.
7947 (getEntry): Likewise.
7948 (checkLocalHeader): Use new versions of methods and add ZipFile name
7949 to exceptions.
7950
7951 2002-10-31 Mark Anderson <mark@panonet.net>
7952
7953 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7954 added
7955
7956 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7957
7958 * configure.in: Disable hash sync when not using threads.
7959 * configure: Regenerated.
7960
7961 2002-10-24 Tom Tromey <tromey@redhat.com>
7962
7963 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7964 (_Jv_FindSymbolInExecutable): Removed argument name.
7965 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7966 java.library.path is set.
7967
7968 * gij.cc (help): Document --showversion.
7969 (version): Don't exit.
7970 (main): Handle --showversion. Exit if --version given.
7971
7972 2002-10-23 Tom Tromey <tromey@redhat.com>
7973
7974 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7975 (array_from_valist): Correctly handle promotion for jint, jlong,
7976 jfloat, and jdouble.
7977
7978 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7979
7980 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7981 GetFileAttributesEx( ) to find file length and modification times,
7982 as the latter is not present on Windows 95.
7983
7984 2002-10-21 Michael Koch <konqueror@gmx.de>
7985
7986 * java/net/URL.java
7987 (URL): Activate SecurityManager checks.
7988 (equals): Use URLStreamHandler implementation instead of doing it
7989 alone. This allows special protocol stream handlers to change default
7990 behaviour.
7991 (hashCode): Use URLStreamHandler implementation instead of doing it
7992 alone. This allows special protocol stream handlers to change default
7993 behaviour.
7994 * java/net/URLStreamHandler.java
7995 (equals): Implemented default URL equality check.
7996 (hostsEqual): Implemented default URL equality check.
7997 (hashCode): Implemented default URL hashCode algorithm.
7998 * java/net/natPlainDatagramSocketImpl.cc:
7999 No lines longer then 80 characters.
8000
8001 2002-10-20 Adam Megacz <adam@xwt.org>
8002
8003 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
8004 * configure.in: enabled hash sync on Win32
8005 * include/win32-threads.h (_Jv_ThreadId_t): added.
8006 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
8007 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
8008 removed some posix-isms, use Thread::sleep() instead of usleep,
8009 added code to clear bottom three bits if platform has a broken
8010 linker.
8011 * include/win32-threads.h (_Jv_ThreadId_t): added.
8012
8013 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
8014
8015 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
8016 runtime property "gnu.gcj.progname" containing the name used to
8017 invoke the current Java program (similar to argv[0] for C
8018 programs).
8019
8020 2002-10-15 Tom Tromey <tromey@redhat.com>
8021
8022 Fix for PR libgcj/8234:
8023 * java/util/zip/natInflater.cc (reset): Reset avail_in.
8024 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
8025
8026 2002-10-13 Mark Wielaard <mark@klomp.org>
8027
8028 * mauve-libgcj: Enable Mauve tests that compile now.
8029
8030 2002-10-11 Mark Wielaard <mark@klomp.org>
8031
8032 Fix for PR libgcj/8142
8033 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
8034 loading native modules.
8035
8036 2002-10-10 Michael Koch <konqueror@gmx.de>
8037
8038 * javax/swing/AbstractListModel.java
8039 (getListDataListeners): New stubbed method.
8040 javax/swing/DefaultBoundedRangeModel.java
8041 (getChangeListeners): New stubbed method.
8042 javax/swing/DefaultSingleSelectionModel.java
8043 (getChangeListeners): New stubbed method.
8044
8045 2002-10-10 Michael Koch <konqueror@gmx.de>
8046
8047 * gcj/.cvsignore: New file to ignore files generated during build.
8048 * include/.cvsignore: New file to ignore files generated during build.
8049
8050 2002-10-10 Michael Koch <konqueror@gmx.de>
8051
8052 * java/net/HttpURLConnection.java
8053 (getPermission): New method.
8054 (getErrorStream): New stub method.
8055 (getHeaderFieldDate): New stub method.
8056 * java/net/Inet4Address.java:
8057 (isLinkLocalAddress): Typo fixed.
8058 * java/net/InetAddress.java:
8059 (readResolve): New stubbed method (for serialization).
8060 (isAnyLocalAddress): New stubbed method.
8061 (isLoopbackAddress): New stubbed method.
8062 (isLinkLocalAddress): New stubbed method.
8063 (isSiteLocalAddress): New stubbed method.
8064 (isMCGlobal): New stubbed method.
8065 (isMCNodeGlobal): New stubbed method.
8066 (isMCLinkLocal): New stubbed method.
8067 (isMCSiteLocal): New stubbed method.
8068 (isMCOrgLocal): New stubbed method.
8069 (getCanonicalHostName): New stubbed method.
8070 (getByAddress): Create instances of Inet4Address/Inet6Address,
8071 instead of InetAddress, documentation added.
8072 * java/net/MulticastSocket.java
8073 (getInterface): Removed FIXME.
8074 (getNetworkInterface): New method.
8075 (setNetworkInterface): New method.
8076 * java/net/NetworkInterface.java:
8077 (toString): Use property "line.separator" instead of "\n".
8078 * java/net/URLConnection.java
8079 (getContent): New stubbed method.
8080 * java/net/URLStreamHandler.java:
8081 (equals): New stubbed method.
8082 (hostsEqual): New stubbed method.
8083 (hashCode): New stubbed method.
8084 * java/net/natNetworkInterface.cc:
8085 (getRealNetworkInterfaces): Create Inet4Address object
8086 instead of InetAddress.
8087
8088 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8089
8090 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8091 unsigned long temporary to implement insn_iushr shifts.
8092
8093 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8094
8095 * configure.host [s390*-*]: Enable Java interpreter.
8096 Enable hash synchronization. Add sysdeps dir.
8097 * sysdep/s390/locks.h: New file.
8098
8099 2002-10-06 Mark Wielaard <mark@klomp.org>
8100
8101 * java/lang/Thread.java (setDaemon): Check startable_flag,
8102 not isAlive().
8103
8104 2002-10-07 Michael Koch <konqueror@gmx.de>
8105
8106 * java/nio/Buffer.java: New stub file.
8107 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8108 of class Charset.
8109 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8110 * Makefile.in: Regenerated.
8111
8112 2002-10-07 Michael Koch <konqueror@gmx.de>
8113
8114 * java/nio/ByteBuffer.java:
8115 removed import of not commited class.
8116
8117 2002-10-07 Michael Koch <konqueror@gmx.de>
8118
8119 * java/nio/ByteBuffer.java,
8120 java/nio/MappedByteBuffer.java:
8121 New files, forgot to add these dummies.
8122 * Makefile.am (java_native_source_files): Added new files.
8123 * Makefile.in: Regenerated.
8124
8125 2002-10-07 Michael Koch <konqueror@gmx.de>
8126
8127 * java/nio/channels/AlreadyConnectedException.java,
8128 java/nio/channels/ClosedChannelException.java,
8129 java/nio/channels/ReadableByteChannel.java,
8130 java/nio/channels/InterruptibleChannel.java,
8131 java/nio/channels/Channel.java,
8132 java/nio/channels/ByteChannel.java,
8133 java/nio/channels/GatheringByteChannel.java,
8134 java/nio/channels/ScatteringByteChannel.java,
8135 java/nio/channels/WritableByteChannel.java,
8136 java/nio/charset/CharacterCodingException.java,
8137 java/nio/charset/IllegalCharsetNameException.java,
8138 java/nio/charset/MalformedInputException.java,
8139 java/nio/charset/UnmappableCharacterException.java,
8140 java/nio/charset/UnsupportedCharsetException.java,
8141 java/nio/charset/spi/CharsetProvider.java: New file.
8142 These files are exceptions or interfaces,
8143 no real or abstract classes.
8144 * Makefile.am (java_native_source_files): Added new files.
8145 * Makefile.in: Regenerated.
8146
8147 2002-10-05 Michael Koch <konqueror@gmx.de>
8148
8149 * java/net/InetAddress.java
8150 (getByAddress): Fixed documentation.
8151 (getByAddress): New method.
8152 * java/net/Inet4Address.java: New file.
8153 * java/net/URL.java
8154 (URL): Documentation added.
8155 (getContent): Documentation added.
8156 (getContent): New stubbed method.
8157 (getQuery): New method.
8158 (openConnection): Documentation added.
8159 (openStream): Documentation added.
8160 (setURLStreamHandlerFactory): Documentation added.
8161 * java/net/URI.java: New stub file.
8162 * Makefile.am
8163 (java_native_source_files): Added java/net/Inet4Address.java,
8164 java/net/Inet6Address.java and java/net/URI.java.
8165 * Makefile.in: Regenerated.
8166
8167 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8168
8169 * java/lang/ProtectionDomain.java (linesep): Remove field.
8170 (toString): Use System.getProperty("line.separator").
8171
8172 2002-10-04 Michael Koch <konqueror@gmx.de>
8173
8174 * java/security/Identity.java: Added serialVersionUID.
8175 * java/security/KeyPair.java: Added serialVersionUID.
8176 * java/security/Provider.java: Added serialVersionUID.
8177 * java/security/SecureRandom.java: Added serialVersionUID.
8178 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8179 * java/security/SignedObject.java: Added serialVersionUID.
8180 * java/security/cert/Certificate.java: Added serialVersionUID.
8181
8182 2002-10-04 Mark Wielaard <mark@klomp.org>
8183
8184 * java/security/Security.java: Use java.home or gnu.classpath.home
8185 to load providers.
8186 (loadProviders): Extra dir argument.
8187 (getProvider): Return null when not found.
8188
8189 2002-10-04 Mark Wielaard <mark@klomp.org>
8190
8191 * java/lang/Throwable.java: Remerge with Classpath.
8192
8193 2002-10-04 Michael Koch <konqueror@gmx.de>
8194
8195 * java/net/InetAddress.java:
8196 (isMulticastAddress): Added documentation.
8197 (getHostAddress): Added documentation.
8198 (toString): Added documentation.
8199 (getByAddress): Fixed documentation.
8200 (getByName): Added documentation.
8201 (getAllByName): Added documentation.
8202 (getLocalHost): Added documentation.
8203
8204 2002-10-04 Michael Koch <konqueror@gmx.de>
8205
8206 * java/beans/beancontext/BeanContextChildSupport.java:
8207 Added serialVersionUID.
8208 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8209 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8210 * javax/naming/Name.java: Added serialVersionUID.
8211
8212 2002-10-03 Adam Megacz <adam@xwt.org>
8213
8214 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8215 some functionality that isn't supported yet on WIN32.
8216
8217 2002-10-03 Tom Tromey <tromey@redhat.com>
8218
8219 * Makefile.in: Rebuilt.
8220 * Makefile.am (awt_java_source_files): Added new files.
8221
8222 2002-10-03 Michael Koch <konqueror@gmx.de>
8223
8224 * java/net/InetAddress.java
8225 (class InetAddress): Removed final keyword.
8226 (equals): Fixed typo.
8227 (getByAddress): New method.
8228
8229 2002-10-03 Michael Koch <konqueror@gmx.de>
8230
8231 * java/awt/dnd/Autoscroll.java:
8232 New file, merge from Classpath.
8233 * java/awt/dnd/DragSourceAdapter.java:
8234 (dragExit): Fixed typos in argument type.
8235 (dragDropEnd): Fixed typos in argument type.
8236 * java/awt/dnd/DragSourceDropEvent.java:
8237 New file, merge from Classpath.
8238 * java/awt/dnd/DropTarget.java:
8239 Added stubs, merge from Classpath.
8240 * java/awt/dnd/DropTargetAdapter.java:
8241 New file, merge from Classpath.
8242 * java/awt/dnd/DropTargetContext.java:
8243 New file, merge from Classpath.
8244 * java/awt/dnd/DropTargetDragEvent.java:
8245 New file, merge from Classpath.
8246 * java/awt/dnd/DropTargetDropEvent.java:
8247 New file, merge from Classpath.
8248 * java/awt/dnd/DropTargetEvent.java:
8249 New file, merge from Classpath.
8250 * java/awt/dnd/DropTargetListener.java:
8251 New file, merge from Classpath.
8252 * java/awt/dnd/MouseDragGestureRecognizer.java:
8253 New file, merge from Classpath.
8254 * java/awt/dnd/peer/DropTargetContextPeer.java:
8255 New file, merge from Classpath.
8256
8257 2002-10-03 Michael Koch <konqueror@gmx.de>
8258
8259 * java/net/DatagramPacket.java
8260 (setLength): Fixed typo and be HTML-aware.
8261 * java/net/InetSocketAddress.java
8262 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8263 (equals): Added comment about equality of InetSocketAddress objects.
8264 * java/net/ServerSocket.java
8265 (accept): Added checks.
8266 (isClosed): New stubbed method.
8267 * java/net/SocketOptions.java: Reindention.
8268 * java/net/SocketPermission
8269 (SocketPermission): Documentation fixed.
8270
8271 2002-10-03 Michael Koch <konqueror@gmx.de>
8272
8273 * java/net/DatagramSocket.java
8274 (receive): Check with SecurityManager AFTER the packet is received,
8275 check if connected to multicast address, documentation added.
8276 (send): Only check SecurityManager if connected, check address of
8277 packet to send.
8278 (connect): Implemented, documentation added.
8279 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8280 * java/net/InetSocketAddress.java
8281 (whole file): Reindented.
8282 (hostname): New attribute.
8283 (InetSocketAddress): Initialize new attribute.
8284 (getAddress): Documentation added.
8285 (getHostName): Documentation added.
8286 (getPort): Documentation added.
8287 (hashCode): Documentation added.
8288 (isUnresolved): Documentation added.
8289 (toString): Conform to output of JDK 1.4.1, documentation added.
8290 * java/net/MulticastSocket.java
8291 (joinGroup): Removed FIXME, documentation added.
8292 (leaveGroup): Removed FIXME, documentation added.
8293 (send): Documentation added.
8294 * java/net/Socket.java
8295 (inputShutdown): New variable.
8296 (outputShutdown): New variable.
8297 (Socket): Initialize new variables.
8298 (getRemoteSocketAddress): Check if connected.
8299 (shutdownInput): Set new variable.
8300 (shutdownOutput): Set new variable.
8301 (isConnected): New method.
8302 (isClosed): New method.
8303 (isInputShutdown): New method.
8304 (isOutputShutdown): New method.
8305 * java/net/URLStreamHandler.java
8306 (URLStreamHandler): New method.
8307 (openConnection): Added documentation.
8308 (parseURL): Added documentation.
8309 (getHostAddress): New method.
8310 (getDefaultPort): New method.
8311
8312 2002-10-02 Tom Tromey <tromey@redhat.com>
8313
8314 * java/rmi/activation/ActivationDesc.java,
8315 java/rmi/activation/ActivationGroupDesc.java,
8316 java/rmi/activation/ActivationGroupID.java,
8317 java/rmi/activation/ActivationID.java: New versions from
8318 Classpath.
8319
8320 2002-09-30 Bo Thorsen <bo@suse.de>
8321
8322 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8323
8324 2002-09-30 Tom Tromey <tromey@redhat.com>
8325
8326 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8327 from Classpath.
8328 * Makefile.in: Rebuilt.
8329 * Makefile.am (rmi_java_source_files): Added new files.
8330 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8331 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8332 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8333 Classpath.
8334 * gnu/java/rmi/dgc/DGCImpl.java,
8335 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8336 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8337 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8338 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8339 gnu/java/rmi/server/RMIHashes.java,
8340 gnu/java/rmi/server/RMIObjectInputStream.java,
8341 gnu/java/rmi/server/RMIObjectOutputStream.java,
8342 gnu/java/rmi/server/UnicastConnection.java,
8343 gnu/java/rmi/server/UnicastConnectionManager.java,
8344 gnu/java/rmi/server/UnicastRef.java,
8345 gnu/java/rmi/server/UnicastServer.java,
8346 gnu/java/rmi/server/UnicastServerRef.java,
8347 java/rmi/MarshalledObject.java,
8348 java/rmi/server/RMIClassLoader.java,
8349 java/rmi/server/RemoteObject.java,
8350 java/rmi/server/UnicastRemoteObject.java,
8351 java/security/SecureClassLoader.java: Merged from Classpath.
8352
8353 2002-09-29 Anthony Green <green@redhat.com>
8354
8355 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8356 Imported from GNU Classpath.
8357 * java/lang/reflect/natProxy.cc: New file.
8358 * java/lang/reflect/InvocationHandler.java: New file. Imported
8359 from GNU Classpath.
8360 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8361 Classpath.
8362 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8363 Classpath.
8364 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8365 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8366 New statics.
8367 * gcj/javaprims.h ("Java"): Add new classes.
8368 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8369 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8370 java/lang/reflect/Proxy$$ProxyType.h): And this.
8371 (inner_nat_headers): Add these new headers.
8372 (ordinary_java_source_files): Add new files.
8373 (nat_source_files): Add new file.
8374 * Makefile.in: Rebuilt.
8375
8376 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8377
8378 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8379 a single configuration.
8380
8381 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8382
8383 * java/util/TimeZone.java (getDSTSavings): New method.
8384 Fixes PR libgcj/7786.
8385
8386 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8387
8388 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8389 to see if `the_method == 0' before looking up vtable index.
8390 Fixes PR libgcj/7709.
8391
8392 2002-09-25 Tom Tromey <tromey@redhat.com>
8393
8394 * java/lang/natClassLoader.cc:
8395 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8396 * resolve.cc: Include NoClassDefFoundError.h, not
8397 ClassNotFoundException.h.
8398 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8399
8400 * defineclass.cc: Don't include ClassNotFoundException.h.
8401
8402 * resolve.cc: Include StringBuffer.
8403 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8404
8405 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8406 allocated but not initialized.
8407
8408 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8409
8410 Fix for PR libgcj/7766:
8411 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8412 (getNextEntry): Set it.
8413 (closeEntry): Likewise.
8414 (read): Likewise.
8415 (close): Likewise.
8416 (available): Use it.
8417
8418 2002-09-25 Michael Koch <konqueror@gmx.de>
8419
8420 * java/net/DatagramSocket.java
8421 (DatagramSocket): Initialize new instance variables.
8422 (close): Reset new instance variables.
8423 (getLocalAddress): Remove unneeded SecurityManager usage.
8424 (getLocalPort): Check if socket is already bound.
8425 (isConnected): New method.
8426 (getInetAddress): Implemented.
8427 (getPort): Better Implementation, documentation fixed.
8428 (getRemoteSocketAddress): New method.
8429 * java/net/JarURLConnection.java
8430 (element): Typo fixed.
8431 (getMainAttributes): New method.
8432 (getAttributes): New method (stub only).
8433 (getManifest): New method (stub only).
8434 * java/net/NetPermission.java: Added serialVersionsUID.
8435 * java/net/Socket.java
8436 (connect): Check blocking mode of associated channel,
8437 documentation added.
8438 (getLocalSocketAddress): Better implementation.
8439 (getRemoteSocketAddress): Implemented.
8440 (isBound): New method.
8441 (setSendBufferSize): Documentation added.
8442 * java/net/SocketAddress.java: Added serialVersionsUID.
8443 * java/net/SocketPermission.java: Added serialVersionsUID.
8444 * java/net/URL.java
8445 (URL): Wrap for shorter lines, initialize new instance variables,
8446 documentation added.
8447 (equals): Check new instance variables too.
8448 (getContent): Documentation added.
8449 (getPath): Documentation added.
8450 (getAuthority): New method.
8451 (getHost): Documentation added.
8452 (getPort): Documentation added.
8453 (getDefaultPort): New method.
8454 (getProtocol): Documentation added.
8455 (getUserInfo): Documentation added.
8456 (set): Initialize new instance variables, documentation added.
8457 * java/net/URLStreamHandler.java
8458 (setURL): New method.
8459 * java/net/natPlainDatagramSocketImpl.cc
8460 (connect): Fix exception name.
8461 (disconnect): Fix exception name.
8462
8463 2002-09-25 Michael Koch <konqueror@gmx.de>
8464
8465 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8466 * java/nio/channels/DatagramChannel.java:
8467 extends AbstractSelectableChannel
8468 * java/nio/channels/ServerSocketChannel.java:
8469 extends AbstractSelectableChannel
8470 * java/nio/channels/SocketChannel.java:
8471 extends AbstractSelectableChannel
8472 * Makefile.am (ordinary_java_source_files):
8473 java/nio/channels/spi/AbstractSelectableChannel.java added.
8474 * Makefile.in: Regenerated.
8475
8476 2002-09-25 Michael Koch <konqueror@gmx.de>
8477
8478 * java/net/DatagramSocket.java
8479 (DatagramSocket): Exception documentation added.
8480 (bind): Exception documentation added, addded SecurityManager check,
8481 added SocketAddress type check.
8482 (getSoTimeout): Check impl.
8483 (receive): Fix SecurityManager check, check impl, documentation added.
8484 (send): Check channel mode, documentation added.
8485 (connect): New method.
8486 (disconnect): Implemented.
8487 (getLocalSocketAddress): New method.
8488 (getReceiveBufferSize): Check impl.
8489 (setReuseAddress): Check impl.
8490 (getReuseAddress): Check impl.
8491 (setBroadcast): Check impl.
8492 (getBroadcast): Check impl.
8493 (setTrafficClass): Check impl, Documentation cleared.
8494 (getTrafficClass): Check impl.
8495 (getSendBufferSize): Check impl.
8496 (setReceiveBufferSize): Check impl, documentation added.
8497 (setSendBufferSize): Documentation added.
8498 (setDatagramSocketImplFactory): New method.
8499 * java/net/HttpURLConnection.java
8500 (HTTP_INTERNAL_ERROR): The correct code is 500.
8501 (HTTP_NOT_IMPLEMENTED): Added new constant.
8502 (setFollowRedirects): Documentation added.
8503 (getInstanceFollowRedirects): New method.
8504 (setInstanceFollowRedirects): New method.
8505 (setRequestMethod): Documentation added.
8506 (getResponseCode): Documentation added.
8507 (getResponseMessage): Documentation added.
8508 * java/net/JarURLConnection.java
8509 (JarURLConnection): protected since JDK 1.4.
8510 (getJarEntry): java.io.IOException to IOException, documentation added.
8511 (getJarFile): Documentation added.
8512 * java/net/ServerSocket.java
8513 (ServerSocket): Private to public, exception added.
8514 (ServerSocket): java.io.IOException to IOException, documentation added.
8515 (bind): Check socket address type, documentation added.
8516 (bind): java.io.IOException to IOException, documentation added.
8517 (accept): Documentation added.
8518 (implAccept): Check ch is not non-blocking, documentation added.
8519 (setSoTimeout): Documentation fixed.
8520 (setReceiveBufferSize): Documentation added.
8521 * java/net/Socket.java
8522 (Socket): Documentation added.
8523 (bind): Documentation added.
8524 (connect): Check socket address type, documentation added.
8525 (getRemoteSocketAddress): New method.
8526 (getLocalSocketAddress): New method.
8527 (setSoLinger): Documentation added.
8528 (getReuseAddress): New method.
8529 (setReuseAddress): New method.
8530 (getTrafficClass): New method.
8531 (setTrafficClass): New method.
8532 * java/net/URLStreamHandler.java
8533 (openConnection): java.io.IOException to IOException.
8534 (parseURL): Documentation added.
8535 (sameFile): public to protected, documentation added.
8536 (setURL): Documentation added.
8537 * java/nio/IllegalBlockingModeException.java: New file.
8538 * Makefile.am (ordinary_java_source_files):
8539 added java/nio/IllegalBlockingModeException.java
8540 * Makefile.in: Regenerated.
8541
8542 2002-09-25 Michael Koch <konqueror@gmx.de>
8543
8544 * java/net/DatagramPacket
8545 (DatagramPacket): Exception documentation added.
8546 (setData): Likewise.
8547 (setSocketAddress): Likewise.
8548 * java/net/DatagramSocketImpl.java
8549 (peek): Documentation addded.
8550 (peekData): Documentation addded.
8551 (send): Documentation addded.
8552 (receive): Documentation addded.
8553 (connect): New method.
8554 (disconnect): New method.
8555 (joinGroup): New abstract method.
8556 (leaveGroup): New abstract method.
8557 * java/net/InetSocketAddress.java
8558 (InetSocketAddress): Documentation added.
8559 (equals): final keyword added.
8560 (getAddress): final keyword added.
8561 (getHostName): final keyword added.
8562 (getPort): final keyword added.
8563 (hashCode): final keyword added.
8564 (isUnresolved): final keyword added.
8565 * java/net/MulticastSocket.java
8566 (MulticastSocket): Documentation added.
8567 (MulticastSocket): New method.
8568 (joinGroup): Documentation added.
8569 (joinGroup): New method.
8570 (leaveGroup): Documentation added.
8571 (leaveGroup): New method.
8572 (send): Documentation added.
8573 * java/net/NetworkInterface.java
8574 (getByName): Documentation added.
8575 (getByInetAddress): Documentation added.
8576 (getNetworkInterfaces): Documentation added.
8577 * java/net/PlainDatagramSocketImpl.java
8578 (connect): New method.
8579 (disconnect): New method.
8580 * java/net/SocketImpl.java
8581 (create): Documentation added.
8582 (shutdownInput): Convert public to protected, as it always was.
8583 (shutdownOutput): Convert public to protected, as it always was.
8584 * java/net/SocketOptions.java
8585 (whole file): Reintented.
8586 * java/net/URLClassLoader.java
8587 (URLClassLoader): SecurityManager check added, documentation added.
8588 (findResources): Documentation added.
8589 (findClass): Documentation added.
8590 (newInstance): More correct method arguments.
8591 * java/net/URLConnection.java
8592 (connect): Documentation added.
8593 (getContent): Documentation added.
8594 (getPermission): Documentation added.
8595 (getInputStream): Documentation added.
8596 (getOutputStream): Documentation added.
8597 (setDoInput): Throw correct exception, documentation added.
8598 (setDoOutput): Throw correct exception, documentation added.
8599 (setAllowUserInteraction): Throw correct exception, documentation added.
8600 (setUseCaches): Throw correct exception, documentation added.
8601 (setIfModifiedSince): Throw correct exception, documentation added.
8602 (setRequestProperty): Throw exception, documentation added.
8603 (addRequestProperty): Throw exception, documentation added.
8604 (getRequestProperty): Throw exception, documentation added.
8605 (getRequestProperties): Documentation added.
8606 (setContentHandlerFactory): Documentation added.
8607 (guessContentTypeFromName): protected to public.
8608 (setFileNameMap): Documentation added.
8609 * java/net/URLDecoder.java
8610 (URLDecoder): New method.
8611 (decode): Documentation added.
8612 (whole file): Reindented.
8613 * java/net/URLEncoder.java
8614 (encode): Documentation added.
8615 * java/net/natPlainDatagramSocketImpl.cc
8616 (connect): New method.
8617 (disconnect): New method.
8618 * javax/naming/RefAddr:
8619 (addrType): addrType was never final.
8620 (equals): Fix typo in method name.
8621 * javax/naming/BinaryRefAddr:
8622 (equals): Fix typo in method name.
8623
8624 2002-09-22 Tom Tromey <tromey@redhat.com>
8625
8626 Fix for PR libgcj/6576:
8627 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8628 didn't find a given bundle.
8629 (getBundle): Don't require base bundle.
8630 (setParent): Removed old comment.
8631 (tryLocalBundle): Try components even if preceding components were
8632 empty.
8633
8634 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8635
8636 * Makefile.am (all-multi): Fix multilib parallel build.
8637
8638 2002-09-21 Michael Koch <konqueror@gmx.de>
8639
8640 * java/net/Socket.java
8641 (sendUrgentData): New method.
8642 (getChannel): New method.
8643 * java/net/ServerSocket.java
8644 (getChannel): New method.
8645 (isBound): New method.
8646 * java/net/DatagramSocket.java
8647 (DatagramSocket): Two new methods.
8648 (bind): New method.
8649 (getChannel): New method.
8650 (isBound): New method.
8651 (send): Added newline to to make shorter lines.
8652 * java/net/PlainDatagramSocketImpl.java
8653 (mcastGrp): Added argument.
8654 (join): Use new mcastGrp.
8655 (leave): Use new mcastGrp.
8656 (joinGroup): New method.
8657 (leaveGroup): New method.
8658 * java/net/natPlainDatagramSocketImpl.cc
8659 (mcastGrp): Added argument, no yet really implemented.
8660 (getOption): Added newline for shorter lines.
8661 * java/net/natPlainSocketImpl.cc
8662 (read, setOption, getOption): Added newline for shorter lines.
8663
8664 2002-09-19 Tom Tromey <tromey@redhat.com>
8665
8666 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8667 newly-created exception.
8668
8669 2002-09-18 Michael Koch <konqueror@gmx.de>
8670
8671 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8672 java/util/regex/PatternSyntaxException.java:
8673 Merge with classpath, new files.
8674 * Makefile.am (core_java_source_files):
8675 Added java/util/regex/Matcher.java,
8676 java/util/regex/Pattern.java,
8677 java/util/regex/PatternSyntaxException.java
8678 * Makefile.in: Regenerated.
8679 * include/config.h.in: Added HAVE_NET_IF_H.
8680 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8681 Removed #if 0 ... #endif.
8682
8683 2002-09-17 Michael Koch <konqueror@gmx.de>
8684
8685 * java/net/natNetworkInterface.cc:
8686 Removed unneed and yet wrong includes.
8687
8688 2002-09-17 Michael Koch <konqueror@gmx.de>
8689
8690 * java/net/NetworkInterface.java: New file.
8691 * java/net/natNetworkInterface.java: New file.
8692 * configure.in: Added check for net/if.h.
8693 * configure: Regenerated.
8694 * Makefile.am
8695 (ordinary_java_source_files): Added NetworkInterface.java.
8696 (nat_source_files): Added natNetworkInterface.cc.
8697 * Makefile.in: Regenerated.
8698
8699 2002-09-16 Tom Tromey <tromey@redhat.com>
8700
8701 * java/net/URLClassLoader.java (findClass): Code source for a
8702 class from a jar is not necessarily a jar: URL.
8703
8704 2002-09-16 Michael Koch <konqueror@gmx.de>
8705
8706 * java/lang/AssertionError.java:
8707 Merge with classpath, fixes HTML.
8708 * java/rmi/server/LogStream.java:
8709 Merge with classpath, fixes some constants.
8710 * java/net/server/RemoteServer.java:
8711 Merge with classpath, adds serialVersionUID.
8712 * javax/naming/BinaryRefAddr.java:
8713 Merge with classpath, s/equal/equals/.
8714 * javax/naming/NamingException.java:
8715 Merge with classpath, fixed typo.
8716 * javax/naming/RefAddr.java:
8717 Merge with classpath, s/equal/equals/.
8718 * java/awt/Toolkit.java:
8719 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8720 and typo fixed.
8721
8722 2002-09-15 Adam Megacz <adam@xwt.org>
8723
8724 * java/net/natPlainSocketImpl.cc: fixed typo.
8725
8726 2002-09-15 Adam Megacz <adam@xwt.org>
8727
8728 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8729 which don't work on Win32 (yet).
8730
8731 2002-09-14 Adam Megacz <adam@xwt.org>
8732
8733 * java/net/natPlainDatagramSocket.cc: removed #include
8734 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8735 * include/win32.h: included definition for IP_TOS to satisfy
8736 natPlainDatagramSocket.cc
8737
8738 2002-09-13 Michael Koch <konqueror@gmx.de>
8739
8740 * java/net/DatagramPacket.java (DatagramPacket):
8741 Added linebreak for 80 chars per line.
8742 * java/net/JarURLConection.java
8743 (getInputStreami, getJarEntry): Likewise.
8744 * java/net/SocketPErmission.java
8745 (SocketPermission class docu, implies): Likewise.
8746 * java/net/URLClassLoader.java (findResources): Likewise.
8747 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8748
8749 2002-09-13 Michael Koch <konqueror@gmx.de>
8750
8751 * java/nio/channels/DatagramChannel.java,
8752 java/nio/channels/ServerSocketChannel.java
8753 java/nio/channels/SocketChannel.java:
8754 New dummy files to make java.net fully JDK 1.4 compatible
8755 * Makefile.am (ordinary_java_source_files): Added
8756 java/net/DatagramSocketImplFactory.java (long forgotten),
8757 java/nio/SocketChannel.java,
8758 java/nio/ServerSocketChannel.java,
8759 java/nio/DatagramChannel.java
8760 * Makefile.in: Regenrated.
8761
8762 2002-09-12 Michael Koch <konqueror@gmx.de>
8763
8764 * java/net/DatagramSocketImpl.java
8765 (peekData): New method.
8766 * java/net/PlainDatagramSocketImpl.java
8767 (peekData): New method.
8768 * java/net/natPlainDatagramSocketImpl.cc
8769 (peekData): New method.
8770 * java/net/URLConnection
8771 (getPermission): New method.
8772 (addRequestProperty): New method.
8773 (getRequestProperties): New method.
8774 (guessContentTypeFromStream): New method, not really implemented.
8775 (URLConnection): Added/updated documentation.
8776 (connect): Added/updated documentation.
8777 (getURL): Added/updated documentation.
8778 (getContentLength): Added/updated documentation.
8779 (getContentType: Added/updated documentation.
8780 (getContentEncoding): Added/updated documentation.
8781 (getExpiration): Added/updated documentation.
8782 (getDate): Added/updated documentation.
8783 (getLastModified): Added/updated documentation.
8784 (getHeaderField): Added/updated documentation.
8785 (getHeaderFields): Added/updated documentation.
8786 (getHeaderFieldInt): Added/updated documentation.
8787 (getHeaderFieldDate): Added/updated documentation.
8788 (getHeaderFieldKey): Added/updated documentation.
8789 (getContent): Added/updated documentation.
8790 (getInputStream): Added/updated documentation.
8791 (getOutputStream): Added/updated documentation.
8792 (toString): Added/updated documentation.
8793 (setDoInput): Added/updated documentation.
8794 (getDoInput): Added/updated documentation.
8795 (setDoOutput): Added/updated documentation.
8796 (getDoOutput): Added/updated documentation.
8797 (setAllowUserInteraction): Added/updated documentation.
8798 (getAllowUserInteraction): Added/updated documentation.
8799 (setDefaultAllowUserInteraction): Added/updated documentation.
8800 (getDefaultAllowUserInteraction): Added/updated documentation.
8801 (setUseCaches): Added/updated documentation.
8802 (getUseCaches): Added/updated documentation.
8803 (setIfModifiedSince): Added/updated documentation.
8804 (getIfModifiedSince): Added/updated documentation.
8805 (getDefaultUseCaches): Added/updated documentation.
8806 (setDefaultUseCaches): Added/updated documentation.
8807 (setRequestProperty): Added/updated documentation.
8808 (getRequestProperty): Added/updated documentation.
8809 (setDefaultRequestProperty): Added/updated documentation.
8810 (getDefaultRequestProperty): Added/updated documentation.
8811 (setContentHandlerFactory): Added/updated documentation.
8812 (guessContentTypeFromName): Added/updated documentation.
8813 (getFileNameMap): Added/updated documentation.
8814 (setFileNameMap): Added/updated documentation.
8815
8816 2002-09-11 Michael Koch <konqueror@gmx.de>
8817
8818 * java/net/Socket.java
8819 (Socket): protected to public (since JDK 1.4). Added @specnote.
8820 (bind): New method.
8821 (connect): Two new methods.
8822 (getKeepalive): Get correct socket option.
8823 (setKeepalive): Set correct socket option.
8824 (getOOBInline): New method.
8825 (setOOBInline): New method.
8826 * java/net/ServerSocket.java
8827 (bind): Two new methods.
8828 (getInetAddress): Reimplemented, catch exception.
8829 (getLocalSocketAddress): New method.
8830 (setReuseAddress): New method.
8831 (getReuseAdress): New method.
8832 (setReceiveBufferSize): New method.
8833 (getReceiveBufferSize): New method.
8834 (toString): Made string JDK 1.4 compliant.
8835
8836 2002-09-10 Michael Koch <konqueror@gmx.de>
8837
8838 * java/net/SocketImpl.java
8839 (connect): New method.
8840 (supportsUrgentData): New method.
8841 (sendUrgentData): New method.
8842 * java/net/PlainSocketImpl.java
8843 (connect): One new method and two new implementation.
8844 (sendUrgentData): New method.
8845 * java/natPlainSocketImpl.cc
8846 (connect): Arguments changed, added support for timeouts.
8847 (getOption): Another __java_boolean to jboolean.
8848
8849 2002-09-07 Adam Megacz <adam@xwt.org>
8850
8851 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8852 definition of IP_TOS.
8853
8854 2002-09-04 Michael Koch <konqueror@gmx.de>
8855
8856 * java/net/DatagramSocket.java
8857 (DatagramSocket): Added documentation.
8858 (close): Likewise.
8859 (getLocalAddress): Likewise.
8860 (getLocalPort): Likewise.
8861 (receive): Likewise.
8862 (send): Likewise.
8863 (setSoTimeout): Likewise.
8864 (connect): New method.
8865 (disconnect): New method.
8866 (getInetAddress): New method (FIXME)
8867 (getPort): New method.
8868 (setReuseAddress): New method.
8869 (getReuseAddress): New method.
8870 (setBroadcast): New method.
8871 (getBroadcast): New method.
8872 (setTrafficClass): New method.
8873 (getTrafficClass): New method.
8874 * java/net/MulticastSocket.java):
8875 (getTTL): Added @see in documentation.
8876 (setTTL): Added @see in documentation.
8877 (setLoopbackMode): New method.
8878 (getLoopbackMode): New method.
8879 * java/net/PlainSocketImpl.java:
8880 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8881 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8882 * java/net/PlainDatagramSocketImpl.java
8883 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8884 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8885 * java/net/natPlainSocketImpl.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 This should also fix SO_KEEPALIVE
8891 * java/net/natPlainDatagramSocketImpl.cc
8892 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8893 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8894 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8895 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8896
8897 2002-09-04 Michael Koch <konqueror@gmx.de>
8898
8899 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8900 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8901 IP_MULTICAST_LOOP, IP_TOS
8902
8903 2002-09-03 Tom Tromey <tromey@redhat.com>
8904
8905 * java/lang/Class.h (_getDeclaredMethod): Declare.
8906 (_getMethod): Now private.
8907 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8908 getDeclaredMethod. Now returns NULL on failure.
8909 * java/lang/Class.java (_getDeclaredMethod): Declare.
8910 (getDeclaredMethod): No longer native; implements access checks.
8911
8912 2002-09-01 Mark Wielaard <mark@klomp.org>
8913
8914 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8915 (sanitizeStack): Correctly reset unknown and interpreter counters,
8916 detect interpreter runtime frames.
8917 (demangleInterpreterMethod): New method.
8918 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8919 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8920 filling in addrs[].
8921
8922 2002-09-02 Michael Koch <konqueror@gmx.de>
8923
8924 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8925 re-indented documentation.
8926
8927 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8928
8929 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8930 public, per 1.4 spec. Fixes PR libgcj/7785.
8931
8932 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8933
8934 * Makefile.in: Rebuilt.
8935 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8936
8937 2002-08-29 Tom Tromey <tromey@redhat.com>
8938
8939 * java/net/JarURLConnection.java (getCertificates): New method
8940 from Classpath.
8941 * java/net/URLClassLoader.java (URLClassLoader): Extends
8942 SecureClassLoader.
8943 (definePackage): New method from Classpath.
8944 (getPermissions): Likewise.
8945 (newInstance): Likewise.
8946 (findClass): Construct CodeSource for new class (from Classpath).
8947 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8948 methods.
8949 * java/net/URL.java (getUserInfo): New method.
8950 (set(String,String,int,String,String,String,String,String)): New
8951 method.
8952 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8953 (shutdownInput, shutdownOutput): Declare.
8954 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8955 Define.
8956 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8957 (getOption): Likewise.
8958 (shutdownInput): New method.
8959 (shutdownOutput): Likewise.
8960 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8961 keepalive.
8962 (getOption): Likewise.
8963 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8964 * java/net/Socket.java (setKeepAlive): New method.
8965 (getKeepAlive): Likewise.
8966 (shutdownInput, shutdownOutput): New methods.
8967
8968 2002-08-29 Michael Koch <konqueror@gmx.de>
8969
8970 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8971 new methods are:
8972 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8973 address),
8974 DatagramPacket(byte[] buf, int length, SocketAddress address),
8975 void setSocketAddress(SocketAddress address)
8976 public SocketAddress getSocketAddress()
8977
8978 2002-08-29 Tom Tromey <tromey@redhat.com>
8979
8980 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8981 ftruncate is missing.
8982 * configure, include/config.h.in: Rebuilt.
8983 * acconfig.h (HAVE_FTRUNCATE): Mention.
8984 * configure.in: Check for ftruncate.
8985
8986 2002-08-29 Tom Tromey <tromey@redhat.com>
8987
8988 * include/jvm.h (struct _Jv_frame_info): New structure.
8989 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8990 java-interp.h.
8991 (lookupInterp): New method.
8992 (getAddrAsString): Use _Jv_frame_info.
8993 (dladdrLookup): Likewise.
8994 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8995 interpreted frame.
8996 (lookupInterp): Declare.
8997 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8998 (fillInStackTrace): Collect information on interpreted frames.
8999 Use _Jv_frame_info.
9000 * interpret.cc: Include Thread.h.
9001 (run): Create and push _Jv_MethodChain object.
9002 (_Jv_EndOfInterpreter): New global.
9003 * java/lang/Thread.java (interp_frame): New field.
9004 * include/java-interp.h (struct _Jv_MethodChain): New structure.
9005 Include NameFinder.h.
9006
9007 2002-08-28 Tom Tromey <tromey@redhat.com>
9008
9009 * java/lang/Class.h: Include Package.h.
9010 (Class::getProtectionDomain): Declare.
9011 (Class::getPackage): Declare.
9012
9013 2002-08-28 Michael Koch <konqueror@gmx.de>
9014
9015 * java/net/InetSocketAddress.java: Added some documentation and argument
9016 checks for the port numbers.
9017 * java/net/DatagramSocketImplFactory.java: New file.
9018
9019 2002-08-28 Michael Koch <konqueror@gmx.de>
9020
9021 * java/net/Authenticator.java: added some documentation.
9022
9023 2002-08-27 Tom Tromey <tromey@redhat.com>
9024
9025 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
9026 class.
9027 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
9028
9029 2002-08-27 Michael Koch <konqueror@gmx.de>
9030
9031 * java/net/BindException.java,
9032 java/net/JarURLConnection.java,
9033 java/net/FileNameMap.java,
9034 java/net/HttpURLConnection.java,
9035 java/net/InetSocketAddress.java,
9036 java/net/DatagramPacket.java,
9037 java/net/DatagramSocket.java,
9038 java/net/DatagramSocketImpl.java,
9039 java/net/MulticastSocket.java,
9040 java/net/PasswordAuthentication.java,
9041 java/net/ServerSocket.java,
9042 java/net/Socket.java,
9043 java/net/URLClassLoader.java,
9044 java/net/URLConnection.java: add/update of some @since/@deprecated
9045
9046 2002-08-27 Tony Kimball <alk@pobox.com>
9047 Tom Tromey <tromey@redhat.com>
9048
9049 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
9050 define.
9051 (::close): Removed.
9052 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
9053 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
9054 (::close): Removed.
9055 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9056 * include/win32.h (getcwd): Removed declaration. Include io.h.
9057
9058 2002-08-25 Adam Megacz <adam@xwt.org>
9059
9060 * include/win32.h (getcwd): copied function declaration as
9061 temporary fix for header confusion.
9062
9063 2002-08-24 Mark Wielaard <mark@klomp.org>
9064
9065 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9066 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9067 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9068 and natNameFinder.cc.
9069 * Makefile.in: Regenerate.
9070 * prims.cc: Use trace_enabled from VMThrowable.
9071 * name-finder.cc: Removed.
9072 * gcj/javaprims.h: Add class VMThrowable.
9073 * gnu/gcj/runtime/NameFinder.java: New file.
9074 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9075 * include/name-finder.h: Removed.
9076 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9077 method stackTraceString().
9078 (printStackTrace (PrintWriter)): Likewise.
9079 (stackTraceString): Complete rewrite of old printStackTrace using
9080 StringBuffer.
9081 (stackTraceStringBuffer): New helper method for stackTraceString().
9082 (fillInStackTrace): Delegate to VMTrowable.
9083 (getStackTrace): Likewise.
9084 (getStackTrace0): Removed.
9085 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9086 (setStackTrace): Copy given array.
9087 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9088 * java/lang/VMThrowable.java: New class.
9089 * java/lang/natVMThrowable.cc: New file.
9090
9091 2003-08-23 Michael Koch <konqueror@gmx.de>
9092
9093 * java/net/URLConnection.java,
9094 java/netJarURLConnection.java,
9095 gnu/gcj/protocol/core/Connection.java,
9096 gnu/gcj/protocol/file/Connection.java,
9097 gnu/gcj/protocol/http/Connection.java: Added implementation of
9098 getHeaderFields().
9099
9100 2002-08-22 Tom Tromey <tromey@redhat.com>
9101
9102 * gij.cc (help): Document -cp and -classpath.
9103 (main): Handle -classpath.
9104
9105 2002-08-21 Tom Tromey <tromey@redhat.com>
9106
9107 * Makefile.in: Rebuilt.
9108 * Makefile.am (ordinary_java_source_files): Added
9109 SocketAddress.java, InetSocketAddress.java.
9110 * java/net/PortUnreachableException.java: Merged with Classpath.
9111 * java/net/SocketTimeoutException.java: Likewise.
9112 * java/net/URISyntaxException.java: Likewise.
9113 * java/net/SocketAddress.java: New class from Classpath.
9114 * java/net/InetSocketAddress.java: Likewise.
9115
9116 2003-08-21 Michael Koch <konqueror@gmx.de>
9117
9118 * java/net/Authenticator.java: updated JDK 1.4
9119 * java/net/ContentHandler.java: updated JDK 1.4
9120
9121 2002-08-20 Michael Koch <konqueror@gmx.de>
9122
9123 * java/net/URISyntaxException.java: New file.
9124 * java/net/SocketTimeoutException.java: New file.
9125 * java/net/PortUnreachableException.java: New file.
9126 * Makefile.am: Updated.
9127 * Makefile.in: Rebuilt.
9128
9129 2002-08-18 Mark Wielaard <mark@klomp.org>
9130
9131 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9132 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9133 MessageDigestSpi (fixes Classpath bug #783).
9134
9135 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9136
9137 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9138 (startProcess): Allocate path for chdir in async-signal-safe way.
9139
9140 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9141
9142 Fix for PR libgcj/7570 and PR libgcj/7578:
9143 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9144 (startProcess): Handle new `dir' argument.
9145 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9146 argument.
9147 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9148 argument.
9149 (startProcess): Likewise.
9150 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9151 argument.
9152 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9153 (exec): Don't create new environment if ENV==null. Pass DIR to
9154 execInternal.
9155 * java/lang/natRuntime.cc: Include java/io/File.h.
9156 (execInternal): Added `dir' argument.
9157
9158 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9159
9160 * java/io/RandomAccessFile.java (skipBytes): Return number of
9161 bytes skipped.
9162
9163 2002-08-01 Mark Wielaard <mark@klomp.org>
9164
9165 Reenable patch since shared library troubles on powerpc are solved:
9166 * gnu/java/security/provider/Gnu.java: Reference all implementation
9167 classes by using Class.getName().
9168 * gnu/java/security/der/DEREncodingException.java,
9169 gnu/java/security/provider/DERReader.java,
9170 gnu/java/security/provider/DERWriter.java,
9171 gnu/java/security/provider/DSAKeyPairGenerator.java,
9172 gnu/java/security/provider/DSAParameterGenerator.java,
9173 gnu/java/security/provider/DSAParameters.java,
9174 gnu/java/security/provider/DSASignature.java,
9175 gnu/java/security/provider/GnuDSAPrivateKey.java,
9176 gnu/java/security/provider/GnuDSAPublicKey.java,
9177 gnu/java/security/provider/MD5.java,
9178 gnu/java/security/util/Prime.java: New classes
9179 * Makefile.am (ordinary_java_source_files): Add above files.
9180 * Makefile.in: Regenerate.
9181 * gnu/java/security/provider/DefaultPolicy.java
9182 (getPermissions): Don't maintain static class variable of Permissions.
9183 * gnu/java/security/provider/SHA.java
9184 (engineUpdate): algorithm change.
9185 (engineDigest): algorithm change.
9186
9187 2002-08-09 Mark Wielaard <mark@klomp.org>
9188
9189 * java/awt/image/MemoryImageSource.java: Change constructor to take
9190 int[] not byte[].
9191 * java/awt/Graphics2D.java: Uncomment methods that can now be
9192 compiled.
9193 * java/awt/GridBagLayout.java: New stub implementation.
9194 * javax/swing/text/html/HTML.java: Stub implementation.
9195 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9196 implementation.
9197
9198 * Makefile.am: Add new files.
9199 * Makefile.in: Rebuilt.
9200
9201 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9202
9203 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9204 methods in Graphics2D.
9205
9206 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9207
9208 AWT/Swing merge from GNU Classpath.
9209
9210 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9211 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9212 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9213 java/awt/color/ProfileDataException.java,
9214 java/awt/CompositeContext.java, java/awt/Composite.java,
9215 java/awt/ContainerOrderFocusTraversalPolicy.java,
9216 java/awt/datatransfer/FlavorTable.java,
9217 java/awt/DefaultFocusTraversalPolicy.java,
9218 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9219 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9220 java/awt/dnd/DragGestureListener.java,
9221 java/awt/dnd/DragGestureRecognizer.java,
9222 java/awt/dnd/DragSourceAdapter.java,
9223 java/awt/dnd/DragSourceContext.java,
9224 java/awt/dnd/DragSourceDragEvent.java,
9225 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9226 java/awt/dnd/DragSourceListener.java,
9227 java/awt/dnd/DragSourceMotionListener.java,
9228 java/awt/dnd/DropTarget.java,
9229 java/awt/dnd/InvalidDnDOperationException.java,
9230 java/awt/dnd/peer/DragSourceContextPeer.java,
9231 java/awt/event/AWTEventListenerProxy.java,
9232 java/awt/event/MouseWheelEvent.java,
9233 java/awt/event/MouseWheelListener.java,
9234 java/awt/event/WindowFocusListener.java,
9235 java/awt/event/WindowStateListener.java,
9236 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9237 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9238 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9239 java/awt/geom/FlatteningPathIterator.java,
9240 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9241 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9242 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9243 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9244 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9245 java/awt/image/ImagingOpException.java,
9246 java/awt/image/RasterFormatException.java,
9247 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9248 java/awt/image/VolatileImage.java,
9249 java/awt/image/WritableRenderedImage.java,
9250 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9251 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9252 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9253 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9254 java/awt/PageAttributes.java, java/awt/print/Book.java,
9255 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9256 java/awt/print/Paper.java, java/awt/print/Printable.java,
9257 java/awt/print/PrinterAbortException.java,
9258 java/awt/print/PrinterException.java,
9259 java/awt/print/PrinterGraphics.java,
9260 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9261 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9262 java/awt/Stroke.java, java/awt/TexturePaint.java,
9263 javax/accessibility/AccessibleAction.java,
9264 javax/accessibility/AccessibleBundle.java,
9265 javax/accessibility/AccessibleComponent.java,
9266 javax/accessibility/AccessibleContext.java,
9267 javax/accessibility/AccessibleEditableText.java,
9268 javax/accessibility/AccessibleExtendedComponent.java,
9269 javax/accessibility/AccessibleExtendedTable.java,
9270 javax/accessibility/AccessibleHyperlink.java,
9271 javax/accessibility/AccessibleHypertext.java,
9272 javax/accessibility/AccessibleIcon.java,
9273 javax/accessibility/Accessible.java,
9274 javax/accessibility/AccessibleKeyBinding.java,
9275 javax/accessibility/AccessibleRelation.java,
9276 javax/accessibility/AccessibleRelationSet.java,
9277 javax/accessibility/AccessibleResourceBundle.java,
9278 javax/accessibility/AccessibleRole.java,
9279 javax/accessibility/AccessibleSelection.java,
9280 javax/accessibility/AccessibleState.java,
9281 javax/accessibility/AccessibleStateSet.java,
9282 javax/accessibility/AccessibleTable.java,
9283 javax/accessibility/AccessibleTableModelChange.java,
9284 javax/accessibility/AccessibleText.java,
9285 javax/accessibility/AccessibleValue.java,
9286 javax/swing/AbstractAction.java,
9287 javax/swing/AbstractButton.java,
9288 javax/swing/AbstractCellEditor.java,
9289 javax/swing/AbstractListModel.java,
9290 javax/swing/AbstractSet.java, javax/swing/Action.java,
9291 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9292 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9293 javax/swing/border/CompoundBorder.java,
9294 javax/swing/border/EmptyBorder.java,
9295 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9296 javax/swing/border/LineBorder.java,
9297 javax/swing/border/MatteBorder.java,
9298 javax/swing/border/TitledBorder.java,
9299 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9300 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9301 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9302 javax/swing/CellRendererPane.java,
9303 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9304 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9305 javax/swing/colorchooser/ColorSelectionModel.java,
9306 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9307 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9308 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9309 javax/swing/DefaultBoundedRangeModel.java,
9310 javax/swing/DefaultButtonModel.java,
9311 javax/swing/DefaultCellEditor.java,
9312 javax/swing/DefaultCellRenderer.java,
9313 javax/swing/DefaultComboBoxModel.java,
9314 javax/swing/DefaultDesktopManager.java,
9315 javax/swing/DefaultFocusManager.java,
9316 javax/swing/DefaultListCellRenderer.java,
9317 javax/swing/DefaultListModel.java,
9318 javax/swing/DefaultListSelectionModel.java,
9319 javax/swing/DefaultSingleSelectionModel.java,
9320 javax/swing/DesktopManager.java,
9321 javax/swing/event/AncestorEvent.java,
9322 javax/swing/event/AncestorListener.java,
9323 javax/swing/event/CaretEvent.java,
9324 javax/swing/event/CaretListener.java,
9325 javax/swing/event/CellEditorListener.java,
9326 javax/swing/event/ChangeEvent.java,
9327 javax/swing/event/ChangeListener.java,
9328 javax/swing/event/DocumentEvent.java,
9329 javax/swing/event/DocumentListener.java,
9330 javax/swing/event/EventListenerList.java,
9331 javax/swing/event/HyperlinkEvent.java,
9332 javax/swing/event/HyperlinkListener.java,
9333 javax/swing/event/InternalFrameAdapter.java,
9334 javax/swing/event/InternalFrameEvent.java,
9335 javax/swing/event/InternalFrameListener.java,
9336 javax/swing/event/ListDataEvent.java,
9337 javax/swing/event/ListDataListener.java,
9338 javax/swing/event/ListSelectionEvent.java,
9339 javax/swing/event/ListSelectionListener.java,
9340 javax/swing/event/MenuDragMouseEvent.java,
9341 javax/swing/event/MenuDragMouseListener.java,
9342 javax/swing/event/MenuEvent.java,
9343 javax/swing/event/MenuKeyEvent.java,
9344 javax/swing/event/MenuKeyListener.java,
9345 javax/swing/event/MenuListener.java,
9346 javax/swing/event/MouseInputAdapter.java,
9347 javax/swing/event/MouseInputListener.java,
9348 javax/swing/event/PopupMenuEvent.java,
9349 javax/swing/event/PopupMenuListener.java,
9350 javax/swing/event/SwingPropertyChangeSupport.java,
9351 javax/swing/event/TableColumnModelEvent.java,
9352 javax/swing/event/TableColumnModelListener.java,
9353 javax/swing/event/TableModelEvent.java,
9354 javax/swing/event/TableModelListener.java,
9355 javax/swing/event/TreeExpansionEvent.java,
9356 javax/swing/event/TreeExpansionListener.java,
9357 javax/swing/event/TreeModelEvent.java,
9358 javax/swing/event/TreeModelListener.java,
9359 javax/swing/event/TreeSelectionEvent.java,
9360 javax/swing/event/TreeSelectionListener.java,
9361 javax/swing/event/TreeWillExpandListener.java,
9362 javax/swing/event/UndoableEditEvent.java,
9363 javax/swing/event/UndoableEditListener.java,
9364 javax/swing/filechooser/FileFilter.java,
9365 javax/swing/filechooser/FileSystemView.java,
9366 javax/swing/filechooser/FileView.java,
9367 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9368 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9369 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9370 javax/swing/JApplet.java, javax/swing/JButton.java,
9371 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9372 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9373 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9374 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9375 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9376 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9377 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9378 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9379 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9380 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9381 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9382 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9383 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9384 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9385 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9386 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9387 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9388 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9389 javax/swing/JToolTip.java, javax/swing/JTree.java,
9390 javax/swing/JViewport.java, javax/swing/JWindow.java,
9391 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9392 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9393 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9394 javax/swing/MenuSelectionManager.java,
9395 javax/swing/MutableComboBoxModel.java,
9396 javax/swing/OverlayLayout.java,
9397 javax/swing/plaf/ActionMapUIResource.java,
9398 javax/swing/plaf/basic/BasicBorders.java,
9399 javax/swing/plaf/basic/BasicButtonUI.java,
9400 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9401 javax/swing/plaf/basic/BasicDefaults.java,
9402 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9403 javax/swing/plaf/basic/BasicIconFactory.java,
9404 javax/swing/plaf/basic/BasicLabelUI.java,
9405 javax/swing/plaf/basic/BasicListUI.java,
9406 javax/swing/plaf/basic/BasicLookAndFeel.java,
9407 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9408 javax/swing/plaf/basic/BasicPanelUI.java,
9409 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9410 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9411 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9412 javax/swing/plaf/basic/BasicTextUI.java,
9413 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9414 javax/swing/plaf/basic/BasicTreeUI.java,
9415 javax/swing/plaf/basic/BasicViewportUI.java,
9416 javax/swing/plaf/BorderUIResource.java,
9417 javax/swing/plaf/ButtonUI.java,
9418 javax/swing/plaf/ColorChooserUI.java,
9419 javax/swing/plaf/ColorUIResource.java,
9420 javax/swing/plaf/ComboBoxUI.java,
9421 javax/swing/plaf/ComponentInputMapUIResource.java,
9422 javax/swing/plaf/ComponentUI.java,
9423 javax/swing/plaf/DesktopIconUI.java,
9424 javax/swing/plaf/DesktopPaneUI.java,
9425 javax/swing/plaf/DimensionUIResource.java,
9426 javax/swing/plaf/FileChooserUI.java,
9427 javax/swing/plaf/FontUIResource.java,
9428 javax/swing/plaf/IconUIResource.java,
9429 javax/swing/plaf/InputMapUIResource.java,
9430 javax/swing/plaf/InsetsUIResource.java,
9431 javax/swing/plaf/InternalFrameUI.java,
9432 javax/swing/plaf/LabelUI.java,
9433 javax/swing/plaf/ListUI.java,
9434 javax/swing/plaf/MenuBarUI.java,
9435 javax/swing/plaf/MenuItemUI.java,
9436 javax/swing/plaf/OptionPaneUI.java,
9437 javax/swing/plaf/PanelUI.java,
9438 javax/swing/plaf/PopupMenuUI.java,
9439 javax/swing/plaf/ProgressBarUI.java,
9440 javax/swing/plaf/RootPaneUI.java,
9441 javax/swing/plaf/ScrollBarUI.java,
9442 javax/swing/plaf/ScrollPaneUI.java,
9443 javax/swing/plaf/SeparatorUI.java,
9444 javax/swing/plaf/SliderUI.java,
9445 javax/swing/plaf/SplitPaneUI.java,
9446 javax/swing/plaf/TabbedPaneUI.java,
9447 javax/swing/plaf/TableHeaderUI.java,
9448 javax/swing/plaf/TableUI.java,
9449 javax/swing/plaf/TextUI.java,
9450 javax/swing/plaf/ToolBarUI.java,
9451 javax/swing/plaf/ToolTipUI.java,
9452 javax/swing/plaf/TreeUI.java,
9453 javax/swing/plaf/UIResource.java,
9454 javax/swing/plaf/ViewportUI.java,
9455 javax/swing/ProgressMonitorInputStream.java,
9456 javax/swing/ProgressMonitor.java,
9457 javax/swing/Renderer.java,
9458 javax/swing/RepaintManager.java,
9459 javax/swing/RootPaneContainer.java,
9460 javax/swing/Scrollable.java,
9461 javax/swing/ScrollPaneConstants.java,
9462 javax/swing/ScrollPaneLayout.java,
9463 javax/swing/SingleSelectionModel.java,
9464 javax/swing/SizeRequirements.java,
9465 javax/swing/SizeSequence.java,
9466 javax/swing/SwingConstants.java,
9467 javax/swing/SwingUtilities.java,
9468 javax/swing/table/AbstractTableModel.java,
9469 javax/swing/table/DefaultTableCellRenderer.java,
9470 javax/swing/table/DefaultTableColumnModel.java,
9471 javax/swing/table/DefaultTableModel.java,
9472 javax/swing/table/TableCellEditor.java,
9473 javax/swing/table/TableCellRenderer.java,
9474 javax/swing/table/TableColumn.java,
9475 javax/swing/table/TableColumnModel.java,
9476 javax/swing/table/TableModel.java,
9477 javax/swing/text/AbstractDocument.java,
9478 javax/swing/text/AttributeSet.java,
9479 javax/swing/text/BadLocationException.java,
9480 javax/swing/text/Caret.java,
9481 javax/swing/text/CharacterIterator.java,
9482 javax/swing/text/ComponentView.java,
9483 javax/swing/text/DefaultCaret.java,
9484 javax/swing/text/DefaultEditorKit.java,
9485 javax/swing/text/Document.java,
9486 javax/swing/text/EditorKit.java,
9487 javax/swing/text/Element.java,
9488 javax/swing/text/GapContent.java,
9489 javax/swing/text/JTextComponent.java,
9490 javax/swing/text/Keymap.java,
9491 javax/swing/text/MutableAttributeSet.java,
9492 javax/swing/text/PlainDocument.java,
9493 javax/swing/text/PlainEditorKit.java,
9494 javax/swing/text/Position.java,
9495 javax/swing/text/Segment.java,
9496 javax/swing/text/StyledDocument.java,
9497 javax/swing/text/StyledEditorKit.java,
9498 javax/swing/text/Style.java,
9499 javax/swing/text/TextAction.java,
9500 javax/swing/text/ViewFactory.java,
9501 javax/swing/text/View.java,
9502 javax/swing/Timer.java,
9503 javax/swing/ToggleButtonModel.java,
9504 javax/swing/ToolTipManager.java,
9505 javax/swing/tree/AbstractLayoutCache.java,
9506 javax/swing/tree/DefaultMutableTreeNode.java,
9507 javax/swing/tree/DefaultTreeCellEditor.java,
9508 javax/swing/tree/DefaultTreeCellRenderer.java,
9509 javax/swing/tree/DefaultTreeModel.java,
9510 javax/swing/tree/DefaultTreeSelectionModel.java,
9511 javax/swing/tree/ExpandVetoException.java,
9512 javax/swing/tree/FixedHeightLayoutCache.java,
9513 javax/swing/tree/MutableTreeNode.java,
9514 javax/swing/tree/RowMapper.java,
9515 javax/swing/tree/TreeCellEditor.java,
9516 javax/swing/tree/TreeCellRenderer.java,
9517 javax/swing/tree/TreeModel.java,
9518 javax/swing/tree/TreeNode.java,
9519 javax/swing/tree/TreePath.java,
9520 javax/swing/tree/TreeSelectionModel.java,
9521 javax/swing/tree/VariableHeightLayoutCache.java,
9522 javax/swing/UIDefaults.java,
9523 javax/swing/UIManager.java,
9524 javax/swing/undo/AbstractUndoableEdit.java,
9525 javax/swing/undo/CannotRedoException.java,
9526 javax/swing/undo/CannotUndoException.java,
9527 javax/swing/undo/CompoundEdit.java,
9528 javax/swing/undo/StateEditable.java,
9529 javax/swing/undo/StateEdit.java,
9530 javax/swing/undo/UndoableEdit.java,
9531 javax/swing/undo/UndoableEditSupport.java,
9532 javax/swing/undo/UndoManager.java,
9533 javax/swing/UnsupportedLookAndFeelException.java,
9534 javax/swing/ViewportLayout.java,
9535 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9536
9537 * java/awt/ActiveEvent.java,
9538 java/awt/Adjustable.java, java/awt/AWTError.java,
9539 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9540 java/awt/AWTException.java, java/awt/AWTPermission.java,
9541 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9542 java/awt/Color.java, java/awt/Component.java,
9543 java/awt/ComponentOrientation.java, java/awt/Container.java,
9544 java/awt/datatransfer/MimeTypeParseException.java,
9545 java/awt/datatransfer/Transferable.java,
9546 java/awt/datatransfer/UnsupportedFlavorException.java,
9547 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9548 java/awt/event/ActionListener.java,
9549 java/awt/event/AdjustmentEvent.java,
9550 java/awt/event/AdjustmentListener.java,
9551 java/awt/event/AWTEventListener.java,
9552 java/awt/event/ComponentAdapter.java,
9553 java/awt/event/ComponentEvent.java,
9554 java/awt/event/ComponentListener.java,
9555 java/awt/event/ContainerAdapter.java,
9556 java/awt/event/ContainerEvent.java,
9557 java/awt/event/ContainerListener.java,
9558 java/awt/event/FocusAdapter.java,
9559 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9560 java/awt/event/HierarchyBoundsAdapter.java,
9561 java/awt/event/HierarchyBoundsListener.java,
9562 java/awt/event/HierarchyEvent.java,
9563 java/awt/event/HierarchyListener.java,
9564 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9565 java/awt/event/InputMethodListener.java,
9566 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9567 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9568 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9569 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9570 java/awt/event/MouseListener.java,
9571 java/awt/event/MouseMotionAdapter.java,
9572 java/awt/event/MouseMotionListener.java,
9573 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9574 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9575 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9576 java/awt/event/WindowListener.java, java/awt/Font.java,
9577 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9578 java/awt/geom/Ellipse2D.java,
9579 java/awt/geom/IllegalPathStateException.java,
9580 java/awt/geom/Line2D.java,
9581 java/awt/geom/NoninvertibleTransformException.java,
9582 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9583 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9584 java/awt/geom/RoundRectangle2D.java,
9585 java/awt/GraphicsConfiguration.java,
9586 java/awt/IllegalComponentStateException.java,
9587 java/awt/image/IndexColorModel.java,
9588 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9589 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9590 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9591 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9592 java/awt/MenuItem.java, java/awt/PaintContext.java,
9593 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9594 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9595 java/awt/PrintJob.java, java/awt/Rectangle.java,
9596 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9597 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9598 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9599
9600 * java/awt/im/spi/InputMethod.java,
9601 java/awt/im/spi/InputMethodContext.java,
9602 java/awt/im/spi/InputMethodDescriptor.java,
9603 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9604 java/awt/image/renderable/ParameterBlock.java,
9605 java/awt/image/renderable/RenderContext.java,
9606 java/awt/image/renderable/RenderableImage.java,
9607 java/awt/image/renderable/RenderableImageOp.java,
9608 java/awt/image/renderable/RenderableImageProducer.java,
9609 java/awt/image/renderable/RenderedImageFactory.java: New files from
9610 classpath.
9611
9612 * gnu/java/awt/EventModifier.java,
9613 gnu/java/awt/image/ImageDecoder.java,
9614 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9615
9616 * gnu/awt/xlib/XGraphicsConfiguration.java,
9617 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9618 API.
9619
9620 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9621 GNU Classpath.
9622
9623 * Makefile.am: Add new files.
9624 * Makefile.in: Rebuilt.
9625
9626 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9627
9628 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9629 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9630 findResource, getResources, findResources): Add javadoc from classpath.
9631 (getSystemResources): Implemented.
9632
9633 2002-08-01 Mark Wielaard <mark@klomp.org>
9634
9635 Revert patch that breaks libgcj shared library on powerpc:
9636 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9637 implementation classes by using Class.getName(). Uses Strings again.
9638 * gnu/java/security/der/DEREncodingException.java,
9639 gnu/java/security/provider/DERReader.java,
9640 gnu/java/security/provider/DERWriter.java,
9641 gnu/java/security/provider/DSAKeyPairGenerator.java,
9642 gnu/java/security/provider/DSAParameterGenerator.java,
9643 gnu/java/security/provider/DSAParameters.java,
9644 gnu/java/security/provider/DSASignature.java,
9645 gnu/java/security/provider/GnuDSAPrivateKey.java,
9646 gnu/java/security/provider/GnuDSAPublicKey.java,
9647 gnu/java/security/provider/MD5.java,
9648 gnu/java/security/util/Prime.java: Removed.
9649 * Makefile.am (ordinary_java_source_files): Remove above files.
9650 * Makefile.in: Regenerate.
9651 * gnu/java/security/provider/DefaultPolicy.java
9652 (getPermissions): Revert to maintaining static class variable of
9653 Permissions.
9654 * gnu/java/security/provider/SHA.java
9655 (engineUpdate): Revert algorithm change.
9656 (engineDigest): Revert algorithm change.
9657
9658 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9659
9660 * configure.host: Add SH support.
9661 * sysdep/sh/locks.h: New file.
9662
9663 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9664
9665 * java/awt/Frame.java (Frame): Remove println calls.
9666
9667 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9668
9669 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9670 * configure: Rebuilt.
9671
9672 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9673
9674 * sysdep/powerpc/locks.h: Formatting.
9675 (_LARX): Define.
9676 (_STCX): Define.
9677 (compare_and_swap): Use _LARX and _STCX.
9678 (compare_and_swap_release): Likewise.
9679
9680 2002-07-26 Tom Tromey <tromey@redhat.com>
9681
9682 * java/net/Authenticator.java: New version from Classpath.
9683 * java/net/DatagramSocketImpl.java: New version from Classpath.
9684
9685 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9686
9687 * configure.host: Add powerpc64*-* entry.
9688
9689 2002-07-26 Tom Tromey <tromey@redhat.com>
9690
9691 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9692 fcntl.h.
9693
9694 2002-07-24 Tom Tromey <tromey@redhat.com>
9695
9696 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9697 argument to _load.
9698
9699 2002-07-24 Tom Tromey <tromey@redhat.com>
9700 Tony Kimball <alk@pobox.com>
9701
9702 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9703 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9704 * java/io/RandomAccessFile.java (setLength): New method.
9705 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9706 * java/io/FileDescriptor.java (setLength): New method.
9707
9708 2002-07-24 Mark Wielaard <mark@klomp.org>
9709
9710 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9711 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9712 field call setAccessible(true).
9713 (setByteField): Likewise.
9714 (setCharField): Likewise.
9715 (setDoubleField): Likewise.
9716 (setFloatField): Likewise.
9717 (setIntField): Likewise.
9718 (setLongField): Likewise.
9719 (setShortField): Likewise.
9720 (setObjectField): Likewise.
9721
9722 2002-07-24 Tom Tromey <tromey@redhat.com>
9723
9724 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9725 use toString() to format array element.
9726
9727 2002-07-23 Mark Wielaard <mark@klomp.org>
9728
9729 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9730 MessageDigestSpi (fixes Classpath bug #783).
9731
9732 2002-07-21 Mark Wielaard <mark@klomp.org>
9733
9734 * gnu/java/security/provider/Gnu.java: Reference all implementation
9735 classes by using Class.getName().
9736
9737 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9738
9739 * java/lang/ieeefp.h: Add x86-64 support.
9740 * configure.in: Likewise.
9741 * configure.host: Likewise.
9742 * configure: Regenerated.
9743 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9744
9745 2002-07-16 Mark Wielaard <mark@klomp.org>
9746
9747 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9748 (whitespaceChars): call resetChar().
9749
9750 2002-07-15 Tom Tromey <tromey@redhat.com>
9751
9752 * Makefile.in: Rebuilt.
9753 * Makefile.am (awt_java_source_files): Added new files.
9754 * java/beans/ExceptionListener.java: Merged with Classpath.
9755 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9756 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9757 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9758 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9759 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9760 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9761 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9762
9763 2002-07-14 Mark Wielaard <mark@klomp.org>
9764
9765 * gnu/java/security/der/DEREncodingException.java,
9766 gnu/java/security/provider/DERReader.java,
9767 gnu/java/security/provider/DERWriter.java,
9768 gnu/java/security/provider/DSAKeyPairGenerator.java,
9769 gnu/java/security/provider/DSAParameterGenerator.java,
9770 gnu/java/security/provider/DSAParameters.java,
9771 gnu/java/security/provider/DSASignature.java,
9772 gnu/java/security/provider/GnuDSAPrivateKey.java,
9773 gnu/java/security/provider/GnuDSAPublicKey.java,
9774 gnu/java/security/provider/MD5.java,
9775 gnu/java/security/util/Prime.java: New files from Classpath.
9776 * Makefile.am (ordinary_java_source_files): Add new files.
9777 * Makefile.in: Regenerate.
9778
9779 2002-07-14 C. Brian Jones <cbj@gnu.org>
9780
9781 * gnu/java/security/provider/DefaultPolicy.java
9782 (getPermissions): do not maintain static class variable of
9783 Permissions
9784 * gnu/java/security/provider/SHA.java
9785 (engineUpdate): algorithm change
9786 (engineDigest): algorithm change
9787
9788 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9789
9790 For PR libgcj/7292:
9791 * java/lang/Character.java (toString(char)): Now static.
9792
9793 2002-07-12 Mark Wielaard <mark@klomp.org>
9794
9795 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9796 (getStackTrace0): new method.
9797 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9798 (printStackTrace(PrintWriter)): replace with pure java implementation.
9799 (printRawStackTrace): removed.
9800 (getStackTrace0): new method.
9801 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9802 * gcj/javaprims.h: regenerate class list.
9803 * include/name-finder.h (lookup): new returns StackTraceElement*.
9804 (method_name, file_name): fields removed.
9805 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9806 (~_Jv_name_finder): close new descriptors.
9807 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9808 (createStackTraceElement): new method.
9809 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9810
9811 2002-07-10 Tom Tromey <tromey@redhat.com>
9812
9813 * configure: Rebuilt.
9814 * configure.in: Use `test' after `&&'. From Chris Faylor.
9815
9816 2002-07-08 Mark Wielaard <mark@klomp.org>
9817
9818 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9819 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9820 java.sql.DatabaseMetaData.TestJdbc20
9821
9822 2002-07-05 Tony Kimball <alk@pobox.com>
9823
9824 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9825
9826 2002-07-04 Tom Tromey <tromey@redhat.com>
9827 Jeff Sturm <jsturm@one-point.com>
9828
9829 Fix for PR libgcj/7060:
9830 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9831 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9832 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9833 * java/lang/Class.java (getMethod): New Java implementation;
9834 complies with spec.
9835 (_getMethod): New native method.
9836
9837 2002-07-02 Tom Tromey <tromey@redhat.com>
9838 David Hovemeyer <daveho@cs.umd.edu>
9839
9840 * java/text/ChoiceFormat.java
9841 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9842 in check loop.
9843 * java/text/MessageFormat.java
9844 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9845 to MessageFormat.
9846
9847 2002-07-01 Tom Tromey <tromey@redhat.com>
9848
9849 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9850 StringTokenizer on null string. For PR libgcj/7180.
9851 From daveho@cs.umd.edu.
9852
9853 2002-06-24 Tom Tromey <tromey@redhat.com>
9854
9855 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9856 (IntegerClass): Likewise.
9857 * java/lang/natClass.cc (CloneableClass): Removed.
9858 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9859 ConstructorClass): Likewise.
9860 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9861 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9862 SerializableClass): Likewise.
9863 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9864 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9865 LongClass, FloatClass, DoubleClass): Likewise.
9866
9867 * verify.cc (branch_prepass): Updated for change to exception
9868 handler type.
9869 (verify_instructions_0): Likewise.
9870 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9871 (handleExceptionTableEntry): Updated for change to exception
9872 handler type.
9873 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9874 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9875 (union _Jv_InterpPC): New.
9876 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9877 (class _Jv_InterpMethod): Added new `prepared' field.
9878 (class _Jv_InterpMethod): Added `compile' method. Removed
9879 `continue1' and `find_exception'. Changed arguments to `run'.
9880 * interpret.cc (union insn_slot): New.
9881 (find_exception): Removed.
9882 (run_normal): Removed most logic.
9883 (run_synch_object): Likewise; also, use JvSynchronize.
9884 (run_synch_class): Likewise.
9885 (run): Removed.
9886 (continue1): Renamed as `run'. Compile bytecode if required.
9887 Add new code to allow refinement of direct-threaded code at
9888 runtime. Handle exceptions.
9889 (SAVE_PC): Removed.
9890 (compile): New method.
9891 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9892 (NULLARRAYCHECK): Don't use SAVE_PC.
9893 (pc_t): New typedef.
9894 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9895 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9896
9897 2002-06-23 Tom Tromey <tromey@redhat.com>
9898
9899 * configure: Rebuilt.
9900 * configure.in (INTERPRETER): New subst.
9901 (AM_RUNTESTFLAGS): Don't subst.
9902
9903 * Makefile.in: Rebuilt.
9904 * Makefile.am ($(srcdir)/java/lang/Object.h,
9905 $(srcdir)/java/lang/Class.h): Added dummy targets.
9906
9907 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9908
9909 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9910
9911 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9912 java/sql/Savepoint.java: New files.
9913 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9914 java/sql/Blob.java, java/sql/CallableStatement.java,
9915 java/sql/Clob.java, java/sql/Connection.java,
9916 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9917 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9918 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9919 java/sql/Ref.java, java/sql/ResultSet.java,
9920 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9921 java/sql/SQLException.java, java/sql/SQLInput.java,
9922 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9923 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9924 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9925 (JDK 1.4) specification.
9926 * javax/sql/ConnectionEvent.java,
9927 javax/sql/ConnectionEventListener.java,
9928 javax/sql/ConnectionPoolDataSource.java,
9929 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9930 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9931 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9932 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9933 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9934 javax/sql/XADataSource.java: New files.
9935 * Makefile.am: Add new files.
9936 * Makefile.in: Rebuilt.
9937
9938 2002-06-20 Tom Tromey <tromey@redhat.com>
9939
9940 For PR libgcj/7073:
9941 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9942 exists.
9943 * defineclass.cc (handleClassBegin): Superclass for interface is
9944 `null'.
9945
9946 2002-06-18 Tom Tromey <tromey@redhat.com>
9947
9948 * gcj/javaprims.h: Updated class declaration list.
9949 * Makefile.in: Rebuilt.
9950 * Makefile.am (core_java_source_files): Removed
9951 BasicMapEntry.java.
9952 * java/util/BasicMapEntry.java: Removed.
9953
9954 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9955
9956 * java/net/natPlainDatagramSocketImpl.cc (receive):
9957 Check bounds of argument to FD_SET.
9958 (setOption): Throw exception if socket is closed.
9959
9960 * java/net/natPlainSocketImpl.cc (accept, read):
9961 Check bounds of argument to FD_SET.
9962 (setOption): Throw exception if socket is closed.
9963
9964 2002-06-18 Tom Tromey <tromey@redhat.com>
9965
9966 * gcj/javaprims.h: Updated class declaration list.
9967 * Makefile.in: Rebuilt.
9968 * Makefile.am (core_java_source_files): Added
9969 PropertyPermissionCollection.java.
9970 * java/lang/Thread.java (group, name): Now package-private.
9971 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9972 * java/util/AbstractList.java: Likewise.
9973 * java/util/AbstractMap.java: Likewise.
9974 * java/util/Calendar.java: Likewise.
9975 * java/util/Collections.java: Likewise.
9976 * java/util/HashMap.java: Likewise.
9977 * java/util/Hashtable.java: Likewise.
9978 * java/util/LinkedHashMap.java: Likewise.
9979 * java/util/LinkedList.java: Likewise.
9980 * java/util/List.java: Likewise.
9981 * java/util/ListResourceBundle.java: Likewise.
9982 * java/util/Map.java: Likewise.
9983 * java/util/Observable.java: Likewise.
9984 * java/util/Properties.java: Likewise.
9985 * java/util/PropertyPermission.java: Likewise.
9986 * java/util/PropertyPermissionCollection.java: Likewise.
9987 * java/util/PropertyResourceBundle.java: Likewise.
9988 * java/util/Random.java: Likewise.
9989 * java/util/SimpleTimeZone.java: Likewise.
9990 * java/util/StringTokenizer.java: Likewise.
9991 * java/util/TimerTask.java: Likewise.
9992 * java/util/TreeMap.java: Likewise.
9993 * java/util/WeakHashMap.java: Likewise.
9994 * java/util/jar/Attributes.java: Likewise.
9995 * java/util/jar/JarException.java: Likewise.
9996 * java/util/jar/Manifest.java: Likewise.
9997
9998 2002-06-17 Tom Tromey <tromey@redhat.com>
9999
10000 * gcj/javaprims.h: Updated class declaration list.
10001 * Makefile.in: Rebuilt.
10002 * Makefile.am (core_java_source_files): Added new file.
10003 * java/util/EventListenerProxy.java: New file.
10004 * java/util/EventListener.java: Re-merge with Classpath.
10005 * java/util/EventObject.java: Re-merge with Classpath.
10006
10007 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10008
10009 * java/lang/ClassNotFoundException.java: New Classpath version.
10010
10011 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
10012
10013 * java/rmi/activation/ActivateFailedException.java: Remerge from
10014 Classpath version.
10015 * java/rmi/activation/ActivationException.java: Ditto.
10016 * java/rmi/activation/UnknownGroupException.java: Ditto.
10017 * java/rmi/activation/UnknownObjectException.java: Ditto.
10018 * java/rmi/server/ExportException: Ditto.
10019 * java/rmi/server/ServerCloneException: Ditto.
10020 * java/rmi/server/ServerNotActiveException: Ditto.
10021 * java/rmi/server/SkeletonMismatchException: Ditto.
10022 * java/rmi/server/SkeletonNotFoundException: Ditto.
10023 * java/rmi/server/SocketSecurityException: Ditto.
10024
10025 2002-06-16 Tom Tromey <tromey@redhat.com>
10026
10027 * gcj/javaprims.h: Updated class declaration list.
10028
10029 * java/io/LineNumberInputStream.java: Merged with Classpath.
10030
10031 * java/lang/RuntimeException.java: Re-merge with Classpath.
10032 * java/util/ArrayList.java: Likewise.
10033 * java/util/Arrays.java: Likewise.
10034 * java/util/BitSet.java: Likewise.
10035 * java/util/Dictionary.java: Likewise.
10036 * java/util/IdentityHashMap.java: Likewise.
10037 * java/util/MissingResourceException.java: Likewise.
10038 * java/util/Observer.java: Likewise.
10039 * java/util/TooManyListenersException.java: Likewise.
10040 * java/util/zip/DataFormatException.java: Likewise.
10041 * java/util/zip/ZipException.java: Likewise.
10042
10043 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
10044
10045 * java/rmi/AccessException.java: Remerge from Classpath.
10046 * java/rmi/AlreadyBoundException.java: Ditto.
10047 * java/rmi/ConnectException.java: Ditto.
10048 * java/rmi/ConnectIOException.java: Ditto.
10049 * java/rmi/MarshalException.java: Ditto.
10050 * java/rmi/NoSuchObjectException.java: Ditto.
10051 * java/rmi/NotBoundException.java: Ditto.
10052 * java/rmi/RemoteException.java: Ditto.
10053 * java/rmi/RMISecurityException.java: Ditto.
10054 * java/rmi/ServerError.java: Ditto.
10055 * java/rmi/ServerException.java: Ditto.
10056 * java/rmi/ServerRuntimeException.java: Ditto.
10057 * java/rmi/StubNotFoundException.java: Ditto.
10058 * java/rmi/UnexpectedExcpetion.java: Ditto.
10059 * java/rmi/UnknownHostException.java: Ditto.
10060 * java/rmi/UnmarshalException.java: Ditto.
10061
10062 2002-06-15 Tom Tromey <tromey@redhat.com>
10063
10064 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10065 * java/lang/ArithmeticException.java: Likewise.
10066 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10067 * java/lang/ArrayStoreException.java: Likewise.
10068 * java/lang/Byte.java: Likewise.
10069 * java/lang/CharSequence.java: Likewise.
10070 * java/lang/ClassCastException.java: Likewise.
10071 * java/lang/ClassCircularityError.java: Likewise.
10072 * java/lang/ClassFormatError.java: Likewise.
10073 * java/lang/CloneNotSupportedException.java: Likewise.
10074 * java/lang/Cloneable.java: Likewise.
10075 * java/lang/Comparable.java: Likewise.
10076 * java/lang/Compiler.java: Likewise.
10077 * java/lang/Error.java: Likewise.
10078 * java/lang/ExceptionInInitializerError.java: Likewise.
10079 * java/lang/IllegalAccessError.java: Likewise.
10080 * java/lang/IllegalAccessException.java: Likewise.
10081 * java/lang/IllegalArgumentException.java: Likewise.
10082 * java/lang/IllegalMonitorStateException.java: Likewise.
10083 * java/lang/IllegalStateException.java: Likewise.
10084 * java/lang/IllegalThreadStateException.java: Likewise.
10085 * java/lang/IncompatibleClassChangeError.java: Likewise.
10086 * java/lang/IndexOutOfBoundsException.java: Likewise.
10087 * java/lang/InheritableThreadLocal.java: Likewise.
10088 * java/lang/InstantiationError.java: Likewise.
10089 * java/lang/InstantiationException.java: Likewise.
10090 * java/lang/InternalError.java: Likewise.
10091 * java/lang/InterruptedException.java: Likewise.
10092 * java/lang/LinkageError.java: Likewise.
10093 * java/lang/NegativeArraySizeException.java: Likewise.
10094 * java/lang/NoClassDefFoundError.java: Likewise.
10095 * java/lang/NoSuchFieldError.java: Likewise.
10096 * java/lang/NoSuchFieldException.java: Likewise.
10097 * java/lang/NoSuchMethodError.java: Likewise.
10098 * java/lang/NoSuchMethodException.java: Likewise.
10099 * java/lang/NullPointerException.java: Likewise.
10100 * java/lang/NumberFormatException.java: Likewise.
10101 * java/lang/OutOfMemoryError.java: Likewise.
10102 * java/lang/Process.java: Likewise.
10103 * java/lang/Runnable.java: Likewise.
10104 * java/lang/RuntimePermission.java: Likewise.
10105 * java/lang/SecurityException.java: Likewise.
10106 * java/lang/Short.java: Likewise.
10107 * java/lang/StackOverflowError.java: Likewise.
10108 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10109 * java/lang/ThreadDeath.java: Likewise.
10110 * java/lang/ThreadLocal.java: Likewise.
10111 * java/lang/UnknownError.java: Likewise.
10112 * java/lang/UnsatisfiedLinkError.java: Likewise.
10113 * java/lang/UnsupportedClassVersionError.java: Likewise.
10114 * java/lang/UnsupportedOperationException.java: Likewise.
10115 * java/lang/VerifyError.java: Likewise.
10116 * java/lang/VirtualMachineError.java: Likewise.
10117 * java/lang/reflect/InvocationTargetException.java: Likewise.
10118 * java/net/BindException.java: Likewise.
10119 * java/net/ConnectException.java: Likewise.
10120 * java/net/MalformedURLException.java: Likewise.
10121 * java/net/NoRouteToHostException.java: Likewise.
10122 * java/net/ProtocolException.java: Likewise.
10123 * java/net/SocketException.java: Likewise.
10124 * java/net/UnknownHostException.java: Likewise.
10125 * java/net/UnknownServiceException.java: Likewise.
10126
10127 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10128 * java/io/CharConversionException.java: Likewise.
10129 * java/io/EOFException.java: Likewise.
10130 * java/io/FileNotFoundException.java: Likewise.
10131 * java/io/IOException.java: Likewise.
10132 * java/io/InterruptedIOException.java: Likewise.
10133 * java/io/InvalidClassException.java: Likewise.
10134 * java/io/InvalidObjectException.java: Likewise.
10135 * java/io/NotActiveException.java: Likewise.
10136 * java/io/NotSerializableException.java: Likewise.
10137 * java/io/ObjectStreamException.java: Likewise.
10138 * java/io/ObjectStreamConstants.java: Likewise.
10139 * java/io/OptionalDataException.java: Likewise.
10140 * java/io/PipedInputStream.java: Likewise.
10141 * java/io/PushbackInputStream.java: Likewise.
10142 * java/io/StreamCorruptedException.java: Likewise.
10143 * java/io/SyncFailedException.java: Likewise.
10144 * java/io/UTFDataFormatException.java: Likewise.
10145 * java/io/UnsupportedEncodingException.java: Likewise.
10146 * java/io/WriteAbortedException.java: Likewise.
10147
10148 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10149
10150 * java/text/ChoiceFormat.java: Update comments from Classpath.
10151 * java/text/ParseException.java (serialVersionUID): New
10152 field from Classpath.
10153 * java/text/ParseException.java: Update formatting & comments
10154 from Classpath.
10155
10156 2002-06-15 Tom Tromey <tromey@redhat.com>
10157
10158 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10159 been read but none output by inflater.
10160 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10161 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10162 is_finished.
10163 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10164 version.
10165 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10166 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10167 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10168 version.
10169 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10170
10171 2002-06-13 Tom Tromey <tromey@redhat.com>
10172
10173 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10174 true and OFFSET!=0.
10175 * java/lang/String.java (String(char[],int,int,boolean): New
10176 constructor.
10177 * java/lang/Long.java: Imported new version from Classpath.
10178 * java/lang/Number.java: Likewise.
10179 * java/lang/Integer.java: Likewise.
10180 * java/lang/Long.java: Likewise.
10181 * java/lang/Float.java: Likewise.
10182 * java/lang/Boolean.java: Likewise.
10183 * java/lang/Double.java: Likewise.
10184 * java/lang/Void.java: Likewise.
10185
10186 2002-06-12 Tom Tromey <tromey@redhat.com>
10187
10188 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10189 Fixes PR libgcj/6652.
10190
10191 2002-06-10 Tom Tromey <tromey@redhat.com>
10192
10193 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10194 (Class::getPackagePortion): Likewise.
10195 * java/lang/Class.java (desiredAssertionStatus): New method from
10196 Classpath.
10197 (getPackagePortion): Likewise.
10198 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10199 packageAssertionStatus, classAssertionStatus): New methods from
10200 Classpath.
10201 * java/lang/ClassLoader.java (defaultAssertionStatus,
10202 systemPackageAssertionStatus, packageAssertionStatus,
10203 systemClassAssertionStatus, classAssertionStatus): New fields from
10204 Classpath.
10205 (setDefaultAssertionStatus, setPackageAssertionStatus,
10206 setClassAssertionStatus, clearAssertionStatus): New methods from
10207 Classpath.
10208 * Makefile.in: Rebuilt.
10209 * Makefile.am (core_java_source_files): Added AssertionError.java.
10210 * java/lang/AssertionError.java: New from Classpath.
10211
10212 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10213
10214 * configure.host: Disable hash synchronization and slow_pthread_self
10215 for cygwin.
10216
10217 2002-06-06 Adam Megacz <adam@xwt.org>
10218
10219 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10220 locking, just like the Sun JVM does.
10221
10222 2002-06-05 H.J. Lu (hjl@gnu.org)
10223
10224 * Makefile.am (libgcj_convenience.la): Revert the last change.
10225 (libgcj.la): Likewise.
10226 * Makefile.in: Regenerated.
10227
10228 2002-06-04 H.J. Lu (hjl@gnu.org)
10229
10230 * Makefile.am (libgcj_convenience.la): New target.
10231 (libgcj.la): Depend on libgcj_convenience.la.
10232 * Makefile.in: Regenerated.
10233
10234 2002-06-04 H.J. Lu (hjl@gnu.org)
10235
10236 * configure.in (--with-newlib): New option:
10237 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10238 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10239 Linux.
10240 * configure: Regenerated.
10241
10242 2002-06-04 Tom Tromey <tromey@redhat.com>
10243
10244 * java/util/natTimeZone.cc: Include <stdio.h>.
10245
10246 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10247
10248 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10249 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10250 Set SIGNAL_HANDLER=include/s390-linux.h.
10251 * configure: Regenerate.
10252 * include/s390-linux.h: New file.
10253
10254 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10255
10256 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10257 not "stackTrace".
10258
10259 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10260
10261 Merge JDK 1.4 java.security changes from classpath.
10262
10263 * java/security/AccessControlException.java: Merge from Classpath.
10264 * java/security/AccessController.java: Likewise.
10265 * java/security/AllPermission.java: Likewise.
10266 * java/security/BasicPermission.java: Likewise.
10267 * java/security/Certificate.java: Likewise.
10268 * java/security/CodeSource.java: Likewise.
10269 * java/security/DigestException.java: Likewise.
10270 * java/security/DigestOutputStream.java: Likewise.
10271 * java/security/DomainCombiner.java: Likewise.
10272 * java/security/GeneralSecurityException.java: Likewise.
10273 * java/security/Guard.java: Likewise.
10274 * java/security/GuardedObject.java: Likewise.
10275 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10276 * java/security/InvalidKeyException.java: Likewise.
10277 * java/security/InvalidParameterException.java: Likewise.
10278 * java/security/Key.java: Likewise.
10279 * java/security/KeyException.java: Likewise.
10280 * java/security/KeyManagementException.java: Likewise.
10281 * java/security/KeyStoreException.java: Likewise.
10282 * java/security/MessageDigest.java: Likewise.
10283 * java/security/NoSuchAlgorithmException.java: Likewise.
10284 * java/security/NoSuchProviderException.java: Likewise.
10285 * java/security/Permission.java: Likewise.
10286 * java/security/PermissionCollection.java: Likewise.
10287 * java/security/Permissions.java: Likewise.
10288 * java/security/Policy.java: Likewise.
10289 * java/security/Principal.java: Likewise.
10290 * java/security/PrivateKey.java: Likewise.
10291 * java/security/PrivilegedAction.java: Likewise.
10292 * java/security/PrivilegedActionException.java: Likewise.
10293 * java/security/PrivilegedExceptionAction.java: Likewise.
10294 * java/security/ProtectionDomain.java: Likewise.
10295 * java/security/ProviderException.java: Likewise.
10296 * java/security/PublicKey.java: Likewise.
10297 * java/security/SecureClassLoader.java: Likewise.
10298 * java/security/SecurityPermission.java: Likewise.
10299 * java/security/SignatureException.java: Likewise.
10300 * java/security/UnrecoverableKeyException.java: Likewise.
10301 * java/security/UnresolvedPermission.java: Likewise.
10302 * java/security/acl/AclNotFoundException.java: Likewise.
10303 * java/security/acl/LastOwnerException.java: Likewise.
10304 * java/security/acl/NotOwnerException.java: Likewise.
10305 * java/security/cert/CRLException.java: Likewise.
10306 * java/security/cert/CertificateEncodingException.java: Likewise.
10307 * java/security/cert/CertificateException.java: Likewise.
10308 * java/security/cert/CertificateExpiredException.java: Likewise.
10309 * java/security/cert/CertificateFactory.java: Likewise.
10310 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10311 * java/security/cert/CertificateParsingException.java: Likewise.
10312 * java/security/spec/InvalidKeySpecException.java: Likewise.
10313 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10314
10315 * java/security/cert/CertPath.java: New file.
10316 * java/security/cert/CertPathBuilderException.java: New file.
10317 * java/security/cert/CertPathValidatorException.java: New file.
10318 * java/security/cert/CertStoreException.java: New file.
10319
10320 * Makefile.am: Add new CertPath classes.
10321 * Makefile.in: Rebuilt.
10322
10323 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10324
10325 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10326
10327 Merge JDK 1.4 exception chaining support from classpath.
10328
10329 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10330 (stackTraceBytes): Rename from stackTrace.
10331 * java/lang/Exception.java: Merge from classpath.
10332 * java/lang/StackTraceElement: New file from classpath.
10333 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10334 * Makefile.am: Add StackTraceElement.
10335 * Makefile.in: Rebuilt.
10336
10337 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10338
10339 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10340 they build first.
10341 * Makefile.in: Rebuilt.
10342
10343 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10344
10345 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10346 * configure.in: Likewise.
10347 * aclocal.m4: Regenerate.
10348 * configure: Regenerate.
10349
10350 2002-05-13 Tom Tromey <tromey@redhat.com>
10351
10352 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10353 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10354 Include platform.h.
10355
10356 Fixes PR libgcj/6389:
10357 * Makefile.in: Rebuilt.
10358 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10359 * java/util/natTimeZone.cc: New file.
10360 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10361 * java/lang/System.java: Merged with Classpath.
10362 * java/lang/Runtime.java: Merged with Classpath.
10363 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10364 security check.
10365 (setIn0): Renamed from setIn; don't run security check.
10366 (setOut0): Renamed from setOut; don't run security check.
10367 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10368 init_properties): Moved to natRuntime.cc.
10369 Moved many includes to natRuntime.cc.
10370 (isWordsBigEndian): New method.
10371 * java/lang/natRuntime.cc: Include Long.h, also other includes
10372 previously in natSystem.cc.
10373 (maxMemory): New function.
10374 (exitInternal): Renamed from `_exit'.
10375 (exit): Removed.
10376 (init): Don't set finalize_on_exit.
10377 (exitInternal): Use `finalizeOnExit'.
10378 (file_encoding, getpwuid_adaptor): New functions from
10379 natSystem.cc.
10380 (insertSystemProperties): New method, renamed from
10381 System::init_properties. Don't set user.timezone.
10382 (_load): Don't call checkLink.
10383 (execInternal): New method.
10384 (availableProcessors): Likewise.
10385 (nativeGetLibname): Likewise.
10386
10387 2002-05-11 Mark Wielaard <mark@klomp.org>
10388
10389 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10390 space characters.
10391 (previous_internal): Likewise.
10392
10393 2002-05-09 Tom Tromey <tromey@redhat.com>
10394
10395 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10396
10397 * java/util/ResourceBundle.java: New version from Classpath.
10398 * java/util/Locale.java: Likewise.
10399
10400 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10401
10402 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10403 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10404 LD_LIBRARY_PATH.
10405
10406 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10407
10408 * libjava/Makefile.am (all_java_source_files): New variable.
10409 (all_java_class_files): Likewise.
10410 .java.class: New rule.
10411 (CLEANFILES): Remove tmp-list.
10412 * libjava/Makefile.in: Regenerated.
10413
10414 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10415
10416 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10417 Append .exe to executable names. Fix for cygwin.
10418
10419 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10420
10421 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10422 script entry, and set LD to it when configuring multilibs.
10423 * configure: Rebuilt.
10424
10425 2002-05-07 Tom Tromey <tromey@redhat.com>
10426
10427 * java/lang/natString.cc (unintern): Fixed typo.
10428
10429 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10430
10431 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10432 with -no-install on *-*-cygwin*.
10433
10434 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10435
10436 * testsuite/lib/libjava.exp (test_libjava_from_source):
10437 Add comment explaining last patch
10438
10439 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10440
10441 * testsuite/lib/libjava.exp (test_libjava_from_source):
10442 Append .exe to executable names. If no suffix is present,
10443 then ".exe" is added by default on win32. Harmless
10444 elsewhere so always do it.
10445
10446 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10447 Tom Tromey <tromey@redhat.com>
10448
10449 * java/lang/natSystem.cc (getSystemTimeZone): Use
10450 HAVE_UNDERSCORE_TIMEZONE.
10451 * include/config.h.in: Rebuilt.
10452 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10453 * aclocal.m4, configure: Rebuilt.
10454 * acinclude.m4: Run AC_EXEEXT.
10455 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10456 Add test for `_timezone'.
10457
10458 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10459
10460 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10461 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10462 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10463 * Makefile.in: Rebuilt.
10464
10465 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10466
10467 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10468 use sigaction instead of __libc_sigaction.
10469
10470 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10471
10472 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10473 (libjava_init): Use it to find libgcj.spec.
10474 (libjava_arguments): Likewise.
10475
10476 2002-05-02 David S. Miller <davem@redhat.com>
10477
10478 PR bootstrap/6525
10479 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10480 __libc_sigaction on Sparc.
10481
10482 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10483
10484 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10485 sys/filio.h, if present.
10486
10487 2002-04-30 Tom Tromey <tromey@redhat.com>
10488
10489 * java/io/BufferedReader.java (fill): Handle case where markPos
10490 point to ignored \n. Fixes PR libgcj/6301.
10491
10492 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10493
10494 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10495
10496 2002-04-29 Adam King <aking@dreammechanics.com>
10497
10498 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10499 of file in APPEND mode.
10500
10501 2002-04-25 David S. Miller <davem@redhat.com>
10502
10503 PR target/6422
10504 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10505 program counter to next program counter minus 8. Update
10506 comments in this macro to explain why.
10507
10508 2002-04-26 Tom Tromey <tromey@redhat.com>
10509
10510 * verify.cc (construct_primitive_array_type) [void_type]: New
10511 case.
10512 (branch_prepass): Added dummy entries for unused instruction
10513 values.
10514 (verify_instructions_0): Likewise.
10515 * interpret.cc (continue1): Comment fix.
10516 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10517 * Makefile.in: Rebuilt.
10518 * Makefile.am: Added -Wswitch-enum.
10519
10520 2002-04-24 Tom Tromey <tromey@redhat.com>
10521
10522 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10523 correct length of UTF-8 encoded name. Strip leading `/'.
10524 (_Jv_RegisterResource): Use _Jv_Malloc.
10525
10526 2002-04-23 Adam Megacz <adam@xwt.org>
10527
10528 * win32.cc, include/win32.cc (backtrace): Added this function
10529 because Win32 does not supply it.
10530
10531 2002-04-21 David S. Miller <davem@redhat.com>
10532
10533 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10534 magic instruction reading sequence.
10535
10536 2002-04-21 Mark Wielaard <mark@klomp.org>
10537
10538 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10539
10540 2002-04-19 David S. Miller <davem@redhat.com>
10541
10542 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10543 arg.
10544 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10545 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10546 on Sparc too.
10547 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10548 for 64-bit sparc.
10549 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10550 * sysdeps/sparc/locks.h: New file.
10551 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10552 on all sparc Solaris configurations. Set to
10553 include/dwarf2-signal.h on sparc Linux.
10554 * configure: Regenerate
10555 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10556
10557 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10558
10559 * configure: Rebuilt.
10560 * configure.in (backtrace): Function doesn't work on IA-64.
10561
10562 2002-04-17 Adam King <aking@dreammechanics.com>
10563
10564 * java/io/File.java (normalizePath): Add Win32 support for auto
10565 conversion of a '/' path separator to Win32's '\' separator.
10566
10567 2002-04-16 Tom Tromey <tromey@redhat.com>
10568
10569 Fix for PR libgcj/6081:
10570 * Makefile.in: Rebuilt.
10571 * Makefile.am (install-data-local): Use GNU make trick to avoid
10572 shell limit.
10573
10574 2002-04-16 Adam King <aking@dreammechanics.com>
10575 Tom Tromey <tromey@redhat.com>
10576
10577 * java/io/natFileWin32.cc (performList): Return the correct array
10578 type. Don't duplicate the creation of a File since it's already
10579 done earlier in the method and the existing code would cause a
10580 ArrayStoreException. Don't use fixed-size array.
10581 (_access, _stat, attr, getCanonicalPath, performMkdir,
10582 performRenameTo): Don't use fixed-size array.
10583 (getCanonicalPath): Use throw, not _Jv_Throw.
10584
10585 2002-04-15 DJ Delorie <dj@redhat.com>
10586
10587 * configure.in: Allow building in $srcdir.
10588 * configure: Regenerated.
10589
10590 2002-04-14 Mark Wielaard <mark@klomp.org>
10591
10592 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10593 * java/net/natSocketImpl.cc (close): Likewise.
10594
10595 2002-04-14 Mark Wielaard <mark@klomp.org>
10596
10597 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10598
10599 2002-04-13 Adam King <aking@dreammechanics.com>
10600
10601 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10602 the f/F/d/D modifiers.
10603
10604 2002-04-12 Anthony Green <green@redhat.com>
10605
10606 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10607 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10608 * Makefile.in: Rebuilt.
10609 * configure.in: Substitute gcc_version.
10610 * configure: Rebuilt.
10611
10612 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10613
10614 * configure.host: Set can_unwind_signal on hosts which support it.
10615 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10616 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10617 exceptions and can_unwind_signal isn't set.
10618 * configure: Rebuilt.
10619
10620 2002-04-11 Tom Tromey <tromey@redhat.com>
10621
10622 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10623
10624 2002-04-11 Adam King <aking@dreammechanics.com>
10625 Tom Tromey <tromey@redhat.com>
10626
10627 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10628 _Jv_ThrowNullPointerException): Mark as noreturn.
10629 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10630 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10631 fixes.
10632
10633 2002-04-10 Tom Tromey <tromey@redhat.com>
10634
10635 * Makefile.in: Rebuilt.
10636 * Makefile.am (java/lang/Thread.h): Mark
10637 _Jv_AttachCurrentThreadAsDaemon as friend.
10638 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10639 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10640 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10641 function.
10642 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10643 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10644 (_Jv_JNI_InvokeFunctions): Added
10645 _Jv_JNI_AttachCurrentThreadAsDaemon.
10646 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10647 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10648 (JNI_CreateJavaVM): Likewise.
10649 (_Jv_JNI_AttachCurrentThread): Likewise.
10650 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10651 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10652 (_Jv_JNIFunctions): Initialize new fields.
10653 (_Jv_JNI_NewDirectByteBuffer): New function.
10654 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10655 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10656 * include/jni.h (JNI_VERSION_1_4): New macro.
10657 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10658 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10659 (JNINativeInterface::NewDirectByteBuffer): New field.
10660 (JNINativeInterface::GetDirectBufferAddress): New field.
10661 (JNINativeInterface::GetDirectBufferCapacity): New field.
10662 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10663 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10664 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10665
10666 2002-04-09 Tom Tromey <tromey@redhat.com>
10667
10668 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10669
10670 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10671
10672 Fix for PR libgcj/6187:
10673 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10674 distance.
10675
10676 2002-04-07 Mark Wielaard <mark@klomp.org>
10677
10678 * java/util/AbstractMap.java (putAll): Use entrySet size.
10679 (toString): Explicitly use getKey() and getValue().
10680
10681 2002-04-07 Mark Wielaard <mark@klomp.org>
10682
10683 * java/util/Hashtable.java (contains): Remove NullPointer check.
10684 (containsValue): Add NullPointer check.
10685 (remove): Always throw NullPointerException when key
10686 is null.
10687
10688 2002-04-07 Adam King <aking@dreammechanics.com>
10689
10690 * java/lang/natSystem.cc (init_properties): Call new function
10691 _Jv_platform_initProperties.
10692 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10693 support for the System properties os.name, os.arch, os.version,
10694 user.name, user.home, and user.dir.
10695 * include/posix.h, include/win32.h, posix.cc: New function
10696 _Jv_platform_initProperties.
10697
10698 2002-04-06 Mark Wielaard <mark@klomp.org>
10699
10700 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10701
10702 2002-04-06 Mark Wielaard <mark@klomp.org>
10703
10704 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10705 all of the remaining elements.
10706 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10707 (removeRange): If toIndex == fromIndex do
10708 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10709 (removeAll): Always throw NullPointerException when collection is
10710 null.
10711 (retrainAll): Likewise.
10712
10713 2002-04-05 Mark Wielaard <mark@klomp.org>
10714
10715 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10716 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10717
10718 2002-04-05 Adam Megacz <adam@xwt.org>
10719
10720 * exception.cc (abort): added static modifier
10721
10722 2002-04-04 Adam Megacz <adam@xwt.org>
10723
10724 * include/win32.h (_Jv_platform_close_on_exec): added inline
10725 modifier.
10726
10727 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10728
10729 * configure.host: Add case statement to support generic port
10730 properties. Add *-*-freebsd* section.
10731
10732 2002-04-04 Mark Wielaard <mark@klomp.org>
10733
10734 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10735 test.
10736 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10737 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10738 that depend on awt code and BufferedByteOutputStream.interrupt.
10739
10740 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10741
10742 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10743 incorrect "hi" value when count > 40.
10744
10745 2002-04-03 Mark Wielaard <mark@klomp.org>
10746
10747 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10748 ordering.
10749
10750 2002-04-02 Tom Tromey <tromey@redhat.com>
10751
10752 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10753 not `0'.
10754
10755 2002-04-02 Mark Wielaard <mark@klomp.org>
10756
10757 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10758 list of testsuite crashers.
10759
10760 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10761
10762 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10763 when resizing table.
10764
10765 2002-04-01 Mark Wielaard <mark@klomp.org>
10766
10767 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10768 NegativeArraySizeException
10769 (clear(int)): Use sign extended shift.
10770 (flip(int)): Likewise.
10771 (get(int)): Likewise.
10772 (nextClearBit(int)): Likewise.
10773 (nextSetBit(int)): Likewise.
10774 (set(int)): Likewise.
10775
10776 2002-04-01 Mark Wielaard <mark@klomp.org>
10777
10778 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10779 that can be compiled now and add testsuite crashers to ignore list.
10780
10781 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10782
10783 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10784
10785 * libgcj.spec.in: Override libgcc, not lib.
10786 * libgcj-test.spec.in: Likewise.
10787
10788 2002-03-29 Tom Tromey <tromey@redhat.com>
10789
10790 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10791 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10792
10793 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10794
10795 * java/net/PlainDatagramSocketImpl.java
10796 (close): Use native implementation.
10797 (finalize): New method.
10798
10799 * java/net/PlainSocketImpl.java (finalize): New method.
10800
10801 * java/net/natPlainDatagramSocketImpl.cc
10802 (java/io/FileDescriptor.h): Don't include.
10803 (close): Implement method here.
10804 (create): Don't assign fd.
10805
10806 * java/net/natPlainSocketImpl.cc
10807 (java/io/FileDescriptor.h): Don't include.
10808 (create): Don't assign fd.
10809 (accept): Likewise.
10810 (close): Synchronize.
10811
10812 2002-03-27 Richard Henderson <rth@redhat.com>
10813
10814 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10815
10816 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10817
10818 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10819 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10820 instead of syscall on IA-64.
10821 Add FIXME comment.
10822
10823 2002-03-27 Anthony Green <green@redhat.com>
10824
10825 * libgcj.spec.in: Add CHECKREFSPEC.
10826 * configure.in: Ditto.
10827 * configure.host: Ditto. Check references for xscale-elf.
10828 * configure: Rebuilt.
10829
10830 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10831
10832 * include/dwarf2-signal.h: Temporarily back out last change.
10833
10834 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10835
10836 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10837
10838 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10839
10840 * configure.in, configure: enable dwarf2-exception-style
10841 exception handling on IA-64.
10842 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10843 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10844 Add FIXME comment.
10845
10846 2002-03-25 Tom Tromey <tromey@redhat.com>
10847
10848 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10849 (jv_convert_LDFLAGS): Likewise.
10850 (gij_LDFLAGS): Likewise.
10851 (rmic_LDFLAGS): Likewise.
10852 (rmiregistry_LDFLAGS): Likewise.
10853 * configure.in (THREADLDFLAGS): New subst; set correctly for
10854 *BSD.
10855
10856 2002-03-25 Tom Tromey <tromey@redhat.com>
10857
10858 For PR libgcj/5303:
10859 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10860 and --version.
10861 (help): New method.
10862 (version): Likewise.
10863 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10864 "GNU".
10865 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10866 "GNU".
10867
10868 2002-03-25 Tom Tromey <tromey@redhat.com>
10869
10870 * java/awt/Component.java (processEvent): Check ComponentEvent
10871 after KeyEvent.
10872
10873 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10874
10875 * java/io/PushbackReader.java: Reformat.
10876
10877 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10878 calculate correct number of bytes skipped.
10879
10880 Based on patch from Intel's ORP team:
10881 * java/io/PushbackInputStream.java (available): Calculate correct
10882 number of bytes in buffer.
10883 (read): Remove redundant bound check. Return bytes from both the
10884 buffer and the stream.
10885
10886 2002-03-24 Tom Tromey <tromey@redhat.com>
10887
10888 * java/awt/TextComponent.java (TextComponent): Editable by
10889 default.
10890
10891 * java/awt/MenuItem.java (eventMask): No longer private.
10892 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10893 superclass if we didn't handle event.
10894 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10895 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10896 * java/awt/Choice.java (dispatchEventImpl): New method.
10897 * java/awt/List.java (dispatchEventImpl): New method.
10898 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10899 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10900 * java/awt/TextField.java (dispatchEventImpl): New method.
10901
10902 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10903
10904 * java/beans/IntrospectionException.java: Update to 1.4.
10905 * java/beans/PropertyVetoException.java: Ditto.
10906
10907 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10908
10909 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10910 Arrays.equals instead of ArrayHelper.equalsArray.
10911
10912 2002-03-24 C. Brian Jones <cbj@gnu.org>
10913
10914 * java/beans/Introspector.java: added new static final fields
10915 introduced in 1.2, lots of other updates remain to be done
10916
10917 2002-03-24 C. Brian Jones <cbj@gnu.org>
10918
10919 * java/beans/Introspector.java: reformatting
10920
10921 2002-03-24 C. Brian Jones <cbj@gnu.org>
10922
10923 * java/beans/Introspector.java: default beanInfoSearchPath will
10924 not include sun.beans.infos given we provide no such package and
10925 the API doesn't really require it; gnu.java.beans.info is the
10926 default.
10927
10928 2002-03-24 Mark Wielaard <mark@klomp.org>
10929
10930 Thanks to Orp developers
10931 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10932 switch TRUE and FALSE return values.
10933
10934 2002-03-23 Tom Tromey <tromey@redhat.com>
10935
10936 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10937 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10938
10939 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10940
10941 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10942 MONTH entry. Fixes PR libgcj/6045.
10943
10944 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10945
10946 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10947
10948 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10949
10950 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10951 not release_set.
10952 * sysdep/powerpc/locks.h (write_barrier): New function.
10953 * sysdep/i386/locks.h (write_barrier): New function.
10954
10955 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10956
10957 * include/jni.h Use correct C comments.
10958
10959 2002-03-18 Tom Tromey <tromey@redhat.com>
10960
10961 * include/jni.h (JNIIMPORT): New macro.
10962 (JNIEXPORT): Likewise.
10963 (JNICALL): Likewise.
10964
10965 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10966
10967 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10968 systems.
10969
10970 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10971
10972 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10973 INIT_SEGV: Use old_i386_kernel_sigaction.
10974 INIT_FP: Likewise.
10975
10976 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10977
10978 * java/lang/natSystem.cc (init_properties): Update VM version
10979 properties.
10980 * configure.in: Set GCJVERSION.
10981 * acconfig.h: Add GCJVERSION.
10982 * configure: Rebuilt.
10983 * include/config.h.in: Rebuilt.
10984
10985 2002-03-17 Anthony Green <green@redhat.com>
10986
10987 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10988
10989 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10990
10991 Build a single libgcj.so, without separate gc and zlib libraries.
10992 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10993 SYS_ZLIBS if system zlib is used.
10994 * configure: Rebuilt.
10995 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10996 * Makefile.in: Rebuilt.
10997 * libtool-version: Increment .so version number.
10998
10999 * Makefile.am: Escape quotes in echo.
11000 * Makefile.in: Rebuilt.
11001
11002 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11003
11004 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
11005 * Makefile.in: Rebuilt.
11006
11007 2002-03-15 Anthony Green <green@redhat.com>
11008
11009 * configure.host (FILE): New macro for specifing File
11010 implementation.
11011 * configure: Rebuilt.
11012 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
11013
11014 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
11015
11016 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
11017 already implicitly brought in from libgcj.la.
11018 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11019 * Makefile.in: Rebuilt.
11020
11021 2002-03-15 Eric Blake <ebb9@email.byu.edu>
11022
11023 * THANKS: Fix punctuation, alphabetization.
11024
11025 2002-03-15 Tom Tromey <tromey@redhat.com>
11026 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11027
11028 Fix for PR libgcj/5944.
11029 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
11030
11031 2002-03-15 Anthony Green <green@redhat.com>
11032
11033 * configure.in (tool_include_dir): Define.
11034 * configure: Rebuilt.
11035 * gcj/Makefile.am: Install libgcj-config.h relative to
11036 tool_include_dir.
11037 * gcj/Makefile: Rebuilt.
11038 * gcj/libgcj-config.h: Add warning comment.
11039
11040 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
11041
11042 * configure.host (powerpc*-darwin*): Enable interpreter.
11043
11044 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11045
11046 * include/posix.h: Add multiple include header protection.
11047 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
11048
11049 2002-03-10 Adam Megacz <adam@xwt.org>
11050
11051 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
11052
11053 2002-03-10 Tom Tromey <tromey@redhat.com>
11054
11055 * java/awt/GridLayout.java (layoutContainer): Handle case where
11056 there are no items in container.
11057
11058 * java/lang/Win32Process.java: Added comment.
11059 * include/posix.h (_Jv_platform_close_on_exec): New function.
11060 Include fcntl.h.
11061 * include/win32.h (_Jv_platform_close_on_exec): New function.
11062 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11063 flag.
11064 (accept): Likewise.
11065 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11066 close-on-exec flag.
11067 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11068 flag.
11069
11070 2002-03-09 Tom Tromey <tromey@redhat.com>
11071
11072 * verify.cc (state::NO_STACK): New constant.
11073 (state::is_unmerged_ret_state): Handle case where stacktop is
11074 NO_STACK.
11075 (state::merge): Handle NO_STACK merges.
11076 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11077 for instruction following jsr.
11078 (stacktop, stackdepth): Removed unused variables.
11079 (pop_jump): Ignore case where all remaining states are skipped.
11080
11081 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11082
11083 * java/awt/ImageMediaEntry: Removed.
11084 * java/awt/MediaEntry: Removed.
11085
11086 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11087
11088 Hashtable synchronization for PowerPC.
11089 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11090 slow_pthread_self. Set up symlink for sysdeps directory.
11091 * configure: Rebuild.
11092 * configure.host: Document more shell variables. Set sysdeps_dir
11093 for most platforms. Set slow_pthread_self for i686. Set
11094 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11095 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11096 that memory barrier is emitted where required.
11097 * prims.cc: 64-bit align static primitive class instances.
11098 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11099 read_barrier() to enforce ordering of reads.
11100 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11101 primitives for PowerPC.
11102 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11103 moved from natObject.cc.
11104 * sysdep/alpha/locks.h: Likewise.
11105 * sysdep/ia64/locks.h: Likewise.
11106 * sysdep/generic/locks.h: Likewise.
11107 * java/lang/natObject.cc: Move thread synchronization primitives to
11108 system-dependent headers.
11109
11110 2002-03-09 Adam Megacz <adam@xwt.org>
11111
11112 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11113 bytes read and no failure code returned.
11114
11115 2002-03-09 Adam Megacz <adam@xwt.org>
11116
11117 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11118 definitions to simulate -mthreads.
11119
11120 2002-03-09 Adam Megacz <adam@xwt.org>
11121
11122 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11123 avoid precision loss.
11124
11125 2002-03-09 Per Bothner <per@bothner.com>
11126
11127 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11128 * gnu/gcj/xlib/XImage.java: Likewise.
11129 * gnu/gcj/xlib/XColor.java: Likewise.
11130
11131 2002-03-09 Adam Megacz <adam@xwt.org>
11132
11133 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11134 IOException so that Throwable.printStackTrace fails correctly.
11135
11136 2002-03-08 Adam Megacz <adam@xwt.org>
11137
11138 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11139 fixed.
11140
11141 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11142
11143 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11144 truncated to int.
11145
11146 2002-03-08 Tom Tromey <tromey@redhat.com>
11147
11148 * include/jni.h: Include stdio.h.
11149
11150 2002-03-08 Tom Tromey <tromey@redhat.com>
11151
11152 * posix.cc (internal_gettimeofday): New function.
11153 (_Jv_select): Use it.
11154
11155 2002-03-07 Adam Megacz <adam@xwt.org>
11156
11157 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11158 WIN32, and added thunks for read(), write(), and close().
11159 * java/net/natPlainSocketImpl.cc (accept, read, read):
11160 Disabled timeouts on WIN32 pending discussion.
11161
11162 2002-03-07 Adam Megacz <adam@xwt.org>
11163
11164 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11165 returns jlong. Added implementation
11166 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11167 returns jlong.
11168 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11169 returns jlong.
11170 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11171 returns jlong.
11172 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11173 _Jv_platform_gettimeofday signature.
11174
11175 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11176
11177 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11178 (read): Call recv() directly, not _Jv_recv().
11179
11180 2002-03-06 Tom Tromey <tromey@redhat.com>
11181
11182 * java/io/natFileDescriptorEcos.cc (init): Don't use
11183 GetStdHandle.
11184 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11185 is negative.
11186 (init): Don't use GetStdHandle.
11187
11188 * include/config.h.in: Rebuilt.
11189 * configure: Rebuilt.
11190 * Makefile.in: Rebuilt.
11191
11192 2002-03-06 Adam Megacz <adam@xwt.org>
11193
11194 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11195 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11196 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11197 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11198
11199 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11200
11201 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11202 the code for generating include/java-chartables.h.
11203 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11204 merge with Classpath.
11205 * scripts/unicode-muncher.pl: Copy from Classpath.
11206 * scritps/MakeCharTables.java: New file.
11207 * gnu/gcj/convert/Blocks-3.txt: New file.
11208 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11209 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11210 * gnu/java/lang/CharData.java: Copy from Classpath.
11211 * Makefile.am (ordinary_java_source_files): Add
11212 gnu/java/lang/CharData.java.
11213 * configure.in: Remove --enable-fast-character option.
11214 * java/lang/Character.java: Merge algorithms and Javadoc with
11215 Classpath.
11216 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11217 efficiently.
11218 * include/java-chardecomp.h: Regenerate.
11219 * include/java-chartables.h: Regenerate.
11220
11221 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11222
11223 * java/awt/MediaTracker.java: Implemented.
11224 * Makefile.am: Add MediaTracker.
11225 * Makefile.in: Rebuilt.
11226
11227 2002-03-05 Tom Tromey <tromey@redhat.com>
11228
11229 * java/lang/natPosixProcess.cc (fail): Removed.
11230 (startProcess): Simplified error-handling. Preserve
11231 LD_LIBRARY_PATH across exec.
11232
11233 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11234 AbstractMethodError.
11235
11236 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11237
11238 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11239 * Makefile.in: Rebuilt.
11240
11241 2002-03-03 Mark Wielaard <mark@klomp.org>
11242
11243 * java/util/Timer (TaskQueue.stop): set elements to zero.
11244
11245 2002-02-28 Anthony Green <green@redhat.com>
11246
11247 * java/lang/reflect/natMethod.cc (result): Add void* element.
11248 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11249 constructor test.
11250
11251 2002-02-27 Adam Megacz <adam@xwt.org>
11252
11253 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11254 '#undef STRICT'.
11255
11256 2002-02-26 Tom Tromey <tromey@redhat.com>
11257
11258 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11259 * gij.cc (version): Use __VERSION__.
11260 * include/config.h.in: Rebuilt.
11261 * acconfig.h (GCJVERSION): Removed.
11262 * configure: Rebuilt.
11263 * configure.in (GCJVERSION): Removed.
11264
11265 2002-02-26 Andreas Schwab <schwab@suse.de>
11266
11267 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11268 glibcpp_CXX, since libjava uses even another CXX.
11269 * aclocal.m4, configure: Regenerated.
11270
11271 2002-02-26 Tom Tromey <tromey@redhat.com>
11272
11273 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11274 `1'.
11275
11276 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11277
11278 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11279 dependency tracking for .java files.
11280 * Makefile.in: Rebuilt.
11281
11282 2002-02-24 Adam Megacz <adam@xwt.org>
11283
11284 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11285 typo. Sorry.
11286
11287 2002-02-24 Adam Megacz <adam@xwt.org>
11288
11289 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11290 for Win32, changed #ifdefs to check WIN32 instead of the
11291 (now-obsolete) USE_WINSOCK, and removed support for socket
11292 timeouts on Win32 pending further discussion.
11293
11294 2002-02-24 Adam Megacz <adam@xwt.org>
11295
11296 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11297 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11298 delete
11299
11300 2002-02-24 Adam Megacz <adam@xwt.org>
11301
11302 * java/lang/Win32Process.java: Created a dummy class to allow
11303 build process to run to completion.
11304
11305 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11306
11307 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11308 Define ffi_result union for ffi_call result. Cast
11309 ffi_result members to jvalue.
11310
11311 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11312
11313 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11314 * testsuite/Makefile.in: Likewise.
11315
11316 2002-02-20 Per Bothner <per@bothner.com>
11317
11318 * java/net/URL.java (getPath): New JDK 1.3 method.
11319
11320 * java/net/URLStreamHandler.java (parseURL):
11321 It is wrong to prepend '/' to the file part of a relative url.
11322
11323 * java/net/URLStreamHandler.java (parseURL):
11324 Minor optizations - append '/' rather than "/".
11325
11326 * java/net/URLStreamHandler.java (parseURL):
11327 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11328 We probably should canonicalize for a context-relative url, though.
11329 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11330 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11331 (sameFile): New method. Uses canonicalizeFilename.
11332
11333 2002-02-22 Tom Tromey <tromey@redhat.com>
11334
11335 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11336 java.vendor and java.vm.vendor.
11337 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11338 recent copyright date.
11339 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11340 * gij.cc (version): Print `Inc'.
11341
11342 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11343
11344 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11345 * aclocal.m4, configure: Rebuilt.
11346
11347 2002-02-20 Per Bothner <per@bothner.com>
11348
11349 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11350 and/or output streams immediately here, instead of using File.exists.
11351 (inputStream, outputStream): New fields to save open streams.
11352 (getInputStream, getOutputStream): Use already-opened streams.
11353
11354 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11355
11356 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11357 Use it.
11358 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11359 * aclocal.m4, configure, Makefile.in: Rebuilt.
11360
11361 2002-02-19 Tom Tromey <tromey@redhat.com>
11362
11363 Fix for PR libgcj/5696:
11364 * verify.cc (is_assignable_from_slow): Never call
11365 _Jv_IsAssignableFrom.
11366 (verify_instructions_0): Added new debug statement.
11367 (state::print): Print information about whether local has
11368 changed.
11369 (state::merge): Don't call note_variable when merging locals.
11370 (state::set_exception): Removed old FIXME comment.
11371
11372 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11373
11374 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11375 enable SO_BROADCAST.
11376
11377 2002-02-18 Jason Merrill <jason@redhat.com>
11378
11379 * name-finder.cc (toHex): Use word mode, not long long.
11380
11381 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11382
11383 2002-02-15 Tom Tromey <tromey@redhat.com>
11384
11385 Fix for PR libgcj/5695:
11386 * verify.cc (is_assignable_from_slow): Check to see if target is
11387 an Object before checking to see if source is an interface.
11388 (verify_instructions_0) [op_invokeinterface]: Handle case where
11389 we're making an interface call on Object.
11390
11391 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11392
11393 * Makefile.in: Rebuilt with Eric's change below.
11394
11395 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11396 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11397 Removed functions which are now implemented in Math.java.
11398
11399 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11400
11401 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11402 * Makefile.am (core_java_source_files): Add
11403 java/lang/StrictMath.java.
11404 * java/lang/Math.java: Merge with Classpath.
11405 * java/lang/StrictMath.java: New file - merge with Classpath.
11406
11407 2002-02-14 Mark Wielaard <mark@klomp.org>
11408
11409 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11410 package as a workaround for gcj 3.0.x
11411
11412 2002-02-14 Mark Wielaard <mark@klomp.org>
11413
11414 * java/security/BasicPermission.java: extends with fully qualified
11415 classname as workaround for gcj 3.0.4.
11416
11417 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11418
11419 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11420 around gcj bug of wrong emitted qualifier for inherited method.
11421 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11422 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11423 constructor to reduce amount of emitted bytecode. While this
11424 happens to work around a jikes 1.15 bug, it is still a useful
11425 patch even for correct compilers.
11426 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11427 * gnu/java/rmi/server/UnicastRemoteCall.java
11428 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11429
11430 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11431
11432 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11433 * java/net/SocketImpl.java: Ditto.
11434 * java/rmi/server/RMIClassLoader.java: Ditto.
11435 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11436
11437 2002-02-14 Mark Wielaard <mark@klomp.org>
11438
11439 Thanks to Takashi Okamoto
11440 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11441 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11442 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11443
11444 2002-02-13 Todd Stock <toddastock@yahoo.com>
11445
11446 Fix for PR libgcj/5670:
11447 * verify.cc (is_assignable_from_slow): If `source' is interface,
11448 recursively look for merge with `target'.
11449
11450 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11451
11452 * include/jni.h: Fix typo.
11453
11454 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11455
11456 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11457 correctly.
11458
11459 2002-02-13 Todd Stock <toddastock@yahoo.com>
11460
11461 Fix for PR libgcj/5671:
11462 * verify.cc (state::merge): Handle case where we're merging
11463 against an interface.
11464
11465 2002-02-12 Tom Tromey <tromey@redhat.com>
11466
11467 * exception.cc (std::abort): Mark as noreturn.
11468
11469 2002-02-12 Adam Megacz <adam@xwt.org>
11470
11471 * java/lang/Win32Process.java: Filled in a placeholder
11472 implementation so Win32 will build.
11473
11474 2002-02-12 Adam Megacz <adam@xwt.org>
11475
11476 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11477 * java/io/natFile.cc: Removed from repository.
11478 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11479
11480 2002-02-12 Adam Megacz <adam@xwt.org>
11481
11482 * win32.cc: Added two #includes to make win32.cc compile.
11483
11484 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11485
11486 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11487 declarations.
11488 (_Jv_InitGC): Don't bother locking, as this is always called from a
11489 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11490
11491 2002-02-11 Adam Megacz <adam@xwt.org>
11492
11493 * include/win32.h: Added _Jv_platform_gettimeofday.
11494 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11495
11496 2002-02-11 Adam Megacz <adam@xwt.org>
11497
11498 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11499 Added #undef STRICT to make windows.h and
11500 java/lang/reflect/Modifier.h cooperate.
11501
11502 2002-02-11 Adam Megacz <adam@xwt.org>
11503
11504 * java/io/natFileWin32.cc: Created a placeholder class with lots
11505 of FIXMEs.
11506
11507 2002-02-11 Adam Megacz <adam@xwt.org>
11508
11509 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11510 std::abort() to simply abort(). Also added "fake" std::abort() so
11511 we can #include unwind-pe.h without having to link against
11512 libstdc++-v3.
11513
11514 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11515
11516 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11517
11518 2002-02-08 Tom Tromey <tromey@redhat.com>
11519
11520 * interpret.cc (convert): New function.
11521 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11522 convert.
11523 Include Long.h.
11524
11525 2002-02-08 Anthony Green <green@redhat.com>
11526
11527 * configure.host: Add support for xscale-elf embedded target.
11528
11529 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11530
11531 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11532 dereferenced.
11533 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11534 frame.
11535
11536 2002-02-07 Tom Tromey <tromey@redhat.com>
11537
11538 * java/io/natFile.cc (_access): Use __builtin_alloca.
11539 (_stat): Likewise.
11540 (attr): Likewise.
11541 (getCanonicalPath): Likewise.
11542 (performList): Likewise.
11543 (performMkdir): Likewise.
11544 (performSetReadOnly): Likewise.
11545 (performRenameTo): Likewise.
11546 (performSetLastModified): Likewise.
11547 (performCreate): Likewise.
11548 (performDelete): Likewise.
11549
11550 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11551
11552 * HACKING: Fix URL for the automake-gcj.
11553
11554 2002-02-07 Tom Tromey <tromey@redhat.com>
11555
11556 * java/lang/natThrowable.cc: Updated copyright.
11557 * java/io/natFileWin32.cc: Updated copyright.
11558 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11559 * win32-threads.cc: Updated copyright.
11560 * name-finder.cc: Updated copyright.
11561 * include/name-finder.h: Updated copyright.
11562
11563 * include/name-finder.h: Conditionally include sys/wait.h.
11564 * include/config.h.in: Rebuilt.
11565
11566 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11567 Size buffer based on real size of string.
11568 (_stat): Likewise.
11569 (attr): Likewise.
11570 (getCanonicalPath): Likewise.
11571 (performList): Likewise.
11572 (performMkdir): Likewise.
11573 (performSetReadOnly): Likewise.
11574 (unixroot): Removed.
11575 (performRenameTo): Likewise.
11576 (performSetLastModified): Likewise.
11577 (performCreate): Likewise.
11578 (performDelete): Likewise.
11579 (performListRoots): Always return new array.
11580
11581 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11582 * win32.cc (win32_exception_handler): Now static.
11583 * include/win32.h (_Jv_platform_initialize): Declare.
11584 (win32_exception_handler): Don't declare.
11585 * java/lang/natSystem.cc (currentTimeMillis): Use
11586 _Jv_platform_gettimeofday.
11587 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11588 (_Jv_select): Use new name.
11589 (_Jv_platform_initialize): New function.
11590 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11591 _Jv_gettimeofday.
11592 (_Jv_platform_initialize): Declare.
11593
11594 * configure: Rebuilt.
11595 * configure.in: Removed unnecessary parens.
11596
11597 2002-02-06 Adam Megacz <adam@xwt.org>
11598
11599 * configure.in: Changed mingw) to *mingw*).
11600 * win32.cc: Created this file.
11601 * win32.h: Created this file.
11602 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11603 win32_exception_handler from prims.cc to win32.cc, added
11604 header in win32.h.
11605 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11606 longer needed now that we have platform.h
11607
11608 2002-02-06 Adam Megacz <adam@xwt.org>
11609
11610 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11611 use uint<n>_t instead of LONG and BYTE
11612
11613 2002-02-06 Adam Megacz <adam@xwt.org>
11614
11615 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11616
11617 2002-02-06 Anthony Green <green@redhat.com>
11618
11619 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11620 Implement missing method stubs.
11621 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11622 targets.
11623 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11624 concept of timezones.
11625 (init_properties): Don't refer to _Jv_Environment_Properties
11626 when this feature is not available.
11627 * include/config.h.in: Rebuilt.
11628 * acconfig.h: Add DISABLE_MAIN_ARGS.
11629 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11630 * configure: Rebuilt.
11631 * configure.in: Add --disable-main-args option. Test for
11632 opendir function. Replace AC_CHECK_SIZEOF with
11633 AC_COMPILE_CHECK_SIZEOF.
11634 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11635 * aclocal.m4: Rebuilt.
11636 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11637
11638 2002-02-06 Tom Tromey <tromey@redhat.com>
11639
11640 * verify.cc (require_array_type): If argument is a null array of
11641 references, return null as the element type.
11642
11643 2002-02-06 Mark Wielaard <mark@klomp.org>
11644
11645 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11646 duplicate of a wide type.
11647
11648 2002-02-06 Tom Tromey <tromey@redhat.com>
11649
11650 * verify.cc (type::isnull): New method.
11651 (require_array_type): Handle case where array is null.
11652 (verify_instructions_0) [op_arraylength]: Likewise.
11653
11654 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11655
11656 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11657 Symlink PLATFORMH to platform.h.
11658 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11659 PLATFORMOBJS.
11660 * java/lang/natSystem.cc: #include platform.h not posix.h.
11661 * Makefile.in: Rebuilt with libgcj automake.
11662 * configure: Rebuilt.
11663
11664 2002-02-05 Richard Henderson <rth@redhat.com>
11665
11666 * Makefile.in: Undo munging last change.
11667
11668 2002-02-04 Adam Megacz <adam@xwt.org>
11669
11670 * win32.cc: Created it.
11671 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11672 which is set to posix.cc or win32.cc.
11673 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11674
11675 2002-02-04 Adam Megacz <adam@xwt.org>
11676
11677 * configure.in: Corrected mingw case branches; added * before
11678 and after.
11679
11680 2002-02-04 Adam Megacz <adam@xwt.org>
11681
11682 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11683 if compiling for win32
11684
11685 2002-02-04 Adam Megacz <adam@xwt.org>
11686
11687 * win32-threads.cc: #undef STRICT after gc.h inclusion
11688
11689 2002-02-02 Tom Tromey <tromey@redhat.com>
11690
11691 * Makefile.in: Rebuilt.
11692
11693 2002-02-02 Jason Merrill <jason@redhat.com>
11694
11695 * Makefile.am (clean-nat): New target.
11696
11697 2002-02-02 Tom Tromey <tromey@redhat.com>
11698
11699 * java/io/natFile.cc: Removed old "FIXME" comments.
11700
11701 2002-02-01 Tom Tromey <tromey@redhat.com>
11702
11703 * java/lang/natPosixProcess.cc (myclose): New function.
11704 (fail): Use it.
11705 (startProcess): Likewise.
11706
11707 2002-02-01 Adam Megacz <adam@xwt.org>
11708
11709 * prims.cc: Added #undef STRICT after #include<windows.h>.
11710
11711 2002-02-01 Adam Megacz <adam@xwt.org>
11712
11713 * prims.cc
11714 (_Jv_CreateJavaVM): We now use WIN32 instead of
11715 USE_WIN32_SIGNALLING and USE_WINSOCK.
11716 (win32_exception_handler): Now throws an exception out of
11717 the signal handler; assumes SJLJ.
11718
11719 2002-02-01 Adam Megacz <adam@xwt.org>
11720
11721 * win32-threads.cc:
11722 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11723 wait() algorithm to make it safe.
11724 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11725 Added lazy creation of Win32 Events for better performance
11726 (really_start): This now uses GC_CreateThread so boehm-gc
11727 knows about new threads even when statically linked.
11728
11729 2002-02-01 Adam Megacz <adam@xwt.org>
11730
11731 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11732 enable safer wait() algorithm.
11733 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11734 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11735 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11736 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11737 instead of mutex.
11738 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11739
11740 2002-02-01 Adam Megacz <adam@xwt.org>
11741
11742 * configure.in: Added support for mingw.
11743 * java/lang/Win32Process.java: Created as empty file.
11744 * java/lang/natWin32Process.cc: Created as empty file.
11745
11746 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11747
11748 PR java/4972
11749 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11750 for libiconv in LIBICONV variable.
11751 * configure: Regenerated.
11752
11753 2002-01-31 Tom Tromey <tromey@redhat.com>
11754
11755 * verify.cc (state::enter_subroutine): New method.
11756 (handle_jsr_insn): Use it.
11757 (state::merge): When processing a `ret', correctly use
11758 subroutine's state to determine which local variables have
11759 changed.
11760 (push_exception_jump): Don't let stack overflow.
11761
11762 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11763
11764 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11765 --version output.
11766
11767 2002-01-30 Tom Tromey <tromey@redhat.com>
11768
11769 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11770 parameter for `recv' return type.
11771
11772 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11773 (state::merge): ... not here.
11774 (subr_entry_info): New structure.
11775 (entry_points): New field.
11776 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11777 entry_points.
11778
11779 2002-01-29 Tom Tromey <tromey@redhat.com>
11780
11781 * java/awt/List.java (addNotify): Correctly check to see if peer
11782 does not exist.
11783
11784 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11785 to compute height of each cell, and number of columns to compute
11786 width of each cell.
11787 * java/awt/Window.java (getOwnedWindows): Don't return null.
11788 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11789 of component. Increment x using horizontal gap, not vertical
11790 gap.
11791
11792 2002-01-28 Tom Tromey <tromey@redhat.com>
11793
11794 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11795 `nargs' byte is number of words, not number of arguments.
11796
11797 2002-01-27 Tom Tromey <tromey@redhat.com>
11798
11799 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11800 (when): Likewise.
11801 * java/awt/event/InputEvent.java (modifiers, when): Now
11802 package-private.
11803
11804 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11805 and to-do list.
11806 (state::merge): Use current class' class loader.
11807 (state::print): Print subroutine.
11808 (state::merge): Don't look at subroutine of unmerged `ret'.
11809
11810 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11811
11812 * nogc.cc: Remove warnings.
11813 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11814 New functions.
11815
11816 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11817
11818 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11819 int, int): Remove empty "if" statement to work around compiler bug.
11820 (newPixels(int[], ColorModel, int, int): Likewise.
11821
11822 2002-01-25 Per Bothner <per@bothner.com>
11823
11824 * verify.cc (verify_fail): Change from being a top-level function
11825 to e method of _Jv_BytecodeVerifier. Emit current method name.
11826 Pass the current verifier to type: and state: methods as needed,
11827 for better error messages, and for resolve.
11828 (resolve): Pass current class's loader for Class.forName and
11829 _Jv_FindClassFromSignature, rather than using the default loader.
11830 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11831 (get_type_val_for_signature): Make non-static.
11832 (various methods): Pass start_PC implicitly, not explicitly.
11833
11834 2002-01-25 Tom Tromey <tromey@redhat.com>
11835
11836 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11837 loop termination condition.
11838 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11839 width.
11840
11841 2002-01-24 Tom Tromey <tromey@redhat.com>
11842
11843 * java/awt/Shape.java: Merged with Classpath.
11844 * java/awt/Scrollbar.java: Merged with Classpath.
11845
11846 * java/awt/Container.java (addNotify): Unconditionally call
11847 addNotifyContainerChildren and superclass addNotify.
11848
11849 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11850 getAlpha, not getBlue.
11851
11852 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11853
11854 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11855
11856 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11857 (grabPixels(long)): Wait to be notified that the ImageProducer has
11858 completed.
11859
11860 2002-01-24 Per Bothner <per@bothner.com>
11861
11862 * verify.cc (is_assignable_from_slow): If target is an interface,
11863 we must still check the source's superclass before giving up.
11864
11865 2002-01-24 Tom Tromey <tromey@redhat.com>
11866
11867 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11868
11869 2002-01-23 Tom Tromey <tromey@redhat.com>
11870
11871 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11872 `else'.
11873
11874 * Makefile.in: Rebuilt.
11875 * Makefile.am (awt_java_source_files): Added new files.
11876 * java/awt/Toolkit.java: Merged with Classpath.
11877 * java/awt/PrintGraphics.java: New file from Classpath.
11878 * java/awt/PrintJob.java: New file from Classpath.
11879 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11880 * java/awt/datatransfer/ClipboardOwner.java: New file from
11881 Classpath.
11882 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11883 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11884 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11885 Classpath.
11886 * java/awt/datatransfer/StringSelection.java: New file from
11887 Classpath.
11888 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11889 Classpath.
11890 * java/awt/datatransfer/Transferable.java: New file from
11891 Classpath.
11892 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11893 from Classpath.
11894
11895 * Makefile.in: Rebuilt.
11896 * Makefile.am (awt_java_source_files): Added new files.
11897 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11898 Classpath.
11899 * java/awt/image/CropImageFilter.java: New file from Classpath.
11900 * java/awt/image/FilteredImageSource.java: New file from
11901 Classpath.
11902 * java/awt/image/ImageFilter.java: New file from Classpath.
11903 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11904 * java/awt/image/PixelGrabber.java: New file from Classpath.
11905 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11906 * java/awt/image/ReplicateScaleFilter.java: New file from
11907 Classpath.
11908 * java/awt/image/ImageProducer.java: Replaced with Classpath
11909 version.
11910 * java/awt/image/ImageObserver.java: Replaced with Classpath
11911 version.
11912 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11913 version.
11914 * java/awt/GridBagConstraints.java (clone): Catch
11915 CloneNotSupportedException.
11916
11917 2002-01-23 Per Bothner <per@bothner.com>
11918
11919 * java/lang/reflect/natField.cc (setAddr): New function.
11920 Calls getAddr and then checks that the field isn't final.
11921 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11922 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11923 (set): Call setAddr before check that new value has right type,
11924 to better match specified semantics.
11925
11926 2002-01-22 Tom Tromey <tromey@redhat.com>
11927
11928 * java/awt/TextField.java: Replaced with Classpath version.
11929 * java/awt/TextArea.java: Replaced with Classpath version.
11930 * java/awt/TextComponent.java: Replaced with Classpath version.
11931
11932 * java/awt/GridBagConstraints.java: Updated copyright.
11933
11934 2002-01-22 Mark Wielaard <mark@klomp.org>
11935
11936 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11937 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11938 java/awt/Dialog.java java/awt/FileDialog.java
11939 java/awt/Font.java java/awt/FontMetrics.java
11940 java/awt/Image.java java/awt/ImageMediaEntry.java
11941 java/awt/Insets.java java/awt/List.java
11942 java/awt/MediaEntry.java java/awt/MediaTracker.java
11943 java/awt/Menu.java java/awt/MenuBar.java
11944 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11945 java/awt/PaintContext.java java/awt/Panel.java
11946 java/awt/PopupMenu.java java/awt/SystemColor.java
11947 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11948 java/awt/peer/CheckboxMenuItemPeer.java
11949 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11950 java/awt/peer/ComponentPeer.java
11951 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11952 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11953 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11954 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11955 java/awt/peer/MenuBarPeer.java
11956 java/awt/peer/MenuComponentPeer.java
11957 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11958 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11959 java/awt/peer/ScrollPanePeer.java
11960 java/awt/peer/ScrollbarPeer.java
11961 java/awt/peer/TextAreaPeer.java
11962 java/awt/peer/TextComponentPeer.java
11963 java/awt/peer/TextFieldPeer.java
11964 java/awt/peer/WindowPeer.java: Add license clarification.
11965
11966 2002-01-22 Mark Wielaard <mark@klomp.org>
11967
11968 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11969 gnu/gcj/runtime/StringBuffer.java
11970 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11971 gnu/java/awt/ComponentDataBlitOp.java
11972 gnu/java/awt/GLightweightPeer.java
11973 gnu/java/beans/BeanInfoEmbryo.java
11974 gnu/java/beans/EmptyBeanInfo.java
11975 gnu/java/beans/ExplicitBeanInfo.java
11976 gnu/java/beans/IntrospectionIncubator.java
11977 gnu/java/beans/editors/ColorEditor.java
11978 gnu/java/beans/editors/FontEditor.java
11979 gnu/java/beans/editors/NativeBooleanEditor.java
11980 gnu/java/beans/editors/NativeByteEditor.java
11981 gnu/java/beans/editors/NativeDoubleEditor.java
11982 gnu/java/beans/editors/NativeFloatEditor.java
11983 gnu/java/beans/editors/NativeIntEditor.java
11984 gnu/java/beans/editors/NativeLongEditor.java
11985 gnu/java/beans/editors/NativeShortEditor.java
11986 gnu/java/beans/editors/StringEditor.java
11987 gnu/java/beans/info/ComponentBeanInfo.java
11988 gnu/java/io/ClassLoaderObjectInputStream.java
11989 gnu/java/io/NullOutputStream.java
11990 gnu/java/io/ObjectIdentityWrapper.java
11991 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11992 gnu/java/lang/reflect/TypeSignature.java
11993 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11994 gnu/java/locale/Calendar_en.java
11995 gnu/java/locale/Calendar_nl.java
11996 gnu/java/locale/LocaleInformation.java
11997 gnu/java/locale/LocaleInformation_de.java
11998 gnu/java/locale/LocaleInformation_en.java
11999 gnu/java/locale/LocaleInformation_nl.java
12000 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
12001 gnu/java/rmi/registry/RegistryImpl.java
12002 gnu/java/rmi/rmic/Compile_gcj.java
12003 gnu/java/rmi/rmic/Compiler.java
12004 gnu/java/rmi/rmic/CompilerProcess.java
12005 gnu/java/rmi/rmic/RMIC.java
12006 gnu/java/rmi/rmic/TabbedWriter.java
12007 gnu/java/rmi/server/ProtocolConstants.java
12008 gnu/java/rmi/server/RMIDefaultSocketFactory.java
12009 gnu/java/rmi/server/RMIHashes.java
12010 gnu/java/rmi/server/RMIObjectInputStream.java
12011 gnu/java/rmi/server/RMIObjectOutputStream.java
12012 gnu/java/rmi/server/UnicastConnection.java
12013 gnu/java/rmi/server/UnicastConnectionManager.java
12014 gnu/java/rmi/server/UnicastRef.java
12015 gnu/java/rmi/server/UnicastRemoteCall.java
12016 gnu/java/rmi/server/UnicastRemoteStub.java
12017 gnu/java/rmi/server/UnicastServer.java
12018 gnu/java/rmi/server/UnicastServerRef.java
12019 gnu/java/security/provider/DefaultPolicy.java
12020 gnu/java/security/provider/Gnu.java
12021 gnu/java/security/provider/SHA.java
12022 gnu/java/security/provider/SHA1PRNG.java
12023 gnu/java/text/BaseBreakIterator.java
12024 gnu/java/text/CharacterBreakIterator.java
12025 gnu/java/text/LineBreakIterator.java
12026 gnu/java/text/SentenceBreakIterator.java
12027 gnu/java/text/WordBreakIterator.java
12028 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
12029 java/applet/AppletContext.java java/applet/AppletStub.java
12030 java/applet/AudioClip.java java/awt/AWTError.java
12031 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
12032 java/awt/AWTException.java java/awt/AWTPermission.java
12033 java/awt/ActiveEvent.java java/awt/BorderLayout.java
12034 java/awt/Button.java java/awt/Canvas.java
12035 java/awt/CardLayout.java java/awt/Checkbox.java
12036 java/awt/CheckboxGroup.java java/awt/Component.java
12037 java/awt/ComponentOrientation.java java/awt/Container.java
12038 java/awt/Dimension.java java/awt/Event.java
12039 java/awt/EventDispatchThread.java java/awt/EventQueue.java
12040 java/awt/FlowLayout.java java/awt/Frame.java
12041 java/awt/Graphics.java java/awt/Graphics2D.java
12042 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
12043 java/awt/IllegalComponentStateException.java
12044 java/awt/ItemSelectable.java java/awt/Label.java
12045 java/awt/LayoutManager.java java/awt/LayoutManager2.java
12046 java/awt/MenuComponent.java java/awt/MenuItem.java
12047 java/awt/Paint.java java/awt/Point.java
12048 java/awt/Rectangle.java java/awt/RenderingHints.java
12049 java/awt/Transparency.java java/awt/Window.java
12050 java/awt/color/ColorSpace.java
12051 java/awt/color/ICC_ColorSpace.java
12052 java/awt/color/ICC_Profile.java
12053 java/awt/event/HierarchyBoundsAdapter.java
12054 java/awt/event/HierarchyBoundsListener.java
12055 java/awt/event/HierarchyEvent.java
12056 java/awt/event/HierarchyListener.java
12057 java/awt/geom/AffineTransform.java
12058 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12059 java/awt/geom/IllegalPathStateException.java
12060 java/awt/geom/Line2D.java
12061 java/awt/geom/NoninvertibleTransformException.java
12062 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12063 java/awt/geom/Rectangle2D.java
12064 java/awt/geom/RectangularShape.java
12065 java/awt/geom/RoundRectangle2D.java
12066 java/awt/image/BufferedImage.java
12067 java/awt/image/ColorModel.java
12068 java/awt/image/ComponentColorModel.java
12069 java/awt/image/ComponentSampleModel.java
12070 java/awt/image/DataBuffer.java
12071 java/awt/image/DataBufferByte.java
12072 java/awt/image/DataBufferInt.java
12073 java/awt/image/DataBufferUShort.java
12074 java/awt/image/DirectColorModel.java
12075 java/awt/image/PackedColorModel.java
12076 java/awt/image/Raster.java java/awt/image/RasterOp.java
12077 java/awt/image/SampleModel.java
12078 java/awt/image/SinglePixelPackedSampleModel.java
12079 java/awt/image/WritableRaster.java
12080 java/beans/AppletInitializer.java
12081 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12082 java/beans/Beans.java java/beans/Customizer.java
12083 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12084 java/beans/FeatureDescriptor.java
12085 java/beans/IndexedPropertyDescriptor.java
12086 java/beans/IntrospectionException.java
12087 java/beans/Introspector.java java/beans/MethodDescriptor.java
12088 java/beans/ParameterDescriptor.java
12089 java/beans/PropertyChangeEvent.java
12090 java/beans/PropertyChangeListener.java
12091 java/beans/PropertyChangeSupport.java
12092 java/beans/PropertyDescriptor.java
12093 java/beans/PropertyEditor.java
12094 java/beans/PropertyEditorManager.java
12095 java/beans/PropertyEditorSupport.java
12096 java/beans/PropertyVetoException.java
12097 java/beans/SimpleBeanInfo.java
12098 java/beans/VetoableChangeListener.java
12099 java/beans/VetoableChangeSupport.java
12100 java/beans/Visibility.java
12101 java/beans/beancontext/BeanContext.java
12102 java/beans/beancontext/BeanContextChild.java
12103 java/beans/beancontext/BeanContextChildComponentProxy.java
12104 java/beans/beancontext/BeanContextChildSupport.java
12105 java/beans/beancontext/BeanContextContainerProxy.java
12106 java/beans/beancontext/BeanContextEvent.java
12107 java/beans/beancontext/BeanContextMembershipEvent.java
12108 java/beans/beancontext/BeanContextMembershipListener.java
12109 java/beans/beancontext/BeanContextProxy.java
12110 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12111 java/beans/beancontext/BeanContextServiceProvider.java
12112 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12113 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12114 java/beans/beancontext/BeanContextServiceRevokedListener.java
12115 java/beans/beancontext/BeanContextServices.java
12116 java/beans/beancontext/BeanContextServicesListener.java
12117 java/io/BufferedInputStream.java
12118 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12119 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12120 java/io/ByteArrayOutputStream.java
12121 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12122 java/io/CharConversionException.java java/io/DataInput.java
12123 java/io/DataInputStream.java java/io/DataOutput.java
12124 java/io/EOFException.java java/io/Externalizable.java
12125 java/io/FileFilter.java java/io/FileNotFoundException.java
12126 java/io/FilePermission.java java/io/FileReader.java
12127 java/io/FileWriter.java java/io/FilenameFilter.java
12128 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12129 java/io/FilterReader.java java/io/FilterWriter.java
12130 java/io/IOException.java java/io/InputStream.java
12131 java/io/InterruptedIOException.java
12132 java/io/InvalidClassException.java
12133 java/io/InvalidObjectException.java
12134 java/io/NotActiveException.java
12135 java/io/NotSerializableException.java java/io/ObjectInput.java
12136 java/io/ObjectInputStream.java
12137 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12138 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12139 java/io/ObjectStreamConstants.java
12140 java/io/ObjectStreamException.java
12141 java/io/ObjectStreamField.java
12142 java/io/OptionalDataException.java java/io/OutputStream.java
12143 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12144 java/io/PipedReader.java java/io/PipedWriter.java
12145 java/io/PrintWriter.java java/io/PushbackInputStream.java
12146 java/io/PushbackReader.java java/io/Reader.java
12147 java/io/SequenceInputStream.java java/io/Serializable.java
12148 java/io/SerializablePermission.java
12149 java/io/StreamCorruptedException.java
12150 java/io/StreamTokenizer.java
12151 java/io/StringBufferInputStream.java java/io/StringReader.java
12152 java/io/StringWriter.java java/io/SyncFailedException.java
12153 java/io/UTFDataFormatException.java
12154 java/io/UnsupportedEncodingException.java
12155 java/io/WriteAbortedException.java java/io/Writer.java
12156 java/lang/AbstractMethodError.java
12157 java/lang/ArithmeticException.java
12158 java/lang/ArrayIndexOutOfBoundsException.java
12159 java/lang/ArrayStoreException.java java/lang/Boolean.java
12160 java/lang/Byte.java java/lang/CharSequence.java
12161 java/lang/ClassCastException.java
12162 java/lang/ClassCircularityError.java
12163 java/lang/ClassFormatError.java
12164 java/lang/ClassNotFoundException.java
12165 java/lang/CloneNotSupportedException.java
12166 java/lang/Cloneable.java java/lang/Comparable.java
12167 java/lang/Compiler.java java/lang/Double.java
12168 java/lang/Error.java java/lang/Exception.java
12169 java/lang/ExceptionInInitializerError.java
12170 java/lang/Float.java java/lang/IllegalAccessError.java
12171 java/lang/IllegalAccessException.java
12172 java/lang/IllegalArgumentException.java
12173 java/lang/IllegalMonitorStateException.java
12174 java/lang/IllegalStateException.java
12175 java/lang/IllegalThreadStateException.java
12176 java/lang/IncompatibleClassChangeError.java
12177 java/lang/IndexOutOfBoundsException.java
12178 java/lang/InheritableThreadLocal.java
12179 java/lang/InstantiationError.java
12180 java/lang/InstantiationException.java java/lang/Integer.java
12181 java/lang/InternalError.java
12182 java/lang/InterruptedException.java
12183 java/lang/LinkageError.java java/lang/Long.java
12184 java/lang/NegativeArraySizeException.java
12185 java/lang/NoClassDefFoundError.java
12186 java/lang/NoSuchFieldError.java
12187 java/lang/NoSuchFieldException.java
12188 java/lang/NoSuchMethodError.java
12189 java/lang/NoSuchMethodException.java
12190 java/lang/NullPointerException.java java/lang/Number.java
12191 java/lang/NumberFormatException.java
12192 java/lang/OutOfMemoryError.java java/lang/Package.java
12193 java/lang/Process.java java/lang/Runnable.java
12194 java/lang/RuntimeException.java
12195 java/lang/RuntimePermission.java
12196 java/lang/SecurityException.java
12197 java/lang/SecurityManager.java java/lang/Short.java
12198 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12199 java/lang/StringIndexOutOfBoundsException.java
12200 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12201 java/lang/ThreadLocal.java java/lang/UnknownError.java
12202 java/lang/UnsatisfiedLinkError.java
12203 java/lang/UnsupportedClassVersionError.java
12204 java/lang/UnsupportedOperationException.java
12205 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12206 java/lang/Void.java java/lang/ref/PhantomReference.java
12207 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12208 java/lang/ref/SoftReference.java
12209 java/lang/ref/WeakReference.java
12210 java/lang/reflect/AccessibleObject.java
12211 java/lang/reflect/InvocationTargetException.java
12212 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12213 java/lang/reflect/ReflectPermission.java
12214 java/math/BigDecimal.java java/math/BigInteger.java
12215 java/net/Authenticator.java java/net/BindException.java
12216 java/net/ConnectException.java java/net/ContentHandler.java
12217 java/net/ContentHandlerFactory.java
12218 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12219 java/net/FileNameMap.java java/net/MalformedURLException.java
12220 java/net/MulticastSocket.java java/net/NetPermission.java
12221 java/net/NoRouteToHostException.java
12222 java/net/PasswordAuthentication.java
12223 java/net/ProtocolException.java java/net/ServerSocket.java
12224 java/net/Socket.java java/net/SocketException.java
12225 java/net/SocketImpl.java java/net/SocketImplFactory.java
12226 java/net/SocketOptions.java java/net/SocketPermission.java
12227 java/net/URLDecoder.java java/net/URLEncoder.java
12228 java/net/URLStreamHandlerFactory.java
12229 java/net/UnknownHostException.java
12230 java/net/UnknownServiceException.java
12231 java/rmi/AccessException.java
12232 java/rmi/AlreadyBoundException.java
12233 java/rmi/ConnectException.java
12234 java/rmi/ConnectIOException.java
12235 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12236 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12237 java/rmi/NotBoundException.java
12238 java/rmi/RMISecurityException.java
12239 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12240 java/rmi/RemoteException.java java/rmi/ServerError.java
12241 java/rmi/ServerException.java
12242 java/rmi/ServerRuntimeException.java
12243 java/rmi/StubNotFoundException.java
12244 java/rmi/UnexpectedException.java
12245 java/rmi/UnknownHostException.java
12246 java/rmi/UnmarshalException.java
12247 java/rmi/activation/Activatable.java
12248 java/rmi/activation/ActivateFailedException.java
12249 java/rmi/activation/ActivationDesc.java
12250 java/rmi/activation/ActivationException.java
12251 java/rmi/activation/ActivationGroup.java
12252 java/rmi/activation/ActivationGroupDesc.java
12253 java/rmi/activation/ActivationGroupID.java
12254 java/rmi/activation/ActivationID.java
12255 java/rmi/activation/ActivationInstantiator.java
12256 java/rmi/activation/ActivationMonitor.java
12257 java/rmi/activation/ActivationSystem.java
12258 java/rmi/activation/Activator.java
12259 java/rmi/activation/UnknownGroupException.java
12260 java/rmi/activation/UnknownObjectException.java
12261 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12262 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12263 java/rmi/registry/Registry.java
12264 java/rmi/registry/RegistryHandler.java
12265 java/rmi/server/ExportException.java
12266 java/rmi/server/LoaderHandler.java
12267 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12268 java/rmi/server/Operation.java
12269 java/rmi/server/RMIClassLoader.java
12270 java/rmi/server/RMIClientSocketFactory.java
12271 java/rmi/server/RMIFailureHandler.java
12272 java/rmi/server/RMIServerSocketFactory.java
12273 java/rmi/server/RMISocketFactory.java
12274 java/rmi/server/RemoteCall.java
12275 java/rmi/server/RemoteObject.java
12276 java/rmi/server/RemoteRef.java
12277 java/rmi/server/RemoteServer.java
12278 java/rmi/server/RemoteStub.java
12279 java/rmi/server/ServerCloneException.java
12280 java/rmi/server/ServerNotActiveException.java
12281 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12282 java/rmi/server/SkeletonMismatchException.java
12283 java/rmi/server/SkeletonNotFoundException.java
12284 java/rmi/server/SocketSecurityException.java
12285 java/rmi/server/UID.java
12286 java/rmi/server/UnicastRemoteObject.java
12287 java/rmi/server/Unreferenced.java
12288 java/security/AccessControlContext.java
12289 java/security/AccessControlException.java
12290 java/security/AccessController.java
12291 java/security/AlgorithmParameterGenerator.java
12292 java/security/AlgorithmParameterGeneratorSpi.java
12293 java/security/AlgorithmParameters.java
12294 java/security/AlgorithmParametersSpi.java
12295 java/security/AllPermission.java
12296 java/security/BasicPermission.java
12297 java/security/Certificate.java java/security/CodeSource.java
12298 java/security/DigestException.java
12299 java/security/DigestInputStream.java
12300 java/security/DigestOutputStream.java
12301 java/security/DomainCombiner.java
12302 java/security/DummyKeyPairGenerator.java
12303 java/security/DummyMessageDigest.java
12304 java/security/DummySignature.java
12305 java/security/GeneralSecurityException.java
12306 java/security/Guard.java java/security/GuardedObject.java
12307 java/security/Identity.java java/security/IdentityScope.java
12308 java/security/InvalidAlgorithmParameterException.java
12309 java/security/InvalidKeyException.java
12310 java/security/InvalidParameterException.java
12311 java/security/Key.java java/security/KeyException.java
12312 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12313 java/security/KeyManagementException.java
12314 java/security/KeyPair.java java/security/KeyPairGenerator.java
12315 java/security/KeyPairGeneratorSpi.java
12316 java/security/KeyStore.java
12317 java/security/KeyStoreException.java
12318 java/security/KeyStoreSpi.java
12319 java/security/MessageDigest.java
12320 java/security/MessageDigestSpi.java
12321 java/security/NoSuchAlgorithmException.java
12322 java/security/NoSuchProviderException.java
12323 java/security/Permission.java
12324 java/security/PermissionCollection.java
12325 java/security/Permissions.java java/security/Policy.java
12326 java/security/Principal.java java/security/PrivateKey.java
12327 java/security/PrivilegedAction.java
12328 java/security/PrivilegedActionException.java
12329 java/security/PrivilegedExceptionAction.java
12330 java/security/ProtectionDomain.java
12331 java/security/Provider.java
12332 java/security/ProviderException.java
12333 java/security/PublicKey.java
12334 java/security/SecureClassLoader.java
12335 java/security/SecureRandom.java
12336 java/security/SecureRandomSpi.java java/security/Security.java
12337 java/security/SecurityPermission.java
12338 java/security/Signature.java
12339 java/security/SignatureException.java
12340 java/security/SignatureSpi.java
12341 java/security/SignedObject.java java/security/Signer.java
12342 java/security/UnrecoverableKeyException.java
12343 java/security/UnresolvedPermission.java
12344 java/security/acl/Acl.java java/security/acl/AclEntry.java
12345 java/security/acl/AclNotFoundException.java
12346 java/security/acl/Group.java
12347 java/security/acl/LastOwnerException.java
12348 java/security/acl/NotOwnerException.java
12349 java/security/acl/Owner.java java/security/acl/Permission.java
12350 java/security/cert/CRL.java
12351 java/security/cert/CRLException.java
12352 java/security/cert/Certificate.java
12353 java/security/cert/CertificateEncodingException.java
12354 java/security/cert/CertificateException.java
12355 java/security/cert/CertificateExpiredException.java
12356 java/security/cert/CertificateFactory.java
12357 java/security/cert/CertificateFactorySpi.java
12358 java/security/cert/CertificateNotYetValidException.java
12359 java/security/cert/CertificateParsingException.java
12360 java/security/cert/X509CRL.java
12361 java/security/cert/X509CRLEntry.java
12362 java/security/cert/X509Certificate.java
12363 java/security/cert/X509Extension.java
12364 java/security/interfaces/DSAKey.java
12365 java/security/interfaces/DSAKeyPairGenerator.java
12366 java/security/interfaces/DSAParams.java
12367 java/security/interfaces/DSAPrivateKey.java
12368 java/security/interfaces/DSAPublicKey.java
12369 java/security/interfaces/RSAKey.java
12370 java/security/interfaces/RSAPrivateCrtKey.java
12371 java/security/interfaces/RSAPrivateKey.java
12372 java/security/interfaces/RSAPublicKey.java
12373 java/security/spec/AlgorithmParameterSpec.java
12374 java/security/spec/DSAParameterSpec.java
12375 java/security/spec/DSAPrivateKeySpec.java
12376 java/security/spec/DSAPublicKeySpec.java
12377 java/security/spec/EncodedKeySpec.java
12378 java/security/spec/InvalidKeySpecException.java
12379 java/security/spec/InvalidParameterSpecException.java
12380 java/security/spec/KeySpec.java
12381 java/security/spec/PKCS8EncodedKeySpec.java
12382 java/security/spec/RSAKeyGenParameterSpec.java
12383 java/security/spec/RSAPrivateCrtKeySpec.java
12384 java/security/spec/RSAPrivateKeySpec.java
12385 java/security/spec/RSAPublicKeySpec.java
12386 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12387 java/sql/BatchUpdateException.java java/sql/Blob.java
12388 java/sql/CallableStatement.java java/sql/Clob.java
12389 java/sql/Connection.java java/sql/DataTruncation.java
12390 java/sql/DatabaseMetaData.java java/sql/Date.java
12391 java/sql/Driver.java java/sql/DriverManager.java
12392 java/sql/DriverPropertyInfo.java
12393 java/sql/PreparedStatement.java java/sql/Ref.java
12394 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12395 java/sql/SQLData.java java/sql/SQLException.java
12396 java/sql/SQLInput.java java/sql/SQLOutput.java
12397 java/sql/SQLWarning.java java/sql/Statement.java
12398 java/sql/Struct.java java/sql/Time.java
12399 java/sql/Timestamp.java java/sql/Types.java
12400 java/text/Annotation.java
12401 java/text/AttributedCharacterIterator.java
12402 java/text/AttributedString.java
12403 java/text/AttributedStringIterator.java
12404 java/text/BreakIterator.java java/text/CharacterIterator.java
12405 java/text/ChoiceFormat.java java/text/Collator.java
12406 java/text/DateFormat.java java/text/DateFormatSymbols.java
12407 java/text/DecimalFormat.java
12408 java/text/DecimalFormatSymbols.java
12409 java/text/FieldPosition.java java/text/Format.java
12410 java/text/MessageFormat.java java/text/NumberFormat.java
12411 java/text/ParseException.java java/text/ParsePosition.java
12412 java/text/SimpleDateFormat.java
12413 java/text/StringCharacterIterator.java
12414 java/util/AbstractCollection.java java/util/AbstractList.java
12415 java/util/AbstractMap.java
12416 java/util/AbstractSequentialList.java
12417 java/util/AbstractSet.java java/util/ArrayList.java
12418 java/util/Arrays.java java/util/BasicMapEntry.java
12419 java/util/BitSet.java java/util/Calendar.java
12420 java/util/Collection.java java/util/Collections.java
12421 java/util/Comparator.java
12422 java/util/ConcurrentModificationException.java
12423 java/util/Date.java java/util/Dictionary.java
12424 java/util/EmptyStackException.java java/util/Enumeration.java
12425 java/util/EventListener.java java/util/EventObject.java
12426 java/util/GregorianCalendar.java java/util/HashMap.java
12427 java/util/HashSet.java java/util/Hashtable.java
12428 java/util/IdentityHashMap.java java/util/Iterator.java
12429 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12430 java/util/LinkedList.java java/util/List.java
12431 java/util/ListIterator.java java/util/ListResourceBundle.java
12432 java/util/Locale.java java/util/Map.java
12433 java/util/MissingResourceException.java
12434 java/util/NoSuchElementException.java
12435 java/util/Observable.java java/util/Observer.java
12436 java/util/Properties.java java/util/PropertyPermission.java
12437 java/util/PropertyResourceBundle.java java/util/Random.java
12438 java/util/RandomAccess.java java/util/ResourceBundle.java
12439 java/util/Set.java java/util/SimpleTimeZone.java
12440 java/util/SortedMap.java java/util/SortedSet.java
12441 java/util/Stack.java java/util/StringTokenizer.java
12442 java/util/TimeZone.java java/util/Timer.java
12443 java/util/TimerTask.java
12444 java/util/TooManyListenersException.java
12445 java/util/TreeMap.java java/util/TreeSet.java
12446 java/util/Vector.java java/util/WeakHashMap.java
12447 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12448 java/util/jar/JarException.java java/util/jar/JarFile.java
12449 java/util/jar/JarInputStream.java
12450 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12451 java/util/zip/Adler32.java java/util/zip/CRC32.java
12452 java/util/zip/CheckedInputStream.java
12453 java/util/zip/CheckedOutputStream.java
12454 java/util/zip/Checksum.java
12455 java/util/zip/DataFormatException.java
12456 java/util/zip/Deflater.java
12457 java/util/zip/DeflaterOutputStream.java
12458 java/util/zip/GZIPInputStream.java
12459 java/util/zip/GZIPOutputStream.java
12460 java/util/zip/Inflater.java
12461 java/util/zip/InflaterInputStream.java
12462 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12463 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12464 java/util/zip/ZipInputStream.java
12465 java/util/zip/ZipOutputStream.java
12466 javax/naming/BinaryRefAddr.java
12467 javax/naming/InvalidNameException.java javax/naming/Name.java
12468 javax/naming/NamingException.java javax/naming/RefAddr.java
12469 javax/naming/StringRefAddr.java: Add license clarification.
12470
12471 2002-01-22 Tom Tromey <tromey@redhat.com>
12472
12473 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12474 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12475 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12476 version.
12477 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12478 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12479 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12480 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12481 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12482 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12483 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12484 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12485 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12486 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12487 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12488 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12489 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12490 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12491 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12492 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12493 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12494 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12495 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12496 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12497 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12498 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12499 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12500 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12501 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12502 (minimumSize, preferredSize, reshape): Likewise.
12503 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12504 getColorModel): New methods.
12505 * java/awt/PopupMenu.java: Merged with Classpath.
12506 * java/awt/MenuBar.java: Merged with Classpath.
12507 * java/awt/SystemColor.java: Replace with Classpath version.
12508 * java/awt/Panel.java: Merged with Classpath.
12509 * java/awt/PaintContext.java: Updated copyright.
12510 * java/awt/MenuShortcut.java: Merged with Classpath.
12511 * java/awt/MenuContainer.java: Merged with Classpath.
12512 * java/awt/Menu.java: Merged with Classpath.
12513 * java/awt/MediaEntry.java: New file from Classpath.
12514 * java/awt/MediaTracker.java: New file from Classpath.
12515 * java/awt/List.java: Merged with Classpath version.
12516 * java/awt/Insets.java: Merged with Classpath version.
12517 * java/awt/ImageMediaEntry.java: New file from Classpath.
12518 * java/awt/Image.java: Replaced with Classpath version.
12519 * java/awt/FontMetrics.java: Merged with Classpath version.
12520 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12521 constant.
12522 * java/awt/Font.java: Merged with Classpath version.
12523 * java/awt/Dialog.java: Merged with Classpath version.
12524 * java/awt/Color.java: Merged with Classpath version.
12525 * java/awt/Choice.java: Merged with Classpath version.
12526 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12527 * java/awt/Adjustable.java: Replace with Classpath version.
12528 * java/awt/MenuItem.java (paramString): Don't include class name
12529 or brackets. Call superclass paramString.
12530 * java/awt/MenuComponent.java (toString): Call paramString.
12531 (paramString): Compute string; don't call toString.
12532 * java/awt/Label.java (paramString): Don't include class name
12533 or brackets. Call superclass paramString.
12534 * java/awt/Checkbox.java (paramString): Don't include class name
12535 or brackets. Call superclass paramString.
12536 * java/awt/Button.java (paramString): Don't include class name or
12537 brackets. Call superclass paramString.
12538 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12539
12540 2002-01-20 Andreas Schwab <schwab@suse.de>
12541
12542 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12543 function and of parameter recv_func to ssize_t, as specified by
12544 POSIX.
12545
12546 2002-01-19 Per Bothner <per@bothner.com>
12547
12548 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12549 uncompressed_size in readiness for next entry.
12550
12551 2002-01-18 Tom Tromey <tromey@redhat.com>
12552
12553 * java/net/natPlainSocketImpl.cc: Include
12554 IllegalArgumentException.h.
12555 (_Jv_recv): New template function.
12556 (BooleanClass): Removed.
12557 (read): Use _Jv_recv.
12558 (setOption): Use Boolean::class$. Throw exception if object is
12559 not Boolean or Integer.
12560
12561 2002-01-17 Tom Tromey <tromey@redhat.com>
12562
12563 * java/awt/MenuComponent.java: Merged with Classpath.
12564 * java/awt/MenuItem.java: Merged with Classpath.
12565 * java/awt/Button.java: Merged with Classpath.
12566
12567 * java/awt/ActiveEvent.java: Updated copyright.
12568
12569 * java/awt/AWTError.java: Replaced with Classpath version.
12570 * java/awt/AWTException.java: Replaced with Classpath version.
12571 * java/awt/IllegalComponentStateException.java: Replaced with
12572 Classpath version.
12573
12574 2002-01-16 Tom Tromey <tromey@redhat.com>
12575
12576 * java/awt/Canvas.java (serialVersionUID): New constant.
12577 Updated copyright. Added javadoc from Classpath.
12578 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12579
12580 * java/awt/CheckboxGroup.java: Merged with Classpath.
12581 * java/awt/Checkbox.java: Merged with Classpath.
12582
12583 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12584 Classpath.
12585 * java/awt/Point.java: Updated copyright.
12586
12587 * java/awt/Point.java (toString): Use getClass().getName().
12588 Added javadoc.
12589
12590 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12591 commented code.
12592 (hash): Correctly compute initial value for `h'.
12593
12594 * java/awt/Label.java: Merged with Classpath.
12595
12596 2002-01-15 Tom Tromey <tromey@redhat.com>
12597
12598 * java/awt/AWTPermission.java: Updated copyright.
12599
12600 * java/awt/LayoutManager2.java: Merged with Classpath.
12601 * java/awt/LayoutManager.java: Merged with Classpath.
12602 * java/awt/GridLayout.java: Updated copyright and javadoc.
12603 (getSize): Use `parent.ncomponents'. Handle insets.
12604 (layoutContainer): Use `parent.ncomponents'. Handle case where
12605 there are fewer children than columns. Correctly compute size of
12606 each cell in the grid. Handle case where there isn't enough
12607 space.
12608 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12609 all users.
12610 (gotoComponent): Use parent.ncomponents. Ensure child exists
12611 before calling setVisible() on it. Last item is `num - 1', not
12612 `num'.
12613 (layoutContainer): Hoist invariants out of loop.
12614
12615 Start of AWT merge with Classpath:
12616 * Makefile.in: Rebuilt.
12617 * Makefile.am (awt_java_source_files): Reference files in
12618 gnu/java/awt, not gnu/gcj/awt.
12619 * java/awt/image/BufferedImage.java: Updated copyright.
12620 * java/awt/image/ComponentColorModel.java: Updated copyright.
12621 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12622 * java/awt/image/DataBuffer.java: Updated copyright.
12623 * java/awt/image/DataBufferByte.java: Updated copyright.
12624 * java/awt/image/DataBufferInt.java: Updated copyright.
12625 * java/awt/image/DataBufferUShort.java: Updated copyright.
12626 * java/awt/image/IndexColorModel.java: Updated copyright.
12627 * java/awt/image/PackedColorModel.java: Updated copyright.
12628 * java/awt/image/Raster.java: Updated copyright.
12629 * java/awt/image/RasterOp.java: Updated copyright.
12630 * java/awt/image/SampleModel.java: Updated copyright.
12631 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12632 * java/awt/image/WritableRaster.java: Updated copyright.
12633 * java/awt/color/ColorSpace.java: Updated copyright.
12634 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12635 * java/awt/color/ICC_Profile.java: Updated copyright.
12636 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12637 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12638 * java/awt/event/HierarchyEvent.java: Updated copyright.
12639 * java/awt/event/HierarchyListener.java: Updated copyright.
12640 * java/awt/geom/AffineTransform.java: Updated copyright.
12641 * java/awt/geom/Dimension2D.java: Updated copyright.
12642 * java/awt/geom/Ellipse2D.java: Updated copyright.
12643 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12644 * java/awt/geom/Line2D.java: Updated copyright.
12645 * java/awt/geom/NoninvertibleTransformException.java: Updated
12646 copyright.
12647 * java/awt/geom/PathIterator.java: Updated copyright.
12648 * java/awt/geom/Point2D.java: Updated copyright.
12649 * java/awt/geom/Rectangle2D.java: Updated copyright.
12650 * java/awt/geom/RectangularShape.java: Updated copyright.
12651 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12652 * java/awt/Toolkit.java: Updated import for file moves.
12653 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12654 Classpath.
12655 (hashCode): New method from Classpath.
12656 * java/awt/Graphics2D.java: Updated copyright.
12657 * java/awt/Transparency.java: Updated copyright.
12658 * java/awt/Paint.java: Updated copyright.
12659 * java/awt/Graphics.java: New version from Classpath.
12660 * java/awt/EventDispatchThread.java: Updated copyright.
12661 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12662 children.
12663 (gotoComponent): Wrap around on next/previous.
12664 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12665 * gnu/gcj/awt/Buffers.java: Removed.
12666 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12667 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12668 * gnu/java/awt/BitMaskExtent.java: Added.
12669 * gnu/java/awt/Buffers.java: Added.
12670 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12671 * gnu/java/awt/GLightweightPeer.java: Added.
12672 * java/awt/geom/Line2D.java (clone): Ignore
12673 CloneNotSupportedException.
12674 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12675 * java/awt/Frame.java: Merged with Classpath.
12676 * java/awt/RenderingHints.java: Copyright update.
12677 * java/awt/Paint.java: Copyright update.
12678 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12679 * java/awt/image/ColorModel.java: Merged with Classpath.
12680 * java/awt/Window.java (show): New Implementation from Classpath.
12681 (isShowing): Use super.isShowing().
12682 * java/awt/EventQueue.java: Merged with Classpath.
12683 * java/awt/AWTEventMulticaster.java (save): Throw
12684 RuntimeException.
12685 (saveInternal): Likewise.
12686 * java/awt/AWTEvent.java: Now implements Serializable.
12687 * java/awt/Event.java: Copyright update.
12688 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12689 * java/awt/image/BufferedImage.java: Copyright update.
12690 * java/awt/GraphicsConfiguration.java: Copyright update.
12691 * java/awt/Component.java: (addNotify): Don't call
12692 addNotifyContainerChildren().
12693 (addNotifyContainerChildren): Removed.
12694 (setPeer): New method from Classpath.
12695 (setTreeLock): Likewise.
12696 (setVisible): Rewrote.
12697 (show): Use it.
12698 (hide): Likewise.
12699 (validate): Set `valid'.
12700 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12701 (createImage(ImageProducer)): Likewise.
12702 (prepareImage): Likewise.
12703 * java/awt/Container.java (addImpl): Handle case where constraint
12704 is not a String. Post event via system event queue.
12705 (remove): Post event via system event queue.
12706 (validateTree): Only validate child if it is invalid.
12707 (getAlignmentX): Call super method as default.
12708 (getAlignmentY): Likewise.
12709 (addContainerListener): Now synchronized.
12710 (removeContainerListener): Likewise.
12711 (addNotifyContainerChildren): Now private.
12712 * java/awt/ComponentOrientation.java: Updated copyright. Added
12713 @author.
12714 * java/awt/FlowLayout.java (serialVersionUID): New field.
12715 (setAlignment): Better exception message.
12716 (layoutContainer): Don't compute component's preferred size unless
12717 we're going to use it.
12718 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12719 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12720 (firstLine, lastLine, firstItem, lastItem): New fields.
12721 (addLayoutComponent): Handle case where constraints is null.
12722 Also, handle relative locations.
12723 (removeLayoutComponent): Handle relative locations.
12724 (MIN, MAX, PREF): New constants.
12725 (calcCompSize): New method.
12726 (calcSize): New method.
12727 (minimumLayoutSize): Use it.
12728 (preferredLayoutSize): Likewise.
12729 (maximumLayoutSize): Likewise.
12730 (toString): Include more information.
12731 (setBounds): New method.
12732 (layoutContainer): Use libgcj implementation; extended to handle
12733 relative locations.
12734
12735 2002-01-15 Tom Tromey <tromey@redhat.com>
12736
12737 * java/lang/Float.java (equals): Preserve old code.
12738 * java/lang/Double.java (equals): Preserve old code.
12739
12740 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12741
12742 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12743 * java/lang/Float.java (equals, compare): Ditto.
12744
12745 2002-01-13 Mark Wielaard <mark@klomp.org>
12746
12747 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12748 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12749 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12750 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12751
12752 2002-01-11 Mark Wielaard <mark@klomp.org>
12753
12754 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12755 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12756 InetAddress.
12757 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12758 * java/net/Socket.java: Merge with Classpath.
12759 * java/net/ServerSocket.java: Likewise.
12760
12761 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12762
12763 * interpret.cc (NULLARRAYCHECK): New macro.
12764 (SAVE_PC): Just store `pc'.
12765 (find_exception): Subtract one from `pc' here.
12766 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12767 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12768 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12769 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12770 don't call SAVE_PC.
12771 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12772 call SAVE_PC.
12773
12774 2002-01-11 Tom Tromey <tromey@redhat.com>
12775
12776 * java/lang/natSystem.cc (init_properties): Only look for default
12777 locale if LC_MESSAGES is defined.
12778 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12779 * configure.in: Call AM_LC_MESSAGES.
12780 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12781
12782 2002-01-10 Tom Tromey <tromey@redhat.com>
12783
12784 For PR libgcj/5303:
12785 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12786 --version. Recognize GNU-style long options. Print GNU-style
12787 error messages.
12788 (usage): Print GNU-style help. Exit with status 0.
12789 (error): New method.
12790 (run): Print error message if no class names found.
12791 (main): Don't print usage on error.
12792
12793 2002-01-09 Tom Tromey <tromey@redhat.com>
12794
12795 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12796 property.
12797 (help, version): Use println(), not println("").
12798
12799 For PR libgcj/5303:
12800 * gnu/gcj/convert/Convert.java (error): Program is called
12801 `jv-convert'. Print GNU-style message. Exit with status 1, not
12802 -1.
12803 (main): Handle --help and --version.
12804 (help): New method.
12805 (version): Likewise.
12806
12807 2002-01-08 Tom Tromey <tromey@redhat.com>
12808
12809 * Makefile.in: Rebuilt.
12810 * Makefile.am (ordinary_java_source_files): Added new files.
12811 * gnu/java/locale/LocaleInformation.java: Extend
12812 LocaleInformation_en.
12813 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12814 and time/date formats.
12815 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12816 generated.
12817 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12818 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12819 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12820 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12821 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12822 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12823 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12824 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12825 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12826 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12827 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12828 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12829 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12830 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12831 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12832 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12833 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12834 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12835 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12836 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12837 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12838 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12839 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12840 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12841 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12842 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12843 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12844 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12845 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12846 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12847 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12848 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12849 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12850 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12851 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12852 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12853 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12854 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12855 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12856 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12857 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12858 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12859 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12860 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12861 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12862 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12863 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12864 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12865 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12866 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12867 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12868 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12869 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12870 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12871 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12872 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12873 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12874 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12875 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12876 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12877 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12878 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12879 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12880 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12881 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12882 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12883 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12884 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12885 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12886 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12887 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12888 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12889 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12890 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12891 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12892 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12893 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12894 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12895 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12896 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12897 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12898 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12899 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12900 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12901 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12902 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12903 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12904 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12905 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12906 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12907 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12908 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12909 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12910 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12911 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12912 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12913 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12914 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12915 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12916 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12917 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12918 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12919 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12920 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12921 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12922 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12923 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12924 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12925 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12926 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12927 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12928 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12929 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12930 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12931 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12932 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12933 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12934 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12935 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12936 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12937 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12938 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12939 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12940 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12941 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12942 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12943 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12944 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12945 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12946 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12947
12948 For PR libgcj/5031:
12949 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12950 choose default locale.
12951
12952 * Makefile.in: Rebuilt.
12953 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12954
12955 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12956
12957 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12958 sockets.
12959 (close): New function closes the socket.
12960 (write): New functions for output to socket.
12961 (read): New functions for reading from socket.
12962 * java/net/PlainSocketImpl.java: Glue for new timeout
12963 implementation.
12964 (write): Call the native impl.
12965 (read): Likewise.
12966 (getInputStream): Get a stream to read from the socket.
12967 (getOutputStream): Get a stream to write to the socket.
12968
12969 2002-01-08 Tom Tromey <tromey@redhat.com>
12970
12971 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12972
12973 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12974
12975 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12976 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12977
12978 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12979
12980 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12981 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12982 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12983 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12984 insn_bastore, insn_castore, insn_sastore]: Use it.
12985 (continue1) [insn_arraylength]: Check for null array.
12986
12987 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12988
12989 * configure, include/config.h.in: Rebuilt.
12990 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12991 * configure.in: Call AC_STRUCT_TIMEZONE.
12992
12993 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12994
12995 * configure.host: Disable the interpreter for Darwin.
12996
12997 2002-01-04 Tom Tromey <tromey@redhat.com>
12998
12999 * java/lang/Thread.java (stop): No longer synchronized.
13000 (start): Likewise.
13001
13002 2002-01-02 Tom Tromey <tromey@redhat.com>
13003
13004 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
13005 patch.
13006
13007 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
13008
13009 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
13010 PPC Darwin, not for all of Darwin.