2003-12-27 Michael Koch <konqueror@gmx.de>
[gcc.git] / libjava / ChangeLog
1 2003-12-27 Michael Koch <konqueror@gmx.de>
2
3 * gnu/java/net/protocol/http/Connection.java
4 (connect): Call receiveReply().
5 (receiveReply): Renamed from getHttpHeaders().
6 (getOutputStream): Moved check on doOutput before check for connection
7 state.
8
9 2003-12-27 Michael Koch <konqueror@gmx.de>
10
11 * javax/print/attribute/ResolutionSyntax.java,
12 javax/print/attribute/SetOfIntegerSyntax.java,
13 javax/print/attribute/Size2DSyntax.java,
14 javax/print/attribute/standard/Copies.java,
15 javax/print/attribute/standard/JobImpressions.java,
16 javax/print/attribute/standard/JobMediaSheets.java,
17 javax/print/attribute/standard/NumberOfDocuments.java,
18 javax/print/attribute/standard/NumberOfInterveningJobs.java,
19 javax/print/attribute/standard/PagesPerMinute.java,
20 javax/print/attribute/standard/PagesPerMinuteColor.java,
21 javax/print/attribute/standard/QueuedJobCount.java:
22 Fixed typo (s/then/than/).
23
24 2003-12-27 Guilhem Lavaux <guilhem@kaffe.org>
25
26 * java/rmi/Naming.java (lookup): Check if the first character of the
27 filename returned by URL.getFile() is a '/', only if it is the case
28 we cut this first character and call the registry with the good name.
29 (bind): Likewise.
30 (rebind): Likewise.
31
32 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
33 Mark Wielaard <mark@klomp.org>
34
35 * java/io/BufferedReader.java (BufferedReader):
36 Throw IllegalArgumentException when size <= 0.
37 (mark): Document and better exception message for negative
38 readLimit IllegalArgumentException.
39 (read(char[],int,int)): Throw IndexOutOfBoundsException
40 if offset and count are not valid regarding buf.
41 (skip): Throw IllegalArgumentException when count is negative.
42
43 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
44
45 * java/io/FileInputStream.java
46 (FileInputStream(String)): Call FileInputStream(File).
47 (FileInputStream(File)): Check whether the argument is a directory.
48
49 2003-12-26 Michael Koch <konqueror@gmx.de>
50
51 * Makefile.am (rmi_java_source_files):
52 Added gnu/java/rmi/server/RMIVoidValue.java.
53 * Makefile.in: Regenerated.
54
55 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
56 Mark Wielaard <mark@klomp.org>
57
58 * gnu/java/rmi/server/UnicastConnectionManager.java
59 (startScavenger): Set the client connection manager to daemon
60 state because it may block clients until TIMEOUT is reached
61 when they are exiting.
62
63 * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
64 a void return.
65
66 * gnu/java/rmi/server/UnicastRemoteCall.java
67 (DummyOutputStream): Add a boolean before each written field to
68 know whether it is a primitive.
69 (releaseOutputStream): Flush parameters at write time.
70
71 * gnu/java/rmi/server/UnicastServerRef.java
72 (incomingMessageCall): Return a RMIVoidValue if no value is to be
73 returned.
74
75 * gnu/java/rmi/server/UnicastServer.java
76 (incomingMessageCall): Do not write a returned object if it is
77 a RMIVoidValue.
78
79 2003-12-25 Andreas Tobler <a.tobler@schweiz.ch>
80
81 * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for
82 darwin. Fixed by fixinclude now.
83
84 2003-12-25 Michael Koch <konqueror@gmx.de>
85
86 * java/net/ServerSocket.java bind():
87 If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
88 address to bind to.
89
90 2003-12-23 Guilhem Lavaux <guilhem@kaffe.org>
91
92 * java/io/ObjectInputStream.java
93 (getField): Handle transient and non persistent fields.
94 (readClassDescriptor): Better error handling, use the right
95 class loader.
96 (readFields): Fields marked as not present in the stream
97 or not to be set are not read and set.
98 * java/io/ObjectInputStream.java
99 (readFields): Changed implementation of GetField.
100 (readClassDescriptor): Documented.
101 * java/io/ObjectOutputStream.java
102 (writeClassDescriptor): Added condition when to write class super
103 class information.
104
105 2003-12-22 Fernando Nasser <fnasser@redhat.com>
106
107 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
108 (choicePostItemEvent): Change signature to more specific String object.
109 * java/awt/Choice.java (add): Generate ItemEvent for the first item
110 added.
111 (insert): Generate ItemEvent if insertion caused
112 selection to change.
113 (remove): Generate ItemEvent if removal cause selection to change.
114 (removeAll): Change algorithm to prevent generation of ItemEvents.
115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
116 (connect_choice_item_selectable_hook): Change argument type.
117 Fix argument value.
118 Make sure resources are feed by registering callback.
119 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
120 above function.
121 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
122 (item_activate): Ditto.
123 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
124 menuitem.
125 (item_removed): New function. Free resources.
126 * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
127 name.
128 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
129 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
130 choicePostItemEvent.
131
132 2003-12-23 Michael Koch <konqueror@gmx.de>
133
134 * javax/print/attribute/standard/Copies.java,
135 javax/print/attribute/standard/JobImpressions.java,
136 javax/print/attribute/standard/JobMediaSheets.java,
137 javax/print/attribute/standard/JobPriority.java,
138 javax/print/attribute/standard/NumberOfDocuments.java,
139 javax/print/attribute/standard/NumberOfInterveningJobs.java,
140 javax/print/attribute/standard/NumberUp.java,
141 javax/print/attribute/standard/PagesPerMinuteColor.java,
142 javax/print/attribute/standard/PagesPerMinute.java,
143 javax/print/attribute/standard/QueuedJobCount.java: New files.
144 * Makefile.am (ordinary_java_source_files): Added new files.
145 * Makefile.in: Regenerated.
146
147 2003-12-23 Michael Koch <konqueror@gmx.de>
148
149 * javax/print/attribute/AttributeSetUtilities.java
150 (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
151 * javax/print/attribute/HashAttributeSet.java
152 (HashAttributeSet): Call internal add methods, added missing
153 exceptions.
154 (add): Call addInternal, added exceptions to documentation.
155 (addInternal): New method.
156 (addAll): Call addAllInternal, added exception to documentation.
157 (addAllInternal): New method.
158 (clear): Added exception to documentation.
159 (remove): Likewise.
160 * javax/print/attribute/URISyntax.java
161 (serialVersionUID): Fixed value.
162
163 2003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com>
164
165 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
166 (pre_event_handler): Don't dereference NULL focus_obj_ptr.
167
168 2003-12-21 Michael Koch <konqueror@gmx.de>
169
170 * javax/print/attribute/AttributeSetUtilities.java,
171 javax/print/attribute/HashAttributeSet.java,
172 javax/print/attribute/HashDocAttributeSet.java,
173 javax/print/attribute/HashPrintJobAttributeSet.java,
174 javax/print/attribute/HashPrintRequestAttributeSet.java,
175 javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
176 * Makefile.am (ordinary_java_source_files): Added new files.
177 * Makefile.in: Regenerated.
178
179 2003-12-21 Michael Koch <konqueror@gmx.de>
180
181 * javax/print/attribute/EnumSyntax.java,
182 javax/print/attribute/SetOfIntegerSyntax.java: New files.
183 * Makefile.am (ordinary_java_source_files):
184 Added javax/print/attribute/EnumSyntax.java
185 and javax/print/attribute/SetOfIntegerSyntax.java.
186 * Makefile.in: Regenerated.
187
188 2003-12-21 Michael Koch <konqueror@gmx.de>
189
190 * javax/print/attribute/PrintJobAttribute.java,
191 javax/print/attribute/PrintJobAttributeSet.java,
192 javax/print/attribute/PrintRequestAttribute.java,
193 javax/print/attribute/PrintServiceAttribute.java,
194 javax/print/attribute/PrintServiceAttributeSet.java,
195 javax/print/attribute/SupportedValuesAttribute.java: New files.
196 * Makefile.am (ordinary_java_source_files): Added new files.
197 * Makefile.in: Regenerated.
198
199 2003-12-21 Michael Koch <konqueror@gmx.de>
200
201 * javax/print/attribute/DateTimeSyntax.java,
202 javax/print/attribute/DocAttribute.java,
203 javax/print/attribute/DocAttributeSet.java,
204 javax/print/attribute/IntegerSyntax.java,
205 javax/print/attribute/ResolutionSyntax.java,
206 javax/print/attribute/Size2DSyntax.java,
207 javax/print/attribute/TextSyntax.java,
208 javax/print/attribute/URISyntax.java,
209 javax/print/attribute/UnmodifiableSetException.java: New files.
210 * Makefile.am (ordinary_java_source_files): Added new files.
211 * Makefile.in: Regenerated.
212
213 2003-12-21 Michael Koch <konqueror@gmx.de>
214
215 * gnu/java/net/PlainDatagramSocketImpl.java
216 (mcastGrp): Added documentation.
217
218 2003-12-20 Michael Koch <konqueror@gmx.de>
219
220 * gnu/java/net/protocol/jar/Connection.java
221 (connectionCache): New field.
222 (connect): New method.
223 (getInputStream): New method.
224 (hdrHash): New field.
225 (hdrVec): New field.
226 (gotHeaders): New field.
227 (getHeaderField): New method.
228 (getHeaderFields): New method.
229 (getHeaderFieldKey): New method.
230 (getKey): New method.
231 (getField): New method.
232 (getHeaders): New method.
233 * java/net/JarURLConnection.java
234 (connectionCache): Removed.
235 (connect): Removed.
236 (getInputStream): Removed.
237 (hdrHash): Removed.
238 (hdrVec): Removed.
239 (gotHeaders): Removed.
240 (getHeaderField): Removed.
241 (getHeaderFields): Removed.
242 (getHeaderFieldKey): Removed.
243 (getKey): Removed.
244 (getField): Removed.
245 (getHeaders): Removed.
246
247 2003-12-20 Michael Koch <konqueror@gmx.de>
248
249 * java/io/ObjectStreamField.java (isUnshared): Added documentation.
250
251 2003-12-20 Mohan Embar <gnustuff@thisiscool.com>
252
253 * gnu/java/nio/SelectorImpl.java
254 (selectThreadMutex): New field.
255 (selectThread): New field.
256 (unhandledWakeup): New field.
257 (implCloseSelector): Added skeleton code which
258 synchronizes as per Sun JRE JavaDoc.
259 (keys): Throw ClosedSelectorException if selector
260 is closed.
261 (selectNow): Added comment that we're faking out
262 an immediate select with a one-microsecond-timeout one.
263 (select): Use 0 instead of -1 for infinite timeout.
264 (implSelect): Changed comment in declaration.
265 (select): Added synchronized to method declaration.
266 Added synchronization and wakeup support as per Sun
267 JRE JavaDoc.
268 (selectedKeys): Throw ClosedSelectorException if selector
269 is closed.
270 (wakeup): Implemented.
271 (deregisterCancelledKeys): Synchronize on cancelled key
272 set before deregistering.
273 (register): Synchronize on key set before registering.
274 * java/nio/channels/spi/AbstractSelector.java
275 Added import for java.nio.channels.ClosedSelectorException.
276 (close): Added synchronized to method declaration.
277 (cancelledKeys): Throw ClosedSelectorException if selector
278 is closed.
279 (cancelKey): Synchronize on cancelled key set before key.
280
281 2003-12-20 Michael Koch <konqueror@gmx.de>
282
283 * Makefile.am (ordinary_java_source_files):
284 Added gnu.java.net.URLParseError.java.
285 * Makefile.in: Regenerated.
286
287 2003-12-20 Guilhem Lavaux <guilhem@kaffe.org>
288
289 * gnu/java/net/URLParseError.java: New file.
290 * gnu/java/net/protocol/jar/Handler.java
291 (parseURL): Throw URLParseError if needed, fix '/' handling.
292 * java/net/URL.java (URL): Catch URLParseError and
293 transform it into a MalformedURLException.
294
295 2003-12-19 Michael Koch <konqueror@gmx.de>
296
297 * gnu/java/nio/ChannelOutputStream.java: New file.
298 * java/nio/channels/Channels.java
299 (newOutputStream): Implemented.
300 * Makefile.am (ordinary_java_source_files)
301 Added gnu/java/nio/ChannelOutputStream.java.
302 * Makefile.in: Regenerated.
303
304 2003-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
305
306 * java/awt/FlowLayout.java (layoutContainer): Let components
307 assume their preferred height. Centre components vertically.
308
309 2003-12-19 Michael Koch <konqueror@gmx.de>
310
311 * gnu/java/nio/ChannelInputStream.java: New file.
312 * java/nio/channels/Channels.java (newInputStream): Implemented.
313 * java/nio/channels/FileChannelImpl.java
314 (readImpl): Only put data into buffer if something was read.
315 * Makefile.am (ordinary_java_source_files):
316 Added gnu/java/nio/ChannelInputStream.java.
317 * Makefile.in: Regenerated.
318
319 2003-12-19 Michael Koch <konqueror@gmx.de>
320
321 * gnu/java/nio/OutputStreamChannel.java: New file.
322 * java/nio/channels/Channels.java (newChannel): Implemented.
323 * Makefile.am (ordinary_java_source_files):
324 Added gnu/java/nio/OutputStreamChannel.java.
325 * Makefile.in: Regenerated.
326
327 2003-12-19 Michael Koch <konqueror@gmx.de>
328
329 * Makefile.am (ordinary_java_source_files):
330 Added gnu.java.nio.InputStreamChannel.
331 * Makefile.in: Regenerated.
332
333 2003-12-19 Michael Koch <konqueror@gmx.de>
334
335 * gnu/java/nio/InputStreamChannel.java: New file.
336 * java/nio/channels/Channels.java (newChannel): Implemented.
337
338 2003-12-19 Michael Koch <konqueror@gmx.de>
339
340 * java/util/SimpleTimeZone.java
341 (setStartRule): Reformated documentation.
342 (setEndRule): Reworked documentation.
343 (getDSTSavings): Fixed @since tag.
344 (setDSTSavings): New method.
345
346 2003-12-19 Michael Koch <konqueror@gmx.de>
347
348 * java/text/NumberFormat.java: Sorted imports.
349 (getCurrency): New method.
350 (setCurrency): New method.
351
352
353 2003-12-19 Michael Koch <konqueror@gmx.de>
354
355 * java/text/MessageFormat.java
356 (MessageFormat): New constructor.
357
358 2003-12-19 Michael Koch <konqueror@gmx.de>
359
360 * gnu/java/net/protocol/jar/Handler.java
361 (parseURL): New method.
362 (toExternalForm): New method.
363
364 2003-12-18 Fernando Nasser <fnasser@redhat.com>
365
366 * java/awt/List.java (replaceItem): Prevent selection to move with
367 replace and minimize flickering.
368
369 2003-12-18 Michael Koch <konqueror@gmx.de>
370
371 * libltdl/ltdl.c: Define __private_extern__ if needed.
372
373 2003-12-18 Michael Koch <konqueror@gmx.de>
374
375 * libltdl/.cvsignore: Ignore autom4te.cache
376 * libltdl/Makefile.in: Regenerated.
377 * libltdl/aclocal.m4: Regenerated.
378 * libltdl/acconfig.h: Removed (obsolete).
379 * libltdl/config-h.in: Regenerated.
380 * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
381 * libltdl/configure: Regenerated.
382
383 2003-12-18 Michael Koch <konqueror@gmx.de>
384
385 * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
386 java.text.CollationElementIterator tests as they compile again.
387 * testsuite/libjava.mauve/xfails: Added failing
388 java.text.CollationElementIterator tests.
389
390 2003-12-18 Michael Koch <konqueror@gmx.de>
391
392 * java/util/prefs/AbstractPreferences.java
393 (cachedChildren): New method.
394
395 2003-12-18 Michael Koch <konqueror@gmx.de>
396
397 * java/util/TimeZone.java (getOffset): New method.
398
399 2003-12-17 Fernando Nasser <fnasser@redhat.com>
400
401 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
402 of ActionEvents for mouse double-clicks.
403
404 2003-12-17 Fernando Nasser <fnasser@redhat.com>
405
406 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
407 null Graphics pointer returned by FileDialogPeer.
408
409 2003-12-17 Michael Koch <konqueror@gmx.de>
410
411 * libltdl/stamp-h.in: Removed, not used anymore.
412
413 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
414
415 * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
416 Removed unused InterruptedIOException.h include.
417 * gnu/java/net/natPlainSocketImplWin32.cc
418 (connect): Reset and ignore our thread's interrupted
419 flag instead of testing and throwing an InterruptedIOException
420 if set.
421 (accept): Likewise + changed case of SocketTimeoutException
422 text.
423 (write): Likewise (for both overloads).
424 (doRead): Likewise.
425
426 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
427
428 * win32.cc (WSAEventWrapper): Implemented default
429 constructor and init() methods.
430 (_Jv_select): Removed.
431 * gnu/java/nio/natSelectorImplWin32.cc
432 (helper_put_filedescriptors): Removed.
433 (helper_get_filedescriptors): Removed.
434 (implSelect): Implemented in terms of WSAEventWrapper
435 and WSAWaitForMultipleEvents instead of _Jv_select().
436 Added support for thread interruption.
437 * include/win32.h (WSAEventWrapper): Minor formatting
438 changes; added default constructor declaration, init(),
439 getFD() and getEventHandle() methods.
440 (_Jv_select): Removed.
441
442 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
443
444 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
445 (peekData): Throw SocketTimeoutException instead of
446 InterruptedIOException on timeout.
447 (receive): Likewise.
448 * gnu/java/net/natPlainSocketImplPosix.cc
449 (read): Made a minor exception text case change.
450
451 2003-12-16 Michael Koch <konqueror@gmx.de>
452
453 Fix for PR libgcj/13056.
454 * libltdl/configure.in,
455 libltdl/config.h.in: Removed.
456 * libltdl/configure.ac,
457 libltdl/config-h.in,
458 libltdl/install-sh,
459 libltdl/config.guess,
460 libltdl/config.sub,
461 libltdl/missing,
462 libltdl/mkinstalldirs,
463 libltdl/ltmain.sh: New files.
464 * libltdl/Makefile.am,
465 libltdl/acinclude.m4,
466 libltdl/aclocal.m4,
467 libltdl/ltdl.c,
468 libltdl/ltdl.h,
469 libltdl/README: Update to versions from libtool 1.5.
470 libltdl/configure,
471 * libltdl/Makefile.in: Regenerated.
472 * java/lang/natRuntime.cc (find_symbol):
473 Use type 'lt_ptr' instead of 'lt_ptr_t'.
474
475 2003-12-16 Michael Koch <konqueror@gmx.de>
476
477 * java/awt/MenuComponent.java
478 (serialVersionUID): Fixed value.
479
480 2003-12-16 Fernando Nasser <fnasser@redhat.com>
481
482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
483 (pre_event_handler): Handle GtkButton widgets differently as events
484 go to its event_window.
485 (connect_awt_hook): Remove compiler warning.
486
487 i2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
488
489 * java/io/ObjectInputStream.java
490 (lookupClass): New method.
491 (currentLoader): New method.
492 (inputGetObjectStreamClasses): New method.
493 (assignNewHandle): Documented.
494 (currentClassLoader): Documented.
495 * java/io/ObjectStreamClass.java
496 (setClass): Changed API. Better handling of the imported/exported
497 fields.
498 (getSerialPersistentFields): Make it throw previously caught exceptions
499 so they can handled in setClass.
500
501 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
502
503 * java/io/ObjectStreamField.java: A few methods were added in prevision
504 of the upcoming upgrade of the serialization code. This also adds
505 some missing documentation.
506 (ObjectStreamField): We should throw a NullPointerException when 'name'
507 is null.
508
509 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
510
511 * java/io/ObjectInputStream.java (setBooleanField):
512 Throw an InvalidClassException if the field hasn't the required type,
513 documentation added.
514 (setByteField) Likewise.
515 (setCharField) Likewise.
516 (setDoubleField) Likewise.
517 (setFloatField) Likewise.
518 (setIntField) Likewise.
519 (setShortField) Likewise.
520 (setLongField) Likewise.
521 (setObjectField) Likewise.
522
523 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
524 Helmer Kraemer <hkraemer@freenet.de>
525
526 * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
527 Splitted the method so we can specify an explicit boot loader.
528
529 2003-12-15 Graydon Hoare <graydon@redhat.com>
530
531 * jni/gtk-peer/gdkfont.h: New file.
532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
533 include of cairo-xlib.h, add extra gdk_flush().
534
535 2003-12-12 Fernando Nasser <fnasser@redhat.com>
536
537 * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
538 native state table -- native_global_ref_table.
539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
540 native_global_ref_table pointer.
541 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
542 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
543 global reference is deleted and memory allocated for pointer freed.
544 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
545 JNI global reference instead of JNI local reference.
546 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
547 (pre_event_handler): Remove compilation warning.
548 (connect_awt_hook): Use saved JNI global reference instead of creating
549 a new one.
550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
551 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
552 reference to the Java object.
553 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
554 unused variable declaration and add comment.
555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
556 (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
557 reference to the Java object.
558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
559 (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
561 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
562 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
563 JNI global reference instead of JNI local reference.
564 (item_toggled): Add debug statement.
565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
566 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
567 reference to the Java object.
568 (connect_choice_item_selectable_hook): Use saved JNI global references
569 instead of JNI local reference.
570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
571 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
572 global reference to the Java object.
573 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
574 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
575 reference to the Java object.
576 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
577 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
578 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
579 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
580 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
581 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
582 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
583 (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
584 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
585 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
586 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
587 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
589 (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
590 (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
591 JNI global reference instead of JNI local reference.
592 (item_selected): Add debug statement.
593 (item_unselected): Add debug statement.
594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
595 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
596 reference to the Java object.
597 Connect "activate" signal handler using global JNI reference.
598 (connect_activate_hook): Removed in favor of inline code.
599 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
600 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
601 reference to the Java object.
602 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
603 JNI global reference instead of JNI local reference. Add FIXME comment.
604 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
605 reference to the Java object. Add FIXME comment.
606 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
607 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
608 reference to the Java object.
609 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
610 JNI global reference instead of JNI local reference.
611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
612 (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
613 saved JNI global reference instead of JNI local reference.
614 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
615 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
616 reference to the Java object.
617 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
618 JNI global reference instead of JNI local reference.
619
620 2003-12-11 Michael Koch <konqueror@gmx.de>
621
622 * java/text/Format.java (serialVersionUID): Fixed value.
623
624 2003-12-11 Michael Koch <konqueror@gmx.de>
625
626 * javax/naming/event/EventDirContext.java: Jalopied.
627 (addNamingListener): Fixed typo in method name.
628
629
630 2003-12-11 Mohan Embar <gnustuff@thisiscool.com>
631
632 * gnu/java/nio/SocketChannelImpl.java
633 (write): Removed diagnostic trace.
634 * gnu/java/nio/natSelectorImplPosix.cc: Added
635 includes for java.lang.Thread and java.io.InterruptedIOException.
636 (helper_put_filedescriptors): Don't put invalid file descriptors
637 in select set.
638 (helper_get_filedescriptors): Clear invalid file descriptors
639 from select set.
640 (helper_reset): New method for clearing our file descriptor
641 array.
642 (implSelect): Correctly calculate timeout if specified and
643 legal.
644 Intercept and deal with any java.io.InterruptedIOException
645 thrown by _Jv_select().
646
647 2003-12-08 Fernando Nasser <fnasser@redhat.com>
648
649 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
650 Most coded moved to pre_event_handler, with the modifications
651 mentioned below.
652 (pre_event_handler): New function. Called on the Gtk "event" signal.
653 Do not retrieve the jobject from the window property as it is already
654 available as user data in the signal.
655 Do not try and find the grab widget as it is already done by Gtk at
656 this point.
657 Do not search for Window ancestor as Gtk already sends the signal to it.
658 Do not meddle with the activation state of peer widgets on each
659 key press or release.
660 Add CList to the special handling when looking for the focused widget.
661 * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
662 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
663 New function.
664 (connectSignals): New function.
665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
666 Rename to...
667 (connectSignals): New name. Get rid of NewGlobalRef call.
668 Use g_signal_connect instead of deprecated gtk_signal_connect.
669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
670 (connect_choice_item_selectable_hook): Use g_signal_connect instead of
671 deprecated gtk_signal_connect.
672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
673 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
675 (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
676 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
677 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
678 function.
679 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
680 function.
681 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
682 function.
683 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
684 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
685 function.
686 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
687 function.
688 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
689 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
690 function.
691 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
692 function.
693 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
694 function.
695 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
696 code.
697 (item_select): Remove indirection.
698 (item_unselect): Ditto.
699 (connect_selectable_hook): Folded into connectSignals.
700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
701 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
702 function.
703 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
704 function.
705 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
706 function.
707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
710 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
711 function.
712 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
713 function.
714 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare and call
715 connectJObject and connectSignals instead of connectHooks.
716 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
717 connectSignals.
718 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
719 and not connectHooks.
720 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
721 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
722 and not connectHooks.
723 * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
724 connectSignals instead of connectHooks.
725 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
726 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
727 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto.
728
729 2003-12-09 Michael Koch <konqueror@gmx.de>
730
731 * Makefile.am (nat_headers_install): New variable with header files to
732 install automatically.
733 (install-data-local): Install all headers listed in
734 nat_headers_install. Install innert nat headers explicitely.
735 * Makefile.in: Regenerated.
736
737 2003-12-09 Michael Koch <konqueror@gmx.de>
738
739 * java/util/Calendar.java,
740 java/util/IdentityHashMap.java,
741 java/util/prefs/Preferences.java:
742 Import used classes explicitely.
743
744 2003-12-09 Michael Koch <konqueror@gmx.de>
745
746 * java/net/DatagramSocket.java
747 (close): Directly return if socket is closed.
748 * java/net/ServerSocket.java
749 (close): Directly return if socket is closed.
750 * java/net/Socket.java
751 (close): Directly return if socket is closed.
752
753 2003-12-09 Michael Koch <konqueror@gmx.de>
754
755 * gnu/java/nio/SelectorImpl.java
756 (implSelect): Throws IOException.
757 (select): Likewise.
758
759 2003-12-08 Kim Ho <kho@redhat.com>
760
761 Fix for Checkbox states.
762 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
763 (currentState): New field.
764 (nativeCreate): Add initial state parameter.
765 (create): Changed to reflect new parameter.
766 (setState): Fire only on changed states.
767 (postItemEvent): Fire only on changed states. Also change the
768 Java Checkbox to reflect new state.
769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
770 (nativeCreate): Add parameter and set active state.
771
772 2003-12-08 Fernando Nasser <fnasser@redhat.com>
773
774 * java/awt/datatransfer/StringSelection.java (getTransferData): Return
775 object of type expected by specified DataFlavor.
776
777 2003-12-08 Fernando Nasser <fnasser@redhat.com>
778
779 * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
780 error which was clipping off the first character of a parameter value.
781
782 2003-12-08 Olga Rodimina <rodimina@redhat.com>
783
784 * java/awt/Polygon.java
785 (translate): Fixed error that caused polygon
786 to move right/left when up/down translation was required.
787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
788 (getSelectionStart): Initialized start position to 0.
789 (getSelectionEnd): Initialized end position to 0.
790 (getCaretPosition): Initialized caret position to 0.
791 (getText): Initialized selected text to NULL
792
793 2003-12-08 Michael Koch <konqueror@gmx.de>
794
795 Fix for PR libgcj/13176.
796 * java/io/PrintStream.java: Partly revert my previous patches to get
797 (line_separator): New field.
798 (converter): New field.
799 (work): New field.
800 (work_bytes): New field.
801 (pw): Removed.
802 (closed): Removed.
803 (PrintStrean): Initialize converter and not pw.
804 (checkError): Flush always, pw doesn't exist anymore.
805 (close): Close underlying out stream.
806 (print): New method.
807 (writeChars): New method.
808 (print): Use new internal print method.
809 (println): Likewise.
810
811 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
812
813 * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
814 putAllInternal.
815 (putAllInternal): Correct comment.
816 * java/util/HashMap.java (HashMap(Map)): As above.
817 (putAllInternal): As above.
818
819 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
820
821 * java/util/Hashtable.java (internalContainsValue): Removed.
822 (containsValue): Don't delegate to internalContainsValue.
823
824 2003-12-06 Michael Koch <konqueror@gmx.de>
825
826 * javax/naming/directory/Attribute.java,
827 javax/naming/directory/Attributes.java,
828 javax/naming/directory/DirContext.java,
829 javax/naming/directory/InitialDirContext.java,
830 javax/naming/directory/SearchResult.java,
831 javax/naming/event/EventContext.java,
832 javax/naming/event/NamingEvent.java,
833 javax/naming/event/NamingExceptionEvent.java,
834 javax/naming/ldap/ControlFactory.java,
835 javax/naming/ldap/ExtendedRequest.java,
836 javax/naming/ldap/HasControls.java,
837 javax/naming/ldap/InitialLdapContext.java,
838 javax/naming/ldap/LdapContext.java,
839 javax/naming/ldap/LdapReferralException.java,
840 javax/naming/ldap/UnsolicitedNotification.java,
841 javax/naming/ldap/UnsolicitedNotificationListener.java,
842 javax/naming/spi/DirObjectFactory.java,
843 javax/naming/spi/DirStateFactory.java,
844 javax/naming/spi/DirectoryManager.java,
845 javax/naming/spi/NamingManager.java,
846 javax/naming/spi/ObjectFactoryBuilder.java,
847 javax/naming/spi/ResolveResult.java,
848 javax/naming/spi/Resolver.java,
849 javax/naming/spi/StateFactory.java:
850 Import used classes explicitely.
851
852 2003-12-05 Scott Gilbertson <scottg@mantatest.com>
853
854 * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
855 (clip): Removed field
856 (clipRectangles): New field.
857 (clone): Use new updateClip.
858 (setClipRectangles): Use new updateClip.
859 * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
860
861 2003-12-04 Michael Koch <konqueror@gmx.de>
862
863 * java/io/FilePermission.java:
864 Import used classes explicitely.
865
866 2003-12-04 Michael Koch <konqueror@gmx.de>
867
868 * java/beans/BeanDescriptor.java,
869 java/beans/EventSetDescriptor.java,
870 java/beans/FeatureDescriptor.java,
871 java/beans/IndexedPropertyDescriptor.java,
872 java/beans/Introspector.java,
873 java/beans/MethodDescriptor.java,
874 java/beans/PropertyDescriptor.java,
875 java/beans/SimpleBeanInfo.java: Explicitely import used classes.
876 * java/beans/beancontext/BeanContextServicesSupport.java
877 (serialVersionUID): New field.
878
879 2003-12-04 Michael Koch <konqueror@gmx.de>
880
881 * java/awt/MenuComponent.java: Import java.io.Serialization.
882 * java/awt/MenuItem.java: Likewise.
883 * java/awt/TextComponent.java: Likewise.
884 * java/awt/image/ImagingOpException.java
885 (serialVersionUID): Fixed.
886
887 2003-12-04 Michael Koch <konqueror@gmx.de>
888
889 * gnu/java/net/protocol/http/Connection.java
890 (sendRequest): Merged writing http headers with classpath.
891 (getInputStream): Merged documentation from classpath.
892 (getHeaderField): Likewise.
893 (getHeaderFieldKey): Likewise.
894
895 2003-12-04 Michael Koch <konqueror@gmx.de>
896
897 * boehm.cc (_Jv_MarkObj): Access hack_signers field.
898
899 2003-12-04 Michael Koch <konqueror@gmx.de>
900
901 * java/net/DatagramPacket.java
902 (length): Made packge-private to make it accessible via CNI.
903 (maxlen): New field.
904 (DatagramPacket): Cleaned up.
905 (setSocketAddress): Add message to exception.
906 (setData): Call other setData().
907 (setData): Call setLength().
908 (setLength): Initialize maxlen too.
909 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
910 Get maximal length from maxlen field, set length field directly.
911 (receive): Likewise.
912 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
913 Get maximal length from maxlen field, set length field directly.
914 (receive): Likewise.
915
916 2003-12-03 Mohan Embar <gnustuff@thisiscool.com>
917
918 * gnu/java/nio/natSelectorImplPosix.cc
919 (implSelect): A timeout of 0 means an infinite
920 timeout.
921
922 2003-12-02 Fernando Nasser <fnasser@redhat.com>
923
924 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
925 of ActionEvents.
926
927 2003-12-03 Michael Koch <konqueror@gmx.de>
928
929 * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
930 * java/lang/natClass.cc (getSigners): Likewise.
931 (setSigners): Likewise.
932
933 2003-12-02 Mohan Embar <gnustuff@thisiscool.com>
934
935 * configure.in: Added new MinGW-specific configure flag
936 --with-win32-nlsapi.
937 Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
938 Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
939 is set to unicows.
940 * configure: Rebuilt.
941 * include/config.h.in: Rebuilt.
942 * win32.cc (_Jv_Win32NewString): Implemented.
943 (nativeToUnicode): New helper function defined only for
944 non-UNICODE builds.
945 (unicodeToNative): Likewise.
946 (_Jv_Win32TempString): Implemented.
947 (lots): Refactored using tchar.h macros.
948 (WSAEventWrapper): Use _Jv_Win32NewString.
949 (_Jv_platform_initialize): Use GetModuleFileNameA instead
950 of GetModuleFileName.
951 (_Jv_platform_initProperties): Use _Jv_Win32NewString.
952 Use temporary stack buffer instead of a heap buffer.
953 * include/win32.h
954 Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
955 defined; added tchar.h include.
956 (_Jv_Win32TempString): Declared new helper class.
957 (JV_TEMP_STRING_WIN32): New helper macro.
958 (_Jv_Win32NewString): Declared new helper method.
959 * java/io/natFileDescriptorWin32.cc (open): Use
960 JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
961 (write): Reformatted slightly.
962 * java/io/natFileWin32.cc (lots): Use tchar.h macros;
963 use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
964 (getCanonicalPath): Use _Jv_Win32NewString instead of
965 JvNewStringUTF.
966 (performList): Likewise.
967 * java/lang/natWin32Process.cc (ChildProcessPipe):
968 Use tchar.h macros.
969 (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
970 and UNICODE environment flag for CreateProcess.
971 * java/net/natNetworkInterfaceWin32.cc
972 (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
973 _Jv_Win32NewString.
974
975 2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com>
976
977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
978 (initState): Mark obj parameter as unused.
979 (stringWidth): Mark obj parameter as unused. Initialize
980 font_name properly.
981
982 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
983 BufferedImageBuilder class static.
984
985 2003-12-02 Mark Wielaard <mark@klomp.org>
986
987 * java/security/Security.java: Don't use &nbsp; in the api doc.
988
989 2003-12-02 Dalibor Topic <robilad@kaffe.org>
990
991 Reported by: Jim Pick <jim@kaffe.org>
992 * libraries/javalib/java/util/Hashtable.java
993 (internalcontainsValue): New method.
994 (contains): Delegate to internalContainsValue.
995
996 Reported by: Mark Wielaard <mark@klomp.org>
997 * libraries/javalib/java/util/Hashtable.java
998 (contains): Improved comment.
999
1000 Reported by: Jeroen Frijters <jeroen@frijters.net>
1001 * libraries/javalib/java/util/Hashtable.java
1002 (containsValue): Delegate to contains(Object) to make sure older
1003 code overwriting it continues to work.
1004
1005 2003-12-02 Fernando Nasser <fnasser@redhat.com>
1006
1007 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1008 method. Handle mouse and key events that must generate
1009 ActionEvents.
1010 * java/awt/List.java (getSelectedIndex): Return -1
1011 if no list element is selected.
1012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1013 Correct handling of mouse and key events so that List receives them.
1014 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1015 (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1016 multiple list elements.
1017
1018 2003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
1019
1020 * java/text/SimpleDateFormat.java (compileFormat):
1021 isLowerCase() and isUpperCase() allow too many characters.
1022 Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1023
1024 2003-12-02 Dalibor Topic <robilad@kaffe.org>
1025
1026 * java/text/FieldPosition.java (equals): Fixed comment.
1027
1028 2003-12-02 Mark Wielaard <mark@klomp.org>
1029
1030 Reported by Archie Cobbs:
1031 * java/security/DigestInputStream.java (read(byte[], int, int): Call
1032 digest.update() with temp, not len as lenght.
1033
1034 2003-12-02 Michael Koch <konqueror@gmx.de>
1035
1036 * java/net/DatagramSocket.java
1037 (close): Close associated DatagramChannel object.
1038 * java/net/ServerSocket.java
1039 * java/net/Socket.java
1040 (close): Reset impl and bound before calling getChannel().close() to
1041 prevent from loops.
1042
1043 2003-12-02 Michael Koch <konqueror@gmx.de>
1044
1045 * java/nio/channels/spi/AbstractInterruptibleChannel.java
1046 (opened): Removed.
1047 (closed): New field.
1048 (close): Check of channel is closed already.
1049 (isOpen): Return !closed.
1050
1051 2003-12-02 Michael Koch <konqueror@gmx.de>
1052
1053 * gnu/java/nio/DatagramChannelImpl.java
1054 (blocking): Initialize with true by default.
1055 * gnu/java/nio/ServerSocketChannelImpl.java
1056 (serverSocket): Made private.
1057 (blocking): Likewise.
1058 (connected): Likewise.
1059 * gnu/java/nio/SocketChannelImpl.java
1060 (connectionPending): Made private.
1061 * gnu/java/nio/FileLockImpl.java
1062 (static): Load native library (needed for classpath).
1063 * gnu/java/nio/SelectorImpl.java
1064 (static): Load native library (needed for classpath).
1065
1066 2003-12-02 Michael Koch <konqueror@gmx.de>
1067
1068 * gnu/java/net/protocol/file/Connection.java
1069 (getLastModified): Implement for file connections.
1070 (getContentLength): Likewise.
1071
1072 2003-12-02 Michael Koch <konqueror@gmx.de>
1073
1074 * gnu/java/net/protocol/file/Connection.java:
1075 Some reformating.
1076 (file): Renamed from fileIn.
1077 (getPermission): Moved around.
1078
1079 2003-12-02 Michael Koch <konqueror@gmx.de>
1080
1081 * gnu/java/net/protocol/jar/Connection.java
1082 (Connection): Made class final, merged documentation with classpath.
1083 (file_cache): Made private.
1084 (jar_file): Renamed from jarfile.
1085
1086 2003-12-02 Michael Koch <konqueror@gmx.de>
1087
1088 * gnu/java/net/protocol/http/Connection.java
1089 (Connection): Initialize doOutput to false;
1090 (connect): Initialize inputStream, moved "send request" code to new
1091 method.
1092 (sendRequest): New method.
1093 (getHttpHeaders): Don't reinitialize inputStream.
1094
1095 2003-12-02 Michael Koch <konqueror@gmx.de>
1096
1097 * gnu/java/net/protocol//http/Connection.java
1098 (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1099 (requestProperties): Initialize, documentation added.
1100 (inputStream): Renamed from bufferedIn.
1101 (Connection): Dont initialize requestProperties.
1102 (setDefaultRequestProperty): Removed.
1103 (getDefaultRequestProperty): Removed.
1104 (usingProxy): Documentation added.
1105 (getHttpHeaders): Likewise.
1106
1107 2003-12-02 Michael Koch <konqueror@gmx.de>
1108
1109 * java/text/DateFormat.java:
1110 Explicitely import used classes.
1111
1112 2003-12-01 Jeff Sturm <jsturm@one-point.com>
1113
1114 * verify.cc (state::clean_subrs): Clear seen_subrs.
1115 (state::copy): Walk seen_subrs from copy, not `this'.
1116 Don't clear seen_subrs.
1117
1118 2003-12-01 Kim Ho <kho@redhat.com>
1119
1120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1121 Disable wrapping if TextArea has horizontal scroll bars.
1122
1123 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1124
1125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1126 (awt_event_handler): Hard-code inset values.
1127
1128 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1129 Pass font name, not XLFD, to initState.
1130 (stringWidth(String, int, String)): New method.
1131 (stringWidth(String)): Call new stringWidth.
1132 (getLeading): Always return 0.
1133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1134 (initState): New Pango implementation.
1135 (stringWidth): Likewise.
1136
1137 2003-12-01 Olga Rodimina <rodimina@redhat.com>
1138
1139 * java/awt/TextComponent.java:
1140 (getSelectionStart): Updated javadocs.
1141 (getSelectionEnd): Ditto.
1142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1143 (getSelectionStart): Changed to return caret position if no
1144 text is selected
1145 (getSelectionEnd): Ditto.
1146
1147 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1148
1149 * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1150 gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1151 gnu/awt/gtk/GtkContainerPeer.java,
1152 gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1153 gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1154 gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1155 gnu/awt/gtk/natGtkComponentPeer.cc,
1156 gnu/awt/gtk/natGtkContainerPeer.cc,
1157 gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1158 gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1159 gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1160
1161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1162 (closed): Mark loader parameter as unused.
1163
1164 2003-12-01 Michael Koch <konqueror@gmx.de>
1165
1166 * gnu/java/net/protocol/http/Connection.java
1167 (Connection): Merged class documentation.
1168 (socket): Renamed from sock.
1169 (Connection): Made protected, documentation added.
1170 (connect): Give URL'S host instead of InetAddress to Socket
1171 constructor.
1172 (disconnect): Documentation added.
1173 (getOutputStream): Rewrapped.
1174
1175 2003-12-01 Michael Koch <konqueror@gmx.de>
1176
1177 * gnu/java/net/protocol/file/Connection.java
1178 (fileIn): Documentation added.
1179 (inputStream): Likewise.
1180 (outputStream): Likewise.
1181 (Connection): Likewise.
1182 (connect): Simplified.
1183
1184 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1185
1186 * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1187 setProperties): Check that io is not null before calling
1188 io.imageUpdate.
1189 * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1190 Update javadocs.
1191 * java/awt/image/PixelGrabber.java: Fix implementation and
1192 update javadocs.
1193
1194 2003-12-01 Michael Koch <konqueror@gmx.de>
1195
1196 * gnu/java/net/natPlainSocketImplPosix.cc
1197 bind(): Dont set SockedImpl.address field on succesful bind.
1198 * gnu/java/net/natPlainSocketImplWin32.cc
1199 bind(): Likewise.
1200
1201 2003-11-30 Jeff Sturm <jsturm@one-point.com>
1202
1203 * java/net/InetAddress.java:
1204 (static): Don'f force DNS request for ANY_IF address.
1205
1206 2003-11-30 Michael Koch <konqueror@gmx.de>
1207
1208 * java/net/InetAddress.java,
1209 java/net/natInetAddressNoNet.cc,
1210 java/net/natInetAddressPosix.cc,
1211 java/net/natInetAddressWin32.cc:
1212 Reverted my last patch.
1213
1214 2003-11-28 Michael Koch <konqueror@gmx.de>
1215
1216 * java/net/InetAddress.java
1217 (lookup): New method that doesnt lookup "0.0.0.0".
1218 (ImplLookup): Renamed from lookup.
1219 * java/net/natInetAddressNoNet.cc
1220 (ImplLookup): Renamed from lookup.
1221 * java/net/natInetAddressPosix.cc
1222 (ImplLookup): Renamed from lookup.
1223 * java/net/natInetAddressWin32.cc
1224 (ImplLookup): Renamed from lookup.
1225
1226 2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1227
1228 * configure: Rebuilt.
1229 * configure.in: Require gtk and glib 2.2.0.
1230
1231 2003-11-27 Dalibor Topic <robilad@kaffe.org>
1232
1233 * java/text/FieldPosition.java (equals): Adapted to handle
1234 field_attribute. Added fast-circuit check for comparison to self.
1235 Replaced use of instanceof by getClass to fix symmetry for derived
1236 types.
1237 (toString): Adapted to handle field_attribute. Improved readability.
1238 (hashCode): New method.
1239
1240 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1241
1242 * java/text/FieldPosition.java (field_attribute): New field.
1243 (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1244 getFieldAttribute): New methods.
1245
1246 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1247
1248 * java/text/DecimalFormatSymbols.java (locale): New field.
1249 (DecimalFormatSymbols (Locale)): Set locale.
1250 (serialVersionOnStream): Upgraded to number 2.
1251 (readObject): Assign locale if it wasn't by the serializer.
1252
1253 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1254
1255 * java/text/FormatCharacterIterator.java: Documented the class and
1256
1257 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1258
1259 * java/text/FormatCharacterIterator.java: Fixed some typos.
1260
1261 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1262
1263 * java/text/NumberFormat.java:
1264 (getIntegerInstance) Added the java version in the comments.
1265
1266 2003-11-27 Mark Wielaard <mark@klomp.org>
1267
1268 * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1269 (readResolve): Reformat.
1270
1271 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1272
1273 * java/text/NumberFormat.java
1274 (NumberFormat.Field): New implemented class to match Java 1.4.
1275 (getIntegerInstance): Two new Java 1.4 methods.o
1276
1277 2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1278
1279 * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1280 the leap day of the leap year twice.
1281 (computeFields): First week of month is 1 not 0.
1282
1283 2003-11-27 Mark Wielaard <mark@klomp.org>
1284
1285 * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1286 AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1287
1288 2003-11-27 Michael Koch <konqueror@gmx.de>
1289
1290 * javax/swing/UIDefaults.java:
1291 Reformated to match classpath's version.
1292
1293 2003-11-27 Sascha Brawer <brawer@dandelis.ch>
1294
1295 * javax/swing/UIManager.java (getDefaults, getDimension,
1296 getIcon, getInsets, getInstalledLookAndFeels, getInt,
1297 getLookAndFeel, getString, getSystemLookAndFeelClassName):
1298 Declare as public.
1299
1300 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1301
1302 * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1303 * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1304 isSignificant): Likewise.
1305
1306 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1307
1308 * javax/swing/undo/CompoundEdit.java: Re-format, document.
1309 (inProgress): Set initial value to true.
1310 (undo, redo, die, canUndo, canRedo): Also call inherited
1311 implementation; simplify code structure.
1312 (getPresentationName, getUndoPresentationName,
1313 getRedoPresentationName): Make behavior dependent on lastEdit.
1314 (addEdit, isSignificant): Completely re-written.
1315
1316 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1317
1318 * javax/swing/undo/StateEdit.java: Re-format, document.
1319 (undo, redo): Also call inherited implementation.
1320
1321 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1322
1323 * javax/swing/undo/StateEditable.java: Re-format, document.
1324
1325 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1326
1327 * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1328 (AbstractUndoableEdit): Initialize hasBeenDone to true.
1329 (canUndo, canRedo): Simplify.
1330 (getUndoPresentationName, getRedoPresentationName): Support
1331 localized message; call getPresentationName() only once.
1332
1333 2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
1334
1335 * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1336 (ZipFile(File,int)): Likewise.
1337
1338 2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
1339
1340 * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1341 (putAllInternal): Likewise.
1342 * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1343 (putAllInternal): Likewise.
1344
1345 2003-11-26 Michael Koch <konqueror@gmx.de>
1346
1347 * java/net/URLStreamHandler.java
1348 (parseURL): Added comment in catch statement.
1349 (canonicalizeFilename): Add documentation.
1350 (sameURL): Completed documentation.
1351 (equals): Likewise.
1352 (hostsEqual): Likewise.
1353 (getDefaulPort): Likewise.
1354 (hashCode): Likewise.
1355 (toExternalForm): Likewise.
1356 (getHostName): Fix empty hostname check, completed documentation.
1357
1358 2003-11-26 Tom Tromey <tromey@redhat.com>
1359
1360 * java/lang/natDouble.cc (parseDouble): Reverted patch of
1361 2003-11-13.
1362
1363 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
1364 Mark Wielaard <mark@klomp.org>
1365
1366 * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1367 ('@' should be checked to distinguish port from userinfo).
1368 (toExternalForm): Add @ userInfo if necessary.
1369
1370
1371 2003-11-26 Michael Koch <konqueror@gmx.de>
1372
1373 * java/net/DatagramSocket.java
1374 (DategramSocket, bind): Moved binding code from DatagramSocket
1375 constructor to bind method.
1376
1377 2003-11-26 Michael Koch <konqueror@gmx.de>
1378
1379 * java/net/DatagramSocket.java
1380 (impl): Made private.
1381 (bound): New private member variable.
1382 (DatagramSocket): Fixed documentation, use getImpl().
1383 (getImpl): New package-private method.
1384 (isClosed): Use getImpl().
1385 (getLocalAddress): Completed documentation, use getImpl().
1386 (getLocalPort): Use getImpl().
1387 (getSoTimeout): Likewise.
1388 (setSoTimeout): Likewise.
1389 (getSendBufferSize): Likewise.
1390 (setSendBufferSize): Likewise.
1391 (getReceiveBufferSize): Likewise.
1392 (setReceiveBufferSize): Likewise.
1393 (connect): Likewise.
1394 (disconnect): Likewise.
1395 (receive): Likewise.
1396 (send): Likewise.
1397 (setReuseAddress): Likewise.
1398 (setTrafficClass): Likewise.
1399 (bind): Added message to exception.
1400 (isClosed): Completed documentation.
1401 (getChannel): Likewise.
1402 (connect): Added missing exception, refined exception message.
1403 (isBound): Completed documentation, just return bound.
1404 (isConnected): Completed documentation.
1405 (getRemoteSocketAddress): Likewise.
1406 (getReuseAddress): Completed documentation, use getImpl().
1407 (setSoBroadcast): Likewise.
1408 (getSoBroadcast): Likewise.
1409 (getTrafficClass): Likewise.
1410 (getLocalSocketAddress): Simplified.
1411 * java/net/MulticastSocket.java
1412 (MulticastSocket): Removed comment not applying anymore.
1413 (getInterface): Use getImpl().
1414 (getTTL): Likewise.
1415 (getTimeToLive): Likewise.
1416 (setInterface): Likewise.
1417 (setNetworkInterface): Likewise.
1418 (getNetworkInterface): Likewise.
1419 (setLoopback): Likewise.
1420 (getLoopback): Likewise.
1421 (setTTL): Likewise.
1422 (setTimeToLive): Likewise.
1423 (joinGroup): Likewise.
1424 (leaveGroup): Likewise.
1425 (send): Likewise.
1426
1427 2003-11-26 Michael Koch <konqueror@gmx.de>
1428
1429 * java/net/Socket.java
1430 (implCreated): Dont set default value explicitely, added
1431 documentation.
1432 (inputShutdown): Likewise.
1433 (outputShutdown): Likewise.
1434 (bound): New private member variable.
1435 (bind): Set bound to true.
1436 (close): Set bound to false.
1437 (isBound): Return bound.
1438 * java/net/ServerSocket.java
1439 (bound): New private member variable.
1440 (bind): Set bound to true.
1441 (close): Set bound to false.
1442 (isBound): Return bound.
1443
1444 2003-11-26 Michael Koch <konqueror@gmx.de>
1445
1446 * java/net/URL.java
1447 (URL): Fixed documentation to be HTML compliant.
1448 (getContent): Completed documentation.
1449 (getFile): Likewise.
1450 (getPath): Likewise.
1451 (getAuthority): Likewise.
1452 (getHost): Likewise.
1453 (getDefaultPort): Likewise.
1454 (getProtocol): Likewise.
1455 (hashCode): Likewise.
1456 (openConnection): Likewise.
1457 (openStream): Likewise.
1458 (set): Likewise.
1459 (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1460
1461 2003-11-26 Michael Koch <konqueror@gmx.de>
1462
1463 * java/net/InetSocketAddress.java
1464 (hostname): Made private, added documentation.
1465 (addr): Likewise.
1466 (port): Likewise.
1467 (equals): Completed documentation.
1468 (getAddress): Likewise.
1469 (getHostName): Likewise.
1470 (getPort): Likewise.
1471 (hashCode): Likewise.
1472 (isUnresolved): Likewise.
1473 (toString): Likewise.
1474
1475 2003-11-26 Michael Koch <konqueror@gmx.de>
1476
1477 * gnu/java/net/protocol/file/Handler.java
1478 (Handler): New explicit constructor.
1479 (openConnection): Added documentation.
1480 * gnu/java/net/protocol/jar/Handler.java
1481 (Handler): New explicit constructor.
1482 (openConnection): Added documentation.
1483
1484 2003-11-26 Michael Koch <konqueror@gmx.de>
1485
1486 * java/net/DatagramPacket.java
1487 (DatagramPacket): Fixed documentation to become legal HTML.
1488
1489 2003-11-25 Michael Koch <konqueror@gmx.de>
1490
1491 * gcj/javaprims.h: Added missing java.util.Currency.
1492
1493 2003-11-25 Michael Koch <konqueror@gmx.de>
1494
1495 * testsuite/libjava.mauve/xfails:
1496 Removed these two tests, they mystically pass now:
1497 -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
1498 test_params failed - 5getInetAddress did not return proper values
1499 (number 1)
1500 -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
1501 test_BasicServer failed - 11 exception was thrown :Illegal seek
1502 (number 1)
1503
1504 2003-11-25 Michael Koch <konqueror@gmx.de>
1505
1506 * java/net/DatagramSocket.java
1507 (factory): Made private.
1508 (closed): Removed.
1509 (DatagramSocket): Check impl argument, use constructor with
1510 SocketAddress argument.
1511 (close): Set impl to null, use isClosed().
1512 (isClosed): Check for impl == null.
1513 (getLocalAddress): Use isClosed().
1514 (getLocalPort): Check if socket is closed.
1515 (getSoTimeout): Likewise.
1516 (setSoTimeout): Likewise.
1517 (getSendBufferSize): Likewise.
1518 (setSendBufferSize): Likewise.
1519 (getReceiveBufferSize): Likewise.
1520 (setReceiveBufferSize): Likewise.
1521 (receive): Likewise.
1522 (send): Likewise.
1523 (bind): Likewise.
1524 (connect): Likewise.
1525 (setReuseAddress): Likewise.
1526 (getReuseAddress): Likewise.
1527 (setBroadcast): Likewise.
1528 (getBroadcast): Likewise.
1529 (setTrafficClass): Likewise.
1530 (getTrafficClass): Likewise.
1531 * java/net/MulticastSocket.java
1532 (getInterface): Check if socket is closed.
1533 (getTTL): Likewise.
1534 (getTimeToLive): Likewise.
1535 (setInterface): Likewise.
1536 (setNetworkInterface): Likewise.
1537 (getNetworkInterface): Likewise.
1538 (setLoopbackMode): Likewise.
1539 (setTTL): Likewise.
1540 (setTimeToLive): Likewise.
1541 (joinGroup): Likewise.
1542 (leaveGroup): Likewise.
1543 (send): Likewise.
1544 * java/net/ServerSocket.java
1545 (closed): Removed.
1546 (close): Check if socket is closed, set impl to null.
1547 (isClosed): Check impl == null;
1548 (ServerSocket): Check impl argument.
1549 (getInetAddress): Check if socket is bound.
1550 (getLocalPort): Likewise.
1551 (getLocalSocketAddress): Likewise.
1552 (bind): Check if socket is closed.
1553 (implAccept): Likewise.
1554 (setSoTimeout): Likewise.
1555 (getSoTimeout): Likewise.
1556 (setReuseAddress): Likewise.
1557 (getReuseAddress): Likewise.
1558 (setReceiveBufferSize): Likewise.
1559 (getReceiveBufferSize): Likewise.
1560 (toString): Make output compliant to JDK 1.4.2.
1561 * java/net/Socket.java
1562 (closed): Removed.
1563 (Socket): Fixed documentation.
1564 (connect): Check if socket is closed, changed exception text,
1565 fixed documentation.
1566 (getInputStream): Check of socket is closed and connected.
1567 (getOutputStream): Likewise.
1568 (bind): Check if socket is closed.
1569 (setTcpNoDelay): Likewise.
1570 (getTcpNoDelay): Likewise.
1571 (setSoLinger): Likewise.
1572 (getSoLinger): Likewise.
1573 (sendUrgentData): Likewise.
1574 (setOOBInline): Likewise.
1575 (getOOBInline): Likewise.
1576 (setSoTimeout): Likewise.
1577 (getSoTimeout): Likewise.
1578 (setSendBufferSize): Likewise.
1579 (getSendBufferSize): Likewise.
1580 (setReceiveBufferSize): Likewise.
1581 (getReceiveBufferSize): Likewise.
1582 (setKeepAlive): Likewise.
1583 (getKeepAlive): Likewise.
1584 (close): Likewise.
1585 (shutdownInput): Likewise.
1586 (shutdownOutput): Likewise.
1587 (getReuseAddress): Likewise.
1588 (getTrafficClass): Likewise.
1589 (setTrafficClass): Likewise.
1590 (isClosed): Check impl == null.
1591 (toString): Added missing ']'.
1592
1593 2003-11-24 Tom Tromey <tromey@redhat.com>
1594
1595 * Makefile.in: Rebuilt.
1596 * Makefile.am (propdir): New macro.
1597 (install-data-local): Install logging.properties.
1598 (core_java_source_files): Added java.util.logging.*.
1599 * java/util/logging/logging.properties: New file.
1600
1601 2003-11-25 Michael Koch <konqueror@gmx.de>
1602
1603 * java/net/DatagramSocket.java
1604 (DatagramSocket): Move binding code to bind(), simplify constructors.
1605 * java/net/MulticastSocket.java
1606 (MulticastSocket): Call parent constructor with null argument,
1607 bind socket after setReuseAddress is called, simplify constructors.
1608
1609 2003-11-24 Michael Koch <konqueror@gmx.de>
1610
1611 * javax/swing/BoxLayout.java
1612 (serialVersionUIR): New member variable.
1613 (X_AXIS, Y_AXIS): Documentation added.
1614 (LINE_AXIS, PAGE_AXIS): New constants.
1615 (grid): Renamed from gridbag.
1616 (BoxLayout): Use new constants, throw exception if invalid value for
1617 way, added documentation.
1618 (BoxLayout): Removed.
1619 (addLayoutComponent): Use new constants, added documentation.
1620 (removeLayoutComponent): Likewise.
1621 (addLayoutContainer): Added documentation.
1622 (preferredLayoutSize): Added documentation, check given argument.
1623 (minimumLayoutSize): Likewise.
1624 (layoutContainer): Likewise.
1625 (getLayoutAlignmentX): Likewise.
1626 (getLayoutAlignmentY): Likewise.
1627 (invalidateLayout): Likewise.
1628 (maximumLayoutSize): Likewise.
1629
1630 2003-11-22 Michael Koch <konqueror@gmx.de>
1631
1632 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1633 (peekData): Use offset and maximal free space in datagram packet.
1634 (receive): Likewise.
1635 (send): Use offset in datagram packet.
1636
1637 2003-11-22 Michael Koch <konqueror@gmx.de>
1638
1639 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1640 (peekData): Use offset and maximal free space in datagram packet.
1641 (receive): Likewise.
1642 (send): Use offset in datagram packet.
1643
1644 2003-11-22 Michael Koch <konqueror@gmx.de>
1645
1646 * gnu/java/nio/DatagramChannelImpl.java
1647 (getNativeFD): Use getPlainDatagramSocketImpl().
1648 * gnu/java/nio/NIODatagramSocket.java
1649 (getPlainDatagramSocketImpl): Renamed from getImpl().
1650 * gnu/java/nio/NIOSocket.java
1651 (getPlainSocketImpl): Renamed from getImpl().
1652 (setChannel): Use getPlainSocketImpl().
1653 * gnu/java/nio/SocketChannelImpl.java
1654 (SocketChannelImpl): Use getPlainSocketImpl().
1655 (getPlainSocketImpl): Renamed from getImpl().
1656 (getNativeFD): Use getPlainSocketImpl().
1657
1658 2003-11-18 Graydon Hoare <graydon@redhat.com>
1659
1660 * javax/swing/JLayeredPane.java: Implement.
1661 * javax/swing/JFrame.java (getContentPane): Make public
1662 * javax/swing/javax/swing/JRootPane.java (setContentPane):
1663 Use JLayeredPane.FRAME_CONTENT_LAYER.
1664
1665 2003-11-21 Mark Wielaard <mark@klomp.org>
1666
1667 * java/lang/Float.java (static): Removed.
1668
1669 2003-11-18 Graydon Hoare <graydon@redhat.com>
1670
1671 * java/awt/font/TextLayout.java: Implement simple layouts
1672 using attributed strings and glyph vectors.
1673
1674 2003-11-17 Graydon Hoare <graydon@redhat.com>
1675
1676 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
1677 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
1678 (GdkFontLineMetrics): New inner class.
1679 (getLineMetrics): Return new GdkFontLineMetrics.
1680 (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
1681 (layoutGlyphVector): Create GdkGlyphVector.
1682 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
1683 (GdkGraphics2D): Initialize state via mathod calls.
1684 (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
1685 (cairoTranslate, cairoScale, cairoRotate): Remove.
1686 (various methods): use setTransform for special transform cases.
1687 (DrawState): New inner class.
1688 (stateSave): New method.
1689 (stateRestore): New method.
1690 (various methods): use stateSave, stateRestore.
1691 (getClipInDevSpace): New method.
1692 (clip, clipRect, setClip, getClip, getClipBounds):
1693 Follow spec more closely.
1694 (getTransform): Return clone of transform.
1695 (setStroke): Set linewidth to passed width / 2.0.
1696 (setPaintMode): Set SrcOver rather than Xor.
1697 (setColor): Set paint to passed color.
1698 (drawRaster, drawImage, PainterThread, drawPixels): Take affine
1699 transform from image to user space.
1700 (drawRenderedImage, drawRenderableImage): Implement.
1701 (getFontRenderContext, getFontMetrics, drawString, getFont):
1702 Implement
1703 (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
1704 Implement.
1705 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1706 Match changes to java side.
1707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1708 Release resources.
1709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1710 Don't use pango for metrics.
1711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1712 New file.
1713
1714 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
1715 Jim Pick <jim@kaffe.org>
1716
1717 * java/text/DecimalFormat.java (getCurrency, setCurrency): New
1718 methods.
1719
1720 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
1721
1722 * java/text/DecimalFormatSymbols.java (getCurrency,
1723 setCurrency): New methods.
1724
1725 2003-11-19 Sascha Brawer <brawer@dandelis.ch>
1726
1727 * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
1728 * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
1729 Describe how the implementation works.
1730
1731 2003-11-19 Michael Koch <konqueror@gmx.de>
1732
1733 * java/net/Socket.java
1734 (implCreated): New variable that indicates created impl.
1735 (getImpl): New method.
1736 (toString): Return more SUN compliant string representation.
1737 (various): Use getImpl() instead of impl.
1738
1739 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
1740
1741 * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
1742 the right libgcc. Add -multiply_defined suppress and -bind_at_load
1743 flags.
1744
1745 2003-11-18 Tom Tromey <tromey@redhat.com>
1746
1747 PR libgcj/13026:
1748 * verify.cc (state::copy): Only set local_changed if we're in a
1749 subroutine. Correctly copy local variables which were modified
1750 by the subroutine.
1751 (push_jump_merge): Added more debugging output.
1752
1753 * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
1754 is null.
1755
1756 2003-11-17 Graydon Hoare <graydon@redhat.com>
1757
1758 * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
1759 * javax/swing/UIDefaults.java: Modify to reflect rewrite.
1760
1761 2003-11-16 Tom Tromey <tromey@redhat.com>
1762
1763 PR libgcj/13062:
1764 * java/io/StreamTokenizer.java (commentChar): Clear other
1765 attributes for character.
1766 (quoteChar): Likewise.
1767
1768 2003-11-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1769
1770 * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
1771 zero-length int arrays when layoutInfo is null.
1772 (getLayoutWeights): Return array of two zero-length double arrays when
1773 layoutInfo is null.
1774
1775 2003-11-13 Tom Tromey <tromey@redhat.com>
1776
1777 * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
1778 JvGetStringUTFRegion.
1779 * java/lang/natPosixProcess.cc (new_string): Pass length of string
1780 to JvGetStringUTFRegion.
1781 * java/lang/natDouble.cc (parseDouble): Pass length of string to
1782 JvGetStringUTFRegion.
1783 * java/lang/natWin32Process.cc (startProcess): Pass length of
1784 string to JvGetStringUTFRegion.
1785 * java/lang/natClass.cc (forName): Pass length of string to
1786 JvGetStringUTFRegion.
1787 * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
1788 of string to JvGetStringUTFRegion.
1789 * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
1790 JvGetStringUTFRegion.
1791 * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
1792 to JvGetStringUTFRegion.
1793 * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
1794 string to JvGetStringUTFRegion.
1795
1796 2003-11-13 Mohan Embar <gnustuff@thisiscool.com>
1797
1798 * gnu/java/nio/natSelectorImplPosix.cc
1799 (helper_put_filedescriptors): Change to static linkage.
1800 (helper_get_filedescriptors): Likewise.
1801
1802 2003-11-12 Thomas Fitzsimmons <fitzsim@redhat.com>
1803
1804 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
1805 null check.
1806 * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
1807 * java/awt/Component.java (prepareImage): Likewise.
1808
1809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
1810 Rename to nativeSetAlignment.
1811
1812 2003-11-11 Danny Smith <dannysmith@users.sourceforge.net>
1813
1814 * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
1815 (JNI_GetCreatedJavaVMs): Likewise.
1816 (JNI_GetDefaultJavaVMInitArgs): Likewise.
1817 * include/jni.h (JNIIMPEXP): Remove definition
1818 and replace with...
1819 (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
1820 symbols,
1821 (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
1822
1823 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
1824
1825 * Makefile.am: Add GdkPixbufDecoder.java and
1826 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1827 * Makefile.in: Regenerate.
1828 * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
1829 New constructor.
1830 (startProduction): Create ByteArrayInputStream when url and filename are
1831 null.
1832 (produce): Declare stream parameter as InputStream.
1833 * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
1834 as InputStream.
1835 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1836 (GdkPixbufDecoder(byte[],int,int)): New constructor.
1837 (produce): Declare stream parameter as InputStream.
1838 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
1839 if image is null. Set image's observer before running PrepareImage
1840 thread. Pass image to startProduction.
1841 * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
1842 source's member functions.
1843 (observer): New field.
1844 (setObserver): New method.
1845 (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
1846 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
1847 new GtkImage.
1848 (prepareImage): Implement.
1849 * java/awt/Component.java: Add static fields incrementalDraw and
1850 redrawRate.
1851 (imageUpdate): Implement.
1852 (createImage): Call Toolkit's createImage if peer is null.
1853 (prepareImage): Throw NPE if image is null.
1854 * java/awt/MediaTracker.java: Fix return value.
1855
1856 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
1857
1858 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
1859 (create(String, float)): New method.
1860 (setText): Make native.
1861 (nativeSetAlignment): New method.
1862 (setAlignment): Call nativeSetAlignment.
1863 (getArgs): Remove method.
1864 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1865 (find_fg_color_widget, find_bg_color_widget): New functions.
1866 (gtkWidgetSetForeground): Call find_fg_color_widget.
1867 (gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and
1868 prelight colors.
1869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
1870 widget in event box.
1871 (setText, setAlignment): Implement new native methods.
1872
1873 2003-11-11 Michael Koch <konqueror@gmx.de>
1874
1875 * java/awt/Font.java,
1876 java/awt/datatransfer/DataFlavor.java,
1877 java/math/BigInteger.java,
1878 java/net/Inet4Address.java,
1879 java/net/Inet6Address.java,
1880 java/rmi/MarshalledObject.java,
1881 java/rmi/server/RMIClassLoader.java,
1882 java/security/cert/CertStore.java,
1883 java/sql/Timestamp.java,
1884 java/text/SimpleDateFormat.java,
1885 javax/naming/CompoundName.java:
1886 Removed some redundant obj == null checks.
1887
1888 2003-11-11 Michael Koch <konqueror@gmx.de>
1889
1890 * java/nio/ByteBuffer.java
1891 (equals): Remove redundant obj == null check.
1892
1893 2003-11-11 Michael Koch <konqueror@gmx.de>
1894
1895 * gnu/java/nio/natPipeImpl.cc,
1896 gnu/java/nio/natSelectorImpl.cc: Removed
1897 * gnu/java/nio/natPipeImplEcos.cc,
1898 gnu/java/nio/natPipeImplPosix.cc,
1899 gnu/java/nio/natPipeImplWin32.cc,
1900 gnu/java/nio/natSelectorImplEcos.cc,
1901 gnu/java/nio/natSelectorImplPosix.cc,
1902 gnu/java/nio/natSelectorImplWin32.cc: New files
1903 * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
1904 gnu/java/nio/natSelectorImpl.cc
1905 * configure: Regenerated.
1906
1907 2003-11-11 Micheal Koch <konqueror@gmx.de>
1908
1909 * java/net/URLStreamHandler.java (toExternalForm): Print port only
1910 if host is printed too and port was really given to URL.
1911
1912 2003-11-10 Gary Benson <gbenson@redhat.com>
1913
1914 * java/sql/Timestamp.java (valueOf): Correctly handle
1915 nanoseconds.
1916
1917 2003-11-09 Tom Tromey <tromey@redhat.com>
1918
1919 * java/net/Inet4Address.java (serialVersionUID): Updated.
1920
1921 2003-11-08 Jeff Sturm <jsturm@one-point.com>
1922
1923 * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
1924 New fields.
1925
1926 2003-11-08 Jeff Sturm <jsturm@one-point.com>
1927
1928 * java/io/ByteArrayOutputStream.java (resize):
1929 Fix off-by-one error.
1930
1931 2003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz>
1932
1933 * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
1934 public.
1935
1936 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
1937
1938 PR libgcj/12231
1939 * java/lang/Win32Process.java (hasExited) Changed from
1940 public to private.
1941 (startProcess): Likewise.
1942 (cleanup): Likewise.
1943 * java/lang/natWin32Process.cc (cleanup) Don't close
1944 input, output and error streams.
1945 (ChildProcessPipe): New helper class.
1946 (startProcess): Refactored to use ChildProcessPipe.
1947 Use CREATE_NO_WINDOW when launching child process.
1948
1949 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
1950
1951 * include/win32.h (_Jv_platform_close_on_exec): Changed
1952 signature and declared extern.
1953 * win32.cc (_Jv_platform_close_on_exec): Implemented.
1954 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
1955 (create): Use new signature of _Jv_platform_close_on_exec.
1956 * gnu/java/net/natPlainSocketImplWin32.cc
1957 (create): Eliminated a few typecasts
1958 Use new signature of _Jv_platform_close_on_exec.
1959 (accept): Eliminated a few typecasts
1960 Use new signature of _Jv_platform_close_on_exec.
1961 * java/io/natFileDescriptorWin32.cc (open): Use
1962 _Jv_platform_close_on_exec.
1963
1964 2003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz>
1965
1966 * java/lang/natClass.cc (newInstance): Throw InstantiationException
1967 if class has no null-argument constructor.
1968
1969 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
1970
1971 PR libgcj/12647:
1972 * win32-threads.cc (_Jv_CondWait): Respect mutex's
1973 refcount when releasing and reacquiring it.
1974
1975 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
1976
1977 * win32.cc: (dirExists) Internal helper function to
1978 test for directory existence.
1979 (getUserHome) New helper function refactored out
1980 of _Jv_platform_initProperties. Uses USERPROFILE
1981 instead of HOMEDIR and attempts to support Win9X and NT.
1982 (_Jv_platform_initProperties) Use getUserHome.
1983
1984 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
1985
1986 PR libgcj/11521:
1987 * gnu/java/net/natPlainSocketImplWin32.cc
1988 (bind): Don't use SO_REUSEADDR
1989
1990 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
1991
1992 PR libgcj/6652:
1993 * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
1994
1995 2003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz>
1996
1997 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
1998 dispatch for final methods.
1999
2000 2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2001
2002 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2003 word wrapping.
2004
2005 2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2006
2007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2008 scrolled window's size request.
2009
2010 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2011
2012 * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2013 * java/awt/geom/QuadCurve2D.java: Likewise.
2014
2015 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2016
2017 * java/awt/geom/CubicCurve2D.java: Added documentation.
2018 * java/awt/geom/QuadCurve2D.java: Likewise.
2019
2020 * java/awt/geom/doc-files/QuadCurve2D-4.png,
2021 java/awt/geom/doc-files/QuadCurve2D-5.png,
2022 java/awt/geom/doc-files/CubicCurve2D-4.png,
2023 java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2024
2025 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2026
2027 * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2028 (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2029 (subdivide(double[],int,double[],int,double[],int)): Implement.
2030
2031 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2032
2033 * java/awt/geom/doc-files/CubicCurve2D-1.png,
2034 java/awt/geom/doc-files/CubicCurve2D-2.png,
2035 java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2036
2037 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
2038
2039 * java/text/DecimalFormat.java
2040 (scanFormat) corrected so that '%' may appear in a pattern.
2041
2042 2003-10-29 Mark Wielaard <mark@klomp.org>
2043
2044 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2045 * java/text/DateFormat.java (Field): New public static inner class.
2046 * java/text/Format.java (Field): Likewise.
2047 (formatToCharacterIterator): New method.
2048 * java/text/FormatCharacterIterator.java: New file.
2049
2050 2003-10-29 Mark Wielaard <mark@klomp.org>
2051
2052 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2053 * java/util/Currency.java: New file.
2054
2055 2003-10-29 Michael Koch <konqueror@gmx.de>
2056
2057 * Makefile.am (ordinary_java_source_files): Added
2058 java/text/FormatCharacterIterator.java and java/util/Currency.java.
2059 * Makefile.in: Regenerated.
2060
2061 2003-10-29 Dalibor Topic <robilad@kaffe.org>
2062
2063 * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2064 static methods.
2065
2066 2003-10-29 Julian Dolby <dolby@us.ibm.com>
2067
2068 * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2069 getObjectInstance() with Object, Name, Context and environment
2070 Hashtable from exception. Call fillInStackTrace() on exception when
2071 rethrown.
2072 * javax/naming/InitialContext.java (lookup(Name)): When a
2073 CannotProceedException is thrown use the ContinuationContext.
2074 (lookup(String)): Likewise.
2075 (close): Clear myProps and defaultInitCtx.
2076
2077 2003-10-29 Michael Koch <konqueror@gmx.de>
2078
2079 * java/net/InetAddress.java
2080 (equals): Remove redundant obj == null check.
2081 * java/net/SocketPermission.java
2082 (equals): Likewise.
2083 * java/net/URL.java
2084 (equals): Likewise.
2085 (getURLStreamHandler): Likewise.
2086
2087 2003-10-29 Michael Koch <konqueror@gmx.de>
2088
2089 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2090 (setOption): Directly return if no error occured.
2091 * gnu/java/net/natPlainSocketImplPosix.cc
2092 (setOption): Likewise.
2093
2094 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2095
2096 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2097 vtable slot for final methods. Add FIXME comment.
2098
2099 2003-10-28 David S. Miller <davem@redhat.com>
2100
2101 * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2102
2103 2003-10-26 Mark Wielaard <mark@klomp.org>
2104
2105 Reported by Helmer Kraemer <hkraemer@freenet.de>
2106 * java/util/jar/JarInputStream.java (readManifest): Don't call
2107 closeEntry().
2108
2109 * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2110 (finish): Use inbufWrite().
2111 (write(int)): Likewise.
2112 (write(byte[],int,int)): Likewise.
2113
2114 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2115
2116 * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2117 Don't check for AccessibleObject. Update javadocs.
2118
2119 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2120
2121 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2122
2123 * java/lang/reflect/Constructor.java (toString): Avoid extra
2124 whitespace on constructor with no modifiers.
2125 * java/lang/reflect/natConstructor.java (newInstance): Look up
2126 caller and perform accessibility check only if constructor is
2127 non-public and accessible flag is not set.
2128
2129 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2130
2131 * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2132 _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2133 use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
2134 is_virtual_call argument.
2135 * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
2136 natClass.cc.
2137 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
2138 _Jv_isVirtualMethod.
2139 * java/lang/reflect/natMethod.cc (invoke): Don't use
2140 _Jv_LookupDeclaredMethod.
2141 (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2142 look up method in target object's vtable.
2143
2144 2003-10-25 Graydon Hoare <graydon@redhat.com>
2145
2146 * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2147 * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2148 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2149 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2150 New concrete implementation of ClasspathFontPeer, with native part.
2151 * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2152 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2153 New class, with native part.
2154 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2155 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2156 implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2157
2158 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2159
2160 * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2161 on method with no modifiers.
2162
2163 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2164
2165 PR libgcj/11780:
2166 * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2167 accessibility check only if target is non-public and accessible flag
2168 is not set.
2169 * java/lang/reflect/natField.cc (getAddr): Likewise.
2170
2171 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2172
2173 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2174 Remove method.
2175 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2176 New method.
2177 * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2178 show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2179 (dispose): Post WINDOW_CLOSED event.
2180 (addWindowFocusListener, addWindowStateListener): Assign result
2181 of multicaster add back to window listener.
2182 (removeWindowFocusListener, removeWindowStateListener): Assign
2183 result of multicaster remove back to window listener.
2184 (dispatchEventImpl): Add null checks for focus and state
2185 listeners.
2186 (processWindowEvent): Handle case where windowListener is null
2187 but state or focus listeners exist.
2188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2189 glue for postWindowEvent.
2190 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2191 (window_delete_cb, window_destroy_cb, window_show_cb,
2192 window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2193 window_get_new_state): New functions.
2194 * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2195 macros. Declare postWindowEventID.
2196
2197 2003-10-24 Anthony Green <green@redhat.com>
2198
2199 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2200 we have no interpreter.
2201
2202 2003-10-22 Andrew Haley <aph@redhat.com>
2203
2204 * java/lang/natClass.cc (initializeClass): Call
2205 _Jv_linkExceptionClassTable.
2206 (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
2207 _Jv_Defer_Resolution on a method whose ncode is NULL.
2208 (_Jv_linkExceptionClassTable): New function.
2209 (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2210 entry, look it up.
2211 * java/lang/Class.h (struct _Jv_CatchClass): New.
2212 (_Jv_linkExceptionClassTable): New friend.
2213 (_Jv_Defer_Resolution): New friend.
2214 (class Class.catch_classes): New field.
2215 * include/java-interp.h (Jv_Defer_Resolution): New method.
2216 (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2217 (_Jv_MethodBase.deferred): New field.
2218 (_Jv_Defer_Resolution): New function.
2219 * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2220 * exception.cc (get_ttype_entry): Change return type to void**.
2221 (PERSONALITY_FUNCTION): Remove all code related to using a
2222 Utf8Const* for a match type. Change match type to be a pointer to
2223 a pointer, rather than a pointer to a Class.
2224 * defineclass.cc (handleCodeAttribute): Initialize
2225 method->deferred.
2226 (handleMethodsEnd): Likewise.
2227
2228 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2229
2230 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2231 _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2232
2233 2003-10-22 Tom Tromey <tromey@redhat.com>
2234
2235 PR libgcj/12416:
2236 * java/lang/Class.h: Updated.
2237 * java/lang/natClass.cc (_getFields): Removed.
2238 (getFields): Likewise.
2239 (getDeclaredFields): Added `public_only' parameter.
2240 * java/lang/Class.java (getFields): Now implemented in java; from
2241 Classpath.
2242 (getDeclaredFields): Likewise.
2243 (getDeclaredFields(boolean)): Declare.
2244 (_getFields): Removed.
2245 (internalGetFields): New method, from Classpath.
2246
2247 PR libgcj/12656:
2248 * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2249 _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2250
2251 2003-10-22 David Daney <ddaney@avtrex.com)
2252
2253 * include/mips-signal.h: New file.
2254 * sysdep/dwarf2-backtrace.cc: New file.
2255 * sysdep/mips: New directory.
2256 * sysdep/mips/locks.h: New file.
2257 * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2258 added to libgcj.
2259 (extra_cc_source_files): Ditto.
2260 * configure.host(disable_dladdr): New shell variable passed to
2261 configure.
2262 (mips*-*-linux*): sysdeps_dir=mips,
2263 can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2264 (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2265 * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2266 generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2267 (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2268 (EXTRA_CC_FILES): New, to support conditional addition of
2269 sysdep/dwarf2-backtrace.cc.
2270 * configure: Regenerated.
2271 * Makefile.in: Regenerated.
2272 * gcj/Makefile.in: Regenerated.
2273 * include/config.h.in: Regenerated.
2274 * include/Makefile.in: Regenerated.
2275 * testsuite/Makefile.in: Regenerated.
2276
2277 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2278
2279 * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2280 java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2281
2282 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2283
2284 * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2285 * java/awt/geom/doc-files: New directory.
2286 * java/awt/geom/doc-files/QuadCurve2D-1.png,
2287 java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2288
2289 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2290
2291 * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2292
2293 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2294
2295 * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2296
2297 2003-10-22 Michael Koch <konqueror@gmx.de>
2298
2299 * java/io/File.java
2300 (equals): Removed redundant obj == null check.
2301 (createTempFile): Merged comments from classpath.
2302
2303 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2304
2305 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2306 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2307 (error): Synchronize on instance, not class.
2308
2309 2003-10-21 Mark Wielaard <mark@klomp.org>
2310
2311 Reported by M.Negovanovic
2312 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2313 method.
2314 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2315
2316 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2317
2318 Fix for Classpath bug #6076.
2319 * java/awt/geom/GeneralPath.java (append): Re-written.
2320
2321 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2322
2323 Fix for Classpath bug #6089.
2324 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2325 (getPathIterator, GeneralPathIterator): Re-written from scratch.
2326
2327 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2328
2329 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2330 point, not start of subpath. Fixes Classpath bug #6075.
2331
2332 2003-10-21 Michael Koch <konqueror@gmx.de>
2333
2334 * java/nio/ByteOrder.java,
2335 java/nio/DirectByteBufferImpl.java,
2336 java/nio/channels/FileChannelImpl.java:
2337 Add code to load library with code for native methods if needed.
2338
2339 2003-10-21 Michael Koch <konqueror@gmx.de>
2340
2341 * gnu/java/net/PlainDatagramSocketImpl.java,
2342 gnu/java/net/PlainSocketImpl.java,
2343 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2344 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2345 gnu/java/net/natPlainSocketImplPosix.cc,
2346 gnu/java/net/natPlainSocketImplWin32.cc:
2347 Renamed fnum to native_fd to match classpath more.
2348
2349 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
2350
2351 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2352 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2353 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2354 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2355 _Jv_PthreadCheckMonitor. Simplify code.
2356 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2357 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2358 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2359 * java/lang/Thread.java (holdsLock): New.
2360 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2361 without JV_HASH_SYNCHRONIZATION.
2362 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2363
2364 2003-10-20 Michael Koch <konqueror@gmx.de>
2365
2366 * java/text/RuleBasedCollator.java
2367 (RuleBasedCollator): Check rules not empty, fixed search in already
2368 existing collation elements.
2369 (is_special): Removed common whitespace characters.
2370 (text_argument): Dont return on whitespaces, add characters between
2371 two ' to string buffer.
2372
2373 2003-10-18 Michael Koch <konqueror@gmx.de>
2374
2375 * gnu/java/net/protocol/file/Connection.java,
2376 gnu/java/net/protocol/file/Handler.java,
2377 gnu/java/net/protocol/http/Connection.java,
2378 gnu/java/net/protocol/http/Handler.java,
2379 gnu/java/net/protocol/jar/Connection.java,
2380 gnu/java/net/protocol/jar/Handler.java:
2381 Merged copyright text from classpath to make
2382 it possible to merge the classes.
2383
2384 2003-10-18 Mark Wielaard <mark@klomp.org>
2385
2386 Reported by M.Negovanovic
2387 * java/beans/IndexedPropertyDescriptor.java
2388 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2389
2390 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
2391
2392 * win32.cc (_Jv_pipe): Implemented.
2393 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2394 _Jv_pipe instead of ::pipe.
2395 * include/posix.h (_Jv_pipe): New inline.
2396 * include/win32.h (_Jv_pipe): New declaration.
2397
2398 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
2399
2400 * java/lang/StringBuffer.java (getChars): Fix array index checks.
2401 (append, substring, insert): Likewise.
2402 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2403 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2404
2405 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
2406
2407 * java/lang/natString.cc (getChars):
2408 Fix validation of array indexes.
2409 (getBytes, regionMatches, startsWith, valueOf): Likewise.
2410 * testsuite/libjava.lang/String_overflow.java: New file.
2411 * testsuite/libjava.lang/String_overflow.out: New file.
2412
2413 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
2414
2415 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2416 overflow a jint.
2417 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2418 check for overflowing size_t, since the lower level functions
2419 take a jint.
2420 * testsuite/libjava.lang/newarray_overflow.java: New file.
2421 * testsuite/libjava.lang/newarray_overflow.out: New file.
2422
2423 2003-10-15 Michael Koch <konqueror@gmx.de>
2424
2425 * java/text/RuleBasedCollator.java
2426 (RuleBasedCollator): Moved around, documentation added.
2427 (compare): Documentation added.
2428 (equals): Likewise.
2429 (getCollationElementIterator): Likewise.
2430 (getCollationKey): Likewise.
2431 (getRules): Likewise.
2432 (hashCode): Likewise.
2433
2434 2003-10-15 Michael Koch <konqueror@gmx.de>
2435
2436 * java/text/RuleBasedCollator.java
2437 (CollationElement): Renamed from RBCElement and moved into
2438 RuledBasedCollator as inner class.
2439
2440 2003-10-15 Michael Koch <konqueror@gmx.de>
2441
2442 * java/text/CollationElementIterator.java
2443 (CollationElementIterator): Moved, documenatation added, call setText.
2444 (next): Reformated.
2445 (reset): Reformated.
2446 (setText): New method.
2447 (getOffset): New method.
2448 * java/text/CollationKey.java
2449 (getSourceString): Reformated.
2450 (hashCode): Reformated.
2451 (toByteArray): Reformated.
2452
2453 2003-10-15 Michael Koch <konqueror@gmx.de>
2454
2455 * java/util/zip/InflaterInputStream.java
2456 (InflaterInputStream): Renamed infl to inf and bufsize to size,
2457 added description to exception, check for inf == null and size < 0.
2458
2459 2003-10-15 Michael Koch <konqueror@gmx.de>
2460
2461 * java/text/AttributedCharacterIterator.java,
2462 java/text/CharacterIterator.java: Reformated.
2463
2464 2003-10-15 Michael Koch <konqueror@gmx.de>
2465
2466 * javax/swing/UIDefaults.java (putDefaults):
2467 Readded accidently removed "public" modifier.
2468
2469 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
2470
2471 * interpret.cc (_Jv_InterpMethod::run): Don't
2472 use libffi types, they were meant to be internal.
2473 * gcj/javaprims.h (_Jv_ulong): New typedef.
2474
2475 2003-10-13 Tom Tromey <tromey@redhat.com>
2476
2477 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2478 (defineClass): Updated.
2479 (_Jv_NewClass): Likewise.
2480 * prims.cc (_Jv_InitPrimClass): Don't call
2481 _Jv_InitNewClassFields.
2482
2483 2003-10-13 Taras Glek <taras.judge@shaw.ca>
2484
2485 PR libgcj/12592
2486 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
2487 not just \n.
2488
2489 2003-10-13 Michael Koch <konqueror@gmx.de>
2490
2491 * java/io/File.java: Reformated.
2492 (equals): Check for obj == null.
2493
2494 2003-10-13 Michael Koch <konqueror@gmx.de>
2495
2496 * java/net/JarURLConnection.java
2497 (jarFileURL): Added dcoumentation.
2498 (jarFileURLConnection): Reformated documentation.
2499 (entryName): Renamed from "element", documentation rewritten.
2500 (connectionCache): Renamed from "conn_cache", documentation
2501 reformated.
2502 (JarURLConnection): Check URL protocol.
2503 (getEntryName): Use entryName.
2504 (connect): Use connectionCache.
2505 (getInputStream): Use entryName, fixed comment.
2506 (getJarEntry): Use entryName.
2507 (getHeaders): Use entryName.
2508 * java/net/URLConnection.java
2509 (addRequestProperty): Fixed documentation.
2510 (setDefaultRequestProptery): Added comment that it does nothing since
2511 JDK 1.3.
2512 (getDefaultRequestProperty): Likewise.
2513
2514 2003-10-13 Michael Koch <konqueror@gmx.de>
2515
2516 * java/net/java/net/URLStreamHandlerFactory.java
2517 (createURLStreamHandler): Removed redundant "public" modifier.
2518 * java/sql/DatabaseMetaData.java:
2519 (DatabaseMetaData): Readded accidently removed "public" modifier.
2520 * java/sql/ParameterMetaData.java:
2521 (ParameterMetaData): Readded accidently removed "public" modifier.
2522 * java/sql/PreparedStatement.java:
2523 (PreparedStatement): Readded accidently removed "public" modifier.
2524 * java/sql/Ref.java:
2525 (Ref): Readded accidently removed "public" modifier.
2526
2527 2003-10-13 Michael Koch <konqueror@gmx.de>
2528
2529 * java/nio/Buffer.java
2530 (hasRemaining): Made implementation more clear.
2531 * java/nio/MappedByteBuffer.java
2532 (loaded): New member variable.
2533 (force): Added comment.
2534 (isLoaded): Return value of loaded.
2535 (load): Set loaded to true, added comment.
2536
2537 2003-10-12 Michael Koch <konqueror@gmx.de>
2538
2539 * gnu/java/nio/PipeImpl.java
2540 (SourceChannelImpl): New inner class.
2541 (SinkChannelImpl): New inner class.
2542 (sink): New member variable.
2543 (source): New member variable.
2544 (PipeImpl): Add SelectorProvider argument, implemented.
2545 (nativeInit): New method.
2546 (sink): Return sink channel.
2547 (source): Return source channel.
2548 * gnu/java/nio/SelectorProviderImpl.java
2549 (openPipe): Give provider as argument to PipeImpl constructor.
2550 * java/nio/channels/spi/SelectorProvider.java
2551 (pr): Removed.
2552 (systemDefaultProvider): New member variable.
2553 (provider): Made it synchronized, use property
2554 java.nio.channels.spi.SelectorProvider.
2555 * gnu/java/nio/natPipeImpl.cc: New file.
2556 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
2557 * Makefile.in: Regenerated.
2558
2559 2003-10-12 Michael Koch <konqueror@gmx.de>
2560
2561 * javax/swing/table/DefaultTableModel.java,
2562 javax/swing/table/TableCellEditor.java,
2563 javax/swing/table/TableCellRenderer.java,
2564 javax/swing/table/TableColumnModel.java,
2565 javax/swing/table/TableModel.java,
2566 javax/swing/text/AbstractDocument.java,
2567 javax/swing/text/Document.java,
2568 javax/swing/text/MutableAttributeSet.java,
2569 javax/swing/text/StyledDocument.java,
2570 javax/swing/text/ViewFactory.java,
2571 javax/swing/tree/DefaultMutableTreeNode.java,
2572 javax/swing/tree/MutableTreeNode.java,
2573 javax/swing/tree/RowMapper.java,
2574 javax/swing/tree/TreeCellEditor.java,
2575 javax/swing/tree/TreeCellRenderer.java,
2576 javax/swing/tree/TreeModel.java,
2577 javax/swing/tree/TreeNode.java,
2578 javax/swing/tree/TreeSelectionModel.java,
2579 javax/swing/undo/StateEditable.java,
2580 javax/swing/undo/UndoableEdit.java:
2581 Removed redundant modifiers.
2582
2583 2003-10-12 Michael Koch <konqueror@gmx.de>
2584
2585 * javax/swing/event/AncestorListener.java,
2586 javax/swing/event/CaretListener.java,
2587 javax/swing/event/CellEditorListener.java,
2588 javax/swing/event/ChangeListener.java,
2589 javax/swing/event/DocumentEvent.java,
2590 javax/swing/event/DocumentListener.java,
2591 javax/swing/event/HyperlinkListener.java,
2592 javax/swing/event/InternalFrameListener.java,
2593 javax/swing/event/ListDataListener.java,
2594 javax/swing/event/ListSelectionListener.java,
2595 javax/swing/event/MenuDragMouseListener.java,
2596 javax/swing/event/MenuKeyListener.java,
2597 javax/swing/event/MenuListener.java,
2598 javax/swing/event/MouseInputListener.java,
2599 javax/swing/event/PopupMenuListener.java,
2600 javax/swing/event/TableColumnModelListener.java,
2601 javax/swing/event/TableModelListener.java,
2602 javax/swing/event/TreeExpansionListener.java,
2603 javax/swing/event/TreeModelListener.java,
2604 javax/swing/event/TreeSelectionListener.java,
2605 javax/swing/event/TreeWillExpandListener.java,
2606 javax/swing/event/UndoableEditListener.java,
2607 javax/swing/plaf/UIResource.java,
2608 javax/swing/plaf/metal/MetalLookAndFeel.java:
2609 Removed redundant modifiers.
2610
2611 2003-10-12 Michael Koch <konqueror@gmx.de>
2612
2613 * javax/swing/Action.java,
2614 javax/swing/BoundedRangeModel.java,
2615 javax/swing/CellEditor.java,
2616 javax/swing/ComboBoxEditor.java,
2617 javax/swing/ComboBoxModel.java,
2618 javax/swing/DesktopManager.java,
2619 javax/swing/JComboBox.java,
2620 javax/swing/ListCellRenderer.java,
2621 javax/swing/ListSelectionModel.java,
2622 javax/swing/MenuElement.java,
2623 javax/swing/MutableComboBoxModel.java,
2624 javax/swing/Renderer.java,
2625 javax/swing/RootPaneContainer.java,
2626 javax/swing/ScrollPaneConstants.java,
2627 javax/swing/SingleSelectionModel.java,
2628 javax/swing/SpinnerModel.java,
2629 javax/swing/SwingConstants.java,
2630 javax/swing/UIDefaults.java,
2631 javax/swing/WindowConstants.java,
2632 javax/swing/border/Border.java,
2633 javax/swing/colorchooser/ColorSelectionModel.java:
2634 Removed redundant modifiers.
2635
2636 2003-10-11 Michael Koch <konqueror@gmx.de>
2637
2638 * javax/transaction/Status.java,
2639 javax/transaction/Synchronization.java,
2640 javax/transaction/Transaction.java,
2641 javax/transaction/TransactionManager.java,
2642 javax/transaction/UserTransaction.java,
2643 javax/transaction/xa/XAResource.java,
2644 javax/transaction/xa/Xid.java:
2645 Removing redundant modifiers.
2646
2647 2003-10-11 Michael Koch <konqueror@gmx.de>
2648
2649 * javax/print/attribute/Attribute.java,
2650 javax/print/attribute/AttributeSet.java,
2651 javax/print/attribute/PrintRequestAttributeSet.java:
2652 Removing redundant modifiers.
2653
2654 2003-10-11 Michael Koch <konqueror@gmx.de>
2655
2656 * javax/sql/ConnectionEventListener.java,
2657 javax/sql/ConnectionPoolDataSource.java,
2658 javax/sql/DataSource.java,
2659 javax/sql/PooledConnection.java,
2660 javax/sql/RowSet.java,
2661 javax/sql/RowSetInternal.java,
2662 javax/sql/RowSetListener.java,
2663 javax/sql/RowSetMetaData.java,
2664 javax/sql/RowSetReader.java,
2665 javax/sql/RowSetWriter.java,
2666 javax/sql/XAConnection.java,
2667 javax/sql/XADataSource.java:
2668 Removing redundant modifiers.
2669
2670 2003-10-11 Michael Koch <konqueror@gmx.de>
2671
2672 * javax/naming/Context.java,
2673 javax/naming/Name.java,
2674 javax/naming/NameParser.java,
2675 javax/naming/NamingEnumeration.java,
2676 javax/naming/Referenceable.java,
2677 javax/naming/directory/Attribute.java,
2678 javax/naming/directory/Attributes.java,
2679 javax/naming/directory/DirContext.java,
2680 javax/naming/event/EventContext.java,
2681 javax/naming/event/EventDirContext.java,
2682 javax/naming/event/NamespaceChangeListener.java,
2683 javax/naming/event/NamingListener.java,
2684 javax/naming/event/ObjectChangeListener.java,
2685 javax/naming/ldap/Control.java,
2686 javax/naming/ldap/ExtendedRequest.java,
2687 javax/naming/ldap/ExtendedResponse.java,
2688 javax/naming/ldap/HasControls.java,
2689 javax/naming/ldap/LdapContext.java,
2690 javax/naming/ldap/UnsolicitedNotification.java,
2691 javax/naming/ldap/UnsolicitedNotificationListener.java,
2692 javax/naming/spi/DirObjectFactory.java,
2693 javax/naming/spi/DirStateFactory.java,
2694 javax/naming/spi/InitialContextFactory.java,
2695 javax/naming/spi/InitialContextFactoryBuilder.java,
2696 javax/naming/spi/ObjectFactory.java,
2697 javax/naming/spi/ObjectFactoryBuilder.java,
2698 javax/naming/spi/Resolver.java,
2699 javax/naming/spi/StateFactory.java:
2700 Removing redundant modifiers.
2701
2702 2003-10-11 Michael Koch <konqueror@gmx.de>
2703
2704 * java/security/Key.java,
2705 * java/security/PrivateKey.java,
2706 * java/security/PublicKey.java,
2707 * java/security/acl/Acl.java,
2708 * java/security/acl/AclEntry.java,
2709 * java/security/acl/Group.java,
2710 * java/security/acl/Owner.java,
2711 * java/security/acl/Permission.java,
2712 * java/security/cert/X509Extension.java,
2713 * java/security/interfaces/DSAKey.java,
2714 * java/security/interfaces/DSAKeyPairGenerator.java,
2715 * java/security/interfaces/DSAParams.java,
2716 * java/security/interfaces/DSAPrivateKey.java,
2717 * java/security/interfaces/DSAPublicKey.java,
2718 * java/security/interfaces/RSAKey.java,
2719 * java/security/interfaces/RSAPrivateCrtKey.java,
2720 * java/security/interfaces/RSAPrivateKey.java,
2721 * java/security/interfaces/RSAPublicKey.java:
2722 Removed redundant modifiers.
2723
2724 2003-10-11 Michael Koch <konqueror@gmx.de>
2725
2726 * gnu/java/rmi/server/ProtocolConstants.java,
2727 gnu/java/security/der/DER.java:
2728 Removing redundant modifiers.
2729
2730 2003-10-11 Michael Koch <konqueror@gmx.de>
2731
2732 * java/util/Map.java,
2733 java/util/Observer.java,
2734 java/util/zip/Checksum.java,
2735 java/util/zip/ZipConstants.java:
2736 Removed redundant modifiers.
2737
2738 2003-10-11 Michael Koch <konqueror@gmx.de>
2739
2740 * java/text/AttributedCharacterIterator.java,
2741 java/text/CharacterIterator.java:
2742 Removed redundant modifiers.
2743
2744 2003-10-11 Michael Koch <konqueror@gmx.de>
2745
2746 * java/sql/Array.java,
2747 java/sql/Blob.java,
2748 java/sql/CallableStatement.java,
2749 java/sql/Clob.java,
2750 java/sql/Connection.java,
2751 java/sql/DatabaseMetaData.java,
2752 java/sql/Driver.java,
2753 java/sql/ParameterMetaData.java,
2754 java/sql/PreparedStatement.java,
2755 java/sql/Ref.java,
2756 java/sql/ResultSet.java,
2757 java/sql/ResultSetMetaData.java,
2758 java/sql/SQLData.java,
2759 java/sql/SQLInput.java,
2760 java/sql/SQLOutput.java,
2761 java/sql/Savepoint.java,
2762 java/sql/Statement.java,
2763 java/sql/Struct.java:
2764 Removed redundant modifiers.
2765
2766 2003-10-11 Michael Koch <konqueror@gmx.de>
2767
2768 * java/nio/channels/Channel.java,
2769 java/nio/channels/GatheringByteChannel.java,
2770 java/nio/channels/ReadableByteChannel.java,
2771 java/nio/channels/ScatteringByteChannel.java,
2772 java/nio/channels/WritableByteChannel.java:
2773 Removed redundant modifiers.
2774
2775 2003-10-11 Michael Koch <konqueror@gmx.de>
2776
2777 * java/rmi/activation/ActivationInstantiator.java,
2778 java/rmi/activation/ActivationMonitor.java,
2779 java/rmi/activation/ActivationSystem.java,
2780 java/rmi/activation/Activator.java,
2781 java/rmi/dgc/DGC.java,
2782 java/rmi/registry/Registry.java,
2783 java/rmi/registry/RegistryHandler.java,
2784 java/rmi/server/LoaderHandler.java,
2785 java/rmi/server/RMIClientSocketFactory.java,
2786 java/rmi/server/RMIFailureHandler.java,
2787 java/rmi/server/RMIServerSocketFactory.java,
2788 java/rmi/server/RemoteCall.java,
2789 java/rmi/server/RemoteRef.java,
2790 java/rmi/server/ServerRef.java,
2791 java/rmi/server/Skeleton.java,
2792 java/rmi/server/Unreferenced.java:
2793 Removed redundant modifiers.
2794
2795 2003-10-11 Michael Koch <konqueror@gmx.de>
2796
2797 * java/net/ContentHandlerFactory.java,
2798 java/net/DatagramSocketImplFactory.java,
2799 java/net/FileNameMap.java,
2800 java/net/SocketImplFactory.java,
2801 java/net/SocketOptions.java,
2802 java/net/URLStreamHandlerFactory.java:
2803 Removed redundant modifiers.
2804
2805 2003-10-11 Michael Koch <konqueror@gmx.de>
2806
2807 * java/io/Externalizable.java,
2808 java/io/FileFilter.java,
2809 java/io/FilePermission.java,
2810 java/io/ObjectInput.java,
2811 java/io/ObjectInputValidation.java,
2812 java/io/ObjectOutput.java,
2813 java/io/ObjectStreamClass.java,
2814 java/io/ObjectStreamConstants.java,
2815 java/io/Serializable.java:
2816 Removed redundant modifiers.
2817
2818 2003-10-11 Ingo Proetel <proetel@aicas.com>
2819
2820 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
2821 codebase and context classloader.
2822
2823 2003-10-11 Michael Koch <konqueror@gmx.de>
2824
2825 * java/beans/beancontext/BeanContext.java,
2826 java/beans/beancontext/BeanContextChild.java,
2827 java/beans/beancontext/BeanContextChildComponentProxy.java,
2828 java/beans/beancontext/BeanContextChildSupport.java,
2829 java/beans/beancontext/BeanContextContainerProxy.java,
2830 java/beans/beancontext/BeanContextMembershipListener.java,
2831 java/beans/beancontext/BeanContextProxy.java,
2832 java/beans/beancontext/BeanContextServiceProvider.java,
2833 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
2834 java/beans/beancontext/BeanContextServiceRevokedListener.java,
2835 java/beans/beancontext/BeanContextServices.java,
2836 java/beans/beancontext/BeanContextServicesListener.java:
2837 Removed redundant modifiers.
2838
2839 2003-10-11 Michael Koch <konqueror@gmx.de>
2840
2841 * java/beans/AppletInitializer.java,
2842 java/beans/BeanInfo.java,
2843 java/beans/Customizer.java,
2844 java/beans/DesignMode.java,
2845 java/beans/PropertyEditor.java,
2846 java/beans/Visibility.java:
2847 Removed redundant modifiers.
2848
2849 2003-10-11 Michael Koch <konqueror@gmx.de>
2850
2851 * java/awt/print/Pageable.java,
2852 * java/awt/print/Printable.java,
2853 java/awt/print/PrinterGraphics.java:
2854 Removed redundant modifiers.
2855
2856 2003-10-11 Michael Koch <konqueror@gmx.de>
2857
2858 * java/awt/peer/ButtonPeer.java,
2859 java/awt/peer/CheckboxMenuItemPeer.java,
2860 java/awt/peer/CheckboxPeer.java,
2861 java/awt/peer/ChoicePeer.java,
2862 java/awt/peer/ComponentPeer.java,
2863 java/awt/peer/ContainerPeer.java,
2864 java/awt/peer/DialogPeer.java,
2865 java/awt/peer/FileDialogPeer.java,
2866 java/awt/peer/FramePeer.java,
2867 java/awt/peer/LabelPeer.java,
2868 java/awt/peer/ListPeer.java,
2869 java/awt/peer/MenuBarPeer.java,
2870 java/awt/peer/MenuComponentPeer.java,
2871 java/awt/peer/MenuItemPeer.java,
2872 java/awt/peer/MenuPeer.java,
2873 java/awt/peer/PopupMenuPeer.java,
2874 java/awt/peer/RobotPeer.java,
2875 java/awt/peer/ScrollPanePeer.java,
2876 java/awt/peer/ScrollbarPeer.java,
2877 java/awt/peer/TextAreaPeer.java,
2878 java/awt/peer/TextComponentPeer.java,
2879 java/awt/peer/TextFieldPeer.java,
2880 java/awt/peer/WindowPeer.java:
2881 Removed redundant modifiers.
2882
2883 2003-10-11 Michael Koch <konqueror@gmx.de>
2884
2885 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
2886 * gnu/java/nio/ServerSocketChannelImpl.java
2887 (serverSocket): Made it a NIOServerSocket.
2888 (impl): Removed.
2889 (ServerSocketChannelImpl): Initialize only serverSocket.
2890 (initServerSocket): Removed.
2891 (getNativeFD): Rewritten.
2892 (implConfigureBlocking): Set socket timeout and removed comment.
2893 (accept): Rewritten.
2894 * gnu/java/nio/SocketChannelImpl.java
2895 (impl): New variable.
2896 (connected): Removed.
2897 (SocketChannelImpl): Initialize impl too.
2898 (getImpl): New method.
2899 (isConnected): Rewritten.
2900 (read): Rewritten, set position in buffer correctly.
2901 (write): Set position in buffer correctly.
2902 * java/net/ServerSocket.java (getImpl): New method.
2903 * gnu/java/nio/NIOServerSocket.java,
2904 gnu/java/nio/natNIOServerSocket.cc: New files.
2905 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2906 * Makefile.am
2907 (ordinary_java_source_files):
2908 Added gnu/java/nio/NIOServerSocket.java.
2909 (nat_source_files):
2910 Removed gnu/java/nio/natServerSocketChannelImpl.cc
2911 and added gnu/java/nio/natNIOServerSocket.cc.
2912 * Makefile.in: Regenerated.
2913
2914 2003-10-11 Michael Koch <konqueror@gmx.de>
2915
2916 * java/awt/ActiveEvent.java,
2917 java/awt/datatransfer/ClipboardOwner.java,
2918 java/awt/datatransfer/FlavorMap.java,
2919 java/awt/datatransfer/Transferable.java,
2920 java/awt/dnd/Autoscroll.java,
2921 java/awt/dnd/peer/DragSourceContextPeer.java,
2922 java/awt/dnd/peer/DropTargetContextPeer.java,
2923 java/awt/dnd/peer/DropTargetPeer.java,
2924 java/awt/font/MultipleMaster.java,
2925 java/awt/font/OpenType.java,
2926 java/awt/im/spi/InputMethodDescriptor.java,
2927 java/awt/image/ImageObserver.java,
2928 java/awt/image/ImageConsumer.java,
2929 java/awt/image/ImageProducer.java,
2930 java/awt/image/RGBImageFilter.java,
2931 java/awt/image/RasterOp.java,
2932 java/awt/image/renderable/RenderableImage.java:
2933 Removed redundant modifiers.
2934
2935 2003-10-11 Michael Koch <konqueror@gmx.de>
2936
2937 * gnu/awt/j2d/DirectRasterGraphics.java,
2938 gnu/java/awt/EmbeddedWindowSupport.java:
2939 Removed redundant modifiers.
2940
2941 2003-10-09 Michael Koch <konqueror@gmx.de>
2942
2943 * gnu/java/nio/SelectorImpl.java (register):
2944 Use ServerSocketChannelSelectionKey for server socket channels,
2945 removed unneeded comments.
2946 * gnu/java/nio/ServerSocketChannelImpl.java
2947 (ServerSocketChannelImpl): Made class public final.
2948 (impl): New member variable.
2949 (ServerSocketChannelImpl): Initialize member variables correctly.
2950 (initServerSocket): New method.
2951 (getNativeFD): Likewise.
2952 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
2953 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
2954 * Makefile.am (ordinary_java_source_files):
2955 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
2956 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
2957 * Makefile.in: Regenrated.
2958
2959 2003-10-09 Michael Koch <konqueror@gmx.de>
2960
2961 * java/nio/channels/spi/AbstractSelectableChannel.java
2962 (registered): Made private.
2963 (blocking): Likewise.
2964 (LOCK): Likewise.
2965 (provider): Likewise.
2966 (keys): Made it a private LinkedList.
2967 (AbstractSelectableChannel): Initialize keys.
2968 (isRegistered): New implementation.
2969 (locate): Rewritten.
2970 (register): Rewritten.
2971 * java/nio/channels/spi/AbstractSelectionKey.java
2972 (ok): Removed.
2973 (cancelled): New member variable.
2974 (cancel): Rewritten.
2975 (isValid): Rewritten.
2976 * java/nio/channels/spi/AbstractSelector.java:
2977 Some methods moved.
2978 (closed): Make private.
2979 (provider): Likewise.
2980 (cancelledKeys): New member variable.
2981 (AbstractSelector): Initialize cancelledKeys.
2982 (cancelKey): New method.
2983
2984 2003-10-09 Tom Tromey <tromey@redhat.com>
2985
2986 * java/lang/ClassLoader.java (setSigners): Implemented.
2987 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
2988 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
2989 Initialize new fields.
2990 * java/lang/Class.java (getSigners): Now native.
2991 (setSigners): Declare.
2992 * java/lang/natClass.cc (getSigners): New method.
2993 (getSigners): Likewise.
2994 * java/lang/Class.h (Class::signers): New field.
2995 (Class::setSigners): New method.
2996
2997 2003-10-09 Michael Koch <konqueror@gmx.de>
2998
2999 * java/rmi/server/RMIClassLoader.java:
3000 Removed unused imports, little reformatings.
3001 (getClassLoader): New method, implementation was part of old loadCLass
3002 method.
3003 (loadClass): Simplified by moving functionality to new method and
3004 reworking the code a bit.
3005 (getClassAnnotation): Merged documentation from classpath.
3006
3007 2003-10-09 Michael Koch <konqueror@gmx.de>
3008
3009 * java/math/BigInteger.java
3010 (add): Removed unused local variable len.
3011
3012 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3013
3014 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3015 modality check.
3016 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3017 Initialize insets to use latest insets.
3018 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3019 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3020 field.
3021 (postConfigureEvent): Update latestInsets field when insets
3022 change. Remove call to setSize. Move validate call outside of
3023 if blocks.
3024 (setVisible): Call setBounds before showing window.
3025 (nativeSetVisible): New native method.
3026 * java/awt/Window.java (show): Show visible owned windows.
3027 (hide): Hide visible owned windows.
3028 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3029 (awt_event_handler): Implement modality using GTK grabs.
3030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3031 (global_gtk_window_group): New global variable.
3032 (gtkInit): Initialize global_gtk_window_group.
3033 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3034 Clamp width and height values to at least 1. Add this window to
3035 the global GTK window group.
3036 (setVisible): Rename to nativeSetVisible.
3037 (setup_window): Remove function.
3038 (setSize): Clamp width and height values to at least 1.
3039 (nativeSetBounds): Likewise.
3040 (gdk_window_get_root_geometry): Remove function.
3041 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3042 and setup_window declarations. Declare global_gtk_window_group.
3043
3044 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3045 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3046 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3047 (gtkWidgetSetForeground): New method.
3048 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3049 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3050 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3051 (setBackground, setForeground): Implement.
3052 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3053 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3054 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3055 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3056 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3058 Position PangoLayout relative to text's baseline.
3059 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3060
3061 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3062 for CENTER and RIGHT alignments.
3063
3064 2003-10-08 Michael Koch <konqueror@gmx.de>
3065
3066 * java/security/Security.java: Reformated.
3067
3068 2003-10-08 Michael Koch <konqueror@gmx.de>
3069
3070 * java/text/SimpleDateFormat.java
3071 (compileFormat): Replace Character.isLetter() test with
3072 Character.isLowerCase() || Character.isUpperCase().
3073
3074 2003-10-08 Tom Tromey <tromey@redhat.com>
3075
3076 * java/lang/StrictMath.java (toDegrees): Multiply before
3077 dividing.
3078 (toRadians): Likewise.
3079
3080 2003-10-08 C. Brian Jones <cbj@gnu.org>
3081
3082 * java/lang/Math.java
3083 (toRadians): multiply before dividing to reduce decimal error
3084 (toDegrees): ditto
3085
3086 2003-10-08 Michael Koch <konqueror@gmx.de>
3087
3088 * gnu/gcj/protocol/core/Connection.java,
3089 gnu/gcj/protocol/core/CoreInputStream.java,
3090 gnu/gcj/protocol/core/Handler.java,
3091 gnu/gcj/protocol/core/natCoreInputStream.cc,
3092 gnu/gcj/protocol/file/Connection.java,
3093 gnu/gcj/protocol/file/Handler.java,
3094 gnu/gcj/protocol/gcjlib/Connection.java,
3095 gnu/gcj/protocol/gcjlib/Handler.java,
3096 gnu/gcj/protocol/http/Connection.java,
3097 gnu/gcj/protocol/http/Handler.java,
3098 gnu/gcj/protocol/jar/Connection.java,
3099 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3100 * gnu/java/net/protocol/core/Connection.java,
3101 gnu/java/net/protocol/core/CoreInputStream.java,
3102 gnu/java/net/protocol/core/Handler.java,
3103 gnu/java/net/protocol/core/natCoreInputStream.cc,
3104 gnu/java/net/protocol/file/Connection.java,
3105 gnu/java/net/protocol/file/Handler.java,
3106 gnu/java/net/protocol/gcjlib/Connection.java,
3107 gnu/java/net/protocol/gcjlib/Handler.java,
3108 gnu/java/net/protocol/http/Connection.java,
3109 gnu/java/net/protocol/http/Handler.java,
3110 gnu/java/net/protocol/jar/Connection.java,
3111 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3112 * gnu/gcj/runtime/FirstThread.java,
3113 java/net/URL.java: Use moved protocol handlers.
3114 * Makefile.am
3115 (ordinary_java_source_files): Moved files.
3116 (nat_source_files): Likewise.
3117 * Makefile.in: Regenerated.
3118
3119 2003-10-08 Michael Koch <konqueror@gmx.de>
3120
3121 * gnu/java/nio/SocketChannelImpl.java
3122 (read): Write only read data to buffer.
3123
3124 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3125
3126 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3127 out.
3128 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3129 (JCL_free): Attach "unused" attribute to env parameter.
3130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3131 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3132 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3133 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3135 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3136 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3137 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3138 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3139 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3140 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3141 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3142 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3143 parameters.
3144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3145 (initNativeState): Pass 0 as info argument to
3146 gtk_selection_add_target.
3147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3148 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3149 unused method implementations.
3150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3151 (awt_event_handler): Add break statement after default label.
3152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3153 (drawPixels): Remove unused variable i.
3154 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3155 (setEnabled): Remove method implementation.
3156 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3157 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3158 argument.
3159 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3160 unused function.
3161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3162 (menu_pos): Assign TRUE to push_in.
3163 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3164 argument.
3165 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3166 (create): Remove unused variable layout.
3167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3168 Pass window_widget, rather than window, to
3169 gtk_widget_set_size_request.
3170 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3171 structure initialization with NULL values.
3172 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3173
3174 2003-10-08 Michael Koch <konqueror@gmx.de>
3175
3176 * java/util/LinkedList.java:
3177 Removed whitespace to match classpath's version again.
3178
3179 2003-10-08 Michael Koch <konqueror@gmx.de>
3180
3181 * java/util/prefs/Preferences.java
3182 (defaultFactoryClass): Fixed class name.
3183 (getFactory): Create instance of class returned by Class.forName(),
3184 reformated code.
3185
3186 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3187
3188 * javax/swing/table/AbstractTableModel.java
3189 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3190 helped stop pulling my hair on this +1 then -1 tricky thing!
3191
3192 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3193
3194 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3195 Remove unused parameters.
3196 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3197 Likewise.
3198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3199 (keyevent_state_to_awt_mods): Export function.
3200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3201 (getCaretPosition): Fix TextArea case.
3202 (textcomponent_commit_cb): Get exact event time and modifier
3203 state.
3204 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3205
3206 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
3207
3208 * java/net/InetSocketAddress.java
3209 (InetSocketAddress): Made exception more clear.
3210 (equals): Handle case when addr is null.
3211 (toString): Likewise.
3212 * java/net/NetworkInterface.java
3213 (static): Load native library.
3214 (getNetworkInterfaces): Rewritten.
3215
3216 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
3217
3218 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3219 field.
3220 (initializeInsets): New method.
3221 (GtkComponentPeer): Call initializeInsets. Call setCursor and
3222 setBounds unconditionally.
3223 (setBounds): Convert coordinates if parent is a Window.
3224 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3225 field to GtkComponentPeer.
3226 (GtkContainerPeer): Don't initialize insets.
3227 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3228 New method.
3229 (create): Call new GtkWindowPeer create method.
3230 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3231 New method.
3232 (create): Call new GtkWindowPeer create method.
3233 (setBounds): Remove method.
3234 (postConfigureEvent): Likewise.
3235 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3236 type constants with GDK window type constants.
3237 (create(int,boolean,int,int,GtkWindowPeer)): New method.
3238 (create(int,boolean)): Likewise.
3239 (create()): Call create(int,boolean).
3240 (nativeSetBounds): New native method declaration.
3241 (setBounds): Call native method declaration.
3242 (setSize): New native method declaration.
3243 (setBoundsCallback): Likewise.
3244 (postConfigureEvent): Handle change in insets. Call setSize and
3245 setBoundsCallback methods.
3246 * java/awt/Window.java (Window): Set visible to false.
3247 (setBoundsCallback): New method.
3248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3249 (gtkWidgetGetLocationOnScreen): If this component is not a
3250 container, adjust the location returned based on the peer's
3251 allocation.
3252 (set(String,boolean)): Revert change from 2003-09-19.
3253 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3254 (awt_event_handler): Fix inset calculation.
3255 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3256 glue for Window.setBoundsCallback.
3257 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3258 Set up stacking order, window decorations and window manager
3259 hints.
3260 (setBoundsCallback): New method.
3261 (setSize): New method.
3262 (nativeSetBounds): New method.
3263 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3264
3265 2003-10-02 Tom Tromey <tromey@redhat.com>
3266
3267 * java/lang/VMClassLoader.java (loadClass): Now native.
3268 * java/lang/natClassLoader.cc (loadClass): Implement.
3269 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3270
3271 2003-10-02 Michael Koch <konqueror@gmx.de>
3272
3273 * java/net/InetAddress.java
3274 (zeros): Removed.
3275 (ANY_IF): Initalizie in static block.
3276 (static): Load library with native methods here and initialize ANY_IF.
3277 (isAnyLocalAddress): Check if equal to ANY_IF.
3278 (equals): Use addr directly instead of addr1. Simplify for loop.
3279 (toString): Rename "result" to "host" and add IP address allways.
3280 (getLocalHost): Merged documentation from classpath.
3281 * java/net/ServerSocket.java
3282 (ServerSocket): New package-private constructor used by java.nio.
3283 * java/net/URLConnection.java
3284 (getRequestProperties): Check if already connected.
3285
3286 2003-10-02 Michael Koch <konqueror@gmx.de>
3287
3288 * java/nio/ByteBufferHelper.java:
3289 Rewrote all methods by suggestions from Eric Blake.
3290
3291 2003-10-02 Michael Koch <konqueror@gmx.de>
3292
3293 * java/net/URL.java
3294 (DEFAULT_SEARCH_PATH): New static variable.
3295 (ph_cache): Made it a HashMap.
3296 (getURLStreamHandler): Rename propVal to ph_search_path and use
3297 DEFAULT_SEARCH_PATH.
3298
3299 2003-10-02 Michael Koch <konqueror@gmx.de>
3300
3301 * javax/swing/table/AbstractTableModel.java
3302 (findColumnName): Prevent from NullPointerException if argument
3303 columnName is null.
3304
3305 2003-10-02 Michael Koch <konqueror@gmx.de>
3306
3307 * javax/swing/table/AbstractTableModel.java:
3308 This patch is based on a patch done by Arnaud Vandyck
3309 <arnaud.vandyck@ulg.ac.be>.
3310 (getColumnName): Fixed method documentation.
3311 (findColumn): Likewise.
3312 (getColumnClass): Likewise.
3313 (isCellEditable): Likewise.
3314 (setValueAt): Likewise.
3315 (addTableModelListener): Likewise.
3316 (removeTableModelListener): Likewise.
3317 (getTableModelListeners): New method.
3318
3319 2003-10-02 Michael Koch <konqueror@gmx.de>
3320
3321 * javax/swing/table/AbstractTableModel.java:
3322 Reformated.
3323
3324 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
3325
3326 Fix PR libgcj/12475
3327 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3328 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3329
3330 2003-10-01 Tom Tromey <tromey@redhat.com>
3331
3332 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3333
3334 2003-10-01 Andrew Haley <aph@redhat.com>
3335
3336 * java/lang/natClass.cc (initializeClass): Check for otable and
3337 atable.
3338 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
3339 loops using for(). Search superinterfaces. Check for fields as
3340 well as methods. Initialize atable as well as otable: check for
3341 static methods as well as virtual methods.
3342 * java/lang/Class.h (struct _Jv_AddressTable): New.
3343 (atable): New.
3344 (atable_syms): New.
3345 * include/jvm.h (_Jv_equalUtf8Consts): constify.
3346 * prims.cc (_Jv_equalUtf8Consts): constify.
3347
3348 2003-09-29 Tom Tromey <tromey@redhat.com>
3349
3350 PR libgcj/10596:
3351 * include/jvm.h (_Jv_FinalizeString,
3352 _Jv_RegisterStringFinalizer): Declare.
3353 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3354 unintern.
3355 (intern): Updated.
3356 (_Jv_NewStringUtf8Const): Likewise.
3357 * java/lang/ref/natReference.cc (finalize_referred_to_object):
3358 Add special case when finalizing a String.
3359 (in_hash): New function.
3360 (_Jv_RegisterStringFinalizer): Likewise.
3361 (maybe_add_finalize): Likewise.
3362
3363 2003-09-29 Michael Koch <konqueror@gmx.de>
3364
3365 * java/net/InetAddress.java:
3366 (isMulticastAddress): Dont use local variable to store address length.
3367 Let the compiler optimize this.
3368 (getHostName): Merged dcoumentation from classpath.
3369 (getAddress): Likewise.
3370 (getHostAddress): Likewise.
3371 (hashCode): Likewise.
3372 (equals): Likewise.
3373 (toString): Likewise.
3374 (getByName): Likewise.
3375 (getAllByName): Likewise.
3376
3377 2003-09-29 Michael Koch <konqueror@gmx.de>
3378
3379 * java/awt/image/IndexColorModel.java: Reformated.
3380
3381 2003-09-29 Michael Koch <konqueror@gmx.de>
3382
3383 * java/net/InetAddress.java,
3384 java/net/URL.java: Reformated.
3385
3386 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
3387
3388 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
3389 significant bit of descriptor. Include the vtable and sync_info
3390 fields.
3391
3392 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
3393
3394 * java/text/DateFormat.java (format): Throw IllegalArgumentException
3395 if `obj' is not a Number or Date instance.
3396 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3397 instead of Vector.
3398
3399 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
3400
3401 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3402 Don't call setTimeZone on calendar.
3403
3404 2003-09-27 Michael Koch <konqueror@gmx.de>
3405
3406 * java/net/URL.java (getURLStreamHandler): Compile fixes.
3407
3408 2003-09-27 Michael Koch <konqueror@gmx.de>
3409
3410 * java/net/URL.java (getURLStreamHandler):
3411 Check if we have to use cache before trying to retrieve handler from
3412 cache. Rename facName to clsName to match classpath more. Reformated
3413 some little pieces.
3414
3415 2003-09-27 Michael Koch <konqueror@gmx.de>
3416
3417 * gnu/java/nio/SelectionKeyImpl.java
3418 (ch): Make package-private again. Jikes found this bug.
3419 Jeff Sturm submitted PR12426 for this to bugzilla
3420 to fix this bug in gcj.
3421
3422 2003-09-26 Michael Koch <konqueror@gmx.de>
3423
3424 * java/rmi/server/RMIClassLoader.java:
3425 Reformatted file, no functional code changes.
3426
3427 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
3428
3429 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
3430 Save space for some pixels at the buffer end. Added Javadoc.
3431
3432 2003-09-26 Tom Tromey <tromey@redhat.com>
3433
3434 * java/io/ObjectOutputStream.java (writeFields): Fixed
3435 indentation.
3436 (putFields): Likewise.
3437
3438 2003-09-26 Michael Koch <konqueror@gmx.de>
3439
3440 * java/nio/ByteBufferHelper.java:
3441 Totally reworked with help from Eric Blake.
3442
3443 2003-09-26 Tom Tromey <tromey@redhat.com>
3444
3445 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3446 * java/awt/geom/PathIterator.java: Documentation fixes.
3447
3448 2003-09-25 Jeff Sturm <jsturm@one-point.com>
3449
3450 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3451 (select): Likewise.
3452 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3453
3454 2003-09-25 Michael Koch <konqueror@gmx.de>
3455
3456 * gnu/java/nio/DatagramChannelImpl.java
3457 (getNativeFD): New method.
3458 * gnu/java/nio/SelectionKeyImpl.java
3459 (SelectionKeyImpl): Class made abstract.
3460 (fd): Removed.
3461 (SelectionKeyImpl): Remove fd argument.
3462 (getNativeFD): New method.
3463 * gnu/java/nio/SocketChannelImpl.java
3464 (getNativeFD): New method.
3465 gnu/java/nio/DatagramChannelSelectionKey.java,
3466 * gnu/java/nio/SocketChannelSelectionKey.java:
3467 New files.
3468 * Makefile.am (ordinary_java_source_files):
3469 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3470 gnu/java/nio/SocketChannelSelectionKey.java.
3471 * Makefile.in: Regenerated.
3472
3473 2003-09-25 Michael Koch <konqueror@gmx.de>
3474
3475 * java/lang/reflect/Proxy.java
3476 (getProxyClass): Remove workaround for gcj 3.0.x.
3477
3478 2003-09-25 Michael Koch <konqueror@gmx.de>
3479
3480 * gnu/java/net/PlainDatagramSocketImpl.java
3481 (finalize): Moved to directly after constructor.
3482 (getNativeFD): New method.
3483 * gnu/java/net/PlainSocketImpl.java
3484 (getNativeFD): New method.
3485
3486 2003-09-25 Ingo Proetel <proetel@aicas.com>
3487
3488 * java/io/ObjectOutputStream.java:
3489 Allow putFields be called more than once.
3490
3491 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
3492
3493 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
3494 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
3495 * java/awt/image/BufferedImage.java (toString): Implement.
3496
3497 2003-09-25 Jeff Sturm <jsturm@one-point.com>
3498
3499 * aclocal.m4: Rebuilt.
3500 * configure: Rebuilt.
3501
3502 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
3503
3504 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
3505 field.
3506
3507 2003-09-25 Michael Koch <konqueror@gmx.de>
3508
3509 * gnu/java/nio/SelectorImpl.java
3510 (implSelect): Renamed from java_do_select.
3511 (select): Call native implSelect() and add support for Thread
3512 interruption.
3513 * gnu/java/nio/natSelectorImpl.cc
3514 (implSelect): Renamed from java_do_select.
3515
3516 2003-09-25 Michael Koch <konqueror@gmx.de>
3517
3518 * gnu/java/nio/SelectorImpl.java
3519 (selectNow): Made final, throws IOException.
3520 (select): Likewise.
3521 (getFDsAsArray): Made final.
3522 (selectedKeys): Likewise.
3523 (wakeup): Likewise.
3524 (deregisterCancelledKeys): Likewise.
3525 (register): Likewise.
3526 (ass): Removed.
3527 (add_selected): Removed.
3528 * gnu/java/nio/natSelectorImpl.cc:
3529 No need to include bstring.h or gcj/cni.h.
3530 (helper_put_filedescriptors): Rewritten.
3531 (helper_get_filedescriptors): Rewritten.
3532
3533 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
3534
3535 * java/awt/font/FontRenderContext.java (getTransform): Return
3536 copy of internal transform object. Add Javadoc.
3537 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
3538 winding rule as Sun J2SE.
3539 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
3540
3541 2003-09-25 Ingo Proetel <proetel@aicas.com>
3542
3543 * java/rmi/Naming.java:
3544 Added comments, now accepts pseudo protocol "rmi".
3545
3546 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
3547
3548 * java/text/DecimalFormat.java (format): Don't immediatly round
3549 baseNumber to long.
3550 (setMinimumIntegerDigits): Call super.
3551 (setMinimumFractionDigits): Likewise.
3552 (setMaximumIntegerDigits): Likewise.
3553 (setMaximumFractionDigits): Likewise.
3554
3555 2003-09-25 Michael Koch <konqueror@gmx.de>
3556
3557 * gnu/java/nio/DatagramChannelImpl.java
3558 (DatagramChannelImpl): Made class final.
3559 (blocking): Made private.
3560 (socket): Made it a NIODatagramSocket and private.
3561 (DatagramChannelImpl): create NIODatagramSocket instead of
3562 DatagramSocket.
3563 (implConfigureBlocking): Set socket timeout.
3564 (connect): Check that channel is not closed.
3565 (write): Implemented.
3566 (write): Rewritten.
3567 (read): Implemented.
3568 (read): Rewritten.
3569 (receive): Implemented.
3570 (send): Implemented.
3571 * gnu/java/nio/SelectionKeyImpl.java
3572 (readyOps): Made private.
3573 (interestOps): Made private.
3574 (impl): Made private.
3575 (ch): Made private.
3576 (readyOps): Check if selection key is valid.
3577 (interestOps): Likewise.
3578 * gnu/java/nio/SelectorImpl.java
3579 (closed): Removed.
3580 (keys): Made private.
3581 (selected): Made private.
3582 (finalize): New method.
3583 (implCloseSelector): Rewritten.
3584 (keys): Return unmodifiable Set.
3585 (deregisterCancelledKeys): Fixed typo in method name.
3586 * gnu/java/nio/SocketChannelImpl.java
3587 (SocketChannelImpl): Made class final.
3588 (socket): Made it a NIOSocket and private.
3589 (blocking): Made private.
3590 (connected): Made private.
3591 (connectionPending): New member variable.
3592 (SocketChannelImpl): New implementation.
3593 (finalizer): Use isConnected().
3594 (connect): Rewritten.
3595 (finishConnect): Throws IOException, implemented.
3596 (isConnectionPending): Return connectionPending.
3597 (read): Rewritten.
3598 (write): Rewritten.
3599 * gnu/java/nio/NIOConstants.java: New file.
3600 * Makefile.am (ordinary_java_source_files):
3601 Added gnu/java/nio/NIOConstants.java.
3602 * Makefile.in: Regenerated.
3603
3604 2003-09-25 Michael Koch <konqueror@gmx.de>
3605
3606 * java/net/InetAddress.java:
3607 Reorder imports, remove implementation comment.
3608 (isMulticastAddress): Merged documentation from classpath.
3609 * java/net/URLConnection.java
3610 (setRequestProperty): Check key for null, fix documentation.
3611 (adREquestProperty): Check key for null, remove wrong implementation
3612 and replace it with comment to overwrite this method in subclasses,
3613 fix documentation.
3614
3615 2003-09-25 Tom Tromey <tromey@redhat.com>
3616
3617 * java/lang/reflect/Proxy.java (generate): Uncomment protection
3618 domain code.
3619 * java/lang/natClassLoader.cc (defineClass): Added `loader'
3620 argument.
3621 (linkClass0): Now in VMClassLoader.
3622 (markClassErrorState0): Likewise.
3623 (getSystemClassLoaderInternal): New method.
3624 * java/lang/natClass.cc (initializeClass): Use
3625 VMClassLoader::resolveClass.
3626 * java/lang/ClassLoader.java: New version, from Classpath.
3627 * java/lang/Class.java (getProtectionDomain):
3628 protectionDomainPermission and unknownProtectionDomain now in
3629 VMClassLoader.
3630 * java/lang/Class.h: VMClassLoader now a friend class.
3631 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
3632 package-private.
3633 * gcj/javaprims.h: Regenerated class list.
3634 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
3635 * java/lang/VMClassLoader.java: New version from Classpath;
3636 modified for libgcj use.
3637
3638 2003-09-25 Michael Koch <konqueror@gmx.de>
3639
3640 * java/nio/ByteBufferHelper.java:
3641 New file.
3642 * java/nio/ByteBufferImpl.java,
3643 java/nio/DirectByteBufferImpl.java,
3644 java/nio/MappedByteBufferImpl.java
3645 (getType,putType): Use new helper class ByteBufferHelper.
3646 * Makefile.am (ordinary_java_source_files):
3647 Added java/nio/ByteBufferHelper.java.
3648 * Makefile.in: Regenerated.
3649
3650 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
3651
3652 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
3653 PR libgcj/12388.
3654
3655 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
3656
3657 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
3658 Strings, even if buffer is already shared.
3659
3660 2003-09-24 Michael Koch <konqueror@gmx.de>
3661
3662 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
3663
3664 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
3665
3666 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
3667 (write): Likewise.
3668 (SocketInputStream): Declare `read' and `write' methods native.
3669 Remove implementations which called back into PlainSocketImpl.
3670 Remove unneccessary overridden methods.
3671 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
3672 to inner class PlainSocketImpl.SocketInputStream.
3673 (write): Likewise.
3674 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
3675 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
3676 * gnu/java/net/SocketInputStream.java: Remove unused file.
3677 * gnu/java/net/SocketOutputStream.java: Likewise.
3678 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
3679 and SocketOutputStream.
3680 * Makefile.in: Rebuilt.
3681
3682 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
3683
3684 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
3685
3686 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
3687 markers.
3688
3689 2003-09-22 Anthony Green <green@redhat.com>
3690
3691 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
3692 * configure: Rebuilt.
3693
3694 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
3695
3696 PR java/12350:
3697 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
3698
3699 2003-09-22 Michael Koch <konqueror@gmx.de>
3700
3701 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
3702 compiler warning but produces a different one now.
3703
3704 2003-09-22 Michael Koch <konqueror@gmx.de>
3705
3706 * java/net/InetAddress.java:
3707 Moves around some code, reformats and adds documentation.
3708 No functional changes.
3709
3710 2003-09-22 Michael Koch <konqueror@gmx.de>
3711
3712 * java/net/JarURLConnection.java
3713 (JarURLConnection): Modifed code to match classpath more, fixed comment.
3714 (getCertificates): Made it more error prone.
3715 (getMainAttributes): Likewise.
3716 (getAttributes): Implemented.
3717 (getManifest): Reformatted code.
3718
3719 2003-09-20 Tom Tromey <tromey@redhat.com>
3720
3721 * java/awt/Component.java: Indentation cleanup from Classpath.
3722
3723 2003-09-20 Dalibor Topic <robilad@kaffe.org>
3724
3725 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
3726 checking to follow 1.4.2 spec.
3727
3728 2003-08-11 Ingo Proetel <proetel@aicas.com>
3729
3730 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
3731 is compatible in case client and server are running in the same VM
3732 (remerged from Classpath on 2003-09-20)
3733
3734 2003-09-19 David Daney <ddaney@avtrex.com>
3735
3736 * java/lang/ref/Reference.java (clear): Set referent to null and
3737 synchronize.
3738
3739 2003-09-19 Michael Koch <konqueror@gmx.de>
3740
3741 * gnu/java/nio/NIODatagramSocket.java,
3742 gnu/java/nio/NIOSocket.java: New files.
3743 * Makefile.am (ordinary_java_source_files):
3744 Added gnu/java/nio/NIODatagramSocket.java and
3745 gnu/java/nio/NIOSocket.java.
3746 * Makefile.in: Regenerated.
3747
3748 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3749
3750 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
3751 top-level GTK window.
3752 (getArgs): Add "title" property.
3753 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
3754 "allow_shrink" and "allow_grow" properties.
3755 * java/awt/Dialog.java: Initialize resizable to true and change
3756 comments accordingly. Initialize visible to false in
3757 constructors.
3758 * java/awt/Frame.java (dispose): Remove method.
3759 * java/awt/Window.java (ownedWindows): New field.
3760 (Window(Window,GraphicsConfiguration)): Add a weak reference to
3761 owner's ownedWindows vector.
3762 (finalize): Remove method.
3763 (hide): Hide owned windows.
3764 (dispose): Dispose of owned windows.
3765 (getOwnedWindows): Implement.
3766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
3767 unused GtkArg code.
3768 (set(String,boolean)): Clamp gboolean parameter to g_object_set
3769 to TRUE or FALSE.
3770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3771 (create): Set window's size requisition.
3772 (connectHooks): Fix indentation.
3773 (setResizable): Remove function.
3774 (static setBounds): Likewise.
3775 (setBounds): Replace call to setBounds with GTK size requisition
3776 and resize calls.
3777
3778 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
3779
3780 * win32-threads.cc: (ensure_interrupt_event_initialized) New
3781 function for lazy initialization of an auto-reset event.
3782 (_Jv_CondWait) Added thread interrupt support.
3783 (_Jv_ThreadInitData) Added initialization of interrupt support
3784 members.
3785 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
3786 (_Jv_ThreadStart) Removed unused code.
3787 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
3788 to an external caller.
3789 (_Jv_ThreadInterrupt) Implemented.
3790 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
3791 event for interrupt support as well as a mutex which regulates
3792 access to this.
3793 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
3794 event to an external caller.
3795 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
3796 process.
3797 (waitFor) Added interrupt support.
3798
3799 2003-09-19 Michael Koch <konqueror@gmx.de>
3800
3801 * java/net/DatagramSocket.java (getLocalAddress):
3802 Renamed result variable to localAddr.
3803 * java/net/MulticastSocket.java:
3804 No need to import gnu.java.net.PlainDatagramSocketImpl.
3805
3806 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
3807
3808 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
3809 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
3810
3811 2003-09-18 Tom Tromey <tromey@redhat.com>
3812
3813 * javax/naming/InitialContext.java: Reindented.
3814
3815 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
3816 Helmer Kraemer <hkraemer@freenet.de>
3817
3818 * javax/naming/spi/NamingManager.java (getURLContext,
3819 getObjectInstance, getStateToBind): Always use current thread's
3820 context class loader when calling Class.forName.
3821
3822 2003-09-18 Michael Koch <konqueror@gmx.de>
3823
3824 * java/util/Timer.java (finalize): Added "throws Throwable".
3825
3826 2003-09-18 Michael Koch <konqueror@gmx.de>
3827
3828 * java/net/DatagramSocket.java
3829 (ch): Removed.
3830 (receive): Use getChannel() instead of ch.
3831 (send): Likewise.
3832 (getChannel): Return null.
3833 * java/net/ServerSocket.java
3834 (ch): Removed.
3835 (setChannel): Removed.
3836 (implAccept): Use getChannel() instead of ch.
3837 (close): Likewise.
3838 (getChannel): Return null.
3839 * java/net/Socket.java
3840 (ch): Removed.
3841 (connect): Use getChannel() instead of ch.
3842 (setChannel): Removed.
3843 (getChannel): Return null.
3844
3845 2003-09-18 Mark Wielaard <mark@klomp.org>
3846
3847 Reported by Guilhem Lavaux and Julian Dolby
3848 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
3849 field "serialPersistentFields", not "getSerialPersistentFields".
3850
3851 2003-09-18 Ingo Proetel <proetel@aicas.com>
3852
3853 * java/util/TimeZone.java: Initialize lazily.
3854 * java/util/Locale.java (readManifest): Fix check for country.
3855 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
3856 traceable
3857 * java/util/Calendar.java: Make use of ResourceBundle better
3858 traceable.
3859
3860 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
3861
3862 * java/sql/Timestamp.java
3863 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
3864
3865 2003-09-18 David P Grove <groved@us.ibm.com>
3866
3867 * java/io/LineNumberReader (read): Don't reset pos & limit when
3868 markPos is 0.
3869
3870 2003-09-18 Dalibor Topic <robilad@kaffe.org>
3871
3872 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
3873 constant.
3874 (computeArguments): use computeTypicalArguments.
3875
3876 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
3877 Compile_jikes.java and RMICException.java.
3878 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
3879 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
3880 * gnu/java/rmi/rmic/RMICException.java: Likewise.
3881
3882 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
3883
3884 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
3885 (computeTypicalArguments): New method.
3886 (compile): Print compiler output to System.out. Collect compiler
3887 error output and use it in exception message.
3888
3889 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
3890 (destination): Initialize to null.
3891 (run): Replace file separator with '.' when processing class.
3892 (processClass): Replace '.' with file separator when compiling
3893 classes.
3894 (findClass): Use SystemClassLoader to load class.
3895 (generateStub): Use full class name for generated stub, that puts
3896 it in right path. Replace '.' with file separator when generating
3897 stub file name. Write just the stub class name without package
3898 information as class name, and constructor name. Write only
3899 interface names for interfaces extending java.rmi.Remote as
3900 implemented.
3901 (generateSkel): Use full class name for generated skel, that puts
3902 it in right path. Replace '.' with file separator when generating
3903 stub file name. Write just the stub class name without package
3904 information as class name.
3905
3906 2003-09-18 Michael Koch <konqueror@gmx.de>
3907
3908 * Makefile.am (rmi_java_source_files):
3909 Added gnu/java/rmi/rmic/Compile_kjc.java,
3910 gnu/java/rmi/rmic/Compile_jikes.java and
3911 gnu/java/rmi/rmic/RMICException.java
3912 * Makefile.in: Regenerated.
3913
3914 2003-09-17 Graydon Hoare <graydon@redhat.com>
3915
3916 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3917 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
3918 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
3919 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
3920 New files.
3921
3922 2003-09-16 Graydon Hoare <graydon@redhat.com>
3923
3924 * java/awt/BufferedImage.java (setData): Support non-component
3925 sample models.
3926 (getData): Same.
3927
3928 2003-09-10 Graydon Hoare <graydon@redhat.com>
3929
3930 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
3931 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
3932
3933 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
3934
3935 * configure.in: Standardized help text case of
3936 --enable-hash-synchronization
3937 New configure switch --enable-libgcj-multifile and corresponding
3938 automake conditional ONESTEP.
3939 * configure: Rebuilt.
3940 * Makefile.am: Use automake conditional ONESTEP to determine
3941 whether classfiles should be compiled individually or all
3942 at once.
3943 * Makefile.in: Rebuilt.
3944
3945 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
3946
3947 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
3948 Remove method declaration.
3949 (create()): Call native create.
3950 (create(int)): New method.
3951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3952 (create): Add window_id parameter. Call gtk_plug_new with
3953 window_id parameter.
3954 (construct): Remove method implementation.
3955
3956 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
3957
3958 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
3959 (mostlyclean-local): New target patterned after clean-local
3960 which recursively deletes all libtool objects using 'libtool rm'.
3961 (clean-local): Slightly modified comment to alleviate monotony.
3962 (distclean-local): New target patterned after clean-local
3963 which recursively deletes all .d files.
3964 * Makefile.in: Rebuilt.
3965
3966 2003-09-11 Tom Tromey <tromey@redhat.com>
3967
3968 * java/net/URLStreamHandler.java (parseURL): If original file
3969 ends with "/", so must canonical result.
3970 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
3971 with nul-termination and finding previous "/".
3972
3973 2003-09-11 Michael Koch <konqueror@gmx.de>
3974
3975 * acconfig.h: Removed most items.
3976 * configure.in: Added descriptions to AC_DEFINE macros that where in
3977 acconfig.h before.
3978 * include/config.h.in: Regenerated.
3979
3980 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
3981
3982 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
3983 if one is installed. Improve Javadoc.
3984 (getSystemEventQueueImpl): Improve Javadoc.
3985
3986 2003-09-11 Tom Tromey <tromey@redhat.com>
3987
3988 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
3989 file does not exist.
3990
3991 2003-09-10 Anthony Green <green@redhat.com>
3992
3993 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
3994 Specify full name when referencing ::java::net::InetAddress.
3995 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
3996 Fix argument type.
3997
3998 2003-09-10 Michael Koch <konqueror@gmx.de>
3999
4000 * acconfig.h (__NO_MATH_INLINES): Removed.
4001 * configure.in: Removed check for g++ math inlining bug from 2000.
4002 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4003 libgcj_cxxflags.
4004 * configure: Regenerated.
4005
4006 2003-09-10 David Daney <ddaney@avtrex.com>
4007
4008 * java/util/Arrays.java (equals(all variants)): Quit using
4009 NullPointerException catching to detect null valued parameters.
4010
4011 2003-09-10 Michael Koch <konqueror@gmx.de>
4012
4013 * java/net/DatagramSocket.java,
4014 java/net/MulticastSocket.java,
4015 java/net/ServerSocket.java,
4016 java/net/Socket.java:
4017 Use gnu.java.net.Plain*SocketImpl instead of
4018 java.net.PlainSocketImpl.
4019 * java/net/PlainDatagramSocketImpl.java,
4020 java/net/PlainSocketImpl.java,
4021 java/net/SocketInputStream.java,
4022 java/net/SocketOutputStream.java,
4023 java/net/natPlainDatagramSocketImplNoNet.cc,
4024 java/net/natPlainDatagramSocketImplPosix.cc,
4025 java/net/natPlainDatagramSocketImplWin32.cc,
4026 java/net/natPlainSocketImplNoNet.cc,
4027 java/net/natPlainSocketImplPosix.cc,
4028 java/net/natPlainSocketImplWin32.cc:
4029 Removed.
4030 * gnu/java/net/PlainDatagramSocketImpl.java,
4031 gnu/java/net/PlainSocketImpl.java,
4032 gnu/java/net/SocketInputStream.java,
4033 gnu/java/net/SocketOutputStream.java,
4034 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4035 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4036 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4037 gnu/java/net/natPlainSocketImplNoNet.cc,
4038 gnu/java/net/natPlainSocketImplPosix.cc,
4039 gnu/java/net/natPlainSocketImplWin32.cc:
4040 New files (moved from java/net).
4041 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4042 instead of java/net/natPlain*SocketImpl.cc.
4043 * configure: Regenerated.
4044 * Makefile.am: Moved files from java/net to gnu/java/net.
4045 * Makefile.in: Regenerated.
4046
4047 2003-09-09 Alan Modra <amodra@bigpond.net.au>
4048
4049 * configure: Regenerate.
4050
4051 2003-09-04 Tom Tromey <tromey@redhat.com>
4052
4053 * configure.host: Removed erroneous comment.
4054
4055 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4056 lvalue cast; use correct rvalue cast.
4057
4058 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4059
4060 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4061 and height arguments to GtkWindowPeer.create method call.
4062 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4063 (create(int,int,int)): New method.
4064 (create(int)): Add call to new create method.
4065 (create()): Add width and height arguments to create method
4066 call.
4067 (GtkWindowPeer): Remove call to setBounds.
4068 * java/awt/Frame.java (Frame(String)): Initialize visible field
4069 to false.
4070 (Frame(GraphicsConfiguration)): Likewise.
4071 (Frame(String,GraphicsConfiguration)): Likewise.
4072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4073 Add width and height parameters. Call
4074 gtk_window_set_default_size.
4075 (connectHooks): Remove unused name variable.
4076 (static setBounds): Call gtk_window_resize not
4077 gtk_widget_set_usize.
4078 (setBounds): Remove unused nchildren variable.
4079
4080 2003-08-31 Ingo Proetel <proetel@aicas.com>
4081
4082 * java/util/logging/Logger.java: provide class and method information
4083 * java/util/logging/LogManager.java: create handlers
4084 * java/util/logging/SimpleFormatter.java: print souceClassName and
4085 sourceMethodName
4086
4087 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4088
4089 * win32.cc: fixed tab, indentation and whitespace
4090 inconsistencies
4091 removed jvm.h include
4092 added includes java/lang/UnsupportedOperationException.h,
4093 java/io/IOException.h, java/net/SocketException.h
4094 (WSAEventWrapper): class implementation
4095 (_Jv_WinStrError): implemented both overloads
4096 (_Jv_ThrowIOException): implemented both overloads
4097 (_Jv_ThrowSocketException): implemented both overloads
4098 (_Jv_select): implemented
4099 * include/win32.h: fixed tab, indentation and whitespace
4100 inconsistencies
4101 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
4102 added jvm.h include
4103 (WSAEventWrapper): added class declaration
4104 (_Jv_WinStrError): added both overload declarations
4105 (_Jv_ThrowIOException): added both overload declarations
4106 (_Jv_ThrowSocketException): added both overload declarations
4107 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4108 (_Jv_select): added declaration
4109 (_Jv_socket): removed
4110 (_Jv_connect): removed
4111 (_Jv_close): removed
4112 (_Jv_bind): removed
4113 (_Jv_accept): removed
4114 (_Jv_listen): removed
4115 (_Jv_write): removed
4116 (_Jv_read): removed
4117 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4118 whitespace inconsistencies
4119 replaced <windows.h> #include with <platform.h>
4120 removed jvm.h include
4121 (testCanUseGetHandleInfo): new function which tests whether Win32
4122 GetHandleInformation() call can be used with console buffer handles
4123 (only supported on >=WinNT 5.0)
4124 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4125 (valid): rewrote implementation using GetHandleInformation()
4126 (sync): changed exception throwing to use error string and exception
4127 helper methods declared in include/win32.h
4128 (open): likewise
4129 (write): likewise
4130 (setLength): likewise
4131 (close): likewise
4132 (seek): likewise
4133 (getFilePointer): likewise
4134 (read): likewise
4135 * java/io/natFileWin32.cc: fixed tab, indentation and
4136 whitespace inconsistencies
4137 replaced <windows.h> #include with <platform.h>
4138 removed jvm.h include
4139 (_access): use JV_TEMP_UTF_STRING
4140 (_stat): likewise
4141 (performMkDir): use JV_TEMP_UTF_STRING
4142 (performRenameTo): likewise
4143 (performDelete): likewise
4144 (performCreate): likewise
4145 (performSetReadOnly): likewise
4146 (performSetLastModified): likewise
4147 * java/lang/natWin32Process.cc: fixed tab, indentation and
4148 whitespace inconsistencies
4149 replaced <windows.h> #include with <platform.h>
4150 removed includes gcj/cni.h, jvm.h
4151 (new_string): removed
4152 (startProcess): use JV_TEMP_UTF_STRING,
4153 changed exception throwing to use error string and exception
4154 helper methods declared in include/win32.h
4155 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4156 whitespace inconsistencies
4157 replaced <windows.h> #include with <platform.h>
4158 removed jvm.h include
4159 removed DISABLE_JAVA_NET conditional code
4160 removed POSIX conditional code not relevant to Win32
4161 (aton): use JV_TEMP_UTF_STRING
4162 removed POSIX conditional code not relevant to Win32
4163 (lookup): likewise
4164 (getLocalHostName): likewise
4165 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4166 whitespace inconsistencies
4167 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4168 removed DISABLE_JAVA_NET conditional code
4169 removed POSIX conditional code not relevant to Win32
4170 (winsock2GetRealNetworkInterfaces): new function to compute network
4171 interfaces via Winsock2 API
4172 (determineGetRealNetworkInterfacesFN): new function for returning
4173 a function pointer to the function used to compute network interfaces.
4174 (getRealNetworkInterfaces): implemented
4175 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4176 whitespace inconsistencies
4177 removed gcj/cni.h include
4178 removed DISABLE_JAVA_NET conditional code
4179 removed POSIX conditional code not relevant to Win32
4180 changed net POSIXisms to Win32isms
4181 replaced _Jv socket-related calls with their real Win32 equivalents
4182 changed exception throwing to use error string and exception
4183 helper methods declared in include/win32.h
4184 (peekData): implemented timeout support
4185 (receive): likewise
4186 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4187 whitespace inconsistencies
4188 removed gcj/cni.h and gcj/javaprims.h includes
4189 removed DISABLE_JAVA_NET conditional code
4190 removed POSIX conditional code not relevant to Win32
4191 changed net POSIXisms to Win32isms
4192 replaced _Jv socket-related calls with their real Win32
4193 equivalents
4194 changed exception throwing to use error string and exception
4195 helper methods declared in include/win32.h
4196 (throwConnectException): helper function for connect()
4197 (connect): implemented timeout support
4198 (accept): likewise
4199 (doRead): new helper function common to both read() method overloads,
4200 includes timeout support
4201 (read): implemented both overloads in terms of doRead()
4202 (available): implemented using ioctlsocket()
4203
4204 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4205
4206 * java/net/natInetAddressWin32.cc,
4207 java/net/natNetworkInterfaceWin32.cc,
4208 java/net/natPlainDatagramSocketImplWin32.cc,
4209 java/net/natPlainSocketImplWin32.cc:
4210 Readded code enclosed in DISABLE_JAVA_NET defines
4211 in preparation for MinGW cleanup / networking
4212 patch
4213
4214 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4215
4216 * Makefile.am: Fixed problems with parallel makes.
4217 (all_java_class_files): Readded definition.
4218 (all_java_class_files): New target which depends on
4219 libgcj-@gcc_version@.jar
4220 * Makefile.in: Rebuilt
4221
4222 2003-08-28 Tom Tromey <tromey@redhat.com>
4223
4224 * Makefile.in: Rebuilt.
4225 * Makefile.am (ordinary_java_source_files): Added new files.
4226 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4227 friend.
4228 * java/net/URLClassLoader.java (findClass): Don't use
4229 findURLResource. Use loader's getClass method.
4230 (URLLoader.getClass): New method.
4231 (addURL): Handle `gcjlib' URLs.
4232 (SoURLLoader): New class.
4233 (SoResource): Likewise.
4234 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4235 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4236 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4237 (_Jv_RegisterCoreHook): Declare.
4238 (_Jv_FindCore): Declare.
4239 * gnu/gcj/runtime/SharedLibHelper.java: New file.
4240 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4241 typedef.
4242 (core_hook): New function.
4243 (struct SharedLibDummy) [saved_core]: New field.
4244 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
4245 (register_hook): Set protection domain and class loader on new
4246 class.
4247 (finalize): Free core chain.
4248 * gnu/gcj/Core.java (Core): New constructor.
4249 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4250 SharedLibHelper.
4251 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4252 (_Jv_create_core): New function.
4253 (create): Use it.
4254 (default_register_resource): New function.
4255 (_Jv_RegisterCoreHook): New global.
4256 (_Jv_RegisterResource): Use it.
4257 (core_chain_struct): Removed.
4258 (_Jv_FindCore): New function.
4259 (_Jv_FreeCoreChain): New function.
4260
4261 2003-08-29 Michael Koch <konqueror@gmx.de>
4262
4263 * java/net/natInetAddressWin32.cc,
4264 java/net/natNetworkInterfaceWin32.cc,
4265 java/net/natPlainDatagramSocketImplWin32.cc,
4266 java/net/natPlainSocketImplWin32.cc:
4267 Removed code enclosed in DISABLE_JAVA_NET defines.
4268
4269 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
4270
4271 * Makefile.am: (write_entries_to_file) New parameterized
4272 function for writing entries to a file one line at a time.
4273 (all_java_class_files): Removed definition.
4274 (.java.class) Removed.target.
4275 (libgcj-@gcc_version@.jar): Changed dependency to
4276 $(all_java_source_files); added compilation step which compiles
4277 all changed source files in one pass.
4278 (libgcj.la) Refactored to use write_entries_to_file.
4279 (lib-gnu-awt-xlib.la) Likewise.
4280 (install-data-local) Likewise.
4281 (write-entries-to-file-check) New target which tests write_entries_to_file.
4282 (all-recursive): Changed dependency from $(all_java_class_files)
4283 to libgcj-@gcc_version@.jar
4284 * Makefile.in: Rebuilt.
4285
4286 2003-08-26 Tom Tromey <tromey@redhat.com>
4287
4288 * java/lang/StrictMath.java: Typo fix.
4289 * java/lang/Math.java: Typo fix.
4290
4291 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
4292
4293 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4294 of the removed Thread.
4295
4296 2003-08-26 Mark Wielaard <mark@klomp.org>
4297
4298 Reported by David Holmes <dholmes@dltech.com.au>.
4299 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4300 Collections.synchronizedMap.
4301 * java/lang/ThreadLocal.java (valueMap): Likewise.
4302
4303 2003-08-26 Mark Wielaard <mark@klomp.org>
4304
4305 * java/security/acl/Acl.java: Fix broken p tag.
4306 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4307 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4308 * javax/swing/plaf/TreeUI.java: Likewise.
4309 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4310 * java/util/Properties.java: Use the word umlaut, not &auml; in api
4311 documentation.
4312 * java/util/PropertyResourceBundle.java: Likewise and add closing code
4313 tag.
4314
4315 2003-08-26 Tom Tromey <tromey@redhat.com>
4316
4317 * Makefile.in: Rebuilt.
4318 * Makefile.am: Removed all GNU-make-specific FIXME comments.
4319
4320 * java/lang/ref/Reference.java (get): Indentation fix.
4321 (clear): Comment fix.
4322 (enqueue): Likewise.
4323 (lock): Likewise.
4324 (referent): Likewise.
4325
4326 2003-08-26 Tom Tromey <tromey@redhat.com>
4327
4328 PR java/12058:
4329 * java/lang/reflect/natArray.cc (set): Allow null as argument.
4330
4331 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4332 (ProxyData.getPackage): New method.
4333 (ProxyData.getProxyData): Use package name, not Package.
4334 (ClassFactory.ClassFactory): Updated.
4335
4336 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
4337 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4338 * Makefile.in: re-generated.
4339 * gnu/awt/j2d/IntegerGraphicsState.java
4340 (ScreenCoupledImage): new interface.
4341 (drawImage): detect ScreenCoupledImage instances.
4342 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4343 * gnu/awt/xlib/XEventLoop.java
4344 (createEvent): re-formatted, and rearranged to avoid null pointer.
4345 * gnu/awt/xlib/XGraphics.java
4346 (drawImage): added XOffScreenImage handling.
4347 * gnu/awt/xlib/XOffScreenImage.java: new file.
4348 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4349 * gnu/gcj/xlib/GC.java (copyArea): new native method.
4350 * gnu/gcj/xlib/XAnyEvent.java
4351 (TYPE_KEY_PRESS): new constant.
4352 (TYPE_KEY_RELEASE): new constant.
4353 (TYPE_MOTION_NOTIFY): new constant.
4354 (TYPE_ENTER_NOTIFY): new constant.
4355 (TYPE_LEAVE_NOTIFY): new constant.
4356 (TYPE_FOCUS_IN): new constant.
4357 (TYPE_FOCUS_OUT): new constant.
4358 (TYPE_KEYMAP_NOTIFY): new constant.
4359 (TYPE_GRAPHICS_EXPOSE): new constant.
4360 (TYPE_NO_EXPOSE): new constant.
4361 (TYPE_VISIBILITY_NOTIFY): new constant.
4362 (TYPE_CREATE_NOTIFY): new constant.
4363 (TYPE_DESTROY_NOTIFY): new constant.
4364 (TYPE_MAP_REQUEST): new constant.
4365 (TYPE_CONFIGURE_REQUEST): new constant.
4366 (TYPE_GRAVITY_NOTIFY): new constant.
4367 (TYPE_RESIZE_REQUEST): new constant.
4368 (TYPE_CIRCULATE_NOTIFY): new constant.
4369 (TYPE_CIRCULATE_REQUEST): new constant.
4370 (TYPE_PROPERTY_NOTIFY): new constant.
4371 (TYPE_SELECTION_CLEAR): new constant.
4372 (TYPE_SELECTION_REQUEST): new constant.
4373 (TYPE_SELECTION_NOTIFY): new constant.
4374 (TYPE_COLORMAP_NOTIFY): new constant.
4375 (TYPE_MAPPING_NOTIFY): new constant.
4376 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4377 * gnu/gcj/xlib/natGC.cc (copyArea): new method
4378 * java/awt/Component.java (createImage): changed to use peer method.
4379
4380 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4381
4382 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4383 name, not XLFD, to native drawString.
4384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4385 Replace XLFD-based implementation with Pango-based
4386 implementation.
4387
4388 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4389
4390 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4391 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
4392
4393 2003-08-21 David Daney <ddaney@avtrex.com>
4394
4395 Fix for PR libgcj/12013:
4396 * java/lang/ref/natReference.cc (finalize_referred_to_object):
4397 Check `cleared' field.
4398 * java/lang/ref/Reference.java (copy): Updated comments.
4399 (cleared): New field.
4400 (clear): Rewrote.
4401
4402 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
4403 Thomas Fitzsimmons <fitzsim@redhat.com>
4404
4405 * Makefile.am (gtk_awt_peer_sources): Add
4406 gnu/java/awt/peer/GLightweightPeer.java. Remove
4407 gnu/java/awt/GLightweightPeer.java.
4408 * gnu/java/awt/GLightweightPeer.java: Remove file.
4409 * gnu/java/awt/peer/GLightweightPeer.java: New file.
4410 * java/awt/Component.java (getToolkit): Add comment about
4411 lightweight components.
4412 * java/awt/Toolkit.java (createComponent): Return
4413 gnu.java.awt.peer.GLightweightPeer.
4414
4415 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
4416
4417 * configure.in: Fix detection of gcj when building with newlib.
4418 * configure: Regenerated.
4419
4420 2003-08-20 Graydon Hoare <graydon@redhat.com>
4421
4422 * jni.cc: Replace "cheating" pointer-casting code with
4423 extract_from_jvalue<> template.
4424
4425 2003-08-20 Andrew Haley <aph@redhat.com>
4426
4427 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4428 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4429 (classAt): Break out class lookup function into getClass().
4430 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4431 handlers when using -fno-assume-compiled.
4432
4433 2003-08-20 Tom Tromey <tromey@redhat.com>
4434
4435 Fix for PR libgcj/9125:
4436 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4437 object outside of loop. Respect lib_control setting.
4438 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4439 field.
4440 (lib_control): New field.
4441 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4442 (VMClassLoader): Initialize new field.
4443
4444 * java/lang/ref/natReference.cc (finalize_referred_to_object):
4445 Set `list->reference' to DELETED_REFERENCE when removing dead
4446 object.
4447 (find_slot): Added an assert.
4448 (DELETED_REFERENCE): New define.
4449 (add_to_hash): Check for DELETED_REFERENCE.
4450 (remove_from_hash): Just return if found slot isn't ours.
4451
4452 2003-08-19 Andrew Haley <aph@redhat.com>
4453
4454 * prims.cc (unblock_signal): New function.
4455 (catch_segv): Use it.
4456 (catch_fpe): Likewise.
4457
4458 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
4459
4460 PR libgcj/11575
4461 * java/io/natFileDescriptorWin32.cc (open): Set create
4462 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4463 Honor EXCL when openning with WRITE flag.
4464
4465 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
4466
4467 * include/jvm.h: New class _Jv_TempUTFString (helper class for
4468 getting a temporary C string from a jstring)
4469 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4470 but uses a stack buffer if the string length is less than 256
4471 bytes.
4472
4473 2003-08-18 Tom Tromey <tromey@redhat.com>
4474
4475 PR libgcj/11951:
4476 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4477 void. Throw VirtualMachineError if ffi fails. Initialize return
4478 value. Added is_jni_call argument; only wrap exception if not a
4479 JNI call. Use descriptive message if operation not supported.
4480 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4481 array class.
4482 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4483 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4484 _Jv_CallAnyMethodA.
4485 (_Jv_JNI_CallAnyMethodA): Likewise.
4486 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
4487 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
4488
4489 2003-08-13 Tom Tromey <tromey@redhat.com>
4490
4491 * gij.cc (help): Document -? and -X.
4492
4493 2003-08-12 Graydon Hoare <graydon@redhat.com>
4494
4495 * java/awt/Font.java:
4496 Stub out more recent API.
4497
4498 2003-08-12 Graydon Hoare <graydon@redhat.com>
4499
4500 * java/awt/Color.java (getAlpha):
4501 Prevent sign-extended alpha values.
4502
4503 2003-08-12 Tom Tromey <tromey@redhat.com>
4504
4505 * gij.cc (main): Handle -? and -X.
4506
4507 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
4508
4509 * java/awt/Container.java
4510 (getPreferredSize): Call preferredSize.
4511 (preferredSize): Moved body of getPreferredSize here.
4512 (getMinimumSize): Call minimumSize.
4513 (minimumSize): Moved body of getMinimumSize here.
4514
4515 2003-08-11 Tom Tromey <tromey@redhat.com>
4516
4517 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
4518 (postEvent): Removed FIXME comment.
4519 (isDispatchThread): Documented.
4520 (getCurrentEvent): New method.
4521 (dispatchEvent): Set currentEvent and lastWhen.
4522 (getMostRecentEventTime): Rewrote.
4523 (invokeLater): Documented.
4524
4525 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
4526
4527 * java/io/PrintStream.java (print): Always flush if auto_flush is
4528 set. Don't check for newline characters.
4529 (write (int)): Implement without using a temporary array.
4530 (write (byte[], int, int): Always flush if auto_flush is set. Don't
4531 check for newline characters.
4532 Fixes PR libgcj/11778.
4533
4534 2003-08-08 Andrew Haley <aph@redhat.com>
4535
4536 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
4537 * Makefile.in: Rebuild.
4538 * java/lang/natRuntime.cc (insertSystemProperties): Add
4539 "sun.boot.class.path".
4540
4541 2003-08-07 Andrew Haley <aph@redhat.com>
4542
4543 * java/io/PrintStream.java: Don't crash on a null string.
4544
4545 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4546
4547 * configure.in: Don't initialize GCINCS to boehm-gc/include.
4548 * configure: Regenerate.
4549
4550 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
4551
4552 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
4553 SocketImpl. Update Javadoc.
4554 (bind): Call close() not impl.close() in event of exception.
4555 (connect): Likewise.
4556 Remove superfluous null checks throughout.
4557 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
4558 Don't create an extra socket. Fix for PR libgcj/10868.
4559 (bind): Clean up exception handling.
4560 Remove superfluous null checks throughout.
4561
4562 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
4563 Bryce McKinlay <bryce@mckinlay.net.nz>
4564
4565 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
4566 ready-to-write argument to _Jv_Select. Reset the socket back to
4567 non-blocking state after connecting.
4568 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
4569 Throw SocketTimeoutException not InterruptedIOException.
4570 (read): Throw SocketTimeoutException not InterruptedIOException.
4571
4572 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
4573
4574 * java/lang/Thread.java (Thread): Check for null "name" from
4575 start of private constructor, not after calling the private
4576 constructor.
4577
4578 2003-08-06 Tom Tromey <tromey@redhat.com>
4579
4580 * java/io/FilePermission.java (equals): Use correct index for
4581 last character of path.
4582
4583 2003-08-06 Alan Modra <amodra@bigpond.net.au>
4584
4585 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
4586 * configure.in: Compare with_cross_host to build_alias, not build.
4587 * aclocal.m4: Regenerate.
4588 * configure: Regenerate.
4589
4590 2003-08-05 Tom Tromey <tromey@redhat.com>
4591
4592 Fix for PR libgcj/11779:
4593 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
4594 class.
4595
4596 * java/lang/reflect/Method.java: Updated status comment.
4597 Imported javadoc from Classpath and re-ordered methods.
4598 * java/lang/reflect/Constructor.java: Reindented. Updated
4599 status comment. Imported javadoc from Classpath and re-ordered
4600 methods.
4601
4602 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
4603
4604 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
4605 Add keyLocation parameter.
4606 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
4607 string.
4608 (paramString): Generate keyChar string according to keyChar, not
4609 keyCode.
4610 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4611 (state_to_awt_mods): Handle ALT key.
4612 (keyevent_state_to_awt_mods): New function.
4613 (get_first_keyval_from_keymap): New function.
4614 (keysym_to_awt_keycode): Get virtual key code from keymap.
4615 Handle missing VK_ values.
4616 (keysym_to_awt_keylocation): New function.
4617 (keyevent_to_awt_keychar): New function.
4618 (generates_key_typed_event): Handle non-text-component case.
4619 Handle GDK_KP_Delete and GDK_KP_Enter.
4620 (awt_event_handler): Call new functions to get postKeyEvent
4621 parameters.
4622 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
4623 Update postKeyEvent method signature.
4624 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
4625 VK_ defines.
4626
4627 2003-08-05 Matthias Klose <doko@debian.org>
4628
4629 * aclocal.m4: check for libart-config binary
4630 under the name libart2-config as well.
4631 * configure: regenerated.
4632
4633 2003-08-04 David P Grove <groved@us.ibm.com>
4634
4635 * java/text/DecimalFormat.java (format): avoid ArithmeticException
4636 when groupingSize is 0.
4637 (parse): Likewise.
4638
4639 2003-08-04 Matthias Klose <doko@debian.org>
4640
4641 * libart.m4: check for libart-config binary
4642 under the name libart2-config as well.
4643 * configure, aclocal.m4: regenerated.
4644
4645 2003-08-02 Michael Koch <konqueror@gmx.de>
4646
4647 * java/nio/ByteBufferImpl.java
4648 (getChar): Check remaining bytes, fixed comment about endianess.
4649 (putChar): Likewise.
4650 (getShort): Likewise.
4651 (putShort): Likewise.
4652 (getInt): Check remaining bytes, fixed conversion, fixed comment about
4653 endianess.
4654 (putInt): Likewise.
4655 (getLong): Likewise.
4656 (putLong): Likewise.
4657 (getFloat): Likewise.
4658 (putFloat): Likewise.
4659 (getDouble): Likewise.
4660 (putDouble): Likewise.
4661 * java/nio/DirectByteBufferImpl.java
4662 (getChar): Wrapped code, fixed comment about endianess.
4663 (putchar): Likewise.
4664 (getShort): Likewise.
4665 (putShort): Likewise.
4666 (getInt): Fixed conversion, fixed comment about endianess.
4667 (putInt): Likewise.
4668 (getLong): Likewise.
4669 (putLong): Likewise.
4670 (getFloat): Likewise.
4671 (putFloat): Likewise.
4672 (getDouble): Likewise.
4673 (putDouble): Likewise.
4674 * java/nio/MappedByteBufferImpl.java
4675 (compact): Implemented.
4676 (getChar): Implemented.
4677 (putChar): Implemented.
4678 (getDouble): Implemented.
4679 (putdouble): Implemented.
4680 (getFloat): Implemented.
4681 (putFloat): Implemented.
4682 (getInt): Implemented.
4683 (putInt): Implemented.
4684 (getLong): Implemented.
4685 (putLong): Implemented.
4686 (getShort): Implemented.
4687 (putShort): Implemented.
4688 * java/nio/channels/FileChannelImpl.java
4689 (read): Set position where to access file.
4690 (write): Likewise.
4691 (transferTo): Flip buffer after read and before write.
4692 (transferFrom): Likewise.
4693
4694 2003-08-02 Michael Koch <konqueror@gmx.de>
4695
4696 * gnu/java/lang/ArrayHelper.java
4697 (equalsArray): Reformated, added method documentation.
4698
4699 2003-08-02 Michael Koch <konqueror@gmx.de>
4700
4701 * java/net/URL.java
4702 (URL): Added paragraph about the
4703 gnu.java.net.nocache_protocol_handlers property.
4704 (ph_cache): Renamed from handlers to match classpath's implementation.
4705 Reordered it with factory and serialVersionUID member variables.
4706 (cache_handlers): New member variable.
4707 (static): New static initializer to initialize cache_handlers from
4708 gnu.java.net.nocache_protocol_handlers property.
4709 (URL): Use ph_cache instead of handlers, reformatted some code to
4710 match classpath's implementation.
4711
4712 2003-08-01 Tom Tromey <tromey@redhat.com>
4713
4714 Fix for PR libgcj/11241:
4715 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
4716 initialCapacity is 0, set it to 1.
4717
4718 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
4719
4720 * java/net/SocketImpl.java (toString): Display the remote address
4721 of an unconnected server socket as "0.0.0.0/0.0.0.0".
4722
4723 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
4724
4725 * javax/swing/border/BevelBorder.java,
4726 javax/swing/border/EtchedBorder.java,
4727 javax/swing/border/LineBorder.java,
4728 javax/swing/border/MatteBorder.java,
4729 javax/swing/border/SoftBevelBorder.java,
4730 javax/swing/plaf/BorderUIResource.java,
4731 javax/swing/plaf/ComponentUI.java,
4732 javax/swing/plaf/TreeUI.java,
4733 javax/swing/plaf/basic/BasicBorders.java,
4734 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4735 javax/swing/plaf/basic/BasicTreeUI.java:
4736 Prepend "doc-files" to all paths to embedded Javadoc images, so
4737 that the generated documentation contains the correct URL.
4738
4739 2003-08-01 Tom Tromey <tromey@redhat.com>
4740
4741 * configure: Rebuilt.
4742 * configure.in (tool_include_dir): Redefine to match gcc.
4743
4744 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
4745 Mark Wielaard <mark@klomp.org>
4746
4747 * java/math/BigDecimal (divide): Correctly handle
4748 ROUND_HALF_EVEN when amount is greater than 0.5.
4749 Simplify and optimize code.
4750
4751 2003-07-31 Tom Tromey <tromey@redhat.com>
4752
4753 More for PR libgcj/11737:
4754 * java/io/ObjectInputStream.java (processResolution): Use
4755 getMethod.
4756 (getMethod): Make method accessible.
4757 (getField): Make field accessible.
4758 (setBooleanField): Don't call setAccessible here.
4759 (setByteField, setCharField, setDoubleField, setFloatField,
4760 setIntField, setLongField, setShortField, setObjectField):
4761 Likewise.
4762 (callReadMethod): Don't check whether method is null. Catch
4763 NoSuchMethodException.
4764 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
4765 cause on thrown exceptions.
4766
4767 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
4768
4769 Fix for PR libgcj/11728:
4770 * java/util/HashMap.java (readObject): Set size.
4771
4772 2003-07-31 Tom Tromey <tromey@redhat.com>
4773
4774 Fix for PR libgcj/11737:
4775 * java/io/ObjectOutputStream.java (getMethod): Make method
4776 accessible.
4777 (getField): Likewise.
4778 (writeObject): Use getMethod.
4779 Import PrivilegedAction and AccessController.
4780 (callWriteMethod): Don't check whether m is null. Catch
4781 NoSuchMethodException.
4782
4783 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
4784 (containsAngle): Likewise.
4785 (getStartPoint): Rewrote.
4786 (getEndPoint): Likewise.
4787 (setAngleStart(Point2D)): Likewise.
4788
4789 2003-07-31 Roger Sayle <roger@eyesopen.com>
4790 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4791
4792 * configure.in: Add new THREADCXXFLAGS variable.
4793 Handle POSIX threads on alpha*-dec-osf*.
4794 * configure: Regenerate.
4795 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
4796 * Makefile.in: Regenerate.
4797
4798 2003-07-08 Andrew Haley <aph@redhat.com>
4799
4800 * include/i386-signal.h (RESTORE): New.
4801 (INIT_SEGV): Set restorer.
4802 (INIT_FPE): Likewise.
4803
4804 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4805
4806 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
4807 than getXLFD.
4808 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
4809 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
4810 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4811 (gtkSetFont): Scale size parameter by PANGO_SCALE.
4812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
4813 Likewise.
4814 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
4815 Likewise.
4816
4817 2003-07-29 Tom Tromey <tromey@redhat.com>
4818
4819 * defineclass.cc (handleField): Throw exception if field name is
4820 duplicated.
4821 (handleMethod): Throw exception for duplicate method.
4822
4823 2003-07-29 Tom Tromey <tromey@redhat.com>
4824
4825 * gnu/gcj/convert/natIconv.cc (write): Handle case where
4826 output buffer is too small.
4827
4828 2003-07-28 Tom Tromey <tromey@redhat.com>
4829
4830 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
4831 New method.
4832 Include gnu/gcj/runtime/StringBuffer.h.
4833 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
4834 native method.
4835 (String(gnu.gcj.runtime.StringBuffer)): Use it.
4836
4837 2003-07-27 Anthony Green <green@redhat.com>
4838
4839 * configure.in: Fix newlib check.
4840 * configure: Rebuilt.
4841
4842 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
4843
4844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4845 Create vbox and layout for GtkPlug.
4846
4847 2003-07-27 Michael Koch <konqueror@gmx.de>
4848
4849 * java/awt/Window.java
4850 (Window): Removed now unused constructor. It became oboslete with the
4851 new embedded window patch.
4852
4853 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
4854 Michael Koch <konqueror@gmx.de>
4855
4856 * gnu/java/awt/EmbeddedWindow.java
4857 (EmbeddedWindow): Extends Frame instead of Window.
4858 (window_id): New member variable to store the native window handle.
4859 (create): Removed.
4860 (EmbeddedWindow): New constructor.
4861 (addNotify): New method.
4862 (getHandler): Likewise.
4863 (setWindowPeer): New native method.
4864 * gnu/java/awt/EmbeddedWindowSupport.java
4865 (EmbeddedWindowSupport): Fixed documentation.
4866 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
4867 WindowPeer, give it an EmbeddedWindow instance instead of the raw
4868 window data.
4869 * gnu/java/awt/natEmbeddedWindow.cc
4870 (create): Removed.
4871 (setWindowPeer): New method.
4872 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
4873 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
4874 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4875 New files
4876 * gnu/java/awt/peer/gtk/GtkToolkit.java
4877 (GtkToolkit): Implements EmbeddedWindowSupport.
4878 (createEmbeddedWindow): New method.
4879 * java/awt/Window.java
4880 (Window): Removed.
4881 * Makefile.am
4882 (java_source_files): Added EmbeddedWindowPeer.java.
4883 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
4884 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
4885 * Makefile.in: Regenerated.
4886
4887 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
4888
4889 * java/lang/Win32Process.java (ConcreteProcess): Surround
4890 a command line element with quotes if it contains an
4891 embedded space or tab.
4892 * java/lang/natWin32Process.cc (startProcess): Do not
4893 surround command line elements with quotes here.
4894
4895 * configure.host: Use -fcheck-references and
4896 -fuse-divide-subroutine for MinGW until we fix
4897 win32_exception_handler( ) in win32.cc w.r.t. Win32
4898 Structured Exception Handling (SEH).
4899
4900 * win32.cc (_Jv_platform_initProperties): Use generic names
4901 like "x86" for the "os.arch" property to be consistent with
4902 what Sun's JDK produces. Use the wProcessorArchitecture
4903 member of the Win32 SYSTEM_INFO structure, filled in a call
4904 to GetSystemInfo( ), instead of dwProcessorType.
4905
4906 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
4907 Ranjit Mathew <rmathew@hotmail.com>
4908
4909 * Makefile.am: Use cross-compiling gcjh from the path for
4910 a crossed-native build.
4911 * Makefile.in: Rebuilt.
4912 * configure.in: Include libltdl in non-newlib builds.
4913 Moved determination of gcj used to build libraries to
4914 its own section. Fixed cross-compilation issues for
4915 non-newlib builds.
4916 * configure: Rebuilt.
4917
4918 2003-07-25 Tom Tromey <tromey@redhat.com>
4919
4920 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
4921 (write): Likewise.
4922 (read): Likewise.
4923 (read): Likewise.
4924
4925 2003-07-25 Mark Wielaard <mark@klomp.org>
4926
4927 * java/lang/natRuntime.cc (_load): Add library name to
4928 UnsatisfiedLinkError when thrown.
4929
4930 2003-07-25 Mark Wielaard <mark@klomp.org>
4931
4932 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
4933 added.
4934 * Makefile.in: Likewise.
4935
4936 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
4937
4938 * java/awt/Component.java
4939 (getPreferredSize): Call preferredSize.
4940 (preferredSize): Moved body of getPreferredSize here.
4941 (getMinimumSize): Call minimumSize.
4942 (minimumSize): Moved body of getMinimumSize here.
4943 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
4944 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
4945 pass -1
4946 * java/awt/Container.java
4947 (validate): Don't validate if there is no peer.
4948 (update): Clear background before calling paint.
4949 * java/awt/GridBagLayout.java
4950 Completed the implementation and fixed several bugs.
4951 * java/awt/MediaTracker.java
4952 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
4953 combine flags.
4954 * java/awt/Window.java
4955 (Window): Don't call setVisible(false). Windows are invisible by
4956 default and calling virtual methods from constructor causes
4957 compatibility problems (e.g. subclasses may assume that the peer
4958 already exists).
4959
4960 2003-07-25 Michael Koch <konqueror@gmx.de>
4961
4962 * java/awt/GridBagLayout.java:
4963 Totally reworked and partly implemented.
4964 * java/awt/GridBagLayoutInfo.java:
4965 New file.
4966
4967 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4968
4969 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
4970 Don't pack label in an event box.
4971
4972 2003-07-24 Tom Tromey <tromey@redhat.com>
4973
4974 For PR libgcj/7482:
4975 * verify.cc (ref_intersection): New class.
4976 (type_val): Removed unresolved_reference_type,
4977 uninitialized_unresolved_reference_type.
4978 (is_assignable_from_slow): Rewrote.
4979 (type::data): Removed.
4980 (type::klass): New field.
4981 (type::type): Added verifier argument.
4982 (type::resolve): Removed.
4983 (type::set_uninitialized): Updated for change to type_val.
4984 (type::set_initialized): Likewise.
4985 (type::isinitialized): Likewise.
4986 (type::print): Likewise.
4987 (construct_primitive_array_type): Likewise.
4988 (type::compatible): Updated for change to type_val and to use
4989 ref_intersection.
4990 (type::isarray): Updated to use ref_intersection.
4991 (type::isinterface): Likewise.
4992 (type::element_type): Likewise.
4993 (type::to_array): Likewise.
4994 (type::verify_dimensions): Rewrote.
4995 (type::merge): Likewise.
4996 (check_class_constant): Updated for type constructor change.
4997 (check_constant): Likewise.
4998 (check_field_constant): Likewise.
4999 (get_one_type): Likewise.
5000 (initialize_stack): Likewise.
5001 (verify_instructions_0): Likewise.
5002 (verify_instructions_0) [op_invokeinterface]: Removed special
5003 case.
5004 (isect_list): New field.
5005 (_Jv_BytecodeVerifier): Initialize it.
5006 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
5007
5008 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
5009
5010 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5011 unless field size is 2.
5012
5013 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5014
5015 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5016 (connectHooks): New method.
5017 (handleEvent): Remove.
5018 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5019 (createHooks): Remove declaration.
5020 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5021 (generates_key_typed_event): Change to handle only certain
5022 keyvals.
5023 (awt_event_handler): Add special handling for GtkTextView.
5024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5025 (textcomponent_commit_cb): New function.
5026 (textcomponent_changed_cb): Likewise.
5027 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5028 (connectHooks): Remove.
5029
5030 2003-07-23 Tom Tromey <tromey@redhat.com>
5031
5032 * java/lang/natSystem.cc (arraycopy): Check for overflow.
5033
5034 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5035
5036 2003-07-22 Tom Tromey <tromey@redhat.com>
5037
5038 * boehm.cc (_Jv_BuildGCDescr): Wrote.
5039 Include limits.h.
5040
5041 2003-07-22 Tom Tromey <tromey@redhat.com>
5042
5043 * java/awt/Window.java (getWarningString): Just return the
5044 string.
5045 (Window): Set warningString; check with security manager.
5046
5047 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
5048
5049 * gnu/awt/xlib/XGraphicsConfiguration.java
5050 (FontMetricsCache): Made static.
5051
5052 2003-07-22 Tom Tromey <tromey@redhat.com>
5053
5054 * java/net/URLEncoder.java (encode(String)): Use platform default
5055 encoding.
5056 (encode(String,String)): Convert to 2-digit upper-case hex
5057 number.
5058 (hex): New field.
5059
5060 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5061
5062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5063 (create): Remove unused method implementation.
5064 (connectHooks): Remove debug messages.
5065
5066 2003-07-20 Anthony Green <green@redhat.com>
5067
5068 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5069 CloneNotSupportedException.
5070 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5071 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5072 * gnu/gcj/xlib/GC.java (clone): Ditto.
5073 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5074 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5075
5076 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5077 handler.
5078 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5079
5080 2003-07-20 Steve Pribyl <steve@netfuel.com.>
5081
5082 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5083 String. Put dlerror() message into exception.
5084 Include UnsatisfiedLinkError.
5085 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5086 String. Now native.
5087
5088 2003-07-20 Tom Tromey <tromey@redhat.com>
5089
5090 * java/lang/Runtime.java: Comment fix.
5091 * java/lang/ClassLoader.java (isAncestorOf): New method.
5092 (getParent): Uncommented security check. Use isAncestorOf.
5093 * include/jvm.h (_Jv_CheckAccess): Declare.
5094 * java/lang/reflect/natConstructor.cc (newInstance): Perform
5095 access check.
5096 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5097 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5098 class loader to _Jv_GetArrayClass.
5099 Include ArrayIndexOutOfBoundsException.h.
5100 * java/lang/reflect/Field.java: Update comment to reflect status.
5101 (equals): Fixed indentation.
5102 * java/lang/Class.h (Class): Declare memberAccessCheck, not
5103 checkMemberAccess. Make _Jv_CheckAccess a friend.
5104 * java/lang/Class.java (memberAccessCheck): New method from
5105 Classpath.
5106 (checkMemberAccess): Removed.
5107 (getDeclaredMethod): Use memberAccessCheck.
5108 (getField): Likewise.
5109 (getMethod): Likewise.
5110 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5111 (_Jv_SearchMethodInClass): Likewise.
5112 * prims.cc (_Jv_CheckAccess): New function.
5113 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5114 (_Jv_JNI_GetAnyFieldID): Likewise.
5115 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5116 (getClassLoader): Added security check.
5117 (getConstructor): Call memberAccessCheck.
5118 (getDeclaredClasses): Likewise.
5119 (getDeclaredField): Likewise.
5120 (getDeclaredFields): Likewise.
5121 (_getConstructors): Likewise.
5122 (getDeclaredConstructor): Likewise.
5123 (getDeclaredMethods): Likewise.
5124 (getFields): Likewise.
5125 (getMethods): Likewise.
5126 (newInstance): Likewise.
5127 (_Jv_MakeVTable): Put method name in exception.
5128 * java/lang/reflect/natMethod.cc (getType): Use
5129 getClassLoaderInternal.
5130 (_Jv_GetTypesFromSignature): Likewise.
5131 (invoke): Perform access check.
5132 (_Jv_CallAnyMethodA): Removed old FIXME comments.
5133 Include ArrayIndexOutOfBoundsException.h.
5134 * java/lang/reflect/natField.cc (getType): Use
5135 getClassLoaderInternal.
5136 (_Jv_CheckFieldAccessibility): Removed.
5137 (getAddr): Use _Jv_CheckAccess; find caller.
5138 Include ArrayIndexOutOfBoundsException.h.
5139
5140 2003-07-20 Michael Koch <konqueror@gmx.de>
5141
5142 * java/net/URL.java
5143 (URL): Fixed documentation to name an argument correcty, Reformatted
5144 one method declaration.
5145 (getURLStreamHandler): Added documentation from classpath.
5146
5147 2003-07-19 Tom Tromey <tromey@redhat.com>
5148
5149 * mauve-libgcj: Don't run CollationElementIterator tests.
5150
5151 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
5152
5153 * java/net/URLClassLoader.java (addURL): Moved implementation to
5154 private addURLImpl() to avoid calling addURL from the constructor.
5155 (addURLImpl): Contains the code that was previously in addURL.
5156 (addURLs): Call addURLImpl(), not addURL().
5157
5158 2003-07-18 Graydon Hoare <graydon@redhat.com>
5159
5160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5161 Handle missing event cases, connect to "value-changed" signal.
5162
5163 2003-07-18 Graydon Hoare <graydon@redhat.com>
5164
5165 * java/awt/geom/CubicCurve2D.java,
5166 java/awt/geom/Line2D.java,
5167 java/awt/geom/QuadCurve2D.java,
5168 java/awt/geom/Rectangle2D.java:
5169 Fix path some calculations, make path iterators follow
5170 a consistent style.
5171
5172 2003-07-18 Mark Wielaard <mark@klomp.org>
5173
5174 * java/util/logging/Handler.java (isLoggable): Check record level
5175 smaller or equal.
5176
5177 2003-07-17 Michael Koch <konqueror@gmx.de>
5178
5179 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5180 Reworked imports.
5181
5182 2003-07-14 Michael Koch <konqueror@gmx.de>
5183
5184 * gnu/java/rmi/server/UnicastServerRef.java:
5185 New version from classpath.
5186
5187 2003-07-14 Michael Koch <konqueror@gmx.de>
5188
5189 * java/awt/image/MemoryImageSource.java,
5190 java/beans/PropertyEditorManager.java,
5191 javax/naming/CompoundName.java,
5192 javax/naming/spi/NamingManager.java,
5193 javax/swing/AbstractButton.java,
5194 javax/swing/ButtonModel.java,
5195 javax/swing/SwingUtilities.java,
5196 javax/swing/UIManager.java,
5197 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5198 javax/swing/event/AncestorEvent.java,
5199 javax/swing/event/InternalFrameEvent.java,
5200 java/util/zip/ZipFile.java:
5201 New versions from classpath.
5202
5203 2003-07-13 Michael Koch <konqueror@gmx.de>
5204
5205 * gnu/java/nio/FileChannelImpl.java,
5206 gnu/java/nio/natFileChannelImpl.cc: Removed.
5207 * java/io/FileInputStream.java,
5208 java/io/FileOutputStream.java,
5209 java/io/RandomAccessFile.java,
5210 java/nio/MappedByteBufferImpl.java:
5211 Import java.nio.channels.FileChannelImpl instead of
5212 gnu.java.nio.FileChannelImpl.
5213 * java/nio/channels/FileChannelImpl.java,
5214 java/nio/channels/natFileChannelImpl.cc:
5215 New files.
5216 * Makefile.am
5217 (ordinary_java_source_files):
5218 Removed gnu/java/nio/FileChannelImpl.java and added
5219 java/nio/channels/FileChannelImpl.java.
5220 (nat source_files):
5221 Removed gnu/java/nio/natFileChannelImpl.cc and added
5222 java/nio/channels/natFileChannelImpl.cc.
5223 * Makefile.in: Regenerated.
5224
5225 2003-07-13 Michael Koch <konqueror@gmx.de>
5226
5227 * javax/swing/plaf/basic/BasicBorders.java,
5228 javax/swing/plaf/basic/BasicLabelUI.java,
5229 javax/swing/plaf/basic/BasicLookAndFeel.java,
5230 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5231 javax/swing/plaf/basic/BasicTextUI.java,
5232 javax/swing/plaf/metal/MetalLookAndFeel.java:
5233 New versions from classpath.
5234
5235 2003-07-13 Michael Koch <konqueror@gmx.de>
5236
5237 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5238 * gnu/java/awt/peer/gtk/GdkGraphics.java
5239 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5240 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5241 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5242 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5243 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5244 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5245 * gnu/java/awt/peer/gtk/GtkClipboard.java
5246 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5247 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5248 * gnu/java/awt/peer/gtk/GtkFramePeer.java
5249 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5250 * gnu/java/awt/peer/gtk/GtkImage.java
5251 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5252 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5253 * gnu/java/awt/peer/gtk/GtkListPeer.java
5254 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5255 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5256 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5257 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5258 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5259 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5260 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5261 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5262 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5263 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5264 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5265 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5266
5267 2003-07-13 Michael Koch <konqueror@gmx.de>
5268
5269 * gnu/java/locale/LocaleInformation_de.java
5270 * gnu/java/locale/LocaleInformation_en.java
5271 * gnu/java/locale/LocaleInformation_nl.java
5272
5273 2003-07-13 Michael Koch <konqueror@gmx.de>
5274
5275 * gnu/java/awt/EmbeddedWindow.java,
5276 gnu/java/awt/EmbeddedWindowSupport.java,
5277 gnu/java/awt/natEmbeddedWindow.cc:
5278 New files.
5279 * java/awt/Window.java
5280 (Window): New constructor to support embedded windows.
5281 * Makefile.am
5282 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5283 gnu/java/awt/EmbeddedWindowSupport.java.
5284 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5285 * Makefile.in: Regenerated.
5286
5287 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
5288
5289 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5290 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5291 * java/awt/im/InputContext.java: Remove a redundant
5292 partial line.
5293
5294 2003-07-09 Tom Tromey <tromey@redhat.com>
5295
5296 * Makefile.in: Rebuilt.
5297 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5298
5299 2003-07-09 Mark Wielaard <mark@klomp.org>
5300
5301 * java/io/ObjectOutputStream.java (writeObject): break after
5302 calling writeClassDescriptor().
5303
5304 2003-07-09 Mark Mitchell <mark@codesourcery.com>
5305
5306 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5307
5308 2003-07-09 Michael Koch <konqueror@gmx.de>
5309
5310 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5311 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5312 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5313 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5314 Explicitly import used classes.
5315 * java/awt/Container.java: New version from classpath.
5316
5317 2003-07-09 Michael Koch <konqueror@gmx.de>
5318
5319 * libgcj.pc.in: New file.
5320 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5321 * Makefile.in: Regenerated.
5322 * configure: Regenrated.
5323 * configure.in: Create libgcj.pc from libgcj.pc.in.
5324
5325 2003-07-08 Mark Wielaard <mark@klomp.org>
5326
5327 * gcj/cni.h: CNI now expands to Compiled Native Interface.
5328
5329 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5330 * java/lang/fdlibm.h: Likewise.
5331
5332 2003-07-07 Adam Megacz <adam@xwt.org>
5333
5334 * posix.cc: added #include<stdio.h>
5335
5336 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5337
5338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5339 formatting.
5340
5341 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5342 (setCaretPosition, setEditable): Rely entirely on native
5343 implementation.
5344 (getArgs): Remove.
5345 (postTextEvent): New method.
5346 (handleEvent): New method.
5347 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5348 method.
5349 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5351 (keysym_to_awt_keycode): Fix range checks.
5352 (generates_key_typed_event): New function.
5353 (awt_event_handler): Post AWT_KEY_RELEASED events to event
5354 queue.
5355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5356 (gtkInit): Store TextComponent's postTextEvent method ID.
5357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5358 (setText): Post TEXT_VALUE_CHANGED event to event queue.
5359
5360 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5361
5362 * configure.in: Check for usleep declaration.
5363 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5364 * configure: Regenerate.
5365 * include/config.h.in: Likewise.
5366 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5367
5368 2003-07-01 Michael Koch <konqueror@gmx.de>
5369
5370 * gnu/gcj/convert/natIconv.cc
5371 (iconv_init): Fixed possible memory leak by releasing allocated iconv
5372 handle.
5373
5374 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5375
5376 * glib-2.0.m4: New file.
5377 * gtk-2.0.m4: New file.
5378 * glib.m4: Remove.
5379 * gtk.m4: Remove.
5380 * configure.in: Update AM_PATH_GTK macro call to
5381 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
5382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5383 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5384 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5386 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5387 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5388 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5389 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5390 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5391 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5392 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5393 jni/gtk-peer/gthread-jni.c,
5394 jni/gtk-peer/gthread-jni.h:
5395 New versions from classpath.
5396 * aclocal.m4: Regenerate.
5397 * configure: Regenerate.
5398 * Makefile.in: Regenerate.
5399 * gcj/Makefile.in: Regenerate.
5400 * include/Makefile.in: Regenerate.
5401 * testsuite/Makefile.in: Regenerate.
5402
5403 2003-06-30 Gary Benson <gbenson@redhat.com>
5404
5405 For PR libgcj/11349:
5406 * javax/naming/spi/NamingManager.java (getURLContext): Use
5407 correct name for factory class.
5408
5409 2003-06-28 Michael Koch <konqueror@gmx.de>
5410
5411 * java/io/PrintStream.java
5412 (checkError): Call flush() instead of direct flushing of the Writer
5413 object.
5414 (print): Call print(String) instead of direct print method of the
5415 Writer Object.
5416 (println): Call println(String) instead of direct println method of the
5417 Writer Object.
5418 (write): Simplified.
5419
5420 2003-06-28 Michael Koch <konqueror@gmx.de>
5421
5422 * java/net/ServerSocket.java
5423 (setChannel): New method.
5424 * java/net/Socket.java
5425 (setChannel): New method.
5426
5427 2003-06-27 Michael Koch <konqueror@gmx.de>
5428
5429 * java/beans/beancontext/BeanContextSupport.java:
5430 New version from classpath.
5431
5432 2003-06-27 Michael Koch <konqueror@gmx.de>
5433
5434 * java/awt/Window.java,
5435 java/awt/font/GraphicAttribute.java,
5436 java/awt/font/ImageGraphicAttribute.java,
5437 java/awt/image/DataBufferByte.java,
5438 java/awt/image/DataBufferInt.java,
5439 java/awt/image/DataBufferUShort.java,
5440 java/awt/image/DirectColorModel.java,
5441 java/awt/image/PixelGrabber.java:
5442 New versions from classpath.
5443
5444 2003-06-27 Michael Koch <konqueror@gmx.de>
5445
5446 * java/security/Certificate.java
5447 (getGuarantor): Removed wrong @deprecated tag.
5448 (getPrincipal): Likewise.
5449 (getPublicKey): Likewise.
5450 (encode): Likewise.
5451 (decode): Likewise.
5452 (getFormat): Likewise.
5453 (toString): Likewise.
5454 * java/security/cert/PolicyQualifierInfo.java
5455 (PolicyQualifierInfo): Made final.
5456 * javax/security/auth/x500/X500Principal.java
5457 (serialVersionUID): New member variable.
5458
5459 2003-06-27 Michael Koch <konqueror@gmx.de>
5460
5461 * java/text/Format.java
5462 (serialVersionUID): Fixed value.
5463
5464 2003-06-27 Michael Koch <konqueror@gmx.de>
5465
5466 * java/net/Inet4Address.java
5467 (Inet4Address): Made package-private.
5468 * java/net/Inet6Address.java
5469 (Inet4Address): Made package-private.
5470
5471 2003-06-27 Michael Koch <konqueror@gmx.de>
5472
5473 * java/io/RandomAccessFile.java
5474 (readLine): Removed wrong @deprecated tag.
5475 (getChannel): Made final.
5476
5477 2003-06-27 Michael Koch <konqueror@gmx.de>
5478
5479 * gnu/java/nio/FileChannelImpl.java
5480 (write): Removed.
5481
5482 2003-06-27 Michael Koch <konqueror@gmx.de>
5483
5484 * java/nio/ByteBufferImpl.java
5485 (ByteBufferImpl): Made it a package-private class
5486 * java/nio/CharBufferImpl.java
5487 (CharBufferImpl): Made it a package-private class
5488 * java/nio/DirectByteBufferImpl.java
5489 (DirectByteBufferImpl): Made it a package-private class
5490 * java/nio/DoubleBufferImpl.java
5491 (DoubleBufferImpl): Made it a package-private class
5492 * java/nio/FloatBufferImpl.java
5493 (FloatBufferImpl): Made it a package-private class
5494 * java/nio/IntBufferImpl.java
5495 (IntBufferImpl): Made it a package-private class
5496 * java/nio/LongBufferImpl.java
5497 (LongBufferImpl): Made it a package-private class
5498 * java/nio/ShortBufferImpl.java
5499 (ShortBufferImpl): Made it a package-private class
5500 * java/nio/channels/FileChannel.java
5501 (write): Made final.
5502 * java/nio/channels/ServerSocketChannel.java
5503 (ServerSocketChanne): Made protected.
5504
5505 2003-06-27 Michael Koch <konqueror@gmx.de>
5506
5507 * javax/naming/CompositeName.java
5508 (serialVersionUID): New member variable.
5509 * javax/naming/CompoundName.java
5510 (serialVersionUID): New member variable.
5511 * javax/naming/InitialContext.java
5512 (InitialContext): Throws NamingException.
5513 (init): Likewise.
5514 * javax/naming/LinkRef.java
5515 (serialVersionUID): New member variable.
5516 (gteLinkName): Throws NamingException.
5517 * javax/naming/NamingException.java
5518 (serialVersionUID): New member variable.
5519 * javax/naming/NamingSecurityException.java
5520 (NamingSecurityException): Made abstract.
5521 (serialVersionUID): New member variable.
5522 * javax/naming/ReferralException.java
5523 (serialVersionUID): New member variable.
5524 * javax/naming/StringRefAddr.java
5525 (serialVersionUID): New member variable.
5526 * javax/naming/directory/BasicAttribute.java:
5527 Reworked imports.
5528 (serialVersionUID): New member variable.
5529 (get): Throws NamingException.
5530 (getAll): Throws NamingException.
5531 * javax/naming/directory/BasicAttributes.java:
5532 Reworked imports.
5533 (serialVersionUID): New member variable.
5534 * javax/naming/ldap/UnsolicitedNotificationEvent.java
5535 (serialVersionUID): New member variable.
5536
5537 2003-06-27 Michael Koch <konqueror@gmx.de>
5538
5539 * Makefile.am
5540 (awt_java_source_files): Added new files:
5541 javax/swing/Popup.java,
5542 javax/swing/PopupFactory.java
5543 * Makefile.in: Regenerated.
5544
5545 2003-06-27 Michael Koch <konqueror@gmx.de>
5546
5547 * javax/swing/JWindow.java,
5548 javax/swing/event/AncestorEvent.java,
5549 javax/swing/event/HyperlinkEvent.java,
5550 javax/swing/event/InternalFrameEvent.java,
5551 javax/swing/event/ListDataEvent.java,
5552 javax/swing/event/TableModelEvent.java,
5553 javax/swing/plaf/PopupMenuUI.java,
5554 javax/swing/plaf/SplitPaneUI.java,
5555 javax/swing/plaf/TabbedPaneUI.java,
5556 javax/swing/plaf/TextUI.java,
5557 javax/swing/plaf/TreeUI.java,
5558 javax/swing/plaf/basic/BasicTextUI.java,
5559 javax/swing/plaf/basic/BasicTreeUI.java:
5560 New versions from classpath.
5561 * javax/swing/Popup.java,
5562 javax/swing/PopupFactory.jav:
5563 New source files from classpath.
5564 * javax/swing/plaf/doc-files/TreeUI-1.png:
5565 New binary files from classpath.
5566
5567 2003-06-25 Michael Koch <konqueror@gmx.de>
5568
5569 * Makefile.am
5570 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
5571 * Makefile.in: Regenerated.
5572
5573 2003-06-25 Michael Koch <konqueror@gmx.de>
5574
5575 * javax/swing/plaf/ActionMapUIResource.java,
5576 javax/swing/plaf/BorderUIResource.java,
5577 javax/swing/plaf/ButtonUI.java,
5578 javax/swing/plaf/ColorChooserUI.java,
5579 javax/swing/plaf/ColorUIResource.java,
5580 javax/swing/plaf/ComboBoxUI.java,
5581 javax/swing/plaf/ComponentInputMapUIResource.java,
5582 javax/swing/plaf/ComponentUI.java,
5583 javax/swing/plaf/DesktopIconUI.java,
5584 javax/swing/plaf/DesktopPaneUI.java,
5585 javax/swing/plaf/DimensionUIResource.java,
5586 javax/swing/plaf/FileChooserUI.java,
5587 javax/swing/plaf/FontUIResource.java,
5588 javax/swing/plaf/IconUIResource.java,
5589 javax/swing/plaf/InputMapUIResource.java,
5590 javax/swing/plaf/InsetsUIResource.java,
5591 javax/swing/plaf/InternalFrameUI.java,
5592 javax/swing/plaf/LabelUI.java,
5593 javax/swing/plaf/ListUI.java,
5594 javax/swing/plaf/MenuBarUI.java,
5595 javax/swing/plaf/MenuItemUI.java,
5596 javax/swing/plaf/OptionPaneUI.java,
5597 javax/swing/plaf/PanelUI.java,
5598 javax/swing/plaf/ProgressBarUI.java,
5599 javax/swing/plaf/RootPaneUI.java,
5600 javax/swing/plaf/ScrollBarUI.java,
5601 javax/swing/plaf/ScrollPaneUI.java,
5602 javax/swing/plaf/SeparatorUI.java,
5603 javax/swing/plaf/SliderUI.java,
5604 javax/swing/plaf/TableHeaderUI.java,
5605 javax/swing/plaf/TableUI.java,
5606 javax/swing/plaf/ToolBarUI.java,
5607 javax/swing/plaf/ToolTipUI.java,
5608 javax/swing/plaf/ViewportUI.java:
5609 New versions from classpath.
5610 * javax/swing/plaf/SpinnerUI.java:
5611 New file from classpath
5612
5613 2003-06-25 Michael Koch <konqueror@gmx.de>
5614
5615 * java/awt/image/ColorModel.java:
5616 New version from classpath.
5617
5618 2003-06-25 Michael Koch <konqueror@gmx.de>
5619
5620 * java/net/PlainDatagramSocketImpl.java:
5621 Partly merged with classpath, this mainly adds documentation.
5622
5623 2003-06-25 Michael Koch <konqueror@gmx.de>
5624
5625 * java/io/ObjectInputStream.java
5626 (readClassDescriptor): New method.
5627 (readObject): Moved functionality to readClassDescriptor().
5628 * java/io/ObjectOutputStream.java
5629 (writeClassDescriptor): New method.
5630 (writeObject): Moved functionality to writeClassDescriptor().
5631
5632 2003-06-25 Michael Koch <konqueror@gmx.de>
5633
5634 * javax/swing/plaf/basic/BasicListUI.java,
5635 javax/swing/plaf/basic/BasicOptionPaneUI.java:
5636 Added missing methods.
5637
5638 2003-06-25 Michael Koch <konqueror@gmx.de>
5639
5640 * javax/swing/event/AncestorEvent.java
5641 javax/swing/event/HyperlinkEvent.java
5642 javax/swing/event/InternalFrameEvent.java
5643 javax/swing/event/ListDataEvent.java
5644 javax/swing/event/TableModelEvent.java:
5645 Compile fixes.
5646
5647 2003-06-24 Michael Koch <konqueror@gmx.de>
5648
5649 * java/net/URL.java:
5650 Renamed "handler" to "ph" in the whole file to match classpaths
5651 version.
5652 * java/net/URLStreamHandler.java:
5653 (equals): Renamed "handler" to "ph".
5654
5655 2003-06-24 Michael Koch <konqueror@gmx.de>
5656
5657 * javax/swing/event/AncestorEvent.java,
5658 javax/swing/event/HyperlinkEvent.java,
5659 javax/swing/event/InternalFrameEvent.java,
5660 javax/swing/event/ListDataEvent.java,
5661 javax/swing/event/TableModelEvent.java,
5662 javax/swing/event/TreeWillExpandListener.java,
5663 javax/swing/plaf/ComponentUI.java,
5664 javax/swing/plaf/DesktopIconUI.java,
5665 javax/swing/plaf/DesktopPaneUI.java,
5666 javax/swing/plaf/DimensionUIResource.java,
5667 javax/swing/plaf/FileChooserUI.java,
5668 javax/swing/plaf/FontUIResource.java,
5669 javax/swing/plaf/IconUIResource.java,
5670 javax/swing/plaf/InputMapUIResource.java,
5671 javax/swing/plaf/InsetsUIResource.java,
5672 javax/swing/plaf/InternalFrameUI.java,
5673 javax/swing/plaf/LabelUI.java,
5674 javax/swing/plaf/ListUI.java,
5675 javax/swing/plaf/MenuBarUI.java,
5676 javax/swing/plaf/MenuItemUI.java,
5677 javax/swing/plaf/OptionPaneUI.java,
5678 javax/swing/plaf/PanelUI.java,
5679 javax/swing/plaf/ProgressBarUI.java,
5680 javax/swing/plaf/doc-files/ComponentUI-1.dia,
5681 javax/swing/plaf/doc-files/ComponentUI-1.png:
5682 New versions from classpath.
5683
5684 2003-06-24 Michael Koch <konqueror@gmx.de>
5685
5686 * java/nio/Buffer.java
5687 (cap): Made package-private.
5688 (pos): Likewise.
5689 (limit): Likewise.
5690 (mark): Likewise.
5691
5692 2003-06-24 Michael Koch <konqueror@gmx.de>
5693
5694 * java/net/SocketImpl.java
5695 (shutdownInput): Made it non-abstract method throwing an exception
5696 like in SUNs JRE.
5697 (shutdownOutput): Likewise.
5698 * java/net/SocketInputStream.java,
5699 java/net/SocketOutputStream.java:
5700 New files from classpath.
5701
5702 2003-06-24 Michael Koch <konqueror@gmx.de>
5703
5704 * java/awt/Font.java,
5705 java/awt/Window.java,
5706 java/awt/color/ColorSpace.java,
5707 java/awt/datatransfer/StringSelection.java,
5708 java/awt/image/ColorModel.java:
5709 New versions from classpath.
5710
5711 2003-06-24 Michael Koch <konqueror@gmx.de>
5712
5713 * Makefile.am
5714 (awt_java_source_files): Added new files:
5715 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5716 javax/swing/plaf/basic/BasicSplitPaneUI.java
5717 * Makefile.in: Regenerated.
5718
5719 2003-06-24 Michael Koch <konqueror@gmx.de>
5720
5721 * javax/swing/text/JTextComponent.java:
5722 New version from classpath.
5723
5724 2003-06-24 Michael Koch <konqueror@gmx.de>
5725
5726 * javax/swing/Timer.java,
5727 javax/swing/plaf/ActionMapUIResource.java,
5728 javax/swing/plaf/ButtonUI.java,
5729 javax/swing/plaf/ColorChooserUI.java,
5730 javax/swing/plaf/ColorUIResource.java,
5731 javax/swing/plaf/ComboBoxUI.java,
5732 javax/swing/plaf/ComponentInputMapUIResource.java,
5733 javax/swing/plaf/basic/BasicBorders.java:
5734 New versions from classpath.
5735 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
5736 javax/swing/plaf/basic/BasicSplitPaneUI.java:
5737 New file from classpath.
5738 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
5739 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
5740 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
5741 javax/swing/plaf/doc-files/ComponentUI-1.dia,
5742 javax/swing/plaf/doc-files/ComponentUI-1.png:
5743 New binary files from classpath.
5744
5745 2003-06-24 Michael Koch <konqueror@gmx.de>
5746
5747 * java/io/LineNumberReader.java
5748 (skip): Dont do line number accounting here as this is already done in
5749 read(), simplified.
5750
5751 2003-06-21 Michael Koch <konqueror@gmx.de>
5752
5753 * java/io/File.java
5754 (static): Load javaio lib if existing (only in classpath).
5755 (File): Revised documentation to show the correct argument name.
5756 (createTempFile): Partly merged with classpath.
5757 (compareTo): Simplified.
5758 (lastModified): Throw exception if time < 0.
5759 (deleteOnExit): Revised documentation.
5760
5761 2003-06-21 Michael Koch <konqueror@gmx.de>
5762
5763 * java/net/PlainSocketImpl.java:
5764 Reformatted.
5765 (PlainSocketImpl): Merged class documentaion with classpath.
5766 (in): Moved.
5767 (out): Moved.
5768 (PlainSocketImpl): New empty constructor.
5769 (finalize): Moved.
5770 (setOption): Merged documentation from classpath.
5771 (getOption): Likewise.
5772 (create): Likewise.
5773 (connect): Likewise.
5774 (bind): Likewise.
5775 (listen): Likewise.
5776 (accept): Likewise.
5777 (available): Likewise.
5778 (close): Likewise.
5779 (read): Likewise.
5780 (write): Likewise.
5781 (getInputStream): Made synchronozed to get sure that only one stream
5782 object can be created for this socket, merged documentation from
5783 classpath.
5784 (getOutputStream): Likewise.
5785
5786 2003-06-21 Michael Koch <konqueror@gmx.de>
5787
5788 * java/net/PlainSocketImpl.java:
5789 Reformatting.
5790 (static): New implicit method.
5791 (read): Made package private.
5792 (write): Likewise.
5793
5794 2003-06-21 Michael Koch <konqueror@gmx.de>
5795
5796 * java/util/SimpleTimeZone.java:
5797 Removed unneeded import, reformatting.
5798
5799 2003-06-21 Michael Koch <konqueror@gmx.de>
5800
5801 * java/text/DateFormat.java,
5802 java/text/SimpleDateFormat.java,
5803 java/util/Locale.java:
5804 New versions from classpath.
5805
5806 2003-06-21 Michael Koch <konqueror@gmx.de>
5807
5808 * javax/swing/SpinnerModel.java:
5809 New file from classpath.
5810 * javax/swing/border/LineBorder.java,
5811 javax/swing/border/SoftBevelBorder.java,
5812 javax/swing/plaf/BorderUIResource.java,
5813 javax/swing/plaf/basic/BasicBorders.java:
5814 New versions from classpath.
5815 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
5816 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
5817 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
5818 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
5819 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
5820 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
5821 New binary files from classpath.
5822
5823 2003-06-21 Michael Koch <konqueror@gmx.de>
5824
5825 * java/util/logging/LogRecord.java,
5826 java/util/logging/Logger.java,
5827 java/util/logging/SocketHandler.java,
5828 java/util/logging/SimpleFormatter.java,
5829 java/util/logging/Formatter.java,
5830 java/util/logging/ErrorManager.java,
5831 java/util/logging/Handler.java,
5832 java/util/logging/FileHandler.java,
5833 java/util/logging/LogManager.java,
5834 java/util/logging/Level.java,
5835 java/util/logging/ConsoleHandler.java,
5836 java/util/logging/StreamHandler.java,
5837 java/util/logging/LoggingPermission.java,
5838 java/util/logging/Filter.java,
5839 java/util/logging/MemoryHandler.java,
5840 java/util/logging/XMLFormatter.java:
5841 New files from classpath.
5842
5843 2003-06-20 Michael Koch <konqueror@gmx.de>
5844
5845 * java/io/ObjectStreamField.java
5846 (unshared): new member variable.
5847 (ObjectStreamField): New constructor.
5848 (isUnshared): New method.
5849
5850 2003-06-20 Michael Koch <konqueror@gmx.de>
5851
5852 * java/net/URLStreamHandler.java
5853 (hostsEqual): Rewritten.
5854
5855 2003-06-20 Michael Koch <konqueror@gmx.de>
5856
5857 * gnu/java/nio/MappedByteFileBuffer.java,
5858 gnu/java/nio/natMappedByteFileBuffer.cc:
5859 Removed
5860 * java/nio/MappedByteBufferImpl.java:
5861 New file.
5862 * gnu/java/nio/FileChannelImpl.java:
5863 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
5864 * Makefile.am
5865 (ordinary_java_source_files): Removed
5866 gnu/java/nio/MappedByteFileBuffer.java and added
5867 java/nio/MappedByteBufferImpl.java.
5868 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
5869 * Makefile.in: Regenerated.
5870
5871 2003-06-19 Michael Koch <konqueror@gmx.de>
5872
5873 * gnu/java/nio/DatagramChannelImpl.java
5874 (fd): Removed.
5875 (blocking): New member variable.
5876 (socket): Likewise.
5877 (DatagramChannelImpl): Throws IOException, initialize socket.
5878 (socket):Implemented.
5879 (implCloseSelectableChannel): Throws IOException, implemented.
5880 (implConfigureBlocking): Likewise.
5881 (connect): Likewise.
5882 (disconnect): Likewise.
5883 (isConnected): Likewise.
5884 (write): Likewise.
5885 (read): Likewise.
5886 (receive): Throws IOException.
5887 (send): Likewise.
5888 * gnu/java/nio/SocketChannelImpl.java
5889 (read): Implemented.
5890 (write): Implemented.
5891
5892 2003-06-19 Michael Koch <konqueror@gmx.de>
5893
5894 * javax/swing/JComponent.java,
5895 javax/swing/JInternalFrame.java,
5896 javax/swing/MenuSelectionManager.java,
5897 javax/swing/SwingUtilities.java,
5898 javax/swing/ToggleButtonModel.java:
5899 New versions from classpath.
5900
5901 2003-06-19 Michael Koch <konqueror@gmx.de>
5902
5903 * java/text/CollationElementIterator.java
5904 (NULLORDER): Initialize with -1 as JDK documentation says.
5905
5906 2003-06-19 Michael Koch <konqueror@gmx.de>
5907
5908 * java/net/HttpURLConnection.java,
5909 java/net/Inet4Address.java,
5910 java/net/Inet6Address.java,
5911 java/net/SocketImpl.java,
5912 java/net/URLClassLoader.java:
5913 Reworked import statements.
5914 * java/net/InetAddress.java
5915 (getByAddress): Simplified.
5916 * java/net/ServerSocket.java
5917 (ServerSocket): Moved special handling during bind operation to
5918 bind().
5919 (bind): Handle different cases when trying to bind a socket.
5920 * java/net/URLConnection.java
5921 (getHeaderFieldDate): Merged with classpath.
5922 (getHeaderFieldInt): Likewise.
5923
5924 2003-06-19 Michael Koch <konqueror@gmx.de>
5925
5926 * java/util/zip/InflaterInputStream.java
5927 (InflaterInputStream): Throw NullPointerException if in is null (as
5928 JDK does).
5929
5930 2003-06-19 Michael Koch <konqueror@gmx.de>
5931
5932 * java/awt/Font.java
5933 javax/swing/UIManager.java
5934 javax/swing/border/AbstractBorder.java
5935 javax/swing/border/BevelBorder.java
5936 javax/swing/border/Border.java
5937 javax/swing/border/CompoundBorder.java
5938 javax/swing/border/EmptyBorder.java
5939 javax/swing/border/EtchedBorder.java
5940 javax/swing/border/LineBorder.java
5941 javax/swing/border/MatteBorder.java
5942 javax/swing/border/TitledBorder.java
5943 javax/swing/plaf/BorderUIResource.java
5944 javax/swing/plaf/basic/BasicBorders.java
5945 javax/swing/plaf/basic/BasicButtonUI.java
5946 javax/swing/plaf/basic/BasicCheckBoxUI.java
5947 javax/swing/plaf/basic/BasicGraphicsUtils.java
5948 javax/swing/plaf/basic/BasicLabelUI.java
5949 javax/swing/plaf/basic/BasicRadioButtonUI.java
5950 javax/swing/plaf/basic/BasicToggleButtonUI.java:
5951 New versions from classpath.
5952 * javax/swing/border/SoftBevelBorder.java:
5953 New file from classpath.
5954 * javax/swing/border/doc-files/LineBorder-1.png,
5955 javax/swing/border/doc-files/BevelBorder-1.png,
5956 javax/swing/border/doc-files/BevelBorder-2.png,
5957 javax/swing/border/doc-files/BevelBorder-3.png,
5958 javax/swing/border/doc-files/EmptyBorder-1.png,
5959 javax/swing/border/doc-files/EtchedBorder-1.png,
5960 javax/swing/border/doc-files/EtchedBorder-2.png,
5961 javax/swing/border/doc-files/MatteBorder-1.png,
5962 javax/swing/border/doc-files/MatteBorder-2.png,
5963 javax/swing/border/doc-files/MatteBorder-3.png,
5964 javax/swing/border/doc-files/MatteBorder-4.png,
5965 javax/swing/border/doc-files/MatteBorder-5.png,
5966 javax/swing/border/doc-files/MatteBorder-6.png,
5967 javax/swing/border/doc-files/SoftBevelBorder-1.png,
5968 javax/swing/border/doc-files/SoftBevelBorder-2.png,
5969 javax/swing/border/doc-files/SoftBevelBorder-3.png,
5970 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
5971 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
5972 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
5973 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
5974 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
5975 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
5976 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
5977 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
5978 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
5979 New binary files from classpath.
5980 * Makefile.am
5981 (awt_java_source_files): Added
5982 javax/swing/border/SoftBevelBorder.java.
5983 * Makefile.in: Regenerated.
5984
5985 2003-06-19 Michael Koch <konqueror@gmx.de>
5986
5987 * gnu/java/security/x509/X509Certificate.java
5988 (writeReplace): Merged from classpath.
5989
5990 2003-06-19 Michael Koch <konqueror@gmx.de>
5991
5992 * gnu/java/nio/FileChannelImpl.java
5993 (map_address): Made public.
5994 (FileChannelImpl): Merged with classpath.
5995 * gnu/java/nio/natFileChannelImpl.cc
5996 (nio_mmap_file): Commented out unused arguments.
5997 (nio_unmmap_file): Likewise.
5998 (niu_msync): Likewise.
5999
6000 2003-06-19 Michael Koch <konqueror@gmx.de>
6001
6002 * java/awt/image/IndexColorModel.java:
6003 New version from classpath.
6004
6005 2003-06-18 Tom Tromey <tromey@redhat.com>
6006
6007 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6008 on arrays.
6009 (isLoopbackAddress): Likewise.
6010 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6011 on arrays.
6012
6013 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
6014
6015 * java/lang/natVMSecurityManager.cc (getClassContext):
6016 Use maxlen instead of len for loop bound.
6017
6018 2003-06-18 Michael Koch <konqueror@gmx.de>
6019
6020 * gnu/java/nio/SelectorImpl.java
6021 (register): Use fd with value 0 for now, will be fixed later.
6022 * gnu/java/nio/ServerSocketChannelImpl.java
6023 (fd): Removed.
6024 (local_port): Removed.
6025 (InetSocketAddress): Removed.
6026 (ServerSocketChannelImpl): Just initialize internal socket object.
6027 (implCloseSelectableChannel): Close internal socket object.
6028 (implConfigureBlocking): Added comment.
6029 (accept): Use jaba.net stuff to accept socket.
6030 * gnu/java/nio/SocketChannelImpl.java
6031 (fd): Removed.
6032 (local_port): Removed.
6033 (InetSocketAddress): Removed.
6034 (SocketCreate): Removed.
6035 (SocketConnect): Removed.
6036 (SocketBind): Removed.
6037 (SocketListen): Removed.
6038 (SocketAvailable): Removed.
6039 (SocketClose): Removed.
6040 (SocketRead): Removed.
6041 (SocketWrite): Removed.
6042 (SocketChannelImpl): Just initialize internal socket object.
6043 (implCloseSelectableChannel): Close internal socket object.
6044 (implConfigureBlocking): Fixed implementation, added comment.
6045 (connect): Use internal socket object to connect.
6046 (socket): No need for sanity checks.
6047 (read): Comment out some stuff, this will be reimplemented in the next
6048 commit.
6049 (write): Likewise.
6050 * gnu/java/nio/natFileChannelImpl.cc
6051 (nio_mmap_file): Line wrapped.
6052 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6053 * Makefile.am
6054 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6055 * Makefile.in: Regenerated.
6056
6057 2003-06-18 Michael Koch <konqueror@gmx.de>
6058
6059 * java/util/Locale.java
6060 (equals): Merged from classpath.
6061
6062 2003-06-18 Michael Koch <konqueror@gmx.de>
6063
6064 * java/net/InetAddress.java:
6065 Reformatted to better match classpath's version.
6066 * java/net/URL.java
6067 (equals): Simplified.
6068 * java/net/URLConnection.java
6069 (setDoInput): Revised documentation.
6070 (getDefaultUseCaches): Likewise.
6071 (setRequestProperty): Added @since tag.
6072
6073 2003-06-17 Michael Koch <konqueror@gmx.de>
6074
6075 * java/net/InetSocketAddress.java
6076 (InetSocketAddress): Use wildcard address if addr is null.
6077 (InetSocketAddress): Dont duplicate implementation.
6078 (InetSocketAddress): Throw exception when hostname is null.
6079 * java/net/Socket.java:
6080 Reworked imports.
6081 (Socket): Throw exception when raddr is null, handle case when laddr
6082 is null.
6083
6084 2003-06-17 Michael Koch <konqueror@gmx.de>
6085
6086 * java/nio/DirectByteBufferImpl.java
6087 (address): Made package private.
6088 (DirectByteBufferImpl): New constructor.
6089 * java/nio/natDirectByteBufferImpl.cc
6090 (allocateImpl): Moved to java.nio namespace, implemented.
6091 (freeImpl): Likewise.
6092 (getImpl): Likewise.
6093 (putImpl): Likewise.
6094 * jni.cc
6095 (_Jv_JNI_NewDirectByteBuffer): Implemented.
6096 (_Jv_JNI_GetDirectBufferAddress): Implemented.
6097 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6098
6099 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6100
6101 * include/powerpc-signal.h: New File.
6102 * configure.in: Use it.
6103 * configure: Regenerated.
6104
6105 2003-06-17 Michael Koch <konqueror@gmx.de>
6106
6107 * java/util/Locale.java
6108 (getDisplayLanguage): Made it final.
6109 (getDisplayCountry): Likewise.
6110 (getDisplayVariant): Likewise.
6111 (getDisplayName): Likewise.
6112
6113 2003-06-17 Michael Koch <konqueror@gmx.de>
6114
6115 * java/util/PropertyResourceBundle.java:
6116 Removed unneeded import.
6117
6118 2003-06-17 Michael Koch <konqueror@gmx.de>
6119
6120 * java/util/prefs/AbstractPreferences.java,
6121 java/util/prefs/PreferencesFactory.java:
6122 Reworked imports, removed unused imports.
6123 * java/util/prefs/Preferences.java
6124 (systemNodeForPackage): Method takes a Class not an Object.
6125 (userNodeForPackage): Likewise.
6126 (nodeForPackage): Likewise.
6127
6128 2003-06-17 Michael Koch <konqueror@gmx.de>
6129
6130 * gnu/java/security/x509/X509Certificate.java:
6131 Explicitely import used classes.
6132
6133 2003-06-17 Michael Koch <konqueror@gmx.de>
6134
6135 * java/util/zip/ZipEntry.java,
6136 java/util/zip/ZipFile.java,
6137 java/util/zip/ZipInputStream.java,
6138 java/util/zip/ZipOutputStream.java:
6139 Reworked imports, only import used classes.
6140
6141 2003-06-17 Michael Koch <konqueror@gmx.de>
6142
6143 * gnu/java/lang/ArrayHelper.java,
6144 gnu/java/lang/ClassHelper.java:
6145 Reformatted to match classpath's versions.
6146
6147 2003-06-14 Michael Koch <konqueror@gmx.de>
6148
6149 * gnu/java/nio/FileChannelImpl.java
6150 (map_address): Removed incorrect comment.
6151 * gnu/java/nio/SelectorImpl.java
6152 (register): Remove code duplication and code for file channel handling.
6153 * gnu/java/nio/ServerSocketChannelImpl.java
6154 (serverSocket): Renamed from sock_object.
6155 (ServerSocketChannel): Initialize serverSocket.
6156 (socket): Return serverSocket.
6157 * gnu/java/nio/SocketChannelImpl.java
6158 (socket): Renamed from sock_object.
6159 (isConnectionPenging): Simplified.
6160 (socket): Return socket.
6161 2003-06-14 Michael Koch <konqueror@gmx.de>
6162
6163 * java/security/BasicPermission.java:
6164 New version from classpath.
6165
6166 2003-06-14 Michael Koch <konqueror@gmx.de>
6167
6168 * javax/naming/directory/Attribute.java:
6169 New version from classpath.
6170
6171 2003-06-14 Michael Koch <konqueror@gmx.de>
6172
6173 * java/io/BufferedReader.java,
6174 java/io/FileOutputStream.java:
6175 New versions from classpath.
6176
6177 2003-06-12 Andrew Haley <aph@redhat.com>
6178
6179 * prims.cc (catch_segv): Create exception in handler.
6180 (catch_fpe): Likewise.
6181 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6182 (_Jv_ThrowSignal): Remove.
6183
6184 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6185 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6186 to nullp and arithexception.
6187 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6188 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6189 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6190 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6191 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6192
6193 2003-06-11 Andrew Haley <aph@redhat.com>
6194
6195 * jni.cc (_Jv_JNI_check_types): New.
6196 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6197 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6198 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6199 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6200
6201 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6202 infinite loop.
6203
6204 2003-06-11 Tom Tromey <tromey@redhat.com>
6205
6206 * java/lang/ClassLoader.java (loadClass): Not deprecated.
6207 * java/io/PrintStream.java: Not deprecated.
6208
6209 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
6210
6211 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6212 (fillOval): implemented
6213 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6214 (fillArc): implemented.
6215 * gnu/gcj/xlib/GC.java (drawArc): added native method.
6216 (fillArc): added native method.
6217 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6218 (fillArc): added native method.
6219
6220 2003-06-11 Michael Koch <konqueror@gmx.de>
6221
6222 * java/awt/im/InputSubset.java:
6223 New version from classpath.
6224
6225 2003-06-11 Michael Koch <konqueror@gmx.de>
6226
6227 * javax/swing/AbstractAction.java,
6228 javax/swing/AbstractButton.java,
6229 javax/swing/AbstractCellEditor.java,
6230 javax/swing/AbstractListModel.java,
6231 javax/swing/BorderFactory.java,
6232 javax/swing/Box.java,
6233 javax/swing/BoxLayout.java,
6234 javax/swing/ButtonGroup.java,
6235 javax/swing/DefaultButtonModel.java,
6236 javax/swing/DefaultListModel.java,
6237 javax/swing/DefaultListSelectionModel.java,
6238 javax/swing/FocusManager.java,
6239 javax/swing/ImageIcon.java,
6240 javax/swing/InputMap.java,
6241 javax/swing/JApplet.java,
6242 javax/swing/JButton.java,
6243 javax/swing/JCheckBox.java,
6244 javax/swing/JCheckBoxMenuItem.java,
6245 javax/swing/JColorChooser.java,
6246 javax/swing/JComboBox.java,
6247 javax/swing/JComponent.java,
6248 javax/swing/JDesktopPane.java,
6249 javax/swing/JDialog.java,
6250 javax/swing/JEditorPane.java,
6251 javax/swing/JFileChooser.java,
6252 javax/swing/JFormattedTextField.java,
6253 javax/swing/JFrame.java,
6254 javax/swing/JLabel.java,
6255 javax/swing/JLayeredPane.java,
6256 javax/swing/JList.java,
6257 javax/swing/JMenuBar.java,
6258 javax/swing/JMenuItem.java,
6259 javax/swing/JOptionPane.java,
6260 javax/swing/JPanel.java,
6261 javax/swing/JPasswordField.java,
6262 javax/swing/JPopupMenu.java,
6263 javax/swing/JProgressBar.java,
6264 javax/swing/JRadioButton.java,
6265 javax/swing/JRadioButtonMenuItem.java,
6266 javax/swing/JRootPane.java,
6267 javax/swing/JScrollBar.java,
6268 javax/swing/JScrollPane.java,
6269 javax/swing/JSeparator.java,
6270 javax/swing/JSlider.java,
6271 javax/swing/JTabbedPane.java,
6272 javax/swing/JTable.java,
6273 javax/swing/JTextField.java,
6274 javax/swing/JToggleButton.java,
6275 javax/swing/JToolBar.java,
6276 javax/swing/JToolTip.java,
6277 javax/swing/JTree.java,
6278 javax/swing/JViewport.java,
6279 javax/swing/JWindow.java,
6280 javax/swing/KeyStroke.java,
6281 javax/swing/ListSelectionModel.java,
6282 javax/swing/LookAndFeel.java,
6283 javax/swing/RepaintManager.java,
6284 javax/swing/ScrollPaneLayout.java,
6285 javax/swing/SizeRequirements.java,
6286 javax/swing/SwingConstants.java,
6287 javax/swing/Timer.java,
6288 javax/swing/UIDefaults.java,
6289 javax/swing/UIManager.java,
6290 javax/swing/border/AbstractBorder.java,
6291 javax/swing/border/CompoundBorder.java,
6292 javax/swing/colorchooser/AbstractColorChooserPanel.java,
6293 javax/swing/colorchooser/ColorChooserComponentFactory.java,
6294 javax/swing/colorchooser/ColorSelectionModel.java,
6295 javax/swing/colorchooser/DefaultColorSelectionModel.java,
6296 javax/swing/event/AncestorEvent.java,
6297 javax/swing/event/HyperlinkEvent.java,
6298 javax/swing/event/InternalFrameAdapter.java,
6299 javax/swing/event/InternalFrameEvent.java,
6300 javax/swing/event/ListDataEvent.java,
6301 javax/swing/event/MouseInputAdapter.java,
6302 javax/swing/event/SwingPropertyChangeSupport.java,
6303 javax/swing/event/TableModelEvent.java,
6304 javax/swing/event/TreeWillExpandListener.java,
6305 javax/swing/event/UndoableEditEvent.java,
6306 javax/swing/filechooser/FileFilter.java,
6307 javax/swing/filechooser/FileSystemView.java,
6308 javax/swing/filechooser/FileView.java,
6309 javax/swing/plaf/BorderUIResource.java,
6310 javax/swing/plaf/basic/BasicDefaults.java,
6311 javax/swing/table/AbstractTableModel.java,
6312 javax/swing/table/DefaultTableCellRenderer.java,
6313 javax/swing/table/DefaultTableColumnModel.java,
6314 javax/swing/table/DefaultTableModel.java,
6315 javax/swing/table/TableColumn.java,
6316 javax/swing/text/JTextComponent.java,
6317 javax/swing/tree/AbstractLayoutCache.java,
6318 javax/swing/tree/DefaultMutableTreeNode.java,
6319 javax/swing/tree/DefaultTreeCellEditor.java,
6320 javax/swing/tree/DefaultTreeCellRenderer.java,
6321 javax/swing/tree/DefaultTreeModel.java,
6322 javax/swing/tree/DefaultTreeSelectionModel.java,
6323 javax/swing/tree/FixedHeightLayoutCache.java,
6324 javax/swing/tree/TreeCellEditor.java,
6325 javax/swing/tree/TreeModel.java,
6326 javax/swing/tree/TreeNode.java,
6327 javax/swing/tree/TreePath.java,
6328 javax/swing/tree/TreeSelectionModel.java,
6329 javax/swing/tree/VariableHeightLayoutCache.java,
6330 javax/swing/undo/AbstractUndoableEdit.java,
6331 javax/swing/undo/CompoundEdit.java,
6332 javax/swing/undo/StateEdit.java,
6333 javax/swing/undo/UndoManager.java,
6334 javax/swing/undo/UndoableEditSupport.java:
6335 New versions from classpath.
6336 * javax/swing/table/JTableHeader.java:
6337 New file from classpath.
6338 * Makefile.am
6339 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6340 * Makefile.in: Regenerated.
6341
6342 2003-06-11 Michael Koch <konqueror@gmx.de>
6343
6344 * java/nio/MappedByteBuffer.java,
6345 java/nio/channels/Channels.java,
6346 java/nio/channels/ServerSocketChannel.java,
6347 java/nio/channels/spi/AbstractSelector.java:
6348 Removed unneeded imports.
6349
6350 2003-06-11 Michael Koch <konqueror@gmx.de>
6351
6352 * java/net/DatagramSocket.java:
6353 Partly merged with classpath.
6354
6355 2003-06-11 Michael Koch <konqueror@gmx.de>
6356
6357 * java/awt/Frame.java,
6358 java/awt/Graphics.java,
6359 java/awt/Menu.java,
6360 java/awt/Robot.java,
6361 java/awt/image/ColorModel.java:
6362 New versions from classpath.
6363
6364 2003-06-10 Michael Koch <konqueror@gmx.de>
6365
6366 * java/io/PrintStream.java:
6367 Merged version from classpath.
6368 (close): Removed sychronized keyword. This class is not garantied to
6369 be thread-safe.
6370 (write): Likewise.
6371
6372 2003-06-09 Tom Tromey <tromey@redhat.com>
6373
6374 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6375 field.
6376 (getDescent): Likewise, for "descent".
6377
6378 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
6379
6380 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6381 (getMaxDescent): adjusted return value.
6382 (getAscent): modified to use metrics for 'O'.
6383 (getDescent): modified to use metrics for 'y'.
6384
6385 2003-06-08 Anthony Green <green@redhat.com>
6386
6387 * java/net/URLStreamHandler.java (sameFile): Fix port value
6388 comparison.
6389 * java/net/URL.java (handler): Make package private.
6390 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6391
6392 2003-06-07 Tom Tromey <tromey@redhat.com>
6393
6394 For PR libgcj/11085:
6395 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6396 Limit number of characters in numeric field when required.
6397 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6398 Respect maximumIntegerDigits.
6399
6400 2003-06-08 Michael Koch <konqueror@gmx.de>
6401
6402 * java/net/Socket.java
6403 (Socket): Dont initialize inputShutdown and outputShutdown twice,
6404 call bind() and connect() to actually do the bind and connect tasks.
6405 (bind): Connect to canonical address if bindpoint is null, create
6406 socket and bind it to bindpoint.
6407 (connect): Check for exceptions.
6408
6409 2003-06-08 Michael Koch <konqueror@gmx.de>
6410
6411 * java/net/DatagramSocket.java
6412 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6413 into the Multicast constructors.
6414 * java/net/DatagramSocketImpl.java
6415 (getOption): Removed.
6416 (setOption): Removed.
6417 * java/net/MulticastSocket.java
6418 (MulticastSocket): Call setReuseAddress (true).
6419 * java/net/SocketImpl.java
6420 (getOption): Removed.
6421 (setOption): Removed.
6422
6423 2003-06-07 Jeff Sturm <jsturm@one-point.com>
6424
6425 PR libgcj/10886:
6426 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6427 Test for empty vector.
6428
6429 2003-06-06 Mark Wielaard <mark@klomp.org>
6430
6431 * java/security/Security.java (secprops): Initialize.
6432 (loadProviders): Return boolean.
6433 (static): Check result of loadProvider calls. If necessary
6434 display WARNING and fallback to Gnu provider.
6435
6436 2002-06-06 James Clark <jjc@jclark.com>
6437
6438 Fix for PR libgcj/8738:
6439 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6440 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6441 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6442 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6443 (write): Always decrease avail when count is increased.
6444 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6445 and whether output buffer is full before increasing size.
6446
6447 2002-06-06 Mark Wielaard <mark@klomp dot org>
6448
6449 * java/io/PrintStream.java (writeChars(char[],int, int)):
6450 Check converter.havePendingBytes().
6451 (writeChars(String,int,int)): Likewise.
6452 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6453 Check converter.havePendingBytes() and flush buffer when stalled.
6454
6455 2003-06-07 Michael Koch <konqueror@gmx.de>
6456
6457 * include/posix.h
6458 (O_DSYNC): Define O_DSYNC on platforms not
6459 supporting O_FSYNC (newlib).
6460
6461 2003-06-06 Mark Wielaard <mark@klomp.org>
6462
6463 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6464 AWTError.
6465
6466 2003-06-06 Michael Koch <konqueror@gmx.de>
6467
6468 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6469 More compile fixes from my stupid work yesterday.
6470
6471 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
6472
6473 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6474 if _IEEE_LIBM is undefined.
6475
6476 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
6477
6478 * libjava/include/posix.h (O_SYNC): Define if not available
6479 and a reasonable, perhaps more conservative, replacement exists.
6480 (O_DSYNC): Likewise.
6481 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6482
6483 2003-06-05 Michael Koch <konqueror@gmx.de>
6484
6485 * javax/swing/plaf/BorderUIResource.java,
6486 javax/swing/plaf/basic/BasicDefaults.java,
6487 javax/swing/plaf/basic/BasicOptionPaneUI.java:
6488 More compile fixes for latest Border commit. I should not commit
6489 something in this heat here ...
6490
6491 2003-06-05 Michael Koch <konqueror@gmx.de>
6492
6493 * javax/swing/border/BevelBorder.java
6494 (BevelBorder): Removed.
6495 * javax/swing/border/EmptyBorder.java:
6496 Reformatted.
6497 (EmptyBorder): Removed.
6498 (getBorderInsets): Dont use l, r, t and b.
6499 * javax/swing/border/EtchedBorder.java
6500 (EtchedBorder): Removed.
6501 * javax/swing/border/LineBorder.java
6502 (LineBorder): Removed.
6503 * javax/swing/border/MatteBorder.java
6504 (MatteBorder): Removed.
6505 * javax/swing/border/TitledBorder.java
6506 (defaultBorder): Use other default for now.
6507 (defaultFont): Likewise.
6508 (defaultColor): Likewise.
6509
6510 2003-06-05 Michael Koch <konqueror@gmx.de>
6511
6512 * javax/swing/border/Border.java:
6513 New version from classpath.
6514
6515 2003-06-05 Michael Koch <konqueror@gmx.de>
6516
6517 * javax/swing/border/AbstractBorder.java,
6518 javax/swing/border/BevelBorder.java,
6519 javax/swing/border/CompoundBorder.java,
6520 javax/swing/border/EmptyBorder.java,
6521 javax/swing/border/EtchedBorder.java,
6522 javax/swing/border/LineBorder.java,
6523 javax/swing/border/MatteBorder.java,
6524 javax/swing/border/TitledBorder.java:
6525 New versions from Classpath.
6526
6527 2003-06-05 Michael Koch <konqueror@gmx.de>
6528
6529 * java/awt/Button.java,
6530 java/awt/Checkbox.java,
6531 java/awt/CheckboxMenuItem.java,
6532 java/awt/Choice.java,
6533 java/awt/Container.java,
6534 java/awt/Dialog.java,
6535 java/awt/EventQueue.java,
6536 java/awt/FileDialog.java,
6537 java/awt/Frame.java,
6538 java/awt/Label.java,
6539 java/awt/List.java,
6540 java/awt/Menu.java,
6541 java/awt/MenuItem.java,
6542 java/awt/Panel.java,
6543 java/awt/PopupMenu.java,
6544 java/awt/Rectangle.java,
6545 java/awt/ScrollPane.java,
6546 java/awt/Scrollbar.java,
6547 java/awt/TextArea.java,
6548 java/awt/TextField.java,
6549 java/awt/Window.java,
6550 java/awt/datatransfer/DataFlavor.java,
6551 java/awt/dnd/DragSource.java,
6552 java/awt/dnd/DragSourceContext.java,
6553 java/awt/event/HierarchyEvent.java,
6554 java/awt/event/MouseWheelEvent.java,
6555 java/awt/im/InputContext.java,
6556 java/awt/image/BufferedImage.java,
6557 java/awt/image/ComponentColorModel.java,
6558 java/awt/image/Raster.java,
6559 java/awt/image/WritableRaster.java,
6560 java/awt/peer/ComponentPeer.java,
6561 java/awt/print/PageFormat.java,
6562 java/awt/print/PrinterJob.java:
6563 New versions from Classpath.
6564
6565 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
6566
6567 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
6568 numberFormat.setParseIntegerOnly(true).
6569
6570 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
6571
6572 * include/posix-threads.h: Include <machine/pal.h> on OSF.
6573
6574 2003-06-03 Andrew Haley <aph@redhat.com>
6575
6576 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
6577 stack volatile to prevent optimization from removing it.
6578
6579 2003-05-27 Michael Koch <konqueror@gmx.de>
6580
6581 * java/util/zip/Deflater.java
6582 (FILTERED): Merged documentation from classpath.
6583 * java/util/zip/DeflaterOutputStream.java
6584 (DeflaterOutputStream): Merged documentation and argument validity
6585 check from classpath.
6586 (deflate): Merged documentation from classpath.
6587 (finish): Likewise.
6588 * java/util/zip/Inflater.java
6589 (Inflater): Merged class documentation from classpath.
6590 (zstream): Reordered.
6591 (is_finished): Reordered.
6592 (dict_needed): Reordered.
6593 (Inflater): Reordered, merged documentation from classpath.
6594 (end): Likewise.
6595 (finalize): Merged documentation from classpath.
6596 (finished): Likewise.
6597 (getAdler): Likewise.
6598 (getRemaining): Likewise.
6599 (getTotalIn): Likewise.
6600 (getTotalOut): Likewise.
6601 (inflate): Likewise.
6602 (needsDictionary): Likewise.
6603 (needsInput): Likewise.
6604 (reset): Likewise.
6605 (setDictionary): Likewise.
6606 (setInput): Likewise.
6607
6608 2003-05-27 Michael Koch <konqueror@gmx.de>
6609
6610 * java/net/URLConnection.java
6611 (getHeaderFieldInt): Merged with classpath.
6612
6613 2003-05-27 Michael Koch <konqueror@gmx.de>
6614
6615 * java/io/PrintStream.java
6616 (PrintStream): Reformatted.
6617 (PrintStream): New method, merged from classpath.
6618 (write): Reformatted.
6619
6620 2003-05-27 Michael Koch <konqueror@gmx.de>
6621
6622 * java/lang/System.java:
6623 Explicitely import needed classes.
6624
6625 2003-05-26 Michael Koch <konqueror@gmx.de>
6626
6627 * java/net/NetPermission.java,
6628 java/net/NetworkInterface.java,
6629 java/net/PasswordAuthentication.java,
6630 java/net/SocketPermission.java:
6631 New versions from classpath.
6632
6633 2003-05-25 Michael Koch <konqueror@gmx.de>
6634
6635 * java/io/PushbackInputStream.java,
6636 java/net/Authenticator.java,
6637 java/net/ContentHandler.java,
6638 java/net/ContentHandlerFactory.java,
6639 java/net/DatagramSocket.java,
6640 java/net/DatagramSocketImpl.java,
6641 java/net/DatagramSocketImplFactory.java,
6642 java/net/FileNameMap.java,
6643 java/net/SocketImplFactory.java,
6644 java/net/SocketOptions.java,
6645 java/net/URLStreamHandlerFactory.java:
6646 Merged new versions from classpath.
6647
6648 2003-05-25 Michael Koch <konqueror@gmx.de>
6649
6650 * java/awt/Checkbox.java,
6651 java/awt/Dialog.java,
6652 java/awt/Font.java,
6653 java/awt/Frame.java,
6654 java/awt/ScrollPaneAdjustable.java,
6655 java/awt/Scrollbar.java,
6656 java/awt/Window.java:
6657 New versions from classpath.
6658
6659 2003-05-22 Jeff Sturm <jsturm@one-point.com>
6660
6661 PR libgcj/10838:
6662 * java/io/ObjectInputStream (enableResolveObject):
6663 Fixed spelling of permission name.
6664
6665 2003-05-20 Michael Koch <konqueror@gmx.de>
6666
6667 * java/io/DataInputStream.java
6668 (convertFromUTF): Merged comment from classpath.
6669 * java/io/PrintStream.java
6670 (error_occured): Renamed from error, merged comment from classpath.
6671 (PrintStream): No need to initialized error.
6672 (checkError): Replace error with error_occurred.
6673 (setError): Likewise.
6674
6675 2003-05-20 Michael Koch <konqueror@gmx.de>
6676
6677 * java/io/DataInputStream.java:
6678 Reformatted, Replaced < and & with html entitites in documentation.
6679 * java/io/File.java:
6680 Reformatted.
6681 * java/io/PrintWriter.java:
6682 Moved class documentation.
6683
6684 2003-05-20 Michael Koch <konqueror@gmx.de>
6685
6686 * gnu/java/nio/ByteBufferImpl.java,
6687 gnu/java/nio/CharBufferImpl.java,
6688 gnu/java/nio/CharViewBufferImpl.java,
6689 gnu/java/nio/DirectByteBufferImpl.java,
6690 gnu/java/nio/DoubleBufferImpl.java,
6691 gnu/java/nio/DoubleViewBufferImpl.java,
6692 gnu/java/nio/FloatBufferImpl.java,
6693 gnu/java/nio/FloatViewBufferImpl.java,
6694 gnu/java/nio/IntBufferImpl.java,
6695 gnu/java/nio/IntViewBufferImpl.java,
6696 gnu/java/nio/LongBufferImpl.java,
6697 gnu/java/nio/LongViewBufferImpl.java,
6698 gnu/java/nio/natDirectByteBufferImpl.cc,
6699 gnu/java/nio/ShortBufferImpl.java,
6700 gnu/java/nio/ShortViewBufferImpl.java:
6701 Moved files to java/nio.
6702 * gnu/java/nio/SocketChannelImpl.java
6703
6704 * java/nio/ByteBuffer.java,
6705 java/nio/CharBuffer.java,
6706 java/nio/DoubleBuffer.java,
6707 java/nio/FloatBuffer.java,
6708 java/nio/IntBuffer.java,
6709 java/nio/LongBuffer.java,
6710 java/nio/ShortBuffer.java:
6711 Dont import anything.
6712 * java/nio/ByteBufferImpl.java,
6713 java/nio/CharBufferImpl.java,
6714 java/nio/CharViewBufferImpl.java,
6715 java/nio/DirectByteBufferImpl.java,
6716 java/nio/DoubleBufferImpl.java,
6717 java/nio/DoubleViewBufferImpl.java,
6718 java/nio/FloatBufferImpl.java,
6719 java/nio/FloatViewBufferImpl.java,
6720 java/nio/IntBufferImpl.java,
6721 java/nio/IntViewBufferImpl.java,
6722 java/nio/LongBufferImpl.java,
6723 java/nio/LongViewBufferImpl.java,
6724 java/nio/natDirectByteBufferImpl.cc,
6725 java/nio/ShortBufferImpl.java,
6726 java/nio/ShortViewBufferImpl.java:
6727 Moved from gnu/java/nio.
6728 * Makefile.am
6729 (ordinary_java_source_files): Moved files from gnu/java/nio to
6730 java/nio.
6731 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
6732 to java/nio.
6733 * Makefile.in: Regenerated.
6734
6735 2003-05-19 Michael Koch <konqueror@gmx.de>
6736
6737 * java/util/Calendar.java
6738 (get): Not final anymore since JDK 1.4
6739 (set): Likewise.
6740
6741 2003-05-19 Michael Koch <konqueror@gmx.de>
6742
6743 * java/text/CollationKey.java:
6744 Merged copyright and dat from classpath.
6745 * java/text/RuleBasedCollator.java:
6746 Merged class documentation from classpath.
6747
6748 2003-05-19 Michael Koch <konqueror@gmx.de>
6749
6750 * java/nio/CharBuffer.java
6751 (toString): Compile fix.
6752
6753 2003-05-19 Michael Koch <konqueror@gmx.de>
6754
6755 * gnu/java/nio/ByteBufferImpl.java
6756 (putLong): Fixed conversion to bytes.
6757 (putDouble): Fixed conversion to bytes.
6758 * gnu/java/nio/DirectByteBufferImpl.java
6759 (putLong): Fixed conversion to bytes.
6760 (putDouble): Fixed conversion to bytes.
6761 * gnu/java/nio/FileLockImpl.java
6762 (isValid): Reformatted.
6763 * java/nio/Buffer.java
6764 (Buffer): Fixed off-by-one bug in handling mark.
6765 * java/nio/ByteBuffer.java:
6766 Added newline.
6767 * java/nio/CharBuffer.java
6768 (toString): Don't use relative get to get string data.
6769
6770 2003-05-16 Michael Koch <konqueror@gmx.de>
6771
6772 * java/io/natFileDescriptorPosix.cc
6773 (open): Commented out the O_SYNC and O_DSYNC usage until its better
6774 tested.
6775
6776 2003-05-14 Michael Koch <konqueror@gmx.de>
6777
6778 * gnu/java/nio/FileLockImpl.java
6779 (released): New member variable.
6780 (FileLockImpl): Initialize released.
6781 (releaseImpl): New native method.
6782 (release): Implemented.
6783 * gnu/java/nio/SelectorImpl.java: Reformatted.
6784 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
6785 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
6786 (accept): Throws IOException.
6787 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
6788 (implConfigureBlocking): Throws IOException.
6789 (connect): Likewise.
6790 (read): Likewise.
6791 (write): Likewise.
6792 * gnu/java/nio/natFileLockImpl.cc: New file.
6793 * java/nio/channels/FileLock.java: Reformatted.
6794 * Makefile.am:
6795 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
6796 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
6797 * Makefile.in: Regenerated.
6798
6799 2003-05-13 Michael Koch <konqueror@gmx.de>
6800
6801 * gnu/java/nio/CharViewBufferImpl.java
6802 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
6803 (get): Shift bits to the right direction.
6804 (put): Likewise.
6805 * gnu/java/nio/DoubleViewBufferImpl.java
6806 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
6807 (get): Shift bits to the right direction.
6808 (put): Likewise.
6809 * gnu/java/nio/FloatViewBufferImpl.java
6810 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
6811 (get): Shift bits to the right direction.
6812 (put): Likewise.
6813 * gnu/java/nio/IntViewBufferImpl.java
6814 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
6815 (get): Shift bits to the right direction.
6816 (put): Likewise.
6817 * gnu/java/nio/LongViewBufferImpl.java
6818 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
6819 (get): Shift bits to the right direction.
6820 (put): Likewise.
6821 * gnu/java/nio/ShortViewBufferImpl.java
6822 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
6823 (get): Shift bits to the right direction.
6824 (put): Likewise.
6825
6826 2003-05-13 Michael Koch <konqueror@gmx.de>
6827
6828 * gnu/java/nio/natDirectByteBufferImpl.cc
6829 (allocateImpl): jlong -> RawData*.
6830 (freeImpl): Likewise.
6831
6832 2003-05-13 Michael Koch <konqueror@gmx.de>
6833
6834 * java/nio/channels/FileChannel.java
6835 (MapMode.m): Made it package-private to match JDK 1.4.
6836 * java/nio/charset/Charset.java
6837 (decode): Made it final to match JDK 1.4.
6838
6839 2003-05-13 Michael Koch <konqueror@gmx.de>
6840
6841 * java/io/FileDescriptor.java
6842 (SYNC): New constant.
6843 (DSYNC): Likewise.
6844 (getLength): Renamed from lenght() to match classpath's
6845 FileDescriptor.java.
6846 * java/io/RandomAccessFile.java
6847 (RandomAccessFile): Removed unneeded mode check, implemented mode
6848 "rws" and "rwd", merged documentation from classpath.
6849 (setLength): Reformatted.
6850 (length): Use new getLength() of FileDescriptor.
6851 * java/io/natFileDescriptorEcos.cc
6852 (getLength): Renamed from length().
6853 * java/io/natFileDescriptorPosix.cc
6854 (open): Implemented support for SYNC and DSYNC.
6855 (seek): Use getLength() instead of length().
6856 (getLength): Renamed from length().
6857 * java/io/natFileDescriptorWin32.cc
6858 (getLength): Renamed from length().
6859 (seek): Use getLength() instead of length().
6860 (available): Likewise.
6861 * gnu/java/nio/natFileChannelImpl.cc
6862 (size): Use getLength() instead of length().
6863
6864 2003-05-13 Michael Koch <konqueror@gmx.de>
6865
6866 * gnu/java/nio/ByteBufferImpl.java
6867 (ByteBufferImpl): All constructors revised.
6868 (slice): Reimplemented.
6869 (duplicate): Reimplemented.
6870 (asReadOnlyBuffer): Reimplemented.
6871 * java/nio/ByteBuffer.java:
6872 Reformatted.
6873 (array_offset): Renamed from "offset" to match all other buffer
6874 classes.
6875 (ByteBuffer): All constructors revised.
6876 (allocateDirect): Implemented.
6877 (allocate): New implementation, documentation reworked.
6878 (wrap): Likewise.
6879 (get): Documentation reworked.
6880 (put): New implementation, documentation reworked.
6881 (hasArray): Documentation reworked.
6882 (arrayOffset): Likewise.
6883 (hashCode): Likewise.
6884 (equals): Likewise.
6885 (compareTo): Likewise.
6886 (order): Likewise.
6887 (compact): Likewise.
6888 (isDirect): Likewise.
6889 (slice): Likewise.
6890 (duplicate): Likewise.
6891 (asReadOnlyBuffer): Likewise.
6892 * Makefile.am
6893 (ordinary_java_source_files):
6894 Added gnu/java/nio/DirectByteBufferImpl.java.
6895 (nat_source_files):
6896 Added gnu/java/nio/natDirectByteBufferImpl.cc.
6897 * Makefile.in: Regenerated.
6898
6899 2003-05-12 Michael Koch <konqueror@gmx.de>
6900
6901 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
6902 (nio_get_*): Removed.
6903 (nio_put_*): Removed.
6904 (as*Buffer): Implemented.
6905 (compact): Implemented.
6906 (get): Documentation added.
6907 (put): Documentation added.
6908 (get*): Newly implemented.
6909 (put*): Newly implemented.
6910 * gnu/java/nio/CharBufferImpl.java: Reformatted.
6911 (CharBufferImpl): Revised.
6912 (slice): New implementation.
6913 (duplicate): New implementation.
6914 (compact): New implementation.
6915 (asReadOnlyBuffer): New implementation.
6916 (get): Documentation revised.
6917 (order): Return native byte order.
6918 * gnu/java/nio/DirectByteBufferImpl.java
6919 (allocateDirect): objects can be null not 0.
6920 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
6921 (DoubleBufferImpl): Revised.
6922 (slice): New implementation.
6923 (duplicate): New implementation.
6924 (compact): New implementation.
6925 (asReadOnlyBuffer): New implementation.
6926 (get): Documentation revised.
6927 (order): Return native byte order.
6928 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
6929 (FloatBufferImpl): Revised.
6930 (slice): New implementation.
6931 (duplicate): New implementation.
6932 (compact): New implementation.
6933 (asReadOnlyBuffer): New implementation.
6934 (get): Documentation revised.
6935 (order): Return native byte order.
6936 * gnu/java/nio/IntBufferImpl.java: Reformatted.
6937 (IntBufferImpl): Revised.
6938 (slice): New implementation.
6939 (duplicate): New implementation.
6940 (compact): New implementation.
6941 (asReadOnlyBuffer): New implementation.
6942 (get): Documentation revised.
6943 (order): Return native byte order.
6944 * gnu/java/nio/LongBufferImpl.java: Reformatted.
6945 (LongBufferImpl): Revised.
6946 (slice): New implementation.
6947 (duplicate): New implementation.
6948 (compact): New implementation.
6949 (asReadOnlyBuffer): New implementation.
6950 (get): Documentation revised.
6951 (order): Return native byte order.
6952 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
6953 (ShortBufferImpl): Revised.
6954 (slice): New implementation.
6955 (duplicate): New implementation.
6956 (compact): New implementation.
6957 (asReadOnlyBuffer): New implementation.
6958 (get): Documentation revised.
6959 (order): Return native byte order.
6960 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
6961 (CharBuffer): Revised.
6962 (order): Removed.
6963 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
6964 (DoubleBuffer): Revised.
6965 (allocateDirect): Removed.
6966 (order): Removed.
6967 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
6968 (FloatBuffer): Revised.
6969 (allocateDirect): Removed.
6970 (order): Removed.
6971 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
6972 (IntBuffer): Revised.
6973 (allocateDirect): Removed.
6974 (order): Removed.
6975 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
6976 (LongBuffer): Revised.
6977 (allocateDirect): Removed.
6978 (order): Removed.
6979 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
6980 (ShortBuffer): Revised.
6981 (allocateDirect): Removed.
6982 (order): Removed.
6983 * gnu/java/nio/natByteBufferImpl.cc: Removed.
6984 * gnu/java/nio/natCharBufferImpl.cc: Removed.
6985 * Makefile.am
6986 (ordinary_java_source_files): Added the following files:
6987 gnu/java/nio/CharViewBufferImpl.java,
6988 gnu/java/nio/DoubleViewBufferImpl.java,
6989 gnu/java/nio/FloatViewBufferImpl.java,
6990 gnu/java/nio/IntViewBufferImpl.java,
6991 gnu/java/nio/LongViewBufferImpl.java,
6992 gnu/java/nio/ShortViewBufferImpl.java
6993 (nat_source_files): Removed the following files:
6994 gnu/java/nio/natByteBufferImpl.cc,
6995 gnu/java/nio/natCharBufferImpl.cc
6996 * Makefile.in: Regenerated.
6997
6998 2003-05-12 Michael Koch <konqueror@gmx.de>
6999
7000 * gnu/java/nio/CharViewBufferImpl.java,
7001 gnu/java/nio/DirectByteBufferImpl.java,
7002 gnu/java/nio/DoubleViewBufferImpl.java,
7003 gnu/java/nio/FloatViewBufferImpl.java,
7004 gnu/java/nio/IntViewBufferImpl.java,
7005 gnu/java/nio/LongViewBufferImpl.java,
7006 gnu/java/nio/ShortViewBufferImpl.java,
7007 gnu/java/nio/natDirectByteBufferImpl.cc:
7008 New files, not yet to be compiled.
7009
7010 2003-05-10 Michael Koch <konqueror@gmx.de>
7011
7012 * javax/swing/plaf/ButtonUI.java,
7013 javax/swing/plaf/ColorUIResource.java,
7014 javax/swing/plaf/ComponentUI.java,
7015 javax/swing/plaf/DimensionUIResource.java,
7016 javax/swing/plaf/FontUIResource.java,
7017 javax/swing/plaf/IconUIResource.java,
7018 javax/swing/plaf/InsetsUIResource.java,
7019 javax/swing/plaf/LabelUI.java,
7020 javax/swing/plaf/ListUI.java,
7021 javax/swing/plaf/OptionPaneUI.java,
7022 javax/swing/plaf/PanelUI.java,
7023 javax/swing/plaf/TabbedPaneUI.java,
7024 javax/swing/plaf/TextUI.java,
7025 javax/swing/plaf/TreeUI.java,
7026 javax/swing/plaf/ViewportUI.java,
7027 javax/swing/plaf/basic/BasicBorders.java,
7028 javax/swing/plaf/basic/BasicButtonUI.java,
7029 javax/swing/plaf/basic/BasicCheckBoxUI.java,
7030 javax/swing/plaf/basic/BasicDefaults.java,
7031 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7032 javax/swing/plaf/basic/BasicIconFactory.java,
7033 javax/swing/plaf/basic/BasicLabelUI.java,
7034 javax/swing/plaf/basic/BasicListUI.java,
7035 javax/swing/plaf/basic/BasicOptionPaneUI.java,
7036 javax/swing/plaf/basic/BasicPanelUI.java,
7037 javax/swing/plaf/basic/BasicRadioButtonUI.java,
7038 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7039 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7040 javax/swing/plaf/basic/BasicTextUI.java,
7041 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7042 javax/swing/plaf/basic/BasicTreeUI.java,
7043 javax/swing/plaf/basic/BasicViewportUI.java,
7044 javax/swing/plaf/metal/MetalLookAndFeel.java:
7045 New versions from classpath. This adds copyrights to all files and
7046 some serialVersionUIDs.
7047
7048 2003-05-10 Michael Koch <konqueror@gmx.de>
7049
7050 * java/nio/CharBuffer.java
7051 (offset): Make it package-private.
7052 (backing_buffer): Likewise.
7053 * java/nio/DoubleBuffer.java
7054 (offset): Make it package-private.
7055 (backing_buffer): Likewise.
7056 (put): Reformatted.
7057 * java/nio/FloatBuffer.java
7058 (offset): Make it package-private.
7059 (backing_buffer): Likewise.
7060 * java/nio/IntBuffer.java
7061 (offset): Make it package-private.
7062 (backing_buffer): Likewise.
7063 * java/nio/LongBuffer.java
7064 (offset): Make it package-private.
7065 (backing_buffer): Likewise.
7066 * java/nio/ShortBuffer.java
7067 (offset): Make it package-private.
7068 (backing_buffer): Likewise.
7069
7070 2003-05-10 Michael Koch <konqueror@gmx.de>
7071
7072 * java/nio/CharBuffer.java
7073 (put): Fixed precondtion check.
7074 (toString): Make it work without backing array.
7075 (put): Skip one level of method calling.
7076
7077 2003-05-10 Michael Koch <konqueror@gmx.de>
7078
7079 * java/security/Identity.java,
7080 java/security/IdentityScope.java,
7081 java/security/Key.java,
7082 java/security/KeyPair.java,
7083 java/security/PrivateKey.java,
7084 java/security/Provider.java,
7085 java/security/PublicKey.java,
7086 java/security/SecureRandom.java,
7087 java/security/SecureRandomSpi.java,
7088 java/security/SignedObject.java,
7089 java/security/Signer.java,
7090 java/security/cert/Certificate.java,
7091 java/security/cert/PKIXCertPathBuilderResult.java,
7092 java/security/cert/X509Certificate.java:
7093 New versions from classpath.
7094
7095 2003-05-09 Tom Tromey <tromey@redhat.com>
7096
7097 * Makefile.in: Rebuilt.
7098 * Makefile.am (nat_source_files): Removed old files.
7099 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7100 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7101 * gnu/java/nio/natIntBufferImpl.cc: Removed.
7102 * gnu/java/nio/natLongBufferImpl.cc: Removed.
7103 * gnu/java/nio/natShortBufferImpl.cc: Removed.
7104
7105 2003-05-09 Michael Koch <konqueror@gmx.de>
7106
7107 * gnu/java/nio/ByteBufferImpl.java
7108 (nio_cast): Removed.
7109 (ByteBufferImpl): Removed.
7110 (nio_get_Byte): Removed.
7111 (nio_put_Byte): Removed.
7112 (asByteBuffer): Removed.
7113 (asCharBuffer): Removed implementation and throw exception.
7114 (asShortBuffer): Likewise.
7115 (asIntBuffer): Likewise.
7116 (asLongBuffer): Likewise.
7117 (asFloatBuffer): Likewise.
7118 (asDoubleBuffer): Likewise.
7119 * gnu/java/nio/CharBufferImpl.java
7120 (CharBufferImpl): Removed.
7121 (nio_get_Byte): Removed.
7122 (nio_put_Byte): Removed.
7123 (asByteBuffer): Removed.
7124 * gnu/java/nio/DoubleBufferImpl.java
7125 (DoubleBufferImpl): Removed.
7126 (nio_get_Byte): Removed.
7127 (nio_put_Byte): Removed.
7128 (asByteBuffer): Removed.
7129 * gnu/java/nio/FloatBufferImpl.java
7130 (FloatBufferImpl): Removed.
7131 (nio_get_Byte): Removed.
7132 (nio_put_Byte): Removed.
7133 (asByteBuffer): Removed.
7134 * gnu/java/nio/IntBufferImpl.java
7135 (IntBufferImpl): Removed.
7136 (nio_get_Byte): Removed.
7137 (nio_put_Byte): Removed.
7138 (asByteBuffer): Removed.
7139 * gnu/java/nio/LongBufferImpl.java
7140 (LongBufferImpl): Removed.
7141 (nio_get_Byte): Removed.
7142 (nio_put_Byte): Removed.
7143 (asByteBuffer): Removed.
7144 * gnu/java/nio/ShortBufferImpl.java
7145 (ShortBufferImpl): Removed.
7146 (nio_get_Byte): Removed.
7147 (nio_put_Byte): Removed.
7148 (asByteBuffer): Removed.
7149 * gnu/java/nio/natByteBufferImpl.cc
7150 (nio_cast): Removed.
7151 (nio_get_Byte): Removed.
7152 (nio_put_Byte): Removed.
7153 * gnu/java/nio/natCharBufferImpl.cc
7154 (nio_get_Byte): Removed.
7155 (nio_put_Byte): Removed.
7156
7157 2003-05-09 Michael Koch <konqueror@gmx.de>
7158
7159 * java/net/JarURLConnection.java
7160 (getJarEntry): Merged documentation from classpath.
7161 (getJarFile): Likewise.
7162 (getMainAttributes): Likewise.
7163 (getAttributes): Likewise.
7164 (getManifest): Likewise.
7165 (getCertificates): Reformatted.
7166 * java/net/URLConnection.java:
7167 Little classpath merge.
7168
7169 2003-05-09 Michael Koch <konqueror@gmx.de>
7170
7171 * java/io/DataOutputStream.java
7172 (writeShort): Made it synchronized.
7173 (writeChar): Likewise.
7174 (writeInt): Likewise.
7175 (writeLong): Liekwise.
7176 (writeUTF): Made it synchronized, renamed argument to match classpath.
7177 * java/io/InputStreamReader.java
7178 (converter): Added documentation.
7179 (read): Merged documentation from classpath.
7180 * java/io/OutputStreamWriter.java
7181 (OutputStreamWriter): Merged documentation from classpath.
7182 (close): Reformatted.
7183 (getEncoding): Likewise.
7184 (flush): Likewise.
7185 (write): Merged documentation from classpath, reformatted.
7186
7187 2003-05-08 Tom Tromey <tromey@redhat.com>
7188
7189 * configure.host <powerpc64*-*>: Set with_libffi_default and
7190 libgcj_interpreter to "yes".
7191
7192 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
7193
7194 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7195
7196 2003-05-06 Tom Tromey <tromey@redhat.com>
7197
7198 * verify.cc: Reverted previous patch.
7199
7200 2003-05-06 Michael Koch <konqueror@gmx.de>
7201
7202 * java/io/DataOutputStream.java
7203 (write): Renamed argument to "value", merged documentation from
7204 classpath.
7205 (writeBoolean): Likewise.
7206 (writeByte): Likewise.
7207 (writeShort): Likewise.
7208 (writeChar): Likewise.
7209 (writeInt): Likewise.
7210 (writeLong): Likewise.
7211 (writeFloat): Likewise.
7212 (writeDouble): Likewise.
7213 (writeBytes): Likewise.
7214 (writeChars): Likewise.
7215 (writeUTF): Likewise.
7216 * java/io/File.java
7217 (performDelete): Added documentation.
7218 (performList): Likewise.
7219 (performMkdir): Likewise.
7220 (performSetReadOnly): Likewise.
7221 (performRenameTo): Likewise.
7222 (performSetLastModified): Likewise.
7223 (delete): Made it sychronized.
7224 (renameTo): Made it sychronized.
7225 (equals): Reformatted.
7226 (isHidden): Likewise.
7227 (listFiles): Likewise.
7228 (setReadOnly): Likewise.
7229 (listRoots): Likewise.
7230 (setLastModified): Likewise.
7231 (checkRead): Likewise.
7232 (checkWrite): Likewise.
7233 * java/io/FileInputStream.java
7234 (skip): Made it sychronized, merged from classpath.
7235 * java/io/FileOutputStream.java
7236 (write): Merged from classpath.
7237 * java/io/InputStreamReader.java:
7238 (InputStreamReader): Merged documentation from classpath.
7239
7240 2003-05-05 Michael Koch <konqueror@gmx.de>
7241
7242 * java/net/NetworkInterface.java
7243 (networkInterfaces): Removed.
7244 (getByName): Use getRealNetworkInterfaces() instead of
7245 networkInterfaces.
7246 (getByInetAddress): Likewise.
7247 (getNetworkInterfaces): Likewise.
7248 (toString): Fix output of addresses of an interface.
7249
7250 2003-05-05 Michael Koch <konqueror@gmx.de>
7251
7252 * java/io/DataInputStream.java:
7253 Merged new documentation from classpath.
7254
7255 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
7256
7257 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7258 "version".
7259 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7260 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7261 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7262 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7263 * gnu/awt/gtk/GtkMainThread.java: Likewise.
7264 * gnu/awt/gtk/GtkToolkit.java: Likewise.
7265 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7266 * java/security/Key.java: Likewise.
7267 * java/security/PrivateKey.java: Likewise.
7268 * java/security/Provider.java: Likewise.
7269 * java/security/PublicKey.java: Likewise.
7270
7271 2003-05-02 Michael Koch <konqueror@gmx.de>
7272
7273 * java/net/URI.java
7274 (create): Doesnt throws any exceptions.
7275 * java/net/URLConnection.java
7276 (URLConnection): Commend added.
7277 (getExpiration): The header field is called "expires" not
7278 "expiration".
7279 (getHeaderField): Merged documentation with classpath.
7280 (getHeaderFieldInt): Likewise.
7281 (getHeaderFieldDate): Likewise.
7282 (getHeaderFieldKey): Likewise.
7283 (getPermission): Likewise.
7284 (setDefaultUseCaches): Likewise.
7285 (setRequestProperty): Likewise.
7286 (addRequestProperty): Likewise.
7287 (getRequestProperty): Likewise.
7288 (getRequestProperties): Likewise.
7289 (setDefaultRequestProperty): Likewise.
7290 (getDefaultRequestProperty): Likewise.
7291 (guessContentTypeFromStream): Likewise.
7292 (getFileNameMap): Likewise.
7293 (setFileNameMap): Likewise.
7294 (setDoInput): Merged implementation and documentation with classpath.
7295 (setDoOutput): Likewise.
7296 (setAllowUserInteraction): Likewise.
7297 (setDefaultAllowUserInteraction): Likewise.
7298 (setContentHandlerFactory): Made it synchronized, merged documentation
7299 with classpath.
7300 (guessContentTypeFromName): Renamed argument fname to filename to
7301 match classpath, merged documentation with classpath.
7302
7303 2003-05-02 Michael Koch <konqueror@gmx.de>
7304
7305 * java/net/JarURLConnection.java
7306 (JarURLConnection): Class documentation merged with classpath.
7307 (getJarFileURL): Moved and documentation merged with classpath.
7308 (getEntryName): Likewise.
7309 (JarURLConnection): Documentation merged with classpath.
7310 (getJarEntry): Likewise.
7311 (getJarFile): Likewise.
7312 * java/net/PlainDatagramSocketImpl.java:
7313 Class documentation moved.
7314 * java/net/URLConnection.java
7315 (fileNameMap): Moved and documentation merged with classpath.
7316 (factory): Likewise.
7317 (defaultAllowUserInteraction): Likewis.
7318 (defaultUseCaches): Likewise.
7319 (allowUserInteraction): Likewise.
7320 (connected): Likewise.
7321 (url): Likewise.
7322 (connect): Documentation merged with classpath.
7323 (getURL): Likewise.
7324 (getContentLength): Likewise.
7325 (getContentType): Likewise.
7326 (getContentEncoding): Likewise.
7327 (getExpiration): Likewise.
7328 (getDate): Likewise.
7329 (getLastModified): Likewise.
7330 (getHeaderField): Likewise.
7331 (getContent): Likewise.
7332 (getPermission): Likewise.
7333 (getInputStream): Likewise.
7334 (getOutputStream): Likewise.
7335 (toString): Likewise.
7336 (getDoInput): Likewise.
7337 (getDoOutput): Likewise.
7338 (setAllowUserInteraction): Likewise.
7339 (getAllowUserInteraction): Likewise.
7340 (setDefaultAllowUserInteraction): Likewise.
7341 (getDefaultAllowUserInteraction): Likewise.
7342 (setUseCaches): Likewise.
7343 (getUseCaches): Likewise.
7344 (setIfModifiedSince): Likewise.
7345 (getIfModifiedSince): Likewise.
7346 (setDefaultRequestProperty): Likewise.
7347 (getDefaultRequestProperty): Likewise.
7348 (setContentHandlerFactory): Likewise.
7349 (setFileNameMap): Likewise.
7350
7351 2003-05-02 Michael Koch <konqueror@gmx.de>
7352
7353 * java/net/InetAddress.java:
7354 Merged class documentation with classpath.
7355 * java/net/JarURLConnection.java:
7356 Explicitely import all used classes.
7357 * java/net/URL.java:
7358 Reformatting.
7359 * java/net/ServerSocket.java,
7360 java/net/Socket.java:
7361 New versions from classpath.
7362
7363 2003-05-02 Michael Koch <konqueror@gmx.de>
7364
7365 * gnu/java/nio/FileChannelImpl.java
7366 (read): New implementation.
7367 (implRead): New methods.
7368 (write): New implementation, call other write insteal of read method.
7369 (implWrite): New methods.
7370 (map): Added comment.
7371 (transferFrom): Implemented.
7372 (transferTo): Implemented.
7373 (lock): Added checks to throw exceptions.
7374 (truncate): Added check to throw exception.
7375 * gnu/java/nio/natFileChannelImpl.cc
7376 (implRead): New method.
7377 (implWrite): New method.
7378 * java/nio/ByteBuffer.java
7379 (hashCode): Fixed comment.
7380 (get): Fixed exception documentation.
7381 (put): Fixed exception documentation.
7382 * java/nio/CharBuffer.java:
7383 Added comment for later optimizations.
7384
7385 2003-04-30 Tom Tromey <tromey@redhat.com>
7386
7387 PR libgcj/10582:
7388 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7389 Removed.
7390 (type::compatible): Use _Jv_IsAssignableFrom.
7391 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7392 (_Jv_IsAssignableFrom): Work even when source or target class is
7393 not prepared.
7394
7395 2003-04-30 Michael Koch <konqueror@gmx.de>
7396
7397 * java/text/BreakIterator.java
7398 (clone): New method.
7399
7400 2003-04-30 Michael Koch <konqueror@gmx.de>
7401
7402 * java/text/CollationElementIterator.java,
7403 java/text/CollationKey.java,
7404 java/text/RuleBasedCollator.java:
7405 Merged copyright and documentation from classpath and
7406 rearranged some code. No code changes done.
7407
7408 2003-04-30 Michael Koch <konqueror@gmx.de>
7409
7410 * java/util/regex/Matcher.java
7411 (pattern): New member variable.
7412 (appendReplacement): New method.
7413 (appendTail): New method.
7414 (end): New method.
7415 (find): New method.
7416 (group): New method.
7417 (replaceFirst): Added documentation.
7418 (replaceAll): Added documentation.
7419 (groupCount): New method.
7420 (lookingAt): New method.
7421 (matches): New method.
7422 (reset): New method.
7423 (start): New method.
7424 * java/util/regex/Pattern.java
7425 (serialVersionUID): New constant.
7426 (CANON_EQ): New constant.
7427 (CASE_INSENSITIVE): New constant.
7428 (COMMENTS): New constant.
7429 (DOTALL): New constant.
7430 (MULTILINE): New constant.
7431 (UNICODE_CASE): New constant.
7432 (UNIX_LINES): New constant.
7433 (regex): New member variable.
7434 (flags): New member variable.
7435 (Pattern): New method.
7436 (compile): Documentation added.
7437 (flags): New method.
7438 (matches): Documentation added.
7439 (matcher): Documentation added.
7440 (split): Documentation added.
7441 (pattern): New method.
7442
7443 2003-04-30 Michael Koch <konqueror@gmx.de>
7444
7445 * gnu/java/security/Engine.java,
7446 gnu/java/security/OID.java,
7447 gnu/java/security/der/BitString.java,
7448 gnu/java/security/der/DER.java,
7449 gnu/java/security/der/DERReader.java,
7450 gnu/java/security/der/DERValue.java,
7451 gnu/java/security/der/DERWriter.java,
7452 gnu/java/security/provider/DSAKeyFactory.java,
7453 gnu/java/security/provider/X509CertificateFactory.java,
7454 gnu/java/security/x509/X500DistinguishedName.java,
7455 gnu/java/security/x509/X509CRL.java,
7456 gnu/java/security/x509/X509CRLEntry.java,
7457 gnu/java/security/x509/X509Certificate.java,
7458 java/security/cert/CRLSelector.java,
7459 java/security/cert/CertPathBuilder.java,
7460 java/security/cert/CertPathBuilderResult.java,
7461 java/security/cert/CertPathBuilderSpi.java,
7462 java/security/cert/CertPathParameters.java,
7463 java/security/cert/CertPathValidator.java,
7464 java/security/cert/CertPathValidatorResult.java,
7465 java/security/cert/CertPathValidatorSpi.java,
7466 java/security/cert/CertSelector.java,
7467 java/security/cert/CertStore.java,
7468 java/security/cert/CertStoreParameters.java,
7469 java/security/cert/CertStoreSpi.java,
7470 java/security/cert/CollectionCertStoreParameters.java,
7471 java/security/cert/LDAPCertStoreParameters.java,
7472 java/security/cert/PKIXBuilderParameters.java,
7473 java/security/cert/PKIXCertPathBuilderResult.java,
7474 java/security/cert/PKIXCertPathChecker.java,
7475 java/security/cert/PKIXCertPathValidatorResult.java,
7476 java/security/cert/PKIXParameters.java,
7477 java/security/cert/PolicyNode.java,
7478 java/security/cert/PolicyQualifierInfo.java,
7479 java/security/cert/TrustAnchor.java,
7480 javax/security/auth/x500/X500Principal.java:
7481 New files from classpath.
7482 * gnu/java/io/ASN1ParsingException.java,
7483 gnu/java/io/Base64InputStream.java,
7484 gnu/java/security/der/DEREncodingException.java,
7485 gnu/java/security/provider/DSAParameters.java,
7486 gnu/java/security/provider/DSASignature.java,
7487 gnu/java/security/provider/Gnu.java,
7488 gnu/java/security/provider/GnuDSAPrivateKey.java,
7489 gnu/java/security/provider/GnuDSAPublicKey.java,
7490 java/security/AlgorithmParameterGenerator.java,
7491 java/security/AlgorithmParameters.java,
7492 java/security/KeyFactory.java,
7493 java/security/KeyPairGenerator.java,
7494 java/security/KeyStore.java,
7495 java/security/MessageDigest.java,
7496 java/security/SecureClassLoader.java,
7497 java/security/SecureRandom.java,
7498 java/security/Security.java,
7499 java/security/Signature.java,
7500 java/security/cert/Certificate.java,
7501 java/security/cert/CertificateFactory.java,
7502 java/security/cert/CertificateFactorySpi.java,
7503 java/security/cert/X509CRL.java,
7504 java/security/cert/X509Certificate.java,
7505 java/security/spec/DSAPublicKeySpec.java:
7506 New versions from classpath.
7507 * gnu/java/security/provider/DERReader.java,
7508 gnu/java/security/provider/DERWriter.java,
7509 java/security/Engine.java: Removed.
7510 * Makefile.am
7511 (java_source_files, javax_source_files): Added new files.
7512 * Makefile.in: Regenerated.
7513
7514 2003-04-29 Michael Koch <konqueror@gmx.de>
7515
7516 * javax/swing/JTable.java
7517 (AUTO_RESIZE_ALL_COLUMNS): New constant.
7518 (AUTO_RESIZE_LAST_COLUMN): New constant.
7519 (AUTO_RESIZE_NEXT_COLUMN): New constant.
7520 (AUTO_RESIZE_OFF): New constant.
7521 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
7522 (JTable): New method.
7523 (columnAdded): New method.
7524 (columnMarginChanged): New method.
7525 (columnMoved): New method.
7526 (columnRemoved): New method.
7527 (columnSelectionChanged): New method.
7528 (editingCanceled): New method.
7529 (editingStopped): New method.
7530 (getColumnModel): New method.
7531 (getPreferredScrollableViewportSize): New method.
7532 (getScrollableBlockIncrement): New method.
7533 (getScrollableTracksViewportHeight): New method.
7534 (getScrollableTracksViewportWidth): New method.
7535 (getScrollableUnitIncrement): New method.
7536 (getSelectedRow): New method.
7537 (getSelectionModel): New method.
7538 (tableChanged): New method.
7539 (setModel): New method.
7540 (setSelectionMode): New method.
7541 (setSelectionModel): New method.
7542 (setShowGrid): New method.
7543 (valueChanged): New method.
7544 * javax/swing/text/DefaultEditorKit.java
7545 (backwardAction): New constant.
7546 (beepAction): New constant.
7547 (beginAction): New constant.
7548 (beginLineAction): New constant.
7549 (beginParagraphAction): New constant.
7550 (beginWordAction): New constant.
7551 (copyAction): New constant.
7552 (cutAction): New constant.
7553 (defaultKeyTypedAction): New constant.
7554 (deleteNextCharAction): New constant.
7555 (deletePrevCharAction): New constant.
7556 (downAction): New constant.
7557 (endAction): New constant.
7558 (endLineAction): New constant.
7559 (endOfLineStringProperty): New constant.
7560 (endParagraphAction): New constant.
7561 (endWordAction): New constant.
7562 (forwardAction): New constant.
7563 (insertBreakAction): New constant.
7564 (insertContentAction): New constant.
7565 (insertTabAction): New constant.
7566 (nextWordAction): New constant.
7567 (pageDownAction): New constant.
7568 (pageUpAction): New constant.
7569 (pasteAction): New constant.
7570 (previousWordAction): New constant.
7571 (readOnlyAction): New constant.
7572 (selectAllAction): New constant.
7573 (selectionBackwardAction): New constant.
7574 (selectionBeginAction): New constant.
7575 (selectionBeginLineAction): New constant.
7576 (selectionBeginParagraphAction): New constant.
7577 (selectionBeginWordAction): New constant.
7578 (selectionDownAction): New constant.
7579 (selectionEndAction): New constant.
7580 (selectionEndLineAction): New constant.
7581 (selectionEndParagraphAction): New constant.
7582 (selectionEndWordAction): New constant.
7583 (selectionForwardAction): New constant.
7584 (selectionNextWordAction): New constant.
7585 (selectionPreviousWordAction): New constant.
7586 (selectionUpAction): New constant.
7587 (selectLineAction): New constant.
7588 (selectParagraphAction): New constant.
7589 (selectWordAction): New constant.
7590 (upAction): New constant.
7591 (writableAction): New constant.
7592
7593 2003-04-29 Michael Koch <konqueror@gmx.de>
7594
7595 * java/util/PropertyPermission.java:
7596 New version from classpath
7597 * java/util/ResourceBundle.java:
7598 Partly merged from classpath
7599 (getObject): Reformated.
7600 (tryBundle): Set foundBundle = null if no bundle found.
7601
7602 2003-04-29 Michael Koch <konqueror@gmx.de>
7603
7604 * javax/swing/AbstractListModel.java,
7605 javax/swing/DefaultBoundedRangeModel.java,
7606 javax/swing/DefaultSingleSelectionModel.java:
7607 New Versions from classpath.
7608
7609 2003-04-29 Michael Koch <konqueror@gmx.de>
7610
7611 * java/awt/Window.java
7612 (show): Call super.show() instead of setVisible() to avoid endless
7613 loop.
7614 (hide): Call super.hide() instead of setVisible() to avoid endless
7615 loop.
7616
7617 2003-04-29 Michael Koch <konqueror@gmx.de>
7618
7619 * java/util/zip/Deflater.java,
7620 java/util/zip/DeflaterOutputStream.java:
7621 Partly merged with classpath.
7622
7623 2003-04-27 Tom Tromey <tromey@redhat.com>
7624
7625 * java/lang/natString.cc (_Jv_AllocString): Initialize
7626 cachedHashCode.
7627 (init): Likewise.
7628 (_Jv_NewStringUtf8Const): Likewise.
7629
7630 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
7631
7632 * include/jvm.h: (_Jv_GetNbArgs) added
7633 (_Jv_GetSafeArg) added
7634 (_Jv_SetArgs) added
7635 * prims.cc: (_Jv_GetNbArgs) implemented
7636 (_Jv_GetSafeArg) implemented
7637 (_Jv_SetArgs) implemented
7638 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
7639 setting _Jv_argc and _Jv_argv
7640 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
7641 instead of _Jv_argv
7642 * java/lang/natRuntime.cc: (insertSystemProperties) use
7643 _Jv_GetSafeArg() instead of _Jv_argv
7644
7645 2003-04-23 Tom Tromey <tromey@redhat.com>
7646
7647 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
7648 required by this object. Search superclasses to find required
7649 alignment.
7650 (get_alignment_from_class): Use alignment of type as it appears
7651 in a struct.
7652 (ALIGNOF): New macro.
7653 (struct aligner): New helper structure.
7654
7655 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
7656
7657 * java/awt/Container.java (addImpl): Enable paint events if adding
7658 a lightweight to a heavyweight.
7659 (addNotify): Ensure that peer is created before
7660 addNotifyContainerChildren.
7661 (addNotifyContainerChildren): Enable paint events if a heavyweight
7662 container contains a lightweight.
7663
7664 2003-04-20 Tom Tromey <tromey@redhat.com>
7665
7666 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
7667 java/io/DataInput.java, java/io/DataOutput.java: Imports from
7668 Classpath.
7669
7670 2003-04-19 Tom Tromey <tromey@redhat.com>
7671
7672 * java/sql/Date.java, java/sql/DriverManager.java,
7673 java/sql/Time.java, java/sql/Timestamp.java: New versions from
7674 Classpath.
7675
7676 * Makefile.in: Rebuilt.
7677 * Makefile.am (ordinary_java_source_files): Added new files.
7678 * java/security/AlgorithmParameterGenerator.java,
7679 java/security/AlgorithmParameters.java, java/security/Engine.java,
7680 java/security/Identity.java, java/security/IdentityScope.java,
7681 java/security/KeyFactory.java,
7682 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
7683 java/security/MessageDigest.java, java/security/Policy.java,
7684 java/security/ProtectionDomain.java,
7685 java/security/SecureRandom.java, java/security/Security.java,
7686 java/security/Signature.java, java/security/SignatureSpi.java,
7687 java/security/SignedObject.java, java/security/Signer.java,
7688 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
7689 java/security/spec/PSSParameterSpec.java,
7690 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
7691 java/security/spec/RSAOtherPrimeInfo.java: New versions from
7692 Classpath.
7693
7694 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
7695
7696 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
7697 (dispose): Null metrics.
7698 * gnu/awt/xlib/XToolkit.java (sync): Implement.
7699 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
7700 finalize.
7701 (finalize): Call dispose.
7702 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
7703 (gcCachedCount): New field.
7704 (finalize): New method.
7705 (putGCInCache): New method.
7706 (getGCFromCache): New method.
7707 * gnu/gcj/xlib/GC.java (GC): Make protected.
7708 (clone): Get new GC from cache if possible.
7709 (create): New static method.
7710 (dispose): Save old GC in cache.
7711 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
7712 deleting.
7713 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
7714 is null.
7715 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
7716 * java/awt/Container.java (visitChild): Dispose gfx2 when
7717 finished.
7718
7719 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
7720
7721 * java/math/BigInteger.java (probablePrime): New.
7722 * java/math/BigDecimal.java (unscaledValue): New.
7723
7724 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
7725
7726 * java/io/File.java (getAbsolutePath): On Windows, take care
7727 of paths like "C:", "G:foo\bar", etc.
7728 (getName): Make it work correctly on Windows.
7729 (getParent): Make it work correctly on Windows. For UNIX,
7730 fix bug that causes "/" to be returned as the parent of "/",
7731 instead of null as returned by Sun's JRE.
7732
7733 * java/io/natFileWin32.cc: Change copyright owner to FSF.
7734
7735 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
7736
7737 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
7738 inner class.
7739 (CACHE_SIZE_PER_DISPLAY): New field
7740 (fontMetricsCache): New field
7741 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
7742 loading ISO10646-1 fonts.
7743
7744 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
7745
7746 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
7747 characters.
7748 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
7749 characters.
7750
7751 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
7752
7753 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
7754 floating point.
7755
7756 2003-04-15 Jakub Jelinek <jakub@redhat.com>
7757
7758 * configure.host (*-linux*): Don't set slow_pthread_self if primary
7759 installed libpthread is either linuxthreads with floating stacks or
7760 NPTL.
7761
7762 2003-04-14 Tom Tromey <tromey@redhat.com>
7763
7764 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
7765 of alignment.
7766
7767 2003-04-10 Tom Tromey <tromey@redhat.com>
7768
7769 * verify.cc (pop64): Removed.
7770 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
7771 exception if top-of-stack is narrow.
7772 (initialize_stack): Check to ensure that <init> is not static and
7773 <clinit> is.
7774
7775 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
7776
7777 * java/io/ObjectStreamException
7778 * java/io/FileFilter
7779 * java/io/FilenameFilter
7780 * java/io/ObjectInput
7781 * java/io/ObjectOutput
7782 * java/io/ObjectStreamConstants
7783 Minor doc fixes, format fixes, spelling corrections, etc.
7784 * java/io/DataInput
7785 Corrected code samples in Javadocs to match reality
7786 * java/io/DataOutput
7787 * java/io/ObjectInputValidation
7788 Major documentation fixes - all Javadocs re-written or updated
7789
7790 2003-04-06 Michael Koch <konqueror@gmx.de>
7791
7792 * java/net/URLConnection.java:
7793 Import classes directly.
7794 (URLConnection): Merged class documentation with classpath.
7795 (url): Moved, documentation from classpath added.
7796 (doInput): Moved, documentation from classpath added.
7797 (doOutput): Moved, documentation from classpath added.
7798 (allowUserInteraction): Moved.
7799 (useCaches): Moved, documentation from classpath added.
7800 (ifModifiedSince): Moved, documentation from classpath added.
7801 (connected): Moved, documentation from classpath added.
7802
7803 2003-04-06 Michael Koch <konqueror@gmx.de>
7804
7805 * java/io/FileInputStream.java
7806 (skip): Renamed some variables to match classpath, added
7807 checks from classpath.
7808
7809 2003-03-31 Michael Koch <konqueror@gmx.de>
7810
7811 * javax/swing/AbstractAction.java
7812 (AbstractAction): Reformatted.
7813 (serialVersionUID): New private member variable.
7814 * javax/swing/plaf/BorderUIResource.java
7815 (serialVersionUID): New private member variable.
7816 * javax/swing/plaf/basic/BasicLookAndFeel.java
7817 (serialVersionUID): New private member variable.
7818
7819 2003-03-31 Michael Koch <konqueror@gmx.de>
7820
7821 * java/sql/Date.java
7822 (valueOf): Deprecated, reformatted.
7823 (toString): Deprecated, reformatted.
7824 * java/sql/Time.java
7825 (valueOf): Deprecated, reformatted.
7826 (toString): Deprecated, reformatted.
7827
7828 2003-03-31 Michael Koch <konqueror@gmx.de>
7829
7830 * java/rmi/dgc/VMID.java
7831 (isUnique): Deprecated.
7832
7833 2003-03-31 Michael Koch <konqueror@gmx.de>
7834
7835 * java/io/File.java
7836 (separator): Merged documentation from classpath.
7837 (separatorChar): Merged documentation from classpath.
7838 (pathSeparator): Merged documentation from classpath.
7839 (pathSeparatorChar): Merged documentation from classpath.
7840 (path): Merged documentation from classpath.
7841 (canRead): Merged documentation from classpath.
7842 (canWrite): Merged documentation from classpath.
7843 (createNewFile): Merged documentation from classpath.
7844 (delete): Merged documentation from classpath.
7845 (equals): Merged documentation from classpath.
7846 (exists): Merged documentation from classpath.
7847 (File): Renamed p to name to match classpath, merged documentation
7848 from classpath.
7849 (getAbsolutePath): Merged documentation from classpath.
7850 (getCanonicalPath): Merged documentation from classpath.
7851 (getCanonicalFile): Merged documentation from classpath.
7852 (getName): Merged documentation from classpath.
7853 (getParent): Merged documentation from classpath.
7854 (getParentFile): Merged documentation from classpath.
7855 (getPath): Merged documentation from classpath.
7856 (hashCode): Merged documentation from classpath.
7857 (isAbsolute): Merged documentation from classpath.
7858 (isDirectory): Merged documentation from classpath.
7859 (isFile): Merged documentation from classpath.
7860 (isHidden): Merged documentation from classpath.
7861 (lastModified): Merged documentation from classpath.
7862 (length): Merged documentation from classpath.
7863 (list): Merged documentation from classpath.
7864 (listFiles): Merged documentation from classpath.
7865 (toString): Merged documentation from classpath.
7866 (toURL): Merged documentation from classpath.
7867 (mkdir): Merged documentation from classpath.
7868 (mkdirs): Merged documentation from classpath.
7869 (createTempFile): Merged documentation from classpath.
7870 (setReadOnly): Merged documentation from classpath.
7871 (listRoots): Merged documentation from classpath.
7872 (compareTo): Merged documentation from classpath.
7873 (renameTo): Merged documentation from classpath.
7874 (setLastModified): Merged documentation from classpath.
7875 * java/io/PrintStream.java
7876 (auto_flush): Merged documentation from classpath.
7877 (PrintStream): Merged documentation from classpath.
7878 (checkError): Merged documentation from classpath.
7879 (setError): Merged documentation from classpath.
7880 (close): Merged documentation from classpath.
7881 (flush): Merged documentation from classpath.
7882 (print): Merged documentation from classpath.
7883 (println): Merged documentation from classpath.
7884 (write): Renamed count to len to match classpath,
7885 merged documentation from classpath.
7886 * java/io/RandomAccessFile.java
7887 (readShort): Merged documentation from classpath.
7888 (readUnsignedByte): Merged documentation from classpath.
7889 (readUnsignedShort): Merged documentation from classpath.
7890 (readUTF): Merged documentation from classpath.
7891 (seek): Reformatted, merged documentation from classpath.
7892 (skipBytes): Renamed some variables to match classpath, reformatted,
7893 merged documentation from classpath.
7894 (write): Merged documentation from classpath.
7895 (writeBoolean): Merged documentation from classpath.
7896 (writeByte): Merged documentation from classpath.
7897 (writeShort): Merged documentation from classpath.
7898 (writeChar): Merged documentation from classpath.
7899 (writeInt): Merged documentation from classpath.
7900 (writeLong): Merged documentation from classpath.
7901 (writeFloat): Merged documentation from classpath.
7902 (writeDouble): Merged documentation from classpath.
7903 (writeBytes): Merged documentation from classpath.
7904 (writeChars): Merged documentation from classpath.
7905 (writeUTF): Reformatted.
7906 (getChannel): Reformatted.
7907
7908 2003-03-31 Michael Koch <konqueror@gmx.de>
7909
7910 * java/awt/font/TextAttribute.java
7911 (readResolve): Throws java.io.InvalidObjectException.
7912
7913 2003-03-31 Michael Koch <konqueror@gmx.de>
7914
7915 * java/rmi/server/LoaderHandler.java
7916 (loadClass): Deprecated.
7917 (getSecurityContext): Deprecated.
7918 * java/rmi/server/LogStream.java
7919 (getDefaultStream): Deprecated.
7920 (setDefaultStream): Deprecated.
7921 (getOutputStream): Deprecated.
7922 (setOutputStream): Deprecated.
7923 (write): Deprecated.
7924 (toString): Deprecated.
7925 (parseLevel): Deprecated.
7926 * java/rmi/server/Operation.java
7927 (Operation): Deprecated.
7928 (getOperation): Deprecated.
7929 (toString): Deprecated.
7930 * java/rmi/server/RemoteCall.java
7931 (getOutputStream): Deprecated.
7932 (releaseOutputStream): Deprecated.
7933 (getInputStream): Deprecated.
7934 (releaseInputStream): Deprecated.
7935 (getResultStream): Deprecated.
7936 (executeCall): Deprecated.
7937 (done): Deprecated.
7938 * java/rmi/server/RemoteRef.java
7939 (invoke): Deprecated.
7940 (newCall): Deprecated.
7941 (done): Deprecated.
7942 * java/rmi/server/RemoteStub.java
7943 (setRef): Deprecated.
7944 * java/rmi/server/Skeleton.java:
7945 No need to import java.lang.Exception explicitly.
7946 (dispatch): Deprecated.
7947 (getOperations): Deprecated.
7948
7949 2003-03-31 Michael Koch <konqueror@gmx.de>
7950
7951 * java/rmi/dgc/VMID.java,
7952 java/rmi/registry/RegistryHandler.java,
7953 java/rmi/server/LogStream.java,
7954 java/rmi/server/Operation.java,
7955 java/rmi/server/RemoteCall.java,
7956 java/rmi/server/RemoteRef.java,
7957 java/rmi/server/RemoteStub.java:
7958 Reformatted.
7959
7960 2003-03-31 Michael Koch <konqueror@gmx.de>
7961
7962 * javax/swing/AbstractCellEditor.java,
7963 javax/swing/AbstractListModel.java,
7964 javax/swing/ActionMap.java,
7965 javax/swing/BorderFactory.java,
7966 javax/swing/ButtonGroup.java,
7967 javax/swing/DefaultBoundedRangeModel.java,
7968 javax/swing/DefaultButtonModel.java,
7969 javax/swing/DefaultCellEditor.java,
7970 javax/swing/DefaultComboBoxModel.java,
7971 javax/swing/DefaultDesktopManager.java,
7972 javax/swing/DefaultListCellRenderer.java,
7973 javax/swing/DefaultSingleSelectionModel.java,
7974 javax/swing/InputMap.java,
7975 javax/swing/JComponent.java,
7976 javax/swing/JMenu.java,
7977 javax/swing/JSlider.java,
7978 javax/swing/KeyStroke.java,
7979 javax/swing/OverlayLayout.java,
7980 javax/swing/ScrollPaneLayout.java,
7981 javax/swing/SizeRequirements.java,
7982 javax/swing/UIManager.java,
7983 javax/swing/ViewportLayout.java,
7984 javax/swing/border/AbstractBorder.java,
7985 javax/swing/colorchooser/DefaultColorSelectionModel.java,
7986 javax/swing/event/EventListenerList.java,
7987 javax/swing/table/AbstractTableModel.java,
7988 javax/swing/table/DefaultTableCellRenderer.java,
7989 javax/swing/table/DefaultTableColumnModel.java,
7990 javax/swing/table/DefaultTableModel.java,
7991 javax/swing/table/TableColumn.java,
7992 javax/swing/text/StyledEditorKit.java,
7993 javax/swing/tree/DefaultMutableTreeNode.java,
7994 javax/swing/tree/DefaultTreeModel.java,
7995 javax/swing/tree/DefaultTreeSelectionModel.java,
7996 javax/swing/tree/TreePath.java,
7997 javax/swing/undo/AbstractUndoableEdit.java,
7998 javax/swing/undo/StateEdit.java,
7999 javax/swing/undo/StateEditable.java,
8000 javax/swing/undo/UndoableEditSupport.java:
8001 Merges from classpath.
8002
8003 2003-03-30 Tom Tromey <tromey@redhat.com>
8004
8005 * java/lang/String.java (data, boffset, count): Documented.
8006 (String(byte[],String)): Reformatted.
8007 (String(byte[])): Likewise.
8008 (lastIndexOf(int)): Likewise.
8009 (lastIndexOf(String)): Likewise.
8010 (substring(int)): Renamed argument to match Classpath.
8011 (String(StringBuffer)): Don't share buffer if it is nearly empty.
8012
8013 * java/lang/String.java: Miscellaneous minor formatting changes
8014 to match Classpath more closely.
8015
8016 2003-03-29 Eric Blake <ebb9@email.byu.edu>
8017 Tom Tromey <tromey@redhat.com>
8018
8019 * java/lang/natString.cc (hashCode): Use cachedHashCode.
8020 (init()): Removed.
8021 (charAt): Put index in exception.
8022 (contentEquals): New method.
8023 Include StringBuffer.h.
8024 * java/lang/String.java (cachedHashCode): New field.
8025 (String()): Follow classpath implementation.
8026 (init()): Removed.
8027 (contentEquals): Declare.
8028 (subSequence): Don't declare IndexOutIfBoundsException in throws
8029 clause.
8030 (matches, replaceFirst, replaceAll, split): New methods from
8031 Classpath.
8032
8033 2003-03-29 Tom Tromey <tromey@redhat.com>
8034
8035 * java/lang/String.java: Reordered to follow Classpath; merged in
8036 javadoc.
8037
8038 * java/text/MessageFormat.java: Removed some whitespace.
8039
8040 * Makefile.in: Rebuilt.
8041 * Makefile.am (awt_java_source_files): Added new files.
8042 * gnu/javax/rmi/PortableServer.java,
8043 gnu/javax/rmi/CORBA/DelegateFactory.java,
8044 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8045 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8046 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8047 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8048 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8049 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8050 javax/rmi/PortableRemoteObject.java,
8051 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8052 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8053 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8054 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8055 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8056 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8057
8058 * java/lang/natClass.cc (newInstance): Put method name in
8059 exception.
8060 (getConstructor): Likewise.
8061 (getDeclaredConstructor): Likewise.
8062 (getPrivateMethod): Likewise.
8063
8064 2003-03-28 Tom Tromey <tromey@redhat.com>
8065
8066 * java/lang/reflect/Proxy.java: New version from Classpath.
8067 * java/lang/Package.java: New version from Classpath.
8068
8069 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
8070
8071 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8072 * configure: Regenerate.
8073
8074 2003-03-28 Michael Koch <konqueror@gmx.de>
8075
8076 * java/io/File.java:
8077 Import needed classes instead of whole packages, merged class
8078 documentation with classpath, moved constants and variables to top of
8079 class.
8080 * java/io/PrintStream.java:
8081 Merged class documentation with classpath, moved constants and
8082 variables to top of class.
8083 * java/io/RandomAccessFile.java
8084 (RandomAccessFile): Merged with classpath.
8085 (read): Merged with classpath).
8086 (read*): Reformatted.
8087
8088 2003-03-28 Michael Koch <konqueror@gmx.de>
8089
8090 * java/io/FileDescriptor.java
8091 (finalize): Throws Throwable, not IOException.
8092 * java/io/ObjectOutputStream.java
8093 (PutField.put): Doesnt throws anything.
8094
8095 2003­03-28 Michael Koch <konqueror@gmx.de>
8096
8097 * java/io/FileOutputStream.java:
8098 Merged class documentation and authors with classpath.
8099 (FileOutputStream): Partly merged with classpath.
8100 (write): Merged with classpath.
8101 (getChannel): Make it synchronized instead of explicit block in this
8102 method.
8103 * java/io/RandomAccessFile.java:
8104 Merged class documentation and authors with classpath.
8105
8106 2003-03-26 Tom Tromey <tromey@redhat.com>
8107
8108 * java/lang/natRuntime.cc (insertSystemProperties): Set
8109 gnu.classpath.home.url.
8110 * Makefile.in: Rebuilt.
8111 * Makefile.am: Define LIBDIR.
8112
8113 2003-03-25 Michael Koch <konqueror@gmx.de>
8114
8115 * java/io/FileInputStream.java
8116 (read): Renamed b to buf and off to offset.
8117 * java/io/FileOutputStream.java
8118 (ch): Documentation added.
8119 (FileOutputStream): Documentation added.
8120 (getFD): Documentation added.
8121 (write): Documentation added.
8122 (close): Documentation added.
8123 (getChannel): Documentation added.
8124
8125 2003-03-24 Michael Koch <konqueror@gmx.de>
8126
8127 * java/io/DataOutputStream.java
8128 (write): Merged from classpath.
8129 * java/io/File.java:
8130 Merged copyrigth with classpath.
8131 * java/io/FileInputStream.java
8132 (getChannel): Made it synchronized instead of using a synchronized
8133 block.
8134 * java/io/FileOutputStream.java: Reformatted.
8135 * java/io/InputStreamReader.java
8136 (InputStreamReader): Renamed enc to encoding_name.
8137 (close): Merged documentation from classpath.
8138 (getEncoding): Merged documentation from classpath.
8139 (ready): Merged documentation from classpath.
8140 (read): Merged documentation from classpath.
8141 * java/io/LineNumberReader.java
8142 (lineNumber): Made it private.
8143 (LineNumberReader): Use Constant instead of a direct value.
8144 * java/io/OutputStreamWriter.java
8145 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8146 documentation from classpath.
8147 (close): Merged documentation from classpath.
8148 (flush): Merged documentation from classpath.
8149 (write): Merged documentation from classpath.
8150 * java/io/PrintStream.java: Reformatted.
8151
8152 2003-03-24 Michael Koch <konqueror@gmx.de>
8153
8154 * javax/swing/text/ComponentView.java
8155 (getComponent): Must be final.
8156 * javax/swing/tree/DefaultTreeCellRenderer.java:
8157 Reformatted.
8158 * javax/swing/undo/StateEditable.java:
8159 Reformatted.
8160
8161 2003-03-24 Michael Koch <konqueror@gmx.de>
8162
8163 * java/rmi/activation/ActivationInstantiator.java:
8164 Reformatted.
8165 * java/rmi/activation/Activator.java:
8166 Reformatted.
8167 * java/rmi/registry/RegistryHandler.java:
8168 Remerged from classpath.
8169
8170 2003-03-24 Michael Koch <konqueror@gmx.de>
8171
8172 * java/util/Date.java:
8173 Fixed documentation starting tag to make javadoc happy.
8174 * java/util/regex/Pattern.java
8175 (Pattern): Implements Serializable.
8176 * java/util/PatternSyntaxException.java
8177 (serialVersionUID): New member variable.
8178
8179 2003-03-24 Michael Koch <koqnueror@gmx.de>
8180
8181 * java/awt/ContainerOrderFocusTraversalPolicy.java
8182 (getFirstComponent): Implemented.
8183 (getLastComponent): Implemented.
8184 (getDefaultComponent): Implemented.
8185 (setImplicitDownCycleTraversal): Fixed implementation.
8186 * java/awt/Robot.java
8187 (Robot): Added documentation.
8188 * java/awt/Toolkit.java
8189 (getFontList): Deprecated.
8190 (getFontMetrics): Deprecated.
8191 (getPrintJob): Added documentation.
8192 (getSystemSelection): Added documentation.
8193 (getLockingKeyState): Added documentation.
8194 (setLockingKeyState): Added documentation.
8195 (createCustomCursor): Added documentation.
8196 (getBestCursorSize): Added documentation.
8197 (getMaximumCursorColors): Added documentation.
8198 (isFrameStateSupported): Added documentation.
8199
8200 2003-03-24 Michael Koch <konqueror@gmx.de>
8201
8202 * java/io/RandomAccessFile.java:
8203 More little merges with classpath. No code changes.
8204
8205 2003-03-24 Michael Koch <konqueror@gmx.de>
8206
8207 * java/net/natInetAddressNoNet.cc:
8208 Include stddef.h.
8209 * java/net/natPlainDatagramSocketImplNoNet.cc:
8210 Fixed inlcude of java/net/DatagramPacket.h.
8211 * java/net/natPlainSocketImplNoNet.cc:
8212 Include some missing classes.
8213
8214 2003-03-24 Michael Koch <konqueror@gmx.de>
8215
8216 * java/awt/dnd/DropTarget.java
8217 (DropTargetAutoScroller): According to the online documentation, this
8218 is protected, but in reality it is public.
8219 * java/awt/dnd/DropTargetContext.java
8220 (TransferableProxy): According to the online documentation, this
8221 is protected, but in reality it is public.
8222
8223 2003-03-24 Michael Koch <konqueror@gmx.de>
8224
8225 * java/io/DataInputStream.java
8226 (): Wrapped documentation line.
8227 (): Fixed @return tag.
8228 * java/io/DataOutputStream.java
8229 (written): Moved to top of class.
8230 (all methods): Merged documentation from classpath.
8231 * java/io/File.java:
8232 Merged copyright year with classpath.
8233 * java/io/FileInputStream.java
8234 (all methods): Merged documentation from classpath.
8235 * java/io/LineNumberReader.java
8236 (getLineNumber): Fixed @return tag.
8237 * java/io/ObjectInputStream.java.
8238 Reformatted.
8239 * java/io/ObjectOutputStream.java:
8240 Reformatted, fixed some @see tags.
8241 * java/io/OutputStreamWriter.java:
8242 Deleted empty line.
8243 * java/io/Writer.java:
8244 Reformatted.
8245
8246 2003-03-24 Michael Koch <konqueror@gmx.de>
8247
8248 * java/awt/Frame.java
8249 (DEFAULT_CURSOR): Fixed @deprecated tag.
8250 (setCursor): Fixed @deprecated tag.
8251
8252 2003-03-24 Michael Koch <konqueror@gmx.de>
8253
8254 * java/beans/beancontext/BeanContextEvent.java:
8255 Reformated.
8256
8257 2003-03-23 Eric Blake <ebb9@email.byu.edu>
8258
8259 * java/lang/natStringBuffer.cc (regionMatches): New function.
8260 * java/lang/String.java (count): Now package-private.
8261 * java/lang/StringBuffer.java: Merged with Classpath.
8262
8263 2003-03-23 Michael Koch <konqueror@gmx.de>
8264
8265 * java/io/BufferedOutputStream.java:
8266 Reformated.
8267 * java/io/BufferedReader.java:
8268 Reformated.
8269 * java/io/ByteArrayOutputStream.java
8270 (size): Fixed @see tag.
8271 * java/io/CharArrayWriter.java
8272 (size): Fixed @see tag.
8273 * java/io/DataInput.java:
8274 Reformated.
8275 * java/io/DataOutput.java:
8276 Reformated.
8277 * java/io/DataOutputStream.java:
8278 Merged copyright years with classpath.
8279 * java/io/Externalizable.java:
8280 Reformated.
8281 * java/io/FileFilter.java:
8282 Reformated.
8283 * java/io/FileInputStream.java:
8284 Merged copyright years with classpath.
8285 * java/io/FileOutputStream.java:
8286 Merged copyright years with classpath.
8287 * java/io/FilePermission.java
8288 (FilePermission): Replaced @XXX with FIXME:.
8289 * java/io/FileWriter.java:
8290 Reformated.
8291 * java/io/FilenameFilter.java:
8292 Reformated.
8293 * java/io/FilterInputStream.java:
8294 Reformated.
8295 * java/io/FilterOutputStream.java:
8296 Reformated.
8297 * java/io/FilterReader.java:
8298 Reformated.
8299 * java/io/FilterWriter.java:
8300 Reformated.
8301 * java/io/LineNumberInputStream.java
8302 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8303 happy.
8304 (getLineNumber): Fixed @return tag.
8305 * java/io/ObjectInput.java:
8306 Reformated.
8307 * java/io/ObjectOutput.java:
8308 Reformated.
8309 * java/io/ObjectStreamClass.java:
8310 Reformated.
8311 * java/io/PrintStream.java:
8312 Merged copyright years with classpath.
8313 * java/io/PushbackReader.java
8314 (PushbackReader): Replaced @code with @param.
8315 * java/io/SerializablePermission.java:
8316 Reformated.
8317 * java/io/StreamTokenizer.java
8318 (resetSyntax): Fixed @see tag.
8319
8320 2003-03-22 Richard Henderson <rth@redhat.com>
8321
8322 * sysdep/ia64/locks.h: Include ia64intrin.h.
8323 (compare_and_swap): Use __sync_bool_compare_and_swap.
8324 (compare_and_swap_release): Expose ar.ccv assignment.
8325
8326 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
8327
8328 * include/posix.h: Add suffix for darwin dynamic libraries.
8329
8330 2003-03-21 Michael Koch <konqueror@gmx.de>
8331
8332 * javax/swing/Action.java
8333 (ACCELERATOR_KEY): New constant.
8334 (ACTION_COMMAND_KEY): Likewise.
8335 (MNEMONIC_KEY): Likewise.
8336 * javax/swing/UnsupportedLookAndFeelException.java
8337 (UnsupportedLookAndFeelException): Must be public.
8338 * javax/swing/WindowConstants.java
8339 (EXIT_ON_CLOSE): New constant.
8340 * javax/swing/text/BadLocationException.java
8341 (offset): New member variable.
8342 (BadLocationException): New implementation, documentation added.
8343 (offsetRequested): New method.
8344 * javax/swing/text/Caret.java:
8345 Reformated.
8346 * javax/swing/text/Document.java:
8347 Reformated.
8348
8349 2003-03-21 Michael Koch <konqueror@gmx.de>
8350
8351 * java/rmi/activation/Activatable.java
8352 (serialVersionUID): New member variable.
8353 * java/rmi/activation/ActivationGroup.java
8354 (serialVersionUID): New member variable.
8355 * java/rmi/activation/ActivationGroupDesc.java
8356 (serialVersionUID): New member variable.
8357 * java/rmi/registry/Registry.java:
8358 Reformated.
8359 (Registry): Deprecated.
8360 * java/rmi/server/LoaderHandler.java
8361 Reformated.
8362 (LoaderHandler): Deprecated.
8363 * java/rmi/server/LogStream.java
8364 Reformated.
8365 (LogStream): Deprecated.
8366 * java/rmi/server/Operation.java
8367 (Operation): Deprecated.
8368 * java/rmi/server/RMIFailureHandler.java:
8369 Reformated.
8370 * java/rmi/server/RMISocketFactory.java:
8371 Reformated.
8372 * java/rmi/server/RemoteCall.java
8373 (RemoteCall): Deprecated.
8374 * java/rmi/server/RemoteStub.java:
8375 Reformated.
8376 * java/rmi/server/Skeleton.java
8377 Reformated.
8378 (Skeleton): Deprecated.
8379
8380 2003-03-21 Michael Koch <konqueror@gmx.de>
8381
8382 * java/io/LineNumberReader.java
8383 (LineNumberReader): Merged documentation with classpath.
8384 (getLineNumber): Likewise.
8385 (setLineNumber): Likewise.
8386 (mark): Likewise.
8387 (reset): Likewise.
8388 (read): Likewise.
8389 (readLine): Likewise.
8390 (skip): Likewise.
8391
8392 2003-03-21 Michael Koch <konqueror@gmx.de>
8393
8394 * java/rmi/RMISecurityManager.java
8395 (checkAccept): Removed.
8396 (checkAccess): Likewise.
8397 (checkAccess): Likewise.
8398 (checkAwtEventQueueAccess): Likewise.
8399 (checkConnect): Likewise.
8400 (checkCreateClassLoader): Likewise.
8401 (checkDelete): Likewise.
8402 (checkExec): Likewise.
8403 (checkExit): Likewise.
8404 (checkLink): Likewise.
8405 (checkListen): Likewise.
8406 (checkMemberAccess): Likewise.
8407 (checkMulticast): Likewise.
8408 (checkPackageAccess): Likewise.
8409 (checkPackageDefinition): Likewise.
8410 (checkPermission): Likewise.
8411 (checkPrintJobAccess): Likewise.
8412 (checkPropertiesAccess): Likewise.
8413 (checkPropertyAccess): Likewise.
8414 (checkRead): Likewise.
8415 (checkSecurityAccess): Likewise.
8416 (checkSetFactory): Likewise.
8417 (checkSystemClipboardAccess): Likewise.
8418 (checkTopLevelWindow): Likewise.
8419 (checkWrite): Likewise.
8420
8421 2003-03-20 Michael Koch <konqueror@gmx.de>
8422
8423 * gnu/java/nio/FileChannelImpl.java
8424 (address): Removed.
8425 (map_address): New member variable.
8426 (length): Make it package private.
8427 (fd): Make it package private.
8428 (buf): Make it package private.
8429 (file_obj): Make it package private.
8430 (FileChannelImpl): New constructor.
8431 (nio_mmap_file): Use RawData instead of long.
8432 (nio_munmap_file): Use RawData instead of long.
8433 (nio_msync): Use RawData instead of long.
8434 (implCloseChannel): New implementation using map_address.
8435 (read): Reformated.
8436 (map): Implemented.
8437 (create_direct_mapped_buffer): Implemented, use RawData, throws
8438 IOException.
8439 (force): Use map_address instead of address.
8440 * gnu/java/nio/MappedByteFileBuffer.java
8441 (address): Removed.
8442 (map_address): New member variable.
8443 (MappedByteFileBuffer): Use map_address instead of address, reformated.
8444 (several methods): Use map_address instead of address, replaced long
8445 with RawData where appropriate.
8446 * gnu/java/nio/natFileChannelImpl.cc
8447 (nio_mmap_file): Replaced long with RawData.
8448 (nio_munmap_file): Replaced long with RawData.
8449 (nio_msync): Replaced long with RawData.
8450 * gnu/java/nio/natMappedByteFileBuffer.cc
8451 (several methods): Replaced long with RawData where appropriate.
8452
8453 2003-03-20 Michael Koch <konqueror@gmx.de>
8454
8455 * java/net/InetAddress.java,
8456 java/net/JarURLConnection.java,
8457 java/net/PlainDatagramSocketImpl.java,
8458 java/net/PlainSocketImpl.java,
8459 java/net/URLConnection.java:
8460 Merged copyright statements with classpath for easier merging.
8461
8462 2003-03-20 Michael Koch <konqueror@gmx.de>
8463
8464 * java/io/FileInputStream.java
8465 (getChannel): New implementation.
8466 * java/io/FileOutputStream.java
8467 (ch): New member variable.
8468 (getChannel): Implemented.
8469 * java/io/RandomAccessFile.java
8470 (RandomAccessFile): Throws FileNotFoundException instead of
8471 IOException.
8472 (getChannel): New method.
8473 (ch): New member variable.
8474
8475 2003-03-20 Michael Koch <konqueror@gmx.de>
8476
8477 * java/io/DataOutputStream.java,
8478 java/io/File.java,
8479 java/io/FileInputStream.java,
8480 java/io/FileOutputStream.java,
8481 java/io/InputStreamReader.java,
8482 java/io/LineNumberReader.java,
8483 java/io/OutputStreamWriter.java,
8484 java/io/PrintStream.java,
8485 java/io/RandomAccessFile.java:
8486 Merged copyright statements with classpath for easier merging.
8487
8488 2003-03-19 Michael Koch <konqueror@gmx.de>
8489
8490 * java/lang/Process.java:
8491 Merged from classpath.
8492
8493 2003-03-19 Michael Koch <konqueror@gmx.de>
8494
8495 * java/io/FileOutputStream.java
8496 (FileOutputStream): New constructor, merged from classpath.
8497 * java/io/FileWriter.java
8498 (FileWriter): New constructor, merged from classpath.
8499
8500 2003-03-18 Michael Koch <konqueror@gmx.de>
8501
8502 * java/awt/ScrollPane.java
8503 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
8504 (getViewportSize): Likewise.
8505 (addNotify): Likewise.
8506 (removeNotify): Likewise.
8507 * java/awt/ScrollPaneAdjustable.java
8508 (ScrollPaneAdjustable): No longer extends Scrollbar.
8509 * java/beans/beancontext/BeanContextServices.java:
8510 Reformated.
8511 (getService): Added throws TooManyListenersException;
8512 * java/beans/beancontext/BeanContextServicesSupport.java:
8513 Reformated.
8514
8515 2003-03-18 Michael Koch <konqueror@gmx.de>
8516
8517 * java/io/BufferedOutputStream.java,
8518 java/io/DataInput.java,
8519 java/io/DataInputStream.java,
8520 java/io/DataOutput.java,
8521 java/io/Externalizable.java:
8522 More merges from classpath.
8523
8524 2003-03-18 Michael Koch <konqueror@gmx.de>
8525
8526 * configure.in: Fixed links to platform dependant java.net files.
8527 * configure: Regenerated.
8528 * java/net/natInetAddress.cc,
8529 java/net/natNetworkInterface.cc,
8530 java/net/natPlainDatagramSocketImpl.cc,
8531 java/net/natPlainSocketImpl.cc:
8532 Removed.
8533
8534 2003-03-18 Michael Koch <konqueror@gmx.de>
8535
8536 * configure.in: Create links to architecture dependent files,
8537 introduced PLATFORMNET variable (set to NoNet for newlib usage).
8538 * configure: Regenerated.
8539 * java/net/natInetAddressNoNet.cc,
8540 java/net/natInetAddressPosix.cc,
8541 java/net/natInetAddressWin32.cc,
8542 java/net/natNetworkInterfaceNoNet.cc,
8543 java/net/natNetworkInterfacePosix.cc,
8544 java/net/natNetworkInterfaceWin32.cc,
8545 java/net/natPlainDatagramSocketImplNoNet.cc,
8546 java/net/natPlainDatagramSocketImplPosix.cc,
8547 java/net/natPlainDatagramSocketImplWin32.cc,
8548 java/net/natPlainSocketImplNoNet.cc,
8549 java/net/natPlainSocketImplPosix.cc,
8550 java/net/natPlainSocketImplWin32.cc: New files.
8551
8552 2003-03-18 Michael Koch <konqueror@gmx.de>
8553
8554 * java/io/BufferedReader.java,
8555 java/io/BufferedWriter.java,
8556 java/io/ByteArrayOutputStream.java,
8557 java/io/FileFilter.java,
8558 java/io/FilePermission.java,
8559 java/io/FileReader.java,
8560 java/io/FileWriter.java,
8561 java/io/FilenameFilter.java,
8562 java/io/FilterInputStream.java,
8563 java/io/FilterOutputStream.java,
8564 java/io/FilterReader.java,
8565 java/io/FilterWriter.java,
8566 java/io/ObjectInput.java,
8567 java/io/ObjectInputValidation.java,
8568 java/io/ObjectOutput.java,
8569 java/io/ObjectStreamField.java,
8570 java/io/PipedInputStream.java,
8571 java/io/PipedReader.java,
8572 java/io/PrintWriter.java,
8573 java/io/PushbackReader.java,
8574 java/io/Reader.java,
8575 java/io/SerializablePermission.java,
8576 java/io/StringReader.java,
8577 java/io/Writer.java:
8578 Merged from classpath.
8579
8580 2003-03-17 Michael Koch <konqueror@gmx.de>
8581
8582 * java/awt/ScrollPaneAdjustable.java:
8583 Compile fixes.
8584
8585 2003-03-17 Michael Koch <konqueror@gmx.de>
8586
8587 * java/net/DatagramSocket.java
8588 (connect): Fixed comment.
8589 * java/nio/ByteBuffer.java
8590 (hasArray): Fixed comment.
8591
8592 2003-03-17 Michael Koch <konqueror@gmx.de>
8593
8594 * java/beans/Beans.java:
8595 Explicitely import classes not packages.
8596 * java/beans/FeatureDescriptor.java
8597 (preferred): New member variable.
8598 (isPreferred): New method.
8599 (setPreferred): New method.
8600 * java/beans/PropertyEditorManager.java:
8601 Explicitely import used classes.
8602 * java/beans/beancontext/BeanContextChild.java:
8603 Added line wrapping.
8604 * java/beans/beancontext/BeanContextChildSupport.java:
8605 Reindented.
8606 * java/beans/beancontext/BeanContextEvent.java:
8607 Reindented.
8608
8609 2003-03-17 Michael Koch <konqueror@gmx.de>
8610
8611 * java/awt/Dialog.java
8612 (Dialog): New constructor, changed implementations, added
8613 documentation.
8614 * java/awt/ScrollPaneAdjustable.java
8615 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
8616 Serializable.
8617 (serialVersionUID): New member variable.
8618 (sp): New member variable.
8619 (orientation): New member variable.
8620 (value): New member variable.
8621 (minimum): New member variable.
8622 (maximum): New member variable.
8623 (visibleAmount): New member variable.
8624 (unitIncrement): New member variable.
8625 (blockIncrement): New member variable.
8626 (AdjustmentListener): New member variable.
8627 (ScrollPaneAdjustable): New implementation.
8628 (addAdjustmentListener): New method.
8629 (removeAdjustmentListener): New method.
8630 (getAdjustmentListeners): New method.
8631 (getBlockIncrement): New method.
8632 (getMaximum): New method.
8633 (getMinimum): New method.
8634 (getOrientation): New method.
8635 (getUnitIncrement): New method.
8636 (getValue): New method.
8637 (getVisibleAmount): New method.
8638 (setBlockIncrement): New method.
8639 (setMaximum): Implemented.
8640 (setMinimum): Implemented.
8641 (setUnitIncrement): New method.
8642 (setValue): New method.
8643 (setVisibleAmount): Implemented.
8644 (paramString): New stubbed method.
8645 * java/awt/Window.java
8646 (show): Call setVisible().
8647 (hide): Call setVisible().
8648 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
8649 and WINDOW_STATE_CHANGED.
8650 (processWindowFocusEvent): New method.
8651 (processWindowStateEvent): New method.
8652 (postEvent): Deprecated.
8653 (applyResourceBundle): Deprecated.
8654 * java/awt/datatransfer/DataFlavor.java
8655 (DataFlavor): Doesn't thow ClassNotFoundException.
8656
8657 2003-03-17 Michael Koch
8658
8659 * javax/print/attribute/Attribute.java,
8660 javax/print/attribute/AttributeSet.java,
8661 javax/print/attribute/PrintRequestAttributeSet.java:
8662 New files.
8663 * Makefile.am
8664 (javax_source_files): Added new files:
8665 javax/print/attribute/Attribute.java
8666 javax/print/attribute/AttributeSet.java
8667 javax/print/attribute/PrintRequestAttributeSet.java
8668 * Makefile.in: Regenerated.
8669
8670 2003-03-17 Michael Koch
8671
8672 * javax/print/attribute/Attribute.java,
8673 javax/print/attribute/AttributeSet.java,
8674 javax/print/attribute/PrintRequestAttributeSet.java:
8675 New files.
8676 * Makefile.am
8677 (awt_java_source_files): Added new files:
8678 javax/print/attribute/Attribute.java
8679 javax/print/attribute/AttributeSet.java
8680 javax/print/attribute/PrintRequestAttributeSet.java
8681 * Makefile.in: Regenerated.
8682
8683 2003-03-16 Tom Tromey <tromey@redhat.com>
8684
8685 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
8686 Include platform.h.
8687 * java/lang/natRuntime.cc (insertSystemProperties): Use
8688 _Jv_platform_path_separator.
8689 (nativeGetLibname): Use _Jv_platform_file_separator.
8690 (_load): Use _Jv_platform_onload_names.
8691 (onload_names): New global.
8692 * include/win32.h (_Jv_platform_file_separator): New define.
8693 (_Jv_platform_path_separator): Likewise.
8694 (_Jv_platform_onload_names): Likewise.
8695 (_Jv_platform_ffi_abi): Likewise.
8696 * include/posix.h (_Jv_platform_file_separator): New define.
8697 (_Jv_platform_path_separator): Likewise.
8698 (_Jv_platform_onload_names): Likewise.
8699 (_Jv_platform_ffi_abi): Likewise.
8700
8701 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
8702
8703 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
8704
8705 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
8706
8707 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
8708 hierarchy loop.
8709 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
8710 list to Object,ObjectStreamClass, moved callReadMethod code up into
8711 readObject and added Class argument to all setXxxField calls.
8712 (callReadMethod): Changed Class argument to ObjectStreamClass to be
8713 consistent with ObjectOutputStream and to facilitate caching the
8714 Method in the future.
8715 (setBooleanField): Added Class argument.
8716 (setByteField): Likewise.
8717 (setCharField): Likewise.
8718 (setDoubleField): Likewise.
8719 (setFloatField): Likewise.
8720 (setIntField): Likewise.
8721 (setLongField): Likewise.
8722 (setShortField): Likewise.
8723 (setObjectField): Likewise.
8724 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
8725 class hierarchy loop.
8726 (defaultWriteObject): Call writeFields with new argument list.
8727 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
8728 list to Object,ObjectStreamClass, moved callWriteMethod up into
8729 writeObject and added Class argument to all getXxxField calls.
8730 (callWriteMethod): Added ObjectStreamClass argument to be able to
8731 get the proper class to call getMethod on (each class can have (or
8732 not have) its own writeObject method).
8733 (getBooleanField): Added Class argument.
8734 (getByteField): Likewise.
8735 (getCharField): Likewise.
8736 (getDoubleField): Likewise.
8737 (getFloatField): Likewise.
8738 (getIntField): Likewise.
8739 (getLongField): Likewise.
8740 (getShortField): Likewise.
8741 (getObjectField): Likewise.
8742 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
8743 facilitate caching the Method object in the future.
8744
8745 2003-03-12 Andreas Schwab <schwab@suse.de>
8746
8747 * configure.in: Avoid trailing /. in toolexeclibdir.
8748 * configure: Rebuilt.
8749
8750 2003-03-11 Michael Koch <konqueror@gmx.de>
8751
8752 * gnu/java/nio/ByteBufferImpl.java
8753 (putInt): Use limit() instead of limit.
8754 * gnu/java/nio/CharBufferImpl.java
8755 (slice): Fixed implementation.
8756 (subSequence): Better bounds checking.
8757 * gnu/java/nio/MappedByteFileBuffer.java:
8758 Import all needed classes directly.
8759 * java/nio/ByteBuffer.java
8760 (hashCode): New dummy method.
8761 * java/nio/CharBuffer.java
8762 (array_offset): New member variable.
8763 (hasArray): Fixed documentation.
8764 (arrayOffset): Return array_offset.
8765
8766 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
8767
8768 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
8769 setter; made return value of getter const char* instead of char*
8770 * prims.cc: removed all references to _Jv_ThisExecutable().
8771 These are in the platform-specific sections now.
8772 * posix.cc: define platform-specific _Jv_ThisExecutable().
8773 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
8774 * win32.cc: define platform-specific _Jv_ThisExecutable()
8775 using GetModuleFilename()
8776 * java/lang/natRuntime.cc: set gnu.gcj.progname property
8777 to argv[0] instead of _Jv_ThisExecutable()
8778
8779 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
8780
8781 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
8782 that is set if we are using addr2name.awk instead of addr2line.
8783 (NameFinder): Set usingAddr2name if using addr2name.awk.
8784 (getExternalLabel): New native method to convert a method
8785 name to an external label.
8786 (lookup): Convert name given by addr2line to an external label
8787 before demangling.
8788
8789 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
8790 constant representing the prefix attached to method names to
8791 convert them to an external label.
8792 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
8793 using LABEL_PREFIX.
8794
8795 2003-03-10 Tom Tromey <tromey@redhat.com>
8796
8797 * Makefile.in: Rebuilt.
8798 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
8799 (JC1FLAGS): Removed -Wno-deprecated.
8800
8801 2003-03-10 Michael Koch <konqueror@gmx.de>
8802
8803 * java/nio/ByteOrder.java
8804 (nativeOrder): Working implementation, added documentation.
8805 (toString): Added documentation.
8806
8807 2003-03-10 Michael Koch <konqueror@gmx.de>
8808
8809 * java/net/DatagramSocket.java,
8810 java/net/MulticastSocket.java,
8811 java/net/Socket.java,
8812 java/net/URL.java,
8813 java/net/URLConnection.java:
8814 Fixed some documentation tags to make javadoc and friends happy.
8815
8816 2003-03-10 Michael Koch <koqnueror@gmx.de>
8817
8818 * java/beans/beancontext/BeanContextServicesSupport.java,
8819 java/beans/beancontext/BeanContextSupport.java: New files.
8820 * Makefile.am
8821 (awt_source_files): Added new files.
8822 * Makefile.in: Regenerated.
8823
8824 2003-03-10 Michael Koch <konqueror@gmx.de>
8825
8826 * java/awt/FocusTraversalPolicy.java
8827 (FocusTraversalPolicy): Documentation added.
8828 (getComponentAfter): Documentation added.
8829 (getComponentBefore): Documentation added.
8830 (getFirstComponent): Documentation added.
8831 (getLastComponent): Documentation added.
8832 (getDefaultComponent): Documentation added.
8833 (getInitialComponent): Documentation added.
8834 * java/awt/ScrollPaneAdjustable.java
8835 (sp): New member variable.
8836 (orientation): New member variable.
8837 (value): New member variable.
8838 (minimum): New member variable.
8839 (maximum): New member variable.
8840 (visibleAmount): New member variable.
8841 (unitIncrement): New member variable.
8842 (blockIncrement): New member variable.
8843 (adjustmentListener): New member variable.
8844 (ScrollPaneAdjustable): Rewrote.
8845 (addAdjustmentListener): New method.
8846 (removeAdjustmentListener): New method.
8847 (getAdjustmentListeners): New method.
8848 (getBlockIncrement): New method.
8849 (getMaximum): New method.
8850 (getMinimum): New method.
8851 (getOrientation): New method.
8852 (getUnitIncrement): New method.
8853 (getValue): New method.
8854 (getVisibleAmount): New method.
8855 (setBlockIncrement): New method.
8856 (setUnitIncrement): New method.
8857 (setMaximum): Implemented.
8858 (setMinimum): Implemented.
8859 (setValue): New method.
8860 (setVisibleAmount): Implemented.
8861 (paramString): New method.
8862 * java/awt/Window.java
8863 (show): Use setVisible(true) instead of super.show().
8864 (hide): Use sevVisible(false) instead of super.hide().
8865 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
8866 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
8867 (postEvent): Deprecated.
8868 (applyResourceBundle): Deprecated.
8869 (processWindowFocusEvent): New method.
8870 (processWindowStateEvent): New method.
8871 * java/awt/datatransfer/DataFlavor.java: Reindented.
8872 * java/awt/font/TextHitInfo.java
8873 (charIndex): New member variable.
8874 (leadingEdge): New member variable.
8875 (TextHitInfo): New constructor.
8876 (getCharIndex): Implemented.
8877 (isLeadingEdge): Implemented.
8878 (getInsertionIndex): Implemented.
8879 (hashCode): Access charIndex directly.
8880 (equals): Reformated.
8881 (leading): Implemented.
8882 (trailing): Implemented.
8883 (beforeOffset): Implemented.
8884 (afterOffset): Implemented.
8885 (getOtherHit): Implemented.
8886 (getOffsetHit): Implemented.
8887 (toString): Implemented.
8888 * java/awt/image/BufferedImage.java
8889 (BufferedImage): Implements WritableRenderedImage.
8890 (observers): New member variable.
8891 (addTileObserver): New method.
8892 (removeTileObserver): New method.
8893
8894 2003-03-09 Tom Tromey <tromey@redhat.com>
8895
8896 PR libgcj/9934:
8897 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
8898 to lseek. Return 0 if we can't compute the value.
8899
8900 2003-03-03 Michael Koch <konqueror@gmx.de>
8901
8902 * java/net/NetworkInterface.java: Merged with classpath.
8903
8904 2003-03-03 Tom Tromey <tromey@redhat.com>
8905
8906 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
8907 of bytecode.
8908 (handle_ret_insn): Fail if returning to jsr that appears at end of
8909 bytecode.
8910
8911 2003-03-03 Michael Koch <konqueror@gmx.de>
8912
8913 * Makefile.am
8914 (ordinary_java_source_files):
8915 Added gnu/java/nio/MappedByteFileBuffer.java.
8916 (nat_source_files):
8917 Added gnu/java/nio/natMappedByteFileBuffer.cc.
8918 * Makefile.in: Regenerated.
8919
8920 2003-03-03 Michael Koch <konqueror@gmx.de>
8921
8922 * java/net/DatagramSocket.java
8923 (connect): Merged comment from classpath.
8924 (receive): Merged documentation from classpath.
8925 * java/net/Socket.java
8926 (setSoTimeout): Clarified documentation.
8927 * java/net/URL.java
8928 (getPath): Merged from classpath.
8929 (getUserInfo): Merged from classpath.
8930 (getQuery): Merged from classpath.
8931 * java/net/URLStreamHandler.java
8932 (toExternalForm): Merged from classpath.
8933
8934 2003-03-02 Mark Wielaard <mark@klomp.org>
8935
8936 * java/util/Properties.java (load): Only skip line if the first
8937 character is a comment, whitespaces don't count.
8938
8939 2003-03-02 Michael Koch <konqueror@gmx.de>
8940
8941 * java/net/NetPermission.java:
8942 Merged copyright with classpath.
8943
8944 2003-03-02 Michael Koch <konqueror@gmx.de>
8945
8946 * java/lang/Package.java:
8947 Remerged from classpath.
8948
8949 2003-03-02 Michael Koch <konqueror@gmx.de>
8950
8951 * java/net/HttpURLConnection.java
8952 (HTTP_SERVER_ERROR): Deprecated.
8953 * java/net/MulticastSocket.java
8954 (send): Replaced checkMulticast with appropriate checkPermission call,
8955 deprecated.
8956 * java/net/URLDecoder.java
8957 (decode): Deprecated.
8958 * java/net/URLEncoder.java
8959 (encode): Deprecated.
8960
8961 2003-03-02 Michael Koch <konqueror@gmx.de>
8962
8963 * javax/swing/text/Caret.java
8964 (getMagicCaretPosition): Fixed typo in method name.
8965 * javax/swing/text/DefaultCaret.java
8966 (getMagicCaretPosition): Fixed typo in method name.
8967
8968 2003-03-02 Michael Koch <konqueror@gmx.de>
8969
8970 * java/awt/List.java
8971 (setMultipleSelections): Deprecated.
8972 (delItem): Deprecated.
8973 * java/awt/MenuComponent.java
8974 (getPeer): Deprecated.
8975 * java/awt/ScrollPane.java
8976 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
8977 * java/awt/dnd/MouseDragGestureRecognizer.java
8978 (mouseClicked): Added comment.
8979 (mousePressed): Added comment.
8980 (mouseReleased): Added comment.
8981 (mouseEntered): Added comment.
8982 (mouseExited): Added comment.
8983 (mouseDragged): Added comment.
8984 (mouseMoved): Added comment.
8985 * java/awt/event/KeyEvent.java
8986 (KeyEvent): Deprecated.
8987 (setModifiers): Deprecated.
8988
8989 2003-03-02 Michael Koch <konqueror@gmx.de>
8990
8991 * gnu/java/nio/FileChannelImpl.java
8992 (fd): Type FileDescriptor instead of int.
8993 (lengthInternal): Removed.
8994 (FileChannelImpl): Fixed arguments, check type of file object.
8995 (size): Made it native.
8996 (implPosition): New native method.
8997 (implTruncate): New native method.
8998 (position): Implemented.
8999 (truncate): Implemented.
9000 (nio_mmap_file): Changed arguments.
9001 (nio_munmap_file): Changed arguments.
9002 (nio_msync): Changed arguments.
9003 * gnu/java/nio/natFileChannelImpl.cc
9004 (lengthInternal): Removed.
9005 (size): New method.
9006 (implPosition): New method.
9007 (implTruncate): New method.
9008 (nio_mmap_file): Changed arguments.
9009 (nio_munmap_file): Changed arguments.
9010 (nio_msync): Changed arguments.
9011
9012 2003-03-02 Michael Koch <konqueror@gmx.de>
9013
9014 * java/awt/dnd/DropTargetContext.java:
9015 Compile fix: Forgot to commit import.
9016
9017 2003-03-02 Michael Koch <konqueror@gmx.de>
9018
9019 * java/awt/Component.java,
9020 java/awt/ScrollPane.java:
9021 Fixed typos.
9022
9023 2003-03-02 Michael Koch <konqueror@gmx.de>
9024
9025 * java/awt/dnd/DnDEventMulticaster.java: New file.
9026 * java/awt/dnd/DragSource.java
9027 (flavorMap): New member variable.
9028 (dragSourceListener): New member variable.
9029 (dragSourceMotionListener): New member variable.
9030 (getFlavorMap): Implemented.
9031 (createDragGestureRecognizer): Implemented.
9032 (addDragSourceListener): Implemented.
9033 (removeDragSourceListener): Implemented.
9034 (getDragSourceListeners): Implemented.
9035 (addDragSourceMotionListener): Implemented.
9036 (removeDragSourceMotionListener): Implemented.
9037 (getDragSourceMotionListeners): Implemented.
9038 (getListeners): Implemented.
9039 * java/awt/dnd/DragSourceContext.java
9040 (peer): New member variable.
9041 (cursor): New member variable.
9042 (transferable): New member variable.
9043 (trigger): New member variable.
9044 (dragSourceListener): New member variable.
9045 (image): New member variable.
9046 (offset): New member variable.
9047 (DragSourceContext): Implemented.
9048 (getDragSource): Implemented.
9049 (getComponent): Implemented.
9050 (getTrigger): Implemented.
9051 (getSourceActions): Implemented.
9052 (setCursor): Implemented.
9053 (getCursor): Implemented.
9054 (addDragSourceListener): Implemented.
9055 (removeDragSourceListener): Implemented.
9056 (getTransferable): Implemented.
9057 * java/awt/dnd/DropTarget.java
9058 (DropTargetAutoScroller.component): New member variable.
9059 (DropTargetAutoScroller.point): New member variable.
9060 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9061 (DropTargetAutoScroller.updateLocation): Implemented.
9062 (active): Renamed from isActive, defaults to true now.
9063 (component): New member variable.
9064 (flavorMap): New member variable.
9065 (actions): New member variable.
9066 (dropTargetContext): New member variable.
9067 (dropTargetListener): New member variable.
9068 (DropTarget): Implemented.
9069 (getComponent): Implemented.
9070 (setComponent): Implemented.
9071 (setDefaultActions): Implemented.
9072 (getDefaultActions): Implemented.
9073 (setActive): Use active instead of isActive.
9074 (isActive): Use active instead of isActive.
9075 (addDropTargetListener): Implemented.
9076 (removeDropTargetListener): Implemented.
9077 (getFlavorMap): Implemented.
9078 (setFlavorMap): Implemented.
9079 (getDropTargetContext): Implemented.
9080 (createDropTargetContext): Implemented.
9081 (createDropTargetAutoScroller): Implemented.
9082 * java/awt/dnd/DropTargetContext.java
9083 (TransferableProxy.getTransferDataFlavors): Implemented.
9084 (TransferableProxy.isDataFlavorSupported): Implemented.
9085 (TransferableProxy.getTransferData): Implemented.
9086 (dropTarget): New member variable.
9087 (dtcp): New member variable.
9088 (DropTargetContext): New package private constructor.
9089 (getDropTarget): Implemented.
9090 (getComponent): Implemented.
9091 (addNotify): Implemented.
9092 (removeNotify): Implemented.
9093 (getCurrentDataFlavorsAsList): Implemented.
9094 (isDataFlavorSupported): Implemented.
9095 * java/awt/dnd/MouseDragGestureRecognizer.java
9096 (registerListeners): Implemented.
9097 (unregisterListeners): Implemented.
9098 * Makefile.am
9099 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9100 * Makefile.in: Regenerated.
9101
9102 2003-03-02 Michael Koch <konqueror@gmx.de>
9103
9104 * java/awt/Component.java
9105 (eventTypeEnabled): New method.
9106 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9107 * java/awt/Container.java
9108 (changeSupport): New member variable.
9109 (addPropertyChangeListener): New methods.
9110 * java/awt/ContainerOrderFocusTraversalPolicy.java
9111 (ContainerOrderFocusTraversalPolicy): Added comment.
9112 (getComponentAfter): Throw exception, documentation added.
9113 (getComponentBefore): Throw exception, documentation added.
9114 (getFirstComponent): Throw exception, documentation added.
9115 (getLastComponent): Throw exception, documentation added.
9116 (getDefaultComponent): Throw exception, documentation added.
9117 * java/awt/EventQueue.java: Reindented.
9118 * java/awt/FocusTraversalPolicy.java:
9119 (FocusTraversalPolicy): Added comment.
9120 (getComponentAfter): Documentation added.
9121 (getComponentBefore): Documentation added.
9122 (getFirstComponent): Documentation added.
9123 (getLastComponent): Documentation added.
9124 (getDefaultComponent): Documentation added.
9125 (getInitialComponent): Documentation added.
9126 * java/awt/ScrollPane.java
9127 (wheelScrollingEnabled): New member variable.
9128 (ScrollPane): Initialize wheelScollingEnabled.
9129 (eventTypeEnabled): New method.
9130 (isWheelScrollingEnabled): New method.
9131 (setWheelScrollingEnabled): New method.
9132
9133 2003-03-02 Michael Koch <konqueror@gmx.de>
9134
9135 * java/net/DatagramSocket.java
9136 (closed): New member variable.
9137 (close): Use closed variable.
9138 (getInetAddress): No need to call isConnected().
9139 (getPort): No need to call isConnected().
9140 (disconnect): Reset remoteAddress and remotePort, fixed typo.
9141 (isClosed): Reimplemented.
9142
9143 2003-03-02 Michael Koch <konqueror@gmx.de>
9144
9145 * configure.in: Added check for memory mapping of files.
9146 * configure: Regenerated.
9147 * config.h.in: Regenerated.
9148
9149 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
9150
9151 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9152 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9153
9154 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9155
9156 * java/io/File.java (normalizePath): Remove trailing separator
9157 on Windows only if path is not of the form "x:\".
9158
9159 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9160 (java::io::File::attr): Change formatting a bit and use
9161 WIN32_EPOCH_MILLIS instead of magic numbers.
9162 (java::io::File::isAbsolute): Path must have at least 3
9163 characters for a UNC network path.
9164 (java::io::File::init_native): Define.
9165 (java::io::File::performCreate): Likewise.
9166 (java::io::File::performSetReadOnly): Likewise.
9167 (java::io::File::performSetLastModified): Likewise.
9168 (java::io::File::performListRoots): Likewise.
9169
9170 2003-03-01 Tom Tromey <tromey@redhat.com>
9171
9172 * java/lang/natObject.cc: Don't include assert.h.
9173 (heavy_lock_obj_finalization_proc): Use JvAssert.
9174 (remove_all_heavy): Likewise.
9175 (_Jv_MonitorEnter): Likewise.
9176 (_Jv_MonitorExit): Likewise.
9177 (wait): Likewise.
9178
9179 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9180
9181 * java/io/File (getAbsolutePath): Prefix drive specifier on
9182 Windows for paths starting with a '\'.
9183 (toURL): Make URL more consistent with what Sun's JDK returns.
9184
9185 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9186 true only if the path is a UNC network path or it starts with a
9187 drive specifier.
9188
9189 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9190 Be prepared to handle either '/' or '\\' in the file path for
9191 Windows if using the "file" protocol.
9192 Canonicalise the file path if using a relative path in the given
9193 context and the "file" protocol.
9194
9195 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
9196
9197 * java/lang/natWin32Process.cc (startProcess): Double-quote each
9198 program array element passed to CreateProcess.
9199
9200 2003-03-01 Tom Tromey <tromey@redhat.com>
9201
9202 * java/rmi/registry/RegistryHandler.java: Deprecate.
9203
9204 2003-03-01 Tom Tromey <tromey@redhat.com>
9205
9206 * javax/accessibility/AccessibleEditableText.java,
9207 javax/accessibility/AccessibleHyperlink.java: New versions from
9208 Classpath.
9209
9210 * gnu/java/locale/LocaleInformation_af_ZA.java,
9211 gnu/java/locale/LocaleInformation_ar_AE.java,
9212 gnu/java/locale/LocaleInformation_ar_BH.java,
9213 gnu/java/locale/LocaleInformation_ar_DZ.java,
9214 gnu/java/locale/LocaleInformation_ar_EG.java,
9215 gnu/java/locale/LocaleInformation_ar_IN.java,
9216 gnu/java/locale/LocaleInformation_ar_IQ.java,
9217 gnu/java/locale/LocaleInformation_ar_JO.java,
9218 gnu/java/locale/LocaleInformation_ar_KW.java,
9219 gnu/java/locale/LocaleInformation_ar_LB.java,
9220 gnu/java/locale/LocaleInformation_ar_LY.java,
9221 gnu/java/locale/LocaleInformation_ar_MA.java,
9222 gnu/java/locale/LocaleInformation_ar_OM.java,
9223 gnu/java/locale/LocaleInformation_ar_QA.java,
9224 gnu/java/locale/LocaleInformation_ar_SD.java,
9225 gnu/java/locale/LocaleInformation_ar_SY.java,
9226 gnu/java/locale/LocaleInformation_ar_TN.java,
9227 gnu/java/locale/LocaleInformation_ar_YE.java,
9228 gnu/java/locale/LocaleInformation_be_BY.java,
9229 gnu/java/locale/LocaleInformation_bn_IN.java,
9230 gnu/java/locale/LocaleInformation_br_FR.java,
9231 gnu/java/locale/LocaleInformation_bs_BA.java,
9232 gnu/java/locale/LocaleInformation_ca_ES.java,
9233 gnu/java/locale/LocaleInformation_cs_CZ.java,
9234 gnu/java/locale/LocaleInformation_cy_GB.java,
9235 gnu/java/locale/LocaleInformation_da_DK.java,
9236 gnu/java/locale/LocaleInformation_de_AT.java,
9237 gnu/java/locale/LocaleInformation_de_BE.java,
9238 gnu/java/locale/LocaleInformation_de_CH.java,
9239 gnu/java/locale/LocaleInformation_de_DE.java,
9240 gnu/java/locale/LocaleInformation_de_LU.java,
9241 gnu/java/locale/LocaleInformation_el_GR.java,
9242 gnu/java/locale/LocaleInformation_en_AU.java,
9243 gnu/java/locale/LocaleInformation_en_BW.java,
9244 gnu/java/locale/LocaleInformation_en_CA.java,
9245 gnu/java/locale/LocaleInformation_en_DK.java,
9246 gnu/java/locale/LocaleInformation_en_GB.java,
9247 gnu/java/locale/LocaleInformation_en_HK.java,
9248 gnu/java/locale/LocaleInformation_en_IE.java,
9249 gnu/java/locale/LocaleInformation_en_IN.java,
9250 gnu/java/locale/LocaleInformation_en_NZ.java,
9251 gnu/java/locale/LocaleInformation_en_PH.java,
9252 gnu/java/locale/LocaleInformation_en_SG.java,
9253 gnu/java/locale/LocaleInformation_en_US.java,
9254 gnu/java/locale/LocaleInformation_en_ZA.java,
9255 gnu/java/locale/LocaleInformation_en_ZW.java,
9256 gnu/java/locale/LocaleInformation_es_AR.java,
9257 gnu/java/locale/LocaleInformation_es_BO.java,
9258 gnu/java/locale/LocaleInformation_es_CL.java,
9259 gnu/java/locale/LocaleInformation_es_CO.java,
9260 gnu/java/locale/LocaleInformation_es_CR.java,
9261 gnu/java/locale/LocaleInformation_es_DO.java,
9262 gnu/java/locale/LocaleInformation_es_EC.java,
9263 gnu/java/locale/LocaleInformation_es_ES.java,
9264 gnu/java/locale/LocaleInformation_es_GT.java,
9265 gnu/java/locale/LocaleInformation_es_HN.java,
9266 gnu/java/locale/LocaleInformation_es_MX.java,
9267 gnu/java/locale/LocaleInformation_es_NI.java,
9268 gnu/java/locale/LocaleInformation_es_PA.java,
9269 gnu/java/locale/LocaleInformation_es_PE.java,
9270 gnu/java/locale/LocaleInformation_es_PR.java,
9271 gnu/java/locale/LocaleInformation_es_PY.java,
9272 gnu/java/locale/LocaleInformation_es_SV.java,
9273 gnu/java/locale/LocaleInformation_es_US.java,
9274 gnu/java/locale/LocaleInformation_es_UY.java,
9275 gnu/java/locale/LocaleInformation_es_VE.java,
9276 gnu/java/locale/LocaleInformation_et_EE.java,
9277 gnu/java/locale/LocaleInformation_eu_ES.java,
9278 gnu/java/locale/LocaleInformation_fa_IR.java,
9279 gnu/java/locale/LocaleInformation_fi_FI.java,
9280 gnu/java/locale/LocaleInformation_fo_FO.java,
9281 gnu/java/locale/LocaleInformation_fr_BE.java,
9282 gnu/java/locale/LocaleInformation_fr_CA.java,
9283 gnu/java/locale/LocaleInformation_fr_CH.java,
9284 gnu/java/locale/LocaleInformation_fr_FR.java,
9285 gnu/java/locale/LocaleInformation_fr_LU.java,
9286 gnu/java/locale/LocaleInformation_ga_IE.java,
9287 gnu/java/locale/LocaleInformation_gd_GB.java,
9288 gnu/java/locale/LocaleInformation_gl_ES.java,
9289 gnu/java/locale/LocaleInformation_gv_GB.java,
9290 gnu/java/locale/LocaleInformation_he_IL.java,
9291 gnu/java/locale/LocaleInformation_hi_IN.java,
9292 gnu/java/locale/LocaleInformation_hr_HR.java,
9293 gnu/java/locale/LocaleInformation_hu_HU.java,
9294 gnu/java/locale/LocaleInformation_id_ID.java,
9295 gnu/java/locale/LocaleInformation_it_CH.java,
9296 gnu/java/locale/LocaleInformation_it_IT.java,
9297 gnu/java/locale/LocaleInformation_iw_IL.java,
9298 gnu/java/locale/LocaleInformation_ja_JP.java,
9299 gnu/java/locale/LocaleInformation_ka_GE.java,
9300 gnu/java/locale/LocaleInformation_kl_GL.java,
9301 gnu/java/locale/LocaleInformation_ko_KR.java,
9302 gnu/java/locale/LocaleInformation_kw_GB.java,
9303 gnu/java/locale/LocaleInformation_lt_LT.java,
9304 gnu/java/locale/LocaleInformation_lv_LV.java,
9305 gnu/java/locale/LocaleInformation_mi_NZ.java,
9306 gnu/java/locale/LocaleInformation_mk_MK.java,
9307 gnu/java/locale/LocaleInformation_mr_IN.java,
9308 gnu/java/locale/LocaleInformation_mt_MT.java,
9309 gnu/java/locale/LocaleInformation_nl_BE.java,
9310 gnu/java/locale/LocaleInformation_nl_NL.java,
9311 gnu/java/locale/LocaleInformation_nn_NO.java,
9312 gnu/java/locale/LocaleInformation_no_NO.java,
9313 gnu/java/locale/LocaleInformation_oc_FR.java,
9314 gnu/java/locale/LocaleInformation_pl_PL.java,
9315 gnu/java/locale/LocaleInformation_pt_BR.java,
9316 gnu/java/locale/LocaleInformation_pt_PT.java,
9317 gnu/java/locale/LocaleInformation_ro_RO.java,
9318 gnu/java/locale/LocaleInformation_ru_RU.java,
9319 gnu/java/locale/LocaleInformation_ru_UA.java,
9320 gnu/java/locale/LocaleInformation_se_NO.java,
9321 gnu/java/locale/LocaleInformation_sk_SK.java,
9322 gnu/java/locale/LocaleInformation_sl_SI.java,
9323 gnu/java/locale/LocaleInformation_sq_AL.java,
9324 gnu/java/locale/LocaleInformation_sr_YU.java,
9325 gnu/java/locale/LocaleInformation_sv_FI.java,
9326 gnu/java/locale/LocaleInformation_sv_SE.java,
9327 gnu/java/locale/LocaleInformation_ta_IN.java,
9328 gnu/java/locale/LocaleInformation_te_IN.java,
9329 gnu/java/locale/LocaleInformation_tg_TJ.java,
9330 gnu/java/locale/LocaleInformation_tl_PH.java,
9331 gnu/java/locale/LocaleInformation_tr_TR.java,
9332 gnu/java/locale/LocaleInformation_uk_UA.java,
9333 gnu/java/locale/LocaleInformation_ur_PK.java,
9334 gnu/java/locale/LocaleInformation_uz_UZ.java,
9335 gnu/java/locale/LocaleInformation_vi_VN.java,
9336 gnu/java/locale/LocaleInformation_yi_US.java,
9337 gnu/java/locale/LocaleInformation_zh_CN.java,
9338 gnu/java/locale/LocaleInformation_zh_HK.java,
9339 gnu/java/locale/LocaleInformation_zh_SG.java,
9340 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9341 info; from Classpath.
9342
9343 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9344 isPaintPending): New methods.
9345 * gnu/awt/xlib/XFramePeer.java (getState, setState,
9346 setMaximizedBounds): New methods.
9347 (beginLayout, endLayout, isPaintPending): Likewise.
9348 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9349 (requestFocus): Likewise.
9350 (isObscured): Likewise.
9351 (canDetermineObscurity): Likewise.
9352 (coalescePaintEvent): Likewise.
9353 (updateCursorImmediately): Likewise.
9354 (createVolatileImage): Likewise.
9355 (handlesWheelScrolling): Likewise.
9356 (createBuffers): Likewise.
9357 (getBackBuffer): Likewise.
9358 (flip): Likewise.
9359 (destroyBuffers): Likewise.
9360
9361 * Makefile.in: Rebuilt.
9362 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9363 RobotPeer.java.
9364 * gnu/java/awt/GLightweightPeer.java,
9365 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9366 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9367 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9368 gnu/java/awt/peer/gtk/GtkFramePeer.java,
9369 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9370 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9371 java/awt/dnd/peer/DragSourceContextPeer.java,
9372 java/awt/dnd/peer/DropTargetContextPeer.java,
9373 java/awt/peer/ButtonPeer.java,
9374 java/awt/peer/CheckboxMenuItemPeer.java,
9375 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9376 java/awt/peer/ComponentPeer.java,
9377 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9378 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9379 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9380 java/awt/peer/MenuBarPeer.java,
9381 java/awt/peer/MenuComponentPeer.java,
9382 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9383 java/awt/peer/PopupMenuPeer.java,
9384 java/awt/peer/ScrollPanePeer.java,
9385 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9386 java/awt/peer/TextComponentPeer.java,
9387 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9388 New versions from Classpath.
9389 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9390 * java/awt/peer/RobotPeer.java: Likewise.
9391
9392 2003-03-01 Mark Wielaard <mark@klomp.org>
9393
9394 * java/io/ObjectInputStream.java: Reindent.
9395 * java/io/ObjectOutputStream.java: Likewise.
9396
9397 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
9398
9399 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9400 jvalue for each argument. Simplify.
9401 * testsuite/libjava.jni/calls.c (docall),
9402 testsuite/libjava.jni/calls.java (longpb_f): check for argument
9403 misalignment.
9404
9405 2003-02-28 Mark Wielaard <mark@klomp.org>
9406
9407 * Makefile.am (nat_source_files): Remove
9408 java/io/natObjectOutputStream.cc.
9409 * Makefile.in: Regenerated.
9410 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9411 * java/io/ObjectStreamField.java (typename): New field.
9412 (ObjectStreamField(String, Class)): Initialize new field.
9413 (ObjectStreamField(String, String)): New Constructor.
9414 (getTypeCode): Use new field.
9415 (getTypeString): Use new field.
9416 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9417 ObjectStreamExceptions. Remember and reset old BlockDataMode.
9418 Handle reading of Proxy classes. Never drain(), just write
9419 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9420 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9421 (flush): Call flush(), not just drain().
9422 (writeBoolean): Always use blockDataOutput.
9423 (writeByte): Likewise.
9424 (writeShort): Likewise.
9425 (writeChar): Likewise.
9426 (writeInt): Likewise.
9427 (writeLong): Likewise.
9428 (writeFloat): Likewise.
9429 (writeDouble): Likewise.
9430 (writeBytes): Likewise.
9431 (putfield (put(String,Object))): Throw IllegalArgumentException if
9432 field cannot be found.
9433 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9434 (writeArraySizeAndElements): Write byte[] in one go.
9435 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9436 set BlockDataMode to false.
9437 (annotateProxyClass): New method.
9438 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9439 (getField): No longer native.
9440 (getMethod): Likewise.
9441 (setBlockDataMode): Always drain() on switch, return old mode.
9442 (static): New static code block.
9443 * java/io/natObjectOutputStream.cc: Removed.
9444 * java/io/ObjectInputStream.java (getField): No longer native.
9445 (getMethod): Likewise.
9446 (readObject): Remember and reset old BlockDataMode. Track whether
9447 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9448 TC_LONGSTRING.
9449 (defaultReadObject): Set BlockDataMode to false during readFields.
9450 (resolveClass): Create new SecurityManager if necessary.
9451 Use Class.forName() if null ClassLoader found.
9452 (read(byte[],int,int): Copy remaining bytes to data before calling
9453 readNextBlock().
9454 (readFields): Set and reset BlockDataMode on call_read_method.
9455 Catch NoSuchFieldErrors.
9456 (setBlockDataMode): Return old mode.
9457 (static): New static code block.
9458 * java/io/natObjectInputStream.cc (getField): Removed.
9459 (getMethod): Likewise.
9460
9461 2003-02-27 Michael Koch <konqueror@gmx.de>
9462
9463 * java/beans/Beans.java,
9464 java/beans/FeatureDescriptor.java
9465 java/beans/PropertyEditorManager.java:
9466 Reformated to GNU style.
9467
9468 2003-02-25 Michael Koch <konqueror@gmx.de>
9469
9470 * gnu/java/nio/MappedByteFileBuffer.java,
9471 gnu/java/nio/natMappedByteFileBuffer.cc:
9472 New files, both are not compiled yet to get not noncompiling CVS.
9473
9474 2003-02-24 Tom Tromey <tromey@redhat.com>
9475
9476 * java/util/prefs/AbstractPreferences.java (isUserNode):
9477 Implemented.
9478
9479 2003-02-24 Tom Tromey <tromey@redhat.com>
9480
9481 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9482 Deprecate.
9483 * java/lang/Thread.java (resume): Deprecate.
9484 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9485 in @deprecated.
9486
9487 2003-02-23 Tom Tromey <tromey@redhat.com>
9488
9489 * Makefile.in: Rebuilt.
9490 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
9491
9492 2003-02-23 Tom Tromey <tromey@redhat.com>
9493
9494 * java/lang/natRuntime.cc (libraries_size, libraries_count,
9495 libraries): Removed.
9496 (add_library): Removed.
9497 (_load): Don't call add_library.
9498 (loadLibraryInternal): Likewise.
9499 (init): Likewise.
9500 (lookup_data): New struct.
9501 (find_symbol): New function.
9502 (_Jv_FindSymbolInExecutable): Use it.
9503
9504 2002-02-21 Anthony Green <green@redhat.com>
9505
9506 * java/lang/Thread.java (Thread): New constructor taking stack
9507 size parameter (ignored for now).
9508 * Many methods: Merged GNU Classpath documentation.
9509
9510 * java/lang/Class.java (finalize): throws a Throwable.
9511
9512 2003-02-21 Mark Wielaard <mark@klomp.org>
9513
9514 * java/util/zip/ZipEntry.java (setComment): Don't check length when
9515 argument is null.
9516
9517 2003-02-21 Mark Wielaard <mark@klomp.org>
9518
9519 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
9520 then 65535 chars throw IllegalArgumentException.
9521
9522 2003-02-21 Mark Wielaard <mark@klomp.org>
9523
9524 * java/util/zip/ZipFile.java (finalize): New method.
9525
9526 2003-02-21 Michael Koch <konqueror@gmx.de>
9527
9528 * gnu/java/nio/natSocketChannelImpl.cc:
9529 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
9530 <cato@df.lth.se> for pointing to it.
9531
9532 2003-02-20 Raif S. Naffah <raif@fl.net.au>
9533
9534 * java/math/BigInteger.java (euclidInv): Take result array as an
9535 argument. Updated all callers.
9536 (modInverse): Removed unused variables.
9537
9538 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
9539
9540 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
9541 config.status.
9542 * configure: Rebuilt.
9543
9544 2003-02-19 Michael Koch <konqueror@gmx.de>
9545
9546 * gnu/java/nio/natSocketChannelImpl.cc:
9547 Added support for platforms without network support.
9548
9549 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9550
9551 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
9552 after config.h. Use <> for consistency.
9553 * java/lang/natObject.cc: Likewise.
9554 * java/lang/natRuntime.cc: Likewise.
9555 * java/lang/natSystem.cc: Likewise.
9556 * java/util/natTimeZone.cc: Likewise.
9557 * win32.cc: Likewise.
9558 * include/posix.h (fcntl, socket, connect, close, bind, accept,
9559 listen, write, read): Undef to avoid interference from OS macros.
9560
9561 2003-02-19 Michael Koch <konqueror@gmx.de>
9562
9563 * gnu/java/nio/ByteBufferImpl.java
9564 (ByteBufferImpl): Renamed two variables.
9565 * gnu/java/nio/CharBufferImpl.java
9566 (CharBufferImpl): Renamed two variables.
9567 * gnu/java/nio/DoubleBufferImpl.java
9568 (DoubleBufferImpl): Renamed two variables.
9569 * gnu/java/nio/FloatBufferImpl.java
9570 (FloatBufferImpl): Renamed two variables.
9571 * gnu/java/nio/IntBufferImpl.java
9572 (IntBufferImpl): Renamed two variables.
9573 * gnu/java/nio/LongBufferImpl.java
9574 (LongBufferImpl): Renamed two variables.
9575 * gnu/java/nio/ShortBufferImpl.java
9576 (ShortBufferImpl): Renamed two variables.
9577 * java/nio/CharBuffer.java
9578 (wrap): Fixed arguments to CharBufferImpl constructor.
9579 (hasArray): Only not read-only buffers have backing arrays.
9580 (length): Documentation added.
9581 (subSequence): Documentation added.
9582 * java/nio/DoubleBuffer.java
9583 (hasArray): Only not read-only buffers have backing arrays.
9584 * java/nio/FloatBuffer.java
9585 (hasArray): Only not read-only buffers have backing arrays.
9586 * java/nio/IntBuffer.java
9587 (hasArray): Only not read-only buffers have backing arrays.
9588 * java/nio/LongBuffer.java
9589 (hasArray): Only not read-only buffers have backing arrays.
9590 * java/nio/ShortBuffer.java
9591 (hasArray): Only not read-only buffers have backing arrays.
9592
9593 2003-02-19 Michael Koch <konqueror@gmx.de>
9594
9595 * javax/accessibility/AccessibleContext.java
9596 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
9597
9598 2003-02-19 Michael Koch <konqueror@gmx.de>
9599
9600 * java/awt/ScrollPaneAdjustable.java: Reformated.
9601
9602 2003-02-19 Michael Koch <konqueror@gmx.de>
9603
9604 * gnu/awt/j2d/Graphics2DImpl.java
9605 (getFontRenderContext): New method.
9606 (drawGlyphVector): New method.
9607 * java/awt/Graphics2D.java
9608 (getFontRenderContext): New abstract method.
9609 (drawGlyphVector): New abstract method.
9610
9611 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
9612
9613 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
9614 if necessary.
9615
9616 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9617 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9618 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9619 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9620 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9621 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
9622 (setFont, gtkSetFont): add.
9623 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
9624 Propagate font to peer. (setFont): add FIXME comment.
9625
9626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9627 (gtkTextGetSize): fix height, width computation.
9628
9629 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
9630 Make X font name a bit less bogus.
9631
9632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9633 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
9634
9635 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
9636 (processAdjustmentEvent): Adjust value.
9637
9638 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
9639 logic errors.
9640
9641 * java/awt/Component.java (setVisible, show, hide): Call show and
9642 hide methods in subclasses.
9643 (getPreferredSize): don't set prefSize before we have peer.
9644
9645 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
9646 Guess (0,0) if we don't have peer.
9647
9648
9649 2003-02-18 Michael Koch <konqueror@gmx.de>
9650
9651 * java/nio/channels/FileChannel.java
9652 (toString): New implementation, added documentation.
9653 (map): Added exception documentation.
9654 (size): Added exception documentation.
9655 (write): New methods, documentation work.
9656 (read): New methods, documentation work.
9657 (implCloseChannel): Rewrote exception documentation.
9658 (force): Throws IOException, added documentation.
9659 (lock): New methods.
9660 (tryLock): New methods.
9661 (position): New methods.
9662 (transferTo): New method.
9663 (transferFrom): New method.
9664 (truncate): New method.
9665 * java/nio/channels/spi/SelectorProvider.java
9666 (provider): Implemented.
9667 * Makefile.am
9668 (ordinary_java_source_files): Added the following files:
9669 gnu/java/nio/DatagramChannelImpl.java
9670 gnu/java/nio/FileChannelImpl.java
9671 gnu/java/nio/PipeImpl.java
9672 gnu/java/nio/SelectionKeyImpl.java
9673 gnu/java/nio/SelectorImpl.java
9674 gnu/java/nio/SelectorProviderImpl.java
9675 gnu/java/nio/ServerSocketChannelImpl.java
9676 gnu/java/nio/SocketChannelImpl.java
9677 java/nio/channels/FileLock.java
9678 (nat_java_source_files): Added the following files:
9679 gnu/java/nio/natFileChannelImpl.cc
9680 gnu/java/nio/natSelectorImpl.cc
9681 gnu/java/nio/natSocketChannelImpl.cc
9682 * Makefile.in: Regenerated.
9683
9684 2003-02-17 Tom Tromey <tromey@redhat.com>
9685
9686 * java/awt/image/ColorModel.java: Re-merged with Classpath.
9687 * java/awt/image/ImageFilter.java: Likewise.
9688
9689 2003-02-17 Raif S. Naffah <raif@fl.net.au>
9690
9691 * java/math/BigInteger.java (euclidInv): Return array of
9692 `BigInteger's. Changed all callers.
9693
9694 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
9695
9696 * java/util/Properties.java (store): Move the code formerly in
9697 list(), into this method.
9698 (list (PrintStream)): Just call list (PrintWriter) with a
9699 PrintWriter object constructed from the given PrintStream object.
9700 (list (PrintWriter)): Emulate the output of Properties.list()
9701 as found in JDK 1.3/1.4.
9702
9703 2003-02-17 Michael Koch <konqueror@gmx.de>
9704
9705 * java/net/DatagramSocket.java
9706 (connect): Merged with classpath.
9707 (disconnect): Merged documentation with classpath.
9708 (receice): Merged documentation with classpath.
9709 (send): Merged documentation with classpath.
9710
9711 2003-02-17 Michael Koch <konqueror@gmx.de>
9712
9713 * java/awt/dnd/DragSourceContext.java
9714 (addDragSourceListener): Added documentation.
9715 * java/awt/dnd/DragSourceDragEvent.java
9716 (serialVersionUID): New member variable.
9717 (getDropAction): Reformated.
9718 * java/awt/dnd/DragSourceDropEvent.java
9719 (serialVersionUID): New member variable.
9720 (dropSuccess): Renamed from success for serialization issues.
9721 * java/awt/dnd/DragSourceEvent.java
9722 (serialVersionUID): New member variable.
9723 * java/awt/dnd/DropTarget.java
9724 (serialVersionUID): New member variable.
9725 (DropTarget): Implemented, documentation reworked.
9726 (setComponent): Documentation added.
9727 (getComponent): Documentation added.
9728 (setDefaultActions): Documentation added.
9729 (getDefaultActions): Documentation added.
9730 (addDropTargetListener): Documentation added.
9731 * java/awt/dnd/DropTargetContext.java
9732 (DropTargetContext): Documentation added.
9733 (TransferableProxy.TransferableProxy): New method.
9734 (dropComplete): Fixed documentation.
9735 (getTransferable): Fixed documentation.
9736 (createTransferableProxy): Implemented.
9737 * java/awt/dnd/DropTargetDragEvent.java
9738 (DropTargetDragEvent): Documentation added.
9739 (serialVersionUID): New member variable.
9740 (DropTargetDragEvent): Throw exceptions, documentation added.
9741 (acceptDrag): Implemented.
9742 (getCurrentDataFlavors): Implemented.3yy
9743 (getCurrentDataFlavorsAsList): Implemented.
9744 (isDataFlavorSupported): Implemented.
9745 (rejectDrag): Implemented.
9746 * java/awt/dnd/DropTargetDropEvent.java
9747 (DropTargetDropEvent): Documentation added.
9748 (serialVersionUID): New member variable.
9749 (actions): Renamed from srcActions for serialization issues.
9750 (isLocalTx): Renamed from isLocalTx for serialization issues.
9751 (DropTargetDropEvent): New implementation, throw exceptions,
9752 documentation added.
9753 (getCurrentDataFlavors): Implemented.
9754 (getCurrentDataFlavorsAsList): Implemented.
9755 (isDataFlavorSupported): Implemented.
9756 (getSourceActions): Implemented.
9757 (getDropAction): Implemented.
9758 (getTransferable): Implemented.
9759 (acceptDrop): Implemented.
9760 (rejectDrop): Implemented.
9761 * java/awt/dnd/DropTargetListener.java
9762 (drop): Fixed documentation.
9763 * java/awt/dnd/MouseDragGestureRecognizer.java
9764 (MouseDragGestureRecognizer): Documentation added.
9765
9766 2003-02-17 Michael Koch <konqueror@gmx.de>
9767
9768 * java/awt/font/FontRenderContext.java,
9769 java/awt/font/ShapeGraphicAttribute.java,
9770 java/awt/font/MultipleMaster.java,
9771 java/awt/font/TransformAttribute.java,
9772 java/awt/font/GlyphJustificationInfo.java,
9773 java/awt/font/LineBreakMeasurer.java,
9774 java/awt/font/TextMeasurer.java,
9775 java/awt/font/TextLayout.java,
9776 java/awt/font/LineMetrics.java,
9777 java/awt/font/TextAttribute.java,
9778 java/awt/font/GlyphMetrics.java,
9779 java/awt/font/OpenType.java,
9780 java/awt/font/GlyphVector.java,
9781 java/awt/font/GraphicAttribute.java,
9782 java/awt/font/ImageGraphicAttribute.java,
9783 java/awt/font/NumericShaper.java: New files.
9784 * Makefile.am
9785 (awt_java_source_files): Added the following files:
9786 java/awt/font/FontRenderContext.java
9787 java/awt/font/ShapeGraphicAttribute.java
9788 java/awt/font/MultipleMaster.java
9789 java/awt/font/TransformAttribute.java
9790 java/awt/font/GlyphJustificationInfo.java
9791 java/awt/font/LineBreakMeasurer.java
9792 java/awt/font/TextMeasurer.java
9793 java/awt/font/TextLayout.java
9794 java/awt/font/LineMetrics.java
9795 java/awt/font/TextAttribute.java
9796 java/awt/font/GlyphMetrics.java
9797 java/awt/font/OpenType.java
9798 java/awt/font/GlyphVector.java
9799 java/awt/font/GraphicAttribute.java
9800 java/awt/font/ImageGraphicAttribute.java
9801 java/awt/font/NumericShaper.java
9802 * Makefile.in: Regenerated.
9803
9804 2003-02-17 Michael Koch <konqueror@gmx.de>
9805
9806 * java/awt/print/Paper.java
9807 (Paper): Implements Cloneable.
9808 * java/awt/print/PrinterJob.java
9809 (setJobName): Return value must be void.
9810 (print): Throws PrinterException.
9811
9812 2003-02-16 Tom Tromey <tromey@redhat.com>
9813
9814 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
9815 variable.
9816
9817 2003-02-15 Michael Koch <konqueror@gmx.de>
9818
9819 * java/awt/datatransfer/DataFlavor.java
9820 (isRepresentationClassByteBuffer): Removed try-catch block.
9821 (isRepresentationClassCharBuffer): Removed try-catch block.
9822 (isRepresentationClassReader): Removed try-catch block.
9823
9824 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9825
9826 * java/nio/charset/Charset.java
9827 (isRegistered): Fixed method args and implementation.
9828 * java/nio/charset/CharsetEncoder.java
9829 (unmappableCharacterAction): New method.
9830
9831 2003-02-15 Michael Koch <konqueror@gmx.de>
9832
9833 * java/awt/CheckboxMenuItem.java
9834 (CheckBoxMenuItem): Dont implement Serializable.
9835 (getListeners): New method,
9836 (getItemListeners): New method.
9837 * java/awt/Choice.java
9838 (getListeners): New method,
9839 (getItemListeners): New method.
9840 * java/awt/Container.java
9841 (getListeners): Added exception documentation.
9842 (setFocusTraversalKeys): Throw exceptions, added documentattion.
9843 (getFocusTraversalKeys): Added documentation.
9844 (areFocusTraversalKeysSet): Added documentation.
9845 (applyComponentOrientation): Added documentation.
9846 * java/awt/ContainerOrderFocusTraversalPolicy.java
9847 (implicitDownCycleTraversal): Renamed from downCycle for
9848 serialization.
9849 (ContainerOrderFocusTraversalPolicy): Added documentation.
9850 (accept): Reformated.
9851 * java/awt/Dialog.java
9852 (Dialog): Dont implement Serializable.
9853 (Dialog): Added documentation.
9854 * java/awt/Font.java
9855 (Font): Dont use absolute class name.
9856 * java/awt/Frame.java
9857 (Frame): Font implement Serializable.
9858 * java/awt/List.java
9859 (getListeners): New method,
9860 (getActionListeners): New method.
9861 (getItemListeners): New method.
9862 * java/awt/Menu.java
9863 (countItems): New deprecated method.
9864 * java/awt/Scrollbar.java
9865 (getListeners): New method,
9866 (getAdjustmentListeners): New method,
9867 * java/awt/TextComponent.java
9868 (getListeners): New method,
9869 (getTextListeners): New method,
9870 * java/awt/TextField.java
9871 (getListeners): New method,
9872 (getActionListeners): New method.
9873 * java/awt/Window.java
9874 (windowFocusListener): New member variable.
9875 (windowStateListener): New member variable.
9876 (getWindowFocusListeners): New method.
9877 (getWindowStateListeners): New method.
9878 (addWindowFocusListener): New method.
9879 (addWindowStateListener): New method.
9880 (removeWindowFocusListener): New method.
9881 (removeWindowStateListener): New method.
9882 * java/awt/datatransfer/DataFlavor.java
9883 (isRepresentationClassByteBuffer): New method.
9884 (isRepresentationClassCharBuffer): New method.
9885 (isRepresentationClassReader): New method.
9886
9887 2003-02-14 Mark Wielaard <mark@klomp.org>
9888
9889 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
9890 zero when there is an exponent and the significant is zero.
9891 (divide): Always set scale to newScale even in special ZERO case.
9892
9893 2003-02-14 Tom Tromey <tromey@redhat.com>
9894
9895 * java/lang/System.java (properties): Use Properties.clone.
9896 (setProperties): Likewise.
9897
9898 2003-02-14 Michael Koch <konqueror@gmx.de>
9899
9900 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
9901 * gnu/java/nio/ServerSocketChannelImpl.java
9902 (SocketAccept): Removed.
9903 (accept): Commented out use of SocketAccept.
9904
9905 2003-02-13 Tom Tromey <tromey@redhat.com>
9906
9907 * verify.cc (state::seen_subrs): New field.
9908 (state::state): Initialize it.
9909 (state::clean_subrs): New method.
9910 (state::~state): Call it.
9911 (state::copy): Copy subroutine list.
9912 (state::add_subr): New method.
9913 (state::merge): Only register a change if the current subroutine
9914 hasn't yet been noted.
9915
9916 2003-02-13 Mark Wielaard <mark@klomp.org>
9917
9918 * java/io/InputStreamReader.java (getEncoding): Return null when
9919 closed.
9920 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
9921
9922 2003-02-13 Mark Wielaard <mark@klomp.org>
9923
9924 * java/util/zip/InflaterInputStream.java (read): Return zero when len
9925 is zero.
9926
9927 2003-02-13 Mark Wielaard <mark@klomp.org>
9928
9929 * java/io/BufferedOutputStream.java (write(int)): Only flush when
9930 next byte cannot be buffered.
9931
9932 2003-02-13 Michael Koch <konqueror@gmx.de>
9933
9934 * java/awt/Label.java
9935 (Label): Don't implement Serializable directly.
9936 (addNotify): Fixed typo in documentation.
9937 * java/awt/List.java
9938 (List): Don't implement Serializable directly.
9939 * java/awt/PopupMenu.java
9940 (PopupMenu): Don't implement Serializable directly.
9941 * java/awt/ScrollPane.java
9942 (ScrollPane): Don't implement Serializable directly.
9943 * java/awt/Scrollbar.java
9944 (Scrollbar): Don't implement Serializable directly.
9945 * java/awt/TextArea.java
9946 (preferredSize): Fixed method arguments.
9947 * java/awt/TextField.java
9948 (TextField): Don't implement Serializable directly.
9949 * java/awt/color/ICC_ColorSpace.java
9950 (fromCIOXYZ): Documentation added.
9951 (getMinValue): Documentation added.
9952 (getMaxValue): Documentation added.
9953 * java/awt/datatransfer/DataFlavor.java
9954 (isMimeTypeEqual): May not be final.
9955 (clone): Throws CloneNotSupportedException.
9956 (getReaderForText): Don't throws UnsupportedEncodingException.
9957
9958 2003-02-13 Michael Koch <konqueror@gmx.de>
9959
9960 * gnu/java/awt/peer/gtk/GdkGraphics.java
9961 (drawString): New stubbed method.
9962 * java/awt/Graphics.java
9963 (drawString): New method.
9964
9965 2003-02-13 Casey Marshall <rsdio@metastatic.org>
9966
9967 PR libgcj/9271:
9968 * java/security/SecureRandom.java (next): Avoid bias in results.
9969
9970 2003-02-13 Michael <konqueror@gmx.de>
9971
9972 * gnu/java/nio/FileChannelImpl.java
9973 (lengthInternal): Must be native.
9974 (size): Check if channel is already closed.
9975 (implCloseChannel): Reformated.
9976 (read): w was unused, removed it.
9977 (read): Removed.
9978 (read): New method.
9979 (write): New method.
9980 (map): Check arguments.
9981 (force): Throws IOException, check if channel is closed.
9982 (transferTo): New method.
9983 (transferFrom): New method.
9984 (lock): New method.
9985 (tryLock): New method.
9986 (position): New method.
9987 (truncate): New method.
9988 (nio_mmap_file): Uncommented.
9989 (nio_munmap_file): Uncommented.
9990 (nio_msync): Uncommented.
9991 * gnu/java/nio/natFileChannelImpl.cc: New file.
9992
9993 2003-02-13 Michael Koch <konqueror@gmx.de>
9994
9995 * java/nio/ByteBuffer.java
9996 (endian): New member variable.
9997 (get): New methods.
9998 (equals): New method.
9999 (compareTo): New method.
10000 (order): New methods.
10001 (compact): New method.
10002 (isDirect): New method.
10003 (slice): New method.
10004 (duplicate): New method.
10005 (asReadOnlyBuffer): New method.
10006 (asCharBuffer): New method.
10007 (asDoubleBuffer): New method.
10008 (asFloatBuffer): New method.
10009 (asIntBuffer): New method.
10010 (asLongBuffer): New method.
10011 (asShortBuffer): New method.
10012 (get*): New methods.
10013 (put*): New methods.
10014 (toString): New method.
10015 * java/nio/CharBuffer.java
10016 (CharBuffer): Implement Comparable instead of Cloneable.
10017 (get): May not be final.
10018 (put): May not be final.
10019
10020 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
10021
10022 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10023 lastIndexOf( ) instead of indexOf( ) to find the colon before
10024 the line number, because Win32 file names might contain a
10025 drive letter and a colon at the start of an absolute path.
10026
10027 2003-02-13 Michael Koch <konqueror@gmx.de>
10028
10029 * gnu/java/nio/natSocketChannelImpl.cc
10030 (SocketConnect): This is not implemented yet.
10031 (SocketBind): This is not implemented yet.
10032
10033 2003-02-13 Michael Koch <konqueror@gmx.de>
10034
10035 * gnu/java/nio/natByteBufferImpl.cc,
10036 gnu/java/nio/natCharBufferImpl.cc,
10037 gnu/java/nio/natDoubleBufferImpl.cc,
10038 gnu/java/nio/natFloatBufferImpl.cc,
10039 gnu/java/nio/natIntBufferImpl.cc,
10040 gnu/java/nio/natLongBufferImpl.cc,
10041 gnu/java/nio/natShortBufferImpl.cc:
10042 Added copyright and license.
10043 * java/nio/DoubleBuffer.java,
10044 java/nio/FloatBuffer.java,
10045 java/nio/IntBuffer.java,
10046 java/nio/LongBuffer.java,
10047 java/nio/ShortBuffer.java
10048 (array): Throw exceptions.
10049 (arrayOffset): Throw exceptions.
10050
10051 2003-02-13 Michael Koch <konqueror@gmx.de>
10052
10053 * gnu/java/util/prefs/FileBasedFactory.java,
10054 gnu/java/util/prefs/MemmoryBasedFactory.java,
10055 gnu/java/util/prefs/MemoryBasedPreferences.java,
10056 gnu/java/util/prefs/NodeReader.java,
10057 gnu/java/util/prefs/NodeWriter.java,
10058 java/util/prefs/AbstractPreferences.java,
10059 java/util/prefs/BackingStoreException.java,
10060 java/util/prefs/InvalidPreferencesFormatException.java,
10061 java/util/prefs/NodeChangeEvent.java,
10062 java/util/prefs/NodeChangeListener.java,
10063 java/util/prefs/PreferenceChangeEvent.java,
10064 java/util/prefs/PreferenceChangeListener.java,
10065 java/util/prefs/Preferences.java,
10066 java/util/prefs/PreferencesFactory.java:
10067 New files, all merged from classpath.
10068 * Makefile.am
10069 (ordinary_java_source_files): Added the following files:
10070 gnu/java/util/prefs/FileBasedFactory.java,
10071 gnu/java/util/prefs/MemmoryBasedFactory.java,
10072 gnu/java/util/prefs/MemoryBasedPreferences.java,
10073 gnu/java/util/prefs/NodeReader.java,
10074 gnu/java/util/prefs/NodeWriter.java,
10075 (core_java_source_files): Added the following files:
10076 java/util/prefs/AbstractPreferences.java,
10077 java/util/prefs/BackingStoreException.java,
10078 java/util/prefs/InvalidPreferencesFormatException.java,
10079 java/util/prefs/NodeChangeEvent.java,
10080 java/util/prefs/NodeChangeListener.java,
10081 java/util/prefs/PreferenceChangeEvent.java,
10082 java/util/prefs/PreferenceChangeListener.java,
10083 java/util/prefs/Preferences.java,
10084 java/util/prefs/PreferencesFactory.java
10085 * Makefile.in: Regenerated.
10086
10087 2003-02-13 Michael Koch <konqueror@gmx.de>
10088
10089 * java/net/NetPermission.java
10090 (NetPermission): Make doucmentation match the method declaration.
10091 * java/net/NetworkInterface.java
10092 (equals): Reformated for GNU coding style.
10093 * java/net/ServerSocket.java: Merged with classpath.
10094 * java/net/Socket.java: Partly merged with classpath (Added some @since).
10095 * java/net/SocketImpl.java
10096 (localPort): Merged with classpath (initialize with -1).
10097 * java/net/SocketPermission.java: Merged with classpath (reindented).
10098 * java/net/URLDecoder.java: Merged with classpath (reindented).
10099
10100 2003-02-13 Michael Koch <konqueror@gmx.de>
10101
10102 * java/awt/GridBagConstraints.java
10103 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10104 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10105 * java/awt/KeyboardFocusManager.java
10106 (setGlobalCurrentFocusCycleRoot): Must be public.
10107 * java/awt/MenuComponent.java
10108 (MenuComponent): Must be public.
10109 * java/awt/Toolkit.java:
10110 Added some empty lines to make documentation more readable.
10111 (getFontPeer): Added @deprecated.
10112 (getColorModel): Added exception documentation.
10113 (getProperty): Fixed documentation.
10114
10115 2003-02-12 Jeff Sturm <jsturm@one-point.com>
10116
10117 * configure.host (alpha*-*): Default to -mieee.
10118 * configure.in (IEEESPEC): New.
10119 * libgcj.spec.in (jc1): Add IEEESPEC.
10120 * configure: Rebuild.
10121
10122 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10123
10124 * include/win32.h: Include ws2tcpip.h instead of
10125 winsock.h to obtain definition of the socklen_t type.
10126 Remove IP_TOS definition - not needed with ws2tcpip.h
10127 (_Jv_connect): Correct slight formatting error.
10128
10129 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10130
10131 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10132 size of the arguments for a JNI function. For Win32,
10133 modify to search for all forms of possible exported
10134 names of an stdcall JNI function.
10135 (_Jv_JNIMethod::call): Modify to calculate the size
10136 of the arguments passed to a JNI function and pass
10137 it to _Jv_LookupJNIMethod.
10138
10139 2003-02-12 Michael Koch <konqueror@gmx.de>
10140
10141 * java/nio/channels/Channels.java: New file.
10142 * Makefile.am
10143 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10144 * Makefile.in: Regenerated.
10145
10146 2003-02-12 Michael Koch <konqueror@gmx.de>
10147
10148 * java/nio/ByteBuffer.java
10149 (allocate): Implemented.
10150 (wrap): Implemented.
10151 * java/nio/CharBuffer.java:
10152 Some documentation added and reworked.
10153 (endian): Removed.
10154 (allocate): Implemented.
10155 (wrap): Implemented.
10156 (array): Throw exceptions.
10157 (arrayOffset): Throw exceptions.
10158 (toString): Implemented.
10159 (length): Implemented.
10160 (put): Implemented.
10161 (charAt): Implemented.
10162
10163 2003-02-11 John Leuner <jewel@debian.org>
10164
10165 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
10166 reads from end of file.
10167
10168 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
10169
10170 * java/io/natFileDescriptorWin32.cc
10171 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10172 returns with Win32 error code ERROR_BROKEN_PIPE.
10173
10174 2003-02-11 Michael Koch <konqueror@gmx.de>
10175
10176 * Makefile.in
10177 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10178
10179 2003-02-11 Michael Koch <konqueror@gmx.de>
10180
10181 * gnu/java/nio/ByteBufferImpl.java:
10182 Reformated and removed some code.
10183 (backing_buffer): Removed.
10184 (array_offset): Removed.
10185 (ro): Renamed to readOnly.
10186 (ByteBufferImpl): Use parent constructor, initialize readOnly.
10187 * gnu/java/nio/CharBufferImpl.java:
10188 Reformated and removed some code.
10189 (array_offset): Removed.
10190 (ro): Renamed to readOnly.
10191 (CharBufferImpl): Use parent constructor, initialize readOnly.
10192 (inc_pos): Removed.
10193 (order): New method.
10194 * gnu/java/nio/DoubleBufferImpl.java:
10195 Reformated and removed some code.
10196 (array_offset): Removed.
10197 (ro): Renamed to readOnly.
10198 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10199 (inc_pos): Removed.
10200 (order): New method.
10201 * gnu/java/nio/FloatBufferImpl.java:
10202 Reformated and removed some code.
10203 (array_offset): Removed.
10204 (ro): Renamed to readOnly.
10205 (FloatBufferImpl): Use parent constructor, initialize readOnly.
10206 (inc_pos): Removed.
10207 (order): New method.
10208 * gnu/java/nio/IntBufferImpl.java:
10209 Reformated and removed some code.
10210 (array_offset): Removed.
10211 (ro): Renamed to readOnly.
10212 (IntBufferImpl): Use parent constructor, initialize readOnly.
10213 (inc_pos): Removed.
10214 (order): New method.
10215 * gnu/java/nio/LongBufferImpl.java:
10216 Reformated and removed some code.
10217 (array_offset): Removed.
10218 (ro): Renamed to readOnly.
10219 (LongBufferImpl): Use parent constructor, initialize readOnly.
10220 (inc_pos): Removed.
10221 (order): New method.
10222 * gnu/java/nio/ShortBufferImpl.java:
10223 Reformated and removed some code.
10224 (array_offset): Removed.
10225 (ro): Renamed to readOnly.
10226 (ShortBufferImpl): Use parent constructor, initialize readOnly.
10227 (inc_pos): Removed.
10228 (order): New method.
10229 * Makefile.am
10230 (ordinary_java_source_files): Added the following files:
10231 gnu/java/nio/ByteBufferImpl.java
10232 gnu/java/nio/CharBufferImpl.java
10233 gnu/java/nio/DoubleBufferImpl.java
10234 gnu/java/nio/FloatBufferImpl.java
10235 gnu/java/nio/IntBufferImpl.java
10236 gnu/java/nio/LongBufferImpl.java
10237 gnu/java/nio/ShortBufferImpl.java
10238 java/nio/DoubleBuffer.java
10239 java/nio/FloatBuffer.java
10240 java/nio/IntBuffer.java
10241 java/nio/LongBuffer.java
10242 java/nio/ShortBuffer.java
10243 (nat_source_files): Added the following files:
10244 gnu/java/nio/natByteBufferImpl.cc
10245 gnu/java/nio/natCharBufferImpl.cc
10246 gnu/java/nio/natDoubleBufferImpl.cc
10247 gnu/java/nio/natFloatBufferImpl.cc
10248 gnu/java/nio/natIntBufferImpl.cc
10249 gnu/java/nio/natLongBufferImpl.cc
10250 gnu/java/nio/natShortBufferImpl.cc
10251 * Makefile.in: Regenerated.
10252
10253 2003-02-11 Michael Koch <konqueror@gmx.de>
10254
10255 * gnu/java/nio/natCharBufferImpl.cc
10256 (nio_cast): Removed.
10257 (nio_put_*): Removed.
10258 (nio_get_*): Removed.
10259 * gnu/java/nio/natDoubleBufferImpl.cc
10260 (nio_cast): Removed.
10261 (nio_put_*): Removed.
10262 (nio_get_*): Removed.
10263 * gnu/java/nio/natFloatBufferImpl.cc
10264 (nio_cast): Removed.
10265 (nio_put_*): Removed.
10266 (nio_get_*): Removed.
10267 * gnu/java/nio/natIntBufferImpl.cc
10268 (nio_cast): Removed.
10269 (nio_put_*): Removed.
10270 (nio_get_*): Removed.
10271 * gnu/java/nio/natLongBufferImpl.cc
10272 (nio_cast): Removed.
10273 (nio_put_*): Removed.
10274 (nio_get_*): Removed.
10275 * gnu/java/nio/natShortBufferImpl.cc
10276 (nio_cast): Removed.
10277 (nio_put_*): Removed.
10278 (nio_get_*): Removed.
10279 * gnu/java/nio/SelectorProviderImpl.java
10280 (openDatagramChannel): Throws IOException.
10281 (openPipe): Throws IOException.
10282 (openSelector): Throws IOException.
10283 (openServerSocketChannel): Throws IOException.
10284 (openSocketChannel): Throws IOException.
10285 * gnu/java/nio/ServerSocketChannelImpl.java
10286 (ServerSocketChannelImpl): Throws IOException.
10287 (implCloseSelectableChannel): Throws IOException.
10288 (implConfigureBlocking): Throws IOException.
10289 * java/nio/ByteBuffer.java
10290 (readOnly): Removed.
10291 (hasArray): Use isReadOnly() instead of readOnly.
10292 (array): Use isReadOnly() instead of readOnly.
10293 (arrayOffset): Use isReadOnly() instead of readOnly.
10294 * java/nio/CharBuffer.java
10295 (CharBuffer): Implements Cloneable and CharSequence.
10296
10297 2003-02-11 Michael Koch <konqueror@gmx.de>
10298
10299 * java/nio/DoubleBuffer.java
10300 (DoubleBuffer): Implements Comparable.
10301 (endian): Removed.
10302 (array_offset): New member variable.
10303 (DoubleBuffer): New constuctor.
10304 (get): May not be final.
10305 (put): May not be final.
10306 (arrayOffset): Implemented.
10307 (order): Made abstract.
10308 (order): Removed.
10309 (as*Buffer): Removed.
10310 (get*): Removed.
10311 (put*): Removed.
10312 * java/nio/FloatBuffer.java
10313 (FloatBuffer): Implements Comparable.
10314 (endian): Removed.
10315 (array_offset): New member variable.
10316 (FloatBuffer): New constuctor.
10317 (get): May not be final.
10318 (put): May not be final.
10319 (arrayOffset): Implemented.
10320 (order): Made abstract.
10321 (order): Removed.
10322 (as*Buffer): Removed.
10323 (get*): Removed.
10324 (put*): Removed.
10325 * java/nio/IntBuffer.java
10326 (IntBuffer): Implements Comparable.
10327 (endian): Removed.
10328 (array_offset): New member variable.
10329 (IntBuffer): New constuctor.
10330 (get): May not be final.
10331 (put): May not be final.
10332 (arrayOffset): Implemented.
10333 (order): Made abstract.
10334 (order): Removed.
10335 (as*Buffer): Removed.
10336 (get*): Removed.
10337 (put*): Removed.
10338 * java/nio/LongBuffer.java
10339 (LongBuffer): Implements Comparable.
10340 (endian): Removed.
10341 (array_offset): New member variable.
10342 (LongBuffer): New constuctor.
10343 (get): May not be final.
10344 (put): May not be final.
10345 (arrayOffset): Implemented.
10346 (order): Made abstract.
10347 (order): Removed.
10348 (as*Buffer): Removed.
10349 (get*): Removed.
10350 (put*): Removed.
10351 * java/nio/ShortBuffer.java
10352 (ShortBuffer): Implements Comparable.
10353 (endian): Removed.
10354 (array_offset): New member variable.
10355 (ShortBuffer): New constuctor.
10356 (get): May not be final.
10357 (put): May not be final.
10358 (arrayOffset): Implemented.
10359 (order): Made abstract.
10360 (order): Removed.
10361 (as*Buffer): Removed.
10362 (get*): Removed.
10363 (put*): Removed.
10364
10365 2003-02-11 Michael Koch <konqueror@gmx.de>
10366
10367 * java/nio/channels/SelectionKey.java
10368 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10369 values.
10370
10371 2003-02-11 Michael Koch <konqueror@gmx.de>
10372
10373 * java/nio/channels/DatagramChannel.java
10374 (write): Throws IOException.
10375 (connect): Throws IOException.
10376 (disconnect): Throws IOException.
10377 (read): Throws IOException.
10378 (receive): Throws IOException.
10379 (send): Throws IOException.
10380 * java/nio/channels/Pipe.java
10381 (open): Throws IOException.
10382 * java/nio/channels/SelectableChannel.java
10383 (configureBlocking): Throws IOException.
10384 * java/nio/channels/ServerSocketChannel.java
10385 (accept): Throws IOException.
10386 * java/nio/channels/SocketChannel.java
10387 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10388 GatheringByteChannel.
10389 (read): Throws IOException.
10390 (write): Throws IOException.
10391 (finishConnect): Throws IOException.
10392 * java/nio/channels/spi/AbstractInterruptibleChannel.java
10393 (end): Throws AsynchronousCloseException.
10394 * java/nio/channels/spi/AbstractSelectableChannel.java
10395 (configureBlocking): Throws IOException.
10396 (implCloseChannel): Throws IOException.
10397 (implCloseSelectableChannel): Throws IOException.
10398 (implConfigureBlocking): Throws IOException.
10399 * java/nio/channels/spi/SelectorProvider.java
10400 (openDatagramChannel): Throws IOException.
10401 (openPipe): Throws IOException.
10402 (openSelector): Throws IOException.
10403 (openServerSocketChannel): Throws IOException.
10404 (openSocketChannel): Throws IOException.
10405
10406 2003-02-11 Michael Koch <konqueror@gmx.de>
10407
10408 * gnu/java/nio/FileLockImpl.java,
10409 java/nio/channels/FileLock.java: New files.
10410
10411 2003-02-11 Michael Koch <konqueror@gmx.de>
10412
10413 * java/nio/charset/IllegalCharsetNameException.java
10414 (serialVersionUID): New member variable.
10415 (charsetName): New member variable.
10416 (IllegalCharsetException): New implementation.
10417 (getCharsetName): New implementation.
10418 * java/nio/charset/UnsupportedCharsetException.java
10419 (serialVersionUID): New member variable.
10420 (charsetName): New member variable.
10421 (UnsupportedCharsetException): New implementation.
10422 (getCharsetName): New implementation.
10423
10424 2003-02-10 Tom Tromey <tromey@redhat.com>
10425
10426 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10427 (ex): Renamed from sqlException.
10428
10429 2003-02-10 Raif S. Naffah <raif@fl.net.au>
10430
10431 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
10432 method used to ensure seeding has occurred and that a specific
10433 seed can be set and used.
10434
10435 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
10436
10437 * java/lang/Win32Process.java (destroy): Declare as native.
10438 (hasExited): New native method.
10439 (exitValue): Define.
10440 (getErrorStream): Likewise.
10441 (getInputStream): Likewise.
10442 (getOutputStream): Likewise.
10443 (waitFor): Declare as native.
10444 (startProcess): New native method.
10445 (cleanup): Likewise.
10446 (ConcreteProcess): Define.
10447 (outputStream, inputStream, errorStream): New members.
10448 (procHandle, exitCode): Likewise.
10449
10450 * java/lang/natWin32Process.cc
10451 (java::lang::ConcreteProcess::cleanup): Define.
10452 (java::lang::ConcreteProcess::destroy): Likewise.
10453 (java::lang::ConcreteProcess::hasExited): Likewise.
10454 (java::lang::ConcreteProcess::waitFor): Likewise.
10455 (new_string): Likewise.
10456 (java::lang::ConcreteProcess::startProcess): Likewise.
10457
10458 2003-02-10 Raif S. Naffah <raif@fl.net.au>
10459
10460 * java/math/BigInteger.java:
10461 Updated notice to include years 2002 and 3.
10462 Added 2 private (int) arrays with values from the HAC (Handbook of
10463 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10464 and t[] that contains nbr. of tests --used in isProbablePrime().
10465
10466 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10467
10468 * java/math/BigInteger.java (make(int[],int), add(int,int),
10469 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10470 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10471 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10472 make(long).
10473
10474 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10475 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10476 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10477 BIs and returns void.
10478 (modInverse(BI)): Use new signatures of euclidInv().
10479
10480 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10481 static small primes instead of remainder().
10482 Use pre-computed max nbr of trials based on bitlength of BI to test.
10483 Use pre-computed small primes for the trial tests instead of random
10484 numbers.
10485
10486 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
10487 not used.
10488
10489 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
10490 invoacation of MPN.chars_per_word(). not used.
10491
10492 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
10493 local var and used where needed.
10494
10495 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
10496 Combined declaration with initialisation of locals.
10497 Removed unused var.
10498
10499 * java/math/BigInteger.java: Style changes
10500 (pow(int)): Removed 'else' keyword.
10501 (toString(int)): idem.
10502 (doubleValue()): idem.
10503 (bitLength()): idem.
10504 (equals(Object)): Use static methods name in same class w/o prepending
10505 class name.
10506 (doubleValue()): idem.
10507 (setNegative(BI)): idem.
10508 (negate()): idem.
10509 (and(BI,int)): idem.
10510 (and(BI)): idem.
10511 (gcd(BI)): idem.
10512 (byteArrayToIntArray()): Removed casting to (int). this is
10513 std. behaviour.
10514 (canonicalize()): idem.
10515 (alloc(int)): Always instantiate a new BI.
10516
10517 2003-02-10 Tom Tromey <tromey@redhat.com>
10518
10519 * java/sql/Timestamp.java (compareTo(Object)): New method.
10520 (compareTo(Timestamp)): Likewise.
10521 (serialVersionUID): Updated.
10522
10523 2003-02-07 Mark Wielaard <mark@klomp.org>
10524
10525 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
10526 when verify is true.
10527 (JarFile(File, boolean)): Likewise.
10528 (manifestRead): Set manifestRead field correctly.
10529
10530 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
10531
10532 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
10533 tests; see patch #1016 on Savannah.
10534
10535 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
10536
10537 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
10538 (toString): do not return Strings starting with . and - erroneously.
10539 Improves Mauve results to 12 of 600 instead of 16 of 338 on
10540 DiagBigDecimal.
10541
10542 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
10543
10544 * java/beans/PropertyDescriptor.java
10545 (PropertyDescriptor(String, Class)): Sanity check getter and setter
10546 methods.
10547 (PropertyDescriptor(String, Class, String, String)): Likewise.
10548 (PropertyDescriptor(String, Method, Method): Factor out getter and
10549 setter method sanity checks into new method.
10550 (findMethods): Don't do parameter sanity checking of get method here.
10551 (checkMethods): New method.
10552
10553 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
10554
10555 * java/beans/PropertyDescriptor.java: Reformat.
10556
10557 2003-02-04 Tom Tromey <tromey@redhat.com>
10558
10559 * java/io/PipedOutputStream.java (flush): Declare as throwing
10560 IOException.
10561 (close): Likewise.
10562 * java/io/PipedWriter.java (close): Declare as throwing
10563 IOException.
10564 * java/io/StringWriter.java (close): Declare as throwing
10565 IOException.
10566
10567 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
10568
10569 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
10570 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
10571 could also have been exported as "JNI_OnLoad@8" (MinGW) or
10572 "_JNI_OnLoad@8" (MSVC).
10573
10574 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
10575
10576 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
10577 convention on Win32 to invoke native JNI methods.
10578
10579 2003-02-03 Andrew Haley <aph@redhat.com>
10580
10581 * configure.host (x86_64): Enable interpreter.
10582
10583 2003-02-03 Andrew Haley <aph@redhat.com>
10584
10585 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
10586 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
10587 * configure.in (BACKTRACESPEC): New.
10588 * configure: Regenerate.
10589
10590 2003-02-02 Tom Tromey <tromey@redhat.com>
10591
10592 * configure: Rebuilt.
10593 * configure.in (TOOLKIT) [xlib]: Set correctly.
10594
10595 * Makefile.in: Rebuilt.
10596 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
10597 libstdc++.
10598
10599 2003-01-31 Mark WIelaard <mark@klomp.org>
10600
10601 * Makefile.in: Rebuilt.
10602 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
10603
10604 2003-01-31 Tom Tromey <tromey@redhat.com>
10605
10606 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
10607 cast to element type.
10608 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
10609 (_Jv_JNI_GetObjectArrayElement): Likewise.
10610
10611 * Makefile.in: Rebuilt.
10612 * Makefile.am (cond_x_ltlibrary): Renamed library to
10613 lib-gnu-awt-xlib.la.
10614 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
10615 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
10616 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
10617 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
10618 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
10619 (lib_gnu_awt_xlib_la_LINK): Likewise.
10620 (install-exec-hook): Removed.
10621 (lib-gnu-awt-xlib.la): Renamed.
10622
10623 2003-01-31 Tom Tromey <tromey@redhat.com>
10624
10625 * aclocal.m4, configure, include/config.h.in: Rebuilt.
10626 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
10627 aclocal.m4 and lost in some merge.
10628
10629 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
10630 Don't try to find graphics configuration.
10631 * java/awt/Toolkit.java (default_toolkit_name): Use new
10632 Configuration entry.
10633 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
10634 New global.
10635 * configure: Rebuilt.
10636 * configure.in (TOOLKIT): New subst.
10637 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
10638 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
10639 directory. Make output directories for .c files.
10640 * Makefile.in: Rebuilt.
10641 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
10642 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
10643 (all_java_source_files): Added new sources.
10644 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
10645 (gtk_c_files): New macro.
10646 (gtk_c_source_files): New macro.
10647 (cond_gtk_ltlibrary): New macro.
10648 ($(gtk_c_files)): New target.
10649 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
10650 (gtk_awt_peer_sources): New macro.
10651 (gtk_c_headers): New macro.
10652 ($(gtk_c_headers)): New target.
10653 (ACLOCAL_AMFLAGS): New macro.
10654 * gtk.m4, glib.m4, libart.m4: New files.
10655 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
10656 gnu/java/awt/peer/gtk/GdkGraphics.java,
10657 gnu/java/awt/peer/gtk/GtkArg.java,
10658 gnu/java/awt/peer/gtk/GtkArgList.java,
10659 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10660 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
10661 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
10662 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
10663 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
10664 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10665 gnu/java/awt/peer/gtk/GtkClipboard.java,
10666 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10667 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10668 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
10669 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
10670 gnu/java/awt/peer/gtk/GtkFontPeer.java,
10671 gnu/java/awt/peer/gtk/GtkFramePeer.java,
10672 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
10673 gnu/java/awt/peer/gtk/GtkImage.java,
10674 gnu/java/awt/peer/gtk/GtkImagePainter.java,
10675 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
10676 gnu/java/awt/peer/gtk/GtkListPeer.java,
10677 gnu/java/awt/peer/gtk/GtkMainThread.java,
10678 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
10679 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
10680 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
10681 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
10682 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
10683 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
10684 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10685 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
10686 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
10687 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10688 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10689 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10690 gnu/java/awt/peer/gtk/GtkToolkit.java,
10691 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10692 gnu/java/awt/peer/gtk/TestAWT.java,
10693 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
10694 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
10695 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10696 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10697 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
10698 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
10699 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
10700 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
10701 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
10702 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
10703 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
10704 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
10705 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
10706 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
10707 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
10708 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
10709 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
10710 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
10711 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
10712 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
10713 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
10714 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
10715 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
10716 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10717 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
10718 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
10719 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
10720 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
10721 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
10722 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
10723 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
10724 jni/classpath/native_state.c, jni/classpath/native_state.h,
10725 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
10726
10727 2003-01-31 Julian Dolby <dolby@us.ibm.com>
10728
10729 * java/util/Properties.java (load): Ignore backslash before EOF.
10730
10731 2003-01-30 Jeff Sturm <jsturm@one-point.com>
10732
10733 * java/lang/natClass.cc (initializeClass): Check tables when
10734 (state == JV_STATE_IN_PROGRESS).
10735 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
10736 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
10737 interpreted classes.
10738 (linkClass0): Use _Jv_WaitForState.
10739
10740 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
10741
10742 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
10743 object when finished.
10744
10745 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
10746
10747 * libjava/configure.host: Disable can_unwind_signal on darwin.
10748
10749 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
10750
10751 Fixes PR java/9254:
10752 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
10753 additionally containing id of the owner thread as well as
10754 the number of nested times the thread has acquired the mutex.
10755 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
10756 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
10757 (_Jv_MutexUnlock): Check if really the owner thread, reset
10758 owner thread id to 0 before leaving, if leaving for the last
10759 time.
10760 (_Jv_MutexLock): Set owner thread id in the mutex and increment
10761 refcount.
10762 (_Jv_ThreadYield): Yield using a call to Sleep(0).
10763 * win32-threads.cc (_Jv_CondWait): Check if really owner of
10764 the passed mutex.
10765 Pass handle of the broadcast event, instead of a pointer to it
10766 in Win32 ResetEvent( ) call.
10767 Remove incorrect return values.
10768 (_Jv_CondDestroy): Close both event handles and delete
10769 critical section.
10770 (_Jv_CondNotify): Check if really the owner thread.
10771 (_Jv_CondNotifyAll): Check if really the owner thread.
10772 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
10773 (really_start): Use SetEvent( ) to signal daemon_cond.
10774 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
10775 WaitForSingleObject( ) instead to wait for daemon_cond to be
10776 signalled.
10777
10778 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
10779
10780 * configure.in: Specifically define HAVE_BACKTRACE if building
10781 for MinGW.
10782 * include/win32.h: Remove HAVE_BACKTRACE definition.
10783 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
10784 * configure: Rebuilt.
10785
10786 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
10787
10788 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
10789 Set and AC_SUBST. Remove USE_LIBDIR conditional.
10790 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
10791 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
10792 * Makefile.in, configure: Rebuilt.
10793
10794 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
10795
10796 Fixes PR java/9253:
10797 * java/io/natFileWin32.cc (performList): Append only "*.*"
10798 if the canonical file path already has a "\" at the end.
10799
10800 2003-01-24 Tom Tromey <tromey@redhat.com>
10801
10802 * defineclass.cc (handleMethodsEnd): Precompute code for static
10803 method.
10804 (handleCodeAttribute): Likewise.
10805 * resolve.cc (ncode): Use run_class for unsynchronized static
10806 methods.
10807 * include/java-interp.h (class _Jv_InterpMethod): Declare
10808 run_class.
10809 * interpret.cc (run_synch_class): Initialize class.
10810 (run) [insn_invokestatic]: Don't initialize class.
10811 [insn_anewarray]: Likewise.
10812 [insn_multianewarray]: Likewise.
10813 (run_class): New function.
10814
10815 2003-01-24 Tom Tromey <tromey@redhat.com>
10816
10817 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
10818 comment.
10819
10820 2003-01-22 Andrew Haley <aph@redhat.com>
10821
10822 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
10823 * configure.host (CHECKREFSPEC): Define for x86_64.
10824
10825 2003-01-21 Tom Tromey <tromey@redhat.com>
10826
10827 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
10828 search at 2, not 3.
10829
10830 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
10831
10832 * java/io/natFileWin32.cc (isAbsolute): Check path length before
10833 looking at any characters.
10834 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
10835 be used.
10836 (isAbsolute): Check path's length as well.
10837
10838 2003-01-17 Mark Wielaard <mark@klomp.org>
10839
10840 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
10841 (nat_source_files): Add natVMObjectStreamClass.cc.
10842 * Makefile.in: Regenerated.
10843 * gcj/javaprims.h (namespace java): Regenerated.
10844 * java/io/ObjectStreamClass.java (getClassUID): Call
10845 VMObjectStreamClass.hasClassInitializer().
10846 (hasClassInitializer): Removed.
10847 * java/io/VMObjectStreamClass.java: New class.
10848 * java/io/natVMObjectStreamClass.cc: New file.
10849 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
10850
10851 2003-01-16 Mark Wielaard <mark@klomp.org>
10852
10853 * java/net/SocketImpl.java (toString): Don't explicitly call
10854 toString() on possible null address.
10855
10856 2003-01-16 Michael Koch <konqueror@gmx.de>
10857
10858 * java/net/MulticastSocket.java
10859 (setInterface): Reindented.
10860
10861 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
10862
10863 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
10864 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
10865 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
10866 translateY arguments. Implement.
10867 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
10868 down translation arguments.
10869 (drawPolyline, drawPolygon): Fix incorrect tests.
10870 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
10871 translateX and translateY arguments.
10872
10873 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
10874
10875 * Makefile.in: Rebuilt.
10876 * Makefile.am (xlib_includes): New macro.
10877 (INCLUDES): Use it.
10878
10879 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
10880
10881 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
10882 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
10883 16-bit display mode.
10884
10885 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
10886
10887 * java/awt/CardLayout.java (show): Rewrote.
10888 (gotoComponent): Removed `target' argument. Simplified code.
10889 Don't pre-compute `choice' unless `what' is FIRST or LAST.
10890 Changed all callers.
10891 (NONE): Removed.
10892
10893 2003-01-14 Michael Koch <konqueror@gmx.de>
10894
10895 * java/net/InetSocketAddress.java
10896 (serialVersionUID): New member variable.
10897 * java/net/NetPermission.java
10898 (NetPermission): Dont implement java.io.Serialization directly.
10899 * java/net/SocketAddress.java:
10900 (serialVersionUID): Documentation added.
10901
10902 2003-01-14 Michael Koch <konqueror@gmx.de>
10903
10904 * java/awt/Label.java
10905 (Label): Implements javax.accessibility.Accessible;
10906 * java/awt/List.java
10907 (List): Implements javax.accessibility.Accessible;
10908 * java/awt/ScrollPane.java
10909 (ScrollPane): Implements javax.accessibility.Accessible;
10910 * java/awt/Scrollbar.java
10911 (Scrollbar): Implements javax.accessibility.Accessible;
10912 * java/awt/TextComponent.java
10913 (setCaretPosition): Throw exception, documentation added.
10914 * java/awt/Toolkit.java:
10915 Added some newlines in method documentations.
10916 (createButton): Exception documentation added.
10917 (createTextField): Exception documentation added.
10918 (createLabel): Exception documentation added.
10919 (createList): Exception documentation added.
10920 (createCheckbox): Exception documentation added.
10921 (createScrollbar): Exception documentation added.
10922 (createScrollPane): Exception documentation added.
10923 (createTextArea): Exception documentation added.
10924 (createChoice): Exception documentation added.
10925 (createFrame): Exception documentation added.
10926 (createWindow): Exception documentation added.
10927 (createDialog): Exception documentation added.
10928 (createMenuBar): Exception documentation added.
10929 (createMenu): Exception documentation added.
10930 (createMenuItem): Exception documentation added.
10931 (createFileDialog): Exception documentation added.
10932 (createCheckboxMenuItem): Exception documentation added.
10933 (loadSystemColors): Exception documentation added.
10934 (setDynamicLayout): Exception documentation added.
10935 (isDynamicLayoutSet): Exception documentation added.
10936 (isDynamicLayoutActive): Exception documentation added.
10937 (getScreenSize): Exception documentation added.
10938 (getScreenResolution): Exception documentation added.
10939 (getScreenInsets): Exception documentation added.
10940 (getColorModel): Exception documentation added.
10941 (getSystemClipboard): Exception documentation added.
10942 (getSystemSelection): Exception documentation added.
10943 (getMenuShortcutKeyMask): Exception documentation added.
10944 (getSystemEventQueue): Exception documentation added.
10945 * java/awt/Window.java:
10946 Reindented some code.
10947 (Window): Centralized implementation, documentation added.
10948 (finalize): Documentation added.
10949 (hide): Fixed typo in comment.
10950 (getWindowListeners): Documentation added.
10951 * java/awt/color/ColorSpace.java
10952 (toRGB): Documentation added.
10953 * java/awt/color/ICC_ColorSpace.java
10954 (ICC_ColorSpace): Documentation added.
10955 (toRGB): Throw exception, documentation added.
10956 (fromRGB): Throw exception, documentation added.
10957 (toCIEXYZ): Documentation added.
10958 (fromCIEXYZ): Documentation added.
10959 (getMinValue): Documentation added.
10960 (getMaxValue): Documentation added.
10961 * java/awt/geom/Dimension2D.java
10962 (clone): Documentation added.
10963 * java/awt/geom/GeneralPath.java
10964 (clone): Documentation added.
10965 * java/awt/geom/Line2D.java
10966 (clone): Documentation added.
10967 * java/awt/geom/QuadCurve2D.java
10968 (clone): Documentation added.
10969 * java/awt/image/ColorModel.java
10970 (ColorModel): Throw exception, documentation added.
10971 * java/awt/image/ImageFilter.java
10972 (clone): Doesnt throw CloneNotSupportedException.
10973
10974 2003-01-14 Andrew Haley <aph@redhat.com>
10975
10976 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
10977 in a try block.
10978
10979 2003-01-10 Andrew Haley <aph@redhat.com>
10980
10981 * include/dwarf2-signal.h: Remove x86_64.
10982 * configure.host (x86_64 DIVIDESPEC): Remove.
10983 * include/x86_64-signal.h: New file.
10984 * configure.in: Regenerate.
10985
10986 2003-01-10 Michael Koch <konqueror@gmx.de>
10987
10988 * java/net/DatagramSocket.java
10989 (ch): Description added.
10990 (remotePort): Initialize with -1.
10991 (connect): Doesnt throws SocketException.
10992 * java/net/MulticastSocket.java
10993 (setInterface): Merge with Classpath.
10994 * java/net/ServerSocket.java
10995 (closed): New member variable.
10996 (bind): Check if socket is closed.
10997 (close): Close an associated channel too, set new value to closed.
10998 (isBound): Reindented.
10999 (isClosed): Implemented.
11000 * java/net/Socket.java
11001 (closed): New member variable.
11002 (bind): Check if socket is closed.
11003 (connect): Check if socket is closed.
11004 (close): Close an associated channel too, set new value to closed.
11005 (isClosed): Implemented.
11006
11007 2003-01-10 Michael Koch <konqueror@gmx.de>
11008
11009 * java/awt/DisplayMode.java
11010 (equals): Fixed argument type and implementation.
11011
11012 2003-01-07 Tom Tromey <tromey@redhat.com>
11013
11014 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11015 JV_HASH_SYNCHRONIZATION.
11016 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11017 JV_HASH_SYNCHRONIZATION.
11018
11019 2003-01-07 Michael Koch <konqueror@gmx.de>
11020
11021 * java/net/DatagramSocket.java:
11022 Added classpath license info.
11023 (DatagramSocket): Merged description with classpath.
11024 (close): Merged description with classpath.
11025 (getChannel): Merged description with classpath.
11026 (getInetAddress): Merged description with classpath.
11027 (getPort): Merged description with classpath.
11028 (getLocalAddress): Merged description with classpath.
11029 (getLocalPort): Merged description with classpath.
11030 (getSoTimeout): Merged description with classpath.
11031 (setSoTimeout): Merged description with classpath.
11032 (getSendBufferSize): Merged description with classpath.
11033 (setSendBufferSize): Merged description with classpath.
11034 (getReceiveBufferSize): Merged description with classpath.
11035 (setReceiveBufferSize): Merged description with classpath.
11036
11037 2003-01-04 Tom Tromey <tromey@redhat.com>
11038
11039 * java/awt/List.java: Merged with Classpath.
11040
11041 2003-01-03 Mark Wielaard <mark@klomp.org>
11042
11043 * java/io/FileDescriptor.java (position): New private field.
11044 * java/io/natFileDescriptorPosix.cc (write): Up position.
11045 (setLength): Use and set position.
11046 (seek): Set position.
11047 (getFilePointer): Return position.
11048 (read): Up position.
11049
11050 2003-01-03 Mark Wielaard <mark@klomp.org>
11051
11052 Merge with Classpath:
11053 * java/io/ObjectStreamClass.java (lookup): Split method and call
11054 lookupForClassObject().
11055 (lookupForClassObject): New method.
11056 (isProxyClass): New field.
11057 (setClass): Set isProxyClass, add object to classLookupTable, set
11058 superClass and calculateOffsets.
11059 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11060 and not a proxy class.
11061 (setFields): Set accessible true for serialPersistentFields.
11062 (getClassUID): Same for suid. And check if suid is of type long.
11063 (hasClassInitializer): Don't throw NoSuchMethodError.
11064
11065 2003-01-03 Mark Wielaard <mark@klomp.org>
11066
11067 * java/io/FileInputStream.java (finalize): Don't explicitly
11068 finalize FileDescriptor.
11069
11070 2003-01-03 Jeff Sturm <jsturm@one-point.com>
11071
11072 * configure.host (sparc*-*): Enable bytecode interpreter.
11073
11074 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
11075
11076 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11077 Don't throw RemoteException.
11078 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11079 throw RemoteException.
11080
11081 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
11082
11083 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11084 proxyHost): New static fields.
11085 (<clinit>): Initialize new fields.
11086 (connect): Use proxy if necessary.
11087 (usingProxy): Implement.
11088
11089 2003-01-03 Eric Blake <ebb9@email.byu.edu>
11090
11091 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11092 (TreeIterator.remove): Prefer IllegalStateException over
11093 ConcurrentModificationException, to match Sun.
11094
11095 2002-12-22 Anthony Green <green@redhat.com>
11096
11097 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11098
11099 2003-01-02 Mark Wielaard <mark@klomp.org>
11100
11101 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11102 public.
11103 (HTTP_USE_PROXY): Add field.
11104 (getResponseVals): Only set responseCode when not yet explicitly
11105 set by subclass.
11106
11107 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
11108 Mark Wielaard <mark@klomp.org>
11109
11110 * java/util/zip/ZipFile.java (entries): Now HashMap.
11111 (readLeShort(DataInput, byte[])): Read from given byte array.
11112 (readLeInt(DataInput, byte[]): Likewise.
11113 (readLeShort(byte[] b, int off)): New method.
11114 (readLeInt(byte[] b, int off)): Likewise.
11115 (readEntries): Use byte arrays to read info in bigger chunks.
11116 (getEntries): Return HashMap.
11117 (getEntry): Use HashMap.
11118 (locBuf): New private field.
11119 (checkLocalHeader): Use locBuf to read info in one chunk.
11120 (getInputStream): Use entries HashMap, wrap PartialInputStream
11121 in BufferedInputStream.
11122 (ZipEntryEnumeration): Use HashMap and Interator.
11123
11124 2003-01-02 Mark Wielaard <mark@klomp.org>
11125 Jeroen Frijters <jeroen@sumatra.nl>
11126
11127 * java/net/URLClassLoader.java (Resource.getCodeSource):
11128 Fix check certs == null.
11129 (getCanonicalFileURL): Removed method.
11130 (JarURLLoader): Don't call removed method.
11131 (FileURLLoader): Likewise.
11132 (FileURLLoader.getResource): Don't canonicalize file name.
11133
11134 2003-01-01 Tom Tromey <tromey@redhat.com>
11135
11136 * Makefile.in: Rebuilt.
11137 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11138 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11139 java/awt/BufferCapabilities.java, java/awt/Button.java,
11140 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11141 java/awt/Container.java, java/awt/Cursor.java,
11142 java/awt/EventQueue.java, java/awt/FileDialog.java,
11143 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11144 java/awt/MenuBar.java, java/awt/MenuComponent.java,
11145 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11146 java/awt/Scrollbar.java, java/awt/TextArea.java,
11147 java/awt/TextField.java, java/awt/color/CMMException.java,
11148 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11149 java/awt/color/ProfileDataException.java,
11150 java/awt/datatransfer/Clipboard.java,
11151 java/awt/datatransfer/DataFlavor.java,
11152 java/awt/datatransfer/FlavorMap.java,
11153 java/awt/datatransfer/SystemFlavorMap.java,
11154 java/awt/dnd/DragGestureEvent.java,
11155 java/awt/dnd/DragGestureRecognizer.java,
11156 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11157 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11158 java/awt/im/InputMethodHighlight.java,
11159 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11160 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11161
11162 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11163 `op' to BufferedImageOp.
11164
11165 2002-12-31 Tom Tromey <tromey@redhat.com>
11166
11167 Fix for PR libgcj/7416:
11168 * javax/naming/InitialContext.java (init): Use
11169 gnu.classpath.home.url.
11170 * java/security/Security.java: Use new properties.
11171 (loadProviders): Accept base url; use it.
11172 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11173 gnu.classpath.home.url.
11174 (gnu.classpath.home.url): Define.
11175 (gnu.classpath.vm.shortname): Likewise.
11176
11177 2002-12-31 Tom Tromey <tromey@redhat.com>
11178 Ranjit Mathew <rmathew@hotmail.com>
11179
11180 Fix for PR libgcj/8997:
11181 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11182 Include platform.h.
11183 * include/posix.h (_Jv_platform_usleep): New function.
11184 * include/win32.h (_Jv_platform_usleep): New function.
11185
11186 2002-12-29 Tom Tromey <tromey@redhat.com>
11187
11188 * gcj/javaprims.h: Updated.
11189 * scripts/classes.pl (scan): Removed stray semicolon.
11190
11191 2002-12-30 Mark Wielaard <mark@klomp.org>
11192
11193 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11194 if zero or smaller.
11195
11196 2002-12-30 Mark Wielaard <mark@klomp.org>
11197
11198 * java/util/Properties (formatForOutput): Don't fall through to
11199 default case after escaping character.
11200
11201 2002-12-30 Mark Wielaard <mark@klomp.org>
11202
11203 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11204 against count.
11205
11206 2002-12-27 Mark Mitchell <mark@codesourcery.com>
11207
11208 * boehm.cc: Remove stray semicolon.
11209 * interpret.cc: Likewise.
11210 * prims.cc: Likewise.
11211 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11212 earlier to ensure default arguments are processed.
11213 * gcj/array.h (JArray): Add forward declaration.
11214 (elements): Likewise.
11215 * gcj/javaprim.h: Remove stray semicolons.
11216 * include/bohm-gc.h: Likewise.
11217 * include/jni.h: Likewise.
11218 * include/jvm.h: Likewise.
11219 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11220
11221 2002-12-23 Jeff Sturm <jsturm@one-point.com>
11222
11223 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11224 of catch_type.
11225 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11226 idt tables after initializing superclass.
11227 * java/lang/natClassLoader.cc (uaddr): New typedef.
11228 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11229 if they are constant pool indicies. Don't link vtable, otable yet.
11230
11231 2002-12-21 Anthony Green <green@redhat.com>
11232
11233 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11234 libraries.
11235 * Makefile.in: Rebuilt.
11236
11237 2002-12-19 Anthony Green <green@redhat.com>
11238
11239 * Makefile.am (ordinary_java_source_files): Add
11240 org/xml/sax/helpers/NewInstance.java.
11241 * Makefile.in: Rebuilt.
11242 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11243 org/xml/sax/helpers/package.html: New files.
11244 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11245 http://www.saxproject.org.
11246
11247 2002-12-19 Andrew Haley <aph@redhat.com>
11248
11249 * java/util/natResourceBundle.cc: Include
11250 ArrayIndexOutOfBoundsException.h.
11251 (getCallingClassLoader): Don't put upper bound on stack search.
11252 Catch ArrayIndexOutOfBoundsException.
11253
11254 2002-12-19 Tom Tromey <tromey@redhat.com>
11255
11256 * libtool-version: Increased `current'.
11257
11258 2002-12-19 Tom Tromey <tromey@redhat.com>
11259
11260 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11261 comment.
11262 * java/lang/ClassLoader.java (defineClass): Use chained
11263 exception when rethrowing.
11264 * defineclass.cc (handleClassBegin): Mark class as interpreted.
11265 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11266 constants.
11267 * resolve.cc (_Jv_PrepareMissingMethods): New function.
11268 (_Jv_PrepareClass): Use it.
11269 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11270 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11271 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11272 (Class): _Jv_PrepareMissingMethods now friend.
11273 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11274 Record `NULL' for system class loader.
11275 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
11276 system class loader.
11277 (_Jv_FindClassInCache): Likewise.
11278 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
11279 (_Jv_FindClass): Special case system class loader.
11280 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11281 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11282 vtable slots.
11283 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11284 in a final class.
11285 (_getDeclaredMethod): Don't return synthetic methods.
11286 (getDeclaredMethods): Likewise.
11287 (_getMethod): Likewise.
11288 (_getMethods): Likewise.
11289
11290 2002-12-18 Raif Naffah <raif@fl.net.au>
11291
11292 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11293 canonical form after divide().
11294 (modInverse): Likewise.
11295
11296 2002-12-13 Casey Marshall <rsdio@metastatic.org>
11297 Mark Wielaard <mark@klomp.org>
11298
11299 * java/security/SecurityRandom (digest): Removed field.
11300 (SecureRandom): Check all providers for case-insensitive SecureRandom
11301 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11302 if necessary.
11303 (getInstance(String,Provider,boolean): New method.
11304 (getInstance(String)): Use new method.
11305 (getInstance(String,String)): Likewise.
11306 (getInstance(String,Provider)): Likewise.
11307
11308 2002-12-13 Casey Marshall <rsdio@metastatic.org>
11309
11310 * java/security/Security.java (loadProviders): Increment i only once.
11311
11312 2002-12-12 Mark Wielaard <mark@klomp.org>
11313
11314 * java/lang/ClassLoader.java (resolveClass0): Transform
11315 ClassNotFoundException to NoClassDefFoundError. Transform all other
11316 throwables to LinkageError.
11317
11318 2002-12-11 Tom Tromey <tromey@redhat.com>
11319
11320 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11321
11322 * java/lang/ClassLoader.java (loadedClasses): New field.
11323 (defineClass): Fixed indentation. Put new class in
11324 loadedClasses.
11325 (findLoadedClass): Implement here.
11326 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11327
11328 2002-12-10 Tom Tromey <tromey@redhat.com>
11329
11330 * Makefile.in: Rebuilt.
11331 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11332 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11333 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11334 * java/lang/natClassLoader.cc
11335 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11336
11337 2002-12-10 Mark Wielaard <mark@klomp.org>
11338 Tom Tromey <tromey@redhat.com>
11339
11340 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11341 (JarURLLoader): Use it.
11342 (FileURLLoader): Likewise.
11343 (JarURLResource.getURL): Use chained exception.
11344 (FileResource.getURL): Likewise.
11345 (FileURLLoader.getResource): Use canonical file name.
11346 (addURL): Indentation fix.
11347
11348 2002-12-10 Tom Tromey <tromey@redhat.com>
11349
11350 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11351 From Laurent Bardet <l.bardet@magic.fr>.
11352
11353 2002-12-09 Tom Tromey <tromey@redhat.com>
11354
11355 * include/win32.h (_Jv_platform_solib_prefix): New define.
11356 (_Jv_platform_solib_suffix): Likewise.
11357 * include/posix.h (_Jv_platform_solib_prefix): New define.
11358 (_Jv_platform_solib_suffix): Likewise.
11359 * java/lang/natRuntime.cc: Include StackTrace.h.
11360 (_load): Use findLibrary and new platform defines.
11361 (nativeGetLibname): Use new platform defines.
11362
11363 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
11364 `t' won't be null.
11365
11366 2002-12-08 Mark Wielaard <mark@klomp.org>
11367
11368 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
11369 cache remote jar files.
11370 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
11371 add File.separator to URL when it is a directory.
11372 * java/lang/ClassLoader.java: Add Classpath javadoc.
11373 (parent): final.
11374 (getParent): Add (disabled) security check.
11375 (findLibrary): New default method.
11376 * java/net/JarURLConnection.java (getManifest): Implement.
11377 (getInputStream): Only create InputStream when entry exists.
11378 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11379 when they exist.
11380 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11381
11382 2002-12-08 Mark Wielaard <mark@klomp.org>
11383
11384 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11385 (lastDefaultLocale): New field.
11386 (getBundle): When Locale.getDefault != lastDefaultLocale reset
11387 resourceBundleCache.
11388
11389 2002-12-06 Mark Wielaard <mark@klomp.org>
11390
11391 * java/net/InetAddress.java (toString): Use hostname when not null,
11392 don't do an explicit reverse getHostName() lookup.
11393 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11394 NullPointerException.
11395
11396 2002-12-06 Tom Tromey <tromey@redhat.com>
11397
11398 * include/java-interp.h (class _Jv_InterpMethod): Added
11399 JV_MARKOBJ_DECL.
11400 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
11401 mark `prepared' field of interpreted method.
11402 * interpret.cc (compile): Use _Jv_AllocBytes.
11403
11404 2002-12-05 Andrew Haley <aph@redhat.com>
11405
11406 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11407 #ifdef (HAVE_BACKTRACE) around the whole function body.
11408
11409 2002-12-05 Tom Tromey <tromey@redhat.com>
11410
11411 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11412 * resolve.cc: Don't include AbstractMethodError.h.
11413 (_Jv_abstractMethodError): Removed.
11414 * defineclass.cc (handleMethodsBegin): Initialize method index to
11415 -1.
11416 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11417 method index for "new" final method.
11418 (_Jv_SetVTableEntries): Compare index against -1 instead of using
11419 isVirtualMethod. Added `flags' argument.
11420 (_Jv_MakeVTable): Throw exception for abstract method in concrete
11421 class.
11422
11423 2002-12-04 Tom Tromey <tromey@redhat.com>
11424
11425 * java/net/SocketPermission.java (hashCode): Rewrote.
11426
11427 2002-12-04 Tom Tromey <tromey@redhat.com>
11428
11429 * Makefile.in: Rebuilt.
11430 * Makefile.am (nat_source_files): Added natVMSecurityManager,
11431 natResourceBundle.
11432 * java/util/ResourceBundle.java (Security): Removed.
11433 (getCallingClassLoader): Now native.
11434 * java/util/natResourceBundle.cc: New file.
11435 * java/lang/natVMSecurityManager.cc: New file.
11436 * java/lang/VMSecurityManager.java (getClassContext): Now native.
11437
11438 2002-12-03 Mark Wielaard <mark@klomp.org>
11439
11440 * java/util/jar/JarFile.java (manifest): Not final.
11441 (manifestRead): New field.
11442 (JarFile): Don't read Manifest in constructor.
11443 (getManifest): New method.
11444 (JarEnumeration.nextElement): Use new method.
11445 (getEntry): Likewise.
11446 * java/util/zip/ZipFile.java (name): Final.
11447 (raf): Likewsie.
11448 (entries): Change type to Hashtable.
11449 (closed): New field.
11450 (ZipFile): Don't read enties in constructor.
11451 (readEntries): Use Hashtable.
11452 (close): Set new close flag and set entries to null inside
11453 synchronized block.
11454 (entries): Contruct enumeration using new getEntries() method and
11455 entries Hashtable.
11456 (getEntryIndex): Removed.
11457 (getEntries): New method.
11458 (getEntry): Use new getEntries() method and entries Hastable.
11459 (getInputStream): Likewise.
11460 (size): Return getEntries().size().
11461 (ZipEntryEnumeration): Wrap entries Hashtable elements.
11462 * java/util/zip/ZipEntry.java (cal): Don't initialize.
11463 (time): Removed
11464 (dostime): New field.
11465 (zipFileIndex): Removed.
11466 (ZipEntry(ZipEntry)): Copy dostime.
11467 (setDOSTime): Now final and doesn't convert dos time.
11468 (getDOSTime): Likewise.
11469 (setTime): Convert dos time.
11470 (getTime): Likewise.
11471 (getCalendar): New method.
11472 (setExtra): Use setTime().
11473 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11474
11475 2002-12-03 Tom Tromey <tromey@redhat.com>
11476
11477 * java/lang/Character.java (forDigit): Formatting fix.
11478
11479 2002-12-03 Raif Naffah <raif@fl.net.au>
11480
11481 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11482 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11483 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11484
11485 2002-12-03 Andrew Haley <aph@redhat.com>
11486
11487 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
11488 _Jv_PushClass.
11489 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
11490 (_Jv_PopClass): New.
11491 (_Jv_PushClass): New.
11492 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
11493 discover the ClassLoader of our caller.
11494 (_Jv_CheckArrayStore): Don't check that a class is assignment
11495 compatible with Object.
11496 * java/lang/natVMTHrowable.cc: Delete.
11497 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
11498 java.lang.VMThrowable.
11499 (StackTrace(), StackTrace(int)): New constructors.
11500 (classAt, methodAt, update, methodAtAddress): New methods.
11501 (map): New field.
11502 * java/lang/VMThrowable.java: Use StackTrace instead of
11503 natVMTHrowable.
11504 * java/lang/Class.h (getClassLoaderInternal): New.
11505 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
11506 Be friendly with gnu::gcj::runtime::StackTrace.
11507 (Object.chain): New field.
11508 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
11509 gnu::gcj::runtime::StackTrace.
11510 * gnu/gcj/runtime/natStackTrace.cc: New file.
11511 * gnu/gcj/runtime/MethodRef.java: New file.
11512 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
11513 instead of getClassLoader().
11514 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
11515 java::lang::VMThrowable.
11516 * Makefile.am (core_java_source_files): Add MethodRef.java,
11517 StackTrace.java.
11518 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
11519 * Makefile.in: Rebuild.
11520
11521 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
11522
11523 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
11524 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
11525 yes also for sh-linux* and sh[34]*-linux*.
11526 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
11527 set SIGNAL_HANDLER to use DWARF2 exception for them.
11528 * configure: Regenerate.
11529
11530 2002-12-02 Tom Tromey <tromey@redhat.com>
11531
11532 * jni.cc: Added `name' argument.
11533 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
11534 `const char *' argument.
11535 (class _Jv_JNIEnv) [DefineClass]: Likewise.
11536
11537 2002-12-01 Tom Tromey <tromey@redhat.com>
11538
11539 Bug compatibility, for PR libgcj/8738:
11540 * java/io/CharArrayWriter.java (close): Do nothing.
11541 (flush): Likewise.
11542 (reset): Don't touch `closed'.
11543 (write(int)): Don't throw IOException.
11544 (write(char[],int,int)): Likewise.
11545 (write(String,int,int)): Likewise.
11546 (closed): Removed.
11547
11548 2002-12-01 Mark Wielaard <mark@klomp.org>
11549
11550 * java/lang/SecurityManager.java: Remerge comments, indenting and
11551 checkXXX methods with Classpath.
11552
11553 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
11554
11555 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
11556 getNormalizedComponents): Fix calculation which was using one too
11557 many bits in the unnormalized format.
11558
11559 2002-11-29 Gary Benson <gbenson@redhat.com>
11560
11561 For PR libgcj/8759:
11562 * java/beans/Introspector.java (flushCaches): New method.
11563 (flushFromCaches): Likewise.
11564
11565 2002-11-29 Michael Koch <konqueror@gmx.de>
11566
11567 * java/nio/channels/DatagramChannel.java
11568 (open): Added exception documentation.
11569 (write): Added exception documentation.
11570 (connect): Added exception documentation.
11571 (disconnect): Added exception documentation.
11572 (isConnected): Added exception documentation.
11573 (read): Added exception documentation.
11574 (receive): Added exception documentation.
11575 (send): Added exception documentation.
11576 (validOps): Added exception documentation.
11577 * java/nio/channels/SocketChannel.java
11578 (open): Added exception documentation.
11579 (read): Added exception documentation.
11580 (write): Added exception documentation.
11581 (connect): Added exception documentation.
11582 (finishConnect): Added exception documentation.
11583
11584 2002-11-29 Michael Koch <konqueror@gmx.de>
11585
11586 * gnu/java/nio/DatagramChannelImpl:
11587 (fd): New member variable to store file descriptor of socket.
11588 * gnu/java/nio/SelectionKeyImpl.java:
11589 (ops): Removed.
11590 (readyOps): New member variable.
11591 (interestOps): New member variable.
11592 (readyOps): Implemented.
11593 (readyOps): New method to set member variable readyOps.
11594 (interestOps): Replaced ops by interestOps.
11595 * gnu/java/nio/SelectorImpl.java:
11596 (SelectorImpl): Initialize key sets.
11597 (select): Call select with -1 instead of Long.MAX_VALUE).
11598 (java_do_select): Make it a native method.
11599 (getFDsAsArray): New helper method.
11600 (select): Remove canceled keys, give only interested file discriptors
11601 to java_do_select, set ready ops.
11602 (add): No need to initialize keys set here.
11603 (add_selected): No need to initialize selected set here.
11604 (deregisterCanceledKeys): New helper method.
11605 (register): Set interest ops, set attachments, added handling of datagram
11606 channels.
11607 * gnu/java/nio/ServerSocketChannelImpl:
11608 (SocketAccept): Renamed from NioSocketAccept.
11609 (implConfigureBlocking): Implemented.
11610 (accept): Use SocketAccept instead of NioSocketAccept.
11611 * gnu/java/nio/SocketChannelImpl:
11612 Reactivate native methods.
11613
11614 2002-11-29 Michael Koch <konqueror@gmx.de>
11615
11616 * gnu/java/nio/natByteBufferImpl.cc,
11617 gnu/java/nio/natCharBufferImpl.cc,
11618 gnu/java/nio/natDoubleBufferImpl.cc,
11619 gnu/java/nio/natFloatBufferImpl.cc,
11620 gnu/java/nio/natIntBufferImpl.cc,
11621 gnu/java/nio/natLongBufferImpl.cc,
11622 gnu/java/nio/natSelectorImpl.cc,
11623 gnu/java/nio/natServerSocketChannelImpl.cc,
11624 gnu/java/nio/natShortBufferImpl.cc,
11625 gnu/java/nio/natSocketChannelImpl.cc:
11626 New files that implement native functionalities.
11627
11628 2002-11-29 Michael Koch <konqueror@gmx.de>
11629
11630 * gnu/java/nio/ByteBufferImpl.java
11631 (ByteBufferImpl): Moved position() after limit.
11632 (nio_*): Use native implementation.
11633 * gnu/java/nio/CharBufferImpl.java:
11634 Reformated.
11635 (endian): New member variable string endianess of buffer.
11636 (CharBufferImpl): Moved position() after limit.
11637 (nio_*): Use native implementation.
11638 (subSequence): Implemented.
11639 * gnu/java/nio/DoubleBufferImpl.java
11640 (DoubleBufferImpl): Moved position() after limit.
11641 (nio_*): Use native implementation.
11642 * gnu/java/nio/FloatBufferImpl.java
11643 Reformated.
11644 (FloatBufferImpl): Moved position() after limit.
11645 (nio_*): Use native implementation.
11646 * gnu/java/nio/IntBufferImpl.java
11647 Added needed imports, Reformated.
11648 (IntBufferImpl): Moved position() after limit.
11649 (nio_*): Use native implementation.
11650 * gnu/java/nio/LongBufferImpl.java
11651 Reformated.
11652 (LongBufferImpl): Moved position() after limit.
11653 (nio_*): Use native implementation.
11654 * gnu/java/nio/ShortBufferImpl.java
11655 Reformated.
11656 (ShortBufferImpl): Moved position() after limit.
11657 (nio_*): Use native implementation.
11658
11659 2002-11-27 Julian Dolby <dolby@us.ibm.com>
11660
11661 * java/util/Locale.java (toString): Improve efficiency if country
11662 and variant are both empty.
11663
11664 2002-11-26 Tom Tromey <tromey@redhat.com>
11665
11666 * verify.cc (pop_init_ref): New method.
11667 (verify_instructions_0) [op_iaload, op_laload, op_faload,
11668 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
11669 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
11670 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
11671 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
11672 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
11673 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
11674 let `this' argument be uninitialized. Don't let `null' be passed
11675 as `this' to construtor.
11676
11677 2002-11-26 Mark Wielaard <mark@klomp.org>
11678
11679 * javax/transaction/HeuristicCommitException.java: Classpath merge.
11680 * javax/transaction/HeuristicMixedException.java: Likewise.
11681 * javax/transaction/HeuristicRollbackException.java: Likewise.
11682 * javax/transaction/InvalidTransactionException.java: Likewise.
11683 * javax/transaction/NotSupportedException.java: Likewise.
11684 * javax/transaction/RollbackException.java: Likewise.
11685 * javax/transaction/Status.java: Likewise.
11686 * javax/transaction/Synchronization.java: Likewise.
11687 * javax/transaction/SystemException.java: Likewise.
11688 * javax/transaction/Transaction.java: Likewise.
11689 * javax/transaction/TransactionManager.java: Likewise.
11690 * javax/transaction/TransactionRequiredException.java: Likewise.
11691 * javax/transaction/TransactionRolledbackException.java: Likewise.
11692 * javax/transaction/UserTransaction.java: Likewise.
11693 * javax/transaction/xa/XAException.java: Likewise.
11694 * javax/transaction/xa/XAResource.java: Likewise.
11695 * javax/transaction/xa/Xid.java: Likewise.
11696
11697 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
11698
11699 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
11700 define.
11701 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
11702 * include/posix.h (socklen_t): Define if not already defined.
11703
11704 2002-11-25 Tom Tromey <tromey@redhat.com>
11705
11706 * verify.cc (type::compatible): Backed out broken change.
11707
11708 * verify.cc (type::compatible): Check initialization status
11709 first.
11710 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
11711 Don't use NULLCHECK.
11712
11713 2002-11-23 H.J. Lu <hjl@gnu.org>
11714
11715 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
11716 Include ../config/accross.m4.
11717 * aclocal.m4; Rebuild.
11718 * configure: Likewise.
11719
11720 2002-11-23 Mark Wielaard <mark@klomp.org>
11721
11722 * javax/naming/AuthenticationException.java: Update copyright header.
11723 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
11724 * javax/naming/Binding.java: Likewise.
11725 * javax/naming/CannotProceedException.java: Likewise.
11726 * javax/naming/CommunicationException.java: Likewise.
11727 * javax/naming/CompositeName.java: Likewise.
11728 * javax/naming/CompoundName.java: Likewise.
11729 * javax/naming/ConfigurationException.java: Likewise.
11730 * javax/naming/Context.java: Likewise.
11731 * javax/naming/ContextNotEmptyException.java: Likewise.
11732 * javax/naming/InitialContext.java: Likewise.
11733 * javax/naming/InsufficientResourcesException.java: Likewise.
11734 * javax/naming/InterruptedNamingException.java: Likewise.
11735 * javax/naming/LimitExceededException.java: Likewise.
11736 * javax/naming/LinkException.java: Likewise.
11737 * javax/naming/LinkLoopException.java: Likewise.
11738 * javax/naming/LinkRef.java: Likewise.
11739 * javax/naming/MalformedLinkException.java: Likewise.
11740 * javax/naming/NameAlreadyBoundException.java: Likewise.
11741 * javax/naming/NameClassPair.java: Likewise.
11742 * javax/naming/NameNotFoundException.java: Likewise.
11743 * javax/naming/NameParser.java: Likewise.
11744 * javax/naming/NamingEnumeration.java: Likewise.
11745 * javax/naming/NamingSecurityException.java: Likewise.
11746 * javax/naming/NoInitialContextException.java: Likewise.
11747 * javax/naming/NoPermissionException.java: Likewise.
11748 * javax/naming/NotContextException.java: Likewise.
11749 * javax/naming/OperationNotSupportedException.java: Likewise.
11750 * javax/naming/PartialResultException.java: Likewise.
11751 * javax/naming/Reference.java: Likewise.
11752 * javax/naming/Referenceable.java: Likewise.
11753 * javax/naming/ReferralException.java: Likewise.
11754 * javax/naming/ServiceUnavailableException.java: Likewise.
11755 * javax/naming/SizeLimitExceededException.java: Likewise.
11756 * javax/naming/TimeLimitExceededException.java: Likewise.
11757 * javax/naming/directory/Attribute.java: Likewise.
11758 * javax/naming/directory/AttributeInUseException.java: Likewise.
11759 * javax/naming/directory/AttributeModificationException.java: Likewise.
11760 * javax/naming/directory/Attributes.java: Likewise.
11761 * javax/naming/directory/BasicAttribute.java: Likewise.
11762 * javax/naming/directory/BasicAttributes.java: Likewise.
11763 * javax/naming/directory/DirContext.java: Likewise.
11764 * javax/naming/directory/InitialDirContext.java: Likewise.
11765 * javax/naming/directory/InvalidAttributeIdentifierException.java:
11766 Likewise.
11767 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
11768 * javax/naming/directory/InvalidAttributesException.java: Likewise.
11769 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
11770 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
11771 * javax/naming/directory/ModificationItem.java: Likewise.
11772 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
11773 * javax/naming/directory/SchemaViolationException.java: Likewise.
11774 * javax/naming/directory/SearchControls.java: Likewise.
11775 * javax/naming/directory/SearchResult.java: Likewise.
11776 * javax/naming/event/EventContext.java: Likewise.
11777 * javax/naming/event/EventDirContext.java: Likewise.
11778 * javax/naming/event/NamespaceChangeListener.java: Likewise.
11779 * javax/naming/event/NamingEvent.java: Likewise.
11780 * javax/naming/event/NamingExceptionEvent.java: Likewise.
11781 * javax/naming/event/NamingListener.java: Likewise.
11782 * javax/naming/event/ObjectChangeListener.java: Likewise.
11783 * javax/naming/ldap/Control.java: Likewise.
11784 * javax/naming/ldap/ControlFactory.java: Likewise.
11785 * javax/naming/ldap/ExtendedRequest.java: Likewise.
11786 * javax/naming/ldap/ExtendedResponse.java: Likewise.
11787 * javax/naming/ldap/HasControls.java: Likewise.
11788 * javax/naming/ldap/InitialLdapContext.java: Likewise.
11789 * javax/naming/ldap/LdapContext.java: Likewise.
11790 * javax/naming/ldap/LdapReferralException.java: Likewise.
11791 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
11792 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
11793 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
11794 * javax/naming/spi/DirObjectFactory.java: Likewise.
11795 * javax/naming/spi/DirStateFactory.java: Likewise.
11796 * javax/naming/spi/DirectoryManager.java: Likewise.
11797 * javax/naming/spi/InitialContextFactory.java: Likewise.
11798 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
11799 * javax/naming/spi/NamingManager.java: Likewise.
11800 * javax/naming/spi/ObjectFactory.java: Likewise.
11801 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
11802 * javax/naming/spi/ResolveResult.java: Likewise.
11803 * javax/naming/spi/Resolver.java: Likewise.
11804 * javax/naming/spi/StateFactory.java: Likewise.
11805
11806 * javax/naming/spi/NamingManager.java (ofb): Package private.
11807
11808 2002-11-21 Mark Wielaard <mark@klomp.org>
11809
11810 * java/net/URL.java: Merge with Classpath (partly).
11811 * java/net/URLStreamHandler: Merge with Classpath.
11812
11813 2002-11-22 Michael Koch <konqueror@gmx.de>
11814
11815 * include/posix.h:
11816 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11817 * include/win32.h:
11818 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
11819 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
11820
11821 2002-11-21 Michael Koch <konqueror@gmx.de>
11822
11823 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
11824 Only the new network functions should be in it.
11825
11826 2002-11-21 Michael Koch <konqueror@gmx.de>
11827
11828 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11829 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
11830
11831 2002-11-21 Michael Koch <konqueror@gmx.de>
11832
11833 * java/nio/channels/AsynchronousCloseException.java,
11834 java/nio/channels/CancelledKeyException.java,
11835 java/nio/channels/ClosedByInterruptException.java,
11836 java/nio/channels/ConnectionPendingException.java,
11837 java/nio/channels/FileLockInterruptionException.java,
11838 java/nio/channels/IllegalSelectorException.java,
11839 java/nio/channels/NoConnectionPendingException.java,
11840 java/nio/channels/NonReadableChannelException.java,
11841 java/nio/channels/NonWritableChannelException.java,
11842 java/nio/channels/NotYetBoundException.java,
11843 java/nio/channels/NotYetConnectedException.java,
11844 java/nio/channels/OverlappingFileLockException.java,
11845 java/nio/channels/UnresolvedAddressException.java,
11846 java/nio/channels/UnsupportedAddressTypeException.java:
11847 New files.
11848 * Makefile.am (ordinary_java_source_files): Added new files.
11849 * Makefile.in: Regenerated.
11850
11851 2002-11-21 Michael Koch <konqueror@gmx.de>
11852
11853 * include/posix.h
11854 (_Jv_socket): New method.
11855 (_Jv_connect): New method.
11856 (_Jv_close): New method.
11857 (_Jv_platform_close_on_exec): Prefixed system function with "::".
11858 (_Jv_bind): New method.
11859 (_Jv_listen): New method.
11860 (_Jv_write): New method.
11861 (_Jv_read): New method.
11862 * include/win32.h
11863 (_Jv_socket): New method.
11864 (_Jv_connect): New method.
11865 (_Jv_close): New method.
11866 (_Jv_bind): New method.
11867 (_Jv_listen): New method.
11868 (_Jv_write): New method.
11869 (_Jv_read): New method.
11870 * java/net/natNetworkInterface.cc:
11871 Include platform.h, removed inclusion of socket.h
11872 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
11873 ::close() by _Jv_close().
11874 * java/net/natPlainDatagramSocketImpl.cc:
11875 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
11876 added some new lines to make code more readable.
11877 (create): Replaced ::socket() by _Jv_socket().
11878 (close): Replaced NATIVE_CLOSE() by _Jv_close().
11879 * java/net/natPlainSocketImpl.cc:
11880 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
11881 removed include of socket.h, removed some windows defines
11882 (now in include/win32.h).
11883 (create): Replaced ::socket() by _Jv_socket().
11884 (close): Replaced NATIVE_CLOSE() by _Jv_close().
11885 (write): Replaced ::read by _Jv_write().
11886 (read): Replaced ::read by _Jv_read().
11887
11888 2002-11-20 Michael Koch <konqueror@gmx.de>
11889
11890 * Makefile.am (ordinary_java_source_files):
11891 Added java/nio/channels/FileChannel.java.
11892 * Makefile.in: Regenerated.
11893
11894 2002-11-20 Michael Koch <konqueror@gmx.de>
11895
11896 * java/io/FileInputStream.java
11897 (getChannel): New method.
11898 * java/io/FileOutputStream.java
11899 (getChannel): New method.
11900 * java/net/ServerSocket.java
11901 (bind): Removed duplicate code and called another bind method instead.
11902 * java/nio/channels/SelectionKey.java
11903 (isValid): Removed wrong exception documentation.
11904 * java/nio/channels/ServerSocketChannel.java
11905 (accept): Added exception documentation.
11906 (open): Fixed typo, added exception documentation.
11907 * java/nio/channels/spi/AbstractSelectableChannel.java
11908 (implCloseChannel): Added exception documentation.
11909 (add): Reformated.
11910 (register): Added exception documentation.
11911
11912 2002-11-20 Andreas Jaeger <aj@suse.de>
11913
11914 * configure: Regenerated with new libtool.m4.
11915
11916 2002-11-19 Tom Tromey <tromey@redhat.com>
11917
11918 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
11919 `referent'.
11920 (finalize_referred_to_object): Don't modify `referent' or `copy'
11921 fields.
11922 (add_to_hash): Correctly set `n->next' when updating list.
11923 * java/lang/ref/Reference.java (enqueue): Return false if already
11924 enqueued.
11925
11926 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
11927
11928 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
11929 to function and function pointer declarations in accordance with
11930 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
11931 based on whether __GCJ_JNI_IMPL__ has been defined or not.
11932 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
11933 JNI function definitions.
11934
11935 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11936
11937 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
11938 that was causing CoderResults to be cached, not WeakReferences
11939 to CoderResults.
11940
11941 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
11942
11943 * java/security/KeyStore.java (getInstance): Fix
11944 comment and throw IllegalArgumentException if
11945 given provider is null.
11946 (getInstance): New method for jdk1.4 compatibility.
11947
11948 2002-11-18 Michael Koch <konqueror@gmx.de>
11949
11950 * java/net/PlainSocketImpl.java: Fix imports.
11951
11952 2002-11-18 Michael Koch <konqueror@gmx.de>
11953
11954 * java/nio/channels/SelectionKey.java
11955 (isValid): Added exception documentation.
11956 * java/nio/channels/Selector.java
11957 (open): Declare "throws IOException".
11958
11959 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11960
11961 * java/nio/charset/Charset.java
11962 (<clinit>): New method.
11963 (encode): Synchronize use of cached encoder object.
11964 (decode): Synchronize use of cached encoder object.
11965
11966 2002-11-18 Michael Koch <konqueror@gmx.de>
11967
11968 * gnu/java/nio/ByteBufferImpl.java,
11969 gnu/java/nio/CharBufferImpl.java,
11970 gnu/java/nio/DatagramChannelImpl.java,
11971 gnu/java/nio/DoubleBufferImpl.java,
11972 gnu/java/nio/FileChannelImpl.java,
11973 gnu/java/nio/FloatBufferImpl.java,
11974 gnu/java/nio/IntBufferImpl.java,
11975 gnu/java/nio/LongBufferImpl.java,
11976 gnu/java/nio/PipeImpl.java,
11977 gnu/java/nio/SelectionKeyImpl.java,
11978 gnu/java/nio/SelectorImpl.java,
11979 gnu/java/nio/SelectorProviderImpl.java,
11980 gnu/java/nio/ServerSocketChannelImpl.java,
11981 gnu/java/nio/ShortBufferImpl.java,
11982 gnu/java/nio/SocketChannelImpl.java,
11983 java/nio/DoubleBuffer.java,
11984 java/nio/FloatBuffer.java,
11985 java/nio/IntBuffer.java,
11986 java/nio/LongBuffer.java,
11987 java/nio/ShortBuffer.java,
11988 java/nio/channels/FileChannel.java: New files.
11989
11990 2002-11-18 Michael Koch <konqueror@gmx.de>
11991
11992 * Makefile.am (ordinary_java_source_files):
11993 Added java/nio/ReadOnlyBufferException.java and
11994 java/nio/channels/ClosedSelectorException.java.
11995 * Makefile.in: Regenerated.
11996
11997 2002-11-18 Michael Koch <konqueror@gmx.de>
11998
11999 * java/net/PlainSocketImpl.java: Reworked imports.
12000 * java/net/ServerSocket.java
12001 (ServerSocket): Create socket.
12002 * java/net/SocketAddress.java: Documentation added.
12003 * java/net/natPlainSocketImpl.cc: Reindented.
12004 * java/nio/ReadOnlyBufferException.java: New file
12005 * java/nio/channels/ClosedChannelException.java: Documentation added.
12006 * java/nio/channels/ClosedSelectorException.java: New file.
12007
12008 2002-11-17 Mark Wielaard <mark@klomp.org>
12009
12010 * java/net/HttpURLConnection.java ((getPermission): Take port
12011 into consideration.
12012 (getErrorStream): Implement.
12013
12014 2002-11-17 Mark Wielaard <mark@klomp.org>
12015
12016 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12017
12018 2002-11-16 Mark Wielaard <mark@klomp.org>
12019
12020 Integrate work by Raif S. Naffah (raif@fl.net.au)
12021 * java/security/DummyKeyPairGenerator.java (clone): New method.
12022 * java/security/DummyMessageDigest.java (clone): New method.
12023 (engineUpdate): Now public.
12024 (engineReset): Likewise.
12025 (engineDigest): Likewise.
12026 (engineGetDigestLength): New method.
12027 * java/security/DummySignature.java (clone): New method.
12028 * java/security/KeyPairGenerator.java (provider): Now package private.
12029 (getInstance(String)): Use getInstance(String,Provider).
12030 (getInstance(String,String): Use getInstance(String,Provider)
12031 (getInstance(String,Provider): New method.
12032 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12033 * java/security/KeyPairGeneratorSpi.java (clone): New method.
12034 * java/security/MessageDigest.java (provider): Now package private.
12035 (getInstance(String): Use getInstance(String,Provider).
12036 (getInstance(String,String): Use getInstance(String,Provider)
12037 (getInstance(String,Provider): New method.
12038 * java/security/Provider.java (toCanonicalKey): New method.
12039 (get): New method that uses toCanonicalKey().
12040 (put): Use toCanonicalKey().
12041 (remove): Likewise.
12042 * java/security/Security.java (insertProviderAt): Provider index is one
12043 based, not zero based.
12044 (addProvider): Likewise.
12045 (removeProvider): Likewise.
12046 * java/security/Signature.java (provider): Now package private.
12047 (getInstance(String)): Use getInstance(String,Provider).
12048 (getInstance(String,String): Use getInstance(String,Provider)
12049 (getInstance(String,Provider): New method.
12050 (getInstance(String,String,Provider): Don't cast DummySignature.
12051
12052 2002-11-15 Tom Tromey <tromey@redhat.com>
12053
12054 For PR libgcj/8593:
12055 * java/util/zip/GZIPInputStream.java (read): Check file size.
12056 Look in inflater for remaining input bytes.
12057 (read4): Added buf and offset arguments.
12058
12059 2002-11-12 Eric Blake <ebb9@email.byu.edu>
12060
12061 * java/applet/AppletContext.java: Fix typo and remove redundant
12062 modifiers.
12063
12064 2002-11-14 Tom Tromey <tromey@redhat.com>
12065
12066 * java/lang/natRuntime.cc (insertSystemProperties): Set
12067 gnu.classpath.home.
12068
12069 2002-11-13 Michael Koch <konqueror@gmx.de>
12070
12071 * java/nio/ByteBuffer.java
12072 (allocate): New method.
12073 (wrap): New method.
12074 (put): New method.
12075 (get): New method.
12076
12077 2002-11-13 Michael Koch <konqueror@gmx.de>
12078
12079 * java/nio/channels/AlreadyConnectedException.java:
12080 Removed unneeded import.
12081 (AlreadyConnectedException): Documentation added.
12082 * java/nio/channels/Pipe.java
12083 (SinkChannel.SinkChannel): Documentation added.
12084 (SinkChannel.validOps): New method.
12085 (SourceChannel.SourceChannel): Documentation added.
12086 (SourceChannel.validOps): New method.
12087 (Pipe): Documentation added.
12088 (open): Documentation added.
12089 (SinkChannel.channel): Documentation added.
12090 (SourceChannel.channel): Documentation added.
12091 * java/nio/channel/SelectableChannel.java
12092 (SelectableChannel): Documentation added.
12093 (blockingLock): Documentation added.
12094 (configureBlocking):Documentation added.
12095 (isBlocking):Documentation added.
12096 (isRegistered):Documentation added.
12097 (keyFor):Documentation added.
12098 (provider):Documentation added.
12099 (register): Documentation added.
12100 (validOps): Documentation added.
12101 * jaba/nio/channels/SelectionKey.java
12102 (SelectionKey): Documentation added.
12103 (attach): Documentation added.
12104 (attachment): Documentation added.
12105 (isAcceptable): Documentation added.
12106 (isConnetable): Documentation added.
12107 (isReadable): Documentation added.
12108 (isWritable): Documentation added.
12109 (cancel): Documentation added.
12110 (channel): Documentation added.
12111 (interestOps): Documentation added.
12112 (isValid): Documentation added.
12113 (readyOps): Documentation added.
12114 (selector): Documentation added.
12115 * jaba/nio/channels/Selector.java
12116 (Selector): Documentation added.
12117 (open): Documentation added.
12118 (close): Documentation added.
12119 (isOpen): Documentation added.
12120 (keys): Documentation added.
12121 (provider): Documentation added.
12122 (select): Documentation added.
12123 (selectedKeys): Documentation added.
12124 (selectNow): Documentation added.
12125 (wakeup): Documentation added.
12126 * java/nio/channels/spi/AbstractInterruptibleChannel.java
12127 (AbstractInterruptibleChannel): Documentation added.
12128 (opened): Default to true;
12129 (begin): Documentation added.
12130 (close): Set opened to false, documentation added.
12131 (isOpen): Documentation added.
12132 * java/nio/channels/spi/AbstractSelectionKey.java
12133 (AbstractSelectionKey): Documentation added.
12134 (cancel): Documentation added.
12135 (isValid): Documentation added.
12136 * java/nio/channels/spi/AbstractSelector.java
12137 (AbstractSelector): Documentation added.
12138 (begin): Documentation added.
12139 (close): Documentation added.
12140 (isOpen): Documentation added.
12141 (deregister): Documentation added.
12142 (end): Documentation added.
12143 (provider): Documentation added.
12144 (implCloseSelector): Documentation added.
12145 (register): Documentation added.
12146 * java/nio/channels/spi/SelectorProvider.java
12147 (SelectorProvider): Documentation added.
12148 (openDatagramChannel): Documentation added.
12149 (openPipe): Documentation added.
12150 (openSelector): Documentation added.
12151 (openServerSocketChannel): Documentation added.
12152 (openSocketChannel): Documentation added.
12153 (provider): Documentation added.
12154
12155 2002-11-12 Michael Koch <konqueror@gmx.de>
12156
12157 * java/nio/Buffer.java: Implemented.
12158 * java/nio/CharBuffer.java: New file.
12159 * java/nio/InvalidMarkException.java: New file.
12160 * java/nio/channels/DatagramChannel.java: Implemented.
12161 * java/nio/channels/ServerSocketChannel.java: Implemented.
12162 * java/nio/channels/SocketChannel.java: Implemented.
12163 * java/nio/channels/spi/AbstractChannel.java: Removed.
12164 * java/nio/channels/spi/AbstractSelectableChannel.java:
12165 Implemented.
12166 * java/nio/charset/Charset.java:
12167 Merge from Classpath.
12168 * java/nio/charset/CharsetDecoder.java: New file.
12169 * java/nio/charset/CharsetEncoder.java: New file.
12170 * java/nio/charset/CoderResult.java: New file.
12171 * Makefile.am (ordinary_java_source_files): Added new files.
12172 * Makefile.in: Regenerated.
12173
12174 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12175
12176 * gnu/java/nio/charset/ISO_8859_1.java,
12177 gnu/java/nio/charset/Provider.java,
12178 gnu/java/nio/charset/US_ASCII.java,
12179 gnu/java/nio/charset/UTF_16.java,
12180 gnu/java/nio/charset/UTF_16BE.java,
12181 gnu/java/nio/charset/UTF_16Decoder.java,
12182 gnu/java/nio/charset/UTF_16Encoder.java,
12183 gnu/java/nio/charset/UTF_16LE.java,
12184 gnu/java/nio/charset/UTF_8.java: New files.
12185
12186 2002-11-11 Michael Koch <konqueror@gmx.de>
12187
12188 * java/nio/charset/CharacterCodingException.java:
12189 This class must be public.
12190 * java/nio/charset/CoderMalfunctionError.java:
12191 This class must be public.
12192 * java/nio/charset/CodingErrorAction.java:
12193 This class must be public.
12194 * java/nio/charset/IllegalCharsetNameException.java:
12195 This class must be public, better implementation.
12196 * java/nio/charset/MalformedInputException.java:
12197 This class must be public, better implementation.
12198 * java/nio/charset/UnmappableCharacterException.java:
12199 This class must be public, better implementation.
12200 * java/nio/charset/UnsupportedCharsetException.java:
12201 This class must be public, better implementation.
12202
12203 2002-11-11 Michael Koch <konqueror@gmx.de>
12204
12205 * java/nio/BufferOverflowException.java,
12206 java/nio/BufferUnderflowException.java: New file.
12207 * Makefile.am (ordinary_java_source_files):
12208 Added new files.
12209 * Makefile.in: Regenerated.
12210
12211 2002-11-10 Tom Tromey <tromey@redhat.com>
12212
12213 * java/awt/Container.java (validate): Use tree lock.
12214 (getComponent): Likewise.
12215 (getComponents): Likewise.
12216 (addImpl): Likewise.
12217 (remove): Likewise.
12218 (removeAll): Likewise.
12219 (processEvent): Fixed indentation.
12220 (getComponentAt): Use tree lock.
12221 (findComponentAt): Likewise.
12222 (removeNotify): Likewise.
12223 (isAncestorOf): Likewise.
12224 (list): Likewise.
12225 (visitChildren): Likewise.
12226 (findNextFocusComponent): Likewise.
12227 (addNotifyContainerChildren): Likewise.
12228 (getAccessibleChildrenCount): Likewise.
12229 (getAccessibleChild): Likewise.
12230
12231 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12232 (getSize): Likewise.
12233 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12234 (getSize): Likewise.
12235 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12236 (calcSize): Likewise.
12237 * java/awt/CardLayout.java (getSize): Use tree lock.
12238 (gotoComponent): Likewise.
12239 (layoutContainer): Likewise.
12240
12241 * java/io/natFileDescriptorWin32.cc (read): Handle case where
12242 count is 0.
12243 * java/io/natFileDescriptorPosix.cc (read): Handle case where
12244 count is 0.
12245
12246 * java/io/Externalizable.java, java/io/FilePermission.java,
12247 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12248 java/io/SerializablePermission.java, java/text/Format.java,
12249 java/util/AbstractMap.java, java/util/HashMap.java,
12250 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12251 versions from Classpath.
12252
12253 2002-11-10 Anthony Green <green@redhat.com>
12254
12255 * java/util/jar/Attributes.java (Name): Fix name check.
12256
12257 2002-11-10 Mark Wielaard <mark@klomp.org>
12258
12259 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12260 with getName() as message.
12261 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12262 type as message.
12263
12264 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12265 unused.
12266
12267 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
12268
12269 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12270 for Win32. JNICALL has been defined to __stdcall to be compatible
12271 with Sun's JDKs.
12272
12273 2002-11-10 Tom Tromey <tromey@redhat.com>
12274
12275 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12276 (setRows): Check newRows, not rows.
12277
12278 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12279
12280 2002-11-09 Tom Tromey <tromey@redhat.com>
12281
12282 * java/applet/Applet.java, java/applet/AppletContext.java,
12283 java/applet/AppletStub.java, java/applet/AudioClip.java,
12284 java/awt/CardLayout.java,
12285 java/awt/ContainerOrderFocusTraversalPolicy.java,
12286 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12287 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12288 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12289 java/awt/color/ICC_ColorSpace.java,
12290 java/awt/color/ICC_Profile.java,
12291 java/awt/color/ICC_ProfileGray.java,
12292 java/awt/color/ICC_ProfileRGB.java,
12293 java/awt/datatransfer/DataFlavor.java,
12294 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12295 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12296 New versions from Classpath.
12297 * Makefile.in: Rebuilt.
12298 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12299 ICC_ProfileRGB.
12300
12301 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12302 display policy.
12303
12304 * java/awt/List.java (processEvent): Added missing `else's.
12305
12306 * java/awt/Window.java (show): validate() before showing. Make
12307 parent displayable.
12308 (isDisplayable): New method.
12309
12310 2002-11-07 Mark Wielaard <mark@klomp.org>
12311
12312 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12313 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12314
12315 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12316 annotation.
12317 (loadClass): Take String as codebases.
12318 (getClassAnnotation): Use MyClassLoader annotations.
12319 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12320 call exportObject(this).
12321
12322 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12323 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12324 (setAnnotation): Don't set locBytesStream and locStream.
12325 (replaceObject): Removed.
12326 (flush): Don't test locStream.
12327 (getLocBytes): LikeWise.
12328 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12329 (leaseCache): New field.
12330 (dirty): Use leaseCache.
12331 (LeaseRecord): New inner class.
12332 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12333 explicitly call exportObject().
12334 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12335 false to communicate with Sun JDK130.
12336 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12337 * gnu/java/rmi/server/RMIObjectInputStream.java
12338 (UnicastConnectionManager): Removed field.
12339 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12340 Use UnicastServer.getExportedRef().
12341 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12342 (expireTime): Likewise.
12343 (CONNECTION_TIMEOUT): Likewise.
12344 (disconnect): Call sock.close().
12345 (isExpired): New method.
12346 (resetTime): Likewise.
12347 (run): Use do while loop and catch Exception for discardConnection().
12348 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12349 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12350 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12351 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12352 (exportObject): Use refcache.
12353 (unexportObject): Likewise.
12354 (getExportedRef): New method.
12355 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12356 constructor.
12357 (exportObject): Save manager.serverobj.
12358 (getStub): New method.
12359
12360 2002-11-07 Mark Wielaard <mark@klomp.org>
12361
12362 * java/lang/reflect/natField.cc (getBoolean): Use getType().
12363 (getByte): Likewise.
12364 (getShort): Likewise.
12365 (getInt): Likewise.
12366 (getLong): Likewise.
12367 (getFloat): Likewise.
12368 (getDouble): Likewise.
12369 (get): Likewise.
12370 (setChar): Likewise.
12371 (setByte): Likewise.
12372 (setShort): Likewise.
12373 (setInt): Likewise.
12374 (setLong): Likewise.
12375 (setFloat): Likewise.
12376 (setDouble): Likewise.
12377
12378 2002-11-07 Michael Koch <konqueror@gmx.de>
12379
12380 * java/awt/Choice.java,
12381 java/awt/Container.java,
12382 java/awt/GridBagLayout.java:
12383 Fixed documentation.
12384 * java/awt/peer/ContainerPeer.java:
12385 Reindented.
12386
12387 2002-11-07 Michael Koch <konqueror@gmx.de>
12388
12389 * java/awt/color/ICC_Profile.java:
12390 Added missing constants.
12391 * java/awt/color/ICC_ColorSpace.java
12392 (getMinValue): Added dummy implementation.
12393 (getMaxValue): Added dummy implementation.
12394 * java/awt/datatransfer/DataFlavor.java
12395 (imageFlavor): Added.
12396 (isMimeTypeEqual): Must be final.
12397 (getDefaultRepresentationClass): Must be non-static.
12398 (getDefaultRepresentationClassAsString): Must be non-static.
12399 * java/awt/dnd/DragSourceContext.java
12400 (dragExit): Corrected argument.
12401 (dragDropEnd): Corrected argument.
12402 * java/awt/dnd/DragSourceListener.java.java
12403 (dragExit): Corrected argument.
12404 (dragDropEnd): Corrected argument.
12405 * java/awt/font/TextHitInfo.java
12406 (toString): Added stubbed implementation.
12407 * java/awt/geom/PathIterator.java:
12408 The constants must be static.
12409 * java/awt/image/VolatileImage.java
12410 (IMAGE_INCOMPATIBLE): Fixed typo.
12411 * java/awt/image/renderable/RenderableImage.java
12412 (HINTS_OBSERVED): Must be static.
12413 * java/beans/BeanInfo.java:
12414 Constants must be final.
12415
12416 2002-11-06 Tom Tromey <tromey@redhat.com>
12417
12418 From svens@it.uu.se. For PR libgcj/8481.
12419 * java/util/Random.java (nextInt(int)): Only use 31 bits.
12420
12421 2002-11-06 Tom Tromey <tromey@redhat.com>
12422
12423 * jni.cc (array_from_valist): Assume that jlong won't be
12424 promoted.
12425
12426 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
12427
12428 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12429 Return 20.
12430 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12431 Return 16.
12432
12433 2002-11-03 Tom Tromey <tromey@redhat.com>
12434
12435 * java/lang/ClassLoader.java (loadClass): Call loadClass on
12436 VMClassLoader, not findClass.
12437
12438 2002-11-03 Jeff Sturm <jsturm@one-point.com>
12439
12440 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12441 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12442 _Jv_DetermineVTableIndex, to determine vtable offset.
12443 (_Jv_DetermineVTableIndex): Remove.
12444 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
12445
12446 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12447
12448 2002-11-03 Tom Tromey <tromey@redhat.com>
12449
12450 * java/nio/channels/AlreadyConnectedException.java: Extend
12451 IllegalStateException, per spec.
12452
12453 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
12454
12455 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12456
12457 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
12458
12459 * java/util/ArrayList.java (readObject, writeObject): Only read/write
12460 size items.
12461
12462 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
12463
12464 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12465 initial estimated size to avoid enlarge buffer frequently.
12466
12467 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
12468
12469 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12470 ClassLoader when null.
12471 (ProxyType.hashCode): Loader null check no longer needed.
12472 (ProxyType.sameTypes): New method.
12473 (ProxyType.equals): Use new method.
12474
12475 2002-10-31 Mark Wielaard <mark@klomp.org>
12476
12477 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12478 length of String.
12479 * java/net/URLEncoder.java (encode): Likewise.
12480
12481 2002-10-31 Mark Wielaard <mark@klomp.org>
12482
12483 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12484 when stream is closed.
12485 (closeEntry): Likewise.
12486 (read): Likewise.
12487 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
12488 ZipException when no entry active.
12489 (closeEntry): Likewise.
12490 (write): Likewise.
12491
12492 2002-11-02 Tom Tromey <tromey@redhat.com>
12493
12494 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
12495 * java/lang/natClass.cc (initializeClass): Don't return just
12496 because self==thread.
12497
12498 For PR java/8415:
12499 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
12500 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
12501
12502 2002-11-02 Andreas Schwab <schwab@suse.de>
12503
12504 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
12505 pass GCJFLAGS.
12506 (FLAGS_TO_PASS): Define.
12507 * Makefile.in: Regenerated.
12508
12509 2002-11-01 Michael Koch <konqueror@gmx.de>
12510
12511 * java/nio/ByteOrder.java: New file.
12512 * java/nio/channels/DatagramChannel.java:
12513 (DatagramChannel): New constructor.
12514 * java/nio/channels/Pipe.java: New file.
12515 * java/nio/channels/SelectableChannel.java: New file.
12516 * java/nio/channels/SelectionKey.java: New file.
12517 * java/nio/channels/Selector.java: New file.
12518 * java/nio/channels/ServerSocketChannel.java
12519 (ServerSocketChannel): New constructor.
12520 * java/nio/channels/SocketChannel.java
12521 (SocketChannel): New constructor.
12522 * java/nio/channels/Pipe.java: New file.
12523 * java/nio/channels/spi/AbstractChannel.java: New file.
12524 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
12525 * java/nio/channels/spi/AbstractSelectableChannel.java:
12526 License added
12527 (AbstractSelectableChannel): New stubbed method.
12528 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
12529 * java/nio/channels/spi/AbstractSelector.java: New file.
12530 * java/nio/channels/spi/SelectorProvider.java: New file.
12531 * java/nio/charset/Charset.java: New file.
12532 * java/nio/charset/CoderMalfunctionError.java: New file.
12533 * java/nio/charset/CodingErrorAction.java: New file.
12534 * java/nio/charset/spi/CharsetProvider.java
12535 (charsetForName): Uncommented.
12536 * Makefile.am (java_native_source_files): Added new files.
12537 * Makefile.in: Regenerated.
12538
12539 2002-11-01 Michael Koch <konqueror@gmx.de>
12540
12541 * java/net/InetAddress.java:
12542 (isAnyLocalAddress): Implemented.
12543 (isLoopbackAddress): Implemented, comment added.
12544 (isLinkLocalAddress): Implemented, documentation added.
12545 (isSiteLocalAddress): Implemented, documentation added.
12546 (isMCGlobal): Implemented, documentation added.
12547 (isMCNodeLocal): Implemented, documentation added.
12548 (isMCLinkLocal): Implemented, documentation added.
12549 (isMCSiteLocal): Implemented, documentation added.
12550 (isMCOrgLocal): Implemented, documentation added.
12551 (getHostName): Documentation added.
12552 (getCanonicalHostName): Implemented, documentation added.
12553 (getAddress): Documentation added.
12554 (hashCode): Documentation added.
12555 (equals): Documentation added.
12556 (toString): Fixed implementation.
12557 (getByAddress): Use Inet4Address and Inet6Address.
12558 (lookup): New linewrap.
12559 (getByName): SecurityManager check added, support Inet4Address and
12560 Inet6address, comments added.
12561 (getAllByName): SecurityManager check added, comments added.
12562 * java/net/Inet6Address.java:
12563 (Inet6Address): Initialize parent class with addr instead of null.
12564 * java/net/URL.java
12565 (equals): Documentation added.
12566 (getFile): Documentation added.
12567 (hashCode): Documentation added.
12568 * java/net/natInetAddress.cc:
12569 (aton): Fix IPv6 support.
12570 * java/net/natPlainDatagramSocketImpl.cc:
12571 (peek): Throw PortUnreachableException when suitable.
12572 (peekData): Throw PortUnreachableException when suitable.
12573 (send): Throw PortUnreachableException when suitable.
12574 (receive): Throw PortUnreachableException when suitable.
12575
12576 2002-10-27 Mark Wielaard <mark@klomp.org>
12577
12578 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
12579 argument.
12580 (readLeShort): Likewise and use byte[].
12581 (readLeInt): Likewise.
12582 (readEntries): Use new versions of methods and use byte[] for reading
12583 a complete zip entry. Add ZipFile name to exceptions.
12584 (entries): Add ZipFile name to exceptions.
12585 (getEntry): Likewise.
12586 (checkLocalHeader): Use new versions of methods and add ZipFile name
12587 to exceptions.
12588
12589 2002-10-31 Mark Anderson <mark@panonet.net>
12590
12591 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
12592 added
12593
12594 2002-10-25 Krister Walfridsson <cato@df.lth.se>
12595
12596 * configure.in: Disable hash sync when not using threads.
12597 * configure: Regenerated.
12598
12599 2002-10-24 Tom Tromey <tromey@redhat.com>
12600
12601 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
12602 (_Jv_FindSymbolInExecutable): Removed argument name.
12603 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
12604 java.library.path is set.
12605
12606 * gij.cc (help): Document --showversion.
12607 (version): Don't exit.
12608 (main): Handle --showversion. Exit if --version given.
12609
12610 2002-10-23 Tom Tromey <tromey@redhat.com>
12611
12612 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
12613 (array_from_valist): Correctly handle promotion for jint, jlong,
12614 jfloat, and jdouble.
12615
12616 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
12617
12618 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
12619 GetFileAttributesEx( ) to find file length and modification times,
12620 as the latter is not present on Windows 95.
12621
12622 2002-10-21 Michael Koch <konqueror@gmx.de>
12623
12624 * java/net/URL.java
12625 (URL): Activate SecurityManager checks.
12626 (equals): Use URLStreamHandler implementation instead of doing it
12627 alone. This allows special protocol stream handlers to change default
12628 behaviour.
12629 (hashCode): Use URLStreamHandler implementation instead of doing it
12630 alone. This allows special protocol stream handlers to change default
12631 behaviour.
12632 * java/net/URLStreamHandler.java
12633 (equals): Implemented default URL equality check.
12634 (hostsEqual): Implemented default URL equality check.
12635 (hashCode): Implemented default URL hashCode algorithm.
12636 * java/net/natPlainDatagramSocketImpl.cc:
12637 No lines longer then 80 characters.
12638
12639 2002-10-20 Adam Megacz <adam@xwt.org>
12640
12641 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
12642 * configure.in: enabled hash sync on Win32
12643 * include/win32-threads.h (_Jv_ThreadId_t): added.
12644 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
12645 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
12646 removed some posix-isms, use Thread::sleep() instead of usleep,
12647 added code to clear bottom three bits if platform has a broken
12648 linker.
12649 * include/win32-threads.h (_Jv_ThreadId_t): added.
12650
12651 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
12652
12653 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
12654 runtime property "gnu.gcj.progname" containing the name used to
12655 invoke the current Java program (similar to argv[0] for C
12656 programs).
12657
12658 2002-10-15 Tom Tromey <tromey@redhat.com>
12659
12660 Fix for PR libgcj/8234:
12661 * java/util/zip/natInflater.cc (reset): Reset avail_in.
12662 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
12663
12664 2002-10-13 Mark Wielaard <mark@klomp.org>
12665
12666 * mauve-libgcj: Enable Mauve tests that compile now.
12667
12668 2002-10-11 Mark Wielaard <mark@klomp.org>
12669
12670 Fix for PR libgcj/8142
12671 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
12672 loading native modules.
12673
12674 2002-10-10 Michael Koch <konqueror@gmx.de>
12675
12676 * javax/swing/AbstractListModel.java
12677 (getListDataListeners): New stubbed method.
12678 javax/swing/DefaultBoundedRangeModel.java
12679 (getChangeListeners): New stubbed method.
12680 javax/swing/DefaultSingleSelectionModel.java
12681 (getChangeListeners): New stubbed method.
12682
12683 2002-10-10 Michael Koch <konqueror@gmx.de>
12684
12685 * gcj/.cvsignore: New file to ignore files generated during build.
12686 * include/.cvsignore: New file to ignore files generated during build.
12687
12688 2002-10-10 Michael Koch <konqueror@gmx.de>
12689
12690 * java/net/HttpURLConnection.java
12691 (getPermission): New method.
12692 (getErrorStream): New stub method.
12693 (getHeaderFieldDate): New stub method.
12694 * java/net/Inet4Address.java:
12695 (isLinkLocalAddress): Typo fixed.
12696 * java/net/InetAddress.java:
12697 (readResolve): New stubbed method (for serialization).
12698 (isAnyLocalAddress): New stubbed method.
12699 (isLoopbackAddress): New stubbed method.
12700 (isLinkLocalAddress): New stubbed method.
12701 (isSiteLocalAddress): New stubbed method.
12702 (isMCGlobal): New stubbed method.
12703 (isMCNodeGlobal): New stubbed method.
12704 (isMCLinkLocal): New stubbed method.
12705 (isMCSiteLocal): New stubbed method.
12706 (isMCOrgLocal): New stubbed method.
12707 (getCanonicalHostName): New stubbed method.
12708 (getByAddress): Create instances of Inet4Address/Inet6Address,
12709 instead of InetAddress, documentation added.
12710 * java/net/MulticastSocket.java
12711 (getInterface): Removed FIXME.
12712 (getNetworkInterface): New method.
12713 (setNetworkInterface): New method.
12714 * java/net/NetworkInterface.java:
12715 (toString): Use property "line.separator" instead of "\n".
12716 * java/net/URLConnection.java
12717 (getContent): New stubbed method.
12718 * java/net/URLStreamHandler.java:
12719 (equals): New stubbed method.
12720 (hostsEqual): New stubbed method.
12721 (hashCode): New stubbed method.
12722 * java/net/natNetworkInterface.cc:
12723 (getRealNetworkInterfaces): Create Inet4Address object
12724 instead of InetAddress.
12725
12726 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
12727
12728 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
12729 unsigned long temporary to implement insn_iushr shifts.
12730
12731 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
12732
12733 * configure.host [s390*-*]: Enable Java interpreter.
12734 Enable hash synchronization. Add sysdeps dir.
12735 * sysdep/s390/locks.h: New file.
12736
12737 2002-10-06 Mark Wielaard <mark@klomp.org>
12738
12739 * java/lang/Thread.java (setDaemon): Check startable_flag,
12740 not isAlive().
12741
12742 2002-10-07 Michael Koch <konqueror@gmx.de>
12743
12744 * java/nio/Buffer.java: New stub file.
12745 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
12746 of class Charset.
12747 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
12748 * Makefile.in: Regenerated.
12749
12750 2002-10-07 Michael Koch <konqueror@gmx.de>
12751
12752 * java/nio/ByteBuffer.java:
12753 removed import of not commited class.
12754
12755 2002-10-07 Michael Koch <konqueror@gmx.de>
12756
12757 * java/nio/ByteBuffer.java,
12758 java/nio/MappedByteBuffer.java:
12759 New files, forgot to add these dummies.
12760 * Makefile.am (java_native_source_files): Added new files.
12761 * Makefile.in: Regenerated.
12762
12763 2002-10-07 Michael Koch <konqueror@gmx.de>
12764
12765 * java/nio/channels/AlreadyConnectedException.java,
12766 java/nio/channels/ClosedChannelException.java,
12767 java/nio/channels/ReadableByteChannel.java,
12768 java/nio/channels/InterruptibleChannel.java,
12769 java/nio/channels/Channel.java,
12770 java/nio/channels/ByteChannel.java,
12771 java/nio/channels/GatheringByteChannel.java,
12772 java/nio/channels/ScatteringByteChannel.java,
12773 java/nio/channels/WritableByteChannel.java,
12774 java/nio/charset/CharacterCodingException.java,
12775 java/nio/charset/IllegalCharsetNameException.java,
12776 java/nio/charset/MalformedInputException.java,
12777 java/nio/charset/UnmappableCharacterException.java,
12778 java/nio/charset/UnsupportedCharsetException.java,
12779 java/nio/charset/spi/CharsetProvider.java: New file.
12780 These files are exceptions or interfaces,
12781 no real or abstract classes.
12782 * Makefile.am (java_native_source_files): Added new files.
12783 * Makefile.in: Regenerated.
12784
12785 2002-10-05 Michael Koch <konqueror@gmx.de>
12786
12787 * java/net/InetAddress.java
12788 (getByAddress): Fixed documentation.
12789 (getByAddress): New method.
12790 * java/net/Inet4Address.java: New file.
12791 * java/net/URL.java
12792 (URL): Documentation added.
12793 (getContent): Documentation added.
12794 (getContent): New stubbed method.
12795 (getQuery): New method.
12796 (openConnection): Documentation added.
12797 (openStream): Documentation added.
12798 (setURLStreamHandlerFactory): Documentation added.
12799 * java/net/URI.java: New stub file.
12800 * Makefile.am
12801 (java_native_source_files): Added java/net/Inet4Address.java,
12802 java/net/Inet6Address.java and java/net/URI.java.
12803 * Makefile.in: Regenerated.
12804
12805 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
12806
12807 * java/lang/ProtectionDomain.java (linesep): Remove field.
12808 (toString): Use System.getProperty("line.separator").
12809
12810 2002-10-04 Michael Koch <konqueror@gmx.de>
12811
12812 * java/security/Identity.java: Added serialVersionUID.
12813 * java/security/KeyPair.java: Added serialVersionUID.
12814 * java/security/Provider.java: Added serialVersionUID.
12815 * java/security/SecureRandom.java: Added serialVersionUID.
12816 * java/security/SecureRandomSpi.java: Added serialVersionUID.
12817 * java/security/SignedObject.java: Added serialVersionUID.
12818 * java/security/cert/Certificate.java: Added serialVersionUID.
12819
12820 2002-10-04 Mark Wielaard <mark@klomp.org>
12821
12822 * java/security/Security.java: Use java.home or gnu.classpath.home
12823 to load providers.
12824 (loadProviders): Extra dir argument.
12825 (getProvider): Return null when not found.
12826
12827 2002-10-04 Mark Wielaard <mark@klomp.org>
12828
12829 * java/lang/Throwable.java: Remerge with Classpath.
12830
12831 2002-10-04 Michael Koch <konqueror@gmx.de>
12832
12833 * java/net/InetAddress.java:
12834 (isMulticastAddress): Added documentation.
12835 (getHostAddress): Added documentation.
12836 (toString): Added documentation.
12837 (getByAddress): Fixed documentation.
12838 (getByName): Added documentation.
12839 (getAllByName): Added documentation.
12840 (getLocalHost): Added documentation.
12841
12842 2002-10-04 Michael Koch <konqueror@gmx.de>
12843
12844 * java/beans/beancontext/BeanContextChildSupport.java:
12845 Added serialVersionUID.
12846 * java/text/Collator.java: (compare): Made documentation HTML-aware.
12847 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
12848 * javax/naming/Name.java: Added serialVersionUID.
12849
12850 2002-10-03 Adam Megacz <adam@xwt.org>
12851
12852 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
12853 some functionality that isn't supported yet on WIN32.
12854
12855 2002-10-03 Tom Tromey <tromey@redhat.com>
12856
12857 * Makefile.in: Rebuilt.
12858 * Makefile.am (awt_java_source_files): Added new files.
12859
12860 2002-10-03 Michael Koch <konqueror@gmx.de>
12861
12862 * java/net/InetAddress.java
12863 (class InetAddress): Removed final keyword.
12864 (equals): Fixed typo.
12865 (getByAddress): New method.
12866
12867 2002-10-03 Michael Koch <konqueror@gmx.de>
12868
12869 * java/awt/dnd/Autoscroll.java:
12870 New file, merge from Classpath.
12871 * java/awt/dnd/DragSourceAdapter.java:
12872 (dragExit): Fixed typos in argument type.
12873 (dragDropEnd): Fixed typos in argument type.
12874 * java/awt/dnd/DragSourceDropEvent.java:
12875 New file, merge from Classpath.
12876 * java/awt/dnd/DropTarget.java:
12877 Added stubs, merge from Classpath.
12878 * java/awt/dnd/DropTargetAdapter.java:
12879 New file, merge from Classpath.
12880 * java/awt/dnd/DropTargetContext.java:
12881 New file, merge from Classpath.
12882 * java/awt/dnd/DropTargetDragEvent.java:
12883 New file, merge from Classpath.
12884 * java/awt/dnd/DropTargetDropEvent.java:
12885 New file, merge from Classpath.
12886 * java/awt/dnd/DropTargetEvent.java:
12887 New file, merge from Classpath.
12888 * java/awt/dnd/DropTargetListener.java:
12889 New file, merge from Classpath.
12890 * java/awt/dnd/MouseDragGestureRecognizer.java:
12891 New file, merge from Classpath.
12892 * java/awt/dnd/peer/DropTargetContextPeer.java:
12893 New file, merge from Classpath.
12894
12895 2002-10-03 Michael Koch <konqueror@gmx.de>
12896
12897 * java/net/DatagramPacket.java
12898 (setLength): Fixed typo and be HTML-aware.
12899 * java/net/InetSocketAddress.java
12900 (InetSocketAddress): Correct initialization of hostname, fixed typo.
12901 (equals): Added comment about equality of InetSocketAddress objects.
12902 * java/net/ServerSocket.java
12903 (accept): Added checks.
12904 (isClosed): New stubbed method.
12905 * java/net/SocketOptions.java: Reindention.
12906 * java/net/SocketPermission
12907 (SocketPermission): Documentation fixed.
12908
12909 2002-10-03 Michael Koch <konqueror@gmx.de>
12910
12911 * java/net/DatagramSocket.java
12912 (receive): Check with SecurityManager AFTER the packet is received,
12913 check if connected to multicast address, documentation added.
12914 (send): Only check SecurityManager if connected, check address of
12915 packet to send.
12916 (connect): Implemented, documentation added.
12917 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
12918 * java/net/InetSocketAddress.java
12919 (whole file): Reindented.
12920 (hostname): New attribute.
12921 (InetSocketAddress): Initialize new attribute.
12922 (getAddress): Documentation added.
12923 (getHostName): Documentation added.
12924 (getPort): Documentation added.
12925 (hashCode): Documentation added.
12926 (isUnresolved): Documentation added.
12927 (toString): Conform to output of JDK 1.4.1, documentation added.
12928 * java/net/MulticastSocket.java
12929 (joinGroup): Removed FIXME, documentation added.
12930 (leaveGroup): Removed FIXME, documentation added.
12931 (send): Documentation added.
12932 * java/net/Socket.java
12933 (inputShutdown): New variable.
12934 (outputShutdown): New variable.
12935 (Socket): Initialize new variables.
12936 (getRemoteSocketAddress): Check if connected.
12937 (shutdownInput): Set new variable.
12938 (shutdownOutput): Set new variable.
12939 (isConnected): New method.
12940 (isClosed): New method.
12941 (isInputShutdown): New method.
12942 (isOutputShutdown): New method.
12943 * java/net/URLStreamHandler.java
12944 (URLStreamHandler): New method.
12945 (openConnection): Added documentation.
12946 (parseURL): Added documentation.
12947 (getHostAddress): New method.
12948 (getDefaultPort): New method.
12949
12950 2002-10-02 Tom Tromey <tromey@redhat.com>
12951
12952 * java/rmi/activation/ActivationDesc.java,
12953 java/rmi/activation/ActivationGroupDesc.java,
12954 java/rmi/activation/ActivationGroupID.java,
12955 java/rmi/activation/ActivationID.java: New versions from
12956 Classpath.
12957
12958 2002-09-30 Bo Thorsen <bo@suse.de>
12959
12960 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
12961
12962 2002-09-30 Tom Tromey <tromey@redhat.com>
12963
12964 * java/io/ObjectInputStream.java (resolveProxyClass): New method
12965 from Classpath.
12966 * Makefile.in: Rebuilt.
12967 * Makefile.am (rmi_java_source_files): Added new files.
12968 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
12969 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
12970 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
12971 Classpath.
12972 * gnu/java/rmi/dgc/DGCImpl.java,
12973 gnu/java/rmi/dgc/DGCImpl_Skel.java,
12974 gnu/java/rmi/dgc/DGCImpl_Stub.java,
12975 gnu/java/rmi/registry/RegistryImpl_Skel.java,
12976 gnu/java/rmi/registry/RegistryImpl_Stub.java,
12977 gnu/java/rmi/server/RMIHashes.java,
12978 gnu/java/rmi/server/RMIObjectInputStream.java,
12979 gnu/java/rmi/server/RMIObjectOutputStream.java,
12980 gnu/java/rmi/server/UnicastConnection.java,
12981 gnu/java/rmi/server/UnicastConnectionManager.java,
12982 gnu/java/rmi/server/UnicastRef.java,
12983 gnu/java/rmi/server/UnicastServer.java,
12984 gnu/java/rmi/server/UnicastServerRef.java,
12985 java/rmi/MarshalledObject.java,
12986 java/rmi/server/RMIClassLoader.java,
12987 java/rmi/server/RemoteObject.java,
12988 java/rmi/server/UnicastRemoteObject.java,
12989 java/security/SecureClassLoader.java: Merged from Classpath.
12990
12991 2002-09-29 Anthony Green <green@redhat.com>
12992
12993 * java/lang/reflect/UndeclaredThrowableException.java: New file.
12994 Imported from GNU Classpath.
12995 * java/lang/reflect/natProxy.cc: New file.
12996 * java/lang/reflect/InvocationHandler.java: New file. Imported
12997 from GNU Classpath.
12998 * java/lang/reflect/Proxy.java: New file. Imported from GNU
12999 Classpath.
13000 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13001 Classpath.
13002 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13003 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13004 New statics.
13005 * gcj/javaprims.h ("Java"): Add new classes.
13006 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13007 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13008 java/lang/reflect/Proxy$$ProxyType.h): And this.
13009 (inner_nat_headers): Add these new headers.
13010 (ordinary_java_source_files): Add new files.
13011 (nat_source_files): Add new file.
13012 * Makefile.in: Rebuilt.
13013
13014 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
13015
13016 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13017 a single configuration.
13018
13019 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13020
13021 * java/util/TimeZone.java (getDSTSavings): New method.
13022 Fixes PR libgcj/7786.
13023
13024 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13025
13026 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13027 to see if `the_method == 0' before looking up vtable index.
13028 Fixes PR libgcj/7709.
13029
13030 2002-09-25 Tom Tromey <tromey@redhat.com>
13031
13032 * java/lang/natClassLoader.cc:
13033 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13034 * resolve.cc: Include NoClassDefFoundError.h, not
13035 ClassNotFoundException.h.
13036 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13037
13038 * defineclass.cc: Don't include ClassNotFoundException.h.
13039
13040 * resolve.cc: Include StringBuffer.
13041 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13042
13043 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13044 allocated but not initialized.
13045
13046 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13047
13048 Fix for PR libgcj/7766:
13049 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13050 (getNextEntry): Set it.
13051 (closeEntry): Likewise.
13052 (read): Likewise.
13053 (close): Likewise.
13054 (available): Use it.
13055
13056 2002-09-25 Michael Koch <konqueror@gmx.de>
13057
13058 * java/net/DatagramSocket.java
13059 (DatagramSocket): Initialize new instance variables.
13060 (close): Reset new instance variables.
13061 (getLocalAddress): Remove unneeded SecurityManager usage.
13062 (getLocalPort): Check if socket is already bound.
13063 (isConnected): New method.
13064 (getInetAddress): Implemented.
13065 (getPort): Better Implementation, documentation fixed.
13066 (getRemoteSocketAddress): New method.
13067 * java/net/JarURLConnection.java
13068 (element): Typo fixed.
13069 (getMainAttributes): New method.
13070 (getAttributes): New method (stub only).
13071 (getManifest): New method (stub only).
13072 * java/net/NetPermission.java: Added serialVersionsUID.
13073 * java/net/Socket.java
13074 (connect): Check blocking mode of associated channel,
13075 documentation added.
13076 (getLocalSocketAddress): Better implementation.
13077 (getRemoteSocketAddress): Implemented.
13078 (isBound): New method.
13079 (setSendBufferSize): Documentation added.
13080 * java/net/SocketAddress.java: Added serialVersionsUID.
13081 * java/net/SocketPermission.java: Added serialVersionsUID.
13082 * java/net/URL.java
13083 (URL): Wrap for shorter lines, initialize new instance variables,
13084 documentation added.
13085 (equals): Check new instance variables too.
13086 (getContent): Documentation added.
13087 (getPath): Documentation added.
13088 (getAuthority): New method.
13089 (getHost): Documentation added.
13090 (getPort): Documentation added.
13091 (getDefaultPort): New method.
13092 (getProtocol): Documentation added.
13093 (getUserInfo): Documentation added.
13094 (set): Initialize new instance variables, documentation added.
13095 * java/net/URLStreamHandler.java
13096 (setURL): New method.
13097 * java/net/natPlainDatagramSocketImpl.cc
13098 (connect): Fix exception name.
13099 (disconnect): Fix exception name.
13100
13101 2002-09-25 Michael Koch <konqueror@gmx.de>
13102
13103 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13104 * java/nio/channels/DatagramChannel.java:
13105 extends AbstractSelectableChannel
13106 * java/nio/channels/ServerSocketChannel.java:
13107 extends AbstractSelectableChannel
13108 * java/nio/channels/SocketChannel.java:
13109 extends AbstractSelectableChannel
13110 * Makefile.am (ordinary_java_source_files):
13111 java/nio/channels/spi/AbstractSelectableChannel.java added.
13112 * Makefile.in: Regenerated.
13113
13114 2002-09-25 Michael Koch <konqueror@gmx.de>
13115
13116 * java/net/DatagramSocket.java
13117 (DatagramSocket): Exception documentation added.
13118 (bind): Exception documentation added, addded SecurityManager check,
13119 added SocketAddress type check.
13120 (getSoTimeout): Check impl.
13121 (receive): Fix SecurityManager check, check impl, documentation added.
13122 (send): Check channel mode, documentation added.
13123 (connect): New method.
13124 (disconnect): Implemented.
13125 (getLocalSocketAddress): New method.
13126 (getReceiveBufferSize): Check impl.
13127 (setReuseAddress): Check impl.
13128 (getReuseAddress): Check impl.
13129 (setBroadcast): Check impl.
13130 (getBroadcast): Check impl.
13131 (setTrafficClass): Check impl, Documentation cleared.
13132 (getTrafficClass): Check impl.
13133 (getSendBufferSize): Check impl.
13134 (setReceiveBufferSize): Check impl, documentation added.
13135 (setSendBufferSize): Documentation added.
13136 (setDatagramSocketImplFactory): New method.
13137 * java/net/HttpURLConnection.java
13138 (HTTP_INTERNAL_ERROR): The correct code is 500.
13139 (HTTP_NOT_IMPLEMENTED): Added new constant.
13140 (setFollowRedirects): Documentation added.
13141 (getInstanceFollowRedirects): New method.
13142 (setInstanceFollowRedirects): New method.
13143 (setRequestMethod): Documentation added.
13144 (getResponseCode): Documentation added.
13145 (getResponseMessage): Documentation added.
13146 * java/net/JarURLConnection.java
13147 (JarURLConnection): protected since JDK 1.4.
13148 (getJarEntry): java.io.IOException to IOException, documentation added.
13149 (getJarFile): Documentation added.
13150 * java/net/ServerSocket.java
13151 (ServerSocket): Private to public, exception added.
13152 (ServerSocket): java.io.IOException to IOException, documentation added.
13153 (bind): Check socket address type, documentation added.
13154 (bind): java.io.IOException to IOException, documentation added.
13155 (accept): Documentation added.
13156 (implAccept): Check ch is not non-blocking, documentation added.
13157 (setSoTimeout): Documentation fixed.
13158 (setReceiveBufferSize): Documentation added.
13159 * java/net/Socket.java
13160 (Socket): Documentation added.
13161 (bind): Documentation added.
13162 (connect): Check socket address type, documentation added.
13163 (getRemoteSocketAddress): New method.
13164 (getLocalSocketAddress): New method.
13165 (setSoLinger): Documentation added.
13166 (getReuseAddress): New method.
13167 (setReuseAddress): New method.
13168 (getTrafficClass): New method.
13169 (setTrafficClass): New method.
13170 * java/net/URLStreamHandler.java
13171 (openConnection): java.io.IOException to IOException.
13172 (parseURL): Documentation added.
13173 (sameFile): public to protected, documentation added.
13174 (setURL): Documentation added.
13175 * java/nio/IllegalBlockingModeException.java: New file.
13176 * Makefile.am (ordinary_java_source_files):
13177 added java/nio/IllegalBlockingModeException.java
13178 * Makefile.in: Regenerated.
13179
13180 2002-09-25 Michael Koch <konqueror@gmx.de>
13181
13182 * java/net/DatagramPacket
13183 (DatagramPacket): Exception documentation added.
13184 (setData): Likewise.
13185 (setSocketAddress): Likewise.
13186 * java/net/DatagramSocketImpl.java
13187 (peek): Documentation addded.
13188 (peekData): Documentation addded.
13189 (send): Documentation addded.
13190 (receive): Documentation addded.
13191 (connect): New method.
13192 (disconnect): New method.
13193 (joinGroup): New abstract method.
13194 (leaveGroup): New abstract method.
13195 * java/net/InetSocketAddress.java
13196 (InetSocketAddress): Documentation added.
13197 (equals): final keyword added.
13198 (getAddress): final keyword added.
13199 (getHostName): final keyword added.
13200 (getPort): final keyword added.
13201 (hashCode): final keyword added.
13202 (isUnresolved): final keyword added.
13203 * java/net/MulticastSocket.java
13204 (MulticastSocket): Documentation added.
13205 (MulticastSocket): New method.
13206 (joinGroup): Documentation added.
13207 (joinGroup): New method.
13208 (leaveGroup): Documentation added.
13209 (leaveGroup): New method.
13210 (send): Documentation added.
13211 * java/net/NetworkInterface.java
13212 (getByName): Documentation added.
13213 (getByInetAddress): Documentation added.
13214 (getNetworkInterfaces): Documentation added.
13215 * java/net/PlainDatagramSocketImpl.java
13216 (connect): New method.
13217 (disconnect): New method.
13218 * java/net/SocketImpl.java
13219 (create): Documentation added.
13220 (shutdownInput): Convert public to protected, as it always was.
13221 (shutdownOutput): Convert public to protected, as it always was.
13222 * java/net/SocketOptions.java
13223 (whole file): Reintented.
13224 * java/net/URLClassLoader.java
13225 (URLClassLoader): SecurityManager check added, documentation added.
13226 (findResources): Documentation added.
13227 (findClass): Documentation added.
13228 (newInstance): More correct method arguments.
13229 * java/net/URLConnection.java
13230 (connect): Documentation added.
13231 (getContent): Documentation added.
13232 (getPermission): Documentation added.
13233 (getInputStream): Documentation added.
13234 (getOutputStream): Documentation added.
13235 (setDoInput): Throw correct exception, documentation added.
13236 (setDoOutput): Throw correct exception, documentation added.
13237 (setAllowUserInteraction): Throw correct exception, documentation added.
13238 (setUseCaches): Throw correct exception, documentation added.
13239 (setIfModifiedSince): Throw correct exception, documentation added.
13240 (setRequestProperty): Throw exception, documentation added.
13241 (addRequestProperty): Throw exception, documentation added.
13242 (getRequestProperty): Throw exception, documentation added.
13243 (getRequestProperties): Documentation added.
13244 (setContentHandlerFactory): Documentation added.
13245 (guessContentTypeFromName): protected to public.
13246 (setFileNameMap): Documentation added.
13247 * java/net/URLDecoder.java
13248 (URLDecoder): New method.
13249 (decode): Documentation added.
13250 (whole file): Reindented.
13251 * java/net/URLEncoder.java
13252 (encode): Documentation added.
13253 * java/net/natPlainDatagramSocketImpl.cc
13254 (connect): New method.
13255 (disconnect): New method.
13256 * javax/naming/RefAddr:
13257 (addrType): addrType was never final.
13258 (equals): Fix typo in method name.
13259 * javax/naming/BinaryRefAddr:
13260 (equals): Fix typo in method name.
13261
13262 2002-09-22 Tom Tromey <tromey@redhat.com>
13263
13264 Fix for PR libgcj/6576:
13265 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13266 didn't find a given bundle.
13267 (getBundle): Don't require base bundle.
13268 (setParent): Removed old comment.
13269 (tryLocalBundle): Try components even if preceding components were
13270 empty.
13271
13272 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13273
13274 * Makefile.am (all-multi): Fix multilib parallel build.
13275
13276 2002-09-21 Michael Koch <konqueror@gmx.de>
13277
13278 * java/net/Socket.java
13279 (sendUrgentData): New method.
13280 (getChannel): New method.
13281 * java/net/ServerSocket.java
13282 (getChannel): New method.
13283 (isBound): New method.
13284 * java/net/DatagramSocket.java
13285 (DatagramSocket): Two new methods.
13286 (bind): New method.
13287 (getChannel): New method.
13288 (isBound): New method.
13289 (send): Added newline to to make shorter lines.
13290 * java/net/PlainDatagramSocketImpl.java
13291 (mcastGrp): Added argument.
13292 (join): Use new mcastGrp.
13293 (leave): Use new mcastGrp.
13294 (joinGroup): New method.
13295 (leaveGroup): New method.
13296 * java/net/natPlainDatagramSocketImpl.cc
13297 (mcastGrp): Added argument, no yet really implemented.
13298 (getOption): Added newline for shorter lines.
13299 * java/net/natPlainSocketImpl.cc
13300 (read, setOption, getOption): Added newline for shorter lines.
13301
13302 2002-09-19 Tom Tromey <tromey@redhat.com>
13303
13304 * java/lang/ClassLoader.java (resolveClass0): Set cause for
13305 newly-created exception.
13306
13307 2002-09-18 Michael Koch <konqueror@gmx.de>
13308
13309 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13310 java/util/regex/PatternSyntaxException.java:
13311 Merge with classpath, new files.
13312 * Makefile.am (core_java_source_files):
13313 Added java/util/regex/Matcher.java,
13314 java/util/regex/Pattern.java,
13315 java/util/regex/PatternSyntaxException.java
13316 * Makefile.in: Regenerated.
13317 * include/config.h.in: Added HAVE_NET_IF_H.
13318 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13319 Removed #if 0 ... #endif.
13320
13321 2002-09-17 Michael Koch <konqueror@gmx.de>
13322
13323 * java/net/natNetworkInterface.cc:
13324 Removed unneed and yet wrong includes.
13325
13326 2002-09-17 Michael Koch <konqueror@gmx.de>
13327
13328 * java/net/NetworkInterface.java: New file.
13329 * java/net/natNetworkInterface.java: New file.
13330 * configure.in: Added check for net/if.h.
13331 * configure: Regenerated.
13332 * Makefile.am
13333 (ordinary_java_source_files): Added NetworkInterface.java.
13334 (nat_source_files): Added natNetworkInterface.cc.
13335 * Makefile.in: Regenerated.
13336
13337 2002-09-16 Tom Tromey <tromey@redhat.com>
13338
13339 * java/net/URLClassLoader.java (findClass): Code source for a
13340 class from a jar is not necessarily a jar: URL.
13341
13342 2002-09-16 Michael Koch <konqueror@gmx.de>
13343
13344 * java/lang/AssertionError.java:
13345 Merge with classpath, fixes HTML.
13346 * java/rmi/server/LogStream.java:
13347 Merge with classpath, fixes some constants.
13348 * java/net/server/RemoteServer.java:
13349 Merge with classpath, adds serialVersionUID.
13350 * javax/naming/BinaryRefAddr.java:
13351 Merge with classpath, s/equal/equals/.
13352 * javax/naming/NamingException.java:
13353 Merge with classpath, fixed typo.
13354 * javax/naming/RefAddr.java:
13355 Merge with classpath, s/equal/equals/.
13356 * java/awt/Toolkit.java:
13357 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13358 and typo fixed.
13359
13360 2002-09-15 Adam Megacz <adam@xwt.org>
13361
13362 * java/net/natPlainSocketImpl.cc: fixed typo.
13363
13364 2002-09-15 Adam Megacz <adam@xwt.org>
13365
13366 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
13367 which don't work on Win32 (yet).
13368
13369 2002-09-14 Adam Megacz <adam@xwt.org>
13370
13371 * java/net/natPlainDatagramSocket.cc: removed #include
13372 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13373 * include/win32.h: included definition for IP_TOS to satisfy
13374 natPlainDatagramSocket.cc
13375
13376 2002-09-13 Michael Koch <konqueror@gmx.de>
13377
13378 * java/net/DatagramPacket.java (DatagramPacket):
13379 Added linebreak for 80 chars per line.
13380 * java/net/JarURLConection.java
13381 (getInputStreami, getJarEntry): Likewise.
13382 * java/net/SocketPErmission.java
13383 (SocketPermission class docu, implies): Likewise.
13384 * java/net/URLClassLoader.java (findResources): Likewise.
13385 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13386
13387 2002-09-13 Michael Koch <konqueror@gmx.de>
13388
13389 * java/nio/channels/DatagramChannel.java,
13390 java/nio/channels/ServerSocketChannel.java
13391 java/nio/channels/SocketChannel.java:
13392 New dummy files to make java.net fully JDK 1.4 compatible
13393 * Makefile.am (ordinary_java_source_files): Added
13394 java/net/DatagramSocketImplFactory.java (long forgotten),
13395 java/nio/SocketChannel.java,
13396 java/nio/ServerSocketChannel.java,
13397 java/nio/DatagramChannel.java
13398 * Makefile.in: Regenrated.
13399
13400 2002-09-12 Michael Koch <konqueror@gmx.de>
13401
13402 * java/net/DatagramSocketImpl.java
13403 (peekData): New method.
13404 * java/net/PlainDatagramSocketImpl.java
13405 (peekData): New method.
13406 * java/net/natPlainDatagramSocketImpl.cc
13407 (peekData): New method.
13408 * java/net/URLConnection
13409 (getPermission): New method.
13410 (addRequestProperty): New method.
13411 (getRequestProperties): New method.
13412 (guessContentTypeFromStream): New method, not really implemented.
13413 (URLConnection): Added/updated documentation.
13414 (connect): Added/updated documentation.
13415 (getURL): Added/updated documentation.
13416 (getContentLength): Added/updated documentation.
13417 (getContentType: Added/updated documentation.
13418 (getContentEncoding): Added/updated documentation.
13419 (getExpiration): Added/updated documentation.
13420 (getDate): Added/updated documentation.
13421 (getLastModified): Added/updated documentation.
13422 (getHeaderField): Added/updated documentation.
13423 (getHeaderFields): Added/updated documentation.
13424 (getHeaderFieldInt): Added/updated documentation.
13425 (getHeaderFieldDate): Added/updated documentation.
13426 (getHeaderFieldKey): Added/updated documentation.
13427 (getContent): Added/updated documentation.
13428 (getInputStream): Added/updated documentation.
13429 (getOutputStream): Added/updated documentation.
13430 (toString): Added/updated documentation.
13431 (setDoInput): Added/updated documentation.
13432 (getDoInput): Added/updated documentation.
13433 (setDoOutput): Added/updated documentation.
13434 (getDoOutput): Added/updated documentation.
13435 (setAllowUserInteraction): Added/updated documentation.
13436 (getAllowUserInteraction): Added/updated documentation.
13437 (setDefaultAllowUserInteraction): Added/updated documentation.
13438 (getDefaultAllowUserInteraction): Added/updated documentation.
13439 (setUseCaches): Added/updated documentation.
13440 (getUseCaches): Added/updated documentation.
13441 (setIfModifiedSince): Added/updated documentation.
13442 (getIfModifiedSince): Added/updated documentation.
13443 (getDefaultUseCaches): Added/updated documentation.
13444 (setDefaultUseCaches): Added/updated documentation.
13445 (setRequestProperty): Added/updated documentation.
13446 (getRequestProperty): Added/updated documentation.
13447 (setDefaultRequestProperty): Added/updated documentation.
13448 (getDefaultRequestProperty): Added/updated documentation.
13449 (setContentHandlerFactory): Added/updated documentation.
13450 (guessContentTypeFromName): Added/updated documentation.
13451 (getFileNameMap): Added/updated documentation.
13452 (setFileNameMap): Added/updated documentation.
13453
13454 2002-09-11 Michael Koch <konqueror@gmx.de>
13455
13456 * java/net/Socket.java
13457 (Socket): protected to public (since JDK 1.4). Added @specnote.
13458 (bind): New method.
13459 (connect): Two new methods.
13460 (getKeepalive): Get correct socket option.
13461 (setKeepalive): Set correct socket option.
13462 (getOOBInline): New method.
13463 (setOOBInline): New method.
13464 * java/net/ServerSocket.java
13465 (bind): Two new methods.
13466 (getInetAddress): Reimplemented, catch exception.
13467 (getLocalSocketAddress): New method.
13468 (setReuseAddress): New method.
13469 (getReuseAdress): New method.
13470 (setReceiveBufferSize): New method.
13471 (getReceiveBufferSize): New method.
13472 (toString): Made string JDK 1.4 compliant.
13473
13474 2002-09-10 Michael Koch <konqueror@gmx.de>
13475
13476 * java/net/SocketImpl.java
13477 (connect): New method.
13478 (supportsUrgentData): New method.
13479 (sendUrgentData): New method.
13480 * java/net/PlainSocketImpl.java
13481 (connect): One new method and two new implementation.
13482 (sendUrgentData): New method.
13483 * java/natPlainSocketImpl.cc
13484 (connect): Arguments changed, added support for timeouts.
13485 (getOption): Another __java_boolean to jboolean.
13486
13487 2002-09-07 Adam Megacz <adam@xwt.org>
13488
13489 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
13490 definition of IP_TOS.
13491
13492 2002-09-04 Michael Koch <konqueror@gmx.de>
13493
13494 * java/net/DatagramSocket.java
13495 (DatagramSocket): Added documentation.
13496 (close): Likewise.
13497 (getLocalAddress): Likewise.
13498 (getLocalPort): Likewise.
13499 (receive): Likewise.
13500 (send): Likewise.
13501 (setSoTimeout): Likewise.
13502 (connect): New method.
13503 (disconnect): New method.
13504 (getInetAddress): New method (FIXME)
13505 (getPort): New method.
13506 (setReuseAddress): New method.
13507 (getReuseAddress): New method.
13508 (setBroadcast): New method.
13509 (getBroadcast): New method.
13510 (setTrafficClass): New method.
13511 (getTrafficClass): New method.
13512 * java/net/MulticastSocket.java):
13513 (getTTL): Added @see in documentation.
13514 (setTTL): Added @see in documentation.
13515 (setLoopbackMode): New method.
13516 (getLoopbackMode): New method.
13517 * java/net/PlainSocketImpl.java:
13518 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13519 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13520 * java/net/PlainDatagramSocketImpl.java
13521 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
13522 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13523 * java/net/natPlainSocketImpl.cc
13524 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13525 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13526 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13527 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13528 This should also fix SO_KEEPALIVE
13529 * java/net/natPlainDatagramSocketImpl.cc
13530 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13531 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13532 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
13533 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
13534
13535 2002-09-04 Michael Koch <konqueror@gmx.de>
13536
13537 * java/net/SocketOptions.java: added static variables to be JDK 1.4
13538 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
13539 IP_MULTICAST_LOOP, IP_TOS
13540
13541 2002-09-03 Tom Tromey <tromey@redhat.com>
13542
13543 * java/lang/Class.h (_getDeclaredMethod): Declare.
13544 (_getMethod): Now private.
13545 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
13546 getDeclaredMethod. Now returns NULL on failure.
13547 * java/lang/Class.java (_getDeclaredMethod): Declare.
13548 (getDeclaredMethod): No longer native; implements access checks.
13549
13550 2002-09-01 Mark Wielaard <mark@klomp.org>
13551
13552 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
13553 (sanitizeStack): Correctly reset unknown and interpreter counters,
13554 detect interpreter runtime frames.
13555 (demangleInterpreterMethod): New method.
13556 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
13557 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
13558 filling in addrs[].
13559
13560 2002-09-02 Michael Koch <konqueror@gmx.de>
13561
13562 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
13563 re-indented documentation.
13564
13565 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13566
13567 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
13568 public, per 1.4 spec. Fixes PR libgcj/7785.
13569
13570 2002-08-30 Jeff Sturm <jsturm@one-point.com>
13571
13572 * Makefile.in: Rebuilt.
13573 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
13574
13575 2002-08-29 Tom Tromey <tromey@redhat.com>
13576
13577 * java/net/JarURLConnection.java (getCertificates): New method
13578 from Classpath.
13579 * java/net/URLClassLoader.java (URLClassLoader): Extends
13580 SecureClassLoader.
13581 (definePackage): New method from Classpath.
13582 (getPermissions): Likewise.
13583 (newInstance): Likewise.
13584 (findClass): Construct CodeSource for new class (from Classpath).
13585 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
13586 methods.
13587 * java/net/URL.java (getUserInfo): New method.
13588 (set(String,String,int,String,String,String,String,String)): New
13589 method.
13590 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
13591 (shutdownInput, shutdownOutput): Declare.
13592 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
13593 Define.
13594 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
13595 (getOption): Likewise.
13596 (shutdownInput): New method.
13597 (shutdownOutput): Likewise.
13598 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
13599 keepalive.
13600 (getOption): Likewise.
13601 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
13602 * java/net/Socket.java (setKeepAlive): New method.
13603 (getKeepAlive): Likewise.
13604 (shutdownInput, shutdownOutput): New methods.
13605
13606 2002-08-29 Michael Koch <konqueror@gmx.de>
13607
13608 * java/net/DatagramPacket.java: updated to JDK 1.4 API
13609 new methods are:
13610 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
13611 address),
13612 DatagramPacket(byte[] buf, int length, SocketAddress address),
13613 void setSocketAddress(SocketAddress address)
13614 public SocketAddress getSocketAddress()
13615
13616 2002-08-29 Tom Tromey <tromey@redhat.com>
13617
13618 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
13619 ftruncate is missing.
13620 * configure, include/config.h.in: Rebuilt.
13621 * acconfig.h (HAVE_FTRUNCATE): Mention.
13622 * configure.in: Check for ftruncate.
13623
13624 2002-08-29 Tom Tromey <tromey@redhat.com>
13625
13626 * include/jvm.h (struct _Jv_frame_info): New structure.
13627 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
13628 java-interp.h.
13629 (lookupInterp): New method.
13630 (getAddrAsString): Use _Jv_frame_info.
13631 (dladdrLookup): Likewise.
13632 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
13633 interpreted frame.
13634 (lookupInterp): Declare.
13635 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
13636 (fillInStackTrace): Collect information on interpreted frames.
13637 Use _Jv_frame_info.
13638 * interpret.cc: Include Thread.h.
13639 (run): Create and push _Jv_MethodChain object.
13640 (_Jv_EndOfInterpreter): New global.
13641 * java/lang/Thread.java (interp_frame): New field.
13642 * include/java-interp.h (struct _Jv_MethodChain): New structure.
13643 Include NameFinder.h.
13644
13645 2002-08-28 Tom Tromey <tromey@redhat.com>
13646
13647 * java/lang/Class.h: Include Package.h.
13648 (Class::getProtectionDomain): Declare.
13649 (Class::getPackage): Declare.
13650
13651 2002-08-28 Michael Koch <konqueror@gmx.de>
13652
13653 * java/net/InetSocketAddress.java: Added some documentation and argument
13654 checks for the port numbers.
13655 * java/net/DatagramSocketImplFactory.java: New file.
13656
13657 2002-08-28 Michael Koch <konqueror@gmx.de>
13658
13659 * java/net/Authenticator.java: added some documentation.
13660
13661 2002-08-27 Tom Tromey <tromey@redhat.com>
13662
13663 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
13664 class.
13665 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
13666
13667 2002-08-27 Michael Koch <konqueror@gmx.de>
13668
13669 * java/net/BindException.java,
13670 java/net/JarURLConnection.java,
13671 java/net/FileNameMap.java,
13672 java/net/HttpURLConnection.java,
13673 java/net/InetSocketAddress.java,
13674 java/net/DatagramPacket.java,
13675 java/net/DatagramSocket.java,
13676 java/net/DatagramSocketImpl.java,
13677 java/net/MulticastSocket.java,
13678 java/net/PasswordAuthentication.java,
13679 java/net/ServerSocket.java,
13680 java/net/Socket.java,
13681 java/net/URLClassLoader.java,
13682 java/net/URLConnection.java: add/update of some @since/@deprecated
13683
13684 2002-08-27 Tony Kimball <alk@pobox.com>
13685 Tom Tromey <tromey@redhat.com>
13686
13687 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
13688 define.
13689 (::close): Removed.
13690 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
13691 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
13692 (::close): Removed.
13693 (PlainSocketImpl::close): Use NATIVE_CLOSE.
13694 * include/win32.h (getcwd): Removed declaration. Include io.h.
13695
13696 2002-08-25 Adam Megacz <adam@xwt.org>
13697
13698 * include/win32.h (getcwd): copied function declaration as
13699 temporary fix for header confusion.
13700
13701 2002-08-24 Mark Wielaard <mark@klomp.org>
13702
13703 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
13704 (core_java_source_files): Add VMThrowable.java and NameFinder.java
13705 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
13706 and natNameFinder.cc.
13707 * Makefile.in: Regenerate.
13708 * prims.cc: Use trace_enabled from VMThrowable.
13709 * name-finder.cc: Removed.
13710 * gcj/javaprims.h: Add class VMThrowable.
13711 * gnu/gcj/runtime/NameFinder.java: New file.
13712 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
13713 * include/name-finder.h: Removed.
13714 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
13715 method stackTraceString().
13716 (printStackTrace (PrintWriter)): Likewise.
13717 (stackTraceString): Complete rewrite of old printStackTrace using
13718 StringBuffer.
13719 (stackTraceStringBuffer): New helper method for stackTraceString().
13720 (fillInStackTrace): Delegate to VMTrowable.
13721 (getStackTrace): Likewise.
13722 (getStackTrace0): Removed.
13723 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
13724 (setStackTrace): Copy given array.
13725 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
13726 * java/lang/VMThrowable.java: New class.
13727 * java/lang/natVMThrowable.cc: New file.
13728
13729 2003-08-23 Michael Koch <konqueror@gmx.de>
13730
13731 * java/net/URLConnection.java,
13732 java/netJarURLConnection.java,
13733 gnu/gcj/protocol/core/Connection.java,
13734 gnu/gcj/protocol/file/Connection.java,
13735 gnu/gcj/protocol/http/Connection.java: Added implementation of
13736 getHeaderFields().
13737
13738 2002-08-22 Tom Tromey <tromey@redhat.com>
13739
13740 * gij.cc (help): Document -cp and -classpath.
13741 (main): Handle -classpath.
13742
13743 2002-08-21 Tom Tromey <tromey@redhat.com>
13744
13745 * Makefile.in: Rebuilt.
13746 * Makefile.am (ordinary_java_source_files): Added
13747 SocketAddress.java, InetSocketAddress.java.
13748 * java/net/PortUnreachableException.java: Merged with Classpath.
13749 * java/net/SocketTimeoutException.java: Likewise.
13750 * java/net/URISyntaxException.java: Likewise.
13751 * java/net/SocketAddress.java: New class from Classpath.
13752 * java/net/InetSocketAddress.java: Likewise.
13753
13754 2003-08-21 Michael Koch <konqueror@gmx.de>
13755
13756 * java/net/Authenticator.java: updated JDK 1.4
13757 * java/net/ContentHandler.java: updated JDK 1.4
13758
13759 2002-08-20 Michael Koch <konqueror@gmx.de>
13760
13761 * java/net/URISyntaxException.java: New file.
13762 * java/net/SocketTimeoutException.java: New file.
13763 * java/net/PortUnreachableException.java: New file.
13764 * Makefile.am: Updated.
13765 * Makefile.in: Rebuilt.
13766
13767 2002-08-18 Mark Wielaard <mark@klomp.org>
13768
13769 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
13770 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13771 MessageDigestSpi (fixes Classpath bug #783).
13772
13773 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13774
13775 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
13776 (startProcess): Allocate path for chdir in async-signal-safe way.
13777
13778 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13779
13780 Fix for PR libgcj/7570 and PR libgcj/7578:
13781 * java/lang/natPosixProcess.cc: Include java/io/File.h.
13782 (startProcess): Handle new `dir' argument.
13783 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
13784 argument.
13785 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
13786 argument.
13787 (startProcess): Likewise.
13788 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
13789 argument.
13790 * java/lang/Runtime.java (execInternal): Added `dir' argument.
13791 (exec): Don't create new environment if ENV==null. Pass DIR to
13792 execInternal.
13793 * java/lang/natRuntime.cc: Include java/io/File.h.
13794 (execInternal): Added `dir' argument.
13795
13796 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
13797
13798 * java/io/RandomAccessFile.java (skipBytes): Return number of
13799 bytes skipped.
13800
13801 2002-08-01 Mark Wielaard <mark@klomp.org>
13802
13803 Reenable patch since shared library troubles on powerpc are solved:
13804 * gnu/java/security/provider/Gnu.java: Reference all implementation
13805 classes by using Class.getName().
13806 * gnu/java/security/der/DEREncodingException.java,
13807 gnu/java/security/provider/DERReader.java,
13808 gnu/java/security/provider/DERWriter.java,
13809 gnu/java/security/provider/DSAKeyPairGenerator.java,
13810 gnu/java/security/provider/DSAParameterGenerator.java,
13811 gnu/java/security/provider/DSAParameters.java,
13812 gnu/java/security/provider/DSASignature.java,
13813 gnu/java/security/provider/GnuDSAPrivateKey.java,
13814 gnu/java/security/provider/GnuDSAPublicKey.java,
13815 gnu/java/security/provider/MD5.java,
13816 gnu/java/security/util/Prime.java: New classes
13817 * Makefile.am (ordinary_java_source_files): Add above files.
13818 * Makefile.in: Regenerate.
13819 * gnu/java/security/provider/DefaultPolicy.java
13820 (getPermissions): Don't maintain static class variable of Permissions.
13821 * gnu/java/security/provider/SHA.java
13822 (engineUpdate): algorithm change.
13823 (engineDigest): algorithm change.
13824
13825 2002-08-09 Mark Wielaard <mark@klomp.org>
13826
13827 * java/awt/image/MemoryImageSource.java: Change constructor to take
13828 int[] not byte[].
13829 * java/awt/Graphics2D.java: Uncomment methods that can now be
13830 compiled.
13831 * java/awt/GridBagLayout.java: New stub implementation.
13832 * javax/swing/text/html/HTML.java: Stub implementation.
13833 * javax/swing/text/html/parser/ParserDelegator.java: New stub
13834 implementation.
13835
13836 * Makefile.am: Add new files.
13837 * Makefile.in: Rebuilt.
13838
13839 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13840
13841 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
13842 methods in Graphics2D.
13843
13844 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13845
13846 AWT/Swing merge from GNU Classpath.
13847
13848 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
13849 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
13850 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
13851 java/awt/color/ProfileDataException.java,
13852 java/awt/CompositeContext.java, java/awt/Composite.java,
13853 java/awt/ContainerOrderFocusTraversalPolicy.java,
13854 java/awt/datatransfer/FlavorTable.java,
13855 java/awt/DefaultFocusTraversalPolicy.java,
13856 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
13857 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
13858 java/awt/dnd/DragGestureListener.java,
13859 java/awt/dnd/DragGestureRecognizer.java,
13860 java/awt/dnd/DragSourceAdapter.java,
13861 java/awt/dnd/DragSourceContext.java,
13862 java/awt/dnd/DragSourceDragEvent.java,
13863 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
13864 java/awt/dnd/DragSourceListener.java,
13865 java/awt/dnd/DragSourceMotionListener.java,
13866 java/awt/dnd/DropTarget.java,
13867 java/awt/dnd/InvalidDnDOperationException.java,
13868 java/awt/dnd/peer/DragSourceContextPeer.java,
13869 java/awt/event/AWTEventListenerProxy.java,
13870 java/awt/event/MouseWheelEvent.java,
13871 java/awt/event/MouseWheelListener.java,
13872 java/awt/event/WindowFocusListener.java,
13873 java/awt/event/WindowStateListener.java,
13874 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
13875 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
13876 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
13877 java/awt/geom/FlatteningPathIterator.java,
13878 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
13879 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
13880 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
13881 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
13882 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
13883 java/awt/image/ImagingOpException.java,
13884 java/awt/image/RasterFormatException.java,
13885 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
13886 java/awt/image/VolatileImage.java,
13887 java/awt/image/WritableRenderedImage.java,
13888 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
13889 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
13890 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
13891 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
13892 java/awt/PageAttributes.java, java/awt/print/Book.java,
13893 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
13894 java/awt/print/Paper.java, java/awt/print/Printable.java,
13895 java/awt/print/PrinterAbortException.java,
13896 java/awt/print/PrinterException.java,
13897 java/awt/print/PrinterGraphics.java,
13898 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
13899 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
13900 java/awt/Stroke.java, java/awt/TexturePaint.java,
13901 javax/accessibility/AccessibleAction.java,
13902 javax/accessibility/AccessibleBundle.java,
13903 javax/accessibility/AccessibleComponent.java,
13904 javax/accessibility/AccessibleContext.java,
13905 javax/accessibility/AccessibleEditableText.java,
13906 javax/accessibility/AccessibleExtendedComponent.java,
13907 javax/accessibility/AccessibleExtendedTable.java,
13908 javax/accessibility/AccessibleHyperlink.java,
13909 javax/accessibility/AccessibleHypertext.java,
13910 javax/accessibility/AccessibleIcon.java,
13911 javax/accessibility/Accessible.java,
13912 javax/accessibility/AccessibleKeyBinding.java,
13913 javax/accessibility/AccessibleRelation.java,
13914 javax/accessibility/AccessibleRelationSet.java,
13915 javax/accessibility/AccessibleResourceBundle.java,
13916 javax/accessibility/AccessibleRole.java,
13917 javax/accessibility/AccessibleSelection.java,
13918 javax/accessibility/AccessibleState.java,
13919 javax/accessibility/AccessibleStateSet.java,
13920 javax/accessibility/AccessibleTable.java,
13921 javax/accessibility/AccessibleTableModelChange.java,
13922 javax/accessibility/AccessibleText.java,
13923 javax/accessibility/AccessibleValue.java,
13924 javax/swing/AbstractAction.java,
13925 javax/swing/AbstractButton.java,
13926 javax/swing/AbstractCellEditor.java,
13927 javax/swing/AbstractListModel.java,
13928 javax/swing/AbstractSet.java, javax/swing/Action.java,
13929 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
13930 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
13931 javax/swing/border/CompoundBorder.java,
13932 javax/swing/border/EmptyBorder.java,
13933 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
13934 javax/swing/border/LineBorder.java,
13935 javax/swing/border/MatteBorder.java,
13936 javax/swing/border/TitledBorder.java,
13937 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
13938 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
13939 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
13940 javax/swing/CellRendererPane.java,
13941 javax/swing/colorchooser/AbstractColorChooserPanel.java,
13942 javax/swing/colorchooser/ColorChooserComponentFactory.java,
13943 javax/swing/colorchooser/ColorSelectionModel.java,
13944 javax/swing/colorchooser/DefaultColorSelectionModel.java,
13945 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
13946 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
13947 javax/swing/DefaultBoundedRangeModel.java,
13948 javax/swing/DefaultButtonModel.java,
13949 javax/swing/DefaultCellEditor.java,
13950 javax/swing/DefaultCellRenderer.java,
13951 javax/swing/DefaultComboBoxModel.java,
13952 javax/swing/DefaultDesktopManager.java,
13953 javax/swing/DefaultFocusManager.java,
13954 javax/swing/DefaultListCellRenderer.java,
13955 javax/swing/DefaultListModel.java,
13956 javax/swing/DefaultListSelectionModel.java,
13957 javax/swing/DefaultSingleSelectionModel.java,
13958 javax/swing/DesktopManager.java,
13959 javax/swing/event/AncestorEvent.java,
13960 javax/swing/event/AncestorListener.java,
13961 javax/swing/event/CaretEvent.java,
13962 javax/swing/event/CaretListener.java,
13963 javax/swing/event/CellEditorListener.java,
13964 javax/swing/event/ChangeEvent.java,
13965 javax/swing/event/ChangeListener.java,
13966 javax/swing/event/DocumentEvent.java,
13967 javax/swing/event/DocumentListener.java,
13968 javax/swing/event/EventListenerList.java,
13969 javax/swing/event/HyperlinkEvent.java,
13970 javax/swing/event/HyperlinkListener.java,
13971 javax/swing/event/InternalFrameAdapter.java,
13972 javax/swing/event/InternalFrameEvent.java,
13973 javax/swing/event/InternalFrameListener.java,
13974 javax/swing/event/ListDataEvent.java,
13975 javax/swing/event/ListDataListener.java,
13976 javax/swing/event/ListSelectionEvent.java,
13977 javax/swing/event/ListSelectionListener.java,
13978 javax/swing/event/MenuDragMouseEvent.java,
13979 javax/swing/event/MenuDragMouseListener.java,
13980 javax/swing/event/MenuEvent.java,
13981 javax/swing/event/MenuKeyEvent.java,
13982 javax/swing/event/MenuKeyListener.java,
13983 javax/swing/event/MenuListener.java,
13984 javax/swing/event/MouseInputAdapter.java,
13985 javax/swing/event/MouseInputListener.java,
13986 javax/swing/event/PopupMenuEvent.java,
13987 javax/swing/event/PopupMenuListener.java,
13988 javax/swing/event/SwingPropertyChangeSupport.java,
13989 javax/swing/event/TableColumnModelEvent.java,
13990 javax/swing/event/TableColumnModelListener.java,
13991 javax/swing/event/TableModelEvent.java,
13992 javax/swing/event/TableModelListener.java,
13993 javax/swing/event/TreeExpansionEvent.java,
13994 javax/swing/event/TreeExpansionListener.java,
13995 javax/swing/event/TreeModelEvent.java,
13996 javax/swing/event/TreeModelListener.java,
13997 javax/swing/event/TreeSelectionEvent.java,
13998 javax/swing/event/TreeSelectionListener.java,
13999 javax/swing/event/TreeWillExpandListener.java,
14000 javax/swing/event/UndoableEditEvent.java,
14001 javax/swing/event/UndoableEditListener.java,
14002 javax/swing/filechooser/FileFilter.java,
14003 javax/swing/filechooser/FileSystemView.java,
14004 javax/swing/filechooser/FileView.java,
14005 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14006 javax/swing/Icon.java, javax/swing/ImageIcon.java,
14007 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14008 javax/swing/JApplet.java, javax/swing/JButton.java,
14009 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14010 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14011 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14012 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14013 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14014 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14015 javax/swing/JLayeredPane.java, javax/swing/JList.java,
14016 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14017 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14018 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14019 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14020 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14021 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14022 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14023 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14024 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14025 javax/swing/JTextField.java, javax/swing/JTextPane.java,
14026 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14027 javax/swing/JToolTip.java, javax/swing/JTree.java,
14028 javax/swing/JViewport.java, javax/swing/JWindow.java,
14029 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14030 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14031 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14032 javax/swing/MenuSelectionManager.java,
14033 javax/swing/MutableComboBoxModel.java,
14034 javax/swing/OverlayLayout.java,
14035 javax/swing/plaf/ActionMapUIResource.java,
14036 javax/swing/plaf/basic/BasicBorders.java,
14037 javax/swing/plaf/basic/BasicButtonUI.java,
14038 javax/swing/plaf/basic/BasicCheckBoxUI.java,
14039 javax/swing/plaf/basic/BasicDefaults.java,
14040 javax/swing/plaf/basic/BasicGraphicsUtils.java,
14041 javax/swing/plaf/basic/BasicIconFactory.java,
14042 javax/swing/plaf/basic/BasicLabelUI.java,
14043 javax/swing/plaf/basic/BasicListUI.java,
14044 javax/swing/plaf/basic/BasicLookAndFeel.java,
14045 javax/swing/plaf/basic/BasicOptionPaneUI.java,
14046 javax/swing/plaf/basic/BasicPanelUI.java,
14047 javax/swing/plaf/basic/BasicRadioButtonUI.java,
14048 javax/swing/plaf/basic/BasicScrollPaneUI.java,
14049 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14050 javax/swing/plaf/basic/BasicTextUI.java,
14051 javax/swing/plaf/basic/BasicToggleButtonUI.java,
14052 javax/swing/plaf/basic/BasicTreeUI.java,
14053 javax/swing/plaf/basic/BasicViewportUI.java,
14054 javax/swing/plaf/BorderUIResource.java,
14055 javax/swing/plaf/ButtonUI.java,
14056 javax/swing/plaf/ColorChooserUI.java,
14057 javax/swing/plaf/ColorUIResource.java,
14058 javax/swing/plaf/ComboBoxUI.java,
14059 javax/swing/plaf/ComponentInputMapUIResource.java,
14060 javax/swing/plaf/ComponentUI.java,
14061 javax/swing/plaf/DesktopIconUI.java,
14062 javax/swing/plaf/DesktopPaneUI.java,
14063 javax/swing/plaf/DimensionUIResource.java,
14064 javax/swing/plaf/FileChooserUI.java,
14065 javax/swing/plaf/FontUIResource.java,
14066 javax/swing/plaf/IconUIResource.java,
14067 javax/swing/plaf/InputMapUIResource.java,
14068 javax/swing/plaf/InsetsUIResource.java,
14069 javax/swing/plaf/InternalFrameUI.java,
14070 javax/swing/plaf/LabelUI.java,
14071 javax/swing/plaf/ListUI.java,
14072 javax/swing/plaf/MenuBarUI.java,
14073 javax/swing/plaf/MenuItemUI.java,
14074 javax/swing/plaf/OptionPaneUI.java,
14075 javax/swing/plaf/PanelUI.java,
14076 javax/swing/plaf/PopupMenuUI.java,
14077 javax/swing/plaf/ProgressBarUI.java,
14078 javax/swing/plaf/RootPaneUI.java,
14079 javax/swing/plaf/ScrollBarUI.java,
14080 javax/swing/plaf/ScrollPaneUI.java,
14081 javax/swing/plaf/SeparatorUI.java,
14082 javax/swing/plaf/SliderUI.java,
14083 javax/swing/plaf/SplitPaneUI.java,
14084 javax/swing/plaf/TabbedPaneUI.java,
14085 javax/swing/plaf/TableHeaderUI.java,
14086 javax/swing/plaf/TableUI.java,
14087 javax/swing/plaf/TextUI.java,
14088 javax/swing/plaf/ToolBarUI.java,
14089 javax/swing/plaf/ToolTipUI.java,
14090 javax/swing/plaf/TreeUI.java,
14091 javax/swing/plaf/UIResource.java,
14092 javax/swing/plaf/ViewportUI.java,
14093 javax/swing/ProgressMonitorInputStream.java,
14094 javax/swing/ProgressMonitor.java,
14095 javax/swing/Renderer.java,
14096 javax/swing/RepaintManager.java,
14097 javax/swing/RootPaneContainer.java,
14098 javax/swing/Scrollable.java,
14099 javax/swing/ScrollPaneConstants.java,
14100 javax/swing/ScrollPaneLayout.java,
14101 javax/swing/SingleSelectionModel.java,
14102 javax/swing/SizeRequirements.java,
14103 javax/swing/SizeSequence.java,
14104 javax/swing/SwingConstants.java,
14105 javax/swing/SwingUtilities.java,
14106 javax/swing/table/AbstractTableModel.java,
14107 javax/swing/table/DefaultTableCellRenderer.java,
14108 javax/swing/table/DefaultTableColumnModel.java,
14109 javax/swing/table/DefaultTableModel.java,
14110 javax/swing/table/TableCellEditor.java,
14111 javax/swing/table/TableCellRenderer.java,
14112 javax/swing/table/TableColumn.java,
14113 javax/swing/table/TableColumnModel.java,
14114 javax/swing/table/TableModel.java,
14115 javax/swing/text/AbstractDocument.java,
14116 javax/swing/text/AttributeSet.java,
14117 javax/swing/text/BadLocationException.java,
14118 javax/swing/text/Caret.java,
14119 javax/swing/text/CharacterIterator.java,
14120 javax/swing/text/ComponentView.java,
14121 javax/swing/text/DefaultCaret.java,
14122 javax/swing/text/DefaultEditorKit.java,
14123 javax/swing/text/Document.java,
14124 javax/swing/text/EditorKit.java,
14125 javax/swing/text/Element.java,
14126 javax/swing/text/GapContent.java,
14127 javax/swing/text/JTextComponent.java,
14128 javax/swing/text/Keymap.java,
14129 javax/swing/text/MutableAttributeSet.java,
14130 javax/swing/text/PlainDocument.java,
14131 javax/swing/text/PlainEditorKit.java,
14132 javax/swing/text/Position.java,
14133 javax/swing/text/Segment.java,
14134 javax/swing/text/StyledDocument.java,
14135 javax/swing/text/StyledEditorKit.java,
14136 javax/swing/text/Style.java,
14137 javax/swing/text/TextAction.java,
14138 javax/swing/text/ViewFactory.java,
14139 javax/swing/text/View.java,
14140 javax/swing/Timer.java,
14141 javax/swing/ToggleButtonModel.java,
14142 javax/swing/ToolTipManager.java,
14143 javax/swing/tree/AbstractLayoutCache.java,
14144 javax/swing/tree/DefaultMutableTreeNode.java,
14145 javax/swing/tree/DefaultTreeCellEditor.java,
14146 javax/swing/tree/DefaultTreeCellRenderer.java,
14147 javax/swing/tree/DefaultTreeModel.java,
14148 javax/swing/tree/DefaultTreeSelectionModel.java,
14149 javax/swing/tree/ExpandVetoException.java,
14150 javax/swing/tree/FixedHeightLayoutCache.java,
14151 javax/swing/tree/MutableTreeNode.java,
14152 javax/swing/tree/RowMapper.java,
14153 javax/swing/tree/TreeCellEditor.java,
14154 javax/swing/tree/TreeCellRenderer.java,
14155 javax/swing/tree/TreeModel.java,
14156 javax/swing/tree/TreeNode.java,
14157 javax/swing/tree/TreePath.java,
14158 javax/swing/tree/TreeSelectionModel.java,
14159 javax/swing/tree/VariableHeightLayoutCache.java,
14160 javax/swing/UIDefaults.java,
14161 javax/swing/UIManager.java,
14162 javax/swing/undo/AbstractUndoableEdit.java,
14163 javax/swing/undo/CannotRedoException.java,
14164 javax/swing/undo/CannotUndoException.java,
14165 javax/swing/undo/CompoundEdit.java,
14166 javax/swing/undo/StateEditable.java,
14167 javax/swing/undo/StateEdit.java,
14168 javax/swing/undo/UndoableEdit.java,
14169 javax/swing/undo/UndoableEditSupport.java,
14170 javax/swing/undo/UndoManager.java,
14171 javax/swing/UnsupportedLookAndFeelException.java,
14172 javax/swing/ViewportLayout.java,
14173 javax/swing/WindowConstants.java: New files, from GNU Classpath.
14174
14175 * java/awt/ActiveEvent.java,
14176 java/awt/Adjustable.java, java/awt/AWTError.java,
14177 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14178 java/awt/AWTException.java, java/awt/AWTPermission.java,
14179 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14180 java/awt/Color.java, java/awt/Component.java,
14181 java/awt/ComponentOrientation.java, java/awt/Container.java,
14182 java/awt/datatransfer/MimeTypeParseException.java,
14183 java/awt/datatransfer/Transferable.java,
14184 java/awt/datatransfer/UnsupportedFlavorException.java,
14185 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14186 java/awt/event/ActionListener.java,
14187 java/awt/event/AdjustmentEvent.java,
14188 java/awt/event/AdjustmentListener.java,
14189 java/awt/event/AWTEventListener.java,
14190 java/awt/event/ComponentAdapter.java,
14191 java/awt/event/ComponentEvent.java,
14192 java/awt/event/ComponentListener.java,
14193 java/awt/event/ContainerAdapter.java,
14194 java/awt/event/ContainerEvent.java,
14195 java/awt/event/ContainerListener.java,
14196 java/awt/event/FocusAdapter.java,
14197 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14198 java/awt/event/HierarchyBoundsAdapter.java,
14199 java/awt/event/HierarchyBoundsListener.java,
14200 java/awt/event/HierarchyEvent.java,
14201 java/awt/event/HierarchyListener.java,
14202 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14203 java/awt/event/InputMethodListener.java,
14204 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14205 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14206 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14207 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14208 java/awt/event/MouseListener.java,
14209 java/awt/event/MouseMotionAdapter.java,
14210 java/awt/event/MouseMotionListener.java,
14211 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14212 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14213 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14214 java/awt/event/WindowListener.java, java/awt/Font.java,
14215 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14216 java/awt/geom/Ellipse2D.java,
14217 java/awt/geom/IllegalPathStateException.java,
14218 java/awt/geom/Line2D.java,
14219 java/awt/geom/NoninvertibleTransformException.java,
14220 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14221 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14222 java/awt/geom/RoundRectangle2D.java,
14223 java/awt/GraphicsConfiguration.java,
14224 java/awt/IllegalComponentStateException.java,
14225 java/awt/image/IndexColorModel.java,
14226 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14227 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14228 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14229 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14230 java/awt/MenuItem.java, java/awt/PaintContext.java,
14231 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14232 java/awt/Polygon.java, java/awt/PrintGraphics.java,
14233 java/awt/PrintJob.java, java/awt/Rectangle.java,
14234 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14235 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14236 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14237
14238 * java/awt/im/spi/InputMethod.java,
14239 java/awt/im/spi/InputMethodContext.java,
14240 java/awt/im/spi/InputMethodDescriptor.java,
14241 java/awt/image/renderable/ContextualRenderedImageFactory.java,
14242 java/awt/image/renderable/ParameterBlock.java,
14243 java/awt/image/renderable/RenderContext.java,
14244 java/awt/image/renderable/RenderableImage.java,
14245 java/awt/image/renderable/RenderableImageOp.java,
14246 java/awt/image/renderable/RenderableImageProducer.java,
14247 java/awt/image/renderable/RenderedImageFactory.java: New files from
14248 classpath.
14249
14250 * gnu/java/awt/EventModifier.java,
14251 gnu/java/awt/image/ImageDecoder.java,
14252 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14253
14254 * gnu/awt/xlib/XGraphicsConfiguration.java,
14255 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14256 API.
14257
14258 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14259 GNU Classpath.
14260
14261 * Makefile.am: Add new files.
14262 * Makefile.in: Rebuilt.
14263
14264 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14265
14266 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14267 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14268 findResource, getResources, findResources): Add javadoc from classpath.
14269 (getSystemResources): Implemented.
14270
14271 2002-08-01 Mark Wielaard <mark@klomp.org>
14272
14273 Revert patch that breaks libgcj shared library on powerpc:
14274 * gnu/java/security/provider/Gnu.java: Reverse referencing all
14275 implementation classes by using Class.getName(). Uses Strings again.
14276 * gnu/java/security/der/DEREncodingException.java,
14277 gnu/java/security/provider/DERReader.java,
14278 gnu/java/security/provider/DERWriter.java,
14279 gnu/java/security/provider/DSAKeyPairGenerator.java,
14280 gnu/java/security/provider/DSAParameterGenerator.java,
14281 gnu/java/security/provider/DSAParameters.java,
14282 gnu/java/security/provider/DSASignature.java,
14283 gnu/java/security/provider/GnuDSAPrivateKey.java,
14284 gnu/java/security/provider/GnuDSAPublicKey.java,
14285 gnu/java/security/provider/MD5.java,
14286 gnu/java/security/util/Prime.java: Removed.
14287 * Makefile.am (ordinary_java_source_files): Remove above files.
14288 * Makefile.in: Regenerate.
14289 * gnu/java/security/provider/DefaultPolicy.java
14290 (getPermissions): Revert to maintaining static class variable of
14291 Permissions.
14292 * gnu/java/security/provider/SHA.java
14293 (engineUpdate): Revert algorithm change.
14294 (engineDigest): Revert algorithm change.
14295
14296 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
14297
14298 * configure.host: Add SH support.
14299 * sysdep/sh/locks.h: New file.
14300
14301 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14302
14303 * java/awt/Frame.java (Frame): Remove println calls.
14304
14305 2002-07-30 Jeff Sturm <jsturm@one-point.com>
14306
14307 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14308 * configure: Rebuilt.
14309
14310 2002-07-27 Alan Modra <amodra@bigpond.net.au>
14311
14312 * sysdep/powerpc/locks.h: Formatting.
14313 (_LARX): Define.
14314 (_STCX): Define.
14315 (compare_and_swap): Use _LARX and _STCX.
14316 (compare_and_swap_release): Likewise.
14317
14318 2002-07-26 Tom Tromey <tromey@redhat.com>
14319
14320 * java/net/Authenticator.java: New version from Classpath.
14321 * java/net/DatagramSocketImpl.java: New version from Classpath.
14322
14323 2002-07-27 Alan Modra <amodra@bigpond.net.au>
14324
14325 * configure.host: Add powerpc64*-* entry.
14326
14327 2002-07-26 Tom Tromey <tromey@redhat.com>
14328
14329 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14330 fcntl.h.
14331
14332 2002-07-24 Tom Tromey <tromey@redhat.com>
14333
14334 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14335 argument to _load.
14336
14337 2002-07-24 Tom Tromey <tromey@redhat.com>
14338 Tony Kimball <alk@pobox.com>
14339
14340 * java/io/natFileDescriptorWin32.cc (setLength): New method.
14341 * java/io/natFileDescriptorPosix.cc (setLength): New method.
14342 * java/io/RandomAccessFile.java (setLength): New method.
14343 * java/io/natFileDescriptorEcos.cc (setLength): New method.
14344 * java/io/FileDescriptor.java (setLength): New method.
14345
14346 2002-07-24 Mark Wielaard <mark@klomp.org>
14347
14348 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14349 * java/io/ObjectInputStream.java (setBooleanField): Before setting
14350 field call setAccessible(true).
14351 (setByteField): Likewise.
14352 (setCharField): Likewise.
14353 (setDoubleField): Likewise.
14354 (setFloatField): Likewise.
14355 (setIntField): Likewise.
14356 (setLongField): Likewise.
14357 (setShortField): Likewise.
14358 (setObjectField): Likewise.
14359
14360 2002-07-24 Tom Tromey <tromey@redhat.com>
14361
14362 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
14363 use toString() to format array element.
14364
14365 2002-07-23 Mark Wielaard <mark@klomp.org>
14366
14367 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14368 MessageDigestSpi (fixes Classpath bug #783).
14369
14370 2002-07-21 Mark Wielaard <mark@klomp.org>
14371
14372 * gnu/java/security/provider/Gnu.java: Reference all implementation
14373 classes by using Class.getName().
14374
14375 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
14376
14377 * java/lang/ieeefp.h: Add x86-64 support.
14378 * configure.in: Likewise.
14379 * configure.host: Likewise.
14380 * configure: Regenerated.
14381 * sysdep/x86-64/locks.h: New file with x86-64 locks.
14382
14383 2002-07-16 Mark Wielaard <mark@klomp.org>
14384
14385 * java/io/StreamTokenizer.java (pushBack): Update documentation.
14386 (whitespaceChars): call resetChar().
14387
14388 2002-07-15 Tom Tromey <tromey@redhat.com>
14389
14390 * Makefile.in: Rebuilt.
14391 * Makefile.am (awt_java_source_files): Added new files.
14392 * java/beans/ExceptionListener.java: Merged with Classpath.
14393 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14394 * java/beans/PropertyChangeListener.java: Merged with Classpath.
14395 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14396 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14397 * java/beans/VetoableChangeListener.java: Merged with Classpath.
14398 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14399 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14400
14401 2002-07-14 Mark Wielaard <mark@klomp.org>
14402
14403 * gnu/java/security/der/DEREncodingException.java,
14404 gnu/java/security/provider/DERReader.java,
14405 gnu/java/security/provider/DERWriter.java,
14406 gnu/java/security/provider/DSAKeyPairGenerator.java,
14407 gnu/java/security/provider/DSAParameterGenerator.java,
14408 gnu/java/security/provider/DSAParameters.java,
14409 gnu/java/security/provider/DSASignature.java,
14410 gnu/java/security/provider/GnuDSAPrivateKey.java,
14411 gnu/java/security/provider/GnuDSAPublicKey.java,
14412 gnu/java/security/provider/MD5.java,
14413 gnu/java/security/util/Prime.java: New files from Classpath.
14414 * Makefile.am (ordinary_java_source_files): Add new files.
14415 * Makefile.in: Regenerate.
14416
14417 2002-07-14 C. Brian Jones <cbj@gnu.org>
14418
14419 * gnu/java/security/provider/DefaultPolicy.java
14420 (getPermissions): do not maintain static class variable of
14421 Permissions
14422 * gnu/java/security/provider/SHA.java
14423 (engineUpdate): algorithm change
14424 (engineDigest): algorithm change
14425
14426 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
14427
14428 For PR libgcj/7292:
14429 * java/lang/Character.java (toString(char)): Now static.
14430
14431 2002-07-12 Mark Wielaard <mark@klomp.org>
14432
14433 * java/lang/natThrowable.cc (printRawStackTrace): removed.
14434 (getStackTrace0): new method.
14435 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14436 (printStackTrace(PrintWriter)): replace with pure java implementation.
14437 (printRawStackTrace): removed.
14438 (getStackTrace0): new method.
14439 * java/lang/StackTraceElement.java (toString): add extra whitespace.
14440 * gcj/javaprims.h: regenerate class list.
14441 * include/name-finder.h (lookup): new returns StackTraceElement*.
14442 (method_name, file_name): fields removed.
14443 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14444 (~_Jv_name_finder): close new descriptors.
14445 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14446 (createStackTraceElement): new method.
14447 (lookup): returns StackTraceElement*, uses createStackTraceElement().
14448
14449 2002-07-10 Tom Tromey <tromey@redhat.com>
14450
14451 * configure: Rebuilt.
14452 * configure.in: Use `test' after `&&'. From Chris Faylor.
14453
14454 2002-07-08 Mark Wielaard <mark@klomp.org>
14455
14456 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14457 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14458 java.sql.DatabaseMetaData.TestJdbc20
14459
14460 2002-07-05 Tony Kimball <alk@pobox.com>
14461
14462 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14463
14464 2002-07-04 Tom Tromey <tromey@redhat.com>
14465 Jeff Sturm <jsturm@one-point.com>
14466
14467 Fix for PR libgcj/7060:
14468 * java/lang/Class.h (_getMethod): Renamed from getMethod.
14469 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14470 Recurse into superinterfaces. Don't throw NoSuchMethodException.
14471 * java/lang/Class.java (getMethod): New Java implementation;
14472 complies with spec.
14473 (_getMethod): New native method.
14474
14475 2002-07-02 Tom Tromey <tromey@redhat.com>
14476 David Hovemeyer <daveho@cs.umd.edu>
14477
14478 * java/text/ChoiceFormat.java
14479 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14480 in check loop.
14481 * java/text/MessageFormat.java
14482 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14483 to MessageFormat.
14484
14485 2002-07-01 Tom Tromey <tromey@redhat.com>
14486
14487 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
14488 StringTokenizer on null string. For PR libgcj/7180.
14489 From daveho@cs.umd.edu.
14490
14491 2002-06-24 Tom Tromey <tromey@redhat.com>
14492
14493 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
14494 (IntegerClass): Likewise.
14495 * java/lang/natClass.cc (CloneableClass): Removed.
14496 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
14497 ConstructorClass): Likewise.
14498 * java/lang/natClassLoader.cc (CloneableClass): Removed.
14499 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
14500 SerializableClass): Likewise.
14501 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
14502 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
14503 LongClass, FloatClass, DoubleClass): Likewise.
14504
14505 * verify.cc (branch_prepass): Updated for change to exception
14506 handler type.
14507 (verify_instructions_0): Likewise.
14508 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
14509 (handleExceptionTableEntry): Updated for change to exception
14510 handler type.
14511 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
14512 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
14513 (union _Jv_InterpPC): New.
14514 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
14515 (class _Jv_InterpMethod): Added new `prepared' field.
14516 (class _Jv_InterpMethod): Added `compile' method. Removed
14517 `continue1' and `find_exception'. Changed arguments to `run'.
14518 * interpret.cc (union insn_slot): New.
14519 (find_exception): Removed.
14520 (run_normal): Removed most logic.
14521 (run_synch_object): Likewise; also, use JvSynchronize.
14522 (run_synch_class): Likewise.
14523 (run): Removed.
14524 (continue1): Renamed as `run'. Compile bytecode if required.
14525 Add new code to allow refinement of direct-threaded code at
14526 runtime. Handle exceptions.
14527 (SAVE_PC): Removed.
14528 (compile): New method.
14529 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
14530 (NULLARRAYCHECK): Don't use SAVE_PC.
14531 (pc_t): New typedef.
14532 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
14533 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
14534
14535 2002-06-23 Tom Tromey <tromey@redhat.com>
14536
14537 * configure: Rebuilt.
14538 * configure.in (INTERPRETER): New subst.
14539 (AM_RUNTESTFLAGS): Don't subst.
14540
14541 * Makefile.in: Rebuilt.
14542 * Makefile.am ($(srcdir)/java/lang/Object.h,
14543 $(srcdir)/java/lang/Class.h): Added dummy targets.
14544
14545 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14546
14547 Reformat JDBC classes and add new JDK 1.4 classes and methods.
14548
14549 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
14550 java/sql/Savepoint.java: New files.
14551 * java/sql/Array.java, java/sql/BatchUpdateException.java,
14552 java/sql/Blob.java, java/sql/CallableStatement.java,
14553 java/sql/Clob.java, java/sql/Connection.java,
14554 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
14555 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
14556 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
14557 java/sql/Ref.java, java/sql/ResultSet.java,
14558 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
14559 java/sql/SQLException.java, java/sql/SQLInput.java,
14560 java/sql/SQLOutput.java, java/sql/SQLWarning.java
14561 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
14562 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
14563 (JDK 1.4) specification.
14564 * javax/sql/ConnectionEvent.java,
14565 javax/sql/ConnectionEventListener.java,
14566 javax/sql/ConnectionPoolDataSource.java,
14567 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
14568 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
14569 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
14570 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
14571 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
14572 javax/sql/XADataSource.java: New files.
14573 * Makefile.am: Add new files.
14574 * Makefile.in: Rebuilt.
14575
14576 2002-06-20 Tom Tromey <tromey@redhat.com>
14577
14578 For PR libgcj/7073:
14579 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
14580 exists.
14581 * defineclass.cc (handleClassBegin): Superclass for interface is
14582 `null'.
14583
14584 2002-06-18 Tom Tromey <tromey@redhat.com>
14585
14586 * gcj/javaprims.h: Updated class declaration list.
14587 * Makefile.in: Rebuilt.
14588 * Makefile.am (core_java_source_files): Removed
14589 BasicMapEntry.java.
14590 * java/util/BasicMapEntry.java: Removed.
14591
14592 2002-06-18 Jeff Sturm <jsturm@one-point.com>
14593
14594 * java/net/natPlainDatagramSocketImpl.cc (receive):
14595 Check bounds of argument to FD_SET.
14596 (setOption): Throw exception if socket is closed.
14597
14598 * java/net/natPlainSocketImpl.cc (accept, read):
14599 Check bounds of argument to FD_SET.
14600 (setOption): Throw exception if socket is closed.
14601
14602 2002-06-18 Tom Tromey <tromey@redhat.com>
14603
14604 * gcj/javaprims.h: Updated class declaration list.
14605 * Makefile.in: Rebuilt.
14606 * Makefile.am (core_java_source_files): Added
14607 PropertyPermissionCollection.java.
14608 * java/lang/Thread.java (group, name): Now package-private.
14609 * java/lang/ThreadGroup.java: Re-merge with Classpath.
14610 * java/util/AbstractList.java: Likewise.
14611 * java/util/AbstractMap.java: Likewise.
14612 * java/util/Calendar.java: Likewise.
14613 * java/util/Collections.java: Likewise.
14614 * java/util/HashMap.java: Likewise.
14615 * java/util/Hashtable.java: Likewise.
14616 * java/util/LinkedHashMap.java: Likewise.
14617 * java/util/LinkedList.java: Likewise.
14618 * java/util/List.java: Likewise.
14619 * java/util/ListResourceBundle.java: Likewise.
14620 * java/util/Map.java: Likewise.
14621 * java/util/Observable.java: Likewise.
14622 * java/util/Properties.java: Likewise.
14623 * java/util/PropertyPermission.java: Likewise.
14624 * java/util/PropertyPermissionCollection.java: Likewise.
14625 * java/util/PropertyResourceBundle.java: Likewise.
14626 * java/util/Random.java: Likewise.
14627 * java/util/SimpleTimeZone.java: Likewise.
14628 * java/util/StringTokenizer.java: Likewise.
14629 * java/util/TimerTask.java: Likewise.
14630 * java/util/TreeMap.java: Likewise.
14631 * java/util/WeakHashMap.java: Likewise.
14632 * java/util/jar/Attributes.java: Likewise.
14633 * java/util/jar/JarException.java: Likewise.
14634 * java/util/jar/Manifest.java: Likewise.
14635
14636 2002-06-17 Tom Tromey <tromey@redhat.com>
14637
14638 * gcj/javaprims.h: Updated class declaration list.
14639 * Makefile.in: Rebuilt.
14640 * Makefile.am (core_java_source_files): Added new file.
14641 * java/util/EventListenerProxy.java: New file.
14642 * java/util/EventListener.java: Re-merge with Classpath.
14643 * java/util/EventObject.java: Re-merge with Classpath.
14644
14645 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
14646
14647 * java/lang/ClassNotFoundException.java: New Classpath version.
14648
14649 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
14650
14651 * java/rmi/activation/ActivateFailedException.java: Remerge from
14652 Classpath version.
14653 * java/rmi/activation/ActivationException.java: Ditto.
14654 * java/rmi/activation/UnknownGroupException.java: Ditto.
14655 * java/rmi/activation/UnknownObjectException.java: Ditto.
14656 * java/rmi/server/ExportException: Ditto.
14657 * java/rmi/server/ServerCloneException: Ditto.
14658 * java/rmi/server/ServerNotActiveException: Ditto.
14659 * java/rmi/server/SkeletonMismatchException: Ditto.
14660 * java/rmi/server/SkeletonNotFoundException: Ditto.
14661 * java/rmi/server/SocketSecurityException: Ditto.
14662
14663 2002-06-16 Tom Tromey <tromey@redhat.com>
14664
14665 * gcj/javaprims.h: Updated class declaration list.
14666
14667 * java/io/LineNumberInputStream.java: Merged with Classpath.
14668
14669 * java/lang/RuntimeException.java: Re-merge with Classpath.
14670 * java/util/ArrayList.java: Likewise.
14671 * java/util/Arrays.java: Likewise.
14672 * java/util/BitSet.java: Likewise.
14673 * java/util/Dictionary.java: Likewise.
14674 * java/util/IdentityHashMap.java: Likewise.
14675 * java/util/MissingResourceException.java: Likewise.
14676 * java/util/Observer.java: Likewise.
14677 * java/util/TooManyListenersException.java: Likewise.
14678 * java/util/zip/DataFormatException.java: Likewise.
14679 * java/util/zip/ZipException.java: Likewise.
14680
14681 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
14682
14683 * java/rmi/AccessException.java: Remerge from Classpath.
14684 * java/rmi/AlreadyBoundException.java: Ditto.
14685 * java/rmi/ConnectException.java: Ditto.
14686 * java/rmi/ConnectIOException.java: Ditto.
14687 * java/rmi/MarshalException.java: Ditto.
14688 * java/rmi/NoSuchObjectException.java: Ditto.
14689 * java/rmi/NotBoundException.java: Ditto.
14690 * java/rmi/RemoteException.java: Ditto.
14691 * java/rmi/RMISecurityException.java: Ditto.
14692 * java/rmi/ServerError.java: Ditto.
14693 * java/rmi/ServerException.java: Ditto.
14694 * java/rmi/ServerRuntimeException.java: Ditto.
14695 * java/rmi/StubNotFoundException.java: Ditto.
14696 * java/rmi/UnexpectedExcpetion.java: Ditto.
14697 * java/rmi/UnknownHostException.java: Ditto.
14698 * java/rmi/UnmarshalException.java: Ditto.
14699
14700 2002-06-15 Tom Tromey <tromey@redhat.com>
14701
14702 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
14703 * java/lang/ArithmeticException.java: Likewise.
14704 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
14705 * java/lang/ArrayStoreException.java: Likewise.
14706 * java/lang/Byte.java: Likewise.
14707 * java/lang/CharSequence.java: Likewise.
14708 * java/lang/ClassCastException.java: Likewise.
14709 * java/lang/ClassCircularityError.java: Likewise.
14710 * java/lang/ClassFormatError.java: Likewise.
14711 * java/lang/CloneNotSupportedException.java: Likewise.
14712 * java/lang/Cloneable.java: Likewise.
14713 * java/lang/Comparable.java: Likewise.
14714 * java/lang/Compiler.java: Likewise.
14715 * java/lang/Error.java: Likewise.
14716 * java/lang/ExceptionInInitializerError.java: Likewise.
14717 * java/lang/IllegalAccessError.java: Likewise.
14718 * java/lang/IllegalAccessException.java: Likewise.
14719 * java/lang/IllegalArgumentException.java: Likewise.
14720 * java/lang/IllegalMonitorStateException.java: Likewise.
14721 * java/lang/IllegalStateException.java: Likewise.
14722 * java/lang/IllegalThreadStateException.java: Likewise.
14723 * java/lang/IncompatibleClassChangeError.java: Likewise.
14724 * java/lang/IndexOutOfBoundsException.java: Likewise.
14725 * java/lang/InheritableThreadLocal.java: Likewise.
14726 * java/lang/InstantiationError.java: Likewise.
14727 * java/lang/InstantiationException.java: Likewise.
14728 * java/lang/InternalError.java: Likewise.
14729 * java/lang/InterruptedException.java: Likewise.
14730 * java/lang/LinkageError.java: Likewise.
14731 * java/lang/NegativeArraySizeException.java: Likewise.
14732 * java/lang/NoClassDefFoundError.java: Likewise.
14733 * java/lang/NoSuchFieldError.java: Likewise.
14734 * java/lang/NoSuchFieldException.java: Likewise.
14735 * java/lang/NoSuchMethodError.java: Likewise.
14736 * java/lang/NoSuchMethodException.java: Likewise.
14737 * java/lang/NullPointerException.java: Likewise.
14738 * java/lang/NumberFormatException.java: Likewise.
14739 * java/lang/OutOfMemoryError.java: Likewise.
14740 * java/lang/Process.java: Likewise.
14741 * java/lang/Runnable.java: Likewise.
14742 * java/lang/RuntimePermission.java: Likewise.
14743 * java/lang/SecurityException.java: Likewise.
14744 * java/lang/Short.java: Likewise.
14745 * java/lang/StackOverflowError.java: Likewise.
14746 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
14747 * java/lang/ThreadDeath.java: Likewise.
14748 * java/lang/ThreadLocal.java: Likewise.
14749 * java/lang/UnknownError.java: Likewise.
14750 * java/lang/UnsatisfiedLinkError.java: Likewise.
14751 * java/lang/UnsupportedClassVersionError.java: Likewise.
14752 * java/lang/UnsupportedOperationException.java: Likewise.
14753 * java/lang/VerifyError.java: Likewise.
14754 * java/lang/VirtualMachineError.java: Likewise.
14755 * java/lang/reflect/InvocationTargetException.java: Likewise.
14756 * java/net/BindException.java: Likewise.
14757 * java/net/ConnectException.java: Likewise.
14758 * java/net/MalformedURLException.java: Likewise.
14759 * java/net/NoRouteToHostException.java: Likewise.
14760 * java/net/ProtocolException.java: Likewise.
14761 * java/net/SocketException.java: Likewise.
14762 * java/net/UnknownHostException.java: Likewise.
14763 * java/net/UnknownServiceException.java: Likewise.
14764
14765 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
14766 * java/io/CharConversionException.java: Likewise.
14767 * java/io/EOFException.java: Likewise.
14768 * java/io/FileNotFoundException.java: Likewise.
14769 * java/io/IOException.java: Likewise.
14770 * java/io/InterruptedIOException.java: Likewise.
14771 * java/io/InvalidClassException.java: Likewise.
14772 * java/io/InvalidObjectException.java: Likewise.
14773 * java/io/NotActiveException.java: Likewise.
14774 * java/io/NotSerializableException.java: Likewise.
14775 * java/io/ObjectStreamException.java: Likewise.
14776 * java/io/ObjectStreamConstants.java: Likewise.
14777 * java/io/OptionalDataException.java: Likewise.
14778 * java/io/PipedInputStream.java: Likewise.
14779 * java/io/PushbackInputStream.java: Likewise.
14780 * java/io/StreamCorruptedException.java: Likewise.
14781 * java/io/SyncFailedException.java: Likewise.
14782 * java/io/UTFDataFormatException.java: Likewise.
14783 * java/io/UnsupportedEncodingException.java: Likewise.
14784 * java/io/WriteAbortedException.java: Likewise.
14785
14786 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
14787
14788 * java/text/ChoiceFormat.java: Update comments from Classpath.
14789 * java/text/ParseException.java (serialVersionUID): New
14790 field from Classpath.
14791 * java/text/ParseException.java: Update formatting & comments
14792 from Classpath.
14793
14794 2002-06-15 Tom Tromey <tromey@redhat.com>
14795
14796 * java/util/zip/InflaterInputStream.java (read): Loop if data has
14797 been read but none output by inflater.
14798 * java/util/zip/natDeflater.cc (reset): Set is_finished.
14799 * java/util/zip/natInflater.cc (reset): Set dist_needed and
14800 is_finished.
14801 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
14802 version.
14803 * java/util/zip/ZipFile.java: Replaced with Classpath version.
14804 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
14805 * java/util/zip/ZipInputStream.java: Replaced with Classpath
14806 version.
14807 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
14808
14809 2002-06-13 Tom Tromey <tromey@redhat.com>
14810
14811 * java/lang/natString.cc (init): Handle case where DONT_COPY is
14812 true and OFFSET!=0.
14813 * java/lang/String.java (String(char[],int,int,boolean): New
14814 constructor.
14815 * java/lang/Long.java: Imported new version from Classpath.
14816 * java/lang/Number.java: Likewise.
14817 * java/lang/Integer.java: Likewise.
14818 * java/lang/Long.java: Likewise.
14819 * java/lang/Float.java: Likewise.
14820 * java/lang/Boolean.java: Likewise.
14821 * java/lang/Double.java: Likewise.
14822 * java/lang/Void.java: Likewise.
14823
14824 2002-06-12 Tom Tromey <tromey@redhat.com>
14825
14826 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
14827 Fixes PR libgcj/6652.
14828
14829 2002-06-10 Tom Tromey <tromey@redhat.com>
14830
14831 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
14832 (Class::getPackagePortion): Likewise.
14833 * java/lang/Class.java (desiredAssertionStatus): New method from
14834 Classpath.
14835 (getPackagePortion): Likewise.
14836 * java/lang/VMClassLoader.java (defaultAssertionStatus,
14837 packageAssertionStatus, classAssertionStatus): New methods from
14838 Classpath.
14839 * java/lang/ClassLoader.java (defaultAssertionStatus,
14840 systemPackageAssertionStatus, packageAssertionStatus,
14841 systemClassAssertionStatus, classAssertionStatus): New fields from
14842 Classpath.
14843 (setDefaultAssertionStatus, setPackageAssertionStatus,
14844 setClassAssertionStatus, clearAssertionStatus): New methods from
14845 Classpath.
14846 * Makefile.in: Rebuilt.
14847 * Makefile.am (core_java_source_files): Added AssertionError.java.
14848 * java/lang/AssertionError.java: New from Classpath.
14849
14850 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14851
14852 * configure.host: Disable hash synchronization and slow_pthread_self
14853 for cygwin.
14854
14855 2002-06-06 Adam Megacz <adam@xwt.org>
14856
14857 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
14858 locking, just like the Sun JVM does.
14859
14860 2002-06-05 H.J. Lu (hjl@gnu.org)
14861
14862 * Makefile.am (libgcj_convenience.la): Revert the last change.
14863 (libgcj.la): Likewise.
14864 * Makefile.in: Regenerated.
14865
14866 2002-06-04 H.J. Lu (hjl@gnu.org)
14867
14868 * Makefile.am (libgcj_convenience.la): New target.
14869 (libgcj.la): Depend on libgcj_convenience.la.
14870 * Makefile.in: Regenerated.
14871
14872 2002-06-04 H.J. Lu (hjl@gnu.org)
14873
14874 * configure.in (--with-newlib): New option:
14875 Check ${with_newlib} instead of ${with_cross_host} for newlib.
14876 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
14877 Linux.
14878 * configure: Regenerated.
14879
14880 2002-06-04 Tom Tromey <tromey@redhat.com>
14881
14882 * java/util/natTimeZone.cc: Include <stdio.h>.
14883
14884 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
14885
14886 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
14887 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
14888 Set SIGNAL_HANDLER=include/s390-linux.h.
14889 * configure: Regenerate.
14890 * include/s390-linux.h: New file.
14891
14892 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14893
14894 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
14895 not "stackTrace".
14896
14897 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14898
14899 Merge JDK 1.4 java.security changes from classpath.
14900
14901 * java/security/AccessControlException.java: Merge from Classpath.
14902 * java/security/AccessController.java: Likewise.
14903 * java/security/AllPermission.java: Likewise.
14904 * java/security/BasicPermission.java: Likewise.
14905 * java/security/Certificate.java: Likewise.
14906 * java/security/CodeSource.java: Likewise.
14907 * java/security/DigestException.java: Likewise.
14908 * java/security/DigestOutputStream.java: Likewise.
14909 * java/security/DomainCombiner.java: Likewise.
14910 * java/security/GeneralSecurityException.java: Likewise.
14911 * java/security/Guard.java: Likewise.
14912 * java/security/GuardedObject.java: Likewise.
14913 * java/security/InvalidAlgorithmParameterException.java: Likewise.
14914 * java/security/InvalidKeyException.java: Likewise.
14915 * java/security/InvalidParameterException.java: Likewise.
14916 * java/security/Key.java: Likewise.
14917 * java/security/KeyException.java: Likewise.
14918 * java/security/KeyManagementException.java: Likewise.
14919 * java/security/KeyStoreException.java: Likewise.
14920 * java/security/MessageDigest.java: Likewise.
14921 * java/security/NoSuchAlgorithmException.java: Likewise.
14922 * java/security/NoSuchProviderException.java: Likewise.
14923 * java/security/Permission.java: Likewise.
14924 * java/security/PermissionCollection.java: Likewise.
14925 * java/security/Permissions.java: Likewise.
14926 * java/security/Policy.java: Likewise.
14927 * java/security/Principal.java: Likewise.
14928 * java/security/PrivateKey.java: Likewise.
14929 * java/security/PrivilegedAction.java: Likewise.
14930 * java/security/PrivilegedActionException.java: Likewise.
14931 * java/security/PrivilegedExceptionAction.java: Likewise.
14932 * java/security/ProtectionDomain.java: Likewise.
14933 * java/security/ProviderException.java: Likewise.
14934 * java/security/PublicKey.java: Likewise.
14935 * java/security/SecureClassLoader.java: Likewise.
14936 * java/security/SecurityPermission.java: Likewise.
14937 * java/security/SignatureException.java: Likewise.
14938 * java/security/UnrecoverableKeyException.java: Likewise.
14939 * java/security/UnresolvedPermission.java: Likewise.
14940 * java/security/acl/AclNotFoundException.java: Likewise.
14941 * java/security/acl/LastOwnerException.java: Likewise.
14942 * java/security/acl/NotOwnerException.java: Likewise.
14943 * java/security/cert/CRLException.java: Likewise.
14944 * java/security/cert/CertificateEncodingException.java: Likewise.
14945 * java/security/cert/CertificateException.java: Likewise.
14946 * java/security/cert/CertificateExpiredException.java: Likewise.
14947 * java/security/cert/CertificateFactory.java: Likewise.
14948 * java/security/cert/CertificateNotYetValidException.java: Likewise.
14949 * java/security/cert/CertificateParsingException.java: Likewise.
14950 * java/security/spec/InvalidKeySpecException.java: Likewise.
14951 * java/security/spec/InvalidParameterSpecException.java: Likewise.
14952
14953 * java/security/cert/CertPath.java: New file.
14954 * java/security/cert/CertPathBuilderException.java: New file.
14955 * java/security/cert/CertPathValidatorException.java: New file.
14956 * java/security/cert/CertStoreException.java: New file.
14957
14958 * Makefile.am: Add new CertPath classes.
14959 * Makefile.in: Rebuilt.
14960
14961 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
14962
14963 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14964
14965 Merge JDK 1.4 exception chaining support from classpath.
14966
14967 * java/lang/Throwable.java: Merge 1.4 support from classpath.
14968 (stackTraceBytes): Rename from stackTrace.
14969 * java/lang/Exception.java: Merge from classpath.
14970 * java/lang/StackTraceElement: New file from classpath.
14971 * gcj/javaprims.h: Rebuild CNI namespace declarations.
14972 * Makefile.am: Add StackTraceElement.
14973 * Makefile.in: Rebuilt.
14974
14975 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14976
14977 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
14978 they build first.
14979 * Makefile.in: Rebuilt.
14980
14981 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14982
14983 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
14984 * configure.in: Likewise.
14985 * aclocal.m4: Regenerate.
14986 * configure: Regenerate.
14987
14988 2002-05-13 Tom Tromey <tromey@redhat.com>
14989
14990 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
14991 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
14992 Include platform.h.
14993
14994 Fixes PR libgcj/6389:
14995 * Makefile.in: Rebuilt.
14996 * Makefile.am (nat_source_files): Added natTimeZone.cc.
14997 * java/util/natTimeZone.cc: New file.
14998 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
14999 * java/lang/System.java: Merged with Classpath.
15000 * java/lang/Runtime.java: Merged with Classpath.
15001 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15002 security check.
15003 (setIn0): Renamed from setIn; don't run security check.
15004 (setOut0): Renamed from setOut; don't run security check.
15005 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15006 init_properties): Moved to natRuntime.cc.
15007 Moved many includes to natRuntime.cc.
15008 (isWordsBigEndian): New method.
15009 * java/lang/natRuntime.cc: Include Long.h, also other includes
15010 previously in natSystem.cc.
15011 (maxMemory): New function.
15012 (exitInternal): Renamed from `_exit'.
15013 (exit): Removed.
15014 (init): Don't set finalize_on_exit.
15015 (exitInternal): Use `finalizeOnExit'.
15016 (file_encoding, getpwuid_adaptor): New functions from
15017 natSystem.cc.
15018 (insertSystemProperties): New method, renamed from
15019 System::init_properties. Don't set user.timezone.
15020 (_load): Don't call checkLink.
15021 (execInternal): New method.
15022 (availableProcessors): Likewise.
15023 (nativeGetLibname): Likewise.
15024
15025 2002-05-11 Mark Wielaard <mark@klomp.org>
15026
15027 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15028 space characters.
15029 (previous_internal): Likewise.
15030
15031 2002-05-09 Tom Tromey <tromey@redhat.com>
15032
15033 * jni.cc (_Jv_JNIFunctions): Fixed typo.
15034
15035 * java/util/ResourceBundle.java: New version from Classpath.
15036 * java/util/Locale.java: Likewise.
15037
15038 2002-05-09 Jakub Jelinek <jakub@redhat.com>
15039
15040 * testsuite/lib/libjava.exp (libjava_arguments): Append all
15041 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15042 LD_LIBRARY_PATH.
15043
15044 2002-05-08 Mark Mitchell <mark@codesourcery.com>
15045
15046 * libjava/Makefile.am (all_java_source_files): New variable.
15047 (all_java_class_files): Likewise.
15048 .java.class: New rule.
15049 (CLEANFILES): Remove tmp-list.
15050 * libjava/Makefile.in: Regenerated.
15051
15052 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
15053
15054 * testsuite/lib/libjava.exp (test_libjava_from_javac):
15055 Append .exe to executable names. Fix for cygwin.
15056
15057 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
15058
15059 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15060 script entry, and set LD to it when configuring multilibs.
15061 * configure: Rebuilt.
15062
15063 2002-05-07 Tom Tromey <tromey@redhat.com>
15064
15065 * java/lang/natString.cc (unintern): Fixed typo.
15066
15067 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15068
15069 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15070 with -no-install on *-*-cygwin*.
15071
15072 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15073
15074 * testsuite/lib/libjava.exp (test_libjava_from_source):
15075 Add comment explaining last patch
15076
15077 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
15078
15079 * testsuite/lib/libjava.exp (test_libjava_from_source):
15080 Append .exe to executable names. If no suffix is present,
15081 then ".exe" is added by default on win32. Harmless
15082 elsewhere so always do it.
15083
15084 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
15085 Tom Tromey <tromey@redhat.com>
15086
15087 * java/lang/natSystem.cc (getSystemTimeZone): Use
15088 HAVE_UNDERSCORE_TIMEZONE.
15089 * include/config.h.in: Rebuilt.
15090 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15091 * aclocal.m4, configure: Rebuilt.
15092 * acinclude.m4: Run AC_EXEEXT.
15093 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15094 Add test for `_timezone'.
15095
15096 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
15097
15098 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15099 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15100 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15101 * Makefile.in: Rebuilt.
15102
15103 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
15104
15105 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15106 use sigaction instead of __libc_sigaction.
15107
15108 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15109
15110 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15111 (libjava_init): Use it to find libgcj.spec.
15112 (libjava_arguments): Likewise.
15113
15114 2002-05-02 David S. Miller <davem@redhat.com>
15115
15116 PR bootstrap/6525
15117 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15118 __libc_sigaction on Sparc.
15119
15120 2002-05-02 Jerome Marc <marcjero@yahoo.com>
15121
15122 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15123 sys/filio.h, if present.
15124
15125 2002-04-30 Tom Tromey <tromey@redhat.com>
15126
15127 * java/io/BufferedReader.java (fill): Handle case where markPos
15128 point to ignored \n. Fixes PR libgcj/6301.
15129
15130 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
15131
15132 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15133
15134 2002-04-29 Adam King <aking@dreammechanics.com>
15135
15136 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15137 of file in APPEND mode.
15138
15139 2002-04-25 David S. Miller <davem@redhat.com>
15140
15141 PR target/6422
15142 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15143 program counter to next program counter minus 8. Update
15144 comments in this macro to explain why.
15145
15146 2002-04-26 Tom Tromey <tromey@redhat.com>
15147
15148 * verify.cc (construct_primitive_array_type) [void_type]: New
15149 case.
15150 (branch_prepass): Added dummy entries for unused instruction
15151 values.
15152 (verify_instructions_0): Likewise.
15153 * interpret.cc (continue1): Comment fix.
15154 * include/java-insns.h (op_xxxunusedxxx1): Removed.
15155 * Makefile.in: Rebuilt.
15156 * Makefile.am: Added -Wswitch-enum.
15157
15158 2002-04-24 Tom Tromey <tromey@redhat.com>
15159
15160 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15161 correct length of UTF-8 encoded name. Strip leading `/'.
15162 (_Jv_RegisterResource): Use _Jv_Malloc.
15163
15164 2002-04-23 Adam Megacz <adam@xwt.org>
15165
15166 * win32.cc, include/win32.cc (backtrace): Added this function
15167 because Win32 does not supply it.
15168
15169 2002-04-21 David S. Miller <davem@redhat.com>
15170
15171 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15172 magic instruction reading sequence.
15173
15174 2002-04-21 Mark Wielaard <mark@klomp.org>
15175
15176 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15177
15178 2002-04-19 David S. Miller <davem@redhat.com>
15179
15180 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15181 arg.
15182 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15183 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15184 on Sparc too.
15185 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15186 for 64-bit sparc.
15187 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15188 * sysdeps/sparc/locks.h: New file.
15189 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15190 on all sparc Solaris configurations. Set to
15191 include/dwarf2-signal.h on sparc Linux.
15192 * configure: Regenerate
15193 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15194
15195 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
15196
15197 * configure: Rebuilt.
15198 * configure.in (backtrace): Function doesn't work on IA-64.
15199
15200 2002-04-17 Adam King <aking@dreammechanics.com>
15201
15202 * java/io/File.java (normalizePath): Add Win32 support for auto
15203 conversion of a '/' path separator to Win32's '\' separator.
15204
15205 2002-04-16 Tom Tromey <tromey@redhat.com>
15206
15207 Fix for PR libgcj/6081:
15208 * Makefile.in: Rebuilt.
15209 * Makefile.am (install-data-local): Use GNU make trick to avoid
15210 shell limit.
15211
15212 2002-04-16 Adam King <aking@dreammechanics.com>
15213 Tom Tromey <tromey@redhat.com>
15214
15215 * java/io/natFileWin32.cc (performList): Return the correct array
15216 type. Don't duplicate the creation of a File since it's already
15217 done earlier in the method and the existing code would cause a
15218 ArrayStoreException. Don't use fixed-size array.
15219 (_access, _stat, attr, getCanonicalPath, performMkdir,
15220 performRenameTo): Don't use fixed-size array.
15221 (getCanonicalPath): Use throw, not _Jv_Throw.
15222
15223 2002-04-15 DJ Delorie <dj@redhat.com>
15224
15225 * configure.in: Allow building in $srcdir.
15226 * configure: Regenerated.
15227
15228 2002-04-14 Mark Wielaard <mark@klomp.org>
15229
15230 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15231 * java/net/natSocketImpl.cc (close): Likewise.
15232
15233 2002-04-14 Mark Wielaard <mark@klomp.org>
15234
15235 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15236
15237 2002-04-13 Adam King <aking@dreammechanics.com>
15238
15239 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15240 the f/F/d/D modifiers.
15241
15242 2002-04-12 Anthony Green <green@redhat.com>
15243
15244 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15245 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15246 * Makefile.in: Rebuilt.
15247 * configure.in: Substitute gcc_version.
15248 * configure: Rebuilt.
15249
15250 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15251
15252 * configure.host: Set can_unwind_signal on hosts which support it.
15253 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15254 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15255 exceptions and can_unwind_signal isn't set.
15256 * configure: Rebuilt.
15257
15258 2002-04-11 Tom Tromey <tromey@redhat.com>
15259
15260 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15261
15262 2002-04-11 Adam King <aking@dreammechanics.com>
15263 Tom Tromey <tromey@redhat.com>
15264
15265 * include/jvm.h (_Jv_ThrowBadArrayIndex,
15266 _Jv_ThrowNullPointerException): Mark as noreturn.
15267 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15268 and _Jv_free. Correctly invoke GetTempPath(). Indentation
15269 fixes.
15270
15271 2002-04-10 Tom Tromey <tromey@redhat.com>
15272
15273 * Makefile.in: Rebuilt.
15274 * Makefile.am (java/lang/Thread.h): Mark
15275 _Jv_AttachCurrentThreadAsDaemon as friend.
15276 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15277 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15278 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15279 function.
15280 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15281 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15282 (_Jv_JNI_InvokeFunctions): Added
15283 _Jv_JNI_AttachCurrentThreadAsDaemon.
15284 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15285 (JNI_GetDefaultJavaVMInitArgs): Likewise.
15286 (JNI_CreateJavaVM): Likewise.
15287 (_Jv_JNI_AttachCurrentThread): Likewise.
15288 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15289 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15290 (_Jv_JNIFunctions): Initialize new fields.
15291 (_Jv_JNI_NewDirectByteBuffer): New function.
15292 (_Jv_JNI_GetDirectBufferAddress): Likewise.
15293 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15294 * include/jni.h (JNI_VERSION_1_4): New macro.
15295 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15296 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15297 (JNINativeInterface::NewDirectByteBuffer): New field.
15298 (JNINativeInterface::GetDirectBufferAddress): New field.
15299 (JNINativeInterface::GetDirectBufferCapacity): New field.
15300 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15301 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15302 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15303
15304 2002-04-09 Tom Tromey <tromey@redhat.com>
15305
15306 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15307
15308 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
15309
15310 Fix for PR libgcj/6187:
15311 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15312 distance.
15313
15314 2002-04-07 Mark Wielaard <mark@klomp.org>
15315
15316 * java/util/AbstractMap.java (putAll): Use entrySet size.
15317 (toString): Explicitly use getKey() and getValue().
15318
15319 2002-04-07 Mark Wielaard <mark@klomp.org>
15320
15321 * java/util/Hashtable.java (contains): Remove NullPointer check.
15322 (containsValue): Add NullPointer check.
15323 (remove): Always throw NullPointerException when key
15324 is null.
15325
15326 2002-04-07 Adam King <aking@dreammechanics.com>
15327
15328 * java/lang/natSystem.cc (init_properties): Call new function
15329 _Jv_platform_initProperties.
15330 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15331 support for the System properties os.name, os.arch, os.version,
15332 user.name, user.home, and user.dir.
15333 * include/posix.h, include/win32.h, posix.cc: New function
15334 _Jv_platform_initProperties.
15335
15336 2002-04-06 Mark Wielaard <mark@klomp.org>
15337
15338 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15339
15340 2002-04-06 Mark Wielaard <mark@klomp.org>
15341
15342 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15343 all of the remaining elements.
15344 * java/util/Vector.java (addAll(int,Collection)): Likewise.
15345 (removeRange): If toIndex == fromIndex do
15346 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15347 (removeAll): Always throw NullPointerException when collection is
15348 null.
15349 (retrainAll): Likewise.
15350
15351 2002-04-05 Mark Wielaard <mark@klomp.org>
15352
15353 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15354 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15355
15356 2002-04-05 Adam Megacz <adam@xwt.org>
15357
15358 * exception.cc (abort): added static modifier
15359
15360 2002-04-04 Adam Megacz <adam@xwt.org>
15361
15362 * include/win32.h (_Jv_platform_close_on_exec): added inline
15363 modifier.
15364
15365 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
15366
15367 * configure.host: Add case statement to support generic port
15368 properties. Add *-*-freebsd* section.
15369
15370 2002-04-04 Mark Wielaard <mark@klomp.org>
15371
15372 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15373 test.
15374 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15375 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15376 that depend on awt code and BufferedByteOutputStream.interrupt.
15377
15378 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15379
15380 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15381 incorrect "hi" value when count > 40.
15382
15383 2002-04-03 Mark Wielaard <mark@klomp.org>
15384
15385 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15386 ordering.
15387
15388 2002-04-02 Tom Tromey <tromey@redhat.com>
15389
15390 * java/lang/natClassLoader.cc (findClass): Compare against `3',
15391 not `0'.
15392
15393 2002-04-02 Mark Wielaard <mark@klomp.org>
15394
15395 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15396 list of testsuite crashers.
15397
15398 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15399
15400 * java/util/IdentityHashMap.java (put): Set new threshold correctly
15401 when resizing table.
15402
15403 2002-04-01 Mark Wielaard <mark@klomp.org>
15404
15405 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15406 NegativeArraySizeException
15407 (clear(int)): Use sign extended shift.
15408 (flip(int)): Likewise.
15409 (get(int)): Likewise.
15410 (nextClearBit(int)): Likewise.
15411 (nextSetBit(int)): Likewise.
15412 (set(int)): Likewise.
15413
15414 2002-04-01 Mark Wielaard <mark@klomp.org>
15415
15416 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15417 that can be compiled now and add testsuite crashers to ignore list.
15418
15419 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
15420
15421 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15422
15423 * libgcj.spec.in: Override libgcc, not lib.
15424 * libgcj-test.spec.in: Likewise.
15425
15426 2002-03-29 Tom Tromey <tromey@redhat.com>
15427
15428 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15429 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15430
15431 2002-03-27 Jeff Sturm <jsturm@one-point.com>
15432
15433 * java/net/PlainDatagramSocketImpl.java
15434 (close): Use native implementation.
15435 (finalize): New method.
15436
15437 * java/net/PlainSocketImpl.java (finalize): New method.
15438
15439 * java/net/natPlainDatagramSocketImpl.cc
15440 (java/io/FileDescriptor.h): Don't include.
15441 (close): Implement method here.
15442 (create): Don't assign fd.
15443
15444 * java/net/natPlainSocketImpl.cc
15445 (java/io/FileDescriptor.h): Don't include.
15446 (create): Don't assign fd.
15447 (accept): Likewise.
15448 (close): Synchronize.
15449
15450 2002-03-27 Richard Henderson <rth@redhat.com>
15451
15452 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15453
15454 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15455
15456 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15457 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15458 instead of syscall on IA-64.
15459 Add FIXME comment.
15460
15461 2002-03-27 Anthony Green <green@redhat.com>
15462
15463 * libgcj.spec.in: Add CHECKREFSPEC.
15464 * configure.in: Ditto.
15465 * configure.host: Ditto. Check references for xscale-elf.
15466 * configure: Rebuilt.
15467
15468 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
15469
15470 * include/dwarf2-signal.h: Temporarily back out last change.
15471
15472 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
15473
15474 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15475
15476 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15477
15478 * configure.in, configure: enable dwarf2-exception-style
15479 exception handling on IA-64.
15480 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15481 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15482 Add FIXME comment.
15483
15484 2002-03-25 Tom Tromey <tromey@redhat.com>
15485
15486 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
15487 (jv_convert_LDFLAGS): Likewise.
15488 (gij_LDFLAGS): Likewise.
15489 (rmic_LDFLAGS): Likewise.
15490 (rmiregistry_LDFLAGS): Likewise.
15491 * configure.in (THREADLDFLAGS): New subst; set correctly for
15492 *BSD.
15493
15494 2002-03-25 Tom Tromey <tromey@redhat.com>
15495
15496 For PR libgcj/5303:
15497 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
15498 and --version.
15499 (help): New method.
15500 (version): Likewise.
15501 * gnu/gcj/convert/Convert.java (version): Removed extraneous
15502 "GNU".
15503 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
15504 "GNU".
15505
15506 2002-03-25 Tom Tromey <tromey@redhat.com>
15507
15508 * java/awt/Component.java (processEvent): Check ComponentEvent
15509 after KeyEvent.
15510
15511 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15512
15513 * java/io/PushbackReader.java: Reformat.
15514
15515 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
15516 calculate correct number of bytes skipped.
15517
15518 Based on patch from Intel's ORP team:
15519 * java/io/PushbackInputStream.java (available): Calculate correct
15520 number of bytes in buffer.
15521 (read): Remove redundant bound check. Return bytes from both the
15522 buffer and the stream.
15523
15524 2002-03-24 Tom Tromey <tromey@redhat.com>
15525
15526 * java/awt/TextComponent.java (TextComponent): Editable by
15527 default.
15528
15529 * java/awt/MenuItem.java (eventMask): No longer private.
15530 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
15531 superclass if we didn't handle event.
15532 * java/awt/Checkbox.java (dispatchEventImpl): New method.
15533 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
15534 * java/awt/Choice.java (dispatchEventImpl): New method.
15535 * java/awt/List.java (dispatchEventImpl): New method.
15536 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
15537 * java/awt/TextComponent.java (dispatchEventImpl): New method.
15538 * java/awt/TextField.java (dispatchEventImpl): New method.
15539
15540 2002-03-24 Eric Blake <ebb9@email.byu.edu>
15541
15542 * java/beans/IntrospectionException.java: Update to 1.4.
15543 * java/beans/PropertyVetoException.java: Ditto.
15544
15545 2002-03-24 Eric Blake <ebb9@email.byu.edu>
15546
15547 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
15548 Arrays.equals instead of ArrayHelper.equalsArray.
15549
15550 2002-03-24 C. Brian Jones <cbj@gnu.org>
15551
15552 * java/beans/Introspector.java: added new static final fields
15553 introduced in 1.2, lots of other updates remain to be done
15554
15555 2002-03-24 C. Brian Jones <cbj@gnu.org>
15556
15557 * java/beans/Introspector.java: reformatting
15558
15559 2002-03-24 C. Brian Jones <cbj@gnu.org>
15560
15561 * java/beans/Introspector.java: default beanInfoSearchPath will
15562 not include sun.beans.infos given we provide no such package and
15563 the API doesn't really require it; gnu.java.beans.info is the
15564 default.
15565
15566 2002-03-24 Mark Wielaard <mark@klomp.org>
15567
15568 Thanks to Orp developers
15569 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
15570 switch TRUE and FALSE return values.
15571
15572 2002-03-23 Tom Tromey <tromey@redhat.com>
15573
15574 * include/name-finder.h (_Jv_name_finder::myclose): New method.
15575 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
15576
15577 2002-03-23 Michael Smith <msmith@spinnakernet.com>
15578
15579 * java/util/GregorianCalendar.java (minimums, maximums): Correct
15580 MONTH entry. Fixes PR libgcj/6045.
15581
15582 2002-03-23 Jeff Sturm <jsturm@one-point.com>
15583
15584 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
15585
15586 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15587
15588 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
15589 not release_set.
15590 * sysdep/powerpc/locks.h (write_barrier): New function.
15591 * sysdep/i386/locks.h (write_barrier): New function.
15592
15593 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
15594
15595 * include/jni.h Use correct C comments.
15596
15597 2002-03-18 Tom Tromey <tromey@redhat.com>
15598
15599 * include/jni.h (JNIIMPORT): New macro.
15600 (JNIEXPORT): Likewise.
15601 (JNICALL): Likewise.
15602
15603 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15604
15605 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
15606 systems.
15607
15608 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
15609
15610 * include/i386-signal.h (old_i386_kernel_sigaction): New.
15611 INIT_SEGV: Use old_i386_kernel_sigaction.
15612 INIT_FP: Likewise.
15613
15614 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15615
15616 * java/lang/natSystem.cc (init_properties): Update VM version
15617 properties.
15618 * configure.in: Set GCJVERSION.
15619 * acconfig.h: Add GCJVERSION.
15620 * configure: Rebuilt.
15621 * include/config.h.in: Rebuilt.
15622
15623 2002-03-17 Anthony Green <green@redhat.com>
15624
15625 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
15626
15627 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15628
15629 Build a single libgcj.so, without separate gc and zlib libraries.
15630 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
15631 SYS_ZLIBS if system zlib is used.
15632 * configure: Rebuilt.
15633 * Makefile.am: Use boehm-gc and zlib convenience libraries.
15634 * Makefile.in: Rebuilt.
15635 * libtool-version: Increment .so version number.
15636
15637 * Makefile.am: Escape quotes in echo.
15638 * Makefile.in: Rebuilt.
15639
15640 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15641
15642 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
15643 * Makefile.in: Rebuilt.
15644
15645 2002-03-15 Anthony Green <green@redhat.com>
15646
15647 * configure.host (FILE): New macro for specifing File
15648 implementation.
15649 * configure: Rebuilt.
15650 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
15651
15652 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
15653
15654 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
15655 already implicitly brought in from libgcj.la.
15656 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15657 * Makefile.in: Rebuilt.
15658
15659 2002-03-15 Eric Blake <ebb9@email.byu.edu>
15660
15661 * THANKS: Fix punctuation, alphabetization.
15662
15663 2002-03-15 Tom Tromey <tromey@redhat.com>
15664 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15665
15666 Fix for PR libgcj/5944.
15667 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
15668
15669 2002-03-15 Anthony Green <green@redhat.com>
15670
15671 * configure.in (tool_include_dir): Define.
15672 * configure: Rebuilt.
15673 * gcj/Makefile.am: Install libgcj-config.h relative to
15674 tool_include_dir.
15675 * gcj/Makefile: Rebuilt.
15676 * gcj/libgcj-config.h: Add warning comment.
15677
15678 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
15679
15680 * configure.host (powerpc*-darwin*): Enable interpreter.
15681
15682 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15683
15684 * include/posix.h: Add multiple include header protection.
15685 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
15686
15687 2002-03-10 Adam Megacz <adam@xwt.org>
15688
15689 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
15690
15691 2002-03-10 Tom Tromey <tromey@redhat.com>
15692
15693 * java/awt/GridLayout.java (layoutContainer): Handle case where
15694 there are no items in container.
15695
15696 * java/lang/Win32Process.java: Added comment.
15697 * include/posix.h (_Jv_platform_close_on_exec): New function.
15698 Include fcntl.h.
15699 * include/win32.h (_Jv_platform_close_on_exec): New function.
15700 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
15701 flag.
15702 (accept): Likewise.
15703 * java/net/natPlainDatagramSocketImpl.cc (create): Set
15704 close-on-exec flag.
15705 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
15706 flag.
15707
15708 2002-03-09 Tom Tromey <tromey@redhat.com>
15709
15710 * verify.cc (state::NO_STACK): New constant.
15711 (state::is_unmerged_ret_state): Handle case where stacktop is
15712 NO_STACK.
15713 (state::merge): Handle NO_STACK merges.
15714 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
15715 for instruction following jsr.
15716 (stacktop, stackdepth): Removed unused variables.
15717 (pop_jump): Ignore case where all remaining states are skipped.
15718
15719 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15720
15721 * java/awt/ImageMediaEntry: Removed.
15722 * java/awt/MediaEntry: Removed.
15723
15724 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15725
15726 Hashtable synchronization for PowerPC.
15727 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
15728 slow_pthread_self. Set up symlink for sysdeps directory.
15729 * configure: Rebuild.
15730 * configure.host: Document more shell variables. Set sysdeps_dir
15731 for most platforms. Set slow_pthread_self for i686. Set
15732 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
15733 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
15734 that memory barrier is emitted where required.
15735 * prims.cc: 64-bit align static primitive class instances.
15736 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
15737 read_barrier() to enforce ordering of reads.
15738 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
15739 primitives for PowerPC.
15740 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
15741 moved from natObject.cc.
15742 * sysdep/alpha/locks.h: Likewise.
15743 * sysdep/ia64/locks.h: Likewise.
15744 * sysdep/generic/locks.h: Likewise.
15745 * java/lang/natObject.cc: Move thread synchronization primitives to
15746 system-dependent headers.
15747
15748 2002-03-09 Adam Megacz <adam@xwt.org>
15749
15750 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
15751 bytes read and no failure code returned.
15752
15753 2002-03-09 Adam Megacz <adam@xwt.org>
15754
15755 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
15756 definitions to simulate -mthreads.
15757
15758 2002-03-09 Adam Megacz <adam@xwt.org>
15759
15760 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
15761 avoid precision loss.
15762
15763 2002-03-09 Per Bothner <per@bothner.com>
15764
15765 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
15766 * gnu/gcj/xlib/XImage.java: Likewise.
15767 * gnu/gcj/xlib/XColor.java: Likewise.
15768
15769 2002-03-09 Adam Megacz <adam@xwt.org>
15770
15771 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
15772 IOException so that Throwable.printStackTrace fails correctly.
15773
15774 2002-03-08 Adam Megacz <adam@xwt.org>
15775
15776 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
15777 fixed.
15778
15779 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15780
15781 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
15782 truncated to int.
15783
15784 2002-03-08 Tom Tromey <tromey@redhat.com>
15785
15786 * include/jni.h: Include stdio.h.
15787
15788 2002-03-08 Tom Tromey <tromey@redhat.com>
15789
15790 * posix.cc (internal_gettimeofday): New function.
15791 (_Jv_select): Use it.
15792
15793 2002-03-07 Adam Megacz <adam@xwt.org>
15794
15795 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
15796 WIN32, and added thunks for read(), write(), and close().
15797 * java/net/natPlainSocketImpl.cc (accept, read, read):
15798 Disabled timeouts on WIN32 pending discussion.
15799
15800 2002-03-07 Adam Megacz <adam@xwt.org>
15801
15802 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
15803 returns jlong. Added implementation
15804 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
15805 returns jlong.
15806 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
15807 returns jlong.
15808 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
15809 returns jlong.
15810 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
15811 _Jv_platform_gettimeofday signature.
15812
15813 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15814
15815 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
15816 (read): Call recv() directly, not _Jv_recv().
15817
15818 2002-03-06 Tom Tromey <tromey@redhat.com>
15819
15820 * java/io/natFileDescriptorEcos.cc (init): Don't use
15821 GetStdHandle.
15822 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
15823 is negative.
15824 (init): Don't use GetStdHandle.
15825
15826 * include/config.h.in: Rebuilt.
15827 * configure: Rebuilt.
15828 * Makefile.in: Rebuilt.
15829
15830 2002-03-06 Adam Megacz <adam@xwt.org>
15831
15832 * java/io/FileDescriptor.java: Initialize in/out/err in init().
15833 * java/io/natFileDescriptorWin32.cc (init()): Added function.
15834 * java/io/natFileDescriptorPosix.cc (init()): Added function.
15835 * java/io/natFileDescriptorEcos.cc (init()): Added function.
15836
15837 2002-03-06 Eric Blake <ebb9@email.byu.edu>
15838
15839 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
15840 the code for generating include/java-chartables.h.
15841 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
15842 merge with Classpath.
15843 * scripts/unicode-muncher.pl: Copy from Classpath.
15844 * scritps/MakeCharTables.java: New file.
15845 * gnu/gcj/convert/Blocks-3.txt: New file.
15846 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
15847 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
15848 * gnu/java/lang/CharData.java: Copy from Classpath.
15849 * Makefile.am (ordinary_java_source_files): Add
15850 gnu/java/lang/CharData.java.
15851 * configure.in: Remove --enable-fast-character option.
15852 * java/lang/Character.java: Merge algorithms and Javadoc with
15853 Classpath.
15854 * java/lang/natCharacter.cc: Implement Unicode lookup table more
15855 efficiently.
15856 * include/java-chardecomp.h: Regenerate.
15857 * include/java-chartables.h: Regenerate.
15858
15859 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15860
15861 * java/awt/MediaTracker.java: Implemented.
15862 * Makefile.am: Add MediaTracker.
15863 * Makefile.in: Rebuilt.
15864
15865 2002-03-05 Tom Tromey <tromey@redhat.com>
15866
15867 * java/lang/natPosixProcess.cc (fail): Removed.
15868 (startProcess): Simplified error-handling. Preserve
15869 LD_LIBRARY_PATH across exec.
15870
15871 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
15872 AbstractMethodError.
15873
15874 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15875
15876 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
15877 * Makefile.in: Rebuilt.
15878
15879 2002-03-03 Mark Wielaard <mark@klomp.org>
15880
15881 * java/util/Timer (TaskQueue.stop): set elements to zero.
15882
15883 2002-02-28 Anthony Green <green@redhat.com>
15884
15885 * java/lang/reflect/natMethod.cc (result): Add void* element.
15886 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
15887 constructor test.
15888
15889 2002-02-27 Adam Megacz <adam@xwt.org>
15890
15891 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
15892 '#undef STRICT'.
15893
15894 2002-02-26 Tom Tromey <tromey@redhat.com>
15895
15896 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
15897 * gij.cc (version): Use __VERSION__.
15898 * include/config.h.in: Rebuilt.
15899 * acconfig.h (GCJVERSION): Removed.
15900 * configure: Rebuilt.
15901 * configure.in (GCJVERSION): Removed.
15902
15903 2002-02-26 Andreas Schwab <schwab@suse.de>
15904
15905 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
15906 glibcpp_CXX, since libjava uses even another CXX.
15907 * aclocal.m4, configure: Regenerated.
15908
15909 2002-02-26 Tom Tromey <tromey@redhat.com>
15910
15911 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
15912 `1'.
15913
15914 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15915
15916 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
15917 dependency tracking for .java files.
15918 * Makefile.in: Rebuilt.
15919
15920 2002-02-24 Adam Megacz <adam@xwt.org>
15921
15922 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
15923 typo. Sorry.
15924
15925 2002-02-24 Adam Megacz <adam@xwt.org>
15926
15927 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
15928 for Win32, changed #ifdefs to check WIN32 instead of the
15929 (now-obsolete) USE_WINSOCK, and removed support for socket
15930 timeouts on Win32 pending further discussion.
15931
15932 2002-02-24 Adam Megacz <adam@xwt.org>
15933
15934 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
15935 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
15936 delete
15937
15938 2002-02-24 Adam Megacz <adam@xwt.org>
15939
15940 * java/lang/Win32Process.java: Created a dummy class to allow
15941 build process to run to completion.
15942
15943 2002-02-24 Jeff Sturm <jsturm@one-point.com>
15944
15945 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
15946 Define ffi_result union for ffi_call result. Cast
15947 ffi_result members to jvalue.
15948
15949 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
15950
15951 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
15952 * testsuite/Makefile.in: Likewise.
15953
15954 2002-02-20 Per Bothner <per@bothner.com>
15955
15956 * java/net/URL.java (getPath): New JDK 1.3 method.
15957
15958 * java/net/URLStreamHandler.java (parseURL):
15959 It is wrong to prepend '/' to the file part of a relative url.
15960
15961 * java/net/URLStreamHandler.java (parseURL):
15962 Minor optizations - append '/' rather than "/".
15963
15964 * java/net/URLStreamHandler.java (parseURL):
15965 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
15966 We probably should canonicalize for a context-relative url, though.
15967 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
15968 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
15969 (sameFile): New method. Uses canonicalizeFilename.
15970
15971 2002-02-22 Tom Tromey <tromey@redhat.com>
15972
15973 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
15974 java.vendor and java.vm.vendor.
15975 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
15976 recent copyright date.
15977 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
15978 * gij.cc (version): Print `Inc'.
15979
15980 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
15981
15982 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
15983 * aclocal.m4, configure: Rebuilt.
15984
15985 2002-02-20 Per Bothner <per@bothner.com>
15986
15987 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
15988 and/or output streams immediately here, instead of using File.exists.
15989 (inputStream, outputStream): New fields to save open streams.
15990 (getInputStream, getOutputStream): Use already-opened streams.
15991
15992 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
15993
15994 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
15995 Use it.
15996 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
15997 * aclocal.m4, configure, Makefile.in: Rebuilt.
15998
15999 2002-02-19 Tom Tromey <tromey@redhat.com>
16000
16001 Fix for PR libgcj/5696:
16002 * verify.cc (is_assignable_from_slow): Never call
16003 _Jv_IsAssignableFrom.
16004 (verify_instructions_0): Added new debug statement.
16005 (state::print): Print information about whether local has
16006 changed.
16007 (state::merge): Don't call note_variable when merging locals.
16008 (state::set_exception): Removed old FIXME comment.
16009
16010 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16011
16012 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16013 enable SO_BROADCAST.
16014
16015 2002-02-18 Jason Merrill <jason@redhat.com>
16016
16017 * name-finder.cc (toHex): Use word mode, not long long.
16018
16019 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16020
16021 2002-02-15 Tom Tromey <tromey@redhat.com>
16022
16023 Fix for PR libgcj/5695:
16024 * verify.cc (is_assignable_from_slow): Check to see if target is
16025 an Object before checking to see if source is an interface.
16026 (verify_instructions_0) [op_invokeinterface]: Handle case where
16027 we're making an interface call on Object.
16028
16029 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16030
16031 * Makefile.in: Rebuilt with Eric's change below.
16032
16033 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16034 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16035 Removed functions which are now implemented in Math.java.
16036
16037 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16038
16039 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16040 * Makefile.am (core_java_source_files): Add
16041 java/lang/StrictMath.java.
16042 * java/lang/Math.java: Merge with Classpath.
16043 * java/lang/StrictMath.java: New file - merge with Classpath.
16044
16045 2002-02-14 Mark Wielaard <mark@klomp.org>
16046
16047 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16048 package as a workaround for gcj 3.0.x
16049
16050 2002-02-14 Mark Wielaard <mark@klomp.org>
16051
16052 * java/security/BasicPermission.java: extends with fully qualified
16053 classname as workaround for gcj 3.0.4.
16054
16055 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16056
16057 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16058 around gcj bug of wrong emitted qualifier for inherited method.
16059 * java/net/SocketImpl.java (setOption, getOption): Ditto.
16060 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16061 constructor to reduce amount of emitted bytecode. While this
16062 happens to work around a jikes 1.15 bug, it is still a useful
16063 patch even for correct compilers.
16064 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16065 * gnu/java/rmi/server/UnicastRemoteCall.java
16066 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16067
16068 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16069
16070 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16071 * java/net/SocketImpl.java: Ditto.
16072 * java/rmi/server/RMIClassLoader.java: Ditto.
16073 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16074
16075 2002-02-14 Mark Wielaard <mark@klomp.org>
16076
16077 Thanks to Takashi Okamoto
16078 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16079 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16080 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16081
16082 2002-02-13 Todd Stock <toddastock@yahoo.com>
16083
16084 Fix for PR libgcj/5670:
16085 * verify.cc (is_assignable_from_slow): If `source' is interface,
16086 recursively look for merge with `target'.
16087
16088 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
16089
16090 * include/jni.h: Fix typo.
16091
16092 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
16093
16094 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16095 correctly.
16096
16097 2002-02-13 Todd Stock <toddastock@yahoo.com>
16098
16099 Fix for PR libgcj/5671:
16100 * verify.cc (state::merge): Handle case where we're merging
16101 against an interface.
16102
16103 2002-02-12 Tom Tromey <tromey@redhat.com>
16104
16105 * exception.cc (std::abort): Mark as noreturn.
16106
16107 2002-02-12 Adam Megacz <adam@xwt.org>
16108
16109 * java/lang/Win32Process.java: Filled in a placeholder
16110 implementation so Win32 will build.
16111
16112 2002-02-12 Adam Megacz <adam@xwt.org>
16113
16114 * java/io/natFilePosix.cc: Copied this from natFile.cc.
16115 * java/io/natFile.cc: Removed from repository.
16116 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16117
16118 2002-02-12 Adam Megacz <adam@xwt.org>
16119
16120 * win32.cc: Added two #includes to make win32.cc compile.
16121
16122 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16123
16124 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16125 declarations.
16126 (_Jv_InitGC): Don't bother locking, as this is always called from a
16127 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16128
16129 2002-02-11 Adam Megacz <adam@xwt.org>
16130
16131 * include/win32.h: Added _Jv_platform_gettimeofday.
16132 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16133
16134 2002-02-11 Adam Megacz <adam@xwt.org>
16135
16136 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16137 Added #undef STRICT to make windows.h and
16138 java/lang/reflect/Modifier.h cooperate.
16139
16140 2002-02-11 Adam Megacz <adam@xwt.org>
16141
16142 * java/io/natFileWin32.cc: Created a placeholder class with lots
16143 of FIXMEs.
16144
16145 2002-02-11 Adam Megacz <adam@xwt.org>
16146
16147 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16148 std::abort() to simply abort(). Also added "fake" std::abort() so
16149 we can #include unwind-pe.h without having to link against
16150 libstdc++-v3.
16151
16152 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
16153
16154 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16155
16156 2002-02-08 Tom Tromey <tromey@redhat.com>
16157
16158 * interpret.cc (convert): New function.
16159 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16160 convert.
16161 Include Long.h.
16162
16163 2002-02-08 Anthony Green <green@redhat.com>
16164
16165 * configure.host: Add support for xscale-elf embedded target.
16166
16167 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
16168
16169 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16170 dereferenced.
16171 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16172 frame.
16173
16174 2002-02-07 Tom Tromey <tromey@redhat.com>
16175
16176 * java/io/natFile.cc (_access): Use __builtin_alloca.
16177 (_stat): Likewise.
16178 (attr): Likewise.
16179 (getCanonicalPath): Likewise.
16180 (performList): Likewise.
16181 (performMkdir): Likewise.
16182 (performSetReadOnly): Likewise.
16183 (performRenameTo): Likewise.
16184 (performSetLastModified): Likewise.
16185 (performCreate): Likewise.
16186 (performDelete): Likewise.
16187
16188 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16189
16190 * HACKING: Fix URL for the automake-gcj.
16191
16192 2002-02-07 Tom Tromey <tromey@redhat.com>
16193
16194 * java/lang/natThrowable.cc: Updated copyright.
16195 * java/io/natFileWin32.cc: Updated copyright.
16196 * java/io/natFileDescriptorWin32.cc: Updated copyright.
16197 * win32-threads.cc: Updated copyright.
16198 * name-finder.cc: Updated copyright.
16199 * include/name-finder.h: Updated copyright.
16200
16201 * include/name-finder.h: Conditionally include sys/wait.h.
16202 * include/config.h.in: Rebuilt.
16203
16204 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16205 Size buffer based on real size of string.
16206 (_stat): Likewise.
16207 (attr): Likewise.
16208 (getCanonicalPath): Likewise.
16209 (performList): Likewise.
16210 (performMkdir): Likewise.
16211 (performSetReadOnly): Likewise.
16212 (unixroot): Removed.
16213 (performRenameTo): Likewise.
16214 (performSetLastModified): Likewise.
16215 (performCreate): Likewise.
16216 (performDelete): Likewise.
16217 (performListRoots): Always return new array.
16218
16219 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16220 * win32.cc (win32_exception_handler): Now static.
16221 * include/win32.h (_Jv_platform_initialize): Declare.
16222 (win32_exception_handler): Don't declare.
16223 * java/lang/natSystem.cc (currentTimeMillis): Use
16224 _Jv_platform_gettimeofday.
16225 * posix.cc (_Jv_platform_gettimeofday): Renamed.
16226 (_Jv_select): Use new name.
16227 (_Jv_platform_initialize): New function.
16228 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16229 _Jv_gettimeofday.
16230 (_Jv_platform_initialize): Declare.
16231
16232 * configure: Rebuilt.
16233 * configure.in: Removed unnecessary parens.
16234
16235 2002-02-06 Adam Megacz <adam@xwt.org>
16236
16237 * configure.in: Changed mingw) to *mingw*).
16238 * win32.cc: Created this file.
16239 * win32.h: Created this file.
16240 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16241 win32_exception_handler from prims.cc to win32.cc, added
16242 header in win32.h.
16243 * prims.cc: removed some #ifdef-WIN32'd headers which are no
16244 longer needed now that we have platform.h
16245
16246 2002-02-06 Adam Megacz <adam@xwt.org>
16247
16248 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16249 use uint<n>_t instead of LONG and BYTE
16250
16251 2002-02-06 Adam Megacz <adam@xwt.org>
16252
16253 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16254
16255 2002-02-06 Anthony Green <green@redhat.com>
16256
16257 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16258 Implement missing method stubs.
16259 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16260 targets.
16261 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16262 concept of timezones.
16263 (init_properties): Don't refer to _Jv_Environment_Properties
16264 when this feature is not available.
16265 * include/config.h.in: Rebuilt.
16266 * acconfig.h: Add DISABLE_MAIN_ARGS.
16267 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16268 * configure: Rebuilt.
16269 * configure.in: Add --disable-main-args option. Test for
16270 opendir function. Replace AC_CHECK_SIZEOF with
16271 AC_COMPILE_CHECK_SIZEOF.
16272 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16273 * aclocal.m4: Rebuilt.
16274 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16275
16276 2002-02-06 Tom Tromey <tromey@redhat.com>
16277
16278 * verify.cc (require_array_type): If argument is a null array of
16279 references, return null as the element type.
16280
16281 2002-02-06 Mark Wielaard <mark@klomp.org>
16282
16283 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16284 duplicate of a wide type.
16285
16286 2002-02-06 Tom Tromey <tromey@redhat.com>
16287
16288 * verify.cc (type::isnull): New method.
16289 (require_array_type): Handle case where array is null.
16290 (verify_instructions_0) [op_arraylength]: Likewise.
16291
16292 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16293
16294 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16295 Symlink PLATFORMH to platform.h.
16296 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16297 PLATFORMOBJS.
16298 * java/lang/natSystem.cc: #include platform.h not posix.h.
16299 * Makefile.in: Rebuilt with libgcj automake.
16300 * configure: Rebuilt.
16301
16302 2002-02-05 Richard Henderson <rth@redhat.com>
16303
16304 * Makefile.in: Undo munging last change.
16305
16306 2002-02-04 Adam Megacz <adam@xwt.org>
16307
16308 * win32.cc: Created it.
16309 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16310 which is set to posix.cc or win32.cc.
16311 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16312
16313 2002-02-04 Adam Megacz <adam@xwt.org>
16314
16315 * configure.in: Corrected mingw case branches; added * before
16316 and after.
16317
16318 2002-02-04 Adam Megacz <adam@xwt.org>
16319
16320 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16321 if compiling for win32
16322
16323 2002-02-04 Adam Megacz <adam@xwt.org>
16324
16325 * win32-threads.cc: #undef STRICT after gc.h inclusion
16326
16327 2002-02-02 Tom Tromey <tromey@redhat.com>
16328
16329 * Makefile.in: Rebuilt.
16330
16331 2002-02-02 Jason Merrill <jason@redhat.com>
16332
16333 * Makefile.am (clean-nat): New target.
16334
16335 2002-02-02 Tom Tromey <tromey@redhat.com>
16336
16337 * java/io/natFile.cc: Removed old "FIXME" comments.
16338
16339 2002-02-01 Tom Tromey <tromey@redhat.com>
16340
16341 * java/lang/natPosixProcess.cc (myclose): New function.
16342 (fail): Use it.
16343 (startProcess): Likewise.
16344
16345 2002-02-01 Adam Megacz <adam@xwt.org>
16346
16347 * prims.cc: Added #undef STRICT after #include<windows.h>.
16348
16349 2002-02-01 Adam Megacz <adam@xwt.org>
16350
16351 * prims.cc
16352 (_Jv_CreateJavaVM): We now use WIN32 instead of
16353 USE_WIN32_SIGNALLING and USE_WINSOCK.
16354 (win32_exception_handler): Now throws an exception out of
16355 the signal handler; assumes SJLJ.
16356
16357 2002-02-01 Adam Megacz <adam@xwt.org>
16358
16359 * win32-threads.cc:
16360 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16361 wait() algorithm to make it safe.
16362 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
16363 Added lazy creation of Win32 Events for better performance
16364 (really_start): This now uses GC_CreateThread so boehm-gc
16365 knows about new threads even when statically linked.
16366
16367 2002-02-01 Adam Megacz <adam@xwt.org>
16368
16369 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
16370 enable safer wait() algorithm.
16371 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16372 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16373 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16374 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16375 instead of mutex.
16376 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16377
16378 2002-02-01 Adam Megacz <adam@xwt.org>
16379
16380 * configure.in: Added support for mingw.
16381 * java/lang/Win32Process.java: Created as empty file.
16382 * java/lang/natWin32Process.cc: Created as empty file.
16383
16384 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
16385
16386 PR java/4972
16387 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16388 for libiconv in LIBICONV variable.
16389 * configure: Regenerated.
16390
16391 2002-01-31 Tom Tromey <tromey@redhat.com>
16392
16393 * verify.cc (state::enter_subroutine): New method.
16394 (handle_jsr_insn): Use it.
16395 (state::merge): When processing a `ret', correctly use
16396 subroutine's state to determine which local variables have
16397 changed.
16398 (push_exception_jump): Don't let stack overflow.
16399
16400 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
16401
16402 * gnu/gcj/convert/Convert.java: Only include one copyright year in
16403 --version output.
16404
16405 2002-01-30 Tom Tromey <tromey@redhat.com>
16406
16407 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16408 parameter for `recv' return type.
16409
16410 * verify.cc (handle_ret_insn): Check for subroutine merge here...
16411 (state::merge): ... not here.
16412 (subr_entry_info): New structure.
16413 (entry_points): New field.
16414 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
16415 entry_points.
16416
16417 2002-01-29 Tom Tromey <tromey@redhat.com>
16418
16419 * java/awt/List.java (addNotify): Correctly check to see if peer
16420 does not exist.
16421
16422 * java/awt/GridLayout.java (layoutContainer): Use number of rows
16423 to compute height of each cell, and number of columns to compute
16424 width of each cell.
16425 * java/awt/Window.java (getOwnedWindows): Don't return null.
16426 * java/awt/FlowLayout.java (layoutContainer): Set width and height
16427 of component. Increment x using horizontal gap, not vertical
16428 gap.
16429
16430 2002-01-28 Tom Tromey <tromey@redhat.com>
16431
16432 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16433 `nargs' byte is number of words, not number of arguments.
16434
16435 2002-01-27 Tom Tromey <tromey@redhat.com>
16436
16437 * java/awt/event/MouseEvent.java (modifiers): Removed field.
16438 (when): Likewise.
16439 * java/awt/event/InputEvent.java (modifiers, when): Now
16440 package-private.
16441
16442 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16443 and to-do list.
16444 (state::merge): Use current class' class loader.
16445 (state::print): Print subroutine.
16446 (state::merge): Don't look at subroutine of unmerged `ret'.
16447
16448 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16449
16450 * nogc.cc: Remove warnings.
16451 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16452 New functions.
16453
16454 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16455
16456 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16457 int, int): Remove empty "if" statement to work around compiler bug.
16458 (newPixels(int[], ColorModel, int, int): Likewise.
16459
16460 2002-01-25 Per Bothner <per@bothner.com>
16461
16462 * verify.cc (verify_fail): Change from being a top-level function
16463 to e method of _Jv_BytecodeVerifier. Emit current method name.
16464 Pass the current verifier to type: and state: methods as needed,
16465 for better error messages, and for resolve.
16466 (resolve): Pass current class's loader for Class.forName and
16467 _Jv_FindClassFromSignature, rather than using the default loader.
16468 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
16469 (get_type_val_for_signature): Make non-static.
16470 (various methods): Pass start_PC implicitly, not explicitly.
16471
16472 2002-01-25 Tom Tromey <tromey@redhat.com>
16473
16474 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16475 loop termination condition.
16476 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16477 width.
16478
16479 2002-01-24 Tom Tromey <tromey@redhat.com>
16480
16481 * java/awt/Shape.java: Merged with Classpath.
16482 * java/awt/Scrollbar.java: Merged with Classpath.
16483
16484 * java/awt/Container.java (addNotify): Unconditionally call
16485 addNotifyContainerChildren and superclass addNotify.
16486
16487 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
16488 getAlpha, not getBlue.
16489
16490 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16491
16492 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
16493
16494 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
16495 (grabPixels(long)): Wait to be notified that the ImageProducer has
16496 completed.
16497
16498 2002-01-24 Per Bothner <per@bothner.com>
16499
16500 * verify.cc (is_assignable_from_slow): If target is an interface,
16501 we must still check the source's superclass before giving up.
16502
16503 2002-01-24 Tom Tromey <tromey@redhat.com>
16504
16505 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
16506
16507 2002-01-23 Tom Tromey <tromey@redhat.com>
16508
16509 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
16510 `else'.
16511
16512 * Makefile.in: Rebuilt.
16513 * Makefile.am (awt_java_source_files): Added new files.
16514 * java/awt/Toolkit.java: Merged with Classpath.
16515 * java/awt/PrintGraphics.java: New file from Classpath.
16516 * java/awt/PrintJob.java: New file from Classpath.
16517 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
16518 * java/awt/datatransfer/ClipboardOwner.java: New file from
16519 Classpath.
16520 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
16521 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
16522 * java/awt/datatransfer/MimeTypeParseException.java: New file from
16523 Classpath.
16524 * java/awt/datatransfer/StringSelection.java: New file from
16525 Classpath.
16526 * java/awt/datatransfer/SystemFlavorMap.java: New file from
16527 Classpath.
16528 * java/awt/datatransfer/Transferable.java: New file from
16529 Classpath.
16530 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
16531 from Classpath.
16532
16533 * Makefile.in: Rebuilt.
16534 * Makefile.am (awt_java_source_files): Added new files.
16535 * java/awt/image/AreaAveragingScaleFilter.java: New file from
16536 Classpath.
16537 * java/awt/image/CropImageFilter.java: New file from Classpath.
16538 * java/awt/image/FilteredImageSource.java: New file from
16539 Classpath.
16540 * java/awt/image/ImageFilter.java: New file from Classpath.
16541 * java/awt/image/MemoryImageSource.java: New file from Classpath.
16542 * java/awt/image/PixelGrabber.java: New file from Classpath.
16543 * java/awt/image/RGBImageFilter.java: New file from Classpath.
16544 * java/awt/image/ReplicateScaleFilter.java: New file from
16545 Classpath.
16546 * java/awt/image/ImageProducer.java: Replaced with Classpath
16547 version.
16548 * java/awt/image/ImageObserver.java: Replaced with Classpath
16549 version.
16550 * java/awt/image/ImageConsumer.java: Replaced with Classpath
16551 version.
16552 * java/awt/GridBagConstraints.java (clone): Catch
16553 CloneNotSupportedException.
16554
16555 2002-01-23 Per Bothner <per@bothner.com>
16556
16557 * java/lang/reflect/natField.cc (setAddr): New function.
16558 Calls getAddr and then checks that the field isn't final.
16559 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
16560 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
16561 (set): Call setAddr before check that new value has right type,
16562 to better match specified semantics.
16563
16564 2002-01-22 Tom Tromey <tromey@redhat.com>
16565
16566 * java/awt/TextField.java: Replaced with Classpath version.
16567 * java/awt/TextArea.java: Replaced with Classpath version.
16568 * java/awt/TextComponent.java: Replaced with Classpath version.
16569
16570 * java/awt/GridBagConstraints.java: Updated copyright.
16571
16572 2002-01-22 Mark Wielaard <mark@klomp.org>
16573
16574 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
16575 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
16576 java/awt/Dialog.java java/awt/FileDialog.java
16577 java/awt/Font.java java/awt/FontMetrics.java
16578 java/awt/Image.java java/awt/ImageMediaEntry.java
16579 java/awt/Insets.java java/awt/List.java
16580 java/awt/MediaEntry.java java/awt/MediaTracker.java
16581 java/awt/Menu.java java/awt/MenuBar.java
16582 java/awt/MenuContainer.java java/awt/MenuShortcut.java
16583 java/awt/PaintContext.java java/awt/Panel.java
16584 java/awt/PopupMenu.java java/awt/SystemColor.java
16585 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
16586 java/awt/peer/CheckboxMenuItemPeer.java
16587 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
16588 java/awt/peer/ComponentPeer.java
16589 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
16590 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
16591 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
16592 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
16593 java/awt/peer/MenuBarPeer.java
16594 java/awt/peer/MenuComponentPeer.java
16595 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
16596 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
16597 java/awt/peer/ScrollPanePeer.java
16598 java/awt/peer/ScrollbarPeer.java
16599 java/awt/peer/TextAreaPeer.java
16600 java/awt/peer/TextComponentPeer.java
16601 java/awt/peer/TextFieldPeer.java
16602 java/awt/peer/WindowPeer.java: Add license clarification.
16603
16604 2002-01-22 Mark Wielaard <mark@klomp.org>
16605
16606 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
16607 gnu/gcj/runtime/StringBuffer.java
16608 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
16609 gnu/java/awt/ComponentDataBlitOp.java
16610 gnu/java/awt/GLightweightPeer.java
16611 gnu/java/beans/BeanInfoEmbryo.java
16612 gnu/java/beans/EmptyBeanInfo.java
16613 gnu/java/beans/ExplicitBeanInfo.java
16614 gnu/java/beans/IntrospectionIncubator.java
16615 gnu/java/beans/editors/ColorEditor.java
16616 gnu/java/beans/editors/FontEditor.java
16617 gnu/java/beans/editors/NativeBooleanEditor.java
16618 gnu/java/beans/editors/NativeByteEditor.java
16619 gnu/java/beans/editors/NativeDoubleEditor.java
16620 gnu/java/beans/editors/NativeFloatEditor.java
16621 gnu/java/beans/editors/NativeIntEditor.java
16622 gnu/java/beans/editors/NativeLongEditor.java
16623 gnu/java/beans/editors/NativeShortEditor.java
16624 gnu/java/beans/editors/StringEditor.java
16625 gnu/java/beans/info/ComponentBeanInfo.java
16626 gnu/java/io/ClassLoaderObjectInputStream.java
16627 gnu/java/io/NullOutputStream.java
16628 gnu/java/io/ObjectIdentityWrapper.java
16629 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
16630 gnu/java/lang/reflect/TypeSignature.java
16631 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
16632 gnu/java/locale/Calendar_en.java
16633 gnu/java/locale/Calendar_nl.java
16634 gnu/java/locale/LocaleInformation.java
16635 gnu/java/locale/LocaleInformation_de.java
16636 gnu/java/locale/LocaleInformation_en.java
16637 gnu/java/locale/LocaleInformation_nl.java
16638 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
16639 gnu/java/rmi/registry/RegistryImpl.java
16640 gnu/java/rmi/rmic/Compile_gcj.java
16641 gnu/java/rmi/rmic/Compiler.java
16642 gnu/java/rmi/rmic/CompilerProcess.java
16643 gnu/java/rmi/rmic/RMIC.java
16644 gnu/java/rmi/rmic/TabbedWriter.java
16645 gnu/java/rmi/server/ProtocolConstants.java
16646 gnu/java/rmi/server/RMIDefaultSocketFactory.java
16647 gnu/java/rmi/server/RMIHashes.java
16648 gnu/java/rmi/server/RMIObjectInputStream.java
16649 gnu/java/rmi/server/RMIObjectOutputStream.java
16650 gnu/java/rmi/server/UnicastConnection.java
16651 gnu/java/rmi/server/UnicastConnectionManager.java
16652 gnu/java/rmi/server/UnicastRef.java
16653 gnu/java/rmi/server/UnicastRemoteCall.java
16654 gnu/java/rmi/server/UnicastRemoteStub.java
16655 gnu/java/rmi/server/UnicastServer.java
16656 gnu/java/rmi/server/UnicastServerRef.java
16657 gnu/java/security/provider/DefaultPolicy.java
16658 gnu/java/security/provider/Gnu.java
16659 gnu/java/security/provider/SHA.java
16660 gnu/java/security/provider/SHA1PRNG.java
16661 gnu/java/text/BaseBreakIterator.java
16662 gnu/java/text/CharacterBreakIterator.java
16663 gnu/java/text/LineBreakIterator.java
16664 gnu/java/text/SentenceBreakIterator.java
16665 gnu/java/text/WordBreakIterator.java
16666 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
16667 java/applet/AppletContext.java java/applet/AppletStub.java
16668 java/applet/AudioClip.java java/awt/AWTError.java
16669 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
16670 java/awt/AWTException.java java/awt/AWTPermission.java
16671 java/awt/ActiveEvent.java java/awt/BorderLayout.java
16672 java/awt/Button.java java/awt/Canvas.java
16673 java/awt/CardLayout.java java/awt/Checkbox.java
16674 java/awt/CheckboxGroup.java java/awt/Component.java
16675 java/awt/ComponentOrientation.java java/awt/Container.java
16676 java/awt/Dimension.java java/awt/Event.java
16677 java/awt/EventDispatchThread.java java/awt/EventQueue.java
16678 java/awt/FlowLayout.java java/awt/Frame.java
16679 java/awt/Graphics.java java/awt/Graphics2D.java
16680 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
16681 java/awt/IllegalComponentStateException.java
16682 java/awt/ItemSelectable.java java/awt/Label.java
16683 java/awt/LayoutManager.java java/awt/LayoutManager2.java
16684 java/awt/MenuComponent.java java/awt/MenuItem.java
16685 java/awt/Paint.java java/awt/Point.java
16686 java/awt/Rectangle.java java/awt/RenderingHints.java
16687 java/awt/Transparency.java java/awt/Window.java
16688 java/awt/color/ColorSpace.java
16689 java/awt/color/ICC_ColorSpace.java
16690 java/awt/color/ICC_Profile.java
16691 java/awt/event/HierarchyBoundsAdapter.java
16692 java/awt/event/HierarchyBoundsListener.java
16693 java/awt/event/HierarchyEvent.java
16694 java/awt/event/HierarchyListener.java
16695 java/awt/geom/AffineTransform.java
16696 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
16697 java/awt/geom/IllegalPathStateException.java
16698 java/awt/geom/Line2D.java
16699 java/awt/geom/NoninvertibleTransformException.java
16700 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
16701 java/awt/geom/Rectangle2D.java
16702 java/awt/geom/RectangularShape.java
16703 java/awt/geom/RoundRectangle2D.java
16704 java/awt/image/BufferedImage.java
16705 java/awt/image/ColorModel.java
16706 java/awt/image/ComponentColorModel.java
16707 java/awt/image/ComponentSampleModel.java
16708 java/awt/image/DataBuffer.java
16709 java/awt/image/DataBufferByte.java
16710 java/awt/image/DataBufferInt.java
16711 java/awt/image/DataBufferUShort.java
16712 java/awt/image/DirectColorModel.java
16713 java/awt/image/PackedColorModel.java
16714 java/awt/image/Raster.java java/awt/image/RasterOp.java
16715 java/awt/image/SampleModel.java
16716 java/awt/image/SinglePixelPackedSampleModel.java
16717 java/awt/image/WritableRaster.java
16718 java/beans/AppletInitializer.java
16719 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
16720 java/beans/Beans.java java/beans/Customizer.java
16721 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
16722 java/beans/FeatureDescriptor.java
16723 java/beans/IndexedPropertyDescriptor.java
16724 java/beans/IntrospectionException.java
16725 java/beans/Introspector.java java/beans/MethodDescriptor.java
16726 java/beans/ParameterDescriptor.java
16727 java/beans/PropertyChangeEvent.java
16728 java/beans/PropertyChangeListener.java
16729 java/beans/PropertyChangeSupport.java
16730 java/beans/PropertyDescriptor.java
16731 java/beans/PropertyEditor.java
16732 java/beans/PropertyEditorManager.java
16733 java/beans/PropertyEditorSupport.java
16734 java/beans/PropertyVetoException.java
16735 java/beans/SimpleBeanInfo.java
16736 java/beans/VetoableChangeListener.java
16737 java/beans/VetoableChangeSupport.java
16738 java/beans/Visibility.java
16739 java/beans/beancontext/BeanContext.java
16740 java/beans/beancontext/BeanContextChild.java
16741 java/beans/beancontext/BeanContextChildComponentProxy.java
16742 java/beans/beancontext/BeanContextChildSupport.java
16743 java/beans/beancontext/BeanContextContainerProxy.java
16744 java/beans/beancontext/BeanContextEvent.java
16745 java/beans/beancontext/BeanContextMembershipEvent.java
16746 java/beans/beancontext/BeanContextMembershipListener.java
16747 java/beans/beancontext/BeanContextProxy.java
16748 java/beans/beancontext/BeanContextServiceAvailableEvent.java
16749 java/beans/beancontext/BeanContextServiceProvider.java
16750 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
16751 java/beans/beancontext/BeanContextServiceRevokedEvent.java
16752 java/beans/beancontext/BeanContextServiceRevokedListener.java
16753 java/beans/beancontext/BeanContextServices.java
16754 java/beans/beancontext/BeanContextServicesListener.java
16755 java/io/BufferedInputStream.java
16756 java/io/BufferedOutputStream.java java/io/BufferedReader.java
16757 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
16758 java/io/ByteArrayOutputStream.java
16759 java/io/CharArrayReader.java java/io/CharArrayWriter.java
16760 java/io/CharConversionException.java java/io/DataInput.java
16761 java/io/DataInputStream.java java/io/DataOutput.java
16762 java/io/EOFException.java java/io/Externalizable.java
16763 java/io/FileFilter.java java/io/FileNotFoundException.java
16764 java/io/FilePermission.java java/io/FileReader.java
16765 java/io/FileWriter.java java/io/FilenameFilter.java
16766 java/io/FilterInputStream.java java/io/FilterOutputStream.java
16767 java/io/FilterReader.java java/io/FilterWriter.java
16768 java/io/IOException.java java/io/InputStream.java
16769 java/io/InterruptedIOException.java
16770 java/io/InvalidClassException.java
16771 java/io/InvalidObjectException.java
16772 java/io/NotActiveException.java
16773 java/io/NotSerializableException.java java/io/ObjectInput.java
16774 java/io/ObjectInputStream.java
16775 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
16776 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
16777 java/io/ObjectStreamConstants.java
16778 java/io/ObjectStreamException.java
16779 java/io/ObjectStreamField.java
16780 java/io/OptionalDataException.java java/io/OutputStream.java
16781 java/io/PipedInputStream.java java/io/PipedOutputStream.java
16782 java/io/PipedReader.java java/io/PipedWriter.java
16783 java/io/PrintWriter.java java/io/PushbackInputStream.java
16784 java/io/PushbackReader.java java/io/Reader.java
16785 java/io/SequenceInputStream.java java/io/Serializable.java
16786 java/io/SerializablePermission.java
16787 java/io/StreamCorruptedException.java
16788 java/io/StreamTokenizer.java
16789 java/io/StringBufferInputStream.java java/io/StringReader.java
16790 java/io/StringWriter.java java/io/SyncFailedException.java
16791 java/io/UTFDataFormatException.java
16792 java/io/UnsupportedEncodingException.java
16793 java/io/WriteAbortedException.java java/io/Writer.java
16794 java/lang/AbstractMethodError.java
16795 java/lang/ArithmeticException.java
16796 java/lang/ArrayIndexOutOfBoundsException.java
16797 java/lang/ArrayStoreException.java java/lang/Boolean.java
16798 java/lang/Byte.java java/lang/CharSequence.java
16799 java/lang/ClassCastException.java
16800 java/lang/ClassCircularityError.java
16801 java/lang/ClassFormatError.java
16802 java/lang/ClassNotFoundException.java
16803 java/lang/CloneNotSupportedException.java
16804 java/lang/Cloneable.java java/lang/Comparable.java
16805 java/lang/Compiler.java java/lang/Double.java
16806 java/lang/Error.java java/lang/Exception.java
16807 java/lang/ExceptionInInitializerError.java
16808 java/lang/Float.java java/lang/IllegalAccessError.java
16809 java/lang/IllegalAccessException.java
16810 java/lang/IllegalArgumentException.java
16811 java/lang/IllegalMonitorStateException.java
16812 java/lang/IllegalStateException.java
16813 java/lang/IllegalThreadStateException.java
16814 java/lang/IncompatibleClassChangeError.java
16815 java/lang/IndexOutOfBoundsException.java
16816 java/lang/InheritableThreadLocal.java
16817 java/lang/InstantiationError.java
16818 java/lang/InstantiationException.java java/lang/Integer.java
16819 java/lang/InternalError.java
16820 java/lang/InterruptedException.java
16821 java/lang/LinkageError.java java/lang/Long.java
16822 java/lang/NegativeArraySizeException.java
16823 java/lang/NoClassDefFoundError.java
16824 java/lang/NoSuchFieldError.java
16825 java/lang/NoSuchFieldException.java
16826 java/lang/NoSuchMethodError.java
16827 java/lang/NoSuchMethodException.java
16828 java/lang/NullPointerException.java java/lang/Number.java
16829 java/lang/NumberFormatException.java
16830 java/lang/OutOfMemoryError.java java/lang/Package.java
16831 java/lang/Process.java java/lang/Runnable.java
16832 java/lang/RuntimeException.java
16833 java/lang/RuntimePermission.java
16834 java/lang/SecurityException.java
16835 java/lang/SecurityManager.java java/lang/Short.java
16836 java/lang/StackOverflowError.java java/lang/StringBuffer.java
16837 java/lang/StringIndexOutOfBoundsException.java
16838 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
16839 java/lang/ThreadLocal.java java/lang/UnknownError.java
16840 java/lang/UnsatisfiedLinkError.java
16841 java/lang/UnsupportedClassVersionError.java
16842 java/lang/UnsupportedOperationException.java
16843 java/lang/VerifyError.java java/lang/VirtualMachineError.java
16844 java/lang/Void.java java/lang/ref/PhantomReference.java
16845 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
16846 java/lang/ref/SoftReference.java
16847 java/lang/ref/WeakReference.java
16848 java/lang/reflect/AccessibleObject.java
16849 java/lang/reflect/InvocationTargetException.java
16850 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
16851 java/lang/reflect/ReflectPermission.java
16852 java/math/BigDecimal.java java/math/BigInteger.java
16853 java/net/Authenticator.java java/net/BindException.java
16854 java/net/ConnectException.java java/net/ContentHandler.java
16855 java/net/ContentHandlerFactory.java
16856 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
16857 java/net/FileNameMap.java java/net/MalformedURLException.java
16858 java/net/MulticastSocket.java java/net/NetPermission.java
16859 java/net/NoRouteToHostException.java
16860 java/net/PasswordAuthentication.java
16861 java/net/ProtocolException.java java/net/ServerSocket.java
16862 java/net/Socket.java java/net/SocketException.java
16863 java/net/SocketImpl.java java/net/SocketImplFactory.java
16864 java/net/SocketOptions.java java/net/SocketPermission.java
16865 java/net/URLDecoder.java java/net/URLEncoder.java
16866 java/net/URLStreamHandlerFactory.java
16867 java/net/UnknownHostException.java
16868 java/net/UnknownServiceException.java
16869 java/rmi/AccessException.java
16870 java/rmi/AlreadyBoundException.java
16871 java/rmi/ConnectException.java
16872 java/rmi/ConnectIOException.java
16873 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
16874 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
16875 java/rmi/NotBoundException.java
16876 java/rmi/RMISecurityException.java
16877 java/rmi/RMISecurityManager.java java/rmi/Remote.java
16878 java/rmi/RemoteException.java java/rmi/ServerError.java
16879 java/rmi/ServerException.java
16880 java/rmi/ServerRuntimeException.java
16881 java/rmi/StubNotFoundException.java
16882 java/rmi/UnexpectedException.java
16883 java/rmi/UnknownHostException.java
16884 java/rmi/UnmarshalException.java
16885 java/rmi/activation/Activatable.java
16886 java/rmi/activation/ActivateFailedException.java
16887 java/rmi/activation/ActivationDesc.java
16888 java/rmi/activation/ActivationException.java
16889 java/rmi/activation/ActivationGroup.java
16890 java/rmi/activation/ActivationGroupDesc.java
16891 java/rmi/activation/ActivationGroupID.java
16892 java/rmi/activation/ActivationID.java
16893 java/rmi/activation/ActivationInstantiator.java
16894 java/rmi/activation/ActivationMonitor.java
16895 java/rmi/activation/ActivationSystem.java
16896 java/rmi/activation/Activator.java
16897 java/rmi/activation/UnknownGroupException.java
16898 java/rmi/activation/UnknownObjectException.java
16899 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
16900 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
16901 java/rmi/registry/Registry.java
16902 java/rmi/registry/RegistryHandler.java
16903 java/rmi/server/ExportException.java
16904 java/rmi/server/LoaderHandler.java
16905 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
16906 java/rmi/server/Operation.java
16907 java/rmi/server/RMIClassLoader.java
16908 java/rmi/server/RMIClientSocketFactory.java
16909 java/rmi/server/RMIFailureHandler.java
16910 java/rmi/server/RMIServerSocketFactory.java
16911 java/rmi/server/RMISocketFactory.java
16912 java/rmi/server/RemoteCall.java
16913 java/rmi/server/RemoteObject.java
16914 java/rmi/server/RemoteRef.java
16915 java/rmi/server/RemoteServer.java
16916 java/rmi/server/RemoteStub.java
16917 java/rmi/server/ServerCloneException.java
16918 java/rmi/server/ServerNotActiveException.java
16919 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
16920 java/rmi/server/SkeletonMismatchException.java
16921 java/rmi/server/SkeletonNotFoundException.java
16922 java/rmi/server/SocketSecurityException.java
16923 java/rmi/server/UID.java
16924 java/rmi/server/UnicastRemoteObject.java
16925 java/rmi/server/Unreferenced.java
16926 java/security/AccessControlContext.java
16927 java/security/AccessControlException.java
16928 java/security/AccessController.java
16929 java/security/AlgorithmParameterGenerator.java
16930 java/security/AlgorithmParameterGeneratorSpi.java
16931 java/security/AlgorithmParameters.java
16932 java/security/AlgorithmParametersSpi.java
16933 java/security/AllPermission.java
16934 java/security/BasicPermission.java
16935 java/security/Certificate.java java/security/CodeSource.java
16936 java/security/DigestException.java
16937 java/security/DigestInputStream.java
16938 java/security/DigestOutputStream.java
16939 java/security/DomainCombiner.java
16940 java/security/DummyKeyPairGenerator.java
16941 java/security/DummyMessageDigest.java
16942 java/security/DummySignature.java
16943 java/security/GeneralSecurityException.java
16944 java/security/Guard.java java/security/GuardedObject.java
16945 java/security/Identity.java java/security/IdentityScope.java
16946 java/security/InvalidAlgorithmParameterException.java
16947 java/security/InvalidKeyException.java
16948 java/security/InvalidParameterException.java
16949 java/security/Key.java java/security/KeyException.java
16950 java/security/KeyFactory.java java/security/KeyFactorySpi.java
16951 java/security/KeyManagementException.java
16952 java/security/KeyPair.java java/security/KeyPairGenerator.java
16953 java/security/KeyPairGeneratorSpi.java
16954 java/security/KeyStore.java
16955 java/security/KeyStoreException.java
16956 java/security/KeyStoreSpi.java
16957 java/security/MessageDigest.java
16958 java/security/MessageDigestSpi.java
16959 java/security/NoSuchAlgorithmException.java
16960 java/security/NoSuchProviderException.java
16961 java/security/Permission.java
16962 java/security/PermissionCollection.java
16963 java/security/Permissions.java java/security/Policy.java
16964 java/security/Principal.java java/security/PrivateKey.java
16965 java/security/PrivilegedAction.java
16966 java/security/PrivilegedActionException.java
16967 java/security/PrivilegedExceptionAction.java
16968 java/security/ProtectionDomain.java
16969 java/security/Provider.java
16970 java/security/ProviderException.java
16971 java/security/PublicKey.java
16972 java/security/SecureClassLoader.java
16973 java/security/SecureRandom.java
16974 java/security/SecureRandomSpi.java java/security/Security.java
16975 java/security/SecurityPermission.java
16976 java/security/Signature.java
16977 java/security/SignatureException.java
16978 java/security/SignatureSpi.java
16979 java/security/SignedObject.java java/security/Signer.java
16980 java/security/UnrecoverableKeyException.java
16981 java/security/UnresolvedPermission.java
16982 java/security/acl/Acl.java java/security/acl/AclEntry.java
16983 java/security/acl/AclNotFoundException.java
16984 java/security/acl/Group.java
16985 java/security/acl/LastOwnerException.java
16986 java/security/acl/NotOwnerException.java
16987 java/security/acl/Owner.java java/security/acl/Permission.java
16988 java/security/cert/CRL.java
16989 java/security/cert/CRLException.java
16990 java/security/cert/Certificate.java
16991 java/security/cert/CertificateEncodingException.java
16992 java/security/cert/CertificateException.java
16993 java/security/cert/CertificateExpiredException.java
16994 java/security/cert/CertificateFactory.java
16995 java/security/cert/CertificateFactorySpi.java
16996 java/security/cert/CertificateNotYetValidException.java
16997 java/security/cert/CertificateParsingException.java
16998 java/security/cert/X509CRL.java
16999 java/security/cert/X509CRLEntry.java
17000 java/security/cert/X509Certificate.java
17001 java/security/cert/X509Extension.java
17002 java/security/interfaces/DSAKey.java
17003 java/security/interfaces/DSAKeyPairGenerator.java
17004 java/security/interfaces/DSAParams.java
17005 java/security/interfaces/DSAPrivateKey.java
17006 java/security/interfaces/DSAPublicKey.java
17007 java/security/interfaces/RSAKey.java
17008 java/security/interfaces/RSAPrivateCrtKey.java
17009 java/security/interfaces/RSAPrivateKey.java
17010 java/security/interfaces/RSAPublicKey.java
17011 java/security/spec/AlgorithmParameterSpec.java
17012 java/security/spec/DSAParameterSpec.java
17013 java/security/spec/DSAPrivateKeySpec.java
17014 java/security/spec/DSAPublicKeySpec.java
17015 java/security/spec/EncodedKeySpec.java
17016 java/security/spec/InvalidKeySpecException.java
17017 java/security/spec/InvalidParameterSpecException.java
17018 java/security/spec/KeySpec.java
17019 java/security/spec/PKCS8EncodedKeySpec.java
17020 java/security/spec/RSAKeyGenParameterSpec.java
17021 java/security/spec/RSAPrivateCrtKeySpec.java
17022 java/security/spec/RSAPrivateKeySpec.java
17023 java/security/spec/RSAPublicKeySpec.java
17024 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17025 java/sql/BatchUpdateException.java java/sql/Blob.java
17026 java/sql/CallableStatement.java java/sql/Clob.java
17027 java/sql/Connection.java java/sql/DataTruncation.java
17028 java/sql/DatabaseMetaData.java java/sql/Date.java
17029 java/sql/Driver.java java/sql/DriverManager.java
17030 java/sql/DriverPropertyInfo.java
17031 java/sql/PreparedStatement.java java/sql/Ref.java
17032 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17033 java/sql/SQLData.java java/sql/SQLException.java
17034 java/sql/SQLInput.java java/sql/SQLOutput.java
17035 java/sql/SQLWarning.java java/sql/Statement.java
17036 java/sql/Struct.java java/sql/Time.java
17037 java/sql/Timestamp.java java/sql/Types.java
17038 java/text/Annotation.java
17039 java/text/AttributedCharacterIterator.java
17040 java/text/AttributedString.java
17041 java/text/AttributedStringIterator.java
17042 java/text/BreakIterator.java java/text/CharacterIterator.java
17043 java/text/ChoiceFormat.java java/text/Collator.java
17044 java/text/DateFormat.java java/text/DateFormatSymbols.java
17045 java/text/DecimalFormat.java
17046 java/text/DecimalFormatSymbols.java
17047 java/text/FieldPosition.java java/text/Format.java
17048 java/text/MessageFormat.java java/text/NumberFormat.java
17049 java/text/ParseException.java java/text/ParsePosition.java
17050 java/text/SimpleDateFormat.java
17051 java/text/StringCharacterIterator.java
17052 java/util/AbstractCollection.java java/util/AbstractList.java
17053 java/util/AbstractMap.java
17054 java/util/AbstractSequentialList.java
17055 java/util/AbstractSet.java java/util/ArrayList.java
17056 java/util/Arrays.java java/util/BasicMapEntry.java
17057 java/util/BitSet.java java/util/Calendar.java
17058 java/util/Collection.java java/util/Collections.java
17059 java/util/Comparator.java
17060 java/util/ConcurrentModificationException.java
17061 java/util/Date.java java/util/Dictionary.java
17062 java/util/EmptyStackException.java java/util/Enumeration.java
17063 java/util/EventListener.java java/util/EventObject.java
17064 java/util/GregorianCalendar.java java/util/HashMap.java
17065 java/util/HashSet.java java/util/Hashtable.java
17066 java/util/IdentityHashMap.java java/util/Iterator.java
17067 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17068 java/util/LinkedList.java java/util/List.java
17069 java/util/ListIterator.java java/util/ListResourceBundle.java
17070 java/util/Locale.java java/util/Map.java
17071 java/util/MissingResourceException.java
17072 java/util/NoSuchElementException.java
17073 java/util/Observable.java java/util/Observer.java
17074 java/util/Properties.java java/util/PropertyPermission.java
17075 java/util/PropertyResourceBundle.java java/util/Random.java
17076 java/util/RandomAccess.java java/util/ResourceBundle.java
17077 java/util/Set.java java/util/SimpleTimeZone.java
17078 java/util/SortedMap.java java/util/SortedSet.java
17079 java/util/Stack.java java/util/StringTokenizer.java
17080 java/util/TimeZone.java java/util/Timer.java
17081 java/util/TimerTask.java
17082 java/util/TooManyListenersException.java
17083 java/util/TreeMap.java java/util/TreeSet.java
17084 java/util/Vector.java java/util/WeakHashMap.java
17085 java/util/jar/Attributes.java java/util/jar/JarEntry.java
17086 java/util/jar/JarException.java java/util/jar/JarFile.java
17087 java/util/jar/JarInputStream.java
17088 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17089 java/util/zip/Adler32.java java/util/zip/CRC32.java
17090 java/util/zip/CheckedInputStream.java
17091 java/util/zip/CheckedOutputStream.java
17092 java/util/zip/Checksum.java
17093 java/util/zip/DataFormatException.java
17094 java/util/zip/Deflater.java
17095 java/util/zip/DeflaterOutputStream.java
17096 java/util/zip/GZIPInputStream.java
17097 java/util/zip/GZIPOutputStream.java
17098 java/util/zip/Inflater.java
17099 java/util/zip/InflaterInputStream.java
17100 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17101 java/util/zip/ZipException.java java/util/zip/ZipFile.java
17102 java/util/zip/ZipInputStream.java
17103 java/util/zip/ZipOutputStream.java
17104 javax/naming/BinaryRefAddr.java
17105 javax/naming/InvalidNameException.java javax/naming/Name.java
17106 javax/naming/NamingException.java javax/naming/RefAddr.java
17107 javax/naming/StringRefAddr.java: Add license clarification.
17108
17109 2002-01-22 Tom Tromey <tromey@redhat.com>
17110
17111 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17112 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17113 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17114 version.
17115 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17116 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17117 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17118 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17119 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17120 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17121 * java/awt/peer/FontPeer.java: Replace with Classpath version.
17122 * java/awt/peer/FramePeer.java: Replace with Classpath version.
17123 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17124 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17125 * java/awt/peer/ListPeer.java: Replace with Classpath version.
17126 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17127 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17128 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17129 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17130 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17131 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17132 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17133 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17134 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17135 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17136 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17137 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17138 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17139 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17140 (minimumSize, preferredSize, reshape): Likewise.
17141 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17142 getColorModel): New methods.
17143 * java/awt/PopupMenu.java: Merged with Classpath.
17144 * java/awt/MenuBar.java: Merged with Classpath.
17145 * java/awt/SystemColor.java: Replace with Classpath version.
17146 * java/awt/Panel.java: Merged with Classpath.
17147 * java/awt/PaintContext.java: Updated copyright.
17148 * java/awt/MenuShortcut.java: Merged with Classpath.
17149 * java/awt/MenuContainer.java: Merged with Classpath.
17150 * java/awt/Menu.java: Merged with Classpath.
17151 * java/awt/MediaEntry.java: New file from Classpath.
17152 * java/awt/MediaTracker.java: New file from Classpath.
17153 * java/awt/List.java: Merged with Classpath version.
17154 * java/awt/Insets.java: Merged with Classpath version.
17155 * java/awt/ImageMediaEntry.java: New file from Classpath.
17156 * java/awt/Image.java: Replaced with Classpath version.
17157 * java/awt/FontMetrics.java: Merged with Classpath version.
17158 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17159 constant.
17160 * java/awt/Font.java: Merged with Classpath version.
17161 * java/awt/Dialog.java: Merged with Classpath version.
17162 * java/awt/Color.java: Merged with Classpath version.
17163 * java/awt/Choice.java: Merged with Classpath version.
17164 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17165 * java/awt/Adjustable.java: Replace with Classpath version.
17166 * java/awt/MenuItem.java (paramString): Don't include class name
17167 or brackets. Call superclass paramString.
17168 * java/awt/MenuComponent.java (toString): Call paramString.
17169 (paramString): Compute string; don't call toString.
17170 * java/awt/Label.java (paramString): Don't include class name
17171 or brackets. Call superclass paramString.
17172 * java/awt/Checkbox.java (paramString): Don't include class name
17173 or brackets. Call superclass paramString.
17174 * java/awt/Button.java (paramString): Don't include class name or
17175 brackets. Call superclass paramString.
17176 * java/awt/MenuComponent.java (getTreeLock): Now protected.
17177
17178 2002-01-20 Andreas Schwab <schwab@suse.de>
17179
17180 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17181 function and of parameter recv_func to ssize_t, as specified by
17182 POSIX.
17183
17184 2002-01-19 Per Bothner <per@bothner.com>
17185
17186 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
17187 uncompressed_size in readiness for next entry.
17188
17189 2002-01-18 Tom Tromey <tromey@redhat.com>
17190
17191 * java/net/natPlainSocketImpl.cc: Include
17192 IllegalArgumentException.h.
17193 (_Jv_recv): New template function.
17194 (BooleanClass): Removed.
17195 (read): Use _Jv_recv.
17196 (setOption): Use Boolean::class$. Throw exception if object is
17197 not Boolean or Integer.
17198
17199 2002-01-17 Tom Tromey <tromey@redhat.com>
17200
17201 * java/awt/MenuComponent.java: Merged with Classpath.
17202 * java/awt/MenuItem.java: Merged with Classpath.
17203 * java/awt/Button.java: Merged with Classpath.
17204
17205 * java/awt/ActiveEvent.java: Updated copyright.
17206
17207 * java/awt/AWTError.java: Replaced with Classpath version.
17208 * java/awt/AWTException.java: Replaced with Classpath version.
17209 * java/awt/IllegalComponentStateException.java: Replaced with
17210 Classpath version.
17211
17212 2002-01-16 Tom Tromey <tromey@redhat.com>
17213
17214 * java/awt/Canvas.java (serialVersionUID): New constant.
17215 Updated copyright. Added javadoc from Classpath.
17216 * java/awt/ItemSelectable.java: Replaced with Classpath version.
17217
17218 * java/awt/CheckboxGroup.java: Merged with Classpath.
17219 * java/awt/Checkbox.java: Merged with Classpath.
17220
17221 * java/awt/Dimension.java: Updated copyright. Added javadoc from
17222 Classpath.
17223 * java/awt/Point.java: Updated copyright.
17224
17225 * java/awt/Point.java (toString): Use getClass().getName().
17226 Added javadoc.
17227
17228 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17229 commented code.
17230 (hash): Correctly compute initial value for `h'.
17231
17232 * java/awt/Label.java: Merged with Classpath.
17233
17234 2002-01-15 Tom Tromey <tromey@redhat.com>
17235
17236 * java/awt/AWTPermission.java: Updated copyright.
17237
17238 * java/awt/LayoutManager2.java: Merged with Classpath.
17239 * java/awt/LayoutManager.java: Merged with Classpath.
17240 * java/awt/GridLayout.java: Updated copyright and javadoc.
17241 (getSize): Use `parent.ncomponents'. Handle insets.
17242 (layoutContainer): Use `parent.ncomponents'. Handle case where
17243 there are fewer children than columns. Correctly compute size of
17244 each cell in the grid. Handle case where there isn't enough
17245 space.
17246 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
17247 all users.
17248 (gotoComponent): Use parent.ncomponents. Ensure child exists
17249 before calling setVisible() on it. Last item is `num - 1', not
17250 `num'.
17251 (layoutContainer): Hoist invariants out of loop.
17252
17253 Start of AWT merge with Classpath:
17254 * Makefile.in: Rebuilt.
17255 * Makefile.am (awt_java_source_files): Reference files in
17256 gnu/java/awt, not gnu/gcj/awt.
17257 * java/awt/image/BufferedImage.java: Updated copyright.
17258 * java/awt/image/ComponentColorModel.java: Updated copyright.
17259 * java/awt/image/ComponentSampleModel.java: Updated copyright.
17260 * java/awt/image/DataBuffer.java: Updated copyright.
17261 * java/awt/image/DataBufferByte.java: Updated copyright.
17262 * java/awt/image/DataBufferInt.java: Updated copyright.
17263 * java/awt/image/DataBufferUShort.java: Updated copyright.
17264 * java/awt/image/IndexColorModel.java: Updated copyright.
17265 * java/awt/image/PackedColorModel.java: Updated copyright.
17266 * java/awt/image/Raster.java: Updated copyright.
17267 * java/awt/image/RasterOp.java: Updated copyright.
17268 * java/awt/image/SampleModel.java: Updated copyright.
17269 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17270 * java/awt/image/WritableRaster.java: Updated copyright.
17271 * java/awt/color/ColorSpace.java: Updated copyright.
17272 * java/awt/color/ICC_ColorSpace.java: Updated copyright
17273 * java/awt/color/ICC_Profile.java: Updated copyright.
17274 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17275 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17276 * java/awt/event/HierarchyEvent.java: Updated copyright.
17277 * java/awt/event/HierarchyListener.java: Updated copyright.
17278 * java/awt/geom/AffineTransform.java: Updated copyright.
17279 * java/awt/geom/Dimension2D.java: Updated copyright.
17280 * java/awt/geom/Ellipse2D.java: Updated copyright.
17281 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17282 * java/awt/geom/Line2D.java: Updated copyright.
17283 * java/awt/geom/NoninvertibleTransformException.java: Updated
17284 copyright.
17285 * java/awt/geom/PathIterator.java: Updated copyright.
17286 * java/awt/geom/Point2D.java: Updated copyright.
17287 * java/awt/geom/Rectangle2D.java: Updated copyright.
17288 * java/awt/geom/RectangularShape.java: Updated copyright.
17289 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17290 * java/awt/Toolkit.java: Updated import for file moves.
17291 * java/awt/Rectangle.java: Updated copyright; added javadoc from
17292 Classpath.
17293 (hashCode): New method from Classpath.
17294 * java/awt/Graphics2D.java: Updated copyright.
17295 * java/awt/Transparency.java: Updated copyright.
17296 * java/awt/Paint.java: Updated copyright.
17297 * java/awt/Graphics.java: New version from Classpath.
17298 * java/awt/EventDispatchThread.java: Updated copyright.
17299 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17300 children.
17301 (gotoComponent): Wrap around on next/previous.
17302 * gnu/gcj/awt/BitMaskExtent.java: Removed.
17303 * gnu/gcj/awt/Buffers.java: Removed.
17304 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17305 * gnu/gcj/awt/GLightweightPeer.java: Removed.
17306 * gnu/java/awt/BitMaskExtent.java: Added.
17307 * gnu/java/awt/Buffers.java: Added.
17308 * gnu/java/awt/ComponentDataBlitOp.java: Added.
17309 * gnu/java/awt/GLightweightPeer.java: Added.
17310 * java/awt/geom/Line2D.java (clone): Ignore
17311 CloneNotSupportedException.
17312 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17313 * java/awt/Frame.java: Merged with Classpath.
17314 * java/awt/RenderingHints.java: Copyright update.
17315 * java/awt/Paint.java: Copyright update.
17316 * java/awt/image/DirectColorModel.java: Merged with Classpath.
17317 * java/awt/image/ColorModel.java: Merged with Classpath.
17318 * java/awt/Window.java (show): New Implementation from Classpath.
17319 (isShowing): Use super.isShowing().
17320 * java/awt/EventQueue.java: Merged with Classpath.
17321 * java/awt/AWTEventMulticaster.java (save): Throw
17322 RuntimeException.
17323 (saveInternal): Likewise.
17324 * java/awt/AWTEvent.java: Now implements Serializable.
17325 * java/awt/Event.java: Copyright update.
17326 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17327 * java/awt/image/BufferedImage.java: Copyright update.
17328 * java/awt/GraphicsConfiguration.java: Copyright update.
17329 * java/awt/Component.java: (addNotify): Don't call
17330 addNotifyContainerChildren().
17331 (addNotifyContainerChildren): Removed.
17332 (setPeer): New method from Classpath.
17333 (setTreeLock): Likewise.
17334 (setVisible): Rewrote.
17335 (show): Use it.
17336 (hide): Likewise.
17337 (validate): Set `valid'.
17338 (checkImage(Image,ImageObserver)): Implementation from Classpath.
17339 (createImage(ImageProducer)): Likewise.
17340 (prepareImage): Likewise.
17341 * java/awt/Container.java (addImpl): Handle case where constraint
17342 is not a String. Post event via system event queue.
17343 (remove): Post event via system event queue.
17344 (validateTree): Only validate child if it is invalid.
17345 (getAlignmentX): Call super method as default.
17346 (getAlignmentY): Likewise.
17347 (addContainerListener): Now synchronized.
17348 (removeContainerListener): Likewise.
17349 (addNotifyContainerChildren): Now private.
17350 * java/awt/ComponentOrientation.java: Updated copyright. Added
17351 @author.
17352 * java/awt/FlowLayout.java (serialVersionUID): New field.
17353 (setAlignment): Better exception message.
17354 (layoutContainer): Don't compute component's preferred size unless
17355 we're going to use it.
17356 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17357 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17358 (firstLine, lastLine, firstItem, lastItem): New fields.
17359 (addLayoutComponent): Handle case where constraints is null.
17360 Also, handle relative locations.
17361 (removeLayoutComponent): Handle relative locations.
17362 (MIN, MAX, PREF): New constants.
17363 (calcCompSize): New method.
17364 (calcSize): New method.
17365 (minimumLayoutSize): Use it.
17366 (preferredLayoutSize): Likewise.
17367 (maximumLayoutSize): Likewise.
17368 (toString): Include more information.
17369 (setBounds): New method.
17370 (layoutContainer): Use libgcj implementation; extended to handle
17371 relative locations.
17372
17373 2002-01-15 Tom Tromey <tromey@redhat.com>
17374
17375 * java/lang/Float.java (equals): Preserve old code.
17376 * java/lang/Double.java (equals): Preserve old code.
17377
17378 2002-01-15 Eric Blake <ebb9@email.byu.edu>
17379
17380 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17381 * java/lang/Float.java (equals, compare): Ditto.
17382
17383 2002-01-13 Mark Wielaard <mark@klomp.org>
17384
17385 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17386 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17387 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17388 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17389
17390 2002-01-11 Mark Wielaard <mark@klomp.org>
17391
17392 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17393 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17394 InetAddress.
17395 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17396 * java/net/Socket.java: Merge with Classpath.
17397 * java/net/ServerSocket.java: Likewise.
17398
17399 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
17400
17401 * interpret.cc (NULLARRAYCHECK): New macro.
17402 (SAVE_PC): Just store `pc'.
17403 (find_exception): Subtract one from `pc' here.
17404 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17405 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17406 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17407 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17408 don't call SAVE_PC.
17409 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17410 call SAVE_PC.
17411
17412 2002-01-11 Tom Tromey <tromey@redhat.com>
17413
17414 * java/lang/natSystem.cc (init_properties): Only look for default
17415 locale if LC_MESSAGES is defined.
17416 * aclocal.m4, configure, include/config.h.in: Rebuilt.
17417 * configure.in: Call AM_LC_MESSAGES.
17418 * acinclude.m4 (AM_LC_MESSAGES): New macro.
17419
17420 2002-01-10 Tom Tromey <tromey@redhat.com>
17421
17422 For PR libgcj/5303:
17423 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17424 --version. Recognize GNU-style long options. Print GNU-style
17425 error messages.
17426 (usage): Print GNU-style help. Exit with status 0.
17427 (error): New method.
17428 (run): Print error message if no class names found.
17429 (main): Don't print usage on error.
17430
17431 2002-01-09 Tom Tromey <tromey@redhat.com>
17432
17433 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17434 property.
17435 (help, version): Use println(), not println("").
17436
17437 For PR libgcj/5303:
17438 * gnu/gcj/convert/Convert.java (error): Program is called
17439 `jv-convert'. Print GNU-style message. Exit with status 1, not
17440 -1.
17441 (main): Handle --help and --version.
17442 (help): New method.
17443 (version): Likewise.
17444
17445 2002-01-08 Tom Tromey <tromey@redhat.com>
17446
17447 * Makefile.in: Rebuilt.
17448 * Makefile.am (ordinary_java_source_files): Added new files.
17449 * gnu/java/locale/LocaleInformation.java: Extend
17450 LocaleInformation_en.
17451 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17452 and time/date formats.
17453 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17454 generated.
17455 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17456 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17457 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17458 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17459 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17460 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17461 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17462 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17463 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17464 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17465 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17466 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17467 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17468 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17469 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17470 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17471 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17472 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17473 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17474 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17475 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17476 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17477 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17478 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17479 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17480 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17481 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17482 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17483 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17484 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17485 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17486 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
17487 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
17488 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
17489 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
17490 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
17491 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
17492 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
17493 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
17494 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
17495 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
17496 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
17497 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
17498 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
17499 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
17500 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
17501 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
17502 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
17503 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
17504 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
17505 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
17506 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
17507 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
17508 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
17509 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
17510 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
17511 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
17512 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
17513 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
17514 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
17515 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
17516 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
17517 * gnu/java/locale/LocaleInformation_es_US.java: New file.
17518 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
17519 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
17520 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
17521 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
17522 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
17523 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
17524 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
17525 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
17526 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
17527 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
17528 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
17529 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
17530 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
17531 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
17532 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
17533 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
17534 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
17535 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
17536 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
17537 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
17538 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
17539 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
17540 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
17541 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
17542 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
17543 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
17544 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
17545 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
17546 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
17547 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
17548 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
17549 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
17550 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
17551 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
17552 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
17553 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
17554 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
17555 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
17556 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
17557 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
17558 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
17559 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
17560 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
17561 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
17562 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
17563 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
17564 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
17565 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
17566 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
17567 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
17568 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
17569 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
17570 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
17571 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
17572 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
17573 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
17574 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
17575 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
17576 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
17577 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
17578 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
17579 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
17580 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
17581 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
17582 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
17583 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
17584 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
17585
17586 For PR libgcj/5031:
17587 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
17588 choose default locale.
17589
17590 * Makefile.in: Rebuilt.
17591 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
17592
17593 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
17594
17595 * java/net/natPlainSocketImpl.cc: Added timeout handling for
17596 sockets.
17597 (close): New function closes the socket.
17598 (write): New functions for output to socket.
17599 (read): New functions for reading from socket.
17600 * java/net/PlainSocketImpl.java: Glue for new timeout
17601 implementation.
17602 (write): Call the native impl.
17603 (read): Likewise.
17604 (getInputStream): Get a stream to read from the socket.
17605 (getOutputStream): Get a stream to write to the socket.
17606
17607 2002-01-08 Tom Tromey <tromey@redhat.com>
17608
17609 * resolve.cc (_Jv_PrepareClass): Enable verifier.
17610
17611 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
17612
17613 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
17614 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
17615
17616 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
17617
17618 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
17619 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17620 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17621 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17622 insn_bastore, insn_castore, insn_sastore]: Use it.
17623 (continue1) [insn_arraylength]: Check for null array.
17624
17625 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
17626
17627 * configure, include/config.h.in: Rebuilt.
17628 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
17629 * configure.in: Call AC_STRUCT_TIMEZONE.
17630
17631 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
17632
17633 * configure.host: Disable the interpreter for Darwin.
17634
17635 2002-01-04 Tom Tromey <tromey@redhat.com>
17636
17637 * java/lang/Thread.java (stop): No longer synchronized.
17638 (start): Likewise.
17639
17640 2002-01-02 Tom Tromey <tromey@redhat.com>
17641
17642 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
17643 patch.
17644
17645 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
17646
17647 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
17648 PPC Darwin, not for all of Darwin.