2003-08-02 Michael Koch <konqueror@gmx.de>
[gcc.git] / libjava / ChangeLog
1 2003-08-02 Michael Koch <konqueror@gmx.de>
2
3 * gnu/java/lang/ArrayHelper.java
4 (equalsArray): Reformated, added method documentation.
5
6 2003-08-02 Michael Koch <konqueror@gmx.de>
7
8 * java/net/URL.java
9 (URL): Added paragraph about the
10 gnu.java.net.nocache_protocol_handlers property.
11 (ph_cache): Renamed from handlers to match classpath's implementation.
12 Reordered it with factory and serialVersionUID member variables.
13 (cache_handlers): New member variable.
14 (static): New static initializer to initialize cache_handlers from
15 gnu.java.net.nocache_protocol_handlers property.
16 (URL): Use ph_cache instead of handlers, reformatted some code to
17 match classpath's implementation.
18
19 2003-08-01 Tom Tromey <tromey@redhat.com>
20
21 Fix for PR libgcj/11241:
22 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
23 initialCapacity is 0, set it to 1.
24
25 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
26
27 * java/net/SocketImpl.java (toString): Display the remote address
28 of an unconnected server socket as "0.0.0.0/0.0.0.0".
29
30 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
31
32 * javax/swing/border/BevelBorder.java,
33 javax/swing/border/EtchedBorder.java,
34 javax/swing/border/LineBorder.java,
35 javax/swing/border/MatteBorder.java,
36 javax/swing/border/SoftBevelBorder.java,
37 javax/swing/plaf/BorderUIResource.java,
38 javax/swing/plaf/ComponentUI.java,
39 javax/swing/plaf/TreeUI.java,
40 javax/swing/plaf/basic/BasicBorders.java,
41 javax/swing/plaf/basic/BasicGraphicsUtils.java,
42 javax/swing/plaf/basic/BasicTreeUI.java:
43 Prepend "doc-files" to all paths to embedded Javadoc images, so
44 that the generated documentation contains the correct URL.
45
46 2003-08-01 Tom Tromey <tromey@redhat.com>
47
48 * configure: Rebuilt.
49 * configure.in (tool_include_dir): Redefine to match gcc.
50
51 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
52 Mark Wielaard <mark@klomp.org>
53
54 * java/math/BigDecimal (divide): Correctly handle
55 ROUND_HALF_EVEN when amount is greater than 0.5.
56 Simplify and optimize code.
57
58 2003-07-31 Tom Tromey <tromey@redhat.com>
59
60 More for PR libgcj/11737:
61 * java/io/ObjectInputStream.java (processResolution): Use
62 getMethod.
63 (getMethod): Make method accessible.
64 (getField): Make field accessible.
65 (setBooleanField): Don't call setAccessible here.
66 (setByteField, setCharField, setDoubleField, setFloatField,
67 setIntField, setLongField, setShortField, setObjectField):
68 Likewise.
69 (callReadMethod): Don't check whether method is null. Catch
70 NoSuchMethodException.
71 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
72 cause on thrown exceptions.
73
74 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
75
76 Fix for PR libgcj/11728:
77 * java/util/HashMap.java (readObject): Set size.
78
79 2003-07-31 Tom Tromey <tromey@redhat.com>
80
81 Fix for PR libgcj/11737:
82 * java/io/ObjectOutputStream.java (getMethod): Make method
83 accessible.
84 (getField): Likewise.
85 (writeObject): Use getMethod.
86 Import PrivilegedAction and AccessController.
87 (callWriteMethod): Don't check whether m is null. Catch
88 NoSuchMethodException.
89
90 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
91 (containsAngle): Likewise.
92 (getStartPoint): Rewrote.
93 (getEndPoint): Likewise.
94 (setAngleStart(Point2D)): Likewise.
95
96 2003-07-31 Roger Sayle <roger@eyesopen.com>
97 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
98
99 * configure.in: Add new THREADCXXFLAGS variable.
100 Handle POSIX threads on alpha*-dec-osf*.
101 * configure: Regenerate.
102 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
103 * Makefile.in: Regenerate.
104
105 2003-07-08 Andrew Haley <aph@redhat.com>
106
107 * include/i386-signal.h (RESTORE): New.
108 (INIT_SEGV): Set restorer.
109 (INIT_FPE): Likewise.
110
111 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
112
113 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
114 than getXLFD.
115 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
116 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
118 (gtkSetFont): Scale size parameter by PANGO_SCALE.
119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
120 Likewise.
121 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
122 Likewise.
123
124 2003-07-29 Tom Tromey <tromey@redhat.com>
125
126 * defineclass.cc (handleField): Throw exception if field name is
127 duplicated.
128 (handleMethod): Throw exception for duplicate method.
129
130 2003-07-29 Tom Tromey <tromey@redhat.com>
131
132 * gnu/gcj/convert/natIconv.cc (write): Handle case where
133 output buffer is too small.
134
135 2003-07-28 Tom Tromey <tromey@redhat.com>
136
137 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
138 New method.
139 Include gnu/gcj/runtime/StringBuffer.h.
140 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
141 native method.
142 (String(gnu.gcj.runtime.StringBuffer)): Use it.
143
144 2003-07-27 Anthony Green <green@redhat.com>
145
146 * configure.in: Fix newlib check.
147 * configure: Rebuilt.
148
149 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
150
151 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
152 Create vbox and layout for GtkPlug.
153
154 2003-07-27 Michael Koch <konqueror@gmx.de>
155
156 * java/awt/Window.java
157 (Window): Removed now unused constructor. It became oboslete with the
158 new embedded window patch.
159
160 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
161 Michael Koch <konqueror@gmx.de>
162
163 * gnu/java/awt/EmbeddedWindow.java
164 (EmbeddedWindow): Extends Frame instead of Window.
165 (window_id): New member variable to store the native window handle.
166 (create): Removed.
167 (EmbeddedWindow): New constructor.
168 (addNotify): New method.
169 (getHandler): Likewise.
170 (setWindowPeer): New native method.
171 * gnu/java/awt/EmbeddedWindowSupport.java
172 (EmbeddedWindowSupport): Fixed documentation.
173 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
174 WindowPeer, give it an EmbeddedWindow instance instead of the raw
175 window data.
176 * gnu/java/awt/natEmbeddedWindow.cc
177 (create): Removed.
178 (setWindowPeer): New method.
179 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
180 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
181 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
182 New files
183 * gnu/java/awt/peer/gtk/GtkToolkit.java
184 (GtkToolkit): Implements EmbeddedWindowSupport.
185 (createEmbeddedWindow): New method.
186 * java/awt/Window.java
187 (Window): Removed.
188 * Makefile.am
189 (java_source_files): Added EmbeddedWindowPeer.java.
190 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
191 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
192 * Makefile.in: Regenerated.
193
194 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
195
196 * java/lang/Win32Process.java (ConcreteProcess): Surround
197 a command line element with quotes if it contains an
198 embedded space or tab.
199 * java/lang/natWin32Process.cc (startProcess): Do not
200 surround command line elements with quotes here.
201
202 * configure.host: Use -fcheck-references and
203 -fuse-divide-subroutine for MinGW until we fix
204 win32_exception_handler( ) in win32.cc w.r.t. Win32
205 Structured Exception Handling (SEH).
206
207 * win32.cc (_Jv_platform_initProperties): Use generic names
208 like "x86" for the "os.arch" property to be consistent with
209 what Sun's JDK produces. Use the wProcessorArchitecture
210 member of the Win32 SYSTEM_INFO structure, filled in a call
211 to GetSystemInfo( ), instead of dwProcessorType.
212
213 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
214 Ranjit Mathew <rmathew@hotmail.com>
215
216 * Makefile.am: Use cross-compiling gcjh from the path for
217 a crossed-native build.
218 * Makefile.in: Rebuilt.
219 * configure.in: Include libltdl in non-newlib builds.
220 Moved determination of gcj used to build libraries to
221 its own section. Fixed cross-compilation issues for
222 non-newlib builds.
223 * configure: Rebuilt.
224
225 2003-07-25 Tom Tromey <tromey@redhat.com>
226
227 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
228 (write): Likewise.
229 (read): Likewise.
230 (read): Likewise.
231
232 2003-07-25 Mark Wielaard <mark@klomp.org>
233
234 * java/lang/natRuntime.cc (_load): Add library name to
235 UnsatisfiedLinkError when thrown.
236
237 2003-07-25 Mark Wielaard <mark@klomp.org>
238
239 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
240 added.
241 * Makefile.in: Likewise.
242
243 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
244
245 * java/awt/Component.java
246 (getPreferredSize): Call preferredSize.
247 (preferredSize): Moved body of getPreferredSize here.
248 (getMinimumSize): Call minimumSize.
249 (minimumSize): Moved body of getMinimumSize here.
250 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
251 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
252 pass -1
253 * java/awt/Container.java
254 (validate): Don't validate if there is no peer.
255 (update): Clear background before calling paint.
256 * java/awt/GridBagLayout.java
257 Completed the implementation and fixed several bugs.
258 * java/awt/MediaTracker.java
259 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
260 combine flags.
261 * java/awt/Window.java
262 (Window): Don't call setVisible(false). Windows are invisible by
263 default and calling virtual methods from constructor causes
264 compatibility problems (e.g. subclasses may assume that the peer
265 already exists).
266
267 2003-07-25 Michael Koch <konqueror@gmx.de>
268
269 * java/awt/GridBagLayout.java:
270 Totally reworked and partly implemented.
271 * java/awt/GridBagLayoutInfo.java:
272 New file.
273
274 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
275
276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
277 Don't pack label in an event box.
278
279 2003-07-24 Tom Tromey <tromey@redhat.com>
280
281 For PR libgcj/7482:
282 * verify.cc (ref_intersection): New class.
283 (type_val): Removed unresolved_reference_type,
284 uninitialized_unresolved_reference_type.
285 (is_assignable_from_slow): Rewrote.
286 (type::data): Removed.
287 (type::klass): New field.
288 (type::type): Added verifier argument.
289 (type::resolve): Removed.
290 (type::set_uninitialized): Updated for change to type_val.
291 (type::set_initialized): Likewise.
292 (type::isinitialized): Likewise.
293 (type::print): Likewise.
294 (construct_primitive_array_type): Likewise.
295 (type::compatible): Updated for change to type_val and to use
296 ref_intersection.
297 (type::isarray): Updated to use ref_intersection.
298 (type::isinterface): Likewise.
299 (type::element_type): Likewise.
300 (type::to_array): Likewise.
301 (type::verify_dimensions): Rewrote.
302 (type::merge): Likewise.
303 (check_class_constant): Updated for type constructor change.
304 (check_constant): Likewise.
305 (check_field_constant): Likewise.
306 (get_one_type): Likewise.
307 (initialize_stack): Likewise.
308 (verify_instructions_0): Likewise.
309 (verify_instructions_0) [op_invokeinterface]: Removed special
310 case.
311 (isect_list): New field.
312 (_Jv_BytecodeVerifier): Initialize it.
313 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
314
315 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
316
317 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
318 unless field size is 2.
319
320 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
321
322 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
323 (connectHooks): New method.
324 (handleEvent): Remove.
325 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
326 (createHooks): Remove declaration.
327 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
328 (generates_key_typed_event): Change to handle only certain
329 keyvals.
330 (awt_event_handler): Add special handling for GtkTextView.
331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
332 (textcomponent_commit_cb): New function.
333 (textcomponent_changed_cb): Likewise.
334 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
335 (connectHooks): Remove.
336
337 2003-07-23 Tom Tromey <tromey@redhat.com>
338
339 * java/lang/natSystem.cc (arraycopy): Check for overflow.
340
341 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
342
343 2003-07-22 Tom Tromey <tromey@redhat.com>
344
345 * boehm.cc (_Jv_BuildGCDescr): Wrote.
346 Include limits.h.
347
348 2003-07-22 Tom Tromey <tromey@redhat.com>
349
350 * java/awt/Window.java (getWarningString): Just return the
351 string.
352 (Window): Set warningString; check with security manager.
353
354 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
355
356 * gnu/awt/xlib/XGraphicsConfiguration.java
357 (FontMetricsCache): Made static.
358
359 2003-07-22 Tom Tromey <tromey@redhat.com>
360
361 * java/net/URLEncoder.java (encode(String)): Use platform default
362 encoding.
363 (encode(String,String)): Convert to 2-digit upper-case hex
364 number.
365 (hex): New field.
366
367 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
368
369 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
370 (create): Remove unused method implementation.
371 (connectHooks): Remove debug messages.
372
373 2003-07-20 Anthony Green <green@redhat.com>
374
375 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
376 CloneNotSupportedException.
377 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
378 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
379 * gnu/gcj/xlib/GC.java (clone): Ditto.
380 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
381 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
382
383 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
384 handler.
385 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
386
387 2003-07-20 Steve Pribyl <steve@netfuel.com.>
388
389 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
390 String. Put dlerror() message into exception.
391 Include UnsatisfiedLinkError.
392 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
393 String. Now native.
394
395 2003-07-20 Tom Tromey <tromey@redhat.com>
396
397 * java/lang/Runtime.java: Comment fix.
398 * java/lang/ClassLoader.java (isAncestorOf): New method.
399 (getParent): Uncommented security check. Use isAncestorOf.
400 * include/jvm.h (_Jv_CheckAccess): Declare.
401 * java/lang/reflect/natConstructor.cc (newInstance): Perform
402 access check.
403 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
404 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
405 class loader to _Jv_GetArrayClass.
406 Include ArrayIndexOutOfBoundsException.h.
407 * java/lang/reflect/Field.java: Update comment to reflect status.
408 (equals): Fixed indentation.
409 * java/lang/Class.h (Class): Declare memberAccessCheck, not
410 checkMemberAccess. Make _Jv_CheckAccess a friend.
411 * java/lang/Class.java (memberAccessCheck): New method from
412 Classpath.
413 (checkMemberAccess): Removed.
414 (getDeclaredMethod): Use memberAccessCheck.
415 (getField): Likewise.
416 (getMethod): Likewise.
417 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
418 (_Jv_SearchMethodInClass): Likewise.
419 * prims.cc (_Jv_CheckAccess): New function.
420 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
421 (_Jv_JNI_GetAnyFieldID): Likewise.
422 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
423 (getClassLoader): Added security check.
424 (getConstructor): Call memberAccessCheck.
425 (getDeclaredClasses): Likewise.
426 (getDeclaredField): Likewise.
427 (getDeclaredFields): Likewise.
428 (_getConstructors): Likewise.
429 (getDeclaredConstructor): Likewise.
430 (getDeclaredMethods): Likewise.
431 (getFields): Likewise.
432 (getMethods): Likewise.
433 (newInstance): Likewise.
434 (_Jv_MakeVTable): Put method name in exception.
435 * java/lang/reflect/natMethod.cc (getType): Use
436 getClassLoaderInternal.
437 (_Jv_GetTypesFromSignature): Likewise.
438 (invoke): Perform access check.
439 (_Jv_CallAnyMethodA): Removed old FIXME comments.
440 Include ArrayIndexOutOfBoundsException.h.
441 * java/lang/reflect/natField.cc (getType): Use
442 getClassLoaderInternal.
443 (_Jv_CheckFieldAccessibility): Removed.
444 (getAddr): Use _Jv_CheckAccess; find caller.
445 Include ArrayIndexOutOfBoundsException.h.
446
447 2003-07-20 Michael Koch <konqueror@gmx.de>
448
449 * java/net/URL.java
450 (URL): Fixed documentation to name an argument correcty, Reformatted
451 one method declaration.
452 (getURLStreamHandler): Added documentation from classpath.
453
454 2003-07-19 Tom Tromey <tromey@redhat.com>
455
456 * mauve-libgcj: Don't run CollationElementIterator tests.
457
458 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
459
460 * java/net/URLClassLoader.java (addURL): Moved implementation to
461 private addURLImpl() to avoid calling addURL from the constructor.
462 (addURLImpl): Contains the code that was previously in addURL.
463 (addURLs): Call addURLImpl(), not addURL().
464
465 2003-07-18 Graydon Hoare <graydon@redhat.com>
466
467 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
468 Handle missing event cases, connect to "value-changed" signal.
469
470 2003-07-18 Graydon Hoare <graydon@redhat.com>
471
472 * java/awt/geom/CubicCurve2D.java,
473 java/awt/geom/Line2D.java,
474 java/awt/geom/QuadCurve2D.java,
475 java/awt/geom/Rectangle2D.java:
476 Fix path some calculations, make path iterators follow
477 a consistent style.
478
479 2003-07-18 Mark Wielaard <mark@klomp.org>
480
481 * java/util/logging/Handler.java (isLoggable): Check record level
482 smaller or equal.
483
484 2003-07-17 Michael Koch <konqueror@gmx.de>
485
486 * gnu/java/awt/peer/gtk/GtkToolkit.java:
487 Reworked imports.
488
489 2003-07-14 Michael Koch <konqueror@gmx.de>
490
491 * gnu/java/rmi/server/UnicastServerRef.java:
492 New version from classpath.
493
494 2003-07-14 Michael Koch <konqueror@gmx.de>
495
496 * java/awt/image/MemoryImageSource.java,
497 java/beans/PropertyEditorManager.java,
498 javax/naming/CompoundName.java,
499 javax/naming/spi/NamingManager.java,
500 javax/swing/AbstractButton.java,
501 javax/swing/ButtonModel.java,
502 javax/swing/SwingUtilities.java,
503 javax/swing/UIManager.java,
504 javax/swing/colorchooser/DefaultColorSelectionModel.java,
505 javax/swing/event/AncestorEvent.java,
506 javax/swing/event/InternalFrameEvent.java,
507 java/util/zip/ZipFile.java:
508 New versions from classpath.
509
510 2003-07-13 Michael Koch <konqueror@gmx.de>
511
512 * gnu/java/nio/FileChannelImpl.java,
513 gnu/java/nio/natFileChannelImpl.cc: Removed.
514 * java/io/FileInputStream.java,
515 java/io/FileOutputStream.java,
516 java/io/RandomAccessFile.java,
517 java/nio/MappedByteBufferImpl.java:
518 Import java.nio.channels.FileChannelImpl instead of
519 gnu.java.nio.FileChannelImpl.
520 * java/nio/channels/FileChannelImpl.java,
521 java/nio/channels/natFileChannelImpl.cc:
522 New files.
523 * Makefile.am
524 (ordinary_java_source_files):
525 Removed gnu/java/nio/FileChannelImpl.java and added
526 java/nio/channels/FileChannelImpl.java.
527 (nat source_files):
528 Removed gnu/java/nio/natFileChannelImpl.cc and added
529 java/nio/channels/natFileChannelImpl.cc.
530 * Makefile.in: Regenerated.
531
532 2003-07-13 Michael Koch <konqueror@gmx.de>
533
534 * javax/swing/plaf/basic/BasicBorders.java,
535 javax/swing/plaf/basic/BasicLabelUI.java,
536 javax/swing/plaf/basic/BasicLookAndFeel.java,
537 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
538 javax/swing/plaf/basic/BasicTextUI.java,
539 javax/swing/plaf/metal/MetalLookAndFeel.java:
540 New versions from classpath.
541
542 2003-07-13 Michael Koch <konqueror@gmx.de>
543
544 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
545 * gnu/java/awt/peer/gtk/GdkGraphics.java
546 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
547 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
548 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
549 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
550 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
551 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
552 * gnu/java/awt/peer/gtk/GtkClipboard.java
553 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
554 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
555 * gnu/java/awt/peer/gtk/GtkFramePeer.java
556 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
557 * gnu/java/awt/peer/gtk/GtkImage.java
558 * gnu/java/awt/peer/gtk/GtkImagePainter.java
559 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
560 * gnu/java/awt/peer/gtk/GtkListPeer.java
561 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
562 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
563 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
564 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
565 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
566 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
567 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
568 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
569 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
570 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
571 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
572 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
573
574 2003-07-13 Michael Koch <konqueror@gmx.de>
575
576 * gnu/java/locale/LocaleInformation_de.java
577 * gnu/java/locale/LocaleInformation_en.java
578 * gnu/java/locale/LocaleInformation_nl.java
579
580 2003-07-13 Michael Koch <konqueror@gmx.de>
581
582 * gnu/java/awt/EmbeddedWindow.java,
583 gnu/java/awt/EmbeddedWindowSupport.java,
584 gnu/java/awt/natEmbeddedWindow.cc:
585 New files.
586 * java/awt/Window.java
587 (Window): New constructor to support embedded windows.
588 * Makefile.am
589 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
590 gnu/java/awt/EmbeddedWindowSupport.java.
591 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
592 * Makefile.in: Regenerated.
593
594 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
595
596 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
597 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
598 * java/awt/im/InputContext.java: Remove a redundant
599 partial line.
600
601 2003-07-09 Tom Tromey <tromey@redhat.com>
602
603 * Makefile.in: Rebuilt.
604 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
605
606 2003-07-09 Mark Wielaard <mark@klomp.org>
607
608 * java/io/ObjectOutputStream.java (writeObject): break after
609 calling writeClassDescriptor().
610
611 2003-07-09 Mark Mitchell <mark@codesourcery.com>
612
613 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
614
615 2003-07-09 Michael Koch <konqueror@gmx.de>
616
617 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
618 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
619 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
620 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
621 Explicitly import used classes.
622 * java/awt/Container.java: New version from classpath.
623
624 2003-07-09 Michael Koch <konqueror@gmx.de>
625
626 * libgcj.pc.in: New file.
627 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
628 * Makefile.in: Regenerated.
629 * configure: Regenrated.
630 * configure.in: Create libgcj.pc from libgcj.pc.in.
631
632 2003-07-08 Mark Wielaard <mark@klomp.org>
633
634 * gcj/cni.h: CNI now expands to Compiled Native Interface.
635
636 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
637 * java/lang/fdlibm.h: Likewise.
638
639 2003-07-07 Adam Megacz <adam@xwt.org>
640
641 * posix.cc: added #include<stdio.h>
642
643 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
644
645 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
646 formatting.
647
648 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
649 (setCaretPosition, setEditable): Rely entirely on native
650 implementation.
651 (getArgs): Remove.
652 (postTextEvent): New method.
653 (handleEvent): New method.
654 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
655 method.
656 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
658 (keysym_to_awt_keycode): Fix range checks.
659 (generates_key_typed_event): New function.
660 (awt_event_handler): Post AWT_KEY_RELEASED events to event
661 queue.
662 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
663 (gtkInit): Store TextComponent's postTextEvent method ID.
664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
665 (setText): Post TEXT_VALUE_CHANGED event to event queue.
666
667 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
668
669 * configure.in: Check for usleep declaration.
670 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
671 * configure: Regenerate.
672 * include/config.h.in: Likewise.
673 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
674
675 2003-07-01 Michael Koch <konqueror@gmx.de>
676
677 * gnu/gcj/convert/natIconv.cc
678 (iconv_init): Fixed possible memory leak by releasing allocated iconv
679 handle.
680
681 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
682
683 * glib-2.0.m4: New file.
684 * gtk-2.0.m4: New file.
685 * glib.m4: Remove.
686 * gtk.m4: Remove.
687 * configure.in: Update AM_PATH_GTK macro call to
688 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
689 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
690 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
691 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
692 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
693 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
694 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
695 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
696 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
697 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
698 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
699 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
700 jni/gtk-peer/gthread-jni.c,
701 jni/gtk-peer/gthread-jni.h:
702 New versions from classpath.
703 * aclocal.m4: Regenerate.
704 * configure: Regenerate.
705 * Makefile.in: Regenerate.
706 * gcj/Makefile.in: Regenerate.
707 * include/Makefile.in: Regenerate.
708 * testsuite/Makefile.in: Regenerate.
709
710 2003-06-30 Gary Benson <gbenson@redhat.com>
711
712 For PR libgcj/11349:
713 * javax/naming/spi/NamingManager.java (getURLContext): Use
714 correct name for factory class.
715
716 2003-06-28 Michael Koch <konqueror@gmx.de>
717
718 * java/io/PrintStream.java
719 (checkError): Call flush() instead of direct flushing of the Writer
720 object.
721 (print): Call print(String) instead of direct print method of the
722 Writer Object.
723 (println): Call println(String) instead of direct println method of the
724 Writer Object.
725 (write): Simplified.
726
727 2003-06-28 Michael Koch <konqueror@gmx.de>
728
729 * java/net/ServerSocket.java
730 (setChannel): New method.
731 * java/net/Socket.java
732 (setChannel): New method.
733
734 2003-06-27 Michael Koch <konqueror@gmx.de>
735
736 * java/beans/beancontext/BeanContextSupport.java:
737 New version from classpath.
738
739 2003-06-27 Michael Koch <konqueror@gmx.de>
740
741 * java/awt/Window.java,
742 java/awt/font/GraphicAttribute.java,
743 java/awt/font/ImageGraphicAttribute.java,
744 java/awt/image/DataBufferByte.java,
745 java/awt/image/DataBufferInt.java,
746 java/awt/image/DataBufferUShort.java,
747 java/awt/image/DirectColorModel.java,
748 java/awt/image/PixelGrabber.java:
749 New versions from classpath.
750
751 2003-06-27 Michael Koch <konqueror@gmx.de>
752
753 * java/security/Certificate.java
754 (getGuarantor): Removed wrong @deprecated tag.
755 (getPrincipal): Likewise.
756 (getPublicKey): Likewise.
757 (encode): Likewise.
758 (decode): Likewise.
759 (getFormat): Likewise.
760 (toString): Likewise.
761 * java/security/cert/PolicyQualifierInfo.java
762 (PolicyQualifierInfo): Made final.
763 * javax/security/auth/x500/X500Principal.java
764 (serialVersionUID): New member variable.
765
766 2003-06-27 Michael Koch <konqueror@gmx.de>
767
768 * java/text/Format.java
769 (serialVersionUID): Fixed value.
770
771 2003-06-27 Michael Koch <konqueror@gmx.de>
772
773 * java/net/Inet4Address.java
774 (Inet4Address): Made package-private.
775 * java/net/Inet6Address.java
776 (Inet4Address): Made package-private.
777
778 2003-06-27 Michael Koch <konqueror@gmx.de>
779
780 * java/io/RandomAccessFile.java
781 (readLine): Removed wrong @deprecated tag.
782 (getChannel): Made final.
783
784 2003-06-27 Michael Koch <konqueror@gmx.de>
785
786 * gnu/java/nio/FileChannelImpl.java
787 (write): Removed.
788
789 2003-06-27 Michael Koch <konqueror@gmx.de>
790
791 * java/nio/ByteBufferImpl.java
792 (ByteBufferImpl): Made it a package-private class
793 * java/nio/CharBufferImpl.java
794 (CharBufferImpl): Made it a package-private class
795 * java/nio/DirectByteBufferImpl.java
796 (DirectByteBufferImpl): Made it a package-private class
797 * java/nio/DoubleBufferImpl.java
798 (DoubleBufferImpl): Made it a package-private class
799 * java/nio/FloatBufferImpl.java
800 (FloatBufferImpl): Made it a package-private class
801 * java/nio/IntBufferImpl.java
802 (IntBufferImpl): Made it a package-private class
803 * java/nio/LongBufferImpl.java
804 (LongBufferImpl): Made it a package-private class
805 * java/nio/ShortBufferImpl.java
806 (ShortBufferImpl): Made it a package-private class
807 * java/nio/channels/FileChannel.java
808 (write): Made final.
809 * java/nio/channels/ServerSocketChannel.java
810 (ServerSocketChanne): Made protected.
811
812 2003-06-27 Michael Koch <konqueror@gmx.de>
813
814 * javax/naming/CompositeName.java
815 (serialVersionUID): New member variable.
816 * javax/naming/CompoundName.java
817 (serialVersionUID): New member variable.
818 * javax/naming/InitialContext.java
819 (InitialContext): Throws NamingException.
820 (init): Likewise.
821 * javax/naming/LinkRef.java
822 (serialVersionUID): New member variable.
823 (gteLinkName): Throws NamingException.
824 * javax/naming/NamingException.java
825 (serialVersionUID): New member variable.
826 * javax/naming/NamingSecurityException.java
827 (NamingSecurityException): Made abstract.
828 (serialVersionUID): New member variable.
829 * javax/naming/ReferralException.java
830 (serialVersionUID): New member variable.
831 * javax/naming/StringRefAddr.java
832 (serialVersionUID): New member variable.
833 * javax/naming/directory/BasicAttribute.java:
834 Reworked imports.
835 (serialVersionUID): New member variable.
836 (get): Throws NamingException.
837 (getAll): Throws NamingException.
838 * javax/naming/directory/BasicAttributes.java:
839 Reworked imports.
840 (serialVersionUID): New member variable.
841 * javax/naming/ldap/UnsolicitedNotificationEvent.java
842 (serialVersionUID): New member variable.
843
844 2003-06-27 Michael Koch <konqueror@gmx.de>
845
846 * Makefile.am
847 (awt_java_source_files): Added new files:
848 javax/swing/Popup.java,
849 javax/swing/PopupFactory.java
850 * Makefile.in: Regenerated.
851
852 2003-06-27 Michael Koch <konqueror@gmx.de>
853
854 * javax/swing/JWindow.java,
855 javax/swing/event/AncestorEvent.java,
856 javax/swing/event/HyperlinkEvent.java,
857 javax/swing/event/InternalFrameEvent.java,
858 javax/swing/event/ListDataEvent.java,
859 javax/swing/event/TableModelEvent.java,
860 javax/swing/plaf/PopupMenuUI.java,
861 javax/swing/plaf/SplitPaneUI.java,
862 javax/swing/plaf/TabbedPaneUI.java,
863 javax/swing/plaf/TextUI.java,
864 javax/swing/plaf/TreeUI.java,
865 javax/swing/plaf/basic/BasicTextUI.java,
866 javax/swing/plaf/basic/BasicTreeUI.java:
867 New versions from classpath.
868 * javax/swing/Popup.java,
869 javax/swing/PopupFactory.jav:
870 New source files from classpath.
871 * javax/swing/plaf/doc-files/TreeUI-1.png:
872 New binary files from classpath.
873
874 2003-06-25 Michael Koch <konqueror@gmx.de>
875
876 * Makefile.am
877 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
878 * Makefile.in: Regenerated.
879
880 2003-06-25 Michael Koch <konqueror@gmx.de>
881
882 * javax/swing/plaf/ActionMapUIResource.java,
883 javax/swing/plaf/BorderUIResource.java,
884 javax/swing/plaf/ButtonUI.java,
885 javax/swing/plaf/ColorChooserUI.java,
886 javax/swing/plaf/ColorUIResource.java,
887 javax/swing/plaf/ComboBoxUI.java,
888 javax/swing/plaf/ComponentInputMapUIResource.java,
889 javax/swing/plaf/ComponentUI.java,
890 javax/swing/plaf/DesktopIconUI.java,
891 javax/swing/plaf/DesktopPaneUI.java,
892 javax/swing/plaf/DimensionUIResource.java,
893 javax/swing/plaf/FileChooserUI.java,
894 javax/swing/plaf/FontUIResource.java,
895 javax/swing/plaf/IconUIResource.java,
896 javax/swing/plaf/InputMapUIResource.java,
897 javax/swing/plaf/InsetsUIResource.java,
898 javax/swing/plaf/InternalFrameUI.java,
899 javax/swing/plaf/LabelUI.java,
900 javax/swing/plaf/ListUI.java,
901 javax/swing/plaf/MenuBarUI.java,
902 javax/swing/plaf/MenuItemUI.java,
903 javax/swing/plaf/OptionPaneUI.java,
904 javax/swing/plaf/PanelUI.java,
905 javax/swing/plaf/ProgressBarUI.java,
906 javax/swing/plaf/RootPaneUI.java,
907 javax/swing/plaf/ScrollBarUI.java,
908 javax/swing/plaf/ScrollPaneUI.java,
909 javax/swing/plaf/SeparatorUI.java,
910 javax/swing/plaf/SliderUI.java,
911 javax/swing/plaf/TableHeaderUI.java,
912 javax/swing/plaf/TableUI.java,
913 javax/swing/plaf/ToolBarUI.java,
914 javax/swing/plaf/ToolTipUI.java,
915 javax/swing/plaf/ViewportUI.java:
916 New versions from classpath.
917 * javax/swing/plaf/SpinnerUI.java:
918 New file from classpath
919
920 2003-06-25 Michael Koch <konqueror@gmx.de>
921
922 * java/awt/image/ColorModel.java:
923 New version from classpath.
924
925 2003-06-25 Michael Koch <konqueror@gmx.de>
926
927 * java/net/PlainDatagramSocketImpl.java:
928 Partly merged with classpath, this mainly adds documentation.
929
930 2003-06-25 Michael Koch <konqueror@gmx.de>
931
932 * java/io/ObjectInputStream.java
933 (readClassDescriptor): New method.
934 (readObject): Moved functionality to readClassDescriptor().
935 * java/io/ObjectOutputStream.java
936 (writeClassDescriptor): New method.
937 (writeObject): Moved functionality to writeClassDescriptor().
938
939 2003-06-25 Michael Koch <konqueror@gmx.de>
940
941 * javax/swing/plaf/basic/BasicListUI.java,
942 javax/swing/plaf/basic/BasicOptionPaneUI.java:
943 Added missing methods.
944
945 2003-06-25 Michael Koch <konqueror@gmx.de>
946
947 * javax/swing/event/AncestorEvent.java
948 javax/swing/event/HyperlinkEvent.java
949 javax/swing/event/InternalFrameEvent.java
950 javax/swing/event/ListDataEvent.java
951 javax/swing/event/TableModelEvent.java:
952 Compile fixes.
953
954 2003-06-24 Michael Koch <konqueror@gmx.de>
955
956 * java/net/URL.java:
957 Renamed "handler" to "ph" in the whole file to match classpaths
958 version.
959 * java/net/URLStreamHandler.java:
960 (equals): Renamed "handler" to "ph".
961
962 2003-06-24 Michael Koch <konqueror@gmx.de>
963
964 * javax/swing/event/AncestorEvent.java,
965 javax/swing/event/HyperlinkEvent.java,
966 javax/swing/event/InternalFrameEvent.java,
967 javax/swing/event/ListDataEvent.java,
968 javax/swing/event/TableModelEvent.java,
969 javax/swing/event/TreeWillExpandListener.java,
970 javax/swing/plaf/ComponentUI.java,
971 javax/swing/plaf/DesktopIconUI.java,
972 javax/swing/plaf/DesktopPaneUI.java,
973 javax/swing/plaf/DimensionUIResource.java,
974 javax/swing/plaf/FileChooserUI.java,
975 javax/swing/plaf/FontUIResource.java,
976 javax/swing/plaf/IconUIResource.java,
977 javax/swing/plaf/InputMapUIResource.java,
978 javax/swing/plaf/InsetsUIResource.java,
979 javax/swing/plaf/InternalFrameUI.java,
980 javax/swing/plaf/LabelUI.java,
981 javax/swing/plaf/ListUI.java,
982 javax/swing/plaf/MenuBarUI.java,
983 javax/swing/plaf/MenuItemUI.java,
984 javax/swing/plaf/OptionPaneUI.java,
985 javax/swing/plaf/PanelUI.java,
986 javax/swing/plaf/ProgressBarUI.java,
987 javax/swing/plaf/doc-files/ComponentUI-1.dia,
988 javax/swing/plaf/doc-files/ComponentUI-1.png:
989 New versions from classpath.
990
991 2003-06-24 Michael Koch <konqueror@gmx.de>
992
993 * java/nio/Buffer.java
994 (cap): Made package-private.
995 (pos): Likewise.
996 (limit): Likewise.
997 (mark): Likewise.
998
999 2003-06-24 Michael Koch <konqueror@gmx.de>
1000
1001 * java/net/SocketImpl.java
1002 (shutdownInput): Made it non-abstract method throwing an exception
1003 like in SUNs JRE.
1004 (shutdownOutput): Likewise.
1005 * java/net/SocketInputStream.java,
1006 java/net/SocketOutputStream.java:
1007 New files from classpath.
1008
1009 2003-06-24 Michael Koch <konqueror@gmx.de>
1010
1011 * java/awt/Font.java,
1012 java/awt/Window.java,
1013 java/awt/color/ColorSpace.java,
1014 java/awt/datatransfer/StringSelection.java,
1015 java/awt/image/ColorModel.java:
1016 New versions from classpath.
1017
1018 2003-06-24 Michael Koch <konqueror@gmx.de>
1019
1020 * Makefile.am
1021 (awt_java_source_files): Added new files:
1022 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1023 javax/swing/plaf/basic/BasicSplitPaneUI.java
1024 * Makefile.in: Regenerated.
1025
1026 2003-06-24 Michael Koch <konqueror@gmx.de>
1027
1028 * javax/swing/text/JTextComponent.java:
1029 New version from classpath.
1030
1031 2003-06-24 Michael Koch <konqueror@gmx.de>
1032
1033 * javax/swing/Timer.java,
1034 javax/swing/plaf/ActionMapUIResource.java,
1035 javax/swing/plaf/ButtonUI.java,
1036 javax/swing/plaf/ColorChooserUI.java,
1037 javax/swing/plaf/ColorUIResource.java,
1038 javax/swing/plaf/ComboBoxUI.java,
1039 javax/swing/plaf/ComponentInputMapUIResource.java,
1040 javax/swing/plaf/basic/BasicBorders.java:
1041 New versions from classpath.
1042 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
1043 javax/swing/plaf/basic/BasicSplitPaneUI.java:
1044 New file from classpath.
1045 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1046 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1047 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
1048 javax/swing/plaf/doc-files/ComponentUI-1.dia,
1049 javax/swing/plaf/doc-files/ComponentUI-1.png:
1050 New binary files from classpath.
1051
1052 2003-06-24 Michael Koch <konqueror@gmx.de>
1053
1054 * java/io/LineNumberReader.java
1055 (skip): Dont do line number accounting here as this is already done in
1056 read(), simplified.
1057
1058 2003-06-21 Michael Koch <konqueror@gmx.de>
1059
1060 * java/io/File.java
1061 (static): Load javaio lib if existing (only in classpath).
1062 (File): Revised documentation to show the correct argument name.
1063 (createTempFile): Partly merged with classpath.
1064 (compareTo): Simplified.
1065 (lastModified): Throw exception if time < 0.
1066 (deleteOnExit): Revised documentation.
1067
1068 2003-06-21 Michael Koch <konqueror@gmx.de>
1069
1070 * java/net/PlainSocketImpl.java:
1071 Reformatted.
1072 (PlainSocketImpl): Merged class documentaion with classpath.
1073 (in): Moved.
1074 (out): Moved.
1075 (PlainSocketImpl): New empty constructor.
1076 (finalize): Moved.
1077 (setOption): Merged documentation from classpath.
1078 (getOption): Likewise.
1079 (create): Likewise.
1080 (connect): Likewise.
1081 (bind): Likewise.
1082 (listen): Likewise.
1083 (accept): Likewise.
1084 (available): Likewise.
1085 (close): Likewise.
1086 (read): Likewise.
1087 (write): Likewise.
1088 (getInputStream): Made synchronozed to get sure that only one stream
1089 object can be created for this socket, merged documentation from
1090 classpath.
1091 (getOutputStream): Likewise.
1092
1093 2003-06-21 Michael Koch <konqueror@gmx.de>
1094
1095 * java/net/PlainSocketImpl.java:
1096 Reformatting.
1097 (static): New implicit method.
1098 (read): Made package private.
1099 (write): Likewise.
1100
1101 2003-06-21 Michael Koch <konqueror@gmx.de>
1102
1103 * java/util/SimpleTimeZone.java:
1104 Removed unneeded import, reformatting.
1105
1106 2003-06-21 Michael Koch <konqueror@gmx.de>
1107
1108 * java/text/DateFormat.java,
1109 java/text/SimpleDateFormat.java,
1110 java/util/Locale.java:
1111 New versions from classpath.
1112
1113 2003-06-21 Michael Koch <konqueror@gmx.de>
1114
1115 * javax/swing/SpinnerModel.java:
1116 New file from classpath.
1117 * javax/swing/border/LineBorder.java,
1118 javax/swing/border/SoftBevelBorder.java,
1119 javax/swing/plaf/BorderUIResource.java,
1120 javax/swing/plaf/basic/BasicBorders.java:
1121 New versions from classpath.
1122 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
1123 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
1124 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
1125 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
1126 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
1127 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
1128 New binary files from classpath.
1129
1130 2003-06-21 Michael Koch <konqueror@gmx.de>
1131
1132 * java/util/logging/LogRecord.java,
1133 java/util/logging/Logger.java,
1134 java/util/logging/SocketHandler.java,
1135 java/util/logging/SimpleFormatter.java,
1136 java/util/logging/Formatter.java,
1137 java/util/logging/ErrorManager.java,
1138 java/util/logging/Handler.java,
1139 java/util/logging/FileHandler.java,
1140 java/util/logging/LogManager.java,
1141 java/util/logging/Level.java,
1142 java/util/logging/ConsoleHandler.java,
1143 java/util/logging/StreamHandler.java,
1144 java/util/logging/LoggingPermission.java,
1145 java/util/logging/Filter.java,
1146 java/util/logging/MemoryHandler.java,
1147 java/util/logging/XMLFormatter.java:
1148 New files from classpath.
1149
1150 2003-06-20 Michael Koch <konqueror@gmx.de>
1151
1152 * java/io/ObjectStreamField.java
1153 (unshared): new member variable.
1154 (ObjectStreamField): New constructor.
1155 (isUnshared): New method.
1156
1157 2003-06-20 Michael Koch <konqueror@gmx.de>
1158
1159 * java/net/URLStreamHandler.java
1160 (hostsEqual): Rewritten.
1161
1162 2003-06-20 Michael Koch <konqueror@gmx.de>
1163
1164 * gnu/java/nio/MappedByteFileBuffer.java,
1165 gnu/java/nio/natMappedByteFileBuffer.cc:
1166 Removed
1167 * java/nio/MappedByteBufferImpl.java:
1168 New file.
1169 * gnu/java/nio/FileChannelImpl.java:
1170 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
1171 * Makefile.am
1172 (ordinary_java_source_files): Removed
1173 gnu/java/nio/MappedByteFileBuffer.java and added
1174 java/nio/MappedByteBufferImpl.java.
1175 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
1176 * Makefile.in: Regenerated.
1177
1178 2003-06-19 Michael Koch <konqueror@gmx.de>
1179
1180 * gnu/java/nio/DatagramChannelImpl.java
1181 (fd): Removed.
1182 (blocking): New member variable.
1183 (socket): Likewise.
1184 (DatagramChannelImpl): Throws IOException, initialize socket.
1185 (socket):Implemented.
1186 (implCloseSelectableChannel): Throws IOException, implemented.
1187 (implConfigureBlocking): Likewise.
1188 (connect): Likewise.
1189 (disconnect): Likewise.
1190 (isConnected): Likewise.
1191 (write): Likewise.
1192 (read): Likewise.
1193 (receive): Throws IOException.
1194 (send): Likewise.
1195 * gnu/java/nio/SocketChannelImpl.java
1196 (read): Implemented.
1197 (write): Implemented.
1198
1199 2003-06-19 Michael Koch <konqueror@gmx.de>
1200
1201 * javax/swing/JComponent.java,
1202 javax/swing/JInternalFrame.java,
1203 javax/swing/MenuSelectionManager.java,
1204 javax/swing/SwingUtilities.java,
1205 javax/swing/ToggleButtonModel.java:
1206 New versions from classpath.
1207
1208 2003-06-19 Michael Koch <konqueror@gmx.de>
1209
1210 * java/text/CollationElementIterator.java
1211 (NULLORDER): Initialize with -1 as JDK documentation says.
1212
1213 2003-06-19 Michael Koch <konqueror@gmx.de>
1214
1215 * java/net/HttpURLConnection.java,
1216 java/net/Inet4Address.java,
1217 java/net/Inet6Address.java,
1218 java/net/SocketImpl.java,
1219 java/net/URLClassLoader.java:
1220 Reworked import statements.
1221 * java/net/InetAddress.java
1222 (getByAddress): Simplified.
1223 * java/net/ServerSocket.java
1224 (ServerSocket): Moved special handling during bind operation to
1225 bind().
1226 (bind): Handle different cases when trying to bind a socket.
1227 * java/net/URLConnection.java
1228 (getHeaderFieldDate): Merged with classpath.
1229 (getHeaderFieldInt): Likewise.
1230
1231 2003-06-19 Michael Koch <konqueror@gmx.de>
1232
1233 * java/util/zip/InflaterInputStream.java
1234 (InflaterInputStream): Throw NullPointerException if in is null (as
1235 JDK does).
1236
1237 2003-06-19 Michael Koch <konqueror@gmx.de>
1238
1239 * java/awt/Font.java
1240 javax/swing/UIManager.java
1241 javax/swing/border/AbstractBorder.java
1242 javax/swing/border/BevelBorder.java
1243 javax/swing/border/Border.java
1244 javax/swing/border/CompoundBorder.java
1245 javax/swing/border/EmptyBorder.java
1246 javax/swing/border/EtchedBorder.java
1247 javax/swing/border/LineBorder.java
1248 javax/swing/border/MatteBorder.java
1249 javax/swing/border/TitledBorder.java
1250 javax/swing/plaf/BorderUIResource.java
1251 javax/swing/plaf/basic/BasicBorders.java
1252 javax/swing/plaf/basic/BasicButtonUI.java
1253 javax/swing/plaf/basic/BasicCheckBoxUI.java
1254 javax/swing/plaf/basic/BasicGraphicsUtils.java
1255 javax/swing/plaf/basic/BasicLabelUI.java
1256 javax/swing/plaf/basic/BasicRadioButtonUI.java
1257 javax/swing/plaf/basic/BasicToggleButtonUI.java:
1258 New versions from classpath.
1259 * javax/swing/border/SoftBevelBorder.java:
1260 New file from classpath.
1261 * javax/swing/border/doc-files/LineBorder-1.png,
1262 javax/swing/border/doc-files/BevelBorder-1.png,
1263 javax/swing/border/doc-files/BevelBorder-2.png,
1264 javax/swing/border/doc-files/BevelBorder-3.png,
1265 javax/swing/border/doc-files/EmptyBorder-1.png,
1266 javax/swing/border/doc-files/EtchedBorder-1.png,
1267 javax/swing/border/doc-files/EtchedBorder-2.png,
1268 javax/swing/border/doc-files/MatteBorder-1.png,
1269 javax/swing/border/doc-files/MatteBorder-2.png,
1270 javax/swing/border/doc-files/MatteBorder-3.png,
1271 javax/swing/border/doc-files/MatteBorder-4.png,
1272 javax/swing/border/doc-files/MatteBorder-5.png,
1273 javax/swing/border/doc-files/MatteBorder-6.png,
1274 javax/swing/border/doc-files/SoftBevelBorder-1.png,
1275 javax/swing/border/doc-files/SoftBevelBorder-2.png,
1276 javax/swing/border/doc-files/SoftBevelBorder-3.png,
1277 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
1278 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1279 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
1280 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
1281 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
1282 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
1283 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
1284 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
1285 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
1286 New binary files from classpath.
1287 * Makefile.am
1288 (awt_java_source_files): Added
1289 javax/swing/border/SoftBevelBorder.java.
1290 * Makefile.in: Regenerated.
1291
1292 2003-06-19 Michael Koch <konqueror@gmx.de>
1293
1294 * gnu/java/security/x509/X509Certificate.java
1295 (writeReplace): Merged from classpath.
1296
1297 2003-06-19 Michael Koch <konqueror@gmx.de>
1298
1299 * gnu/java/nio/FileChannelImpl.java
1300 (map_address): Made public.
1301 (FileChannelImpl): Merged with classpath.
1302 * gnu/java/nio/natFileChannelImpl.cc
1303 (nio_mmap_file): Commented out unused arguments.
1304 (nio_unmmap_file): Likewise.
1305 (niu_msync): Likewise.
1306
1307 2003-06-19 Michael Koch <konqueror@gmx.de>
1308
1309 * java/awt/image/IndexColorModel.java:
1310 New version from classpath.
1311
1312 2003-06-18 Tom Tromey <tromey@redhat.com>
1313
1314 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
1315 on arrays.
1316 (isLoopbackAddress): Likewise.
1317 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
1318 on arrays.
1319
1320 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
1321
1322 * java/lang/natVMSecurityManager.cc (getClassContext):
1323 Use maxlen instead of len for loop bound.
1324
1325 2003-06-18 Michael Koch <konqueror@gmx.de>
1326
1327 * gnu/java/nio/SelectorImpl.java
1328 (register): Use fd with value 0 for now, will be fixed later.
1329 * gnu/java/nio/ServerSocketChannelImpl.java
1330 (fd): Removed.
1331 (local_port): Removed.
1332 (InetSocketAddress): Removed.
1333 (ServerSocketChannelImpl): Just initialize internal socket object.
1334 (implCloseSelectableChannel): Close internal socket object.
1335 (implConfigureBlocking): Added comment.
1336 (accept): Use jaba.net stuff to accept socket.
1337 * gnu/java/nio/SocketChannelImpl.java
1338 (fd): Removed.
1339 (local_port): Removed.
1340 (InetSocketAddress): Removed.
1341 (SocketCreate): Removed.
1342 (SocketConnect): Removed.
1343 (SocketBind): Removed.
1344 (SocketListen): Removed.
1345 (SocketAvailable): Removed.
1346 (SocketClose): Removed.
1347 (SocketRead): Removed.
1348 (SocketWrite): Removed.
1349 (SocketChannelImpl): Just initialize internal socket object.
1350 (implCloseSelectableChannel): Close internal socket object.
1351 (implConfigureBlocking): Fixed implementation, added comment.
1352 (connect): Use internal socket object to connect.
1353 (socket): No need for sanity checks.
1354 (read): Comment out some stuff, this will be reimplemented in the next
1355 commit.
1356 (write): Likewise.
1357 * gnu/java/nio/natFileChannelImpl.cc
1358 (nio_mmap_file): Line wrapped.
1359 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
1360 * Makefile.am
1361 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
1362 * Makefile.in: Regenerated.
1363
1364 2003-06-18 Michael Koch <konqueror@gmx.de>
1365
1366 * java/util/Locale.java
1367 (equals): Merged from classpath.
1368
1369 2003-06-18 Michael Koch <konqueror@gmx.de>
1370
1371 * java/net/InetAddress.java:
1372 Reformatted to better match classpath's version.
1373 * java/net/URL.java
1374 (equals): Simplified.
1375 * java/net/URLConnection.java
1376 (setDoInput): Revised documentation.
1377 (getDefaultUseCaches): Likewise.
1378 (setRequestProperty): Added @since tag.
1379
1380 2003-06-17 Michael Koch <konqueror@gmx.de>
1381
1382 * java/net/InetSocketAddress.java
1383 (InetSocketAddress): Use wildcard address if addr is null.
1384 (InetSocketAddress): Dont duplicate implementation.
1385 (InetSocketAddress): Throw exception when hostname is null.
1386 * java/net/Socket.java:
1387 Reworked imports.
1388 (Socket): Throw exception when raddr is null, handle case when laddr
1389 is null.
1390
1391 2003-06-17 Michael Koch <konqueror@gmx.de>
1392
1393 * java/nio/DirectByteBufferImpl.java
1394 (address): Made package private.
1395 (DirectByteBufferImpl): New constructor.
1396 * java/nio/natDirectByteBufferImpl.cc
1397 (allocateImpl): Moved to java.nio namespace, implemented.
1398 (freeImpl): Likewise.
1399 (getImpl): Likewise.
1400 (putImpl): Likewise.
1401 * jni.cc
1402 (_Jv_JNI_NewDirectByteBuffer): Implemented.
1403 (_Jv_JNI_GetDirectBufferAddress): Implemented.
1404 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
1405
1406 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1407
1408 * include/powerpc-signal.h: New File.
1409 * configure.in: Use it.
1410 * configure: Regenerated.
1411
1412 2003-06-17 Michael Koch <konqueror@gmx.de>
1413
1414 * java/util/Locale.java
1415 (getDisplayLanguage): Made it final.
1416 (getDisplayCountry): Likewise.
1417 (getDisplayVariant): Likewise.
1418 (getDisplayName): Likewise.
1419
1420 2003-06-17 Michael Koch <konqueror@gmx.de>
1421
1422 * java/util/PropertyResourceBundle.java:
1423 Removed unneeded import.
1424
1425 2003-06-17 Michael Koch <konqueror@gmx.de>
1426
1427 * java/util/prefs/AbstractPreferences.java,
1428 java/util/prefs/PreferencesFactory.java:
1429 Reworked imports, removed unused imports.
1430 * java/util/prefs/Preferences.java
1431 (systemNodeForPackage): Method takes a Class not an Object.
1432 (userNodeForPackage): Likewise.
1433 (nodeForPackage): Likewise.
1434
1435 2003-06-17 Michael Koch <konqueror@gmx.de>
1436
1437 * gnu/java/security/x509/X509Certificate.java:
1438 Explicitely import used classes.
1439
1440 2003-06-17 Michael Koch <konqueror@gmx.de>
1441
1442 * java/util/zip/ZipEntry.java,
1443 java/util/zip/ZipFile.java,
1444 java/util/zip/ZipInputStream.java,
1445 java/util/zip/ZipOutputStream.java:
1446 Reworked imports, only import used classes.
1447
1448 2003-06-17 Michael Koch <konqueror@gmx.de>
1449
1450 * gnu/java/lang/ArrayHelper.java,
1451 gnu/java/lang/ClassHelper.java:
1452 Reformatted to match classpath's versions.
1453
1454 2003-06-14 Michael Koch <konqueror@gmx.de>
1455
1456 * gnu/java/nio/FileChannelImpl.java
1457 (map_address): Removed incorrect comment.
1458 * gnu/java/nio/SelectorImpl.java
1459 (register): Remove code duplication and code for file channel handling.
1460 * gnu/java/nio/ServerSocketChannelImpl.java
1461 (serverSocket): Renamed from sock_object.
1462 (ServerSocketChannel): Initialize serverSocket.
1463 (socket): Return serverSocket.
1464 * gnu/java/nio/SocketChannelImpl.java
1465 (socket): Renamed from sock_object.
1466 (isConnectionPenging): Simplified.
1467 (socket): Return socket.
1468 2003-06-14 Michael Koch <konqueror@gmx.de>
1469
1470 * java/security/BasicPermission.java:
1471 New version from classpath.
1472
1473 2003-06-14 Michael Koch <konqueror@gmx.de>
1474
1475 * javax/naming/directory/Attribute.java:
1476 New version from classpath.
1477
1478 2003-06-14 Michael Koch <konqueror@gmx.de>
1479
1480 * java/io/BufferedReader.java,
1481 java/io/FileOutputStream.java:
1482 New versions from classpath.
1483
1484 2003-06-12 Andrew Haley <aph@redhat.com>
1485
1486 * prims.cc (catch_segv): Create exception in handler.
1487 (catch_fpe): Likewise.
1488 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1489 (_Jv_ThrowSignal): Remove.
1490
1491 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1492 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1493 to nullp and arithexception.
1494 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1495 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1496 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1497 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1498 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1499
1500 2003-06-11 Andrew Haley <aph@redhat.com>
1501
1502 * jni.cc (_Jv_JNI_check_types): New.
1503 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1504 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1505 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1506 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1507
1508 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1509 infinite loop.
1510
1511 2003-06-11 Tom Tromey <tromey@redhat.com>
1512
1513 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1514 * java/io/PrintStream.java: Not deprecated.
1515
1516 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1517
1518 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1519 (fillOval): implemented
1520 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1521 (fillArc): implemented.
1522 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1523 (fillArc): added native method.
1524 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1525 (fillArc): added native method.
1526
1527 2003-06-11 Michael Koch <konqueror@gmx.de>
1528
1529 * java/awt/im/InputSubset.java:
1530 New version from classpath.
1531
1532 2003-06-11 Michael Koch <konqueror@gmx.de>
1533
1534 * javax/swing/AbstractAction.java,
1535 javax/swing/AbstractButton.java,
1536 javax/swing/AbstractCellEditor.java,
1537 javax/swing/AbstractListModel.java,
1538 javax/swing/BorderFactory.java,
1539 javax/swing/Box.java,
1540 javax/swing/BoxLayout.java,
1541 javax/swing/ButtonGroup.java,
1542 javax/swing/DefaultButtonModel.java,
1543 javax/swing/DefaultListModel.java,
1544 javax/swing/DefaultListSelectionModel.java,
1545 javax/swing/FocusManager.java,
1546 javax/swing/ImageIcon.java,
1547 javax/swing/InputMap.java,
1548 javax/swing/JApplet.java,
1549 javax/swing/JButton.java,
1550 javax/swing/JCheckBox.java,
1551 javax/swing/JCheckBoxMenuItem.java,
1552 javax/swing/JColorChooser.java,
1553 javax/swing/JComboBox.java,
1554 javax/swing/JComponent.java,
1555 javax/swing/JDesktopPane.java,
1556 javax/swing/JDialog.java,
1557 javax/swing/JEditorPane.java,
1558 javax/swing/JFileChooser.java,
1559 javax/swing/JFormattedTextField.java,
1560 javax/swing/JFrame.java,
1561 javax/swing/JLabel.java,
1562 javax/swing/JLayeredPane.java,
1563 javax/swing/JList.java,
1564 javax/swing/JMenuBar.java,
1565 javax/swing/JMenuItem.java,
1566 javax/swing/JOptionPane.java,
1567 javax/swing/JPanel.java,
1568 javax/swing/JPasswordField.java,
1569 javax/swing/JPopupMenu.java,
1570 javax/swing/JProgressBar.java,
1571 javax/swing/JRadioButton.java,
1572 javax/swing/JRadioButtonMenuItem.java,
1573 javax/swing/JRootPane.java,
1574 javax/swing/JScrollBar.java,
1575 javax/swing/JScrollPane.java,
1576 javax/swing/JSeparator.java,
1577 javax/swing/JSlider.java,
1578 javax/swing/JTabbedPane.java,
1579 javax/swing/JTable.java,
1580 javax/swing/JTextField.java,
1581 javax/swing/JToggleButton.java,
1582 javax/swing/JToolBar.java,
1583 javax/swing/JToolTip.java,
1584 javax/swing/JTree.java,
1585 javax/swing/JViewport.java,
1586 javax/swing/JWindow.java,
1587 javax/swing/KeyStroke.java,
1588 javax/swing/ListSelectionModel.java,
1589 javax/swing/LookAndFeel.java,
1590 javax/swing/RepaintManager.java,
1591 javax/swing/ScrollPaneLayout.java,
1592 javax/swing/SizeRequirements.java,
1593 javax/swing/SwingConstants.java,
1594 javax/swing/Timer.java,
1595 javax/swing/UIDefaults.java,
1596 javax/swing/UIManager.java,
1597 javax/swing/border/AbstractBorder.java,
1598 javax/swing/border/CompoundBorder.java,
1599 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1600 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1601 javax/swing/colorchooser/ColorSelectionModel.java,
1602 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1603 javax/swing/event/AncestorEvent.java,
1604 javax/swing/event/HyperlinkEvent.java,
1605 javax/swing/event/InternalFrameAdapter.java,
1606 javax/swing/event/InternalFrameEvent.java,
1607 javax/swing/event/ListDataEvent.java,
1608 javax/swing/event/MouseInputAdapter.java,
1609 javax/swing/event/SwingPropertyChangeSupport.java,
1610 javax/swing/event/TableModelEvent.java,
1611 javax/swing/event/TreeWillExpandListener.java,
1612 javax/swing/event/UndoableEditEvent.java,
1613 javax/swing/filechooser/FileFilter.java,
1614 javax/swing/filechooser/FileSystemView.java,
1615 javax/swing/filechooser/FileView.java,
1616 javax/swing/plaf/BorderUIResource.java,
1617 javax/swing/plaf/basic/BasicDefaults.java,
1618 javax/swing/table/AbstractTableModel.java,
1619 javax/swing/table/DefaultTableCellRenderer.java,
1620 javax/swing/table/DefaultTableColumnModel.java,
1621 javax/swing/table/DefaultTableModel.java,
1622 javax/swing/table/TableColumn.java,
1623 javax/swing/text/JTextComponent.java,
1624 javax/swing/tree/AbstractLayoutCache.java,
1625 javax/swing/tree/DefaultMutableTreeNode.java,
1626 javax/swing/tree/DefaultTreeCellEditor.java,
1627 javax/swing/tree/DefaultTreeCellRenderer.java,
1628 javax/swing/tree/DefaultTreeModel.java,
1629 javax/swing/tree/DefaultTreeSelectionModel.java,
1630 javax/swing/tree/FixedHeightLayoutCache.java,
1631 javax/swing/tree/TreeCellEditor.java,
1632 javax/swing/tree/TreeModel.java,
1633 javax/swing/tree/TreeNode.java,
1634 javax/swing/tree/TreePath.java,
1635 javax/swing/tree/TreeSelectionModel.java,
1636 javax/swing/tree/VariableHeightLayoutCache.java,
1637 javax/swing/undo/AbstractUndoableEdit.java,
1638 javax/swing/undo/CompoundEdit.java,
1639 javax/swing/undo/StateEdit.java,
1640 javax/swing/undo/UndoManager.java,
1641 javax/swing/undo/UndoableEditSupport.java:
1642 New versions from classpath.
1643 * javax/swing/table/JTableHeader.java:
1644 New file from classpath.
1645 * Makefile.am
1646 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1647 * Makefile.in: Regenerated.
1648
1649 2003-06-11 Michael Koch <konqueror@gmx.de>
1650
1651 * java/nio/MappedByteBuffer.java,
1652 java/nio/channels/Channels.java,
1653 java/nio/channels/ServerSocketChannel.java,
1654 java/nio/channels/spi/AbstractSelector.java:
1655 Removed unneeded imports.
1656
1657 2003-06-11 Michael Koch <konqueror@gmx.de>
1658
1659 * java/net/DatagramSocket.java:
1660 Partly merged with classpath.
1661
1662 2003-06-11 Michael Koch <konqueror@gmx.de>
1663
1664 * java/awt/Frame.java,
1665 java/awt/Graphics.java,
1666 java/awt/Menu.java,
1667 java/awt/Robot.java,
1668 java/awt/image/ColorModel.java:
1669 New versions from classpath.
1670
1671 2003-06-10 Michael Koch <konqueror@gmx.de>
1672
1673 * java/io/PrintStream.java:
1674 Merged version from classpath.
1675 (close): Removed sychronized keyword. This class is not garantied to
1676 be thread-safe.
1677 (write): Likewise.
1678
1679 2003-06-09 Tom Tromey <tromey@redhat.com>
1680
1681 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1682 field.
1683 (getDescent): Likewise, for "descent".
1684
1685 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1686
1687 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1688 (getMaxDescent): adjusted return value.
1689 (getAscent): modified to use metrics for 'O'.
1690 (getDescent): modified to use metrics for 'y'.
1691
1692 2003-06-08 Anthony Green <green@redhat.com>
1693
1694 * java/net/URLStreamHandler.java (sameFile): Fix port value
1695 comparison.
1696 * java/net/URL.java (handler): Make package private.
1697 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1698
1699 2003-06-07 Tom Tromey <tromey@redhat.com>
1700
1701 For PR libgcj/11085:
1702 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1703 Limit number of characters in numeric field when required.
1704 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1705 Respect maximumIntegerDigits.
1706
1707 2003-06-08 Michael Koch <konqueror@gmx.de>
1708
1709 * java/net/Socket.java
1710 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1711 call bind() and connect() to actually do the bind and connect tasks.
1712 (bind): Connect to canonical address if bindpoint is null, create
1713 socket and bind it to bindpoint.
1714 (connect): Check for exceptions.
1715
1716 2003-06-08 Michael Koch <konqueror@gmx.de>
1717
1718 * java/net/DatagramSocket.java
1719 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1720 into the Multicast constructors.
1721 * java/net/DatagramSocketImpl.java
1722 (getOption): Removed.
1723 (setOption): Removed.
1724 * java/net/MulticastSocket.java
1725 (MulticastSocket): Call setReuseAddress (true).
1726 * java/net/SocketImpl.java
1727 (getOption): Removed.
1728 (setOption): Removed.
1729
1730 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1731
1732 PR libgcj/10886:
1733 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1734 Test for empty vector.
1735
1736 2003-06-06 Mark Wielaard <mark@klomp.org>
1737
1738 * java/security/Security.java (secprops): Initialize.
1739 (loadProviders): Return boolean.
1740 (static): Check result of loadProvider calls. If necessary
1741 display WARNING and fallback to Gnu provider.
1742
1743 2002-06-06 James Clark <jjc@jclark.com>
1744
1745 Fix for PR libgcj/8738:
1746 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1747 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1748 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1749 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1750 (write): Always decrease avail when count is increased.
1751 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1752 and whether output buffer is full before increasing size.
1753
1754 2002-06-06 Mark Wielaard <mark@klomp dot org>
1755
1756 * java/io/PrintStream.java (writeChars(char[],int, int)):
1757 Check converter.havePendingBytes().
1758 (writeChars(String,int,int)): Likewise.
1759 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1760 Check converter.havePendingBytes() and flush buffer when stalled.
1761
1762 2003-06-07 Michael Koch <konqueror@gmx.de>
1763
1764 * include/posix.h
1765 (O_DSYNC): Define O_DSYNC on platforms not
1766 supporting O_FSYNC (newlib).
1767
1768 2003-06-06 Mark Wielaard <mark@klomp.org>
1769
1770 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1771 AWTError.
1772
1773 2003-06-06 Michael Koch <konqueror@gmx.de>
1774
1775 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1776 More compile fixes from my stupid work yesterday.
1777
1778 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1779
1780 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1781 if _IEEE_LIBM is undefined.
1782
1783 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1784
1785 * libjava/include/posix.h (O_SYNC): Define if not available
1786 and a reasonable, perhaps more conservative, replacement exists.
1787 (O_DSYNC): Likewise.
1788 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1789
1790 2003-06-05 Michael Koch <konqueror@gmx.de>
1791
1792 * javax/swing/plaf/BorderUIResource.java,
1793 javax/swing/plaf/basic/BasicDefaults.java,
1794 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1795 More compile fixes for latest Border commit. I should not commit
1796 something in this heat here ...
1797
1798 2003-06-05 Michael Koch <konqueror@gmx.de>
1799
1800 * javax/swing/border/BevelBorder.java
1801 (BevelBorder): Removed.
1802 * javax/swing/border/EmptyBorder.java:
1803 Reformatted.
1804 (EmptyBorder): Removed.
1805 (getBorderInsets): Dont use l, r, t and b.
1806 * javax/swing/border/EtchedBorder.java
1807 (EtchedBorder): Removed.
1808 * javax/swing/border/LineBorder.java
1809 (LineBorder): Removed.
1810 * javax/swing/border/MatteBorder.java
1811 (MatteBorder): Removed.
1812 * javax/swing/border/TitledBorder.java
1813 (defaultBorder): Use other default for now.
1814 (defaultFont): Likewise.
1815 (defaultColor): Likewise.
1816
1817 2003-06-05 Michael Koch <konqueror@gmx.de>
1818
1819 * javax/swing/border/Border.java:
1820 New version from classpath.
1821
1822 2003-06-05 Michael Koch <konqueror@gmx.de>
1823
1824 * javax/swing/border/AbstractBorder.java,
1825 javax/swing/border/BevelBorder.java,
1826 javax/swing/border/CompoundBorder.java,
1827 javax/swing/border/EmptyBorder.java,
1828 javax/swing/border/EtchedBorder.java,
1829 javax/swing/border/LineBorder.java,
1830 javax/swing/border/MatteBorder.java,
1831 javax/swing/border/TitledBorder.java:
1832 New versions from Classpath.
1833
1834 2003-06-05 Michael Koch <konqueror@gmx.de>
1835
1836 * java/awt/Button.java,
1837 java/awt/Checkbox.java,
1838 java/awt/CheckboxMenuItem.java,
1839 java/awt/Choice.java,
1840 java/awt/Container.java,
1841 java/awt/Dialog.java,
1842 java/awt/EventQueue.java,
1843 java/awt/FileDialog.java,
1844 java/awt/Frame.java,
1845 java/awt/Label.java,
1846 java/awt/List.java,
1847 java/awt/Menu.java,
1848 java/awt/MenuItem.java,
1849 java/awt/Panel.java,
1850 java/awt/PopupMenu.java,
1851 java/awt/Rectangle.java,
1852 java/awt/ScrollPane.java,
1853 java/awt/Scrollbar.java,
1854 java/awt/TextArea.java,
1855 java/awt/TextField.java,
1856 java/awt/Window.java,
1857 java/awt/datatransfer/DataFlavor.java,
1858 java/awt/dnd/DragSource.java,
1859 java/awt/dnd/DragSourceContext.java,
1860 java/awt/event/HierarchyEvent.java,
1861 java/awt/event/MouseWheelEvent.java,
1862 java/awt/im/InputContext.java,
1863 java/awt/image/BufferedImage.java,
1864 java/awt/image/ComponentColorModel.java,
1865 java/awt/image/Raster.java,
1866 java/awt/image/WritableRaster.java,
1867 java/awt/peer/ComponentPeer.java,
1868 java/awt/print/PageFormat.java,
1869 java/awt/print/PrinterJob.java:
1870 New versions from Classpath.
1871
1872 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1873
1874 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1875 numberFormat.setParseIntegerOnly(true).
1876
1877 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1878
1879 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1880
1881 2003-06-03 Andrew Haley <aph@redhat.com>
1882
1883 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1884 stack volatile to prevent optimization from removing it.
1885
1886 2003-05-27 Michael Koch <konqueror@gmx.de>
1887
1888 * java/util/zip/Deflater.java
1889 (FILTERED): Merged documentation from classpath.
1890 * java/util/zip/DeflaterOutputStream.java
1891 (DeflaterOutputStream): Merged documentation and argument validity
1892 check from classpath.
1893 (deflate): Merged documentation from classpath.
1894 (finish): Likewise.
1895 * java/util/zip/Inflater.java
1896 (Inflater): Merged class documentation from classpath.
1897 (zstream): Reordered.
1898 (is_finished): Reordered.
1899 (dict_needed): Reordered.
1900 (Inflater): Reordered, merged documentation from classpath.
1901 (end): Likewise.
1902 (finalize): Merged documentation from classpath.
1903 (finished): Likewise.
1904 (getAdler): Likewise.
1905 (getRemaining): Likewise.
1906 (getTotalIn): Likewise.
1907 (getTotalOut): Likewise.
1908 (inflate): Likewise.
1909 (needsDictionary): Likewise.
1910 (needsInput): Likewise.
1911 (reset): Likewise.
1912 (setDictionary): Likewise.
1913 (setInput): Likewise.
1914
1915 2003-05-27 Michael Koch <konqueror@gmx.de>
1916
1917 * java/net/URLConnection.java
1918 (getHeaderFieldInt): Merged with classpath.
1919
1920 2003-05-27 Michael Koch <konqueror@gmx.de>
1921
1922 * java/io/PrintStream.java
1923 (PrintStream): Reformatted.
1924 (PrintStream): New method, merged from classpath.
1925 (write): Reformatted.
1926
1927 2003-05-27 Michael Koch <konqueror@gmx.de>
1928
1929 * java/lang/System.java:
1930 Explicitely import needed classes.
1931
1932 2003-05-26 Michael Koch <konqueror@gmx.de>
1933
1934 * java/net/NetPermission.java,
1935 java/net/NetworkInterface.java,
1936 java/net/PasswordAuthentication.java,
1937 java/net/SocketPermission.java:
1938 New versions from classpath.
1939
1940 2003-05-25 Michael Koch <konqueror@gmx.de>
1941
1942 * java/io/PushbackInputStream.java,
1943 java/net/Authenticator.java,
1944 java/net/ContentHandler.java,
1945 java/net/ContentHandlerFactory.java,
1946 java/net/DatagramSocket.java,
1947 java/net/DatagramSocketImpl.java,
1948 java/net/DatagramSocketImplFactory.java,
1949 java/net/FileNameMap.java,
1950 java/net/SocketImplFactory.java,
1951 java/net/SocketOptions.java,
1952 java/net/URLStreamHandlerFactory.java:
1953 Merged new versions from classpath.
1954
1955 2003-05-25 Michael Koch <konqueror@gmx.de>
1956
1957 * java/awt/Checkbox.java,
1958 java/awt/Dialog.java,
1959 java/awt/Font.java,
1960 java/awt/Frame.java,
1961 java/awt/ScrollPaneAdjustable.java,
1962 java/awt/Scrollbar.java,
1963 java/awt/Window.java:
1964 New versions from classpath.
1965
1966 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1967
1968 PR libgcj/10838:
1969 * java/io/ObjectInputStream (enableResolveObject):
1970 Fixed spelling of permission name.
1971
1972 2003-05-20 Michael Koch <konqueror@gmx.de>
1973
1974 * java/io/DataInputStream.java
1975 (convertFromUTF): Merged comment from classpath.
1976 * java/io/PrintStream.java
1977 (error_occured): Renamed from error, merged comment from classpath.
1978 (PrintStream): No need to initialized error.
1979 (checkError): Replace error with error_occurred.
1980 (setError): Likewise.
1981
1982 2003-05-20 Michael Koch <konqueror@gmx.de>
1983
1984 * java/io/DataInputStream.java:
1985 Reformatted, Replaced < and & with html entitites in documentation.
1986 * java/io/File.java:
1987 Reformatted.
1988 * java/io/PrintWriter.java:
1989 Moved class documentation.
1990
1991 2003-05-20 Michael Koch <konqueror@gmx.de>
1992
1993 * gnu/java/nio/ByteBufferImpl.java,
1994 gnu/java/nio/CharBufferImpl.java,
1995 gnu/java/nio/CharViewBufferImpl.java,
1996 gnu/java/nio/DirectByteBufferImpl.java,
1997 gnu/java/nio/DoubleBufferImpl.java,
1998 gnu/java/nio/DoubleViewBufferImpl.java,
1999 gnu/java/nio/FloatBufferImpl.java,
2000 gnu/java/nio/FloatViewBufferImpl.java,
2001 gnu/java/nio/IntBufferImpl.java,
2002 gnu/java/nio/IntViewBufferImpl.java,
2003 gnu/java/nio/LongBufferImpl.java,
2004 gnu/java/nio/LongViewBufferImpl.java,
2005 gnu/java/nio/natDirectByteBufferImpl.cc,
2006 gnu/java/nio/ShortBufferImpl.java,
2007 gnu/java/nio/ShortViewBufferImpl.java:
2008 Moved files to java/nio.
2009 * gnu/java/nio/SocketChannelImpl.java
2010
2011 * java/nio/ByteBuffer.java,
2012 java/nio/CharBuffer.java,
2013 java/nio/DoubleBuffer.java,
2014 java/nio/FloatBuffer.java,
2015 java/nio/IntBuffer.java,
2016 java/nio/LongBuffer.java,
2017 java/nio/ShortBuffer.java:
2018 Dont import anything.
2019 * java/nio/ByteBufferImpl.java,
2020 java/nio/CharBufferImpl.java,
2021 java/nio/CharViewBufferImpl.java,
2022 java/nio/DirectByteBufferImpl.java,
2023 java/nio/DoubleBufferImpl.java,
2024 java/nio/DoubleViewBufferImpl.java,
2025 java/nio/FloatBufferImpl.java,
2026 java/nio/FloatViewBufferImpl.java,
2027 java/nio/IntBufferImpl.java,
2028 java/nio/IntViewBufferImpl.java,
2029 java/nio/LongBufferImpl.java,
2030 java/nio/LongViewBufferImpl.java,
2031 java/nio/natDirectByteBufferImpl.cc,
2032 java/nio/ShortBufferImpl.java,
2033 java/nio/ShortViewBufferImpl.java:
2034 Moved from gnu/java/nio.
2035 * Makefile.am
2036 (ordinary_java_source_files): Moved files from gnu/java/nio to
2037 java/nio.
2038 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
2039 to java/nio.
2040 * Makefile.in: Regenerated.
2041
2042 2003-05-19 Michael Koch <konqueror@gmx.de>
2043
2044 * java/util/Calendar.java
2045 (get): Not final anymore since JDK 1.4
2046 (set): Likewise.
2047
2048 2003-05-19 Michael Koch <konqueror@gmx.de>
2049
2050 * java/text/CollationKey.java:
2051 Merged copyright and dat from classpath.
2052 * java/text/RuleBasedCollator.java:
2053 Merged class documentation from classpath.
2054
2055 2003-05-19 Michael Koch <konqueror@gmx.de>
2056
2057 * java/nio/CharBuffer.java
2058 (toString): Compile fix.
2059
2060 2003-05-19 Michael Koch <konqueror@gmx.de>
2061
2062 * gnu/java/nio/ByteBufferImpl.java
2063 (putLong): Fixed conversion to bytes.
2064 (putDouble): Fixed conversion to bytes.
2065 * gnu/java/nio/DirectByteBufferImpl.java
2066 (putLong): Fixed conversion to bytes.
2067 (putDouble): Fixed conversion to bytes.
2068 * gnu/java/nio/FileLockImpl.java
2069 (isValid): Reformatted.
2070 * java/nio/Buffer.java
2071 (Buffer): Fixed off-by-one bug in handling mark.
2072 * java/nio/ByteBuffer.java:
2073 Added newline.
2074 * java/nio/CharBuffer.java
2075 (toString): Don't use relative get to get string data.
2076
2077 2003-05-16 Michael Koch <konqueror@gmx.de>
2078
2079 * java/io/natFileDescriptorPosix.cc
2080 (open): Commented out the O_SYNC and O_DSYNC usage until its better
2081 tested.
2082
2083 2003-05-14 Michael Koch <konqueror@gmx.de>
2084
2085 * gnu/java/nio/FileLockImpl.java
2086 (released): New member variable.
2087 (FileLockImpl): Initialize released.
2088 (releaseImpl): New native method.
2089 (release): Implemented.
2090 * gnu/java/nio/SelectorImpl.java: Reformatted.
2091 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
2092 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
2093 (accept): Throws IOException.
2094 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
2095 (implConfigureBlocking): Throws IOException.
2096 (connect): Likewise.
2097 (read): Likewise.
2098 (write): Likewise.
2099 * gnu/java/nio/natFileLockImpl.cc: New file.
2100 * java/nio/channels/FileLock.java: Reformatted.
2101 * Makefile.am:
2102 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
2103 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
2104 * Makefile.in: Regenerated.
2105
2106 2003-05-13 Michael Koch <konqueror@gmx.de>
2107
2108 * gnu/java/nio/CharViewBufferImpl.java
2109 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
2110 (get): Shift bits to the right direction.
2111 (put): Likewise.
2112 * gnu/java/nio/DoubleViewBufferImpl.java
2113 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
2114 (get): Shift bits to the right direction.
2115 (put): Likewise.
2116 * gnu/java/nio/FloatViewBufferImpl.java
2117 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
2118 (get): Shift bits to the right direction.
2119 (put): Likewise.
2120 * gnu/java/nio/IntViewBufferImpl.java
2121 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
2122 (get): Shift bits to the right direction.
2123 (put): Likewise.
2124 * gnu/java/nio/LongViewBufferImpl.java
2125 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
2126 (get): Shift bits to the right direction.
2127 (put): Likewise.
2128 * gnu/java/nio/ShortViewBufferImpl.java
2129 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
2130 (get): Shift bits to the right direction.
2131 (put): Likewise.
2132
2133 2003-05-13 Michael Koch <konqueror@gmx.de>
2134
2135 * gnu/java/nio/natDirectByteBufferImpl.cc
2136 (allocateImpl): jlong -> RawData*.
2137 (freeImpl): Likewise.
2138
2139 2003-05-13 Michael Koch <konqueror@gmx.de>
2140
2141 * java/nio/channels/FileChannel.java
2142 (MapMode.m): Made it package-private to match JDK 1.4.
2143 * java/nio/charset/Charset.java
2144 (decode): Made it final to match JDK 1.4.
2145
2146 2003-05-13 Michael Koch <konqueror@gmx.de>
2147
2148 * java/io/FileDescriptor.java
2149 (SYNC): New constant.
2150 (DSYNC): Likewise.
2151 (getLength): Renamed from lenght() to match classpath's
2152 FileDescriptor.java.
2153 * java/io/RandomAccessFile.java
2154 (RandomAccessFile): Removed unneeded mode check, implemented mode
2155 "rws" and "rwd", merged documentation from classpath.
2156 (setLength): Reformatted.
2157 (length): Use new getLength() of FileDescriptor.
2158 * java/io/natFileDescriptorEcos.cc
2159 (getLength): Renamed from length().
2160 * java/io/natFileDescriptorPosix.cc
2161 (open): Implemented support for SYNC and DSYNC.
2162 (seek): Use getLength() instead of length().
2163 (getLength): Renamed from length().
2164 * java/io/natFileDescriptorWin32.cc
2165 (getLength): Renamed from length().
2166 (seek): Use getLength() instead of length().
2167 (available): Likewise.
2168 * gnu/java/nio/natFileChannelImpl.cc
2169 (size): Use getLength() instead of length().
2170
2171 2003-05-13 Michael Koch <konqueror@gmx.de>
2172
2173 * gnu/java/nio/ByteBufferImpl.java
2174 (ByteBufferImpl): All constructors revised.
2175 (slice): Reimplemented.
2176 (duplicate): Reimplemented.
2177 (asReadOnlyBuffer): Reimplemented.
2178 * java/nio/ByteBuffer.java:
2179 Reformatted.
2180 (array_offset): Renamed from "offset" to match all other buffer
2181 classes.
2182 (ByteBuffer): All constructors revised.
2183 (allocateDirect): Implemented.
2184 (allocate): New implementation, documentation reworked.
2185 (wrap): Likewise.
2186 (get): Documentation reworked.
2187 (put): New implementation, documentation reworked.
2188 (hasArray): Documentation reworked.
2189 (arrayOffset): Likewise.
2190 (hashCode): Likewise.
2191 (equals): Likewise.
2192 (compareTo): Likewise.
2193 (order): Likewise.
2194 (compact): Likewise.
2195 (isDirect): Likewise.
2196 (slice): Likewise.
2197 (duplicate): Likewise.
2198 (asReadOnlyBuffer): Likewise.
2199 * Makefile.am
2200 (ordinary_java_source_files):
2201 Added gnu/java/nio/DirectByteBufferImpl.java.
2202 (nat_source_files):
2203 Added gnu/java/nio/natDirectByteBufferImpl.cc.
2204 * Makefile.in: Regenerated.
2205
2206 2003-05-12 Michael Koch <konqueror@gmx.de>
2207
2208 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
2209 (nio_get_*): Removed.
2210 (nio_put_*): Removed.
2211 (as*Buffer): Implemented.
2212 (compact): Implemented.
2213 (get): Documentation added.
2214 (put): Documentation added.
2215 (get*): Newly implemented.
2216 (put*): Newly implemented.
2217 * gnu/java/nio/CharBufferImpl.java: Reformatted.
2218 (CharBufferImpl): Revised.
2219 (slice): New implementation.
2220 (duplicate): New implementation.
2221 (compact): New implementation.
2222 (asReadOnlyBuffer): New implementation.
2223 (get): Documentation revised.
2224 (order): Return native byte order.
2225 * gnu/java/nio/DirectByteBufferImpl.java
2226 (allocateDirect): objects can be null not 0.
2227 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
2228 (DoubleBufferImpl): Revised.
2229 (slice): New implementation.
2230 (duplicate): New implementation.
2231 (compact): New implementation.
2232 (asReadOnlyBuffer): New implementation.
2233 (get): Documentation revised.
2234 (order): Return native byte order.
2235 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
2236 (FloatBufferImpl): Revised.
2237 (slice): New implementation.
2238 (duplicate): New implementation.
2239 (compact): New implementation.
2240 (asReadOnlyBuffer): New implementation.
2241 (get): Documentation revised.
2242 (order): Return native byte order.
2243 * gnu/java/nio/IntBufferImpl.java: Reformatted.
2244 (IntBufferImpl): Revised.
2245 (slice): New implementation.
2246 (duplicate): New implementation.
2247 (compact): New implementation.
2248 (asReadOnlyBuffer): New implementation.
2249 (get): Documentation revised.
2250 (order): Return native byte order.
2251 * gnu/java/nio/LongBufferImpl.java: Reformatted.
2252 (LongBufferImpl): Revised.
2253 (slice): New implementation.
2254 (duplicate): New implementation.
2255 (compact): New implementation.
2256 (asReadOnlyBuffer): New implementation.
2257 (get): Documentation revised.
2258 (order): Return native byte order.
2259 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
2260 (ShortBufferImpl): Revised.
2261 (slice): New implementation.
2262 (duplicate): New implementation.
2263 (compact): New implementation.
2264 (asReadOnlyBuffer): New implementation.
2265 (get): Documentation revised.
2266 (order): Return native byte order.
2267 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
2268 (CharBuffer): Revised.
2269 (order): Removed.
2270 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
2271 (DoubleBuffer): Revised.
2272 (allocateDirect): Removed.
2273 (order): Removed.
2274 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
2275 (FloatBuffer): Revised.
2276 (allocateDirect): Removed.
2277 (order): Removed.
2278 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
2279 (IntBuffer): Revised.
2280 (allocateDirect): Removed.
2281 (order): Removed.
2282 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
2283 (LongBuffer): Revised.
2284 (allocateDirect): Removed.
2285 (order): Removed.
2286 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
2287 (ShortBuffer): Revised.
2288 (allocateDirect): Removed.
2289 (order): Removed.
2290 * gnu/java/nio/natByteBufferImpl.cc: Removed.
2291 * gnu/java/nio/natCharBufferImpl.cc: Removed.
2292 * Makefile.am
2293 (ordinary_java_source_files): Added the following files:
2294 gnu/java/nio/CharViewBufferImpl.java,
2295 gnu/java/nio/DoubleViewBufferImpl.java,
2296 gnu/java/nio/FloatViewBufferImpl.java,
2297 gnu/java/nio/IntViewBufferImpl.java,
2298 gnu/java/nio/LongViewBufferImpl.java,
2299 gnu/java/nio/ShortViewBufferImpl.java
2300 (nat_source_files): Removed the following files:
2301 gnu/java/nio/natByteBufferImpl.cc,
2302 gnu/java/nio/natCharBufferImpl.cc
2303 * Makefile.in: Regenerated.
2304
2305 2003-05-12 Michael Koch <konqueror@gmx.de>
2306
2307 * gnu/java/nio/CharViewBufferImpl.java,
2308 gnu/java/nio/DirectByteBufferImpl.java,
2309 gnu/java/nio/DoubleViewBufferImpl.java,
2310 gnu/java/nio/FloatViewBufferImpl.java,
2311 gnu/java/nio/IntViewBufferImpl.java,
2312 gnu/java/nio/LongViewBufferImpl.java,
2313 gnu/java/nio/ShortViewBufferImpl.java,
2314 gnu/java/nio/natDirectByteBufferImpl.cc:
2315 New files, not yet to be compiled.
2316
2317 2003-05-10 Michael Koch <konqueror@gmx.de>
2318
2319 * javax/swing/plaf/ButtonUI.java,
2320 javax/swing/plaf/ColorUIResource.java,
2321 javax/swing/plaf/ComponentUI.java,
2322 javax/swing/plaf/DimensionUIResource.java,
2323 javax/swing/plaf/FontUIResource.java,
2324 javax/swing/plaf/IconUIResource.java,
2325 javax/swing/plaf/InsetsUIResource.java,
2326 javax/swing/plaf/LabelUI.java,
2327 javax/swing/plaf/ListUI.java,
2328 javax/swing/plaf/OptionPaneUI.java,
2329 javax/swing/plaf/PanelUI.java,
2330 javax/swing/plaf/TabbedPaneUI.java,
2331 javax/swing/plaf/TextUI.java,
2332 javax/swing/plaf/TreeUI.java,
2333 javax/swing/plaf/ViewportUI.java,
2334 javax/swing/plaf/basic/BasicBorders.java,
2335 javax/swing/plaf/basic/BasicButtonUI.java,
2336 javax/swing/plaf/basic/BasicCheckBoxUI.java,
2337 javax/swing/plaf/basic/BasicDefaults.java,
2338 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2339 javax/swing/plaf/basic/BasicIconFactory.java,
2340 javax/swing/plaf/basic/BasicLabelUI.java,
2341 javax/swing/plaf/basic/BasicListUI.java,
2342 javax/swing/plaf/basic/BasicOptionPaneUI.java,
2343 javax/swing/plaf/basic/BasicPanelUI.java,
2344 javax/swing/plaf/basic/BasicRadioButtonUI.java,
2345 javax/swing/plaf/basic/BasicScrollPaneUI.java,
2346 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2347 javax/swing/plaf/basic/BasicTextUI.java,
2348 javax/swing/plaf/basic/BasicToggleButtonUI.java,
2349 javax/swing/plaf/basic/BasicTreeUI.java,
2350 javax/swing/plaf/basic/BasicViewportUI.java,
2351 javax/swing/plaf/metal/MetalLookAndFeel.java:
2352 New versions from classpath. This adds copyrights to all files and
2353 some serialVersionUIDs.
2354
2355 2003-05-10 Michael Koch <konqueror@gmx.de>
2356
2357 * java/nio/CharBuffer.java
2358 (offset): Make it package-private.
2359 (backing_buffer): Likewise.
2360 * java/nio/DoubleBuffer.java
2361 (offset): Make it package-private.
2362 (backing_buffer): Likewise.
2363 (put): Reformatted.
2364 * java/nio/FloatBuffer.java
2365 (offset): Make it package-private.
2366 (backing_buffer): Likewise.
2367 * java/nio/IntBuffer.java
2368 (offset): Make it package-private.
2369 (backing_buffer): Likewise.
2370 * java/nio/LongBuffer.java
2371 (offset): Make it package-private.
2372 (backing_buffer): Likewise.
2373 * java/nio/ShortBuffer.java
2374 (offset): Make it package-private.
2375 (backing_buffer): Likewise.
2376
2377 2003-05-10 Michael Koch <konqueror@gmx.de>
2378
2379 * java/nio/CharBuffer.java
2380 (put): Fixed precondtion check.
2381 (toString): Make it work without backing array.
2382 (put): Skip one level of method calling.
2383
2384 2003-05-10 Michael Koch <konqueror@gmx.de>
2385
2386 * java/security/Identity.java,
2387 java/security/IdentityScope.java,
2388 java/security/Key.java,
2389 java/security/KeyPair.java,
2390 java/security/PrivateKey.java,
2391 java/security/Provider.java,
2392 java/security/PublicKey.java,
2393 java/security/SecureRandom.java,
2394 java/security/SecureRandomSpi.java,
2395 java/security/SignedObject.java,
2396 java/security/Signer.java,
2397 java/security/cert/Certificate.java,
2398 java/security/cert/PKIXCertPathBuilderResult.java,
2399 java/security/cert/X509Certificate.java:
2400 New versions from classpath.
2401
2402 2003-05-09 Tom Tromey <tromey@redhat.com>
2403
2404 * Makefile.in: Rebuilt.
2405 * Makefile.am (nat_source_files): Removed old files.
2406 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
2407 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
2408 * gnu/java/nio/natIntBufferImpl.cc: Removed.
2409 * gnu/java/nio/natLongBufferImpl.cc: Removed.
2410 * gnu/java/nio/natShortBufferImpl.cc: Removed.
2411
2412 2003-05-09 Michael Koch <konqueror@gmx.de>
2413
2414 * gnu/java/nio/ByteBufferImpl.java
2415 (nio_cast): Removed.
2416 (ByteBufferImpl): Removed.
2417 (nio_get_Byte): Removed.
2418 (nio_put_Byte): Removed.
2419 (asByteBuffer): Removed.
2420 (asCharBuffer): Removed implementation and throw exception.
2421 (asShortBuffer): Likewise.
2422 (asIntBuffer): Likewise.
2423 (asLongBuffer): Likewise.
2424 (asFloatBuffer): Likewise.
2425 (asDoubleBuffer): Likewise.
2426 * gnu/java/nio/CharBufferImpl.java
2427 (CharBufferImpl): Removed.
2428 (nio_get_Byte): Removed.
2429 (nio_put_Byte): Removed.
2430 (asByteBuffer): Removed.
2431 * gnu/java/nio/DoubleBufferImpl.java
2432 (DoubleBufferImpl): Removed.
2433 (nio_get_Byte): Removed.
2434 (nio_put_Byte): Removed.
2435 (asByteBuffer): Removed.
2436 * gnu/java/nio/FloatBufferImpl.java
2437 (FloatBufferImpl): Removed.
2438 (nio_get_Byte): Removed.
2439 (nio_put_Byte): Removed.
2440 (asByteBuffer): Removed.
2441 * gnu/java/nio/IntBufferImpl.java
2442 (IntBufferImpl): Removed.
2443 (nio_get_Byte): Removed.
2444 (nio_put_Byte): Removed.
2445 (asByteBuffer): Removed.
2446 * gnu/java/nio/LongBufferImpl.java
2447 (LongBufferImpl): Removed.
2448 (nio_get_Byte): Removed.
2449 (nio_put_Byte): Removed.
2450 (asByteBuffer): Removed.
2451 * gnu/java/nio/ShortBufferImpl.java
2452 (ShortBufferImpl): Removed.
2453 (nio_get_Byte): Removed.
2454 (nio_put_Byte): Removed.
2455 (asByteBuffer): Removed.
2456 * gnu/java/nio/natByteBufferImpl.cc
2457 (nio_cast): Removed.
2458 (nio_get_Byte): Removed.
2459 (nio_put_Byte): Removed.
2460 * gnu/java/nio/natCharBufferImpl.cc
2461 (nio_get_Byte): Removed.
2462 (nio_put_Byte): Removed.
2463
2464 2003-05-09 Michael Koch <konqueror@gmx.de>
2465
2466 * java/net/JarURLConnection.java
2467 (getJarEntry): Merged documentation from classpath.
2468 (getJarFile): Likewise.
2469 (getMainAttributes): Likewise.
2470 (getAttributes): Likewise.
2471 (getManifest): Likewise.
2472 (getCertificates): Reformatted.
2473 * java/net/URLConnection.java:
2474 Little classpath merge.
2475
2476 2003-05-09 Michael Koch <konqueror@gmx.de>
2477
2478 * java/io/DataOutputStream.java
2479 (writeShort): Made it synchronized.
2480 (writeChar): Likewise.
2481 (writeInt): Likewise.
2482 (writeLong): Liekwise.
2483 (writeUTF): Made it synchronized, renamed argument to match classpath.
2484 * java/io/InputStreamReader.java
2485 (converter): Added documentation.
2486 (read): Merged documentation from classpath.
2487 * java/io/OutputStreamWriter.java
2488 (OutputStreamWriter): Merged documentation from classpath.
2489 (close): Reformatted.
2490 (getEncoding): Likewise.
2491 (flush): Likewise.
2492 (write): Merged documentation from classpath, reformatted.
2493
2494 2003-05-08 Tom Tromey <tromey@redhat.com>
2495
2496 * configure.host <powerpc64*-*>: Set with_libffi_default and
2497 libgcj_interpreter to "yes".
2498
2499 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2500
2501 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2502
2503 2003-05-06 Tom Tromey <tromey@redhat.com>
2504
2505 * verify.cc: Reverted previous patch.
2506
2507 2003-05-06 Michael Koch <konqueror@gmx.de>
2508
2509 * java/io/DataOutputStream.java
2510 (write): Renamed argument to "value", merged documentation from
2511 classpath.
2512 (writeBoolean): Likewise.
2513 (writeByte): Likewise.
2514 (writeShort): Likewise.
2515 (writeChar): Likewise.
2516 (writeInt): Likewise.
2517 (writeLong): Likewise.
2518 (writeFloat): Likewise.
2519 (writeDouble): Likewise.
2520 (writeBytes): Likewise.
2521 (writeChars): Likewise.
2522 (writeUTF): Likewise.
2523 * java/io/File.java
2524 (performDelete): Added documentation.
2525 (performList): Likewise.
2526 (performMkdir): Likewise.
2527 (performSetReadOnly): Likewise.
2528 (performRenameTo): Likewise.
2529 (performSetLastModified): Likewise.
2530 (delete): Made it sychronized.
2531 (renameTo): Made it sychronized.
2532 (equals): Reformatted.
2533 (isHidden): Likewise.
2534 (listFiles): Likewise.
2535 (setReadOnly): Likewise.
2536 (listRoots): Likewise.
2537 (setLastModified): Likewise.
2538 (checkRead): Likewise.
2539 (checkWrite): Likewise.
2540 * java/io/FileInputStream.java
2541 (skip): Made it sychronized, merged from classpath.
2542 * java/io/FileOutputStream.java
2543 (write): Merged from classpath.
2544 * java/io/InputStreamReader.java:
2545 (InputStreamReader): Merged documentation from classpath.
2546
2547 2003-05-05 Michael Koch <konqueror@gmx.de>
2548
2549 * java/net/NetworkInterface.java
2550 (networkInterfaces): Removed.
2551 (getByName): Use getRealNetworkInterfaces() instead of
2552 networkInterfaces.
2553 (getByInetAddress): Likewise.
2554 (getNetworkInterfaces): Likewise.
2555 (toString): Fix output of addresses of an interface.
2556
2557 2003-05-05 Michael Koch <konqueror@gmx.de>
2558
2559 * java/io/DataInputStream.java:
2560 Merged new documentation from classpath.
2561
2562 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2563
2564 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2565 "version".
2566 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2567 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2568 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2569 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2570 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2571 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2572 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2573 * java/security/Key.java: Likewise.
2574 * java/security/PrivateKey.java: Likewise.
2575 * java/security/Provider.java: Likewise.
2576 * java/security/PublicKey.java: Likewise.
2577
2578 2003-05-02 Michael Koch <konqueror@gmx.de>
2579
2580 * java/net/URI.java
2581 (create): Doesnt throws any exceptions.
2582 * java/net/URLConnection.java
2583 (URLConnection): Commend added.
2584 (getExpiration): The header field is called "expires" not
2585 "expiration".
2586 (getHeaderField): Merged documentation with classpath.
2587 (getHeaderFieldInt): Likewise.
2588 (getHeaderFieldDate): Likewise.
2589 (getHeaderFieldKey): Likewise.
2590 (getPermission): Likewise.
2591 (setDefaultUseCaches): Likewise.
2592 (setRequestProperty): Likewise.
2593 (addRequestProperty): Likewise.
2594 (getRequestProperty): Likewise.
2595 (getRequestProperties): Likewise.
2596 (setDefaultRequestProperty): Likewise.
2597 (getDefaultRequestProperty): Likewise.
2598 (guessContentTypeFromStream): Likewise.
2599 (getFileNameMap): Likewise.
2600 (setFileNameMap): Likewise.
2601 (setDoInput): Merged implementation and documentation with classpath.
2602 (setDoOutput): Likewise.
2603 (setAllowUserInteraction): Likewise.
2604 (setDefaultAllowUserInteraction): Likewise.
2605 (setContentHandlerFactory): Made it synchronized, merged documentation
2606 with classpath.
2607 (guessContentTypeFromName): Renamed argument fname to filename to
2608 match classpath, merged documentation with classpath.
2609
2610 2003-05-02 Michael Koch <konqueror@gmx.de>
2611
2612 * java/net/JarURLConnection.java
2613 (JarURLConnection): Class documentation merged with classpath.
2614 (getJarFileURL): Moved and documentation merged with classpath.
2615 (getEntryName): Likewise.
2616 (JarURLConnection): Documentation merged with classpath.
2617 (getJarEntry): Likewise.
2618 (getJarFile): Likewise.
2619 * java/net/PlainDatagramSocketImpl.java:
2620 Class documentation moved.
2621 * java/net/URLConnection.java
2622 (fileNameMap): Moved and documentation merged with classpath.
2623 (factory): Likewise.
2624 (defaultAllowUserInteraction): Likewis.
2625 (defaultUseCaches): Likewise.
2626 (allowUserInteraction): Likewise.
2627 (connected): Likewise.
2628 (url): Likewise.
2629 (connect): Documentation merged with classpath.
2630 (getURL): Likewise.
2631 (getContentLength): Likewise.
2632 (getContentType): Likewise.
2633 (getContentEncoding): Likewise.
2634 (getExpiration): Likewise.
2635 (getDate): Likewise.
2636 (getLastModified): Likewise.
2637 (getHeaderField): Likewise.
2638 (getContent): Likewise.
2639 (getPermission): Likewise.
2640 (getInputStream): Likewise.
2641 (getOutputStream): Likewise.
2642 (toString): Likewise.
2643 (getDoInput): Likewise.
2644 (getDoOutput): Likewise.
2645 (setAllowUserInteraction): Likewise.
2646 (getAllowUserInteraction): Likewise.
2647 (setDefaultAllowUserInteraction): Likewise.
2648 (getDefaultAllowUserInteraction): Likewise.
2649 (setUseCaches): Likewise.
2650 (getUseCaches): Likewise.
2651 (setIfModifiedSince): Likewise.
2652 (getIfModifiedSince): Likewise.
2653 (setDefaultRequestProperty): Likewise.
2654 (getDefaultRequestProperty): Likewise.
2655 (setContentHandlerFactory): Likewise.
2656 (setFileNameMap): Likewise.
2657
2658 2003-05-02 Michael Koch <konqueror@gmx.de>
2659
2660 * java/net/InetAddress.java:
2661 Merged class documentation with classpath.
2662 * java/net/JarURLConnection.java:
2663 Explicitely import all used classes.
2664 * java/net/URL.java:
2665 Reformatting.
2666 * java/net/ServerSocket.java,
2667 java/net/Socket.java:
2668 New versions from classpath.
2669
2670 2003-05-02 Michael Koch <konqueror@gmx.de>
2671
2672 * gnu/java/nio/FileChannelImpl.java
2673 (read): New implementation.
2674 (implRead): New methods.
2675 (write): New implementation, call other write insteal of read method.
2676 (implWrite): New methods.
2677 (map): Added comment.
2678 (transferFrom): Implemented.
2679 (transferTo): Implemented.
2680 (lock): Added checks to throw exceptions.
2681 (truncate): Added check to throw exception.
2682 * gnu/java/nio/natFileChannelImpl.cc
2683 (implRead): New method.
2684 (implWrite): New method.
2685 * java/nio/ByteBuffer.java
2686 (hashCode): Fixed comment.
2687 (get): Fixed exception documentation.
2688 (put): Fixed exception documentation.
2689 * java/nio/CharBuffer.java:
2690 Added comment for later optimizations.
2691
2692 2003-04-30 Tom Tromey <tromey@redhat.com>
2693
2694 PR libgcj/10582:
2695 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2696 Removed.
2697 (type::compatible): Use _Jv_IsAssignableFrom.
2698 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2699 (_Jv_IsAssignableFrom): Work even when source or target class is
2700 not prepared.
2701
2702 2003-04-30 Michael Koch <konqueror@gmx.de>
2703
2704 * java/text/BreakIterator.java
2705 (clone): New method.
2706
2707 2003-04-30 Michael Koch <konqueror@gmx.de>
2708
2709 * java/text/CollationElementIterator.java,
2710 java/text/CollationKey.java,
2711 java/text/RuleBasedCollator.java:
2712 Merged copyright and documentation from classpath and
2713 rearranged some code. No code changes done.
2714
2715 2003-04-30 Michael Koch <konqueror@gmx.de>
2716
2717 * java/util/regex/Matcher.java
2718 (pattern): New member variable.
2719 (appendReplacement): New method.
2720 (appendTail): New method.
2721 (end): New method.
2722 (find): New method.
2723 (group): New method.
2724 (replaceFirst): Added documentation.
2725 (replaceAll): Added documentation.
2726 (groupCount): New method.
2727 (lookingAt): New method.
2728 (matches): New method.
2729 (reset): New method.
2730 (start): New method.
2731 * java/util/regex/Pattern.java
2732 (serialVersionUID): New constant.
2733 (CANON_EQ): New constant.
2734 (CASE_INSENSITIVE): New constant.
2735 (COMMENTS): New constant.
2736 (DOTALL): New constant.
2737 (MULTILINE): New constant.
2738 (UNICODE_CASE): New constant.
2739 (UNIX_LINES): New constant.
2740 (regex): New member variable.
2741 (flags): New member variable.
2742 (Pattern): New method.
2743 (compile): Documentation added.
2744 (flags): New method.
2745 (matches): Documentation added.
2746 (matcher): Documentation added.
2747 (split): Documentation added.
2748 (pattern): New method.
2749
2750 2003-04-30 Michael Koch <konqueror@gmx.de>
2751
2752 * gnu/java/security/Engine.java,
2753 gnu/java/security/OID.java,
2754 gnu/java/security/der/BitString.java,
2755 gnu/java/security/der/DER.java,
2756 gnu/java/security/der/DERReader.java,
2757 gnu/java/security/der/DERValue.java,
2758 gnu/java/security/der/DERWriter.java,
2759 gnu/java/security/provider/DSAKeyFactory.java,
2760 gnu/java/security/provider/X509CertificateFactory.java,
2761 gnu/java/security/x509/X500DistinguishedName.java,
2762 gnu/java/security/x509/X509CRL.java,
2763 gnu/java/security/x509/X509CRLEntry.java,
2764 gnu/java/security/x509/X509Certificate.java,
2765 java/security/cert/CRLSelector.java,
2766 java/security/cert/CertPathBuilder.java,
2767 java/security/cert/CertPathBuilderResult.java,
2768 java/security/cert/CertPathBuilderSpi.java,
2769 java/security/cert/CertPathParameters.java,
2770 java/security/cert/CertPathValidator.java,
2771 java/security/cert/CertPathValidatorResult.java,
2772 java/security/cert/CertPathValidatorSpi.java,
2773 java/security/cert/CertSelector.java,
2774 java/security/cert/CertStore.java,
2775 java/security/cert/CertStoreParameters.java,
2776 java/security/cert/CertStoreSpi.java,
2777 java/security/cert/CollectionCertStoreParameters.java,
2778 java/security/cert/LDAPCertStoreParameters.java,
2779 java/security/cert/PKIXBuilderParameters.java,
2780 java/security/cert/PKIXCertPathBuilderResult.java,
2781 java/security/cert/PKIXCertPathChecker.java,
2782 java/security/cert/PKIXCertPathValidatorResult.java,
2783 java/security/cert/PKIXParameters.java,
2784 java/security/cert/PolicyNode.java,
2785 java/security/cert/PolicyQualifierInfo.java,
2786 java/security/cert/TrustAnchor.java,
2787 javax/security/auth/x500/X500Principal.java:
2788 New files from classpath.
2789 * gnu/java/io/ASN1ParsingException.java,
2790 gnu/java/io/Base64InputStream.java,
2791 gnu/java/security/der/DEREncodingException.java,
2792 gnu/java/security/provider/DSAParameters.java,
2793 gnu/java/security/provider/DSASignature.java,
2794 gnu/java/security/provider/Gnu.java,
2795 gnu/java/security/provider/GnuDSAPrivateKey.java,
2796 gnu/java/security/provider/GnuDSAPublicKey.java,
2797 java/security/AlgorithmParameterGenerator.java,
2798 java/security/AlgorithmParameters.java,
2799 java/security/KeyFactory.java,
2800 java/security/KeyPairGenerator.java,
2801 java/security/KeyStore.java,
2802 java/security/MessageDigest.java,
2803 java/security/SecureClassLoader.java,
2804 java/security/SecureRandom.java,
2805 java/security/Security.java,
2806 java/security/Signature.java,
2807 java/security/cert/Certificate.java,
2808 java/security/cert/CertificateFactory.java,
2809 java/security/cert/CertificateFactorySpi.java,
2810 java/security/cert/X509CRL.java,
2811 java/security/cert/X509Certificate.java,
2812 java/security/spec/DSAPublicKeySpec.java:
2813 New versions from classpath.
2814 * gnu/java/security/provider/DERReader.java,
2815 gnu/java/security/provider/DERWriter.java,
2816 java/security/Engine.java: Removed.
2817 * Makefile.am
2818 (java_source_files, javax_source_files): Added new files.
2819 * Makefile.in: Regenerated.
2820
2821 2003-04-29 Michael Koch <konqueror@gmx.de>
2822
2823 * javax/swing/JTable.java
2824 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2825 (AUTO_RESIZE_LAST_COLUMN): New constant.
2826 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2827 (AUTO_RESIZE_OFF): New constant.
2828 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2829 (JTable): New method.
2830 (columnAdded): New method.
2831 (columnMarginChanged): New method.
2832 (columnMoved): New method.
2833 (columnRemoved): New method.
2834 (columnSelectionChanged): New method.
2835 (editingCanceled): New method.
2836 (editingStopped): New method.
2837 (getColumnModel): New method.
2838 (getPreferredScrollableViewportSize): New method.
2839 (getScrollableBlockIncrement): New method.
2840 (getScrollableTracksViewportHeight): New method.
2841 (getScrollableTracksViewportWidth): New method.
2842 (getScrollableUnitIncrement): New method.
2843 (getSelectedRow): New method.
2844 (getSelectionModel): New method.
2845 (tableChanged): New method.
2846 (setModel): New method.
2847 (setSelectionMode): New method.
2848 (setSelectionModel): New method.
2849 (setShowGrid): New method.
2850 (valueChanged): New method.
2851 * javax/swing/text/DefaultEditorKit.java
2852 (backwardAction): New constant.
2853 (beepAction): New constant.
2854 (beginAction): New constant.
2855 (beginLineAction): New constant.
2856 (beginParagraphAction): New constant.
2857 (beginWordAction): New constant.
2858 (copyAction): New constant.
2859 (cutAction): New constant.
2860 (defaultKeyTypedAction): New constant.
2861 (deleteNextCharAction): New constant.
2862 (deletePrevCharAction): New constant.
2863 (downAction): New constant.
2864 (endAction): New constant.
2865 (endLineAction): New constant.
2866 (endOfLineStringProperty): New constant.
2867 (endParagraphAction): New constant.
2868 (endWordAction): New constant.
2869 (forwardAction): New constant.
2870 (insertBreakAction): New constant.
2871 (insertContentAction): New constant.
2872 (insertTabAction): New constant.
2873 (nextWordAction): New constant.
2874 (pageDownAction): New constant.
2875 (pageUpAction): New constant.
2876 (pasteAction): New constant.
2877 (previousWordAction): New constant.
2878 (readOnlyAction): New constant.
2879 (selectAllAction): New constant.
2880 (selectionBackwardAction): New constant.
2881 (selectionBeginAction): New constant.
2882 (selectionBeginLineAction): New constant.
2883 (selectionBeginParagraphAction): New constant.
2884 (selectionBeginWordAction): New constant.
2885 (selectionDownAction): New constant.
2886 (selectionEndAction): New constant.
2887 (selectionEndLineAction): New constant.
2888 (selectionEndParagraphAction): New constant.
2889 (selectionEndWordAction): New constant.
2890 (selectionForwardAction): New constant.
2891 (selectionNextWordAction): New constant.
2892 (selectionPreviousWordAction): New constant.
2893 (selectionUpAction): New constant.
2894 (selectLineAction): New constant.
2895 (selectParagraphAction): New constant.
2896 (selectWordAction): New constant.
2897 (upAction): New constant.
2898 (writableAction): New constant.
2899
2900 2003-04-29 Michael Koch <konqueror@gmx.de>
2901
2902 * java/util/PropertyPermission.java:
2903 New version from classpath
2904 * java/util/ResourceBundle.java:
2905 Partly merged from classpath
2906 (getObject): Reformated.
2907 (tryBundle): Set foundBundle = null if no bundle found.
2908
2909 2003-04-29 Michael Koch <konqueror@gmx.de>
2910
2911 * javax/swing/AbstractListModel.java,
2912 javax/swing/DefaultBoundedRangeModel.java,
2913 javax/swing/DefaultSingleSelectionModel.java:
2914 New Versions from classpath.
2915
2916 2003-04-29 Michael Koch <konqueror@gmx.de>
2917
2918 * java/awt/Window.java
2919 (show): Call super.show() instead of setVisible() to avoid endless
2920 loop.
2921 (hide): Call super.hide() instead of setVisible() to avoid endless
2922 loop.
2923
2924 2003-04-29 Michael Koch <konqueror@gmx.de>
2925
2926 * java/util/zip/Deflater.java,
2927 java/util/zip/DeflaterOutputStream.java:
2928 Partly merged with classpath.
2929
2930 2003-04-27 Tom Tromey <tromey@redhat.com>
2931
2932 * java/lang/natString.cc (_Jv_AllocString): Initialize
2933 cachedHashCode.
2934 (init): Likewise.
2935 (_Jv_NewStringUtf8Const): Likewise.
2936
2937 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2938
2939 * include/jvm.h: (_Jv_GetNbArgs) added
2940 (_Jv_GetSafeArg) added
2941 (_Jv_SetArgs) added
2942 * prims.cc: (_Jv_GetNbArgs) implemented
2943 (_Jv_GetSafeArg) implemented
2944 (_Jv_SetArgs) implemented
2945 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2946 setting _Jv_argc and _Jv_argv
2947 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2948 instead of _Jv_argv
2949 * java/lang/natRuntime.cc: (insertSystemProperties) use
2950 _Jv_GetSafeArg() instead of _Jv_argv
2951
2952 2003-04-23 Tom Tromey <tromey@redhat.com>
2953
2954 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2955 required by this object. Search superclasses to find required
2956 alignment.
2957 (get_alignment_from_class): Use alignment of type as it appears
2958 in a struct.
2959 (ALIGNOF): New macro.
2960 (struct aligner): New helper structure.
2961
2962 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2963
2964 * java/awt/Container.java (addImpl): Enable paint events if adding
2965 a lightweight to a heavyweight.
2966 (addNotify): Ensure that peer is created before
2967 addNotifyContainerChildren.
2968 (addNotifyContainerChildren): Enable paint events if a heavyweight
2969 container contains a lightweight.
2970
2971 2003-04-20 Tom Tromey <tromey@redhat.com>
2972
2973 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2974 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2975 Classpath.
2976
2977 2003-04-19 Tom Tromey <tromey@redhat.com>
2978
2979 * java/sql/Date.java, java/sql/DriverManager.java,
2980 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2981 Classpath.
2982
2983 * Makefile.in: Rebuilt.
2984 * Makefile.am (ordinary_java_source_files): Added new files.
2985 * java/security/AlgorithmParameterGenerator.java,
2986 java/security/AlgorithmParameters.java, java/security/Engine.java,
2987 java/security/Identity.java, java/security/IdentityScope.java,
2988 java/security/KeyFactory.java,
2989 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2990 java/security/MessageDigest.java, java/security/Policy.java,
2991 java/security/ProtectionDomain.java,
2992 java/security/SecureRandom.java, java/security/Security.java,
2993 java/security/Signature.java, java/security/SignatureSpi.java,
2994 java/security/SignedObject.java, java/security/Signer.java,
2995 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2996 java/security/spec/PSSParameterSpec.java,
2997 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2998 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2999 Classpath.
3000
3001 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3002
3003 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
3004 (dispose): Null metrics.
3005 * gnu/awt/xlib/XToolkit.java (sync): Implement.
3006 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
3007 finalize.
3008 (finalize): Call dispose.
3009 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
3010 (gcCachedCount): New field.
3011 (finalize): New method.
3012 (putGCInCache): New method.
3013 (getGCFromCache): New method.
3014 * gnu/gcj/xlib/GC.java (GC): Make protected.
3015 (clone): Get new GC from cache if possible.
3016 (create): New static method.
3017 (dispose): Save old GC in cache.
3018 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
3019 deleting.
3020 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
3021 is null.
3022 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
3023 * java/awt/Container.java (visitChild): Dispose gfx2 when
3024 finished.
3025
3026 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
3027
3028 * java/math/BigInteger.java (probablePrime): New.
3029 * java/math/BigDecimal.java (unscaledValue): New.
3030
3031 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
3032
3033 * java/io/File.java (getAbsolutePath): On Windows, take care
3034 of paths like "C:", "G:foo\bar", etc.
3035 (getName): Make it work correctly on Windows.
3036 (getParent): Make it work correctly on Windows. For UNIX,
3037 fix bug that causes "/" to be returned as the parent of "/",
3038 instead of null as returned by Sun's JRE.
3039
3040 * java/io/natFileWin32.cc: Change copyright owner to FSF.
3041
3042 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3043
3044 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
3045 inner class.
3046 (CACHE_SIZE_PER_DISPLAY): New field
3047 (fontMetricsCache): New field
3048 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
3049 loading ISO10646-1 fonts.
3050
3051 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
3052
3053 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
3054 characters.
3055 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
3056 characters.
3057
3058 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
3059
3060 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
3061 floating point.
3062
3063 2003-04-15 Jakub Jelinek <jakub@redhat.com>
3064
3065 * configure.host (*-linux*): Don't set slow_pthread_self if primary
3066 installed libpthread is either linuxthreads with floating stacks or
3067 NPTL.
3068
3069 2003-04-14 Tom Tromey <tromey@redhat.com>
3070
3071 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
3072 of alignment.
3073
3074 2003-04-10 Tom Tromey <tromey@redhat.com>
3075
3076 * verify.cc (pop64): Removed.
3077 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
3078 exception if top-of-stack is narrow.
3079 (initialize_stack): Check to ensure that <init> is not static and
3080 <clinit> is.
3081
3082 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
3083
3084 * java/io/ObjectStreamException
3085 * java/io/FileFilter
3086 * java/io/FilenameFilter
3087 * java/io/ObjectInput
3088 * java/io/ObjectOutput
3089 * java/io/ObjectStreamConstants
3090 Minor doc fixes, format fixes, spelling corrections, etc.
3091 * java/io/DataInput
3092 Corrected code samples in Javadocs to match reality
3093 * java/io/DataOutput
3094 * java/io/ObjectInputValidation
3095 Major documentation fixes - all Javadocs re-written or updated
3096
3097 2003-04-06 Michael Koch <konqueror@gmx.de>
3098
3099 * java/net/URLConnection.java:
3100 Import classes directly.
3101 (URLConnection): Merged class documentation with classpath.
3102 (url): Moved, documentation from classpath added.
3103 (doInput): Moved, documentation from classpath added.
3104 (doOutput): Moved, documentation from classpath added.
3105 (allowUserInteraction): Moved.
3106 (useCaches): Moved, documentation from classpath added.
3107 (ifModifiedSince): Moved, documentation from classpath added.
3108 (connected): Moved, documentation from classpath added.
3109
3110 2003-04-06 Michael Koch <konqueror@gmx.de>
3111
3112 * java/io/FileInputStream.java
3113 (skip): Renamed some variables to match classpath, added
3114 checks from classpath.
3115
3116 2003-03-31 Michael Koch <konqueror@gmx.de>
3117
3118 * javax/swing/AbstractAction.java
3119 (AbstractAction): Reformatted.
3120 (serialVersionUID): New private member variable.
3121 * javax/swing/plaf/BorderUIResource.java
3122 (serialVersionUID): New private member variable.
3123 * javax/swing/plaf/basic/BasicLookAndFeel.java
3124 (serialVersionUID): New private member variable.
3125
3126 2003-03-31 Michael Koch <konqueror@gmx.de>
3127
3128 * java/sql/Date.java
3129 (valueOf): Deprecated, reformatted.
3130 (toString): Deprecated, reformatted.
3131 * java/sql/Time.java
3132 (valueOf): Deprecated, reformatted.
3133 (toString): Deprecated, reformatted.
3134
3135 2003-03-31 Michael Koch <konqueror@gmx.de>
3136
3137 * java/rmi/dgc/VMID.java
3138 (isUnique): Deprecated.
3139
3140 2003-03-31 Michael Koch <konqueror@gmx.de>
3141
3142 * java/io/File.java
3143 (separator): Merged documentation from classpath.
3144 (separatorChar): Merged documentation from classpath.
3145 (pathSeparator): Merged documentation from classpath.
3146 (pathSeparatorChar): Merged documentation from classpath.
3147 (path): Merged documentation from classpath.
3148 (canRead): Merged documentation from classpath.
3149 (canWrite): Merged documentation from classpath.
3150 (createNewFile): Merged documentation from classpath.
3151 (delete): Merged documentation from classpath.
3152 (equals): Merged documentation from classpath.
3153 (exists): Merged documentation from classpath.
3154 (File): Renamed p to name to match classpath, merged documentation
3155 from classpath.
3156 (getAbsolutePath): Merged documentation from classpath.
3157 (getCanonicalPath): Merged documentation from classpath.
3158 (getCanonicalFile): Merged documentation from classpath.
3159 (getName): Merged documentation from classpath.
3160 (getParent): Merged documentation from classpath.
3161 (getParentFile): Merged documentation from classpath.
3162 (getPath): Merged documentation from classpath.
3163 (hashCode): Merged documentation from classpath.
3164 (isAbsolute): Merged documentation from classpath.
3165 (isDirectory): Merged documentation from classpath.
3166 (isFile): Merged documentation from classpath.
3167 (isHidden): Merged documentation from classpath.
3168 (lastModified): Merged documentation from classpath.
3169 (length): Merged documentation from classpath.
3170 (list): Merged documentation from classpath.
3171 (listFiles): Merged documentation from classpath.
3172 (toString): Merged documentation from classpath.
3173 (toURL): Merged documentation from classpath.
3174 (mkdir): Merged documentation from classpath.
3175 (mkdirs): Merged documentation from classpath.
3176 (createTempFile): Merged documentation from classpath.
3177 (setReadOnly): Merged documentation from classpath.
3178 (listRoots): Merged documentation from classpath.
3179 (compareTo): Merged documentation from classpath.
3180 (renameTo): Merged documentation from classpath.
3181 (setLastModified): Merged documentation from classpath.
3182 * java/io/PrintStream.java
3183 (auto_flush): Merged documentation from classpath.
3184 (PrintStream): Merged documentation from classpath.
3185 (checkError): Merged documentation from classpath.
3186 (setError): Merged documentation from classpath.
3187 (close): Merged documentation from classpath.
3188 (flush): Merged documentation from classpath.
3189 (print): Merged documentation from classpath.
3190 (println): Merged documentation from classpath.
3191 (write): Renamed count to len to match classpath,
3192 merged documentation from classpath.
3193 * java/io/RandomAccessFile.java
3194 (readShort): Merged documentation from classpath.
3195 (readUnsignedByte): Merged documentation from classpath.
3196 (readUnsignedShort): Merged documentation from classpath.
3197 (readUTF): Merged documentation from classpath.
3198 (seek): Reformatted, merged documentation from classpath.
3199 (skipBytes): Renamed some variables to match classpath, reformatted,
3200 merged documentation from classpath.
3201 (write): Merged documentation from classpath.
3202 (writeBoolean): Merged documentation from classpath.
3203 (writeByte): Merged documentation from classpath.
3204 (writeShort): Merged documentation from classpath.
3205 (writeChar): Merged documentation from classpath.
3206 (writeInt): Merged documentation from classpath.
3207 (writeLong): Merged documentation from classpath.
3208 (writeFloat): Merged documentation from classpath.
3209 (writeDouble): Merged documentation from classpath.
3210 (writeBytes): Merged documentation from classpath.
3211 (writeChars): Merged documentation from classpath.
3212 (writeUTF): Reformatted.
3213 (getChannel): Reformatted.
3214
3215 2003-03-31 Michael Koch <konqueror@gmx.de>
3216
3217 * java/awt/font/TextAttribute.java
3218 (readResolve): Throws java.io.InvalidObjectException.
3219
3220 2003-03-31 Michael Koch <konqueror@gmx.de>
3221
3222 * java/rmi/server/LoaderHandler.java
3223 (loadClass): Deprecated.
3224 (getSecurityContext): Deprecated.
3225 * java/rmi/server/LogStream.java
3226 (getDefaultStream): Deprecated.
3227 (setDefaultStream): Deprecated.
3228 (getOutputStream): Deprecated.
3229 (setOutputStream): Deprecated.
3230 (write): Deprecated.
3231 (toString): Deprecated.
3232 (parseLevel): Deprecated.
3233 * java/rmi/server/Operation.java
3234 (Operation): Deprecated.
3235 (getOperation): Deprecated.
3236 (toString): Deprecated.
3237 * java/rmi/server/RemoteCall.java
3238 (getOutputStream): Deprecated.
3239 (releaseOutputStream): Deprecated.
3240 (getInputStream): Deprecated.
3241 (releaseInputStream): Deprecated.
3242 (getResultStream): Deprecated.
3243 (executeCall): Deprecated.
3244 (done): Deprecated.
3245 * java/rmi/server/RemoteRef.java
3246 (invoke): Deprecated.
3247 (newCall): Deprecated.
3248 (done): Deprecated.
3249 * java/rmi/server/RemoteStub.java
3250 (setRef): Deprecated.
3251 * java/rmi/server/Skeleton.java:
3252 No need to import java.lang.Exception explicitly.
3253 (dispatch): Deprecated.
3254 (getOperations): Deprecated.
3255
3256 2003-03-31 Michael Koch <konqueror@gmx.de>
3257
3258 * java/rmi/dgc/VMID.java,
3259 java/rmi/registry/RegistryHandler.java,
3260 java/rmi/server/LogStream.java,
3261 java/rmi/server/Operation.java,
3262 java/rmi/server/RemoteCall.java,
3263 java/rmi/server/RemoteRef.java,
3264 java/rmi/server/RemoteStub.java:
3265 Reformatted.
3266
3267 2003-03-31 Michael Koch <konqueror@gmx.de>
3268
3269 * javax/swing/AbstractCellEditor.java,
3270 javax/swing/AbstractListModel.java,
3271 javax/swing/ActionMap.java,
3272 javax/swing/BorderFactory.java,
3273 javax/swing/ButtonGroup.java,
3274 javax/swing/DefaultBoundedRangeModel.java,
3275 javax/swing/DefaultButtonModel.java,
3276 javax/swing/DefaultCellEditor.java,
3277 javax/swing/DefaultComboBoxModel.java,
3278 javax/swing/DefaultDesktopManager.java,
3279 javax/swing/DefaultListCellRenderer.java,
3280 javax/swing/DefaultSingleSelectionModel.java,
3281 javax/swing/InputMap.java,
3282 javax/swing/JComponent.java,
3283 javax/swing/JMenu.java,
3284 javax/swing/JSlider.java,
3285 javax/swing/KeyStroke.java,
3286 javax/swing/OverlayLayout.java,
3287 javax/swing/ScrollPaneLayout.java,
3288 javax/swing/SizeRequirements.java,
3289 javax/swing/UIManager.java,
3290 javax/swing/ViewportLayout.java,
3291 javax/swing/border/AbstractBorder.java,
3292 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3293 javax/swing/event/EventListenerList.java,
3294 javax/swing/table/AbstractTableModel.java,
3295 javax/swing/table/DefaultTableCellRenderer.java,
3296 javax/swing/table/DefaultTableColumnModel.java,
3297 javax/swing/table/DefaultTableModel.java,
3298 javax/swing/table/TableColumn.java,
3299 javax/swing/text/StyledEditorKit.java,
3300 javax/swing/tree/DefaultMutableTreeNode.java,
3301 javax/swing/tree/DefaultTreeModel.java,
3302 javax/swing/tree/DefaultTreeSelectionModel.java,
3303 javax/swing/tree/TreePath.java,
3304 javax/swing/undo/AbstractUndoableEdit.java,
3305 javax/swing/undo/StateEdit.java,
3306 javax/swing/undo/StateEditable.java,
3307 javax/swing/undo/UndoableEditSupport.java:
3308 Merges from classpath.
3309
3310 2003-03-30 Tom Tromey <tromey@redhat.com>
3311
3312 * java/lang/String.java (data, boffset, count): Documented.
3313 (String(byte[],String)): Reformatted.
3314 (String(byte[])): Likewise.
3315 (lastIndexOf(int)): Likewise.
3316 (lastIndexOf(String)): Likewise.
3317 (substring(int)): Renamed argument to match Classpath.
3318 (String(StringBuffer)): Don't share buffer if it is nearly empty.
3319
3320 * java/lang/String.java: Miscellaneous minor formatting changes
3321 to match Classpath more closely.
3322
3323 2003-03-29 Eric Blake <ebb9@email.byu.edu>
3324 Tom Tromey <tromey@redhat.com>
3325
3326 * java/lang/natString.cc (hashCode): Use cachedHashCode.
3327 (init()): Removed.
3328 (charAt): Put index in exception.
3329 (contentEquals): New method.
3330 Include StringBuffer.h.
3331 * java/lang/String.java (cachedHashCode): New field.
3332 (String()): Follow classpath implementation.
3333 (init()): Removed.
3334 (contentEquals): Declare.
3335 (subSequence): Don't declare IndexOutIfBoundsException in throws
3336 clause.
3337 (matches, replaceFirst, replaceAll, split): New methods from
3338 Classpath.
3339
3340 2003-03-29 Tom Tromey <tromey@redhat.com>
3341
3342 * java/lang/String.java: Reordered to follow Classpath; merged in
3343 javadoc.
3344
3345 * java/text/MessageFormat.java: Removed some whitespace.
3346
3347 * Makefile.in: Rebuilt.
3348 * Makefile.am (awt_java_source_files): Added new files.
3349 * gnu/javax/rmi/PortableServer.java,
3350 gnu/javax/rmi/CORBA/DelegateFactory.java,
3351 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3352 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3353 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3354 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3355 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3356 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
3357 javax/rmi/PortableRemoteObject.java,
3358 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
3359 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
3360 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
3361 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
3362 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
3363 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
3364
3365 * java/lang/natClass.cc (newInstance): Put method name in
3366 exception.
3367 (getConstructor): Likewise.
3368 (getDeclaredConstructor): Likewise.
3369 (getPrivateMethod): Likewise.
3370
3371 2003-03-28 Tom Tromey <tromey@redhat.com>
3372
3373 * java/lang/reflect/Proxy.java: New version from Classpath.
3374 * java/lang/Package.java: New version from Classpath.
3375
3376 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3377
3378 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
3379 * configure: Regenerate.
3380
3381 2003-03-28 Michael Koch <konqueror@gmx.de>
3382
3383 * java/io/File.java:
3384 Import needed classes instead of whole packages, merged class
3385 documentation with classpath, moved constants and variables to top of
3386 class.
3387 * java/io/PrintStream.java:
3388 Merged class documentation with classpath, moved constants and
3389 variables to top of class.
3390 * java/io/RandomAccessFile.java
3391 (RandomAccessFile): Merged with classpath.
3392 (read): Merged with classpath).
3393 (read*): Reformatted.
3394
3395 2003-03-28 Michael Koch <konqueror@gmx.de>
3396
3397 * java/io/FileDescriptor.java
3398 (finalize): Throws Throwable, not IOException.
3399 * java/io/ObjectOutputStream.java
3400 (PutField.put): Doesnt throws anything.
3401
3402 2003­03-28 Michael Koch <konqueror@gmx.de>
3403
3404 * java/io/FileOutputStream.java:
3405 Merged class documentation and authors with classpath.
3406 (FileOutputStream): Partly merged with classpath.
3407 (write): Merged with classpath.
3408 (getChannel): Make it synchronized instead of explicit block in this
3409 method.
3410 * java/io/RandomAccessFile.java:
3411 Merged class documentation and authors with classpath.
3412
3413 2003-03-26 Tom Tromey <tromey@redhat.com>
3414
3415 * java/lang/natRuntime.cc (insertSystemProperties): Set
3416 gnu.classpath.home.url.
3417 * Makefile.in: Rebuilt.
3418 * Makefile.am: Define LIBDIR.
3419
3420 2003-03-25 Michael Koch <konqueror@gmx.de>
3421
3422 * java/io/FileInputStream.java
3423 (read): Renamed b to buf and off to offset.
3424 * java/io/FileOutputStream.java
3425 (ch): Documentation added.
3426 (FileOutputStream): Documentation added.
3427 (getFD): Documentation added.
3428 (write): Documentation added.
3429 (close): Documentation added.
3430 (getChannel): Documentation added.
3431
3432 2003-03-24 Michael Koch <konqueror@gmx.de>
3433
3434 * java/io/DataOutputStream.java
3435 (write): Merged from classpath.
3436 * java/io/File.java:
3437 Merged copyrigth with classpath.
3438 * java/io/FileInputStream.java
3439 (getChannel): Made it synchronized instead of using a synchronized
3440 block.
3441 * java/io/FileOutputStream.java: Reformatted.
3442 * java/io/InputStreamReader.java
3443 (InputStreamReader): Renamed enc to encoding_name.
3444 (close): Merged documentation from classpath.
3445 (getEncoding): Merged documentation from classpath.
3446 (ready): Merged documentation from classpath.
3447 (read): Merged documentation from classpath.
3448 * java/io/LineNumberReader.java
3449 (lineNumber): Made it private.
3450 (LineNumberReader): Use Constant instead of a direct value.
3451 * java/io/OutputStreamWriter.java
3452 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3453 documentation from classpath.
3454 (close): Merged documentation from classpath.
3455 (flush): Merged documentation from classpath.
3456 (write): Merged documentation from classpath.
3457 * java/io/PrintStream.java: Reformatted.
3458
3459 2003-03-24 Michael Koch <konqueror@gmx.de>
3460
3461 * javax/swing/text/ComponentView.java
3462 (getComponent): Must be final.
3463 * javax/swing/tree/DefaultTreeCellRenderer.java:
3464 Reformatted.
3465 * javax/swing/undo/StateEditable.java:
3466 Reformatted.
3467
3468 2003-03-24 Michael Koch <konqueror@gmx.de>
3469
3470 * java/rmi/activation/ActivationInstantiator.java:
3471 Reformatted.
3472 * java/rmi/activation/Activator.java:
3473 Reformatted.
3474 * java/rmi/registry/RegistryHandler.java:
3475 Remerged from classpath.
3476
3477 2003-03-24 Michael Koch <konqueror@gmx.de>
3478
3479 * java/util/Date.java:
3480 Fixed documentation starting tag to make javadoc happy.
3481 * java/util/regex/Pattern.java
3482 (Pattern): Implements Serializable.
3483 * java/util/PatternSyntaxException.java
3484 (serialVersionUID): New member variable.
3485
3486 2003-03-24 Michael Koch <koqnueror@gmx.de>
3487
3488 * java/awt/ContainerOrderFocusTraversalPolicy.java
3489 (getFirstComponent): Implemented.
3490 (getLastComponent): Implemented.
3491 (getDefaultComponent): Implemented.
3492 (setImplicitDownCycleTraversal): Fixed implementation.
3493 * java/awt/Robot.java
3494 (Robot): Added documentation.
3495 * java/awt/Toolkit.java
3496 (getFontList): Deprecated.
3497 (getFontMetrics): Deprecated.
3498 (getPrintJob): Added documentation.
3499 (getSystemSelection): Added documentation.
3500 (getLockingKeyState): Added documentation.
3501 (setLockingKeyState): Added documentation.
3502 (createCustomCursor): Added documentation.
3503 (getBestCursorSize): Added documentation.
3504 (getMaximumCursorColors): Added documentation.
3505 (isFrameStateSupported): Added documentation.
3506
3507 2003-03-24 Michael Koch <konqueror@gmx.de>
3508
3509 * java/io/RandomAccessFile.java:
3510 More little merges with classpath. No code changes.
3511
3512 2003-03-24 Michael Koch <konqueror@gmx.de>
3513
3514 * java/net/natInetAddressNoNet.cc:
3515 Include stddef.h.
3516 * java/net/natPlainDatagramSocketImplNoNet.cc:
3517 Fixed inlcude of java/net/DatagramPacket.h.
3518 * java/net/natPlainSocketImplNoNet.cc:
3519 Include some missing classes.
3520
3521 2003-03-24 Michael Koch <konqueror@gmx.de>
3522
3523 * java/awt/dnd/DropTarget.java
3524 (DropTargetAutoScroller): According to the online documentation, this
3525 is protected, but in reality it is public.
3526 * java/awt/dnd/DropTargetContext.java
3527 (TransferableProxy): According to the online documentation, this
3528 is protected, but in reality it is public.
3529
3530 2003-03-24 Michael Koch <konqueror@gmx.de>
3531
3532 * java/io/DataInputStream.java
3533 (): Wrapped documentation line.
3534 (): Fixed @return tag.
3535 * java/io/DataOutputStream.java
3536 (written): Moved to top of class.
3537 (all methods): Merged documentation from classpath.
3538 * java/io/File.java:
3539 Merged copyright year with classpath.
3540 * java/io/FileInputStream.java
3541 (all methods): Merged documentation from classpath.
3542 * java/io/LineNumberReader.java
3543 (getLineNumber): Fixed @return tag.
3544 * java/io/ObjectInputStream.java.
3545 Reformatted.
3546 * java/io/ObjectOutputStream.java:
3547 Reformatted, fixed some @see tags.
3548 * java/io/OutputStreamWriter.java:
3549 Deleted empty line.
3550 * java/io/Writer.java:
3551 Reformatted.
3552
3553 2003-03-24 Michael Koch <konqueror@gmx.de>
3554
3555 * java/awt/Frame.java
3556 (DEFAULT_CURSOR): Fixed @deprecated tag.
3557 (setCursor): Fixed @deprecated tag.
3558
3559 2003-03-24 Michael Koch <konqueror@gmx.de>
3560
3561 * java/beans/beancontext/BeanContextEvent.java:
3562 Reformated.
3563
3564 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3565
3566 * java/lang/natStringBuffer.cc (regionMatches): New function.
3567 * java/lang/String.java (count): Now package-private.
3568 * java/lang/StringBuffer.java: Merged with Classpath.
3569
3570 2003-03-23 Michael Koch <konqueror@gmx.de>
3571
3572 * java/io/BufferedOutputStream.java:
3573 Reformated.
3574 * java/io/BufferedReader.java:
3575 Reformated.
3576 * java/io/ByteArrayOutputStream.java
3577 (size): Fixed @see tag.
3578 * java/io/CharArrayWriter.java
3579 (size): Fixed @see tag.
3580 * java/io/DataInput.java:
3581 Reformated.
3582 * java/io/DataOutput.java:
3583 Reformated.
3584 * java/io/DataOutputStream.java:
3585 Merged copyright years with classpath.
3586 * java/io/Externalizable.java:
3587 Reformated.
3588 * java/io/FileFilter.java:
3589 Reformated.
3590 * java/io/FileInputStream.java:
3591 Merged copyright years with classpath.
3592 * java/io/FileOutputStream.java:
3593 Merged copyright years with classpath.
3594 * java/io/FilePermission.java
3595 (FilePermission): Replaced @XXX with FIXME:.
3596 * java/io/FileWriter.java:
3597 Reformated.
3598 * java/io/FilenameFilter.java:
3599 Reformated.
3600 * java/io/FilterInputStream.java:
3601 Reformated.
3602 * java/io/FilterOutputStream.java:
3603 Reformated.
3604 * java/io/FilterReader.java:
3605 Reformated.
3606 * java/io/FilterWriter.java:
3607 Reformated.
3608 * java/io/LineNumberInputStream.java
3609 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3610 happy.
3611 (getLineNumber): Fixed @return tag.
3612 * java/io/ObjectInput.java:
3613 Reformated.
3614 * java/io/ObjectOutput.java:
3615 Reformated.
3616 * java/io/ObjectStreamClass.java:
3617 Reformated.
3618 * java/io/PrintStream.java:
3619 Merged copyright years with classpath.
3620 * java/io/PushbackReader.java
3621 (PushbackReader): Replaced @code with @param.
3622 * java/io/SerializablePermission.java:
3623 Reformated.
3624 * java/io/StreamTokenizer.java
3625 (resetSyntax): Fixed @see tag.
3626
3627 2003-03-22 Richard Henderson <rth@redhat.com>
3628
3629 * sysdep/ia64/locks.h: Include ia64intrin.h.
3630 (compare_and_swap): Use __sync_bool_compare_and_swap.
3631 (compare_and_swap_release): Expose ar.ccv assignment.
3632
3633 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3634
3635 * include/posix.h: Add suffix for darwin dynamic libraries.
3636
3637 2003-03-21 Michael Koch <konqueror@gmx.de>
3638
3639 * javax/swing/Action.java
3640 (ACCELERATOR_KEY): New constant.
3641 (ACTION_COMMAND_KEY): Likewise.
3642 (MNEMONIC_KEY): Likewise.
3643 * javax/swing/UnsupportedLookAndFeelException.java
3644 (UnsupportedLookAndFeelException): Must be public.
3645 * javax/swing/WindowConstants.java
3646 (EXIT_ON_CLOSE): New constant.
3647 * javax/swing/text/BadLocationException.java
3648 (offset): New member variable.
3649 (BadLocationException): New implementation, documentation added.
3650 (offsetRequested): New method.
3651 * javax/swing/text/Caret.java:
3652 Reformated.
3653 * javax/swing/text/Document.java:
3654 Reformated.
3655
3656 2003-03-21 Michael Koch <konqueror@gmx.de>
3657
3658 * java/rmi/activation/Activatable.java
3659 (serialVersionUID): New member variable.
3660 * java/rmi/activation/ActivationGroup.java
3661 (serialVersionUID): New member variable.
3662 * java/rmi/activation/ActivationGroupDesc.java
3663 (serialVersionUID): New member variable.
3664 * java/rmi/registry/Registry.java:
3665 Reformated.
3666 (Registry): Deprecated.
3667 * java/rmi/server/LoaderHandler.java
3668 Reformated.
3669 (LoaderHandler): Deprecated.
3670 * java/rmi/server/LogStream.java
3671 Reformated.
3672 (LogStream): Deprecated.
3673 * java/rmi/server/Operation.java
3674 (Operation): Deprecated.
3675 * java/rmi/server/RMIFailureHandler.java:
3676 Reformated.
3677 * java/rmi/server/RMISocketFactory.java:
3678 Reformated.
3679 * java/rmi/server/RemoteCall.java
3680 (RemoteCall): Deprecated.
3681 * java/rmi/server/RemoteStub.java:
3682 Reformated.
3683 * java/rmi/server/Skeleton.java
3684 Reformated.
3685 (Skeleton): Deprecated.
3686
3687 2003-03-21 Michael Koch <konqueror@gmx.de>
3688
3689 * java/io/LineNumberReader.java
3690 (LineNumberReader): Merged documentation with classpath.
3691 (getLineNumber): Likewise.
3692 (setLineNumber): Likewise.
3693 (mark): Likewise.
3694 (reset): Likewise.
3695 (read): Likewise.
3696 (readLine): Likewise.
3697 (skip): Likewise.
3698
3699 2003-03-21 Michael Koch <konqueror@gmx.de>
3700
3701 * java/rmi/RMISecurityManager.java
3702 (checkAccept): Removed.
3703 (checkAccess): Likewise.
3704 (checkAccess): Likewise.
3705 (checkAwtEventQueueAccess): Likewise.
3706 (checkConnect): Likewise.
3707 (checkCreateClassLoader): Likewise.
3708 (checkDelete): Likewise.
3709 (checkExec): Likewise.
3710 (checkExit): Likewise.
3711 (checkLink): Likewise.
3712 (checkListen): Likewise.
3713 (checkMemberAccess): Likewise.
3714 (checkMulticast): Likewise.
3715 (checkPackageAccess): Likewise.
3716 (checkPackageDefinition): Likewise.
3717 (checkPermission): Likewise.
3718 (checkPrintJobAccess): Likewise.
3719 (checkPropertiesAccess): Likewise.
3720 (checkPropertyAccess): Likewise.
3721 (checkRead): Likewise.
3722 (checkSecurityAccess): Likewise.
3723 (checkSetFactory): Likewise.
3724 (checkSystemClipboardAccess): Likewise.
3725 (checkTopLevelWindow): Likewise.
3726 (checkWrite): Likewise.
3727
3728 2003-03-20 Michael Koch <konqueror@gmx.de>
3729
3730 * gnu/java/nio/FileChannelImpl.java
3731 (address): Removed.
3732 (map_address): New member variable.
3733 (length): Make it package private.
3734 (fd): Make it package private.
3735 (buf): Make it package private.
3736 (file_obj): Make it package private.
3737 (FileChannelImpl): New constructor.
3738 (nio_mmap_file): Use RawData instead of long.
3739 (nio_munmap_file): Use RawData instead of long.
3740 (nio_msync): Use RawData instead of long.
3741 (implCloseChannel): New implementation using map_address.
3742 (read): Reformated.
3743 (map): Implemented.
3744 (create_direct_mapped_buffer): Implemented, use RawData, throws
3745 IOException.
3746 (force): Use map_address instead of address.
3747 * gnu/java/nio/MappedByteFileBuffer.java
3748 (address): Removed.
3749 (map_address): New member variable.
3750 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3751 (several methods): Use map_address instead of address, replaced long
3752 with RawData where appropriate.
3753 * gnu/java/nio/natFileChannelImpl.cc
3754 (nio_mmap_file): Replaced long with RawData.
3755 (nio_munmap_file): Replaced long with RawData.
3756 (nio_msync): Replaced long with RawData.
3757 * gnu/java/nio/natMappedByteFileBuffer.cc
3758 (several methods): Replaced long with RawData where appropriate.
3759
3760 2003-03-20 Michael Koch <konqueror@gmx.de>
3761
3762 * java/net/InetAddress.java,
3763 java/net/JarURLConnection.java,
3764 java/net/PlainDatagramSocketImpl.java,
3765 java/net/PlainSocketImpl.java,
3766 java/net/URLConnection.java:
3767 Merged copyright statements with classpath for easier merging.
3768
3769 2003-03-20 Michael Koch <konqueror@gmx.de>
3770
3771 * java/io/FileInputStream.java
3772 (getChannel): New implementation.
3773 * java/io/FileOutputStream.java
3774 (ch): New member variable.
3775 (getChannel): Implemented.
3776 * java/io/RandomAccessFile.java
3777 (RandomAccessFile): Throws FileNotFoundException instead of
3778 IOException.
3779 (getChannel): New method.
3780 (ch): New member variable.
3781
3782 2003-03-20 Michael Koch <konqueror@gmx.de>
3783
3784 * java/io/DataOutputStream.java,
3785 java/io/File.java,
3786 java/io/FileInputStream.java,
3787 java/io/FileOutputStream.java,
3788 java/io/InputStreamReader.java,
3789 java/io/LineNumberReader.java,
3790 java/io/OutputStreamWriter.java,
3791 java/io/PrintStream.java,
3792 java/io/RandomAccessFile.java:
3793 Merged copyright statements with classpath for easier merging.
3794
3795 2003-03-19 Michael Koch <konqueror@gmx.de>
3796
3797 * java/lang/Process.java:
3798 Merged from classpath.
3799
3800 2003-03-19 Michael Koch <konqueror@gmx.de>
3801
3802 * java/io/FileOutputStream.java
3803 (FileOutputStream): New constructor, merged from classpath.
3804 * java/io/FileWriter.java
3805 (FileWriter): New constructor, merged from classpath.
3806
3807 2003-03-18 Michael Koch <konqueror@gmx.de>
3808
3809 * java/awt/ScrollPane.java
3810 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3811 (getViewportSize): Likewise.
3812 (addNotify): Likewise.
3813 (removeNotify): Likewise.
3814 * java/awt/ScrollPaneAdjustable.java
3815 (ScrollPaneAdjustable): No longer extends Scrollbar.
3816 * java/beans/beancontext/BeanContextServices.java:
3817 Reformated.
3818 (getService): Added throws TooManyListenersException;
3819 * java/beans/beancontext/BeanContextServicesSupport.java:
3820 Reformated.
3821
3822 2003-03-18 Michael Koch <konqueror@gmx.de>
3823
3824 * java/io/BufferedOutputStream.java,
3825 java/io/DataInput.java,
3826 java/io/DataInputStream.java,
3827 java/io/DataOutput.java,
3828 java/io/Externalizable.java:
3829 More merges from classpath.
3830
3831 2003-03-18 Michael Koch <konqueror@gmx.de>
3832
3833 * configure.in: Fixed links to platform dependant java.net files.
3834 * configure: Regenerated.
3835 * java/net/natInetAddress.cc,
3836 java/net/natNetworkInterface.cc,
3837 java/net/natPlainDatagramSocketImpl.cc,
3838 java/net/natPlainSocketImpl.cc:
3839 Removed.
3840
3841 2003-03-18 Michael Koch <konqueror@gmx.de>
3842
3843 * configure.in: Create links to architecture dependent files,
3844 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3845 * configure: Regenerated.
3846 * java/net/natInetAddressNoNet.cc,
3847 java/net/natInetAddressPosix.cc,
3848 java/net/natInetAddressWin32.cc,
3849 java/net/natNetworkInterfaceNoNet.cc,
3850 java/net/natNetworkInterfacePosix.cc,
3851 java/net/natNetworkInterfaceWin32.cc,
3852 java/net/natPlainDatagramSocketImplNoNet.cc,
3853 java/net/natPlainDatagramSocketImplPosix.cc,
3854 java/net/natPlainDatagramSocketImplWin32.cc,
3855 java/net/natPlainSocketImplNoNet.cc,
3856 java/net/natPlainSocketImplPosix.cc,
3857 java/net/natPlainSocketImplWin32.cc: New files.
3858
3859 2003-03-18 Michael Koch <konqueror@gmx.de>
3860
3861 * java/io/BufferedReader.java,
3862 java/io/BufferedWriter.java,
3863 java/io/ByteArrayOutputStream.java,
3864 java/io/FileFilter.java,
3865 java/io/FilePermission.java,
3866 java/io/FileReader.java,
3867 java/io/FileWriter.java,
3868 java/io/FilenameFilter.java,
3869 java/io/FilterInputStream.java,
3870 java/io/FilterOutputStream.java,
3871 java/io/FilterReader.java,
3872 java/io/FilterWriter.java,
3873 java/io/ObjectInput.java,
3874 java/io/ObjectInputValidation.java,
3875 java/io/ObjectOutput.java,
3876 java/io/ObjectStreamField.java,
3877 java/io/PipedInputStream.java,
3878 java/io/PipedReader.java,
3879 java/io/PrintWriter.java,
3880 java/io/PushbackReader.java,
3881 java/io/Reader.java,
3882 java/io/SerializablePermission.java,
3883 java/io/StringReader.java,
3884 java/io/Writer.java:
3885 Merged from classpath.
3886
3887 2003-03-17 Michael Koch <konqueror@gmx.de>
3888
3889 * java/awt/ScrollPaneAdjustable.java:
3890 Compile fixes.
3891
3892 2003-03-17 Michael Koch <konqueror@gmx.de>
3893
3894 * java/net/DatagramSocket.java
3895 (connect): Fixed comment.
3896 * java/nio/ByteBuffer.java
3897 (hasArray): Fixed comment.
3898
3899 2003-03-17 Michael Koch <konqueror@gmx.de>
3900
3901 * java/beans/Beans.java:
3902 Explicitely import classes not packages.
3903 * java/beans/FeatureDescriptor.java
3904 (preferred): New member variable.
3905 (isPreferred): New method.
3906 (setPreferred): New method.
3907 * java/beans/PropertyEditorManager.java:
3908 Explicitely import used classes.
3909 * java/beans/beancontext/BeanContextChild.java:
3910 Added line wrapping.
3911 * java/beans/beancontext/BeanContextChildSupport.java:
3912 Reindented.
3913 * java/beans/beancontext/BeanContextEvent.java:
3914 Reindented.
3915
3916 2003-03-17 Michael Koch <konqueror@gmx.de>
3917
3918 * java/awt/Dialog.java
3919 (Dialog): New constructor, changed implementations, added
3920 documentation.
3921 * java/awt/ScrollPaneAdjustable.java
3922 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3923 Serializable.
3924 (serialVersionUID): New member variable.
3925 (sp): New member variable.
3926 (orientation): New member variable.
3927 (value): New member variable.
3928 (minimum): New member variable.
3929 (maximum): New member variable.
3930 (visibleAmount): New member variable.
3931 (unitIncrement): New member variable.
3932 (blockIncrement): New member variable.
3933 (AdjustmentListener): New member variable.
3934 (ScrollPaneAdjustable): New implementation.
3935 (addAdjustmentListener): New method.
3936 (removeAdjustmentListener): New method.
3937 (getAdjustmentListeners): New method.
3938 (getBlockIncrement): New method.
3939 (getMaximum): New method.
3940 (getMinimum): New method.
3941 (getOrientation): New method.
3942 (getUnitIncrement): New method.
3943 (getValue): New method.
3944 (getVisibleAmount): New method.
3945 (setBlockIncrement): New method.
3946 (setMaximum): Implemented.
3947 (setMinimum): Implemented.
3948 (setUnitIncrement): New method.
3949 (setValue): New method.
3950 (setVisibleAmount): Implemented.
3951 (paramString): New stubbed method.
3952 * java/awt/Window.java
3953 (show): Call setVisible().
3954 (hide): Call setVisible().
3955 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3956 and WINDOW_STATE_CHANGED.
3957 (processWindowFocusEvent): New method.
3958 (processWindowStateEvent): New method.
3959 (postEvent): Deprecated.
3960 (applyResourceBundle): Deprecated.
3961 * java/awt/datatransfer/DataFlavor.java
3962 (DataFlavor): Doesn't thow ClassNotFoundException.
3963
3964 2003-03-17 Michael Koch
3965
3966 * javax/print/attribute/Attribute.java,
3967 javax/print/attribute/AttributeSet.java,
3968 javax/print/attribute/PrintRequestAttributeSet.java:
3969 New files.
3970 * Makefile.am
3971 (javax_source_files): Added new files:
3972 javax/print/attribute/Attribute.java
3973 javax/print/attribute/AttributeSet.java
3974 javax/print/attribute/PrintRequestAttributeSet.java
3975 * Makefile.in: Regenerated.
3976
3977 2003-03-17 Michael Koch
3978
3979 * javax/print/attribute/Attribute.java,
3980 javax/print/attribute/AttributeSet.java,
3981 javax/print/attribute/PrintRequestAttributeSet.java:
3982 New files.
3983 * Makefile.am
3984 (awt_java_source_files): Added new files:
3985 javax/print/attribute/Attribute.java
3986 javax/print/attribute/AttributeSet.java
3987 javax/print/attribute/PrintRequestAttributeSet.java
3988 * Makefile.in: Regenerated.
3989
3990 2003-03-16 Tom Tromey <tromey@redhat.com>
3991
3992 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3993 Include platform.h.
3994 * java/lang/natRuntime.cc (insertSystemProperties): Use
3995 _Jv_platform_path_separator.
3996 (nativeGetLibname): Use _Jv_platform_file_separator.
3997 (_load): Use _Jv_platform_onload_names.
3998 (onload_names): New global.
3999 * include/win32.h (_Jv_platform_file_separator): New define.
4000 (_Jv_platform_path_separator): Likewise.
4001 (_Jv_platform_onload_names): Likewise.
4002 (_Jv_platform_ffi_abi): Likewise.
4003 * include/posix.h (_Jv_platform_file_separator): New define.
4004 (_Jv_platform_path_separator): Likewise.
4005 (_Jv_platform_onload_names): Likewise.
4006 (_Jv_platform_ffi_abi): Likewise.
4007
4008 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
4009
4010 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
4011
4012 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
4013
4014 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
4015 hierarchy loop.
4016 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
4017 list to Object,ObjectStreamClass, moved callReadMethod code up into
4018 readObject and added Class argument to all setXxxField calls.
4019 (callReadMethod): Changed Class argument to ObjectStreamClass to be
4020 consistent with ObjectOutputStream and to facilitate caching the
4021 Method in the future.
4022 (setBooleanField): Added Class argument.
4023 (setByteField): Likewise.
4024 (setCharField): Likewise.
4025 (setDoubleField): Likewise.
4026 (setFloatField): Likewise.
4027 (setIntField): Likewise.
4028 (setLongField): Likewise.
4029 (setShortField): Likewise.
4030 (setObjectField): Likewise.
4031 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
4032 class hierarchy loop.
4033 (defaultWriteObject): Call writeFields with new argument list.
4034 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
4035 list to Object,ObjectStreamClass, moved callWriteMethod up into
4036 writeObject and added Class argument to all getXxxField calls.
4037 (callWriteMethod): Added ObjectStreamClass argument to be able to
4038 get the proper class to call getMethod on (each class can have (or
4039 not have) its own writeObject method).
4040 (getBooleanField): Added Class argument.
4041 (getByteField): Likewise.
4042 (getCharField): Likewise.
4043 (getDoubleField): Likewise.
4044 (getFloatField): Likewise.
4045 (getIntField): Likewise.
4046 (getLongField): Likewise.
4047 (getShortField): Likewise.
4048 (getObjectField): Likewise.
4049 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
4050 facilitate caching the Method object in the future.
4051
4052 2003-03-12 Andreas Schwab <schwab@suse.de>
4053
4054 * configure.in: Avoid trailing /. in toolexeclibdir.
4055 * configure: Rebuilt.
4056
4057 2003-03-11 Michael Koch <konqueror@gmx.de>
4058
4059 * gnu/java/nio/ByteBufferImpl.java
4060 (putInt): Use limit() instead of limit.
4061 * gnu/java/nio/CharBufferImpl.java
4062 (slice): Fixed implementation.
4063 (subSequence): Better bounds checking.
4064 * gnu/java/nio/MappedByteFileBuffer.java:
4065 Import all needed classes directly.
4066 * java/nio/ByteBuffer.java
4067 (hashCode): New dummy method.
4068 * java/nio/CharBuffer.java
4069 (array_offset): New member variable.
4070 (hasArray): Fixed documentation.
4071 (arrayOffset): Return array_offset.
4072
4073 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
4074
4075 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
4076 setter; made return value of getter const char* instead of char*
4077 * prims.cc: removed all references to _Jv_ThisExecutable().
4078 These are in the platform-specific sections now.
4079 * posix.cc: define platform-specific _Jv_ThisExecutable().
4080 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
4081 * win32.cc: define platform-specific _Jv_ThisExecutable()
4082 using GetModuleFilename()
4083 * java/lang/natRuntime.cc: set gnu.gcj.progname property
4084 to argv[0] instead of _Jv_ThisExecutable()
4085
4086 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
4087
4088 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
4089 that is set if we are using addr2name.awk instead of addr2line.
4090 (NameFinder): Set usingAddr2name if using addr2name.awk.
4091 (getExternalLabel): New native method to convert a method
4092 name to an external label.
4093 (lookup): Convert name given by addr2line to an external label
4094 before demangling.
4095
4096 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
4097 constant representing the prefix attached to method names to
4098 convert them to an external label.
4099 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
4100 using LABEL_PREFIX.
4101
4102 2003-03-10 Tom Tromey <tromey@redhat.com>
4103
4104 * Makefile.in: Rebuilt.
4105 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
4106 (JC1FLAGS): Removed -Wno-deprecated.
4107
4108 2003-03-10 Michael Koch <konqueror@gmx.de>
4109
4110 * java/nio/ByteOrder.java
4111 (nativeOrder): Working implementation, added documentation.
4112 (toString): Added documentation.
4113
4114 2003-03-10 Michael Koch <konqueror@gmx.de>
4115
4116 * java/net/DatagramSocket.java,
4117 java/net/MulticastSocket.java,
4118 java/net/Socket.java,
4119 java/net/URL.java,
4120 java/net/URLConnection.java:
4121 Fixed some documentation tags to make javadoc and friends happy.
4122
4123 2003-03-10 Michael Koch <koqnueror@gmx.de>
4124
4125 * java/beans/beancontext/BeanContextServicesSupport.java,
4126 java/beans/beancontext/BeanContextSupport.java: New files.
4127 * Makefile.am
4128 (awt_source_files): Added new files.
4129 * Makefile.in: Regenerated.
4130
4131 2003-03-10 Michael Koch <konqueror@gmx.de>
4132
4133 * java/awt/FocusTraversalPolicy.java
4134 (FocusTraversalPolicy): Documentation added.
4135 (getComponentAfter): Documentation added.
4136 (getComponentBefore): Documentation added.
4137 (getFirstComponent): Documentation added.
4138 (getLastComponent): Documentation added.
4139 (getDefaultComponent): Documentation added.
4140 (getInitialComponent): Documentation added.
4141 * java/awt/ScrollPaneAdjustable.java
4142 (sp): New member variable.
4143 (orientation): New member variable.
4144 (value): New member variable.
4145 (minimum): New member variable.
4146 (maximum): New member variable.
4147 (visibleAmount): New member variable.
4148 (unitIncrement): New member variable.
4149 (blockIncrement): New member variable.
4150 (adjustmentListener): New member variable.
4151 (ScrollPaneAdjustable): Rewrote.
4152 (addAdjustmentListener): New method.
4153 (removeAdjustmentListener): New method.
4154 (getAdjustmentListeners): New method.
4155 (getBlockIncrement): New method.
4156 (getMaximum): New method.
4157 (getMinimum): New method.
4158 (getOrientation): New method.
4159 (getUnitIncrement): New method.
4160 (getValue): New method.
4161 (getVisibleAmount): New method.
4162 (setBlockIncrement): New method.
4163 (setUnitIncrement): New method.
4164 (setMaximum): Implemented.
4165 (setMinimum): Implemented.
4166 (setValue): New method.
4167 (setVisibleAmount): Implemented.
4168 (paramString): New method.
4169 * java/awt/Window.java
4170 (show): Use setVisible(true) instead of super.show().
4171 (hide): Use sevVisible(false) instead of super.hide().
4172 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
4173 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
4174 (postEvent): Deprecated.
4175 (applyResourceBundle): Deprecated.
4176 (processWindowFocusEvent): New method.
4177 (processWindowStateEvent): New method.
4178 * java/awt/datatransfer/DataFlavor.java: Reindented.
4179 * java/awt/font/TextHitInfo.java
4180 (charIndex): New member variable.
4181 (leadingEdge): New member variable.
4182 (TextHitInfo): New constructor.
4183 (getCharIndex): Implemented.
4184 (isLeadingEdge): Implemented.
4185 (getInsertionIndex): Implemented.
4186 (hashCode): Access charIndex directly.
4187 (equals): Reformated.
4188 (leading): Implemented.
4189 (trailing): Implemented.
4190 (beforeOffset): Implemented.
4191 (afterOffset): Implemented.
4192 (getOtherHit): Implemented.
4193 (getOffsetHit): Implemented.
4194 (toString): Implemented.
4195 * java/awt/image/BufferedImage.java
4196 (BufferedImage): Implements WritableRenderedImage.
4197 (observers): New member variable.
4198 (addTileObserver): New method.
4199 (removeTileObserver): New method.
4200
4201 2003-03-09 Tom Tromey <tromey@redhat.com>
4202
4203 PR libgcj/9934:
4204 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
4205 to lseek. Return 0 if we can't compute the value.
4206
4207 2003-03-03 Michael Koch <konqueror@gmx.de>
4208
4209 * java/net/NetworkInterface.java: Merged with classpath.
4210
4211 2003-03-03 Tom Tromey <tromey@redhat.com>
4212
4213 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
4214 of bytecode.
4215 (handle_ret_insn): Fail if returning to jsr that appears at end of
4216 bytecode.
4217
4218 2003-03-03 Michael Koch <konqueror@gmx.de>
4219
4220 * Makefile.am
4221 (ordinary_java_source_files):
4222 Added gnu/java/nio/MappedByteFileBuffer.java.
4223 (nat_source_files):
4224 Added gnu/java/nio/natMappedByteFileBuffer.cc.
4225 * Makefile.in: Regenerated.
4226
4227 2003-03-03 Michael Koch <konqueror@gmx.de>
4228
4229 * java/net/DatagramSocket.java
4230 (connect): Merged comment from classpath.
4231 (receive): Merged documentation from classpath.
4232 * java/net/Socket.java
4233 (setSoTimeout): Clarified documentation.
4234 * java/net/URL.java
4235 (getPath): Merged from classpath.
4236 (getUserInfo): Merged from classpath.
4237 (getQuery): Merged from classpath.
4238 * java/net/URLStreamHandler.java
4239 (toExternalForm): Merged from classpath.
4240
4241 2003-03-02 Mark Wielaard <mark@klomp.org>
4242
4243 * java/util/Properties.java (load): Only skip line if the first
4244 character is a comment, whitespaces don't count.
4245
4246 2003-03-02 Michael Koch <konqueror@gmx.de>
4247
4248 * java/net/NetPermission.java:
4249 Merged copyright with classpath.
4250
4251 2003-03-02 Michael Koch <konqueror@gmx.de>
4252
4253 * java/lang/Package.java:
4254 Remerged from classpath.
4255
4256 2003-03-02 Michael Koch <konqueror@gmx.de>
4257
4258 * java/net/HttpURLConnection.java
4259 (HTTP_SERVER_ERROR): Deprecated.
4260 * java/net/MulticastSocket.java
4261 (send): Replaced checkMulticast with appropriate checkPermission call,
4262 deprecated.
4263 * java/net/URLDecoder.java
4264 (decode): Deprecated.
4265 * java/net/URLEncoder.java
4266 (encode): Deprecated.
4267
4268 2003-03-02 Michael Koch <konqueror@gmx.de>
4269
4270 * javax/swing/text/Caret.java
4271 (getMagicCaretPosition): Fixed typo in method name.
4272 * javax/swing/text/DefaultCaret.java
4273 (getMagicCaretPosition): Fixed typo in method name.
4274
4275 2003-03-02 Michael Koch <konqueror@gmx.de>
4276
4277 * java/awt/List.java
4278 (setMultipleSelections): Deprecated.
4279 (delItem): Deprecated.
4280 * java/awt/MenuComponent.java
4281 (getPeer): Deprecated.
4282 * java/awt/ScrollPane.java
4283 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
4284 * java/awt/dnd/MouseDragGestureRecognizer.java
4285 (mouseClicked): Added comment.
4286 (mousePressed): Added comment.
4287 (mouseReleased): Added comment.
4288 (mouseEntered): Added comment.
4289 (mouseExited): Added comment.
4290 (mouseDragged): Added comment.
4291 (mouseMoved): Added comment.
4292 * java/awt/event/KeyEvent.java
4293 (KeyEvent): Deprecated.
4294 (setModifiers): Deprecated.
4295
4296 2003-03-02 Michael Koch <konqueror@gmx.de>
4297
4298 * gnu/java/nio/FileChannelImpl.java
4299 (fd): Type FileDescriptor instead of int.
4300 (lengthInternal): Removed.
4301 (FileChannelImpl): Fixed arguments, check type of file object.
4302 (size): Made it native.
4303 (implPosition): New native method.
4304 (implTruncate): New native method.
4305 (position): Implemented.
4306 (truncate): Implemented.
4307 (nio_mmap_file): Changed arguments.
4308 (nio_munmap_file): Changed arguments.
4309 (nio_msync): Changed arguments.
4310 * gnu/java/nio/natFileChannelImpl.cc
4311 (lengthInternal): Removed.
4312 (size): New method.
4313 (implPosition): New method.
4314 (implTruncate): New method.
4315 (nio_mmap_file): Changed arguments.
4316 (nio_munmap_file): Changed arguments.
4317 (nio_msync): Changed arguments.
4318
4319 2003-03-02 Michael Koch <konqueror@gmx.de>
4320
4321 * java/awt/dnd/DropTargetContext.java:
4322 Compile fix: Forgot to commit import.
4323
4324 2003-03-02 Michael Koch <konqueror@gmx.de>
4325
4326 * java/awt/Component.java,
4327 java/awt/ScrollPane.java:
4328 Fixed typos.
4329
4330 2003-03-02 Michael Koch <konqueror@gmx.de>
4331
4332 * java/awt/dnd/DnDEventMulticaster.java: New file.
4333 * java/awt/dnd/DragSource.java
4334 (flavorMap): New member variable.
4335 (dragSourceListener): New member variable.
4336 (dragSourceMotionListener): New member variable.
4337 (getFlavorMap): Implemented.
4338 (createDragGestureRecognizer): Implemented.
4339 (addDragSourceListener): Implemented.
4340 (removeDragSourceListener): Implemented.
4341 (getDragSourceListeners): Implemented.
4342 (addDragSourceMotionListener): Implemented.
4343 (removeDragSourceMotionListener): Implemented.
4344 (getDragSourceMotionListeners): Implemented.
4345 (getListeners): Implemented.
4346 * java/awt/dnd/DragSourceContext.java
4347 (peer): New member variable.
4348 (cursor): New member variable.
4349 (transferable): New member variable.
4350 (trigger): New member variable.
4351 (dragSourceListener): New member variable.
4352 (image): New member variable.
4353 (offset): New member variable.
4354 (DragSourceContext): Implemented.
4355 (getDragSource): Implemented.
4356 (getComponent): Implemented.
4357 (getTrigger): Implemented.
4358 (getSourceActions): Implemented.
4359 (setCursor): Implemented.
4360 (getCursor): Implemented.
4361 (addDragSourceListener): Implemented.
4362 (removeDragSourceListener): Implemented.
4363 (getTransferable): Implemented.
4364 * java/awt/dnd/DropTarget.java
4365 (DropTargetAutoScroller.component): New member variable.
4366 (DropTargetAutoScroller.point): New member variable.
4367 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
4368 (DropTargetAutoScroller.updateLocation): Implemented.
4369 (active): Renamed from isActive, defaults to true now.
4370 (component): New member variable.
4371 (flavorMap): New member variable.
4372 (actions): New member variable.
4373 (dropTargetContext): New member variable.
4374 (dropTargetListener): New member variable.
4375 (DropTarget): Implemented.
4376 (getComponent): Implemented.
4377 (setComponent): Implemented.
4378 (setDefaultActions): Implemented.
4379 (getDefaultActions): Implemented.
4380 (setActive): Use active instead of isActive.
4381 (isActive): Use active instead of isActive.
4382 (addDropTargetListener): Implemented.
4383 (removeDropTargetListener): Implemented.
4384 (getFlavorMap): Implemented.
4385 (setFlavorMap): Implemented.
4386 (getDropTargetContext): Implemented.
4387 (createDropTargetContext): Implemented.
4388 (createDropTargetAutoScroller): Implemented.
4389 * java/awt/dnd/DropTargetContext.java
4390 (TransferableProxy.getTransferDataFlavors): Implemented.
4391 (TransferableProxy.isDataFlavorSupported): Implemented.
4392 (TransferableProxy.getTransferData): Implemented.
4393 (dropTarget): New member variable.
4394 (dtcp): New member variable.
4395 (DropTargetContext): New package private constructor.
4396 (getDropTarget): Implemented.
4397 (getComponent): Implemented.
4398 (addNotify): Implemented.
4399 (removeNotify): Implemented.
4400 (getCurrentDataFlavorsAsList): Implemented.
4401 (isDataFlavorSupported): Implemented.
4402 * java/awt/dnd/MouseDragGestureRecognizer.java
4403 (registerListeners): Implemented.
4404 (unregisterListeners): Implemented.
4405 * Makefile.am
4406 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
4407 * Makefile.in: Regenerated.
4408
4409 2003-03-02 Michael Koch <konqueror@gmx.de>
4410
4411 * java/awt/Component.java
4412 (eventTypeEnabled): New method.
4413 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
4414 * java/awt/Container.java
4415 (changeSupport): New member variable.
4416 (addPropertyChangeListener): New methods.
4417 * java/awt/ContainerOrderFocusTraversalPolicy.java
4418 (ContainerOrderFocusTraversalPolicy): Added comment.
4419 (getComponentAfter): Throw exception, documentation added.
4420 (getComponentBefore): Throw exception, documentation added.
4421 (getFirstComponent): Throw exception, documentation added.
4422 (getLastComponent): Throw exception, documentation added.
4423 (getDefaultComponent): Throw exception, documentation added.
4424 * java/awt/EventQueue.java: Reindented.
4425 * java/awt/FocusTraversalPolicy.java:
4426 (FocusTraversalPolicy): Added comment.
4427 (getComponentAfter): Documentation added.
4428 (getComponentBefore): Documentation added.
4429 (getFirstComponent): Documentation added.
4430 (getLastComponent): Documentation added.
4431 (getDefaultComponent): Documentation added.
4432 (getInitialComponent): Documentation added.
4433 * java/awt/ScrollPane.java
4434 (wheelScrollingEnabled): New member variable.
4435 (ScrollPane): Initialize wheelScollingEnabled.
4436 (eventTypeEnabled): New method.
4437 (isWheelScrollingEnabled): New method.
4438 (setWheelScrollingEnabled): New method.
4439
4440 2003-03-02 Michael Koch <konqueror@gmx.de>
4441
4442 * java/net/DatagramSocket.java
4443 (closed): New member variable.
4444 (close): Use closed variable.
4445 (getInetAddress): No need to call isConnected().
4446 (getPort): No need to call isConnected().
4447 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4448 (isClosed): Reimplemented.
4449
4450 2003-03-02 Michael Koch <konqueror@gmx.de>
4451
4452 * configure.in: Added check for memory mapping of files.
4453 * configure: Regenerated.
4454 * config.h.in: Regenerated.
4455
4456 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4457
4458 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4459 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4460
4461 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4462
4463 * java/io/File.java (normalizePath): Remove trailing separator
4464 on Windows only if path is not of the form "x:\".
4465
4466 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4467 (java::io::File::attr): Change formatting a bit and use
4468 WIN32_EPOCH_MILLIS instead of magic numbers.
4469 (java::io::File::isAbsolute): Path must have at least 3
4470 characters for a UNC network path.
4471 (java::io::File::init_native): Define.
4472 (java::io::File::performCreate): Likewise.
4473 (java::io::File::performSetReadOnly): Likewise.
4474 (java::io::File::performSetLastModified): Likewise.
4475 (java::io::File::performListRoots): Likewise.
4476
4477 2003-03-01 Tom Tromey <tromey@redhat.com>
4478
4479 * java/lang/natObject.cc: Don't include assert.h.
4480 (heavy_lock_obj_finalization_proc): Use JvAssert.
4481 (remove_all_heavy): Likewise.
4482 (_Jv_MonitorEnter): Likewise.
4483 (_Jv_MonitorExit): Likewise.
4484 (wait): Likewise.
4485
4486 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4487
4488 * java/io/File (getAbsolutePath): Prefix drive specifier on
4489 Windows for paths starting with a '\'.
4490 (toURL): Make URL more consistent with what Sun's JDK returns.
4491
4492 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4493 true only if the path is a UNC network path or it starts with a
4494 drive specifier.
4495
4496 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4497 Be prepared to handle either '/' or '\\' in the file path for
4498 Windows if using the "file" protocol.
4499 Canonicalise the file path if using a relative path in the given
4500 context and the "file" protocol.
4501
4502 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4503
4504 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4505 program array element passed to CreateProcess.
4506
4507 2003-03-01 Tom Tromey <tromey@redhat.com>
4508
4509 * java/rmi/registry/RegistryHandler.java: Deprecate.
4510
4511 2003-03-01 Tom Tromey <tromey@redhat.com>
4512
4513 * javax/accessibility/AccessibleEditableText.java,
4514 javax/accessibility/AccessibleHyperlink.java: New versions from
4515 Classpath.
4516
4517 * gnu/java/locale/LocaleInformation_af_ZA.java,
4518 gnu/java/locale/LocaleInformation_ar_AE.java,
4519 gnu/java/locale/LocaleInformation_ar_BH.java,
4520 gnu/java/locale/LocaleInformation_ar_DZ.java,
4521 gnu/java/locale/LocaleInformation_ar_EG.java,
4522 gnu/java/locale/LocaleInformation_ar_IN.java,
4523 gnu/java/locale/LocaleInformation_ar_IQ.java,
4524 gnu/java/locale/LocaleInformation_ar_JO.java,
4525 gnu/java/locale/LocaleInformation_ar_KW.java,
4526 gnu/java/locale/LocaleInformation_ar_LB.java,
4527 gnu/java/locale/LocaleInformation_ar_LY.java,
4528 gnu/java/locale/LocaleInformation_ar_MA.java,
4529 gnu/java/locale/LocaleInformation_ar_OM.java,
4530 gnu/java/locale/LocaleInformation_ar_QA.java,
4531 gnu/java/locale/LocaleInformation_ar_SD.java,
4532 gnu/java/locale/LocaleInformation_ar_SY.java,
4533 gnu/java/locale/LocaleInformation_ar_TN.java,
4534 gnu/java/locale/LocaleInformation_ar_YE.java,
4535 gnu/java/locale/LocaleInformation_be_BY.java,
4536 gnu/java/locale/LocaleInformation_bn_IN.java,
4537 gnu/java/locale/LocaleInformation_br_FR.java,
4538 gnu/java/locale/LocaleInformation_bs_BA.java,
4539 gnu/java/locale/LocaleInformation_ca_ES.java,
4540 gnu/java/locale/LocaleInformation_cs_CZ.java,
4541 gnu/java/locale/LocaleInformation_cy_GB.java,
4542 gnu/java/locale/LocaleInformation_da_DK.java,
4543 gnu/java/locale/LocaleInformation_de_AT.java,
4544 gnu/java/locale/LocaleInformation_de_BE.java,
4545 gnu/java/locale/LocaleInformation_de_CH.java,
4546 gnu/java/locale/LocaleInformation_de_DE.java,
4547 gnu/java/locale/LocaleInformation_de_LU.java,
4548 gnu/java/locale/LocaleInformation_el_GR.java,
4549 gnu/java/locale/LocaleInformation_en_AU.java,
4550 gnu/java/locale/LocaleInformation_en_BW.java,
4551 gnu/java/locale/LocaleInformation_en_CA.java,
4552 gnu/java/locale/LocaleInformation_en_DK.java,
4553 gnu/java/locale/LocaleInformation_en_GB.java,
4554 gnu/java/locale/LocaleInformation_en_HK.java,
4555 gnu/java/locale/LocaleInformation_en_IE.java,
4556 gnu/java/locale/LocaleInformation_en_IN.java,
4557 gnu/java/locale/LocaleInformation_en_NZ.java,
4558 gnu/java/locale/LocaleInformation_en_PH.java,
4559 gnu/java/locale/LocaleInformation_en_SG.java,
4560 gnu/java/locale/LocaleInformation_en_US.java,
4561 gnu/java/locale/LocaleInformation_en_ZA.java,
4562 gnu/java/locale/LocaleInformation_en_ZW.java,
4563 gnu/java/locale/LocaleInformation_es_AR.java,
4564 gnu/java/locale/LocaleInformation_es_BO.java,
4565 gnu/java/locale/LocaleInformation_es_CL.java,
4566 gnu/java/locale/LocaleInformation_es_CO.java,
4567 gnu/java/locale/LocaleInformation_es_CR.java,
4568 gnu/java/locale/LocaleInformation_es_DO.java,
4569 gnu/java/locale/LocaleInformation_es_EC.java,
4570 gnu/java/locale/LocaleInformation_es_ES.java,
4571 gnu/java/locale/LocaleInformation_es_GT.java,
4572 gnu/java/locale/LocaleInformation_es_HN.java,
4573 gnu/java/locale/LocaleInformation_es_MX.java,
4574 gnu/java/locale/LocaleInformation_es_NI.java,
4575 gnu/java/locale/LocaleInformation_es_PA.java,
4576 gnu/java/locale/LocaleInformation_es_PE.java,
4577 gnu/java/locale/LocaleInformation_es_PR.java,
4578 gnu/java/locale/LocaleInformation_es_PY.java,
4579 gnu/java/locale/LocaleInformation_es_SV.java,
4580 gnu/java/locale/LocaleInformation_es_US.java,
4581 gnu/java/locale/LocaleInformation_es_UY.java,
4582 gnu/java/locale/LocaleInformation_es_VE.java,
4583 gnu/java/locale/LocaleInformation_et_EE.java,
4584 gnu/java/locale/LocaleInformation_eu_ES.java,
4585 gnu/java/locale/LocaleInformation_fa_IR.java,
4586 gnu/java/locale/LocaleInformation_fi_FI.java,
4587 gnu/java/locale/LocaleInformation_fo_FO.java,
4588 gnu/java/locale/LocaleInformation_fr_BE.java,
4589 gnu/java/locale/LocaleInformation_fr_CA.java,
4590 gnu/java/locale/LocaleInformation_fr_CH.java,
4591 gnu/java/locale/LocaleInformation_fr_FR.java,
4592 gnu/java/locale/LocaleInformation_fr_LU.java,
4593 gnu/java/locale/LocaleInformation_ga_IE.java,
4594 gnu/java/locale/LocaleInformation_gd_GB.java,
4595 gnu/java/locale/LocaleInformation_gl_ES.java,
4596 gnu/java/locale/LocaleInformation_gv_GB.java,
4597 gnu/java/locale/LocaleInformation_he_IL.java,
4598 gnu/java/locale/LocaleInformation_hi_IN.java,
4599 gnu/java/locale/LocaleInformation_hr_HR.java,
4600 gnu/java/locale/LocaleInformation_hu_HU.java,
4601 gnu/java/locale/LocaleInformation_id_ID.java,
4602 gnu/java/locale/LocaleInformation_it_CH.java,
4603 gnu/java/locale/LocaleInformation_it_IT.java,
4604 gnu/java/locale/LocaleInformation_iw_IL.java,
4605 gnu/java/locale/LocaleInformation_ja_JP.java,
4606 gnu/java/locale/LocaleInformation_ka_GE.java,
4607 gnu/java/locale/LocaleInformation_kl_GL.java,
4608 gnu/java/locale/LocaleInformation_ko_KR.java,
4609 gnu/java/locale/LocaleInformation_kw_GB.java,
4610 gnu/java/locale/LocaleInformation_lt_LT.java,
4611 gnu/java/locale/LocaleInformation_lv_LV.java,
4612 gnu/java/locale/LocaleInformation_mi_NZ.java,
4613 gnu/java/locale/LocaleInformation_mk_MK.java,
4614 gnu/java/locale/LocaleInformation_mr_IN.java,
4615 gnu/java/locale/LocaleInformation_mt_MT.java,
4616 gnu/java/locale/LocaleInformation_nl_BE.java,
4617 gnu/java/locale/LocaleInformation_nl_NL.java,
4618 gnu/java/locale/LocaleInformation_nn_NO.java,
4619 gnu/java/locale/LocaleInformation_no_NO.java,
4620 gnu/java/locale/LocaleInformation_oc_FR.java,
4621 gnu/java/locale/LocaleInformation_pl_PL.java,
4622 gnu/java/locale/LocaleInformation_pt_BR.java,
4623 gnu/java/locale/LocaleInformation_pt_PT.java,
4624 gnu/java/locale/LocaleInformation_ro_RO.java,
4625 gnu/java/locale/LocaleInformation_ru_RU.java,
4626 gnu/java/locale/LocaleInformation_ru_UA.java,
4627 gnu/java/locale/LocaleInformation_se_NO.java,
4628 gnu/java/locale/LocaleInformation_sk_SK.java,
4629 gnu/java/locale/LocaleInformation_sl_SI.java,
4630 gnu/java/locale/LocaleInformation_sq_AL.java,
4631 gnu/java/locale/LocaleInformation_sr_YU.java,
4632 gnu/java/locale/LocaleInformation_sv_FI.java,
4633 gnu/java/locale/LocaleInformation_sv_SE.java,
4634 gnu/java/locale/LocaleInformation_ta_IN.java,
4635 gnu/java/locale/LocaleInformation_te_IN.java,
4636 gnu/java/locale/LocaleInformation_tg_TJ.java,
4637 gnu/java/locale/LocaleInformation_tl_PH.java,
4638 gnu/java/locale/LocaleInformation_tr_TR.java,
4639 gnu/java/locale/LocaleInformation_uk_UA.java,
4640 gnu/java/locale/LocaleInformation_ur_PK.java,
4641 gnu/java/locale/LocaleInformation_uz_UZ.java,
4642 gnu/java/locale/LocaleInformation_vi_VN.java,
4643 gnu/java/locale/LocaleInformation_yi_US.java,
4644 gnu/java/locale/LocaleInformation_zh_CN.java,
4645 gnu/java/locale/LocaleInformation_zh_HK.java,
4646 gnu/java/locale/LocaleInformation_zh_SG.java,
4647 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4648 info; from Classpath.
4649
4650 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4651 isPaintPending): New methods.
4652 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4653 setMaximizedBounds): New methods.
4654 (beginLayout, endLayout, isPaintPending): Likewise.
4655 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4656 (requestFocus): Likewise.
4657 (isObscured): Likewise.
4658 (canDetermineObscurity): Likewise.
4659 (coalescePaintEvent): Likewise.
4660 (updateCursorImmediately): Likewise.
4661 (createVolatileImage): Likewise.
4662 (handlesWheelScrolling): Likewise.
4663 (createBuffers): Likewise.
4664 (getBackBuffer): Likewise.
4665 (flip): Likewise.
4666 (destroyBuffers): Likewise.
4667
4668 * Makefile.in: Rebuilt.
4669 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4670 RobotPeer.java.
4671 * gnu/java/awt/GLightweightPeer.java,
4672 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4673 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4674 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4675 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4676 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4677 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4678 java/awt/dnd/peer/DragSourceContextPeer.java,
4679 java/awt/dnd/peer/DropTargetContextPeer.java,
4680 java/awt/peer/ButtonPeer.java,
4681 java/awt/peer/CheckboxMenuItemPeer.java,
4682 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4683 java/awt/peer/ComponentPeer.java,
4684 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4685 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4686 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4687 java/awt/peer/MenuBarPeer.java,
4688 java/awt/peer/MenuComponentPeer.java,
4689 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4690 java/awt/peer/PopupMenuPeer.java,
4691 java/awt/peer/ScrollPanePeer.java,
4692 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4693 java/awt/peer/TextComponentPeer.java,
4694 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4695 New versions from Classpath.
4696 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4697 * java/awt/peer/RobotPeer.java: Likewise.
4698
4699 2003-03-01 Mark Wielaard <mark@klomp.org>
4700
4701 * java/io/ObjectInputStream.java: Reindent.
4702 * java/io/ObjectOutputStream.java: Likewise.
4703
4704 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4705
4706 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4707 jvalue for each argument. Simplify.
4708 * testsuite/libjava.jni/calls.c (docall),
4709 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4710 misalignment.
4711
4712 2003-02-28 Mark Wielaard <mark@klomp.org>
4713
4714 * Makefile.am (nat_source_files): Remove
4715 java/io/natObjectOutputStream.cc.
4716 * Makefile.in: Regenerated.
4717 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4718 * java/io/ObjectStreamField.java (typename): New field.
4719 (ObjectStreamField(String, Class)): Initialize new field.
4720 (ObjectStreamField(String, String)): New Constructor.
4721 (getTypeCode): Use new field.
4722 (getTypeString): Use new field.
4723 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4724 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4725 Handle reading of Proxy classes. Never drain(), just write
4726 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4727 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4728 (flush): Call flush(), not just drain().
4729 (writeBoolean): Always use blockDataOutput.
4730 (writeByte): Likewise.
4731 (writeShort): Likewise.
4732 (writeChar): Likewise.
4733 (writeInt): Likewise.
4734 (writeLong): Likewise.
4735 (writeFloat): Likewise.
4736 (writeDouble): Likewise.
4737 (writeBytes): Likewise.
4738 (putfield (put(String,Object))): Throw IllegalArgumentException if
4739 field cannot be found.
4740 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4741 (writeArraySizeAndElements): Write byte[] in one go.
4742 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4743 set BlockDataMode to false.
4744 (annotateProxyClass): New method.
4745 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4746 (getField): No longer native.
4747 (getMethod): Likewise.
4748 (setBlockDataMode): Always drain() on switch, return old mode.
4749 (static): New static code block.
4750 * java/io/natObjectOutputStream.cc: Removed.
4751 * java/io/ObjectInputStream.java (getField): No longer native.
4752 (getMethod): Likewise.
4753 (readObject): Remember and reset old BlockDataMode. Track whether
4754 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4755 TC_LONGSTRING.
4756 (defaultReadObject): Set BlockDataMode to false during readFields.
4757 (resolveClass): Create new SecurityManager if necessary.
4758 Use Class.forName() if null ClassLoader found.
4759 (read(byte[],int,int): Copy remaining bytes to data before calling
4760 readNextBlock().
4761 (readFields): Set and reset BlockDataMode on call_read_method.
4762 Catch NoSuchFieldErrors.
4763 (setBlockDataMode): Return old mode.
4764 (static): New static code block.
4765 * java/io/natObjectInputStream.cc (getField): Removed.
4766 (getMethod): Likewise.
4767
4768 2003-02-27 Michael Koch <konqueror@gmx.de>
4769
4770 * java/beans/Beans.java,
4771 java/beans/FeatureDescriptor.java
4772 java/beans/PropertyEditorManager.java:
4773 Reformated to GNU style.
4774
4775 2003-02-25 Michael Koch <konqueror@gmx.de>
4776
4777 * gnu/java/nio/MappedByteFileBuffer.java,
4778 gnu/java/nio/natMappedByteFileBuffer.cc:
4779 New files, both are not compiled yet to get not noncompiling CVS.
4780
4781 2003-02-24 Tom Tromey <tromey@redhat.com>
4782
4783 * java/util/prefs/AbstractPreferences.java (isUserNode):
4784 Implemented.
4785
4786 2003-02-24 Tom Tromey <tromey@redhat.com>
4787
4788 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4789 Deprecate.
4790 * java/lang/Thread.java (resume): Deprecate.
4791 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4792 in @deprecated.
4793
4794 2003-02-23 Tom Tromey <tromey@redhat.com>
4795
4796 * Makefile.in: Rebuilt.
4797 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4798
4799 2003-02-23 Tom Tromey <tromey@redhat.com>
4800
4801 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4802 libraries): Removed.
4803 (add_library): Removed.
4804 (_load): Don't call add_library.
4805 (loadLibraryInternal): Likewise.
4806 (init): Likewise.
4807 (lookup_data): New struct.
4808 (find_symbol): New function.
4809 (_Jv_FindSymbolInExecutable): Use it.
4810
4811 2002-02-21 Anthony Green <green@redhat.com>
4812
4813 * java/lang/Thread.java (Thread): New constructor taking stack
4814 size parameter (ignored for now).
4815 * Many methods: Merged GNU Classpath documentation.
4816
4817 * java/lang/Class.java (finalize): throws a Throwable.
4818
4819 2003-02-21 Mark Wielaard <mark@klomp.org>
4820
4821 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4822 argument is null.
4823
4824 2003-02-21 Mark Wielaard <mark@klomp.org>
4825
4826 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4827 then 65535 chars throw IllegalArgumentException.
4828
4829 2003-02-21 Mark Wielaard <mark@klomp.org>
4830
4831 * java/util/zip/ZipFile.java (finalize): New method.
4832
4833 2003-02-21 Michael Koch <konqueror@gmx.de>
4834
4835 * gnu/java/nio/natSocketChannelImpl.cc:
4836 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4837 <cato@df.lth.se> for pointing to it.
4838
4839 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4840
4841 * java/math/BigInteger.java (euclidInv): Take result array as an
4842 argument. Updated all callers.
4843 (modInverse): Removed unused variables.
4844
4845 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4846
4847 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4848 config.status.
4849 * configure: Rebuilt.
4850
4851 2003-02-19 Michael Koch <konqueror@gmx.de>
4852
4853 * gnu/java/nio/natSocketChannelImpl.cc:
4854 Added support for platforms without network support.
4855
4856 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4857
4858 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4859 after config.h. Use <> for consistency.
4860 * java/lang/natObject.cc: Likewise.
4861 * java/lang/natRuntime.cc: Likewise.
4862 * java/lang/natSystem.cc: Likewise.
4863 * java/util/natTimeZone.cc: Likewise.
4864 * win32.cc: Likewise.
4865 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4866 listen, write, read): Undef to avoid interference from OS macros.
4867
4868 2003-02-19 Michael Koch <konqueror@gmx.de>
4869
4870 * gnu/java/nio/ByteBufferImpl.java
4871 (ByteBufferImpl): Renamed two variables.
4872 * gnu/java/nio/CharBufferImpl.java
4873 (CharBufferImpl): Renamed two variables.
4874 * gnu/java/nio/DoubleBufferImpl.java
4875 (DoubleBufferImpl): Renamed two variables.
4876 * gnu/java/nio/FloatBufferImpl.java
4877 (FloatBufferImpl): Renamed two variables.
4878 * gnu/java/nio/IntBufferImpl.java
4879 (IntBufferImpl): Renamed two variables.
4880 * gnu/java/nio/LongBufferImpl.java
4881 (LongBufferImpl): Renamed two variables.
4882 * gnu/java/nio/ShortBufferImpl.java
4883 (ShortBufferImpl): Renamed two variables.
4884 * java/nio/CharBuffer.java
4885 (wrap): Fixed arguments to CharBufferImpl constructor.
4886 (hasArray): Only not read-only buffers have backing arrays.
4887 (length): Documentation added.
4888 (subSequence): Documentation added.
4889 * java/nio/DoubleBuffer.java
4890 (hasArray): Only not read-only buffers have backing arrays.
4891 * java/nio/FloatBuffer.java
4892 (hasArray): Only not read-only buffers have backing arrays.
4893 * java/nio/IntBuffer.java
4894 (hasArray): Only not read-only buffers have backing arrays.
4895 * java/nio/LongBuffer.java
4896 (hasArray): Only not read-only buffers have backing arrays.
4897 * java/nio/ShortBuffer.java
4898 (hasArray): Only not read-only buffers have backing arrays.
4899
4900 2003-02-19 Michael Koch <konqueror@gmx.de>
4901
4902 * javax/accessibility/AccessibleContext.java
4903 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4904
4905 2003-02-19 Michael Koch <konqueror@gmx.de>
4906
4907 * java/awt/ScrollPaneAdjustable.java: Reformated.
4908
4909 2003-02-19 Michael Koch <konqueror@gmx.de>
4910
4911 * gnu/awt/j2d/Graphics2DImpl.java
4912 (getFontRenderContext): New method.
4913 (drawGlyphVector): New method.
4914 * java/awt/Graphics2D.java
4915 (getFontRenderContext): New abstract method.
4916 (drawGlyphVector): New abstract method.
4917
4918 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4919
4920 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4921 if necessary.
4922
4923 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4924 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4925 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4926 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4927 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4928 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4929 (setFont, gtkSetFont): add.
4930 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4931 Propagate font to peer. (setFont): add FIXME comment.
4932
4933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4934 (gtkTextGetSize): fix height, width computation.
4935
4936 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4937 Make X font name a bit less bogus.
4938
4939 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4940 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4941
4942 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4943 (processAdjustmentEvent): Adjust value.
4944
4945 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4946 logic errors.
4947
4948 * java/awt/Component.java (setVisible, show, hide): Call show and
4949 hide methods in subclasses.
4950 (getPreferredSize): don't set prefSize before we have peer.
4951
4952 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4953 Guess (0,0) if we don't have peer.
4954
4955
4956 2003-02-18 Michael Koch <konqueror@gmx.de>
4957
4958 * java/nio/channels/FileChannel.java
4959 (toString): New implementation, added documentation.
4960 (map): Added exception documentation.
4961 (size): Added exception documentation.
4962 (write): New methods, documentation work.
4963 (read): New methods, documentation work.
4964 (implCloseChannel): Rewrote exception documentation.
4965 (force): Throws IOException, added documentation.
4966 (lock): New methods.
4967 (tryLock): New methods.
4968 (position): New methods.
4969 (transferTo): New method.
4970 (transferFrom): New method.
4971 (truncate): New method.
4972 * java/nio/channels/spi/SelectorProvider.java
4973 (provider): Implemented.
4974 * Makefile.am
4975 (ordinary_java_source_files): Added the following files:
4976 gnu/java/nio/DatagramChannelImpl.java
4977 gnu/java/nio/FileChannelImpl.java
4978 gnu/java/nio/PipeImpl.java
4979 gnu/java/nio/SelectionKeyImpl.java
4980 gnu/java/nio/SelectorImpl.java
4981 gnu/java/nio/SelectorProviderImpl.java
4982 gnu/java/nio/ServerSocketChannelImpl.java
4983 gnu/java/nio/SocketChannelImpl.java
4984 java/nio/channels/FileLock.java
4985 (nat_java_source_files): Added the following files:
4986 gnu/java/nio/natFileChannelImpl.cc
4987 gnu/java/nio/natSelectorImpl.cc
4988 gnu/java/nio/natSocketChannelImpl.cc
4989 * Makefile.in: Regenerated.
4990
4991 2003-02-17 Tom Tromey <tromey@redhat.com>
4992
4993 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4994 * java/awt/image/ImageFilter.java: Likewise.
4995
4996 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4997
4998 * java/math/BigInteger.java (euclidInv): Return array of
4999 `BigInteger's. Changed all callers.
5000
5001 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
5002
5003 * java/util/Properties.java (store): Move the code formerly in
5004 list(), into this method.
5005 (list (PrintStream)): Just call list (PrintWriter) with a
5006 PrintWriter object constructed from the given PrintStream object.
5007 (list (PrintWriter)): Emulate the output of Properties.list()
5008 as found in JDK 1.3/1.4.
5009
5010 2003-02-17 Michael Koch <konqueror@gmx.de>
5011
5012 * java/net/DatagramSocket.java
5013 (connect): Merged with classpath.
5014 (disconnect): Merged documentation with classpath.
5015 (receice): Merged documentation with classpath.
5016 (send): Merged documentation with classpath.
5017
5018 2003-02-17 Michael Koch <konqueror@gmx.de>
5019
5020 * java/awt/dnd/DragSourceContext.java
5021 (addDragSourceListener): Added documentation.
5022 * java/awt/dnd/DragSourceDragEvent.java
5023 (serialVersionUID): New member variable.
5024 (getDropAction): Reformated.
5025 * java/awt/dnd/DragSourceDropEvent.java
5026 (serialVersionUID): New member variable.
5027 (dropSuccess): Renamed from success for serialization issues.
5028 * java/awt/dnd/DragSourceEvent.java
5029 (serialVersionUID): New member variable.
5030 * java/awt/dnd/DropTarget.java
5031 (serialVersionUID): New member variable.
5032 (DropTarget): Implemented, documentation reworked.
5033 (setComponent): Documentation added.
5034 (getComponent): Documentation added.
5035 (setDefaultActions): Documentation added.
5036 (getDefaultActions): Documentation added.
5037 (addDropTargetListener): Documentation added.
5038 * java/awt/dnd/DropTargetContext.java
5039 (DropTargetContext): Documentation added.
5040 (TransferableProxy.TransferableProxy): New method.
5041 (dropComplete): Fixed documentation.
5042 (getTransferable): Fixed documentation.
5043 (createTransferableProxy): Implemented.
5044 * java/awt/dnd/DropTargetDragEvent.java
5045 (DropTargetDragEvent): Documentation added.
5046 (serialVersionUID): New member variable.
5047 (DropTargetDragEvent): Throw exceptions, documentation added.
5048 (acceptDrag): Implemented.
5049 (getCurrentDataFlavors): Implemented.3yy
5050 (getCurrentDataFlavorsAsList): Implemented.
5051 (isDataFlavorSupported): Implemented.
5052 (rejectDrag): Implemented.
5053 * java/awt/dnd/DropTargetDropEvent.java
5054 (DropTargetDropEvent): Documentation added.
5055 (serialVersionUID): New member variable.
5056 (actions): Renamed from srcActions for serialization issues.
5057 (isLocalTx): Renamed from isLocalTx for serialization issues.
5058 (DropTargetDropEvent): New implementation, throw exceptions,
5059 documentation added.
5060 (getCurrentDataFlavors): Implemented.
5061 (getCurrentDataFlavorsAsList): Implemented.
5062 (isDataFlavorSupported): Implemented.
5063 (getSourceActions): Implemented.
5064 (getDropAction): Implemented.
5065 (getTransferable): Implemented.
5066 (acceptDrop): Implemented.
5067 (rejectDrop): Implemented.
5068 * java/awt/dnd/DropTargetListener.java
5069 (drop): Fixed documentation.
5070 * java/awt/dnd/MouseDragGestureRecognizer.java
5071 (MouseDragGestureRecognizer): Documentation added.
5072
5073 2003-02-17 Michael Koch <konqueror@gmx.de>
5074
5075 * java/awt/font/FontRenderContext.java,
5076 java/awt/font/ShapeGraphicAttribute.java,
5077 java/awt/font/MultipleMaster.java,
5078 java/awt/font/TransformAttribute.java,
5079 java/awt/font/GlyphJustificationInfo.java,
5080 java/awt/font/LineBreakMeasurer.java,
5081 java/awt/font/TextMeasurer.java,
5082 java/awt/font/TextLayout.java,
5083 java/awt/font/LineMetrics.java,
5084 java/awt/font/TextAttribute.java,
5085 java/awt/font/GlyphMetrics.java,
5086 java/awt/font/OpenType.java,
5087 java/awt/font/GlyphVector.java,
5088 java/awt/font/GraphicAttribute.java,
5089 java/awt/font/ImageGraphicAttribute.java,
5090 java/awt/font/NumericShaper.java: New files.
5091 * Makefile.am
5092 (awt_java_source_files): Added the following files:
5093 java/awt/font/FontRenderContext.java
5094 java/awt/font/ShapeGraphicAttribute.java
5095 java/awt/font/MultipleMaster.java
5096 java/awt/font/TransformAttribute.java
5097 java/awt/font/GlyphJustificationInfo.java
5098 java/awt/font/LineBreakMeasurer.java
5099 java/awt/font/TextMeasurer.java
5100 java/awt/font/TextLayout.java
5101 java/awt/font/LineMetrics.java
5102 java/awt/font/TextAttribute.java
5103 java/awt/font/GlyphMetrics.java
5104 java/awt/font/OpenType.java
5105 java/awt/font/GlyphVector.java
5106 java/awt/font/GraphicAttribute.java
5107 java/awt/font/ImageGraphicAttribute.java
5108 java/awt/font/NumericShaper.java
5109 * Makefile.in: Regenerated.
5110
5111 2003-02-17 Michael Koch <konqueror@gmx.de>
5112
5113 * java/awt/print/Paper.java
5114 (Paper): Implements Cloneable.
5115 * java/awt/print/PrinterJob.java
5116 (setJobName): Return value must be void.
5117 (print): Throws PrinterException.
5118
5119 2003-02-16 Tom Tromey <tromey@redhat.com>
5120
5121 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
5122 variable.
5123
5124 2003-02-15 Michael Koch <konqueror@gmx.de>
5125
5126 * java/awt/datatransfer/DataFlavor.java
5127 (isRepresentationClassByteBuffer): Removed try-catch block.
5128 (isRepresentationClassCharBuffer): Removed try-catch block.
5129 (isRepresentationClassReader): Removed try-catch block.
5130
5131 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5132
5133 * java/nio/charset/Charset.java
5134 (isRegistered): Fixed method args and implementation.
5135 * java/nio/charset/CharsetEncoder.java
5136 (unmappableCharacterAction): New method.
5137
5138 2003-02-15 Michael Koch <konqueror@gmx.de>
5139
5140 * java/awt/CheckboxMenuItem.java
5141 (CheckBoxMenuItem): Dont implement Serializable.
5142 (getListeners): New method,
5143 (getItemListeners): New method.
5144 * java/awt/Choice.java
5145 (getListeners): New method,
5146 (getItemListeners): New method.
5147 * java/awt/Container.java
5148 (getListeners): Added exception documentation.
5149 (setFocusTraversalKeys): Throw exceptions, added documentattion.
5150 (getFocusTraversalKeys): Added documentation.
5151 (areFocusTraversalKeysSet): Added documentation.
5152 (applyComponentOrientation): Added documentation.
5153 * java/awt/ContainerOrderFocusTraversalPolicy.java
5154 (implicitDownCycleTraversal): Renamed from downCycle for
5155 serialization.
5156 (ContainerOrderFocusTraversalPolicy): Added documentation.
5157 (accept): Reformated.
5158 * java/awt/Dialog.java
5159 (Dialog): Dont implement Serializable.
5160 (Dialog): Added documentation.
5161 * java/awt/Font.java
5162 (Font): Dont use absolute class name.
5163 * java/awt/Frame.java
5164 (Frame): Font implement Serializable.
5165 * java/awt/List.java
5166 (getListeners): New method,
5167 (getActionListeners): New method.
5168 (getItemListeners): New method.
5169 * java/awt/Menu.java
5170 (countItems): New deprecated method.
5171 * java/awt/Scrollbar.java
5172 (getListeners): New method,
5173 (getAdjustmentListeners): New method,
5174 * java/awt/TextComponent.java
5175 (getListeners): New method,
5176 (getTextListeners): New method,
5177 * java/awt/TextField.java
5178 (getListeners): New method,
5179 (getActionListeners): New method.
5180 * java/awt/Window.java
5181 (windowFocusListener): New member variable.
5182 (windowStateListener): New member variable.
5183 (getWindowFocusListeners): New method.
5184 (getWindowStateListeners): New method.
5185 (addWindowFocusListener): New method.
5186 (addWindowStateListener): New method.
5187 (removeWindowFocusListener): New method.
5188 (removeWindowStateListener): New method.
5189 * java/awt/datatransfer/DataFlavor.java
5190 (isRepresentationClassByteBuffer): New method.
5191 (isRepresentationClassCharBuffer): New method.
5192 (isRepresentationClassReader): New method.
5193
5194 2003-02-14 Mark Wielaard <mark@klomp.org>
5195
5196 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
5197 zero when there is an exponent and the significant is zero.
5198 (divide): Always set scale to newScale even in special ZERO case.
5199
5200 2003-02-14 Tom Tromey <tromey@redhat.com>
5201
5202 * java/lang/System.java (properties): Use Properties.clone.
5203 (setProperties): Likewise.
5204
5205 2003-02-14 Michael Koch <konqueror@gmx.de>
5206
5207 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
5208 * gnu/java/nio/ServerSocketChannelImpl.java
5209 (SocketAccept): Removed.
5210 (accept): Commented out use of SocketAccept.
5211
5212 2003-02-13 Tom Tromey <tromey@redhat.com>
5213
5214 * verify.cc (state::seen_subrs): New field.
5215 (state::state): Initialize it.
5216 (state::clean_subrs): New method.
5217 (state::~state): Call it.
5218 (state::copy): Copy subroutine list.
5219 (state::add_subr): New method.
5220 (state::merge): Only register a change if the current subroutine
5221 hasn't yet been noted.
5222
5223 2003-02-13 Mark Wielaard <mark@klomp.org>
5224
5225 * java/io/InputStreamReader.java (getEncoding): Return null when
5226 closed.
5227 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
5228
5229 2003-02-13 Mark Wielaard <mark@klomp.org>
5230
5231 * java/util/zip/InflaterInputStream.java (read): Return zero when len
5232 is zero.
5233
5234 2003-02-13 Mark Wielaard <mark@klomp.org>
5235
5236 * java/io/BufferedOutputStream.java (write(int)): Only flush when
5237 next byte cannot be buffered.
5238
5239 2003-02-13 Michael Koch <konqueror@gmx.de>
5240
5241 * java/awt/Label.java
5242 (Label): Don't implement Serializable directly.
5243 (addNotify): Fixed typo in documentation.
5244 * java/awt/List.java
5245 (List): Don't implement Serializable directly.
5246 * java/awt/PopupMenu.java
5247 (PopupMenu): Don't implement Serializable directly.
5248 * java/awt/ScrollPane.java
5249 (ScrollPane): Don't implement Serializable directly.
5250 * java/awt/Scrollbar.java
5251 (Scrollbar): Don't implement Serializable directly.
5252 * java/awt/TextArea.java
5253 (preferredSize): Fixed method arguments.
5254 * java/awt/TextField.java
5255 (TextField): Don't implement Serializable directly.
5256 * java/awt/color/ICC_ColorSpace.java
5257 (fromCIOXYZ): Documentation added.
5258 (getMinValue): Documentation added.
5259 (getMaxValue): Documentation added.
5260 * java/awt/datatransfer/DataFlavor.java
5261 (isMimeTypeEqual): May not be final.
5262 (clone): Throws CloneNotSupportedException.
5263 (getReaderForText): Don't throws UnsupportedEncodingException.
5264
5265 2003-02-13 Michael Koch <konqueror@gmx.de>
5266
5267 * gnu/java/awt/peer/gtk/GdkGraphics.java
5268 (drawString): New stubbed method.
5269 * java/awt/Graphics.java
5270 (drawString): New method.
5271
5272 2003-02-13 Casey Marshall <rsdio@metastatic.org>
5273
5274 PR libgcj/9271:
5275 * java/security/SecureRandom.java (next): Avoid bias in results.
5276
5277 2003-02-13 Michael <konqueror@gmx.de>
5278
5279 * gnu/java/nio/FileChannelImpl.java
5280 (lengthInternal): Must be native.
5281 (size): Check if channel is already closed.
5282 (implCloseChannel): Reformated.
5283 (read): w was unused, removed it.
5284 (read): Removed.
5285 (read): New method.
5286 (write): New method.
5287 (map): Check arguments.
5288 (force): Throws IOException, check if channel is closed.
5289 (transferTo): New method.
5290 (transferFrom): New method.
5291 (lock): New method.
5292 (tryLock): New method.
5293 (position): New method.
5294 (truncate): New method.
5295 (nio_mmap_file): Uncommented.
5296 (nio_munmap_file): Uncommented.
5297 (nio_msync): Uncommented.
5298 * gnu/java/nio/natFileChannelImpl.cc: New file.
5299
5300 2003-02-13 Michael Koch <konqueror@gmx.de>
5301
5302 * java/nio/ByteBuffer.java
5303 (endian): New member variable.
5304 (get): New methods.
5305 (equals): New method.
5306 (compareTo): New method.
5307 (order): New methods.
5308 (compact): New method.
5309 (isDirect): New method.
5310 (slice): New method.
5311 (duplicate): New method.
5312 (asReadOnlyBuffer): New method.
5313 (asCharBuffer): New method.
5314 (asDoubleBuffer): New method.
5315 (asFloatBuffer): New method.
5316 (asIntBuffer): New method.
5317 (asLongBuffer): New method.
5318 (asShortBuffer): New method.
5319 (get*): New methods.
5320 (put*): New methods.
5321 (toString): New method.
5322 * java/nio/CharBuffer.java
5323 (CharBuffer): Implement Comparable instead of Cloneable.
5324 (get): May not be final.
5325 (put): May not be final.
5326
5327 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
5328
5329 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
5330 lastIndexOf( ) instead of indexOf( ) to find the colon before
5331 the line number, because Win32 file names might contain a
5332 drive letter and a colon at the start of an absolute path.
5333
5334 2003-02-13 Michael Koch <konqueror@gmx.de>
5335
5336 * gnu/java/nio/natSocketChannelImpl.cc
5337 (SocketConnect): This is not implemented yet.
5338 (SocketBind): This is not implemented yet.
5339
5340 2003-02-13 Michael Koch <konqueror@gmx.de>
5341
5342 * gnu/java/nio/natByteBufferImpl.cc,
5343 gnu/java/nio/natCharBufferImpl.cc,
5344 gnu/java/nio/natDoubleBufferImpl.cc,
5345 gnu/java/nio/natFloatBufferImpl.cc,
5346 gnu/java/nio/natIntBufferImpl.cc,
5347 gnu/java/nio/natLongBufferImpl.cc,
5348 gnu/java/nio/natShortBufferImpl.cc:
5349 Added copyright and license.
5350 * java/nio/DoubleBuffer.java,
5351 java/nio/FloatBuffer.java,
5352 java/nio/IntBuffer.java,
5353 java/nio/LongBuffer.java,
5354 java/nio/ShortBuffer.java
5355 (array): Throw exceptions.
5356 (arrayOffset): Throw exceptions.
5357
5358 2003-02-13 Michael Koch <konqueror@gmx.de>
5359
5360 * gnu/java/util/prefs/FileBasedFactory.java,
5361 gnu/java/util/prefs/MemmoryBasedFactory.java,
5362 gnu/java/util/prefs/MemoryBasedPreferences.java,
5363 gnu/java/util/prefs/NodeReader.java,
5364 gnu/java/util/prefs/NodeWriter.java,
5365 java/util/prefs/AbstractPreferences.java,
5366 java/util/prefs/BackingStoreException.java,
5367 java/util/prefs/InvalidPreferencesFormatException.java,
5368 java/util/prefs/NodeChangeEvent.java,
5369 java/util/prefs/NodeChangeListener.java,
5370 java/util/prefs/PreferenceChangeEvent.java,
5371 java/util/prefs/PreferenceChangeListener.java,
5372 java/util/prefs/Preferences.java,
5373 java/util/prefs/PreferencesFactory.java:
5374 New files, all merged from classpath.
5375 * Makefile.am
5376 (ordinary_java_source_files): Added the following files:
5377 gnu/java/util/prefs/FileBasedFactory.java,
5378 gnu/java/util/prefs/MemmoryBasedFactory.java,
5379 gnu/java/util/prefs/MemoryBasedPreferences.java,
5380 gnu/java/util/prefs/NodeReader.java,
5381 gnu/java/util/prefs/NodeWriter.java,
5382 (core_java_source_files): Added the following files:
5383 java/util/prefs/AbstractPreferences.java,
5384 java/util/prefs/BackingStoreException.java,
5385 java/util/prefs/InvalidPreferencesFormatException.java,
5386 java/util/prefs/NodeChangeEvent.java,
5387 java/util/prefs/NodeChangeListener.java,
5388 java/util/prefs/PreferenceChangeEvent.java,
5389 java/util/prefs/PreferenceChangeListener.java,
5390 java/util/prefs/Preferences.java,
5391 java/util/prefs/PreferencesFactory.java
5392 * Makefile.in: Regenerated.
5393
5394 2003-02-13 Michael Koch <konqueror@gmx.de>
5395
5396 * java/net/NetPermission.java
5397 (NetPermission): Make doucmentation match the method declaration.
5398 * java/net/NetworkInterface.java
5399 (equals): Reformated for GNU coding style.
5400 * java/net/ServerSocket.java: Merged with classpath.
5401 * java/net/Socket.java: Partly merged with classpath (Added some @since).
5402 * java/net/SocketImpl.java
5403 (localPort): Merged with classpath (initialize with -1).
5404 * java/net/SocketPermission.java: Merged with classpath (reindented).
5405 * java/net/URLDecoder.java: Merged with classpath (reindented).
5406
5407 2003-02-13 Michael Koch <konqueror@gmx.de>
5408
5409 * java/awt/GridBagConstraints.java
5410 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
5411 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
5412 * java/awt/KeyboardFocusManager.java
5413 (setGlobalCurrentFocusCycleRoot): Must be public.
5414 * java/awt/MenuComponent.java
5415 (MenuComponent): Must be public.
5416 * java/awt/Toolkit.java:
5417 Added some empty lines to make documentation more readable.
5418 (getFontPeer): Added @deprecated.
5419 (getColorModel): Added exception documentation.
5420 (getProperty): Fixed documentation.
5421
5422 2003-02-12 Jeff Sturm <jsturm@one-point.com>
5423
5424 * configure.host (alpha*-*): Default to -mieee.
5425 * configure.in (IEEESPEC): New.
5426 * libgcj.spec.in (jc1): Add IEEESPEC.
5427 * configure: Rebuild.
5428
5429 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5430
5431 * include/win32.h: Include ws2tcpip.h instead of
5432 winsock.h to obtain definition of the socklen_t type.
5433 Remove IP_TOS definition - not needed with ws2tcpip.h
5434 (_Jv_connect): Correct slight formatting error.
5435
5436 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
5437
5438 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
5439 size of the arguments for a JNI function. For Win32,
5440 modify to search for all forms of possible exported
5441 names of an stdcall JNI function.
5442 (_Jv_JNIMethod::call): Modify to calculate the size
5443 of the arguments passed to a JNI function and pass
5444 it to _Jv_LookupJNIMethod.
5445
5446 2003-02-12 Michael Koch <konqueror@gmx.de>
5447
5448 * java/nio/channels/Channels.java: New file.
5449 * Makefile.am
5450 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5451 * Makefile.in: Regenerated.
5452
5453 2003-02-12 Michael Koch <konqueror@gmx.de>
5454
5455 * java/nio/ByteBuffer.java
5456 (allocate): Implemented.
5457 (wrap): Implemented.
5458 * java/nio/CharBuffer.java:
5459 Some documentation added and reworked.
5460 (endian): Removed.
5461 (allocate): Implemented.
5462 (wrap): Implemented.
5463 (array): Throw exceptions.
5464 (arrayOffset): Throw exceptions.
5465 (toString): Implemented.
5466 (length): Implemented.
5467 (put): Implemented.
5468 (charAt): Implemented.
5469
5470 2003-02-11 John Leuner <jewel@debian.org>
5471
5472 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5473 reads from end of file.
5474
5475 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5476
5477 * java/io/natFileDescriptorWin32.cc
5478 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5479 returns with Win32 error code ERROR_BROKEN_PIPE.
5480
5481 2003-02-11 Michael Koch <konqueror@gmx.de>
5482
5483 * Makefile.in
5484 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5485
5486 2003-02-11 Michael Koch <konqueror@gmx.de>
5487
5488 * gnu/java/nio/ByteBufferImpl.java:
5489 Reformated and removed some code.
5490 (backing_buffer): Removed.
5491 (array_offset): Removed.
5492 (ro): Renamed to readOnly.
5493 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5494 * gnu/java/nio/CharBufferImpl.java:
5495 Reformated and removed some code.
5496 (array_offset): Removed.
5497 (ro): Renamed to readOnly.
5498 (CharBufferImpl): Use parent constructor, initialize readOnly.
5499 (inc_pos): Removed.
5500 (order): New method.
5501 * gnu/java/nio/DoubleBufferImpl.java:
5502 Reformated and removed some code.
5503 (array_offset): Removed.
5504 (ro): Renamed to readOnly.
5505 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5506 (inc_pos): Removed.
5507 (order): New method.
5508 * gnu/java/nio/FloatBufferImpl.java:
5509 Reformated and removed some code.
5510 (array_offset): Removed.
5511 (ro): Renamed to readOnly.
5512 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5513 (inc_pos): Removed.
5514 (order): New method.
5515 * gnu/java/nio/IntBufferImpl.java:
5516 Reformated and removed some code.
5517 (array_offset): Removed.
5518 (ro): Renamed to readOnly.
5519 (IntBufferImpl): Use parent constructor, initialize readOnly.
5520 (inc_pos): Removed.
5521 (order): New method.
5522 * gnu/java/nio/LongBufferImpl.java:
5523 Reformated and removed some code.
5524 (array_offset): Removed.
5525 (ro): Renamed to readOnly.
5526 (LongBufferImpl): Use parent constructor, initialize readOnly.
5527 (inc_pos): Removed.
5528 (order): New method.
5529 * gnu/java/nio/ShortBufferImpl.java:
5530 Reformated and removed some code.
5531 (array_offset): Removed.
5532 (ro): Renamed to readOnly.
5533 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5534 (inc_pos): Removed.
5535 (order): New method.
5536 * Makefile.am
5537 (ordinary_java_source_files): Added the following files:
5538 gnu/java/nio/ByteBufferImpl.java
5539 gnu/java/nio/CharBufferImpl.java
5540 gnu/java/nio/DoubleBufferImpl.java
5541 gnu/java/nio/FloatBufferImpl.java
5542 gnu/java/nio/IntBufferImpl.java
5543 gnu/java/nio/LongBufferImpl.java
5544 gnu/java/nio/ShortBufferImpl.java
5545 java/nio/DoubleBuffer.java
5546 java/nio/FloatBuffer.java
5547 java/nio/IntBuffer.java
5548 java/nio/LongBuffer.java
5549 java/nio/ShortBuffer.java
5550 (nat_source_files): Added the following files:
5551 gnu/java/nio/natByteBufferImpl.cc
5552 gnu/java/nio/natCharBufferImpl.cc
5553 gnu/java/nio/natDoubleBufferImpl.cc
5554 gnu/java/nio/natFloatBufferImpl.cc
5555 gnu/java/nio/natIntBufferImpl.cc
5556 gnu/java/nio/natLongBufferImpl.cc
5557 gnu/java/nio/natShortBufferImpl.cc
5558 * Makefile.in: Regenerated.
5559
5560 2003-02-11 Michael Koch <konqueror@gmx.de>
5561
5562 * gnu/java/nio/natCharBufferImpl.cc
5563 (nio_cast): Removed.
5564 (nio_put_*): Removed.
5565 (nio_get_*): Removed.
5566 * gnu/java/nio/natDoubleBufferImpl.cc
5567 (nio_cast): Removed.
5568 (nio_put_*): Removed.
5569 (nio_get_*): Removed.
5570 * gnu/java/nio/natFloatBufferImpl.cc
5571 (nio_cast): Removed.
5572 (nio_put_*): Removed.
5573 (nio_get_*): Removed.
5574 * gnu/java/nio/natIntBufferImpl.cc
5575 (nio_cast): Removed.
5576 (nio_put_*): Removed.
5577 (nio_get_*): Removed.
5578 * gnu/java/nio/natLongBufferImpl.cc
5579 (nio_cast): Removed.
5580 (nio_put_*): Removed.
5581 (nio_get_*): Removed.
5582 * gnu/java/nio/natShortBufferImpl.cc
5583 (nio_cast): Removed.
5584 (nio_put_*): Removed.
5585 (nio_get_*): Removed.
5586 * gnu/java/nio/SelectorProviderImpl.java
5587 (openDatagramChannel): Throws IOException.
5588 (openPipe): Throws IOException.
5589 (openSelector): Throws IOException.
5590 (openServerSocketChannel): Throws IOException.
5591 (openSocketChannel): Throws IOException.
5592 * gnu/java/nio/ServerSocketChannelImpl.java
5593 (ServerSocketChannelImpl): Throws IOException.
5594 (implCloseSelectableChannel): Throws IOException.
5595 (implConfigureBlocking): Throws IOException.
5596 * java/nio/ByteBuffer.java
5597 (readOnly): Removed.
5598 (hasArray): Use isReadOnly() instead of readOnly.
5599 (array): Use isReadOnly() instead of readOnly.
5600 (arrayOffset): Use isReadOnly() instead of readOnly.
5601 * java/nio/CharBuffer.java
5602 (CharBuffer): Implements Cloneable and CharSequence.
5603
5604 2003-02-11 Michael Koch <konqueror@gmx.de>
5605
5606 * java/nio/DoubleBuffer.java
5607 (DoubleBuffer): Implements Comparable.
5608 (endian): Removed.
5609 (array_offset): New member variable.
5610 (DoubleBuffer): New constuctor.
5611 (get): May not be final.
5612 (put): May not be final.
5613 (arrayOffset): Implemented.
5614 (order): Made abstract.
5615 (order): Removed.
5616 (as*Buffer): Removed.
5617 (get*): Removed.
5618 (put*): Removed.
5619 * java/nio/FloatBuffer.java
5620 (FloatBuffer): Implements Comparable.
5621 (endian): Removed.
5622 (array_offset): New member variable.
5623 (FloatBuffer): New constuctor.
5624 (get): May not be final.
5625 (put): May not be final.
5626 (arrayOffset): Implemented.
5627 (order): Made abstract.
5628 (order): Removed.
5629 (as*Buffer): Removed.
5630 (get*): Removed.
5631 (put*): Removed.
5632 * java/nio/IntBuffer.java
5633 (IntBuffer): Implements Comparable.
5634 (endian): Removed.
5635 (array_offset): New member variable.
5636 (IntBuffer): New constuctor.
5637 (get): May not be final.
5638 (put): May not be final.
5639 (arrayOffset): Implemented.
5640 (order): Made abstract.
5641 (order): Removed.
5642 (as*Buffer): Removed.
5643 (get*): Removed.
5644 (put*): Removed.
5645 * java/nio/LongBuffer.java
5646 (LongBuffer): Implements Comparable.
5647 (endian): Removed.
5648 (array_offset): New member variable.
5649 (LongBuffer): New constuctor.
5650 (get): May not be final.
5651 (put): May not be final.
5652 (arrayOffset): Implemented.
5653 (order): Made abstract.
5654 (order): Removed.
5655 (as*Buffer): Removed.
5656 (get*): Removed.
5657 (put*): Removed.
5658 * java/nio/ShortBuffer.java
5659 (ShortBuffer): Implements Comparable.
5660 (endian): Removed.
5661 (array_offset): New member variable.
5662 (ShortBuffer): New constuctor.
5663 (get): May not be final.
5664 (put): May not be final.
5665 (arrayOffset): Implemented.
5666 (order): Made abstract.
5667 (order): Removed.
5668 (as*Buffer): Removed.
5669 (get*): Removed.
5670 (put*): Removed.
5671
5672 2003-02-11 Michael Koch <konqueror@gmx.de>
5673
5674 * java/nio/channels/SelectionKey.java
5675 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5676 values.
5677
5678 2003-02-11 Michael Koch <konqueror@gmx.de>
5679
5680 * java/nio/channels/DatagramChannel.java
5681 (write): Throws IOException.
5682 (connect): Throws IOException.
5683 (disconnect): Throws IOException.
5684 (read): Throws IOException.
5685 (receive): Throws IOException.
5686 (send): Throws IOException.
5687 * java/nio/channels/Pipe.java
5688 (open): Throws IOException.
5689 * java/nio/channels/SelectableChannel.java
5690 (configureBlocking): Throws IOException.
5691 * java/nio/channels/ServerSocketChannel.java
5692 (accept): Throws IOException.
5693 * java/nio/channels/SocketChannel.java
5694 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5695 GatheringByteChannel.
5696 (read): Throws IOException.
5697 (write): Throws IOException.
5698 (finishConnect): Throws IOException.
5699 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5700 (end): Throws AsynchronousCloseException.
5701 * java/nio/channels/spi/AbstractSelectableChannel.java
5702 (configureBlocking): Throws IOException.
5703 (implCloseChannel): Throws IOException.
5704 (implCloseSelectableChannel): Throws IOException.
5705 (implConfigureBlocking): Throws IOException.
5706 * java/nio/channels/spi/SelectorProvider.java
5707 (openDatagramChannel): Throws IOException.
5708 (openPipe): Throws IOException.
5709 (openSelector): Throws IOException.
5710 (openServerSocketChannel): Throws IOException.
5711 (openSocketChannel): Throws IOException.
5712
5713 2003-02-11 Michael Koch <konqueror@gmx.de>
5714
5715 * gnu/java/nio/FileLockImpl.java,
5716 java/nio/channels/FileLock.java: New files.
5717
5718 2003-02-11 Michael Koch <konqueror@gmx.de>
5719
5720 * java/nio/charset/IllegalCharsetNameException.java
5721 (serialVersionUID): New member variable.
5722 (charsetName): New member variable.
5723 (IllegalCharsetException): New implementation.
5724 (getCharsetName): New implementation.
5725 * java/nio/charset/UnsupportedCharsetException.java
5726 (serialVersionUID): New member variable.
5727 (charsetName): New member variable.
5728 (UnsupportedCharsetException): New implementation.
5729 (getCharsetName): New implementation.
5730
5731 2003-02-10 Tom Tromey <tromey@redhat.com>
5732
5733 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5734 (ex): Renamed from sqlException.
5735
5736 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5737
5738 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5739 method used to ensure seeding has occurred and that a specific
5740 seed can be set and used.
5741
5742 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5743
5744 * java/lang/Win32Process.java (destroy): Declare as native.
5745 (hasExited): New native method.
5746 (exitValue): Define.
5747 (getErrorStream): Likewise.
5748 (getInputStream): Likewise.
5749 (getOutputStream): Likewise.
5750 (waitFor): Declare as native.
5751 (startProcess): New native method.
5752 (cleanup): Likewise.
5753 (ConcreteProcess): Define.
5754 (outputStream, inputStream, errorStream): New members.
5755 (procHandle, exitCode): Likewise.
5756
5757 * java/lang/natWin32Process.cc
5758 (java::lang::ConcreteProcess::cleanup): Define.
5759 (java::lang::ConcreteProcess::destroy): Likewise.
5760 (java::lang::ConcreteProcess::hasExited): Likewise.
5761 (java::lang::ConcreteProcess::waitFor): Likewise.
5762 (new_string): Likewise.
5763 (java::lang::ConcreteProcess::startProcess): Likewise.
5764
5765 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5766
5767 * java/math/BigInteger.java:
5768 Updated notice to include years 2002 and 3.
5769 Added 2 private (int) arrays with values from the HAC (Handbook of
5770 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5771 and t[] that contains nbr. of tests --used in isProbablePrime().
5772
5773 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5774
5775 * java/math/BigInteger.java (make(int[],int), add(int,int),
5776 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5777 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5778 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5779 make(long).
5780
5781 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5782 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5783 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5784 BIs and returns void.
5785 (modInverse(BI)): Use new signatures of euclidInv().
5786
5787 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5788 static small primes instead of remainder().
5789 Use pre-computed max nbr of trials based on bitlength of BI to test.
5790 Use pre-computed small primes for the trial tests instead of random
5791 numbers.
5792
5793 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5794 not used.
5795
5796 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5797 invoacation of MPN.chars_per_word(). not used.
5798
5799 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5800 local var and used where needed.
5801
5802 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5803 Combined declaration with initialisation of locals.
5804 Removed unused var.
5805
5806 * java/math/BigInteger.java: Style changes
5807 (pow(int)): Removed 'else' keyword.
5808 (toString(int)): idem.
5809 (doubleValue()): idem.
5810 (bitLength()): idem.
5811 (equals(Object)): Use static methods name in same class w/o prepending
5812 class name.
5813 (doubleValue()): idem.
5814 (setNegative(BI)): idem.
5815 (negate()): idem.
5816 (and(BI,int)): idem.
5817 (and(BI)): idem.
5818 (gcd(BI)): idem.
5819 (byteArrayToIntArray()): Removed casting to (int). this is
5820 std. behaviour.
5821 (canonicalize()): idem.
5822 (alloc(int)): Always instantiate a new BI.
5823
5824 2003-02-10 Tom Tromey <tromey@redhat.com>
5825
5826 * java/sql/Timestamp.java (compareTo(Object)): New method.
5827 (compareTo(Timestamp)): Likewise.
5828 (serialVersionUID): Updated.
5829
5830 2003-02-07 Mark Wielaard <mark@klomp.org>
5831
5832 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5833 when verify is true.
5834 (JarFile(File, boolean)): Likewise.
5835 (manifestRead): Set manifestRead field correctly.
5836
5837 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5838
5839 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5840 tests; see patch #1016 on Savannah.
5841
5842 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5843
5844 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5845 (toString): do not return Strings starting with . and - erroneously.
5846 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5847 DiagBigDecimal.
5848
5849 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5850
5851 * java/beans/PropertyDescriptor.java
5852 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5853 methods.
5854 (PropertyDescriptor(String, Class, String, String)): Likewise.
5855 (PropertyDescriptor(String, Method, Method): Factor out getter and
5856 setter method sanity checks into new method.
5857 (findMethods): Don't do parameter sanity checking of get method here.
5858 (checkMethods): New method.
5859
5860 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5861
5862 * java/beans/PropertyDescriptor.java: Reformat.
5863
5864 2003-02-04 Tom Tromey <tromey@redhat.com>
5865
5866 * java/io/PipedOutputStream.java (flush): Declare as throwing
5867 IOException.
5868 (close): Likewise.
5869 * java/io/PipedWriter.java (close): Declare as throwing
5870 IOException.
5871 * java/io/StringWriter.java (close): Declare as throwing
5872 IOException.
5873
5874 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5875
5876 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5877 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5878 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5879 "_JNI_OnLoad@8" (MSVC).
5880
5881 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5882
5883 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5884 convention on Win32 to invoke native JNI methods.
5885
5886 2003-02-03 Andrew Haley <aph@redhat.com>
5887
5888 * configure.host (x86_64): Enable interpreter.
5889
5890 2003-02-03 Andrew Haley <aph@redhat.com>
5891
5892 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5893 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5894 * configure.in (BACKTRACESPEC): New.
5895 * configure: Regenerate.
5896
5897 2003-02-02 Tom Tromey <tromey@redhat.com>
5898
5899 * configure: Rebuilt.
5900 * configure.in (TOOLKIT) [xlib]: Set correctly.
5901
5902 * Makefile.in: Rebuilt.
5903 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5904 libstdc++.
5905
5906 2003-01-31 Mark WIelaard <mark@klomp.org>
5907
5908 * Makefile.in: Rebuilt.
5909 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5910
5911 2003-01-31 Tom Tromey <tromey@redhat.com>
5912
5913 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5914 cast to element type.
5915 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5916 (_Jv_JNI_GetObjectArrayElement): Likewise.
5917
5918 * Makefile.in: Rebuilt.
5919 * Makefile.am (cond_x_ltlibrary): Renamed library to
5920 lib-gnu-awt-xlib.la.
5921 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5922 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5923 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5924 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5925 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5926 (lib_gnu_awt_xlib_la_LINK): Likewise.
5927 (install-exec-hook): Removed.
5928 (lib-gnu-awt-xlib.la): Renamed.
5929
5930 2003-01-31 Tom Tromey <tromey@redhat.com>
5931
5932 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5933 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5934 aclocal.m4 and lost in some merge.
5935
5936 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5937 Don't try to find graphics configuration.
5938 * java/awt/Toolkit.java (default_toolkit_name): Use new
5939 Configuration entry.
5940 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5941 New global.
5942 * configure: Rebuilt.
5943 * configure.in (TOOLKIT): New subst.
5944 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5945 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5946 directory. Make output directories for .c files.
5947 * Makefile.in: Rebuilt.
5948 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5949 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5950 (all_java_source_files): Added new sources.
5951 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5952 (gtk_c_files): New macro.
5953 (gtk_c_source_files): New macro.
5954 (cond_gtk_ltlibrary): New macro.
5955 ($(gtk_c_files)): New target.
5956 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5957 (gtk_awt_peer_sources): New macro.
5958 (gtk_c_headers): New macro.
5959 ($(gtk_c_headers)): New target.
5960 (ACLOCAL_AMFLAGS): New macro.
5961 * gtk.m4, glib.m4, libart.m4: New files.
5962 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5963 gnu/java/awt/peer/gtk/GdkGraphics.java,
5964 gnu/java/awt/peer/gtk/GtkArg.java,
5965 gnu/java/awt/peer/gtk/GtkArgList.java,
5966 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5967 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5968 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5969 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5970 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5971 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5972 gnu/java/awt/peer/gtk/GtkClipboard.java,
5973 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5974 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5975 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5976 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5977 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5978 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5979 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5980 gnu/java/awt/peer/gtk/GtkImage.java,
5981 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5982 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5983 gnu/java/awt/peer/gtk/GtkListPeer.java,
5984 gnu/java/awt/peer/gtk/GtkMainThread.java,
5985 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5986 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5987 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5988 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5989 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5990 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5991 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5992 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5993 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5994 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5995 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5996 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5997 gnu/java/awt/peer/gtk/GtkToolkit.java,
5998 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5999 gnu/java/awt/peer/gtk/TestAWT.java,
6000 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
6001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
6002 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6003 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6004 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
6005 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
6006 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
6007 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
6008 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
6009 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6010 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6011 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
6012 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
6013 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
6014 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6015 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6016 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
6017 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
6018 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
6019 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
6020 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
6021 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6022 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
6023 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6024 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6025 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6026 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
6027 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6028 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
6029 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
6030 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
6031 jni/classpath/native_state.c, jni/classpath/native_state.h,
6032 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
6033
6034 2003-01-31 Julian Dolby <dolby@us.ibm.com>
6035
6036 * java/util/Properties.java (load): Ignore backslash before EOF.
6037
6038 2003-01-30 Jeff Sturm <jsturm@one-point.com>
6039
6040 * java/lang/natClass.cc (initializeClass): Check tables when
6041 (state == JV_STATE_IN_PROGRESS).
6042 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
6043 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
6044 interpreted classes.
6045 (linkClass0): Use _Jv_WaitForState.
6046
6047 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
6048
6049 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
6050 object when finished.
6051
6052 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
6053
6054 * libjava/configure.host: Disable can_unwind_signal on darwin.
6055
6056 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
6057
6058 Fixes PR java/9254:
6059 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
6060 additionally containing id of the owner thread as well as
6061 the number of nested times the thread has acquired the mutex.
6062 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
6063 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
6064 (_Jv_MutexUnlock): Check if really the owner thread, reset
6065 owner thread id to 0 before leaving, if leaving for the last
6066 time.
6067 (_Jv_MutexLock): Set owner thread id in the mutex and increment
6068 refcount.
6069 (_Jv_ThreadYield): Yield using a call to Sleep(0).
6070 * win32-threads.cc (_Jv_CondWait): Check if really owner of
6071 the passed mutex.
6072 Pass handle of the broadcast event, instead of a pointer to it
6073 in Win32 ResetEvent( ) call.
6074 Remove incorrect return values.
6075 (_Jv_CondDestroy): Close both event handles and delete
6076 critical section.
6077 (_Jv_CondNotify): Check if really the owner thread.
6078 (_Jv_CondNotifyAll): Check if really the owner thread.
6079 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
6080 (really_start): Use SetEvent( ) to signal daemon_cond.
6081 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
6082 WaitForSingleObject( ) instead to wait for daemon_cond to be
6083 signalled.
6084
6085 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
6086
6087 * configure.in: Specifically define HAVE_BACKTRACE if building
6088 for MinGW.
6089 * include/win32.h: Remove HAVE_BACKTRACE definition.
6090 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
6091 * configure: Rebuilt.
6092
6093 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6094
6095 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
6096 Set and AC_SUBST. Remove USE_LIBDIR conditional.
6097 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
6098 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
6099 * Makefile.in, configure: Rebuilt.
6100
6101 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
6102
6103 Fixes PR java/9253:
6104 * java/io/natFileWin32.cc (performList): Append only "*.*"
6105 if the canonical file path already has a "\" at the end.
6106
6107 2003-01-24 Tom Tromey <tromey@redhat.com>
6108
6109 * defineclass.cc (handleMethodsEnd): Precompute code for static
6110 method.
6111 (handleCodeAttribute): Likewise.
6112 * resolve.cc (ncode): Use run_class for unsynchronized static
6113 methods.
6114 * include/java-interp.h (class _Jv_InterpMethod): Declare
6115 run_class.
6116 * interpret.cc (run_synch_class): Initialize class.
6117 (run) [insn_invokestatic]: Don't initialize class.
6118 [insn_anewarray]: Likewise.
6119 [insn_multianewarray]: Likewise.
6120 (run_class): New function.
6121
6122 2003-01-24 Tom Tromey <tromey@redhat.com>
6123
6124 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
6125 comment.
6126
6127 2003-01-22 Andrew Haley <aph@redhat.com>
6128
6129 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
6130 * configure.host (CHECKREFSPEC): Define for x86_64.
6131
6132 2003-01-21 Tom Tromey <tromey@redhat.com>
6133
6134 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
6135 search at 2, not 3.
6136
6137 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
6138
6139 * java/io/natFileWin32.cc (isAbsolute): Check path length before
6140 looking at any characters.
6141 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
6142 be used.
6143 (isAbsolute): Check path's length as well.
6144
6145 2003-01-17 Mark Wielaard <mark@klomp.org>
6146
6147 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
6148 (nat_source_files): Add natVMObjectStreamClass.cc.
6149 * Makefile.in: Regenerated.
6150 * gcj/javaprims.h (namespace java): Regenerated.
6151 * java/io/ObjectStreamClass.java (getClassUID): Call
6152 VMObjectStreamClass.hasClassInitializer().
6153 (hasClassInitializer): Removed.
6154 * java/io/VMObjectStreamClass.java: New class.
6155 * java/io/natVMObjectStreamClass.cc: New file.
6156 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
6157
6158 2003-01-16 Mark Wielaard <mark@klomp.org>
6159
6160 * java/net/SocketImpl.java (toString): Don't explicitly call
6161 toString() on possible null address.
6162
6163 2003-01-16 Michael Koch <konqueror@gmx.de>
6164
6165 * java/net/MulticastSocket.java
6166 (setInterface): Reindented.
6167
6168 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6169
6170 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
6171 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
6172 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
6173 translateY arguments. Implement.
6174 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
6175 down translation arguments.
6176 (drawPolyline, drawPolygon): Fix incorrect tests.
6177 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
6178 translateX and translateY arguments.
6179
6180 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6181
6182 * Makefile.in: Rebuilt.
6183 * Makefile.am (xlib_includes): New macro.
6184 (INCLUDES): Use it.
6185
6186 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6187
6188 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
6189 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
6190 16-bit display mode.
6191
6192 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
6193
6194 * java/awt/CardLayout.java (show): Rewrote.
6195 (gotoComponent): Removed `target' argument. Simplified code.
6196 Don't pre-compute `choice' unless `what' is FIRST or LAST.
6197 Changed all callers.
6198 (NONE): Removed.
6199
6200 2003-01-14 Michael Koch <konqueror@gmx.de>
6201
6202 * java/net/InetSocketAddress.java
6203 (serialVersionUID): New member variable.
6204 * java/net/NetPermission.java
6205 (NetPermission): Dont implement java.io.Serialization directly.
6206 * java/net/SocketAddress.java:
6207 (serialVersionUID): Documentation added.
6208
6209 2003-01-14 Michael Koch <konqueror@gmx.de>
6210
6211 * java/awt/Label.java
6212 (Label): Implements javax.accessibility.Accessible;
6213 * java/awt/List.java
6214 (List): Implements javax.accessibility.Accessible;
6215 * java/awt/ScrollPane.java
6216 (ScrollPane): Implements javax.accessibility.Accessible;
6217 * java/awt/Scrollbar.java
6218 (Scrollbar): Implements javax.accessibility.Accessible;
6219 * java/awt/TextComponent.java
6220 (setCaretPosition): Throw exception, documentation added.
6221 * java/awt/Toolkit.java:
6222 Added some newlines in method documentations.
6223 (createButton): Exception documentation added.
6224 (createTextField): Exception documentation added.
6225 (createLabel): Exception documentation added.
6226 (createList): Exception documentation added.
6227 (createCheckbox): Exception documentation added.
6228 (createScrollbar): Exception documentation added.
6229 (createScrollPane): Exception documentation added.
6230 (createTextArea): Exception documentation added.
6231 (createChoice): Exception documentation added.
6232 (createFrame): Exception documentation added.
6233 (createWindow): Exception documentation added.
6234 (createDialog): Exception documentation added.
6235 (createMenuBar): Exception documentation added.
6236 (createMenu): Exception documentation added.
6237 (createMenuItem): Exception documentation added.
6238 (createFileDialog): Exception documentation added.
6239 (createCheckboxMenuItem): Exception documentation added.
6240 (loadSystemColors): Exception documentation added.
6241 (setDynamicLayout): Exception documentation added.
6242 (isDynamicLayoutSet): Exception documentation added.
6243 (isDynamicLayoutActive): Exception documentation added.
6244 (getScreenSize): Exception documentation added.
6245 (getScreenResolution): Exception documentation added.
6246 (getScreenInsets): Exception documentation added.
6247 (getColorModel): Exception documentation added.
6248 (getSystemClipboard): Exception documentation added.
6249 (getSystemSelection): Exception documentation added.
6250 (getMenuShortcutKeyMask): Exception documentation added.
6251 (getSystemEventQueue): Exception documentation added.
6252 * java/awt/Window.java:
6253 Reindented some code.
6254 (Window): Centralized implementation, documentation added.
6255 (finalize): Documentation added.
6256 (hide): Fixed typo in comment.
6257 (getWindowListeners): Documentation added.
6258 * java/awt/color/ColorSpace.java
6259 (toRGB): Documentation added.
6260 * java/awt/color/ICC_ColorSpace.java
6261 (ICC_ColorSpace): Documentation added.
6262 (toRGB): Throw exception, documentation added.
6263 (fromRGB): Throw exception, documentation added.
6264 (toCIEXYZ): Documentation added.
6265 (fromCIEXYZ): Documentation added.
6266 (getMinValue): Documentation added.
6267 (getMaxValue): Documentation added.
6268 * java/awt/geom/Dimension2D.java
6269 (clone): Documentation added.
6270 * java/awt/geom/GeneralPath.java
6271 (clone): Documentation added.
6272 * java/awt/geom/Line2D.java
6273 (clone): Documentation added.
6274 * java/awt/geom/QuadCurve2D.java
6275 (clone): Documentation added.
6276 * java/awt/image/ColorModel.java
6277 (ColorModel): Throw exception, documentation added.
6278 * java/awt/image/ImageFilter.java
6279 (clone): Doesnt throw CloneNotSupportedException.
6280
6281 2003-01-14 Andrew Haley <aph@redhat.com>
6282
6283 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
6284 in a try block.
6285
6286 2003-01-10 Andrew Haley <aph@redhat.com>
6287
6288 * include/dwarf2-signal.h: Remove x86_64.
6289 * configure.host (x86_64 DIVIDESPEC): Remove.
6290 * include/x86_64-signal.h: New file.
6291 * configure.in: Regenerate.
6292
6293 2003-01-10 Michael Koch <konqueror@gmx.de>
6294
6295 * java/net/DatagramSocket.java
6296 (ch): Description added.
6297 (remotePort): Initialize with -1.
6298 (connect): Doesnt throws SocketException.
6299 * java/net/MulticastSocket.java
6300 (setInterface): Merge with Classpath.
6301 * java/net/ServerSocket.java
6302 (closed): New member variable.
6303 (bind): Check if socket is closed.
6304 (close): Close an associated channel too, set new value to closed.
6305 (isBound): Reindented.
6306 (isClosed): Implemented.
6307 * java/net/Socket.java
6308 (closed): New member variable.
6309 (bind): Check if socket is closed.
6310 (connect): Check if socket is closed.
6311 (close): Close an associated channel too, set new value to closed.
6312 (isClosed): Implemented.
6313
6314 2003-01-10 Michael Koch <konqueror@gmx.de>
6315
6316 * java/awt/DisplayMode.java
6317 (equals): Fixed argument type and implementation.
6318
6319 2003-01-07 Tom Tromey <tromey@redhat.com>
6320
6321 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
6322 JV_HASH_SYNCHRONIZATION.
6323 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
6324 JV_HASH_SYNCHRONIZATION.
6325
6326 2003-01-07 Michael Koch <konqueror@gmx.de>
6327
6328 * java/net/DatagramSocket.java:
6329 Added classpath license info.
6330 (DatagramSocket): Merged description with classpath.
6331 (close): Merged description with classpath.
6332 (getChannel): Merged description with classpath.
6333 (getInetAddress): Merged description with classpath.
6334 (getPort): Merged description with classpath.
6335 (getLocalAddress): Merged description with classpath.
6336 (getLocalPort): Merged description with classpath.
6337 (getSoTimeout): Merged description with classpath.
6338 (setSoTimeout): Merged description with classpath.
6339 (getSendBufferSize): Merged description with classpath.
6340 (setSendBufferSize): Merged description with classpath.
6341 (getReceiveBufferSize): Merged description with classpath.
6342 (setReceiveBufferSize): Merged description with classpath.
6343
6344 2003-01-04 Tom Tromey <tromey@redhat.com>
6345
6346 * java/awt/List.java: Merged with Classpath.
6347
6348 2003-01-03 Mark Wielaard <mark@klomp.org>
6349
6350 * java/io/FileDescriptor.java (position): New private field.
6351 * java/io/natFileDescriptorPosix.cc (write): Up position.
6352 (setLength): Use and set position.
6353 (seek): Set position.
6354 (getFilePointer): Return position.
6355 (read): Up position.
6356
6357 2003-01-03 Mark Wielaard <mark@klomp.org>
6358
6359 Merge with Classpath:
6360 * java/io/ObjectStreamClass.java (lookup): Split method and call
6361 lookupForClassObject().
6362 (lookupForClassObject): New method.
6363 (isProxyClass): New field.
6364 (setClass): Set isProxyClass, add object to classLookupTable, set
6365 superClass and calculateOffsets.
6366 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
6367 and not a proxy class.
6368 (setFields): Set accessible true for serialPersistentFields.
6369 (getClassUID): Same for suid. And check if suid is of type long.
6370 (hasClassInitializer): Don't throw NoSuchMethodError.
6371
6372 2003-01-03 Mark Wielaard <mark@klomp.org>
6373
6374 * java/io/FileInputStream.java (finalize): Don't explicitly
6375 finalize FileDescriptor.
6376
6377 2003-01-03 Jeff Sturm <jsturm@one-point.com>
6378
6379 * configure.host (sparc*-*): Enable bytecode interpreter.
6380
6381 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
6382
6383 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
6384 Don't throw RemoteException.
6385 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
6386 throw RemoteException.
6387
6388 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6389
6390 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
6391 proxyHost): New static fields.
6392 (<clinit>): Initialize new fields.
6393 (connect): Use proxy if necessary.
6394 (usingProxy): Implement.
6395
6396 2003-01-03 Eric Blake <ebb9@email.byu.edu>
6397
6398 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
6399 (TreeIterator.remove): Prefer IllegalStateException over
6400 ConcurrentModificationException, to match Sun.
6401
6402 2002-12-22 Anthony Green <green@redhat.com>
6403
6404 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
6405
6406 2003-01-02 Mark Wielaard <mark@klomp.org>
6407
6408 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
6409 public.
6410 (HTTP_USE_PROXY): Add field.
6411 (getResponseVals): Only set responseCode when not yet explicitly
6412 set by subclass.
6413
6414 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
6415 Mark Wielaard <mark@klomp.org>
6416
6417 * java/util/zip/ZipFile.java (entries): Now HashMap.
6418 (readLeShort(DataInput, byte[])): Read from given byte array.
6419 (readLeInt(DataInput, byte[]): Likewise.
6420 (readLeShort(byte[] b, int off)): New method.
6421 (readLeInt(byte[] b, int off)): Likewise.
6422 (readEntries): Use byte arrays to read info in bigger chunks.
6423 (getEntries): Return HashMap.
6424 (getEntry): Use HashMap.
6425 (locBuf): New private field.
6426 (checkLocalHeader): Use locBuf to read info in one chunk.
6427 (getInputStream): Use entries HashMap, wrap PartialInputStream
6428 in BufferedInputStream.
6429 (ZipEntryEnumeration): Use HashMap and Interator.
6430
6431 2003-01-02 Mark Wielaard <mark@klomp.org>
6432 Jeroen Frijters <jeroen@sumatra.nl>
6433
6434 * java/net/URLClassLoader.java (Resource.getCodeSource):
6435 Fix check certs == null.
6436 (getCanonicalFileURL): Removed method.
6437 (JarURLLoader): Don't call removed method.
6438 (FileURLLoader): Likewise.
6439 (FileURLLoader.getResource): Don't canonicalize file name.
6440
6441 2003-01-01 Tom Tromey <tromey@redhat.com>
6442
6443 * Makefile.in: Rebuilt.
6444 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
6445 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
6446 java/awt/BufferCapabilities.java, java/awt/Button.java,
6447 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6448 java/awt/Container.java, java/awt/Cursor.java,
6449 java/awt/EventQueue.java, java/awt/FileDialog.java,
6450 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6451 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6452 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6453 java/awt/Scrollbar.java, java/awt/TextArea.java,
6454 java/awt/TextField.java, java/awt/color/CMMException.java,
6455 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6456 java/awt/color/ProfileDataException.java,
6457 java/awt/datatransfer/Clipboard.java,
6458 java/awt/datatransfer/DataFlavor.java,
6459 java/awt/datatransfer/FlavorMap.java,
6460 java/awt/datatransfer/SystemFlavorMap.java,
6461 java/awt/dnd/DragGestureEvent.java,
6462 java/awt/dnd/DragGestureRecognizer.java,
6463 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6464 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6465 java/awt/im/InputMethodHighlight.java,
6466 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6467 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6468
6469 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6470 `op' to BufferedImageOp.
6471
6472 2002-12-31 Tom Tromey <tromey@redhat.com>
6473
6474 Fix for PR libgcj/7416:
6475 * javax/naming/InitialContext.java (init): Use
6476 gnu.classpath.home.url.
6477 * java/security/Security.java: Use new properties.
6478 (loadProviders): Accept base url; use it.
6479 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6480 gnu.classpath.home.url.
6481 (gnu.classpath.home.url): Define.
6482 (gnu.classpath.vm.shortname): Likewise.
6483
6484 2002-12-31 Tom Tromey <tromey@redhat.com>
6485 Ranjit Mathew <rmathew@hotmail.com>
6486
6487 Fix for PR libgcj/8997:
6488 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6489 Include platform.h.
6490 * include/posix.h (_Jv_platform_usleep): New function.
6491 * include/win32.h (_Jv_platform_usleep): New function.
6492
6493 2002-12-29 Tom Tromey <tromey@redhat.com>
6494
6495 * gcj/javaprims.h: Updated.
6496 * scripts/classes.pl (scan): Removed stray semicolon.
6497
6498 2002-12-30 Mark Wielaard <mark@klomp.org>
6499
6500 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6501 if zero or smaller.
6502
6503 2002-12-30 Mark Wielaard <mark@klomp.org>
6504
6505 * java/util/Properties (formatForOutput): Don't fall through to
6506 default case after escaping character.
6507
6508 2002-12-30 Mark Wielaard <mark@klomp.org>
6509
6510 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6511 against count.
6512
6513 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6514
6515 * boehm.cc: Remove stray semicolon.
6516 * interpret.cc: Likewise.
6517 * prims.cc: Likewise.
6518 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6519 earlier to ensure default arguments are processed.
6520 * gcj/array.h (JArray): Add forward declaration.
6521 (elements): Likewise.
6522 * gcj/javaprim.h: Remove stray semicolons.
6523 * include/bohm-gc.h: Likewise.
6524 * include/jni.h: Likewise.
6525 * include/jvm.h: Likewise.
6526 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6527
6528 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6529
6530 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6531 of catch_type.
6532 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6533 idt tables after initializing superclass.
6534 * java/lang/natClassLoader.cc (uaddr): New typedef.
6535 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6536 if they are constant pool indicies. Don't link vtable, otable yet.
6537
6538 2002-12-21 Anthony Green <green@redhat.com>
6539
6540 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6541 libraries.
6542 * Makefile.in: Rebuilt.
6543
6544 2002-12-19 Anthony Green <green@redhat.com>
6545
6546 * Makefile.am (ordinary_java_source_files): Add
6547 org/xml/sax/helpers/NewInstance.java.
6548 * Makefile.in: Rebuilt.
6549 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6550 org/xml/sax/helpers/package.html: New files.
6551 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6552 http://www.saxproject.org.
6553
6554 2002-12-19 Andrew Haley <aph@redhat.com>
6555
6556 * java/util/natResourceBundle.cc: Include
6557 ArrayIndexOutOfBoundsException.h.
6558 (getCallingClassLoader): Don't put upper bound on stack search.
6559 Catch ArrayIndexOutOfBoundsException.
6560
6561 2002-12-19 Tom Tromey <tromey@redhat.com>
6562
6563 * libtool-version: Increased `current'.
6564
6565 2002-12-19 Tom Tromey <tromey@redhat.com>
6566
6567 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6568 comment.
6569 * java/lang/ClassLoader.java (defineClass): Use chained
6570 exception when rethrowing.
6571 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6572 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6573 constants.
6574 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6575 (_Jv_PrepareClass): Use it.
6576 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6577 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6578 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6579 (Class): _Jv_PrepareMissingMethods now friend.
6580 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6581 Record `NULL' for system class loader.
6582 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6583 system class loader.
6584 (_Jv_FindClassInCache): Likewise.
6585 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6586 (_Jv_FindClass): Special case system class loader.
6587 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6588 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6589 vtable slots.
6590 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6591 in a final class.
6592 (_getDeclaredMethod): Don't return synthetic methods.
6593 (getDeclaredMethods): Likewise.
6594 (_getMethod): Likewise.
6595 (_getMethods): Likewise.
6596
6597 2002-12-18 Raif Naffah <raif@fl.net.au>
6598
6599 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6600 canonical form after divide().
6601 (modInverse): Likewise.
6602
6603 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6604 Mark Wielaard <mark@klomp.org>
6605
6606 * java/security/SecurityRandom (digest): Removed field.
6607 (SecureRandom): Check all providers for case-insensitive SecureRandom
6608 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6609 if necessary.
6610 (getInstance(String,Provider,boolean): New method.
6611 (getInstance(String)): Use new method.
6612 (getInstance(String,String)): Likewise.
6613 (getInstance(String,Provider)): Likewise.
6614
6615 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6616
6617 * java/security/Security.java (loadProviders): Increment i only once.
6618
6619 2002-12-12 Mark Wielaard <mark@klomp.org>
6620
6621 * java/lang/ClassLoader.java (resolveClass0): Transform
6622 ClassNotFoundException to NoClassDefFoundError. Transform all other
6623 throwables to LinkageError.
6624
6625 2002-12-11 Tom Tromey <tromey@redhat.com>
6626
6627 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6628
6629 * java/lang/ClassLoader.java (loadedClasses): New field.
6630 (defineClass): Fixed indentation. Put new class in
6631 loadedClasses.
6632 (findLoadedClass): Implement here.
6633 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6634
6635 2002-12-10 Tom Tromey <tromey@redhat.com>
6636
6637 * Makefile.in: Rebuilt.
6638 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6639 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6640 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6641 * java/lang/natClassLoader.cc
6642 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6643
6644 2002-12-10 Mark Wielaard <mark@klomp.org>
6645 Tom Tromey <tromey@redhat.com>
6646
6647 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6648 (JarURLLoader): Use it.
6649 (FileURLLoader): Likewise.
6650 (JarURLResource.getURL): Use chained exception.
6651 (FileResource.getURL): Likewise.
6652 (FileURLLoader.getResource): Use canonical file name.
6653 (addURL): Indentation fix.
6654
6655 2002-12-10 Tom Tromey <tromey@redhat.com>
6656
6657 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6658 From Laurent Bardet <l.bardet@magic.fr>.
6659
6660 2002-12-09 Tom Tromey <tromey@redhat.com>
6661
6662 * include/win32.h (_Jv_platform_solib_prefix): New define.
6663 (_Jv_platform_solib_suffix): Likewise.
6664 * include/posix.h (_Jv_platform_solib_prefix): New define.
6665 (_Jv_platform_solib_suffix): Likewise.
6666 * java/lang/natRuntime.cc: Include StackTrace.h.
6667 (_load): Use findLibrary and new platform defines.
6668 (nativeGetLibname): Use new platform defines.
6669
6670 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6671 `t' won't be null.
6672
6673 2002-12-08 Mark Wielaard <mark@klomp.org>
6674
6675 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6676 cache remote jar files.
6677 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6678 add File.separator to URL when it is a directory.
6679 * java/lang/ClassLoader.java: Add Classpath javadoc.
6680 (parent): final.
6681 (getParent): Add (disabled) security check.
6682 (findLibrary): New default method.
6683 * java/net/JarURLConnection.java (getManifest): Implement.
6684 (getInputStream): Only create InputStream when entry exists.
6685 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6686 when they exist.
6687 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6688
6689 2002-12-08 Mark Wielaard <mark@klomp.org>
6690
6691 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6692 (lastDefaultLocale): New field.
6693 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6694 resourceBundleCache.
6695
6696 2002-12-06 Mark Wielaard <mark@klomp.org>
6697
6698 * java/net/InetAddress.java (toString): Use hostname when not null,
6699 don't do an explicit reverse getHostName() lookup.
6700 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6701 NullPointerException.
6702
6703 2002-12-06 Tom Tromey <tromey@redhat.com>
6704
6705 * include/java-interp.h (class _Jv_InterpMethod): Added
6706 JV_MARKOBJ_DECL.
6707 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6708 mark `prepared' field of interpreted method.
6709 * interpret.cc (compile): Use _Jv_AllocBytes.
6710
6711 2002-12-05 Andrew Haley <aph@redhat.com>
6712
6713 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6714 #ifdef (HAVE_BACKTRACE) around the whole function body.
6715
6716 2002-12-05 Tom Tromey <tromey@redhat.com>
6717
6718 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6719 * resolve.cc: Don't include AbstractMethodError.h.
6720 (_Jv_abstractMethodError): Removed.
6721 * defineclass.cc (handleMethodsBegin): Initialize method index to
6722 -1.
6723 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6724 method index for "new" final method.
6725 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6726 isVirtualMethod. Added `flags' argument.
6727 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6728 class.
6729
6730 2002-12-04 Tom Tromey <tromey@redhat.com>
6731
6732 * java/net/SocketPermission.java (hashCode): Rewrote.
6733
6734 2002-12-04 Tom Tromey <tromey@redhat.com>
6735
6736 * Makefile.in: Rebuilt.
6737 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6738 natResourceBundle.
6739 * java/util/ResourceBundle.java (Security): Removed.
6740 (getCallingClassLoader): Now native.
6741 * java/util/natResourceBundle.cc: New file.
6742 * java/lang/natVMSecurityManager.cc: New file.
6743 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6744
6745 2002-12-03 Mark Wielaard <mark@klomp.org>
6746
6747 * java/util/jar/JarFile.java (manifest): Not final.
6748 (manifestRead): New field.
6749 (JarFile): Don't read Manifest in constructor.
6750 (getManifest): New method.
6751 (JarEnumeration.nextElement): Use new method.
6752 (getEntry): Likewise.
6753 * java/util/zip/ZipFile.java (name): Final.
6754 (raf): Likewsie.
6755 (entries): Change type to Hashtable.
6756 (closed): New field.
6757 (ZipFile): Don't read enties in constructor.
6758 (readEntries): Use Hashtable.
6759 (close): Set new close flag and set entries to null inside
6760 synchronized block.
6761 (entries): Contruct enumeration using new getEntries() method and
6762 entries Hashtable.
6763 (getEntryIndex): Removed.
6764 (getEntries): New method.
6765 (getEntry): Use new getEntries() method and entries Hastable.
6766 (getInputStream): Likewise.
6767 (size): Return getEntries().size().
6768 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6769 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6770 (time): Removed
6771 (dostime): New field.
6772 (zipFileIndex): Removed.
6773 (ZipEntry(ZipEntry)): Copy dostime.
6774 (setDOSTime): Now final and doesn't convert dos time.
6775 (getDOSTime): Likewise.
6776 (setTime): Convert dos time.
6777 (getTime): Likewise.
6778 (getCalendar): New method.
6779 (setExtra): Use setTime().
6780 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6781
6782 2002-12-03 Tom Tromey <tromey@redhat.com>
6783
6784 * java/lang/Character.java (forDigit): Formatting fix.
6785
6786 2002-12-03 Raif Naffah <raif@fl.net.au>
6787
6788 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6789 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6790 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6791
6792 2002-12-03 Andrew Haley <aph@redhat.com>
6793
6794 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6795 _Jv_PushClass.
6796 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6797 (_Jv_PopClass): New.
6798 (_Jv_PushClass): New.
6799 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6800 discover the ClassLoader of our caller.
6801 (_Jv_CheckArrayStore): Don't check that a class is assignment
6802 compatible with Object.
6803 * java/lang/natVMTHrowable.cc: Delete.
6804 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6805 java.lang.VMThrowable.
6806 (StackTrace(), StackTrace(int)): New constructors.
6807 (classAt, methodAt, update, methodAtAddress): New methods.
6808 (map): New field.
6809 * java/lang/VMThrowable.java: Use StackTrace instead of
6810 natVMTHrowable.
6811 * java/lang/Class.h (getClassLoaderInternal): New.
6812 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6813 Be friendly with gnu::gcj::runtime::StackTrace.
6814 (Object.chain): New field.
6815 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6816 gnu::gcj::runtime::StackTrace.
6817 * gnu/gcj/runtime/natStackTrace.cc: New file.
6818 * gnu/gcj/runtime/MethodRef.java: New file.
6819 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6820 instead of getClassLoader().
6821 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6822 java::lang::VMThrowable.
6823 * Makefile.am (core_java_source_files): Add MethodRef.java,
6824 StackTrace.java.
6825 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6826 * Makefile.in: Rebuild.
6827
6828 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6829
6830 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6831 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6832 yes also for sh-linux* and sh[34]*-linux*.
6833 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6834 set SIGNAL_HANDLER to use DWARF2 exception for them.
6835 * configure: Regenerate.
6836
6837 2002-12-02 Tom Tromey <tromey@redhat.com>
6838
6839 * jni.cc: Added `name' argument.
6840 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6841 `const char *' argument.
6842 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6843
6844 2002-12-01 Tom Tromey <tromey@redhat.com>
6845
6846 Bug compatibility, for PR libgcj/8738:
6847 * java/io/CharArrayWriter.java (close): Do nothing.
6848 (flush): Likewise.
6849 (reset): Don't touch `closed'.
6850 (write(int)): Don't throw IOException.
6851 (write(char[],int,int)): Likewise.
6852 (write(String,int,int)): Likewise.
6853 (closed): Removed.
6854
6855 2002-12-01 Mark Wielaard <mark@klomp.org>
6856
6857 * java/lang/SecurityManager.java: Remerge comments, indenting and
6858 checkXXX methods with Classpath.
6859
6860 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6861
6862 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6863 getNormalizedComponents): Fix calculation which was using one too
6864 many bits in the unnormalized format.
6865
6866 2002-11-29 Gary Benson <gbenson@redhat.com>
6867
6868 For PR libgcj/8759:
6869 * java/beans/Introspector.java (flushCaches): New method.
6870 (flushFromCaches): Likewise.
6871
6872 2002-11-29 Michael Koch <konqueror@gmx.de>
6873
6874 * java/nio/channels/DatagramChannel.java
6875 (open): Added exception documentation.
6876 (write): Added exception documentation.
6877 (connect): Added exception documentation.
6878 (disconnect): Added exception documentation.
6879 (isConnected): Added exception documentation.
6880 (read): Added exception documentation.
6881 (receive): Added exception documentation.
6882 (send): Added exception documentation.
6883 (validOps): Added exception documentation.
6884 * java/nio/channels/SocketChannel.java
6885 (open): Added exception documentation.
6886 (read): Added exception documentation.
6887 (write): Added exception documentation.
6888 (connect): Added exception documentation.
6889 (finishConnect): Added exception documentation.
6890
6891 2002-11-29 Michael Koch <konqueror@gmx.de>
6892
6893 * gnu/java/nio/DatagramChannelImpl:
6894 (fd): New member variable to store file descriptor of socket.
6895 * gnu/java/nio/SelectionKeyImpl.java:
6896 (ops): Removed.
6897 (readyOps): New member variable.
6898 (interestOps): New member variable.
6899 (readyOps): Implemented.
6900 (readyOps): New method to set member variable readyOps.
6901 (interestOps): Replaced ops by interestOps.
6902 * gnu/java/nio/SelectorImpl.java:
6903 (SelectorImpl): Initialize key sets.
6904 (select): Call select with -1 instead of Long.MAX_VALUE).
6905 (java_do_select): Make it a native method.
6906 (getFDsAsArray): New helper method.
6907 (select): Remove canceled keys, give only interested file discriptors
6908 to java_do_select, set ready ops.
6909 (add): No need to initialize keys set here.
6910 (add_selected): No need to initialize selected set here.
6911 (deregisterCanceledKeys): New helper method.
6912 (register): Set interest ops, set attachments, added handling of datagram
6913 channels.
6914 * gnu/java/nio/ServerSocketChannelImpl:
6915 (SocketAccept): Renamed from NioSocketAccept.
6916 (implConfigureBlocking): Implemented.
6917 (accept): Use SocketAccept instead of NioSocketAccept.
6918 * gnu/java/nio/SocketChannelImpl:
6919 Reactivate native methods.
6920
6921 2002-11-29 Michael Koch <konqueror@gmx.de>
6922
6923 * gnu/java/nio/natByteBufferImpl.cc,
6924 gnu/java/nio/natCharBufferImpl.cc,
6925 gnu/java/nio/natDoubleBufferImpl.cc,
6926 gnu/java/nio/natFloatBufferImpl.cc,
6927 gnu/java/nio/natIntBufferImpl.cc,
6928 gnu/java/nio/natLongBufferImpl.cc,
6929 gnu/java/nio/natSelectorImpl.cc,
6930 gnu/java/nio/natServerSocketChannelImpl.cc,
6931 gnu/java/nio/natShortBufferImpl.cc,
6932 gnu/java/nio/natSocketChannelImpl.cc:
6933 New files that implement native functionalities.
6934
6935 2002-11-29 Michael Koch <konqueror@gmx.de>
6936
6937 * gnu/java/nio/ByteBufferImpl.java
6938 (ByteBufferImpl): Moved position() after limit.
6939 (nio_*): Use native implementation.
6940 * gnu/java/nio/CharBufferImpl.java:
6941 Reformated.
6942 (endian): New member variable string endianess of buffer.
6943 (CharBufferImpl): Moved position() after limit.
6944 (nio_*): Use native implementation.
6945 (subSequence): Implemented.
6946 * gnu/java/nio/DoubleBufferImpl.java
6947 (DoubleBufferImpl): Moved position() after limit.
6948 (nio_*): Use native implementation.
6949 * gnu/java/nio/FloatBufferImpl.java
6950 Reformated.
6951 (FloatBufferImpl): Moved position() after limit.
6952 (nio_*): Use native implementation.
6953 * gnu/java/nio/IntBufferImpl.java
6954 Added needed imports, Reformated.
6955 (IntBufferImpl): Moved position() after limit.
6956 (nio_*): Use native implementation.
6957 * gnu/java/nio/LongBufferImpl.java
6958 Reformated.
6959 (LongBufferImpl): Moved position() after limit.
6960 (nio_*): Use native implementation.
6961 * gnu/java/nio/ShortBufferImpl.java
6962 Reformated.
6963 (ShortBufferImpl): Moved position() after limit.
6964 (nio_*): Use native implementation.
6965
6966 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6967
6968 * java/util/Locale.java (toString): Improve efficiency if country
6969 and variant are both empty.
6970
6971 2002-11-26 Tom Tromey <tromey@redhat.com>
6972
6973 * verify.cc (pop_init_ref): New method.
6974 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6975 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6976 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6977 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6978 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6979 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6980 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6981 let `this' argument be uninitialized. Don't let `null' be passed
6982 as `this' to construtor.
6983
6984 2002-11-26 Mark Wielaard <mark@klomp.org>
6985
6986 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6987 * javax/transaction/HeuristicMixedException.java: Likewise.
6988 * javax/transaction/HeuristicRollbackException.java: Likewise.
6989 * javax/transaction/InvalidTransactionException.java: Likewise.
6990 * javax/transaction/NotSupportedException.java: Likewise.
6991 * javax/transaction/RollbackException.java: Likewise.
6992 * javax/transaction/Status.java: Likewise.
6993 * javax/transaction/Synchronization.java: Likewise.
6994 * javax/transaction/SystemException.java: Likewise.
6995 * javax/transaction/Transaction.java: Likewise.
6996 * javax/transaction/TransactionManager.java: Likewise.
6997 * javax/transaction/TransactionRequiredException.java: Likewise.
6998 * javax/transaction/TransactionRolledbackException.java: Likewise.
6999 * javax/transaction/UserTransaction.java: Likewise.
7000 * javax/transaction/xa/XAException.java: Likewise.
7001 * javax/transaction/xa/XAResource.java: Likewise.
7002 * javax/transaction/xa/Xid.java: Likewise.
7003
7004 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
7005
7006 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
7007 define.
7008 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
7009 * include/posix.h (socklen_t): Define if not already defined.
7010
7011 2002-11-25 Tom Tromey <tromey@redhat.com>
7012
7013 * verify.cc (type::compatible): Backed out broken change.
7014
7015 * verify.cc (type::compatible): Check initialization status
7016 first.
7017 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
7018 Don't use NULLCHECK.
7019
7020 2002-11-23 H.J. Lu <hjl@gnu.org>
7021
7022 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
7023 Include ../config/accross.m4.
7024 * aclocal.m4; Rebuild.
7025 * configure: Likewise.
7026
7027 2002-11-23 Mark Wielaard <mark@klomp.org>
7028
7029 * javax/naming/AuthenticationException.java: Update copyright header.
7030 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
7031 * javax/naming/Binding.java: Likewise.
7032 * javax/naming/CannotProceedException.java: Likewise.
7033 * javax/naming/CommunicationException.java: Likewise.
7034 * javax/naming/CompositeName.java: Likewise.
7035 * javax/naming/CompoundName.java: Likewise.
7036 * javax/naming/ConfigurationException.java: Likewise.
7037 * javax/naming/Context.java: Likewise.
7038 * javax/naming/ContextNotEmptyException.java: Likewise.
7039 * javax/naming/InitialContext.java: Likewise.
7040 * javax/naming/InsufficientResourcesException.java: Likewise.
7041 * javax/naming/InterruptedNamingException.java: Likewise.
7042 * javax/naming/LimitExceededException.java: Likewise.
7043 * javax/naming/LinkException.java: Likewise.
7044 * javax/naming/LinkLoopException.java: Likewise.
7045 * javax/naming/LinkRef.java: Likewise.
7046 * javax/naming/MalformedLinkException.java: Likewise.
7047 * javax/naming/NameAlreadyBoundException.java: Likewise.
7048 * javax/naming/NameClassPair.java: Likewise.
7049 * javax/naming/NameNotFoundException.java: Likewise.
7050 * javax/naming/NameParser.java: Likewise.
7051 * javax/naming/NamingEnumeration.java: Likewise.
7052 * javax/naming/NamingSecurityException.java: Likewise.
7053 * javax/naming/NoInitialContextException.java: Likewise.
7054 * javax/naming/NoPermissionException.java: Likewise.
7055 * javax/naming/NotContextException.java: Likewise.
7056 * javax/naming/OperationNotSupportedException.java: Likewise.
7057 * javax/naming/PartialResultException.java: Likewise.
7058 * javax/naming/Reference.java: Likewise.
7059 * javax/naming/Referenceable.java: Likewise.
7060 * javax/naming/ReferralException.java: Likewise.
7061 * javax/naming/ServiceUnavailableException.java: Likewise.
7062 * javax/naming/SizeLimitExceededException.java: Likewise.
7063 * javax/naming/TimeLimitExceededException.java: Likewise.
7064 * javax/naming/directory/Attribute.java: Likewise.
7065 * javax/naming/directory/AttributeInUseException.java: Likewise.
7066 * javax/naming/directory/AttributeModificationException.java: Likewise.
7067 * javax/naming/directory/Attributes.java: Likewise.
7068 * javax/naming/directory/BasicAttribute.java: Likewise.
7069 * javax/naming/directory/BasicAttributes.java: Likewise.
7070 * javax/naming/directory/DirContext.java: Likewise.
7071 * javax/naming/directory/InitialDirContext.java: Likewise.
7072 * javax/naming/directory/InvalidAttributeIdentifierException.java:
7073 Likewise.
7074 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
7075 * javax/naming/directory/InvalidAttributesException.java: Likewise.
7076 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
7077 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
7078 * javax/naming/directory/ModificationItem.java: Likewise.
7079 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
7080 * javax/naming/directory/SchemaViolationException.java: Likewise.
7081 * javax/naming/directory/SearchControls.java: Likewise.
7082 * javax/naming/directory/SearchResult.java: Likewise.
7083 * javax/naming/event/EventContext.java: Likewise.
7084 * javax/naming/event/EventDirContext.java: Likewise.
7085 * javax/naming/event/NamespaceChangeListener.java: Likewise.
7086 * javax/naming/event/NamingEvent.java: Likewise.
7087 * javax/naming/event/NamingExceptionEvent.java: Likewise.
7088 * javax/naming/event/NamingListener.java: Likewise.
7089 * javax/naming/event/ObjectChangeListener.java: Likewise.
7090 * javax/naming/ldap/Control.java: Likewise.
7091 * javax/naming/ldap/ControlFactory.java: Likewise.
7092 * javax/naming/ldap/ExtendedRequest.java: Likewise.
7093 * javax/naming/ldap/ExtendedResponse.java: Likewise.
7094 * javax/naming/ldap/HasControls.java: Likewise.
7095 * javax/naming/ldap/InitialLdapContext.java: Likewise.
7096 * javax/naming/ldap/LdapContext.java: Likewise.
7097 * javax/naming/ldap/LdapReferralException.java: Likewise.
7098 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
7099 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
7100 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
7101 * javax/naming/spi/DirObjectFactory.java: Likewise.
7102 * javax/naming/spi/DirStateFactory.java: Likewise.
7103 * javax/naming/spi/DirectoryManager.java: Likewise.
7104 * javax/naming/spi/InitialContextFactory.java: Likewise.
7105 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
7106 * javax/naming/spi/NamingManager.java: Likewise.
7107 * javax/naming/spi/ObjectFactory.java: Likewise.
7108 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
7109 * javax/naming/spi/ResolveResult.java: Likewise.
7110 * javax/naming/spi/Resolver.java: Likewise.
7111 * javax/naming/spi/StateFactory.java: Likewise.
7112
7113 * javax/naming/spi/NamingManager.java (ofb): Package private.
7114
7115 2002-11-21 Mark Wielaard <mark@klomp.org>
7116
7117 * java/net/URL.java: Merge with Classpath (partly).
7118 * java/net/URLStreamHandler: Merge with Classpath.
7119
7120 2002-11-22 Michael Koch <konqueror@gmx.de>
7121
7122 * include/posix.h:
7123 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7124 * include/win32.h:
7125 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
7126 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
7127
7128 2002-11-21 Michael Koch <konqueror@gmx.de>
7129
7130 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
7131 Only the new network functions should be in it.
7132
7133 2002-11-21 Michael Koch <konqueror@gmx.de>
7134
7135 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7136 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
7137
7138 2002-11-21 Michael Koch <konqueror@gmx.de>
7139
7140 * java/nio/channels/AsynchronousCloseException.java,
7141 java/nio/channels/CancelledKeyException.java,
7142 java/nio/channels/ClosedByInterruptException.java,
7143 java/nio/channels/ConnectionPendingException.java,
7144 java/nio/channels/FileLockInterruptionException.java,
7145 java/nio/channels/IllegalSelectorException.java,
7146 java/nio/channels/NoConnectionPendingException.java,
7147 java/nio/channels/NonReadableChannelException.java,
7148 java/nio/channels/NonWritableChannelException.java,
7149 java/nio/channels/NotYetBoundException.java,
7150 java/nio/channels/NotYetConnectedException.java,
7151 java/nio/channels/OverlappingFileLockException.java,
7152 java/nio/channels/UnresolvedAddressException.java,
7153 java/nio/channels/UnsupportedAddressTypeException.java:
7154 New files.
7155 * Makefile.am (ordinary_java_source_files): Added new files.
7156 * Makefile.in: Regenerated.
7157
7158 2002-11-21 Michael Koch <konqueror@gmx.de>
7159
7160 * include/posix.h
7161 (_Jv_socket): New method.
7162 (_Jv_connect): New method.
7163 (_Jv_close): New method.
7164 (_Jv_platform_close_on_exec): Prefixed system function with "::".
7165 (_Jv_bind): New method.
7166 (_Jv_listen): New method.
7167 (_Jv_write): New method.
7168 (_Jv_read): New method.
7169 * include/win32.h
7170 (_Jv_socket): New method.
7171 (_Jv_connect): New method.
7172 (_Jv_close): New method.
7173 (_Jv_bind): New method.
7174 (_Jv_listen): New method.
7175 (_Jv_write): New method.
7176 (_Jv_read): New method.
7177 * java/net/natNetworkInterface.cc:
7178 Include platform.h, removed inclusion of socket.h
7179 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
7180 ::close() by _Jv_close().
7181 * java/net/natPlainDatagramSocketImpl.cc:
7182 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
7183 added some new lines to make code more readable.
7184 (create): Replaced ::socket() by _Jv_socket().
7185 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7186 * java/net/natPlainSocketImpl.cc:
7187 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
7188 removed include of socket.h, removed some windows defines
7189 (now in include/win32.h).
7190 (create): Replaced ::socket() by _Jv_socket().
7191 (close): Replaced NATIVE_CLOSE() by _Jv_close().
7192 (write): Replaced ::read by _Jv_write().
7193 (read): Replaced ::read by _Jv_read().
7194
7195 2002-11-20 Michael Koch <konqueror@gmx.de>
7196
7197 * Makefile.am (ordinary_java_source_files):
7198 Added java/nio/channels/FileChannel.java.
7199 * Makefile.in: Regenerated.
7200
7201 2002-11-20 Michael Koch <konqueror@gmx.de>
7202
7203 * java/io/FileInputStream.java
7204 (getChannel): New method.
7205 * java/io/FileOutputStream.java
7206 (getChannel): New method.
7207 * java/net/ServerSocket.java
7208 (bind): Removed duplicate code and called another bind method instead.
7209 * java/nio/channels/SelectionKey.java
7210 (isValid): Removed wrong exception documentation.
7211 * java/nio/channels/ServerSocketChannel.java
7212 (accept): Added exception documentation.
7213 (open): Fixed typo, added exception documentation.
7214 * java/nio/channels/spi/AbstractSelectableChannel.java
7215 (implCloseChannel): Added exception documentation.
7216 (add): Reformated.
7217 (register): Added exception documentation.
7218
7219 2002-11-20 Andreas Jaeger <aj@suse.de>
7220
7221 * configure: Regenerated with new libtool.m4.
7222
7223 2002-11-19 Tom Tromey <tromey@redhat.com>
7224
7225 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
7226 `referent'.
7227 (finalize_referred_to_object): Don't modify `referent' or `copy'
7228 fields.
7229 (add_to_hash): Correctly set `n->next' when updating list.
7230 * java/lang/ref/Reference.java (enqueue): Return false if already
7231 enqueued.
7232
7233 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
7234
7235 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
7236 to function and function pointer declarations in accordance with
7237 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
7238 based on whether __GCJ_JNI_IMPL__ has been defined or not.
7239 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
7240 JNI function definitions.
7241
7242 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7243
7244 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
7245 that was causing CoderResults to be cached, not WeakReferences
7246 to CoderResults.
7247
7248 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7249
7250 * java/security/KeyStore.java (getInstance): Fix
7251 comment and throw IllegalArgumentException if
7252 given provider is null.
7253 (getInstance): New method for jdk1.4 compatibility.
7254
7255 2002-11-18 Michael Koch <konqueror@gmx.de>
7256
7257 * java/net/PlainSocketImpl.java: Fix imports.
7258
7259 2002-11-18 Michael Koch <konqueror@gmx.de>
7260
7261 * java/nio/channels/SelectionKey.java
7262 (isValid): Added exception documentation.
7263 * java/nio/channels/Selector.java
7264 (open): Declare "throws IOException".
7265
7266 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7267
7268 * java/nio/charset/Charset.java
7269 (<clinit>): New method.
7270 (encode): Synchronize use of cached encoder object.
7271 (decode): Synchronize use of cached encoder object.
7272
7273 2002-11-18 Michael Koch <konqueror@gmx.de>
7274
7275 * gnu/java/nio/ByteBufferImpl.java,
7276 gnu/java/nio/CharBufferImpl.java,
7277 gnu/java/nio/DatagramChannelImpl.java,
7278 gnu/java/nio/DoubleBufferImpl.java,
7279 gnu/java/nio/FileChannelImpl.java,
7280 gnu/java/nio/FloatBufferImpl.java,
7281 gnu/java/nio/IntBufferImpl.java,
7282 gnu/java/nio/LongBufferImpl.java,
7283 gnu/java/nio/PipeImpl.java,
7284 gnu/java/nio/SelectionKeyImpl.java,
7285 gnu/java/nio/SelectorImpl.java,
7286 gnu/java/nio/SelectorProviderImpl.java,
7287 gnu/java/nio/ServerSocketChannelImpl.java,
7288 gnu/java/nio/ShortBufferImpl.java,
7289 gnu/java/nio/SocketChannelImpl.java,
7290 java/nio/DoubleBuffer.java,
7291 java/nio/FloatBuffer.java,
7292 java/nio/IntBuffer.java,
7293 java/nio/LongBuffer.java,
7294 java/nio/ShortBuffer.java,
7295 java/nio/channels/FileChannel.java: New files.
7296
7297 2002-11-18 Michael Koch <konqueror@gmx.de>
7298
7299 * Makefile.am (ordinary_java_source_files):
7300 Added java/nio/ReadOnlyBufferException.java and
7301 java/nio/channels/ClosedSelectorException.java.
7302 * Makefile.in: Regenerated.
7303
7304 2002-11-18 Michael Koch <konqueror@gmx.de>
7305
7306 * java/net/PlainSocketImpl.java: Reworked imports.
7307 * java/net/ServerSocket.java
7308 (ServerSocket): Create socket.
7309 * java/net/SocketAddress.java: Documentation added.
7310 * java/net/natPlainSocketImpl.cc: Reindented.
7311 * java/nio/ReadOnlyBufferException.java: New file
7312 * java/nio/channels/ClosedChannelException.java: Documentation added.
7313 * java/nio/channels/ClosedSelectorException.java: New file.
7314
7315 2002-11-17 Mark Wielaard <mark@klomp.org>
7316
7317 * java/net/HttpURLConnection.java ((getPermission): Take port
7318 into consideration.
7319 (getErrorStream): Implement.
7320
7321 2002-11-17 Mark Wielaard <mark@klomp.org>
7322
7323 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
7324
7325 2002-11-16 Mark Wielaard <mark@klomp.org>
7326
7327 Integrate work by Raif S. Naffah (raif@fl.net.au)
7328 * java/security/DummyKeyPairGenerator.java (clone): New method.
7329 * java/security/DummyMessageDigest.java (clone): New method.
7330 (engineUpdate): Now public.
7331 (engineReset): Likewise.
7332 (engineDigest): Likewise.
7333 (engineGetDigestLength): New method.
7334 * java/security/DummySignature.java (clone): New method.
7335 * java/security/KeyPairGenerator.java (provider): Now package private.
7336 (getInstance(String)): Use getInstance(String,Provider).
7337 (getInstance(String,String): Use getInstance(String,Provider)
7338 (getInstance(String,Provider): New method.
7339 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
7340 * java/security/KeyPairGeneratorSpi.java (clone): New method.
7341 * java/security/MessageDigest.java (provider): Now package private.
7342 (getInstance(String): Use getInstance(String,Provider).
7343 (getInstance(String,String): Use getInstance(String,Provider)
7344 (getInstance(String,Provider): New method.
7345 * java/security/Provider.java (toCanonicalKey): New method.
7346 (get): New method that uses toCanonicalKey().
7347 (put): Use toCanonicalKey().
7348 (remove): Likewise.
7349 * java/security/Security.java (insertProviderAt): Provider index is one
7350 based, not zero based.
7351 (addProvider): Likewise.
7352 (removeProvider): Likewise.
7353 * java/security/Signature.java (provider): Now package private.
7354 (getInstance(String)): Use getInstance(String,Provider).
7355 (getInstance(String,String): Use getInstance(String,Provider)
7356 (getInstance(String,Provider): New method.
7357 (getInstance(String,String,Provider): Don't cast DummySignature.
7358
7359 2002-11-15 Tom Tromey <tromey@redhat.com>
7360
7361 For PR libgcj/8593:
7362 * java/util/zip/GZIPInputStream.java (read): Check file size.
7363 Look in inflater for remaining input bytes.
7364 (read4): Added buf and offset arguments.
7365
7366 2002-11-12 Eric Blake <ebb9@email.byu.edu>
7367
7368 * java/applet/AppletContext.java: Fix typo and remove redundant
7369 modifiers.
7370
7371 2002-11-14 Tom Tromey <tromey@redhat.com>
7372
7373 * java/lang/natRuntime.cc (insertSystemProperties): Set
7374 gnu.classpath.home.
7375
7376 2002-11-13 Michael Koch <konqueror@gmx.de>
7377
7378 * java/nio/ByteBuffer.java
7379 (allocate): New method.
7380 (wrap): New method.
7381 (put): New method.
7382 (get): New method.
7383
7384 2002-11-13 Michael Koch <konqueror@gmx.de>
7385
7386 * java/nio/channels/AlreadyConnectedException.java:
7387 Removed unneeded import.
7388 (AlreadyConnectedException): Documentation added.
7389 * java/nio/channels/Pipe.java
7390 (SinkChannel.SinkChannel): Documentation added.
7391 (SinkChannel.validOps): New method.
7392 (SourceChannel.SourceChannel): Documentation added.
7393 (SourceChannel.validOps): New method.
7394 (Pipe): Documentation added.
7395 (open): Documentation added.
7396 (SinkChannel.channel): Documentation added.
7397 (SourceChannel.channel): Documentation added.
7398 * java/nio/channel/SelectableChannel.java
7399 (SelectableChannel): Documentation added.
7400 (blockingLock): Documentation added.
7401 (configureBlocking):Documentation added.
7402 (isBlocking):Documentation added.
7403 (isRegistered):Documentation added.
7404 (keyFor):Documentation added.
7405 (provider):Documentation added.
7406 (register): Documentation added.
7407 (validOps): Documentation added.
7408 * jaba/nio/channels/SelectionKey.java
7409 (SelectionKey): Documentation added.
7410 (attach): Documentation added.
7411 (attachment): Documentation added.
7412 (isAcceptable): Documentation added.
7413 (isConnetable): Documentation added.
7414 (isReadable): Documentation added.
7415 (isWritable): Documentation added.
7416 (cancel): Documentation added.
7417 (channel): Documentation added.
7418 (interestOps): Documentation added.
7419 (isValid): Documentation added.
7420 (readyOps): Documentation added.
7421 (selector): Documentation added.
7422 * jaba/nio/channels/Selector.java
7423 (Selector): Documentation added.
7424 (open): Documentation added.
7425 (close): Documentation added.
7426 (isOpen): Documentation added.
7427 (keys): Documentation added.
7428 (provider): Documentation added.
7429 (select): Documentation added.
7430 (selectedKeys): Documentation added.
7431 (selectNow): Documentation added.
7432 (wakeup): Documentation added.
7433 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7434 (AbstractInterruptibleChannel): Documentation added.
7435 (opened): Default to true;
7436 (begin): Documentation added.
7437 (close): Set opened to false, documentation added.
7438 (isOpen): Documentation added.
7439 * java/nio/channels/spi/AbstractSelectionKey.java
7440 (AbstractSelectionKey): Documentation added.
7441 (cancel): Documentation added.
7442 (isValid): Documentation added.
7443 * java/nio/channels/spi/AbstractSelector.java
7444 (AbstractSelector): Documentation added.
7445 (begin): Documentation added.
7446 (close): Documentation added.
7447 (isOpen): Documentation added.
7448 (deregister): Documentation added.
7449 (end): Documentation added.
7450 (provider): Documentation added.
7451 (implCloseSelector): Documentation added.
7452 (register): Documentation added.
7453 * java/nio/channels/spi/SelectorProvider.java
7454 (SelectorProvider): Documentation added.
7455 (openDatagramChannel): Documentation added.
7456 (openPipe): Documentation added.
7457 (openSelector): Documentation added.
7458 (openServerSocketChannel): Documentation added.
7459 (openSocketChannel): Documentation added.
7460 (provider): Documentation added.
7461
7462 2002-11-12 Michael Koch <konqueror@gmx.de>
7463
7464 * java/nio/Buffer.java: Implemented.
7465 * java/nio/CharBuffer.java: New file.
7466 * java/nio/InvalidMarkException.java: New file.
7467 * java/nio/channels/DatagramChannel.java: Implemented.
7468 * java/nio/channels/ServerSocketChannel.java: Implemented.
7469 * java/nio/channels/SocketChannel.java: Implemented.
7470 * java/nio/channels/spi/AbstractChannel.java: Removed.
7471 * java/nio/channels/spi/AbstractSelectableChannel.java:
7472 Implemented.
7473 * java/nio/charset/Charset.java:
7474 Merge from Classpath.
7475 * java/nio/charset/CharsetDecoder.java: New file.
7476 * java/nio/charset/CharsetEncoder.java: New file.
7477 * java/nio/charset/CoderResult.java: New file.
7478 * Makefile.am (ordinary_java_source_files): Added new files.
7479 * Makefile.in: Regenerated.
7480
7481 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7482
7483 * gnu/java/nio/charset/ISO_8859_1.java,
7484 gnu/java/nio/charset/Provider.java,
7485 gnu/java/nio/charset/US_ASCII.java,
7486 gnu/java/nio/charset/UTF_16.java,
7487 gnu/java/nio/charset/UTF_16BE.java,
7488 gnu/java/nio/charset/UTF_16Decoder.java,
7489 gnu/java/nio/charset/UTF_16Encoder.java,
7490 gnu/java/nio/charset/UTF_16LE.java,
7491 gnu/java/nio/charset/UTF_8.java: New files.
7492
7493 2002-11-11 Michael Koch <konqueror@gmx.de>
7494
7495 * java/nio/charset/CharacterCodingException.java:
7496 This class must be public.
7497 * java/nio/charset/CoderMalfunctionError.java:
7498 This class must be public.
7499 * java/nio/charset/CodingErrorAction.java:
7500 This class must be public.
7501 * java/nio/charset/IllegalCharsetNameException.java:
7502 This class must be public, better implementation.
7503 * java/nio/charset/MalformedInputException.java:
7504 This class must be public, better implementation.
7505 * java/nio/charset/UnmappableCharacterException.java:
7506 This class must be public, better implementation.
7507 * java/nio/charset/UnsupportedCharsetException.java:
7508 This class must be public, better implementation.
7509
7510 2002-11-11 Michael Koch <konqueror@gmx.de>
7511
7512 * java/nio/BufferOverflowException.java,
7513 java/nio/BufferUnderflowException.java: New file.
7514 * Makefile.am (ordinary_java_source_files):
7515 Added new files.
7516 * Makefile.in: Regenerated.
7517
7518 2002-11-10 Tom Tromey <tromey@redhat.com>
7519
7520 * java/awt/Container.java (validate): Use tree lock.
7521 (getComponent): Likewise.
7522 (getComponents): Likewise.
7523 (addImpl): Likewise.
7524 (remove): Likewise.
7525 (removeAll): Likewise.
7526 (processEvent): Fixed indentation.
7527 (getComponentAt): Use tree lock.
7528 (findComponentAt): Likewise.
7529 (removeNotify): Likewise.
7530 (isAncestorOf): Likewise.
7531 (list): Likewise.
7532 (visitChildren): Likewise.
7533 (findNextFocusComponent): Likewise.
7534 (addNotifyContainerChildren): Likewise.
7535 (getAccessibleChildrenCount): Likewise.
7536 (getAccessibleChild): Likewise.
7537
7538 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7539 (getSize): Likewise.
7540 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7541 (getSize): Likewise.
7542 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7543 (calcSize): Likewise.
7544 * java/awt/CardLayout.java (getSize): Use tree lock.
7545 (gotoComponent): Likewise.
7546 (layoutContainer): Likewise.
7547
7548 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7549 count is 0.
7550 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7551 count is 0.
7552
7553 * java/io/Externalizable.java, java/io/FilePermission.java,
7554 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7555 java/io/SerializablePermission.java, java/text/Format.java,
7556 java/util/AbstractMap.java, java/util/HashMap.java,
7557 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7558 versions from Classpath.
7559
7560 2002-11-10 Anthony Green <green@redhat.com>
7561
7562 * java/util/jar/Attributes.java (Name): Fix name check.
7563
7564 2002-11-10 Mark Wielaard <mark@klomp.org>
7565
7566 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7567 with getName() as message.
7568 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7569 type as message.
7570
7571 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7572 unused.
7573
7574 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7575
7576 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7577 for Win32. JNICALL has been defined to __stdcall to be compatible
7578 with Sun's JDKs.
7579
7580 2002-11-10 Tom Tromey <tromey@redhat.com>
7581
7582 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7583 (setRows): Check newRows, not rows.
7584
7585 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7586
7587 2002-11-09 Tom Tromey <tromey@redhat.com>
7588
7589 * java/applet/Applet.java, java/applet/AppletContext.java,
7590 java/applet/AppletStub.java, java/applet/AudioClip.java,
7591 java/awt/CardLayout.java,
7592 java/awt/ContainerOrderFocusTraversalPolicy.java,
7593 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7594 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7595 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7596 java/awt/color/ICC_ColorSpace.java,
7597 java/awt/color/ICC_Profile.java,
7598 java/awt/color/ICC_ProfileGray.java,
7599 java/awt/color/ICC_ProfileRGB.java,
7600 java/awt/datatransfer/DataFlavor.java,
7601 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7602 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7603 New versions from Classpath.
7604 * Makefile.in: Rebuilt.
7605 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7606 ICC_ProfileRGB.
7607
7608 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7609 display policy.
7610
7611 * java/awt/List.java (processEvent): Added missing `else's.
7612
7613 * java/awt/Window.java (show): validate() before showing. Make
7614 parent displayable.
7615 (isDisplayable): New method.
7616
7617 2002-11-07 Mark Wielaard <mark@klomp.org>
7618
7619 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7620 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7621
7622 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7623 annotation.
7624 (loadClass): Take String as codebases.
7625 (getClassAnnotation): Use MyClassLoader annotations.
7626 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7627 call exportObject(this).
7628
7629 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7630 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7631 (setAnnotation): Don't set locBytesStream and locStream.
7632 (replaceObject): Removed.
7633 (flush): Don't test locStream.
7634 (getLocBytes): LikeWise.
7635 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7636 (leaseCache): New field.
7637 (dirty): Use leaseCache.
7638 (LeaseRecord): New inner class.
7639 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7640 explicitly call exportObject().
7641 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7642 false to communicate with Sun JDK130.
7643 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7644 * gnu/java/rmi/server/RMIObjectInputStream.java
7645 (UnicastConnectionManager): Removed field.
7646 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7647 Use UnicastServer.getExportedRef().
7648 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7649 (expireTime): Likewise.
7650 (CONNECTION_TIMEOUT): Likewise.
7651 (disconnect): Call sock.close().
7652 (isExpired): New method.
7653 (resetTime): Likewise.
7654 (run): Use do while loop and catch Exception for discardConnection().
7655 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7656 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7657 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7658 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7659 (exportObject): Use refcache.
7660 (unexportObject): Likewise.
7661 (getExportedRef): New method.
7662 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7663 constructor.
7664 (exportObject): Save manager.serverobj.
7665 (getStub): New method.
7666
7667 2002-11-07 Mark Wielaard <mark@klomp.org>
7668
7669 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7670 (getByte): Likewise.
7671 (getShort): Likewise.
7672 (getInt): Likewise.
7673 (getLong): Likewise.
7674 (getFloat): Likewise.
7675 (getDouble): Likewise.
7676 (get): Likewise.
7677 (setChar): Likewise.
7678 (setByte): Likewise.
7679 (setShort): Likewise.
7680 (setInt): Likewise.
7681 (setLong): Likewise.
7682 (setFloat): Likewise.
7683 (setDouble): Likewise.
7684
7685 2002-11-07 Michael Koch <konqueror@gmx.de>
7686
7687 * java/awt/Choice.java,
7688 java/awt/Container.java,
7689 java/awt/GridBagLayout.java:
7690 Fixed documentation.
7691 * java/awt/peer/ContainerPeer.java:
7692 Reindented.
7693
7694 2002-11-07 Michael Koch <konqueror@gmx.de>
7695
7696 * java/awt/color/ICC_Profile.java:
7697 Added missing constants.
7698 * java/awt/color/ICC_ColorSpace.java
7699 (getMinValue): Added dummy implementation.
7700 (getMaxValue): Added dummy implementation.
7701 * java/awt/datatransfer/DataFlavor.java
7702 (imageFlavor): Added.
7703 (isMimeTypeEqual): Must be final.
7704 (getDefaultRepresentationClass): Must be non-static.
7705 (getDefaultRepresentationClassAsString): Must be non-static.
7706 * java/awt/dnd/DragSourceContext.java
7707 (dragExit): Corrected argument.
7708 (dragDropEnd): Corrected argument.
7709 * java/awt/dnd/DragSourceListener.java.java
7710 (dragExit): Corrected argument.
7711 (dragDropEnd): Corrected argument.
7712 * java/awt/font/TextHitInfo.java
7713 (toString): Added stubbed implementation.
7714 * java/awt/geom/PathIterator.java:
7715 The constants must be static.
7716 * java/awt/image/VolatileImage.java
7717 (IMAGE_INCOMPATIBLE): Fixed typo.
7718 * java/awt/image/renderable/RenderableImage.java
7719 (HINTS_OBSERVED): Must be static.
7720 * java/beans/BeanInfo.java:
7721 Constants must be final.
7722
7723 2002-11-06 Tom Tromey <tromey@redhat.com>
7724
7725 From svens@it.uu.se. For PR libgcj/8481.
7726 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7727
7728 2002-11-06 Tom Tromey <tromey@redhat.com>
7729
7730 * jni.cc (array_from_valist): Assume that jlong won't be
7731 promoted.
7732
7733 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7734
7735 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7736 Return 20.
7737 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7738 Return 16.
7739
7740 2002-11-03 Tom Tromey <tromey@redhat.com>
7741
7742 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7743 VMClassLoader, not findClass.
7744
7745 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7746
7747 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7748 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7749 _Jv_DetermineVTableIndex, to determine vtable offset.
7750 (_Jv_DetermineVTableIndex): Remove.
7751 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7752
7753 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7754
7755 2002-11-03 Tom Tromey <tromey@redhat.com>
7756
7757 * java/nio/channels/AlreadyConnectedException.java: Extend
7758 IllegalStateException, per spec.
7759
7760 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7761
7762 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7763
7764 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7765
7766 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7767 size items.
7768
7769 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7770
7771 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7772 initial estimated size to avoid enlarge buffer frequently.
7773
7774 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7775
7776 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7777 ClassLoader when null.
7778 (ProxyType.hashCode): Loader null check no longer needed.
7779 (ProxyType.sameTypes): New method.
7780 (ProxyType.equals): Use new method.
7781
7782 2002-10-31 Mark Wielaard <mark@klomp.org>
7783
7784 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7785 length of String.
7786 * java/net/URLEncoder.java (encode): Likewise.
7787
7788 2002-10-31 Mark Wielaard <mark@klomp.org>
7789
7790 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7791 when stream is closed.
7792 (closeEntry): Likewise.
7793 (read): Likewise.
7794 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7795 ZipException when no entry active.
7796 (closeEntry): Likewise.
7797 (write): Likewise.
7798
7799 2002-11-02 Tom Tromey <tromey@redhat.com>
7800
7801 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7802 * java/lang/natClass.cc (initializeClass): Don't return just
7803 because self==thread.
7804
7805 For PR java/8415:
7806 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7807 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7808
7809 2002-11-02 Andreas Schwab <schwab@suse.de>
7810
7811 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7812 pass GCJFLAGS.
7813 (FLAGS_TO_PASS): Define.
7814 * Makefile.in: Regenerated.
7815
7816 2002-11-01 Michael Koch <konqueror@gmx.de>
7817
7818 * java/nio/ByteOrder.java: New file.
7819 * java/nio/channels/DatagramChannel.java:
7820 (DatagramChannel): New constructor.
7821 * java/nio/channels/Pipe.java: New file.
7822 * java/nio/channels/SelectableChannel.java: New file.
7823 * java/nio/channels/SelectionKey.java: New file.
7824 * java/nio/channels/Selector.java: New file.
7825 * java/nio/channels/ServerSocketChannel.java
7826 (ServerSocketChannel): New constructor.
7827 * java/nio/channels/SocketChannel.java
7828 (SocketChannel): New constructor.
7829 * java/nio/channels/Pipe.java: New file.
7830 * java/nio/channels/spi/AbstractChannel.java: New file.
7831 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7832 * java/nio/channels/spi/AbstractSelectableChannel.java:
7833 License added
7834 (AbstractSelectableChannel): New stubbed method.
7835 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7836 * java/nio/channels/spi/AbstractSelector.java: New file.
7837 * java/nio/channels/spi/SelectorProvider.java: New file.
7838 * java/nio/charset/Charset.java: New file.
7839 * java/nio/charset/CoderMalfunctionError.java: New file.
7840 * java/nio/charset/CodingErrorAction.java: New file.
7841 * java/nio/charset/spi/CharsetProvider.java
7842 (charsetForName): Uncommented.
7843 * Makefile.am (java_native_source_files): Added new files.
7844 * Makefile.in: Regenerated.
7845
7846 2002-11-01 Michael Koch <konqueror@gmx.de>
7847
7848 * java/net/InetAddress.java:
7849 (isAnyLocalAddress): Implemented.
7850 (isLoopbackAddress): Implemented, comment added.
7851 (isLinkLocalAddress): Implemented, documentation added.
7852 (isSiteLocalAddress): Implemented, documentation added.
7853 (isMCGlobal): Implemented, documentation added.
7854 (isMCNodeLocal): Implemented, documentation added.
7855 (isMCLinkLocal): Implemented, documentation added.
7856 (isMCSiteLocal): Implemented, documentation added.
7857 (isMCOrgLocal): Implemented, documentation added.
7858 (getHostName): Documentation added.
7859 (getCanonicalHostName): Implemented, documentation added.
7860 (getAddress): Documentation added.
7861 (hashCode): Documentation added.
7862 (equals): Documentation added.
7863 (toString): Fixed implementation.
7864 (getByAddress): Use Inet4Address and Inet6Address.
7865 (lookup): New linewrap.
7866 (getByName): SecurityManager check added, support Inet4Address and
7867 Inet6address, comments added.
7868 (getAllByName): SecurityManager check added, comments added.
7869 * java/net/Inet6Address.java:
7870 (Inet6Address): Initialize parent class with addr instead of null.
7871 * java/net/URL.java
7872 (equals): Documentation added.
7873 (getFile): Documentation added.
7874 (hashCode): Documentation added.
7875 * java/net/natInetAddress.cc:
7876 (aton): Fix IPv6 support.
7877 * java/net/natPlainDatagramSocketImpl.cc:
7878 (peek): Throw PortUnreachableException when suitable.
7879 (peekData): Throw PortUnreachableException when suitable.
7880 (send): Throw PortUnreachableException when suitable.
7881 (receive): Throw PortUnreachableException when suitable.
7882
7883 2002-10-27 Mark Wielaard <mark@klomp.org>
7884
7885 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7886 argument.
7887 (readLeShort): Likewise and use byte[].
7888 (readLeInt): Likewise.
7889 (readEntries): Use new versions of methods and use byte[] for reading
7890 a complete zip entry. Add ZipFile name to exceptions.
7891 (entries): Add ZipFile name to exceptions.
7892 (getEntry): Likewise.
7893 (checkLocalHeader): Use new versions of methods and add ZipFile name
7894 to exceptions.
7895
7896 2002-10-31 Mark Anderson <mark@panonet.net>
7897
7898 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7899 added
7900
7901 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7902
7903 * configure.in: Disable hash sync when not using threads.
7904 * configure: Regenerated.
7905
7906 2002-10-24 Tom Tromey <tromey@redhat.com>
7907
7908 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7909 (_Jv_FindSymbolInExecutable): Removed argument name.
7910 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7911 java.library.path is set.
7912
7913 * gij.cc (help): Document --showversion.
7914 (version): Don't exit.
7915 (main): Handle --showversion. Exit if --version given.
7916
7917 2002-10-23 Tom Tromey <tromey@redhat.com>
7918
7919 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7920 (array_from_valist): Correctly handle promotion for jint, jlong,
7921 jfloat, and jdouble.
7922
7923 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7924
7925 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7926 GetFileAttributesEx( ) to find file length and modification times,
7927 as the latter is not present on Windows 95.
7928
7929 2002-10-21 Michael Koch <konqueror@gmx.de>
7930
7931 * java/net/URL.java
7932 (URL): Activate SecurityManager checks.
7933 (equals): Use URLStreamHandler implementation instead of doing it
7934 alone. This allows special protocol stream handlers to change default
7935 behaviour.
7936 (hashCode): Use URLStreamHandler implementation instead of doing it
7937 alone. This allows special protocol stream handlers to change default
7938 behaviour.
7939 * java/net/URLStreamHandler.java
7940 (equals): Implemented default URL equality check.
7941 (hostsEqual): Implemented default URL equality check.
7942 (hashCode): Implemented default URL hashCode algorithm.
7943 * java/net/natPlainDatagramSocketImpl.cc:
7944 No lines longer then 80 characters.
7945
7946 2002-10-20 Adam Megacz <adam@xwt.org>
7947
7948 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7949 * configure.in: enabled hash sync on Win32
7950 * include/win32-threads.h (_Jv_ThreadId_t): added.
7951 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7952 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7953 removed some posix-isms, use Thread::sleep() instead of usleep,
7954 added code to clear bottom three bits if platform has a broken
7955 linker.
7956 * include/win32-threads.h (_Jv_ThreadId_t): added.
7957
7958 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7959
7960 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7961 runtime property "gnu.gcj.progname" containing the name used to
7962 invoke the current Java program (similar to argv[0] for C
7963 programs).
7964
7965 2002-10-15 Tom Tromey <tromey@redhat.com>
7966
7967 Fix for PR libgcj/8234:
7968 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7969 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7970
7971 2002-10-13 Mark Wielaard <mark@klomp.org>
7972
7973 * mauve-libgcj: Enable Mauve tests that compile now.
7974
7975 2002-10-11 Mark Wielaard <mark@klomp.org>
7976
7977 Fix for PR libgcj/8142
7978 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7979 loading native modules.
7980
7981 2002-10-10 Michael Koch <konqueror@gmx.de>
7982
7983 * javax/swing/AbstractListModel.java
7984 (getListDataListeners): New stubbed method.
7985 javax/swing/DefaultBoundedRangeModel.java
7986 (getChangeListeners): New stubbed method.
7987 javax/swing/DefaultSingleSelectionModel.java
7988 (getChangeListeners): New stubbed method.
7989
7990 2002-10-10 Michael Koch <konqueror@gmx.de>
7991
7992 * gcj/.cvsignore: New file to ignore files generated during build.
7993 * include/.cvsignore: New file to ignore files generated during build.
7994
7995 2002-10-10 Michael Koch <konqueror@gmx.de>
7996
7997 * java/net/HttpURLConnection.java
7998 (getPermission): New method.
7999 (getErrorStream): New stub method.
8000 (getHeaderFieldDate): New stub method.
8001 * java/net/Inet4Address.java:
8002 (isLinkLocalAddress): Typo fixed.
8003 * java/net/InetAddress.java:
8004 (readResolve): New stubbed method (for serialization).
8005 (isAnyLocalAddress): New stubbed method.
8006 (isLoopbackAddress): New stubbed method.
8007 (isLinkLocalAddress): New stubbed method.
8008 (isSiteLocalAddress): New stubbed method.
8009 (isMCGlobal): New stubbed method.
8010 (isMCNodeGlobal): New stubbed method.
8011 (isMCLinkLocal): New stubbed method.
8012 (isMCSiteLocal): New stubbed method.
8013 (isMCOrgLocal): New stubbed method.
8014 (getCanonicalHostName): New stubbed method.
8015 (getByAddress): Create instances of Inet4Address/Inet6Address,
8016 instead of InetAddress, documentation added.
8017 * java/net/MulticastSocket.java
8018 (getInterface): Removed FIXME.
8019 (getNetworkInterface): New method.
8020 (setNetworkInterface): New method.
8021 * java/net/NetworkInterface.java:
8022 (toString): Use property "line.separator" instead of "\n".
8023 * java/net/URLConnection.java
8024 (getContent): New stubbed method.
8025 * java/net/URLStreamHandler.java:
8026 (equals): New stubbed method.
8027 (hostsEqual): New stubbed method.
8028 (hashCode): New stubbed method.
8029 * java/net/natNetworkInterface.cc:
8030 (getRealNetworkInterfaces): Create Inet4Address object
8031 instead of InetAddress.
8032
8033 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8034
8035 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
8036 unsigned long temporary to implement insn_iushr shifts.
8037
8038 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
8039
8040 * configure.host [s390*-*]: Enable Java interpreter.
8041 Enable hash synchronization. Add sysdeps dir.
8042 * sysdep/s390/locks.h: New file.
8043
8044 2002-10-06 Mark Wielaard <mark@klomp.org>
8045
8046 * java/lang/Thread.java (setDaemon): Check startable_flag,
8047 not isAlive().
8048
8049 2002-10-07 Michael Koch <konqueror@gmx.de>
8050
8051 * java/nio/Buffer.java: New stub file.
8052 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
8053 of class Charset.
8054 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
8055 * Makefile.in: Regenerated.
8056
8057 2002-10-07 Michael Koch <konqueror@gmx.de>
8058
8059 * java/nio/ByteBuffer.java:
8060 removed import of not commited class.
8061
8062 2002-10-07 Michael Koch <konqueror@gmx.de>
8063
8064 * java/nio/ByteBuffer.java,
8065 java/nio/MappedByteBuffer.java:
8066 New files, forgot to add these dummies.
8067 * Makefile.am (java_native_source_files): Added new files.
8068 * Makefile.in: Regenerated.
8069
8070 2002-10-07 Michael Koch <konqueror@gmx.de>
8071
8072 * java/nio/channels/AlreadyConnectedException.java,
8073 java/nio/channels/ClosedChannelException.java,
8074 java/nio/channels/ReadableByteChannel.java,
8075 java/nio/channels/InterruptibleChannel.java,
8076 java/nio/channels/Channel.java,
8077 java/nio/channels/ByteChannel.java,
8078 java/nio/channels/GatheringByteChannel.java,
8079 java/nio/channels/ScatteringByteChannel.java,
8080 java/nio/channels/WritableByteChannel.java,
8081 java/nio/charset/CharacterCodingException.java,
8082 java/nio/charset/IllegalCharsetNameException.java,
8083 java/nio/charset/MalformedInputException.java,
8084 java/nio/charset/UnmappableCharacterException.java,
8085 java/nio/charset/UnsupportedCharsetException.java,
8086 java/nio/charset/spi/CharsetProvider.java: New file.
8087 These files are exceptions or interfaces,
8088 no real or abstract classes.
8089 * Makefile.am (java_native_source_files): Added new files.
8090 * Makefile.in: Regenerated.
8091
8092 2002-10-05 Michael Koch <konqueror@gmx.de>
8093
8094 * java/net/InetAddress.java
8095 (getByAddress): Fixed documentation.
8096 (getByAddress): New method.
8097 * java/net/Inet4Address.java: New file.
8098 * java/net/URL.java
8099 (URL): Documentation added.
8100 (getContent): Documentation added.
8101 (getContent): New stubbed method.
8102 (getQuery): New method.
8103 (openConnection): Documentation added.
8104 (openStream): Documentation added.
8105 (setURLStreamHandlerFactory): Documentation added.
8106 * java/net/URI.java: New stub file.
8107 * Makefile.am
8108 (java_native_source_files): Added java/net/Inet4Address.java,
8109 java/net/Inet6Address.java and java/net/URI.java.
8110 * Makefile.in: Regenerated.
8111
8112 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
8113
8114 * java/lang/ProtectionDomain.java (linesep): Remove field.
8115 (toString): Use System.getProperty("line.separator").
8116
8117 2002-10-04 Michael Koch <konqueror@gmx.de>
8118
8119 * java/security/Identity.java: Added serialVersionUID.
8120 * java/security/KeyPair.java: Added serialVersionUID.
8121 * java/security/Provider.java: Added serialVersionUID.
8122 * java/security/SecureRandom.java: Added serialVersionUID.
8123 * java/security/SecureRandomSpi.java: Added serialVersionUID.
8124 * java/security/SignedObject.java: Added serialVersionUID.
8125 * java/security/cert/Certificate.java: Added serialVersionUID.
8126
8127 2002-10-04 Mark Wielaard <mark@klomp.org>
8128
8129 * java/security/Security.java: Use java.home or gnu.classpath.home
8130 to load providers.
8131 (loadProviders): Extra dir argument.
8132 (getProvider): Return null when not found.
8133
8134 2002-10-04 Mark Wielaard <mark@klomp.org>
8135
8136 * java/lang/Throwable.java: Remerge with Classpath.
8137
8138 2002-10-04 Michael Koch <konqueror@gmx.de>
8139
8140 * java/net/InetAddress.java:
8141 (isMulticastAddress): Added documentation.
8142 (getHostAddress): Added documentation.
8143 (toString): Added documentation.
8144 (getByAddress): Fixed documentation.
8145 (getByName): Added documentation.
8146 (getAllByName): Added documentation.
8147 (getLocalHost): Added documentation.
8148
8149 2002-10-04 Michael Koch <konqueror@gmx.de>
8150
8151 * java/beans/beancontext/BeanContextChildSupport.java:
8152 Added serialVersionUID.
8153 * java/text/Collator.java: (compare): Made documentation HTML-aware.
8154 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
8155 * javax/naming/Name.java: Added serialVersionUID.
8156
8157 2002-10-03 Adam Megacz <adam@xwt.org>
8158
8159 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
8160 some functionality that isn't supported yet on WIN32.
8161
8162 2002-10-03 Tom Tromey <tromey@redhat.com>
8163
8164 * Makefile.in: Rebuilt.
8165 * Makefile.am (awt_java_source_files): Added new files.
8166
8167 2002-10-03 Michael Koch <konqueror@gmx.de>
8168
8169 * java/net/InetAddress.java
8170 (class InetAddress): Removed final keyword.
8171 (equals): Fixed typo.
8172 (getByAddress): New method.
8173
8174 2002-10-03 Michael Koch <konqueror@gmx.de>
8175
8176 * java/awt/dnd/Autoscroll.java:
8177 New file, merge from Classpath.
8178 * java/awt/dnd/DragSourceAdapter.java:
8179 (dragExit): Fixed typos in argument type.
8180 (dragDropEnd): Fixed typos in argument type.
8181 * java/awt/dnd/DragSourceDropEvent.java:
8182 New file, merge from Classpath.
8183 * java/awt/dnd/DropTarget.java:
8184 Added stubs, merge from Classpath.
8185 * java/awt/dnd/DropTargetAdapter.java:
8186 New file, merge from Classpath.
8187 * java/awt/dnd/DropTargetContext.java:
8188 New file, merge from Classpath.
8189 * java/awt/dnd/DropTargetDragEvent.java:
8190 New file, merge from Classpath.
8191 * java/awt/dnd/DropTargetDropEvent.java:
8192 New file, merge from Classpath.
8193 * java/awt/dnd/DropTargetEvent.java:
8194 New file, merge from Classpath.
8195 * java/awt/dnd/DropTargetListener.java:
8196 New file, merge from Classpath.
8197 * java/awt/dnd/MouseDragGestureRecognizer.java:
8198 New file, merge from Classpath.
8199 * java/awt/dnd/peer/DropTargetContextPeer.java:
8200 New file, merge from Classpath.
8201
8202 2002-10-03 Michael Koch <konqueror@gmx.de>
8203
8204 * java/net/DatagramPacket.java
8205 (setLength): Fixed typo and be HTML-aware.
8206 * java/net/InetSocketAddress.java
8207 (InetSocketAddress): Correct initialization of hostname, fixed typo.
8208 (equals): Added comment about equality of InetSocketAddress objects.
8209 * java/net/ServerSocket.java
8210 (accept): Added checks.
8211 (isClosed): New stubbed method.
8212 * java/net/SocketOptions.java: Reindention.
8213 * java/net/SocketPermission
8214 (SocketPermission): Documentation fixed.
8215
8216 2002-10-03 Michael Koch <konqueror@gmx.de>
8217
8218 * java/net/DatagramSocket.java
8219 (receive): Check with SecurityManager AFTER the packet is received,
8220 check if connected to multicast address, documentation added.
8221 (send): Only check SecurityManager if connected, check address of
8222 packet to send.
8223 (connect): Implemented, documentation added.
8224 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
8225 * java/net/InetSocketAddress.java
8226 (whole file): Reindented.
8227 (hostname): New attribute.
8228 (InetSocketAddress): Initialize new attribute.
8229 (getAddress): Documentation added.
8230 (getHostName): Documentation added.
8231 (getPort): Documentation added.
8232 (hashCode): Documentation added.
8233 (isUnresolved): Documentation added.
8234 (toString): Conform to output of JDK 1.4.1, documentation added.
8235 * java/net/MulticastSocket.java
8236 (joinGroup): Removed FIXME, documentation added.
8237 (leaveGroup): Removed FIXME, documentation added.
8238 (send): Documentation added.
8239 * java/net/Socket.java
8240 (inputShutdown): New variable.
8241 (outputShutdown): New variable.
8242 (Socket): Initialize new variables.
8243 (getRemoteSocketAddress): Check if connected.
8244 (shutdownInput): Set new variable.
8245 (shutdownOutput): Set new variable.
8246 (isConnected): New method.
8247 (isClosed): New method.
8248 (isInputShutdown): New method.
8249 (isOutputShutdown): New method.
8250 * java/net/URLStreamHandler.java
8251 (URLStreamHandler): New method.
8252 (openConnection): Added documentation.
8253 (parseURL): Added documentation.
8254 (getHostAddress): New method.
8255 (getDefaultPort): New method.
8256
8257 2002-10-02 Tom Tromey <tromey@redhat.com>
8258
8259 * java/rmi/activation/ActivationDesc.java,
8260 java/rmi/activation/ActivationGroupDesc.java,
8261 java/rmi/activation/ActivationGroupID.java,
8262 java/rmi/activation/ActivationID.java: New versions from
8263 Classpath.
8264
8265 2002-09-30 Bo Thorsen <bo@suse.de>
8266
8267 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
8268
8269 2002-09-30 Tom Tromey <tromey@redhat.com>
8270
8271 * java/io/ObjectInputStream.java (resolveProxyClass): New method
8272 from Classpath.
8273 * Makefile.in: Rebuilt.
8274 * Makefile.am (rmi_java_source_files): Added new files.
8275 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
8276 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
8277 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
8278 Classpath.
8279 * gnu/java/rmi/dgc/DGCImpl.java,
8280 gnu/java/rmi/dgc/DGCImpl_Skel.java,
8281 gnu/java/rmi/dgc/DGCImpl_Stub.java,
8282 gnu/java/rmi/registry/RegistryImpl_Skel.java,
8283 gnu/java/rmi/registry/RegistryImpl_Stub.java,
8284 gnu/java/rmi/server/RMIHashes.java,
8285 gnu/java/rmi/server/RMIObjectInputStream.java,
8286 gnu/java/rmi/server/RMIObjectOutputStream.java,
8287 gnu/java/rmi/server/UnicastConnection.java,
8288 gnu/java/rmi/server/UnicastConnectionManager.java,
8289 gnu/java/rmi/server/UnicastRef.java,
8290 gnu/java/rmi/server/UnicastServer.java,
8291 gnu/java/rmi/server/UnicastServerRef.java,
8292 java/rmi/MarshalledObject.java,
8293 java/rmi/server/RMIClassLoader.java,
8294 java/rmi/server/RemoteObject.java,
8295 java/rmi/server/UnicastRemoteObject.java,
8296 java/security/SecureClassLoader.java: Merged from Classpath.
8297
8298 2002-09-29 Anthony Green <green@redhat.com>
8299
8300 * java/lang/reflect/UndeclaredThrowableException.java: New file.
8301 Imported from GNU Classpath.
8302 * java/lang/reflect/natProxy.cc: New file.
8303 * java/lang/reflect/InvocationHandler.java: New file. Imported
8304 from GNU Classpath.
8305 * java/lang/reflect/Proxy.java: New file. Imported from GNU
8306 Classpath.
8307 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
8308 Classpath.
8309 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
8310 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
8311 New statics.
8312 * gcj/javaprims.h ("Java"): Add new classes.
8313 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
8314 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
8315 java/lang/reflect/Proxy$$ProxyType.h): And this.
8316 (inner_nat_headers): Add these new headers.
8317 (ordinary_java_source_files): Add new files.
8318 (nat_source_files): Add new file.
8319 * Makefile.in: Rebuilt.
8320
8321 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
8322
8323 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
8324 a single configuration.
8325
8326 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8327
8328 * java/util/TimeZone.java (getDSTSavings): New method.
8329 Fixes PR libgcj/7786.
8330
8331 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8332
8333 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
8334 to see if `the_method == 0' before looking up vtable index.
8335 Fixes PR libgcj/7709.
8336
8337 2002-09-25 Tom Tromey <tromey@redhat.com>
8338
8339 * java/lang/natClassLoader.cc:
8340 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
8341 * resolve.cc: Include NoClassDefFoundError.h, not
8342 ClassNotFoundException.h.
8343 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8344
8345 * defineclass.cc: Don't include ClassNotFoundException.h.
8346
8347 * resolve.cc: Include StringBuffer.
8348 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
8349
8350 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
8351 allocated but not initialized.
8352
8353 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8354
8355 Fix for PR libgcj/7766:
8356 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
8357 (getNextEntry): Set it.
8358 (closeEntry): Likewise.
8359 (read): Likewise.
8360 (close): Likewise.
8361 (available): Use it.
8362
8363 2002-09-25 Michael Koch <konqueror@gmx.de>
8364
8365 * java/net/DatagramSocket.java
8366 (DatagramSocket): Initialize new instance variables.
8367 (close): Reset new instance variables.
8368 (getLocalAddress): Remove unneeded SecurityManager usage.
8369 (getLocalPort): Check if socket is already bound.
8370 (isConnected): New method.
8371 (getInetAddress): Implemented.
8372 (getPort): Better Implementation, documentation fixed.
8373 (getRemoteSocketAddress): New method.
8374 * java/net/JarURLConnection.java
8375 (element): Typo fixed.
8376 (getMainAttributes): New method.
8377 (getAttributes): New method (stub only).
8378 (getManifest): New method (stub only).
8379 * java/net/NetPermission.java: Added serialVersionsUID.
8380 * java/net/Socket.java
8381 (connect): Check blocking mode of associated channel,
8382 documentation added.
8383 (getLocalSocketAddress): Better implementation.
8384 (getRemoteSocketAddress): Implemented.
8385 (isBound): New method.
8386 (setSendBufferSize): Documentation added.
8387 * java/net/SocketAddress.java: Added serialVersionsUID.
8388 * java/net/SocketPermission.java: Added serialVersionsUID.
8389 * java/net/URL.java
8390 (URL): Wrap for shorter lines, initialize new instance variables,
8391 documentation added.
8392 (equals): Check new instance variables too.
8393 (getContent): Documentation added.
8394 (getPath): Documentation added.
8395 (getAuthority): New method.
8396 (getHost): Documentation added.
8397 (getPort): Documentation added.
8398 (getDefaultPort): New method.
8399 (getProtocol): Documentation added.
8400 (getUserInfo): Documentation added.
8401 (set): Initialize new instance variables, documentation added.
8402 * java/net/URLStreamHandler.java
8403 (setURL): New method.
8404 * java/net/natPlainDatagramSocketImpl.cc
8405 (connect): Fix exception name.
8406 (disconnect): Fix exception name.
8407
8408 2002-09-25 Michael Koch <konqueror@gmx.de>
8409
8410 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
8411 * java/nio/channels/DatagramChannel.java:
8412 extends AbstractSelectableChannel
8413 * java/nio/channels/ServerSocketChannel.java:
8414 extends AbstractSelectableChannel
8415 * java/nio/channels/SocketChannel.java:
8416 extends AbstractSelectableChannel
8417 * Makefile.am (ordinary_java_source_files):
8418 java/nio/channels/spi/AbstractSelectableChannel.java added.
8419 * Makefile.in: Regenerated.
8420
8421 2002-09-25 Michael Koch <konqueror@gmx.de>
8422
8423 * java/net/DatagramSocket.java
8424 (DatagramSocket): Exception documentation added.
8425 (bind): Exception documentation added, addded SecurityManager check,
8426 added SocketAddress type check.
8427 (getSoTimeout): Check impl.
8428 (receive): Fix SecurityManager check, check impl, documentation added.
8429 (send): Check channel mode, documentation added.
8430 (connect): New method.
8431 (disconnect): Implemented.
8432 (getLocalSocketAddress): New method.
8433 (getReceiveBufferSize): Check impl.
8434 (setReuseAddress): Check impl.
8435 (getReuseAddress): Check impl.
8436 (setBroadcast): Check impl.
8437 (getBroadcast): Check impl.
8438 (setTrafficClass): Check impl, Documentation cleared.
8439 (getTrafficClass): Check impl.
8440 (getSendBufferSize): Check impl.
8441 (setReceiveBufferSize): Check impl, documentation added.
8442 (setSendBufferSize): Documentation added.
8443 (setDatagramSocketImplFactory): New method.
8444 * java/net/HttpURLConnection.java
8445 (HTTP_INTERNAL_ERROR): The correct code is 500.
8446 (HTTP_NOT_IMPLEMENTED): Added new constant.
8447 (setFollowRedirects): Documentation added.
8448 (getInstanceFollowRedirects): New method.
8449 (setInstanceFollowRedirects): New method.
8450 (setRequestMethod): Documentation added.
8451 (getResponseCode): Documentation added.
8452 (getResponseMessage): Documentation added.
8453 * java/net/JarURLConnection.java
8454 (JarURLConnection): protected since JDK 1.4.
8455 (getJarEntry): java.io.IOException to IOException, documentation added.
8456 (getJarFile): Documentation added.
8457 * java/net/ServerSocket.java
8458 (ServerSocket): Private to public, exception added.
8459 (ServerSocket): java.io.IOException to IOException, documentation added.
8460 (bind): Check socket address type, documentation added.
8461 (bind): java.io.IOException to IOException, documentation added.
8462 (accept): Documentation added.
8463 (implAccept): Check ch is not non-blocking, documentation added.
8464 (setSoTimeout): Documentation fixed.
8465 (setReceiveBufferSize): Documentation added.
8466 * java/net/Socket.java
8467 (Socket): Documentation added.
8468 (bind): Documentation added.
8469 (connect): Check socket address type, documentation added.
8470 (getRemoteSocketAddress): New method.
8471 (getLocalSocketAddress): New method.
8472 (setSoLinger): Documentation added.
8473 (getReuseAddress): New method.
8474 (setReuseAddress): New method.
8475 (getTrafficClass): New method.
8476 (setTrafficClass): New method.
8477 * java/net/URLStreamHandler.java
8478 (openConnection): java.io.IOException to IOException.
8479 (parseURL): Documentation added.
8480 (sameFile): public to protected, documentation added.
8481 (setURL): Documentation added.
8482 * java/nio/IllegalBlockingModeException.java: New file.
8483 * Makefile.am (ordinary_java_source_files):
8484 added java/nio/IllegalBlockingModeException.java
8485 * Makefile.in: Regenerated.
8486
8487 2002-09-25 Michael Koch <konqueror@gmx.de>
8488
8489 * java/net/DatagramPacket
8490 (DatagramPacket): Exception documentation added.
8491 (setData): Likewise.
8492 (setSocketAddress): Likewise.
8493 * java/net/DatagramSocketImpl.java
8494 (peek): Documentation addded.
8495 (peekData): Documentation addded.
8496 (send): Documentation addded.
8497 (receive): Documentation addded.
8498 (connect): New method.
8499 (disconnect): New method.
8500 (joinGroup): New abstract method.
8501 (leaveGroup): New abstract method.
8502 * java/net/InetSocketAddress.java
8503 (InetSocketAddress): Documentation added.
8504 (equals): final keyword added.
8505 (getAddress): final keyword added.
8506 (getHostName): final keyword added.
8507 (getPort): final keyword added.
8508 (hashCode): final keyword added.
8509 (isUnresolved): final keyword added.
8510 * java/net/MulticastSocket.java
8511 (MulticastSocket): Documentation added.
8512 (MulticastSocket): New method.
8513 (joinGroup): Documentation added.
8514 (joinGroup): New method.
8515 (leaveGroup): Documentation added.
8516 (leaveGroup): New method.
8517 (send): Documentation added.
8518 * java/net/NetworkInterface.java
8519 (getByName): Documentation added.
8520 (getByInetAddress): Documentation added.
8521 (getNetworkInterfaces): Documentation added.
8522 * java/net/PlainDatagramSocketImpl.java
8523 (connect): New method.
8524 (disconnect): New method.
8525 * java/net/SocketImpl.java
8526 (create): Documentation added.
8527 (shutdownInput): Convert public to protected, as it always was.
8528 (shutdownOutput): Convert public to protected, as it always was.
8529 * java/net/SocketOptions.java
8530 (whole file): Reintented.
8531 * java/net/URLClassLoader.java
8532 (URLClassLoader): SecurityManager check added, documentation added.
8533 (findResources): Documentation added.
8534 (findClass): Documentation added.
8535 (newInstance): More correct method arguments.
8536 * java/net/URLConnection.java
8537 (connect): Documentation added.
8538 (getContent): Documentation added.
8539 (getPermission): Documentation added.
8540 (getInputStream): Documentation added.
8541 (getOutputStream): Documentation added.
8542 (setDoInput): Throw correct exception, documentation added.
8543 (setDoOutput): Throw correct exception, documentation added.
8544 (setAllowUserInteraction): Throw correct exception, documentation added.
8545 (setUseCaches): Throw correct exception, documentation added.
8546 (setIfModifiedSince): Throw correct exception, documentation added.
8547 (setRequestProperty): Throw exception, documentation added.
8548 (addRequestProperty): Throw exception, documentation added.
8549 (getRequestProperty): Throw exception, documentation added.
8550 (getRequestProperties): Documentation added.
8551 (setContentHandlerFactory): Documentation added.
8552 (guessContentTypeFromName): protected to public.
8553 (setFileNameMap): Documentation added.
8554 * java/net/URLDecoder.java
8555 (URLDecoder): New method.
8556 (decode): Documentation added.
8557 (whole file): Reindented.
8558 * java/net/URLEncoder.java
8559 (encode): Documentation added.
8560 * java/net/natPlainDatagramSocketImpl.cc
8561 (connect): New method.
8562 (disconnect): New method.
8563 * javax/naming/RefAddr:
8564 (addrType): addrType was never final.
8565 (equals): Fix typo in method name.
8566 * javax/naming/BinaryRefAddr:
8567 (equals): Fix typo in method name.
8568
8569 2002-09-22 Tom Tromey <tromey@redhat.com>
8570
8571 Fix for PR libgcj/6576:
8572 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8573 didn't find a given bundle.
8574 (getBundle): Don't require base bundle.
8575 (setParent): Removed old comment.
8576 (tryLocalBundle): Try components even if preceding components were
8577 empty.
8578
8579 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8580
8581 * Makefile.am (all-multi): Fix multilib parallel build.
8582
8583 2002-09-21 Michael Koch <konqueror@gmx.de>
8584
8585 * java/net/Socket.java
8586 (sendUrgentData): New method.
8587 (getChannel): New method.
8588 * java/net/ServerSocket.java
8589 (getChannel): New method.
8590 (isBound): New method.
8591 * java/net/DatagramSocket.java
8592 (DatagramSocket): Two new methods.
8593 (bind): New method.
8594 (getChannel): New method.
8595 (isBound): New method.
8596 (send): Added newline to to make shorter lines.
8597 * java/net/PlainDatagramSocketImpl.java
8598 (mcastGrp): Added argument.
8599 (join): Use new mcastGrp.
8600 (leave): Use new mcastGrp.
8601 (joinGroup): New method.
8602 (leaveGroup): New method.
8603 * java/net/natPlainDatagramSocketImpl.cc
8604 (mcastGrp): Added argument, no yet really implemented.
8605 (getOption): Added newline for shorter lines.
8606 * java/net/natPlainSocketImpl.cc
8607 (read, setOption, getOption): Added newline for shorter lines.
8608
8609 2002-09-19 Tom Tromey <tromey@redhat.com>
8610
8611 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8612 newly-created exception.
8613
8614 2002-09-18 Michael Koch <konqueror@gmx.de>
8615
8616 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8617 java/util/regex/PatternSyntaxException.java:
8618 Merge with classpath, new files.
8619 * Makefile.am (core_java_source_files):
8620 Added java/util/regex/Matcher.java,
8621 java/util/regex/Pattern.java,
8622 java/util/regex/PatternSyntaxException.java
8623 * Makefile.in: Regenerated.
8624 * include/config.h.in: Added HAVE_NET_IF_H.
8625 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8626 Removed #if 0 ... #endif.
8627
8628 2002-09-17 Michael Koch <konqueror@gmx.de>
8629
8630 * java/net/natNetworkInterface.cc:
8631 Removed unneed and yet wrong includes.
8632
8633 2002-09-17 Michael Koch <konqueror@gmx.de>
8634
8635 * java/net/NetworkInterface.java: New file.
8636 * java/net/natNetworkInterface.java: New file.
8637 * configure.in: Added check for net/if.h.
8638 * configure: Regenerated.
8639 * Makefile.am
8640 (ordinary_java_source_files): Added NetworkInterface.java.
8641 (nat_source_files): Added natNetworkInterface.cc.
8642 * Makefile.in: Regenerated.
8643
8644 2002-09-16 Tom Tromey <tromey@redhat.com>
8645
8646 * java/net/URLClassLoader.java (findClass): Code source for a
8647 class from a jar is not necessarily a jar: URL.
8648
8649 2002-09-16 Michael Koch <konqueror@gmx.de>
8650
8651 * java/lang/AssertionError.java:
8652 Merge with classpath, fixes HTML.
8653 * java/rmi/server/LogStream.java:
8654 Merge with classpath, fixes some constants.
8655 * java/net/server/RemoteServer.java:
8656 Merge with classpath, adds serialVersionUID.
8657 * javax/naming/BinaryRefAddr.java:
8658 Merge with classpath, s/equal/equals/.
8659 * javax/naming/NamingException.java:
8660 Merge with classpath, fixed typo.
8661 * javax/naming/RefAddr.java:
8662 Merge with classpath, s/equal/equals/.
8663 * java/awt/Toolkit.java:
8664 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8665 and typo fixed.
8666
8667 2002-09-15 Adam Megacz <adam@xwt.org>
8668
8669 * java/net/natPlainSocketImpl.cc: fixed typo.
8670
8671 2002-09-15 Adam Megacz <adam@xwt.org>
8672
8673 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8674 which don't work on Win32 (yet).
8675
8676 2002-09-14 Adam Megacz <adam@xwt.org>
8677
8678 * java/net/natPlainDatagramSocket.cc: removed #include
8679 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8680 * include/win32.h: included definition for IP_TOS to satisfy
8681 natPlainDatagramSocket.cc
8682
8683 2002-09-13 Michael Koch <konqueror@gmx.de>
8684
8685 * java/net/DatagramPacket.java (DatagramPacket):
8686 Added linebreak for 80 chars per line.
8687 * java/net/JarURLConection.java
8688 (getInputStreami, getJarEntry): Likewise.
8689 * java/net/SocketPErmission.java
8690 (SocketPermission class docu, implies): Likewise.
8691 * java/net/URLClassLoader.java (findResources): Likewise.
8692 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8693
8694 2002-09-13 Michael Koch <konqueror@gmx.de>
8695
8696 * java/nio/channels/DatagramChannel.java,
8697 java/nio/channels/ServerSocketChannel.java
8698 java/nio/channels/SocketChannel.java:
8699 New dummy files to make java.net fully JDK 1.4 compatible
8700 * Makefile.am (ordinary_java_source_files): Added
8701 java/net/DatagramSocketImplFactory.java (long forgotten),
8702 java/nio/SocketChannel.java,
8703 java/nio/ServerSocketChannel.java,
8704 java/nio/DatagramChannel.java
8705 * Makefile.in: Regenrated.
8706
8707 2002-09-12 Michael Koch <konqueror@gmx.de>
8708
8709 * java/net/DatagramSocketImpl.java
8710 (peekData): New method.
8711 * java/net/PlainDatagramSocketImpl.java
8712 (peekData): New method.
8713 * java/net/natPlainDatagramSocketImpl.cc
8714 (peekData): New method.
8715 * java/net/URLConnection
8716 (getPermission): New method.
8717 (addRequestProperty): New method.
8718 (getRequestProperties): New method.
8719 (guessContentTypeFromStream): New method, not really implemented.
8720 (URLConnection): Added/updated documentation.
8721 (connect): Added/updated documentation.
8722 (getURL): Added/updated documentation.
8723 (getContentLength): Added/updated documentation.
8724 (getContentType: Added/updated documentation.
8725 (getContentEncoding): Added/updated documentation.
8726 (getExpiration): Added/updated documentation.
8727 (getDate): Added/updated documentation.
8728 (getLastModified): Added/updated documentation.
8729 (getHeaderField): Added/updated documentation.
8730 (getHeaderFields): Added/updated documentation.
8731 (getHeaderFieldInt): Added/updated documentation.
8732 (getHeaderFieldDate): Added/updated documentation.
8733 (getHeaderFieldKey): Added/updated documentation.
8734 (getContent): Added/updated documentation.
8735 (getInputStream): Added/updated documentation.
8736 (getOutputStream): Added/updated documentation.
8737 (toString): Added/updated documentation.
8738 (setDoInput): Added/updated documentation.
8739 (getDoInput): Added/updated documentation.
8740 (setDoOutput): Added/updated documentation.
8741 (getDoOutput): Added/updated documentation.
8742 (setAllowUserInteraction): Added/updated documentation.
8743 (getAllowUserInteraction): Added/updated documentation.
8744 (setDefaultAllowUserInteraction): Added/updated documentation.
8745 (getDefaultAllowUserInteraction): Added/updated documentation.
8746 (setUseCaches): Added/updated documentation.
8747 (getUseCaches): Added/updated documentation.
8748 (setIfModifiedSince): Added/updated documentation.
8749 (getIfModifiedSince): Added/updated documentation.
8750 (getDefaultUseCaches): Added/updated documentation.
8751 (setDefaultUseCaches): Added/updated documentation.
8752 (setRequestProperty): Added/updated documentation.
8753 (getRequestProperty): Added/updated documentation.
8754 (setDefaultRequestProperty): Added/updated documentation.
8755 (getDefaultRequestProperty): Added/updated documentation.
8756 (setContentHandlerFactory): Added/updated documentation.
8757 (guessContentTypeFromName): Added/updated documentation.
8758 (getFileNameMap): Added/updated documentation.
8759 (setFileNameMap): Added/updated documentation.
8760
8761 2002-09-11 Michael Koch <konqueror@gmx.de>
8762
8763 * java/net/Socket.java
8764 (Socket): protected to public (since JDK 1.4). Added @specnote.
8765 (bind): New method.
8766 (connect): Two new methods.
8767 (getKeepalive): Get correct socket option.
8768 (setKeepalive): Set correct socket option.
8769 (getOOBInline): New method.
8770 (setOOBInline): New method.
8771 * java/net/ServerSocket.java
8772 (bind): Two new methods.
8773 (getInetAddress): Reimplemented, catch exception.
8774 (getLocalSocketAddress): New method.
8775 (setReuseAddress): New method.
8776 (getReuseAdress): New method.
8777 (setReceiveBufferSize): New method.
8778 (getReceiveBufferSize): New method.
8779 (toString): Made string JDK 1.4 compliant.
8780
8781 2002-09-10 Michael Koch <konqueror@gmx.de>
8782
8783 * java/net/SocketImpl.java
8784 (connect): New method.
8785 (supportsUrgentData): New method.
8786 (sendUrgentData): New method.
8787 * java/net/PlainSocketImpl.java
8788 (connect): One new method and two new implementation.
8789 (sendUrgentData): New method.
8790 * java/natPlainSocketImpl.cc
8791 (connect): Arguments changed, added support for timeouts.
8792 (getOption): Another __java_boolean to jboolean.
8793
8794 2002-09-07 Adam Megacz <adam@xwt.org>
8795
8796 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8797 definition of IP_TOS.
8798
8799 2002-09-04 Michael Koch <konqueror@gmx.de>
8800
8801 * java/net/DatagramSocket.java
8802 (DatagramSocket): Added documentation.
8803 (close): Likewise.
8804 (getLocalAddress): Likewise.
8805 (getLocalPort): Likewise.
8806 (receive): Likewise.
8807 (send): Likewise.
8808 (setSoTimeout): Likewise.
8809 (connect): New method.
8810 (disconnect): New method.
8811 (getInetAddress): New method (FIXME)
8812 (getPort): New method.
8813 (setReuseAddress): New method.
8814 (getReuseAddress): New method.
8815 (setBroadcast): New method.
8816 (getBroadcast): New method.
8817 (setTrafficClass): New method.
8818 (getTrafficClass): New method.
8819 * java/net/MulticastSocket.java):
8820 (getTTL): Added @see in documentation.
8821 (setTTL): Added @see in documentation.
8822 (setLoopbackMode): New method.
8823 (getLoopbackMode): New method.
8824 * java/net/PlainSocketImpl.java:
8825 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8826 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8827 * java/net/PlainDatagramSocketImpl.java
8828 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8829 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8830 * java/net/natPlainSocketImpl.cc
8831 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8832 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8833 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8834 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8835 This should also fix SO_KEEPALIVE
8836 * java/net/natPlainDatagramSocketImpl.cc
8837 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8838 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8839 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8840 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8841
8842 2002-09-04 Michael Koch <konqueror@gmx.de>
8843
8844 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8845 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8846 IP_MULTICAST_LOOP, IP_TOS
8847
8848 2002-09-03 Tom Tromey <tromey@redhat.com>
8849
8850 * java/lang/Class.h (_getDeclaredMethod): Declare.
8851 (_getMethod): Now private.
8852 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8853 getDeclaredMethod. Now returns NULL on failure.
8854 * java/lang/Class.java (_getDeclaredMethod): Declare.
8855 (getDeclaredMethod): No longer native; implements access checks.
8856
8857 2002-09-01 Mark Wielaard <mark@klomp.org>
8858
8859 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8860 (sanitizeStack): Correctly reset unknown and interpreter counters,
8861 detect interpreter runtime frames.
8862 (demangleInterpreterMethod): New method.
8863 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8864 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8865 filling in addrs[].
8866
8867 2002-09-02 Michael Koch <konqueror@gmx.de>
8868
8869 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8870 re-indented documentation.
8871
8872 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8873
8874 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8875 public, per 1.4 spec. Fixes PR libgcj/7785.
8876
8877 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8878
8879 * Makefile.in: Rebuilt.
8880 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8881
8882 2002-08-29 Tom Tromey <tromey@redhat.com>
8883
8884 * java/net/JarURLConnection.java (getCertificates): New method
8885 from Classpath.
8886 * java/net/URLClassLoader.java (URLClassLoader): Extends
8887 SecureClassLoader.
8888 (definePackage): New method from Classpath.
8889 (getPermissions): Likewise.
8890 (newInstance): Likewise.
8891 (findClass): Construct CodeSource for new class (from Classpath).
8892 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8893 methods.
8894 * java/net/URL.java (getUserInfo): New method.
8895 (set(String,String,int,String,String,String,String,String)): New
8896 method.
8897 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8898 (shutdownInput, shutdownOutput): Declare.
8899 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8900 Define.
8901 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8902 (getOption): Likewise.
8903 (shutdownInput): New method.
8904 (shutdownOutput): Likewise.
8905 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8906 keepalive.
8907 (getOption): Likewise.
8908 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8909 * java/net/Socket.java (setKeepAlive): New method.
8910 (getKeepAlive): Likewise.
8911 (shutdownInput, shutdownOutput): New methods.
8912
8913 2002-08-29 Michael Koch <konqueror@gmx.de>
8914
8915 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8916 new methods are:
8917 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8918 address),
8919 DatagramPacket(byte[] buf, int length, SocketAddress address),
8920 void setSocketAddress(SocketAddress address)
8921 public SocketAddress getSocketAddress()
8922
8923 2002-08-29 Tom Tromey <tromey@redhat.com>
8924
8925 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8926 ftruncate is missing.
8927 * configure, include/config.h.in: Rebuilt.
8928 * acconfig.h (HAVE_FTRUNCATE): Mention.
8929 * configure.in: Check for ftruncate.
8930
8931 2002-08-29 Tom Tromey <tromey@redhat.com>
8932
8933 * include/jvm.h (struct _Jv_frame_info): New structure.
8934 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8935 java-interp.h.
8936 (lookupInterp): New method.
8937 (getAddrAsString): Use _Jv_frame_info.
8938 (dladdrLookup): Likewise.
8939 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8940 interpreted frame.
8941 (lookupInterp): Declare.
8942 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8943 (fillInStackTrace): Collect information on interpreted frames.
8944 Use _Jv_frame_info.
8945 * interpret.cc: Include Thread.h.
8946 (run): Create and push _Jv_MethodChain object.
8947 (_Jv_EndOfInterpreter): New global.
8948 * java/lang/Thread.java (interp_frame): New field.
8949 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8950 Include NameFinder.h.
8951
8952 2002-08-28 Tom Tromey <tromey@redhat.com>
8953
8954 * java/lang/Class.h: Include Package.h.
8955 (Class::getProtectionDomain): Declare.
8956 (Class::getPackage): Declare.
8957
8958 2002-08-28 Michael Koch <konqueror@gmx.de>
8959
8960 * java/net/InetSocketAddress.java: Added some documentation and argument
8961 checks for the port numbers.
8962 * java/net/DatagramSocketImplFactory.java: New file.
8963
8964 2002-08-28 Michael Koch <konqueror@gmx.de>
8965
8966 * java/net/Authenticator.java: added some documentation.
8967
8968 2002-08-27 Tom Tromey <tromey@redhat.com>
8969
8970 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8971 class.
8972 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8973
8974 2002-08-27 Michael Koch <konqueror@gmx.de>
8975
8976 * java/net/BindException.java,
8977 java/net/JarURLConnection.java,
8978 java/net/FileNameMap.java,
8979 java/net/HttpURLConnection.java,
8980 java/net/InetSocketAddress.java,
8981 java/net/DatagramPacket.java,
8982 java/net/DatagramSocket.java,
8983 java/net/DatagramSocketImpl.java,
8984 java/net/MulticastSocket.java,
8985 java/net/PasswordAuthentication.java,
8986 java/net/ServerSocket.java,
8987 java/net/Socket.java,
8988 java/net/URLClassLoader.java,
8989 java/net/URLConnection.java: add/update of some @since/@deprecated
8990
8991 2002-08-27 Tony Kimball <alk@pobox.com>
8992 Tom Tromey <tromey@redhat.com>
8993
8994 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8995 define.
8996 (::close): Removed.
8997 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8998 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8999 (::close): Removed.
9000 (PlainSocketImpl::close): Use NATIVE_CLOSE.
9001 * include/win32.h (getcwd): Removed declaration. Include io.h.
9002
9003 2002-08-25 Adam Megacz <adam@xwt.org>
9004
9005 * include/win32.h (getcwd): copied function declaration as
9006 temporary fix for header confusion.
9007
9008 2002-08-24 Mark Wielaard <mark@klomp.org>
9009
9010 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
9011 (core_java_source_files): Add VMThrowable.java and NameFinder.java
9012 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
9013 and natNameFinder.cc.
9014 * Makefile.in: Regenerate.
9015 * prims.cc: Use trace_enabled from VMThrowable.
9016 * name-finder.cc: Removed.
9017 * gcj/javaprims.h: Add class VMThrowable.
9018 * gnu/gcj/runtime/NameFinder.java: New file.
9019 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
9020 * include/name-finder.h: Removed.
9021 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
9022 method stackTraceString().
9023 (printStackTrace (PrintWriter)): Likewise.
9024 (stackTraceString): Complete rewrite of old printStackTrace using
9025 StringBuffer.
9026 (stackTraceStringBuffer): New helper method for stackTraceString().
9027 (fillInStackTrace): Delegate to VMTrowable.
9028 (getStackTrace): Likewise.
9029 (getStackTrace0): Removed.
9030 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
9031 (setStackTrace): Copy given array.
9032 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
9033 * java/lang/VMThrowable.java: New class.
9034 * java/lang/natVMThrowable.cc: New file.
9035
9036 2003-08-23 Michael Koch <konqueror@gmx.de>
9037
9038 * java/net/URLConnection.java,
9039 java/netJarURLConnection.java,
9040 gnu/gcj/protocol/core/Connection.java,
9041 gnu/gcj/protocol/file/Connection.java,
9042 gnu/gcj/protocol/http/Connection.java: Added implementation of
9043 getHeaderFields().
9044
9045 2002-08-22 Tom Tromey <tromey@redhat.com>
9046
9047 * gij.cc (help): Document -cp and -classpath.
9048 (main): Handle -classpath.
9049
9050 2002-08-21 Tom Tromey <tromey@redhat.com>
9051
9052 * Makefile.in: Rebuilt.
9053 * Makefile.am (ordinary_java_source_files): Added
9054 SocketAddress.java, InetSocketAddress.java.
9055 * java/net/PortUnreachableException.java: Merged with Classpath.
9056 * java/net/SocketTimeoutException.java: Likewise.
9057 * java/net/URISyntaxException.java: Likewise.
9058 * java/net/SocketAddress.java: New class from Classpath.
9059 * java/net/InetSocketAddress.java: Likewise.
9060
9061 2003-08-21 Michael Koch <konqueror@gmx.de>
9062
9063 * java/net/Authenticator.java: updated JDK 1.4
9064 * java/net/ContentHandler.java: updated JDK 1.4
9065
9066 2002-08-20 Michael Koch <konqueror@gmx.de>
9067
9068 * java/net/URISyntaxException.java: New file.
9069 * java/net/SocketTimeoutException.java: New file.
9070 * java/net/PortUnreachableException.java: New file.
9071 * Makefile.am: Updated.
9072 * Makefile.in: Rebuilt.
9073
9074 2002-08-18 Mark Wielaard <mark@klomp.org>
9075
9076 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
9077 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9078 MessageDigestSpi (fixes Classpath bug #783).
9079
9080 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9081
9082 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
9083 (startProcess): Allocate path for chdir in async-signal-safe way.
9084
9085 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9086
9087 Fix for PR libgcj/7570 and PR libgcj/7578:
9088 * java/lang/natPosixProcess.cc: Include java/io/File.h.
9089 (startProcess): Handle new `dir' argument.
9090 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
9091 argument.
9092 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
9093 argument.
9094 (startProcess): Likewise.
9095 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
9096 argument.
9097 * java/lang/Runtime.java (execInternal): Added `dir' argument.
9098 (exec): Don't create new environment if ENV==null. Pass DIR to
9099 execInternal.
9100 * java/lang/natRuntime.cc: Include java/io/File.h.
9101 (execInternal): Added `dir' argument.
9102
9103 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
9104
9105 * java/io/RandomAccessFile.java (skipBytes): Return number of
9106 bytes skipped.
9107
9108 2002-08-01 Mark Wielaard <mark@klomp.org>
9109
9110 Reenable patch since shared library troubles on powerpc are solved:
9111 * gnu/java/security/provider/Gnu.java: Reference all implementation
9112 classes by using Class.getName().
9113 * gnu/java/security/der/DEREncodingException.java,
9114 gnu/java/security/provider/DERReader.java,
9115 gnu/java/security/provider/DERWriter.java,
9116 gnu/java/security/provider/DSAKeyPairGenerator.java,
9117 gnu/java/security/provider/DSAParameterGenerator.java,
9118 gnu/java/security/provider/DSAParameters.java,
9119 gnu/java/security/provider/DSASignature.java,
9120 gnu/java/security/provider/GnuDSAPrivateKey.java,
9121 gnu/java/security/provider/GnuDSAPublicKey.java,
9122 gnu/java/security/provider/MD5.java,
9123 gnu/java/security/util/Prime.java: New classes
9124 * Makefile.am (ordinary_java_source_files): Add above files.
9125 * Makefile.in: Regenerate.
9126 * gnu/java/security/provider/DefaultPolicy.java
9127 (getPermissions): Don't maintain static class variable of Permissions.
9128 * gnu/java/security/provider/SHA.java
9129 (engineUpdate): algorithm change.
9130 (engineDigest): algorithm change.
9131
9132 2002-08-09 Mark Wielaard <mark@klomp.org>
9133
9134 * java/awt/image/MemoryImageSource.java: Change constructor to take
9135 int[] not byte[].
9136 * java/awt/Graphics2D.java: Uncomment methods that can now be
9137 compiled.
9138 * java/awt/GridBagLayout.java: New stub implementation.
9139 * javax/swing/text/html/HTML.java: Stub implementation.
9140 * javax/swing/text/html/parser/ParserDelegator.java: New stub
9141 implementation.
9142
9143 * Makefile.am: Add new files.
9144 * Makefile.in: Rebuilt.
9145
9146 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9147
9148 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
9149 methods in Graphics2D.
9150
9151 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9152
9153 AWT/Swing merge from GNU Classpath.
9154
9155 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
9156 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
9157 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
9158 java/awt/color/ProfileDataException.java,
9159 java/awt/CompositeContext.java, java/awt/Composite.java,
9160 java/awt/ContainerOrderFocusTraversalPolicy.java,
9161 java/awt/datatransfer/FlavorTable.java,
9162 java/awt/DefaultFocusTraversalPolicy.java,
9163 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
9164 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
9165 java/awt/dnd/DragGestureListener.java,
9166 java/awt/dnd/DragGestureRecognizer.java,
9167 java/awt/dnd/DragSourceAdapter.java,
9168 java/awt/dnd/DragSourceContext.java,
9169 java/awt/dnd/DragSourceDragEvent.java,
9170 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
9171 java/awt/dnd/DragSourceListener.java,
9172 java/awt/dnd/DragSourceMotionListener.java,
9173 java/awt/dnd/DropTarget.java,
9174 java/awt/dnd/InvalidDnDOperationException.java,
9175 java/awt/dnd/peer/DragSourceContextPeer.java,
9176 java/awt/event/AWTEventListenerProxy.java,
9177 java/awt/event/MouseWheelEvent.java,
9178 java/awt/event/MouseWheelListener.java,
9179 java/awt/event/WindowFocusListener.java,
9180 java/awt/event/WindowStateListener.java,
9181 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
9182 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
9183 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
9184 java/awt/geom/FlatteningPathIterator.java,
9185 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
9186 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
9187 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
9188 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
9189 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
9190 java/awt/image/ImagingOpException.java,
9191 java/awt/image/RasterFormatException.java,
9192 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
9193 java/awt/image/VolatileImage.java,
9194 java/awt/image/WritableRenderedImage.java,
9195 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
9196 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
9197 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
9198 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
9199 java/awt/PageAttributes.java, java/awt/print/Book.java,
9200 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
9201 java/awt/print/Paper.java, java/awt/print/Printable.java,
9202 java/awt/print/PrinterAbortException.java,
9203 java/awt/print/PrinterException.java,
9204 java/awt/print/PrinterGraphics.java,
9205 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
9206 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
9207 java/awt/Stroke.java, java/awt/TexturePaint.java,
9208 javax/accessibility/AccessibleAction.java,
9209 javax/accessibility/AccessibleBundle.java,
9210 javax/accessibility/AccessibleComponent.java,
9211 javax/accessibility/AccessibleContext.java,
9212 javax/accessibility/AccessibleEditableText.java,
9213 javax/accessibility/AccessibleExtendedComponent.java,
9214 javax/accessibility/AccessibleExtendedTable.java,
9215 javax/accessibility/AccessibleHyperlink.java,
9216 javax/accessibility/AccessibleHypertext.java,
9217 javax/accessibility/AccessibleIcon.java,
9218 javax/accessibility/Accessible.java,
9219 javax/accessibility/AccessibleKeyBinding.java,
9220 javax/accessibility/AccessibleRelation.java,
9221 javax/accessibility/AccessibleRelationSet.java,
9222 javax/accessibility/AccessibleResourceBundle.java,
9223 javax/accessibility/AccessibleRole.java,
9224 javax/accessibility/AccessibleSelection.java,
9225 javax/accessibility/AccessibleState.java,
9226 javax/accessibility/AccessibleStateSet.java,
9227 javax/accessibility/AccessibleTable.java,
9228 javax/accessibility/AccessibleTableModelChange.java,
9229 javax/accessibility/AccessibleText.java,
9230 javax/accessibility/AccessibleValue.java,
9231 javax/swing/AbstractAction.java,
9232 javax/swing/AbstractButton.java,
9233 javax/swing/AbstractCellEditor.java,
9234 javax/swing/AbstractListModel.java,
9235 javax/swing/AbstractSet.java, javax/swing/Action.java,
9236 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
9237 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
9238 javax/swing/border/CompoundBorder.java,
9239 javax/swing/border/EmptyBorder.java,
9240 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
9241 javax/swing/border/LineBorder.java,
9242 javax/swing/border/MatteBorder.java,
9243 javax/swing/border/TitledBorder.java,
9244 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
9245 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
9246 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
9247 javax/swing/CellRendererPane.java,
9248 javax/swing/colorchooser/AbstractColorChooserPanel.java,
9249 javax/swing/colorchooser/ColorChooserComponentFactory.java,
9250 javax/swing/colorchooser/ColorSelectionModel.java,
9251 javax/swing/colorchooser/DefaultColorSelectionModel.java,
9252 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
9253 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
9254 javax/swing/DefaultBoundedRangeModel.java,
9255 javax/swing/DefaultButtonModel.java,
9256 javax/swing/DefaultCellEditor.java,
9257 javax/swing/DefaultCellRenderer.java,
9258 javax/swing/DefaultComboBoxModel.java,
9259 javax/swing/DefaultDesktopManager.java,
9260 javax/swing/DefaultFocusManager.java,
9261 javax/swing/DefaultListCellRenderer.java,
9262 javax/swing/DefaultListModel.java,
9263 javax/swing/DefaultListSelectionModel.java,
9264 javax/swing/DefaultSingleSelectionModel.java,
9265 javax/swing/DesktopManager.java,
9266 javax/swing/event/AncestorEvent.java,
9267 javax/swing/event/AncestorListener.java,
9268 javax/swing/event/CaretEvent.java,
9269 javax/swing/event/CaretListener.java,
9270 javax/swing/event/CellEditorListener.java,
9271 javax/swing/event/ChangeEvent.java,
9272 javax/swing/event/ChangeListener.java,
9273 javax/swing/event/DocumentEvent.java,
9274 javax/swing/event/DocumentListener.java,
9275 javax/swing/event/EventListenerList.java,
9276 javax/swing/event/HyperlinkEvent.java,
9277 javax/swing/event/HyperlinkListener.java,
9278 javax/swing/event/InternalFrameAdapter.java,
9279 javax/swing/event/InternalFrameEvent.java,
9280 javax/swing/event/InternalFrameListener.java,
9281 javax/swing/event/ListDataEvent.java,
9282 javax/swing/event/ListDataListener.java,
9283 javax/swing/event/ListSelectionEvent.java,
9284 javax/swing/event/ListSelectionListener.java,
9285 javax/swing/event/MenuDragMouseEvent.java,
9286 javax/swing/event/MenuDragMouseListener.java,
9287 javax/swing/event/MenuEvent.java,
9288 javax/swing/event/MenuKeyEvent.java,
9289 javax/swing/event/MenuKeyListener.java,
9290 javax/swing/event/MenuListener.java,
9291 javax/swing/event/MouseInputAdapter.java,
9292 javax/swing/event/MouseInputListener.java,
9293 javax/swing/event/PopupMenuEvent.java,
9294 javax/swing/event/PopupMenuListener.java,
9295 javax/swing/event/SwingPropertyChangeSupport.java,
9296 javax/swing/event/TableColumnModelEvent.java,
9297 javax/swing/event/TableColumnModelListener.java,
9298 javax/swing/event/TableModelEvent.java,
9299 javax/swing/event/TableModelListener.java,
9300 javax/swing/event/TreeExpansionEvent.java,
9301 javax/swing/event/TreeExpansionListener.java,
9302 javax/swing/event/TreeModelEvent.java,
9303 javax/swing/event/TreeModelListener.java,
9304 javax/swing/event/TreeSelectionEvent.java,
9305 javax/swing/event/TreeSelectionListener.java,
9306 javax/swing/event/TreeWillExpandListener.java,
9307 javax/swing/event/UndoableEditEvent.java,
9308 javax/swing/event/UndoableEditListener.java,
9309 javax/swing/filechooser/FileFilter.java,
9310 javax/swing/filechooser/FileSystemView.java,
9311 javax/swing/filechooser/FileView.java,
9312 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
9313 javax/swing/Icon.java, javax/swing/ImageIcon.java,
9314 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
9315 javax/swing/JApplet.java, javax/swing/JButton.java,
9316 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
9317 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
9318 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
9319 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
9320 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
9321 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
9322 javax/swing/JLayeredPane.java, javax/swing/JList.java,
9323 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
9324 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
9325 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
9326 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
9327 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
9328 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
9329 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
9330 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
9331 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
9332 javax/swing/JTextField.java, javax/swing/JTextPane.java,
9333 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
9334 javax/swing/JToolTip.java, javax/swing/JTree.java,
9335 javax/swing/JViewport.java, javax/swing/JWindow.java,
9336 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
9337 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
9338 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
9339 javax/swing/MenuSelectionManager.java,
9340 javax/swing/MutableComboBoxModel.java,
9341 javax/swing/OverlayLayout.java,
9342 javax/swing/plaf/ActionMapUIResource.java,
9343 javax/swing/plaf/basic/BasicBorders.java,
9344 javax/swing/plaf/basic/BasicButtonUI.java,
9345 javax/swing/plaf/basic/BasicCheckBoxUI.java,
9346 javax/swing/plaf/basic/BasicDefaults.java,
9347 javax/swing/plaf/basic/BasicGraphicsUtils.java,
9348 javax/swing/plaf/basic/BasicIconFactory.java,
9349 javax/swing/plaf/basic/BasicLabelUI.java,
9350 javax/swing/plaf/basic/BasicListUI.java,
9351 javax/swing/plaf/basic/BasicLookAndFeel.java,
9352 javax/swing/plaf/basic/BasicOptionPaneUI.java,
9353 javax/swing/plaf/basic/BasicPanelUI.java,
9354 javax/swing/plaf/basic/BasicRadioButtonUI.java,
9355 javax/swing/plaf/basic/BasicScrollPaneUI.java,
9356 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
9357 javax/swing/plaf/basic/BasicTextUI.java,
9358 javax/swing/plaf/basic/BasicToggleButtonUI.java,
9359 javax/swing/plaf/basic/BasicTreeUI.java,
9360 javax/swing/plaf/basic/BasicViewportUI.java,
9361 javax/swing/plaf/BorderUIResource.java,
9362 javax/swing/plaf/ButtonUI.java,
9363 javax/swing/plaf/ColorChooserUI.java,
9364 javax/swing/plaf/ColorUIResource.java,
9365 javax/swing/plaf/ComboBoxUI.java,
9366 javax/swing/plaf/ComponentInputMapUIResource.java,
9367 javax/swing/plaf/ComponentUI.java,
9368 javax/swing/plaf/DesktopIconUI.java,
9369 javax/swing/plaf/DesktopPaneUI.java,
9370 javax/swing/plaf/DimensionUIResource.java,
9371 javax/swing/plaf/FileChooserUI.java,
9372 javax/swing/plaf/FontUIResource.java,
9373 javax/swing/plaf/IconUIResource.java,
9374 javax/swing/plaf/InputMapUIResource.java,
9375 javax/swing/plaf/InsetsUIResource.java,
9376 javax/swing/plaf/InternalFrameUI.java,
9377 javax/swing/plaf/LabelUI.java,
9378 javax/swing/plaf/ListUI.java,
9379 javax/swing/plaf/MenuBarUI.java,
9380 javax/swing/plaf/MenuItemUI.java,
9381 javax/swing/plaf/OptionPaneUI.java,
9382 javax/swing/plaf/PanelUI.java,
9383 javax/swing/plaf/PopupMenuUI.java,
9384 javax/swing/plaf/ProgressBarUI.java,
9385 javax/swing/plaf/RootPaneUI.java,
9386 javax/swing/plaf/ScrollBarUI.java,
9387 javax/swing/plaf/ScrollPaneUI.java,
9388 javax/swing/plaf/SeparatorUI.java,
9389 javax/swing/plaf/SliderUI.java,
9390 javax/swing/plaf/SplitPaneUI.java,
9391 javax/swing/plaf/TabbedPaneUI.java,
9392 javax/swing/plaf/TableHeaderUI.java,
9393 javax/swing/plaf/TableUI.java,
9394 javax/swing/plaf/TextUI.java,
9395 javax/swing/plaf/ToolBarUI.java,
9396 javax/swing/plaf/ToolTipUI.java,
9397 javax/swing/plaf/TreeUI.java,
9398 javax/swing/plaf/UIResource.java,
9399 javax/swing/plaf/ViewportUI.java,
9400 javax/swing/ProgressMonitorInputStream.java,
9401 javax/swing/ProgressMonitor.java,
9402 javax/swing/Renderer.java,
9403 javax/swing/RepaintManager.java,
9404 javax/swing/RootPaneContainer.java,
9405 javax/swing/Scrollable.java,
9406 javax/swing/ScrollPaneConstants.java,
9407 javax/swing/ScrollPaneLayout.java,
9408 javax/swing/SingleSelectionModel.java,
9409 javax/swing/SizeRequirements.java,
9410 javax/swing/SizeSequence.java,
9411 javax/swing/SwingConstants.java,
9412 javax/swing/SwingUtilities.java,
9413 javax/swing/table/AbstractTableModel.java,
9414 javax/swing/table/DefaultTableCellRenderer.java,
9415 javax/swing/table/DefaultTableColumnModel.java,
9416 javax/swing/table/DefaultTableModel.java,
9417 javax/swing/table/TableCellEditor.java,
9418 javax/swing/table/TableCellRenderer.java,
9419 javax/swing/table/TableColumn.java,
9420 javax/swing/table/TableColumnModel.java,
9421 javax/swing/table/TableModel.java,
9422 javax/swing/text/AbstractDocument.java,
9423 javax/swing/text/AttributeSet.java,
9424 javax/swing/text/BadLocationException.java,
9425 javax/swing/text/Caret.java,
9426 javax/swing/text/CharacterIterator.java,
9427 javax/swing/text/ComponentView.java,
9428 javax/swing/text/DefaultCaret.java,
9429 javax/swing/text/DefaultEditorKit.java,
9430 javax/swing/text/Document.java,
9431 javax/swing/text/EditorKit.java,
9432 javax/swing/text/Element.java,
9433 javax/swing/text/GapContent.java,
9434 javax/swing/text/JTextComponent.java,
9435 javax/swing/text/Keymap.java,
9436 javax/swing/text/MutableAttributeSet.java,
9437 javax/swing/text/PlainDocument.java,
9438 javax/swing/text/PlainEditorKit.java,
9439 javax/swing/text/Position.java,
9440 javax/swing/text/Segment.java,
9441 javax/swing/text/StyledDocument.java,
9442 javax/swing/text/StyledEditorKit.java,
9443 javax/swing/text/Style.java,
9444 javax/swing/text/TextAction.java,
9445 javax/swing/text/ViewFactory.java,
9446 javax/swing/text/View.java,
9447 javax/swing/Timer.java,
9448 javax/swing/ToggleButtonModel.java,
9449 javax/swing/ToolTipManager.java,
9450 javax/swing/tree/AbstractLayoutCache.java,
9451 javax/swing/tree/DefaultMutableTreeNode.java,
9452 javax/swing/tree/DefaultTreeCellEditor.java,
9453 javax/swing/tree/DefaultTreeCellRenderer.java,
9454 javax/swing/tree/DefaultTreeModel.java,
9455 javax/swing/tree/DefaultTreeSelectionModel.java,
9456 javax/swing/tree/ExpandVetoException.java,
9457 javax/swing/tree/FixedHeightLayoutCache.java,
9458 javax/swing/tree/MutableTreeNode.java,
9459 javax/swing/tree/RowMapper.java,
9460 javax/swing/tree/TreeCellEditor.java,
9461 javax/swing/tree/TreeCellRenderer.java,
9462 javax/swing/tree/TreeModel.java,
9463 javax/swing/tree/TreeNode.java,
9464 javax/swing/tree/TreePath.java,
9465 javax/swing/tree/TreeSelectionModel.java,
9466 javax/swing/tree/VariableHeightLayoutCache.java,
9467 javax/swing/UIDefaults.java,
9468 javax/swing/UIManager.java,
9469 javax/swing/undo/AbstractUndoableEdit.java,
9470 javax/swing/undo/CannotRedoException.java,
9471 javax/swing/undo/CannotUndoException.java,
9472 javax/swing/undo/CompoundEdit.java,
9473 javax/swing/undo/StateEditable.java,
9474 javax/swing/undo/StateEdit.java,
9475 javax/swing/undo/UndoableEdit.java,
9476 javax/swing/undo/UndoableEditSupport.java,
9477 javax/swing/undo/UndoManager.java,
9478 javax/swing/UnsupportedLookAndFeelException.java,
9479 javax/swing/ViewportLayout.java,
9480 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9481
9482 * java/awt/ActiveEvent.java,
9483 java/awt/Adjustable.java, java/awt/AWTError.java,
9484 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9485 java/awt/AWTException.java, java/awt/AWTPermission.java,
9486 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9487 java/awt/Color.java, java/awt/Component.java,
9488 java/awt/ComponentOrientation.java, java/awt/Container.java,
9489 java/awt/datatransfer/MimeTypeParseException.java,
9490 java/awt/datatransfer/Transferable.java,
9491 java/awt/datatransfer/UnsupportedFlavorException.java,
9492 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9493 java/awt/event/ActionListener.java,
9494 java/awt/event/AdjustmentEvent.java,
9495 java/awt/event/AdjustmentListener.java,
9496 java/awt/event/AWTEventListener.java,
9497 java/awt/event/ComponentAdapter.java,
9498 java/awt/event/ComponentEvent.java,
9499 java/awt/event/ComponentListener.java,
9500 java/awt/event/ContainerAdapter.java,
9501 java/awt/event/ContainerEvent.java,
9502 java/awt/event/ContainerListener.java,
9503 java/awt/event/FocusAdapter.java,
9504 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9505 java/awt/event/HierarchyBoundsAdapter.java,
9506 java/awt/event/HierarchyBoundsListener.java,
9507 java/awt/event/HierarchyEvent.java,
9508 java/awt/event/HierarchyListener.java,
9509 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9510 java/awt/event/InputMethodListener.java,
9511 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9512 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9513 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9514 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9515 java/awt/event/MouseListener.java,
9516 java/awt/event/MouseMotionAdapter.java,
9517 java/awt/event/MouseMotionListener.java,
9518 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9519 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9520 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9521 java/awt/event/WindowListener.java, java/awt/Font.java,
9522 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9523 java/awt/geom/Ellipse2D.java,
9524 java/awt/geom/IllegalPathStateException.java,
9525 java/awt/geom/Line2D.java,
9526 java/awt/geom/NoninvertibleTransformException.java,
9527 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9528 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9529 java/awt/geom/RoundRectangle2D.java,
9530 java/awt/GraphicsConfiguration.java,
9531 java/awt/IllegalComponentStateException.java,
9532 java/awt/image/IndexColorModel.java,
9533 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9534 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9535 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9536 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9537 java/awt/MenuItem.java, java/awt/PaintContext.java,
9538 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9539 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9540 java/awt/PrintJob.java, java/awt/Rectangle.java,
9541 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9542 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9543 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9544
9545 * java/awt/im/spi/InputMethod.java,
9546 java/awt/im/spi/InputMethodContext.java,
9547 java/awt/im/spi/InputMethodDescriptor.java,
9548 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9549 java/awt/image/renderable/ParameterBlock.java,
9550 java/awt/image/renderable/RenderContext.java,
9551 java/awt/image/renderable/RenderableImage.java,
9552 java/awt/image/renderable/RenderableImageOp.java,
9553 java/awt/image/renderable/RenderableImageProducer.java,
9554 java/awt/image/renderable/RenderedImageFactory.java: New files from
9555 classpath.
9556
9557 * gnu/java/awt/EventModifier.java,
9558 gnu/java/awt/image/ImageDecoder.java,
9559 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9560
9561 * gnu/awt/xlib/XGraphicsConfiguration.java,
9562 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9563 API.
9564
9565 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9566 GNU Classpath.
9567
9568 * Makefile.am: Add new files.
9569 * Makefile.in: Rebuilt.
9570
9571 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9572
9573 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9574 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9575 findResource, getResources, findResources): Add javadoc from classpath.
9576 (getSystemResources): Implemented.
9577
9578 2002-08-01 Mark Wielaard <mark@klomp.org>
9579
9580 Revert patch that breaks libgcj shared library on powerpc:
9581 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9582 implementation classes by using Class.getName(). Uses Strings again.
9583 * gnu/java/security/der/DEREncodingException.java,
9584 gnu/java/security/provider/DERReader.java,
9585 gnu/java/security/provider/DERWriter.java,
9586 gnu/java/security/provider/DSAKeyPairGenerator.java,
9587 gnu/java/security/provider/DSAParameterGenerator.java,
9588 gnu/java/security/provider/DSAParameters.java,
9589 gnu/java/security/provider/DSASignature.java,
9590 gnu/java/security/provider/GnuDSAPrivateKey.java,
9591 gnu/java/security/provider/GnuDSAPublicKey.java,
9592 gnu/java/security/provider/MD5.java,
9593 gnu/java/security/util/Prime.java: Removed.
9594 * Makefile.am (ordinary_java_source_files): Remove above files.
9595 * Makefile.in: Regenerate.
9596 * gnu/java/security/provider/DefaultPolicy.java
9597 (getPermissions): Revert to maintaining static class variable of
9598 Permissions.
9599 * gnu/java/security/provider/SHA.java
9600 (engineUpdate): Revert algorithm change.
9601 (engineDigest): Revert algorithm change.
9602
9603 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9604
9605 * configure.host: Add SH support.
9606 * sysdep/sh/locks.h: New file.
9607
9608 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9609
9610 * java/awt/Frame.java (Frame): Remove println calls.
9611
9612 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9613
9614 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9615 * configure: Rebuilt.
9616
9617 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9618
9619 * sysdep/powerpc/locks.h: Formatting.
9620 (_LARX): Define.
9621 (_STCX): Define.
9622 (compare_and_swap): Use _LARX and _STCX.
9623 (compare_and_swap_release): Likewise.
9624
9625 2002-07-26 Tom Tromey <tromey@redhat.com>
9626
9627 * java/net/Authenticator.java: New version from Classpath.
9628 * java/net/DatagramSocketImpl.java: New version from Classpath.
9629
9630 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9631
9632 * configure.host: Add powerpc64*-* entry.
9633
9634 2002-07-26 Tom Tromey <tromey@redhat.com>
9635
9636 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9637 fcntl.h.
9638
9639 2002-07-24 Tom Tromey <tromey@redhat.com>
9640
9641 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9642 argument to _load.
9643
9644 2002-07-24 Tom Tromey <tromey@redhat.com>
9645 Tony Kimball <alk@pobox.com>
9646
9647 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9648 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9649 * java/io/RandomAccessFile.java (setLength): New method.
9650 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9651 * java/io/FileDescriptor.java (setLength): New method.
9652
9653 2002-07-24 Mark Wielaard <mark@klomp.org>
9654
9655 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9656 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9657 field call setAccessible(true).
9658 (setByteField): Likewise.
9659 (setCharField): Likewise.
9660 (setDoubleField): Likewise.
9661 (setFloatField): Likewise.
9662 (setIntField): Likewise.
9663 (setLongField): Likewise.
9664 (setShortField): Likewise.
9665 (setObjectField): Likewise.
9666
9667 2002-07-24 Tom Tromey <tromey@redhat.com>
9668
9669 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9670 use toString() to format array element.
9671
9672 2002-07-23 Mark Wielaard <mark@klomp.org>
9673
9674 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9675 MessageDigestSpi (fixes Classpath bug #783).
9676
9677 2002-07-21 Mark Wielaard <mark@klomp.org>
9678
9679 * gnu/java/security/provider/Gnu.java: Reference all implementation
9680 classes by using Class.getName().
9681
9682 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9683
9684 * java/lang/ieeefp.h: Add x86-64 support.
9685 * configure.in: Likewise.
9686 * configure.host: Likewise.
9687 * configure: Regenerated.
9688 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9689
9690 2002-07-16 Mark Wielaard <mark@klomp.org>
9691
9692 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9693 (whitespaceChars): call resetChar().
9694
9695 2002-07-15 Tom Tromey <tromey@redhat.com>
9696
9697 * Makefile.in: Rebuilt.
9698 * Makefile.am (awt_java_source_files): Added new files.
9699 * java/beans/ExceptionListener.java: Merged with Classpath.
9700 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9701 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9702 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9703 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9704 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9705 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9706 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9707
9708 2002-07-14 Mark Wielaard <mark@klomp.org>
9709
9710 * gnu/java/security/der/DEREncodingException.java,
9711 gnu/java/security/provider/DERReader.java,
9712 gnu/java/security/provider/DERWriter.java,
9713 gnu/java/security/provider/DSAKeyPairGenerator.java,
9714 gnu/java/security/provider/DSAParameterGenerator.java,
9715 gnu/java/security/provider/DSAParameters.java,
9716 gnu/java/security/provider/DSASignature.java,
9717 gnu/java/security/provider/GnuDSAPrivateKey.java,
9718 gnu/java/security/provider/GnuDSAPublicKey.java,
9719 gnu/java/security/provider/MD5.java,
9720 gnu/java/security/util/Prime.java: New files from Classpath.
9721 * Makefile.am (ordinary_java_source_files): Add new files.
9722 * Makefile.in: Regenerate.
9723
9724 2002-07-14 C. Brian Jones <cbj@gnu.org>
9725
9726 * gnu/java/security/provider/DefaultPolicy.java
9727 (getPermissions): do not maintain static class variable of
9728 Permissions
9729 * gnu/java/security/provider/SHA.java
9730 (engineUpdate): algorithm change
9731 (engineDigest): algorithm change
9732
9733 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9734
9735 For PR libgcj/7292:
9736 * java/lang/Character.java (toString(char)): Now static.
9737
9738 2002-07-12 Mark Wielaard <mark@klomp.org>
9739
9740 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9741 (getStackTrace0): new method.
9742 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9743 (printStackTrace(PrintWriter)): replace with pure java implementation.
9744 (printRawStackTrace): removed.
9745 (getStackTrace0): new method.
9746 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9747 * gcj/javaprims.h: regenerate class list.
9748 * include/name-finder.h (lookup): new returns StackTraceElement*.
9749 (method_name, file_name): fields removed.
9750 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9751 (~_Jv_name_finder): close new descriptors.
9752 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9753 (createStackTraceElement): new method.
9754 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9755
9756 2002-07-10 Tom Tromey <tromey@redhat.com>
9757
9758 * configure: Rebuilt.
9759 * configure.in: Use `test' after `&&'. From Chris Faylor.
9760
9761 2002-07-08 Mark Wielaard <mark@klomp.org>
9762
9763 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9764 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9765 java.sql.DatabaseMetaData.TestJdbc20
9766
9767 2002-07-05 Tony Kimball <alk@pobox.com>
9768
9769 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9770
9771 2002-07-04 Tom Tromey <tromey@redhat.com>
9772 Jeff Sturm <jsturm@one-point.com>
9773
9774 Fix for PR libgcj/7060:
9775 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9776 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9777 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9778 * java/lang/Class.java (getMethod): New Java implementation;
9779 complies with spec.
9780 (_getMethod): New native method.
9781
9782 2002-07-02 Tom Tromey <tromey@redhat.com>
9783 David Hovemeyer <daveho@cs.umd.edu>
9784
9785 * java/text/ChoiceFormat.java
9786 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9787 in check loop.
9788 * java/text/MessageFormat.java
9789 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9790 to MessageFormat.
9791
9792 2002-07-01 Tom Tromey <tromey@redhat.com>
9793
9794 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9795 StringTokenizer on null string. For PR libgcj/7180.
9796 From daveho@cs.umd.edu.
9797
9798 2002-06-24 Tom Tromey <tromey@redhat.com>
9799
9800 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9801 (IntegerClass): Likewise.
9802 * java/lang/natClass.cc (CloneableClass): Removed.
9803 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9804 ConstructorClass): Likewise.
9805 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9806 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9807 SerializableClass): Likewise.
9808 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9809 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9810 LongClass, FloatClass, DoubleClass): Likewise.
9811
9812 * verify.cc (branch_prepass): Updated for change to exception
9813 handler type.
9814 (verify_instructions_0): Likewise.
9815 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9816 (handleExceptionTableEntry): Updated for change to exception
9817 handler type.
9818 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9819 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9820 (union _Jv_InterpPC): New.
9821 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9822 (class _Jv_InterpMethod): Added new `prepared' field.
9823 (class _Jv_InterpMethod): Added `compile' method. Removed
9824 `continue1' and `find_exception'. Changed arguments to `run'.
9825 * interpret.cc (union insn_slot): New.
9826 (find_exception): Removed.
9827 (run_normal): Removed most logic.
9828 (run_synch_object): Likewise; also, use JvSynchronize.
9829 (run_synch_class): Likewise.
9830 (run): Removed.
9831 (continue1): Renamed as `run'. Compile bytecode if required.
9832 Add new code to allow refinement of direct-threaded code at
9833 runtime. Handle exceptions.
9834 (SAVE_PC): Removed.
9835 (compile): New method.
9836 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9837 (NULLARRAYCHECK): Don't use SAVE_PC.
9838 (pc_t): New typedef.
9839 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9840 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9841
9842 2002-06-23 Tom Tromey <tromey@redhat.com>
9843
9844 * configure: Rebuilt.
9845 * configure.in (INTERPRETER): New subst.
9846 (AM_RUNTESTFLAGS): Don't subst.
9847
9848 * Makefile.in: Rebuilt.
9849 * Makefile.am ($(srcdir)/java/lang/Object.h,
9850 $(srcdir)/java/lang/Class.h): Added dummy targets.
9851
9852 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9853
9854 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9855
9856 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9857 java/sql/Savepoint.java: New files.
9858 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9859 java/sql/Blob.java, java/sql/CallableStatement.java,
9860 java/sql/Clob.java, java/sql/Connection.java,
9861 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9862 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9863 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9864 java/sql/Ref.java, java/sql/ResultSet.java,
9865 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9866 java/sql/SQLException.java, java/sql/SQLInput.java,
9867 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9868 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9869 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9870 (JDK 1.4) specification.
9871 * javax/sql/ConnectionEvent.java,
9872 javax/sql/ConnectionEventListener.java,
9873 javax/sql/ConnectionPoolDataSource.java,
9874 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9875 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9876 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9877 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9878 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9879 javax/sql/XADataSource.java: New files.
9880 * Makefile.am: Add new files.
9881 * Makefile.in: Rebuilt.
9882
9883 2002-06-20 Tom Tromey <tromey@redhat.com>
9884
9885 For PR libgcj/7073:
9886 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9887 exists.
9888 * defineclass.cc (handleClassBegin): Superclass for interface is
9889 `null'.
9890
9891 2002-06-18 Tom Tromey <tromey@redhat.com>
9892
9893 * gcj/javaprims.h: Updated class declaration list.
9894 * Makefile.in: Rebuilt.
9895 * Makefile.am (core_java_source_files): Removed
9896 BasicMapEntry.java.
9897 * java/util/BasicMapEntry.java: Removed.
9898
9899 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9900
9901 * java/net/natPlainDatagramSocketImpl.cc (receive):
9902 Check bounds of argument to FD_SET.
9903 (setOption): Throw exception if socket is closed.
9904
9905 * java/net/natPlainSocketImpl.cc (accept, read):
9906 Check bounds of argument to FD_SET.
9907 (setOption): Throw exception if socket is closed.
9908
9909 2002-06-18 Tom Tromey <tromey@redhat.com>
9910
9911 * gcj/javaprims.h: Updated class declaration list.
9912 * Makefile.in: Rebuilt.
9913 * Makefile.am (core_java_source_files): Added
9914 PropertyPermissionCollection.java.
9915 * java/lang/Thread.java (group, name): Now package-private.
9916 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9917 * java/util/AbstractList.java: Likewise.
9918 * java/util/AbstractMap.java: Likewise.
9919 * java/util/Calendar.java: Likewise.
9920 * java/util/Collections.java: Likewise.
9921 * java/util/HashMap.java: Likewise.
9922 * java/util/Hashtable.java: Likewise.
9923 * java/util/LinkedHashMap.java: Likewise.
9924 * java/util/LinkedList.java: Likewise.
9925 * java/util/List.java: Likewise.
9926 * java/util/ListResourceBundle.java: Likewise.
9927 * java/util/Map.java: Likewise.
9928 * java/util/Observable.java: Likewise.
9929 * java/util/Properties.java: Likewise.
9930 * java/util/PropertyPermission.java: Likewise.
9931 * java/util/PropertyPermissionCollection.java: Likewise.
9932 * java/util/PropertyResourceBundle.java: Likewise.
9933 * java/util/Random.java: Likewise.
9934 * java/util/SimpleTimeZone.java: Likewise.
9935 * java/util/StringTokenizer.java: Likewise.
9936 * java/util/TimerTask.java: Likewise.
9937 * java/util/TreeMap.java: Likewise.
9938 * java/util/WeakHashMap.java: Likewise.
9939 * java/util/jar/Attributes.java: Likewise.
9940 * java/util/jar/JarException.java: Likewise.
9941 * java/util/jar/Manifest.java: Likewise.
9942
9943 2002-06-17 Tom Tromey <tromey@redhat.com>
9944
9945 * gcj/javaprims.h: Updated class declaration list.
9946 * Makefile.in: Rebuilt.
9947 * Makefile.am (core_java_source_files): Added new file.
9948 * java/util/EventListenerProxy.java: New file.
9949 * java/util/EventListener.java: Re-merge with Classpath.
9950 * java/util/EventObject.java: Re-merge with Classpath.
9951
9952 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9953
9954 * java/lang/ClassNotFoundException.java: New Classpath version.
9955
9956 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9957
9958 * java/rmi/activation/ActivateFailedException.java: Remerge from
9959 Classpath version.
9960 * java/rmi/activation/ActivationException.java: Ditto.
9961 * java/rmi/activation/UnknownGroupException.java: Ditto.
9962 * java/rmi/activation/UnknownObjectException.java: Ditto.
9963 * java/rmi/server/ExportException: Ditto.
9964 * java/rmi/server/ServerCloneException: Ditto.
9965 * java/rmi/server/ServerNotActiveException: Ditto.
9966 * java/rmi/server/SkeletonMismatchException: Ditto.
9967 * java/rmi/server/SkeletonNotFoundException: Ditto.
9968 * java/rmi/server/SocketSecurityException: Ditto.
9969
9970 2002-06-16 Tom Tromey <tromey@redhat.com>
9971
9972 * gcj/javaprims.h: Updated class declaration list.
9973
9974 * java/io/LineNumberInputStream.java: Merged with Classpath.
9975
9976 * java/lang/RuntimeException.java: Re-merge with Classpath.
9977 * java/util/ArrayList.java: Likewise.
9978 * java/util/Arrays.java: Likewise.
9979 * java/util/BitSet.java: Likewise.
9980 * java/util/Dictionary.java: Likewise.
9981 * java/util/IdentityHashMap.java: Likewise.
9982 * java/util/MissingResourceException.java: Likewise.
9983 * java/util/Observer.java: Likewise.
9984 * java/util/TooManyListenersException.java: Likewise.
9985 * java/util/zip/DataFormatException.java: Likewise.
9986 * java/util/zip/ZipException.java: Likewise.
9987
9988 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9989
9990 * java/rmi/AccessException.java: Remerge from Classpath.
9991 * java/rmi/AlreadyBoundException.java: Ditto.
9992 * java/rmi/ConnectException.java: Ditto.
9993 * java/rmi/ConnectIOException.java: Ditto.
9994 * java/rmi/MarshalException.java: Ditto.
9995 * java/rmi/NoSuchObjectException.java: Ditto.
9996 * java/rmi/NotBoundException.java: Ditto.
9997 * java/rmi/RemoteException.java: Ditto.
9998 * java/rmi/RMISecurityException.java: Ditto.
9999 * java/rmi/ServerError.java: Ditto.
10000 * java/rmi/ServerException.java: Ditto.
10001 * java/rmi/ServerRuntimeException.java: Ditto.
10002 * java/rmi/StubNotFoundException.java: Ditto.
10003 * java/rmi/UnexpectedExcpetion.java: Ditto.
10004 * java/rmi/UnknownHostException.java: Ditto.
10005 * java/rmi/UnmarshalException.java: Ditto.
10006
10007 2002-06-15 Tom Tromey <tromey@redhat.com>
10008
10009 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
10010 * java/lang/ArithmeticException.java: Likewise.
10011 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
10012 * java/lang/ArrayStoreException.java: Likewise.
10013 * java/lang/Byte.java: Likewise.
10014 * java/lang/CharSequence.java: Likewise.
10015 * java/lang/ClassCastException.java: Likewise.
10016 * java/lang/ClassCircularityError.java: Likewise.
10017 * java/lang/ClassFormatError.java: Likewise.
10018 * java/lang/CloneNotSupportedException.java: Likewise.
10019 * java/lang/Cloneable.java: Likewise.
10020 * java/lang/Comparable.java: Likewise.
10021 * java/lang/Compiler.java: Likewise.
10022 * java/lang/Error.java: Likewise.
10023 * java/lang/ExceptionInInitializerError.java: Likewise.
10024 * java/lang/IllegalAccessError.java: Likewise.
10025 * java/lang/IllegalAccessException.java: Likewise.
10026 * java/lang/IllegalArgumentException.java: Likewise.
10027 * java/lang/IllegalMonitorStateException.java: Likewise.
10028 * java/lang/IllegalStateException.java: Likewise.
10029 * java/lang/IllegalThreadStateException.java: Likewise.
10030 * java/lang/IncompatibleClassChangeError.java: Likewise.
10031 * java/lang/IndexOutOfBoundsException.java: Likewise.
10032 * java/lang/InheritableThreadLocal.java: Likewise.
10033 * java/lang/InstantiationError.java: Likewise.
10034 * java/lang/InstantiationException.java: Likewise.
10035 * java/lang/InternalError.java: Likewise.
10036 * java/lang/InterruptedException.java: Likewise.
10037 * java/lang/LinkageError.java: Likewise.
10038 * java/lang/NegativeArraySizeException.java: Likewise.
10039 * java/lang/NoClassDefFoundError.java: Likewise.
10040 * java/lang/NoSuchFieldError.java: Likewise.
10041 * java/lang/NoSuchFieldException.java: Likewise.
10042 * java/lang/NoSuchMethodError.java: Likewise.
10043 * java/lang/NoSuchMethodException.java: Likewise.
10044 * java/lang/NullPointerException.java: Likewise.
10045 * java/lang/NumberFormatException.java: Likewise.
10046 * java/lang/OutOfMemoryError.java: Likewise.
10047 * java/lang/Process.java: Likewise.
10048 * java/lang/Runnable.java: Likewise.
10049 * java/lang/RuntimePermission.java: Likewise.
10050 * java/lang/SecurityException.java: Likewise.
10051 * java/lang/Short.java: Likewise.
10052 * java/lang/StackOverflowError.java: Likewise.
10053 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
10054 * java/lang/ThreadDeath.java: Likewise.
10055 * java/lang/ThreadLocal.java: Likewise.
10056 * java/lang/UnknownError.java: Likewise.
10057 * java/lang/UnsatisfiedLinkError.java: Likewise.
10058 * java/lang/UnsupportedClassVersionError.java: Likewise.
10059 * java/lang/UnsupportedOperationException.java: Likewise.
10060 * java/lang/VerifyError.java: Likewise.
10061 * java/lang/VirtualMachineError.java: Likewise.
10062 * java/lang/reflect/InvocationTargetException.java: Likewise.
10063 * java/net/BindException.java: Likewise.
10064 * java/net/ConnectException.java: Likewise.
10065 * java/net/MalformedURLException.java: Likewise.
10066 * java/net/NoRouteToHostException.java: Likewise.
10067 * java/net/ProtocolException.java: Likewise.
10068 * java/net/SocketException.java: Likewise.
10069 * java/net/UnknownHostException.java: Likewise.
10070 * java/net/UnknownServiceException.java: Likewise.
10071
10072 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
10073 * java/io/CharConversionException.java: Likewise.
10074 * java/io/EOFException.java: Likewise.
10075 * java/io/FileNotFoundException.java: Likewise.
10076 * java/io/IOException.java: Likewise.
10077 * java/io/InterruptedIOException.java: Likewise.
10078 * java/io/InvalidClassException.java: Likewise.
10079 * java/io/InvalidObjectException.java: Likewise.
10080 * java/io/NotActiveException.java: Likewise.
10081 * java/io/NotSerializableException.java: Likewise.
10082 * java/io/ObjectStreamException.java: Likewise.
10083 * java/io/ObjectStreamConstants.java: Likewise.
10084 * java/io/OptionalDataException.java: Likewise.
10085 * java/io/PipedInputStream.java: Likewise.
10086 * java/io/PushbackInputStream.java: Likewise.
10087 * java/io/StreamCorruptedException.java: Likewise.
10088 * java/io/SyncFailedException.java: Likewise.
10089 * java/io/UTFDataFormatException.java: Likewise.
10090 * java/io/UnsupportedEncodingException.java: Likewise.
10091 * java/io/WriteAbortedException.java: Likewise.
10092
10093 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
10094
10095 * java/text/ChoiceFormat.java: Update comments from Classpath.
10096 * java/text/ParseException.java (serialVersionUID): New
10097 field from Classpath.
10098 * java/text/ParseException.java: Update formatting & comments
10099 from Classpath.
10100
10101 2002-06-15 Tom Tromey <tromey@redhat.com>
10102
10103 * java/util/zip/InflaterInputStream.java (read): Loop if data has
10104 been read but none output by inflater.
10105 * java/util/zip/natDeflater.cc (reset): Set is_finished.
10106 * java/util/zip/natInflater.cc (reset): Set dist_needed and
10107 is_finished.
10108 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
10109 version.
10110 * java/util/zip/ZipFile.java: Replaced with Classpath version.
10111 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
10112 * java/util/zip/ZipInputStream.java: Replaced with Classpath
10113 version.
10114 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
10115
10116 2002-06-13 Tom Tromey <tromey@redhat.com>
10117
10118 * java/lang/natString.cc (init): Handle case where DONT_COPY is
10119 true and OFFSET!=0.
10120 * java/lang/String.java (String(char[],int,int,boolean): New
10121 constructor.
10122 * java/lang/Long.java: Imported new version from Classpath.
10123 * java/lang/Number.java: Likewise.
10124 * java/lang/Integer.java: Likewise.
10125 * java/lang/Long.java: Likewise.
10126 * java/lang/Float.java: Likewise.
10127 * java/lang/Boolean.java: Likewise.
10128 * java/lang/Double.java: Likewise.
10129 * java/lang/Void.java: Likewise.
10130
10131 2002-06-12 Tom Tromey <tromey@redhat.com>
10132
10133 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
10134 Fixes PR libgcj/6652.
10135
10136 2002-06-10 Tom Tromey <tromey@redhat.com>
10137
10138 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
10139 (Class::getPackagePortion): Likewise.
10140 * java/lang/Class.java (desiredAssertionStatus): New method from
10141 Classpath.
10142 (getPackagePortion): Likewise.
10143 * java/lang/VMClassLoader.java (defaultAssertionStatus,
10144 packageAssertionStatus, classAssertionStatus): New methods from
10145 Classpath.
10146 * java/lang/ClassLoader.java (defaultAssertionStatus,
10147 systemPackageAssertionStatus, packageAssertionStatus,
10148 systemClassAssertionStatus, classAssertionStatus): New fields from
10149 Classpath.
10150 (setDefaultAssertionStatus, setPackageAssertionStatus,
10151 setClassAssertionStatus, clearAssertionStatus): New methods from
10152 Classpath.
10153 * Makefile.in: Rebuilt.
10154 * Makefile.am (core_java_source_files): Added AssertionError.java.
10155 * java/lang/AssertionError.java: New from Classpath.
10156
10157 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10158
10159 * configure.host: Disable hash synchronization and slow_pthread_self
10160 for cygwin.
10161
10162 2002-06-06 Adam Megacz <adam@xwt.org>
10163
10164 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
10165 locking, just like the Sun JVM does.
10166
10167 2002-06-05 H.J. Lu (hjl@gnu.org)
10168
10169 * Makefile.am (libgcj_convenience.la): Revert the last change.
10170 (libgcj.la): Likewise.
10171 * Makefile.in: Regenerated.
10172
10173 2002-06-04 H.J. Lu (hjl@gnu.org)
10174
10175 * Makefile.am (libgcj_convenience.la): New target.
10176 (libgcj.la): Depend on libgcj_convenience.la.
10177 * Makefile.in: Regenerated.
10178
10179 2002-06-04 H.J. Lu (hjl@gnu.org)
10180
10181 * configure.in (--with-newlib): New option:
10182 Check ${with_newlib} instead of ${with_cross_host} for newlib.
10183 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
10184 Linux.
10185 * configure: Regenerated.
10186
10187 2002-06-04 Tom Tromey <tromey@redhat.com>
10188
10189 * java/util/natTimeZone.cc: Include <stdio.h>.
10190
10191 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
10192
10193 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
10194 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
10195 Set SIGNAL_HANDLER=include/s390-linux.h.
10196 * configure: Regenerate.
10197 * include/s390-linux.h: New file.
10198
10199 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10200
10201 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
10202 not "stackTrace".
10203
10204 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10205
10206 Merge JDK 1.4 java.security changes from classpath.
10207
10208 * java/security/AccessControlException.java: Merge from Classpath.
10209 * java/security/AccessController.java: Likewise.
10210 * java/security/AllPermission.java: Likewise.
10211 * java/security/BasicPermission.java: Likewise.
10212 * java/security/Certificate.java: Likewise.
10213 * java/security/CodeSource.java: Likewise.
10214 * java/security/DigestException.java: Likewise.
10215 * java/security/DigestOutputStream.java: Likewise.
10216 * java/security/DomainCombiner.java: Likewise.
10217 * java/security/GeneralSecurityException.java: Likewise.
10218 * java/security/Guard.java: Likewise.
10219 * java/security/GuardedObject.java: Likewise.
10220 * java/security/InvalidAlgorithmParameterException.java: Likewise.
10221 * java/security/InvalidKeyException.java: Likewise.
10222 * java/security/InvalidParameterException.java: Likewise.
10223 * java/security/Key.java: Likewise.
10224 * java/security/KeyException.java: Likewise.
10225 * java/security/KeyManagementException.java: Likewise.
10226 * java/security/KeyStoreException.java: Likewise.
10227 * java/security/MessageDigest.java: Likewise.
10228 * java/security/NoSuchAlgorithmException.java: Likewise.
10229 * java/security/NoSuchProviderException.java: Likewise.
10230 * java/security/Permission.java: Likewise.
10231 * java/security/PermissionCollection.java: Likewise.
10232 * java/security/Permissions.java: Likewise.
10233 * java/security/Policy.java: Likewise.
10234 * java/security/Principal.java: Likewise.
10235 * java/security/PrivateKey.java: Likewise.
10236 * java/security/PrivilegedAction.java: Likewise.
10237 * java/security/PrivilegedActionException.java: Likewise.
10238 * java/security/PrivilegedExceptionAction.java: Likewise.
10239 * java/security/ProtectionDomain.java: Likewise.
10240 * java/security/ProviderException.java: Likewise.
10241 * java/security/PublicKey.java: Likewise.
10242 * java/security/SecureClassLoader.java: Likewise.
10243 * java/security/SecurityPermission.java: Likewise.
10244 * java/security/SignatureException.java: Likewise.
10245 * java/security/UnrecoverableKeyException.java: Likewise.
10246 * java/security/UnresolvedPermission.java: Likewise.
10247 * java/security/acl/AclNotFoundException.java: Likewise.
10248 * java/security/acl/LastOwnerException.java: Likewise.
10249 * java/security/acl/NotOwnerException.java: Likewise.
10250 * java/security/cert/CRLException.java: Likewise.
10251 * java/security/cert/CertificateEncodingException.java: Likewise.
10252 * java/security/cert/CertificateException.java: Likewise.
10253 * java/security/cert/CertificateExpiredException.java: Likewise.
10254 * java/security/cert/CertificateFactory.java: Likewise.
10255 * java/security/cert/CertificateNotYetValidException.java: Likewise.
10256 * java/security/cert/CertificateParsingException.java: Likewise.
10257 * java/security/spec/InvalidKeySpecException.java: Likewise.
10258 * java/security/spec/InvalidParameterSpecException.java: Likewise.
10259
10260 * java/security/cert/CertPath.java: New file.
10261 * java/security/cert/CertPathBuilderException.java: New file.
10262 * java/security/cert/CertPathValidatorException.java: New file.
10263 * java/security/cert/CertStoreException.java: New file.
10264
10265 * Makefile.am: Add new CertPath classes.
10266 * Makefile.in: Rebuilt.
10267
10268 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
10269
10270 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10271
10272 Merge JDK 1.4 exception chaining support from classpath.
10273
10274 * java/lang/Throwable.java: Merge 1.4 support from classpath.
10275 (stackTraceBytes): Rename from stackTrace.
10276 * java/lang/Exception.java: Merge from classpath.
10277 * java/lang/StackTraceElement: New file from classpath.
10278 * gcj/javaprims.h: Rebuild CNI namespace declarations.
10279 * Makefile.am: Add StackTraceElement.
10280 * Makefile.in: Rebuilt.
10281
10282 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10283
10284 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
10285 they build first.
10286 * Makefile.in: Rebuilt.
10287
10288 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10289
10290 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
10291 * configure.in: Likewise.
10292 * aclocal.m4: Regenerate.
10293 * configure: Regenerate.
10294
10295 2002-05-13 Tom Tromey <tromey@redhat.com>
10296
10297 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
10298 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
10299 Include platform.h.
10300
10301 Fixes PR libgcj/6389:
10302 * Makefile.in: Rebuilt.
10303 * Makefile.am (nat_source_files): Added natTimeZone.cc.
10304 * java/util/natTimeZone.cc: New file.
10305 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
10306 * java/lang/System.java: Merged with Classpath.
10307 * java/lang/Runtime.java: Merged with Classpath.
10308 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
10309 security check.
10310 (setIn0): Renamed from setIn; don't run security check.
10311 (setOut0): Renamed from setOut; don't run security check.
10312 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
10313 init_properties): Moved to natRuntime.cc.
10314 Moved many includes to natRuntime.cc.
10315 (isWordsBigEndian): New method.
10316 * java/lang/natRuntime.cc: Include Long.h, also other includes
10317 previously in natSystem.cc.
10318 (maxMemory): New function.
10319 (exitInternal): Renamed from `_exit'.
10320 (exit): Removed.
10321 (init): Don't set finalize_on_exit.
10322 (exitInternal): Use `finalizeOnExit'.
10323 (file_encoding, getpwuid_adaptor): New functions from
10324 natSystem.cc.
10325 (insertSystemProperties): New method, renamed from
10326 System::init_properties. Don't set user.timezone.
10327 (_load): Don't call checkLink.
10328 (execInternal): New method.
10329 (availableProcessors): Likewise.
10330 (nativeGetLibname): Likewise.
10331
10332 2002-05-11 Mark Wielaard <mark@klomp.org>
10333
10334 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
10335 space characters.
10336 (previous_internal): Likewise.
10337
10338 2002-05-09 Tom Tromey <tromey@redhat.com>
10339
10340 * jni.cc (_Jv_JNIFunctions): Fixed typo.
10341
10342 * java/util/ResourceBundle.java: New version from Classpath.
10343 * java/util/Locale.java: Likewise.
10344
10345 2002-05-09 Jakub Jelinek <jakub@redhat.com>
10346
10347 * testsuite/lib/libjava.exp (libjava_arguments): Append all
10348 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
10349 LD_LIBRARY_PATH.
10350
10351 2002-05-08 Mark Mitchell <mark@codesourcery.com>
10352
10353 * libjava/Makefile.am (all_java_source_files): New variable.
10354 (all_java_class_files): Likewise.
10355 .java.class: New rule.
10356 (CLEANFILES): Remove tmp-list.
10357 * libjava/Makefile.in: Regenerated.
10358
10359 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
10360
10361 * testsuite/lib/libjava.exp (test_libjava_from_javac):
10362 Append .exe to executable names. Fix for cygwin.
10363
10364 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
10365
10366 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
10367 script entry, and set LD to it when configuring multilibs.
10368 * configure: Rebuilt.
10369
10370 2002-05-07 Tom Tromey <tromey@redhat.com>
10371
10372 * java/lang/natString.cc (unintern): Fixed typo.
10373
10374 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10375
10376 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
10377 with -no-install on *-*-cygwin*.
10378
10379 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
10380
10381 * testsuite/lib/libjava.exp (test_libjava_from_source):
10382 Add comment explaining last patch
10383
10384 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
10385
10386 * testsuite/lib/libjava.exp (test_libjava_from_source):
10387 Append .exe to executable names. If no suffix is present,
10388 then ".exe" is added by default on win32. Harmless
10389 elsewhere so always do it.
10390
10391 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
10392 Tom Tromey <tromey@redhat.com>
10393
10394 * java/lang/natSystem.cc (getSystemTimeZone): Use
10395 HAVE_UNDERSCORE_TIMEZONE.
10396 * include/config.h.in: Rebuilt.
10397 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
10398 * aclocal.m4, configure: Rebuilt.
10399 * acinclude.m4: Run AC_EXEEXT.
10400 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
10401 Add test for `_timezone'.
10402
10403 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
10404
10405 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10406 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
10407 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10408 * Makefile.in: Rebuilt.
10409
10410 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
10411
10412 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
10413 use sigaction instead of __libc_sigaction.
10414
10415 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10416
10417 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
10418 (libjava_init): Use it to find libgcj.spec.
10419 (libjava_arguments): Likewise.
10420
10421 2002-05-02 David S. Miller <davem@redhat.com>
10422
10423 PR bootstrap/6525
10424 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
10425 __libc_sigaction on Sparc.
10426
10427 2002-05-02 Jerome Marc <marcjero@yahoo.com>
10428
10429 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
10430 sys/filio.h, if present.
10431
10432 2002-04-30 Tom Tromey <tromey@redhat.com>
10433
10434 * java/io/BufferedReader.java (fill): Handle case where markPos
10435 point to ignored \n. Fixes PR libgcj/6301.
10436
10437 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
10438
10439 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
10440
10441 2002-04-29 Adam King <aking@dreammechanics.com>
10442
10443 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
10444 of file in APPEND mode.
10445
10446 2002-04-25 David S. Miller <davem@redhat.com>
10447
10448 PR target/6422
10449 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10450 program counter to next program counter minus 8. Update
10451 comments in this macro to explain why.
10452
10453 2002-04-26 Tom Tromey <tromey@redhat.com>
10454
10455 * verify.cc (construct_primitive_array_type) [void_type]: New
10456 case.
10457 (branch_prepass): Added dummy entries for unused instruction
10458 values.
10459 (verify_instructions_0): Likewise.
10460 * interpret.cc (continue1): Comment fix.
10461 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10462 * Makefile.in: Rebuilt.
10463 * Makefile.am: Added -Wswitch-enum.
10464
10465 2002-04-24 Tom Tromey <tromey@redhat.com>
10466
10467 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10468 correct length of UTF-8 encoded name. Strip leading `/'.
10469 (_Jv_RegisterResource): Use _Jv_Malloc.
10470
10471 2002-04-23 Adam Megacz <adam@xwt.org>
10472
10473 * win32.cc, include/win32.cc (backtrace): Added this function
10474 because Win32 does not supply it.
10475
10476 2002-04-21 David S. Miller <davem@redhat.com>
10477
10478 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10479 magic instruction reading sequence.
10480
10481 2002-04-21 Mark Wielaard <mark@klomp.org>
10482
10483 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10484
10485 2002-04-19 David S. Miller <davem@redhat.com>
10486
10487 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10488 arg.
10489 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10490 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10491 on Sparc too.
10492 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10493 for 64-bit sparc.
10494 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10495 * sysdeps/sparc/locks.h: New file.
10496 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10497 on all sparc Solaris configurations. Set to
10498 include/dwarf2-signal.h on sparc Linux.
10499 * configure: Regenerate
10500 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10501
10502 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10503
10504 * configure: Rebuilt.
10505 * configure.in (backtrace): Function doesn't work on IA-64.
10506
10507 2002-04-17 Adam King <aking@dreammechanics.com>
10508
10509 * java/io/File.java (normalizePath): Add Win32 support for auto
10510 conversion of a '/' path separator to Win32's '\' separator.
10511
10512 2002-04-16 Tom Tromey <tromey@redhat.com>
10513
10514 Fix for PR libgcj/6081:
10515 * Makefile.in: Rebuilt.
10516 * Makefile.am (install-data-local): Use GNU make trick to avoid
10517 shell limit.
10518
10519 2002-04-16 Adam King <aking@dreammechanics.com>
10520 Tom Tromey <tromey@redhat.com>
10521
10522 * java/io/natFileWin32.cc (performList): Return the correct array
10523 type. Don't duplicate the creation of a File since it's already
10524 done earlier in the method and the existing code would cause a
10525 ArrayStoreException. Don't use fixed-size array.
10526 (_access, _stat, attr, getCanonicalPath, performMkdir,
10527 performRenameTo): Don't use fixed-size array.
10528 (getCanonicalPath): Use throw, not _Jv_Throw.
10529
10530 2002-04-15 DJ Delorie <dj@redhat.com>
10531
10532 * configure.in: Allow building in $srcdir.
10533 * configure: Regenerated.
10534
10535 2002-04-14 Mark Wielaard <mark@klomp.org>
10536
10537 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10538 * java/net/natSocketImpl.cc (close): Likewise.
10539
10540 2002-04-14 Mark Wielaard <mark@klomp.org>
10541
10542 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10543
10544 2002-04-13 Adam King <aking@dreammechanics.com>
10545
10546 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10547 the f/F/d/D modifiers.
10548
10549 2002-04-12 Anthony Green <green@redhat.com>
10550
10551 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10552 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10553 * Makefile.in: Rebuilt.
10554 * configure.in: Substitute gcc_version.
10555 * configure: Rebuilt.
10556
10557 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10558
10559 * configure.host: Set can_unwind_signal on hosts which support it.
10560 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10561 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10562 exceptions and can_unwind_signal isn't set.
10563 * configure: Rebuilt.
10564
10565 2002-04-11 Tom Tromey <tromey@redhat.com>
10566
10567 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10568
10569 2002-04-11 Adam King <aking@dreammechanics.com>
10570 Tom Tromey <tromey@redhat.com>
10571
10572 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10573 _Jv_ThrowNullPointerException): Mark as noreturn.
10574 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10575 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10576 fixes.
10577
10578 2002-04-10 Tom Tromey <tromey@redhat.com>
10579
10580 * Makefile.in: Rebuilt.
10581 * Makefile.am (java/lang/Thread.h): Mark
10582 _Jv_AttachCurrentThreadAsDaemon as friend.
10583 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10584 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10585 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10586 function.
10587 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10588 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10589 (_Jv_JNI_InvokeFunctions): Added
10590 _Jv_JNI_AttachCurrentThreadAsDaemon.
10591 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10592 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10593 (JNI_CreateJavaVM): Likewise.
10594 (_Jv_JNI_AttachCurrentThread): Likewise.
10595 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10596 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10597 (_Jv_JNIFunctions): Initialize new fields.
10598 (_Jv_JNI_NewDirectByteBuffer): New function.
10599 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10600 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10601 * include/jni.h (JNI_VERSION_1_4): New macro.
10602 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10603 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10604 (JNINativeInterface::NewDirectByteBuffer): New field.
10605 (JNINativeInterface::GetDirectBufferAddress): New field.
10606 (JNINativeInterface::GetDirectBufferCapacity): New field.
10607 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10608 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10609 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10610
10611 2002-04-09 Tom Tromey <tromey@redhat.com>
10612
10613 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10614
10615 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10616
10617 Fix for PR libgcj/6187:
10618 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10619 distance.
10620
10621 2002-04-07 Mark Wielaard <mark@klomp.org>
10622
10623 * java/util/AbstractMap.java (putAll): Use entrySet size.
10624 (toString): Explicitly use getKey() and getValue().
10625
10626 2002-04-07 Mark Wielaard <mark@klomp.org>
10627
10628 * java/util/Hashtable.java (contains): Remove NullPointer check.
10629 (containsValue): Add NullPointer check.
10630 (remove): Always throw NullPointerException when key
10631 is null.
10632
10633 2002-04-07 Adam King <aking@dreammechanics.com>
10634
10635 * java/lang/natSystem.cc (init_properties): Call new function
10636 _Jv_platform_initProperties.
10637 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10638 support for the System properties os.name, os.arch, os.version,
10639 user.name, user.home, and user.dir.
10640 * include/posix.h, include/win32.h, posix.cc: New function
10641 _Jv_platform_initProperties.
10642
10643 2002-04-06 Mark Wielaard <mark@klomp.org>
10644
10645 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10646
10647 2002-04-06 Mark Wielaard <mark@klomp.org>
10648
10649 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10650 all of the remaining elements.
10651 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10652 (removeRange): If toIndex == fromIndex do
10653 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10654 (removeAll): Always throw NullPointerException when collection is
10655 null.
10656 (retrainAll): Likewise.
10657
10658 2002-04-05 Mark Wielaard <mark@klomp.org>
10659
10660 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10661 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10662
10663 2002-04-05 Adam Megacz <adam@xwt.org>
10664
10665 * exception.cc (abort): added static modifier
10666
10667 2002-04-04 Adam Megacz <adam@xwt.org>
10668
10669 * include/win32.h (_Jv_platform_close_on_exec): added inline
10670 modifier.
10671
10672 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10673
10674 * configure.host: Add case statement to support generic port
10675 properties. Add *-*-freebsd* section.
10676
10677 2002-04-04 Mark Wielaard <mark@klomp.org>
10678
10679 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10680 test.
10681 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10682 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10683 that depend on awt code and BufferedByteOutputStream.interrupt.
10684
10685 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10686
10687 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10688 incorrect "hi" value when count > 40.
10689
10690 2002-04-03 Mark Wielaard <mark@klomp.org>
10691
10692 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10693 ordering.
10694
10695 2002-04-02 Tom Tromey <tromey@redhat.com>
10696
10697 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10698 not `0'.
10699
10700 2002-04-02 Mark Wielaard <mark@klomp.org>
10701
10702 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10703 list of testsuite crashers.
10704
10705 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10706
10707 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10708 when resizing table.
10709
10710 2002-04-01 Mark Wielaard <mark@klomp.org>
10711
10712 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10713 NegativeArraySizeException
10714 (clear(int)): Use sign extended shift.
10715 (flip(int)): Likewise.
10716 (get(int)): Likewise.
10717 (nextClearBit(int)): Likewise.
10718 (nextSetBit(int)): Likewise.
10719 (set(int)): Likewise.
10720
10721 2002-04-01 Mark Wielaard <mark@klomp.org>
10722
10723 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10724 that can be compiled now and add testsuite crashers to ignore list.
10725
10726 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10727
10728 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10729
10730 * libgcj.spec.in: Override libgcc, not lib.
10731 * libgcj-test.spec.in: Likewise.
10732
10733 2002-03-29 Tom Tromey <tromey@redhat.com>
10734
10735 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10736 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10737
10738 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10739
10740 * java/net/PlainDatagramSocketImpl.java
10741 (close): Use native implementation.
10742 (finalize): New method.
10743
10744 * java/net/PlainSocketImpl.java (finalize): New method.
10745
10746 * java/net/natPlainDatagramSocketImpl.cc
10747 (java/io/FileDescriptor.h): Don't include.
10748 (close): Implement method here.
10749 (create): Don't assign fd.
10750
10751 * java/net/natPlainSocketImpl.cc
10752 (java/io/FileDescriptor.h): Don't include.
10753 (create): Don't assign fd.
10754 (accept): Likewise.
10755 (close): Synchronize.
10756
10757 2002-03-27 Richard Henderson <rth@redhat.com>
10758
10759 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10760
10761 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10762
10763 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10764 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10765 instead of syscall on IA-64.
10766 Add FIXME comment.
10767
10768 2002-03-27 Anthony Green <green@redhat.com>
10769
10770 * libgcj.spec.in: Add CHECKREFSPEC.
10771 * configure.in: Ditto.
10772 * configure.host: Ditto. Check references for xscale-elf.
10773 * configure: Rebuilt.
10774
10775 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10776
10777 * include/dwarf2-signal.h: Temporarily back out last change.
10778
10779 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10780
10781 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10782
10783 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10784
10785 * configure.in, configure: enable dwarf2-exception-style
10786 exception handling on IA-64.
10787 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10788 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10789 Add FIXME comment.
10790
10791 2002-03-25 Tom Tromey <tromey@redhat.com>
10792
10793 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10794 (jv_convert_LDFLAGS): Likewise.
10795 (gij_LDFLAGS): Likewise.
10796 (rmic_LDFLAGS): Likewise.
10797 (rmiregistry_LDFLAGS): Likewise.
10798 * configure.in (THREADLDFLAGS): New subst; set correctly for
10799 *BSD.
10800
10801 2002-03-25 Tom Tromey <tromey@redhat.com>
10802
10803 For PR libgcj/5303:
10804 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10805 and --version.
10806 (help): New method.
10807 (version): Likewise.
10808 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10809 "GNU".
10810 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10811 "GNU".
10812
10813 2002-03-25 Tom Tromey <tromey@redhat.com>
10814
10815 * java/awt/Component.java (processEvent): Check ComponentEvent
10816 after KeyEvent.
10817
10818 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10819
10820 * java/io/PushbackReader.java: Reformat.
10821
10822 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10823 calculate correct number of bytes skipped.
10824
10825 Based on patch from Intel's ORP team:
10826 * java/io/PushbackInputStream.java (available): Calculate correct
10827 number of bytes in buffer.
10828 (read): Remove redundant bound check. Return bytes from both the
10829 buffer and the stream.
10830
10831 2002-03-24 Tom Tromey <tromey@redhat.com>
10832
10833 * java/awt/TextComponent.java (TextComponent): Editable by
10834 default.
10835
10836 * java/awt/MenuItem.java (eventMask): No longer private.
10837 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10838 superclass if we didn't handle event.
10839 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10840 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10841 * java/awt/Choice.java (dispatchEventImpl): New method.
10842 * java/awt/List.java (dispatchEventImpl): New method.
10843 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10844 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10845 * java/awt/TextField.java (dispatchEventImpl): New method.
10846
10847 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10848
10849 * java/beans/IntrospectionException.java: Update to 1.4.
10850 * java/beans/PropertyVetoException.java: Ditto.
10851
10852 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10853
10854 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10855 Arrays.equals instead of ArrayHelper.equalsArray.
10856
10857 2002-03-24 C. Brian Jones <cbj@gnu.org>
10858
10859 * java/beans/Introspector.java: added new static final fields
10860 introduced in 1.2, lots of other updates remain to be done
10861
10862 2002-03-24 C. Brian Jones <cbj@gnu.org>
10863
10864 * java/beans/Introspector.java: reformatting
10865
10866 2002-03-24 C. Brian Jones <cbj@gnu.org>
10867
10868 * java/beans/Introspector.java: default beanInfoSearchPath will
10869 not include sun.beans.infos given we provide no such package and
10870 the API doesn't really require it; gnu.java.beans.info is the
10871 default.
10872
10873 2002-03-24 Mark Wielaard <mark@klomp.org>
10874
10875 Thanks to Orp developers
10876 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10877 switch TRUE and FALSE return values.
10878
10879 2002-03-23 Tom Tromey <tromey@redhat.com>
10880
10881 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10882 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10883
10884 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10885
10886 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10887 MONTH entry. Fixes PR libgcj/6045.
10888
10889 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10890
10891 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10892
10893 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10894
10895 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10896 not release_set.
10897 * sysdep/powerpc/locks.h (write_barrier): New function.
10898 * sysdep/i386/locks.h (write_barrier): New function.
10899
10900 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10901
10902 * include/jni.h Use correct C comments.
10903
10904 2002-03-18 Tom Tromey <tromey@redhat.com>
10905
10906 * include/jni.h (JNIIMPORT): New macro.
10907 (JNIEXPORT): Likewise.
10908 (JNICALL): Likewise.
10909
10910 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10911
10912 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10913 systems.
10914
10915 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10916
10917 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10918 INIT_SEGV: Use old_i386_kernel_sigaction.
10919 INIT_FP: Likewise.
10920
10921 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10922
10923 * java/lang/natSystem.cc (init_properties): Update VM version
10924 properties.
10925 * configure.in: Set GCJVERSION.
10926 * acconfig.h: Add GCJVERSION.
10927 * configure: Rebuilt.
10928 * include/config.h.in: Rebuilt.
10929
10930 2002-03-17 Anthony Green <green@redhat.com>
10931
10932 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10933
10934 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10935
10936 Build a single libgcj.so, without separate gc and zlib libraries.
10937 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10938 SYS_ZLIBS if system zlib is used.
10939 * configure: Rebuilt.
10940 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10941 * Makefile.in: Rebuilt.
10942 * libtool-version: Increment .so version number.
10943
10944 * Makefile.am: Escape quotes in echo.
10945 * Makefile.in: Rebuilt.
10946
10947 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10948
10949 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10950 * Makefile.in: Rebuilt.
10951
10952 2002-03-15 Anthony Green <green@redhat.com>
10953
10954 * configure.host (FILE): New macro for specifing File
10955 implementation.
10956 * configure: Rebuilt.
10957 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10958
10959 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10960
10961 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10962 already implicitly brought in from libgcj.la.
10963 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10964 * Makefile.in: Rebuilt.
10965
10966 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10967
10968 * THANKS: Fix punctuation, alphabetization.
10969
10970 2002-03-15 Tom Tromey <tromey@redhat.com>
10971 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10972
10973 Fix for PR libgcj/5944.
10974 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10975
10976 2002-03-15 Anthony Green <green@redhat.com>
10977
10978 * configure.in (tool_include_dir): Define.
10979 * configure: Rebuilt.
10980 * gcj/Makefile.am: Install libgcj-config.h relative to
10981 tool_include_dir.
10982 * gcj/Makefile: Rebuilt.
10983 * gcj/libgcj-config.h: Add warning comment.
10984
10985 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10986
10987 * configure.host (powerpc*-darwin*): Enable interpreter.
10988
10989 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10990
10991 * include/posix.h: Add multiple include header protection.
10992 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10993
10994 2002-03-10 Adam Megacz <adam@xwt.org>
10995
10996 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10997
10998 2002-03-10 Tom Tromey <tromey@redhat.com>
10999
11000 * java/awt/GridLayout.java (layoutContainer): Handle case where
11001 there are no items in container.
11002
11003 * java/lang/Win32Process.java: Added comment.
11004 * include/posix.h (_Jv_platform_close_on_exec): New function.
11005 Include fcntl.h.
11006 * include/win32.h (_Jv_platform_close_on_exec): New function.
11007 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
11008 flag.
11009 (accept): Likewise.
11010 * java/net/natPlainDatagramSocketImpl.cc (create): Set
11011 close-on-exec flag.
11012 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
11013 flag.
11014
11015 2002-03-09 Tom Tromey <tromey@redhat.com>
11016
11017 * verify.cc (state::NO_STACK): New constant.
11018 (state::is_unmerged_ret_state): Handle case where stacktop is
11019 NO_STACK.
11020 (state::merge): Handle NO_STACK merges.
11021 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
11022 for instruction following jsr.
11023 (stacktop, stackdepth): Removed unused variables.
11024 (pop_jump): Ignore case where all remaining states are skipped.
11025
11026 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11027
11028 * java/awt/ImageMediaEntry: Removed.
11029 * java/awt/MediaEntry: Removed.
11030
11031 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11032
11033 Hashtable synchronization for PowerPC.
11034 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
11035 slow_pthread_self. Set up symlink for sysdeps directory.
11036 * configure: Rebuild.
11037 * configure.host: Document more shell variables. Set sysdeps_dir
11038 for most platforms. Set slow_pthread_self for i686. Set
11039 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
11040 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
11041 that memory barrier is emitted where required.
11042 * prims.cc: 64-bit align static primitive class instances.
11043 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
11044 read_barrier() to enforce ordering of reads.
11045 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
11046 primitives for PowerPC.
11047 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
11048 moved from natObject.cc.
11049 * sysdep/alpha/locks.h: Likewise.
11050 * sysdep/ia64/locks.h: Likewise.
11051 * sysdep/generic/locks.h: Likewise.
11052 * java/lang/natObject.cc: Move thread synchronization primitives to
11053 system-dependent headers.
11054
11055 2002-03-09 Adam Megacz <adam@xwt.org>
11056
11057 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
11058 bytes read and no failure code returned.
11059
11060 2002-03-09 Adam Megacz <adam@xwt.org>
11061
11062 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
11063 definitions to simulate -mthreads.
11064
11065 2002-03-09 Adam Megacz <adam@xwt.org>
11066
11067 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
11068 avoid precision loss.
11069
11070 2002-03-09 Per Bothner <per@bothner.com>
11071
11072 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
11073 * gnu/gcj/xlib/XImage.java: Likewise.
11074 * gnu/gcj/xlib/XColor.java: Likewise.
11075
11076 2002-03-09 Adam Megacz <adam@xwt.org>
11077
11078 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
11079 IOException so that Throwable.printStackTrace fails correctly.
11080
11081 2002-03-08 Adam Megacz <adam@xwt.org>
11082
11083 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
11084 fixed.
11085
11086 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11087
11088 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
11089 truncated to int.
11090
11091 2002-03-08 Tom Tromey <tromey@redhat.com>
11092
11093 * include/jni.h: Include stdio.h.
11094
11095 2002-03-08 Tom Tromey <tromey@redhat.com>
11096
11097 * posix.cc (internal_gettimeofday): New function.
11098 (_Jv_select): Use it.
11099
11100 2002-03-07 Adam Megacz <adam@xwt.org>
11101
11102 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
11103 WIN32, and added thunks for read(), write(), and close().
11104 * java/net/natPlainSocketImpl.cc (accept, read, read):
11105 Disabled timeouts on WIN32 pending discussion.
11106
11107 2002-03-07 Adam Megacz <adam@xwt.org>
11108
11109 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
11110 returns jlong. Added implementation
11111 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
11112 returns jlong.
11113 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
11114 returns jlong.
11115 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
11116 returns jlong.
11117 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
11118 _Jv_platform_gettimeofday signature.
11119
11120 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11121
11122 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
11123 (read): Call recv() directly, not _Jv_recv().
11124
11125 2002-03-06 Tom Tromey <tromey@redhat.com>
11126
11127 * java/io/natFileDescriptorEcos.cc (init): Don't use
11128 GetStdHandle.
11129 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
11130 is negative.
11131 (init): Don't use GetStdHandle.
11132
11133 * include/config.h.in: Rebuilt.
11134 * configure: Rebuilt.
11135 * Makefile.in: Rebuilt.
11136
11137 2002-03-06 Adam Megacz <adam@xwt.org>
11138
11139 * java/io/FileDescriptor.java: Initialize in/out/err in init().
11140 * java/io/natFileDescriptorWin32.cc (init()): Added function.
11141 * java/io/natFileDescriptorPosix.cc (init()): Added function.
11142 * java/io/natFileDescriptorEcos.cc (init()): Added function.
11143
11144 2002-03-06 Eric Blake <ebb9@email.byu.edu>
11145
11146 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
11147 the code for generating include/java-chartables.h.
11148 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
11149 merge with Classpath.
11150 * scripts/unicode-muncher.pl: Copy from Classpath.
11151 * scritps/MakeCharTables.java: New file.
11152 * gnu/gcj/convert/Blocks-3.txt: New file.
11153 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
11154 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
11155 * gnu/java/lang/CharData.java: Copy from Classpath.
11156 * Makefile.am (ordinary_java_source_files): Add
11157 gnu/java/lang/CharData.java.
11158 * configure.in: Remove --enable-fast-character option.
11159 * java/lang/Character.java: Merge algorithms and Javadoc with
11160 Classpath.
11161 * java/lang/natCharacter.cc: Implement Unicode lookup table more
11162 efficiently.
11163 * include/java-chardecomp.h: Regenerate.
11164 * include/java-chartables.h: Regenerate.
11165
11166 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11167
11168 * java/awt/MediaTracker.java: Implemented.
11169 * Makefile.am: Add MediaTracker.
11170 * Makefile.in: Rebuilt.
11171
11172 2002-03-05 Tom Tromey <tromey@redhat.com>
11173
11174 * java/lang/natPosixProcess.cc (fail): Removed.
11175 (startProcess): Simplified error-handling. Preserve
11176 LD_LIBRARY_PATH across exec.
11177
11178 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
11179 AbstractMethodError.
11180
11181 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11182
11183 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
11184 * Makefile.in: Rebuilt.
11185
11186 2002-03-03 Mark Wielaard <mark@klomp.org>
11187
11188 * java/util/Timer (TaskQueue.stop): set elements to zero.
11189
11190 2002-02-28 Anthony Green <green@redhat.com>
11191
11192 * java/lang/reflect/natMethod.cc (result): Add void* element.
11193 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
11194 constructor test.
11195
11196 2002-02-27 Adam Megacz <adam@xwt.org>
11197
11198 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
11199 '#undef STRICT'.
11200
11201 2002-02-26 Tom Tromey <tromey@redhat.com>
11202
11203 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
11204 * gij.cc (version): Use __VERSION__.
11205 * include/config.h.in: Rebuilt.
11206 * acconfig.h (GCJVERSION): Removed.
11207 * configure: Rebuilt.
11208 * configure.in (GCJVERSION): Removed.
11209
11210 2002-02-26 Andreas Schwab <schwab@suse.de>
11211
11212 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
11213 glibcpp_CXX, since libjava uses even another CXX.
11214 * aclocal.m4, configure: Regenerated.
11215
11216 2002-02-26 Tom Tromey <tromey@redhat.com>
11217
11218 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
11219 `1'.
11220
11221 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11222
11223 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
11224 dependency tracking for .java files.
11225 * Makefile.in: Rebuilt.
11226
11227 2002-02-24 Adam Megacz <adam@xwt.org>
11228
11229 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
11230 typo. Sorry.
11231
11232 2002-02-24 Adam Megacz <adam@xwt.org>
11233
11234 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
11235 for Win32, changed #ifdefs to check WIN32 instead of the
11236 (now-obsolete) USE_WINSOCK, and removed support for socket
11237 timeouts on Win32 pending further discussion.
11238
11239 2002-02-24 Adam Megacz <adam@xwt.org>
11240
11241 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
11242 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
11243 delete
11244
11245 2002-02-24 Adam Megacz <adam@xwt.org>
11246
11247 * java/lang/Win32Process.java: Created a dummy class to allow
11248 build process to run to completion.
11249
11250 2002-02-24 Jeff Sturm <jsturm@one-point.com>
11251
11252 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
11253 Define ffi_result union for ffi_call result. Cast
11254 ffi_result members to jvalue.
11255
11256 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
11257
11258 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
11259 * testsuite/Makefile.in: Likewise.
11260
11261 2002-02-20 Per Bothner <per@bothner.com>
11262
11263 * java/net/URL.java (getPath): New JDK 1.3 method.
11264
11265 * java/net/URLStreamHandler.java (parseURL):
11266 It is wrong to prepend '/' to the file part of a relative url.
11267
11268 * java/net/URLStreamHandler.java (parseURL):
11269 Minor optizations - append '/' rather than "/".
11270
11271 * java/net/URLStreamHandler.java (parseURL):
11272 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
11273 We probably should canonicalize for a context-relative url, though.
11274 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
11275 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
11276 (sameFile): New method. Uses canonicalizeFilename.
11277
11278 2002-02-22 Tom Tromey <tromey@redhat.com>
11279
11280 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
11281 java.vendor and java.vm.vendor.
11282 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
11283 recent copyright date.
11284 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
11285 * gij.cc (version): Print `Inc'.
11286
11287 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11288
11289 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
11290 * aclocal.m4, configure: Rebuilt.
11291
11292 2002-02-20 Per Bothner <per@bothner.com>
11293
11294 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
11295 and/or output streams immediately here, instead of using File.exists.
11296 (inputStream, outputStream): New fields to save open streams.
11297 (getInputStream, getOutputStream): Use already-opened streams.
11298
11299 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
11300
11301 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
11302 Use it.
11303 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
11304 * aclocal.m4, configure, Makefile.in: Rebuilt.
11305
11306 2002-02-19 Tom Tromey <tromey@redhat.com>
11307
11308 Fix for PR libgcj/5696:
11309 * verify.cc (is_assignable_from_slow): Never call
11310 _Jv_IsAssignableFrom.
11311 (verify_instructions_0): Added new debug statement.
11312 (state::print): Print information about whether local has
11313 changed.
11314 (state::merge): Don't call note_variable when merging locals.
11315 (state::set_exception): Removed old FIXME comment.
11316
11317 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11318
11319 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
11320 enable SO_BROADCAST.
11321
11322 2002-02-18 Jason Merrill <jason@redhat.com>
11323
11324 * name-finder.cc (toHex): Use word mode, not long long.
11325
11326 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
11327
11328 2002-02-15 Tom Tromey <tromey@redhat.com>
11329
11330 Fix for PR libgcj/5695:
11331 * verify.cc (is_assignable_from_slow): Check to see if target is
11332 an Object before checking to see if source is an interface.
11333 (verify_instructions_0) [op_invokeinterface]: Handle case where
11334 we're making an interface call on Object.
11335
11336 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11337
11338 * Makefile.in: Rebuilt with Eric's change below.
11339
11340 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
11341 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
11342 Removed functions which are now implemented in Math.java.
11343
11344 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11345
11346 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
11347 * Makefile.am (core_java_source_files): Add
11348 java/lang/StrictMath.java.
11349 * java/lang/Math.java: Merge with Classpath.
11350 * java/lang/StrictMath.java: New file - merge with Classpath.
11351
11352 2002-02-14 Mark Wielaard <mark@klomp.org>
11353
11354 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
11355 package as a workaround for gcj 3.0.x
11356
11357 2002-02-14 Mark Wielaard <mark@klomp.org>
11358
11359 * java/security/BasicPermission.java: extends with fully qualified
11360 classname as workaround for gcj 3.0.4.
11361
11362 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11363
11364 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
11365 around gcj bug of wrong emitted qualifier for inherited method.
11366 * java/net/SocketImpl.java (setOption, getOption): Ditto.
11367 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
11368 constructor to reduce amount of emitted bytecode. While this
11369 happens to work around a jikes 1.15 bug, it is still a useful
11370 patch even for correct compilers.
11371 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
11372 * gnu/java/rmi/server/UnicastRemoteCall.java
11373 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
11374
11375 2002-02-14 Eric Blake <ebb9@email.byu.edu>
11376
11377 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
11378 * java/net/SocketImpl.java: Ditto.
11379 * java/rmi/server/RMIClassLoader.java: Ditto.
11380 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
11381
11382 2002-02-14 Mark Wielaard <mark@klomp.org>
11383
11384 Thanks to Takashi Okamoto
11385 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
11386 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
11387 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
11388
11389 2002-02-13 Todd Stock <toddastock@yahoo.com>
11390
11391 Fix for PR libgcj/5670:
11392 * verify.cc (is_assignable_from_slow): If `source' is interface,
11393 recursively look for merge with `target'.
11394
11395 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
11396
11397 * include/jni.h: Fix typo.
11398
11399 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
11400
11401 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
11402 correctly.
11403
11404 2002-02-13 Todd Stock <toddastock@yahoo.com>
11405
11406 Fix for PR libgcj/5671:
11407 * verify.cc (state::merge): Handle case where we're merging
11408 against an interface.
11409
11410 2002-02-12 Tom Tromey <tromey@redhat.com>
11411
11412 * exception.cc (std::abort): Mark as noreturn.
11413
11414 2002-02-12 Adam Megacz <adam@xwt.org>
11415
11416 * java/lang/Win32Process.java: Filled in a placeholder
11417 implementation so Win32 will build.
11418
11419 2002-02-12 Adam Megacz <adam@xwt.org>
11420
11421 * java/io/natFilePosix.cc: Copied this from natFile.cc.
11422 * java/io/natFile.cc: Removed from repository.
11423 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
11424
11425 2002-02-12 Adam Megacz <adam@xwt.org>
11426
11427 * win32.cc: Added two #includes to make win32.cc compile.
11428
11429 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11430
11431 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
11432 declarations.
11433 (_Jv_InitGC): Don't bother locking, as this is always called from a
11434 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
11435
11436 2002-02-11 Adam Megacz <adam@xwt.org>
11437
11438 * include/win32.h: Added _Jv_platform_gettimeofday.
11439 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
11440
11441 2002-02-11 Adam Megacz <adam@xwt.org>
11442
11443 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
11444 Added #undef STRICT to make windows.h and
11445 java/lang/reflect/Modifier.h cooperate.
11446
11447 2002-02-11 Adam Megacz <adam@xwt.org>
11448
11449 * java/io/natFileWin32.cc: Created a placeholder class with lots
11450 of FIXMEs.
11451
11452 2002-02-11 Adam Megacz <adam@xwt.org>
11453
11454 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11455 std::abort() to simply abort(). Also added "fake" std::abort() so
11456 we can #include unwind-pe.h without having to link against
11457 libstdc++-v3.
11458
11459 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11460
11461 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11462
11463 2002-02-08 Tom Tromey <tromey@redhat.com>
11464
11465 * interpret.cc (convert): New function.
11466 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11467 convert.
11468 Include Long.h.
11469
11470 2002-02-08 Anthony Green <green@redhat.com>
11471
11472 * configure.host: Add support for xscale-elf embedded target.
11473
11474 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11475
11476 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11477 dereferenced.
11478 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11479 frame.
11480
11481 2002-02-07 Tom Tromey <tromey@redhat.com>
11482
11483 * java/io/natFile.cc (_access): Use __builtin_alloca.
11484 (_stat): Likewise.
11485 (attr): Likewise.
11486 (getCanonicalPath): Likewise.
11487 (performList): Likewise.
11488 (performMkdir): Likewise.
11489 (performSetReadOnly): Likewise.
11490 (performRenameTo): Likewise.
11491 (performSetLastModified): Likewise.
11492 (performCreate): Likewise.
11493 (performDelete): Likewise.
11494
11495 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11496
11497 * HACKING: Fix URL for the automake-gcj.
11498
11499 2002-02-07 Tom Tromey <tromey@redhat.com>
11500
11501 * java/lang/natThrowable.cc: Updated copyright.
11502 * java/io/natFileWin32.cc: Updated copyright.
11503 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11504 * win32-threads.cc: Updated copyright.
11505 * name-finder.cc: Updated copyright.
11506 * include/name-finder.h: Updated copyright.
11507
11508 * include/name-finder.h: Conditionally include sys/wait.h.
11509 * include/config.h.in: Rebuilt.
11510
11511 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11512 Size buffer based on real size of string.
11513 (_stat): Likewise.
11514 (attr): Likewise.
11515 (getCanonicalPath): Likewise.
11516 (performList): Likewise.
11517 (performMkdir): Likewise.
11518 (performSetReadOnly): Likewise.
11519 (unixroot): Removed.
11520 (performRenameTo): Likewise.
11521 (performSetLastModified): Likewise.
11522 (performCreate): Likewise.
11523 (performDelete): Likewise.
11524 (performListRoots): Always return new array.
11525
11526 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11527 * win32.cc (win32_exception_handler): Now static.
11528 * include/win32.h (_Jv_platform_initialize): Declare.
11529 (win32_exception_handler): Don't declare.
11530 * java/lang/natSystem.cc (currentTimeMillis): Use
11531 _Jv_platform_gettimeofday.
11532 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11533 (_Jv_select): Use new name.
11534 (_Jv_platform_initialize): New function.
11535 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11536 _Jv_gettimeofday.
11537 (_Jv_platform_initialize): Declare.
11538
11539 * configure: Rebuilt.
11540 * configure.in: Removed unnecessary parens.
11541
11542 2002-02-06 Adam Megacz <adam@xwt.org>
11543
11544 * configure.in: Changed mingw) to *mingw*).
11545 * win32.cc: Created this file.
11546 * win32.h: Created this file.
11547 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11548 win32_exception_handler from prims.cc to win32.cc, added
11549 header in win32.h.
11550 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11551 longer needed now that we have platform.h
11552
11553 2002-02-06 Adam Megacz <adam@xwt.org>
11554
11555 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11556 use uint<n>_t instead of LONG and BYTE
11557
11558 2002-02-06 Adam Megacz <adam@xwt.org>
11559
11560 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11561
11562 2002-02-06 Anthony Green <green@redhat.com>
11563
11564 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11565 Implement missing method stubs.
11566 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11567 targets.
11568 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11569 concept of timezones.
11570 (init_properties): Don't refer to _Jv_Environment_Properties
11571 when this feature is not available.
11572 * include/config.h.in: Rebuilt.
11573 * acconfig.h: Add DISABLE_MAIN_ARGS.
11574 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11575 * configure: Rebuilt.
11576 * configure.in: Add --disable-main-args option. Test for
11577 opendir function. Replace AC_CHECK_SIZEOF with
11578 AC_COMPILE_CHECK_SIZEOF.
11579 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11580 * aclocal.m4: Rebuilt.
11581 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11582
11583 2002-02-06 Tom Tromey <tromey@redhat.com>
11584
11585 * verify.cc (require_array_type): If argument is a null array of
11586 references, return null as the element type.
11587
11588 2002-02-06 Mark Wielaard <mark@klomp.org>
11589
11590 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11591 duplicate of a wide type.
11592
11593 2002-02-06 Tom Tromey <tromey@redhat.com>
11594
11595 * verify.cc (type::isnull): New method.
11596 (require_array_type): Handle case where array is null.
11597 (verify_instructions_0) [op_arraylength]: Likewise.
11598
11599 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11600
11601 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11602 Symlink PLATFORMH to platform.h.
11603 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11604 PLATFORMOBJS.
11605 * java/lang/natSystem.cc: #include platform.h not posix.h.
11606 * Makefile.in: Rebuilt with libgcj automake.
11607 * configure: Rebuilt.
11608
11609 2002-02-05 Richard Henderson <rth@redhat.com>
11610
11611 * Makefile.in: Undo munging last change.
11612
11613 2002-02-04 Adam Megacz <adam@xwt.org>
11614
11615 * win32.cc: Created it.
11616 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11617 which is set to posix.cc or win32.cc.
11618 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11619
11620 2002-02-04 Adam Megacz <adam@xwt.org>
11621
11622 * configure.in: Corrected mingw case branches; added * before
11623 and after.
11624
11625 2002-02-04 Adam Megacz <adam@xwt.org>
11626
11627 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11628 if compiling for win32
11629
11630 2002-02-04 Adam Megacz <adam@xwt.org>
11631
11632 * win32-threads.cc: #undef STRICT after gc.h inclusion
11633
11634 2002-02-02 Tom Tromey <tromey@redhat.com>
11635
11636 * Makefile.in: Rebuilt.
11637
11638 2002-02-02 Jason Merrill <jason@redhat.com>
11639
11640 * Makefile.am (clean-nat): New target.
11641
11642 2002-02-02 Tom Tromey <tromey@redhat.com>
11643
11644 * java/io/natFile.cc: Removed old "FIXME" comments.
11645
11646 2002-02-01 Tom Tromey <tromey@redhat.com>
11647
11648 * java/lang/natPosixProcess.cc (myclose): New function.
11649 (fail): Use it.
11650 (startProcess): Likewise.
11651
11652 2002-02-01 Adam Megacz <adam@xwt.org>
11653
11654 * prims.cc: Added #undef STRICT after #include<windows.h>.
11655
11656 2002-02-01 Adam Megacz <adam@xwt.org>
11657
11658 * prims.cc
11659 (_Jv_CreateJavaVM): We now use WIN32 instead of
11660 USE_WIN32_SIGNALLING and USE_WINSOCK.
11661 (win32_exception_handler): Now throws an exception out of
11662 the signal handler; assumes SJLJ.
11663
11664 2002-02-01 Adam Megacz <adam@xwt.org>
11665
11666 * win32-threads.cc:
11667 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11668 wait() algorithm to make it safe.
11669 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11670 Added lazy creation of Win32 Events for better performance
11671 (really_start): This now uses GC_CreateThread so boehm-gc
11672 knows about new threads even when statically linked.
11673
11674 2002-02-01 Adam Megacz <adam@xwt.org>
11675
11676 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11677 enable safer wait() algorithm.
11678 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11679 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11680 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11681 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11682 instead of mutex.
11683 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11684
11685 2002-02-01 Adam Megacz <adam@xwt.org>
11686
11687 * configure.in: Added support for mingw.
11688 * java/lang/Win32Process.java: Created as empty file.
11689 * java/lang/natWin32Process.cc: Created as empty file.
11690
11691 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11692
11693 PR java/4972
11694 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11695 for libiconv in LIBICONV variable.
11696 * configure: Regenerated.
11697
11698 2002-01-31 Tom Tromey <tromey@redhat.com>
11699
11700 * verify.cc (state::enter_subroutine): New method.
11701 (handle_jsr_insn): Use it.
11702 (state::merge): When processing a `ret', correctly use
11703 subroutine's state to determine which local variables have
11704 changed.
11705 (push_exception_jump): Don't let stack overflow.
11706
11707 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11708
11709 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11710 --version output.
11711
11712 2002-01-30 Tom Tromey <tromey@redhat.com>
11713
11714 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11715 parameter for `recv' return type.
11716
11717 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11718 (state::merge): ... not here.
11719 (subr_entry_info): New structure.
11720 (entry_points): New field.
11721 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11722 entry_points.
11723
11724 2002-01-29 Tom Tromey <tromey@redhat.com>
11725
11726 * java/awt/List.java (addNotify): Correctly check to see if peer
11727 does not exist.
11728
11729 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11730 to compute height of each cell, and number of columns to compute
11731 width of each cell.
11732 * java/awt/Window.java (getOwnedWindows): Don't return null.
11733 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11734 of component. Increment x using horizontal gap, not vertical
11735 gap.
11736
11737 2002-01-28 Tom Tromey <tromey@redhat.com>
11738
11739 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11740 `nargs' byte is number of words, not number of arguments.
11741
11742 2002-01-27 Tom Tromey <tromey@redhat.com>
11743
11744 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11745 (when): Likewise.
11746 * java/awt/event/InputEvent.java (modifiers, when): Now
11747 package-private.
11748
11749 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11750 and to-do list.
11751 (state::merge): Use current class' class loader.
11752 (state::print): Print subroutine.
11753 (state::merge): Don't look at subroutine of unmerged `ret'.
11754
11755 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11756
11757 * nogc.cc: Remove warnings.
11758 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11759 New functions.
11760
11761 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11762
11763 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11764 int, int): Remove empty "if" statement to work around compiler bug.
11765 (newPixels(int[], ColorModel, int, int): Likewise.
11766
11767 2002-01-25 Per Bothner <per@bothner.com>
11768
11769 * verify.cc (verify_fail): Change from being a top-level function
11770 to e method of _Jv_BytecodeVerifier. Emit current method name.
11771 Pass the current verifier to type: and state: methods as needed,
11772 for better error messages, and for resolve.
11773 (resolve): Pass current class's loader for Class.forName and
11774 _Jv_FindClassFromSignature, rather than using the default loader.
11775 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11776 (get_type_val_for_signature): Make non-static.
11777 (various methods): Pass start_PC implicitly, not explicitly.
11778
11779 2002-01-25 Tom Tromey <tromey@redhat.com>
11780
11781 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11782 loop termination condition.
11783 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11784 width.
11785
11786 2002-01-24 Tom Tromey <tromey@redhat.com>
11787
11788 * java/awt/Shape.java: Merged with Classpath.
11789 * java/awt/Scrollbar.java: Merged with Classpath.
11790
11791 * java/awt/Container.java (addNotify): Unconditionally call
11792 addNotifyContainerChildren and superclass addNotify.
11793
11794 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11795 getAlpha, not getBlue.
11796
11797 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11798
11799 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11800
11801 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11802 (grabPixels(long)): Wait to be notified that the ImageProducer has
11803 completed.
11804
11805 2002-01-24 Per Bothner <per@bothner.com>
11806
11807 * verify.cc (is_assignable_from_slow): If target is an interface,
11808 we must still check the source's superclass before giving up.
11809
11810 2002-01-24 Tom Tromey <tromey@redhat.com>
11811
11812 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11813
11814 2002-01-23 Tom Tromey <tromey@redhat.com>
11815
11816 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11817 `else'.
11818
11819 * Makefile.in: Rebuilt.
11820 * Makefile.am (awt_java_source_files): Added new files.
11821 * java/awt/Toolkit.java: Merged with Classpath.
11822 * java/awt/PrintGraphics.java: New file from Classpath.
11823 * java/awt/PrintJob.java: New file from Classpath.
11824 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11825 * java/awt/datatransfer/ClipboardOwner.java: New file from
11826 Classpath.
11827 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11828 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11829 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11830 Classpath.
11831 * java/awt/datatransfer/StringSelection.java: New file from
11832 Classpath.
11833 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11834 Classpath.
11835 * java/awt/datatransfer/Transferable.java: New file from
11836 Classpath.
11837 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11838 from Classpath.
11839
11840 * Makefile.in: Rebuilt.
11841 * Makefile.am (awt_java_source_files): Added new files.
11842 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11843 Classpath.
11844 * java/awt/image/CropImageFilter.java: New file from Classpath.
11845 * java/awt/image/FilteredImageSource.java: New file from
11846 Classpath.
11847 * java/awt/image/ImageFilter.java: New file from Classpath.
11848 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11849 * java/awt/image/PixelGrabber.java: New file from Classpath.
11850 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11851 * java/awt/image/ReplicateScaleFilter.java: New file from
11852 Classpath.
11853 * java/awt/image/ImageProducer.java: Replaced with Classpath
11854 version.
11855 * java/awt/image/ImageObserver.java: Replaced with Classpath
11856 version.
11857 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11858 version.
11859 * java/awt/GridBagConstraints.java (clone): Catch
11860 CloneNotSupportedException.
11861
11862 2002-01-23 Per Bothner <per@bothner.com>
11863
11864 * java/lang/reflect/natField.cc (setAddr): New function.
11865 Calls getAddr and then checks that the field isn't final.
11866 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11867 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11868 (set): Call setAddr before check that new value has right type,
11869 to better match specified semantics.
11870
11871 2002-01-22 Tom Tromey <tromey@redhat.com>
11872
11873 * java/awt/TextField.java: Replaced with Classpath version.
11874 * java/awt/TextArea.java: Replaced with Classpath version.
11875 * java/awt/TextComponent.java: Replaced with Classpath version.
11876
11877 * java/awt/GridBagConstraints.java: Updated copyright.
11878
11879 2002-01-22 Mark Wielaard <mark@klomp.org>
11880
11881 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11882 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11883 java/awt/Dialog.java java/awt/FileDialog.java
11884 java/awt/Font.java java/awt/FontMetrics.java
11885 java/awt/Image.java java/awt/ImageMediaEntry.java
11886 java/awt/Insets.java java/awt/List.java
11887 java/awt/MediaEntry.java java/awt/MediaTracker.java
11888 java/awt/Menu.java java/awt/MenuBar.java
11889 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11890 java/awt/PaintContext.java java/awt/Panel.java
11891 java/awt/PopupMenu.java java/awt/SystemColor.java
11892 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11893 java/awt/peer/CheckboxMenuItemPeer.java
11894 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11895 java/awt/peer/ComponentPeer.java
11896 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11897 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11898 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11899 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11900 java/awt/peer/MenuBarPeer.java
11901 java/awt/peer/MenuComponentPeer.java
11902 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11903 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11904 java/awt/peer/ScrollPanePeer.java
11905 java/awt/peer/ScrollbarPeer.java
11906 java/awt/peer/TextAreaPeer.java
11907 java/awt/peer/TextComponentPeer.java
11908 java/awt/peer/TextFieldPeer.java
11909 java/awt/peer/WindowPeer.java: Add license clarification.
11910
11911 2002-01-22 Mark Wielaard <mark@klomp.org>
11912
11913 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11914 gnu/gcj/runtime/StringBuffer.java
11915 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11916 gnu/java/awt/ComponentDataBlitOp.java
11917 gnu/java/awt/GLightweightPeer.java
11918 gnu/java/beans/BeanInfoEmbryo.java
11919 gnu/java/beans/EmptyBeanInfo.java
11920 gnu/java/beans/ExplicitBeanInfo.java
11921 gnu/java/beans/IntrospectionIncubator.java
11922 gnu/java/beans/editors/ColorEditor.java
11923 gnu/java/beans/editors/FontEditor.java
11924 gnu/java/beans/editors/NativeBooleanEditor.java
11925 gnu/java/beans/editors/NativeByteEditor.java
11926 gnu/java/beans/editors/NativeDoubleEditor.java
11927 gnu/java/beans/editors/NativeFloatEditor.java
11928 gnu/java/beans/editors/NativeIntEditor.java
11929 gnu/java/beans/editors/NativeLongEditor.java
11930 gnu/java/beans/editors/NativeShortEditor.java
11931 gnu/java/beans/editors/StringEditor.java
11932 gnu/java/beans/info/ComponentBeanInfo.java
11933 gnu/java/io/ClassLoaderObjectInputStream.java
11934 gnu/java/io/NullOutputStream.java
11935 gnu/java/io/ObjectIdentityWrapper.java
11936 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11937 gnu/java/lang/reflect/TypeSignature.java
11938 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11939 gnu/java/locale/Calendar_en.java
11940 gnu/java/locale/Calendar_nl.java
11941 gnu/java/locale/LocaleInformation.java
11942 gnu/java/locale/LocaleInformation_de.java
11943 gnu/java/locale/LocaleInformation_en.java
11944 gnu/java/locale/LocaleInformation_nl.java
11945 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11946 gnu/java/rmi/registry/RegistryImpl.java
11947 gnu/java/rmi/rmic/Compile_gcj.java
11948 gnu/java/rmi/rmic/Compiler.java
11949 gnu/java/rmi/rmic/CompilerProcess.java
11950 gnu/java/rmi/rmic/RMIC.java
11951 gnu/java/rmi/rmic/TabbedWriter.java
11952 gnu/java/rmi/server/ProtocolConstants.java
11953 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11954 gnu/java/rmi/server/RMIHashes.java
11955 gnu/java/rmi/server/RMIObjectInputStream.java
11956 gnu/java/rmi/server/RMIObjectOutputStream.java
11957 gnu/java/rmi/server/UnicastConnection.java
11958 gnu/java/rmi/server/UnicastConnectionManager.java
11959 gnu/java/rmi/server/UnicastRef.java
11960 gnu/java/rmi/server/UnicastRemoteCall.java
11961 gnu/java/rmi/server/UnicastRemoteStub.java
11962 gnu/java/rmi/server/UnicastServer.java
11963 gnu/java/rmi/server/UnicastServerRef.java
11964 gnu/java/security/provider/DefaultPolicy.java
11965 gnu/java/security/provider/Gnu.java
11966 gnu/java/security/provider/SHA.java
11967 gnu/java/security/provider/SHA1PRNG.java
11968 gnu/java/text/BaseBreakIterator.java
11969 gnu/java/text/CharacterBreakIterator.java
11970 gnu/java/text/LineBreakIterator.java
11971 gnu/java/text/SentenceBreakIterator.java
11972 gnu/java/text/WordBreakIterator.java
11973 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11974 java/applet/AppletContext.java java/applet/AppletStub.java
11975 java/applet/AudioClip.java java/awt/AWTError.java
11976 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11977 java/awt/AWTException.java java/awt/AWTPermission.java
11978 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11979 java/awt/Button.java java/awt/Canvas.java
11980 java/awt/CardLayout.java java/awt/Checkbox.java
11981 java/awt/CheckboxGroup.java java/awt/Component.java
11982 java/awt/ComponentOrientation.java java/awt/Container.java
11983 java/awt/Dimension.java java/awt/Event.java
11984 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11985 java/awt/FlowLayout.java java/awt/Frame.java
11986 java/awt/Graphics.java java/awt/Graphics2D.java
11987 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11988 java/awt/IllegalComponentStateException.java
11989 java/awt/ItemSelectable.java java/awt/Label.java
11990 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11991 java/awt/MenuComponent.java java/awt/MenuItem.java
11992 java/awt/Paint.java java/awt/Point.java
11993 java/awt/Rectangle.java java/awt/RenderingHints.java
11994 java/awt/Transparency.java java/awt/Window.java
11995 java/awt/color/ColorSpace.java
11996 java/awt/color/ICC_ColorSpace.java
11997 java/awt/color/ICC_Profile.java
11998 java/awt/event/HierarchyBoundsAdapter.java
11999 java/awt/event/HierarchyBoundsListener.java
12000 java/awt/event/HierarchyEvent.java
12001 java/awt/event/HierarchyListener.java
12002 java/awt/geom/AffineTransform.java
12003 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
12004 java/awt/geom/IllegalPathStateException.java
12005 java/awt/geom/Line2D.java
12006 java/awt/geom/NoninvertibleTransformException.java
12007 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
12008 java/awt/geom/Rectangle2D.java
12009 java/awt/geom/RectangularShape.java
12010 java/awt/geom/RoundRectangle2D.java
12011 java/awt/image/BufferedImage.java
12012 java/awt/image/ColorModel.java
12013 java/awt/image/ComponentColorModel.java
12014 java/awt/image/ComponentSampleModel.java
12015 java/awt/image/DataBuffer.java
12016 java/awt/image/DataBufferByte.java
12017 java/awt/image/DataBufferInt.java
12018 java/awt/image/DataBufferUShort.java
12019 java/awt/image/DirectColorModel.java
12020 java/awt/image/PackedColorModel.java
12021 java/awt/image/Raster.java java/awt/image/RasterOp.java
12022 java/awt/image/SampleModel.java
12023 java/awt/image/SinglePixelPackedSampleModel.java
12024 java/awt/image/WritableRaster.java
12025 java/beans/AppletInitializer.java
12026 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
12027 java/beans/Beans.java java/beans/Customizer.java
12028 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
12029 java/beans/FeatureDescriptor.java
12030 java/beans/IndexedPropertyDescriptor.java
12031 java/beans/IntrospectionException.java
12032 java/beans/Introspector.java java/beans/MethodDescriptor.java
12033 java/beans/ParameterDescriptor.java
12034 java/beans/PropertyChangeEvent.java
12035 java/beans/PropertyChangeListener.java
12036 java/beans/PropertyChangeSupport.java
12037 java/beans/PropertyDescriptor.java
12038 java/beans/PropertyEditor.java
12039 java/beans/PropertyEditorManager.java
12040 java/beans/PropertyEditorSupport.java
12041 java/beans/PropertyVetoException.java
12042 java/beans/SimpleBeanInfo.java
12043 java/beans/VetoableChangeListener.java
12044 java/beans/VetoableChangeSupport.java
12045 java/beans/Visibility.java
12046 java/beans/beancontext/BeanContext.java
12047 java/beans/beancontext/BeanContextChild.java
12048 java/beans/beancontext/BeanContextChildComponentProxy.java
12049 java/beans/beancontext/BeanContextChildSupport.java
12050 java/beans/beancontext/BeanContextContainerProxy.java
12051 java/beans/beancontext/BeanContextEvent.java
12052 java/beans/beancontext/BeanContextMembershipEvent.java
12053 java/beans/beancontext/BeanContextMembershipListener.java
12054 java/beans/beancontext/BeanContextProxy.java
12055 java/beans/beancontext/BeanContextServiceAvailableEvent.java
12056 java/beans/beancontext/BeanContextServiceProvider.java
12057 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
12058 java/beans/beancontext/BeanContextServiceRevokedEvent.java
12059 java/beans/beancontext/BeanContextServiceRevokedListener.java
12060 java/beans/beancontext/BeanContextServices.java
12061 java/beans/beancontext/BeanContextServicesListener.java
12062 java/io/BufferedInputStream.java
12063 java/io/BufferedOutputStream.java java/io/BufferedReader.java
12064 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
12065 java/io/ByteArrayOutputStream.java
12066 java/io/CharArrayReader.java java/io/CharArrayWriter.java
12067 java/io/CharConversionException.java java/io/DataInput.java
12068 java/io/DataInputStream.java java/io/DataOutput.java
12069 java/io/EOFException.java java/io/Externalizable.java
12070 java/io/FileFilter.java java/io/FileNotFoundException.java
12071 java/io/FilePermission.java java/io/FileReader.java
12072 java/io/FileWriter.java java/io/FilenameFilter.java
12073 java/io/FilterInputStream.java java/io/FilterOutputStream.java
12074 java/io/FilterReader.java java/io/FilterWriter.java
12075 java/io/IOException.java java/io/InputStream.java
12076 java/io/InterruptedIOException.java
12077 java/io/InvalidClassException.java
12078 java/io/InvalidObjectException.java
12079 java/io/NotActiveException.java
12080 java/io/NotSerializableException.java java/io/ObjectInput.java
12081 java/io/ObjectInputStream.java
12082 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
12083 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
12084 java/io/ObjectStreamConstants.java
12085 java/io/ObjectStreamException.java
12086 java/io/ObjectStreamField.java
12087 java/io/OptionalDataException.java java/io/OutputStream.java
12088 java/io/PipedInputStream.java java/io/PipedOutputStream.java
12089 java/io/PipedReader.java java/io/PipedWriter.java
12090 java/io/PrintWriter.java java/io/PushbackInputStream.java
12091 java/io/PushbackReader.java java/io/Reader.java
12092 java/io/SequenceInputStream.java java/io/Serializable.java
12093 java/io/SerializablePermission.java
12094 java/io/StreamCorruptedException.java
12095 java/io/StreamTokenizer.java
12096 java/io/StringBufferInputStream.java java/io/StringReader.java
12097 java/io/StringWriter.java java/io/SyncFailedException.java
12098 java/io/UTFDataFormatException.java
12099 java/io/UnsupportedEncodingException.java
12100 java/io/WriteAbortedException.java java/io/Writer.java
12101 java/lang/AbstractMethodError.java
12102 java/lang/ArithmeticException.java
12103 java/lang/ArrayIndexOutOfBoundsException.java
12104 java/lang/ArrayStoreException.java java/lang/Boolean.java
12105 java/lang/Byte.java java/lang/CharSequence.java
12106 java/lang/ClassCastException.java
12107 java/lang/ClassCircularityError.java
12108 java/lang/ClassFormatError.java
12109 java/lang/ClassNotFoundException.java
12110 java/lang/CloneNotSupportedException.java
12111 java/lang/Cloneable.java java/lang/Comparable.java
12112 java/lang/Compiler.java java/lang/Double.java
12113 java/lang/Error.java java/lang/Exception.java
12114 java/lang/ExceptionInInitializerError.java
12115 java/lang/Float.java java/lang/IllegalAccessError.java
12116 java/lang/IllegalAccessException.java
12117 java/lang/IllegalArgumentException.java
12118 java/lang/IllegalMonitorStateException.java
12119 java/lang/IllegalStateException.java
12120 java/lang/IllegalThreadStateException.java
12121 java/lang/IncompatibleClassChangeError.java
12122 java/lang/IndexOutOfBoundsException.java
12123 java/lang/InheritableThreadLocal.java
12124 java/lang/InstantiationError.java
12125 java/lang/InstantiationException.java java/lang/Integer.java
12126 java/lang/InternalError.java
12127 java/lang/InterruptedException.java
12128 java/lang/LinkageError.java java/lang/Long.java
12129 java/lang/NegativeArraySizeException.java
12130 java/lang/NoClassDefFoundError.java
12131 java/lang/NoSuchFieldError.java
12132 java/lang/NoSuchFieldException.java
12133 java/lang/NoSuchMethodError.java
12134 java/lang/NoSuchMethodException.java
12135 java/lang/NullPointerException.java java/lang/Number.java
12136 java/lang/NumberFormatException.java
12137 java/lang/OutOfMemoryError.java java/lang/Package.java
12138 java/lang/Process.java java/lang/Runnable.java
12139 java/lang/RuntimeException.java
12140 java/lang/RuntimePermission.java
12141 java/lang/SecurityException.java
12142 java/lang/SecurityManager.java java/lang/Short.java
12143 java/lang/StackOverflowError.java java/lang/StringBuffer.java
12144 java/lang/StringIndexOutOfBoundsException.java
12145 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
12146 java/lang/ThreadLocal.java java/lang/UnknownError.java
12147 java/lang/UnsatisfiedLinkError.java
12148 java/lang/UnsupportedClassVersionError.java
12149 java/lang/UnsupportedOperationException.java
12150 java/lang/VerifyError.java java/lang/VirtualMachineError.java
12151 java/lang/Void.java java/lang/ref/PhantomReference.java
12152 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
12153 java/lang/ref/SoftReference.java
12154 java/lang/ref/WeakReference.java
12155 java/lang/reflect/AccessibleObject.java
12156 java/lang/reflect/InvocationTargetException.java
12157 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
12158 java/lang/reflect/ReflectPermission.java
12159 java/math/BigDecimal.java java/math/BigInteger.java
12160 java/net/Authenticator.java java/net/BindException.java
12161 java/net/ConnectException.java java/net/ContentHandler.java
12162 java/net/ContentHandlerFactory.java
12163 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
12164 java/net/FileNameMap.java java/net/MalformedURLException.java
12165 java/net/MulticastSocket.java java/net/NetPermission.java
12166 java/net/NoRouteToHostException.java
12167 java/net/PasswordAuthentication.java
12168 java/net/ProtocolException.java java/net/ServerSocket.java
12169 java/net/Socket.java java/net/SocketException.java
12170 java/net/SocketImpl.java java/net/SocketImplFactory.java
12171 java/net/SocketOptions.java java/net/SocketPermission.java
12172 java/net/URLDecoder.java java/net/URLEncoder.java
12173 java/net/URLStreamHandlerFactory.java
12174 java/net/UnknownHostException.java
12175 java/net/UnknownServiceException.java
12176 java/rmi/AccessException.java
12177 java/rmi/AlreadyBoundException.java
12178 java/rmi/ConnectException.java
12179 java/rmi/ConnectIOException.java
12180 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
12181 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
12182 java/rmi/NotBoundException.java
12183 java/rmi/RMISecurityException.java
12184 java/rmi/RMISecurityManager.java java/rmi/Remote.java
12185 java/rmi/RemoteException.java java/rmi/ServerError.java
12186 java/rmi/ServerException.java
12187 java/rmi/ServerRuntimeException.java
12188 java/rmi/StubNotFoundException.java
12189 java/rmi/UnexpectedException.java
12190 java/rmi/UnknownHostException.java
12191 java/rmi/UnmarshalException.java
12192 java/rmi/activation/Activatable.java
12193 java/rmi/activation/ActivateFailedException.java
12194 java/rmi/activation/ActivationDesc.java
12195 java/rmi/activation/ActivationException.java
12196 java/rmi/activation/ActivationGroup.java
12197 java/rmi/activation/ActivationGroupDesc.java
12198 java/rmi/activation/ActivationGroupID.java
12199 java/rmi/activation/ActivationID.java
12200 java/rmi/activation/ActivationInstantiator.java
12201 java/rmi/activation/ActivationMonitor.java
12202 java/rmi/activation/ActivationSystem.java
12203 java/rmi/activation/Activator.java
12204 java/rmi/activation/UnknownGroupException.java
12205 java/rmi/activation/UnknownObjectException.java
12206 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
12207 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
12208 java/rmi/registry/Registry.java
12209 java/rmi/registry/RegistryHandler.java
12210 java/rmi/server/ExportException.java
12211 java/rmi/server/LoaderHandler.java
12212 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
12213 java/rmi/server/Operation.java
12214 java/rmi/server/RMIClassLoader.java
12215 java/rmi/server/RMIClientSocketFactory.java
12216 java/rmi/server/RMIFailureHandler.java
12217 java/rmi/server/RMIServerSocketFactory.java
12218 java/rmi/server/RMISocketFactory.java
12219 java/rmi/server/RemoteCall.java
12220 java/rmi/server/RemoteObject.java
12221 java/rmi/server/RemoteRef.java
12222 java/rmi/server/RemoteServer.java
12223 java/rmi/server/RemoteStub.java
12224 java/rmi/server/ServerCloneException.java
12225 java/rmi/server/ServerNotActiveException.java
12226 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
12227 java/rmi/server/SkeletonMismatchException.java
12228 java/rmi/server/SkeletonNotFoundException.java
12229 java/rmi/server/SocketSecurityException.java
12230 java/rmi/server/UID.java
12231 java/rmi/server/UnicastRemoteObject.java
12232 java/rmi/server/Unreferenced.java
12233 java/security/AccessControlContext.java
12234 java/security/AccessControlException.java
12235 java/security/AccessController.java
12236 java/security/AlgorithmParameterGenerator.java
12237 java/security/AlgorithmParameterGeneratorSpi.java
12238 java/security/AlgorithmParameters.java
12239 java/security/AlgorithmParametersSpi.java
12240 java/security/AllPermission.java
12241 java/security/BasicPermission.java
12242 java/security/Certificate.java java/security/CodeSource.java
12243 java/security/DigestException.java
12244 java/security/DigestInputStream.java
12245 java/security/DigestOutputStream.java
12246 java/security/DomainCombiner.java
12247 java/security/DummyKeyPairGenerator.java
12248 java/security/DummyMessageDigest.java
12249 java/security/DummySignature.java
12250 java/security/GeneralSecurityException.java
12251 java/security/Guard.java java/security/GuardedObject.java
12252 java/security/Identity.java java/security/IdentityScope.java
12253 java/security/InvalidAlgorithmParameterException.java
12254 java/security/InvalidKeyException.java
12255 java/security/InvalidParameterException.java
12256 java/security/Key.java java/security/KeyException.java
12257 java/security/KeyFactory.java java/security/KeyFactorySpi.java
12258 java/security/KeyManagementException.java
12259 java/security/KeyPair.java java/security/KeyPairGenerator.java
12260 java/security/KeyPairGeneratorSpi.java
12261 java/security/KeyStore.java
12262 java/security/KeyStoreException.java
12263 java/security/KeyStoreSpi.java
12264 java/security/MessageDigest.java
12265 java/security/MessageDigestSpi.java
12266 java/security/NoSuchAlgorithmException.java
12267 java/security/NoSuchProviderException.java
12268 java/security/Permission.java
12269 java/security/PermissionCollection.java
12270 java/security/Permissions.java java/security/Policy.java
12271 java/security/Principal.java java/security/PrivateKey.java
12272 java/security/PrivilegedAction.java
12273 java/security/PrivilegedActionException.java
12274 java/security/PrivilegedExceptionAction.java
12275 java/security/ProtectionDomain.java
12276 java/security/Provider.java
12277 java/security/ProviderException.java
12278 java/security/PublicKey.java
12279 java/security/SecureClassLoader.java
12280 java/security/SecureRandom.java
12281 java/security/SecureRandomSpi.java java/security/Security.java
12282 java/security/SecurityPermission.java
12283 java/security/Signature.java
12284 java/security/SignatureException.java
12285 java/security/SignatureSpi.java
12286 java/security/SignedObject.java java/security/Signer.java
12287 java/security/UnrecoverableKeyException.java
12288 java/security/UnresolvedPermission.java
12289 java/security/acl/Acl.java java/security/acl/AclEntry.java
12290 java/security/acl/AclNotFoundException.java
12291 java/security/acl/Group.java
12292 java/security/acl/LastOwnerException.java
12293 java/security/acl/NotOwnerException.java
12294 java/security/acl/Owner.java java/security/acl/Permission.java
12295 java/security/cert/CRL.java
12296 java/security/cert/CRLException.java
12297 java/security/cert/Certificate.java
12298 java/security/cert/CertificateEncodingException.java
12299 java/security/cert/CertificateException.java
12300 java/security/cert/CertificateExpiredException.java
12301 java/security/cert/CertificateFactory.java
12302 java/security/cert/CertificateFactorySpi.java
12303 java/security/cert/CertificateNotYetValidException.java
12304 java/security/cert/CertificateParsingException.java
12305 java/security/cert/X509CRL.java
12306 java/security/cert/X509CRLEntry.java
12307 java/security/cert/X509Certificate.java
12308 java/security/cert/X509Extension.java
12309 java/security/interfaces/DSAKey.java
12310 java/security/interfaces/DSAKeyPairGenerator.java
12311 java/security/interfaces/DSAParams.java
12312 java/security/interfaces/DSAPrivateKey.java
12313 java/security/interfaces/DSAPublicKey.java
12314 java/security/interfaces/RSAKey.java
12315 java/security/interfaces/RSAPrivateCrtKey.java
12316 java/security/interfaces/RSAPrivateKey.java
12317 java/security/interfaces/RSAPublicKey.java
12318 java/security/spec/AlgorithmParameterSpec.java
12319 java/security/spec/DSAParameterSpec.java
12320 java/security/spec/DSAPrivateKeySpec.java
12321 java/security/spec/DSAPublicKeySpec.java
12322 java/security/spec/EncodedKeySpec.java
12323 java/security/spec/InvalidKeySpecException.java
12324 java/security/spec/InvalidParameterSpecException.java
12325 java/security/spec/KeySpec.java
12326 java/security/spec/PKCS8EncodedKeySpec.java
12327 java/security/spec/RSAKeyGenParameterSpec.java
12328 java/security/spec/RSAPrivateCrtKeySpec.java
12329 java/security/spec/RSAPrivateKeySpec.java
12330 java/security/spec/RSAPublicKeySpec.java
12331 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
12332 java/sql/BatchUpdateException.java java/sql/Blob.java
12333 java/sql/CallableStatement.java java/sql/Clob.java
12334 java/sql/Connection.java java/sql/DataTruncation.java
12335 java/sql/DatabaseMetaData.java java/sql/Date.java
12336 java/sql/Driver.java java/sql/DriverManager.java
12337 java/sql/DriverPropertyInfo.java
12338 java/sql/PreparedStatement.java java/sql/Ref.java
12339 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
12340 java/sql/SQLData.java java/sql/SQLException.java
12341 java/sql/SQLInput.java java/sql/SQLOutput.java
12342 java/sql/SQLWarning.java java/sql/Statement.java
12343 java/sql/Struct.java java/sql/Time.java
12344 java/sql/Timestamp.java java/sql/Types.java
12345 java/text/Annotation.java
12346 java/text/AttributedCharacterIterator.java
12347 java/text/AttributedString.java
12348 java/text/AttributedStringIterator.java
12349 java/text/BreakIterator.java java/text/CharacterIterator.java
12350 java/text/ChoiceFormat.java java/text/Collator.java
12351 java/text/DateFormat.java java/text/DateFormatSymbols.java
12352 java/text/DecimalFormat.java
12353 java/text/DecimalFormatSymbols.java
12354 java/text/FieldPosition.java java/text/Format.java
12355 java/text/MessageFormat.java java/text/NumberFormat.java
12356 java/text/ParseException.java java/text/ParsePosition.java
12357 java/text/SimpleDateFormat.java
12358 java/text/StringCharacterIterator.java
12359 java/util/AbstractCollection.java java/util/AbstractList.java
12360 java/util/AbstractMap.java
12361 java/util/AbstractSequentialList.java
12362 java/util/AbstractSet.java java/util/ArrayList.java
12363 java/util/Arrays.java java/util/BasicMapEntry.java
12364 java/util/BitSet.java java/util/Calendar.java
12365 java/util/Collection.java java/util/Collections.java
12366 java/util/Comparator.java
12367 java/util/ConcurrentModificationException.java
12368 java/util/Date.java java/util/Dictionary.java
12369 java/util/EmptyStackException.java java/util/Enumeration.java
12370 java/util/EventListener.java java/util/EventObject.java
12371 java/util/GregorianCalendar.java java/util/HashMap.java
12372 java/util/HashSet.java java/util/Hashtable.java
12373 java/util/IdentityHashMap.java java/util/Iterator.java
12374 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
12375 java/util/LinkedList.java java/util/List.java
12376 java/util/ListIterator.java java/util/ListResourceBundle.java
12377 java/util/Locale.java java/util/Map.java
12378 java/util/MissingResourceException.java
12379 java/util/NoSuchElementException.java
12380 java/util/Observable.java java/util/Observer.java
12381 java/util/Properties.java java/util/PropertyPermission.java
12382 java/util/PropertyResourceBundle.java java/util/Random.java
12383 java/util/RandomAccess.java java/util/ResourceBundle.java
12384 java/util/Set.java java/util/SimpleTimeZone.java
12385 java/util/SortedMap.java java/util/SortedSet.java
12386 java/util/Stack.java java/util/StringTokenizer.java
12387 java/util/TimeZone.java java/util/Timer.java
12388 java/util/TimerTask.java
12389 java/util/TooManyListenersException.java
12390 java/util/TreeMap.java java/util/TreeSet.java
12391 java/util/Vector.java java/util/WeakHashMap.java
12392 java/util/jar/Attributes.java java/util/jar/JarEntry.java
12393 java/util/jar/JarException.java java/util/jar/JarFile.java
12394 java/util/jar/JarInputStream.java
12395 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
12396 java/util/zip/Adler32.java java/util/zip/CRC32.java
12397 java/util/zip/CheckedInputStream.java
12398 java/util/zip/CheckedOutputStream.java
12399 java/util/zip/Checksum.java
12400 java/util/zip/DataFormatException.java
12401 java/util/zip/Deflater.java
12402 java/util/zip/DeflaterOutputStream.java
12403 java/util/zip/GZIPInputStream.java
12404 java/util/zip/GZIPOutputStream.java
12405 java/util/zip/Inflater.java
12406 java/util/zip/InflaterInputStream.java
12407 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
12408 java/util/zip/ZipException.java java/util/zip/ZipFile.java
12409 java/util/zip/ZipInputStream.java
12410 java/util/zip/ZipOutputStream.java
12411 javax/naming/BinaryRefAddr.java
12412 javax/naming/InvalidNameException.java javax/naming/Name.java
12413 javax/naming/NamingException.java javax/naming/RefAddr.java
12414 javax/naming/StringRefAddr.java: Add license clarification.
12415
12416 2002-01-22 Tom Tromey <tromey@redhat.com>
12417
12418 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
12419 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
12420 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
12421 version.
12422 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
12423 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
12424 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
12425 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
12426 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
12427 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
12428 * java/awt/peer/FontPeer.java: Replace with Classpath version.
12429 * java/awt/peer/FramePeer.java: Replace with Classpath version.
12430 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
12431 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
12432 * java/awt/peer/ListPeer.java: Replace with Classpath version.
12433 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
12434 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
12435 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
12436 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
12437 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
12438 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
12439 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
12440 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
12441 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
12442 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
12443 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
12444 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
12445 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
12446 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12447 (minimumSize, preferredSize, reshape): Likewise.
12448 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12449 getColorModel): New methods.
12450 * java/awt/PopupMenu.java: Merged with Classpath.
12451 * java/awt/MenuBar.java: Merged with Classpath.
12452 * java/awt/SystemColor.java: Replace with Classpath version.
12453 * java/awt/Panel.java: Merged with Classpath.
12454 * java/awt/PaintContext.java: Updated copyright.
12455 * java/awt/MenuShortcut.java: Merged with Classpath.
12456 * java/awt/MenuContainer.java: Merged with Classpath.
12457 * java/awt/Menu.java: Merged with Classpath.
12458 * java/awt/MediaEntry.java: New file from Classpath.
12459 * java/awt/MediaTracker.java: New file from Classpath.
12460 * java/awt/List.java: Merged with Classpath version.
12461 * java/awt/Insets.java: Merged with Classpath version.
12462 * java/awt/ImageMediaEntry.java: New file from Classpath.
12463 * java/awt/Image.java: Replaced with Classpath version.
12464 * java/awt/FontMetrics.java: Merged with Classpath version.
12465 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12466 constant.
12467 * java/awt/Font.java: Merged with Classpath version.
12468 * java/awt/Dialog.java: Merged with Classpath version.
12469 * java/awt/Color.java: Merged with Classpath version.
12470 * java/awt/Choice.java: Merged with Classpath version.
12471 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12472 * java/awt/Adjustable.java: Replace with Classpath version.
12473 * java/awt/MenuItem.java (paramString): Don't include class name
12474 or brackets. Call superclass paramString.
12475 * java/awt/MenuComponent.java (toString): Call paramString.
12476 (paramString): Compute string; don't call toString.
12477 * java/awt/Label.java (paramString): Don't include class name
12478 or brackets. Call superclass paramString.
12479 * java/awt/Checkbox.java (paramString): Don't include class name
12480 or brackets. Call superclass paramString.
12481 * java/awt/Button.java (paramString): Don't include class name or
12482 brackets. Call superclass paramString.
12483 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12484
12485 2002-01-20 Andreas Schwab <schwab@suse.de>
12486
12487 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12488 function and of parameter recv_func to ssize_t, as specified by
12489 POSIX.
12490
12491 2002-01-19 Per Bothner <per@bothner.com>
12492
12493 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12494 uncompressed_size in readiness for next entry.
12495
12496 2002-01-18 Tom Tromey <tromey@redhat.com>
12497
12498 * java/net/natPlainSocketImpl.cc: Include
12499 IllegalArgumentException.h.
12500 (_Jv_recv): New template function.
12501 (BooleanClass): Removed.
12502 (read): Use _Jv_recv.
12503 (setOption): Use Boolean::class$. Throw exception if object is
12504 not Boolean or Integer.
12505
12506 2002-01-17 Tom Tromey <tromey@redhat.com>
12507
12508 * java/awt/MenuComponent.java: Merged with Classpath.
12509 * java/awt/MenuItem.java: Merged with Classpath.
12510 * java/awt/Button.java: Merged with Classpath.
12511
12512 * java/awt/ActiveEvent.java: Updated copyright.
12513
12514 * java/awt/AWTError.java: Replaced with Classpath version.
12515 * java/awt/AWTException.java: Replaced with Classpath version.
12516 * java/awt/IllegalComponentStateException.java: Replaced with
12517 Classpath version.
12518
12519 2002-01-16 Tom Tromey <tromey@redhat.com>
12520
12521 * java/awt/Canvas.java (serialVersionUID): New constant.
12522 Updated copyright. Added javadoc from Classpath.
12523 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12524
12525 * java/awt/CheckboxGroup.java: Merged with Classpath.
12526 * java/awt/Checkbox.java: Merged with Classpath.
12527
12528 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12529 Classpath.
12530 * java/awt/Point.java: Updated copyright.
12531
12532 * java/awt/Point.java (toString): Use getClass().getName().
12533 Added javadoc.
12534
12535 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12536 commented code.
12537 (hash): Correctly compute initial value for `h'.
12538
12539 * java/awt/Label.java: Merged with Classpath.
12540
12541 2002-01-15 Tom Tromey <tromey@redhat.com>
12542
12543 * java/awt/AWTPermission.java: Updated copyright.
12544
12545 * java/awt/LayoutManager2.java: Merged with Classpath.
12546 * java/awt/LayoutManager.java: Merged with Classpath.
12547 * java/awt/GridLayout.java: Updated copyright and javadoc.
12548 (getSize): Use `parent.ncomponents'. Handle insets.
12549 (layoutContainer): Use `parent.ncomponents'. Handle case where
12550 there are fewer children than columns. Correctly compute size of
12551 each cell in the grid. Handle case where there isn't enough
12552 space.
12553 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12554 all users.
12555 (gotoComponent): Use parent.ncomponents. Ensure child exists
12556 before calling setVisible() on it. Last item is `num - 1', not
12557 `num'.
12558 (layoutContainer): Hoist invariants out of loop.
12559
12560 Start of AWT merge with Classpath:
12561 * Makefile.in: Rebuilt.
12562 * Makefile.am (awt_java_source_files): Reference files in
12563 gnu/java/awt, not gnu/gcj/awt.
12564 * java/awt/image/BufferedImage.java: Updated copyright.
12565 * java/awt/image/ComponentColorModel.java: Updated copyright.
12566 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12567 * java/awt/image/DataBuffer.java: Updated copyright.
12568 * java/awt/image/DataBufferByte.java: Updated copyright.
12569 * java/awt/image/DataBufferInt.java: Updated copyright.
12570 * java/awt/image/DataBufferUShort.java: Updated copyright.
12571 * java/awt/image/IndexColorModel.java: Updated copyright.
12572 * java/awt/image/PackedColorModel.java: Updated copyright.
12573 * java/awt/image/Raster.java: Updated copyright.
12574 * java/awt/image/RasterOp.java: Updated copyright.
12575 * java/awt/image/SampleModel.java: Updated copyright.
12576 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12577 * java/awt/image/WritableRaster.java: Updated copyright.
12578 * java/awt/color/ColorSpace.java: Updated copyright.
12579 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12580 * java/awt/color/ICC_Profile.java: Updated copyright.
12581 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12582 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12583 * java/awt/event/HierarchyEvent.java: Updated copyright.
12584 * java/awt/event/HierarchyListener.java: Updated copyright.
12585 * java/awt/geom/AffineTransform.java: Updated copyright.
12586 * java/awt/geom/Dimension2D.java: Updated copyright.
12587 * java/awt/geom/Ellipse2D.java: Updated copyright.
12588 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12589 * java/awt/geom/Line2D.java: Updated copyright.
12590 * java/awt/geom/NoninvertibleTransformException.java: Updated
12591 copyright.
12592 * java/awt/geom/PathIterator.java: Updated copyright.
12593 * java/awt/geom/Point2D.java: Updated copyright.
12594 * java/awt/geom/Rectangle2D.java: Updated copyright.
12595 * java/awt/geom/RectangularShape.java: Updated copyright.
12596 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12597 * java/awt/Toolkit.java: Updated import for file moves.
12598 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12599 Classpath.
12600 (hashCode): New method from Classpath.
12601 * java/awt/Graphics2D.java: Updated copyright.
12602 * java/awt/Transparency.java: Updated copyright.
12603 * java/awt/Paint.java: Updated copyright.
12604 * java/awt/Graphics.java: New version from Classpath.
12605 * java/awt/EventDispatchThread.java: Updated copyright.
12606 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12607 children.
12608 (gotoComponent): Wrap around on next/previous.
12609 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12610 * gnu/gcj/awt/Buffers.java: Removed.
12611 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12612 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12613 * gnu/java/awt/BitMaskExtent.java: Added.
12614 * gnu/java/awt/Buffers.java: Added.
12615 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12616 * gnu/java/awt/GLightweightPeer.java: Added.
12617 * java/awt/geom/Line2D.java (clone): Ignore
12618 CloneNotSupportedException.
12619 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12620 * java/awt/Frame.java: Merged with Classpath.
12621 * java/awt/RenderingHints.java: Copyright update.
12622 * java/awt/Paint.java: Copyright update.
12623 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12624 * java/awt/image/ColorModel.java: Merged with Classpath.
12625 * java/awt/Window.java (show): New Implementation from Classpath.
12626 (isShowing): Use super.isShowing().
12627 * java/awt/EventQueue.java: Merged with Classpath.
12628 * java/awt/AWTEventMulticaster.java (save): Throw
12629 RuntimeException.
12630 (saveInternal): Likewise.
12631 * java/awt/AWTEvent.java: Now implements Serializable.
12632 * java/awt/Event.java: Copyright update.
12633 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12634 * java/awt/image/BufferedImage.java: Copyright update.
12635 * java/awt/GraphicsConfiguration.java: Copyright update.
12636 * java/awt/Component.java: (addNotify): Don't call
12637 addNotifyContainerChildren().
12638 (addNotifyContainerChildren): Removed.
12639 (setPeer): New method from Classpath.
12640 (setTreeLock): Likewise.
12641 (setVisible): Rewrote.
12642 (show): Use it.
12643 (hide): Likewise.
12644 (validate): Set `valid'.
12645 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12646 (createImage(ImageProducer)): Likewise.
12647 (prepareImage): Likewise.
12648 * java/awt/Container.java (addImpl): Handle case where constraint
12649 is not a String. Post event via system event queue.
12650 (remove): Post event via system event queue.
12651 (validateTree): Only validate child if it is invalid.
12652 (getAlignmentX): Call super method as default.
12653 (getAlignmentY): Likewise.
12654 (addContainerListener): Now synchronized.
12655 (removeContainerListener): Likewise.
12656 (addNotifyContainerChildren): Now private.
12657 * java/awt/ComponentOrientation.java: Updated copyright. Added
12658 @author.
12659 * java/awt/FlowLayout.java (serialVersionUID): New field.
12660 (setAlignment): Better exception message.
12661 (layoutContainer): Don't compute component's preferred size unless
12662 we're going to use it.
12663 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12664 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12665 (firstLine, lastLine, firstItem, lastItem): New fields.
12666 (addLayoutComponent): Handle case where constraints is null.
12667 Also, handle relative locations.
12668 (removeLayoutComponent): Handle relative locations.
12669 (MIN, MAX, PREF): New constants.
12670 (calcCompSize): New method.
12671 (calcSize): New method.
12672 (minimumLayoutSize): Use it.
12673 (preferredLayoutSize): Likewise.
12674 (maximumLayoutSize): Likewise.
12675 (toString): Include more information.
12676 (setBounds): New method.
12677 (layoutContainer): Use libgcj implementation; extended to handle
12678 relative locations.
12679
12680 2002-01-15 Tom Tromey <tromey@redhat.com>
12681
12682 * java/lang/Float.java (equals): Preserve old code.
12683 * java/lang/Double.java (equals): Preserve old code.
12684
12685 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12686
12687 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12688 * java/lang/Float.java (equals, compare): Ditto.
12689
12690 2002-01-13 Mark Wielaard <mark@klomp.org>
12691
12692 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12693 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12694 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12695 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12696
12697 2002-01-11 Mark Wielaard <mark@klomp.org>
12698
12699 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12700 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12701 InetAddress.
12702 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12703 * java/net/Socket.java: Merge with Classpath.
12704 * java/net/ServerSocket.java: Likewise.
12705
12706 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12707
12708 * interpret.cc (NULLARRAYCHECK): New macro.
12709 (SAVE_PC): Just store `pc'.
12710 (find_exception): Subtract one from `pc' here.
12711 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12712 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12713 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12714 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12715 don't call SAVE_PC.
12716 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12717 call SAVE_PC.
12718
12719 2002-01-11 Tom Tromey <tromey@redhat.com>
12720
12721 * java/lang/natSystem.cc (init_properties): Only look for default
12722 locale if LC_MESSAGES is defined.
12723 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12724 * configure.in: Call AM_LC_MESSAGES.
12725 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12726
12727 2002-01-10 Tom Tromey <tromey@redhat.com>
12728
12729 For PR libgcj/5303:
12730 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12731 --version. Recognize GNU-style long options. Print GNU-style
12732 error messages.
12733 (usage): Print GNU-style help. Exit with status 0.
12734 (error): New method.
12735 (run): Print error message if no class names found.
12736 (main): Don't print usage on error.
12737
12738 2002-01-09 Tom Tromey <tromey@redhat.com>
12739
12740 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12741 property.
12742 (help, version): Use println(), not println("").
12743
12744 For PR libgcj/5303:
12745 * gnu/gcj/convert/Convert.java (error): Program is called
12746 `jv-convert'. Print GNU-style message. Exit with status 1, not
12747 -1.
12748 (main): Handle --help and --version.
12749 (help): New method.
12750 (version): Likewise.
12751
12752 2002-01-08 Tom Tromey <tromey@redhat.com>
12753
12754 * Makefile.in: Rebuilt.
12755 * Makefile.am (ordinary_java_source_files): Added new files.
12756 * gnu/java/locale/LocaleInformation.java: Extend
12757 LocaleInformation_en.
12758 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12759 and time/date formats.
12760 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12761 generated.
12762 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12763 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12764 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12765 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12766 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12767 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12768 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12769 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12770 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12771 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12772 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12773 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12774 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12775 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12776 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12777 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12778 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12779 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12780 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12781 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12782 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12783 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12784 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12785 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12786 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12787 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12788 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12789 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12790 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12791 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12792 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12793 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12794 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12795 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12796 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12797 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12798 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12799 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12800 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12801 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12802 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12803 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12804 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12805 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12806 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12807 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12808 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12809 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12810 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12811 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12812 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12813 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12814 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12815 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12816 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12817 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12818 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12819 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12820 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12821 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12822 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12823 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12824 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12825 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12826 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12827 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12828 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12829 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12830 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12831 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12832 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12833 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12834 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12835 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12836 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12837 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12838 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12839 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12840 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12841 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12842 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12843 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12844 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12845 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12846 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12847 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12848 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12849 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12850 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12851 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12852 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12853 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12854 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12855 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12856 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12857 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12858 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12859 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12860 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12861 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12862 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12863 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12864 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12865 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12866 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12867 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12868 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12869 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12870 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12871 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12872 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12873 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12874 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12875 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12876 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12877 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12878 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12879 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12880 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12881 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12882 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12883 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12884 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12885 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12886 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12887 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12888 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12889 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12890 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12891 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12892
12893 For PR libgcj/5031:
12894 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12895 choose default locale.
12896
12897 * Makefile.in: Rebuilt.
12898 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12899
12900 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12901
12902 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12903 sockets.
12904 (close): New function closes the socket.
12905 (write): New functions for output to socket.
12906 (read): New functions for reading from socket.
12907 * java/net/PlainSocketImpl.java: Glue for new timeout
12908 implementation.
12909 (write): Call the native impl.
12910 (read): Likewise.
12911 (getInputStream): Get a stream to read from the socket.
12912 (getOutputStream): Get a stream to write to the socket.
12913
12914 2002-01-08 Tom Tromey <tromey@redhat.com>
12915
12916 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12917
12918 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12919
12920 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12921 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12922
12923 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12924
12925 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12926 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12927 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12928 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12929 insn_bastore, insn_castore, insn_sastore]: Use it.
12930 (continue1) [insn_arraylength]: Check for null array.
12931
12932 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12933
12934 * configure, include/config.h.in: Rebuilt.
12935 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12936 * configure.in: Call AC_STRUCT_TIMEZONE.
12937
12938 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12939
12940 * configure.host: Disable the interpreter for Darwin.
12941
12942 2002-01-04 Tom Tromey <tromey@redhat.com>
12943
12944 * java/lang/Thread.java (stop): No longer synchronized.
12945 (start): Likewise.
12946
12947 2002-01-02 Tom Tromey <tromey@redhat.com>
12948
12949 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12950 patch.
12951
12952 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12953
12954 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12955 PPC Darwin, not for all of Darwin.