AbstractAction.java, [...]: Reworked imports.
[gcc.git] / libjava / ChangeLog
1 2004-01-09 Michael Koch <konqueror@gmx.de>
2
3 * javax/swing/AbstractAction.java,
4 javax/swing/AbstractSet.java,
5 javax/swing/Action.java,
6 javax/swing/ActionMap.java,
7 javax/swing/BoundedRangeModel.java,
8 javax/swing/ButtonModel.java,
9 javax/swing/CellEditor.java,
10 javax/swing/CellRendererPane.java,
11 javax/swing/ComboBoxEditor.java,
12 javax/swing/DebugGraphics.java,
13 javax/swing/DefaultCellEditor.java,
14 javax/swing/DefaultCellRenderer.java,
15 javax/swing/DefaultComboBoxModel.java,
16 javax/swing/DefaultDesktopManager.java,
17 javax/swing/DefaultFocusManager.java,
18 javax/swing/DefaultListCellRenderer.java,
19 javax/swing/Icon.java,
20 javax/swing/JButton.java,
21 javax/swing/JCheckBoxMenuItem.java,
22 javax/swing/JDesktopPane.java,
23 javax/swing/JEditorPane.java,
24 javax/swing/JMenu.java,
25 javax/swing/JPanel.java,
26 javax/swing/JPasswordField.java,
27 javax/swing/JPopupMenu.java,
28 javax/swing/JProgressBar.java: Reworked imports.
29
30 2004-01-09 Michael Koch <konqueror@gmx.de>
31
32 * java/awt/geom/PathIterator.java
33 (WIND_EVEN_ODD): Removed redundant modifiers.
34 (WIND_NON_ZERO): Likewise.
35 (SEG_MOVETO): Likewise.
36 (SEG_LINETO): Likewise.
37 (SEG_QUADTO): Likewise.
38 (SEG_CUBICTO): Likewise.
39 (SEG_CLOSE): Likewise.
40 * java/awt/image/SinglePixelPackedSampleModel.java:
41 Removed redundant semicolon.
42 * java/io/ObjectInputStream.java
43 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
44 * java/util/logging/Filter.java
45 (isLoggable): Removed redundant modifier.
46 * java/util/logging/LogManager.java:
47 Removed redundant semicolon.
48 * java/util/logging/XMLFormatter.java
49 (format): Removed unused variable "key".
50
51 2004-01-08 Fernando Nasser <fnasser@redhat.com>
52
53 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
54 New name for the former setFile native method.
55 (setFile): New method.
56 (setDirectory): Implemented.
57 (connectSignals): New native method.
58 (setFilenameFilter): Improve comment.
59 (getGraphics): Comment.
60 (gtkHideFileDialog): New method.
61 (gtkDisposeFileDialog): New method.
62 (gtkSetFilename): New method.
63 * java/awt/Dialog.java (show): Block on modal dialogs, but only
64 for FileDialog for now.
65 (hide): New method.
66 (dispose): New method.
67 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
68 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
69 deprecated creation functions. Make dialog modal. Add it to the
70 window group.
71 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
72 function.
73 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
74 Rename to...
75 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
76 name.
77 (window_closed): New function.
78 (ok_clicked): New function.
79 (cancel_clicked): New function.
80
81 2004-01-08 Michael Koch <konqueror@gmx.de>
82
83 * javax/swing/JLayeredPane.java: Revert changes to standard
84 boilerplate, reworked imports.
85
86 2004-01-07 Tom Tromey <tromey@redhat.com>
87
88 PR libgcj/13439:
89 * verify.cc (state::merge): Copy changed locals out of subroutine
90 in NO_STACK case.
91 (state::FLAG_CHANGED): New const.
92 (state::FLAG_UNUSED): Likewise.
93 (state::local_changed): Removed. Updated all users.
94 (state::flags): New field.
95 (state::merge): Added jsr_semantics argument, more logic.
96 (push_jump_merge): Added jsr_semantics argument.
97 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
98 merging through the jsr instruction.
99
100 2004-01-07 Tom Tromey <tromey@redhat.com>
101
102 * scripts/MakeDefaultMimeTypes.java: Use \n, not
103 backslash-newline.
104
105 2004-01-07 Graydon Hoare <graydon@redhat.com>
106
107 * java/awt/Container.java (LightweightDispatcher): Implement.
108 (visitChild): Reuse graphics object.
109 (dispatchEventImpl): Optionally dispatch to lightweight.
110 (addNotifyContainerChildren): Build LightweightDispatcher.
111
112 2004-01-07 David Jee <djee@redhat.com>
113
114 * java/awt/Container.java
115 (update): Clear only the clipped region, instead of clearing the
116 entire Container.
117 (visitChildren): Visit children in descending order.
118
119 2004-01-07 Michael Koch <konqueror@gmx.de>
120
121 * java/lang/reflect/Array.java: Merged documentation with classpath.
122
123 2004-01-07 Michael Koch <konqueror@gmx.de>
124
125 * java/text/CollationElementIterator.java
126 (textIndex): Renamed from index.
127 * java/text/CollationKey.java
128 (collator): New member.
129 (CollationKey): New argument for parent collator.
130 (equals): Check for same collator, source string and key array.
131 * java/text/RuleBasedCollator.java:
132 Reformated.
133 (RuleBasedCollator): Don't re-initialize frenchAccents with default
134 value.
135 (getCollationElementIterator): Rewritten.
136 (getCollationKey): Added new argument to CollationKey constructor.
137
138 2004-01-07 Michael Koch <konqueror@gmx.de>
139
140 * gnu/java/nio/DatagramChannelImpl.java
141 (blocking): Removed.
142 (DatagramChannelImpl): Call configureBlocking().
143 (implConfigureBlocking): Dont initialize blocking.
144 * gnu/java/nio/ServerSocketChannelImpl.java
145 (blocking): Removed.
146 (ServerSocketChannelImpl): Call configureBlocking().
147 (implConfigureBlocking): Dont initialize blocking.
148 * gnu/java/nio/SocketChannelImpl.java
149 (blocking): Removed.
150 (SocketChannelImpl): Call configureBlocking().
151 (implConfigureBlocking): Dont initialize blocking.
152 (connect): Use isBlocking().
153 * java/nio/channels/spi/AbstractSelectableChannel.java
154 (configureBlocking): Use blockingLock() instead of LOCK.
155 Set blocking after successfully called implConfigureBlocking().
156 (register): Use blockingLock() instead of LOCK.
157
158 2004-01-07 Michael Koch <konqueror@gmx.de>
159
160 * java/net/ServerSocket.java (isBound): Fixed documentation.
161
162 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
163
164 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
165 (changeEvent): Create event object on demand.
166 (DefaultBoundedRangeModel, toString, setValue, setExtent,
167 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
168 fireStateChanged): Re-written.
169 * javax/swing/event/EventListenerList.java: Reformatted, document
170 typical usage.
171 (toString): Implemented.
172 (getListeners): Re-written.
173 (remove): Re-written.
174 (add): Re-written.
175 (NO_LISTENERS): New singleton field.
176 (listenerList): Declare as transient; document.
177 (serialVersionUID): Document.
178 (getListenerCount(Class)): More efficient implementation,
179 also accepts null argument. Improve Javadoc.
180 (getListenerCount()): Remove unnecessary cast; docfix.
181 * javax/swing/undo/UndoableEditSupport.java:
182 Re-format, document.
183 (UndoableEditSupport): Set realSource field. Improve documentation.
184 (_postEdit): Iterate over cloned listener vector.
185 (toString): Don't emit realSource.
186 (beginUpdate, endUpdate): Support nested updates.
187 (postEdit): Use compound edit if present.
188
189 2004-01-06 Graydon Hoare <graydon@redhat.com>
190
191 * java/awt/Container.java (swapComponents): Add forgotten
192 function, required for JLayeredPane change.
193
194 2004-01-06 Michael Koch <konqueror@gmx.de>
195
196 * java/text/CollationElementIterator.java: Reformated.
197 (CollationElementIterator): Changed order of arguments.
198 * java/text/RuleBasedCollator.java
199 (RuleBasedCollator): Merged class documentation.
200 (CollationElement): Added documentation.
201 (compare): Reformated, renamed arguments.
202 (equals): Likewise.
203 (getCollationElementIterator): Likewise.
204 (getCollationKey): Likewise.
205
206 2004-01-06 Graydon Hoare <graydon@redhat.com>
207
208 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
209
210 2004-01-06 Michael Koch <konqueror@gmx.de>
211
212 * gnu/java/net/protocol/file/Connection.java:
213 Reformated copyright.
214 (hdrHash): Removed.
215 (hdrVec): Removed.
216 (gotHeaders): Removed.
217 (getHeaderField): Removed.
218 (getHeaderField): Removed.
219 (getHeaderFieldKey): Removed.
220 (getKey): Removed.
221 (getField): Removed.
222 (getHeaders): Removed.
223
224 2004-01-06 Michael Koch <konqueror@gmx.de>
225
226 * javax/print/attribute/standard/DateTimeAtCompleted.java,
227 javax/print/attribute/standard/DateTimeAtCreation.java,
228 javax/print/attribute/standard/DateTimeAtProcessing.java,
229 javax/print/attribute/standard/JobImpressionsCompleted.java,
230 javax/print/attribute/standard/JobKOctets.java,
231 javax/print/attribute/standard/JobKOctetsProcessed.java,
232 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
233 javax/print/attribute/standard/JobPrioritySupported.java: New files.
234 * Makefile.am (javax_source_files): Added new files.
235 * Makefile.in: Regenerated.
236
237 2004-01-06 Michael Koch <konqueror@gmx.de>
238
239 * java/net/URLConnection.java
240 (contentHandler): Removed.
241 (locale): Removed.
242 (getHeaderFields): Return an empty map instead of null.
243 (getContent): Connect if needed, renamed "cType" to "type" and
244 "contentHandler" to "ch" and made it a local variable.
245 (getPermission): Don't use package in class name.
246 (setDefaultRequestProperty): Fixed typo in documentation.
247 (initializeDateFormats): Made locale a local variable.
248
249 2004-01-06 Michael Koch <konqueror@gmx.de>
250
251 * java/lang/Package.java
252 (getPackage): Get the current class loader directly.
253 * java/lang/SecurityManager.java
254 (currentLoadedClass): Dont iterate over class contexts.
255 (classLoaderDepth): Don't check class loaders if everything is allowed.
256
257 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
258
259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
260 (pre_event_handler): Set all insets to 0 when a Configure event
261 is received for a GtkPlug.
262 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
263 Make handle long, not int.
264 (EmbeddedWindow()): New constructor.
265 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
266 long, not int.
267 (setHandle): New method.
268 (getHandle): Return long, not int.
269 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
270 declaration.
271 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
272 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
273 (create(long)): Take long parameter, not int. Cast gtk_plug_new
274 argument to GdkNativeWindow.
275 (construct): New method.
276 (embed): New method.
277
278 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
279 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
280 (create(int, int)): New method.
281 (create): Call new create method.
282 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
283 methods.
284 (childResized): Remove native implementation. Implement in
285 Java.
286 (getHScrollbarHeight, getVScrollbarWidth): Call
287 gtk_widget_size_request to get scrollbar dimensions.
288 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
289 call getVScrollbarWidth and getHScrollbarHeight when vertical
290 and horizontal scrollbars respectively are needed.
291 (doLayout): Enlarge child if it is smaller than the viewport.
292
293 2004-01-05 Fernando Nasser <fnasser@redhat.com>
294
295 * java/awt/Dialog.java (constructor): Accept null title as per spec.
296 * java/awt/FileDialog.java (constructor): Throw exception on invalid
297 argument as per spec.
298
299 2004-01-05 Fernando Nasser <fnasser@redhat.com>
300
301 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
302 (insert): Ditto.
303 (remove): Ditto. Also, Check for valid argument.
304 (removeAll): Use peer interface method.
305 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
306 native add function.
307 (nativeRemove): New name for native remove function.
308 (getHistory): New native function.
309 (constructor): Generate ItemEvent.
310 (add): Ditto, if selection is changed.
311 (remove): Ditto, ditto.
312 (removeAll): Add implementation.
313 (handleEvent): Remove. Dead code.
314 (choicePostItemEvent): Add comment.
315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
316 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
317 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
318 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
319 comments and fix condition to change selection.
320 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
321 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
322 remove all capability.
323 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
324 (item_activate): Add cast to remove compiler warning.
325
326 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
327
328 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
329 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
330 (getPreferredSize): Call preferredSize.
331 (preferredSize): Call gtkWidgetGetPreferredDimensions.
332 (getMinimumSize): Call minimumSize.
333 (minimumSize): Call gtkWidgetGetPreferredDimensions.
334 (gtkWidgetGetDimensions): Return the peer widget's current size
335 request.
336 (gtkWidgetGetPreferredDimensions): Return the peer widget's
337 natural size request.
338
339 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
340
341 Thanks to Brian Gough <bjg@network-theory.com>
342 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
343 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
344
345 2004-01-04 Matthias Klose <doko@debian.org>
346
347 * aclocal.m4: Rebuilt using "aclocal -I .".
348 * configure: Rebuilt.
349
350 2004-01-03 Per Bothner <per@bothner.com>
351
352 * java/util/Date.java (parse): Fix a number of problems.
353 (skipParens): Remove no-longer-needed method.
354
355 2003-12-31 Michael Koch <konqueror@gmx.de>
356
357 * gnu/java/net/protocol/http/Connection.java
358 (sendRequest): Dont encode output in default character encoding,
359 add correct version number to HTTP user agent string.
360
361 2003-12-31 Graydon Hoare <graydon@redhat.com>
362
363 * configure.in: Add --enable-gtk-cairo check.
364 * configure: Regenerate.
365 * Makefile.am: Conditionally link against cairo.
366 * Makefile.in: Regenerate.
367 * acinclude.m4: Include PKG_CHECK_MODULES.
368 * aclocal.m4: Regenerate.
369 * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
370 (getFontMetrics, getClasspathFontPeer):
371 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
372 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
373 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
374 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
375 Switch behavior depending on GtkToolkit.useGraphics2D().
376 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
377 * java/awt/Font.java: Switch to peer model.
378 * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
379 * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
381 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h.
382
383 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
384
385 * java/io/ObjectOutputStream.java
386 (putFields): Reindented. Fixed behaviour: currentPutField should be
387 null
388 before calling this method.
389 (writeFields): Likewise.
390 (markFieldsWritten): Fixed the exception message.
391 (callWriteMethod): Ensure currentPutField is null.
392 (getBooleanField): Translate IllegalArgumentException into
393 InvalidClassException.
394 (getByteField): Likewise.
395 (getCharField): Likewise.
396 (getDoubleField): Likewise.
397 (getFloatField): Likewise.
398 (getIntField): Likewise.
399 (getLongField): Likewise.
400 (getShortField): Likewise.
401 (getObjectField): Check the type code before returning the object.
402 (getField): Translate NoSuchFieldException into InvalidClassException
403 directly.
404
405 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
406
407 * java/net/URL.java
408 (URL): Change context path to "/" if it is empty.
409
410 2003-12-31 Michael Koch <konqueror@gmx.de>
411
412 * testsuite/libjava.mauve/xfails: Removed tests that pass now:
413 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
414 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
415 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
416 (number 26)
417 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
418 (number 54)
419
420
421 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
422
423 * java/util/GregorianCalendar.java
424 (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
425 Fixed the computation of DAY_OF_WEEK_IN_MONTH.
426 (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
427
428 2003-12-30 Michael Koch <konqueror@gmx.de>
429
430 * testsuite/libjava.mauve/xfails: Removed the following testcase
431 because it passes now:
432 FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
433 (number 1)
434
435 2003-12-30 Michael Koch <konqueror@gmx.de>
436
437 * java/io/ObjectInputStream.java,
438 java/io/ObjectOutputStream.java,
439 java/io/ObjectStreamClass.java:
440 Reformated, no functional code changes.
441
442 2003-12-30 Michael Koch <konqueror@gmx.de>
443
444 * gnu/java/net/protocol/http/Connection.java
445 (outputStream): New field.
446 (bufferedOutputStream): New field.
447 (connect): Initialize outputStream and bufferedOutputStream.
448 (sendRequest): Create PrintWriter object from outputStream,
449 support HTTP 1.1, send missing HTTP headers and buffered output data
450 for POST method.
451 (getOutputStream): Set request method to POST if output stream is
452 used, return bufferedOutputStream.
453 (setRequestMethod): Allow HEAD and POST methods.
454 This fixes libgcj PR/6302 and libgcj PR/7752.
455
456 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
457
458 * java/io/LineNumberReader.java
459 (countLines): Removed.
460 (fill): New private method.
461 (mark): Changed logic to use and matchedNewLine.
462 (reset): Likewise.
463 (read): Likewise.
464 (skipRedundantLF): Likewise.
465
466 2003-12-30 Michael Koch <konqueror@gmx.de>
467
468 * gnu/java/net/protocol/http/Connection.java
469 (requestProperties): New field.
470 (addRequestProperty): New method.
471 (getRequestProperty): New method.
472 (setRequestProperty): New method.
473 (getRequestProperties): New method.
474
475 2003-12-28 Michael Koch <konqueror@gmx.de>
476
477 * gnu/java/net/protocol/http/Connection.java
478 (inputStream): Made it a DataInputStream.
479 (requestProperties): Removed.
480 (hdrHash): Removed.
481 (hdrVec): Removed.
482 (headers): New field to store headers.
483 (connect): Initialize inputStream.
484 (receiveReply): Merged from classpath. The new algorithm is line based
485 instead of character based.
486 (getHeaderField): Use headers.
487 (getHeaderFields): Use headers.
488 (getKey): Removed.
489 (getField): Removed.
490 * gnu/java/net/HeaderFieldHelper.java: New file.
491 * Makefile.am (ordinary_java_source_files):
492 Added gnu/java/net/HeaderFieldHelper.java.
493 * Makefile.in: Regenerated.
494
495 2003-12-28 Guilhem Lavaux <guilhem@kaffe.org>
496
497 * java/io/LineNumberReader.java
498 (mark): Improved error checking.
499 (read): Likewise.
500 (skip): Likewise. Skip is now really eating the specified number of
501 characters.
502 * java/io/CharArrayReader.java (read): It should throw
503 IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
504 mauve).
505 * java/io/BufferedReader.java (readLine): Make readLine() really block
506 until either EOF is reached or a true error happens.
507
508 2003-12-27 Michael Koch <konqueror@gmx.de>
509
510 * gnu/java/net/protocol/http/Connection.java
511 (getRequestProperty): Removed.
512 (setRequestProperty): Removed.
513
514 2003-12-27 Michael Koch <konqueror@gmx.de>
515
516 * gnu/java/net/protocol/http/Connection.java
517 (connect): Call receiveReply().
518 (receiveReply): Renamed from getHttpHeaders().
519 (getOutputStream): Moved check on doOutput before check for connection
520 state.
521
522 2003-12-27 Michael Koch <konqueror@gmx.de>
523
524 * javax/print/attribute/ResolutionSyntax.java,
525 javax/print/attribute/SetOfIntegerSyntax.java,
526 javax/print/attribute/Size2DSyntax.java,
527 javax/print/attribute/standard/Copies.java,
528 javax/print/attribute/standard/JobImpressions.java,
529 javax/print/attribute/standard/JobMediaSheets.java,
530 javax/print/attribute/standard/NumberOfDocuments.java,
531 javax/print/attribute/standard/NumberOfInterveningJobs.java,
532 javax/print/attribute/standard/PagesPerMinute.java,
533 javax/print/attribute/standard/PagesPerMinuteColor.java,
534 javax/print/attribute/standard/QueuedJobCount.java:
535 Fixed typo (s/then/than/).
536
537 2003-12-27 Guilhem Lavaux <guilhem@kaffe.org>
538
539 * java/rmi/Naming.java (lookup): Check if the first character of the
540 filename returned by URL.getFile() is a '/', only if it is the case
541 we cut this first character and call the registry with the good name.
542 (bind): Likewise.
543 (rebind): Likewise.
544
545 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
546 Mark Wielaard <mark@klomp.org>
547
548 * java/io/BufferedReader.java (BufferedReader):
549 Throw IllegalArgumentException when size <= 0.
550 (mark): Document and better exception message for negative
551 readLimit IllegalArgumentException.
552 (read(char[],int,int)): Throw IndexOutOfBoundsException
553 if offset and count are not valid regarding buf.
554 (skip): Throw IllegalArgumentException when count is negative.
555
556 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
557
558 * java/io/FileInputStream.java
559 (FileInputStream(String)): Call FileInputStream(File).
560 (FileInputStream(File)): Check whether the argument is a directory.
561
562 2003-12-26 Michael Koch <konqueror@gmx.de>
563
564 * Makefile.am (rmi_java_source_files):
565 Added gnu/java/rmi/server/RMIVoidValue.java.
566 * Makefile.in: Regenerated.
567
568 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
569 Mark Wielaard <mark@klomp.org>
570
571 * gnu/java/rmi/server/UnicastConnectionManager.java
572 (startScavenger): Set the client connection manager to daemon
573 state because it may block clients until TIMEOUT is reached
574 when they are exiting.
575
576 * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
577 a void return.
578
579 * gnu/java/rmi/server/UnicastRemoteCall.java
580 (DummyOutputStream): Add a boolean before each written field to
581 know whether it is a primitive.
582 (releaseOutputStream): Flush parameters at write time.
583
584 * gnu/java/rmi/server/UnicastServerRef.java
585 (incomingMessageCall): Return a RMIVoidValue if no value is to be
586 returned.
587
588 * gnu/java/rmi/server/UnicastServer.java
589 (incomingMessageCall): Do not write a returned object if it is
590 a RMIVoidValue.
591
592 2003-12-25 Andreas Tobler <a.tobler@schweiz.ch>
593
594 * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for
595 darwin. Fixed by fixinclude now.
596
597 2003-12-25 Michael Koch <konqueror@gmx.de>
598
599 * java/net/ServerSocket.java bind():
600 If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
601 address to bind to.
602
603 2003-12-23 Guilhem Lavaux <guilhem@kaffe.org>
604
605 * java/io/ObjectInputStream.java
606 (getField): Handle transient and non persistent fields.
607 (readClassDescriptor): Better error handling, use the right
608 class loader.
609 (readFields): Fields marked as not present in the stream
610 or not to be set are not read and set.
611 * java/io/ObjectInputStream.java
612 (readFields): Changed implementation of GetField.
613 (readClassDescriptor): Documented.
614 * java/io/ObjectOutputStream.java
615 (writeClassDescriptor): Added condition when to write class super
616 class information.
617
618 2003-12-22 Fernando Nasser <fnasser@redhat.com>
619
620 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
621 (choicePostItemEvent): Change signature to more specific String object.
622 * java/awt/Choice.java (add): Generate ItemEvent for the first item
623 added.
624 (insert): Generate ItemEvent if insertion caused
625 selection to change.
626 (remove): Generate ItemEvent if removal cause selection to change.
627 (removeAll): Change algorithm to prevent generation of ItemEvents.
628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
629 (connect_choice_item_selectable_hook): Change argument type.
630 Fix argument value.
631 Make sure resources are feed by registering callback.
632 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
633 above function.
634 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
635 (item_activate): Ditto.
636 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
637 menuitem.
638 (item_removed): New function. Free resources.
639 * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
640 name.
641 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
642 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
643 choicePostItemEvent.
644
645 2003-12-23 Michael Koch <konqueror@gmx.de>
646
647 * javax/print/attribute/standard/Copies.java,
648 javax/print/attribute/standard/JobImpressions.java,
649 javax/print/attribute/standard/JobMediaSheets.java,
650 javax/print/attribute/standard/JobPriority.java,
651 javax/print/attribute/standard/NumberOfDocuments.java,
652 javax/print/attribute/standard/NumberOfInterveningJobs.java,
653 javax/print/attribute/standard/NumberUp.java,
654 javax/print/attribute/standard/PagesPerMinuteColor.java,
655 javax/print/attribute/standard/PagesPerMinute.java,
656 javax/print/attribute/standard/QueuedJobCount.java: New files.
657 * Makefile.am (ordinary_java_source_files): Added new files.
658 * Makefile.in: Regenerated.
659
660 2003-12-23 Michael Koch <konqueror@gmx.de>
661
662 * javax/print/attribute/AttributeSetUtilities.java
663 (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
664 * javax/print/attribute/HashAttributeSet.java
665 (HashAttributeSet): Call internal add methods, added missing
666 exceptions.
667 (add): Call addInternal, added exceptions to documentation.
668 (addInternal): New method.
669 (addAll): Call addAllInternal, added exception to documentation.
670 (addAllInternal): New method.
671 (clear): Added exception to documentation.
672 (remove): Likewise.
673 * javax/print/attribute/URISyntax.java
674 (serialVersionUID): Fixed value.
675
676 2003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com>
677
678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
679 (pre_event_handler): Don't dereference NULL focus_obj_ptr.
680
681 2003-12-21 Michael Koch <konqueror@gmx.de>
682
683 * javax/print/attribute/AttributeSetUtilities.java,
684 javax/print/attribute/HashAttributeSet.java,
685 javax/print/attribute/HashDocAttributeSet.java,
686 javax/print/attribute/HashPrintJobAttributeSet.java,
687 javax/print/attribute/HashPrintRequestAttributeSet.java,
688 javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
689 * Makefile.am (ordinary_java_source_files): Added new files.
690 * Makefile.in: Regenerated.
691
692 2003-12-21 Michael Koch <konqueror@gmx.de>
693
694 * javax/print/attribute/EnumSyntax.java,
695 javax/print/attribute/SetOfIntegerSyntax.java: New files.
696 * Makefile.am (ordinary_java_source_files):
697 Added javax/print/attribute/EnumSyntax.java
698 and javax/print/attribute/SetOfIntegerSyntax.java.
699 * Makefile.in: Regenerated.
700
701 2003-12-21 Michael Koch <konqueror@gmx.de>
702
703 * javax/print/attribute/PrintJobAttribute.java,
704 javax/print/attribute/PrintJobAttributeSet.java,
705 javax/print/attribute/PrintRequestAttribute.java,
706 javax/print/attribute/PrintServiceAttribute.java,
707 javax/print/attribute/PrintServiceAttributeSet.java,
708 javax/print/attribute/SupportedValuesAttribute.java: New files.
709 * Makefile.am (ordinary_java_source_files): Added new files.
710 * Makefile.in: Regenerated.
711
712 2003-12-21 Michael Koch <konqueror@gmx.de>
713
714 * javax/print/attribute/DateTimeSyntax.java,
715 javax/print/attribute/DocAttribute.java,
716 javax/print/attribute/DocAttributeSet.java,
717 javax/print/attribute/IntegerSyntax.java,
718 javax/print/attribute/ResolutionSyntax.java,
719 javax/print/attribute/Size2DSyntax.java,
720 javax/print/attribute/TextSyntax.java,
721 javax/print/attribute/URISyntax.java,
722 javax/print/attribute/UnmodifiableSetException.java: New files.
723 * Makefile.am (ordinary_java_source_files): Added new files.
724 * Makefile.in: Regenerated.
725
726 2003-12-21 Michael Koch <konqueror@gmx.de>
727
728 * gnu/java/net/PlainDatagramSocketImpl.java
729 (mcastGrp): Added documentation.
730
731 2003-12-20 Michael Koch <konqueror@gmx.de>
732
733 * gnu/java/net/protocol/jar/Connection.java
734 (connectionCache): New field.
735 (connect): New method.
736 (getInputStream): New method.
737 (hdrHash): New field.
738 (hdrVec): New field.
739 (gotHeaders): New field.
740 (getHeaderField): New method.
741 (getHeaderFields): New method.
742 (getHeaderFieldKey): New method.
743 (getKey): New method.
744 (getField): New method.
745 (getHeaders): New method.
746 * java/net/JarURLConnection.java
747 (connectionCache): Removed.
748 (connect): Removed.
749 (getInputStream): Removed.
750 (hdrHash): Removed.
751 (hdrVec): Removed.
752 (gotHeaders): Removed.
753 (getHeaderField): Removed.
754 (getHeaderFields): Removed.
755 (getHeaderFieldKey): Removed.
756 (getKey): Removed.
757 (getField): Removed.
758 (getHeaders): Removed.
759
760 2003-12-20 Michael Koch <konqueror@gmx.de>
761
762 * java/io/ObjectStreamField.java (isUnshared): Added documentation.
763
764 2003-12-20 Mohan Embar <gnustuff@thisiscool.com>
765
766 * gnu/java/nio/SelectorImpl.java
767 (selectThreadMutex): New field.
768 (selectThread): New field.
769 (unhandledWakeup): New field.
770 (implCloseSelector): Added skeleton code which
771 synchronizes as per Sun JRE JavaDoc.
772 (keys): Throw ClosedSelectorException if selector
773 is closed.
774 (selectNow): Added comment that we're faking out
775 an immediate select with a one-microsecond-timeout one.
776 (select): Use 0 instead of -1 for infinite timeout.
777 (implSelect): Changed comment in declaration.
778 (select): Added synchronized to method declaration.
779 Added synchronization and wakeup support as per Sun
780 JRE JavaDoc.
781 (selectedKeys): Throw ClosedSelectorException if selector
782 is closed.
783 (wakeup): Implemented.
784 (deregisterCancelledKeys): Synchronize on cancelled key
785 set before deregistering.
786 (register): Synchronize on key set before registering.
787 * java/nio/channels/spi/AbstractSelector.java
788 Added import for java.nio.channels.ClosedSelectorException.
789 (close): Added synchronized to method declaration.
790 (cancelledKeys): Throw ClosedSelectorException if selector
791 is closed.
792 (cancelKey): Synchronize on cancelled key set before key.
793
794 2003-12-20 Michael Koch <konqueror@gmx.de>
795
796 * Makefile.am (ordinary_java_source_files):
797 Added gnu.java.net.URLParseError.java.
798 * Makefile.in: Regenerated.
799
800 2003-12-20 Guilhem Lavaux <guilhem@kaffe.org>
801
802 * gnu/java/net/URLParseError.java: New file.
803 * gnu/java/net/protocol/jar/Handler.java
804 (parseURL): Throw URLParseError if needed, fix '/' handling.
805 * java/net/URL.java (URL): Catch URLParseError and
806 transform it into a MalformedURLException.
807
808 2003-12-19 Michael Koch <konqueror@gmx.de>
809
810 * gnu/java/nio/ChannelOutputStream.java: New file.
811 * java/nio/channels/Channels.java
812 (newOutputStream): Implemented.
813 * Makefile.am (ordinary_java_source_files)
814 Added gnu/java/nio/ChannelOutputStream.java.
815 * Makefile.in: Regenerated.
816
817 2003-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
818
819 * java/awt/FlowLayout.java (layoutContainer): Let components
820 assume their preferred height. Centre components vertically.
821
822 2003-12-19 Michael Koch <konqueror@gmx.de>
823
824 * gnu/java/nio/ChannelInputStream.java: New file.
825 * java/nio/channels/Channels.java (newInputStream): Implemented.
826 * java/nio/channels/FileChannelImpl.java
827 (readImpl): Only put data into buffer if something was read.
828 * Makefile.am (ordinary_java_source_files):
829 Added gnu/java/nio/ChannelInputStream.java.
830 * Makefile.in: Regenerated.
831
832 2003-12-19 Michael Koch <konqueror@gmx.de>
833
834 * gnu/java/nio/OutputStreamChannel.java: New file.
835 * java/nio/channels/Channels.java (newChannel): Implemented.
836 * Makefile.am (ordinary_java_source_files):
837 Added gnu/java/nio/OutputStreamChannel.java.
838 * Makefile.in: Regenerated.
839
840 2003-12-19 Michael Koch <konqueror@gmx.de>
841
842 * Makefile.am (ordinary_java_source_files):
843 Added gnu.java.nio.InputStreamChannel.
844 * Makefile.in: Regenerated.
845
846 2003-12-19 Michael Koch <konqueror@gmx.de>
847
848 * gnu/java/nio/InputStreamChannel.java: New file.
849 * java/nio/channels/Channels.java (newChannel): Implemented.
850
851 2003-12-19 Michael Koch <konqueror@gmx.de>
852
853 * java/util/SimpleTimeZone.java
854 (setStartRule): Reformated documentation.
855 (setEndRule): Reworked documentation.
856 (getDSTSavings): Fixed @since tag.
857 (setDSTSavings): New method.
858
859 2003-12-19 Michael Koch <konqueror@gmx.de>
860
861 * java/text/NumberFormat.java: Sorted imports.
862 (getCurrency): New method.
863 (setCurrency): New method.
864
865
866 2003-12-19 Michael Koch <konqueror@gmx.de>
867
868 * java/text/MessageFormat.java
869 (MessageFormat): New constructor.
870
871 2003-12-19 Michael Koch <konqueror@gmx.de>
872
873 * gnu/java/net/protocol/jar/Handler.java
874 (parseURL): New method.
875 (toExternalForm): New method.
876
877 2003-12-18 Fernando Nasser <fnasser@redhat.com>
878
879 * java/awt/List.java (replaceItem): Prevent selection to move with
880 replace and minimize flickering.
881
882 2003-12-18 Michael Koch <konqueror@gmx.de>
883
884 * libltdl/ltdl.c: Define __private_extern__ if needed.
885
886 2003-12-18 Michael Koch <konqueror@gmx.de>
887
888 * libltdl/.cvsignore: Ignore autom4te.cache
889 * libltdl/Makefile.in: Regenerated.
890 * libltdl/aclocal.m4: Regenerated.
891 * libltdl/acconfig.h: Removed (obsolete).
892 * libltdl/config-h.in: Regenerated.
893 * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
894 * libltdl/configure: Regenerated.
895
896 2003-12-18 Michael Koch <konqueror@gmx.de>
897
898 * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
899 java.text.CollationElementIterator tests as they compile again.
900 * testsuite/libjava.mauve/xfails: Added failing
901 java.text.CollationElementIterator tests.
902
903 2003-12-18 Michael Koch <konqueror@gmx.de>
904
905 * java/util/prefs/AbstractPreferences.java
906 (cachedChildren): New method.
907
908 2003-12-18 Michael Koch <konqueror@gmx.de>
909
910 * java/util/TimeZone.java (getOffset): New method.
911
912 2003-12-17 Fernando Nasser <fnasser@redhat.com>
913
914 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
915 of ActionEvents for mouse double-clicks.
916
917 2003-12-17 Fernando Nasser <fnasser@redhat.com>
918
919 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
920 null Graphics pointer returned by FileDialogPeer.
921
922 2003-12-17 Michael Koch <konqueror@gmx.de>
923
924 * libltdl/stamp-h.in: Removed, not used anymore.
925
926 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
927
928 * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
929 Removed unused InterruptedIOException.h include.
930 * gnu/java/net/natPlainSocketImplWin32.cc
931 (connect): Reset and ignore our thread's interrupted
932 flag instead of testing and throwing an InterruptedIOException
933 if set.
934 (accept): Likewise + changed case of SocketTimeoutException
935 text.
936 (write): Likewise (for both overloads).
937 (doRead): Likewise.
938
939 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
940
941 * win32.cc (WSAEventWrapper): Implemented default
942 constructor and init() methods.
943 (_Jv_select): Removed.
944 * gnu/java/nio/natSelectorImplWin32.cc
945 (helper_put_filedescriptors): Removed.
946 (helper_get_filedescriptors): Removed.
947 (implSelect): Implemented in terms of WSAEventWrapper
948 and WSAWaitForMultipleEvents instead of _Jv_select().
949 Added support for thread interruption.
950 * include/win32.h (WSAEventWrapper): Minor formatting
951 changes; added default constructor declaration, init(),
952 getFD() and getEventHandle() methods.
953 (_Jv_select): Removed.
954
955 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
956
957 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
958 (peekData): Throw SocketTimeoutException instead of
959 InterruptedIOException on timeout.
960 (receive): Likewise.
961 * gnu/java/net/natPlainSocketImplPosix.cc
962 (read): Made a minor exception text case change.
963
964 2003-12-16 Michael Koch <konqueror@gmx.de>
965
966 Fix for PR libgcj/13056.
967 * libltdl/configure.in,
968 libltdl/config.h.in: Removed.
969 * libltdl/configure.ac,
970 libltdl/config-h.in,
971 libltdl/install-sh,
972 libltdl/config.guess,
973 libltdl/config.sub,
974 libltdl/missing,
975 libltdl/mkinstalldirs,
976 libltdl/ltmain.sh: New files.
977 * libltdl/Makefile.am,
978 libltdl/acinclude.m4,
979 libltdl/aclocal.m4,
980 libltdl/ltdl.c,
981 libltdl/ltdl.h,
982 libltdl/README: Update to versions from libtool 1.5.
983 libltdl/configure,
984 * libltdl/Makefile.in: Regenerated.
985 * java/lang/natRuntime.cc (find_symbol):
986 Use type 'lt_ptr' instead of 'lt_ptr_t'.
987
988 2003-12-16 Michael Koch <konqueror@gmx.de>
989
990 * java/awt/MenuComponent.java
991 (serialVersionUID): Fixed value.
992
993 2003-12-16 Fernando Nasser <fnasser@redhat.com>
994
995 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
996 (pre_event_handler): Handle GtkButton widgets differently as events
997 go to its event_window.
998 (connect_awt_hook): Remove compiler warning.
999
1000 i2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1001
1002 * java/io/ObjectInputStream.java
1003 (lookupClass): New method.
1004 (currentLoader): New method.
1005 (inputGetObjectStreamClasses): New method.
1006 (assignNewHandle): Documented.
1007 (currentClassLoader): Documented.
1008 * java/io/ObjectStreamClass.java
1009 (setClass): Changed API. Better handling of the imported/exported
1010 fields.
1011 (getSerialPersistentFields): Make it throw previously caught exceptions
1012 so they can handled in setClass.
1013
1014 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1015
1016 * java/io/ObjectStreamField.java: A few methods were added in prevision
1017 of the upcoming upgrade of the serialization code. This also adds
1018 some missing documentation.
1019 (ObjectStreamField): We should throw a NullPointerException when 'name'
1020 is null.
1021
1022 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1023
1024 * java/io/ObjectInputStream.java (setBooleanField):
1025 Throw an InvalidClassException if the field hasn't the required type,
1026 documentation added.
1027 (setByteField) Likewise.
1028 (setCharField) Likewise.
1029 (setDoubleField) Likewise.
1030 (setFloatField) Likewise.
1031 (setIntField) Likewise.
1032 (setShortField) Likewise.
1033 (setLongField) Likewise.
1034 (setObjectField) Likewise.
1035
1036 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1037 Helmer Kraemer <hkraemer@freenet.de>
1038
1039 * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1040 Splitted the method so we can specify an explicit boot loader.
1041
1042 2003-12-15 Graydon Hoare <graydon@redhat.com>
1043
1044 * jni/gtk-peer/gdkfont.h: New file.
1045 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1046 include of cairo-xlib.h, add extra gdk_flush().
1047
1048 2003-12-12 Fernando Nasser <fnasser@redhat.com>
1049
1050 * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1051 native state table -- native_global_ref_table.
1052 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1053 native_global_ref_table pointer.
1054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1055 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1056 global reference is deleted and memory allocated for pointer freed.
1057 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1058 JNI global reference instead of JNI local reference.
1059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1060 (pre_event_handler): Remove compilation warning.
1061 (connect_awt_hook): Use saved JNI global reference instead of creating
1062 a new one.
1063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1064 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1065 reference to the Java object.
1066 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1067 unused variable declaration and add comment.
1068 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1069 (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1070 reference to the Java object.
1071 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1072 (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1073 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1074 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1075 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1076 JNI global reference instead of JNI local reference.
1077 (item_toggled): Add debug statement.
1078 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1079 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1080 reference to the Java object.
1081 (connect_choice_item_selectable_hook): Use saved JNI global references
1082 instead of JNI local reference.
1083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1084 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1085 global reference to the Java object.
1086 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1087 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1088 reference to the Java object.
1089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1090 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1091 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1092 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1094 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1095 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1096 (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1098 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1100 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1102 (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1103 (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1104 JNI global reference instead of JNI local reference.
1105 (item_selected): Add debug statement.
1106 (item_unselected): Add debug statement.
1107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1108 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1109 reference to the Java object.
1110 Connect "activate" signal handler using global JNI reference.
1111 (connect_activate_hook): Removed in favor of inline code.
1112 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1113 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1114 reference to the Java object.
1115 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1116 JNI global reference instead of JNI local reference. Add FIXME comment.
1117 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1118 reference to the Java object. Add FIXME comment.
1119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1120 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1121 reference to the Java object.
1122 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1123 JNI global reference instead of JNI local reference.
1124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1125 (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1126 saved JNI global reference instead of JNI local reference.
1127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1128 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1129 reference to the Java object.
1130 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1131 JNI global reference instead of JNI local reference.
1132
1133 2003-12-11 Michael Koch <konqueror@gmx.de>
1134
1135 * java/text/Format.java (serialVersionUID): Fixed value.
1136
1137 2003-12-11 Michael Koch <konqueror@gmx.de>
1138
1139 * javax/naming/event/EventDirContext.java: Jalopied.
1140 (addNamingListener): Fixed typo in method name.
1141
1142
1143 2003-12-11 Mohan Embar <gnustuff@thisiscool.com>
1144
1145 * gnu/java/nio/SocketChannelImpl.java
1146 (write): Removed diagnostic trace.
1147 * gnu/java/nio/natSelectorImplPosix.cc: Added
1148 includes for java.lang.Thread and java.io.InterruptedIOException.
1149 (helper_put_filedescriptors): Don't put invalid file descriptors
1150 in select set.
1151 (helper_get_filedescriptors): Clear invalid file descriptors
1152 from select set.
1153 (helper_reset): New method for clearing our file descriptor
1154 array.
1155 (implSelect): Correctly calculate timeout if specified and
1156 legal.
1157 Intercept and deal with any java.io.InterruptedIOException
1158 thrown by _Jv_select().
1159
1160 2003-12-08 Fernando Nasser <fnasser@redhat.com>
1161
1162 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1163 Most coded moved to pre_event_handler, with the modifications
1164 mentioned below.
1165 (pre_event_handler): New function. Called on the Gtk "event" signal.
1166 Do not retrieve the jobject from the window property as it is already
1167 available as user data in the signal.
1168 Do not try and find the grab widget as it is already done by Gtk at
1169 this point.
1170 Do not search for Window ancestor as Gtk already sends the signal to it.
1171 Do not meddle with the activation state of peer widgets on each
1172 key press or release.
1173 Add CList to the special handling when looking for the focused widget.
1174 * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1176 New function.
1177 (connectSignals): New function.
1178 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1179 Rename to...
1180 (connectSignals): New name. Get rid of NewGlobalRef call.
1181 Use g_signal_connect instead of deprecated gtk_signal_connect.
1182 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1183 (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1184 deprecated gtk_signal_connect.
1185 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1186 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1187 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1188 (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1189 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1190 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1191 function.
1192 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1193 function.
1194 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1195 function.
1196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1197 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1198 function.
1199 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1200 function.
1201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1202 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1203 function.
1204 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1205 function.
1206 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1207 function.
1208 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1209 code.
1210 (item_select): Remove indirection.
1211 (item_unselect): Ditto.
1212 (connect_selectable_hook): Folded into connectSignals.
1213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1214 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1215 function.
1216 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1217 function.
1218 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1219 function.
1220 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1222 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1223 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1224 function.
1225 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1226 function.
1227 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare and call
1228 connectJObject and connectSignals instead of connectHooks.
1229 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1230 connectSignals.
1231 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1232 and not connectHooks.
1233 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1234 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1235 and not connectHooks.
1236 * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1237 connectSignals instead of connectHooks.
1238 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1239 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1240 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto.
1241
1242 2003-12-09 Michael Koch <konqueror@gmx.de>
1243
1244 * Makefile.am (nat_headers_install): New variable with header files to
1245 install automatically.
1246 (install-data-local): Install all headers listed in
1247 nat_headers_install. Install innert nat headers explicitely.
1248 * Makefile.in: Regenerated.
1249
1250 2003-12-09 Michael Koch <konqueror@gmx.de>
1251
1252 * java/util/Calendar.java,
1253 java/util/IdentityHashMap.java,
1254 java/util/prefs/Preferences.java:
1255 Import used classes explicitely.
1256
1257 2003-12-09 Michael Koch <konqueror@gmx.de>
1258
1259 * java/net/DatagramSocket.java
1260 (close): Directly return if socket is closed.
1261 * java/net/ServerSocket.java
1262 (close): Directly return if socket is closed.
1263 * java/net/Socket.java
1264 (close): Directly return if socket is closed.
1265
1266 2003-12-09 Michael Koch <konqueror@gmx.de>
1267
1268 * gnu/java/nio/SelectorImpl.java
1269 (implSelect): Throws IOException.
1270 (select): Likewise.
1271
1272 2003-12-08 Kim Ho <kho@redhat.com>
1273
1274 Fix for Checkbox states.
1275 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1276 (currentState): New field.
1277 (nativeCreate): Add initial state parameter.
1278 (create): Changed to reflect new parameter.
1279 (setState): Fire only on changed states.
1280 (postItemEvent): Fire only on changed states. Also change the
1281 Java Checkbox to reflect new state.
1282 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1283 (nativeCreate): Add parameter and set active state.
1284
1285 2003-12-08 Fernando Nasser <fnasser@redhat.com>
1286
1287 * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1288 object of type expected by specified DataFlavor.
1289
1290 2003-12-08 Fernando Nasser <fnasser@redhat.com>
1291
1292 * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1293 error which was clipping off the first character of a parameter value.
1294
1295 2003-12-08 Olga Rodimina <rodimina@redhat.com>
1296
1297 * java/awt/Polygon.java
1298 (translate): Fixed error that caused polygon
1299 to move right/left when up/down translation was required.
1300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1301 (getSelectionStart): Initialized start position to 0.
1302 (getSelectionEnd): Initialized end position to 0.
1303 (getCaretPosition): Initialized caret position to 0.
1304 (getText): Initialized selected text to NULL
1305
1306 2003-12-08 Michael Koch <konqueror@gmx.de>
1307
1308 Fix for PR libgcj/13176.
1309 * java/io/PrintStream.java: Partly revert my previous patches to get
1310 (line_separator): New field.
1311 (converter): New field.
1312 (work): New field.
1313 (work_bytes): New field.
1314 (pw): Removed.
1315 (closed): Removed.
1316 (PrintStrean): Initialize converter and not pw.
1317 (checkError): Flush always, pw doesn't exist anymore.
1318 (close): Close underlying out stream.
1319 (print): New method.
1320 (writeChars): New method.
1321 (print): Use new internal print method.
1322 (println): Likewise.
1323
1324 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
1325
1326 * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1327 putAllInternal.
1328 (putAllInternal): Correct comment.
1329 * java/util/HashMap.java (HashMap(Map)): As above.
1330 (putAllInternal): As above.
1331
1332 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
1333
1334 * java/util/Hashtable.java (internalContainsValue): Removed.
1335 (containsValue): Don't delegate to internalContainsValue.
1336
1337 2003-12-06 Michael Koch <konqueror@gmx.de>
1338
1339 * javax/naming/directory/Attribute.java,
1340 javax/naming/directory/Attributes.java,
1341 javax/naming/directory/DirContext.java,
1342 javax/naming/directory/InitialDirContext.java,
1343 javax/naming/directory/SearchResult.java,
1344 javax/naming/event/EventContext.java,
1345 javax/naming/event/NamingEvent.java,
1346 javax/naming/event/NamingExceptionEvent.java,
1347 javax/naming/ldap/ControlFactory.java,
1348 javax/naming/ldap/ExtendedRequest.java,
1349 javax/naming/ldap/HasControls.java,
1350 javax/naming/ldap/InitialLdapContext.java,
1351 javax/naming/ldap/LdapContext.java,
1352 javax/naming/ldap/LdapReferralException.java,
1353 javax/naming/ldap/UnsolicitedNotification.java,
1354 javax/naming/ldap/UnsolicitedNotificationListener.java,
1355 javax/naming/spi/DirObjectFactory.java,
1356 javax/naming/spi/DirStateFactory.java,
1357 javax/naming/spi/DirectoryManager.java,
1358 javax/naming/spi/NamingManager.java,
1359 javax/naming/spi/ObjectFactoryBuilder.java,
1360 javax/naming/spi/ResolveResult.java,
1361 javax/naming/spi/Resolver.java,
1362 javax/naming/spi/StateFactory.java:
1363 Import used classes explicitely.
1364
1365 2003-12-05 Scott Gilbertson <scottg@mantatest.com>
1366
1367 * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1368 (clip): Removed field
1369 (clipRectangles): New field.
1370 (clone): Use new updateClip.
1371 (setClipRectangles): Use new updateClip.
1372 * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1373
1374 2003-12-04 Michael Koch <konqueror@gmx.de>
1375
1376 * java/io/FilePermission.java:
1377 Import used classes explicitely.
1378
1379 2003-12-04 Michael Koch <konqueror@gmx.de>
1380
1381 * java/beans/BeanDescriptor.java,
1382 java/beans/EventSetDescriptor.java,
1383 java/beans/FeatureDescriptor.java,
1384 java/beans/IndexedPropertyDescriptor.java,
1385 java/beans/Introspector.java,
1386 java/beans/MethodDescriptor.java,
1387 java/beans/PropertyDescriptor.java,
1388 java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1389 * java/beans/beancontext/BeanContextServicesSupport.java
1390 (serialVersionUID): New field.
1391
1392 2003-12-04 Michael Koch <konqueror@gmx.de>
1393
1394 * java/awt/MenuComponent.java: Import java.io.Serialization.
1395 * java/awt/MenuItem.java: Likewise.
1396 * java/awt/TextComponent.java: Likewise.
1397 * java/awt/image/ImagingOpException.java
1398 (serialVersionUID): Fixed.
1399
1400 2003-12-04 Michael Koch <konqueror@gmx.de>
1401
1402 * gnu/java/net/protocol/http/Connection.java
1403 (sendRequest): Merged writing http headers with classpath.
1404 (getInputStream): Merged documentation from classpath.
1405 (getHeaderField): Likewise.
1406 (getHeaderFieldKey): Likewise.
1407
1408 2003-12-04 Michael Koch <konqueror@gmx.de>
1409
1410 * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1411
1412 2003-12-04 Michael Koch <konqueror@gmx.de>
1413
1414 * java/net/DatagramPacket.java
1415 (length): Made packge-private to make it accessible via CNI.
1416 (maxlen): New field.
1417 (DatagramPacket): Cleaned up.
1418 (setSocketAddress): Add message to exception.
1419 (setData): Call other setData().
1420 (setData): Call setLength().
1421 (setLength): Initialize maxlen too.
1422 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1423 Get maximal length from maxlen field, set length field directly.
1424 (receive): Likewise.
1425 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1426 Get maximal length from maxlen field, set length field directly.
1427 (receive): Likewise.
1428
1429 2003-12-03 Mohan Embar <gnustuff@thisiscool.com>
1430
1431 * gnu/java/nio/natSelectorImplPosix.cc
1432 (implSelect): A timeout of 0 means an infinite
1433 timeout.
1434
1435 2003-12-02 Fernando Nasser <fnasser@redhat.com>
1436
1437 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1438 of ActionEvents.
1439
1440 2003-12-03 Michael Koch <konqueror@gmx.de>
1441
1442 * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1443 * java/lang/natClass.cc (getSigners): Likewise.
1444 (setSigners): Likewise.
1445
1446 2003-12-02 Mohan Embar <gnustuff@thisiscool.com>
1447
1448 * configure.in: Added new MinGW-specific configure flag
1449 --with-win32-nlsapi.
1450 Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1451 Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1452 is set to unicows.
1453 * configure: Rebuilt.
1454 * include/config.h.in: Rebuilt.
1455 * win32.cc (_Jv_Win32NewString): Implemented.
1456 (nativeToUnicode): New helper function defined only for
1457 non-UNICODE builds.
1458 (unicodeToNative): Likewise.
1459 (_Jv_Win32TempString): Implemented.
1460 (lots): Refactored using tchar.h macros.
1461 (WSAEventWrapper): Use _Jv_Win32NewString.
1462 (_Jv_platform_initialize): Use GetModuleFileNameA instead
1463 of GetModuleFileName.
1464 (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1465 Use temporary stack buffer instead of a heap buffer.
1466 * include/win32.h
1467 Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1468 defined; added tchar.h include.
1469 (_Jv_Win32TempString): Declared new helper class.
1470 (JV_TEMP_STRING_WIN32): New helper macro.
1471 (_Jv_Win32NewString): Declared new helper method.
1472 * java/io/natFileDescriptorWin32.cc (open): Use
1473 JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1474 (write): Reformatted slightly.
1475 * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1476 use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1477 (getCanonicalPath): Use _Jv_Win32NewString instead of
1478 JvNewStringUTF.
1479 (performList): Likewise.
1480 * java/lang/natWin32Process.cc (ChildProcessPipe):
1481 Use tchar.h macros.
1482 (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1483 and UNICODE environment flag for CreateProcess.
1484 * java/net/natNetworkInterfaceWin32.cc
1485 (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1486 _Jv_Win32NewString.
1487
1488 2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1489
1490 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1491 (initState): Mark obj parameter as unused.
1492 (stringWidth): Mark obj parameter as unused. Initialize
1493 font_name properly.
1494
1495 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1496 BufferedImageBuilder class static.
1497
1498 2003-12-02 Mark Wielaard <mark@klomp.org>
1499
1500 * java/security/Security.java: Don't use &nbsp; in the api doc.
1501
1502 2003-12-02 Dalibor Topic <robilad@kaffe.org>
1503
1504 Reported by: Jim Pick <jim@kaffe.org>
1505 * libraries/javalib/java/util/Hashtable.java
1506 (internalcontainsValue): New method.
1507 (contains): Delegate to internalContainsValue.
1508
1509 Reported by: Mark Wielaard <mark@klomp.org>
1510 * libraries/javalib/java/util/Hashtable.java
1511 (contains): Improved comment.
1512
1513 Reported by: Jeroen Frijters <jeroen@frijters.net>
1514 * libraries/javalib/java/util/Hashtable.java
1515 (containsValue): Delegate to contains(Object) to make sure older
1516 code overwriting it continues to work.
1517
1518 2003-12-02 Fernando Nasser <fnasser@redhat.com>
1519
1520 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1521 method. Handle mouse and key events that must generate
1522 ActionEvents.
1523 * java/awt/List.java (getSelectedIndex): Return -1
1524 if no list element is selected.
1525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1526 Correct handling of mouse and key events so that List receives them.
1527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1528 (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1529 multiple list elements.
1530
1531 2003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
1532
1533 * java/text/SimpleDateFormat.java (compileFormat):
1534 isLowerCase() and isUpperCase() allow too many characters.
1535 Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1536
1537 2003-12-02 Dalibor Topic <robilad@kaffe.org>
1538
1539 * java/text/FieldPosition.java (equals): Fixed comment.
1540
1541 2003-12-02 Mark Wielaard <mark@klomp.org>
1542
1543 Reported by Archie Cobbs:
1544 * java/security/DigestInputStream.java (read(byte[], int, int): Call
1545 digest.update() with temp, not len as lenght.
1546
1547 2003-12-02 Michael Koch <konqueror@gmx.de>
1548
1549 * java/net/DatagramSocket.java
1550 (close): Close associated DatagramChannel object.
1551 * java/net/ServerSocket.java
1552 * java/net/Socket.java
1553 (close): Reset impl and bound before calling getChannel().close() to
1554 prevent from loops.
1555
1556 2003-12-02 Michael Koch <konqueror@gmx.de>
1557
1558 * java/nio/channels/spi/AbstractInterruptibleChannel.java
1559 (opened): Removed.
1560 (closed): New field.
1561 (close): Check of channel is closed already.
1562 (isOpen): Return !closed.
1563
1564 2003-12-02 Michael Koch <konqueror@gmx.de>
1565
1566 * gnu/java/nio/DatagramChannelImpl.java
1567 (blocking): Initialize with true by default.
1568 * gnu/java/nio/ServerSocketChannelImpl.java
1569 (serverSocket): Made private.
1570 (blocking): Likewise.
1571 (connected): Likewise.
1572 * gnu/java/nio/SocketChannelImpl.java
1573 (connectionPending): Made private.
1574 * gnu/java/nio/FileLockImpl.java
1575 (static): Load native library (needed for classpath).
1576 * gnu/java/nio/SelectorImpl.java
1577 (static): Load native library (needed for classpath).
1578
1579 2003-12-02 Michael Koch <konqueror@gmx.de>
1580
1581 * gnu/java/net/protocol/file/Connection.java
1582 (getLastModified): Implement for file connections.
1583 (getContentLength): Likewise.
1584
1585 2003-12-02 Michael Koch <konqueror@gmx.de>
1586
1587 * gnu/java/net/protocol/file/Connection.java:
1588 Some reformating.
1589 (file): Renamed from fileIn.
1590 (getPermission): Moved around.
1591
1592 2003-12-02 Michael Koch <konqueror@gmx.de>
1593
1594 * gnu/java/net/protocol/jar/Connection.java
1595 (Connection): Made class final, merged documentation with classpath.
1596 (file_cache): Made private.
1597 (jar_file): Renamed from jarfile.
1598
1599 2003-12-02 Michael Koch <konqueror@gmx.de>
1600
1601 * gnu/java/net/protocol/http/Connection.java
1602 (Connection): Initialize doOutput to false;
1603 (connect): Initialize inputStream, moved "send request" code to new
1604 method.
1605 (sendRequest): New method.
1606 (getHttpHeaders): Don't reinitialize inputStream.
1607
1608 2003-12-02 Michael Koch <konqueror@gmx.de>
1609
1610 * gnu/java/net/protocol//http/Connection.java
1611 (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1612 (requestProperties): Initialize, documentation added.
1613 (inputStream): Renamed from bufferedIn.
1614 (Connection): Dont initialize requestProperties.
1615 (setDefaultRequestProperty): Removed.
1616 (getDefaultRequestProperty): Removed.
1617 (usingProxy): Documentation added.
1618 (getHttpHeaders): Likewise.
1619
1620 2003-12-02 Michael Koch <konqueror@gmx.de>
1621
1622 * java/text/DateFormat.java:
1623 Explicitely import used classes.
1624
1625 2003-12-01 Jeff Sturm <jsturm@one-point.com>
1626
1627 * verify.cc (state::clean_subrs): Clear seen_subrs.
1628 (state::copy): Walk seen_subrs from copy, not `this'.
1629 Don't clear seen_subrs.
1630
1631 2003-12-01 Kim Ho <kho@redhat.com>
1632
1633 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1634 Disable wrapping if TextArea has horizontal scroll bars.
1635
1636 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1637
1638 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1639 (awt_event_handler): Hard-code inset values.
1640
1641 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1642 Pass font name, not XLFD, to initState.
1643 (stringWidth(String, int, String)): New method.
1644 (stringWidth(String)): Call new stringWidth.
1645 (getLeading): Always return 0.
1646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1647 (initState): New Pango implementation.
1648 (stringWidth): Likewise.
1649
1650 2003-12-01 Olga Rodimina <rodimina@redhat.com>
1651
1652 * java/awt/TextComponent.java:
1653 (getSelectionStart): Updated javadocs.
1654 (getSelectionEnd): Ditto.
1655 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1656 (getSelectionStart): Changed to return caret position if no
1657 text is selected
1658 (getSelectionEnd): Ditto.
1659
1660 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1661
1662 * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1663 gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1664 gnu/awt/gtk/GtkContainerPeer.java,
1665 gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1666 gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1667 gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1668 gnu/awt/gtk/natGtkComponentPeer.cc,
1669 gnu/awt/gtk/natGtkContainerPeer.cc,
1670 gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1671 gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1672 gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1673
1674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1675 (closed): Mark loader parameter as unused.
1676
1677 2003-12-01 Michael Koch <konqueror@gmx.de>
1678
1679 * gnu/java/net/protocol/http/Connection.java
1680 (Connection): Merged class documentation.
1681 (socket): Renamed from sock.
1682 (Connection): Made protected, documentation added.
1683 (connect): Give URL'S host instead of InetAddress to Socket
1684 constructor.
1685 (disconnect): Documentation added.
1686 (getOutputStream): Rewrapped.
1687
1688 2003-12-01 Michael Koch <konqueror@gmx.de>
1689
1690 * gnu/java/net/protocol/file/Connection.java
1691 (fileIn): Documentation added.
1692 (inputStream): Likewise.
1693 (outputStream): Likewise.
1694 (Connection): Likewise.
1695 (connect): Simplified.
1696
1697 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1698
1699 * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1700 setProperties): Check that io is not null before calling
1701 io.imageUpdate.
1702 * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1703 Update javadocs.
1704 * java/awt/image/PixelGrabber.java: Fix implementation and
1705 update javadocs.
1706
1707 2003-12-01 Michael Koch <konqueror@gmx.de>
1708
1709 * gnu/java/net/natPlainSocketImplPosix.cc
1710 bind(): Dont set SockedImpl.address field on succesful bind.
1711 * gnu/java/net/natPlainSocketImplWin32.cc
1712 bind(): Likewise.
1713
1714 2003-11-30 Jeff Sturm <jsturm@one-point.com>
1715
1716 * java/net/InetAddress.java:
1717 (static): Don'f force DNS request for ANY_IF address.
1718
1719 2003-11-30 Michael Koch <konqueror@gmx.de>
1720
1721 * java/net/InetAddress.java,
1722 java/net/natInetAddressNoNet.cc,
1723 java/net/natInetAddressPosix.cc,
1724 java/net/natInetAddressWin32.cc:
1725 Reverted my last patch.
1726
1727 2003-11-28 Michael Koch <konqueror@gmx.de>
1728
1729 * java/net/InetAddress.java
1730 (lookup): New method that doesnt lookup "0.0.0.0".
1731 (ImplLookup): Renamed from lookup.
1732 * java/net/natInetAddressNoNet.cc
1733 (ImplLookup): Renamed from lookup.
1734 * java/net/natInetAddressPosix.cc
1735 (ImplLookup): Renamed from lookup.
1736 * java/net/natInetAddressWin32.cc
1737 (ImplLookup): Renamed from lookup.
1738
1739 2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1740
1741 * configure: Rebuilt.
1742 * configure.in: Require gtk and glib 2.2.0.
1743
1744 2003-11-27 Dalibor Topic <robilad@kaffe.org>
1745
1746 * java/text/FieldPosition.java (equals): Adapted to handle
1747 field_attribute. Added fast-circuit check for comparison to self.
1748 Replaced use of instanceof by getClass to fix symmetry for derived
1749 types.
1750 (toString): Adapted to handle field_attribute. Improved readability.
1751 (hashCode): New method.
1752
1753 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1754
1755 * java/text/FieldPosition.java (field_attribute): New field.
1756 (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1757 getFieldAttribute): New methods.
1758
1759 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1760
1761 * java/text/DecimalFormatSymbols.java (locale): New field.
1762 (DecimalFormatSymbols (Locale)): Set locale.
1763 (serialVersionOnStream): Upgraded to number 2.
1764 (readObject): Assign locale if it wasn't by the serializer.
1765
1766 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1767
1768 * java/text/FormatCharacterIterator.java: Documented the class and
1769
1770 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1771
1772 * java/text/FormatCharacterIterator.java: Fixed some typos.
1773
1774 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1775
1776 * java/text/NumberFormat.java:
1777 (getIntegerInstance) Added the java version in the comments.
1778
1779 2003-11-27 Mark Wielaard <mark@klomp.org>
1780
1781 * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1782 (readResolve): Reformat.
1783
1784 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1785
1786 * java/text/NumberFormat.java
1787 (NumberFormat.Field): New implemented class to match Java 1.4.
1788 (getIntegerInstance): Two new Java 1.4 methods.o
1789
1790 2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1791
1792 * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1793 the leap day of the leap year twice.
1794 (computeFields): First week of month is 1 not 0.
1795
1796 2003-11-27 Mark Wielaard <mark@klomp.org>
1797
1798 * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1799 AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1800
1801 2003-11-27 Michael Koch <konqueror@gmx.de>
1802
1803 * javax/swing/UIDefaults.java:
1804 Reformated to match classpath's version.
1805
1806 2003-11-27 Sascha Brawer <brawer@dandelis.ch>
1807
1808 * javax/swing/UIManager.java (getDefaults, getDimension,
1809 getIcon, getInsets, getInstalledLookAndFeels, getInt,
1810 getLookAndFeel, getString, getSystemLookAndFeelClassName):
1811 Declare as public.
1812
1813 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1814
1815 * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1816 * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1817 isSignificant): Likewise.
1818
1819 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1820
1821 * javax/swing/undo/CompoundEdit.java: Re-format, document.
1822 (inProgress): Set initial value to true.
1823 (undo, redo, die, canUndo, canRedo): Also call inherited
1824 implementation; simplify code structure.
1825 (getPresentationName, getUndoPresentationName,
1826 getRedoPresentationName): Make behavior dependent on lastEdit.
1827 (addEdit, isSignificant): Completely re-written.
1828
1829 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1830
1831 * javax/swing/undo/StateEdit.java: Re-format, document.
1832 (undo, redo): Also call inherited implementation.
1833
1834 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1835
1836 * javax/swing/undo/StateEditable.java: Re-format, document.
1837
1838 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1839
1840 * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1841 (AbstractUndoableEdit): Initialize hasBeenDone to true.
1842 (canUndo, canRedo): Simplify.
1843 (getUndoPresentationName, getRedoPresentationName): Support
1844 localized message; call getPresentationName() only once.
1845
1846 2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
1847
1848 * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1849 (ZipFile(File,int)): Likewise.
1850
1851 2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
1852
1853 * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1854 (putAllInternal): Likewise.
1855 * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
1856 (putAllInternal): Likewise.
1857
1858 2003-11-26 Michael Koch <konqueror@gmx.de>
1859
1860 * java/net/URLStreamHandler.java
1861 (parseURL): Added comment in catch statement.
1862 (canonicalizeFilename): Add documentation.
1863 (sameURL): Completed documentation.
1864 (equals): Likewise.
1865 (hostsEqual): Likewise.
1866 (getDefaulPort): Likewise.
1867 (hashCode): Likewise.
1868 (toExternalForm): Likewise.
1869 (getHostName): Fix empty hostname check, completed documentation.
1870
1871 2003-11-26 Tom Tromey <tromey@redhat.com>
1872
1873 * java/lang/natDouble.cc (parseDouble): Reverted patch of
1874 2003-11-13.
1875
1876 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
1877 Mark Wielaard <mark@klomp.org>
1878
1879 * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
1880 ('@' should be checked to distinguish port from userinfo).
1881 (toExternalForm): Add @ userInfo if necessary.
1882
1883
1884 2003-11-26 Michael Koch <konqueror@gmx.de>
1885
1886 * java/net/DatagramSocket.java
1887 (DategramSocket, bind): Moved binding code from DatagramSocket
1888 constructor to bind method.
1889
1890 2003-11-26 Michael Koch <konqueror@gmx.de>
1891
1892 * java/net/DatagramSocket.java
1893 (impl): Made private.
1894 (bound): New private member variable.
1895 (DatagramSocket): Fixed documentation, use getImpl().
1896 (getImpl): New package-private method.
1897 (isClosed): Use getImpl().
1898 (getLocalAddress): Completed documentation, use getImpl().
1899 (getLocalPort): Use getImpl().
1900 (getSoTimeout): Likewise.
1901 (setSoTimeout): Likewise.
1902 (getSendBufferSize): Likewise.
1903 (setSendBufferSize): Likewise.
1904 (getReceiveBufferSize): Likewise.
1905 (setReceiveBufferSize): Likewise.
1906 (connect): Likewise.
1907 (disconnect): Likewise.
1908 (receive): Likewise.
1909 (send): Likewise.
1910 (setReuseAddress): Likewise.
1911 (setTrafficClass): Likewise.
1912 (bind): Added message to exception.
1913 (isClosed): Completed documentation.
1914 (getChannel): Likewise.
1915 (connect): Added missing exception, refined exception message.
1916 (isBound): Completed documentation, just return bound.
1917 (isConnected): Completed documentation.
1918 (getRemoteSocketAddress): Likewise.
1919 (getReuseAddress): Completed documentation, use getImpl().
1920 (setSoBroadcast): Likewise.
1921 (getSoBroadcast): Likewise.
1922 (getTrafficClass): Likewise.
1923 (getLocalSocketAddress): Simplified.
1924 * java/net/MulticastSocket.java
1925 (MulticastSocket): Removed comment not applying anymore.
1926 (getInterface): Use getImpl().
1927 (getTTL): Likewise.
1928 (getTimeToLive): Likewise.
1929 (setInterface): Likewise.
1930 (setNetworkInterface): Likewise.
1931 (getNetworkInterface): Likewise.
1932 (setLoopback): Likewise.
1933 (getLoopback): Likewise.
1934 (setTTL): Likewise.
1935 (setTimeToLive): Likewise.
1936 (joinGroup): Likewise.
1937 (leaveGroup): Likewise.
1938 (send): Likewise.
1939
1940 2003-11-26 Michael Koch <konqueror@gmx.de>
1941
1942 * java/net/Socket.java
1943 (implCreated): Dont set default value explicitely, added
1944 documentation.
1945 (inputShutdown): Likewise.
1946 (outputShutdown): Likewise.
1947 (bound): New private member variable.
1948 (bind): Set bound to true.
1949 (close): Set bound to false.
1950 (isBound): Return bound.
1951 * java/net/ServerSocket.java
1952 (bound): New private member variable.
1953 (bind): Set bound to true.
1954 (close): Set bound to false.
1955 (isBound): Return bound.
1956
1957 2003-11-26 Michael Koch <konqueror@gmx.de>
1958
1959 * java/net/URL.java
1960 (URL): Fixed documentation to be HTML compliant.
1961 (getContent): Completed documentation.
1962 (getFile): Likewise.
1963 (getPath): Likewise.
1964 (getAuthority): Likewise.
1965 (getHost): Likewise.
1966 (getDefaultPort): Likewise.
1967 (getProtocol): Likewise.
1968 (hashCode): Likewise.
1969 (openConnection): Likewise.
1970 (openStream): Likewise.
1971 (set): Likewise.
1972 (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
1973
1974 2003-11-26 Michael Koch <konqueror@gmx.de>
1975
1976 * java/net/InetSocketAddress.java
1977 (hostname): Made private, added documentation.
1978 (addr): Likewise.
1979 (port): Likewise.
1980 (equals): Completed documentation.
1981 (getAddress): Likewise.
1982 (getHostName): Likewise.
1983 (getPort): Likewise.
1984 (hashCode): Likewise.
1985 (isUnresolved): Likewise.
1986 (toString): Likewise.
1987
1988 2003-11-26 Michael Koch <konqueror@gmx.de>
1989
1990 * gnu/java/net/protocol/file/Handler.java
1991 (Handler): New explicit constructor.
1992 (openConnection): Added documentation.
1993 * gnu/java/net/protocol/jar/Handler.java
1994 (Handler): New explicit constructor.
1995 (openConnection): Added documentation.
1996
1997 2003-11-26 Michael Koch <konqueror@gmx.de>
1998
1999 * java/net/DatagramPacket.java
2000 (DatagramPacket): Fixed documentation to become legal HTML.
2001
2002 2003-11-25 Michael Koch <konqueror@gmx.de>
2003
2004 * gcj/javaprims.h: Added missing java.util.Currency.
2005
2006 2003-11-25 Michael Koch <konqueror@gmx.de>
2007
2008 * testsuite/libjava.mauve/xfails:
2009 Removed these two tests, they mystically pass now:
2010 -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2011 test_params failed - 5getInetAddress did not return proper values
2012 (number 1)
2013 -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2014 test_BasicServer failed - 11 exception was thrown :Illegal seek
2015 (number 1)
2016
2017 2003-11-25 Michael Koch <konqueror@gmx.de>
2018
2019 * java/net/DatagramSocket.java
2020 (factory): Made private.
2021 (closed): Removed.
2022 (DatagramSocket): Check impl argument, use constructor with
2023 SocketAddress argument.
2024 (close): Set impl to null, use isClosed().
2025 (isClosed): Check for impl == null.
2026 (getLocalAddress): Use isClosed().
2027 (getLocalPort): Check if socket is closed.
2028 (getSoTimeout): Likewise.
2029 (setSoTimeout): Likewise.
2030 (getSendBufferSize): Likewise.
2031 (setSendBufferSize): Likewise.
2032 (getReceiveBufferSize): Likewise.
2033 (setReceiveBufferSize): Likewise.
2034 (receive): Likewise.
2035 (send): Likewise.
2036 (bind): Likewise.
2037 (connect): Likewise.
2038 (setReuseAddress): Likewise.
2039 (getReuseAddress): Likewise.
2040 (setBroadcast): Likewise.
2041 (getBroadcast): Likewise.
2042 (setTrafficClass): Likewise.
2043 (getTrafficClass): Likewise.
2044 * java/net/MulticastSocket.java
2045 (getInterface): Check if socket is closed.
2046 (getTTL): Likewise.
2047 (getTimeToLive): Likewise.
2048 (setInterface): Likewise.
2049 (setNetworkInterface): Likewise.
2050 (getNetworkInterface): Likewise.
2051 (setLoopbackMode): Likewise.
2052 (setTTL): Likewise.
2053 (setTimeToLive): Likewise.
2054 (joinGroup): Likewise.
2055 (leaveGroup): Likewise.
2056 (send): Likewise.
2057 * java/net/ServerSocket.java
2058 (closed): Removed.
2059 (close): Check if socket is closed, set impl to null.
2060 (isClosed): Check impl == null;
2061 (ServerSocket): Check impl argument.
2062 (getInetAddress): Check if socket is bound.
2063 (getLocalPort): Likewise.
2064 (getLocalSocketAddress): Likewise.
2065 (bind): Check if socket is closed.
2066 (implAccept): Likewise.
2067 (setSoTimeout): Likewise.
2068 (getSoTimeout): Likewise.
2069 (setReuseAddress): Likewise.
2070 (getReuseAddress): Likewise.
2071 (setReceiveBufferSize): Likewise.
2072 (getReceiveBufferSize): Likewise.
2073 (toString): Make output compliant to JDK 1.4.2.
2074 * java/net/Socket.java
2075 (closed): Removed.
2076 (Socket): Fixed documentation.
2077 (connect): Check if socket is closed, changed exception text,
2078 fixed documentation.
2079 (getInputStream): Check of socket is closed and connected.
2080 (getOutputStream): Likewise.
2081 (bind): Check if socket is closed.
2082 (setTcpNoDelay): Likewise.
2083 (getTcpNoDelay): Likewise.
2084 (setSoLinger): Likewise.
2085 (getSoLinger): Likewise.
2086 (sendUrgentData): Likewise.
2087 (setOOBInline): Likewise.
2088 (getOOBInline): Likewise.
2089 (setSoTimeout): Likewise.
2090 (getSoTimeout): Likewise.
2091 (setSendBufferSize): Likewise.
2092 (getSendBufferSize): Likewise.
2093 (setReceiveBufferSize): Likewise.
2094 (getReceiveBufferSize): Likewise.
2095 (setKeepAlive): Likewise.
2096 (getKeepAlive): Likewise.
2097 (close): Likewise.
2098 (shutdownInput): Likewise.
2099 (shutdownOutput): Likewise.
2100 (getReuseAddress): Likewise.
2101 (getTrafficClass): Likewise.
2102 (setTrafficClass): Likewise.
2103 (isClosed): Check impl == null.
2104 (toString): Added missing ']'.
2105
2106 2003-11-24 Tom Tromey <tromey@redhat.com>
2107
2108 * Makefile.in: Rebuilt.
2109 * Makefile.am (propdir): New macro.
2110 (install-data-local): Install logging.properties.
2111 (core_java_source_files): Added java.util.logging.*.
2112 * java/util/logging/logging.properties: New file.
2113
2114 2003-11-25 Michael Koch <konqueror@gmx.de>
2115
2116 * java/net/DatagramSocket.java
2117 (DatagramSocket): Move binding code to bind(), simplify constructors.
2118 * java/net/MulticastSocket.java
2119 (MulticastSocket): Call parent constructor with null argument,
2120 bind socket after setReuseAddress is called, simplify constructors.
2121
2122 2003-11-24 Michael Koch <konqueror@gmx.de>
2123
2124 * javax/swing/BoxLayout.java
2125 (serialVersionUIR): New member variable.
2126 (X_AXIS, Y_AXIS): Documentation added.
2127 (LINE_AXIS, PAGE_AXIS): New constants.
2128 (grid): Renamed from gridbag.
2129 (BoxLayout): Use new constants, throw exception if invalid value for
2130 way, added documentation.
2131 (BoxLayout): Removed.
2132 (addLayoutComponent): Use new constants, added documentation.
2133 (removeLayoutComponent): Likewise.
2134 (addLayoutContainer): Added documentation.
2135 (preferredLayoutSize): Added documentation, check given argument.
2136 (minimumLayoutSize): Likewise.
2137 (layoutContainer): Likewise.
2138 (getLayoutAlignmentX): Likewise.
2139 (getLayoutAlignmentY): Likewise.
2140 (invalidateLayout): Likewise.
2141 (maximumLayoutSize): Likewise.
2142
2143 2003-11-22 Michael Koch <konqueror@gmx.de>
2144
2145 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2146 (peekData): Use offset and maximal free space in datagram packet.
2147 (receive): Likewise.
2148 (send): Use offset in datagram packet.
2149
2150 2003-11-22 Michael Koch <konqueror@gmx.de>
2151
2152 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2153 (peekData): Use offset and maximal free space in datagram packet.
2154 (receive): Likewise.
2155 (send): Use offset in datagram packet.
2156
2157 2003-11-22 Michael Koch <konqueror@gmx.de>
2158
2159 * gnu/java/nio/DatagramChannelImpl.java
2160 (getNativeFD): Use getPlainDatagramSocketImpl().
2161 * gnu/java/nio/NIODatagramSocket.java
2162 (getPlainDatagramSocketImpl): Renamed from getImpl().
2163 * gnu/java/nio/NIOSocket.java
2164 (getPlainSocketImpl): Renamed from getImpl().
2165 (setChannel): Use getPlainSocketImpl().
2166 * gnu/java/nio/SocketChannelImpl.java
2167 (SocketChannelImpl): Use getPlainSocketImpl().
2168 (getPlainSocketImpl): Renamed from getImpl().
2169 (getNativeFD): Use getPlainSocketImpl().
2170
2171 2003-11-18 Graydon Hoare <graydon@redhat.com>
2172
2173 * javax/swing/JLayeredPane.java: Implement.
2174 * javax/swing/JFrame.java (getContentPane): Make public
2175 * javax/swing/javax/swing/JRootPane.java (setContentPane):
2176 Use JLayeredPane.FRAME_CONTENT_LAYER.
2177
2178 2003-11-21 Mark Wielaard <mark@klomp.org>
2179
2180 * java/lang/Float.java (static): Removed.
2181
2182 2003-11-18 Graydon Hoare <graydon@redhat.com>
2183
2184 * java/awt/font/TextLayout.java: Implement simple layouts
2185 using attributed strings and glyph vectors.
2186
2187 2003-11-17 Graydon Hoare <graydon@redhat.com>
2188
2189 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2190 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
2191 (GdkFontLineMetrics): New inner class.
2192 (getLineMetrics): Return new GdkFontLineMetrics.
2193 (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2194 (layoutGlyphVector): Create GdkGlyphVector.
2195 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2196 (GdkGraphics2D): Initialize state via mathod calls.
2197 (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2198 (cairoTranslate, cairoScale, cairoRotate): Remove.
2199 (various methods): use setTransform for special transform cases.
2200 (DrawState): New inner class.
2201 (stateSave): New method.
2202 (stateRestore): New method.
2203 (various methods): use stateSave, stateRestore.
2204 (getClipInDevSpace): New method.
2205 (clip, clipRect, setClip, getClip, getClipBounds):
2206 Follow spec more closely.
2207 (getTransform): Return clone of transform.
2208 (setStroke): Set linewidth to passed width / 2.0.
2209 (setPaintMode): Set SrcOver rather than Xor.
2210 (setColor): Set paint to passed color.
2211 (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2212 transform from image to user space.
2213 (drawRenderedImage, drawRenderableImage): Implement.
2214 (getFontRenderContext, getFontMetrics, drawString, getFont):
2215 Implement
2216 (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
2217 Implement.
2218 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2219 Match changes to java side.
2220 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2221 Release resources.
2222 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2223 Don't use pango for metrics.
2224 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2225 New file.
2226
2227 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
2228 Jim Pick <jim@kaffe.org>
2229
2230 * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2231 methods.
2232
2233 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
2234
2235 * java/text/DecimalFormatSymbols.java (getCurrency,
2236 setCurrency): New methods.
2237
2238 2003-11-19 Sascha Brawer <brawer@dandelis.ch>
2239
2240 * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2241 * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2242 Describe how the implementation works.
2243
2244 2003-11-19 Michael Koch <konqueror@gmx.de>
2245
2246 * java/net/Socket.java
2247 (implCreated): New variable that indicates created impl.
2248 (getImpl): New method.
2249 (toString): Return more SUN compliant string representation.
2250 (various): Use getImpl() instead of impl.
2251
2252 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
2253
2254 * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2255 the right libgcc. Add -multiply_defined suppress and -bind_at_load
2256 flags.
2257
2258 2003-11-18 Tom Tromey <tromey@redhat.com>
2259
2260 PR libgcj/13026:
2261 * verify.cc (state::copy): Only set local_changed if we're in a
2262 subroutine. Correctly copy local variables which were modified
2263 by the subroutine.
2264 (push_jump_merge): Added more debugging output.
2265
2266 * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2267 is null.
2268
2269 2003-11-17 Graydon Hoare <graydon@redhat.com>
2270
2271 * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2272 * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2273
2274 2003-11-16 Tom Tromey <tromey@redhat.com>
2275
2276 PR libgcj/13062:
2277 * java/io/StreamTokenizer.java (commentChar): Clear other
2278 attributes for character.
2279 (quoteChar): Likewise.
2280
2281 2003-11-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2282
2283 * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2284 zero-length int arrays when layoutInfo is null.
2285 (getLayoutWeights): Return array of two zero-length double arrays when
2286 layoutInfo is null.
2287
2288 2003-11-13 Tom Tromey <tromey@redhat.com>
2289
2290 * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2291 JvGetStringUTFRegion.
2292 * java/lang/natPosixProcess.cc (new_string): Pass length of string
2293 to JvGetStringUTFRegion.
2294 * java/lang/natDouble.cc (parseDouble): Pass length of string to
2295 JvGetStringUTFRegion.
2296 * java/lang/natWin32Process.cc (startProcess): Pass length of
2297 string to JvGetStringUTFRegion.
2298 * java/lang/natClass.cc (forName): Pass length of string to
2299 JvGetStringUTFRegion.
2300 * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2301 of string to JvGetStringUTFRegion.
2302 * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2303 JvGetStringUTFRegion.
2304 * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2305 to JvGetStringUTFRegion.
2306 * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2307 string to JvGetStringUTFRegion.
2308
2309 2003-11-13 Mohan Embar <gnustuff@thisiscool.com>
2310
2311 * gnu/java/nio/natSelectorImplPosix.cc
2312 (helper_put_filedescriptors): Change to static linkage.
2313 (helper_get_filedescriptors): Likewise.
2314
2315 2003-11-12 Thomas Fitzsimmons <fitzsim@redhat.com>
2316
2317 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2318 null check.
2319 * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2320 * java/awt/Component.java (prepareImage): Likewise.
2321
2322 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2323 Rename to nativeSetAlignment.
2324
2325 2003-11-11 Danny Smith <dannysmith@users.sourceforge.net>
2326
2327 * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2328 (JNI_GetCreatedJavaVMs): Likewise.
2329 (JNI_GetDefaultJavaVMInitArgs): Likewise.
2330 * include/jni.h (JNIIMPEXP): Remove definition
2331 and replace with...
2332 (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2333 symbols,
2334 (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2335
2336 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2337
2338 * Makefile.am: Add GdkPixbufDecoder.java and
2339 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2340 * Makefile.in: Regenerate.
2341 * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2342 New constructor.
2343 (startProduction): Create ByteArrayInputStream when url and filename are
2344 null.
2345 (produce): Declare stream parameter as InputStream.
2346 * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2347 as InputStream.
2348 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2349 (GdkPixbufDecoder(byte[],int,int)): New constructor.
2350 (produce): Declare stream parameter as InputStream.
2351 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2352 if image is null. Set image's observer before running PrepareImage
2353 thread. Pass image to startProduction.
2354 * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2355 source's member functions.
2356 (observer): New field.
2357 (setObserver): New method.
2358 (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2359 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2360 new GtkImage.
2361 (prepareImage): Implement.
2362 * java/awt/Component.java: Add static fields incrementalDraw and
2363 redrawRate.
2364 (imageUpdate): Implement.
2365 (createImage): Call Toolkit's createImage if peer is null.
2366 (prepareImage): Throw NPE if image is null.
2367 * java/awt/MediaTracker.java: Fix return value.
2368
2369 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2370
2371 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2372 (create(String, float)): New method.
2373 (setText): Make native.
2374 (nativeSetAlignment): New method.
2375 (setAlignment): Call nativeSetAlignment.
2376 (getArgs): Remove method.
2377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2378 (find_fg_color_widget, find_bg_color_widget): New functions.
2379 (gtkWidgetSetForeground): Call find_fg_color_widget.
2380 (gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and
2381 prelight colors.
2382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2383 widget in event box.
2384 (setText, setAlignment): Implement new native methods.
2385
2386 2003-11-11 Michael Koch <konqueror@gmx.de>
2387
2388 * java/awt/Font.java,
2389 java/awt/datatransfer/DataFlavor.java,
2390 java/math/BigInteger.java,
2391 java/net/Inet4Address.java,
2392 java/net/Inet6Address.java,
2393 java/rmi/MarshalledObject.java,
2394 java/rmi/server/RMIClassLoader.java,
2395 java/security/cert/CertStore.java,
2396 java/sql/Timestamp.java,
2397 java/text/SimpleDateFormat.java,
2398 javax/naming/CompoundName.java:
2399 Removed some redundant obj == null checks.
2400
2401 2003-11-11 Michael Koch <konqueror@gmx.de>
2402
2403 * java/nio/ByteBuffer.java
2404 (equals): Remove redundant obj == null check.
2405
2406 2003-11-11 Michael Koch <konqueror@gmx.de>
2407
2408 * gnu/java/nio/natPipeImpl.cc,
2409 gnu/java/nio/natSelectorImpl.cc: Removed
2410 * gnu/java/nio/natPipeImplEcos.cc,
2411 gnu/java/nio/natPipeImplPosix.cc,
2412 gnu/java/nio/natPipeImplWin32.cc,
2413 gnu/java/nio/natSelectorImplEcos.cc,
2414 gnu/java/nio/natSelectorImplPosix.cc,
2415 gnu/java/nio/natSelectorImplWin32.cc: New files
2416 * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2417 gnu/java/nio/natSelectorImpl.cc
2418 * configure: Regenerated.
2419
2420 2003-11-11 Micheal Koch <konqueror@gmx.de>
2421
2422 * java/net/URLStreamHandler.java (toExternalForm): Print port only
2423 if host is printed too and port was really given to URL.
2424
2425 2003-11-10 Gary Benson <gbenson@redhat.com>
2426
2427 * java/sql/Timestamp.java (valueOf): Correctly handle
2428 nanoseconds.
2429
2430 2003-11-09 Tom Tromey <tromey@redhat.com>
2431
2432 * java/net/Inet4Address.java (serialVersionUID): Updated.
2433
2434 2003-11-08 Jeff Sturm <jsturm@one-point.com>
2435
2436 * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2437 New fields.
2438
2439 2003-11-08 Jeff Sturm <jsturm@one-point.com>
2440
2441 * java/io/ByteArrayOutputStream.java (resize):
2442 Fix off-by-one error.
2443
2444 2003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz>
2445
2446 * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2447 public.
2448
2449 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
2450
2451 PR libgcj/12231
2452 * java/lang/Win32Process.java (hasExited) Changed from
2453 public to private.
2454 (startProcess): Likewise.
2455 (cleanup): Likewise.
2456 * java/lang/natWin32Process.cc (cleanup) Don't close
2457 input, output and error streams.
2458 (ChildProcessPipe): New helper class.
2459 (startProcess): Refactored to use ChildProcessPipe.
2460 Use CREATE_NO_WINDOW when launching child process.
2461
2462 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
2463
2464 * include/win32.h (_Jv_platform_close_on_exec): Changed
2465 signature and declared extern.
2466 * win32.cc (_Jv_platform_close_on_exec): Implemented.
2467 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2468 (create): Use new signature of _Jv_platform_close_on_exec.
2469 * gnu/java/net/natPlainSocketImplWin32.cc
2470 (create): Eliminated a few typecasts
2471 Use new signature of _Jv_platform_close_on_exec.
2472 (accept): Eliminated a few typecasts
2473 Use new signature of _Jv_platform_close_on_exec.
2474 * java/io/natFileDescriptorWin32.cc (open): Use
2475 _Jv_platform_close_on_exec.
2476
2477 2003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz>
2478
2479 * java/lang/natClass.cc (newInstance): Throw InstantiationException
2480 if class has no null-argument constructor.
2481
2482 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2483
2484 PR libgcj/12647:
2485 * win32-threads.cc (_Jv_CondWait): Respect mutex's
2486 refcount when releasing and reacquiring it.
2487
2488 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2489
2490 * win32.cc: (dirExists) Internal helper function to
2491 test for directory existence.
2492 (getUserHome) New helper function refactored out
2493 of _Jv_platform_initProperties. Uses USERPROFILE
2494 instead of HOMEDIR and attempts to support Win9X and NT.
2495 (_Jv_platform_initProperties) Use getUserHome.
2496
2497 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2498
2499 PR libgcj/11521:
2500 * gnu/java/net/natPlainSocketImplWin32.cc
2501 (bind): Don't use SO_REUSEADDR
2502
2503 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2504
2505 PR libgcj/6652:
2506 * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2507
2508 2003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz>
2509
2510 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2511 dispatch for final methods.
2512
2513 2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2514
2515 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2516 word wrapping.
2517
2518 2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2519
2520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2521 scrolled window's size request.
2522
2523 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2524
2525 * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2526 * java/awt/geom/QuadCurve2D.java: Likewise.
2527
2528 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2529
2530 * java/awt/geom/CubicCurve2D.java: Added documentation.
2531 * java/awt/geom/QuadCurve2D.java: Likewise.
2532
2533 * java/awt/geom/doc-files/QuadCurve2D-4.png,
2534 java/awt/geom/doc-files/QuadCurve2D-5.png,
2535 java/awt/geom/doc-files/CubicCurve2D-4.png,
2536 java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2537
2538 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2539
2540 * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2541 (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2542 (subdivide(double[],int,double[],int,double[],int)): Implement.
2543
2544 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2545
2546 * java/awt/geom/doc-files/CubicCurve2D-1.png,
2547 java/awt/geom/doc-files/CubicCurve2D-2.png,
2548 java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2549
2550 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
2551
2552 * java/text/DecimalFormat.java
2553 (scanFormat) corrected so that '%' may appear in a pattern.
2554
2555 2003-10-29 Mark Wielaard <mark@klomp.org>
2556
2557 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2558 * java/text/DateFormat.java (Field): New public static inner class.
2559 * java/text/Format.java (Field): Likewise.
2560 (formatToCharacterIterator): New method.
2561 * java/text/FormatCharacterIterator.java: New file.
2562
2563 2003-10-29 Mark Wielaard <mark@klomp.org>
2564
2565 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2566 * java/util/Currency.java: New file.
2567
2568 2003-10-29 Michael Koch <konqueror@gmx.de>
2569
2570 * Makefile.am (ordinary_java_source_files): Added
2571 java/text/FormatCharacterIterator.java and java/util/Currency.java.
2572 * Makefile.in: Regenerated.
2573
2574 2003-10-29 Dalibor Topic <robilad@kaffe.org>
2575
2576 * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2577 static methods.
2578
2579 2003-10-29 Julian Dolby <dolby@us.ibm.com>
2580
2581 * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2582 getObjectInstance() with Object, Name, Context and environment
2583 Hashtable from exception. Call fillInStackTrace() on exception when
2584 rethrown.
2585 * javax/naming/InitialContext.java (lookup(Name)): When a
2586 CannotProceedException is thrown use the ContinuationContext.
2587 (lookup(String)): Likewise.
2588 (close): Clear myProps and defaultInitCtx.
2589
2590 2003-10-29 Michael Koch <konqueror@gmx.de>
2591
2592 * java/net/InetAddress.java
2593 (equals): Remove redundant obj == null check.
2594 * java/net/SocketPermission.java
2595 (equals): Likewise.
2596 * java/net/URL.java
2597 (equals): Likewise.
2598 (getURLStreamHandler): Likewise.
2599
2600 2003-10-29 Michael Koch <konqueror@gmx.de>
2601
2602 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2603 (setOption): Directly return if no error occured.
2604 * gnu/java/net/natPlainSocketImplPosix.cc
2605 (setOption): Likewise.
2606
2607 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2608
2609 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2610 vtable slot for final methods. Add FIXME comment.
2611
2612 2003-10-28 David S. Miller <davem@redhat.com>
2613
2614 * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2615
2616 2003-10-26 Mark Wielaard <mark@klomp.org>
2617
2618 Reported by Helmer Kraemer <hkraemer@freenet.de>
2619 * java/util/jar/JarInputStream.java (readManifest): Don't call
2620 closeEntry().
2621
2622 * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2623 (finish): Use inbufWrite().
2624 (write(int)): Likewise.
2625 (write(byte[],int,int)): Likewise.
2626
2627 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2628
2629 * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2630 Don't check for AccessibleObject. Update javadocs.
2631
2632 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2633
2634 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2635
2636 * java/lang/reflect/Constructor.java (toString): Avoid extra
2637 whitespace on constructor with no modifiers.
2638 * java/lang/reflect/natConstructor.java (newInstance): Look up
2639 caller and perform accessibility check only if constructor is
2640 non-public and accessible flag is not set.
2641
2642 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2643
2644 * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2645 _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2646 use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
2647 is_virtual_call argument.
2648 * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
2649 natClass.cc.
2650 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
2651 _Jv_isVirtualMethod.
2652 * java/lang/reflect/natMethod.cc (invoke): Don't use
2653 _Jv_LookupDeclaredMethod.
2654 (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2655 look up method in target object's vtable.
2656
2657 2003-10-25 Graydon Hoare <graydon@redhat.com>
2658
2659 * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2660 * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2661 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2662 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2663 New concrete implementation of ClasspathFontPeer, with native part.
2664 * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2665 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2666 New class, with native part.
2667 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2668 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2669 implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2670
2671 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2672
2673 * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2674 on method with no modifiers.
2675
2676 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2677
2678 PR libgcj/11780:
2679 * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2680 accessibility check only if target is non-public and accessible flag
2681 is not set.
2682 * java/lang/reflect/natField.cc (getAddr): Likewise.
2683
2684 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2685
2686 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2687 Remove method.
2688 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2689 New method.
2690 * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2691 show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2692 (dispose): Post WINDOW_CLOSED event.
2693 (addWindowFocusListener, addWindowStateListener): Assign result
2694 of multicaster add back to window listener.
2695 (removeWindowFocusListener, removeWindowStateListener): Assign
2696 result of multicaster remove back to window listener.
2697 (dispatchEventImpl): Add null checks for focus and state
2698 listeners.
2699 (processWindowEvent): Handle case where windowListener is null
2700 but state or focus listeners exist.
2701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2702 glue for postWindowEvent.
2703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2704 (window_delete_cb, window_destroy_cb, window_show_cb,
2705 window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2706 window_get_new_state): New functions.
2707 * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2708 macros. Declare postWindowEventID.
2709
2710 2003-10-24 Anthony Green <green@redhat.com>
2711
2712 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2713 we have no interpreter.
2714
2715 2003-10-22 Andrew Haley <aph@redhat.com>
2716
2717 * java/lang/natClass.cc (initializeClass): Call
2718 _Jv_linkExceptionClassTable.
2719 (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
2720 _Jv_Defer_Resolution on a method whose ncode is NULL.
2721 (_Jv_linkExceptionClassTable): New function.
2722 (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2723 entry, look it up.
2724 * java/lang/Class.h (struct _Jv_CatchClass): New.
2725 (_Jv_linkExceptionClassTable): New friend.
2726 (_Jv_Defer_Resolution): New friend.
2727 (class Class.catch_classes): New field.
2728 * include/java-interp.h (Jv_Defer_Resolution): New method.
2729 (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2730 (_Jv_MethodBase.deferred): New field.
2731 (_Jv_Defer_Resolution): New function.
2732 * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2733 * exception.cc (get_ttype_entry): Change return type to void**.
2734 (PERSONALITY_FUNCTION): Remove all code related to using a
2735 Utf8Const* for a match type. Change match type to be a pointer to
2736 a pointer, rather than a pointer to a Class.
2737 * defineclass.cc (handleCodeAttribute): Initialize
2738 method->deferred.
2739 (handleMethodsEnd): Likewise.
2740
2741 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2742
2743 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2744 _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2745
2746 2003-10-22 Tom Tromey <tromey@redhat.com>
2747
2748 PR libgcj/12416:
2749 * java/lang/Class.h: Updated.
2750 * java/lang/natClass.cc (_getFields): Removed.
2751 (getFields): Likewise.
2752 (getDeclaredFields): Added `public_only' parameter.
2753 * java/lang/Class.java (getFields): Now implemented in java; from
2754 Classpath.
2755 (getDeclaredFields): Likewise.
2756 (getDeclaredFields(boolean)): Declare.
2757 (_getFields): Removed.
2758 (internalGetFields): New method, from Classpath.
2759
2760 PR libgcj/12656:
2761 * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2762 _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2763
2764 2003-10-22 David Daney <ddaney@avtrex.com)
2765
2766 * include/mips-signal.h: New file.
2767 * sysdep/dwarf2-backtrace.cc: New file.
2768 * sysdep/mips: New directory.
2769 * sysdep/mips/locks.h: New file.
2770 * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2771 added to libgcj.
2772 (extra_cc_source_files): Ditto.
2773 * configure.host(disable_dladdr): New shell variable passed to
2774 configure.
2775 (mips*-*-linux*): sysdeps_dir=mips,
2776 can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2777 (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2778 * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2779 generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2780 (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2781 (EXTRA_CC_FILES): New, to support conditional addition of
2782 sysdep/dwarf2-backtrace.cc.
2783 * configure: Regenerated.
2784 * Makefile.in: Regenerated.
2785 * gcj/Makefile.in: Regenerated.
2786 * include/config.h.in: Regenerated.
2787 * include/Makefile.in: Regenerated.
2788 * testsuite/Makefile.in: Regenerated.
2789
2790 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2791
2792 * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2793 java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2794
2795 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2796
2797 * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2798 * java/awt/geom/doc-files: New directory.
2799 * java/awt/geom/doc-files/QuadCurve2D-1.png,
2800 java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2801
2802 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2803
2804 * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2805
2806 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2807
2808 * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2809
2810 2003-10-22 Michael Koch <konqueror@gmx.de>
2811
2812 * java/io/File.java
2813 (equals): Removed redundant obj == null check.
2814 (createTempFile): Merged comments from classpath.
2815
2816 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2817
2818 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2819 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2820 (error): Synchronize on instance, not class.
2821
2822 2003-10-21 Mark Wielaard <mark@klomp.org>
2823
2824 Reported by M.Negovanovic
2825 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2826 method.
2827 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2828
2829 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2830
2831 Fix for Classpath bug #6076.
2832 * java/awt/geom/GeneralPath.java (append): Re-written.
2833
2834 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2835
2836 Fix for Classpath bug #6089.
2837 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2838 (getPathIterator, GeneralPathIterator): Re-written from scratch.
2839
2840 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2841
2842 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2843 point, not start of subpath. Fixes Classpath bug #6075.
2844
2845 2003-10-21 Michael Koch <konqueror@gmx.de>
2846
2847 * java/nio/ByteOrder.java,
2848 java/nio/DirectByteBufferImpl.java,
2849 java/nio/channels/FileChannelImpl.java:
2850 Add code to load library with code for native methods if needed.
2851
2852 2003-10-21 Michael Koch <konqueror@gmx.de>
2853
2854 * gnu/java/net/PlainDatagramSocketImpl.java,
2855 gnu/java/net/PlainSocketImpl.java,
2856 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2857 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2858 gnu/java/net/natPlainSocketImplPosix.cc,
2859 gnu/java/net/natPlainSocketImplWin32.cc:
2860 Renamed fnum to native_fd to match classpath more.
2861
2862 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
2863
2864 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
2865 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
2866 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
2867 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
2868 _Jv_PthreadCheckMonitor. Simplify code.
2869 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
2870 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
2871 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
2872 * java/lang/Thread.java (holdsLock): New.
2873 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
2874 without JV_HASH_SYNCHRONIZATION.
2875 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
2876
2877 2003-10-20 Michael Koch <konqueror@gmx.de>
2878
2879 * java/text/RuleBasedCollator.java
2880 (RuleBasedCollator): Check rules not empty, fixed search in already
2881 existing collation elements.
2882 (is_special): Removed common whitespace characters.
2883 (text_argument): Dont return on whitespaces, add characters between
2884 two ' to string buffer.
2885
2886 2003-10-18 Michael Koch <konqueror@gmx.de>
2887
2888 * gnu/java/net/protocol/file/Connection.java,
2889 gnu/java/net/protocol/file/Handler.java,
2890 gnu/java/net/protocol/http/Connection.java,
2891 gnu/java/net/protocol/http/Handler.java,
2892 gnu/java/net/protocol/jar/Connection.java,
2893 gnu/java/net/protocol/jar/Handler.java:
2894 Merged copyright text from classpath to make
2895 it possible to merge the classes.
2896
2897 2003-10-18 Mark Wielaard <mark@klomp.org>
2898
2899 Reported by M.Negovanovic
2900 * java/beans/IndexedPropertyDescriptor.java
2901 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
2902
2903 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
2904
2905 * win32.cc (_Jv_pipe): Implemented.
2906 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
2907 _Jv_pipe instead of ::pipe.
2908 * include/posix.h (_Jv_pipe): New inline.
2909 * include/win32.h (_Jv_pipe): New declaration.
2910
2911 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
2912
2913 * java/lang/StringBuffer.java (getChars): Fix array index checks.
2914 (append, substring, insert): Likewise.
2915 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
2916 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
2917
2918 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
2919
2920 * java/lang/natString.cc (getChars):
2921 Fix validation of array indexes.
2922 (getBytes, regionMatches, startsWith, valueOf): Likewise.
2923 * testsuite/libjava.lang/String_overflow.java: New file.
2924 * testsuite/libjava.lang/String_overflow.out: New file.
2925
2926 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
2927
2928 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
2929 overflow a jint.
2930 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
2931 check for overflowing size_t, since the lower level functions
2932 take a jint.
2933 * testsuite/libjava.lang/newarray_overflow.java: New file.
2934 * testsuite/libjava.lang/newarray_overflow.out: New file.
2935
2936 2003-10-15 Michael Koch <konqueror@gmx.de>
2937
2938 * java/text/RuleBasedCollator.java
2939 (RuleBasedCollator): Moved around, documentation added.
2940 (compare): Documentation added.
2941 (equals): Likewise.
2942 (getCollationElementIterator): Likewise.
2943 (getCollationKey): Likewise.
2944 (getRules): Likewise.
2945 (hashCode): Likewise.
2946
2947 2003-10-15 Michael Koch <konqueror@gmx.de>
2948
2949 * java/text/RuleBasedCollator.java
2950 (CollationElement): Renamed from RBCElement and moved into
2951 RuledBasedCollator as inner class.
2952
2953 2003-10-15 Michael Koch <konqueror@gmx.de>
2954
2955 * java/text/CollationElementIterator.java
2956 (CollationElementIterator): Moved, documenatation added, call setText.
2957 (next): Reformated.
2958 (reset): Reformated.
2959 (setText): New method.
2960 (getOffset): New method.
2961 * java/text/CollationKey.java
2962 (getSourceString): Reformated.
2963 (hashCode): Reformated.
2964 (toByteArray): Reformated.
2965
2966 2003-10-15 Michael Koch <konqueror@gmx.de>
2967
2968 * java/util/zip/InflaterInputStream.java
2969 (InflaterInputStream): Renamed infl to inf and bufsize to size,
2970 added description to exception, check for inf == null and size < 0.
2971
2972 2003-10-15 Michael Koch <konqueror@gmx.de>
2973
2974 * java/text/AttributedCharacterIterator.java,
2975 java/text/CharacterIterator.java: Reformated.
2976
2977 2003-10-15 Michael Koch <konqueror@gmx.de>
2978
2979 * javax/swing/UIDefaults.java (putDefaults):
2980 Readded accidently removed "public" modifier.
2981
2982 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
2983
2984 * interpret.cc (_Jv_InterpMethod::run): Don't
2985 use libffi types, they were meant to be internal.
2986 * gcj/javaprims.h (_Jv_ulong): New typedef.
2987
2988 2003-10-13 Tom Tromey <tromey@redhat.com>
2989
2990 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
2991 (defineClass): Updated.
2992 (_Jv_NewClass): Likewise.
2993 * prims.cc (_Jv_InitPrimClass): Don't call
2994 _Jv_InitNewClassFields.
2995
2996 2003-10-13 Taras Glek <taras.judge@shaw.ca>
2997
2998 PR libgcj/12592
2999 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3000 not just \n.
3001
3002 2003-10-13 Michael Koch <konqueror@gmx.de>
3003
3004 * java/io/File.java: Reformated.
3005 (equals): Check for obj == null.
3006
3007 2003-10-13 Michael Koch <konqueror@gmx.de>
3008
3009 * java/net/JarURLConnection.java
3010 (jarFileURL): Added dcoumentation.
3011 (jarFileURLConnection): Reformated documentation.
3012 (entryName): Renamed from "element", documentation rewritten.
3013 (connectionCache): Renamed from "conn_cache", documentation
3014 reformated.
3015 (JarURLConnection): Check URL protocol.
3016 (getEntryName): Use entryName.
3017 (connect): Use connectionCache.
3018 (getInputStream): Use entryName, fixed comment.
3019 (getJarEntry): Use entryName.
3020 (getHeaders): Use entryName.
3021 * java/net/URLConnection.java
3022 (addRequestProperty): Fixed documentation.
3023 (setDefaultRequestProptery): Added comment that it does nothing since
3024 JDK 1.3.
3025 (getDefaultRequestProperty): Likewise.
3026
3027 2003-10-13 Michael Koch <konqueror@gmx.de>
3028
3029 * java/net/java/net/URLStreamHandlerFactory.java
3030 (createURLStreamHandler): Removed redundant "public" modifier.
3031 * java/sql/DatabaseMetaData.java:
3032 (DatabaseMetaData): Readded accidently removed "public" modifier.
3033 * java/sql/ParameterMetaData.java:
3034 (ParameterMetaData): Readded accidently removed "public" modifier.
3035 * java/sql/PreparedStatement.java:
3036 (PreparedStatement): Readded accidently removed "public" modifier.
3037 * java/sql/Ref.java:
3038 (Ref): Readded accidently removed "public" modifier.
3039
3040 2003-10-13 Michael Koch <konqueror@gmx.de>
3041
3042 * java/nio/Buffer.java
3043 (hasRemaining): Made implementation more clear.
3044 * java/nio/MappedByteBuffer.java
3045 (loaded): New member variable.
3046 (force): Added comment.
3047 (isLoaded): Return value of loaded.
3048 (load): Set loaded to true, added comment.
3049
3050 2003-10-12 Michael Koch <konqueror@gmx.de>
3051
3052 * gnu/java/nio/PipeImpl.java
3053 (SourceChannelImpl): New inner class.
3054 (SinkChannelImpl): New inner class.
3055 (sink): New member variable.
3056 (source): New member variable.
3057 (PipeImpl): Add SelectorProvider argument, implemented.
3058 (nativeInit): New method.
3059 (sink): Return sink channel.
3060 (source): Return source channel.
3061 * gnu/java/nio/SelectorProviderImpl.java
3062 (openPipe): Give provider as argument to PipeImpl constructor.
3063 * java/nio/channels/spi/SelectorProvider.java
3064 (pr): Removed.
3065 (systemDefaultProvider): New member variable.
3066 (provider): Made it synchronized, use property
3067 java.nio.channels.spi.SelectorProvider.
3068 * gnu/java/nio/natPipeImpl.cc: New file.
3069 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3070 * Makefile.in: Regenerated.
3071
3072 2003-10-12 Michael Koch <konqueror@gmx.de>
3073
3074 * javax/swing/table/DefaultTableModel.java,
3075 javax/swing/table/TableCellEditor.java,
3076 javax/swing/table/TableCellRenderer.java,
3077 javax/swing/table/TableColumnModel.java,
3078 javax/swing/table/TableModel.java,
3079 javax/swing/text/AbstractDocument.java,
3080 javax/swing/text/Document.java,
3081 javax/swing/text/MutableAttributeSet.java,
3082 javax/swing/text/StyledDocument.java,
3083 javax/swing/text/ViewFactory.java,
3084 javax/swing/tree/DefaultMutableTreeNode.java,
3085 javax/swing/tree/MutableTreeNode.java,
3086 javax/swing/tree/RowMapper.java,
3087 javax/swing/tree/TreeCellEditor.java,
3088 javax/swing/tree/TreeCellRenderer.java,
3089 javax/swing/tree/TreeModel.java,
3090 javax/swing/tree/TreeNode.java,
3091 javax/swing/tree/TreeSelectionModel.java,
3092 javax/swing/undo/StateEditable.java,
3093 javax/swing/undo/UndoableEdit.java:
3094 Removed redundant modifiers.
3095
3096 2003-10-12 Michael Koch <konqueror@gmx.de>
3097
3098 * javax/swing/event/AncestorListener.java,
3099 javax/swing/event/CaretListener.java,
3100 javax/swing/event/CellEditorListener.java,
3101 javax/swing/event/ChangeListener.java,
3102 javax/swing/event/DocumentEvent.java,
3103 javax/swing/event/DocumentListener.java,
3104 javax/swing/event/HyperlinkListener.java,
3105 javax/swing/event/InternalFrameListener.java,
3106 javax/swing/event/ListDataListener.java,
3107 javax/swing/event/ListSelectionListener.java,
3108 javax/swing/event/MenuDragMouseListener.java,
3109 javax/swing/event/MenuKeyListener.java,
3110 javax/swing/event/MenuListener.java,
3111 javax/swing/event/MouseInputListener.java,
3112 javax/swing/event/PopupMenuListener.java,
3113 javax/swing/event/TableColumnModelListener.java,
3114 javax/swing/event/TableModelListener.java,
3115 javax/swing/event/TreeExpansionListener.java,
3116 javax/swing/event/TreeModelListener.java,
3117 javax/swing/event/TreeSelectionListener.java,
3118 javax/swing/event/TreeWillExpandListener.java,
3119 javax/swing/event/UndoableEditListener.java,
3120 javax/swing/plaf/UIResource.java,
3121 javax/swing/plaf/metal/MetalLookAndFeel.java:
3122 Removed redundant modifiers.
3123
3124 2003-10-12 Michael Koch <konqueror@gmx.de>
3125
3126 * javax/swing/Action.java,
3127 javax/swing/BoundedRangeModel.java,
3128 javax/swing/CellEditor.java,
3129 javax/swing/ComboBoxEditor.java,
3130 javax/swing/ComboBoxModel.java,
3131 javax/swing/DesktopManager.java,
3132 javax/swing/JComboBox.java,
3133 javax/swing/ListCellRenderer.java,
3134 javax/swing/ListSelectionModel.java,
3135 javax/swing/MenuElement.java,
3136 javax/swing/MutableComboBoxModel.java,
3137 javax/swing/Renderer.java,
3138 javax/swing/RootPaneContainer.java,
3139 javax/swing/ScrollPaneConstants.java,
3140 javax/swing/SingleSelectionModel.java,
3141 javax/swing/SpinnerModel.java,
3142 javax/swing/SwingConstants.java,
3143 javax/swing/UIDefaults.java,
3144 javax/swing/WindowConstants.java,
3145 javax/swing/border/Border.java,
3146 javax/swing/colorchooser/ColorSelectionModel.java:
3147 Removed redundant modifiers.
3148
3149 2003-10-11 Michael Koch <konqueror@gmx.de>
3150
3151 * javax/transaction/Status.java,
3152 javax/transaction/Synchronization.java,
3153 javax/transaction/Transaction.java,
3154 javax/transaction/TransactionManager.java,
3155 javax/transaction/UserTransaction.java,
3156 javax/transaction/xa/XAResource.java,
3157 javax/transaction/xa/Xid.java:
3158 Removing redundant modifiers.
3159
3160 2003-10-11 Michael Koch <konqueror@gmx.de>
3161
3162 * javax/print/attribute/Attribute.java,
3163 javax/print/attribute/AttributeSet.java,
3164 javax/print/attribute/PrintRequestAttributeSet.java:
3165 Removing redundant modifiers.
3166
3167 2003-10-11 Michael Koch <konqueror@gmx.de>
3168
3169 * javax/sql/ConnectionEventListener.java,
3170 javax/sql/ConnectionPoolDataSource.java,
3171 javax/sql/DataSource.java,
3172 javax/sql/PooledConnection.java,
3173 javax/sql/RowSet.java,
3174 javax/sql/RowSetInternal.java,
3175 javax/sql/RowSetListener.java,
3176 javax/sql/RowSetMetaData.java,
3177 javax/sql/RowSetReader.java,
3178 javax/sql/RowSetWriter.java,
3179 javax/sql/XAConnection.java,
3180 javax/sql/XADataSource.java:
3181 Removing redundant modifiers.
3182
3183 2003-10-11 Michael Koch <konqueror@gmx.de>
3184
3185 * javax/naming/Context.java,
3186 javax/naming/Name.java,
3187 javax/naming/NameParser.java,
3188 javax/naming/NamingEnumeration.java,
3189 javax/naming/Referenceable.java,
3190 javax/naming/directory/Attribute.java,
3191 javax/naming/directory/Attributes.java,
3192 javax/naming/directory/DirContext.java,
3193 javax/naming/event/EventContext.java,
3194 javax/naming/event/EventDirContext.java,
3195 javax/naming/event/NamespaceChangeListener.java,
3196 javax/naming/event/NamingListener.java,
3197 javax/naming/event/ObjectChangeListener.java,
3198 javax/naming/ldap/Control.java,
3199 javax/naming/ldap/ExtendedRequest.java,
3200 javax/naming/ldap/ExtendedResponse.java,
3201 javax/naming/ldap/HasControls.java,
3202 javax/naming/ldap/LdapContext.java,
3203 javax/naming/ldap/UnsolicitedNotification.java,
3204 javax/naming/ldap/UnsolicitedNotificationListener.java,
3205 javax/naming/spi/DirObjectFactory.java,
3206 javax/naming/spi/DirStateFactory.java,
3207 javax/naming/spi/InitialContextFactory.java,
3208 javax/naming/spi/InitialContextFactoryBuilder.java,
3209 javax/naming/spi/ObjectFactory.java,
3210 javax/naming/spi/ObjectFactoryBuilder.java,
3211 javax/naming/spi/Resolver.java,
3212 javax/naming/spi/StateFactory.java:
3213 Removing redundant modifiers.
3214
3215 2003-10-11 Michael Koch <konqueror@gmx.de>
3216
3217 * java/security/Key.java,
3218 * java/security/PrivateKey.java,
3219 * java/security/PublicKey.java,
3220 * java/security/acl/Acl.java,
3221 * java/security/acl/AclEntry.java,
3222 * java/security/acl/Group.java,
3223 * java/security/acl/Owner.java,
3224 * java/security/acl/Permission.java,
3225 * java/security/cert/X509Extension.java,
3226 * java/security/interfaces/DSAKey.java,
3227 * java/security/interfaces/DSAKeyPairGenerator.java,
3228 * java/security/interfaces/DSAParams.java,
3229 * java/security/interfaces/DSAPrivateKey.java,
3230 * java/security/interfaces/DSAPublicKey.java,
3231 * java/security/interfaces/RSAKey.java,
3232 * java/security/interfaces/RSAPrivateCrtKey.java,
3233 * java/security/interfaces/RSAPrivateKey.java,
3234 * java/security/interfaces/RSAPublicKey.java:
3235 Removed redundant modifiers.
3236
3237 2003-10-11 Michael Koch <konqueror@gmx.de>
3238
3239 * gnu/java/rmi/server/ProtocolConstants.java,
3240 gnu/java/security/der/DER.java:
3241 Removing redundant modifiers.
3242
3243 2003-10-11 Michael Koch <konqueror@gmx.de>
3244
3245 * java/util/Map.java,
3246 java/util/Observer.java,
3247 java/util/zip/Checksum.java,
3248 java/util/zip/ZipConstants.java:
3249 Removed redundant modifiers.
3250
3251 2003-10-11 Michael Koch <konqueror@gmx.de>
3252
3253 * java/text/AttributedCharacterIterator.java,
3254 java/text/CharacterIterator.java:
3255 Removed redundant modifiers.
3256
3257 2003-10-11 Michael Koch <konqueror@gmx.de>
3258
3259 * java/sql/Array.java,
3260 java/sql/Blob.java,
3261 java/sql/CallableStatement.java,
3262 java/sql/Clob.java,
3263 java/sql/Connection.java,
3264 java/sql/DatabaseMetaData.java,
3265 java/sql/Driver.java,
3266 java/sql/ParameterMetaData.java,
3267 java/sql/PreparedStatement.java,
3268 java/sql/Ref.java,
3269 java/sql/ResultSet.java,
3270 java/sql/ResultSetMetaData.java,
3271 java/sql/SQLData.java,
3272 java/sql/SQLInput.java,
3273 java/sql/SQLOutput.java,
3274 java/sql/Savepoint.java,
3275 java/sql/Statement.java,
3276 java/sql/Struct.java:
3277 Removed redundant modifiers.
3278
3279 2003-10-11 Michael Koch <konqueror@gmx.de>
3280
3281 * java/nio/channels/Channel.java,
3282 java/nio/channels/GatheringByteChannel.java,
3283 java/nio/channels/ReadableByteChannel.java,
3284 java/nio/channels/ScatteringByteChannel.java,
3285 java/nio/channels/WritableByteChannel.java:
3286 Removed redundant modifiers.
3287
3288 2003-10-11 Michael Koch <konqueror@gmx.de>
3289
3290 * java/rmi/activation/ActivationInstantiator.java,
3291 java/rmi/activation/ActivationMonitor.java,
3292 java/rmi/activation/ActivationSystem.java,
3293 java/rmi/activation/Activator.java,
3294 java/rmi/dgc/DGC.java,
3295 java/rmi/registry/Registry.java,
3296 java/rmi/registry/RegistryHandler.java,
3297 java/rmi/server/LoaderHandler.java,
3298 java/rmi/server/RMIClientSocketFactory.java,
3299 java/rmi/server/RMIFailureHandler.java,
3300 java/rmi/server/RMIServerSocketFactory.java,
3301 java/rmi/server/RemoteCall.java,
3302 java/rmi/server/RemoteRef.java,
3303 java/rmi/server/ServerRef.java,
3304 java/rmi/server/Skeleton.java,
3305 java/rmi/server/Unreferenced.java:
3306 Removed redundant modifiers.
3307
3308 2003-10-11 Michael Koch <konqueror@gmx.de>
3309
3310 * java/net/ContentHandlerFactory.java,
3311 java/net/DatagramSocketImplFactory.java,
3312 java/net/FileNameMap.java,
3313 java/net/SocketImplFactory.java,
3314 java/net/SocketOptions.java,
3315 java/net/URLStreamHandlerFactory.java:
3316 Removed redundant modifiers.
3317
3318 2003-10-11 Michael Koch <konqueror@gmx.de>
3319
3320 * java/io/Externalizable.java,
3321 java/io/FileFilter.java,
3322 java/io/FilePermission.java,
3323 java/io/ObjectInput.java,
3324 java/io/ObjectInputValidation.java,
3325 java/io/ObjectOutput.java,
3326 java/io/ObjectStreamClass.java,
3327 java/io/ObjectStreamConstants.java,
3328 java/io/Serializable.java:
3329 Removed redundant modifiers.
3330
3331 2003-10-11 Ingo Proetel <proetel@aicas.com>
3332
3333 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
3334 codebase and context classloader.
3335
3336 2003-10-11 Michael Koch <konqueror@gmx.de>
3337
3338 * java/beans/beancontext/BeanContext.java,
3339 java/beans/beancontext/BeanContextChild.java,
3340 java/beans/beancontext/BeanContextChildComponentProxy.java,
3341 java/beans/beancontext/BeanContextChildSupport.java,
3342 java/beans/beancontext/BeanContextContainerProxy.java,
3343 java/beans/beancontext/BeanContextMembershipListener.java,
3344 java/beans/beancontext/BeanContextProxy.java,
3345 java/beans/beancontext/BeanContextServiceProvider.java,
3346 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3347 java/beans/beancontext/BeanContextServiceRevokedListener.java,
3348 java/beans/beancontext/BeanContextServices.java,
3349 java/beans/beancontext/BeanContextServicesListener.java:
3350 Removed redundant modifiers.
3351
3352 2003-10-11 Michael Koch <konqueror@gmx.de>
3353
3354 * java/beans/AppletInitializer.java,
3355 java/beans/BeanInfo.java,
3356 java/beans/Customizer.java,
3357 java/beans/DesignMode.java,
3358 java/beans/PropertyEditor.java,
3359 java/beans/Visibility.java:
3360 Removed redundant modifiers.
3361
3362 2003-10-11 Michael Koch <konqueror@gmx.de>
3363
3364 * java/awt/print/Pageable.java,
3365 * java/awt/print/Printable.java,
3366 java/awt/print/PrinterGraphics.java:
3367 Removed redundant modifiers.
3368
3369 2003-10-11 Michael Koch <konqueror@gmx.de>
3370
3371 * java/awt/peer/ButtonPeer.java,
3372 java/awt/peer/CheckboxMenuItemPeer.java,
3373 java/awt/peer/CheckboxPeer.java,
3374 java/awt/peer/ChoicePeer.java,
3375 java/awt/peer/ComponentPeer.java,
3376 java/awt/peer/ContainerPeer.java,
3377 java/awt/peer/DialogPeer.java,
3378 java/awt/peer/FileDialogPeer.java,
3379 java/awt/peer/FramePeer.java,
3380 java/awt/peer/LabelPeer.java,
3381 java/awt/peer/ListPeer.java,
3382 java/awt/peer/MenuBarPeer.java,
3383 java/awt/peer/MenuComponentPeer.java,
3384 java/awt/peer/MenuItemPeer.java,
3385 java/awt/peer/MenuPeer.java,
3386 java/awt/peer/PopupMenuPeer.java,
3387 java/awt/peer/RobotPeer.java,
3388 java/awt/peer/ScrollPanePeer.java,
3389 java/awt/peer/ScrollbarPeer.java,
3390 java/awt/peer/TextAreaPeer.java,
3391 java/awt/peer/TextComponentPeer.java,
3392 java/awt/peer/TextFieldPeer.java,
3393 java/awt/peer/WindowPeer.java:
3394 Removed redundant modifiers.
3395
3396 2003-10-11 Michael Koch <konqueror@gmx.de>
3397
3398 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3399 * gnu/java/nio/ServerSocketChannelImpl.java
3400 (serverSocket): Made it a NIOServerSocket.
3401 (impl): Removed.
3402 (ServerSocketChannelImpl): Initialize only serverSocket.
3403 (initServerSocket): Removed.
3404 (getNativeFD): Rewritten.
3405 (implConfigureBlocking): Set socket timeout and removed comment.
3406 (accept): Rewritten.
3407 * gnu/java/nio/SocketChannelImpl.java
3408 (impl): New variable.
3409 (connected): Removed.
3410 (SocketChannelImpl): Initialize impl too.
3411 (getImpl): New method.
3412 (isConnected): Rewritten.
3413 (read): Rewritten, set position in buffer correctly.
3414 (write): Set position in buffer correctly.
3415 * java/net/ServerSocket.java (getImpl): New method.
3416 * gnu/java/nio/NIOServerSocket.java,
3417 gnu/java/nio/natNIOServerSocket.cc: New files.
3418 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3419 * Makefile.am
3420 (ordinary_java_source_files):
3421 Added gnu/java/nio/NIOServerSocket.java.
3422 (nat_source_files):
3423 Removed gnu/java/nio/natServerSocketChannelImpl.cc
3424 and added gnu/java/nio/natNIOServerSocket.cc.
3425 * Makefile.in: Regenerated.
3426
3427 2003-10-11 Michael Koch <konqueror@gmx.de>
3428
3429 * java/awt/ActiveEvent.java,
3430 java/awt/datatransfer/ClipboardOwner.java,
3431 java/awt/datatransfer/FlavorMap.java,
3432 java/awt/datatransfer/Transferable.java,
3433 java/awt/dnd/Autoscroll.java,
3434 java/awt/dnd/peer/DragSourceContextPeer.java,
3435 java/awt/dnd/peer/DropTargetContextPeer.java,
3436 java/awt/dnd/peer/DropTargetPeer.java,
3437 java/awt/font/MultipleMaster.java,
3438 java/awt/font/OpenType.java,
3439 java/awt/im/spi/InputMethodDescriptor.java,
3440 java/awt/image/ImageObserver.java,
3441 java/awt/image/ImageConsumer.java,
3442 java/awt/image/ImageProducer.java,
3443 java/awt/image/RGBImageFilter.java,
3444 java/awt/image/RasterOp.java,
3445 java/awt/image/renderable/RenderableImage.java:
3446 Removed redundant modifiers.
3447
3448 2003-10-11 Michael Koch <konqueror@gmx.de>
3449
3450 * gnu/awt/j2d/DirectRasterGraphics.java,
3451 gnu/java/awt/EmbeddedWindowSupport.java:
3452 Removed redundant modifiers.
3453
3454 2003-10-09 Michael Koch <konqueror@gmx.de>
3455
3456 * gnu/java/nio/SelectorImpl.java (register):
3457 Use ServerSocketChannelSelectionKey for server socket channels,
3458 removed unneeded comments.
3459 * gnu/java/nio/ServerSocketChannelImpl.java
3460 (ServerSocketChannelImpl): Made class public final.
3461 (impl): New member variable.
3462 (ServerSocketChannelImpl): Initialize member variables correctly.
3463 (initServerSocket): New method.
3464 (getNativeFD): Likewise.
3465 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3466 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3467 * Makefile.am (ordinary_java_source_files):
3468 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3469 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3470 * Makefile.in: Regenrated.
3471
3472 2003-10-09 Michael Koch <konqueror@gmx.de>
3473
3474 * java/nio/channels/spi/AbstractSelectableChannel.java
3475 (registered): Made private.
3476 (blocking): Likewise.
3477 (LOCK): Likewise.
3478 (provider): Likewise.
3479 (keys): Made it a private LinkedList.
3480 (AbstractSelectableChannel): Initialize keys.
3481 (isRegistered): New implementation.
3482 (locate): Rewritten.
3483 (register): Rewritten.
3484 * java/nio/channels/spi/AbstractSelectionKey.java
3485 (ok): Removed.
3486 (cancelled): New member variable.
3487 (cancel): Rewritten.
3488 (isValid): Rewritten.
3489 * java/nio/channels/spi/AbstractSelector.java:
3490 Some methods moved.
3491 (closed): Make private.
3492 (provider): Likewise.
3493 (cancelledKeys): New member variable.
3494 (AbstractSelector): Initialize cancelledKeys.
3495 (cancelKey): New method.
3496
3497 2003-10-09 Tom Tromey <tromey@redhat.com>
3498
3499 * java/lang/ClassLoader.java (setSigners): Implemented.
3500 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3501 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3502 Initialize new fields.
3503 * java/lang/Class.java (getSigners): Now native.
3504 (setSigners): Declare.
3505 * java/lang/natClass.cc (getSigners): New method.
3506 (getSigners): Likewise.
3507 * java/lang/Class.h (Class::signers): New field.
3508 (Class::setSigners): New method.
3509
3510 2003-10-09 Michael Koch <konqueror@gmx.de>
3511
3512 * java/rmi/server/RMIClassLoader.java:
3513 Removed unused imports, little reformatings.
3514 (getClassLoader): New method, implementation was part of old loadCLass
3515 method.
3516 (loadClass): Simplified by moving functionality to new method and
3517 reworking the code a bit.
3518 (getClassAnnotation): Merged documentation from classpath.
3519
3520 2003-10-09 Michael Koch <konqueror@gmx.de>
3521
3522 * java/math/BigInteger.java
3523 (add): Removed unused local variable len.
3524
3525 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3526
3527 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3528 modality check.
3529 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3530 Initialize insets to use latest insets.
3531 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3532 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3533 field.
3534 (postConfigureEvent): Update latestInsets field when insets
3535 change. Remove call to setSize. Move validate call outside of
3536 if blocks.
3537 (setVisible): Call setBounds before showing window.
3538 (nativeSetVisible): New native method.
3539 * java/awt/Window.java (show): Show visible owned windows.
3540 (hide): Hide visible owned windows.
3541 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3542 (awt_event_handler): Implement modality using GTK grabs.
3543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3544 (global_gtk_window_group): New global variable.
3545 (gtkInit): Initialize global_gtk_window_group.
3546 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3547 Clamp width and height values to at least 1. Add this window to
3548 the global GTK window group.
3549 (setVisible): Rename to nativeSetVisible.
3550 (setup_window): Remove function.
3551 (setSize): Clamp width and height values to at least 1.
3552 (nativeSetBounds): Likewise.
3553 (gdk_window_get_root_geometry): Remove function.
3554 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3555 and setup_window declarations. Declare global_gtk_window_group.
3556
3557 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3558 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3559 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3560 (gtkWidgetSetForeground): New method.
3561 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3562 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3563 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3564 (setBackground, setForeground): Implement.
3565 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3566 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3567 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3568 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3569 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3571 Position PangoLayout relative to text's baseline.
3572 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3573
3574 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3575 for CENTER and RIGHT alignments.
3576
3577 2003-10-08 Michael Koch <konqueror@gmx.de>
3578
3579 * java/security/Security.java: Reformated.
3580
3581 2003-10-08 Michael Koch <konqueror@gmx.de>
3582
3583 * java/text/SimpleDateFormat.java
3584 (compileFormat): Replace Character.isLetter() test with
3585 Character.isLowerCase() || Character.isUpperCase().
3586
3587 2003-10-08 Tom Tromey <tromey@redhat.com>
3588
3589 * java/lang/StrictMath.java (toDegrees): Multiply before
3590 dividing.
3591 (toRadians): Likewise.
3592
3593 2003-10-08 C. Brian Jones <cbj@gnu.org>
3594
3595 * java/lang/Math.java
3596 (toRadians): multiply before dividing to reduce decimal error
3597 (toDegrees): ditto
3598
3599 2003-10-08 Michael Koch <konqueror@gmx.de>
3600
3601 * gnu/gcj/protocol/core/Connection.java,
3602 gnu/gcj/protocol/core/CoreInputStream.java,
3603 gnu/gcj/protocol/core/Handler.java,
3604 gnu/gcj/protocol/core/natCoreInputStream.cc,
3605 gnu/gcj/protocol/file/Connection.java,
3606 gnu/gcj/protocol/file/Handler.java,
3607 gnu/gcj/protocol/gcjlib/Connection.java,
3608 gnu/gcj/protocol/gcjlib/Handler.java,
3609 gnu/gcj/protocol/http/Connection.java,
3610 gnu/gcj/protocol/http/Handler.java,
3611 gnu/gcj/protocol/jar/Connection.java,
3612 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3613 * gnu/java/net/protocol/core/Connection.java,
3614 gnu/java/net/protocol/core/CoreInputStream.java,
3615 gnu/java/net/protocol/core/Handler.java,
3616 gnu/java/net/protocol/core/natCoreInputStream.cc,
3617 gnu/java/net/protocol/file/Connection.java,
3618 gnu/java/net/protocol/file/Handler.java,
3619 gnu/java/net/protocol/gcjlib/Connection.java,
3620 gnu/java/net/protocol/gcjlib/Handler.java,
3621 gnu/java/net/protocol/http/Connection.java,
3622 gnu/java/net/protocol/http/Handler.java,
3623 gnu/java/net/protocol/jar/Connection.java,
3624 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3625 * gnu/gcj/runtime/FirstThread.java,
3626 java/net/URL.java: Use moved protocol handlers.
3627 * Makefile.am
3628 (ordinary_java_source_files): Moved files.
3629 (nat_source_files): Likewise.
3630 * Makefile.in: Regenerated.
3631
3632 2003-10-08 Michael Koch <konqueror@gmx.de>
3633
3634 * gnu/java/nio/SocketChannelImpl.java
3635 (read): Write only read data to buffer.
3636
3637 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3638
3639 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3640 out.
3641 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3642 (JCL_free): Attach "unused" attribute to env parameter.
3643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3644 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3645 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3646 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3647 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3648 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3649 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3650 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3651 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3652 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3653 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3654 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3655 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3656 parameters.
3657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3658 (initNativeState): Pass 0 as info argument to
3659 gtk_selection_add_target.
3660 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3661 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3662 unused method implementations.
3663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3664 (awt_event_handler): Add break statement after default label.
3665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3666 (drawPixels): Remove unused variable i.
3667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3668 (setEnabled): Remove method implementation.
3669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3670 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3671 argument.
3672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3673 unused function.
3674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3675 (menu_pos): Assign TRUE to push_in.
3676 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3677 argument.
3678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3679 (create): Remove unused variable layout.
3680 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3681 Pass window_widget, rather than window, to
3682 gtk_widget_set_size_request.
3683 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3684 structure initialization with NULL values.
3685 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3686
3687 2003-10-08 Michael Koch <konqueror@gmx.de>
3688
3689 * java/util/LinkedList.java:
3690 Removed whitespace to match classpath's version again.
3691
3692 2003-10-08 Michael Koch <konqueror@gmx.de>
3693
3694 * java/util/prefs/Preferences.java
3695 (defaultFactoryClass): Fixed class name.
3696 (getFactory): Create instance of class returned by Class.forName(),
3697 reformated code.
3698
3699 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3700
3701 * javax/swing/table/AbstractTableModel.java
3702 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3703 helped stop pulling my hair on this +1 then -1 tricky thing!
3704
3705 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3706
3707 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3708 Remove unused parameters.
3709 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3710 Likewise.
3711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3712 (keyevent_state_to_awt_mods): Export function.
3713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3714 (getCaretPosition): Fix TextArea case.
3715 (textcomponent_commit_cb): Get exact event time and modifier
3716 state.
3717 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3718
3719 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
3720
3721 * java/net/InetSocketAddress.java
3722 (InetSocketAddress): Made exception more clear.
3723 (equals): Handle case when addr is null.
3724 (toString): Likewise.
3725 * java/net/NetworkInterface.java
3726 (static): Load native library.
3727 (getNetworkInterfaces): Rewritten.
3728
3729 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
3730
3731 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3732 field.
3733 (initializeInsets): New method.
3734 (GtkComponentPeer): Call initializeInsets. Call setCursor and
3735 setBounds unconditionally.
3736 (setBounds): Convert coordinates if parent is a Window.
3737 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3738 field to GtkComponentPeer.
3739 (GtkContainerPeer): Don't initialize insets.
3740 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3741 New method.
3742 (create): Call new GtkWindowPeer create method.
3743 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3744 New method.
3745 (create): Call new GtkWindowPeer create method.
3746 (setBounds): Remove method.
3747 (postConfigureEvent): Likewise.
3748 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3749 type constants with GDK window type constants.
3750 (create(int,boolean,int,int,GtkWindowPeer)): New method.
3751 (create(int,boolean)): Likewise.
3752 (create()): Call create(int,boolean).
3753 (nativeSetBounds): New native method declaration.
3754 (setBounds): Call native method declaration.
3755 (setSize): New native method declaration.
3756 (setBoundsCallback): Likewise.
3757 (postConfigureEvent): Handle change in insets. Call setSize and
3758 setBoundsCallback methods.
3759 * java/awt/Window.java (Window): Set visible to false.
3760 (setBoundsCallback): New method.
3761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3762 (gtkWidgetGetLocationOnScreen): If this component is not a
3763 container, adjust the location returned based on the peer's
3764 allocation.
3765 (set(String,boolean)): Revert change from 2003-09-19.
3766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3767 (awt_event_handler): Fix inset calculation.
3768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3769 glue for Window.setBoundsCallback.
3770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3771 Set up stacking order, window decorations and window manager
3772 hints.
3773 (setBoundsCallback): New method.
3774 (setSize): New method.
3775 (nativeSetBounds): New method.
3776 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3777
3778 2003-10-02 Tom Tromey <tromey@redhat.com>
3779
3780 * java/lang/VMClassLoader.java (loadClass): Now native.
3781 * java/lang/natClassLoader.cc (loadClass): Implement.
3782 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3783
3784 2003-10-02 Michael Koch <konqueror@gmx.de>
3785
3786 * java/net/InetAddress.java
3787 (zeros): Removed.
3788 (ANY_IF): Initalizie in static block.
3789 (static): Load library with native methods here and initialize ANY_IF.
3790 (isAnyLocalAddress): Check if equal to ANY_IF.
3791 (equals): Use addr directly instead of addr1. Simplify for loop.
3792 (toString): Rename "result" to "host" and add IP address allways.
3793 (getLocalHost): Merged documentation from classpath.
3794 * java/net/ServerSocket.java
3795 (ServerSocket): New package-private constructor used by java.nio.
3796 * java/net/URLConnection.java
3797 (getRequestProperties): Check if already connected.
3798
3799 2003-10-02 Michael Koch <konqueror@gmx.de>
3800
3801 * java/nio/ByteBufferHelper.java:
3802 Rewrote all methods by suggestions from Eric Blake.
3803
3804 2003-10-02 Michael Koch <konqueror@gmx.de>
3805
3806 * java/net/URL.java
3807 (DEFAULT_SEARCH_PATH): New static variable.
3808 (ph_cache): Made it a HashMap.
3809 (getURLStreamHandler): Rename propVal to ph_search_path and use
3810 DEFAULT_SEARCH_PATH.
3811
3812 2003-10-02 Michael Koch <konqueror@gmx.de>
3813
3814 * javax/swing/table/AbstractTableModel.java
3815 (findColumnName): Prevent from NullPointerException if argument
3816 columnName is null.
3817
3818 2003-10-02 Michael Koch <konqueror@gmx.de>
3819
3820 * javax/swing/table/AbstractTableModel.java:
3821 This patch is based on a patch done by Arnaud Vandyck
3822 <arnaud.vandyck@ulg.ac.be>.
3823 (getColumnName): Fixed method documentation.
3824 (findColumn): Likewise.
3825 (getColumnClass): Likewise.
3826 (isCellEditable): Likewise.
3827 (setValueAt): Likewise.
3828 (addTableModelListener): Likewise.
3829 (removeTableModelListener): Likewise.
3830 (getTableModelListeners): New method.
3831
3832 2003-10-02 Michael Koch <konqueror@gmx.de>
3833
3834 * javax/swing/table/AbstractTableModel.java:
3835 Reformated.
3836
3837 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
3838
3839 Fix PR libgcj/12475
3840 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3841 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3842
3843 2003-10-01 Tom Tromey <tromey@redhat.com>
3844
3845 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3846
3847 2003-10-01 Andrew Haley <aph@redhat.com>
3848
3849 * java/lang/natClass.cc (initializeClass): Check for otable and
3850 atable.
3851 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
3852 loops using for(). Search superinterfaces. Check for fields as
3853 well as methods. Initialize atable as well as otable: check for
3854 static methods as well as virtual methods.
3855 * java/lang/Class.h (struct _Jv_AddressTable): New.
3856 (atable): New.
3857 (atable_syms): New.
3858 * include/jvm.h (_Jv_equalUtf8Consts): constify.
3859 * prims.cc (_Jv_equalUtf8Consts): constify.
3860
3861 2003-09-29 Tom Tromey <tromey@redhat.com>
3862
3863 PR libgcj/10596:
3864 * include/jvm.h (_Jv_FinalizeString,
3865 _Jv_RegisterStringFinalizer): Declare.
3866 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
3867 unintern.
3868 (intern): Updated.
3869 (_Jv_NewStringUtf8Const): Likewise.
3870 * java/lang/ref/natReference.cc (finalize_referred_to_object):
3871 Add special case when finalizing a String.
3872 (in_hash): New function.
3873 (_Jv_RegisterStringFinalizer): Likewise.
3874 (maybe_add_finalize): Likewise.
3875
3876 2003-09-29 Michael Koch <konqueror@gmx.de>
3877
3878 * java/net/InetAddress.java:
3879 (isMulticastAddress): Dont use local variable to store address length.
3880 Let the compiler optimize this.
3881 (getHostName): Merged dcoumentation from classpath.
3882 (getAddress): Likewise.
3883 (getHostAddress): Likewise.
3884 (hashCode): Likewise.
3885 (equals): Likewise.
3886 (toString): Likewise.
3887 (getByName): Likewise.
3888 (getAllByName): Likewise.
3889
3890 2003-09-29 Michael Koch <konqueror@gmx.de>
3891
3892 * java/awt/image/IndexColorModel.java: Reformated.
3893
3894 2003-09-29 Michael Koch <konqueror@gmx.de>
3895
3896 * java/net/InetAddress.java,
3897 java/net/URL.java: Reformated.
3898
3899 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
3900
3901 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
3902 significant bit of descriptor. Include the vtable and sync_info
3903 fields.
3904
3905 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
3906
3907 * java/text/DateFormat.java (format): Throw IllegalArgumentException
3908 if `obj' is not a Number or Date instance.
3909 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
3910 instead of Vector.
3911
3912 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
3913
3914 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
3915 Don't call setTimeZone on calendar.
3916
3917 2003-09-27 Michael Koch <konqueror@gmx.de>
3918
3919 * java/net/URL.java (getURLStreamHandler): Compile fixes.
3920
3921 2003-09-27 Michael Koch <konqueror@gmx.de>
3922
3923 * java/net/URL.java (getURLStreamHandler):
3924 Check if we have to use cache before trying to retrieve handler from
3925 cache. Rename facName to clsName to match classpath more. Reformated
3926 some little pieces.
3927
3928 2003-09-27 Michael Koch <konqueror@gmx.de>
3929
3930 * gnu/java/nio/SelectionKeyImpl.java
3931 (ch): Make package-private again. Jikes found this bug.
3932 Jeff Sturm submitted PR12426 for this to bugzilla
3933 to fix this bug in gcj.
3934
3935 2003-09-26 Michael Koch <konqueror@gmx.de>
3936
3937 * java/rmi/server/RMIClassLoader.java:
3938 Reformatted file, no functional code changes.
3939
3940 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
3941
3942 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
3943 Save space for some pixels at the buffer end. Added Javadoc.
3944
3945 2003-09-26 Tom Tromey <tromey@redhat.com>
3946
3947 * java/io/ObjectOutputStream.java (writeFields): Fixed
3948 indentation.
3949 (putFields): Likewise.
3950
3951 2003-09-26 Michael Koch <konqueror@gmx.de>
3952
3953 * java/nio/ByteBufferHelper.java:
3954 Totally reworked with help from Eric Blake.
3955
3956 2003-09-26 Tom Tromey <tromey@redhat.com>
3957
3958 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
3959 * java/awt/geom/PathIterator.java: Documentation fixes.
3960
3961 2003-09-25 Jeff Sturm <jsturm@one-point.com>
3962
3963 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
3964 (select): Likewise.
3965 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
3966
3967 2003-09-25 Michael Koch <konqueror@gmx.de>
3968
3969 * gnu/java/nio/DatagramChannelImpl.java
3970 (getNativeFD): New method.
3971 * gnu/java/nio/SelectionKeyImpl.java
3972 (SelectionKeyImpl): Class made abstract.
3973 (fd): Removed.
3974 (SelectionKeyImpl): Remove fd argument.
3975 (getNativeFD): New method.
3976 * gnu/java/nio/SocketChannelImpl.java
3977 (getNativeFD): New method.
3978 gnu/java/nio/DatagramChannelSelectionKey.java,
3979 * gnu/java/nio/SocketChannelSelectionKey.java:
3980 New files.
3981 * Makefile.am (ordinary_java_source_files):
3982 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
3983 gnu/java/nio/SocketChannelSelectionKey.java.
3984 * Makefile.in: Regenerated.
3985
3986 2003-09-25 Michael Koch <konqueror@gmx.de>
3987
3988 * java/lang/reflect/Proxy.java
3989 (getProxyClass): Remove workaround for gcj 3.0.x.
3990
3991 2003-09-25 Michael Koch <konqueror@gmx.de>
3992
3993 * gnu/java/net/PlainDatagramSocketImpl.java
3994 (finalize): Moved to directly after constructor.
3995 (getNativeFD): New method.
3996 * gnu/java/net/PlainSocketImpl.java
3997 (getNativeFD): New method.
3998
3999 2003-09-25 Ingo Proetel <proetel@aicas.com>
4000
4001 * java/io/ObjectOutputStream.java:
4002 Allow putFields be called more than once.
4003
4004 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
4005
4006 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4007 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4008 * java/awt/image/BufferedImage.java (toString): Implement.
4009
4010 2003-09-25 Jeff Sturm <jsturm@one-point.com>
4011
4012 * aclocal.m4: Rebuilt.
4013 * configure: Rebuilt.
4014
4015 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
4016
4017 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4018 field.
4019
4020 2003-09-25 Michael Koch <konqueror@gmx.de>
4021
4022 * gnu/java/nio/SelectorImpl.java
4023 (implSelect): Renamed from java_do_select.
4024 (select): Call native implSelect() and add support for Thread
4025 interruption.
4026 * gnu/java/nio/natSelectorImpl.cc
4027 (implSelect): Renamed from java_do_select.
4028
4029 2003-09-25 Michael Koch <konqueror@gmx.de>
4030
4031 * gnu/java/nio/SelectorImpl.java
4032 (selectNow): Made final, throws IOException.
4033 (select): Likewise.
4034 (getFDsAsArray): Made final.
4035 (selectedKeys): Likewise.
4036 (wakeup): Likewise.
4037 (deregisterCancelledKeys): Likewise.
4038 (register): Likewise.
4039 (ass): Removed.
4040 (add_selected): Removed.
4041 * gnu/java/nio/natSelectorImpl.cc:
4042 No need to include bstring.h or gcj/cni.h.
4043 (helper_put_filedescriptors): Rewritten.
4044 (helper_get_filedescriptors): Rewritten.
4045
4046 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
4047
4048 * java/awt/font/FontRenderContext.java (getTransform): Return
4049 copy of internal transform object. Add Javadoc.
4050 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4051 winding rule as Sun J2SE.
4052 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4053
4054 2003-09-25 Ingo Proetel <proetel@aicas.com>
4055
4056 * java/rmi/Naming.java:
4057 Added comments, now accepts pseudo protocol "rmi".
4058
4059 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
4060
4061 * java/text/DecimalFormat.java (format): Don't immediatly round
4062 baseNumber to long.
4063 (setMinimumIntegerDigits): Call super.
4064 (setMinimumFractionDigits): Likewise.
4065 (setMaximumIntegerDigits): Likewise.
4066 (setMaximumFractionDigits): Likewise.
4067
4068 2003-09-25 Michael Koch <konqueror@gmx.de>
4069
4070 * gnu/java/nio/DatagramChannelImpl.java
4071 (DatagramChannelImpl): Made class final.
4072 (blocking): Made private.
4073 (socket): Made it a NIODatagramSocket and private.
4074 (DatagramChannelImpl): create NIODatagramSocket instead of
4075 DatagramSocket.
4076 (implConfigureBlocking): Set socket timeout.
4077 (connect): Check that channel is not closed.
4078 (write): Implemented.
4079 (write): Rewritten.
4080 (read): Implemented.
4081 (read): Rewritten.
4082 (receive): Implemented.
4083 (send): Implemented.
4084 * gnu/java/nio/SelectionKeyImpl.java
4085 (readyOps): Made private.
4086 (interestOps): Made private.
4087 (impl): Made private.
4088 (ch): Made private.
4089 (readyOps): Check if selection key is valid.
4090 (interestOps): Likewise.
4091 * gnu/java/nio/SelectorImpl.java
4092 (closed): Removed.
4093 (keys): Made private.
4094 (selected): Made private.
4095 (finalize): New method.
4096 (implCloseSelector): Rewritten.
4097 (keys): Return unmodifiable Set.
4098 (deregisterCancelledKeys): Fixed typo in method name.
4099 * gnu/java/nio/SocketChannelImpl.java
4100 (SocketChannelImpl): Made class final.
4101 (socket): Made it a NIOSocket and private.
4102 (blocking): Made private.
4103 (connected): Made private.
4104 (connectionPending): New member variable.
4105 (SocketChannelImpl): New implementation.
4106 (finalizer): Use isConnected().
4107 (connect): Rewritten.
4108 (finishConnect): Throws IOException, implemented.
4109 (isConnectionPending): Return connectionPending.
4110 (read): Rewritten.
4111 (write): Rewritten.
4112 * gnu/java/nio/NIOConstants.java: New file.
4113 * Makefile.am (ordinary_java_source_files):
4114 Added gnu/java/nio/NIOConstants.java.
4115 * Makefile.in: Regenerated.
4116
4117 2003-09-25 Michael Koch <konqueror@gmx.de>
4118
4119 * java/net/InetAddress.java:
4120 Reorder imports, remove implementation comment.
4121 (isMulticastAddress): Merged documentation from classpath.
4122 * java/net/URLConnection.java
4123 (setRequestProperty): Check key for null, fix documentation.
4124 (adREquestProperty): Check key for null, remove wrong implementation
4125 and replace it with comment to overwrite this method in subclasses,
4126 fix documentation.
4127
4128 2003-09-25 Tom Tromey <tromey@redhat.com>
4129
4130 * java/lang/reflect/Proxy.java (generate): Uncomment protection
4131 domain code.
4132 * java/lang/natClassLoader.cc (defineClass): Added `loader'
4133 argument.
4134 (linkClass0): Now in VMClassLoader.
4135 (markClassErrorState0): Likewise.
4136 (getSystemClassLoaderInternal): New method.
4137 * java/lang/natClass.cc (initializeClass): Use
4138 VMClassLoader::resolveClass.
4139 * java/lang/ClassLoader.java: New version, from Classpath.
4140 * java/lang/Class.java (getProtectionDomain):
4141 protectionDomainPermission and unknownProtectionDomain now in
4142 VMClassLoader.
4143 * java/lang/Class.h: VMClassLoader now a friend class.
4144 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4145 package-private.
4146 * gcj/javaprims.h: Regenerated class list.
4147 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4148 * java/lang/VMClassLoader.java: New version from Classpath;
4149 modified for libgcj use.
4150
4151 2003-09-25 Michael Koch <konqueror@gmx.de>
4152
4153 * java/nio/ByteBufferHelper.java:
4154 New file.
4155 * java/nio/ByteBufferImpl.java,
4156 java/nio/DirectByteBufferImpl.java,
4157 java/nio/MappedByteBufferImpl.java
4158 (getType,putType): Use new helper class ByteBufferHelper.
4159 * Makefile.am (ordinary_java_source_files):
4160 Added java/nio/ByteBufferHelper.java.
4161 * Makefile.in: Regenerated.
4162
4163 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
4164
4165 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4166 PR libgcj/12388.
4167
4168 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
4169
4170 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4171 Strings, even if buffer is already shared.
4172
4173 2003-09-24 Michael Koch <konqueror@gmx.de>
4174
4175 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4176
4177 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
4178
4179 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4180 (write): Likewise.
4181 (SocketInputStream): Declare `read' and `write' methods native.
4182 Remove implementations which called back into PlainSocketImpl.
4183 Remove unneccessary overridden methods.
4184 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
4185 to inner class PlainSocketImpl.SocketInputStream.
4186 (write): Likewise.
4187 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4188 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4189 * gnu/java/net/SocketInputStream.java: Remove unused file.
4190 * gnu/java/net/SocketOutputStream.java: Likewise.
4191 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4192 and SocketOutputStream.
4193 * Makefile.in: Rebuilt.
4194
4195 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
4196
4197 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4198
4199 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4200 markers.
4201
4202 2003-09-22 Anthony Green <green@redhat.com>
4203
4204 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4205 * configure: Rebuilt.
4206
4207 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
4208
4209 PR java/12350:
4210 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4211
4212 2003-09-22 Michael Koch <konqueror@gmx.de>
4213
4214 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4215 compiler warning but produces a different one now.
4216
4217 2003-09-22 Michael Koch <konqueror@gmx.de>
4218
4219 * java/net/InetAddress.java:
4220 Moves around some code, reformats and adds documentation.
4221 No functional changes.
4222
4223 2003-09-22 Michael Koch <konqueror@gmx.de>
4224
4225 * java/net/JarURLConnection.java
4226 (JarURLConnection): Modifed code to match classpath more, fixed comment.
4227 (getCertificates): Made it more error prone.
4228 (getMainAttributes): Likewise.
4229 (getAttributes): Implemented.
4230 (getManifest): Reformatted code.
4231
4232 2003-09-20 Tom Tromey <tromey@redhat.com>
4233
4234 * java/awt/Component.java: Indentation cleanup from Classpath.
4235
4236 2003-09-20 Dalibor Topic <robilad@kaffe.org>
4237
4238 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4239 checking to follow 1.4.2 spec.
4240
4241 2003-08-11 Ingo Proetel <proetel@aicas.com>
4242
4243 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
4244 is compatible in case client and server are running in the same VM
4245 (remerged from Classpath on 2003-09-20)
4246
4247 2003-09-19 David Daney <ddaney@avtrex.com>
4248
4249 * java/lang/ref/Reference.java (clear): Set referent to null and
4250 synchronize.
4251
4252 2003-09-19 Michael Koch <konqueror@gmx.de>
4253
4254 * gnu/java/nio/NIODatagramSocket.java,
4255 gnu/java/nio/NIOSocket.java: New files.
4256 * Makefile.am (ordinary_java_source_files):
4257 Added gnu/java/nio/NIODatagramSocket.java and
4258 gnu/java/nio/NIOSocket.java.
4259 * Makefile.in: Regenerated.
4260
4261 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4262
4263 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4264 top-level GTK window.
4265 (getArgs): Add "title" property.
4266 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4267 "allow_shrink" and "allow_grow" properties.
4268 * java/awt/Dialog.java: Initialize resizable to true and change
4269 comments accordingly. Initialize visible to false in
4270 constructors.
4271 * java/awt/Frame.java (dispose): Remove method.
4272 * java/awt/Window.java (ownedWindows): New field.
4273 (Window(Window,GraphicsConfiguration)): Add a weak reference to
4274 owner's ownedWindows vector.
4275 (finalize): Remove method.
4276 (hide): Hide owned windows.
4277 (dispose): Dispose of owned windows.
4278 (getOwnedWindows): Implement.
4279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4280 unused GtkArg code.
4281 (set(String,boolean)): Clamp gboolean parameter to g_object_set
4282 to TRUE or FALSE.
4283 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4284 (create): Set window's size requisition.
4285 (connectHooks): Fix indentation.
4286 (setResizable): Remove function.
4287 (static setBounds): Likewise.
4288 (setBounds): Replace call to setBounds with GTK size requisition
4289 and resize calls.
4290
4291 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
4292
4293 * win32-threads.cc: (ensure_interrupt_event_initialized) New
4294 function for lazy initialization of an auto-reset event.
4295 (_Jv_CondWait) Added thread interrupt support.
4296 (_Jv_ThreadInitData) Added initialization of interrupt support
4297 members.
4298 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4299 (_Jv_ThreadStart) Removed unused code.
4300 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4301 to an external caller.
4302 (_Jv_ThreadInterrupt) Implemented.
4303 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4304 event for interrupt support as well as a mutex which regulates
4305 access to this.
4306 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4307 event to an external caller.
4308 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4309 process.
4310 (waitFor) Added interrupt support.
4311
4312 2003-09-19 Michael Koch <konqueror@gmx.de>
4313
4314 * java/net/DatagramSocket.java (getLocalAddress):
4315 Renamed result variable to localAddr.
4316 * java/net/MulticastSocket.java:
4317 No need to import gnu.java.net.PlainDatagramSocketImpl.
4318
4319 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
4320
4321 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4322 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4323
4324 2003-09-18 Tom Tromey <tromey@redhat.com>
4325
4326 * javax/naming/InitialContext.java: Reindented.
4327
4328 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
4329 Helmer Kraemer <hkraemer@freenet.de>
4330
4331 * javax/naming/spi/NamingManager.java (getURLContext,
4332 getObjectInstance, getStateToBind): Always use current thread's
4333 context class loader when calling Class.forName.
4334
4335 2003-09-18 Michael Koch <konqueror@gmx.de>
4336
4337 * java/util/Timer.java (finalize): Added "throws Throwable".
4338
4339 2003-09-18 Michael Koch <konqueror@gmx.de>
4340
4341 * java/net/DatagramSocket.java
4342 (ch): Removed.
4343 (receive): Use getChannel() instead of ch.
4344 (send): Likewise.
4345 (getChannel): Return null.
4346 * java/net/ServerSocket.java
4347 (ch): Removed.
4348 (setChannel): Removed.
4349 (implAccept): Use getChannel() instead of ch.
4350 (close): Likewise.
4351 (getChannel): Return null.
4352 * java/net/Socket.java
4353 (ch): Removed.
4354 (connect): Use getChannel() instead of ch.
4355 (setChannel): Removed.
4356 (getChannel): Return null.
4357
4358 2003-09-18 Mark Wielaard <mark@klomp.org>
4359
4360 Reported by Guilhem Lavaux and Julian Dolby
4361 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4362 field "serialPersistentFields", not "getSerialPersistentFields".
4363
4364 2003-09-18 Ingo Proetel <proetel@aicas.com>
4365
4366 * java/util/TimeZone.java: Initialize lazily.
4367 * java/util/Locale.java (readManifest): Fix check for country.
4368 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4369 traceable
4370 * java/util/Calendar.java: Make use of ResourceBundle better
4371 traceable.
4372
4373 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
4374
4375 * java/sql/Timestamp.java
4376 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4377
4378 2003-09-18 David P Grove <groved@us.ibm.com>
4379
4380 * java/io/LineNumberReader (read): Don't reset pos & limit when
4381 markPos is 0.
4382
4383 2003-09-18 Dalibor Topic <robilad@kaffe.org>
4384
4385 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4386 constant.
4387 (computeArguments): use computeTypicalArguments.
4388
4389 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4390 Compile_jikes.java and RMICException.java.
4391 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4392 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4393 * gnu/java/rmi/rmic/RMICException.java: Likewise.
4394
4395 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4396
4397 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4398 (computeTypicalArguments): New method.
4399 (compile): Print compiler output to System.out. Collect compiler
4400 error output and use it in exception message.
4401
4402 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4403 (destination): Initialize to null.
4404 (run): Replace file separator with '.' when processing class.
4405 (processClass): Replace '.' with file separator when compiling
4406 classes.
4407 (findClass): Use SystemClassLoader to load class.
4408 (generateStub): Use full class name for generated stub, that puts
4409 it in right path. Replace '.' with file separator when generating
4410 stub file name. Write just the stub class name without package
4411 information as class name, and constructor name. Write only
4412 interface names for interfaces extending java.rmi.Remote as
4413 implemented.
4414 (generateSkel): Use full class name for generated skel, that puts
4415 it in right path. Replace '.' with file separator when generating
4416 stub file name. Write just the stub class name without package
4417 information as class name.
4418
4419 2003-09-18 Michael Koch <konqueror@gmx.de>
4420
4421 * Makefile.am (rmi_java_source_files):
4422 Added gnu/java/rmi/rmic/Compile_kjc.java,
4423 gnu/java/rmi/rmic/Compile_jikes.java and
4424 gnu/java/rmi/rmic/RMICException.java
4425 * Makefile.in: Regenerated.
4426
4427 2003-09-17 Graydon Hoare <graydon@redhat.com>
4428
4429 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4430 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4431 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4432 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
4433 New files.
4434
4435 2003-09-16 Graydon Hoare <graydon@redhat.com>
4436
4437 * java/awt/BufferedImage.java (setData): Support non-component
4438 sample models.
4439 (getData): Same.
4440
4441 2003-09-10 Graydon Hoare <graydon@redhat.com>
4442
4443 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4444 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4445
4446 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
4447
4448 * configure.in: Standardized help text case of
4449 --enable-hash-synchronization
4450 New configure switch --enable-libgcj-multifile and corresponding
4451 automake conditional ONESTEP.
4452 * configure: Rebuilt.
4453 * Makefile.am: Use automake conditional ONESTEP to determine
4454 whether classfiles should be compiled individually or all
4455 at once.
4456 * Makefile.in: Rebuilt.
4457
4458 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4459
4460 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4461 Remove method declaration.
4462 (create()): Call native create.
4463 (create(int)): New method.
4464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4465 (create): Add window_id parameter. Call gtk_plug_new with
4466 window_id parameter.
4467 (construct): Remove method implementation.
4468
4469 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
4470
4471 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4472 (mostlyclean-local): New target patterned after clean-local
4473 which recursively deletes all libtool objects using 'libtool rm'.
4474 (clean-local): Slightly modified comment to alleviate monotony.
4475 (distclean-local): New target patterned after clean-local
4476 which recursively deletes all .d files.
4477 * Makefile.in: Rebuilt.
4478
4479 2003-09-11 Tom Tromey <tromey@redhat.com>
4480
4481 * java/net/URLStreamHandler.java (parseURL): If original file
4482 ends with "/", so must canonical result.
4483 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4484 with nul-termination and finding previous "/".
4485
4486 2003-09-11 Michael Koch <konqueror@gmx.de>
4487
4488 * acconfig.h: Removed most items.
4489 * configure.in: Added descriptions to AC_DEFINE macros that where in
4490 acconfig.h before.
4491 * include/config.h.in: Regenerated.
4492
4493 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
4494
4495 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4496 if one is installed. Improve Javadoc.
4497 (getSystemEventQueueImpl): Improve Javadoc.
4498
4499 2003-09-11 Tom Tromey <tromey@redhat.com>
4500
4501 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4502 file does not exist.
4503
4504 2003-09-10 Anthony Green <green@redhat.com>
4505
4506 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4507 Specify full name when referencing ::java::net::InetAddress.
4508 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4509 Fix argument type.
4510
4511 2003-09-10 Michael Koch <konqueror@gmx.de>
4512
4513 * acconfig.h (__NO_MATH_INLINES): Removed.
4514 * configure.in: Removed check for g++ math inlining bug from 2000.
4515 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4516 libgcj_cxxflags.
4517 * configure: Regenerated.
4518
4519 2003-09-10 David Daney <ddaney@avtrex.com>
4520
4521 * java/util/Arrays.java (equals(all variants)): Quit using
4522 NullPointerException catching to detect null valued parameters.
4523
4524 2003-09-10 Michael Koch <konqueror@gmx.de>
4525
4526 * java/net/DatagramSocket.java,
4527 java/net/MulticastSocket.java,
4528 java/net/ServerSocket.java,
4529 java/net/Socket.java:
4530 Use gnu.java.net.Plain*SocketImpl instead of
4531 java.net.PlainSocketImpl.
4532 * java/net/PlainDatagramSocketImpl.java,
4533 java/net/PlainSocketImpl.java,
4534 java/net/SocketInputStream.java,
4535 java/net/SocketOutputStream.java,
4536 java/net/natPlainDatagramSocketImplNoNet.cc,
4537 java/net/natPlainDatagramSocketImplPosix.cc,
4538 java/net/natPlainDatagramSocketImplWin32.cc,
4539 java/net/natPlainSocketImplNoNet.cc,
4540 java/net/natPlainSocketImplPosix.cc,
4541 java/net/natPlainSocketImplWin32.cc:
4542 Removed.
4543 * gnu/java/net/PlainDatagramSocketImpl.java,
4544 gnu/java/net/PlainSocketImpl.java,
4545 gnu/java/net/SocketInputStream.java,
4546 gnu/java/net/SocketOutputStream.java,
4547 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4548 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4549 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4550 gnu/java/net/natPlainSocketImplNoNet.cc,
4551 gnu/java/net/natPlainSocketImplPosix.cc,
4552 gnu/java/net/natPlainSocketImplWin32.cc:
4553 New files (moved from java/net).
4554 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4555 instead of java/net/natPlain*SocketImpl.cc.
4556 * configure: Regenerated.
4557 * Makefile.am: Moved files from java/net to gnu/java/net.
4558 * Makefile.in: Regenerated.
4559
4560 2003-09-09 Alan Modra <amodra@bigpond.net.au>
4561
4562 * configure: Regenerate.
4563
4564 2003-09-04 Tom Tromey <tromey@redhat.com>
4565
4566 * configure.host: Removed erroneous comment.
4567
4568 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4569 lvalue cast; use correct rvalue cast.
4570
4571 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4572
4573 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4574 and height arguments to GtkWindowPeer.create method call.
4575 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4576 (create(int,int,int)): New method.
4577 (create(int)): Add call to new create method.
4578 (create()): Add width and height arguments to create method
4579 call.
4580 (GtkWindowPeer): Remove call to setBounds.
4581 * java/awt/Frame.java (Frame(String)): Initialize visible field
4582 to false.
4583 (Frame(GraphicsConfiguration)): Likewise.
4584 (Frame(String,GraphicsConfiguration)): Likewise.
4585 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4586 Add width and height parameters. Call
4587 gtk_window_set_default_size.
4588 (connectHooks): Remove unused name variable.
4589 (static setBounds): Call gtk_window_resize not
4590 gtk_widget_set_usize.
4591 (setBounds): Remove unused nchildren variable.
4592
4593 2003-08-31 Ingo Proetel <proetel@aicas.com>
4594
4595 * java/util/logging/Logger.java: provide class and method information
4596 * java/util/logging/LogManager.java: create handlers
4597 * java/util/logging/SimpleFormatter.java: print souceClassName and
4598 sourceMethodName
4599
4600 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4601
4602 * win32.cc: fixed tab, indentation and whitespace
4603 inconsistencies
4604 removed jvm.h include
4605 added includes java/lang/UnsupportedOperationException.h,
4606 java/io/IOException.h, java/net/SocketException.h
4607 (WSAEventWrapper): class implementation
4608 (_Jv_WinStrError): implemented both overloads
4609 (_Jv_ThrowIOException): implemented both overloads
4610 (_Jv_ThrowSocketException): implemented both overloads
4611 (_Jv_select): implemented
4612 * include/win32.h: fixed tab, indentation and whitespace
4613 inconsistencies
4614 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
4615 added jvm.h include
4616 (WSAEventWrapper): added class declaration
4617 (_Jv_WinStrError): added both overload declarations
4618 (_Jv_ThrowIOException): added both overload declarations
4619 (_Jv_ThrowSocketException): added both overload declarations
4620 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4621 (_Jv_select): added declaration
4622 (_Jv_socket): removed
4623 (_Jv_connect): removed
4624 (_Jv_close): removed
4625 (_Jv_bind): removed
4626 (_Jv_accept): removed
4627 (_Jv_listen): removed
4628 (_Jv_write): removed
4629 (_Jv_read): removed
4630 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4631 whitespace inconsistencies
4632 replaced <windows.h> #include with <platform.h>
4633 removed jvm.h include
4634 (testCanUseGetHandleInfo): new function which tests whether Win32
4635 GetHandleInformation() call can be used with console buffer handles
4636 (only supported on >=WinNT 5.0)
4637 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4638 (valid): rewrote implementation using GetHandleInformation()
4639 (sync): changed exception throwing to use error string and exception
4640 helper methods declared in include/win32.h
4641 (open): likewise
4642 (write): likewise
4643 (setLength): likewise
4644 (close): likewise
4645 (seek): likewise
4646 (getFilePointer): likewise
4647 (read): likewise
4648 * java/io/natFileWin32.cc: fixed tab, indentation and
4649 whitespace inconsistencies
4650 replaced <windows.h> #include with <platform.h>
4651 removed jvm.h include
4652 (_access): use JV_TEMP_UTF_STRING
4653 (_stat): likewise
4654 (performMkDir): use JV_TEMP_UTF_STRING
4655 (performRenameTo): likewise
4656 (performDelete): likewise
4657 (performCreate): likewise
4658 (performSetReadOnly): likewise
4659 (performSetLastModified): likewise
4660 * java/lang/natWin32Process.cc: fixed tab, indentation and
4661 whitespace inconsistencies
4662 replaced <windows.h> #include with <platform.h>
4663 removed includes gcj/cni.h, jvm.h
4664 (new_string): removed
4665 (startProcess): use JV_TEMP_UTF_STRING,
4666 changed exception throwing to use error string and exception
4667 helper methods declared in include/win32.h
4668 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4669 whitespace inconsistencies
4670 replaced <windows.h> #include with <platform.h>
4671 removed jvm.h include
4672 removed DISABLE_JAVA_NET conditional code
4673 removed POSIX conditional code not relevant to Win32
4674 (aton): use JV_TEMP_UTF_STRING
4675 removed POSIX conditional code not relevant to Win32
4676 (lookup): likewise
4677 (getLocalHostName): likewise
4678 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4679 whitespace inconsistencies
4680 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4681 removed DISABLE_JAVA_NET conditional code
4682 removed POSIX conditional code not relevant to Win32
4683 (winsock2GetRealNetworkInterfaces): new function to compute network
4684 interfaces via Winsock2 API
4685 (determineGetRealNetworkInterfacesFN): new function for returning
4686 a function pointer to the function used to compute network interfaces.
4687 (getRealNetworkInterfaces): implemented
4688 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4689 whitespace inconsistencies
4690 removed gcj/cni.h include
4691 removed DISABLE_JAVA_NET conditional code
4692 removed POSIX conditional code not relevant to Win32
4693 changed net POSIXisms to Win32isms
4694 replaced _Jv socket-related calls with their real Win32 equivalents
4695 changed exception throwing to use error string and exception
4696 helper methods declared in include/win32.h
4697 (peekData): implemented timeout support
4698 (receive): likewise
4699 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4700 whitespace inconsistencies
4701 removed gcj/cni.h and gcj/javaprims.h includes
4702 removed DISABLE_JAVA_NET conditional code
4703 removed POSIX conditional code not relevant to Win32
4704 changed net POSIXisms to Win32isms
4705 replaced _Jv socket-related calls with their real Win32
4706 equivalents
4707 changed exception throwing to use error string and exception
4708 helper methods declared in include/win32.h
4709 (throwConnectException): helper function for connect()
4710 (connect): implemented timeout support
4711 (accept): likewise
4712 (doRead): new helper function common to both read() method overloads,
4713 includes timeout support
4714 (read): implemented both overloads in terms of doRead()
4715 (available): implemented using ioctlsocket()
4716
4717 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4718
4719 * java/net/natInetAddressWin32.cc,
4720 java/net/natNetworkInterfaceWin32.cc,
4721 java/net/natPlainDatagramSocketImplWin32.cc,
4722 java/net/natPlainSocketImplWin32.cc:
4723 Readded code enclosed in DISABLE_JAVA_NET defines
4724 in preparation for MinGW cleanup / networking
4725 patch
4726
4727 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4728
4729 * Makefile.am: Fixed problems with parallel makes.
4730 (all_java_class_files): Readded definition.
4731 (all_java_class_files): New target which depends on
4732 libgcj-@gcc_version@.jar
4733 * Makefile.in: Rebuilt
4734
4735 2003-08-28 Tom Tromey <tromey@redhat.com>
4736
4737 * Makefile.in: Rebuilt.
4738 * Makefile.am (ordinary_java_source_files): Added new files.
4739 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4740 friend.
4741 * java/net/URLClassLoader.java (findClass): Don't use
4742 findURLResource. Use loader's getClass method.
4743 (URLLoader.getClass): New method.
4744 (addURL): Handle `gcjlib' URLs.
4745 (SoURLLoader): New class.
4746 (SoResource): Likewise.
4747 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4748 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4749 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4750 (_Jv_RegisterCoreHook): Declare.
4751 (_Jv_FindCore): Declare.
4752 * gnu/gcj/runtime/SharedLibHelper.java: New file.
4753 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4754 typedef.
4755 (core_hook): New function.
4756 (struct SharedLibDummy) [saved_core]: New field.
4757 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
4758 (register_hook): Set protection domain and class loader on new
4759 class.
4760 (finalize): Free core chain.
4761 * gnu/gcj/Core.java (Core): New constructor.
4762 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4763 SharedLibHelper.
4764 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4765 (_Jv_create_core): New function.
4766 (create): Use it.
4767 (default_register_resource): New function.
4768 (_Jv_RegisterCoreHook): New global.
4769 (_Jv_RegisterResource): Use it.
4770 (core_chain_struct): Removed.
4771 (_Jv_FindCore): New function.
4772 (_Jv_FreeCoreChain): New function.
4773
4774 2003-08-29 Michael Koch <konqueror@gmx.de>
4775
4776 * java/net/natInetAddressWin32.cc,
4777 java/net/natNetworkInterfaceWin32.cc,
4778 java/net/natPlainDatagramSocketImplWin32.cc,
4779 java/net/natPlainSocketImplWin32.cc:
4780 Removed code enclosed in DISABLE_JAVA_NET defines.
4781
4782 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
4783
4784 * Makefile.am: (write_entries_to_file) New parameterized
4785 function for writing entries to a file one line at a time.
4786 (all_java_class_files): Removed definition.
4787 (.java.class) Removed.target.
4788 (libgcj-@gcc_version@.jar): Changed dependency to
4789 $(all_java_source_files); added compilation step which compiles
4790 all changed source files in one pass.
4791 (libgcj.la) Refactored to use write_entries_to_file.
4792 (lib-gnu-awt-xlib.la) Likewise.
4793 (install-data-local) Likewise.
4794 (write-entries-to-file-check) New target which tests write_entries_to_file.
4795 (all-recursive): Changed dependency from $(all_java_class_files)
4796 to libgcj-@gcc_version@.jar
4797 * Makefile.in: Rebuilt.
4798
4799 2003-08-26 Tom Tromey <tromey@redhat.com>
4800
4801 * java/lang/StrictMath.java: Typo fix.
4802 * java/lang/Math.java: Typo fix.
4803
4804 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
4805
4806 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4807 of the removed Thread.
4808
4809 2003-08-26 Mark Wielaard <mark@klomp.org>
4810
4811 Reported by David Holmes <dholmes@dltech.com.au>.
4812 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4813 Collections.synchronizedMap.
4814 * java/lang/ThreadLocal.java (valueMap): Likewise.
4815
4816 2003-08-26 Mark Wielaard <mark@klomp.org>
4817
4818 * java/security/acl/Acl.java: Fix broken p tag.
4819 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4820 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4821 * javax/swing/plaf/TreeUI.java: Likewise.
4822 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4823 * java/util/Properties.java: Use the word umlaut, not &auml; in api
4824 documentation.
4825 * java/util/PropertyResourceBundle.java: Likewise and add closing code
4826 tag.
4827
4828 2003-08-26 Tom Tromey <tromey@redhat.com>
4829
4830 * Makefile.in: Rebuilt.
4831 * Makefile.am: Removed all GNU-make-specific FIXME comments.
4832
4833 * java/lang/ref/Reference.java (get): Indentation fix.
4834 (clear): Comment fix.
4835 (enqueue): Likewise.
4836 (lock): Likewise.
4837 (referent): Likewise.
4838
4839 2003-08-26 Tom Tromey <tromey@redhat.com>
4840
4841 PR java/12058:
4842 * java/lang/reflect/natArray.cc (set): Allow null as argument.
4843
4844 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4845 (ProxyData.getPackage): New method.
4846 (ProxyData.getProxyData): Use package name, not Package.
4847 (ClassFactory.ClassFactory): Updated.
4848
4849 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
4850 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4851 * Makefile.in: re-generated.
4852 * gnu/awt/j2d/IntegerGraphicsState.java
4853 (ScreenCoupledImage): new interface.
4854 (drawImage): detect ScreenCoupledImage instances.
4855 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
4856 * gnu/awt/xlib/XEventLoop.java
4857 (createEvent): re-formatted, and rearranged to avoid null pointer.
4858 * gnu/awt/xlib/XGraphics.java
4859 (drawImage): added XOffScreenImage handling.
4860 * gnu/awt/xlib/XOffScreenImage.java: new file.
4861 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
4862 * gnu/gcj/xlib/GC.java (copyArea): new native method.
4863 * gnu/gcj/xlib/XAnyEvent.java
4864 (TYPE_KEY_PRESS): new constant.
4865 (TYPE_KEY_RELEASE): new constant.
4866 (TYPE_MOTION_NOTIFY): new constant.
4867 (TYPE_ENTER_NOTIFY): new constant.
4868 (TYPE_LEAVE_NOTIFY): new constant.
4869 (TYPE_FOCUS_IN): new constant.
4870 (TYPE_FOCUS_OUT): new constant.
4871 (TYPE_KEYMAP_NOTIFY): new constant.
4872 (TYPE_GRAPHICS_EXPOSE): new constant.
4873 (TYPE_NO_EXPOSE): new constant.
4874 (TYPE_VISIBILITY_NOTIFY): new constant.
4875 (TYPE_CREATE_NOTIFY): new constant.
4876 (TYPE_DESTROY_NOTIFY): new constant.
4877 (TYPE_MAP_REQUEST): new constant.
4878 (TYPE_CONFIGURE_REQUEST): new constant.
4879 (TYPE_GRAVITY_NOTIFY): new constant.
4880 (TYPE_RESIZE_REQUEST): new constant.
4881 (TYPE_CIRCULATE_NOTIFY): new constant.
4882 (TYPE_CIRCULATE_REQUEST): new constant.
4883 (TYPE_PROPERTY_NOTIFY): new constant.
4884 (TYPE_SELECTION_CLEAR): new constant.
4885 (TYPE_SELECTION_REQUEST): new constant.
4886 (TYPE_SELECTION_NOTIFY): new constant.
4887 (TYPE_COLORMAP_NOTIFY): new constant.
4888 (TYPE_MAPPING_NOTIFY): new constant.
4889 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
4890 * gnu/gcj/xlib/natGC.cc (copyArea): new method
4891 * java/awt/Component.java (createImage): changed to use peer method.
4892
4893 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4894
4895 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
4896 name, not XLFD, to native drawString.
4897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4898 Replace XLFD-based implementation with Pango-based
4899 implementation.
4900
4901 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4902
4903 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
4904 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
4905
4906 2003-08-21 David Daney <ddaney@avtrex.com>
4907
4908 Fix for PR libgcj/12013:
4909 * java/lang/ref/natReference.cc (finalize_referred_to_object):
4910 Check `cleared' field.
4911 * java/lang/ref/Reference.java (copy): Updated comments.
4912 (cleared): New field.
4913 (clear): Rewrote.
4914
4915 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
4916 Thomas Fitzsimmons <fitzsim@redhat.com>
4917
4918 * Makefile.am (gtk_awt_peer_sources): Add
4919 gnu/java/awt/peer/GLightweightPeer.java. Remove
4920 gnu/java/awt/GLightweightPeer.java.
4921 * gnu/java/awt/GLightweightPeer.java: Remove file.
4922 * gnu/java/awt/peer/GLightweightPeer.java: New file.
4923 * java/awt/Component.java (getToolkit): Add comment about
4924 lightweight components.
4925 * java/awt/Toolkit.java (createComponent): Return
4926 gnu.java.awt.peer.GLightweightPeer.
4927
4928 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
4929
4930 * configure.in: Fix detection of gcj when building with newlib.
4931 * configure: Regenerated.
4932
4933 2003-08-20 Graydon Hoare <graydon@redhat.com>
4934
4935 * jni.cc: Replace "cheating" pointer-casting code with
4936 extract_from_jvalue<> template.
4937
4938 2003-08-20 Andrew Haley <aph@redhat.com>
4939
4940 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
4941 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
4942 (classAt): Break out class lookup function into getClass().
4943 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
4944 handlers when using -fno-assume-compiled.
4945
4946 2003-08-20 Tom Tromey <tromey@redhat.com>
4947
4948 Fix for PR libgcj/9125:
4949 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
4950 object outside of loop. Respect lib_control setting.
4951 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
4952 field.
4953 (lib_control): New field.
4954 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
4955 (VMClassLoader): Initialize new field.
4956
4957 * java/lang/ref/natReference.cc (finalize_referred_to_object):
4958 Set `list->reference' to DELETED_REFERENCE when removing dead
4959 object.
4960 (find_slot): Added an assert.
4961 (DELETED_REFERENCE): New define.
4962 (add_to_hash): Check for DELETED_REFERENCE.
4963 (remove_from_hash): Just return if found slot isn't ours.
4964
4965 2003-08-19 Andrew Haley <aph@redhat.com>
4966
4967 * prims.cc (unblock_signal): New function.
4968 (catch_segv): Use it.
4969 (catch_fpe): Likewise.
4970
4971 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
4972
4973 PR libgcj/11575
4974 * java/io/natFileDescriptorWin32.cc (open): Set create
4975 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
4976 Honor EXCL when openning with WRITE flag.
4977
4978 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
4979
4980 * include/jvm.h: New class _Jv_TempUTFString (helper class for
4981 getting a temporary C string from a jstring)
4982 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
4983 but uses a stack buffer if the string length is less than 256
4984 bytes.
4985
4986 2003-08-18 Tom Tromey <tromey@redhat.com>
4987
4988 PR libgcj/11951:
4989 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
4990 void. Throw VirtualMachineError if ffi fails. Initialize return
4991 value. Added is_jni_call argument; only wrap exception if not a
4992 JNI call. Use descriptive message if operation not supported.
4993 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
4994 array class.
4995 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
4996 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
4997 _Jv_CallAnyMethodA.
4998 (_Jv_JNI_CallAnyMethodA): Likewise.
4999 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5000 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5001
5002 2003-08-13 Tom Tromey <tromey@redhat.com>
5003
5004 * gij.cc (help): Document -? and -X.
5005
5006 2003-08-12 Graydon Hoare <graydon@redhat.com>
5007
5008 * java/awt/Font.java:
5009 Stub out more recent API.
5010
5011 2003-08-12 Graydon Hoare <graydon@redhat.com>
5012
5013 * java/awt/Color.java (getAlpha):
5014 Prevent sign-extended alpha values.
5015
5016 2003-08-12 Tom Tromey <tromey@redhat.com>
5017
5018 * gij.cc (main): Handle -? and -X.
5019
5020 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
5021
5022 * java/awt/Container.java
5023 (getPreferredSize): Call preferredSize.
5024 (preferredSize): Moved body of getPreferredSize here.
5025 (getMinimumSize): Call minimumSize.
5026 (minimumSize): Moved body of getMinimumSize here.
5027
5028 2003-08-11 Tom Tromey <tromey@redhat.com>
5029
5030 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5031 (postEvent): Removed FIXME comment.
5032 (isDispatchThread): Documented.
5033 (getCurrentEvent): New method.
5034 (dispatchEvent): Set currentEvent and lastWhen.
5035 (getMostRecentEventTime): Rewrote.
5036 (invokeLater): Documented.
5037
5038 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
5039
5040 * java/io/PrintStream.java (print): Always flush if auto_flush is
5041 set. Don't check for newline characters.
5042 (write (int)): Implement without using a temporary array.
5043 (write (byte[], int, int): Always flush if auto_flush is set. Don't
5044 check for newline characters.
5045 Fixes PR libgcj/11778.
5046
5047 2003-08-08 Andrew Haley <aph@redhat.com>
5048
5049 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5050 * Makefile.in: Rebuild.
5051 * java/lang/natRuntime.cc (insertSystemProperties): Add
5052 "sun.boot.class.path".
5053
5054 2003-08-07 Andrew Haley <aph@redhat.com>
5055
5056 * java/io/PrintStream.java: Don't crash on a null string.
5057
5058 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5059
5060 * configure.in: Don't initialize GCINCS to boehm-gc/include.
5061 * configure: Regenerate.
5062
5063 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
5064
5065 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5066 SocketImpl. Update Javadoc.
5067 (bind): Call close() not impl.close() in event of exception.
5068 (connect): Likewise.
5069 Remove superfluous null checks throughout.
5070 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5071 Don't create an extra socket. Fix for PR libgcj/10868.
5072 (bind): Clean up exception handling.
5073 Remove superfluous null checks throughout.
5074
5075 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
5076 Bryce McKinlay <bryce@mckinlay.net.nz>
5077
5078 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5079 ready-to-write argument to _Jv_Select. Reset the socket back to
5080 non-blocking state after connecting.
5081 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5082 Throw SocketTimeoutException not InterruptedIOException.
5083 (read): Throw SocketTimeoutException not InterruptedIOException.
5084
5085 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
5086
5087 * java/lang/Thread.java (Thread): Check for null "name" from
5088 start of private constructor, not after calling the private
5089 constructor.
5090
5091 2003-08-06 Tom Tromey <tromey@redhat.com>
5092
5093 * java/io/FilePermission.java (equals): Use correct index for
5094 last character of path.
5095
5096 2003-08-06 Alan Modra <amodra@bigpond.net.au>
5097
5098 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5099 * configure.in: Compare with_cross_host to build_alias, not build.
5100 * aclocal.m4: Regenerate.
5101 * configure: Regenerate.
5102
5103 2003-08-05 Tom Tromey <tromey@redhat.com>
5104
5105 Fix for PR libgcj/11779:
5106 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5107 class.
5108
5109 * java/lang/reflect/Method.java: Updated status comment.
5110 Imported javadoc from Classpath and re-ordered methods.
5111 * java/lang/reflect/Constructor.java: Reindented. Updated
5112 status comment. Imported javadoc from Classpath and re-ordered
5113 methods.
5114
5115 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
5116
5117 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5118 Add keyLocation parameter.
5119 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5120 string.
5121 (paramString): Generate keyChar string according to keyChar, not
5122 keyCode.
5123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5124 (state_to_awt_mods): Handle ALT key.
5125 (keyevent_state_to_awt_mods): New function.
5126 (get_first_keyval_from_keymap): New function.
5127 (keysym_to_awt_keycode): Get virtual key code from keymap.
5128 Handle missing VK_ values.
5129 (keysym_to_awt_keylocation): New function.
5130 (keyevent_to_awt_keychar): New function.
5131 (generates_key_typed_event): Handle non-text-component case.
5132 Handle GDK_KP_Delete and GDK_KP_Enter.
5133 (awt_event_handler): Call new functions to get postKeyEvent
5134 parameters.
5135 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5136 Update postKeyEvent method signature.
5137 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
5138 VK_ defines.
5139
5140 2003-08-05 Matthias Klose <doko@debian.org>
5141
5142 * aclocal.m4: check for libart-config binary
5143 under the name libart2-config as well.
5144 * configure: regenerated.
5145
5146 2003-08-04 David P Grove <groved@us.ibm.com>
5147
5148 * java/text/DecimalFormat.java (format): avoid ArithmeticException
5149 when groupingSize is 0.
5150 (parse): Likewise.
5151
5152 2003-08-04 Matthias Klose <doko@debian.org>
5153
5154 * libart.m4: check for libart-config binary
5155 under the name libart2-config as well.
5156 * configure, aclocal.m4: regenerated.
5157
5158 2003-08-02 Michael Koch <konqueror@gmx.de>
5159
5160 * java/nio/ByteBufferImpl.java
5161 (getChar): Check remaining bytes, fixed comment about endianess.
5162 (putChar): Likewise.
5163 (getShort): Likewise.
5164 (putShort): Likewise.
5165 (getInt): Check remaining bytes, fixed conversion, fixed comment about
5166 endianess.
5167 (putInt): Likewise.
5168 (getLong): Likewise.
5169 (putLong): Likewise.
5170 (getFloat): Likewise.
5171 (putFloat): Likewise.
5172 (getDouble): Likewise.
5173 (putDouble): Likewise.
5174 * java/nio/DirectByteBufferImpl.java
5175 (getChar): Wrapped code, fixed comment about endianess.
5176 (putchar): Likewise.
5177 (getShort): Likewise.
5178 (putShort): Likewise.
5179 (getInt): Fixed conversion, fixed comment about endianess.
5180 (putInt): Likewise.
5181 (getLong): Likewise.
5182 (putLong): Likewise.
5183 (getFloat): Likewise.
5184 (putFloat): Likewise.
5185 (getDouble): Likewise.
5186 (putDouble): Likewise.
5187 * java/nio/MappedByteBufferImpl.java
5188 (compact): Implemented.
5189 (getChar): Implemented.
5190 (putChar): Implemented.
5191 (getDouble): Implemented.
5192 (putdouble): Implemented.
5193 (getFloat): Implemented.
5194 (putFloat): Implemented.
5195 (getInt): Implemented.
5196 (putInt): Implemented.
5197 (getLong): Implemented.
5198 (putLong): Implemented.
5199 (getShort): Implemented.
5200 (putShort): Implemented.
5201 * java/nio/channels/FileChannelImpl.java
5202 (read): Set position where to access file.
5203 (write): Likewise.
5204 (transferTo): Flip buffer after read and before write.
5205 (transferFrom): Likewise.
5206
5207 2003-08-02 Michael Koch <konqueror@gmx.de>
5208
5209 * gnu/java/lang/ArrayHelper.java
5210 (equalsArray): Reformated, added method documentation.
5211
5212 2003-08-02 Michael Koch <konqueror@gmx.de>
5213
5214 * java/net/URL.java
5215 (URL): Added paragraph about the
5216 gnu.java.net.nocache_protocol_handlers property.
5217 (ph_cache): Renamed from handlers to match classpath's implementation.
5218 Reordered it with factory and serialVersionUID member variables.
5219 (cache_handlers): New member variable.
5220 (static): New static initializer to initialize cache_handlers from
5221 gnu.java.net.nocache_protocol_handlers property.
5222 (URL): Use ph_cache instead of handlers, reformatted some code to
5223 match classpath's implementation.
5224
5225 2003-08-01 Tom Tromey <tromey@redhat.com>
5226
5227 Fix for PR libgcj/11241:
5228 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5229 initialCapacity is 0, set it to 1.
5230
5231 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
5232
5233 * java/net/SocketImpl.java (toString): Display the remote address
5234 of an unconnected server socket as "0.0.0.0/0.0.0.0".
5235
5236 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
5237
5238 * javax/swing/border/BevelBorder.java,
5239 javax/swing/border/EtchedBorder.java,
5240 javax/swing/border/LineBorder.java,
5241 javax/swing/border/MatteBorder.java,
5242 javax/swing/border/SoftBevelBorder.java,
5243 javax/swing/plaf/BorderUIResource.java,
5244 javax/swing/plaf/ComponentUI.java,
5245 javax/swing/plaf/TreeUI.java,
5246 javax/swing/plaf/basic/BasicBorders.java,
5247 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5248 javax/swing/plaf/basic/BasicTreeUI.java:
5249 Prepend "doc-files" to all paths to embedded Javadoc images, so
5250 that the generated documentation contains the correct URL.
5251
5252 2003-08-01 Tom Tromey <tromey@redhat.com>
5253
5254 * configure: Rebuilt.
5255 * configure.in (tool_include_dir): Redefine to match gcc.
5256
5257 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
5258 Mark Wielaard <mark@klomp.org>
5259
5260 * java/math/BigDecimal (divide): Correctly handle
5261 ROUND_HALF_EVEN when amount is greater than 0.5.
5262 Simplify and optimize code.
5263
5264 2003-07-31 Tom Tromey <tromey@redhat.com>
5265
5266 More for PR libgcj/11737:
5267 * java/io/ObjectInputStream.java (processResolution): Use
5268 getMethod.
5269 (getMethod): Make method accessible.
5270 (getField): Make field accessible.
5271 (setBooleanField): Don't call setAccessible here.
5272 (setByteField, setCharField, setDoubleField, setFloatField,
5273 setIntField, setLongField, setShortField, setObjectField):
5274 Likewise.
5275 (callReadMethod): Don't check whether method is null. Catch
5276 NoSuchMethodException.
5277 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5278 cause on thrown exceptions.
5279
5280 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
5281
5282 Fix for PR libgcj/11728:
5283 * java/util/HashMap.java (readObject): Set size.
5284
5285 2003-07-31 Tom Tromey <tromey@redhat.com>
5286
5287 Fix for PR libgcj/11737:
5288 * java/io/ObjectOutputStream.java (getMethod): Make method
5289 accessible.
5290 (getField): Likewise.
5291 (writeObject): Use getMethod.
5292 Import PrivilegedAction and AccessController.
5293 (callWriteMethod): Don't check whether m is null. Catch
5294 NoSuchMethodException.
5295
5296 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5297 (containsAngle): Likewise.
5298 (getStartPoint): Rewrote.
5299 (getEndPoint): Likewise.
5300 (setAngleStart(Point2D)): Likewise.
5301
5302 2003-07-31 Roger Sayle <roger@eyesopen.com>
5303 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5304
5305 * configure.in: Add new THREADCXXFLAGS variable.
5306 Handle POSIX threads on alpha*-dec-osf*.
5307 * configure: Regenerate.
5308 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5309 * Makefile.in: Regenerate.
5310
5311 2003-07-08 Andrew Haley <aph@redhat.com>
5312
5313 * include/i386-signal.h (RESTORE): New.
5314 (INIT_SEGV): Set restorer.
5315 (INIT_FPE): Likewise.
5316
5317 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
5318
5319 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5320 than getXLFD.
5321 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5322 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5323 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5324 (gtkSetFont): Scale size parameter by PANGO_SCALE.
5325 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5326 Likewise.
5327 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5328 Likewise.
5329
5330 2003-07-29 Tom Tromey <tromey@redhat.com>
5331
5332 * defineclass.cc (handleField): Throw exception if field name is
5333 duplicated.
5334 (handleMethod): Throw exception for duplicate method.
5335
5336 2003-07-29 Tom Tromey <tromey@redhat.com>
5337
5338 * gnu/gcj/convert/natIconv.cc (write): Handle case where
5339 output buffer is too small.
5340
5341 2003-07-28 Tom Tromey <tromey@redhat.com>
5342
5343 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5344 New method.
5345 Include gnu/gcj/runtime/StringBuffer.h.
5346 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5347 native method.
5348 (String(gnu.gcj.runtime.StringBuffer)): Use it.
5349
5350 2003-07-27 Anthony Green <green@redhat.com>
5351
5352 * configure.in: Fix newlib check.
5353 * configure: Rebuilt.
5354
5355 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5356
5357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5358 Create vbox and layout for GtkPlug.
5359
5360 2003-07-27 Michael Koch <konqueror@gmx.de>
5361
5362 * java/awt/Window.java
5363 (Window): Removed now unused constructor. It became oboslete with the
5364 new embedded window patch.
5365
5366 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
5367 Michael Koch <konqueror@gmx.de>
5368
5369 * gnu/java/awt/EmbeddedWindow.java
5370 (EmbeddedWindow): Extends Frame instead of Window.
5371 (window_id): New member variable to store the native window handle.
5372 (create): Removed.
5373 (EmbeddedWindow): New constructor.
5374 (addNotify): New method.
5375 (getHandler): Likewise.
5376 (setWindowPeer): New native method.
5377 * gnu/java/awt/EmbeddedWindowSupport.java
5378 (EmbeddedWindowSupport): Fixed documentation.
5379 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5380 WindowPeer, give it an EmbeddedWindow instance instead of the raw
5381 window data.
5382 * gnu/java/awt/natEmbeddedWindow.cc
5383 (create): Removed.
5384 (setWindowPeer): New method.
5385 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5386 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5387 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5388 New files
5389 * gnu/java/awt/peer/gtk/GtkToolkit.java
5390 (GtkToolkit): Implements EmbeddedWindowSupport.
5391 (createEmbeddedWindow): New method.
5392 * java/awt/Window.java
5393 (Window): Removed.
5394 * Makefile.am
5395 (java_source_files): Added EmbeddedWindowPeer.java.
5396 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5397 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5398 * Makefile.in: Regenerated.
5399
5400 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
5401
5402 * java/lang/Win32Process.java (ConcreteProcess): Surround
5403 a command line element with quotes if it contains an
5404 embedded space or tab.
5405 * java/lang/natWin32Process.cc (startProcess): Do not
5406 surround command line elements with quotes here.
5407
5408 * configure.host: Use -fcheck-references and
5409 -fuse-divide-subroutine for MinGW until we fix
5410 win32_exception_handler( ) in win32.cc w.r.t. Win32
5411 Structured Exception Handling (SEH).
5412
5413 * win32.cc (_Jv_platform_initProperties): Use generic names
5414 like "x86" for the "os.arch" property to be consistent with
5415 what Sun's JDK produces. Use the wProcessorArchitecture
5416 member of the Win32 SYSTEM_INFO structure, filled in a call
5417 to GetSystemInfo( ), instead of dwProcessorType.
5418
5419 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
5420 Ranjit Mathew <rmathew@hotmail.com>
5421
5422 * Makefile.am: Use cross-compiling gcjh from the path for
5423 a crossed-native build.
5424 * Makefile.in: Rebuilt.
5425 * configure.in: Include libltdl in non-newlib builds.
5426 Moved determination of gcj used to build libraries to
5427 its own section. Fixed cross-compilation issues for
5428 non-newlib builds.
5429 * configure: Rebuilt.
5430
5431 2003-07-25 Tom Tromey <tromey@redhat.com>
5432
5433 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5434 (write): Likewise.
5435 (read): Likewise.
5436 (read): Likewise.
5437
5438 2003-07-25 Mark Wielaard <mark@klomp.org>
5439
5440 * java/lang/natRuntime.cc (_load): Add library name to
5441 UnsatisfiedLinkError when thrown.
5442
5443 2003-07-25 Mark Wielaard <mark@klomp.org>
5444
5445 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5446 added.
5447 * Makefile.in: Likewise.
5448
5449 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
5450
5451 * java/awt/Component.java
5452 (getPreferredSize): Call preferredSize.
5453 (preferredSize): Moved body of getPreferredSize here.
5454 (getMinimumSize): Call minimumSize.
5455 (minimumSize): Moved body of getMinimumSize here.
5456 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5457 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5458 pass -1
5459 * java/awt/Container.java
5460 (validate): Don't validate if there is no peer.
5461 (update): Clear background before calling paint.
5462 * java/awt/GridBagLayout.java
5463 Completed the implementation and fixed several bugs.
5464 * java/awt/MediaTracker.java
5465 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5466 combine flags.
5467 * java/awt/Window.java
5468 (Window): Don't call setVisible(false). Windows are invisible by
5469 default and calling virtual methods from constructor causes
5470 compatibility problems (e.g. subclasses may assume that the peer
5471 already exists).
5472
5473 2003-07-25 Michael Koch <konqueror@gmx.de>
5474
5475 * java/awt/GridBagLayout.java:
5476 Totally reworked and partly implemented.
5477 * java/awt/GridBagLayoutInfo.java:
5478 New file.
5479
5480 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5481
5482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5483 Don't pack label in an event box.
5484
5485 2003-07-24 Tom Tromey <tromey@redhat.com>
5486
5487 For PR libgcj/7482:
5488 * verify.cc (ref_intersection): New class.
5489 (type_val): Removed unresolved_reference_type,
5490 uninitialized_unresolved_reference_type.
5491 (is_assignable_from_slow): Rewrote.
5492 (type::data): Removed.
5493 (type::klass): New field.
5494 (type::type): Added verifier argument.
5495 (type::resolve): Removed.
5496 (type::set_uninitialized): Updated for change to type_val.
5497 (type::set_initialized): Likewise.
5498 (type::isinitialized): Likewise.
5499 (type::print): Likewise.
5500 (construct_primitive_array_type): Likewise.
5501 (type::compatible): Updated for change to type_val and to use
5502 ref_intersection.
5503 (type::isarray): Updated to use ref_intersection.
5504 (type::isinterface): Likewise.
5505 (type::element_type): Likewise.
5506 (type::to_array): Likewise.
5507 (type::verify_dimensions): Rewrote.
5508 (type::merge): Likewise.
5509 (check_class_constant): Updated for type constructor change.
5510 (check_constant): Likewise.
5511 (check_field_constant): Likewise.
5512 (get_one_type): Likewise.
5513 (initialize_stack): Likewise.
5514 (verify_instructions_0): Likewise.
5515 (verify_instructions_0) [op_invokeinterface]: Removed special
5516 case.
5517 (isect_list): New field.
5518 (_Jv_BytecodeVerifier): Initialize it.
5519 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
5520
5521 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
5522
5523 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5524 unless field size is 2.
5525
5526 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5527
5528 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5529 (connectHooks): New method.
5530 (handleEvent): Remove.
5531 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5532 (createHooks): Remove declaration.
5533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5534 (generates_key_typed_event): Change to handle only certain
5535 keyvals.
5536 (awt_event_handler): Add special handling for GtkTextView.
5537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5538 (textcomponent_commit_cb): New function.
5539 (textcomponent_changed_cb): Likewise.
5540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5541 (connectHooks): Remove.
5542
5543 2003-07-23 Tom Tromey <tromey@redhat.com>
5544
5545 * java/lang/natSystem.cc (arraycopy): Check for overflow.
5546
5547 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5548
5549 2003-07-22 Tom Tromey <tromey@redhat.com>
5550
5551 * boehm.cc (_Jv_BuildGCDescr): Wrote.
5552 Include limits.h.
5553
5554 2003-07-22 Tom Tromey <tromey@redhat.com>
5555
5556 * java/awt/Window.java (getWarningString): Just return the
5557 string.
5558 (Window): Set warningString; check with security manager.
5559
5560 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
5561
5562 * gnu/awt/xlib/XGraphicsConfiguration.java
5563 (FontMetricsCache): Made static.
5564
5565 2003-07-22 Tom Tromey <tromey@redhat.com>
5566
5567 * java/net/URLEncoder.java (encode(String)): Use platform default
5568 encoding.
5569 (encode(String,String)): Convert to 2-digit upper-case hex
5570 number.
5571 (hex): New field.
5572
5573 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5574
5575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5576 (create): Remove unused method implementation.
5577 (connectHooks): Remove debug messages.
5578
5579 2003-07-20 Anthony Green <green@redhat.com>
5580
5581 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5582 CloneNotSupportedException.
5583 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5584 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5585 * gnu/gcj/xlib/GC.java (clone): Ditto.
5586 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5587 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5588
5589 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5590 handler.
5591 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5592
5593 2003-07-20 Steve Pribyl <steve@netfuel.com.>
5594
5595 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5596 String. Put dlerror() message into exception.
5597 Include UnsatisfiedLinkError.
5598 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5599 String. Now native.
5600
5601 2003-07-20 Tom Tromey <tromey@redhat.com>
5602
5603 * java/lang/Runtime.java: Comment fix.
5604 * java/lang/ClassLoader.java (isAncestorOf): New method.
5605 (getParent): Uncommented security check. Use isAncestorOf.
5606 * include/jvm.h (_Jv_CheckAccess): Declare.
5607 * java/lang/reflect/natConstructor.cc (newInstance): Perform
5608 access check.
5609 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5610 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5611 class loader to _Jv_GetArrayClass.
5612 Include ArrayIndexOutOfBoundsException.h.
5613 * java/lang/reflect/Field.java: Update comment to reflect status.
5614 (equals): Fixed indentation.
5615 * java/lang/Class.h (Class): Declare memberAccessCheck, not
5616 checkMemberAccess. Make _Jv_CheckAccess a friend.
5617 * java/lang/Class.java (memberAccessCheck): New method from
5618 Classpath.
5619 (checkMemberAccess): Removed.
5620 (getDeclaredMethod): Use memberAccessCheck.
5621 (getField): Likewise.
5622 (getMethod): Likewise.
5623 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5624 (_Jv_SearchMethodInClass): Likewise.
5625 * prims.cc (_Jv_CheckAccess): New function.
5626 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5627 (_Jv_JNI_GetAnyFieldID): Likewise.
5628 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5629 (getClassLoader): Added security check.
5630 (getConstructor): Call memberAccessCheck.
5631 (getDeclaredClasses): Likewise.
5632 (getDeclaredField): Likewise.
5633 (getDeclaredFields): Likewise.
5634 (_getConstructors): Likewise.
5635 (getDeclaredConstructor): Likewise.
5636 (getDeclaredMethods): Likewise.
5637 (getFields): Likewise.
5638 (getMethods): Likewise.
5639 (newInstance): Likewise.
5640 (_Jv_MakeVTable): Put method name in exception.
5641 * java/lang/reflect/natMethod.cc (getType): Use
5642 getClassLoaderInternal.
5643 (_Jv_GetTypesFromSignature): Likewise.
5644 (invoke): Perform access check.
5645 (_Jv_CallAnyMethodA): Removed old FIXME comments.
5646 Include ArrayIndexOutOfBoundsException.h.
5647 * java/lang/reflect/natField.cc (getType): Use
5648 getClassLoaderInternal.
5649 (_Jv_CheckFieldAccessibility): Removed.
5650 (getAddr): Use _Jv_CheckAccess; find caller.
5651 Include ArrayIndexOutOfBoundsException.h.
5652
5653 2003-07-20 Michael Koch <konqueror@gmx.de>
5654
5655 * java/net/URL.java
5656 (URL): Fixed documentation to name an argument correcty, Reformatted
5657 one method declaration.
5658 (getURLStreamHandler): Added documentation from classpath.
5659
5660 2003-07-19 Tom Tromey <tromey@redhat.com>
5661
5662 * mauve-libgcj: Don't run CollationElementIterator tests.
5663
5664 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
5665
5666 * java/net/URLClassLoader.java (addURL): Moved implementation to
5667 private addURLImpl() to avoid calling addURL from the constructor.
5668 (addURLImpl): Contains the code that was previously in addURL.
5669 (addURLs): Call addURLImpl(), not addURL().
5670
5671 2003-07-18 Graydon Hoare <graydon@redhat.com>
5672
5673 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5674 Handle missing event cases, connect to "value-changed" signal.
5675
5676 2003-07-18 Graydon Hoare <graydon@redhat.com>
5677
5678 * java/awt/geom/CubicCurve2D.java,
5679 java/awt/geom/Line2D.java,
5680 java/awt/geom/QuadCurve2D.java,
5681 java/awt/geom/Rectangle2D.java:
5682 Fix path some calculations, make path iterators follow
5683 a consistent style.
5684
5685 2003-07-18 Mark Wielaard <mark@klomp.org>
5686
5687 * java/util/logging/Handler.java (isLoggable): Check record level
5688 smaller or equal.
5689
5690 2003-07-17 Michael Koch <konqueror@gmx.de>
5691
5692 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5693 Reworked imports.
5694
5695 2003-07-14 Michael Koch <konqueror@gmx.de>
5696
5697 * gnu/java/rmi/server/UnicastServerRef.java:
5698 New version from classpath.
5699
5700 2003-07-14 Michael Koch <konqueror@gmx.de>
5701
5702 * java/awt/image/MemoryImageSource.java,
5703 java/beans/PropertyEditorManager.java,
5704 javax/naming/CompoundName.java,
5705 javax/naming/spi/NamingManager.java,
5706 javax/swing/AbstractButton.java,
5707 javax/swing/ButtonModel.java,
5708 javax/swing/SwingUtilities.java,
5709 javax/swing/UIManager.java,
5710 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5711 javax/swing/event/AncestorEvent.java,
5712 javax/swing/event/InternalFrameEvent.java,
5713 java/util/zip/ZipFile.java:
5714 New versions from classpath.
5715
5716 2003-07-13 Michael Koch <konqueror@gmx.de>
5717
5718 * gnu/java/nio/FileChannelImpl.java,
5719 gnu/java/nio/natFileChannelImpl.cc: Removed.
5720 * java/io/FileInputStream.java,
5721 java/io/FileOutputStream.java,
5722 java/io/RandomAccessFile.java,
5723 java/nio/MappedByteBufferImpl.java:
5724 Import java.nio.channels.FileChannelImpl instead of
5725 gnu.java.nio.FileChannelImpl.
5726 * java/nio/channels/FileChannelImpl.java,
5727 java/nio/channels/natFileChannelImpl.cc:
5728 New files.
5729 * Makefile.am
5730 (ordinary_java_source_files):
5731 Removed gnu/java/nio/FileChannelImpl.java and added
5732 java/nio/channels/FileChannelImpl.java.
5733 (nat source_files):
5734 Removed gnu/java/nio/natFileChannelImpl.cc and added
5735 java/nio/channels/natFileChannelImpl.cc.
5736 * Makefile.in: Regenerated.
5737
5738 2003-07-13 Michael Koch <konqueror@gmx.de>
5739
5740 * javax/swing/plaf/basic/BasicBorders.java,
5741 javax/swing/plaf/basic/BasicLabelUI.java,
5742 javax/swing/plaf/basic/BasicLookAndFeel.java,
5743 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5744 javax/swing/plaf/basic/BasicTextUI.java,
5745 javax/swing/plaf/metal/MetalLookAndFeel.java:
5746 New versions from classpath.
5747
5748 2003-07-13 Michael Koch <konqueror@gmx.de>
5749
5750 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5751 * gnu/java/awt/peer/gtk/GdkGraphics.java
5752 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5753 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5754 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5755 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5756 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5757 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5758 * gnu/java/awt/peer/gtk/GtkClipboard.java
5759 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5760 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5761 * gnu/java/awt/peer/gtk/GtkFramePeer.java
5762 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5763 * gnu/java/awt/peer/gtk/GtkImage.java
5764 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5765 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5766 * gnu/java/awt/peer/gtk/GtkListPeer.java
5767 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5768 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5769 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5770 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5771 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5772 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5773 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5774 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5775 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5776 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5777 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5778 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5779
5780 2003-07-13 Michael Koch <konqueror@gmx.de>
5781
5782 * gnu/java/locale/LocaleInformation_de.java
5783 * gnu/java/locale/LocaleInformation_en.java
5784 * gnu/java/locale/LocaleInformation_nl.java
5785
5786 2003-07-13 Michael Koch <konqueror@gmx.de>
5787
5788 * gnu/java/awt/EmbeddedWindow.java,
5789 gnu/java/awt/EmbeddedWindowSupport.java,
5790 gnu/java/awt/natEmbeddedWindow.cc:
5791 New files.
5792 * java/awt/Window.java
5793 (Window): New constructor to support embedded windows.
5794 * Makefile.am
5795 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5796 gnu/java/awt/EmbeddedWindowSupport.java.
5797 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5798 * Makefile.in: Regenerated.
5799
5800 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
5801
5802 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5803 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5804 * java/awt/im/InputContext.java: Remove a redundant
5805 partial line.
5806
5807 2003-07-09 Tom Tromey <tromey@redhat.com>
5808
5809 * Makefile.in: Rebuilt.
5810 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5811
5812 2003-07-09 Mark Wielaard <mark@klomp.org>
5813
5814 * java/io/ObjectOutputStream.java (writeObject): break after
5815 calling writeClassDescriptor().
5816
5817 2003-07-09 Mark Mitchell <mark@codesourcery.com>
5818
5819 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5820
5821 2003-07-09 Michael Koch <konqueror@gmx.de>
5822
5823 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5824 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5825 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5826 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5827 Explicitly import used classes.
5828 * java/awt/Container.java: New version from classpath.
5829
5830 2003-07-09 Michael Koch <konqueror@gmx.de>
5831
5832 * libgcj.pc.in: New file.
5833 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5834 * Makefile.in: Regenerated.
5835 * configure: Regenrated.
5836 * configure.in: Create libgcj.pc from libgcj.pc.in.
5837
5838 2003-07-08 Mark Wielaard <mark@klomp.org>
5839
5840 * gcj/cni.h: CNI now expands to Compiled Native Interface.
5841
5842 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5843 * java/lang/fdlibm.h: Likewise.
5844
5845 2003-07-07 Adam Megacz <adam@xwt.org>
5846
5847 * posix.cc: added #include<stdio.h>
5848
5849 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5850
5851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5852 formatting.
5853
5854 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5855 (setCaretPosition, setEditable): Rely entirely on native
5856 implementation.
5857 (getArgs): Remove.
5858 (postTextEvent): New method.
5859 (handleEvent): New method.
5860 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
5861 method.
5862 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
5863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5864 (keysym_to_awt_keycode): Fix range checks.
5865 (generates_key_typed_event): New function.
5866 (awt_event_handler): Post AWT_KEY_RELEASED events to event
5867 queue.
5868 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5869 (gtkInit): Store TextComponent's postTextEvent method ID.
5870 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5871 (setText): Post TEXT_VALUE_CHANGED event to event queue.
5872
5873 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5874
5875 * configure.in: Check for usleep declaration.
5876 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
5877 * configure: Regenerate.
5878 * include/config.h.in: Likewise.
5879 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
5880
5881 2003-07-01 Michael Koch <konqueror@gmx.de>
5882
5883 * gnu/gcj/convert/natIconv.cc
5884 (iconv_init): Fixed possible memory leak by releasing allocated iconv
5885 handle.
5886
5887 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5888
5889 * glib-2.0.m4: New file.
5890 * gtk-2.0.m4: New file.
5891 * glib.m4: Remove.
5892 * gtk.m4: Remove.
5893 * configure.in: Update AM_PATH_GTK macro call to
5894 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
5895 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5896 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5897 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5898 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5899 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5900 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5901 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5902 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5903 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5904 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5905 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5906 jni/gtk-peer/gthread-jni.c,
5907 jni/gtk-peer/gthread-jni.h:
5908 New versions from classpath.
5909 * aclocal.m4: Regenerate.
5910 * configure: Regenerate.
5911 * Makefile.in: Regenerate.
5912 * gcj/Makefile.in: Regenerate.
5913 * include/Makefile.in: Regenerate.
5914 * testsuite/Makefile.in: Regenerate.
5915
5916 2003-06-30 Gary Benson <gbenson@redhat.com>
5917
5918 For PR libgcj/11349:
5919 * javax/naming/spi/NamingManager.java (getURLContext): Use
5920 correct name for factory class.
5921
5922 2003-06-28 Michael Koch <konqueror@gmx.de>
5923
5924 * java/io/PrintStream.java
5925 (checkError): Call flush() instead of direct flushing of the Writer
5926 object.
5927 (print): Call print(String) instead of direct print method of the
5928 Writer Object.
5929 (println): Call println(String) instead of direct println method of the
5930 Writer Object.
5931 (write): Simplified.
5932
5933 2003-06-28 Michael Koch <konqueror@gmx.de>
5934
5935 * java/net/ServerSocket.java
5936 (setChannel): New method.
5937 * java/net/Socket.java
5938 (setChannel): New method.
5939
5940 2003-06-27 Michael Koch <konqueror@gmx.de>
5941
5942 * java/beans/beancontext/BeanContextSupport.java:
5943 New version from classpath.
5944
5945 2003-06-27 Michael Koch <konqueror@gmx.de>
5946
5947 * java/awt/Window.java,
5948 java/awt/font/GraphicAttribute.java,
5949 java/awt/font/ImageGraphicAttribute.java,
5950 java/awt/image/DataBufferByte.java,
5951 java/awt/image/DataBufferInt.java,
5952 java/awt/image/DataBufferUShort.java,
5953 java/awt/image/DirectColorModel.java,
5954 java/awt/image/PixelGrabber.java:
5955 New versions from classpath.
5956
5957 2003-06-27 Michael Koch <konqueror@gmx.de>
5958
5959 * java/security/Certificate.java
5960 (getGuarantor): Removed wrong @deprecated tag.
5961 (getPrincipal): Likewise.
5962 (getPublicKey): Likewise.
5963 (encode): Likewise.
5964 (decode): Likewise.
5965 (getFormat): Likewise.
5966 (toString): Likewise.
5967 * java/security/cert/PolicyQualifierInfo.java
5968 (PolicyQualifierInfo): Made final.
5969 * javax/security/auth/x500/X500Principal.java
5970 (serialVersionUID): New member variable.
5971
5972 2003-06-27 Michael Koch <konqueror@gmx.de>
5973
5974 * java/text/Format.java
5975 (serialVersionUID): Fixed value.
5976
5977 2003-06-27 Michael Koch <konqueror@gmx.de>
5978
5979 * java/net/Inet4Address.java
5980 (Inet4Address): Made package-private.
5981 * java/net/Inet6Address.java
5982 (Inet4Address): Made package-private.
5983
5984 2003-06-27 Michael Koch <konqueror@gmx.de>
5985
5986 * java/io/RandomAccessFile.java
5987 (readLine): Removed wrong @deprecated tag.
5988 (getChannel): Made final.
5989
5990 2003-06-27 Michael Koch <konqueror@gmx.de>
5991
5992 * gnu/java/nio/FileChannelImpl.java
5993 (write): Removed.
5994
5995 2003-06-27 Michael Koch <konqueror@gmx.de>
5996
5997 * java/nio/ByteBufferImpl.java
5998 (ByteBufferImpl): Made it a package-private class
5999 * java/nio/CharBufferImpl.java
6000 (CharBufferImpl): Made it a package-private class
6001 * java/nio/DirectByteBufferImpl.java
6002 (DirectByteBufferImpl): Made it a package-private class
6003 * java/nio/DoubleBufferImpl.java
6004 (DoubleBufferImpl): Made it a package-private class
6005 * java/nio/FloatBufferImpl.java
6006 (FloatBufferImpl): Made it a package-private class
6007 * java/nio/IntBufferImpl.java
6008 (IntBufferImpl): Made it a package-private class
6009 * java/nio/LongBufferImpl.java
6010 (LongBufferImpl): Made it a package-private class
6011 * java/nio/ShortBufferImpl.java
6012 (ShortBufferImpl): Made it a package-private class
6013 * java/nio/channels/FileChannel.java
6014 (write): Made final.
6015 * java/nio/channels/ServerSocketChannel.java
6016 (ServerSocketChanne): Made protected.
6017
6018 2003-06-27 Michael Koch <konqueror@gmx.de>
6019
6020 * javax/naming/CompositeName.java
6021 (serialVersionUID): New member variable.
6022 * javax/naming/CompoundName.java
6023 (serialVersionUID): New member variable.
6024 * javax/naming/InitialContext.java
6025 (InitialContext): Throws NamingException.
6026 (init): Likewise.
6027 * javax/naming/LinkRef.java
6028 (serialVersionUID): New member variable.
6029 (gteLinkName): Throws NamingException.
6030 * javax/naming/NamingException.java
6031 (serialVersionUID): New member variable.
6032 * javax/naming/NamingSecurityException.java
6033 (NamingSecurityException): Made abstract.
6034 (serialVersionUID): New member variable.
6035 * javax/naming/ReferralException.java
6036 (serialVersionUID): New member variable.
6037 * javax/naming/StringRefAddr.java
6038 (serialVersionUID): New member variable.
6039 * javax/naming/directory/BasicAttribute.java:
6040 Reworked imports.
6041 (serialVersionUID): New member variable.
6042 (get): Throws NamingException.
6043 (getAll): Throws NamingException.
6044 * javax/naming/directory/BasicAttributes.java:
6045 Reworked imports.
6046 (serialVersionUID): New member variable.
6047 * javax/naming/ldap/UnsolicitedNotificationEvent.java
6048 (serialVersionUID): New member variable.
6049
6050 2003-06-27 Michael Koch <konqueror@gmx.de>
6051
6052 * Makefile.am
6053 (awt_java_source_files): Added new files:
6054 javax/swing/Popup.java,
6055 javax/swing/PopupFactory.java
6056 * Makefile.in: Regenerated.
6057
6058 2003-06-27 Michael Koch <konqueror@gmx.de>
6059
6060 * javax/swing/JWindow.java,
6061 javax/swing/event/AncestorEvent.java,
6062 javax/swing/event/HyperlinkEvent.java,
6063 javax/swing/event/InternalFrameEvent.java,
6064 javax/swing/event/ListDataEvent.java,
6065 javax/swing/event/TableModelEvent.java,
6066 javax/swing/plaf/PopupMenuUI.java,
6067 javax/swing/plaf/SplitPaneUI.java,
6068 javax/swing/plaf/TabbedPaneUI.java,
6069 javax/swing/plaf/TextUI.java,
6070 javax/swing/plaf/TreeUI.java,
6071 javax/swing/plaf/basic/BasicTextUI.java,
6072 javax/swing/plaf/basic/BasicTreeUI.java:
6073 New versions from classpath.
6074 * javax/swing/Popup.java,
6075 javax/swing/PopupFactory.jav:
6076 New source files from classpath.
6077 * javax/swing/plaf/doc-files/TreeUI-1.png:
6078 New binary files from classpath.
6079
6080 2003-06-25 Michael Koch <konqueror@gmx.de>
6081
6082 * Makefile.am
6083 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6084 * Makefile.in: Regenerated.
6085
6086 2003-06-25 Michael Koch <konqueror@gmx.de>
6087
6088 * javax/swing/plaf/ActionMapUIResource.java,
6089 javax/swing/plaf/BorderUIResource.java,
6090 javax/swing/plaf/ButtonUI.java,
6091 javax/swing/plaf/ColorChooserUI.java,
6092 javax/swing/plaf/ColorUIResource.java,
6093 javax/swing/plaf/ComboBoxUI.java,
6094 javax/swing/plaf/ComponentInputMapUIResource.java,
6095 javax/swing/plaf/ComponentUI.java,
6096 javax/swing/plaf/DesktopIconUI.java,
6097 javax/swing/plaf/DesktopPaneUI.java,
6098 javax/swing/plaf/DimensionUIResource.java,
6099 javax/swing/plaf/FileChooserUI.java,
6100 javax/swing/plaf/FontUIResource.java,
6101 javax/swing/plaf/IconUIResource.java,
6102 javax/swing/plaf/InputMapUIResource.java,
6103 javax/swing/plaf/InsetsUIResource.java,
6104 javax/swing/plaf/InternalFrameUI.java,
6105 javax/swing/plaf/LabelUI.java,
6106 javax/swing/plaf/ListUI.java,
6107 javax/swing/plaf/MenuBarUI.java,
6108 javax/swing/plaf/MenuItemUI.java,
6109 javax/swing/plaf/OptionPaneUI.java,
6110 javax/swing/plaf/PanelUI.java,
6111 javax/swing/plaf/ProgressBarUI.java,
6112 javax/swing/plaf/RootPaneUI.java,
6113 javax/swing/plaf/ScrollBarUI.java,
6114 javax/swing/plaf/ScrollPaneUI.java,
6115 javax/swing/plaf/SeparatorUI.java,
6116 javax/swing/plaf/SliderUI.java,
6117 javax/swing/plaf/TableHeaderUI.java,
6118 javax/swing/plaf/TableUI.java,
6119 javax/swing/plaf/ToolBarUI.java,
6120 javax/swing/plaf/ToolTipUI.java,
6121 javax/swing/plaf/ViewportUI.java:
6122 New versions from classpath.
6123 * javax/swing/plaf/SpinnerUI.java:
6124 New file from classpath
6125
6126 2003-06-25 Michael Koch <konqueror@gmx.de>
6127
6128 * java/awt/image/ColorModel.java:
6129 New version from classpath.
6130
6131 2003-06-25 Michael Koch <konqueror@gmx.de>
6132
6133 * java/net/PlainDatagramSocketImpl.java:
6134 Partly merged with classpath, this mainly adds documentation.
6135
6136 2003-06-25 Michael Koch <konqueror@gmx.de>
6137
6138 * java/io/ObjectInputStream.java
6139 (readClassDescriptor): New method.
6140 (readObject): Moved functionality to readClassDescriptor().
6141 * java/io/ObjectOutputStream.java
6142 (writeClassDescriptor): New method.
6143 (writeObject): Moved functionality to writeClassDescriptor().
6144
6145 2003-06-25 Michael Koch <konqueror@gmx.de>
6146
6147 * javax/swing/plaf/basic/BasicListUI.java,
6148 javax/swing/plaf/basic/BasicOptionPaneUI.java:
6149 Added missing methods.
6150
6151 2003-06-25 Michael Koch <konqueror@gmx.de>
6152
6153 * javax/swing/event/AncestorEvent.java
6154 javax/swing/event/HyperlinkEvent.java
6155 javax/swing/event/InternalFrameEvent.java
6156 javax/swing/event/ListDataEvent.java
6157 javax/swing/event/TableModelEvent.java:
6158 Compile fixes.
6159
6160 2003-06-24 Michael Koch <konqueror@gmx.de>
6161
6162 * java/net/URL.java:
6163 Renamed "handler" to "ph" in the whole file to match classpaths
6164 version.
6165 * java/net/URLStreamHandler.java:
6166 (equals): Renamed "handler" to "ph".
6167
6168 2003-06-24 Michael Koch <konqueror@gmx.de>
6169
6170 * javax/swing/event/AncestorEvent.java,
6171 javax/swing/event/HyperlinkEvent.java,
6172 javax/swing/event/InternalFrameEvent.java,
6173 javax/swing/event/ListDataEvent.java,
6174 javax/swing/event/TableModelEvent.java,
6175 javax/swing/event/TreeWillExpandListener.java,
6176 javax/swing/plaf/ComponentUI.java,
6177 javax/swing/plaf/DesktopIconUI.java,
6178 javax/swing/plaf/DesktopPaneUI.java,
6179 javax/swing/plaf/DimensionUIResource.java,
6180 javax/swing/plaf/FileChooserUI.java,
6181 javax/swing/plaf/FontUIResource.java,
6182 javax/swing/plaf/IconUIResource.java,
6183 javax/swing/plaf/InputMapUIResource.java,
6184 javax/swing/plaf/InsetsUIResource.java,
6185 javax/swing/plaf/InternalFrameUI.java,
6186 javax/swing/plaf/LabelUI.java,
6187 javax/swing/plaf/ListUI.java,
6188 javax/swing/plaf/MenuBarUI.java,
6189 javax/swing/plaf/MenuItemUI.java,
6190 javax/swing/plaf/OptionPaneUI.java,
6191 javax/swing/plaf/PanelUI.java,
6192 javax/swing/plaf/ProgressBarUI.java,
6193 javax/swing/plaf/doc-files/ComponentUI-1.dia,
6194 javax/swing/plaf/doc-files/ComponentUI-1.png:
6195 New versions from classpath.
6196
6197 2003-06-24 Michael Koch <konqueror@gmx.de>
6198
6199 * java/nio/Buffer.java
6200 (cap): Made package-private.
6201 (pos): Likewise.
6202 (limit): Likewise.
6203 (mark): Likewise.
6204
6205 2003-06-24 Michael Koch <konqueror@gmx.de>
6206
6207 * java/net/SocketImpl.java
6208 (shutdownInput): Made it non-abstract method throwing an exception
6209 like in SUNs JRE.
6210 (shutdownOutput): Likewise.
6211 * java/net/SocketInputStream.java,
6212 java/net/SocketOutputStream.java:
6213 New files from classpath.
6214
6215 2003-06-24 Michael Koch <konqueror@gmx.de>
6216
6217 * java/awt/Font.java,
6218 java/awt/Window.java,
6219 java/awt/color/ColorSpace.java,
6220 java/awt/datatransfer/StringSelection.java,
6221 java/awt/image/ColorModel.java:
6222 New versions from classpath.
6223
6224 2003-06-24 Michael Koch <konqueror@gmx.de>
6225
6226 * Makefile.am
6227 (awt_java_source_files): Added new files:
6228 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6229 javax/swing/plaf/basic/BasicSplitPaneUI.java
6230 * Makefile.in: Regenerated.
6231
6232 2003-06-24 Michael Koch <konqueror@gmx.de>
6233
6234 * javax/swing/text/JTextComponent.java:
6235 New version from classpath.
6236
6237 2003-06-24 Michael Koch <konqueror@gmx.de>
6238
6239 * javax/swing/Timer.java,
6240 javax/swing/plaf/ActionMapUIResource.java,
6241 javax/swing/plaf/ButtonUI.java,
6242 javax/swing/plaf/ColorChooserUI.java,
6243 javax/swing/plaf/ColorUIResource.java,
6244 javax/swing/plaf/ComboBoxUI.java,
6245 javax/swing/plaf/ComponentInputMapUIResource.java,
6246 javax/swing/plaf/basic/BasicBorders.java:
6247 New versions from classpath.
6248 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6249 javax/swing/plaf/basic/BasicSplitPaneUI.java:
6250 New file from classpath.
6251 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6252 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6253 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6254 javax/swing/plaf/doc-files/ComponentUI-1.dia,
6255 javax/swing/plaf/doc-files/ComponentUI-1.png:
6256 New binary files from classpath.
6257
6258 2003-06-24 Michael Koch <konqueror@gmx.de>
6259
6260 * java/io/LineNumberReader.java
6261 (skip): Dont do line number accounting here as this is already done in
6262 read(), simplified.
6263
6264 2003-06-21 Michael Koch <konqueror@gmx.de>
6265
6266 * java/io/File.java
6267 (static): Load javaio lib if existing (only in classpath).
6268 (File): Revised documentation to show the correct argument name.
6269 (createTempFile): Partly merged with classpath.
6270 (compareTo): Simplified.
6271 (lastModified): Throw exception if time < 0.
6272 (deleteOnExit): Revised documentation.
6273
6274 2003-06-21 Michael Koch <konqueror@gmx.de>
6275
6276 * java/net/PlainSocketImpl.java:
6277 Reformatted.
6278 (PlainSocketImpl): Merged class documentaion with classpath.
6279 (in): Moved.
6280 (out): Moved.
6281 (PlainSocketImpl): New empty constructor.
6282 (finalize): Moved.
6283 (setOption): Merged documentation from classpath.
6284 (getOption): Likewise.
6285 (create): Likewise.
6286 (connect): Likewise.
6287 (bind): Likewise.
6288 (listen): Likewise.
6289 (accept): Likewise.
6290 (available): Likewise.
6291 (close): Likewise.
6292 (read): Likewise.
6293 (write): Likewise.
6294 (getInputStream): Made synchronozed to get sure that only one stream
6295 object can be created for this socket, merged documentation from
6296 classpath.
6297 (getOutputStream): Likewise.
6298
6299 2003-06-21 Michael Koch <konqueror@gmx.de>
6300
6301 * java/net/PlainSocketImpl.java:
6302 Reformatting.
6303 (static): New implicit method.
6304 (read): Made package private.
6305 (write): Likewise.
6306
6307 2003-06-21 Michael Koch <konqueror@gmx.de>
6308
6309 * java/util/SimpleTimeZone.java:
6310 Removed unneeded import, reformatting.
6311
6312 2003-06-21 Michael Koch <konqueror@gmx.de>
6313
6314 * java/text/DateFormat.java,
6315 java/text/SimpleDateFormat.java,
6316 java/util/Locale.java:
6317 New versions from classpath.
6318
6319 2003-06-21 Michael Koch <konqueror@gmx.de>
6320
6321 * javax/swing/SpinnerModel.java:
6322 New file from classpath.
6323 * javax/swing/border/LineBorder.java,
6324 javax/swing/border/SoftBevelBorder.java,
6325 javax/swing/plaf/BorderUIResource.java,
6326 javax/swing/plaf/basic/BasicBorders.java:
6327 New versions from classpath.
6328 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6329 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6330 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6331 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6332 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6333 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6334 New binary files from classpath.
6335
6336 2003-06-21 Michael Koch <konqueror@gmx.de>
6337
6338 * java/util/logging/LogRecord.java,
6339 java/util/logging/Logger.java,
6340 java/util/logging/SocketHandler.java,
6341 java/util/logging/SimpleFormatter.java,
6342 java/util/logging/Formatter.java,
6343 java/util/logging/ErrorManager.java,
6344 java/util/logging/Handler.java,
6345 java/util/logging/FileHandler.java,
6346 java/util/logging/LogManager.java,
6347 java/util/logging/Level.java,
6348 java/util/logging/ConsoleHandler.java,
6349 java/util/logging/StreamHandler.java,
6350 java/util/logging/LoggingPermission.java,
6351 java/util/logging/Filter.java,
6352 java/util/logging/MemoryHandler.java,
6353 java/util/logging/XMLFormatter.java:
6354 New files from classpath.
6355
6356 2003-06-20 Michael Koch <konqueror@gmx.de>
6357
6358 * java/io/ObjectStreamField.java
6359 (unshared): new member variable.
6360 (ObjectStreamField): New constructor.
6361 (isUnshared): New method.
6362
6363 2003-06-20 Michael Koch <konqueror@gmx.de>
6364
6365 * java/net/URLStreamHandler.java
6366 (hostsEqual): Rewritten.
6367
6368 2003-06-20 Michael Koch <konqueror@gmx.de>
6369
6370 * gnu/java/nio/MappedByteFileBuffer.java,
6371 gnu/java/nio/natMappedByteFileBuffer.cc:
6372 Removed
6373 * java/nio/MappedByteBufferImpl.java:
6374 New file.
6375 * gnu/java/nio/FileChannelImpl.java:
6376 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6377 * Makefile.am
6378 (ordinary_java_source_files): Removed
6379 gnu/java/nio/MappedByteFileBuffer.java and added
6380 java/nio/MappedByteBufferImpl.java.
6381 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6382 * Makefile.in: Regenerated.
6383
6384 2003-06-19 Michael Koch <konqueror@gmx.de>
6385
6386 * gnu/java/nio/DatagramChannelImpl.java
6387 (fd): Removed.
6388 (blocking): New member variable.
6389 (socket): Likewise.
6390 (DatagramChannelImpl): Throws IOException, initialize socket.
6391 (socket):Implemented.
6392 (implCloseSelectableChannel): Throws IOException, implemented.
6393 (implConfigureBlocking): Likewise.
6394 (connect): Likewise.
6395 (disconnect): Likewise.
6396 (isConnected): Likewise.
6397 (write): Likewise.
6398 (read): Likewise.
6399 (receive): Throws IOException.
6400 (send): Likewise.
6401 * gnu/java/nio/SocketChannelImpl.java
6402 (read): Implemented.
6403 (write): Implemented.
6404
6405 2003-06-19 Michael Koch <konqueror@gmx.de>
6406
6407 * javax/swing/JComponent.java,
6408 javax/swing/JInternalFrame.java,
6409 javax/swing/MenuSelectionManager.java,
6410 javax/swing/SwingUtilities.java,
6411 javax/swing/ToggleButtonModel.java:
6412 New versions from classpath.
6413
6414 2003-06-19 Michael Koch <konqueror@gmx.de>
6415
6416 * java/text/CollationElementIterator.java
6417 (NULLORDER): Initialize with -1 as JDK documentation says.
6418
6419 2003-06-19 Michael Koch <konqueror@gmx.de>
6420
6421 * java/net/HttpURLConnection.java,
6422 java/net/Inet4Address.java,
6423 java/net/Inet6Address.java,
6424 java/net/SocketImpl.java,
6425 java/net/URLClassLoader.java:
6426 Reworked import statements.
6427 * java/net/InetAddress.java
6428 (getByAddress): Simplified.
6429 * java/net/ServerSocket.java
6430 (ServerSocket): Moved special handling during bind operation to
6431 bind().
6432 (bind): Handle different cases when trying to bind a socket.
6433 * java/net/URLConnection.java
6434 (getHeaderFieldDate): Merged with classpath.
6435 (getHeaderFieldInt): Likewise.
6436
6437 2003-06-19 Michael Koch <konqueror@gmx.de>
6438
6439 * java/util/zip/InflaterInputStream.java
6440 (InflaterInputStream): Throw NullPointerException if in is null (as
6441 JDK does).
6442
6443 2003-06-19 Michael Koch <konqueror@gmx.de>
6444
6445 * java/awt/Font.java
6446 javax/swing/UIManager.java
6447 javax/swing/border/AbstractBorder.java
6448 javax/swing/border/BevelBorder.java
6449 javax/swing/border/Border.java
6450 javax/swing/border/CompoundBorder.java
6451 javax/swing/border/EmptyBorder.java
6452 javax/swing/border/EtchedBorder.java
6453 javax/swing/border/LineBorder.java
6454 javax/swing/border/MatteBorder.java
6455 javax/swing/border/TitledBorder.java
6456 javax/swing/plaf/BorderUIResource.java
6457 javax/swing/plaf/basic/BasicBorders.java
6458 javax/swing/plaf/basic/BasicButtonUI.java
6459 javax/swing/plaf/basic/BasicCheckBoxUI.java
6460 javax/swing/plaf/basic/BasicGraphicsUtils.java
6461 javax/swing/plaf/basic/BasicLabelUI.java
6462 javax/swing/plaf/basic/BasicRadioButtonUI.java
6463 javax/swing/plaf/basic/BasicToggleButtonUI.java:
6464 New versions from classpath.
6465 * javax/swing/border/SoftBevelBorder.java:
6466 New file from classpath.
6467 * javax/swing/border/doc-files/LineBorder-1.png,
6468 javax/swing/border/doc-files/BevelBorder-1.png,
6469 javax/swing/border/doc-files/BevelBorder-2.png,
6470 javax/swing/border/doc-files/BevelBorder-3.png,
6471 javax/swing/border/doc-files/EmptyBorder-1.png,
6472 javax/swing/border/doc-files/EtchedBorder-1.png,
6473 javax/swing/border/doc-files/EtchedBorder-2.png,
6474 javax/swing/border/doc-files/MatteBorder-1.png,
6475 javax/swing/border/doc-files/MatteBorder-2.png,
6476 javax/swing/border/doc-files/MatteBorder-3.png,
6477 javax/swing/border/doc-files/MatteBorder-4.png,
6478 javax/swing/border/doc-files/MatteBorder-5.png,
6479 javax/swing/border/doc-files/MatteBorder-6.png,
6480 javax/swing/border/doc-files/SoftBevelBorder-1.png,
6481 javax/swing/border/doc-files/SoftBevelBorder-2.png,
6482 javax/swing/border/doc-files/SoftBevelBorder-3.png,
6483 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6484 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6485 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6486 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6487 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6488 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6489 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6490 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6491 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6492 New binary files from classpath.
6493 * Makefile.am
6494 (awt_java_source_files): Added
6495 javax/swing/border/SoftBevelBorder.java.
6496 * Makefile.in: Regenerated.
6497
6498 2003-06-19 Michael Koch <konqueror@gmx.de>
6499
6500 * gnu/java/security/x509/X509Certificate.java
6501 (writeReplace): Merged from classpath.
6502
6503 2003-06-19 Michael Koch <konqueror@gmx.de>
6504
6505 * gnu/java/nio/FileChannelImpl.java
6506 (map_address): Made public.
6507 (FileChannelImpl): Merged with classpath.
6508 * gnu/java/nio/natFileChannelImpl.cc
6509 (nio_mmap_file): Commented out unused arguments.
6510 (nio_unmmap_file): Likewise.
6511 (niu_msync): Likewise.
6512
6513 2003-06-19 Michael Koch <konqueror@gmx.de>
6514
6515 * java/awt/image/IndexColorModel.java:
6516 New version from classpath.
6517
6518 2003-06-18 Tom Tromey <tromey@redhat.com>
6519
6520 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6521 on arrays.
6522 (isLoopbackAddress): Likewise.
6523 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6524 on arrays.
6525
6526 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
6527
6528 * java/lang/natVMSecurityManager.cc (getClassContext):
6529 Use maxlen instead of len for loop bound.
6530
6531 2003-06-18 Michael Koch <konqueror@gmx.de>
6532
6533 * gnu/java/nio/SelectorImpl.java
6534 (register): Use fd with value 0 for now, will be fixed later.
6535 * gnu/java/nio/ServerSocketChannelImpl.java
6536 (fd): Removed.
6537 (local_port): Removed.
6538 (InetSocketAddress): Removed.
6539 (ServerSocketChannelImpl): Just initialize internal socket object.
6540 (implCloseSelectableChannel): Close internal socket object.
6541 (implConfigureBlocking): Added comment.
6542 (accept): Use jaba.net stuff to accept socket.
6543 * gnu/java/nio/SocketChannelImpl.java
6544 (fd): Removed.
6545 (local_port): Removed.
6546 (InetSocketAddress): Removed.
6547 (SocketCreate): Removed.
6548 (SocketConnect): Removed.
6549 (SocketBind): Removed.
6550 (SocketListen): Removed.
6551 (SocketAvailable): Removed.
6552 (SocketClose): Removed.
6553 (SocketRead): Removed.
6554 (SocketWrite): Removed.
6555 (SocketChannelImpl): Just initialize internal socket object.
6556 (implCloseSelectableChannel): Close internal socket object.
6557 (implConfigureBlocking): Fixed implementation, added comment.
6558 (connect): Use internal socket object to connect.
6559 (socket): No need for sanity checks.
6560 (read): Comment out some stuff, this will be reimplemented in the next
6561 commit.
6562 (write): Likewise.
6563 * gnu/java/nio/natFileChannelImpl.cc
6564 (nio_mmap_file): Line wrapped.
6565 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6566 * Makefile.am
6567 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6568 * Makefile.in: Regenerated.
6569
6570 2003-06-18 Michael Koch <konqueror@gmx.de>
6571
6572 * java/util/Locale.java
6573 (equals): Merged from classpath.
6574
6575 2003-06-18 Michael Koch <konqueror@gmx.de>
6576
6577 * java/net/InetAddress.java:
6578 Reformatted to better match classpath's version.
6579 * java/net/URL.java
6580 (equals): Simplified.
6581 * java/net/URLConnection.java
6582 (setDoInput): Revised documentation.
6583 (getDefaultUseCaches): Likewise.
6584 (setRequestProperty): Added @since tag.
6585
6586 2003-06-17 Michael Koch <konqueror@gmx.de>
6587
6588 * java/net/InetSocketAddress.java
6589 (InetSocketAddress): Use wildcard address if addr is null.
6590 (InetSocketAddress): Dont duplicate implementation.
6591 (InetSocketAddress): Throw exception when hostname is null.
6592 * java/net/Socket.java:
6593 Reworked imports.
6594 (Socket): Throw exception when raddr is null, handle case when laddr
6595 is null.
6596
6597 2003-06-17 Michael Koch <konqueror@gmx.de>
6598
6599 * java/nio/DirectByteBufferImpl.java
6600 (address): Made package private.
6601 (DirectByteBufferImpl): New constructor.
6602 * java/nio/natDirectByteBufferImpl.cc
6603 (allocateImpl): Moved to java.nio namespace, implemented.
6604 (freeImpl): Likewise.
6605 (getImpl): Likewise.
6606 (putImpl): Likewise.
6607 * jni.cc
6608 (_Jv_JNI_NewDirectByteBuffer): Implemented.
6609 (_Jv_JNI_GetDirectBufferAddress): Implemented.
6610 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6611
6612 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6613
6614 * include/powerpc-signal.h: New File.
6615 * configure.in: Use it.
6616 * configure: Regenerated.
6617
6618 2003-06-17 Michael Koch <konqueror@gmx.de>
6619
6620 * java/util/Locale.java
6621 (getDisplayLanguage): Made it final.
6622 (getDisplayCountry): Likewise.
6623 (getDisplayVariant): Likewise.
6624 (getDisplayName): Likewise.
6625
6626 2003-06-17 Michael Koch <konqueror@gmx.de>
6627
6628 * java/util/PropertyResourceBundle.java:
6629 Removed unneeded import.
6630
6631 2003-06-17 Michael Koch <konqueror@gmx.de>
6632
6633 * java/util/prefs/AbstractPreferences.java,
6634 java/util/prefs/PreferencesFactory.java:
6635 Reworked imports, removed unused imports.
6636 * java/util/prefs/Preferences.java
6637 (systemNodeForPackage): Method takes a Class not an Object.
6638 (userNodeForPackage): Likewise.
6639 (nodeForPackage): Likewise.
6640
6641 2003-06-17 Michael Koch <konqueror@gmx.de>
6642
6643 * gnu/java/security/x509/X509Certificate.java:
6644 Explicitely import used classes.
6645
6646 2003-06-17 Michael Koch <konqueror@gmx.de>
6647
6648 * java/util/zip/ZipEntry.java,
6649 java/util/zip/ZipFile.java,
6650 java/util/zip/ZipInputStream.java,
6651 java/util/zip/ZipOutputStream.java:
6652 Reworked imports, only import used classes.
6653
6654 2003-06-17 Michael Koch <konqueror@gmx.de>
6655
6656 * gnu/java/lang/ArrayHelper.java,
6657 gnu/java/lang/ClassHelper.java:
6658 Reformatted to match classpath's versions.
6659
6660 2003-06-14 Michael Koch <konqueror@gmx.de>
6661
6662 * gnu/java/nio/FileChannelImpl.java
6663 (map_address): Removed incorrect comment.
6664 * gnu/java/nio/SelectorImpl.java
6665 (register): Remove code duplication and code for file channel handling.
6666 * gnu/java/nio/ServerSocketChannelImpl.java
6667 (serverSocket): Renamed from sock_object.
6668 (ServerSocketChannel): Initialize serverSocket.
6669 (socket): Return serverSocket.
6670 * gnu/java/nio/SocketChannelImpl.java
6671 (socket): Renamed from sock_object.
6672 (isConnectionPenging): Simplified.
6673 (socket): Return socket.
6674 2003-06-14 Michael Koch <konqueror@gmx.de>
6675
6676 * java/security/BasicPermission.java:
6677 New version from classpath.
6678
6679 2003-06-14 Michael Koch <konqueror@gmx.de>
6680
6681 * javax/naming/directory/Attribute.java:
6682 New version from classpath.
6683
6684 2003-06-14 Michael Koch <konqueror@gmx.de>
6685
6686 * java/io/BufferedReader.java,
6687 java/io/FileOutputStream.java:
6688 New versions from classpath.
6689
6690 2003-06-12 Andrew Haley <aph@redhat.com>
6691
6692 * prims.cc (catch_segv): Create exception in handler.
6693 (catch_fpe): Likewise.
6694 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6695 (_Jv_ThrowSignal): Remove.
6696
6697 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6698 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6699 to nullp and arithexception.
6700 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6701 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6702 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6703 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6704 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6705
6706 2003-06-11 Andrew Haley <aph@redhat.com>
6707
6708 * jni.cc (_Jv_JNI_check_types): New.
6709 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6710 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6711 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6712 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6713
6714 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6715 infinite loop.
6716
6717 2003-06-11 Tom Tromey <tromey@redhat.com>
6718
6719 * java/lang/ClassLoader.java (loadClass): Not deprecated.
6720 * java/io/PrintStream.java: Not deprecated.
6721
6722 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
6723
6724 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6725 (fillOval): implemented
6726 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6727 (fillArc): implemented.
6728 * gnu/gcj/xlib/GC.java (drawArc): added native method.
6729 (fillArc): added native method.
6730 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6731 (fillArc): added native method.
6732
6733 2003-06-11 Michael Koch <konqueror@gmx.de>
6734
6735 * java/awt/im/InputSubset.java:
6736 New version from classpath.
6737
6738 2003-06-11 Michael Koch <konqueror@gmx.de>
6739
6740 * javax/swing/AbstractAction.java,
6741 javax/swing/AbstractButton.java,
6742 javax/swing/AbstractCellEditor.java,
6743 javax/swing/AbstractListModel.java,
6744 javax/swing/BorderFactory.java,
6745 javax/swing/Box.java,
6746 javax/swing/BoxLayout.java,
6747 javax/swing/ButtonGroup.java,
6748 javax/swing/DefaultButtonModel.java,
6749 javax/swing/DefaultListModel.java,
6750 javax/swing/DefaultListSelectionModel.java,
6751 javax/swing/FocusManager.java,
6752 javax/swing/ImageIcon.java,
6753 javax/swing/InputMap.java,
6754 javax/swing/JApplet.java,
6755 javax/swing/JButton.java,
6756 javax/swing/JCheckBox.java,
6757 javax/swing/JCheckBoxMenuItem.java,
6758 javax/swing/JColorChooser.java,
6759 javax/swing/JComboBox.java,
6760 javax/swing/JComponent.java,
6761 javax/swing/JDesktopPane.java,
6762 javax/swing/JDialog.java,
6763 javax/swing/JEditorPane.java,
6764 javax/swing/JFileChooser.java,
6765 javax/swing/JFormattedTextField.java,
6766 javax/swing/JFrame.java,
6767 javax/swing/JLabel.java,
6768 javax/swing/JLayeredPane.java,
6769 javax/swing/JList.java,
6770 javax/swing/JMenuBar.java,
6771 javax/swing/JMenuItem.java,
6772 javax/swing/JOptionPane.java,
6773 javax/swing/JPanel.java,
6774 javax/swing/JPasswordField.java,
6775 javax/swing/JPopupMenu.java,
6776 javax/swing/JProgressBar.java,
6777 javax/swing/JRadioButton.java,
6778 javax/swing/JRadioButtonMenuItem.java,
6779 javax/swing/JRootPane.java,
6780 javax/swing/JScrollBar.java,
6781 javax/swing/JScrollPane.java,
6782 javax/swing/JSeparator.java,
6783 javax/swing/JSlider.java,
6784 javax/swing/JTabbedPane.java,
6785 javax/swing/JTable.java,
6786 javax/swing/JTextField.java,
6787 javax/swing/JToggleButton.java,
6788 javax/swing/JToolBar.java,
6789 javax/swing/JToolTip.java,
6790 javax/swing/JTree.java,
6791 javax/swing/JViewport.java,
6792 javax/swing/JWindow.java,
6793 javax/swing/KeyStroke.java,
6794 javax/swing/ListSelectionModel.java,
6795 javax/swing/LookAndFeel.java,
6796 javax/swing/RepaintManager.java,
6797 javax/swing/ScrollPaneLayout.java,
6798 javax/swing/SizeRequirements.java,
6799 javax/swing/SwingConstants.java,
6800 javax/swing/Timer.java,
6801 javax/swing/UIDefaults.java,
6802 javax/swing/UIManager.java,
6803 javax/swing/border/AbstractBorder.java,
6804 javax/swing/border/CompoundBorder.java,
6805 javax/swing/colorchooser/AbstractColorChooserPanel.java,
6806 javax/swing/colorchooser/ColorChooserComponentFactory.java,
6807 javax/swing/colorchooser/ColorSelectionModel.java,
6808 javax/swing/colorchooser/DefaultColorSelectionModel.java,
6809 javax/swing/event/AncestorEvent.java,
6810 javax/swing/event/HyperlinkEvent.java,
6811 javax/swing/event/InternalFrameAdapter.java,
6812 javax/swing/event/InternalFrameEvent.java,
6813 javax/swing/event/ListDataEvent.java,
6814 javax/swing/event/MouseInputAdapter.java,
6815 javax/swing/event/SwingPropertyChangeSupport.java,
6816 javax/swing/event/TableModelEvent.java,
6817 javax/swing/event/TreeWillExpandListener.java,
6818 javax/swing/event/UndoableEditEvent.java,
6819 javax/swing/filechooser/FileFilter.java,
6820 javax/swing/filechooser/FileSystemView.java,
6821 javax/swing/filechooser/FileView.java,
6822 javax/swing/plaf/BorderUIResource.java,
6823 javax/swing/plaf/basic/BasicDefaults.java,
6824 javax/swing/table/AbstractTableModel.java,
6825 javax/swing/table/DefaultTableCellRenderer.java,
6826 javax/swing/table/DefaultTableColumnModel.java,
6827 javax/swing/table/DefaultTableModel.java,
6828 javax/swing/table/TableColumn.java,
6829 javax/swing/text/JTextComponent.java,
6830 javax/swing/tree/AbstractLayoutCache.java,
6831 javax/swing/tree/DefaultMutableTreeNode.java,
6832 javax/swing/tree/DefaultTreeCellEditor.java,
6833 javax/swing/tree/DefaultTreeCellRenderer.java,
6834 javax/swing/tree/DefaultTreeModel.java,
6835 javax/swing/tree/DefaultTreeSelectionModel.java,
6836 javax/swing/tree/FixedHeightLayoutCache.java,
6837 javax/swing/tree/TreeCellEditor.java,
6838 javax/swing/tree/TreeModel.java,
6839 javax/swing/tree/TreeNode.java,
6840 javax/swing/tree/TreePath.java,
6841 javax/swing/tree/TreeSelectionModel.java,
6842 javax/swing/tree/VariableHeightLayoutCache.java,
6843 javax/swing/undo/AbstractUndoableEdit.java,
6844 javax/swing/undo/CompoundEdit.java,
6845 javax/swing/undo/StateEdit.java,
6846 javax/swing/undo/UndoManager.java,
6847 javax/swing/undo/UndoableEditSupport.java:
6848 New versions from classpath.
6849 * javax/swing/table/JTableHeader.java:
6850 New file from classpath.
6851 * Makefile.am
6852 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6853 * Makefile.in: Regenerated.
6854
6855 2003-06-11 Michael Koch <konqueror@gmx.de>
6856
6857 * java/nio/MappedByteBuffer.java,
6858 java/nio/channels/Channels.java,
6859 java/nio/channels/ServerSocketChannel.java,
6860 java/nio/channels/spi/AbstractSelector.java:
6861 Removed unneeded imports.
6862
6863 2003-06-11 Michael Koch <konqueror@gmx.de>
6864
6865 * java/net/DatagramSocket.java:
6866 Partly merged with classpath.
6867
6868 2003-06-11 Michael Koch <konqueror@gmx.de>
6869
6870 * java/awt/Frame.java,
6871 java/awt/Graphics.java,
6872 java/awt/Menu.java,
6873 java/awt/Robot.java,
6874 java/awt/image/ColorModel.java:
6875 New versions from classpath.
6876
6877 2003-06-10 Michael Koch <konqueror@gmx.de>
6878
6879 * java/io/PrintStream.java:
6880 Merged version from classpath.
6881 (close): Removed sychronized keyword. This class is not garantied to
6882 be thread-safe.
6883 (write): Likewise.
6884
6885 2003-06-09 Tom Tromey <tromey@redhat.com>
6886
6887 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
6888 field.
6889 (getDescent): Likewise, for "descent".
6890
6891 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
6892
6893 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
6894 (getMaxDescent): adjusted return value.
6895 (getAscent): modified to use metrics for 'O'.
6896 (getDescent): modified to use metrics for 'y'.
6897
6898 2003-06-08 Anthony Green <green@redhat.com>
6899
6900 * java/net/URLStreamHandler.java (sameFile): Fix port value
6901 comparison.
6902 * java/net/URL.java (handler): Make package private.
6903 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
6904
6905 2003-06-07 Tom Tromey <tromey@redhat.com>
6906
6907 For PR libgcj/11085:
6908 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
6909 Limit number of characters in numeric field when required.
6910 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
6911 Respect maximumIntegerDigits.
6912
6913 2003-06-08 Michael Koch <konqueror@gmx.de>
6914
6915 * java/net/Socket.java
6916 (Socket): Dont initialize inputShutdown and outputShutdown twice,
6917 call bind() and connect() to actually do the bind and connect tasks.
6918 (bind): Connect to canonical address if bindpoint is null, create
6919 socket and bind it to bindpoint.
6920 (connect): Check for exceptions.
6921
6922 2003-06-08 Michael Koch <konqueror@gmx.de>
6923
6924 * java/net/DatagramSocket.java
6925 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
6926 into the Multicast constructors.
6927 * java/net/DatagramSocketImpl.java
6928 (getOption): Removed.
6929 (setOption): Removed.
6930 * java/net/MulticastSocket.java
6931 (MulticastSocket): Call setReuseAddress (true).
6932 * java/net/SocketImpl.java
6933 (getOption): Removed.
6934 (setOption): Removed.
6935
6936 2003-06-07 Jeff Sturm <jsturm@one-point.com>
6937
6938 PR libgcj/10886:
6939 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
6940 Test for empty vector.
6941
6942 2003-06-06 Mark Wielaard <mark@klomp.org>
6943
6944 * java/security/Security.java (secprops): Initialize.
6945 (loadProviders): Return boolean.
6946 (static): Check result of loadProvider calls. If necessary
6947 display WARNING and fallback to Gnu provider.
6948
6949 2002-06-06 James Clark <jjc@jclark.com>
6950
6951 Fix for PR libgcj/8738:
6952 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
6953 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
6954 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
6955 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
6956 (write): Always decrease avail when count is increased.
6957 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
6958 and whether output buffer is full before increasing size.
6959
6960 2002-06-06 Mark Wielaard <mark@klomp dot org>
6961
6962 * java/io/PrintStream.java (writeChars(char[],int, int)):
6963 Check converter.havePendingBytes().
6964 (writeChars(String,int,int)): Likewise.
6965 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
6966 Check converter.havePendingBytes() and flush buffer when stalled.
6967
6968 2003-06-07 Michael Koch <konqueror@gmx.de>
6969
6970 * include/posix.h
6971 (O_DSYNC): Define O_DSYNC on platforms not
6972 supporting O_FSYNC (newlib).
6973
6974 2003-06-06 Mark Wielaard <mark@klomp.org>
6975
6976 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
6977 AWTError.
6978
6979 2003-06-06 Michael Koch <konqueror@gmx.de>
6980
6981 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6982 More compile fixes from my stupid work yesterday.
6983
6984 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
6985
6986 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
6987 if _IEEE_LIBM is undefined.
6988
6989 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
6990
6991 * libjava/include/posix.h (O_SYNC): Define if not available
6992 and a reasonable, perhaps more conservative, replacement exists.
6993 (O_DSYNC): Likewise.
6994 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
6995
6996 2003-06-05 Michael Koch <konqueror@gmx.de>
6997
6998 * javax/swing/plaf/BorderUIResource.java,
6999 javax/swing/plaf/basic/BasicDefaults.java,
7000 javax/swing/plaf/basic/BasicOptionPaneUI.java:
7001 More compile fixes for latest Border commit. I should not commit
7002 something in this heat here ...
7003
7004 2003-06-05 Michael Koch <konqueror@gmx.de>
7005
7006 * javax/swing/border/BevelBorder.java
7007 (BevelBorder): Removed.
7008 * javax/swing/border/EmptyBorder.java:
7009 Reformatted.
7010 (EmptyBorder): Removed.
7011 (getBorderInsets): Dont use l, r, t and b.
7012 * javax/swing/border/EtchedBorder.java
7013 (EtchedBorder): Removed.
7014 * javax/swing/border/LineBorder.java
7015 (LineBorder): Removed.
7016 * javax/swing/border/MatteBorder.java
7017 (MatteBorder): Removed.
7018 * javax/swing/border/TitledBorder.java
7019 (defaultBorder): Use other default for now.
7020 (defaultFont): Likewise.
7021 (defaultColor): Likewise.
7022
7023 2003-06-05 Michael Koch <konqueror@gmx.de>
7024
7025 * javax/swing/border/Border.java:
7026 New version from classpath.
7027
7028 2003-06-05 Michael Koch <konqueror@gmx.de>
7029
7030 * javax/swing/border/AbstractBorder.java,
7031 javax/swing/border/BevelBorder.java,
7032 javax/swing/border/CompoundBorder.java,
7033 javax/swing/border/EmptyBorder.java,
7034 javax/swing/border/EtchedBorder.java,
7035 javax/swing/border/LineBorder.java,
7036 javax/swing/border/MatteBorder.java,
7037 javax/swing/border/TitledBorder.java:
7038 New versions from Classpath.
7039
7040 2003-06-05 Michael Koch <konqueror@gmx.de>
7041
7042 * java/awt/Button.java,
7043 java/awt/Checkbox.java,
7044 java/awt/CheckboxMenuItem.java,
7045 java/awt/Choice.java,
7046 java/awt/Container.java,
7047 java/awt/Dialog.java,
7048 java/awt/EventQueue.java,
7049 java/awt/FileDialog.java,
7050 java/awt/Frame.java,
7051 java/awt/Label.java,
7052 java/awt/List.java,
7053 java/awt/Menu.java,
7054 java/awt/MenuItem.java,
7055 java/awt/Panel.java,
7056 java/awt/PopupMenu.java,
7057 java/awt/Rectangle.java,
7058 java/awt/ScrollPane.java,
7059 java/awt/Scrollbar.java,
7060 java/awt/TextArea.java,
7061 java/awt/TextField.java,
7062 java/awt/Window.java,
7063 java/awt/datatransfer/DataFlavor.java,
7064 java/awt/dnd/DragSource.java,
7065 java/awt/dnd/DragSourceContext.java,
7066 java/awt/event/HierarchyEvent.java,
7067 java/awt/event/MouseWheelEvent.java,
7068 java/awt/im/InputContext.java,
7069 java/awt/image/BufferedImage.java,
7070 java/awt/image/ComponentColorModel.java,
7071 java/awt/image/Raster.java,
7072 java/awt/image/WritableRaster.java,
7073 java/awt/peer/ComponentPeer.java,
7074 java/awt/print/PageFormat.java,
7075 java/awt/print/PrinterJob.java:
7076 New versions from Classpath.
7077
7078 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
7079
7080 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7081 numberFormat.setParseIntegerOnly(true).
7082
7083 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
7084
7085 * include/posix-threads.h: Include <machine/pal.h> on OSF.
7086
7087 2003-06-03 Andrew Haley <aph@redhat.com>
7088
7089 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7090 stack volatile to prevent optimization from removing it.
7091
7092 2003-05-27 Michael Koch <konqueror@gmx.de>
7093
7094 * java/util/zip/Deflater.java
7095 (FILTERED): Merged documentation from classpath.
7096 * java/util/zip/DeflaterOutputStream.java
7097 (DeflaterOutputStream): Merged documentation and argument validity
7098 check from classpath.
7099 (deflate): Merged documentation from classpath.
7100 (finish): Likewise.
7101 * java/util/zip/Inflater.java
7102 (Inflater): Merged class documentation from classpath.
7103 (zstream): Reordered.
7104 (is_finished): Reordered.
7105 (dict_needed): Reordered.
7106 (Inflater): Reordered, merged documentation from classpath.
7107 (end): Likewise.
7108 (finalize): Merged documentation from classpath.
7109 (finished): Likewise.
7110 (getAdler): Likewise.
7111 (getRemaining): Likewise.
7112 (getTotalIn): Likewise.
7113 (getTotalOut): Likewise.
7114 (inflate): Likewise.
7115 (needsDictionary): Likewise.
7116 (needsInput): Likewise.
7117 (reset): Likewise.
7118 (setDictionary): Likewise.
7119 (setInput): Likewise.
7120
7121 2003-05-27 Michael Koch <konqueror@gmx.de>
7122
7123 * java/net/URLConnection.java
7124 (getHeaderFieldInt): Merged with classpath.
7125
7126 2003-05-27 Michael Koch <konqueror@gmx.de>
7127
7128 * java/io/PrintStream.java
7129 (PrintStream): Reformatted.
7130 (PrintStream): New method, merged from classpath.
7131 (write): Reformatted.
7132
7133 2003-05-27 Michael Koch <konqueror@gmx.de>
7134
7135 * java/lang/System.java:
7136 Explicitely import needed classes.
7137
7138 2003-05-26 Michael Koch <konqueror@gmx.de>
7139
7140 * java/net/NetPermission.java,
7141 java/net/NetworkInterface.java,
7142 java/net/PasswordAuthentication.java,
7143 java/net/SocketPermission.java:
7144 New versions from classpath.
7145
7146 2003-05-25 Michael Koch <konqueror@gmx.de>
7147
7148 * java/io/PushbackInputStream.java,
7149 java/net/Authenticator.java,
7150 java/net/ContentHandler.java,
7151 java/net/ContentHandlerFactory.java,
7152 java/net/DatagramSocket.java,
7153 java/net/DatagramSocketImpl.java,
7154 java/net/DatagramSocketImplFactory.java,
7155 java/net/FileNameMap.java,
7156 java/net/SocketImplFactory.java,
7157 java/net/SocketOptions.java,
7158 java/net/URLStreamHandlerFactory.java:
7159 Merged new versions from classpath.
7160
7161 2003-05-25 Michael Koch <konqueror@gmx.de>
7162
7163 * java/awt/Checkbox.java,
7164 java/awt/Dialog.java,
7165 java/awt/Font.java,
7166 java/awt/Frame.java,
7167 java/awt/ScrollPaneAdjustable.java,
7168 java/awt/Scrollbar.java,
7169 java/awt/Window.java:
7170 New versions from classpath.
7171
7172 2003-05-22 Jeff Sturm <jsturm@one-point.com>
7173
7174 PR libgcj/10838:
7175 * java/io/ObjectInputStream (enableResolveObject):
7176 Fixed spelling of permission name.
7177
7178 2003-05-20 Michael Koch <konqueror@gmx.de>
7179
7180 * java/io/DataInputStream.java
7181 (convertFromUTF): Merged comment from classpath.
7182 * java/io/PrintStream.java
7183 (error_occured): Renamed from error, merged comment from classpath.
7184 (PrintStream): No need to initialized error.
7185 (checkError): Replace error with error_occurred.
7186 (setError): Likewise.
7187
7188 2003-05-20 Michael Koch <konqueror@gmx.de>
7189
7190 * java/io/DataInputStream.java:
7191 Reformatted, Replaced < and & with html entitites in documentation.
7192 * java/io/File.java:
7193 Reformatted.
7194 * java/io/PrintWriter.java:
7195 Moved class documentation.
7196
7197 2003-05-20 Michael Koch <konqueror@gmx.de>
7198
7199 * gnu/java/nio/ByteBufferImpl.java,
7200 gnu/java/nio/CharBufferImpl.java,
7201 gnu/java/nio/CharViewBufferImpl.java,
7202 gnu/java/nio/DirectByteBufferImpl.java,
7203 gnu/java/nio/DoubleBufferImpl.java,
7204 gnu/java/nio/DoubleViewBufferImpl.java,
7205 gnu/java/nio/FloatBufferImpl.java,
7206 gnu/java/nio/FloatViewBufferImpl.java,
7207 gnu/java/nio/IntBufferImpl.java,
7208 gnu/java/nio/IntViewBufferImpl.java,
7209 gnu/java/nio/LongBufferImpl.java,
7210 gnu/java/nio/LongViewBufferImpl.java,
7211 gnu/java/nio/natDirectByteBufferImpl.cc,
7212 gnu/java/nio/ShortBufferImpl.java,
7213 gnu/java/nio/ShortViewBufferImpl.java:
7214 Moved files to java/nio.
7215 * gnu/java/nio/SocketChannelImpl.java
7216
7217 * java/nio/ByteBuffer.java,
7218 java/nio/CharBuffer.java,
7219 java/nio/DoubleBuffer.java,
7220 java/nio/FloatBuffer.java,
7221 java/nio/IntBuffer.java,
7222 java/nio/LongBuffer.java,
7223 java/nio/ShortBuffer.java:
7224 Dont import anything.
7225 * java/nio/ByteBufferImpl.java,
7226 java/nio/CharBufferImpl.java,
7227 java/nio/CharViewBufferImpl.java,
7228 java/nio/DirectByteBufferImpl.java,
7229 java/nio/DoubleBufferImpl.java,
7230 java/nio/DoubleViewBufferImpl.java,
7231 java/nio/FloatBufferImpl.java,
7232 java/nio/FloatViewBufferImpl.java,
7233 java/nio/IntBufferImpl.java,
7234 java/nio/IntViewBufferImpl.java,
7235 java/nio/LongBufferImpl.java,
7236 java/nio/LongViewBufferImpl.java,
7237 java/nio/natDirectByteBufferImpl.cc,
7238 java/nio/ShortBufferImpl.java,
7239 java/nio/ShortViewBufferImpl.java:
7240 Moved from gnu/java/nio.
7241 * Makefile.am
7242 (ordinary_java_source_files): Moved files from gnu/java/nio to
7243 java/nio.
7244 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7245 to java/nio.
7246 * Makefile.in: Regenerated.
7247
7248 2003-05-19 Michael Koch <konqueror@gmx.de>
7249
7250 * java/util/Calendar.java
7251 (get): Not final anymore since JDK 1.4
7252 (set): Likewise.
7253
7254 2003-05-19 Michael Koch <konqueror@gmx.de>
7255
7256 * java/text/CollationKey.java:
7257 Merged copyright and dat from classpath.
7258 * java/text/RuleBasedCollator.java:
7259 Merged class documentation from classpath.
7260
7261 2003-05-19 Michael Koch <konqueror@gmx.de>
7262
7263 * java/nio/CharBuffer.java
7264 (toString): Compile fix.
7265
7266 2003-05-19 Michael Koch <konqueror@gmx.de>
7267
7268 * gnu/java/nio/ByteBufferImpl.java
7269 (putLong): Fixed conversion to bytes.
7270 (putDouble): Fixed conversion to bytes.
7271 * gnu/java/nio/DirectByteBufferImpl.java
7272 (putLong): Fixed conversion to bytes.
7273 (putDouble): Fixed conversion to bytes.
7274 * gnu/java/nio/FileLockImpl.java
7275 (isValid): Reformatted.
7276 * java/nio/Buffer.java
7277 (Buffer): Fixed off-by-one bug in handling mark.
7278 * java/nio/ByteBuffer.java:
7279 Added newline.
7280 * java/nio/CharBuffer.java
7281 (toString): Don't use relative get to get string data.
7282
7283 2003-05-16 Michael Koch <konqueror@gmx.de>
7284
7285 * java/io/natFileDescriptorPosix.cc
7286 (open): Commented out the O_SYNC and O_DSYNC usage until its better
7287 tested.
7288
7289 2003-05-14 Michael Koch <konqueror@gmx.de>
7290
7291 * gnu/java/nio/FileLockImpl.java
7292 (released): New member variable.
7293 (FileLockImpl): Initialize released.
7294 (releaseImpl): New native method.
7295 (release): Implemented.
7296 * gnu/java/nio/SelectorImpl.java: Reformatted.
7297 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7298 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7299 (accept): Throws IOException.
7300 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7301 (implConfigureBlocking): Throws IOException.
7302 (connect): Likewise.
7303 (read): Likewise.
7304 (write): Likewise.
7305 * gnu/java/nio/natFileLockImpl.cc: New file.
7306 * java/nio/channels/FileLock.java: Reformatted.
7307 * Makefile.am:
7308 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7309 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7310 * Makefile.in: Regenerated.
7311
7312 2003-05-13 Michael Koch <konqueror@gmx.de>
7313
7314 * gnu/java/nio/CharViewBufferImpl.java
7315 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7316 (get): Shift bits to the right direction.
7317 (put): Likewise.
7318 * gnu/java/nio/DoubleViewBufferImpl.java
7319 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7320 (get): Shift bits to the right direction.
7321 (put): Likewise.
7322 * gnu/java/nio/FloatViewBufferImpl.java
7323 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7324 (get): Shift bits to the right direction.
7325 (put): Likewise.
7326 * gnu/java/nio/IntViewBufferImpl.java
7327 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7328 (get): Shift bits to the right direction.
7329 (put): Likewise.
7330 * gnu/java/nio/LongViewBufferImpl.java
7331 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7332 (get): Shift bits to the right direction.
7333 (put): Likewise.
7334 * gnu/java/nio/ShortViewBufferImpl.java
7335 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7336 (get): Shift bits to the right direction.
7337 (put): Likewise.
7338
7339 2003-05-13 Michael Koch <konqueror@gmx.de>
7340
7341 * gnu/java/nio/natDirectByteBufferImpl.cc
7342 (allocateImpl): jlong -> RawData*.
7343 (freeImpl): Likewise.
7344
7345 2003-05-13 Michael Koch <konqueror@gmx.de>
7346
7347 * java/nio/channels/FileChannel.java
7348 (MapMode.m): Made it package-private to match JDK 1.4.
7349 * java/nio/charset/Charset.java
7350 (decode): Made it final to match JDK 1.4.
7351
7352 2003-05-13 Michael Koch <konqueror@gmx.de>
7353
7354 * java/io/FileDescriptor.java
7355 (SYNC): New constant.
7356 (DSYNC): Likewise.
7357 (getLength): Renamed from lenght() to match classpath's
7358 FileDescriptor.java.
7359 * java/io/RandomAccessFile.java
7360 (RandomAccessFile): Removed unneeded mode check, implemented mode
7361 "rws" and "rwd", merged documentation from classpath.
7362 (setLength): Reformatted.
7363 (length): Use new getLength() of FileDescriptor.
7364 * java/io/natFileDescriptorEcos.cc
7365 (getLength): Renamed from length().
7366 * java/io/natFileDescriptorPosix.cc
7367 (open): Implemented support for SYNC and DSYNC.
7368 (seek): Use getLength() instead of length().
7369 (getLength): Renamed from length().
7370 * java/io/natFileDescriptorWin32.cc
7371 (getLength): Renamed from length().
7372 (seek): Use getLength() instead of length().
7373 (available): Likewise.
7374 * gnu/java/nio/natFileChannelImpl.cc
7375 (size): Use getLength() instead of length().
7376
7377 2003-05-13 Michael Koch <konqueror@gmx.de>
7378
7379 * gnu/java/nio/ByteBufferImpl.java
7380 (ByteBufferImpl): All constructors revised.
7381 (slice): Reimplemented.
7382 (duplicate): Reimplemented.
7383 (asReadOnlyBuffer): Reimplemented.
7384 * java/nio/ByteBuffer.java:
7385 Reformatted.
7386 (array_offset): Renamed from "offset" to match all other buffer
7387 classes.
7388 (ByteBuffer): All constructors revised.
7389 (allocateDirect): Implemented.
7390 (allocate): New implementation, documentation reworked.
7391 (wrap): Likewise.
7392 (get): Documentation reworked.
7393 (put): New implementation, documentation reworked.
7394 (hasArray): Documentation reworked.
7395 (arrayOffset): Likewise.
7396 (hashCode): Likewise.
7397 (equals): Likewise.
7398 (compareTo): Likewise.
7399 (order): Likewise.
7400 (compact): Likewise.
7401 (isDirect): Likewise.
7402 (slice): Likewise.
7403 (duplicate): Likewise.
7404 (asReadOnlyBuffer): Likewise.
7405 * Makefile.am
7406 (ordinary_java_source_files):
7407 Added gnu/java/nio/DirectByteBufferImpl.java.
7408 (nat_source_files):
7409 Added gnu/java/nio/natDirectByteBufferImpl.cc.
7410 * Makefile.in: Regenerated.
7411
7412 2003-05-12 Michael Koch <konqueror@gmx.de>
7413
7414 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7415 (nio_get_*): Removed.
7416 (nio_put_*): Removed.
7417 (as*Buffer): Implemented.
7418 (compact): Implemented.
7419 (get): Documentation added.
7420 (put): Documentation added.
7421 (get*): Newly implemented.
7422 (put*): Newly implemented.
7423 * gnu/java/nio/CharBufferImpl.java: Reformatted.
7424 (CharBufferImpl): Revised.
7425 (slice): New implementation.
7426 (duplicate): New implementation.
7427 (compact): New implementation.
7428 (asReadOnlyBuffer): New implementation.
7429 (get): Documentation revised.
7430 (order): Return native byte order.
7431 * gnu/java/nio/DirectByteBufferImpl.java
7432 (allocateDirect): objects can be null not 0.
7433 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7434 (DoubleBufferImpl): Revised.
7435 (slice): New implementation.
7436 (duplicate): New implementation.
7437 (compact): New implementation.
7438 (asReadOnlyBuffer): New implementation.
7439 (get): Documentation revised.
7440 (order): Return native byte order.
7441 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7442 (FloatBufferImpl): Revised.
7443 (slice): New implementation.
7444 (duplicate): New implementation.
7445 (compact): New implementation.
7446 (asReadOnlyBuffer): New implementation.
7447 (get): Documentation revised.
7448 (order): Return native byte order.
7449 * gnu/java/nio/IntBufferImpl.java: Reformatted.
7450 (IntBufferImpl): Revised.
7451 (slice): New implementation.
7452 (duplicate): New implementation.
7453 (compact): New implementation.
7454 (asReadOnlyBuffer): New implementation.
7455 (get): Documentation revised.
7456 (order): Return native byte order.
7457 * gnu/java/nio/LongBufferImpl.java: Reformatted.
7458 (LongBufferImpl): Revised.
7459 (slice): New implementation.
7460 (duplicate): New implementation.
7461 (compact): New implementation.
7462 (asReadOnlyBuffer): New implementation.
7463 (get): Documentation revised.
7464 (order): Return native byte order.
7465 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7466 (ShortBufferImpl): Revised.
7467 (slice): New implementation.
7468 (duplicate): New implementation.
7469 (compact): New implementation.
7470 (asReadOnlyBuffer): New implementation.
7471 (get): Documentation revised.
7472 (order): Return native byte order.
7473 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7474 (CharBuffer): Revised.
7475 (order): Removed.
7476 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7477 (DoubleBuffer): Revised.
7478 (allocateDirect): Removed.
7479 (order): Removed.
7480 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7481 (FloatBuffer): Revised.
7482 (allocateDirect): Removed.
7483 (order): Removed.
7484 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7485 (IntBuffer): Revised.
7486 (allocateDirect): Removed.
7487 (order): Removed.
7488 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7489 (LongBuffer): Revised.
7490 (allocateDirect): Removed.
7491 (order): Removed.
7492 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7493 (ShortBuffer): Revised.
7494 (allocateDirect): Removed.
7495 (order): Removed.
7496 * gnu/java/nio/natByteBufferImpl.cc: Removed.
7497 * gnu/java/nio/natCharBufferImpl.cc: Removed.
7498 * Makefile.am
7499 (ordinary_java_source_files): Added the following files:
7500 gnu/java/nio/CharViewBufferImpl.java,
7501 gnu/java/nio/DoubleViewBufferImpl.java,
7502 gnu/java/nio/FloatViewBufferImpl.java,
7503 gnu/java/nio/IntViewBufferImpl.java,
7504 gnu/java/nio/LongViewBufferImpl.java,
7505 gnu/java/nio/ShortViewBufferImpl.java
7506 (nat_source_files): Removed the following files:
7507 gnu/java/nio/natByteBufferImpl.cc,
7508 gnu/java/nio/natCharBufferImpl.cc
7509 * Makefile.in: Regenerated.
7510
7511 2003-05-12 Michael Koch <konqueror@gmx.de>
7512
7513 * gnu/java/nio/CharViewBufferImpl.java,
7514 gnu/java/nio/DirectByteBufferImpl.java,
7515 gnu/java/nio/DoubleViewBufferImpl.java,
7516 gnu/java/nio/FloatViewBufferImpl.java,
7517 gnu/java/nio/IntViewBufferImpl.java,
7518 gnu/java/nio/LongViewBufferImpl.java,
7519 gnu/java/nio/ShortViewBufferImpl.java,
7520 gnu/java/nio/natDirectByteBufferImpl.cc:
7521 New files, not yet to be compiled.
7522
7523 2003-05-10 Michael Koch <konqueror@gmx.de>
7524
7525 * javax/swing/plaf/ButtonUI.java,
7526 javax/swing/plaf/ColorUIResource.java,
7527 javax/swing/plaf/ComponentUI.java,
7528 javax/swing/plaf/DimensionUIResource.java,
7529 javax/swing/plaf/FontUIResource.java,
7530 javax/swing/plaf/IconUIResource.java,
7531 javax/swing/plaf/InsetsUIResource.java,
7532 javax/swing/plaf/LabelUI.java,
7533 javax/swing/plaf/ListUI.java,
7534 javax/swing/plaf/OptionPaneUI.java,
7535 javax/swing/plaf/PanelUI.java,
7536 javax/swing/plaf/TabbedPaneUI.java,
7537 javax/swing/plaf/TextUI.java,
7538 javax/swing/plaf/TreeUI.java,
7539 javax/swing/plaf/ViewportUI.java,
7540 javax/swing/plaf/basic/BasicBorders.java,
7541 javax/swing/plaf/basic/BasicButtonUI.java,
7542 javax/swing/plaf/basic/BasicCheckBoxUI.java,
7543 javax/swing/plaf/basic/BasicDefaults.java,
7544 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7545 javax/swing/plaf/basic/BasicIconFactory.java,
7546 javax/swing/plaf/basic/BasicLabelUI.java,
7547 javax/swing/plaf/basic/BasicListUI.java,
7548 javax/swing/plaf/basic/BasicOptionPaneUI.java,
7549 javax/swing/plaf/basic/BasicPanelUI.java,
7550 javax/swing/plaf/basic/BasicRadioButtonUI.java,
7551 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7552 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7553 javax/swing/plaf/basic/BasicTextUI.java,
7554 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7555 javax/swing/plaf/basic/BasicTreeUI.java,
7556 javax/swing/plaf/basic/BasicViewportUI.java,
7557 javax/swing/plaf/metal/MetalLookAndFeel.java:
7558 New versions from classpath. This adds copyrights to all files and
7559 some serialVersionUIDs.
7560
7561 2003-05-10 Michael Koch <konqueror@gmx.de>
7562
7563 * java/nio/CharBuffer.java
7564 (offset): Make it package-private.
7565 (backing_buffer): Likewise.
7566 * java/nio/DoubleBuffer.java
7567 (offset): Make it package-private.
7568 (backing_buffer): Likewise.
7569 (put): Reformatted.
7570 * java/nio/FloatBuffer.java
7571 (offset): Make it package-private.
7572 (backing_buffer): Likewise.
7573 * java/nio/IntBuffer.java
7574 (offset): Make it package-private.
7575 (backing_buffer): Likewise.
7576 * java/nio/LongBuffer.java
7577 (offset): Make it package-private.
7578 (backing_buffer): Likewise.
7579 * java/nio/ShortBuffer.java
7580 (offset): Make it package-private.
7581 (backing_buffer): Likewise.
7582
7583 2003-05-10 Michael Koch <konqueror@gmx.de>
7584
7585 * java/nio/CharBuffer.java
7586 (put): Fixed precondtion check.
7587 (toString): Make it work without backing array.
7588 (put): Skip one level of method calling.
7589
7590 2003-05-10 Michael Koch <konqueror@gmx.de>
7591
7592 * java/security/Identity.java,
7593 java/security/IdentityScope.java,
7594 java/security/Key.java,
7595 java/security/KeyPair.java,
7596 java/security/PrivateKey.java,
7597 java/security/Provider.java,
7598 java/security/PublicKey.java,
7599 java/security/SecureRandom.java,
7600 java/security/SecureRandomSpi.java,
7601 java/security/SignedObject.java,
7602 java/security/Signer.java,
7603 java/security/cert/Certificate.java,
7604 java/security/cert/PKIXCertPathBuilderResult.java,
7605 java/security/cert/X509Certificate.java:
7606 New versions from classpath.
7607
7608 2003-05-09 Tom Tromey <tromey@redhat.com>
7609
7610 * Makefile.in: Rebuilt.
7611 * Makefile.am (nat_source_files): Removed old files.
7612 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7613 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7614 * gnu/java/nio/natIntBufferImpl.cc: Removed.
7615 * gnu/java/nio/natLongBufferImpl.cc: Removed.
7616 * gnu/java/nio/natShortBufferImpl.cc: Removed.
7617
7618 2003-05-09 Michael Koch <konqueror@gmx.de>
7619
7620 * gnu/java/nio/ByteBufferImpl.java
7621 (nio_cast): Removed.
7622 (ByteBufferImpl): Removed.
7623 (nio_get_Byte): Removed.
7624 (nio_put_Byte): Removed.
7625 (asByteBuffer): Removed.
7626 (asCharBuffer): Removed implementation and throw exception.
7627 (asShortBuffer): Likewise.
7628 (asIntBuffer): Likewise.
7629 (asLongBuffer): Likewise.
7630 (asFloatBuffer): Likewise.
7631 (asDoubleBuffer): Likewise.
7632 * gnu/java/nio/CharBufferImpl.java
7633 (CharBufferImpl): Removed.
7634 (nio_get_Byte): Removed.
7635 (nio_put_Byte): Removed.
7636 (asByteBuffer): Removed.
7637 * gnu/java/nio/DoubleBufferImpl.java
7638 (DoubleBufferImpl): Removed.
7639 (nio_get_Byte): Removed.
7640 (nio_put_Byte): Removed.
7641 (asByteBuffer): Removed.
7642 * gnu/java/nio/FloatBufferImpl.java
7643 (FloatBufferImpl): Removed.
7644 (nio_get_Byte): Removed.
7645 (nio_put_Byte): Removed.
7646 (asByteBuffer): Removed.
7647 * gnu/java/nio/IntBufferImpl.java
7648 (IntBufferImpl): Removed.
7649 (nio_get_Byte): Removed.
7650 (nio_put_Byte): Removed.
7651 (asByteBuffer): Removed.
7652 * gnu/java/nio/LongBufferImpl.java
7653 (LongBufferImpl): Removed.
7654 (nio_get_Byte): Removed.
7655 (nio_put_Byte): Removed.
7656 (asByteBuffer): Removed.
7657 * gnu/java/nio/ShortBufferImpl.java
7658 (ShortBufferImpl): Removed.
7659 (nio_get_Byte): Removed.
7660 (nio_put_Byte): Removed.
7661 (asByteBuffer): Removed.
7662 * gnu/java/nio/natByteBufferImpl.cc
7663 (nio_cast): Removed.
7664 (nio_get_Byte): Removed.
7665 (nio_put_Byte): Removed.
7666 * gnu/java/nio/natCharBufferImpl.cc
7667 (nio_get_Byte): Removed.
7668 (nio_put_Byte): Removed.
7669
7670 2003-05-09 Michael Koch <konqueror@gmx.de>
7671
7672 * java/net/JarURLConnection.java
7673 (getJarEntry): Merged documentation from classpath.
7674 (getJarFile): Likewise.
7675 (getMainAttributes): Likewise.
7676 (getAttributes): Likewise.
7677 (getManifest): Likewise.
7678 (getCertificates): Reformatted.
7679 * java/net/URLConnection.java:
7680 Little classpath merge.
7681
7682 2003-05-09 Michael Koch <konqueror@gmx.de>
7683
7684 * java/io/DataOutputStream.java
7685 (writeShort): Made it synchronized.
7686 (writeChar): Likewise.
7687 (writeInt): Likewise.
7688 (writeLong): Liekwise.
7689 (writeUTF): Made it synchronized, renamed argument to match classpath.
7690 * java/io/InputStreamReader.java
7691 (converter): Added documentation.
7692 (read): Merged documentation from classpath.
7693 * java/io/OutputStreamWriter.java
7694 (OutputStreamWriter): Merged documentation from classpath.
7695 (close): Reformatted.
7696 (getEncoding): Likewise.
7697 (flush): Likewise.
7698 (write): Merged documentation from classpath, reformatted.
7699
7700 2003-05-08 Tom Tromey <tromey@redhat.com>
7701
7702 * configure.host <powerpc64*-*>: Set with_libffi_default and
7703 libgcj_interpreter to "yes".
7704
7705 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
7706
7707 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7708
7709 2003-05-06 Tom Tromey <tromey@redhat.com>
7710
7711 * verify.cc: Reverted previous patch.
7712
7713 2003-05-06 Michael Koch <konqueror@gmx.de>
7714
7715 * java/io/DataOutputStream.java
7716 (write): Renamed argument to "value", merged documentation from
7717 classpath.
7718 (writeBoolean): Likewise.
7719 (writeByte): Likewise.
7720 (writeShort): Likewise.
7721 (writeChar): Likewise.
7722 (writeInt): Likewise.
7723 (writeLong): Likewise.
7724 (writeFloat): Likewise.
7725 (writeDouble): Likewise.
7726 (writeBytes): Likewise.
7727 (writeChars): Likewise.
7728 (writeUTF): Likewise.
7729 * java/io/File.java
7730 (performDelete): Added documentation.
7731 (performList): Likewise.
7732 (performMkdir): Likewise.
7733 (performSetReadOnly): Likewise.
7734 (performRenameTo): Likewise.
7735 (performSetLastModified): Likewise.
7736 (delete): Made it sychronized.
7737 (renameTo): Made it sychronized.
7738 (equals): Reformatted.
7739 (isHidden): Likewise.
7740 (listFiles): Likewise.
7741 (setReadOnly): Likewise.
7742 (listRoots): Likewise.
7743 (setLastModified): Likewise.
7744 (checkRead): Likewise.
7745 (checkWrite): Likewise.
7746 * java/io/FileInputStream.java
7747 (skip): Made it sychronized, merged from classpath.
7748 * java/io/FileOutputStream.java
7749 (write): Merged from classpath.
7750 * java/io/InputStreamReader.java:
7751 (InputStreamReader): Merged documentation from classpath.
7752
7753 2003-05-05 Michael Koch <konqueror@gmx.de>
7754
7755 * java/net/NetworkInterface.java
7756 (networkInterfaces): Removed.
7757 (getByName): Use getRealNetworkInterfaces() instead of
7758 networkInterfaces.
7759 (getByInetAddress): Likewise.
7760 (getNetworkInterfaces): Likewise.
7761 (toString): Fix output of addresses of an interface.
7762
7763 2003-05-05 Michael Koch <konqueror@gmx.de>
7764
7765 * java/io/DataInputStream.java:
7766 Merged new documentation from classpath.
7767
7768 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
7769
7770 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7771 "version".
7772 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7773 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7774 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7775 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7776 * gnu/awt/gtk/GtkMainThread.java: Likewise.
7777 * gnu/awt/gtk/GtkToolkit.java: Likewise.
7778 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7779 * java/security/Key.java: Likewise.
7780 * java/security/PrivateKey.java: Likewise.
7781 * java/security/Provider.java: Likewise.
7782 * java/security/PublicKey.java: Likewise.
7783
7784 2003-05-02 Michael Koch <konqueror@gmx.de>
7785
7786 * java/net/URI.java
7787 (create): Doesnt throws any exceptions.
7788 * java/net/URLConnection.java
7789 (URLConnection): Commend added.
7790 (getExpiration): The header field is called "expires" not
7791 "expiration".
7792 (getHeaderField): Merged documentation with classpath.
7793 (getHeaderFieldInt): Likewise.
7794 (getHeaderFieldDate): Likewise.
7795 (getHeaderFieldKey): Likewise.
7796 (getPermission): Likewise.
7797 (setDefaultUseCaches): Likewise.
7798 (setRequestProperty): Likewise.
7799 (addRequestProperty): Likewise.
7800 (getRequestProperty): Likewise.
7801 (getRequestProperties): Likewise.
7802 (setDefaultRequestProperty): Likewise.
7803 (getDefaultRequestProperty): Likewise.
7804 (guessContentTypeFromStream): Likewise.
7805 (getFileNameMap): Likewise.
7806 (setFileNameMap): Likewise.
7807 (setDoInput): Merged implementation and documentation with classpath.
7808 (setDoOutput): Likewise.
7809 (setAllowUserInteraction): Likewise.
7810 (setDefaultAllowUserInteraction): Likewise.
7811 (setContentHandlerFactory): Made it synchronized, merged documentation
7812 with classpath.
7813 (guessContentTypeFromName): Renamed argument fname to filename to
7814 match classpath, merged documentation with classpath.
7815
7816 2003-05-02 Michael Koch <konqueror@gmx.de>
7817
7818 * java/net/JarURLConnection.java
7819 (JarURLConnection): Class documentation merged with classpath.
7820 (getJarFileURL): Moved and documentation merged with classpath.
7821 (getEntryName): Likewise.
7822 (JarURLConnection): Documentation merged with classpath.
7823 (getJarEntry): Likewise.
7824 (getJarFile): Likewise.
7825 * java/net/PlainDatagramSocketImpl.java:
7826 Class documentation moved.
7827 * java/net/URLConnection.java
7828 (fileNameMap): Moved and documentation merged with classpath.
7829 (factory): Likewise.
7830 (defaultAllowUserInteraction): Likewis.
7831 (defaultUseCaches): Likewise.
7832 (allowUserInteraction): Likewise.
7833 (connected): Likewise.
7834 (url): Likewise.
7835 (connect): Documentation merged with classpath.
7836 (getURL): Likewise.
7837 (getContentLength): Likewise.
7838 (getContentType): Likewise.
7839 (getContentEncoding): Likewise.
7840 (getExpiration): Likewise.
7841 (getDate): Likewise.
7842 (getLastModified): Likewise.
7843 (getHeaderField): Likewise.
7844 (getContent): Likewise.
7845 (getPermission): Likewise.
7846 (getInputStream): Likewise.
7847 (getOutputStream): Likewise.
7848 (toString): Likewise.
7849 (getDoInput): Likewise.
7850 (getDoOutput): Likewise.
7851 (setAllowUserInteraction): Likewise.
7852 (getAllowUserInteraction): Likewise.
7853 (setDefaultAllowUserInteraction): Likewise.
7854 (getDefaultAllowUserInteraction): Likewise.
7855 (setUseCaches): Likewise.
7856 (getUseCaches): Likewise.
7857 (setIfModifiedSince): Likewise.
7858 (getIfModifiedSince): Likewise.
7859 (setDefaultRequestProperty): Likewise.
7860 (getDefaultRequestProperty): Likewise.
7861 (setContentHandlerFactory): Likewise.
7862 (setFileNameMap): Likewise.
7863
7864 2003-05-02 Michael Koch <konqueror@gmx.de>
7865
7866 * java/net/InetAddress.java:
7867 Merged class documentation with classpath.
7868 * java/net/JarURLConnection.java:
7869 Explicitely import all used classes.
7870 * java/net/URL.java:
7871 Reformatting.
7872 * java/net/ServerSocket.java,
7873 java/net/Socket.java:
7874 New versions from classpath.
7875
7876 2003-05-02 Michael Koch <konqueror@gmx.de>
7877
7878 * gnu/java/nio/FileChannelImpl.java
7879 (read): New implementation.
7880 (implRead): New methods.
7881 (write): New implementation, call other write insteal of read method.
7882 (implWrite): New methods.
7883 (map): Added comment.
7884 (transferFrom): Implemented.
7885 (transferTo): Implemented.
7886 (lock): Added checks to throw exceptions.
7887 (truncate): Added check to throw exception.
7888 * gnu/java/nio/natFileChannelImpl.cc
7889 (implRead): New method.
7890 (implWrite): New method.
7891 * java/nio/ByteBuffer.java
7892 (hashCode): Fixed comment.
7893 (get): Fixed exception documentation.
7894 (put): Fixed exception documentation.
7895 * java/nio/CharBuffer.java:
7896 Added comment for later optimizations.
7897
7898 2003-04-30 Tom Tromey <tromey@redhat.com>
7899
7900 PR libgcj/10582:
7901 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
7902 Removed.
7903 (type::compatible): Use _Jv_IsAssignableFrom.
7904 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
7905 (_Jv_IsAssignableFrom): Work even when source or target class is
7906 not prepared.
7907
7908 2003-04-30 Michael Koch <konqueror@gmx.de>
7909
7910 * java/text/BreakIterator.java
7911 (clone): New method.
7912
7913 2003-04-30 Michael Koch <konqueror@gmx.de>
7914
7915 * java/text/CollationElementIterator.java,
7916 java/text/CollationKey.java,
7917 java/text/RuleBasedCollator.java:
7918 Merged copyright and documentation from classpath and
7919 rearranged some code. No code changes done.
7920
7921 2003-04-30 Michael Koch <konqueror@gmx.de>
7922
7923 * java/util/regex/Matcher.java
7924 (pattern): New member variable.
7925 (appendReplacement): New method.
7926 (appendTail): New method.
7927 (end): New method.
7928 (find): New method.
7929 (group): New method.
7930 (replaceFirst): Added documentation.
7931 (replaceAll): Added documentation.
7932 (groupCount): New method.
7933 (lookingAt): New method.
7934 (matches): New method.
7935 (reset): New method.
7936 (start): New method.
7937 * java/util/regex/Pattern.java
7938 (serialVersionUID): New constant.
7939 (CANON_EQ): New constant.
7940 (CASE_INSENSITIVE): New constant.
7941 (COMMENTS): New constant.
7942 (DOTALL): New constant.
7943 (MULTILINE): New constant.
7944 (UNICODE_CASE): New constant.
7945 (UNIX_LINES): New constant.
7946 (regex): New member variable.
7947 (flags): New member variable.
7948 (Pattern): New method.
7949 (compile): Documentation added.
7950 (flags): New method.
7951 (matches): Documentation added.
7952 (matcher): Documentation added.
7953 (split): Documentation added.
7954 (pattern): New method.
7955
7956 2003-04-30 Michael Koch <konqueror@gmx.de>
7957
7958 * gnu/java/security/Engine.java,
7959 gnu/java/security/OID.java,
7960 gnu/java/security/der/BitString.java,
7961 gnu/java/security/der/DER.java,
7962 gnu/java/security/der/DERReader.java,
7963 gnu/java/security/der/DERValue.java,
7964 gnu/java/security/der/DERWriter.java,
7965 gnu/java/security/provider/DSAKeyFactory.java,
7966 gnu/java/security/provider/X509CertificateFactory.java,
7967 gnu/java/security/x509/X500DistinguishedName.java,
7968 gnu/java/security/x509/X509CRL.java,
7969 gnu/java/security/x509/X509CRLEntry.java,
7970 gnu/java/security/x509/X509Certificate.java,
7971 java/security/cert/CRLSelector.java,
7972 java/security/cert/CertPathBuilder.java,
7973 java/security/cert/CertPathBuilderResult.java,
7974 java/security/cert/CertPathBuilderSpi.java,
7975 java/security/cert/CertPathParameters.java,
7976 java/security/cert/CertPathValidator.java,
7977 java/security/cert/CertPathValidatorResult.java,
7978 java/security/cert/CertPathValidatorSpi.java,
7979 java/security/cert/CertSelector.java,
7980 java/security/cert/CertStore.java,
7981 java/security/cert/CertStoreParameters.java,
7982 java/security/cert/CertStoreSpi.java,
7983 java/security/cert/CollectionCertStoreParameters.java,
7984 java/security/cert/LDAPCertStoreParameters.java,
7985 java/security/cert/PKIXBuilderParameters.java,
7986 java/security/cert/PKIXCertPathBuilderResult.java,
7987 java/security/cert/PKIXCertPathChecker.java,
7988 java/security/cert/PKIXCertPathValidatorResult.java,
7989 java/security/cert/PKIXParameters.java,
7990 java/security/cert/PolicyNode.java,
7991 java/security/cert/PolicyQualifierInfo.java,
7992 java/security/cert/TrustAnchor.java,
7993 javax/security/auth/x500/X500Principal.java:
7994 New files from classpath.
7995 * gnu/java/io/ASN1ParsingException.java,
7996 gnu/java/io/Base64InputStream.java,
7997 gnu/java/security/der/DEREncodingException.java,
7998 gnu/java/security/provider/DSAParameters.java,
7999 gnu/java/security/provider/DSASignature.java,
8000 gnu/java/security/provider/Gnu.java,
8001 gnu/java/security/provider/GnuDSAPrivateKey.java,
8002 gnu/java/security/provider/GnuDSAPublicKey.java,
8003 java/security/AlgorithmParameterGenerator.java,
8004 java/security/AlgorithmParameters.java,
8005 java/security/KeyFactory.java,
8006 java/security/KeyPairGenerator.java,
8007 java/security/KeyStore.java,
8008 java/security/MessageDigest.java,
8009 java/security/SecureClassLoader.java,
8010 java/security/SecureRandom.java,
8011 java/security/Security.java,
8012 java/security/Signature.java,
8013 java/security/cert/Certificate.java,
8014 java/security/cert/CertificateFactory.java,
8015 java/security/cert/CertificateFactorySpi.java,
8016 java/security/cert/X509CRL.java,
8017 java/security/cert/X509Certificate.java,
8018 java/security/spec/DSAPublicKeySpec.java:
8019 New versions from classpath.
8020 * gnu/java/security/provider/DERReader.java,
8021 gnu/java/security/provider/DERWriter.java,
8022 java/security/Engine.java: Removed.
8023 * Makefile.am
8024 (java_source_files, javax_source_files): Added new files.
8025 * Makefile.in: Regenerated.
8026
8027 2003-04-29 Michael Koch <konqueror@gmx.de>
8028
8029 * javax/swing/JTable.java
8030 (AUTO_RESIZE_ALL_COLUMNS): New constant.
8031 (AUTO_RESIZE_LAST_COLUMN): New constant.
8032 (AUTO_RESIZE_NEXT_COLUMN): New constant.
8033 (AUTO_RESIZE_OFF): New constant.
8034 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8035 (JTable): New method.
8036 (columnAdded): New method.
8037 (columnMarginChanged): New method.
8038 (columnMoved): New method.
8039 (columnRemoved): New method.
8040 (columnSelectionChanged): New method.
8041 (editingCanceled): New method.
8042 (editingStopped): New method.
8043 (getColumnModel): New method.
8044 (getPreferredScrollableViewportSize): New method.
8045 (getScrollableBlockIncrement): New method.
8046 (getScrollableTracksViewportHeight): New method.
8047 (getScrollableTracksViewportWidth): New method.
8048 (getScrollableUnitIncrement): New method.
8049 (getSelectedRow): New method.
8050 (getSelectionModel): New method.
8051 (tableChanged): New method.
8052 (setModel): New method.
8053 (setSelectionMode): New method.
8054 (setSelectionModel): New method.
8055 (setShowGrid): New method.
8056 (valueChanged): New method.
8057 * javax/swing/text/DefaultEditorKit.java
8058 (backwardAction): New constant.
8059 (beepAction): New constant.
8060 (beginAction): New constant.
8061 (beginLineAction): New constant.
8062 (beginParagraphAction): New constant.
8063 (beginWordAction): New constant.
8064 (copyAction): New constant.
8065 (cutAction): New constant.
8066 (defaultKeyTypedAction): New constant.
8067 (deleteNextCharAction): New constant.
8068 (deletePrevCharAction): New constant.
8069 (downAction): New constant.
8070 (endAction): New constant.
8071 (endLineAction): New constant.
8072 (endOfLineStringProperty): New constant.
8073 (endParagraphAction): New constant.
8074 (endWordAction): New constant.
8075 (forwardAction): New constant.
8076 (insertBreakAction): New constant.
8077 (insertContentAction): New constant.
8078 (insertTabAction): New constant.
8079 (nextWordAction): New constant.
8080 (pageDownAction): New constant.
8081 (pageUpAction): New constant.
8082 (pasteAction): New constant.
8083 (previousWordAction): New constant.
8084 (readOnlyAction): New constant.
8085 (selectAllAction): New constant.
8086 (selectionBackwardAction): New constant.
8087 (selectionBeginAction): New constant.
8088 (selectionBeginLineAction): New constant.
8089 (selectionBeginParagraphAction): New constant.
8090 (selectionBeginWordAction): New constant.
8091 (selectionDownAction): New constant.
8092 (selectionEndAction): New constant.
8093 (selectionEndLineAction): New constant.
8094 (selectionEndParagraphAction): New constant.
8095 (selectionEndWordAction): New constant.
8096 (selectionForwardAction): New constant.
8097 (selectionNextWordAction): New constant.
8098 (selectionPreviousWordAction): New constant.
8099 (selectionUpAction): New constant.
8100 (selectLineAction): New constant.
8101 (selectParagraphAction): New constant.
8102 (selectWordAction): New constant.
8103 (upAction): New constant.
8104 (writableAction): New constant.
8105
8106 2003-04-29 Michael Koch <konqueror@gmx.de>
8107
8108 * java/util/PropertyPermission.java:
8109 New version from classpath
8110 * java/util/ResourceBundle.java:
8111 Partly merged from classpath
8112 (getObject): Reformated.
8113 (tryBundle): Set foundBundle = null if no bundle found.
8114
8115 2003-04-29 Michael Koch <konqueror@gmx.de>
8116
8117 * javax/swing/AbstractListModel.java,
8118 javax/swing/DefaultBoundedRangeModel.java,
8119 javax/swing/DefaultSingleSelectionModel.java:
8120 New Versions from classpath.
8121
8122 2003-04-29 Michael Koch <konqueror@gmx.de>
8123
8124 * java/awt/Window.java
8125 (show): Call super.show() instead of setVisible() to avoid endless
8126 loop.
8127 (hide): Call super.hide() instead of setVisible() to avoid endless
8128 loop.
8129
8130 2003-04-29 Michael Koch <konqueror@gmx.de>
8131
8132 * java/util/zip/Deflater.java,
8133 java/util/zip/DeflaterOutputStream.java:
8134 Partly merged with classpath.
8135
8136 2003-04-27 Tom Tromey <tromey@redhat.com>
8137
8138 * java/lang/natString.cc (_Jv_AllocString): Initialize
8139 cachedHashCode.
8140 (init): Likewise.
8141 (_Jv_NewStringUtf8Const): Likewise.
8142
8143 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
8144
8145 * include/jvm.h: (_Jv_GetNbArgs) added
8146 (_Jv_GetSafeArg) added
8147 (_Jv_SetArgs) added
8148 * prims.cc: (_Jv_GetNbArgs) implemented
8149 (_Jv_GetSafeArg) implemented
8150 (_Jv_SetArgs) implemented
8151 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8152 setting _Jv_argc and _Jv_argv
8153 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8154 instead of _Jv_argv
8155 * java/lang/natRuntime.cc: (insertSystemProperties) use
8156 _Jv_GetSafeArg() instead of _Jv_argv
8157
8158 2003-04-23 Tom Tromey <tromey@redhat.com>
8159
8160 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8161 required by this object. Search superclasses to find required
8162 alignment.
8163 (get_alignment_from_class): Use alignment of type as it appears
8164 in a struct.
8165 (ALIGNOF): New macro.
8166 (struct aligner): New helper structure.
8167
8168 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
8169
8170 * java/awt/Container.java (addImpl): Enable paint events if adding
8171 a lightweight to a heavyweight.
8172 (addNotify): Ensure that peer is created before
8173 addNotifyContainerChildren.
8174 (addNotifyContainerChildren): Enable paint events if a heavyweight
8175 container contains a lightweight.
8176
8177 2003-04-20 Tom Tromey <tromey@redhat.com>
8178
8179 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8180 java/io/DataInput.java, java/io/DataOutput.java: Imports from
8181 Classpath.
8182
8183 2003-04-19 Tom Tromey <tromey@redhat.com>
8184
8185 * java/sql/Date.java, java/sql/DriverManager.java,
8186 java/sql/Time.java, java/sql/Timestamp.java: New versions from
8187 Classpath.
8188
8189 * Makefile.in: Rebuilt.
8190 * Makefile.am (ordinary_java_source_files): Added new files.
8191 * java/security/AlgorithmParameterGenerator.java,
8192 java/security/AlgorithmParameters.java, java/security/Engine.java,
8193 java/security/Identity.java, java/security/IdentityScope.java,
8194 java/security/KeyFactory.java,
8195 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8196 java/security/MessageDigest.java, java/security/Policy.java,
8197 java/security/ProtectionDomain.java,
8198 java/security/SecureRandom.java, java/security/Security.java,
8199 java/security/Signature.java, java/security/SignatureSpi.java,
8200 java/security/SignedObject.java, java/security/Signer.java,
8201 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8202 java/security/spec/PSSParameterSpec.java,
8203 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8204 java/security/spec/RSAOtherPrimeInfo.java: New versions from
8205 Classpath.
8206
8207 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
8208
8209 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8210 (dispose): Null metrics.
8211 * gnu/awt/xlib/XToolkit.java (sync): Implement.
8212 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8213 finalize.
8214 (finalize): Call dispose.
8215 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8216 (gcCachedCount): New field.
8217 (finalize): New method.
8218 (putGCInCache): New method.
8219 (getGCFromCache): New method.
8220 * gnu/gcj/xlib/GC.java (GC): Make protected.
8221 (clone): Get new GC from cache if possible.
8222 (create): New static method.
8223 (dispose): Save old GC in cache.
8224 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8225 deleting.
8226 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8227 is null.
8228 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8229 * java/awt/Container.java (visitChild): Dispose gfx2 when
8230 finished.
8231
8232 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
8233
8234 * java/math/BigInteger.java (probablePrime): New.
8235 * java/math/BigDecimal.java (unscaledValue): New.
8236
8237 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
8238
8239 * java/io/File.java (getAbsolutePath): On Windows, take care
8240 of paths like "C:", "G:foo\bar", etc.
8241 (getName): Make it work correctly on Windows.
8242 (getParent): Make it work correctly on Windows. For UNIX,
8243 fix bug that causes "/" to be returned as the parent of "/",
8244 instead of null as returned by Sun's JRE.
8245
8246 * java/io/natFileWin32.cc: Change copyright owner to FSF.
8247
8248 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
8249
8250 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8251 inner class.
8252 (CACHE_SIZE_PER_DISPLAY): New field
8253 (fontMetricsCache): New field
8254 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8255 loading ISO10646-1 fonts.
8256
8257 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
8258
8259 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8260 characters.
8261 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8262 characters.
8263
8264 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
8265
8266 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8267 floating point.
8268
8269 2003-04-15 Jakub Jelinek <jakub@redhat.com>
8270
8271 * configure.host (*-linux*): Don't set slow_pthread_self if primary
8272 installed libpthread is either linuxthreads with floating stacks or
8273 NPTL.
8274
8275 2003-04-14 Tom Tromey <tromey@redhat.com>
8276
8277 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8278 of alignment.
8279
8280 2003-04-10 Tom Tromey <tromey@redhat.com>
8281
8282 * verify.cc (pop64): Removed.
8283 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
8284 exception if top-of-stack is narrow.
8285 (initialize_stack): Check to ensure that <init> is not static and
8286 <clinit> is.
8287
8288 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
8289
8290 * java/io/ObjectStreamException
8291 * java/io/FileFilter
8292 * java/io/FilenameFilter
8293 * java/io/ObjectInput
8294 * java/io/ObjectOutput
8295 * java/io/ObjectStreamConstants
8296 Minor doc fixes, format fixes, spelling corrections, etc.
8297 * java/io/DataInput
8298 Corrected code samples in Javadocs to match reality
8299 * java/io/DataOutput
8300 * java/io/ObjectInputValidation
8301 Major documentation fixes - all Javadocs re-written or updated
8302
8303 2003-04-06 Michael Koch <konqueror@gmx.de>
8304
8305 * java/net/URLConnection.java:
8306 Import classes directly.
8307 (URLConnection): Merged class documentation with classpath.
8308 (url): Moved, documentation from classpath added.
8309 (doInput): Moved, documentation from classpath added.
8310 (doOutput): Moved, documentation from classpath added.
8311 (allowUserInteraction): Moved.
8312 (useCaches): Moved, documentation from classpath added.
8313 (ifModifiedSince): Moved, documentation from classpath added.
8314 (connected): Moved, documentation from classpath added.
8315
8316 2003-04-06 Michael Koch <konqueror@gmx.de>
8317
8318 * java/io/FileInputStream.java
8319 (skip): Renamed some variables to match classpath, added
8320 checks from classpath.
8321
8322 2003-03-31 Michael Koch <konqueror@gmx.de>
8323
8324 * javax/swing/AbstractAction.java
8325 (AbstractAction): Reformatted.
8326 (serialVersionUID): New private member variable.
8327 * javax/swing/plaf/BorderUIResource.java
8328 (serialVersionUID): New private member variable.
8329 * javax/swing/plaf/basic/BasicLookAndFeel.java
8330 (serialVersionUID): New private member variable.
8331
8332 2003-03-31 Michael Koch <konqueror@gmx.de>
8333
8334 * java/sql/Date.java
8335 (valueOf): Deprecated, reformatted.
8336 (toString): Deprecated, reformatted.
8337 * java/sql/Time.java
8338 (valueOf): Deprecated, reformatted.
8339 (toString): Deprecated, reformatted.
8340
8341 2003-03-31 Michael Koch <konqueror@gmx.de>
8342
8343 * java/rmi/dgc/VMID.java
8344 (isUnique): Deprecated.
8345
8346 2003-03-31 Michael Koch <konqueror@gmx.de>
8347
8348 * java/io/File.java
8349 (separator): Merged documentation from classpath.
8350 (separatorChar): Merged documentation from classpath.
8351 (pathSeparator): Merged documentation from classpath.
8352 (pathSeparatorChar): Merged documentation from classpath.
8353 (path): Merged documentation from classpath.
8354 (canRead): Merged documentation from classpath.
8355 (canWrite): Merged documentation from classpath.
8356 (createNewFile): Merged documentation from classpath.
8357 (delete): Merged documentation from classpath.
8358 (equals): Merged documentation from classpath.
8359 (exists): Merged documentation from classpath.
8360 (File): Renamed p to name to match classpath, merged documentation
8361 from classpath.
8362 (getAbsolutePath): Merged documentation from classpath.
8363 (getCanonicalPath): Merged documentation from classpath.
8364 (getCanonicalFile): Merged documentation from classpath.
8365 (getName): Merged documentation from classpath.
8366 (getParent): Merged documentation from classpath.
8367 (getParentFile): Merged documentation from classpath.
8368 (getPath): Merged documentation from classpath.
8369 (hashCode): Merged documentation from classpath.
8370 (isAbsolute): Merged documentation from classpath.
8371 (isDirectory): Merged documentation from classpath.
8372 (isFile): Merged documentation from classpath.
8373 (isHidden): Merged documentation from classpath.
8374 (lastModified): Merged documentation from classpath.
8375 (length): Merged documentation from classpath.
8376 (list): Merged documentation from classpath.
8377 (listFiles): Merged documentation from classpath.
8378 (toString): Merged documentation from classpath.
8379 (toURL): Merged documentation from classpath.
8380 (mkdir): Merged documentation from classpath.
8381 (mkdirs): Merged documentation from classpath.
8382 (createTempFile): Merged documentation from classpath.
8383 (setReadOnly): Merged documentation from classpath.
8384 (listRoots): Merged documentation from classpath.
8385 (compareTo): Merged documentation from classpath.
8386 (renameTo): Merged documentation from classpath.
8387 (setLastModified): Merged documentation from classpath.
8388 * java/io/PrintStream.java
8389 (auto_flush): Merged documentation from classpath.
8390 (PrintStream): Merged documentation from classpath.
8391 (checkError): Merged documentation from classpath.
8392 (setError): Merged documentation from classpath.
8393 (close): Merged documentation from classpath.
8394 (flush): Merged documentation from classpath.
8395 (print): Merged documentation from classpath.
8396 (println): Merged documentation from classpath.
8397 (write): Renamed count to len to match classpath,
8398 merged documentation from classpath.
8399 * java/io/RandomAccessFile.java
8400 (readShort): Merged documentation from classpath.
8401 (readUnsignedByte): Merged documentation from classpath.
8402 (readUnsignedShort): Merged documentation from classpath.
8403 (readUTF): Merged documentation from classpath.
8404 (seek): Reformatted, merged documentation from classpath.
8405 (skipBytes): Renamed some variables to match classpath, reformatted,
8406 merged documentation from classpath.
8407 (write): Merged documentation from classpath.
8408 (writeBoolean): Merged documentation from classpath.
8409 (writeByte): Merged documentation from classpath.
8410 (writeShort): Merged documentation from classpath.
8411 (writeChar): Merged documentation from classpath.
8412 (writeInt): Merged documentation from classpath.
8413 (writeLong): Merged documentation from classpath.
8414 (writeFloat): Merged documentation from classpath.
8415 (writeDouble): Merged documentation from classpath.
8416 (writeBytes): Merged documentation from classpath.
8417 (writeChars): Merged documentation from classpath.
8418 (writeUTF): Reformatted.
8419 (getChannel): Reformatted.
8420
8421 2003-03-31 Michael Koch <konqueror@gmx.de>
8422
8423 * java/awt/font/TextAttribute.java
8424 (readResolve): Throws java.io.InvalidObjectException.
8425
8426 2003-03-31 Michael Koch <konqueror@gmx.de>
8427
8428 * java/rmi/server/LoaderHandler.java
8429 (loadClass): Deprecated.
8430 (getSecurityContext): Deprecated.
8431 * java/rmi/server/LogStream.java
8432 (getDefaultStream): Deprecated.
8433 (setDefaultStream): Deprecated.
8434 (getOutputStream): Deprecated.
8435 (setOutputStream): Deprecated.
8436 (write): Deprecated.
8437 (toString): Deprecated.
8438 (parseLevel): Deprecated.
8439 * java/rmi/server/Operation.java
8440 (Operation): Deprecated.
8441 (getOperation): Deprecated.
8442 (toString): Deprecated.
8443 * java/rmi/server/RemoteCall.java
8444 (getOutputStream): Deprecated.
8445 (releaseOutputStream): Deprecated.
8446 (getInputStream): Deprecated.
8447 (releaseInputStream): Deprecated.
8448 (getResultStream): Deprecated.
8449 (executeCall): Deprecated.
8450 (done): Deprecated.
8451 * java/rmi/server/RemoteRef.java
8452 (invoke): Deprecated.
8453 (newCall): Deprecated.
8454 (done): Deprecated.
8455 * java/rmi/server/RemoteStub.java
8456 (setRef): Deprecated.
8457 * java/rmi/server/Skeleton.java:
8458 No need to import java.lang.Exception explicitly.
8459 (dispatch): Deprecated.
8460 (getOperations): Deprecated.
8461
8462 2003-03-31 Michael Koch <konqueror@gmx.de>
8463
8464 * java/rmi/dgc/VMID.java,
8465 java/rmi/registry/RegistryHandler.java,
8466 java/rmi/server/LogStream.java,
8467 java/rmi/server/Operation.java,
8468 java/rmi/server/RemoteCall.java,
8469 java/rmi/server/RemoteRef.java,
8470 java/rmi/server/RemoteStub.java:
8471 Reformatted.
8472
8473 2003-03-31 Michael Koch <konqueror@gmx.de>
8474
8475 * javax/swing/AbstractCellEditor.java,
8476 javax/swing/AbstractListModel.java,
8477 javax/swing/ActionMap.java,
8478 javax/swing/BorderFactory.java,
8479 javax/swing/ButtonGroup.java,
8480 javax/swing/DefaultBoundedRangeModel.java,
8481 javax/swing/DefaultButtonModel.java,
8482 javax/swing/DefaultCellEditor.java,
8483 javax/swing/DefaultComboBoxModel.java,
8484 javax/swing/DefaultDesktopManager.java,
8485 javax/swing/DefaultListCellRenderer.java,
8486 javax/swing/DefaultSingleSelectionModel.java,
8487 javax/swing/InputMap.java,
8488 javax/swing/JComponent.java,
8489 javax/swing/JMenu.java,
8490 javax/swing/JSlider.java,
8491 javax/swing/KeyStroke.java,
8492 javax/swing/OverlayLayout.java,
8493 javax/swing/ScrollPaneLayout.java,
8494 javax/swing/SizeRequirements.java,
8495 javax/swing/UIManager.java,
8496 javax/swing/ViewportLayout.java,
8497 javax/swing/border/AbstractBorder.java,
8498 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8499 javax/swing/event/EventListenerList.java,
8500 javax/swing/table/AbstractTableModel.java,
8501 javax/swing/table/DefaultTableCellRenderer.java,
8502 javax/swing/table/DefaultTableColumnModel.java,
8503 javax/swing/table/DefaultTableModel.java,
8504 javax/swing/table/TableColumn.java,
8505 javax/swing/text/StyledEditorKit.java,
8506 javax/swing/tree/DefaultMutableTreeNode.java,
8507 javax/swing/tree/DefaultTreeModel.java,
8508 javax/swing/tree/DefaultTreeSelectionModel.java,
8509 javax/swing/tree/TreePath.java,
8510 javax/swing/undo/AbstractUndoableEdit.java,
8511 javax/swing/undo/StateEdit.java,
8512 javax/swing/undo/StateEditable.java,
8513 javax/swing/undo/UndoableEditSupport.java:
8514 Merges from classpath.
8515
8516 2003-03-30 Tom Tromey <tromey@redhat.com>
8517
8518 * java/lang/String.java (data, boffset, count): Documented.
8519 (String(byte[],String)): Reformatted.
8520 (String(byte[])): Likewise.
8521 (lastIndexOf(int)): Likewise.
8522 (lastIndexOf(String)): Likewise.
8523 (substring(int)): Renamed argument to match Classpath.
8524 (String(StringBuffer)): Don't share buffer if it is nearly empty.
8525
8526 * java/lang/String.java: Miscellaneous minor formatting changes
8527 to match Classpath more closely.
8528
8529 2003-03-29 Eric Blake <ebb9@email.byu.edu>
8530 Tom Tromey <tromey@redhat.com>
8531
8532 * java/lang/natString.cc (hashCode): Use cachedHashCode.
8533 (init()): Removed.
8534 (charAt): Put index in exception.
8535 (contentEquals): New method.
8536 Include StringBuffer.h.
8537 * java/lang/String.java (cachedHashCode): New field.
8538 (String()): Follow classpath implementation.
8539 (init()): Removed.
8540 (contentEquals): Declare.
8541 (subSequence): Don't declare IndexOutIfBoundsException in throws
8542 clause.
8543 (matches, replaceFirst, replaceAll, split): New methods from
8544 Classpath.
8545
8546 2003-03-29 Tom Tromey <tromey@redhat.com>
8547
8548 * java/lang/String.java: Reordered to follow Classpath; merged in
8549 javadoc.
8550
8551 * java/text/MessageFormat.java: Removed some whitespace.
8552
8553 * Makefile.in: Rebuilt.
8554 * Makefile.am (awt_java_source_files): Added new files.
8555 * gnu/javax/rmi/PortableServer.java,
8556 gnu/javax/rmi/CORBA/DelegateFactory.java,
8557 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8558 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8559 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8560 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8561 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8562 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8563 javax/rmi/PortableRemoteObject.java,
8564 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8565 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8566 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8567 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8568 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8569 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8570
8571 * java/lang/natClass.cc (newInstance): Put method name in
8572 exception.
8573 (getConstructor): Likewise.
8574 (getDeclaredConstructor): Likewise.
8575 (getPrivateMethod): Likewise.
8576
8577 2003-03-28 Tom Tromey <tromey@redhat.com>
8578
8579 * java/lang/reflect/Proxy.java: New version from Classpath.
8580 * java/lang/Package.java: New version from Classpath.
8581
8582 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
8583
8584 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8585 * configure: Regenerate.
8586
8587 2003-03-28 Michael Koch <konqueror@gmx.de>
8588
8589 * java/io/File.java:
8590 Import needed classes instead of whole packages, merged class
8591 documentation with classpath, moved constants and variables to top of
8592 class.
8593 * java/io/PrintStream.java:
8594 Merged class documentation with classpath, moved constants and
8595 variables to top of class.
8596 * java/io/RandomAccessFile.java
8597 (RandomAccessFile): Merged with classpath.
8598 (read): Merged with classpath).
8599 (read*): Reformatted.
8600
8601 2003-03-28 Michael Koch <konqueror@gmx.de>
8602
8603 * java/io/FileDescriptor.java
8604 (finalize): Throws Throwable, not IOException.
8605 * java/io/ObjectOutputStream.java
8606 (PutField.put): Doesnt throws anything.
8607
8608 2003­03-28 Michael Koch <konqueror@gmx.de>
8609
8610 * java/io/FileOutputStream.java:
8611 Merged class documentation and authors with classpath.
8612 (FileOutputStream): Partly merged with classpath.
8613 (write): Merged with classpath.
8614 (getChannel): Make it synchronized instead of explicit block in this
8615 method.
8616 * java/io/RandomAccessFile.java:
8617 Merged class documentation and authors with classpath.
8618
8619 2003-03-26 Tom Tromey <tromey@redhat.com>
8620
8621 * java/lang/natRuntime.cc (insertSystemProperties): Set
8622 gnu.classpath.home.url.
8623 * Makefile.in: Rebuilt.
8624 * Makefile.am: Define LIBDIR.
8625
8626 2003-03-25 Michael Koch <konqueror@gmx.de>
8627
8628 * java/io/FileInputStream.java
8629 (read): Renamed b to buf and off to offset.
8630 * java/io/FileOutputStream.java
8631 (ch): Documentation added.
8632 (FileOutputStream): Documentation added.
8633 (getFD): Documentation added.
8634 (write): Documentation added.
8635 (close): Documentation added.
8636 (getChannel): Documentation added.
8637
8638 2003-03-24 Michael Koch <konqueror@gmx.de>
8639
8640 * java/io/DataOutputStream.java
8641 (write): Merged from classpath.
8642 * java/io/File.java:
8643 Merged copyrigth with classpath.
8644 * java/io/FileInputStream.java
8645 (getChannel): Made it synchronized instead of using a synchronized
8646 block.
8647 * java/io/FileOutputStream.java: Reformatted.
8648 * java/io/InputStreamReader.java
8649 (InputStreamReader): Renamed enc to encoding_name.
8650 (close): Merged documentation from classpath.
8651 (getEncoding): Merged documentation from classpath.
8652 (ready): Merged documentation from classpath.
8653 (read): Merged documentation from classpath.
8654 * java/io/LineNumberReader.java
8655 (lineNumber): Made it private.
8656 (LineNumberReader): Use Constant instead of a direct value.
8657 * java/io/OutputStreamWriter.java
8658 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8659 documentation from classpath.
8660 (close): Merged documentation from classpath.
8661 (flush): Merged documentation from classpath.
8662 (write): Merged documentation from classpath.
8663 * java/io/PrintStream.java: Reformatted.
8664
8665 2003-03-24 Michael Koch <konqueror@gmx.de>
8666
8667 * javax/swing/text/ComponentView.java
8668 (getComponent): Must be final.
8669 * javax/swing/tree/DefaultTreeCellRenderer.java:
8670 Reformatted.
8671 * javax/swing/undo/StateEditable.java:
8672 Reformatted.
8673
8674 2003-03-24 Michael Koch <konqueror@gmx.de>
8675
8676 * java/rmi/activation/ActivationInstantiator.java:
8677 Reformatted.
8678 * java/rmi/activation/Activator.java:
8679 Reformatted.
8680 * java/rmi/registry/RegistryHandler.java:
8681 Remerged from classpath.
8682
8683 2003-03-24 Michael Koch <konqueror@gmx.de>
8684
8685 * java/util/Date.java:
8686 Fixed documentation starting tag to make javadoc happy.
8687 * java/util/regex/Pattern.java
8688 (Pattern): Implements Serializable.
8689 * java/util/PatternSyntaxException.java
8690 (serialVersionUID): New member variable.
8691
8692 2003-03-24 Michael Koch <koqnueror@gmx.de>
8693
8694 * java/awt/ContainerOrderFocusTraversalPolicy.java
8695 (getFirstComponent): Implemented.
8696 (getLastComponent): Implemented.
8697 (getDefaultComponent): Implemented.
8698 (setImplicitDownCycleTraversal): Fixed implementation.
8699 * java/awt/Robot.java
8700 (Robot): Added documentation.
8701 * java/awt/Toolkit.java
8702 (getFontList): Deprecated.
8703 (getFontMetrics): Deprecated.
8704 (getPrintJob): Added documentation.
8705 (getSystemSelection): Added documentation.
8706 (getLockingKeyState): Added documentation.
8707 (setLockingKeyState): Added documentation.
8708 (createCustomCursor): Added documentation.
8709 (getBestCursorSize): Added documentation.
8710 (getMaximumCursorColors): Added documentation.
8711 (isFrameStateSupported): Added documentation.
8712
8713 2003-03-24 Michael Koch <konqueror@gmx.de>
8714
8715 * java/io/RandomAccessFile.java:
8716 More little merges with classpath. No code changes.
8717
8718 2003-03-24 Michael Koch <konqueror@gmx.de>
8719
8720 * java/net/natInetAddressNoNet.cc:
8721 Include stddef.h.
8722 * java/net/natPlainDatagramSocketImplNoNet.cc:
8723 Fixed inlcude of java/net/DatagramPacket.h.
8724 * java/net/natPlainSocketImplNoNet.cc:
8725 Include some missing classes.
8726
8727 2003-03-24 Michael Koch <konqueror@gmx.de>
8728
8729 * java/awt/dnd/DropTarget.java
8730 (DropTargetAutoScroller): According to the online documentation, this
8731 is protected, but in reality it is public.
8732 * java/awt/dnd/DropTargetContext.java
8733 (TransferableProxy): According to the online documentation, this
8734 is protected, but in reality it is public.
8735
8736 2003-03-24 Michael Koch <konqueror@gmx.de>
8737
8738 * java/io/DataInputStream.java
8739 (): Wrapped documentation line.
8740 (): Fixed @return tag.
8741 * java/io/DataOutputStream.java
8742 (written): Moved to top of class.
8743 (all methods): Merged documentation from classpath.
8744 * java/io/File.java:
8745 Merged copyright year with classpath.
8746 * java/io/FileInputStream.java
8747 (all methods): Merged documentation from classpath.
8748 * java/io/LineNumberReader.java
8749 (getLineNumber): Fixed @return tag.
8750 * java/io/ObjectInputStream.java.
8751 Reformatted.
8752 * java/io/ObjectOutputStream.java:
8753 Reformatted, fixed some @see tags.
8754 * java/io/OutputStreamWriter.java:
8755 Deleted empty line.
8756 * java/io/Writer.java:
8757 Reformatted.
8758
8759 2003-03-24 Michael Koch <konqueror@gmx.de>
8760
8761 * java/awt/Frame.java
8762 (DEFAULT_CURSOR): Fixed @deprecated tag.
8763 (setCursor): Fixed @deprecated tag.
8764
8765 2003-03-24 Michael Koch <konqueror@gmx.de>
8766
8767 * java/beans/beancontext/BeanContextEvent.java:
8768 Reformated.
8769
8770 2003-03-23 Eric Blake <ebb9@email.byu.edu>
8771
8772 * java/lang/natStringBuffer.cc (regionMatches): New function.
8773 * java/lang/String.java (count): Now package-private.
8774 * java/lang/StringBuffer.java: Merged with Classpath.
8775
8776 2003-03-23 Michael Koch <konqueror@gmx.de>
8777
8778 * java/io/BufferedOutputStream.java:
8779 Reformated.
8780 * java/io/BufferedReader.java:
8781 Reformated.
8782 * java/io/ByteArrayOutputStream.java
8783 (size): Fixed @see tag.
8784 * java/io/CharArrayWriter.java
8785 (size): Fixed @see tag.
8786 * java/io/DataInput.java:
8787 Reformated.
8788 * java/io/DataOutput.java:
8789 Reformated.
8790 * java/io/DataOutputStream.java:
8791 Merged copyright years with classpath.
8792 * java/io/Externalizable.java:
8793 Reformated.
8794 * java/io/FileFilter.java:
8795 Reformated.
8796 * java/io/FileInputStream.java:
8797 Merged copyright years with classpath.
8798 * java/io/FileOutputStream.java:
8799 Merged copyright years with classpath.
8800 * java/io/FilePermission.java
8801 (FilePermission): Replaced @XXX with FIXME:.
8802 * java/io/FileWriter.java:
8803 Reformated.
8804 * java/io/FilenameFilter.java:
8805 Reformated.
8806 * java/io/FilterInputStream.java:
8807 Reformated.
8808 * java/io/FilterOutputStream.java:
8809 Reformated.
8810 * java/io/FilterReader.java:
8811 Reformated.
8812 * java/io/FilterWriter.java:
8813 Reformated.
8814 * java/io/LineNumberInputStream.java
8815 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8816 happy.
8817 (getLineNumber): Fixed @return tag.
8818 * java/io/ObjectInput.java:
8819 Reformated.
8820 * java/io/ObjectOutput.java:
8821 Reformated.
8822 * java/io/ObjectStreamClass.java:
8823 Reformated.
8824 * java/io/PrintStream.java:
8825 Merged copyright years with classpath.
8826 * java/io/PushbackReader.java
8827 (PushbackReader): Replaced @code with @param.
8828 * java/io/SerializablePermission.java:
8829 Reformated.
8830 * java/io/StreamTokenizer.java
8831 (resetSyntax): Fixed @see tag.
8832
8833 2003-03-22 Richard Henderson <rth@redhat.com>
8834
8835 * sysdep/ia64/locks.h: Include ia64intrin.h.
8836 (compare_and_swap): Use __sync_bool_compare_and_swap.
8837 (compare_and_swap_release): Expose ar.ccv assignment.
8838
8839 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
8840
8841 * include/posix.h: Add suffix for darwin dynamic libraries.
8842
8843 2003-03-21 Michael Koch <konqueror@gmx.de>
8844
8845 * javax/swing/Action.java
8846 (ACCELERATOR_KEY): New constant.
8847 (ACTION_COMMAND_KEY): Likewise.
8848 (MNEMONIC_KEY): Likewise.
8849 * javax/swing/UnsupportedLookAndFeelException.java
8850 (UnsupportedLookAndFeelException): Must be public.
8851 * javax/swing/WindowConstants.java
8852 (EXIT_ON_CLOSE): New constant.
8853 * javax/swing/text/BadLocationException.java
8854 (offset): New member variable.
8855 (BadLocationException): New implementation, documentation added.
8856 (offsetRequested): New method.
8857 * javax/swing/text/Caret.java:
8858 Reformated.
8859 * javax/swing/text/Document.java:
8860 Reformated.
8861
8862 2003-03-21 Michael Koch <konqueror@gmx.de>
8863
8864 * java/rmi/activation/Activatable.java
8865 (serialVersionUID): New member variable.
8866 * java/rmi/activation/ActivationGroup.java
8867 (serialVersionUID): New member variable.
8868 * java/rmi/activation/ActivationGroupDesc.java
8869 (serialVersionUID): New member variable.
8870 * java/rmi/registry/Registry.java:
8871 Reformated.
8872 (Registry): Deprecated.
8873 * java/rmi/server/LoaderHandler.java
8874 Reformated.
8875 (LoaderHandler): Deprecated.
8876 * java/rmi/server/LogStream.java
8877 Reformated.
8878 (LogStream): Deprecated.
8879 * java/rmi/server/Operation.java
8880 (Operation): Deprecated.
8881 * java/rmi/server/RMIFailureHandler.java:
8882 Reformated.
8883 * java/rmi/server/RMISocketFactory.java:
8884 Reformated.
8885 * java/rmi/server/RemoteCall.java
8886 (RemoteCall): Deprecated.
8887 * java/rmi/server/RemoteStub.java:
8888 Reformated.
8889 * java/rmi/server/Skeleton.java
8890 Reformated.
8891 (Skeleton): Deprecated.
8892
8893 2003-03-21 Michael Koch <konqueror@gmx.de>
8894
8895 * java/io/LineNumberReader.java
8896 (LineNumberReader): Merged documentation with classpath.
8897 (getLineNumber): Likewise.
8898 (setLineNumber): Likewise.
8899 (mark): Likewise.
8900 (reset): Likewise.
8901 (read): Likewise.
8902 (readLine): Likewise.
8903 (skip): Likewise.
8904
8905 2003-03-21 Michael Koch <konqueror@gmx.de>
8906
8907 * java/rmi/RMISecurityManager.java
8908 (checkAccept): Removed.
8909 (checkAccess): Likewise.
8910 (checkAccess): Likewise.
8911 (checkAwtEventQueueAccess): Likewise.
8912 (checkConnect): Likewise.
8913 (checkCreateClassLoader): Likewise.
8914 (checkDelete): Likewise.
8915 (checkExec): Likewise.
8916 (checkExit): Likewise.
8917 (checkLink): Likewise.
8918 (checkListen): Likewise.
8919 (checkMemberAccess): Likewise.
8920 (checkMulticast): Likewise.
8921 (checkPackageAccess): Likewise.
8922 (checkPackageDefinition): Likewise.
8923 (checkPermission): Likewise.
8924 (checkPrintJobAccess): Likewise.
8925 (checkPropertiesAccess): Likewise.
8926 (checkPropertyAccess): Likewise.
8927 (checkRead): Likewise.
8928 (checkSecurityAccess): Likewise.
8929 (checkSetFactory): Likewise.
8930 (checkSystemClipboardAccess): Likewise.
8931 (checkTopLevelWindow): Likewise.
8932 (checkWrite): Likewise.
8933
8934 2003-03-20 Michael Koch <konqueror@gmx.de>
8935
8936 * gnu/java/nio/FileChannelImpl.java
8937 (address): Removed.
8938 (map_address): New member variable.
8939 (length): Make it package private.
8940 (fd): Make it package private.
8941 (buf): Make it package private.
8942 (file_obj): Make it package private.
8943 (FileChannelImpl): New constructor.
8944 (nio_mmap_file): Use RawData instead of long.
8945 (nio_munmap_file): Use RawData instead of long.
8946 (nio_msync): Use RawData instead of long.
8947 (implCloseChannel): New implementation using map_address.
8948 (read): Reformated.
8949 (map): Implemented.
8950 (create_direct_mapped_buffer): Implemented, use RawData, throws
8951 IOException.
8952 (force): Use map_address instead of address.
8953 * gnu/java/nio/MappedByteFileBuffer.java
8954 (address): Removed.
8955 (map_address): New member variable.
8956 (MappedByteFileBuffer): Use map_address instead of address, reformated.
8957 (several methods): Use map_address instead of address, replaced long
8958 with RawData where appropriate.
8959 * gnu/java/nio/natFileChannelImpl.cc
8960 (nio_mmap_file): Replaced long with RawData.
8961 (nio_munmap_file): Replaced long with RawData.
8962 (nio_msync): Replaced long with RawData.
8963 * gnu/java/nio/natMappedByteFileBuffer.cc
8964 (several methods): Replaced long with RawData where appropriate.
8965
8966 2003-03-20 Michael Koch <konqueror@gmx.de>
8967
8968 * java/net/InetAddress.java,
8969 java/net/JarURLConnection.java,
8970 java/net/PlainDatagramSocketImpl.java,
8971 java/net/PlainSocketImpl.java,
8972 java/net/URLConnection.java:
8973 Merged copyright statements with classpath for easier merging.
8974
8975 2003-03-20 Michael Koch <konqueror@gmx.de>
8976
8977 * java/io/FileInputStream.java
8978 (getChannel): New implementation.
8979 * java/io/FileOutputStream.java
8980 (ch): New member variable.
8981 (getChannel): Implemented.
8982 * java/io/RandomAccessFile.java
8983 (RandomAccessFile): Throws FileNotFoundException instead of
8984 IOException.
8985 (getChannel): New method.
8986 (ch): New member variable.
8987
8988 2003-03-20 Michael Koch <konqueror@gmx.de>
8989
8990 * java/io/DataOutputStream.java,
8991 java/io/File.java,
8992 java/io/FileInputStream.java,
8993 java/io/FileOutputStream.java,
8994 java/io/InputStreamReader.java,
8995 java/io/LineNumberReader.java,
8996 java/io/OutputStreamWriter.java,
8997 java/io/PrintStream.java,
8998 java/io/RandomAccessFile.java:
8999 Merged copyright statements with classpath for easier merging.
9000
9001 2003-03-19 Michael Koch <konqueror@gmx.de>
9002
9003 * java/lang/Process.java:
9004 Merged from classpath.
9005
9006 2003-03-19 Michael Koch <konqueror@gmx.de>
9007
9008 * java/io/FileOutputStream.java
9009 (FileOutputStream): New constructor, merged from classpath.
9010 * java/io/FileWriter.java
9011 (FileWriter): New constructor, merged from classpath.
9012
9013 2003-03-18 Michael Koch <konqueror@gmx.de>
9014
9015 * java/awt/ScrollPane.java
9016 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9017 (getViewportSize): Likewise.
9018 (addNotify): Likewise.
9019 (removeNotify): Likewise.
9020 * java/awt/ScrollPaneAdjustable.java
9021 (ScrollPaneAdjustable): No longer extends Scrollbar.
9022 * java/beans/beancontext/BeanContextServices.java:
9023 Reformated.
9024 (getService): Added throws TooManyListenersException;
9025 * java/beans/beancontext/BeanContextServicesSupport.java:
9026 Reformated.
9027
9028 2003-03-18 Michael Koch <konqueror@gmx.de>
9029
9030 * java/io/BufferedOutputStream.java,
9031 java/io/DataInput.java,
9032 java/io/DataInputStream.java,
9033 java/io/DataOutput.java,
9034 java/io/Externalizable.java:
9035 More merges from classpath.
9036
9037 2003-03-18 Michael Koch <konqueror@gmx.de>
9038
9039 * configure.in: Fixed links to platform dependant java.net files.
9040 * configure: Regenerated.
9041 * java/net/natInetAddress.cc,
9042 java/net/natNetworkInterface.cc,
9043 java/net/natPlainDatagramSocketImpl.cc,
9044 java/net/natPlainSocketImpl.cc:
9045 Removed.
9046
9047 2003-03-18 Michael Koch <konqueror@gmx.de>
9048
9049 * configure.in: Create links to architecture dependent files,
9050 introduced PLATFORMNET variable (set to NoNet for newlib usage).
9051 * configure: Regenerated.
9052 * java/net/natInetAddressNoNet.cc,
9053 java/net/natInetAddressPosix.cc,
9054 java/net/natInetAddressWin32.cc,
9055 java/net/natNetworkInterfaceNoNet.cc,
9056 java/net/natNetworkInterfacePosix.cc,
9057 java/net/natNetworkInterfaceWin32.cc,
9058 java/net/natPlainDatagramSocketImplNoNet.cc,
9059 java/net/natPlainDatagramSocketImplPosix.cc,
9060 java/net/natPlainDatagramSocketImplWin32.cc,
9061 java/net/natPlainSocketImplNoNet.cc,
9062 java/net/natPlainSocketImplPosix.cc,
9063 java/net/natPlainSocketImplWin32.cc: New files.
9064
9065 2003-03-18 Michael Koch <konqueror@gmx.de>
9066
9067 * java/io/BufferedReader.java,
9068 java/io/BufferedWriter.java,
9069 java/io/ByteArrayOutputStream.java,
9070 java/io/FileFilter.java,
9071 java/io/FilePermission.java,
9072 java/io/FileReader.java,
9073 java/io/FileWriter.java,
9074 java/io/FilenameFilter.java,
9075 java/io/FilterInputStream.java,
9076 java/io/FilterOutputStream.java,
9077 java/io/FilterReader.java,
9078 java/io/FilterWriter.java,
9079 java/io/ObjectInput.java,
9080 java/io/ObjectInputValidation.java,
9081 java/io/ObjectOutput.java,
9082 java/io/ObjectStreamField.java,
9083 java/io/PipedInputStream.java,
9084 java/io/PipedReader.java,
9085 java/io/PrintWriter.java,
9086 java/io/PushbackReader.java,
9087 java/io/Reader.java,
9088 java/io/SerializablePermission.java,
9089 java/io/StringReader.java,
9090 java/io/Writer.java:
9091 Merged from classpath.
9092
9093 2003-03-17 Michael Koch <konqueror@gmx.de>
9094
9095 * java/awt/ScrollPaneAdjustable.java:
9096 Compile fixes.
9097
9098 2003-03-17 Michael Koch <konqueror@gmx.de>
9099
9100 * java/net/DatagramSocket.java
9101 (connect): Fixed comment.
9102 * java/nio/ByteBuffer.java
9103 (hasArray): Fixed comment.
9104
9105 2003-03-17 Michael Koch <konqueror@gmx.de>
9106
9107 * java/beans/Beans.java:
9108 Explicitely import classes not packages.
9109 * java/beans/FeatureDescriptor.java
9110 (preferred): New member variable.
9111 (isPreferred): New method.
9112 (setPreferred): New method.
9113 * java/beans/PropertyEditorManager.java:
9114 Explicitely import used classes.
9115 * java/beans/beancontext/BeanContextChild.java:
9116 Added line wrapping.
9117 * java/beans/beancontext/BeanContextChildSupport.java:
9118 Reindented.
9119 * java/beans/beancontext/BeanContextEvent.java:
9120 Reindented.
9121
9122 2003-03-17 Michael Koch <konqueror@gmx.de>
9123
9124 * java/awt/Dialog.java
9125 (Dialog): New constructor, changed implementations, added
9126 documentation.
9127 * java/awt/ScrollPaneAdjustable.java
9128 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9129 Serializable.
9130 (serialVersionUID): New member variable.
9131 (sp): New member variable.
9132 (orientation): New member variable.
9133 (value): New member variable.
9134 (minimum): New member variable.
9135 (maximum): New member variable.
9136 (visibleAmount): New member variable.
9137 (unitIncrement): New member variable.
9138 (blockIncrement): New member variable.
9139 (AdjustmentListener): New member variable.
9140 (ScrollPaneAdjustable): New implementation.
9141 (addAdjustmentListener): New method.
9142 (removeAdjustmentListener): New method.
9143 (getAdjustmentListeners): New method.
9144 (getBlockIncrement): New method.
9145 (getMaximum): New method.
9146 (getMinimum): New method.
9147 (getOrientation): New method.
9148 (getUnitIncrement): New method.
9149 (getValue): New method.
9150 (getVisibleAmount): New method.
9151 (setBlockIncrement): New method.
9152 (setMaximum): Implemented.
9153 (setMinimum): Implemented.
9154 (setUnitIncrement): New method.
9155 (setValue): New method.
9156 (setVisibleAmount): Implemented.
9157 (paramString): New stubbed method.
9158 * java/awt/Window.java
9159 (show): Call setVisible().
9160 (hide): Call setVisible().
9161 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9162 and WINDOW_STATE_CHANGED.
9163 (processWindowFocusEvent): New method.
9164 (processWindowStateEvent): New method.
9165 (postEvent): Deprecated.
9166 (applyResourceBundle): Deprecated.
9167 * java/awt/datatransfer/DataFlavor.java
9168 (DataFlavor): Doesn't thow ClassNotFoundException.
9169
9170 2003-03-17 Michael Koch
9171
9172 * javax/print/attribute/Attribute.java,
9173 javax/print/attribute/AttributeSet.java,
9174 javax/print/attribute/PrintRequestAttributeSet.java:
9175 New files.
9176 * Makefile.am
9177 (javax_source_files): Added new files:
9178 javax/print/attribute/Attribute.java
9179 javax/print/attribute/AttributeSet.java
9180 javax/print/attribute/PrintRequestAttributeSet.java
9181 * Makefile.in: Regenerated.
9182
9183 2003-03-17 Michael Koch
9184
9185 * javax/print/attribute/Attribute.java,
9186 javax/print/attribute/AttributeSet.java,
9187 javax/print/attribute/PrintRequestAttributeSet.java:
9188 New files.
9189 * Makefile.am
9190 (awt_java_source_files): Added new files:
9191 javax/print/attribute/Attribute.java
9192 javax/print/attribute/AttributeSet.java
9193 javax/print/attribute/PrintRequestAttributeSet.java
9194 * Makefile.in: Regenerated.
9195
9196 2003-03-16 Tom Tromey <tromey@redhat.com>
9197
9198 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9199 Include platform.h.
9200 * java/lang/natRuntime.cc (insertSystemProperties): Use
9201 _Jv_platform_path_separator.
9202 (nativeGetLibname): Use _Jv_platform_file_separator.
9203 (_load): Use _Jv_platform_onload_names.
9204 (onload_names): New global.
9205 * include/win32.h (_Jv_platform_file_separator): New define.
9206 (_Jv_platform_path_separator): Likewise.
9207 (_Jv_platform_onload_names): Likewise.
9208 (_Jv_platform_ffi_abi): Likewise.
9209 * include/posix.h (_Jv_platform_file_separator): New define.
9210 (_Jv_platform_path_separator): Likewise.
9211 (_Jv_platform_onload_names): Likewise.
9212 (_Jv_platform_ffi_abi): Likewise.
9213
9214 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
9215
9216 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9217
9218 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
9219
9220 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9221 hierarchy loop.
9222 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9223 list to Object,ObjectStreamClass, moved callReadMethod code up into
9224 readObject and added Class argument to all setXxxField calls.
9225 (callReadMethod): Changed Class argument to ObjectStreamClass to be
9226 consistent with ObjectOutputStream and to facilitate caching the
9227 Method in the future.
9228 (setBooleanField): Added Class argument.
9229 (setByteField): Likewise.
9230 (setCharField): Likewise.
9231 (setDoubleField): Likewise.
9232 (setFloatField): Likewise.
9233 (setIntField): Likewise.
9234 (setLongField): Likewise.
9235 (setShortField): Likewise.
9236 (setObjectField): Likewise.
9237 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9238 class hierarchy loop.
9239 (defaultWriteObject): Call writeFields with new argument list.
9240 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9241 list to Object,ObjectStreamClass, moved callWriteMethod up into
9242 writeObject and added Class argument to all getXxxField calls.
9243 (callWriteMethod): Added ObjectStreamClass argument to be able to
9244 get the proper class to call getMethod on (each class can have (or
9245 not have) its own writeObject method).
9246 (getBooleanField): Added Class argument.
9247 (getByteField): Likewise.
9248 (getCharField): Likewise.
9249 (getDoubleField): Likewise.
9250 (getFloatField): Likewise.
9251 (getIntField): Likewise.
9252 (getLongField): Likewise.
9253 (getShortField): Likewise.
9254 (getObjectField): Likewise.
9255 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9256 facilitate caching the Method object in the future.
9257
9258 2003-03-12 Andreas Schwab <schwab@suse.de>
9259
9260 * configure.in: Avoid trailing /. in toolexeclibdir.
9261 * configure: Rebuilt.
9262
9263 2003-03-11 Michael Koch <konqueror@gmx.de>
9264
9265 * gnu/java/nio/ByteBufferImpl.java
9266 (putInt): Use limit() instead of limit.
9267 * gnu/java/nio/CharBufferImpl.java
9268 (slice): Fixed implementation.
9269 (subSequence): Better bounds checking.
9270 * gnu/java/nio/MappedByteFileBuffer.java:
9271 Import all needed classes directly.
9272 * java/nio/ByteBuffer.java
9273 (hashCode): New dummy method.
9274 * java/nio/CharBuffer.java
9275 (array_offset): New member variable.
9276 (hasArray): Fixed documentation.
9277 (arrayOffset): Return array_offset.
9278
9279 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
9280
9281 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9282 setter; made return value of getter const char* instead of char*
9283 * prims.cc: removed all references to _Jv_ThisExecutable().
9284 These are in the platform-specific sections now.
9285 * posix.cc: define platform-specific _Jv_ThisExecutable().
9286 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9287 * win32.cc: define platform-specific _Jv_ThisExecutable()
9288 using GetModuleFilename()
9289 * java/lang/natRuntime.cc: set gnu.gcj.progname property
9290 to argv[0] instead of _Jv_ThisExecutable()
9291
9292 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
9293
9294 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9295 that is set if we are using addr2name.awk instead of addr2line.
9296 (NameFinder): Set usingAddr2name if using addr2name.awk.
9297 (getExternalLabel): New native method to convert a method
9298 name to an external label.
9299 (lookup): Convert name given by addr2line to an external label
9300 before demangling.
9301
9302 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9303 constant representing the prefix attached to method names to
9304 convert them to an external label.
9305 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
9306 using LABEL_PREFIX.
9307
9308 2003-03-10 Tom Tromey <tromey@redhat.com>
9309
9310 * Makefile.in: Rebuilt.
9311 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9312 (JC1FLAGS): Removed -Wno-deprecated.
9313
9314 2003-03-10 Michael Koch <konqueror@gmx.de>
9315
9316 * java/nio/ByteOrder.java
9317 (nativeOrder): Working implementation, added documentation.
9318 (toString): Added documentation.
9319
9320 2003-03-10 Michael Koch <konqueror@gmx.de>
9321
9322 * java/net/DatagramSocket.java,
9323 java/net/MulticastSocket.java,
9324 java/net/Socket.java,
9325 java/net/URL.java,
9326 java/net/URLConnection.java:
9327 Fixed some documentation tags to make javadoc and friends happy.
9328
9329 2003-03-10 Michael Koch <koqnueror@gmx.de>
9330
9331 * java/beans/beancontext/BeanContextServicesSupport.java,
9332 java/beans/beancontext/BeanContextSupport.java: New files.
9333 * Makefile.am
9334 (awt_source_files): Added new files.
9335 * Makefile.in: Regenerated.
9336
9337 2003-03-10 Michael Koch <konqueror@gmx.de>
9338
9339 * java/awt/FocusTraversalPolicy.java
9340 (FocusTraversalPolicy): Documentation added.
9341 (getComponentAfter): Documentation added.
9342 (getComponentBefore): Documentation added.
9343 (getFirstComponent): Documentation added.
9344 (getLastComponent): Documentation added.
9345 (getDefaultComponent): Documentation added.
9346 (getInitialComponent): Documentation added.
9347 * java/awt/ScrollPaneAdjustable.java
9348 (sp): New member variable.
9349 (orientation): New member variable.
9350 (value): New member variable.
9351 (minimum): New member variable.
9352 (maximum): New member variable.
9353 (visibleAmount): New member variable.
9354 (unitIncrement): New member variable.
9355 (blockIncrement): New member variable.
9356 (adjustmentListener): New member variable.
9357 (ScrollPaneAdjustable): Rewrote.
9358 (addAdjustmentListener): New method.
9359 (removeAdjustmentListener): New method.
9360 (getAdjustmentListeners): New method.
9361 (getBlockIncrement): New method.
9362 (getMaximum): New method.
9363 (getMinimum): New method.
9364 (getOrientation): New method.
9365 (getUnitIncrement): New method.
9366 (getValue): New method.
9367 (getVisibleAmount): New method.
9368 (setBlockIncrement): New method.
9369 (setUnitIncrement): New method.
9370 (setMaximum): Implemented.
9371 (setMinimum): Implemented.
9372 (setValue): New method.
9373 (setVisibleAmount): Implemented.
9374 (paramString): New method.
9375 * java/awt/Window.java
9376 (show): Use setVisible(true) instead of super.show().
9377 (hide): Use sevVisible(false) instead of super.hide().
9378 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9379 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9380 (postEvent): Deprecated.
9381 (applyResourceBundle): Deprecated.
9382 (processWindowFocusEvent): New method.
9383 (processWindowStateEvent): New method.
9384 * java/awt/datatransfer/DataFlavor.java: Reindented.
9385 * java/awt/font/TextHitInfo.java
9386 (charIndex): New member variable.
9387 (leadingEdge): New member variable.
9388 (TextHitInfo): New constructor.
9389 (getCharIndex): Implemented.
9390 (isLeadingEdge): Implemented.
9391 (getInsertionIndex): Implemented.
9392 (hashCode): Access charIndex directly.
9393 (equals): Reformated.
9394 (leading): Implemented.
9395 (trailing): Implemented.
9396 (beforeOffset): Implemented.
9397 (afterOffset): Implemented.
9398 (getOtherHit): Implemented.
9399 (getOffsetHit): Implemented.
9400 (toString): Implemented.
9401 * java/awt/image/BufferedImage.java
9402 (BufferedImage): Implements WritableRenderedImage.
9403 (observers): New member variable.
9404 (addTileObserver): New method.
9405 (removeTileObserver): New method.
9406
9407 2003-03-09 Tom Tromey <tromey@redhat.com>
9408
9409 PR libgcj/9934:
9410 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9411 to lseek. Return 0 if we can't compute the value.
9412
9413 2003-03-03 Michael Koch <konqueror@gmx.de>
9414
9415 * java/net/NetworkInterface.java: Merged with classpath.
9416
9417 2003-03-03 Tom Tromey <tromey@redhat.com>
9418
9419 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9420 of bytecode.
9421 (handle_ret_insn): Fail if returning to jsr that appears at end of
9422 bytecode.
9423
9424 2003-03-03 Michael Koch <konqueror@gmx.de>
9425
9426 * Makefile.am
9427 (ordinary_java_source_files):
9428 Added gnu/java/nio/MappedByteFileBuffer.java.
9429 (nat_source_files):
9430 Added gnu/java/nio/natMappedByteFileBuffer.cc.
9431 * Makefile.in: Regenerated.
9432
9433 2003-03-03 Michael Koch <konqueror@gmx.de>
9434
9435 * java/net/DatagramSocket.java
9436 (connect): Merged comment from classpath.
9437 (receive): Merged documentation from classpath.
9438 * java/net/Socket.java
9439 (setSoTimeout): Clarified documentation.
9440 * java/net/URL.java
9441 (getPath): Merged from classpath.
9442 (getUserInfo): Merged from classpath.
9443 (getQuery): Merged from classpath.
9444 * java/net/URLStreamHandler.java
9445 (toExternalForm): Merged from classpath.
9446
9447 2003-03-02 Mark Wielaard <mark@klomp.org>
9448
9449 * java/util/Properties.java (load): Only skip line if the first
9450 character is a comment, whitespaces don't count.
9451
9452 2003-03-02 Michael Koch <konqueror@gmx.de>
9453
9454 * java/net/NetPermission.java:
9455 Merged copyright with classpath.
9456
9457 2003-03-02 Michael Koch <konqueror@gmx.de>
9458
9459 * java/lang/Package.java:
9460 Remerged from classpath.
9461
9462 2003-03-02 Michael Koch <konqueror@gmx.de>
9463
9464 * java/net/HttpURLConnection.java
9465 (HTTP_SERVER_ERROR): Deprecated.
9466 * java/net/MulticastSocket.java
9467 (send): Replaced checkMulticast with appropriate checkPermission call,
9468 deprecated.
9469 * java/net/URLDecoder.java
9470 (decode): Deprecated.
9471 * java/net/URLEncoder.java
9472 (encode): Deprecated.
9473
9474 2003-03-02 Michael Koch <konqueror@gmx.de>
9475
9476 * javax/swing/text/Caret.java
9477 (getMagicCaretPosition): Fixed typo in method name.
9478 * javax/swing/text/DefaultCaret.java
9479 (getMagicCaretPosition): Fixed typo in method name.
9480
9481 2003-03-02 Michael Koch <konqueror@gmx.de>
9482
9483 * java/awt/List.java
9484 (setMultipleSelections): Deprecated.
9485 (delItem): Deprecated.
9486 * java/awt/MenuComponent.java
9487 (getPeer): Deprecated.
9488 * java/awt/ScrollPane.java
9489 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9490 * java/awt/dnd/MouseDragGestureRecognizer.java
9491 (mouseClicked): Added comment.
9492 (mousePressed): Added comment.
9493 (mouseReleased): Added comment.
9494 (mouseEntered): Added comment.
9495 (mouseExited): Added comment.
9496 (mouseDragged): Added comment.
9497 (mouseMoved): Added comment.
9498 * java/awt/event/KeyEvent.java
9499 (KeyEvent): Deprecated.
9500 (setModifiers): Deprecated.
9501
9502 2003-03-02 Michael Koch <konqueror@gmx.de>
9503
9504 * gnu/java/nio/FileChannelImpl.java
9505 (fd): Type FileDescriptor instead of int.
9506 (lengthInternal): Removed.
9507 (FileChannelImpl): Fixed arguments, check type of file object.
9508 (size): Made it native.
9509 (implPosition): New native method.
9510 (implTruncate): New native method.
9511 (position): Implemented.
9512 (truncate): Implemented.
9513 (nio_mmap_file): Changed arguments.
9514 (nio_munmap_file): Changed arguments.
9515 (nio_msync): Changed arguments.
9516 * gnu/java/nio/natFileChannelImpl.cc
9517 (lengthInternal): Removed.
9518 (size): New method.
9519 (implPosition): New method.
9520 (implTruncate): New method.
9521 (nio_mmap_file): Changed arguments.
9522 (nio_munmap_file): Changed arguments.
9523 (nio_msync): Changed arguments.
9524
9525 2003-03-02 Michael Koch <konqueror@gmx.de>
9526
9527 * java/awt/dnd/DropTargetContext.java:
9528 Compile fix: Forgot to commit import.
9529
9530 2003-03-02 Michael Koch <konqueror@gmx.de>
9531
9532 * java/awt/Component.java,
9533 java/awt/ScrollPane.java:
9534 Fixed typos.
9535
9536 2003-03-02 Michael Koch <konqueror@gmx.de>
9537
9538 * java/awt/dnd/DnDEventMulticaster.java: New file.
9539 * java/awt/dnd/DragSource.java
9540 (flavorMap): New member variable.
9541 (dragSourceListener): New member variable.
9542 (dragSourceMotionListener): New member variable.
9543 (getFlavorMap): Implemented.
9544 (createDragGestureRecognizer): Implemented.
9545 (addDragSourceListener): Implemented.
9546 (removeDragSourceListener): Implemented.
9547 (getDragSourceListeners): Implemented.
9548 (addDragSourceMotionListener): Implemented.
9549 (removeDragSourceMotionListener): Implemented.
9550 (getDragSourceMotionListeners): Implemented.
9551 (getListeners): Implemented.
9552 * java/awt/dnd/DragSourceContext.java
9553 (peer): New member variable.
9554 (cursor): New member variable.
9555 (transferable): New member variable.
9556 (trigger): New member variable.
9557 (dragSourceListener): New member variable.
9558 (image): New member variable.
9559 (offset): New member variable.
9560 (DragSourceContext): Implemented.
9561 (getDragSource): Implemented.
9562 (getComponent): Implemented.
9563 (getTrigger): Implemented.
9564 (getSourceActions): Implemented.
9565 (setCursor): Implemented.
9566 (getCursor): Implemented.
9567 (addDragSourceListener): Implemented.
9568 (removeDragSourceListener): Implemented.
9569 (getTransferable): Implemented.
9570 * java/awt/dnd/DropTarget.java
9571 (DropTargetAutoScroller.component): New member variable.
9572 (DropTargetAutoScroller.point): New member variable.
9573 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9574 (DropTargetAutoScroller.updateLocation): Implemented.
9575 (active): Renamed from isActive, defaults to true now.
9576 (component): New member variable.
9577 (flavorMap): New member variable.
9578 (actions): New member variable.
9579 (dropTargetContext): New member variable.
9580 (dropTargetListener): New member variable.
9581 (DropTarget): Implemented.
9582 (getComponent): Implemented.
9583 (setComponent): Implemented.
9584 (setDefaultActions): Implemented.
9585 (getDefaultActions): Implemented.
9586 (setActive): Use active instead of isActive.
9587 (isActive): Use active instead of isActive.
9588 (addDropTargetListener): Implemented.
9589 (removeDropTargetListener): Implemented.
9590 (getFlavorMap): Implemented.
9591 (setFlavorMap): Implemented.
9592 (getDropTargetContext): Implemented.
9593 (createDropTargetContext): Implemented.
9594 (createDropTargetAutoScroller): Implemented.
9595 * java/awt/dnd/DropTargetContext.java
9596 (TransferableProxy.getTransferDataFlavors): Implemented.
9597 (TransferableProxy.isDataFlavorSupported): Implemented.
9598 (TransferableProxy.getTransferData): Implemented.
9599 (dropTarget): New member variable.
9600 (dtcp): New member variable.
9601 (DropTargetContext): New package private constructor.
9602 (getDropTarget): Implemented.
9603 (getComponent): Implemented.
9604 (addNotify): Implemented.
9605 (removeNotify): Implemented.
9606 (getCurrentDataFlavorsAsList): Implemented.
9607 (isDataFlavorSupported): Implemented.
9608 * java/awt/dnd/MouseDragGestureRecognizer.java
9609 (registerListeners): Implemented.
9610 (unregisterListeners): Implemented.
9611 * Makefile.am
9612 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9613 * Makefile.in: Regenerated.
9614
9615 2003-03-02 Michael Koch <konqueror@gmx.de>
9616
9617 * java/awt/Component.java
9618 (eventTypeEnabled): New method.
9619 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9620 * java/awt/Container.java
9621 (changeSupport): New member variable.
9622 (addPropertyChangeListener): New methods.
9623 * java/awt/ContainerOrderFocusTraversalPolicy.java
9624 (ContainerOrderFocusTraversalPolicy): Added comment.
9625 (getComponentAfter): Throw exception, documentation added.
9626 (getComponentBefore): Throw exception, documentation added.
9627 (getFirstComponent): Throw exception, documentation added.
9628 (getLastComponent): Throw exception, documentation added.
9629 (getDefaultComponent): Throw exception, documentation added.
9630 * java/awt/EventQueue.java: Reindented.
9631 * java/awt/FocusTraversalPolicy.java:
9632 (FocusTraversalPolicy): Added comment.
9633 (getComponentAfter): Documentation added.
9634 (getComponentBefore): Documentation added.
9635 (getFirstComponent): Documentation added.
9636 (getLastComponent): Documentation added.
9637 (getDefaultComponent): Documentation added.
9638 (getInitialComponent): Documentation added.
9639 * java/awt/ScrollPane.java
9640 (wheelScrollingEnabled): New member variable.
9641 (ScrollPane): Initialize wheelScollingEnabled.
9642 (eventTypeEnabled): New method.
9643 (isWheelScrollingEnabled): New method.
9644 (setWheelScrollingEnabled): New method.
9645
9646 2003-03-02 Michael Koch <konqueror@gmx.de>
9647
9648 * java/net/DatagramSocket.java
9649 (closed): New member variable.
9650 (close): Use closed variable.
9651 (getInetAddress): No need to call isConnected().
9652 (getPort): No need to call isConnected().
9653 (disconnect): Reset remoteAddress and remotePort, fixed typo.
9654 (isClosed): Reimplemented.
9655
9656 2003-03-02 Michael Koch <konqueror@gmx.de>
9657
9658 * configure.in: Added check for memory mapping of files.
9659 * configure: Regenerated.
9660 * config.h.in: Regenerated.
9661
9662 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
9663
9664 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9665 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9666
9667 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9668
9669 * java/io/File.java (normalizePath): Remove trailing separator
9670 on Windows only if path is not of the form "x:\".
9671
9672 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9673 (java::io::File::attr): Change formatting a bit and use
9674 WIN32_EPOCH_MILLIS instead of magic numbers.
9675 (java::io::File::isAbsolute): Path must have at least 3
9676 characters for a UNC network path.
9677 (java::io::File::init_native): Define.
9678 (java::io::File::performCreate): Likewise.
9679 (java::io::File::performSetReadOnly): Likewise.
9680 (java::io::File::performSetLastModified): Likewise.
9681 (java::io::File::performListRoots): Likewise.
9682
9683 2003-03-01 Tom Tromey <tromey@redhat.com>
9684
9685 * java/lang/natObject.cc: Don't include assert.h.
9686 (heavy_lock_obj_finalization_proc): Use JvAssert.
9687 (remove_all_heavy): Likewise.
9688 (_Jv_MonitorEnter): Likewise.
9689 (_Jv_MonitorExit): Likewise.
9690 (wait): Likewise.
9691
9692 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9693
9694 * java/io/File (getAbsolutePath): Prefix drive specifier on
9695 Windows for paths starting with a '\'.
9696 (toURL): Make URL more consistent with what Sun's JDK returns.
9697
9698 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9699 true only if the path is a UNC network path or it starts with a
9700 drive specifier.
9701
9702 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9703 Be prepared to handle either '/' or '\\' in the file path for
9704 Windows if using the "file" protocol.
9705 Canonicalise the file path if using a relative path in the given
9706 context and the "file" protocol.
9707
9708 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
9709
9710 * java/lang/natWin32Process.cc (startProcess): Double-quote each
9711 program array element passed to CreateProcess.
9712
9713 2003-03-01 Tom Tromey <tromey@redhat.com>
9714
9715 * java/rmi/registry/RegistryHandler.java: Deprecate.
9716
9717 2003-03-01 Tom Tromey <tromey@redhat.com>
9718
9719 * javax/accessibility/AccessibleEditableText.java,
9720 javax/accessibility/AccessibleHyperlink.java: New versions from
9721 Classpath.
9722
9723 * gnu/java/locale/LocaleInformation_af_ZA.java,
9724 gnu/java/locale/LocaleInformation_ar_AE.java,
9725 gnu/java/locale/LocaleInformation_ar_BH.java,
9726 gnu/java/locale/LocaleInformation_ar_DZ.java,
9727 gnu/java/locale/LocaleInformation_ar_EG.java,
9728 gnu/java/locale/LocaleInformation_ar_IN.java,
9729 gnu/java/locale/LocaleInformation_ar_IQ.java,
9730 gnu/java/locale/LocaleInformation_ar_JO.java,
9731 gnu/java/locale/LocaleInformation_ar_KW.java,
9732 gnu/java/locale/LocaleInformation_ar_LB.java,
9733 gnu/java/locale/LocaleInformation_ar_LY.java,
9734 gnu/java/locale/LocaleInformation_ar_MA.java,
9735 gnu/java/locale/LocaleInformation_ar_OM.java,
9736 gnu/java/locale/LocaleInformation_ar_QA.java,
9737 gnu/java/locale/LocaleInformation_ar_SD.java,
9738 gnu/java/locale/LocaleInformation_ar_SY.java,
9739 gnu/java/locale/LocaleInformation_ar_TN.java,
9740 gnu/java/locale/LocaleInformation_ar_YE.java,
9741 gnu/java/locale/LocaleInformation_be_BY.java,
9742 gnu/java/locale/LocaleInformation_bn_IN.java,
9743 gnu/java/locale/LocaleInformation_br_FR.java,
9744 gnu/java/locale/LocaleInformation_bs_BA.java,
9745 gnu/java/locale/LocaleInformation_ca_ES.java,
9746 gnu/java/locale/LocaleInformation_cs_CZ.java,
9747 gnu/java/locale/LocaleInformation_cy_GB.java,
9748 gnu/java/locale/LocaleInformation_da_DK.java,
9749 gnu/java/locale/LocaleInformation_de_AT.java,
9750 gnu/java/locale/LocaleInformation_de_BE.java,
9751 gnu/java/locale/LocaleInformation_de_CH.java,
9752 gnu/java/locale/LocaleInformation_de_DE.java,
9753 gnu/java/locale/LocaleInformation_de_LU.java,
9754 gnu/java/locale/LocaleInformation_el_GR.java,
9755 gnu/java/locale/LocaleInformation_en_AU.java,
9756 gnu/java/locale/LocaleInformation_en_BW.java,
9757 gnu/java/locale/LocaleInformation_en_CA.java,
9758 gnu/java/locale/LocaleInformation_en_DK.java,
9759 gnu/java/locale/LocaleInformation_en_GB.java,
9760 gnu/java/locale/LocaleInformation_en_HK.java,
9761 gnu/java/locale/LocaleInformation_en_IE.java,
9762 gnu/java/locale/LocaleInformation_en_IN.java,
9763 gnu/java/locale/LocaleInformation_en_NZ.java,
9764 gnu/java/locale/LocaleInformation_en_PH.java,
9765 gnu/java/locale/LocaleInformation_en_SG.java,
9766 gnu/java/locale/LocaleInformation_en_US.java,
9767 gnu/java/locale/LocaleInformation_en_ZA.java,
9768 gnu/java/locale/LocaleInformation_en_ZW.java,
9769 gnu/java/locale/LocaleInformation_es_AR.java,
9770 gnu/java/locale/LocaleInformation_es_BO.java,
9771 gnu/java/locale/LocaleInformation_es_CL.java,
9772 gnu/java/locale/LocaleInformation_es_CO.java,
9773 gnu/java/locale/LocaleInformation_es_CR.java,
9774 gnu/java/locale/LocaleInformation_es_DO.java,
9775 gnu/java/locale/LocaleInformation_es_EC.java,
9776 gnu/java/locale/LocaleInformation_es_ES.java,
9777 gnu/java/locale/LocaleInformation_es_GT.java,
9778 gnu/java/locale/LocaleInformation_es_HN.java,
9779 gnu/java/locale/LocaleInformation_es_MX.java,
9780 gnu/java/locale/LocaleInformation_es_NI.java,
9781 gnu/java/locale/LocaleInformation_es_PA.java,
9782 gnu/java/locale/LocaleInformation_es_PE.java,
9783 gnu/java/locale/LocaleInformation_es_PR.java,
9784 gnu/java/locale/LocaleInformation_es_PY.java,
9785 gnu/java/locale/LocaleInformation_es_SV.java,
9786 gnu/java/locale/LocaleInformation_es_US.java,
9787 gnu/java/locale/LocaleInformation_es_UY.java,
9788 gnu/java/locale/LocaleInformation_es_VE.java,
9789 gnu/java/locale/LocaleInformation_et_EE.java,
9790 gnu/java/locale/LocaleInformation_eu_ES.java,
9791 gnu/java/locale/LocaleInformation_fa_IR.java,
9792 gnu/java/locale/LocaleInformation_fi_FI.java,
9793 gnu/java/locale/LocaleInformation_fo_FO.java,
9794 gnu/java/locale/LocaleInformation_fr_BE.java,
9795 gnu/java/locale/LocaleInformation_fr_CA.java,
9796 gnu/java/locale/LocaleInformation_fr_CH.java,
9797 gnu/java/locale/LocaleInformation_fr_FR.java,
9798 gnu/java/locale/LocaleInformation_fr_LU.java,
9799 gnu/java/locale/LocaleInformation_ga_IE.java,
9800 gnu/java/locale/LocaleInformation_gd_GB.java,
9801 gnu/java/locale/LocaleInformation_gl_ES.java,
9802 gnu/java/locale/LocaleInformation_gv_GB.java,
9803 gnu/java/locale/LocaleInformation_he_IL.java,
9804 gnu/java/locale/LocaleInformation_hi_IN.java,
9805 gnu/java/locale/LocaleInformation_hr_HR.java,
9806 gnu/java/locale/LocaleInformation_hu_HU.java,
9807 gnu/java/locale/LocaleInformation_id_ID.java,
9808 gnu/java/locale/LocaleInformation_it_CH.java,
9809 gnu/java/locale/LocaleInformation_it_IT.java,
9810 gnu/java/locale/LocaleInformation_iw_IL.java,
9811 gnu/java/locale/LocaleInformation_ja_JP.java,
9812 gnu/java/locale/LocaleInformation_ka_GE.java,
9813 gnu/java/locale/LocaleInformation_kl_GL.java,
9814 gnu/java/locale/LocaleInformation_ko_KR.java,
9815 gnu/java/locale/LocaleInformation_kw_GB.java,
9816 gnu/java/locale/LocaleInformation_lt_LT.java,
9817 gnu/java/locale/LocaleInformation_lv_LV.java,
9818 gnu/java/locale/LocaleInformation_mi_NZ.java,
9819 gnu/java/locale/LocaleInformation_mk_MK.java,
9820 gnu/java/locale/LocaleInformation_mr_IN.java,
9821 gnu/java/locale/LocaleInformation_mt_MT.java,
9822 gnu/java/locale/LocaleInformation_nl_BE.java,
9823 gnu/java/locale/LocaleInformation_nl_NL.java,
9824 gnu/java/locale/LocaleInformation_nn_NO.java,
9825 gnu/java/locale/LocaleInformation_no_NO.java,
9826 gnu/java/locale/LocaleInformation_oc_FR.java,
9827 gnu/java/locale/LocaleInformation_pl_PL.java,
9828 gnu/java/locale/LocaleInformation_pt_BR.java,
9829 gnu/java/locale/LocaleInformation_pt_PT.java,
9830 gnu/java/locale/LocaleInformation_ro_RO.java,
9831 gnu/java/locale/LocaleInformation_ru_RU.java,
9832 gnu/java/locale/LocaleInformation_ru_UA.java,
9833 gnu/java/locale/LocaleInformation_se_NO.java,
9834 gnu/java/locale/LocaleInformation_sk_SK.java,
9835 gnu/java/locale/LocaleInformation_sl_SI.java,
9836 gnu/java/locale/LocaleInformation_sq_AL.java,
9837 gnu/java/locale/LocaleInformation_sr_YU.java,
9838 gnu/java/locale/LocaleInformation_sv_FI.java,
9839 gnu/java/locale/LocaleInformation_sv_SE.java,
9840 gnu/java/locale/LocaleInformation_ta_IN.java,
9841 gnu/java/locale/LocaleInformation_te_IN.java,
9842 gnu/java/locale/LocaleInformation_tg_TJ.java,
9843 gnu/java/locale/LocaleInformation_tl_PH.java,
9844 gnu/java/locale/LocaleInformation_tr_TR.java,
9845 gnu/java/locale/LocaleInformation_uk_UA.java,
9846 gnu/java/locale/LocaleInformation_ur_PK.java,
9847 gnu/java/locale/LocaleInformation_uz_UZ.java,
9848 gnu/java/locale/LocaleInformation_vi_VN.java,
9849 gnu/java/locale/LocaleInformation_yi_US.java,
9850 gnu/java/locale/LocaleInformation_zh_CN.java,
9851 gnu/java/locale/LocaleInformation_zh_HK.java,
9852 gnu/java/locale/LocaleInformation_zh_SG.java,
9853 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9854 info; from Classpath.
9855
9856 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
9857 isPaintPending): New methods.
9858 * gnu/awt/xlib/XFramePeer.java (getState, setState,
9859 setMaximizedBounds): New methods.
9860 (beginLayout, endLayout, isPaintPending): Likewise.
9861 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
9862 (requestFocus): Likewise.
9863 (isObscured): Likewise.
9864 (canDetermineObscurity): Likewise.
9865 (coalescePaintEvent): Likewise.
9866 (updateCursorImmediately): Likewise.
9867 (createVolatileImage): Likewise.
9868 (handlesWheelScrolling): Likewise.
9869 (createBuffers): Likewise.
9870 (getBackBuffer): Likewise.
9871 (flip): Likewise.
9872 (destroyBuffers): Likewise.
9873
9874 * Makefile.in: Rebuilt.
9875 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
9876 RobotPeer.java.
9877 * gnu/java/awt/GLightweightPeer.java,
9878 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9879 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9880 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9881 gnu/java/awt/peer/gtk/GtkFramePeer.java,
9882 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9883 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9884 java/awt/dnd/peer/DragSourceContextPeer.java,
9885 java/awt/dnd/peer/DropTargetContextPeer.java,
9886 java/awt/peer/ButtonPeer.java,
9887 java/awt/peer/CheckboxMenuItemPeer.java,
9888 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
9889 java/awt/peer/ComponentPeer.java,
9890 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
9891 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
9892 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
9893 java/awt/peer/MenuBarPeer.java,
9894 java/awt/peer/MenuComponentPeer.java,
9895 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
9896 java/awt/peer/PopupMenuPeer.java,
9897 java/awt/peer/ScrollPanePeer.java,
9898 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
9899 java/awt/peer/TextComponentPeer.java,
9900 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
9901 New versions from Classpath.
9902 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
9903 * java/awt/peer/RobotPeer.java: Likewise.
9904
9905 2003-03-01 Mark Wielaard <mark@klomp.org>
9906
9907 * java/io/ObjectInputStream.java: Reindent.
9908 * java/io/ObjectOutputStream.java: Likewise.
9909
9910 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
9911
9912 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
9913 jvalue for each argument. Simplify.
9914 * testsuite/libjava.jni/calls.c (docall),
9915 testsuite/libjava.jni/calls.java (longpb_f): check for argument
9916 misalignment.
9917
9918 2003-02-28 Mark Wielaard <mark@klomp.org>
9919
9920 * Makefile.am (nat_source_files): Remove
9921 java/io/natObjectOutputStream.cc.
9922 * Makefile.in: Regenerated.
9923 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
9924 * java/io/ObjectStreamField.java (typename): New field.
9925 (ObjectStreamField(String, Class)): Initialize new field.
9926 (ObjectStreamField(String, String)): New Constructor.
9927 (getTypeCode): Use new field.
9928 (getTypeString): Use new field.
9929 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
9930 ObjectStreamExceptions. Remember and reset old BlockDataMode.
9931 Handle reading of Proxy classes. Never drain(), just write
9932 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
9933 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
9934 (flush): Call flush(), not just drain().
9935 (writeBoolean): Always use blockDataOutput.
9936 (writeByte): Likewise.
9937 (writeShort): Likewise.
9938 (writeChar): Likewise.
9939 (writeInt): Likewise.
9940 (writeLong): Likewise.
9941 (writeFloat): Likewise.
9942 (writeDouble): Likewise.
9943 (writeBytes): Likewise.
9944 (putfield (put(String,Object))): Throw IllegalArgumentException if
9945 field cannot be found.
9946 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
9947 (writeArraySizeAndElements): Write byte[] in one go.
9948 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
9949 set BlockDataMode to false.
9950 (annotateProxyClass): New method.
9951 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
9952 (getField): No longer native.
9953 (getMethod): Likewise.
9954 (setBlockDataMode): Always drain() on switch, return old mode.
9955 (static): New static code block.
9956 * java/io/natObjectOutputStream.cc: Removed.
9957 * java/io/ObjectInputStream.java (getField): No longer native.
9958 (getMethod): Likewise.
9959 (readObject): Remember and reset old BlockDataMode. Track whether
9960 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
9961 TC_LONGSTRING.
9962 (defaultReadObject): Set BlockDataMode to false during readFields.
9963 (resolveClass): Create new SecurityManager if necessary.
9964 Use Class.forName() if null ClassLoader found.
9965 (read(byte[],int,int): Copy remaining bytes to data before calling
9966 readNextBlock().
9967 (readFields): Set and reset BlockDataMode on call_read_method.
9968 Catch NoSuchFieldErrors.
9969 (setBlockDataMode): Return old mode.
9970 (static): New static code block.
9971 * java/io/natObjectInputStream.cc (getField): Removed.
9972 (getMethod): Likewise.
9973
9974 2003-02-27 Michael Koch <konqueror@gmx.de>
9975
9976 * java/beans/Beans.java,
9977 java/beans/FeatureDescriptor.java
9978 java/beans/PropertyEditorManager.java:
9979 Reformated to GNU style.
9980
9981 2003-02-25 Michael Koch <konqueror@gmx.de>
9982
9983 * gnu/java/nio/MappedByteFileBuffer.java,
9984 gnu/java/nio/natMappedByteFileBuffer.cc:
9985 New files, both are not compiled yet to get not noncompiling CVS.
9986
9987 2003-02-24 Tom Tromey <tromey@redhat.com>
9988
9989 * java/util/prefs/AbstractPreferences.java (isUserNode):
9990 Implemented.
9991
9992 2003-02-24 Tom Tromey <tromey@redhat.com>
9993
9994 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
9995 Deprecate.
9996 * java/lang/Thread.java (resume): Deprecate.
9997 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
9998 in @deprecated.
9999
10000 2003-02-23 Tom Tromey <tromey@redhat.com>
10001
10002 * Makefile.in: Rebuilt.
10003 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10004
10005 2003-02-23 Tom Tromey <tromey@redhat.com>
10006
10007 * java/lang/natRuntime.cc (libraries_size, libraries_count,
10008 libraries): Removed.
10009 (add_library): Removed.
10010 (_load): Don't call add_library.
10011 (loadLibraryInternal): Likewise.
10012 (init): Likewise.
10013 (lookup_data): New struct.
10014 (find_symbol): New function.
10015 (_Jv_FindSymbolInExecutable): Use it.
10016
10017 2002-02-21 Anthony Green <green@redhat.com>
10018
10019 * java/lang/Thread.java (Thread): New constructor taking stack
10020 size parameter (ignored for now).
10021 * Many methods: Merged GNU Classpath documentation.
10022
10023 * java/lang/Class.java (finalize): throws a Throwable.
10024
10025 2003-02-21 Mark Wielaard <mark@klomp.org>
10026
10027 * java/util/zip/ZipEntry.java (setComment): Don't check length when
10028 argument is null.
10029
10030 2003-02-21 Mark Wielaard <mark@klomp.org>
10031
10032 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10033 then 65535 chars throw IllegalArgumentException.
10034
10035 2003-02-21 Mark Wielaard <mark@klomp.org>
10036
10037 * java/util/zip/ZipFile.java (finalize): New method.
10038
10039 2003-02-21 Michael Koch <konqueror@gmx.de>
10040
10041 * gnu/java/nio/natSocketChannelImpl.cc:
10042 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10043 <cato@df.lth.se> for pointing to it.
10044
10045 2003-02-20 Raif S. Naffah <raif@fl.net.au>
10046
10047 * java/math/BigInteger.java (euclidInv): Take result array as an
10048 argument. Updated all callers.
10049 (modInverse): Removed unused variables.
10050
10051 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
10052
10053 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10054 config.status.
10055 * configure: Rebuilt.
10056
10057 2003-02-19 Michael Koch <konqueror@gmx.de>
10058
10059 * gnu/java/nio/natSocketChannelImpl.cc:
10060 Added support for platforms without network support.
10061
10062 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10063
10064 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10065 after config.h. Use <> for consistency.
10066 * java/lang/natObject.cc: Likewise.
10067 * java/lang/natRuntime.cc: Likewise.
10068 * java/lang/natSystem.cc: Likewise.
10069 * java/util/natTimeZone.cc: Likewise.
10070 * win32.cc: Likewise.
10071 * include/posix.h (fcntl, socket, connect, close, bind, accept,
10072 listen, write, read): Undef to avoid interference from OS macros.
10073
10074 2003-02-19 Michael Koch <konqueror@gmx.de>
10075
10076 * gnu/java/nio/ByteBufferImpl.java
10077 (ByteBufferImpl): Renamed two variables.
10078 * gnu/java/nio/CharBufferImpl.java
10079 (CharBufferImpl): Renamed two variables.
10080 * gnu/java/nio/DoubleBufferImpl.java
10081 (DoubleBufferImpl): Renamed two variables.
10082 * gnu/java/nio/FloatBufferImpl.java
10083 (FloatBufferImpl): Renamed two variables.
10084 * gnu/java/nio/IntBufferImpl.java
10085 (IntBufferImpl): Renamed two variables.
10086 * gnu/java/nio/LongBufferImpl.java
10087 (LongBufferImpl): Renamed two variables.
10088 * gnu/java/nio/ShortBufferImpl.java
10089 (ShortBufferImpl): Renamed two variables.
10090 * java/nio/CharBuffer.java
10091 (wrap): Fixed arguments to CharBufferImpl constructor.
10092 (hasArray): Only not read-only buffers have backing arrays.
10093 (length): Documentation added.
10094 (subSequence): Documentation added.
10095 * java/nio/DoubleBuffer.java
10096 (hasArray): Only not read-only buffers have backing arrays.
10097 * java/nio/FloatBuffer.java
10098 (hasArray): Only not read-only buffers have backing arrays.
10099 * java/nio/IntBuffer.java
10100 (hasArray): Only not read-only buffers have backing arrays.
10101 * java/nio/LongBuffer.java
10102 (hasArray): Only not read-only buffers have backing arrays.
10103 * java/nio/ShortBuffer.java
10104 (hasArray): Only not read-only buffers have backing arrays.
10105
10106 2003-02-19 Michael Koch <konqueror@gmx.de>
10107
10108 * javax/accessibility/AccessibleContext.java
10109 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10110
10111 2003-02-19 Michael Koch <konqueror@gmx.de>
10112
10113 * java/awt/ScrollPaneAdjustable.java: Reformated.
10114
10115 2003-02-19 Michael Koch <konqueror@gmx.de>
10116
10117 * gnu/awt/j2d/Graphics2DImpl.java
10118 (getFontRenderContext): New method.
10119 (drawGlyphVector): New method.
10120 * java/awt/Graphics2D.java
10121 (getFontRenderContext): New abstract method.
10122 (drawGlyphVector): New abstract method.
10123
10124 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
10125
10126 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10127 if necessary.
10128
10129 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10130 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10131 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10132 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10133 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10135 (setFont, gtkSetFont): add.
10136 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10137 Propagate font to peer. (setFont): add FIXME comment.
10138
10139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10140 (gtkTextGetSize): fix height, width computation.
10141
10142 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10143 Make X font name a bit less bogus.
10144
10145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10146 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10147
10148 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10149 (processAdjustmentEvent): Adjust value.
10150
10151 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10152 logic errors.
10153
10154 * java/awt/Component.java (setVisible, show, hide): Call show and
10155 hide methods in subclasses.
10156 (getPreferredSize): don't set prefSize before we have peer.
10157
10158 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10159 Guess (0,0) if we don't have peer.
10160
10161
10162 2003-02-18 Michael Koch <konqueror@gmx.de>
10163
10164 * java/nio/channels/FileChannel.java
10165 (toString): New implementation, added documentation.
10166 (map): Added exception documentation.
10167 (size): Added exception documentation.
10168 (write): New methods, documentation work.
10169 (read): New methods, documentation work.
10170 (implCloseChannel): Rewrote exception documentation.
10171 (force): Throws IOException, added documentation.
10172 (lock): New methods.
10173 (tryLock): New methods.
10174 (position): New methods.
10175 (transferTo): New method.
10176 (transferFrom): New method.
10177 (truncate): New method.
10178 * java/nio/channels/spi/SelectorProvider.java
10179 (provider): Implemented.
10180 * Makefile.am
10181 (ordinary_java_source_files): Added the following files:
10182 gnu/java/nio/DatagramChannelImpl.java
10183 gnu/java/nio/FileChannelImpl.java
10184 gnu/java/nio/PipeImpl.java
10185 gnu/java/nio/SelectionKeyImpl.java
10186 gnu/java/nio/SelectorImpl.java
10187 gnu/java/nio/SelectorProviderImpl.java
10188 gnu/java/nio/ServerSocketChannelImpl.java
10189 gnu/java/nio/SocketChannelImpl.java
10190 java/nio/channels/FileLock.java
10191 (nat_java_source_files): Added the following files:
10192 gnu/java/nio/natFileChannelImpl.cc
10193 gnu/java/nio/natSelectorImpl.cc
10194 gnu/java/nio/natSocketChannelImpl.cc
10195 * Makefile.in: Regenerated.
10196
10197 2003-02-17 Tom Tromey <tromey@redhat.com>
10198
10199 * java/awt/image/ColorModel.java: Re-merged with Classpath.
10200 * java/awt/image/ImageFilter.java: Likewise.
10201
10202 2003-02-17 Raif S. Naffah <raif@fl.net.au>
10203
10204 * java/math/BigInteger.java (euclidInv): Return array of
10205 `BigInteger's. Changed all callers.
10206
10207 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
10208
10209 * java/util/Properties.java (store): Move the code formerly in
10210 list(), into this method.
10211 (list (PrintStream)): Just call list (PrintWriter) with a
10212 PrintWriter object constructed from the given PrintStream object.
10213 (list (PrintWriter)): Emulate the output of Properties.list()
10214 as found in JDK 1.3/1.4.
10215
10216 2003-02-17 Michael Koch <konqueror@gmx.de>
10217
10218 * java/net/DatagramSocket.java
10219 (connect): Merged with classpath.
10220 (disconnect): Merged documentation with classpath.
10221 (receice): Merged documentation with classpath.
10222 (send): Merged documentation with classpath.
10223
10224 2003-02-17 Michael Koch <konqueror@gmx.de>
10225
10226 * java/awt/dnd/DragSourceContext.java
10227 (addDragSourceListener): Added documentation.
10228 * java/awt/dnd/DragSourceDragEvent.java
10229 (serialVersionUID): New member variable.
10230 (getDropAction): Reformated.
10231 * java/awt/dnd/DragSourceDropEvent.java
10232 (serialVersionUID): New member variable.
10233 (dropSuccess): Renamed from success for serialization issues.
10234 * java/awt/dnd/DragSourceEvent.java
10235 (serialVersionUID): New member variable.
10236 * java/awt/dnd/DropTarget.java
10237 (serialVersionUID): New member variable.
10238 (DropTarget): Implemented, documentation reworked.
10239 (setComponent): Documentation added.
10240 (getComponent): Documentation added.
10241 (setDefaultActions): Documentation added.
10242 (getDefaultActions): Documentation added.
10243 (addDropTargetListener): Documentation added.
10244 * java/awt/dnd/DropTargetContext.java
10245 (DropTargetContext): Documentation added.
10246 (TransferableProxy.TransferableProxy): New method.
10247 (dropComplete): Fixed documentation.
10248 (getTransferable): Fixed documentation.
10249 (createTransferableProxy): Implemented.
10250 * java/awt/dnd/DropTargetDragEvent.java
10251 (DropTargetDragEvent): Documentation added.
10252 (serialVersionUID): New member variable.
10253 (DropTargetDragEvent): Throw exceptions, documentation added.
10254 (acceptDrag): Implemented.
10255 (getCurrentDataFlavors): Implemented.3yy
10256 (getCurrentDataFlavorsAsList): Implemented.
10257 (isDataFlavorSupported): Implemented.
10258 (rejectDrag): Implemented.
10259 * java/awt/dnd/DropTargetDropEvent.java
10260 (DropTargetDropEvent): Documentation added.
10261 (serialVersionUID): New member variable.
10262 (actions): Renamed from srcActions for serialization issues.
10263 (isLocalTx): Renamed from isLocalTx for serialization issues.
10264 (DropTargetDropEvent): New implementation, throw exceptions,
10265 documentation added.
10266 (getCurrentDataFlavors): Implemented.
10267 (getCurrentDataFlavorsAsList): Implemented.
10268 (isDataFlavorSupported): Implemented.
10269 (getSourceActions): Implemented.
10270 (getDropAction): Implemented.
10271 (getTransferable): Implemented.
10272 (acceptDrop): Implemented.
10273 (rejectDrop): Implemented.
10274 * java/awt/dnd/DropTargetListener.java
10275 (drop): Fixed documentation.
10276 * java/awt/dnd/MouseDragGestureRecognizer.java
10277 (MouseDragGestureRecognizer): Documentation added.
10278
10279 2003-02-17 Michael Koch <konqueror@gmx.de>
10280
10281 * java/awt/font/FontRenderContext.java,
10282 java/awt/font/ShapeGraphicAttribute.java,
10283 java/awt/font/MultipleMaster.java,
10284 java/awt/font/TransformAttribute.java,
10285 java/awt/font/GlyphJustificationInfo.java,
10286 java/awt/font/LineBreakMeasurer.java,
10287 java/awt/font/TextMeasurer.java,
10288 java/awt/font/TextLayout.java,
10289 java/awt/font/LineMetrics.java,
10290 java/awt/font/TextAttribute.java,
10291 java/awt/font/GlyphMetrics.java,
10292 java/awt/font/OpenType.java,
10293 java/awt/font/GlyphVector.java,
10294 java/awt/font/GraphicAttribute.java,
10295 java/awt/font/ImageGraphicAttribute.java,
10296 java/awt/font/NumericShaper.java: New files.
10297 * Makefile.am
10298 (awt_java_source_files): Added the following files:
10299 java/awt/font/FontRenderContext.java
10300 java/awt/font/ShapeGraphicAttribute.java
10301 java/awt/font/MultipleMaster.java
10302 java/awt/font/TransformAttribute.java
10303 java/awt/font/GlyphJustificationInfo.java
10304 java/awt/font/LineBreakMeasurer.java
10305 java/awt/font/TextMeasurer.java
10306 java/awt/font/TextLayout.java
10307 java/awt/font/LineMetrics.java
10308 java/awt/font/TextAttribute.java
10309 java/awt/font/GlyphMetrics.java
10310 java/awt/font/OpenType.java
10311 java/awt/font/GlyphVector.java
10312 java/awt/font/GraphicAttribute.java
10313 java/awt/font/ImageGraphicAttribute.java
10314 java/awt/font/NumericShaper.java
10315 * Makefile.in: Regenerated.
10316
10317 2003-02-17 Michael Koch <konqueror@gmx.de>
10318
10319 * java/awt/print/Paper.java
10320 (Paper): Implements Cloneable.
10321 * java/awt/print/PrinterJob.java
10322 (setJobName): Return value must be void.
10323 (print): Throws PrinterException.
10324
10325 2003-02-16 Tom Tromey <tromey@redhat.com>
10326
10327 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10328 variable.
10329
10330 2003-02-15 Michael Koch <konqueror@gmx.de>
10331
10332 * java/awt/datatransfer/DataFlavor.java
10333 (isRepresentationClassByteBuffer): Removed try-catch block.
10334 (isRepresentationClassCharBuffer): Removed try-catch block.
10335 (isRepresentationClassReader): Removed try-catch block.
10336
10337 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10338
10339 * java/nio/charset/Charset.java
10340 (isRegistered): Fixed method args and implementation.
10341 * java/nio/charset/CharsetEncoder.java
10342 (unmappableCharacterAction): New method.
10343
10344 2003-02-15 Michael Koch <konqueror@gmx.de>
10345
10346 * java/awt/CheckboxMenuItem.java
10347 (CheckBoxMenuItem): Dont implement Serializable.
10348 (getListeners): New method,
10349 (getItemListeners): New method.
10350 * java/awt/Choice.java
10351 (getListeners): New method,
10352 (getItemListeners): New method.
10353 * java/awt/Container.java
10354 (getListeners): Added exception documentation.
10355 (setFocusTraversalKeys): Throw exceptions, added documentattion.
10356 (getFocusTraversalKeys): Added documentation.
10357 (areFocusTraversalKeysSet): Added documentation.
10358 (applyComponentOrientation): Added documentation.
10359 * java/awt/ContainerOrderFocusTraversalPolicy.java
10360 (implicitDownCycleTraversal): Renamed from downCycle for
10361 serialization.
10362 (ContainerOrderFocusTraversalPolicy): Added documentation.
10363 (accept): Reformated.
10364 * java/awt/Dialog.java
10365 (Dialog): Dont implement Serializable.
10366 (Dialog): Added documentation.
10367 * java/awt/Font.java
10368 (Font): Dont use absolute class name.
10369 * java/awt/Frame.java
10370 (Frame): Font implement Serializable.
10371 * java/awt/List.java
10372 (getListeners): New method,
10373 (getActionListeners): New method.
10374 (getItemListeners): New method.
10375 * java/awt/Menu.java
10376 (countItems): New deprecated method.
10377 * java/awt/Scrollbar.java
10378 (getListeners): New method,
10379 (getAdjustmentListeners): New method,
10380 * java/awt/TextComponent.java
10381 (getListeners): New method,
10382 (getTextListeners): New method,
10383 * java/awt/TextField.java
10384 (getListeners): New method,
10385 (getActionListeners): New method.
10386 * java/awt/Window.java
10387 (windowFocusListener): New member variable.
10388 (windowStateListener): New member variable.
10389 (getWindowFocusListeners): New method.
10390 (getWindowStateListeners): New method.
10391 (addWindowFocusListener): New method.
10392 (addWindowStateListener): New method.
10393 (removeWindowFocusListener): New method.
10394 (removeWindowStateListener): New method.
10395 * java/awt/datatransfer/DataFlavor.java
10396 (isRepresentationClassByteBuffer): New method.
10397 (isRepresentationClassCharBuffer): New method.
10398 (isRepresentationClassReader): New method.
10399
10400 2003-02-14 Mark Wielaard <mark@klomp.org>
10401
10402 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10403 zero when there is an exponent and the significant is zero.
10404 (divide): Always set scale to newScale even in special ZERO case.
10405
10406 2003-02-14 Tom Tromey <tromey@redhat.com>
10407
10408 * java/lang/System.java (properties): Use Properties.clone.
10409 (setProperties): Likewise.
10410
10411 2003-02-14 Michael Koch <konqueror@gmx.de>
10412
10413 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10414 * gnu/java/nio/ServerSocketChannelImpl.java
10415 (SocketAccept): Removed.
10416 (accept): Commented out use of SocketAccept.
10417
10418 2003-02-13 Tom Tromey <tromey@redhat.com>
10419
10420 * verify.cc (state::seen_subrs): New field.
10421 (state::state): Initialize it.
10422 (state::clean_subrs): New method.
10423 (state::~state): Call it.
10424 (state::copy): Copy subroutine list.
10425 (state::add_subr): New method.
10426 (state::merge): Only register a change if the current subroutine
10427 hasn't yet been noted.
10428
10429 2003-02-13 Mark Wielaard <mark@klomp.org>
10430
10431 * java/io/InputStreamReader.java (getEncoding): Return null when
10432 closed.
10433 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10434
10435 2003-02-13 Mark Wielaard <mark@klomp.org>
10436
10437 * java/util/zip/InflaterInputStream.java (read): Return zero when len
10438 is zero.
10439
10440 2003-02-13 Mark Wielaard <mark@klomp.org>
10441
10442 * java/io/BufferedOutputStream.java (write(int)): Only flush when
10443 next byte cannot be buffered.
10444
10445 2003-02-13 Michael Koch <konqueror@gmx.de>
10446
10447 * java/awt/Label.java
10448 (Label): Don't implement Serializable directly.
10449 (addNotify): Fixed typo in documentation.
10450 * java/awt/List.java
10451 (List): Don't implement Serializable directly.
10452 * java/awt/PopupMenu.java
10453 (PopupMenu): Don't implement Serializable directly.
10454 * java/awt/ScrollPane.java
10455 (ScrollPane): Don't implement Serializable directly.
10456 * java/awt/Scrollbar.java
10457 (Scrollbar): Don't implement Serializable directly.
10458 * java/awt/TextArea.java
10459 (preferredSize): Fixed method arguments.
10460 * java/awt/TextField.java
10461 (TextField): Don't implement Serializable directly.
10462 * java/awt/color/ICC_ColorSpace.java
10463 (fromCIOXYZ): Documentation added.
10464 (getMinValue): Documentation added.
10465 (getMaxValue): Documentation added.
10466 * java/awt/datatransfer/DataFlavor.java
10467 (isMimeTypeEqual): May not be final.
10468 (clone): Throws CloneNotSupportedException.
10469 (getReaderForText): Don't throws UnsupportedEncodingException.
10470
10471 2003-02-13 Michael Koch <konqueror@gmx.de>
10472
10473 * gnu/java/awt/peer/gtk/GdkGraphics.java
10474 (drawString): New stubbed method.
10475 * java/awt/Graphics.java
10476 (drawString): New method.
10477
10478 2003-02-13 Casey Marshall <rsdio@metastatic.org>
10479
10480 PR libgcj/9271:
10481 * java/security/SecureRandom.java (next): Avoid bias in results.
10482
10483 2003-02-13 Michael <konqueror@gmx.de>
10484
10485 * gnu/java/nio/FileChannelImpl.java
10486 (lengthInternal): Must be native.
10487 (size): Check if channel is already closed.
10488 (implCloseChannel): Reformated.
10489 (read): w was unused, removed it.
10490 (read): Removed.
10491 (read): New method.
10492 (write): New method.
10493 (map): Check arguments.
10494 (force): Throws IOException, check if channel is closed.
10495 (transferTo): New method.
10496 (transferFrom): New method.
10497 (lock): New method.
10498 (tryLock): New method.
10499 (position): New method.
10500 (truncate): New method.
10501 (nio_mmap_file): Uncommented.
10502 (nio_munmap_file): Uncommented.
10503 (nio_msync): Uncommented.
10504 * gnu/java/nio/natFileChannelImpl.cc: New file.
10505
10506 2003-02-13 Michael Koch <konqueror@gmx.de>
10507
10508 * java/nio/ByteBuffer.java
10509 (endian): New member variable.
10510 (get): New methods.
10511 (equals): New method.
10512 (compareTo): New method.
10513 (order): New methods.
10514 (compact): New method.
10515 (isDirect): New method.
10516 (slice): New method.
10517 (duplicate): New method.
10518 (asReadOnlyBuffer): New method.
10519 (asCharBuffer): New method.
10520 (asDoubleBuffer): New method.
10521 (asFloatBuffer): New method.
10522 (asIntBuffer): New method.
10523 (asLongBuffer): New method.
10524 (asShortBuffer): New method.
10525 (get*): New methods.
10526 (put*): New methods.
10527 (toString): New method.
10528 * java/nio/CharBuffer.java
10529 (CharBuffer): Implement Comparable instead of Cloneable.
10530 (get): May not be final.
10531 (put): May not be final.
10532
10533 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
10534
10535 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10536 lastIndexOf( ) instead of indexOf( ) to find the colon before
10537 the line number, because Win32 file names might contain a
10538 drive letter and a colon at the start of an absolute path.
10539
10540 2003-02-13 Michael Koch <konqueror@gmx.de>
10541
10542 * gnu/java/nio/natSocketChannelImpl.cc
10543 (SocketConnect): This is not implemented yet.
10544 (SocketBind): This is not implemented yet.
10545
10546 2003-02-13 Michael Koch <konqueror@gmx.de>
10547
10548 * gnu/java/nio/natByteBufferImpl.cc,
10549 gnu/java/nio/natCharBufferImpl.cc,
10550 gnu/java/nio/natDoubleBufferImpl.cc,
10551 gnu/java/nio/natFloatBufferImpl.cc,
10552 gnu/java/nio/natIntBufferImpl.cc,
10553 gnu/java/nio/natLongBufferImpl.cc,
10554 gnu/java/nio/natShortBufferImpl.cc:
10555 Added copyright and license.
10556 * java/nio/DoubleBuffer.java,
10557 java/nio/FloatBuffer.java,
10558 java/nio/IntBuffer.java,
10559 java/nio/LongBuffer.java,
10560 java/nio/ShortBuffer.java
10561 (array): Throw exceptions.
10562 (arrayOffset): Throw exceptions.
10563
10564 2003-02-13 Michael Koch <konqueror@gmx.de>
10565
10566 * gnu/java/util/prefs/FileBasedFactory.java,
10567 gnu/java/util/prefs/MemmoryBasedFactory.java,
10568 gnu/java/util/prefs/MemoryBasedPreferences.java,
10569 gnu/java/util/prefs/NodeReader.java,
10570 gnu/java/util/prefs/NodeWriter.java,
10571 java/util/prefs/AbstractPreferences.java,
10572 java/util/prefs/BackingStoreException.java,
10573 java/util/prefs/InvalidPreferencesFormatException.java,
10574 java/util/prefs/NodeChangeEvent.java,
10575 java/util/prefs/NodeChangeListener.java,
10576 java/util/prefs/PreferenceChangeEvent.java,
10577 java/util/prefs/PreferenceChangeListener.java,
10578 java/util/prefs/Preferences.java,
10579 java/util/prefs/PreferencesFactory.java:
10580 New files, all merged from classpath.
10581 * Makefile.am
10582 (ordinary_java_source_files): Added the following files:
10583 gnu/java/util/prefs/FileBasedFactory.java,
10584 gnu/java/util/prefs/MemmoryBasedFactory.java,
10585 gnu/java/util/prefs/MemoryBasedPreferences.java,
10586 gnu/java/util/prefs/NodeReader.java,
10587 gnu/java/util/prefs/NodeWriter.java,
10588 (core_java_source_files): Added the following files:
10589 java/util/prefs/AbstractPreferences.java,
10590 java/util/prefs/BackingStoreException.java,
10591 java/util/prefs/InvalidPreferencesFormatException.java,
10592 java/util/prefs/NodeChangeEvent.java,
10593 java/util/prefs/NodeChangeListener.java,
10594 java/util/prefs/PreferenceChangeEvent.java,
10595 java/util/prefs/PreferenceChangeListener.java,
10596 java/util/prefs/Preferences.java,
10597 java/util/prefs/PreferencesFactory.java
10598 * Makefile.in: Regenerated.
10599
10600 2003-02-13 Michael Koch <konqueror@gmx.de>
10601
10602 * java/net/NetPermission.java
10603 (NetPermission): Make doucmentation match the method declaration.
10604 * java/net/NetworkInterface.java
10605 (equals): Reformated for GNU coding style.
10606 * java/net/ServerSocket.java: Merged with classpath.
10607 * java/net/Socket.java: Partly merged with classpath (Added some @since).
10608 * java/net/SocketImpl.java
10609 (localPort): Merged with classpath (initialize with -1).
10610 * java/net/SocketPermission.java: Merged with classpath (reindented).
10611 * java/net/URLDecoder.java: Merged with classpath (reindented).
10612
10613 2003-02-13 Michael Koch <konqueror@gmx.de>
10614
10615 * java/awt/GridBagConstraints.java
10616 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10617 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10618 * java/awt/KeyboardFocusManager.java
10619 (setGlobalCurrentFocusCycleRoot): Must be public.
10620 * java/awt/MenuComponent.java
10621 (MenuComponent): Must be public.
10622 * java/awt/Toolkit.java:
10623 Added some empty lines to make documentation more readable.
10624 (getFontPeer): Added @deprecated.
10625 (getColorModel): Added exception documentation.
10626 (getProperty): Fixed documentation.
10627
10628 2003-02-12 Jeff Sturm <jsturm@one-point.com>
10629
10630 * configure.host (alpha*-*): Default to -mieee.
10631 * configure.in (IEEESPEC): New.
10632 * libgcj.spec.in (jc1): Add IEEESPEC.
10633 * configure: Rebuild.
10634
10635 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10636
10637 * include/win32.h: Include ws2tcpip.h instead of
10638 winsock.h to obtain definition of the socklen_t type.
10639 Remove IP_TOS definition - not needed with ws2tcpip.h
10640 (_Jv_connect): Correct slight formatting error.
10641
10642 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10643
10644 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10645 size of the arguments for a JNI function. For Win32,
10646 modify to search for all forms of possible exported
10647 names of an stdcall JNI function.
10648 (_Jv_JNIMethod::call): Modify to calculate the size
10649 of the arguments passed to a JNI function and pass
10650 it to _Jv_LookupJNIMethod.
10651
10652 2003-02-12 Michael Koch <konqueror@gmx.de>
10653
10654 * java/nio/channels/Channels.java: New file.
10655 * Makefile.am
10656 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10657 * Makefile.in: Regenerated.
10658
10659 2003-02-12 Michael Koch <konqueror@gmx.de>
10660
10661 * java/nio/ByteBuffer.java
10662 (allocate): Implemented.
10663 (wrap): Implemented.
10664 * java/nio/CharBuffer.java:
10665 Some documentation added and reworked.
10666 (endian): Removed.
10667 (allocate): Implemented.
10668 (wrap): Implemented.
10669 (array): Throw exceptions.
10670 (arrayOffset): Throw exceptions.
10671 (toString): Implemented.
10672 (length): Implemented.
10673 (put): Implemented.
10674 (charAt): Implemented.
10675
10676 2003-02-11 John Leuner <jewel@debian.org>
10677
10678 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
10679 reads from end of file.
10680
10681 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
10682
10683 * java/io/natFileDescriptorWin32.cc
10684 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10685 returns with Win32 error code ERROR_BROKEN_PIPE.
10686
10687 2003-02-11 Michael Koch <konqueror@gmx.de>
10688
10689 * Makefile.in
10690 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10691
10692 2003-02-11 Michael Koch <konqueror@gmx.de>
10693
10694 * gnu/java/nio/ByteBufferImpl.java:
10695 Reformated and removed some code.
10696 (backing_buffer): Removed.
10697 (array_offset): Removed.
10698 (ro): Renamed to readOnly.
10699 (ByteBufferImpl): Use parent constructor, initialize readOnly.
10700 * gnu/java/nio/CharBufferImpl.java:
10701 Reformated and removed some code.
10702 (array_offset): Removed.
10703 (ro): Renamed to readOnly.
10704 (CharBufferImpl): Use parent constructor, initialize readOnly.
10705 (inc_pos): Removed.
10706 (order): New method.
10707 * gnu/java/nio/DoubleBufferImpl.java:
10708 Reformated and removed some code.
10709 (array_offset): Removed.
10710 (ro): Renamed to readOnly.
10711 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10712 (inc_pos): Removed.
10713 (order): New method.
10714 * gnu/java/nio/FloatBufferImpl.java:
10715 Reformated and removed some code.
10716 (array_offset): Removed.
10717 (ro): Renamed to readOnly.
10718 (FloatBufferImpl): Use parent constructor, initialize readOnly.
10719 (inc_pos): Removed.
10720 (order): New method.
10721 * gnu/java/nio/IntBufferImpl.java:
10722 Reformated and removed some code.
10723 (array_offset): Removed.
10724 (ro): Renamed to readOnly.
10725 (IntBufferImpl): Use parent constructor, initialize readOnly.
10726 (inc_pos): Removed.
10727 (order): New method.
10728 * gnu/java/nio/LongBufferImpl.java:
10729 Reformated and removed some code.
10730 (array_offset): Removed.
10731 (ro): Renamed to readOnly.
10732 (LongBufferImpl): Use parent constructor, initialize readOnly.
10733 (inc_pos): Removed.
10734 (order): New method.
10735 * gnu/java/nio/ShortBufferImpl.java:
10736 Reformated and removed some code.
10737 (array_offset): Removed.
10738 (ro): Renamed to readOnly.
10739 (ShortBufferImpl): Use parent constructor, initialize readOnly.
10740 (inc_pos): Removed.
10741 (order): New method.
10742 * Makefile.am
10743 (ordinary_java_source_files): Added the following files:
10744 gnu/java/nio/ByteBufferImpl.java
10745 gnu/java/nio/CharBufferImpl.java
10746 gnu/java/nio/DoubleBufferImpl.java
10747 gnu/java/nio/FloatBufferImpl.java
10748 gnu/java/nio/IntBufferImpl.java
10749 gnu/java/nio/LongBufferImpl.java
10750 gnu/java/nio/ShortBufferImpl.java
10751 java/nio/DoubleBuffer.java
10752 java/nio/FloatBuffer.java
10753 java/nio/IntBuffer.java
10754 java/nio/LongBuffer.java
10755 java/nio/ShortBuffer.java
10756 (nat_source_files): Added the following files:
10757 gnu/java/nio/natByteBufferImpl.cc
10758 gnu/java/nio/natCharBufferImpl.cc
10759 gnu/java/nio/natDoubleBufferImpl.cc
10760 gnu/java/nio/natFloatBufferImpl.cc
10761 gnu/java/nio/natIntBufferImpl.cc
10762 gnu/java/nio/natLongBufferImpl.cc
10763 gnu/java/nio/natShortBufferImpl.cc
10764 * Makefile.in: Regenerated.
10765
10766 2003-02-11 Michael Koch <konqueror@gmx.de>
10767
10768 * gnu/java/nio/natCharBufferImpl.cc
10769 (nio_cast): Removed.
10770 (nio_put_*): Removed.
10771 (nio_get_*): Removed.
10772 * gnu/java/nio/natDoubleBufferImpl.cc
10773 (nio_cast): Removed.
10774 (nio_put_*): Removed.
10775 (nio_get_*): Removed.
10776 * gnu/java/nio/natFloatBufferImpl.cc
10777 (nio_cast): Removed.
10778 (nio_put_*): Removed.
10779 (nio_get_*): Removed.
10780 * gnu/java/nio/natIntBufferImpl.cc
10781 (nio_cast): Removed.
10782 (nio_put_*): Removed.
10783 (nio_get_*): Removed.
10784 * gnu/java/nio/natLongBufferImpl.cc
10785 (nio_cast): Removed.
10786 (nio_put_*): Removed.
10787 (nio_get_*): Removed.
10788 * gnu/java/nio/natShortBufferImpl.cc
10789 (nio_cast): Removed.
10790 (nio_put_*): Removed.
10791 (nio_get_*): Removed.
10792 * gnu/java/nio/SelectorProviderImpl.java
10793 (openDatagramChannel): Throws IOException.
10794 (openPipe): Throws IOException.
10795 (openSelector): Throws IOException.
10796 (openServerSocketChannel): Throws IOException.
10797 (openSocketChannel): Throws IOException.
10798 * gnu/java/nio/ServerSocketChannelImpl.java
10799 (ServerSocketChannelImpl): Throws IOException.
10800 (implCloseSelectableChannel): Throws IOException.
10801 (implConfigureBlocking): Throws IOException.
10802 * java/nio/ByteBuffer.java
10803 (readOnly): Removed.
10804 (hasArray): Use isReadOnly() instead of readOnly.
10805 (array): Use isReadOnly() instead of readOnly.
10806 (arrayOffset): Use isReadOnly() instead of readOnly.
10807 * java/nio/CharBuffer.java
10808 (CharBuffer): Implements Cloneable and CharSequence.
10809
10810 2003-02-11 Michael Koch <konqueror@gmx.de>
10811
10812 * java/nio/DoubleBuffer.java
10813 (DoubleBuffer): Implements Comparable.
10814 (endian): Removed.
10815 (array_offset): New member variable.
10816 (DoubleBuffer): New constuctor.
10817 (get): May not be final.
10818 (put): May not be final.
10819 (arrayOffset): Implemented.
10820 (order): Made abstract.
10821 (order): Removed.
10822 (as*Buffer): Removed.
10823 (get*): Removed.
10824 (put*): Removed.
10825 * java/nio/FloatBuffer.java
10826 (FloatBuffer): Implements Comparable.
10827 (endian): Removed.
10828 (array_offset): New member variable.
10829 (FloatBuffer): New constuctor.
10830 (get): May not be final.
10831 (put): May not be final.
10832 (arrayOffset): Implemented.
10833 (order): Made abstract.
10834 (order): Removed.
10835 (as*Buffer): Removed.
10836 (get*): Removed.
10837 (put*): Removed.
10838 * java/nio/IntBuffer.java
10839 (IntBuffer): Implements Comparable.
10840 (endian): Removed.
10841 (array_offset): New member variable.
10842 (IntBuffer): New constuctor.
10843 (get): May not be final.
10844 (put): May not be final.
10845 (arrayOffset): Implemented.
10846 (order): Made abstract.
10847 (order): Removed.
10848 (as*Buffer): Removed.
10849 (get*): Removed.
10850 (put*): Removed.
10851 * java/nio/LongBuffer.java
10852 (LongBuffer): Implements Comparable.
10853 (endian): Removed.
10854 (array_offset): New member variable.
10855 (LongBuffer): New constuctor.
10856 (get): May not be final.
10857 (put): May not be final.
10858 (arrayOffset): Implemented.
10859 (order): Made abstract.
10860 (order): Removed.
10861 (as*Buffer): Removed.
10862 (get*): Removed.
10863 (put*): Removed.
10864 * java/nio/ShortBuffer.java
10865 (ShortBuffer): Implements Comparable.
10866 (endian): Removed.
10867 (array_offset): New member variable.
10868 (ShortBuffer): New constuctor.
10869 (get): May not be final.
10870 (put): May not be final.
10871 (arrayOffset): Implemented.
10872 (order): Made abstract.
10873 (order): Removed.
10874 (as*Buffer): Removed.
10875 (get*): Removed.
10876 (put*): Removed.
10877
10878 2003-02-11 Michael Koch <konqueror@gmx.de>
10879
10880 * java/nio/channels/SelectionKey.java
10881 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
10882 values.
10883
10884 2003-02-11 Michael Koch <konqueror@gmx.de>
10885
10886 * java/nio/channels/DatagramChannel.java
10887 (write): Throws IOException.
10888 (connect): Throws IOException.
10889 (disconnect): Throws IOException.
10890 (read): Throws IOException.
10891 (receive): Throws IOException.
10892 (send): Throws IOException.
10893 * java/nio/channels/Pipe.java
10894 (open): Throws IOException.
10895 * java/nio/channels/SelectableChannel.java
10896 (configureBlocking): Throws IOException.
10897 * java/nio/channels/ServerSocketChannel.java
10898 (accept): Throws IOException.
10899 * java/nio/channels/SocketChannel.java
10900 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
10901 GatheringByteChannel.
10902 (read): Throws IOException.
10903 (write): Throws IOException.
10904 (finishConnect): Throws IOException.
10905 * java/nio/channels/spi/AbstractInterruptibleChannel.java
10906 (end): Throws AsynchronousCloseException.
10907 * java/nio/channels/spi/AbstractSelectableChannel.java
10908 (configureBlocking): Throws IOException.
10909 (implCloseChannel): Throws IOException.
10910 (implCloseSelectableChannel): Throws IOException.
10911 (implConfigureBlocking): Throws IOException.
10912 * java/nio/channels/spi/SelectorProvider.java
10913 (openDatagramChannel): Throws IOException.
10914 (openPipe): Throws IOException.
10915 (openSelector): Throws IOException.
10916 (openServerSocketChannel): Throws IOException.
10917 (openSocketChannel): Throws IOException.
10918
10919 2003-02-11 Michael Koch <konqueror@gmx.de>
10920
10921 * gnu/java/nio/FileLockImpl.java,
10922 java/nio/channels/FileLock.java: New files.
10923
10924 2003-02-11 Michael Koch <konqueror@gmx.de>
10925
10926 * java/nio/charset/IllegalCharsetNameException.java
10927 (serialVersionUID): New member variable.
10928 (charsetName): New member variable.
10929 (IllegalCharsetException): New implementation.
10930 (getCharsetName): New implementation.
10931 * java/nio/charset/UnsupportedCharsetException.java
10932 (serialVersionUID): New member variable.
10933 (charsetName): New member variable.
10934 (UnsupportedCharsetException): New implementation.
10935 (getCharsetName): New implementation.
10936
10937 2003-02-10 Tom Tromey <tromey@redhat.com>
10938
10939 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
10940 (ex): Renamed from sqlException.
10941
10942 2003-02-10 Raif S. Naffah <raif@fl.net.au>
10943
10944 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
10945 method used to ensure seeding has occurred and that a specific
10946 seed can be set and used.
10947
10948 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
10949
10950 * java/lang/Win32Process.java (destroy): Declare as native.
10951 (hasExited): New native method.
10952 (exitValue): Define.
10953 (getErrorStream): Likewise.
10954 (getInputStream): Likewise.
10955 (getOutputStream): Likewise.
10956 (waitFor): Declare as native.
10957 (startProcess): New native method.
10958 (cleanup): Likewise.
10959 (ConcreteProcess): Define.
10960 (outputStream, inputStream, errorStream): New members.
10961 (procHandle, exitCode): Likewise.
10962
10963 * java/lang/natWin32Process.cc
10964 (java::lang::ConcreteProcess::cleanup): Define.
10965 (java::lang::ConcreteProcess::destroy): Likewise.
10966 (java::lang::ConcreteProcess::hasExited): Likewise.
10967 (java::lang::ConcreteProcess::waitFor): Likewise.
10968 (new_string): Likewise.
10969 (java::lang::ConcreteProcess::startProcess): Likewise.
10970
10971 2003-02-10 Raif S. Naffah <raif@fl.net.au>
10972
10973 * java/math/BigInteger.java:
10974 Updated notice to include years 2002 and 3.
10975 Added 2 private (int) arrays with values from the HAC (Handbook of
10976 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
10977 and t[] that contains nbr. of tests --used in isProbablePrime().
10978
10979 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
10980
10981 * java/math/BigInteger.java (make(int[],int), add(int,int),
10982 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
10983 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
10984 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
10985 make(long).
10986
10987 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
10988 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
10989 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
10990 BIs and returns void.
10991 (modInverse(BI)): Use new signatures of euclidInv().
10992
10993 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
10994 static small primes instead of remainder().
10995 Use pre-computed max nbr of trials based on bitlength of BI to test.
10996 Use pre-computed small primes for the trial tests instead of random
10997 numbers.
10998
10999 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11000 not used.
11001
11002 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11003 invoacation of MPN.chars_per_word(). not used.
11004
11005 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11006 local var and used where needed.
11007
11008 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11009 Combined declaration with initialisation of locals.
11010 Removed unused var.
11011
11012 * java/math/BigInteger.java: Style changes
11013 (pow(int)): Removed 'else' keyword.
11014 (toString(int)): idem.
11015 (doubleValue()): idem.
11016 (bitLength()): idem.
11017 (equals(Object)): Use static methods name in same class w/o prepending
11018 class name.
11019 (doubleValue()): idem.
11020 (setNegative(BI)): idem.
11021 (negate()): idem.
11022 (and(BI,int)): idem.
11023 (and(BI)): idem.
11024 (gcd(BI)): idem.
11025 (byteArrayToIntArray()): Removed casting to (int). this is
11026 std. behaviour.
11027 (canonicalize()): idem.
11028 (alloc(int)): Always instantiate a new BI.
11029
11030 2003-02-10 Tom Tromey <tromey@redhat.com>
11031
11032 * java/sql/Timestamp.java (compareTo(Object)): New method.
11033 (compareTo(Timestamp)): Likewise.
11034 (serialVersionUID): Updated.
11035
11036 2003-02-07 Mark Wielaard <mark@klomp.org>
11037
11038 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11039 when verify is true.
11040 (JarFile(File, boolean)): Likewise.
11041 (manifestRead): Set manifestRead field correctly.
11042
11043 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11044
11045 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11046 tests; see patch #1016 on Savannah.
11047
11048 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11049
11050 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11051 (toString): do not return Strings starting with . and - erroneously.
11052 Improves Mauve results to 12 of 600 instead of 16 of 338 on
11053 DiagBigDecimal.
11054
11055 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11056
11057 * java/beans/PropertyDescriptor.java
11058 (PropertyDescriptor(String, Class)): Sanity check getter and setter
11059 methods.
11060 (PropertyDescriptor(String, Class, String, String)): Likewise.
11061 (PropertyDescriptor(String, Method, Method): Factor out getter and
11062 setter method sanity checks into new method.
11063 (findMethods): Don't do parameter sanity checking of get method here.
11064 (checkMethods): New method.
11065
11066 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11067
11068 * java/beans/PropertyDescriptor.java: Reformat.
11069
11070 2003-02-04 Tom Tromey <tromey@redhat.com>
11071
11072 * java/io/PipedOutputStream.java (flush): Declare as throwing
11073 IOException.
11074 (close): Likewise.
11075 * java/io/PipedWriter.java (close): Declare as throwing
11076 IOException.
11077 * java/io/StringWriter.java (close): Declare as throwing
11078 IOException.
11079
11080 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
11081
11082 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11083 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11084 could also have been exported as "JNI_OnLoad@8" (MinGW) or
11085 "_JNI_OnLoad@8" (MSVC).
11086
11087 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
11088
11089 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11090 convention on Win32 to invoke native JNI methods.
11091
11092 2003-02-03 Andrew Haley <aph@redhat.com>
11093
11094 * configure.host (x86_64): Enable interpreter.
11095
11096 2003-02-03 Andrew Haley <aph@redhat.com>
11097
11098 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11099 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11100 * configure.in (BACKTRACESPEC): New.
11101 * configure: Regenerate.
11102
11103 2003-02-02 Tom Tromey <tromey@redhat.com>
11104
11105 * configure: Rebuilt.
11106 * configure.in (TOOLKIT) [xlib]: Set correctly.
11107
11108 * Makefile.in: Rebuilt.
11109 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11110 libstdc++.
11111
11112 2003-01-31 Mark WIelaard <mark@klomp.org>
11113
11114 * Makefile.in: Rebuilt.
11115 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11116
11117 2003-01-31 Tom Tromey <tromey@redhat.com>
11118
11119 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11120 cast to element type.
11121 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11122 (_Jv_JNI_GetObjectArrayElement): Likewise.
11123
11124 * Makefile.in: Rebuilt.
11125 * Makefile.am (cond_x_ltlibrary): Renamed library to
11126 lib-gnu-awt-xlib.la.
11127 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11128 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11129 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11130 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11131 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11132 (lib_gnu_awt_xlib_la_LINK): Likewise.
11133 (install-exec-hook): Removed.
11134 (lib-gnu-awt-xlib.la): Renamed.
11135
11136 2003-01-31 Tom Tromey <tromey@redhat.com>
11137
11138 * aclocal.m4, configure, include/config.h.in: Rebuilt.
11139 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11140 aclocal.m4 and lost in some merge.
11141
11142 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11143 Don't try to find graphics configuration.
11144 * java/awt/Toolkit.java (default_toolkit_name): Use new
11145 Configuration entry.
11146 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11147 New global.
11148 * configure: Rebuilt.
11149 * configure.in (TOOLKIT): New subst.
11150 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11151 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
11152 directory. Make output directories for .c files.
11153 * Makefile.in: Rebuilt.
11154 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11155 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11156 (all_java_source_files): Added new sources.
11157 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11158 (gtk_c_files): New macro.
11159 (gtk_c_source_files): New macro.
11160 (cond_gtk_ltlibrary): New macro.
11161 ($(gtk_c_files)): New target.
11162 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11163 (gtk_awt_peer_sources): New macro.
11164 (gtk_c_headers): New macro.
11165 ($(gtk_c_headers)): New target.
11166 (ACLOCAL_AMFLAGS): New macro.
11167 * gtk.m4, glib.m4, libart.m4: New files.
11168 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11169 gnu/java/awt/peer/gtk/GdkGraphics.java,
11170 gnu/java/awt/peer/gtk/GtkArg.java,
11171 gnu/java/awt/peer/gtk/GtkArgList.java,
11172 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11173 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11174 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11175 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11176 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11177 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11178 gnu/java/awt/peer/gtk/GtkClipboard.java,
11179 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11180 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11181 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11182 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11183 gnu/java/awt/peer/gtk/GtkFontPeer.java,
11184 gnu/java/awt/peer/gtk/GtkFramePeer.java,
11185 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11186 gnu/java/awt/peer/gtk/GtkImage.java,
11187 gnu/java/awt/peer/gtk/GtkImagePainter.java,
11188 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11189 gnu/java/awt/peer/gtk/GtkListPeer.java,
11190 gnu/java/awt/peer/gtk/GtkMainThread.java,
11191 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11192 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11193 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11194 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11195 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11196 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11197 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11198 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11199 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11200 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11201 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11202 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11203 gnu/java/awt/peer/gtk/GtkToolkit.java,
11204 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11205 gnu/java/awt/peer/gtk/TestAWT.java,
11206 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11208 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11209 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11210 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11211 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11212 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11213 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11214 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11215 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11216 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11217 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11218 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11219 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11220 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11221 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11222 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11223 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11224 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11225 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11226 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11227 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11228 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11229 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11230 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11231 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11232 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11233 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11234 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11235 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11236 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11237 jni/classpath/native_state.c, jni/classpath/native_state.h,
11238 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11239
11240 2003-01-31 Julian Dolby <dolby@us.ibm.com>
11241
11242 * java/util/Properties.java (load): Ignore backslash before EOF.
11243
11244 2003-01-30 Jeff Sturm <jsturm@one-point.com>
11245
11246 * java/lang/natClass.cc (initializeClass): Check tables when
11247 (state == JV_STATE_IN_PROGRESS).
11248 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11249 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11250 interpreted classes.
11251 (linkClass0): Use _Jv_WaitForState.
11252
11253 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
11254
11255 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11256 object when finished.
11257
11258 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
11259
11260 * libjava/configure.host: Disable can_unwind_signal on darwin.
11261
11262 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
11263
11264 Fixes PR java/9254:
11265 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11266 additionally containing id of the owner thread as well as
11267 the number of nested times the thread has acquired the mutex.
11268 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11269 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11270 (_Jv_MutexUnlock): Check if really the owner thread, reset
11271 owner thread id to 0 before leaving, if leaving for the last
11272 time.
11273 (_Jv_MutexLock): Set owner thread id in the mutex and increment
11274 refcount.
11275 (_Jv_ThreadYield): Yield using a call to Sleep(0).
11276 * win32-threads.cc (_Jv_CondWait): Check if really owner of
11277 the passed mutex.
11278 Pass handle of the broadcast event, instead of a pointer to it
11279 in Win32 ResetEvent( ) call.
11280 Remove incorrect return values.
11281 (_Jv_CondDestroy): Close both event handles and delete
11282 critical section.
11283 (_Jv_CondNotify): Check if really the owner thread.
11284 (_Jv_CondNotifyAll): Check if really the owner thread.
11285 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11286 (really_start): Use SetEvent( ) to signal daemon_cond.
11287 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11288 WaitForSingleObject( ) instead to wait for daemon_cond to be
11289 signalled.
11290
11291 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
11292
11293 * configure.in: Specifically define HAVE_BACKTRACE if building
11294 for MinGW.
11295 * include/win32.h: Remove HAVE_BACKTRACE definition.
11296 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11297 * configure: Rebuilt.
11298
11299 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
11300
11301 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11302 Set and AC_SUBST. Remove USE_LIBDIR conditional.
11303 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11304 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11305 * Makefile.in, configure: Rebuilt.
11306
11307 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
11308
11309 Fixes PR java/9253:
11310 * java/io/natFileWin32.cc (performList): Append only "*.*"
11311 if the canonical file path already has a "\" at the end.
11312
11313 2003-01-24 Tom Tromey <tromey@redhat.com>
11314
11315 * defineclass.cc (handleMethodsEnd): Precompute code for static
11316 method.
11317 (handleCodeAttribute): Likewise.
11318 * resolve.cc (ncode): Use run_class for unsynchronized static
11319 methods.
11320 * include/java-interp.h (class _Jv_InterpMethod): Declare
11321 run_class.
11322 * interpret.cc (run_synch_class): Initialize class.
11323 (run) [insn_invokestatic]: Don't initialize class.
11324 [insn_anewarray]: Likewise.
11325 [insn_multianewarray]: Likewise.
11326 (run_class): New function.
11327
11328 2003-01-24 Tom Tromey <tromey@redhat.com>
11329
11330 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11331 comment.
11332
11333 2003-01-22 Andrew Haley <aph@redhat.com>
11334
11335 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11336 * configure.host (CHECKREFSPEC): Define for x86_64.
11337
11338 2003-01-21 Tom Tromey <tromey@redhat.com>
11339
11340 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11341 search at 2, not 3.
11342
11343 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
11344
11345 * java/io/natFileWin32.cc (isAbsolute): Check path length before
11346 looking at any characters.
11347 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11348 be used.
11349 (isAbsolute): Check path's length as well.
11350
11351 2003-01-17 Mark Wielaard <mark@klomp.org>
11352
11353 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11354 (nat_source_files): Add natVMObjectStreamClass.cc.
11355 * Makefile.in: Regenerated.
11356 * gcj/javaprims.h (namespace java): Regenerated.
11357 * java/io/ObjectStreamClass.java (getClassUID): Call
11358 VMObjectStreamClass.hasClassInitializer().
11359 (hasClassInitializer): Removed.
11360 * java/io/VMObjectStreamClass.java: New class.
11361 * java/io/natVMObjectStreamClass.cc: New file.
11362 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11363
11364 2003-01-16 Mark Wielaard <mark@klomp.org>
11365
11366 * java/net/SocketImpl.java (toString): Don't explicitly call
11367 toString() on possible null address.
11368
11369 2003-01-16 Michael Koch <konqueror@gmx.de>
11370
11371 * java/net/MulticastSocket.java
11372 (setInterface): Reindented.
11373
11374 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11375
11376 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11377 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11378 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11379 translateY arguments. Implement.
11380 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11381 down translation arguments.
11382 (drawPolyline, drawPolygon): Fix incorrect tests.
11383 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11384 translateX and translateY arguments.
11385
11386 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11387
11388 * Makefile.in: Rebuilt.
11389 * Makefile.am (xlib_includes): New macro.
11390 (INCLUDES): Use it.
11391
11392 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11393
11394 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11395 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11396 16-bit display mode.
11397
11398 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11399
11400 * java/awt/CardLayout.java (show): Rewrote.
11401 (gotoComponent): Removed `target' argument. Simplified code.
11402 Don't pre-compute `choice' unless `what' is FIRST or LAST.
11403 Changed all callers.
11404 (NONE): Removed.
11405
11406 2003-01-14 Michael Koch <konqueror@gmx.de>
11407
11408 * java/net/InetSocketAddress.java
11409 (serialVersionUID): New member variable.
11410 * java/net/NetPermission.java
11411 (NetPermission): Dont implement java.io.Serialization directly.
11412 * java/net/SocketAddress.java:
11413 (serialVersionUID): Documentation added.
11414
11415 2003-01-14 Michael Koch <konqueror@gmx.de>
11416
11417 * java/awt/Label.java
11418 (Label): Implements javax.accessibility.Accessible;
11419 * java/awt/List.java
11420 (List): Implements javax.accessibility.Accessible;
11421 * java/awt/ScrollPane.java
11422 (ScrollPane): Implements javax.accessibility.Accessible;
11423 * java/awt/Scrollbar.java
11424 (Scrollbar): Implements javax.accessibility.Accessible;
11425 * java/awt/TextComponent.java
11426 (setCaretPosition): Throw exception, documentation added.
11427 * java/awt/Toolkit.java:
11428 Added some newlines in method documentations.
11429 (createButton): Exception documentation added.
11430 (createTextField): Exception documentation added.
11431 (createLabel): Exception documentation added.
11432 (createList): Exception documentation added.
11433 (createCheckbox): Exception documentation added.
11434 (createScrollbar): Exception documentation added.
11435 (createScrollPane): Exception documentation added.
11436 (createTextArea): Exception documentation added.
11437 (createChoice): Exception documentation added.
11438 (createFrame): Exception documentation added.
11439 (createWindow): Exception documentation added.
11440 (createDialog): Exception documentation added.
11441 (createMenuBar): Exception documentation added.
11442 (createMenu): Exception documentation added.
11443 (createMenuItem): Exception documentation added.
11444 (createFileDialog): Exception documentation added.
11445 (createCheckboxMenuItem): Exception documentation added.
11446 (loadSystemColors): Exception documentation added.
11447 (setDynamicLayout): Exception documentation added.
11448 (isDynamicLayoutSet): Exception documentation added.
11449 (isDynamicLayoutActive): Exception documentation added.
11450 (getScreenSize): Exception documentation added.
11451 (getScreenResolution): Exception documentation added.
11452 (getScreenInsets): Exception documentation added.
11453 (getColorModel): Exception documentation added.
11454 (getSystemClipboard): Exception documentation added.
11455 (getSystemSelection): Exception documentation added.
11456 (getMenuShortcutKeyMask): Exception documentation added.
11457 (getSystemEventQueue): Exception documentation added.
11458 * java/awt/Window.java:
11459 Reindented some code.
11460 (Window): Centralized implementation, documentation added.
11461 (finalize): Documentation added.
11462 (hide): Fixed typo in comment.
11463 (getWindowListeners): Documentation added.
11464 * java/awt/color/ColorSpace.java
11465 (toRGB): Documentation added.
11466 * java/awt/color/ICC_ColorSpace.java
11467 (ICC_ColorSpace): Documentation added.
11468 (toRGB): Throw exception, documentation added.
11469 (fromRGB): Throw exception, documentation added.
11470 (toCIEXYZ): Documentation added.
11471 (fromCIEXYZ): Documentation added.
11472 (getMinValue): Documentation added.
11473 (getMaxValue): Documentation added.
11474 * java/awt/geom/Dimension2D.java
11475 (clone): Documentation added.
11476 * java/awt/geom/GeneralPath.java
11477 (clone): Documentation added.
11478 * java/awt/geom/Line2D.java
11479 (clone): Documentation added.
11480 * java/awt/geom/QuadCurve2D.java
11481 (clone): Documentation added.
11482 * java/awt/image/ColorModel.java
11483 (ColorModel): Throw exception, documentation added.
11484 * java/awt/image/ImageFilter.java
11485 (clone): Doesnt throw CloneNotSupportedException.
11486
11487 2003-01-14 Andrew Haley <aph@redhat.com>
11488
11489 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11490 in a try block.
11491
11492 2003-01-10 Andrew Haley <aph@redhat.com>
11493
11494 * include/dwarf2-signal.h: Remove x86_64.
11495 * configure.host (x86_64 DIVIDESPEC): Remove.
11496 * include/x86_64-signal.h: New file.
11497 * configure.in: Regenerate.
11498
11499 2003-01-10 Michael Koch <konqueror@gmx.de>
11500
11501 * java/net/DatagramSocket.java
11502 (ch): Description added.
11503 (remotePort): Initialize with -1.
11504 (connect): Doesnt throws SocketException.
11505 * java/net/MulticastSocket.java
11506 (setInterface): Merge with Classpath.
11507 * java/net/ServerSocket.java
11508 (closed): New member variable.
11509 (bind): Check if socket is closed.
11510 (close): Close an associated channel too, set new value to closed.
11511 (isBound): Reindented.
11512 (isClosed): Implemented.
11513 * java/net/Socket.java
11514 (closed): New member variable.
11515 (bind): Check if socket is closed.
11516 (connect): Check if socket is closed.
11517 (close): Close an associated channel too, set new value to closed.
11518 (isClosed): Implemented.
11519
11520 2003-01-10 Michael Koch <konqueror@gmx.de>
11521
11522 * java/awt/DisplayMode.java
11523 (equals): Fixed argument type and implementation.
11524
11525 2003-01-07 Tom Tromey <tromey@redhat.com>
11526
11527 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11528 JV_HASH_SYNCHRONIZATION.
11529 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11530 JV_HASH_SYNCHRONIZATION.
11531
11532 2003-01-07 Michael Koch <konqueror@gmx.de>
11533
11534 * java/net/DatagramSocket.java:
11535 Added classpath license info.
11536 (DatagramSocket): Merged description with classpath.
11537 (close): Merged description with classpath.
11538 (getChannel): Merged description with classpath.
11539 (getInetAddress): Merged description with classpath.
11540 (getPort): Merged description with classpath.
11541 (getLocalAddress): Merged description with classpath.
11542 (getLocalPort): Merged description with classpath.
11543 (getSoTimeout): Merged description with classpath.
11544 (setSoTimeout): Merged description with classpath.
11545 (getSendBufferSize): Merged description with classpath.
11546 (setSendBufferSize): Merged description with classpath.
11547 (getReceiveBufferSize): Merged description with classpath.
11548 (setReceiveBufferSize): Merged description with classpath.
11549
11550 2003-01-04 Tom Tromey <tromey@redhat.com>
11551
11552 * java/awt/List.java: Merged with Classpath.
11553
11554 2003-01-03 Mark Wielaard <mark@klomp.org>
11555
11556 * java/io/FileDescriptor.java (position): New private field.
11557 * java/io/natFileDescriptorPosix.cc (write): Up position.
11558 (setLength): Use and set position.
11559 (seek): Set position.
11560 (getFilePointer): Return position.
11561 (read): Up position.
11562
11563 2003-01-03 Mark Wielaard <mark@klomp.org>
11564
11565 Merge with Classpath:
11566 * java/io/ObjectStreamClass.java (lookup): Split method and call
11567 lookupForClassObject().
11568 (lookupForClassObject): New method.
11569 (isProxyClass): New field.
11570 (setClass): Set isProxyClass, add object to classLookupTable, set
11571 superClass and calculateOffsets.
11572 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11573 and not a proxy class.
11574 (setFields): Set accessible true for serialPersistentFields.
11575 (getClassUID): Same for suid. And check if suid is of type long.
11576 (hasClassInitializer): Don't throw NoSuchMethodError.
11577
11578 2003-01-03 Mark Wielaard <mark@klomp.org>
11579
11580 * java/io/FileInputStream.java (finalize): Don't explicitly
11581 finalize FileDescriptor.
11582
11583 2003-01-03 Jeff Sturm <jsturm@one-point.com>
11584
11585 * configure.host (sparc*-*): Enable bytecode interpreter.
11586
11587 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
11588
11589 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11590 Don't throw RemoteException.
11591 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11592 throw RemoteException.
11593
11594 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
11595
11596 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11597 proxyHost): New static fields.
11598 (<clinit>): Initialize new fields.
11599 (connect): Use proxy if necessary.
11600 (usingProxy): Implement.
11601
11602 2003-01-03 Eric Blake <ebb9@email.byu.edu>
11603
11604 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11605 (TreeIterator.remove): Prefer IllegalStateException over
11606 ConcurrentModificationException, to match Sun.
11607
11608 2002-12-22 Anthony Green <green@redhat.com>
11609
11610 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11611
11612 2003-01-02 Mark Wielaard <mark@klomp.org>
11613
11614 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11615 public.
11616 (HTTP_USE_PROXY): Add field.
11617 (getResponseVals): Only set responseCode when not yet explicitly
11618 set by subclass.
11619
11620 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
11621 Mark Wielaard <mark@klomp.org>
11622
11623 * java/util/zip/ZipFile.java (entries): Now HashMap.
11624 (readLeShort(DataInput, byte[])): Read from given byte array.
11625 (readLeInt(DataInput, byte[]): Likewise.
11626 (readLeShort(byte[] b, int off)): New method.
11627 (readLeInt(byte[] b, int off)): Likewise.
11628 (readEntries): Use byte arrays to read info in bigger chunks.
11629 (getEntries): Return HashMap.
11630 (getEntry): Use HashMap.
11631 (locBuf): New private field.
11632 (checkLocalHeader): Use locBuf to read info in one chunk.
11633 (getInputStream): Use entries HashMap, wrap PartialInputStream
11634 in BufferedInputStream.
11635 (ZipEntryEnumeration): Use HashMap and Interator.
11636
11637 2003-01-02 Mark Wielaard <mark@klomp.org>
11638 Jeroen Frijters <jeroen@sumatra.nl>
11639
11640 * java/net/URLClassLoader.java (Resource.getCodeSource):
11641 Fix check certs == null.
11642 (getCanonicalFileURL): Removed method.
11643 (JarURLLoader): Don't call removed method.
11644 (FileURLLoader): Likewise.
11645 (FileURLLoader.getResource): Don't canonicalize file name.
11646
11647 2003-01-01 Tom Tromey <tromey@redhat.com>
11648
11649 * Makefile.in: Rebuilt.
11650 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11651 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11652 java/awt/BufferCapabilities.java, java/awt/Button.java,
11653 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11654 java/awt/Container.java, java/awt/Cursor.java,
11655 java/awt/EventQueue.java, java/awt/FileDialog.java,
11656 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11657 java/awt/MenuBar.java, java/awt/MenuComponent.java,
11658 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11659 java/awt/Scrollbar.java, java/awt/TextArea.java,
11660 java/awt/TextField.java, java/awt/color/CMMException.java,
11661 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11662 java/awt/color/ProfileDataException.java,
11663 java/awt/datatransfer/Clipboard.java,
11664 java/awt/datatransfer/DataFlavor.java,
11665 java/awt/datatransfer/FlavorMap.java,
11666 java/awt/datatransfer/SystemFlavorMap.java,
11667 java/awt/dnd/DragGestureEvent.java,
11668 java/awt/dnd/DragGestureRecognizer.java,
11669 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11670 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11671 java/awt/im/InputMethodHighlight.java,
11672 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11673 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11674
11675 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11676 `op' to BufferedImageOp.
11677
11678 2002-12-31 Tom Tromey <tromey@redhat.com>
11679
11680 Fix for PR libgcj/7416:
11681 * javax/naming/InitialContext.java (init): Use
11682 gnu.classpath.home.url.
11683 * java/security/Security.java: Use new properties.
11684 (loadProviders): Accept base url; use it.
11685 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11686 gnu.classpath.home.url.
11687 (gnu.classpath.home.url): Define.
11688 (gnu.classpath.vm.shortname): Likewise.
11689
11690 2002-12-31 Tom Tromey <tromey@redhat.com>
11691 Ranjit Mathew <rmathew@hotmail.com>
11692
11693 Fix for PR libgcj/8997:
11694 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11695 Include platform.h.
11696 * include/posix.h (_Jv_platform_usleep): New function.
11697 * include/win32.h (_Jv_platform_usleep): New function.
11698
11699 2002-12-29 Tom Tromey <tromey@redhat.com>
11700
11701 * gcj/javaprims.h: Updated.
11702 * scripts/classes.pl (scan): Removed stray semicolon.
11703
11704 2002-12-30 Mark Wielaard <mark@klomp.org>
11705
11706 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11707 if zero or smaller.
11708
11709 2002-12-30 Mark Wielaard <mark@klomp.org>
11710
11711 * java/util/Properties (formatForOutput): Don't fall through to
11712 default case after escaping character.
11713
11714 2002-12-30 Mark Wielaard <mark@klomp.org>
11715
11716 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11717 against count.
11718
11719 2002-12-27 Mark Mitchell <mark@codesourcery.com>
11720
11721 * boehm.cc: Remove stray semicolon.
11722 * interpret.cc: Likewise.
11723 * prims.cc: Likewise.
11724 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11725 earlier to ensure default arguments are processed.
11726 * gcj/array.h (JArray): Add forward declaration.
11727 (elements): Likewise.
11728 * gcj/javaprim.h: Remove stray semicolons.
11729 * include/bohm-gc.h: Likewise.
11730 * include/jni.h: Likewise.
11731 * include/jvm.h: Likewise.
11732 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11733
11734 2002-12-23 Jeff Sturm <jsturm@one-point.com>
11735
11736 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11737 of catch_type.
11738 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11739 idt tables after initializing superclass.
11740 * java/lang/natClassLoader.cc (uaddr): New typedef.
11741 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11742 if they are constant pool indicies. Don't link vtable, otable yet.
11743
11744 2002-12-21 Anthony Green <green@redhat.com>
11745
11746 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11747 libraries.
11748 * Makefile.in: Rebuilt.
11749
11750 2002-12-19 Anthony Green <green@redhat.com>
11751
11752 * Makefile.am (ordinary_java_source_files): Add
11753 org/xml/sax/helpers/NewInstance.java.
11754 * Makefile.in: Rebuilt.
11755 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11756 org/xml/sax/helpers/package.html: New files.
11757 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11758 http://www.saxproject.org.
11759
11760 2002-12-19 Andrew Haley <aph@redhat.com>
11761
11762 * java/util/natResourceBundle.cc: Include
11763 ArrayIndexOutOfBoundsException.h.
11764 (getCallingClassLoader): Don't put upper bound on stack search.
11765 Catch ArrayIndexOutOfBoundsException.
11766
11767 2002-12-19 Tom Tromey <tromey@redhat.com>
11768
11769 * libtool-version: Increased `current'.
11770
11771 2002-12-19 Tom Tromey <tromey@redhat.com>
11772
11773 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11774 comment.
11775 * java/lang/ClassLoader.java (defineClass): Use chained
11776 exception when rethrowing.
11777 * defineclass.cc (handleClassBegin): Mark class as interpreted.
11778 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11779 constants.
11780 * resolve.cc (_Jv_PrepareMissingMethods): New function.
11781 (_Jv_PrepareClass): Use it.
11782 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11783 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11784 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11785 (Class): _Jv_PrepareMissingMethods now friend.
11786 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11787 Record `NULL' for system class loader.
11788 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
11789 system class loader.
11790 (_Jv_FindClassInCache): Likewise.
11791 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
11792 (_Jv_FindClass): Special case system class loader.
11793 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11794 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11795 vtable slots.
11796 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11797 in a final class.
11798 (_getDeclaredMethod): Don't return synthetic methods.
11799 (getDeclaredMethods): Likewise.
11800 (_getMethod): Likewise.
11801 (_getMethods): Likewise.
11802
11803 2002-12-18 Raif Naffah <raif@fl.net.au>
11804
11805 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11806 canonical form after divide().
11807 (modInverse): Likewise.
11808
11809 2002-12-13 Casey Marshall <rsdio@metastatic.org>
11810 Mark Wielaard <mark@klomp.org>
11811
11812 * java/security/SecurityRandom (digest): Removed field.
11813 (SecureRandom): Check all providers for case-insensitive SecureRandom
11814 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11815 if necessary.
11816 (getInstance(String,Provider,boolean): New method.
11817 (getInstance(String)): Use new method.
11818 (getInstance(String,String)): Likewise.
11819 (getInstance(String,Provider)): Likewise.
11820
11821 2002-12-13 Casey Marshall <rsdio@metastatic.org>
11822
11823 * java/security/Security.java (loadProviders): Increment i only once.
11824
11825 2002-12-12 Mark Wielaard <mark@klomp.org>
11826
11827 * java/lang/ClassLoader.java (resolveClass0): Transform
11828 ClassNotFoundException to NoClassDefFoundError. Transform all other
11829 throwables to LinkageError.
11830
11831 2002-12-11 Tom Tromey <tromey@redhat.com>
11832
11833 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11834
11835 * java/lang/ClassLoader.java (loadedClasses): New field.
11836 (defineClass): Fixed indentation. Put new class in
11837 loadedClasses.
11838 (findLoadedClass): Implement here.
11839 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11840
11841 2002-12-10 Tom Tromey <tromey@redhat.com>
11842
11843 * Makefile.in: Rebuilt.
11844 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11845 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11846 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11847 * java/lang/natClassLoader.cc
11848 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11849
11850 2002-12-10 Mark Wielaard <mark@klomp.org>
11851 Tom Tromey <tromey@redhat.com>
11852
11853 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11854 (JarURLLoader): Use it.
11855 (FileURLLoader): Likewise.
11856 (JarURLResource.getURL): Use chained exception.
11857 (FileResource.getURL): Likewise.
11858 (FileURLLoader.getResource): Use canonical file name.
11859 (addURL): Indentation fix.
11860
11861 2002-12-10 Tom Tromey <tromey@redhat.com>
11862
11863 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
11864 From Laurent Bardet <l.bardet@magic.fr>.
11865
11866 2002-12-09 Tom Tromey <tromey@redhat.com>
11867
11868 * include/win32.h (_Jv_platform_solib_prefix): New define.
11869 (_Jv_platform_solib_suffix): Likewise.
11870 * include/posix.h (_Jv_platform_solib_prefix): New define.
11871 (_Jv_platform_solib_suffix): Likewise.
11872 * java/lang/natRuntime.cc: Include StackTrace.h.
11873 (_load): Use findLibrary and new platform defines.
11874 (nativeGetLibname): Use new platform defines.
11875
11876 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
11877 `t' won't be null.
11878
11879 2002-12-08 Mark Wielaard <mark@klomp.org>
11880
11881 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
11882 cache remote jar files.
11883 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
11884 add File.separator to URL when it is a directory.
11885 * java/lang/ClassLoader.java: Add Classpath javadoc.
11886 (parent): final.
11887 (getParent): Add (disabled) security check.
11888 (findLibrary): New default method.
11889 * java/net/JarURLConnection.java (getManifest): Implement.
11890 (getInputStream): Only create InputStream when entry exists.
11891 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
11892 when they exist.
11893 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
11894
11895 2002-12-08 Mark Wielaard <mark@klomp.org>
11896
11897 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
11898 (lastDefaultLocale): New field.
11899 (getBundle): When Locale.getDefault != lastDefaultLocale reset
11900 resourceBundleCache.
11901
11902 2002-12-06 Mark Wielaard <mark@klomp.org>
11903
11904 * java/net/InetAddress.java (toString): Use hostname when not null,
11905 don't do an explicit reverse getHostName() lookup.
11906 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
11907 NullPointerException.
11908
11909 2002-12-06 Tom Tromey <tromey@redhat.com>
11910
11911 * include/java-interp.h (class _Jv_InterpMethod): Added
11912 JV_MARKOBJ_DECL.
11913 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
11914 mark `prepared' field of interpreted method.
11915 * interpret.cc (compile): Use _Jv_AllocBytes.
11916
11917 2002-12-05 Andrew Haley <aph@redhat.com>
11918
11919 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
11920 #ifdef (HAVE_BACKTRACE) around the whole function body.
11921
11922 2002-12-05 Tom Tromey <tromey@redhat.com>
11923
11924 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
11925 * resolve.cc: Don't include AbstractMethodError.h.
11926 (_Jv_abstractMethodError): Removed.
11927 * defineclass.cc (handleMethodsBegin): Initialize method index to
11928 -1.
11929 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
11930 method index for "new" final method.
11931 (_Jv_SetVTableEntries): Compare index against -1 instead of using
11932 isVirtualMethod. Added `flags' argument.
11933 (_Jv_MakeVTable): Throw exception for abstract method in concrete
11934 class.
11935
11936 2002-12-04 Tom Tromey <tromey@redhat.com>
11937
11938 * java/net/SocketPermission.java (hashCode): Rewrote.
11939
11940 2002-12-04 Tom Tromey <tromey@redhat.com>
11941
11942 * Makefile.in: Rebuilt.
11943 * Makefile.am (nat_source_files): Added natVMSecurityManager,
11944 natResourceBundle.
11945 * java/util/ResourceBundle.java (Security): Removed.
11946 (getCallingClassLoader): Now native.
11947 * java/util/natResourceBundle.cc: New file.
11948 * java/lang/natVMSecurityManager.cc: New file.
11949 * java/lang/VMSecurityManager.java (getClassContext): Now native.
11950
11951 2002-12-03 Mark Wielaard <mark@klomp.org>
11952
11953 * java/util/jar/JarFile.java (manifest): Not final.
11954 (manifestRead): New field.
11955 (JarFile): Don't read Manifest in constructor.
11956 (getManifest): New method.
11957 (JarEnumeration.nextElement): Use new method.
11958 (getEntry): Likewise.
11959 * java/util/zip/ZipFile.java (name): Final.
11960 (raf): Likewsie.
11961 (entries): Change type to Hashtable.
11962 (closed): New field.
11963 (ZipFile): Don't read enties in constructor.
11964 (readEntries): Use Hashtable.
11965 (close): Set new close flag and set entries to null inside
11966 synchronized block.
11967 (entries): Contruct enumeration using new getEntries() method and
11968 entries Hashtable.
11969 (getEntryIndex): Removed.
11970 (getEntries): New method.
11971 (getEntry): Use new getEntries() method and entries Hastable.
11972 (getInputStream): Likewise.
11973 (size): Return getEntries().size().
11974 (ZipEntryEnumeration): Wrap entries Hashtable elements.
11975 * java/util/zip/ZipEntry.java (cal): Don't initialize.
11976 (time): Removed
11977 (dostime): New field.
11978 (zipFileIndex): Removed.
11979 (ZipEntry(ZipEntry)): Copy dostime.
11980 (setDOSTime): Now final and doesn't convert dos time.
11981 (getDOSTime): Likewise.
11982 (setTime): Convert dos time.
11983 (getTime): Likewise.
11984 (getCalendar): New method.
11985 (setExtra): Use setTime().
11986 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
11987
11988 2002-12-03 Tom Tromey <tromey@redhat.com>
11989
11990 * java/lang/Character.java (forDigit): Formatting fix.
11991
11992 2002-12-03 Raif Naffah <raif@fl.net.au>
11993
11994 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
11995 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
11996 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
11997
11998 2002-12-03 Andrew Haley <aph@redhat.com>
11999
12000 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12001 _Jv_PushClass.
12002 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12003 (_Jv_PopClass): New.
12004 (_Jv_PushClass): New.
12005 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12006 discover the ClassLoader of our caller.
12007 (_Jv_CheckArrayStore): Don't check that a class is assignment
12008 compatible with Object.
12009 * java/lang/natVMTHrowable.cc: Delete.
12010 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12011 java.lang.VMThrowable.
12012 (StackTrace(), StackTrace(int)): New constructors.
12013 (classAt, methodAt, update, methodAtAddress): New methods.
12014 (map): New field.
12015 * java/lang/VMThrowable.java: Use StackTrace instead of
12016 natVMTHrowable.
12017 * java/lang/Class.h (getClassLoaderInternal): New.
12018 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12019 Be friendly with gnu::gcj::runtime::StackTrace.
12020 (Object.chain): New field.
12021 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12022 gnu::gcj::runtime::StackTrace.
12023 * gnu/gcj/runtime/natStackTrace.cc: New file.
12024 * gnu/gcj/runtime/MethodRef.java: New file.
12025 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12026 instead of getClassLoader().
12027 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12028 java::lang::VMThrowable.
12029 * Makefile.am (core_java_source_files): Add MethodRef.java,
12030 StackTrace.java.
12031 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12032 * Makefile.in: Rebuild.
12033
12034 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
12035
12036 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12037 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12038 yes also for sh-linux* and sh[34]*-linux*.
12039 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12040 set SIGNAL_HANDLER to use DWARF2 exception for them.
12041 * configure: Regenerate.
12042
12043 2002-12-02 Tom Tromey <tromey@redhat.com>
12044
12045 * jni.cc: Added `name' argument.
12046 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12047 `const char *' argument.
12048 (class _Jv_JNIEnv) [DefineClass]: Likewise.
12049
12050 2002-12-01 Tom Tromey <tromey@redhat.com>
12051
12052 Bug compatibility, for PR libgcj/8738:
12053 * java/io/CharArrayWriter.java (close): Do nothing.
12054 (flush): Likewise.
12055 (reset): Don't touch `closed'.
12056 (write(int)): Don't throw IOException.
12057 (write(char[],int,int)): Likewise.
12058 (write(String,int,int)): Likewise.
12059 (closed): Removed.
12060
12061 2002-12-01 Mark Wielaard <mark@klomp.org>
12062
12063 * java/lang/SecurityManager.java: Remerge comments, indenting and
12064 checkXXX methods with Classpath.
12065
12066 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
12067
12068 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12069 getNormalizedComponents): Fix calculation which was using one too
12070 many bits in the unnormalized format.
12071
12072 2002-11-29 Gary Benson <gbenson@redhat.com>
12073
12074 For PR libgcj/8759:
12075 * java/beans/Introspector.java (flushCaches): New method.
12076 (flushFromCaches): Likewise.
12077
12078 2002-11-29 Michael Koch <konqueror@gmx.de>
12079
12080 * java/nio/channels/DatagramChannel.java
12081 (open): Added exception documentation.
12082 (write): Added exception documentation.
12083 (connect): Added exception documentation.
12084 (disconnect): Added exception documentation.
12085 (isConnected): Added exception documentation.
12086 (read): Added exception documentation.
12087 (receive): Added exception documentation.
12088 (send): Added exception documentation.
12089 (validOps): Added exception documentation.
12090 * java/nio/channels/SocketChannel.java
12091 (open): Added exception documentation.
12092 (read): Added exception documentation.
12093 (write): Added exception documentation.
12094 (connect): Added exception documentation.
12095 (finishConnect): Added exception documentation.
12096
12097 2002-11-29 Michael Koch <konqueror@gmx.de>
12098
12099 * gnu/java/nio/DatagramChannelImpl:
12100 (fd): New member variable to store file descriptor of socket.
12101 * gnu/java/nio/SelectionKeyImpl.java:
12102 (ops): Removed.
12103 (readyOps): New member variable.
12104 (interestOps): New member variable.
12105 (readyOps): Implemented.
12106 (readyOps): New method to set member variable readyOps.
12107 (interestOps): Replaced ops by interestOps.
12108 * gnu/java/nio/SelectorImpl.java:
12109 (SelectorImpl): Initialize key sets.
12110 (select): Call select with -1 instead of Long.MAX_VALUE).
12111 (java_do_select): Make it a native method.
12112 (getFDsAsArray): New helper method.
12113 (select): Remove canceled keys, give only interested file discriptors
12114 to java_do_select, set ready ops.
12115 (add): No need to initialize keys set here.
12116 (add_selected): No need to initialize selected set here.
12117 (deregisterCanceledKeys): New helper method.
12118 (register): Set interest ops, set attachments, added handling of datagram
12119 channels.
12120 * gnu/java/nio/ServerSocketChannelImpl:
12121 (SocketAccept): Renamed from NioSocketAccept.
12122 (implConfigureBlocking): Implemented.
12123 (accept): Use SocketAccept instead of NioSocketAccept.
12124 * gnu/java/nio/SocketChannelImpl:
12125 Reactivate native methods.
12126
12127 2002-11-29 Michael Koch <konqueror@gmx.de>
12128
12129 * gnu/java/nio/natByteBufferImpl.cc,
12130 gnu/java/nio/natCharBufferImpl.cc,
12131 gnu/java/nio/natDoubleBufferImpl.cc,
12132 gnu/java/nio/natFloatBufferImpl.cc,
12133 gnu/java/nio/natIntBufferImpl.cc,
12134 gnu/java/nio/natLongBufferImpl.cc,
12135 gnu/java/nio/natSelectorImpl.cc,
12136 gnu/java/nio/natServerSocketChannelImpl.cc,
12137 gnu/java/nio/natShortBufferImpl.cc,
12138 gnu/java/nio/natSocketChannelImpl.cc:
12139 New files that implement native functionalities.
12140
12141 2002-11-29 Michael Koch <konqueror@gmx.de>
12142
12143 * gnu/java/nio/ByteBufferImpl.java
12144 (ByteBufferImpl): Moved position() after limit.
12145 (nio_*): Use native implementation.
12146 * gnu/java/nio/CharBufferImpl.java:
12147 Reformated.
12148 (endian): New member variable string endianess of buffer.
12149 (CharBufferImpl): Moved position() after limit.
12150 (nio_*): Use native implementation.
12151 (subSequence): Implemented.
12152 * gnu/java/nio/DoubleBufferImpl.java
12153 (DoubleBufferImpl): Moved position() after limit.
12154 (nio_*): Use native implementation.
12155 * gnu/java/nio/FloatBufferImpl.java
12156 Reformated.
12157 (FloatBufferImpl): Moved position() after limit.
12158 (nio_*): Use native implementation.
12159 * gnu/java/nio/IntBufferImpl.java
12160 Added needed imports, Reformated.
12161 (IntBufferImpl): Moved position() after limit.
12162 (nio_*): Use native implementation.
12163 * gnu/java/nio/LongBufferImpl.java
12164 Reformated.
12165 (LongBufferImpl): Moved position() after limit.
12166 (nio_*): Use native implementation.
12167 * gnu/java/nio/ShortBufferImpl.java
12168 Reformated.
12169 (ShortBufferImpl): Moved position() after limit.
12170 (nio_*): Use native implementation.
12171
12172 2002-11-27 Julian Dolby <dolby@us.ibm.com>
12173
12174 * java/util/Locale.java (toString): Improve efficiency if country
12175 and variant are both empty.
12176
12177 2002-11-26 Tom Tromey <tromey@redhat.com>
12178
12179 * verify.cc (pop_init_ref): New method.
12180 (verify_instructions_0) [op_iaload, op_laload, op_faload,
12181 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12182 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12183 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12184 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12185 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12186 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
12187 let `this' argument be uninitialized. Don't let `null' be passed
12188 as `this' to construtor.
12189
12190 2002-11-26 Mark Wielaard <mark@klomp.org>
12191
12192 * javax/transaction/HeuristicCommitException.java: Classpath merge.
12193 * javax/transaction/HeuristicMixedException.java: Likewise.
12194 * javax/transaction/HeuristicRollbackException.java: Likewise.
12195 * javax/transaction/InvalidTransactionException.java: Likewise.
12196 * javax/transaction/NotSupportedException.java: Likewise.
12197 * javax/transaction/RollbackException.java: Likewise.
12198 * javax/transaction/Status.java: Likewise.
12199 * javax/transaction/Synchronization.java: Likewise.
12200 * javax/transaction/SystemException.java: Likewise.
12201 * javax/transaction/Transaction.java: Likewise.
12202 * javax/transaction/TransactionManager.java: Likewise.
12203 * javax/transaction/TransactionRequiredException.java: Likewise.
12204 * javax/transaction/TransactionRolledbackException.java: Likewise.
12205 * javax/transaction/UserTransaction.java: Likewise.
12206 * javax/transaction/xa/XAException.java: Likewise.
12207 * javax/transaction/xa/XAResource.java: Likewise.
12208 * javax/transaction/xa/Xid.java: Likewise.
12209
12210 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
12211
12212 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12213 define.
12214 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12215 * include/posix.h (socklen_t): Define if not already defined.
12216
12217 2002-11-25 Tom Tromey <tromey@redhat.com>
12218
12219 * verify.cc (type::compatible): Backed out broken change.
12220
12221 * verify.cc (type::compatible): Check initialization status
12222 first.
12223 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12224 Don't use NULLCHECK.
12225
12226 2002-11-23 H.J. Lu <hjl@gnu.org>
12227
12228 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12229 Include ../config/accross.m4.
12230 * aclocal.m4; Rebuild.
12231 * configure: Likewise.
12232
12233 2002-11-23 Mark Wielaard <mark@klomp.org>
12234
12235 * javax/naming/AuthenticationException.java: Update copyright header.
12236 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12237 * javax/naming/Binding.java: Likewise.
12238 * javax/naming/CannotProceedException.java: Likewise.
12239 * javax/naming/CommunicationException.java: Likewise.
12240 * javax/naming/CompositeName.java: Likewise.
12241 * javax/naming/CompoundName.java: Likewise.
12242 * javax/naming/ConfigurationException.java: Likewise.
12243 * javax/naming/Context.java: Likewise.
12244 * javax/naming/ContextNotEmptyException.java: Likewise.
12245 * javax/naming/InitialContext.java: Likewise.
12246 * javax/naming/InsufficientResourcesException.java: Likewise.
12247 * javax/naming/InterruptedNamingException.java: Likewise.
12248 * javax/naming/LimitExceededException.java: Likewise.
12249 * javax/naming/LinkException.java: Likewise.
12250 * javax/naming/LinkLoopException.java: Likewise.
12251 * javax/naming/LinkRef.java: Likewise.
12252 * javax/naming/MalformedLinkException.java: Likewise.
12253 * javax/naming/NameAlreadyBoundException.java: Likewise.
12254 * javax/naming/NameClassPair.java: Likewise.
12255 * javax/naming/NameNotFoundException.java: Likewise.
12256 * javax/naming/NameParser.java: Likewise.
12257 * javax/naming/NamingEnumeration.java: Likewise.
12258 * javax/naming/NamingSecurityException.java: Likewise.
12259 * javax/naming/NoInitialContextException.java: Likewise.
12260 * javax/naming/NoPermissionException.java: Likewise.
12261 * javax/naming/NotContextException.java: Likewise.
12262 * javax/naming/OperationNotSupportedException.java: Likewise.
12263 * javax/naming/PartialResultException.java: Likewise.
12264 * javax/naming/Reference.java: Likewise.
12265 * javax/naming/Referenceable.java: Likewise.
12266 * javax/naming/ReferralException.java: Likewise.
12267 * javax/naming/ServiceUnavailableException.java: Likewise.
12268 * javax/naming/SizeLimitExceededException.java: Likewise.
12269 * javax/naming/TimeLimitExceededException.java: Likewise.
12270 * javax/naming/directory/Attribute.java: Likewise.
12271 * javax/naming/directory/AttributeInUseException.java: Likewise.
12272 * javax/naming/directory/AttributeModificationException.java: Likewise.
12273 * javax/naming/directory/Attributes.java: Likewise.
12274 * javax/naming/directory/BasicAttribute.java: Likewise.
12275 * javax/naming/directory/BasicAttributes.java: Likewise.
12276 * javax/naming/directory/DirContext.java: Likewise.
12277 * javax/naming/directory/InitialDirContext.java: Likewise.
12278 * javax/naming/directory/InvalidAttributeIdentifierException.java:
12279 Likewise.
12280 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12281 * javax/naming/directory/InvalidAttributesException.java: Likewise.
12282 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12283 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12284 * javax/naming/directory/ModificationItem.java: Likewise.
12285 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12286 * javax/naming/directory/SchemaViolationException.java: Likewise.
12287 * javax/naming/directory/SearchControls.java: Likewise.
12288 * javax/naming/directory/SearchResult.java: Likewise.
12289 * javax/naming/event/EventContext.java: Likewise.
12290 * javax/naming/event/EventDirContext.java: Likewise.
12291 * javax/naming/event/NamespaceChangeListener.java: Likewise.
12292 * javax/naming/event/NamingEvent.java: Likewise.
12293 * javax/naming/event/NamingExceptionEvent.java: Likewise.
12294 * javax/naming/event/NamingListener.java: Likewise.
12295 * javax/naming/event/ObjectChangeListener.java: Likewise.
12296 * javax/naming/ldap/Control.java: Likewise.
12297 * javax/naming/ldap/ControlFactory.java: Likewise.
12298 * javax/naming/ldap/ExtendedRequest.java: Likewise.
12299 * javax/naming/ldap/ExtendedResponse.java: Likewise.
12300 * javax/naming/ldap/HasControls.java: Likewise.
12301 * javax/naming/ldap/InitialLdapContext.java: Likewise.
12302 * javax/naming/ldap/LdapContext.java: Likewise.
12303 * javax/naming/ldap/LdapReferralException.java: Likewise.
12304 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12305 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12306 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12307 * javax/naming/spi/DirObjectFactory.java: Likewise.
12308 * javax/naming/spi/DirStateFactory.java: Likewise.
12309 * javax/naming/spi/DirectoryManager.java: Likewise.
12310 * javax/naming/spi/InitialContextFactory.java: Likewise.
12311 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12312 * javax/naming/spi/NamingManager.java: Likewise.
12313 * javax/naming/spi/ObjectFactory.java: Likewise.
12314 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12315 * javax/naming/spi/ResolveResult.java: Likewise.
12316 * javax/naming/spi/Resolver.java: Likewise.
12317 * javax/naming/spi/StateFactory.java: Likewise.
12318
12319 * javax/naming/spi/NamingManager.java (ofb): Package private.
12320
12321 2002-11-21 Mark Wielaard <mark@klomp.org>
12322
12323 * java/net/URL.java: Merge with Classpath (partly).
12324 * java/net/URLStreamHandler: Merge with Classpath.
12325
12326 2002-11-22 Michael Koch <konqueror@gmx.de>
12327
12328 * include/posix.h:
12329 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12330 * include/win32.h:
12331 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12332 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12333
12334 2002-11-21 Michael Koch <konqueror@gmx.de>
12335
12336 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12337 Only the new network functions should be in it.
12338
12339 2002-11-21 Michael Koch <konqueror@gmx.de>
12340
12341 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12342 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12343
12344 2002-11-21 Michael Koch <konqueror@gmx.de>
12345
12346 * java/nio/channels/AsynchronousCloseException.java,
12347 java/nio/channels/CancelledKeyException.java,
12348 java/nio/channels/ClosedByInterruptException.java,
12349 java/nio/channels/ConnectionPendingException.java,
12350 java/nio/channels/FileLockInterruptionException.java,
12351 java/nio/channels/IllegalSelectorException.java,
12352 java/nio/channels/NoConnectionPendingException.java,
12353 java/nio/channels/NonReadableChannelException.java,
12354 java/nio/channels/NonWritableChannelException.java,
12355 java/nio/channels/NotYetBoundException.java,
12356 java/nio/channels/NotYetConnectedException.java,
12357 java/nio/channels/OverlappingFileLockException.java,
12358 java/nio/channels/UnresolvedAddressException.java,
12359 java/nio/channels/UnsupportedAddressTypeException.java:
12360 New files.
12361 * Makefile.am (ordinary_java_source_files): Added new files.
12362 * Makefile.in: Regenerated.
12363
12364 2002-11-21 Michael Koch <konqueror@gmx.de>
12365
12366 * include/posix.h
12367 (_Jv_socket): New method.
12368 (_Jv_connect): New method.
12369 (_Jv_close): New method.
12370 (_Jv_platform_close_on_exec): Prefixed system function with "::".
12371 (_Jv_bind): New method.
12372 (_Jv_listen): New method.
12373 (_Jv_write): New method.
12374 (_Jv_read): New method.
12375 * include/win32.h
12376 (_Jv_socket): New method.
12377 (_Jv_connect): New method.
12378 (_Jv_close): New method.
12379 (_Jv_bind): New method.
12380 (_Jv_listen): New method.
12381 (_Jv_write): New method.
12382 (_Jv_read): New method.
12383 * java/net/natNetworkInterface.cc:
12384 Include platform.h, removed inclusion of socket.h
12385 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12386 ::close() by _Jv_close().
12387 * java/net/natPlainDatagramSocketImpl.cc:
12388 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12389 added some new lines to make code more readable.
12390 (create): Replaced ::socket() by _Jv_socket().
12391 (close): Replaced NATIVE_CLOSE() by _Jv_close().
12392 * java/net/natPlainSocketImpl.cc:
12393 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12394 removed include of socket.h, removed some windows defines
12395 (now in include/win32.h).
12396 (create): Replaced ::socket() by _Jv_socket().
12397 (close): Replaced NATIVE_CLOSE() by _Jv_close().
12398 (write): Replaced ::read by _Jv_write().
12399 (read): Replaced ::read by _Jv_read().
12400
12401 2002-11-20 Michael Koch <konqueror@gmx.de>
12402
12403 * Makefile.am (ordinary_java_source_files):
12404 Added java/nio/channels/FileChannel.java.
12405 * Makefile.in: Regenerated.
12406
12407 2002-11-20 Michael Koch <konqueror@gmx.de>
12408
12409 * java/io/FileInputStream.java
12410 (getChannel): New method.
12411 * java/io/FileOutputStream.java
12412 (getChannel): New method.
12413 * java/net/ServerSocket.java
12414 (bind): Removed duplicate code and called another bind method instead.
12415 * java/nio/channels/SelectionKey.java
12416 (isValid): Removed wrong exception documentation.
12417 * java/nio/channels/ServerSocketChannel.java
12418 (accept): Added exception documentation.
12419 (open): Fixed typo, added exception documentation.
12420 * java/nio/channels/spi/AbstractSelectableChannel.java
12421 (implCloseChannel): Added exception documentation.
12422 (add): Reformated.
12423 (register): Added exception documentation.
12424
12425 2002-11-20 Andreas Jaeger <aj@suse.de>
12426
12427 * configure: Regenerated with new libtool.m4.
12428
12429 2002-11-19 Tom Tromey <tromey@redhat.com>
12430
12431 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12432 `referent'.
12433 (finalize_referred_to_object): Don't modify `referent' or `copy'
12434 fields.
12435 (add_to_hash): Correctly set `n->next' when updating list.
12436 * java/lang/ref/Reference.java (enqueue): Return false if already
12437 enqueued.
12438
12439 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
12440
12441 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12442 to function and function pointer declarations in accordance with
12443 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12444 based on whether __GCJ_JNI_IMPL__ has been defined or not.
12445 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12446 JNI function definitions.
12447
12448 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12449
12450 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12451 that was causing CoderResults to be cached, not WeakReferences
12452 to CoderResults.
12453
12454 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
12455
12456 * java/security/KeyStore.java (getInstance): Fix
12457 comment and throw IllegalArgumentException if
12458 given provider is null.
12459 (getInstance): New method for jdk1.4 compatibility.
12460
12461 2002-11-18 Michael Koch <konqueror@gmx.de>
12462
12463 * java/net/PlainSocketImpl.java: Fix imports.
12464
12465 2002-11-18 Michael Koch <konqueror@gmx.de>
12466
12467 * java/nio/channels/SelectionKey.java
12468 (isValid): Added exception documentation.
12469 * java/nio/channels/Selector.java
12470 (open): Declare "throws IOException".
12471
12472 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12473
12474 * java/nio/charset/Charset.java
12475 (<clinit>): New method.
12476 (encode): Synchronize use of cached encoder object.
12477 (decode): Synchronize use of cached encoder object.
12478
12479 2002-11-18 Michael Koch <konqueror@gmx.de>
12480
12481 * gnu/java/nio/ByteBufferImpl.java,
12482 gnu/java/nio/CharBufferImpl.java,
12483 gnu/java/nio/DatagramChannelImpl.java,
12484 gnu/java/nio/DoubleBufferImpl.java,
12485 gnu/java/nio/FileChannelImpl.java,
12486 gnu/java/nio/FloatBufferImpl.java,
12487 gnu/java/nio/IntBufferImpl.java,
12488 gnu/java/nio/LongBufferImpl.java,
12489 gnu/java/nio/PipeImpl.java,
12490 gnu/java/nio/SelectionKeyImpl.java,
12491 gnu/java/nio/SelectorImpl.java,
12492 gnu/java/nio/SelectorProviderImpl.java,
12493 gnu/java/nio/ServerSocketChannelImpl.java,
12494 gnu/java/nio/ShortBufferImpl.java,
12495 gnu/java/nio/SocketChannelImpl.java,
12496 java/nio/DoubleBuffer.java,
12497 java/nio/FloatBuffer.java,
12498 java/nio/IntBuffer.java,
12499 java/nio/LongBuffer.java,
12500 java/nio/ShortBuffer.java,
12501 java/nio/channels/FileChannel.java: New files.
12502
12503 2002-11-18 Michael Koch <konqueror@gmx.de>
12504
12505 * Makefile.am (ordinary_java_source_files):
12506 Added java/nio/ReadOnlyBufferException.java and
12507 java/nio/channels/ClosedSelectorException.java.
12508 * Makefile.in: Regenerated.
12509
12510 2002-11-18 Michael Koch <konqueror@gmx.de>
12511
12512 * java/net/PlainSocketImpl.java: Reworked imports.
12513 * java/net/ServerSocket.java
12514 (ServerSocket): Create socket.
12515 * java/net/SocketAddress.java: Documentation added.
12516 * java/net/natPlainSocketImpl.cc: Reindented.
12517 * java/nio/ReadOnlyBufferException.java: New file
12518 * java/nio/channels/ClosedChannelException.java: Documentation added.
12519 * java/nio/channels/ClosedSelectorException.java: New file.
12520
12521 2002-11-17 Mark Wielaard <mark@klomp.org>
12522
12523 * java/net/HttpURLConnection.java ((getPermission): Take port
12524 into consideration.
12525 (getErrorStream): Implement.
12526
12527 2002-11-17 Mark Wielaard <mark@klomp.org>
12528
12529 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12530
12531 2002-11-16 Mark Wielaard <mark@klomp.org>
12532
12533 Integrate work by Raif S. Naffah (raif@fl.net.au)
12534 * java/security/DummyKeyPairGenerator.java (clone): New method.
12535 * java/security/DummyMessageDigest.java (clone): New method.
12536 (engineUpdate): Now public.
12537 (engineReset): Likewise.
12538 (engineDigest): Likewise.
12539 (engineGetDigestLength): New method.
12540 * java/security/DummySignature.java (clone): New method.
12541 * java/security/KeyPairGenerator.java (provider): Now package private.
12542 (getInstance(String)): Use getInstance(String,Provider).
12543 (getInstance(String,String): Use getInstance(String,Provider)
12544 (getInstance(String,Provider): New method.
12545 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12546 * java/security/KeyPairGeneratorSpi.java (clone): New method.
12547 * java/security/MessageDigest.java (provider): Now package private.
12548 (getInstance(String): Use getInstance(String,Provider).
12549 (getInstance(String,String): Use getInstance(String,Provider)
12550 (getInstance(String,Provider): New method.
12551 * java/security/Provider.java (toCanonicalKey): New method.
12552 (get): New method that uses toCanonicalKey().
12553 (put): Use toCanonicalKey().
12554 (remove): Likewise.
12555 * java/security/Security.java (insertProviderAt): Provider index is one
12556 based, not zero based.
12557 (addProvider): Likewise.
12558 (removeProvider): Likewise.
12559 * java/security/Signature.java (provider): Now package private.
12560 (getInstance(String)): Use getInstance(String,Provider).
12561 (getInstance(String,String): Use getInstance(String,Provider)
12562 (getInstance(String,Provider): New method.
12563 (getInstance(String,String,Provider): Don't cast DummySignature.
12564
12565 2002-11-15 Tom Tromey <tromey@redhat.com>
12566
12567 For PR libgcj/8593:
12568 * java/util/zip/GZIPInputStream.java (read): Check file size.
12569 Look in inflater for remaining input bytes.
12570 (read4): Added buf and offset arguments.
12571
12572 2002-11-12 Eric Blake <ebb9@email.byu.edu>
12573
12574 * java/applet/AppletContext.java: Fix typo and remove redundant
12575 modifiers.
12576
12577 2002-11-14 Tom Tromey <tromey@redhat.com>
12578
12579 * java/lang/natRuntime.cc (insertSystemProperties): Set
12580 gnu.classpath.home.
12581
12582 2002-11-13 Michael Koch <konqueror@gmx.de>
12583
12584 * java/nio/ByteBuffer.java
12585 (allocate): New method.
12586 (wrap): New method.
12587 (put): New method.
12588 (get): New method.
12589
12590 2002-11-13 Michael Koch <konqueror@gmx.de>
12591
12592 * java/nio/channels/AlreadyConnectedException.java:
12593 Removed unneeded import.
12594 (AlreadyConnectedException): Documentation added.
12595 * java/nio/channels/Pipe.java
12596 (SinkChannel.SinkChannel): Documentation added.
12597 (SinkChannel.validOps): New method.
12598 (SourceChannel.SourceChannel): Documentation added.
12599 (SourceChannel.validOps): New method.
12600 (Pipe): Documentation added.
12601 (open): Documentation added.
12602 (SinkChannel.channel): Documentation added.
12603 (SourceChannel.channel): Documentation added.
12604 * java/nio/channel/SelectableChannel.java
12605 (SelectableChannel): Documentation added.
12606 (blockingLock): Documentation added.
12607 (configureBlocking):Documentation added.
12608 (isBlocking):Documentation added.
12609 (isRegistered):Documentation added.
12610 (keyFor):Documentation added.
12611 (provider):Documentation added.
12612 (register): Documentation added.
12613 (validOps): Documentation added.
12614 * jaba/nio/channels/SelectionKey.java
12615 (SelectionKey): Documentation added.
12616 (attach): Documentation added.
12617 (attachment): Documentation added.
12618 (isAcceptable): Documentation added.
12619 (isConnetable): Documentation added.
12620 (isReadable): Documentation added.
12621 (isWritable): Documentation added.
12622 (cancel): Documentation added.
12623 (channel): Documentation added.
12624 (interestOps): Documentation added.
12625 (isValid): Documentation added.
12626 (readyOps): Documentation added.
12627 (selector): Documentation added.
12628 * jaba/nio/channels/Selector.java
12629 (Selector): Documentation added.
12630 (open): Documentation added.
12631 (close): Documentation added.
12632 (isOpen): Documentation added.
12633 (keys): Documentation added.
12634 (provider): Documentation added.
12635 (select): Documentation added.
12636 (selectedKeys): Documentation added.
12637 (selectNow): Documentation added.
12638 (wakeup): Documentation added.
12639 * java/nio/channels/spi/AbstractInterruptibleChannel.java
12640 (AbstractInterruptibleChannel): Documentation added.
12641 (opened): Default to true;
12642 (begin): Documentation added.
12643 (close): Set opened to false, documentation added.
12644 (isOpen): Documentation added.
12645 * java/nio/channels/spi/AbstractSelectionKey.java
12646 (AbstractSelectionKey): Documentation added.
12647 (cancel): Documentation added.
12648 (isValid): Documentation added.
12649 * java/nio/channels/spi/AbstractSelector.java
12650 (AbstractSelector): Documentation added.
12651 (begin): Documentation added.
12652 (close): Documentation added.
12653 (isOpen): Documentation added.
12654 (deregister): Documentation added.
12655 (end): Documentation added.
12656 (provider): Documentation added.
12657 (implCloseSelector): Documentation added.
12658 (register): Documentation added.
12659 * java/nio/channels/spi/SelectorProvider.java
12660 (SelectorProvider): Documentation added.
12661 (openDatagramChannel): Documentation added.
12662 (openPipe): Documentation added.
12663 (openSelector): Documentation added.
12664 (openServerSocketChannel): Documentation added.
12665 (openSocketChannel): Documentation added.
12666 (provider): Documentation added.
12667
12668 2002-11-12 Michael Koch <konqueror@gmx.de>
12669
12670 * java/nio/Buffer.java: Implemented.
12671 * java/nio/CharBuffer.java: New file.
12672 * java/nio/InvalidMarkException.java: New file.
12673 * java/nio/channels/DatagramChannel.java: Implemented.
12674 * java/nio/channels/ServerSocketChannel.java: Implemented.
12675 * java/nio/channels/SocketChannel.java: Implemented.
12676 * java/nio/channels/spi/AbstractChannel.java: Removed.
12677 * java/nio/channels/spi/AbstractSelectableChannel.java:
12678 Implemented.
12679 * java/nio/charset/Charset.java:
12680 Merge from Classpath.
12681 * java/nio/charset/CharsetDecoder.java: New file.
12682 * java/nio/charset/CharsetEncoder.java: New file.
12683 * java/nio/charset/CoderResult.java: New file.
12684 * Makefile.am (ordinary_java_source_files): Added new files.
12685 * Makefile.in: Regenerated.
12686
12687 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12688
12689 * gnu/java/nio/charset/ISO_8859_1.java,
12690 gnu/java/nio/charset/Provider.java,
12691 gnu/java/nio/charset/US_ASCII.java,
12692 gnu/java/nio/charset/UTF_16.java,
12693 gnu/java/nio/charset/UTF_16BE.java,
12694 gnu/java/nio/charset/UTF_16Decoder.java,
12695 gnu/java/nio/charset/UTF_16Encoder.java,
12696 gnu/java/nio/charset/UTF_16LE.java,
12697 gnu/java/nio/charset/UTF_8.java: New files.
12698
12699 2002-11-11 Michael Koch <konqueror@gmx.de>
12700
12701 * java/nio/charset/CharacterCodingException.java:
12702 This class must be public.
12703 * java/nio/charset/CoderMalfunctionError.java:
12704 This class must be public.
12705 * java/nio/charset/CodingErrorAction.java:
12706 This class must be public.
12707 * java/nio/charset/IllegalCharsetNameException.java:
12708 This class must be public, better implementation.
12709 * java/nio/charset/MalformedInputException.java:
12710 This class must be public, better implementation.
12711 * java/nio/charset/UnmappableCharacterException.java:
12712 This class must be public, better implementation.
12713 * java/nio/charset/UnsupportedCharsetException.java:
12714 This class must be public, better implementation.
12715
12716 2002-11-11 Michael Koch <konqueror@gmx.de>
12717
12718 * java/nio/BufferOverflowException.java,
12719 java/nio/BufferUnderflowException.java: New file.
12720 * Makefile.am (ordinary_java_source_files):
12721 Added new files.
12722 * Makefile.in: Regenerated.
12723
12724 2002-11-10 Tom Tromey <tromey@redhat.com>
12725
12726 * java/awt/Container.java (validate): Use tree lock.
12727 (getComponent): Likewise.
12728 (getComponents): Likewise.
12729 (addImpl): Likewise.
12730 (remove): Likewise.
12731 (removeAll): Likewise.
12732 (processEvent): Fixed indentation.
12733 (getComponentAt): Use tree lock.
12734 (findComponentAt): Likewise.
12735 (removeNotify): Likewise.
12736 (isAncestorOf): Likewise.
12737 (list): Likewise.
12738 (visitChildren): Likewise.
12739 (findNextFocusComponent): Likewise.
12740 (addNotifyContainerChildren): Likewise.
12741 (getAccessibleChildrenCount): Likewise.
12742 (getAccessibleChild): Likewise.
12743
12744 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12745 (getSize): Likewise.
12746 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12747 (getSize): Likewise.
12748 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12749 (calcSize): Likewise.
12750 * java/awt/CardLayout.java (getSize): Use tree lock.
12751 (gotoComponent): Likewise.
12752 (layoutContainer): Likewise.
12753
12754 * java/io/natFileDescriptorWin32.cc (read): Handle case where
12755 count is 0.
12756 * java/io/natFileDescriptorPosix.cc (read): Handle case where
12757 count is 0.
12758
12759 * java/io/Externalizable.java, java/io/FilePermission.java,
12760 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12761 java/io/SerializablePermission.java, java/text/Format.java,
12762 java/util/AbstractMap.java, java/util/HashMap.java,
12763 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12764 versions from Classpath.
12765
12766 2002-11-10 Anthony Green <green@redhat.com>
12767
12768 * java/util/jar/Attributes.java (Name): Fix name check.
12769
12770 2002-11-10 Mark Wielaard <mark@klomp.org>
12771
12772 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12773 with getName() as message.
12774 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12775 type as message.
12776
12777 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12778 unused.
12779
12780 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
12781
12782 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12783 for Win32. JNICALL has been defined to __stdcall to be compatible
12784 with Sun's JDKs.
12785
12786 2002-11-10 Tom Tromey <tromey@redhat.com>
12787
12788 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12789 (setRows): Check newRows, not rows.
12790
12791 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12792
12793 2002-11-09 Tom Tromey <tromey@redhat.com>
12794
12795 * java/applet/Applet.java, java/applet/AppletContext.java,
12796 java/applet/AppletStub.java, java/applet/AudioClip.java,
12797 java/awt/CardLayout.java,
12798 java/awt/ContainerOrderFocusTraversalPolicy.java,
12799 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12800 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12801 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12802 java/awt/color/ICC_ColorSpace.java,
12803 java/awt/color/ICC_Profile.java,
12804 java/awt/color/ICC_ProfileGray.java,
12805 java/awt/color/ICC_ProfileRGB.java,
12806 java/awt/datatransfer/DataFlavor.java,
12807 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12808 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12809 New versions from Classpath.
12810 * Makefile.in: Rebuilt.
12811 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12812 ICC_ProfileRGB.
12813
12814 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12815 display policy.
12816
12817 * java/awt/List.java (processEvent): Added missing `else's.
12818
12819 * java/awt/Window.java (show): validate() before showing. Make
12820 parent displayable.
12821 (isDisplayable): New method.
12822
12823 2002-11-07 Mark Wielaard <mark@klomp.org>
12824
12825 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12826 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12827
12828 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12829 annotation.
12830 (loadClass): Take String as codebases.
12831 (getClassAnnotation): Use MyClassLoader annotations.
12832 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12833 call exportObject(this).
12834
12835 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12836 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12837 (setAnnotation): Don't set locBytesStream and locStream.
12838 (replaceObject): Removed.
12839 (flush): Don't test locStream.
12840 (getLocBytes): LikeWise.
12841 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12842 (leaseCache): New field.
12843 (dirty): Use leaseCache.
12844 (LeaseRecord): New inner class.
12845 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12846 explicitly call exportObject().
12847 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12848 false to communicate with Sun JDK130.
12849 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12850 * gnu/java/rmi/server/RMIObjectInputStream.java
12851 (UnicastConnectionManager): Removed field.
12852 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12853 Use UnicastServer.getExportedRef().
12854 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12855 (expireTime): Likewise.
12856 (CONNECTION_TIMEOUT): Likewise.
12857 (disconnect): Call sock.close().
12858 (isExpired): New method.
12859 (resetTime): Likewise.
12860 (run): Use do while loop and catch Exception for discardConnection().
12861 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
12862 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
12863 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
12864 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
12865 (exportObject): Use refcache.
12866 (unexportObject): Likewise.
12867 (getExportedRef): New method.
12868 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
12869 constructor.
12870 (exportObject): Save manager.serverobj.
12871 (getStub): New method.
12872
12873 2002-11-07 Mark Wielaard <mark@klomp.org>
12874
12875 * java/lang/reflect/natField.cc (getBoolean): Use getType().
12876 (getByte): Likewise.
12877 (getShort): Likewise.
12878 (getInt): Likewise.
12879 (getLong): Likewise.
12880 (getFloat): Likewise.
12881 (getDouble): Likewise.
12882 (get): Likewise.
12883 (setChar): Likewise.
12884 (setByte): Likewise.
12885 (setShort): Likewise.
12886 (setInt): Likewise.
12887 (setLong): Likewise.
12888 (setFloat): Likewise.
12889 (setDouble): Likewise.
12890
12891 2002-11-07 Michael Koch <konqueror@gmx.de>
12892
12893 * java/awt/Choice.java,
12894 java/awt/Container.java,
12895 java/awt/GridBagLayout.java:
12896 Fixed documentation.
12897 * java/awt/peer/ContainerPeer.java:
12898 Reindented.
12899
12900 2002-11-07 Michael Koch <konqueror@gmx.de>
12901
12902 * java/awt/color/ICC_Profile.java:
12903 Added missing constants.
12904 * java/awt/color/ICC_ColorSpace.java
12905 (getMinValue): Added dummy implementation.
12906 (getMaxValue): Added dummy implementation.
12907 * java/awt/datatransfer/DataFlavor.java
12908 (imageFlavor): Added.
12909 (isMimeTypeEqual): Must be final.
12910 (getDefaultRepresentationClass): Must be non-static.
12911 (getDefaultRepresentationClassAsString): Must be non-static.
12912 * java/awt/dnd/DragSourceContext.java
12913 (dragExit): Corrected argument.
12914 (dragDropEnd): Corrected argument.
12915 * java/awt/dnd/DragSourceListener.java.java
12916 (dragExit): Corrected argument.
12917 (dragDropEnd): Corrected argument.
12918 * java/awt/font/TextHitInfo.java
12919 (toString): Added stubbed implementation.
12920 * java/awt/geom/PathIterator.java:
12921 The constants must be static.
12922 * java/awt/image/VolatileImage.java
12923 (IMAGE_INCOMPATIBLE): Fixed typo.
12924 * java/awt/image/renderable/RenderableImage.java
12925 (HINTS_OBSERVED): Must be static.
12926 * java/beans/BeanInfo.java:
12927 Constants must be final.
12928
12929 2002-11-06 Tom Tromey <tromey@redhat.com>
12930
12931 From svens@it.uu.se. For PR libgcj/8481.
12932 * java/util/Random.java (nextInt(int)): Only use 31 bits.
12933
12934 2002-11-06 Tom Tromey <tromey@redhat.com>
12935
12936 * jni.cc (array_from_valist): Assume that jlong won't be
12937 promoted.
12938
12939 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
12940
12941 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
12942 Return 20.
12943 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
12944 Return 16.
12945
12946 2002-11-03 Tom Tromey <tromey@redhat.com>
12947
12948 * java/lang/ClassLoader.java (loadClass): Call loadClass on
12949 VMClassLoader, not findClass.
12950
12951 2002-11-03 Jeff Sturm <jsturm@one-point.com>
12952
12953 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
12954 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
12955 _Jv_DetermineVTableIndex, to determine vtable offset.
12956 (_Jv_DetermineVTableIndex): Remove.
12957 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
12958
12959 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
12960
12961 2002-11-03 Tom Tromey <tromey@redhat.com>
12962
12963 * java/nio/channels/AlreadyConnectedException.java: Extend
12964 IllegalStateException, per spec.
12965
12966 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
12967
12968 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
12969
12970 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
12971
12972 * java/util/ArrayList.java (readObject, writeObject): Only read/write
12973 size items.
12974
12975 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
12976
12977 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
12978 initial estimated size to avoid enlarge buffer frequently.
12979
12980 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
12981
12982 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
12983 ClassLoader when null.
12984 (ProxyType.hashCode): Loader null check no longer needed.
12985 (ProxyType.sameTypes): New method.
12986 (ProxyType.equals): Use new method.
12987
12988 2002-10-31 Mark Wielaard <mark@klomp.org>
12989
12990 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
12991 length of String.
12992 * java/net/URLEncoder.java (encode): Likewise.
12993
12994 2002-10-31 Mark Wielaard <mark@klomp.org>
12995
12996 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
12997 when stream is closed.
12998 (closeEntry): Likewise.
12999 (read): Likewise.
13000 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13001 ZipException when no entry active.
13002 (closeEntry): Likewise.
13003 (write): Likewise.
13004
13005 2002-11-02 Tom Tromey <tromey@redhat.com>
13006
13007 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13008 * java/lang/natClass.cc (initializeClass): Don't return just
13009 because self==thread.
13010
13011 For PR java/8415:
13012 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13013 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13014
13015 2002-11-02 Andreas Schwab <schwab@suse.de>
13016
13017 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13018 pass GCJFLAGS.
13019 (FLAGS_TO_PASS): Define.
13020 * Makefile.in: Regenerated.
13021
13022 2002-11-01 Michael Koch <konqueror@gmx.de>
13023
13024 * java/nio/ByteOrder.java: New file.
13025 * java/nio/channels/DatagramChannel.java:
13026 (DatagramChannel): New constructor.
13027 * java/nio/channels/Pipe.java: New file.
13028 * java/nio/channels/SelectableChannel.java: New file.
13029 * java/nio/channels/SelectionKey.java: New file.
13030 * java/nio/channels/Selector.java: New file.
13031 * java/nio/channels/ServerSocketChannel.java
13032 (ServerSocketChannel): New constructor.
13033 * java/nio/channels/SocketChannel.java
13034 (SocketChannel): New constructor.
13035 * java/nio/channels/Pipe.java: New file.
13036 * java/nio/channels/spi/AbstractChannel.java: New file.
13037 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13038 * java/nio/channels/spi/AbstractSelectableChannel.java:
13039 License added
13040 (AbstractSelectableChannel): New stubbed method.
13041 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13042 * java/nio/channels/spi/AbstractSelector.java: New file.
13043 * java/nio/channels/spi/SelectorProvider.java: New file.
13044 * java/nio/charset/Charset.java: New file.
13045 * java/nio/charset/CoderMalfunctionError.java: New file.
13046 * java/nio/charset/CodingErrorAction.java: New file.
13047 * java/nio/charset/spi/CharsetProvider.java
13048 (charsetForName): Uncommented.
13049 * Makefile.am (java_native_source_files): Added new files.
13050 * Makefile.in: Regenerated.
13051
13052 2002-11-01 Michael Koch <konqueror@gmx.de>
13053
13054 * java/net/InetAddress.java:
13055 (isAnyLocalAddress): Implemented.
13056 (isLoopbackAddress): Implemented, comment added.
13057 (isLinkLocalAddress): Implemented, documentation added.
13058 (isSiteLocalAddress): Implemented, documentation added.
13059 (isMCGlobal): Implemented, documentation added.
13060 (isMCNodeLocal): Implemented, documentation added.
13061 (isMCLinkLocal): Implemented, documentation added.
13062 (isMCSiteLocal): Implemented, documentation added.
13063 (isMCOrgLocal): Implemented, documentation added.
13064 (getHostName): Documentation added.
13065 (getCanonicalHostName): Implemented, documentation added.
13066 (getAddress): Documentation added.
13067 (hashCode): Documentation added.
13068 (equals): Documentation added.
13069 (toString): Fixed implementation.
13070 (getByAddress): Use Inet4Address and Inet6Address.
13071 (lookup): New linewrap.
13072 (getByName): SecurityManager check added, support Inet4Address and
13073 Inet6address, comments added.
13074 (getAllByName): SecurityManager check added, comments added.
13075 * java/net/Inet6Address.java:
13076 (Inet6Address): Initialize parent class with addr instead of null.
13077 * java/net/URL.java
13078 (equals): Documentation added.
13079 (getFile): Documentation added.
13080 (hashCode): Documentation added.
13081 * java/net/natInetAddress.cc:
13082 (aton): Fix IPv6 support.
13083 * java/net/natPlainDatagramSocketImpl.cc:
13084 (peek): Throw PortUnreachableException when suitable.
13085 (peekData): Throw PortUnreachableException when suitable.
13086 (send): Throw PortUnreachableException when suitable.
13087 (receive): Throw PortUnreachableException when suitable.
13088
13089 2002-10-27 Mark Wielaard <mark@klomp.org>
13090
13091 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13092 argument.
13093 (readLeShort): Likewise and use byte[].
13094 (readLeInt): Likewise.
13095 (readEntries): Use new versions of methods and use byte[] for reading
13096 a complete zip entry. Add ZipFile name to exceptions.
13097 (entries): Add ZipFile name to exceptions.
13098 (getEntry): Likewise.
13099 (checkLocalHeader): Use new versions of methods and add ZipFile name
13100 to exceptions.
13101
13102 2002-10-31 Mark Anderson <mark@panonet.net>
13103
13104 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13105 added
13106
13107 2002-10-25 Krister Walfridsson <cato@df.lth.se>
13108
13109 * configure.in: Disable hash sync when not using threads.
13110 * configure: Regenerated.
13111
13112 2002-10-24 Tom Tromey <tromey@redhat.com>
13113
13114 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13115 (_Jv_FindSymbolInExecutable): Removed argument name.
13116 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13117 java.library.path is set.
13118
13119 * gij.cc (help): Document --showversion.
13120 (version): Don't exit.
13121 (main): Handle --showversion. Exit if --version given.
13122
13123 2002-10-23 Tom Tromey <tromey@redhat.com>
13124
13125 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13126 (array_from_valist): Correctly handle promotion for jint, jlong,
13127 jfloat, and jdouble.
13128
13129 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
13130
13131 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13132 GetFileAttributesEx( ) to find file length and modification times,
13133 as the latter is not present on Windows 95.
13134
13135 2002-10-21 Michael Koch <konqueror@gmx.de>
13136
13137 * java/net/URL.java
13138 (URL): Activate SecurityManager checks.
13139 (equals): Use URLStreamHandler implementation instead of doing it
13140 alone. This allows special protocol stream handlers to change default
13141 behaviour.
13142 (hashCode): Use URLStreamHandler implementation instead of doing it
13143 alone. This allows special protocol stream handlers to change default
13144 behaviour.
13145 * java/net/URLStreamHandler.java
13146 (equals): Implemented default URL equality check.
13147 (hostsEqual): Implemented default URL equality check.
13148 (hashCode): Implemented default URL hashCode algorithm.
13149 * java/net/natPlainDatagramSocketImpl.cc:
13150 No lines longer then 80 characters.
13151
13152 2002-10-20 Adam Megacz <adam@xwt.org>
13153
13154 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13155 * configure.in: enabled hash sync on Win32
13156 * include/win32-threads.h (_Jv_ThreadId_t): added.
13157 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13158 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13159 removed some posix-isms, use Thread::sleep() instead of usleep,
13160 added code to clear bottom three bits if platform has a broken
13161 linker.
13162 * include/win32-threads.h (_Jv_ThreadId_t): added.
13163
13164 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
13165
13166 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13167 runtime property "gnu.gcj.progname" containing the name used to
13168 invoke the current Java program (similar to argv[0] for C
13169 programs).
13170
13171 2002-10-15 Tom Tromey <tromey@redhat.com>
13172
13173 Fix for PR libgcj/8234:
13174 * java/util/zip/natInflater.cc (reset): Reset avail_in.
13175 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13176
13177 2002-10-13 Mark Wielaard <mark@klomp.org>
13178
13179 * mauve-libgcj: Enable Mauve tests that compile now.
13180
13181 2002-10-11 Mark Wielaard <mark@klomp.org>
13182
13183 Fix for PR libgcj/8142
13184 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13185 loading native modules.
13186
13187 2002-10-10 Michael Koch <konqueror@gmx.de>
13188
13189 * javax/swing/AbstractListModel.java
13190 (getListDataListeners): New stubbed method.
13191 javax/swing/DefaultBoundedRangeModel.java
13192 (getChangeListeners): New stubbed method.
13193 javax/swing/DefaultSingleSelectionModel.java
13194 (getChangeListeners): New stubbed method.
13195
13196 2002-10-10 Michael Koch <konqueror@gmx.de>
13197
13198 * gcj/.cvsignore: New file to ignore files generated during build.
13199 * include/.cvsignore: New file to ignore files generated during build.
13200
13201 2002-10-10 Michael Koch <konqueror@gmx.de>
13202
13203 * java/net/HttpURLConnection.java
13204 (getPermission): New method.
13205 (getErrorStream): New stub method.
13206 (getHeaderFieldDate): New stub method.
13207 * java/net/Inet4Address.java:
13208 (isLinkLocalAddress): Typo fixed.
13209 * java/net/InetAddress.java:
13210 (readResolve): New stubbed method (for serialization).
13211 (isAnyLocalAddress): New stubbed method.
13212 (isLoopbackAddress): New stubbed method.
13213 (isLinkLocalAddress): New stubbed method.
13214 (isSiteLocalAddress): New stubbed method.
13215 (isMCGlobal): New stubbed method.
13216 (isMCNodeGlobal): New stubbed method.
13217 (isMCLinkLocal): New stubbed method.
13218 (isMCSiteLocal): New stubbed method.
13219 (isMCOrgLocal): New stubbed method.
13220 (getCanonicalHostName): New stubbed method.
13221 (getByAddress): Create instances of Inet4Address/Inet6Address,
13222 instead of InetAddress, documentation added.
13223 * java/net/MulticastSocket.java
13224 (getInterface): Removed FIXME.
13225 (getNetworkInterface): New method.
13226 (setNetworkInterface): New method.
13227 * java/net/NetworkInterface.java:
13228 (toString): Use property "line.separator" instead of "\n".
13229 * java/net/URLConnection.java
13230 (getContent): New stubbed method.
13231 * java/net/URLStreamHandler.java:
13232 (equals): New stubbed method.
13233 (hostsEqual): New stubbed method.
13234 (hashCode): New stubbed method.
13235 * java/net/natNetworkInterface.cc:
13236 (getRealNetworkInterfaces): Create Inet4Address object
13237 instead of InetAddress.
13238
13239 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
13240
13241 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13242 unsigned long temporary to implement insn_iushr shifts.
13243
13244 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
13245
13246 * configure.host [s390*-*]: Enable Java interpreter.
13247 Enable hash synchronization. Add sysdeps dir.
13248 * sysdep/s390/locks.h: New file.
13249
13250 2002-10-06 Mark Wielaard <mark@klomp.org>
13251
13252 * java/lang/Thread.java (setDaemon): Check startable_flag,
13253 not isAlive().
13254
13255 2002-10-07 Michael Koch <konqueror@gmx.de>
13256
13257 * java/nio/Buffer.java: New stub file.
13258 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13259 of class Charset.
13260 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13261 * Makefile.in: Regenerated.
13262
13263 2002-10-07 Michael Koch <konqueror@gmx.de>
13264
13265 * java/nio/ByteBuffer.java:
13266 removed import of not commited class.
13267
13268 2002-10-07 Michael Koch <konqueror@gmx.de>
13269
13270 * java/nio/ByteBuffer.java,
13271 java/nio/MappedByteBuffer.java:
13272 New files, forgot to add these dummies.
13273 * Makefile.am (java_native_source_files): Added new files.
13274 * Makefile.in: Regenerated.
13275
13276 2002-10-07 Michael Koch <konqueror@gmx.de>
13277
13278 * java/nio/channels/AlreadyConnectedException.java,
13279 java/nio/channels/ClosedChannelException.java,
13280 java/nio/channels/ReadableByteChannel.java,
13281 java/nio/channels/InterruptibleChannel.java,
13282 java/nio/channels/Channel.java,
13283 java/nio/channels/ByteChannel.java,
13284 java/nio/channels/GatheringByteChannel.java,
13285 java/nio/channels/ScatteringByteChannel.java,
13286 java/nio/channels/WritableByteChannel.java,
13287 java/nio/charset/CharacterCodingException.java,
13288 java/nio/charset/IllegalCharsetNameException.java,
13289 java/nio/charset/MalformedInputException.java,
13290 java/nio/charset/UnmappableCharacterException.java,
13291 java/nio/charset/UnsupportedCharsetException.java,
13292 java/nio/charset/spi/CharsetProvider.java: New file.
13293 These files are exceptions or interfaces,
13294 no real or abstract classes.
13295 * Makefile.am (java_native_source_files): Added new files.
13296 * Makefile.in: Regenerated.
13297
13298 2002-10-05 Michael Koch <konqueror@gmx.de>
13299
13300 * java/net/InetAddress.java
13301 (getByAddress): Fixed documentation.
13302 (getByAddress): New method.
13303 * java/net/Inet4Address.java: New file.
13304 * java/net/URL.java
13305 (URL): Documentation added.
13306 (getContent): Documentation added.
13307 (getContent): New stubbed method.
13308 (getQuery): New method.
13309 (openConnection): Documentation added.
13310 (openStream): Documentation added.
13311 (setURLStreamHandlerFactory): Documentation added.
13312 * java/net/URI.java: New stub file.
13313 * Makefile.am
13314 (java_native_source_files): Added java/net/Inet4Address.java,
13315 java/net/Inet6Address.java and java/net/URI.java.
13316 * Makefile.in: Regenerated.
13317
13318 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13319
13320 * java/lang/ProtectionDomain.java (linesep): Remove field.
13321 (toString): Use System.getProperty("line.separator").
13322
13323 2002-10-04 Michael Koch <konqueror@gmx.de>
13324
13325 * java/security/Identity.java: Added serialVersionUID.
13326 * java/security/KeyPair.java: Added serialVersionUID.
13327 * java/security/Provider.java: Added serialVersionUID.
13328 * java/security/SecureRandom.java: Added serialVersionUID.
13329 * java/security/SecureRandomSpi.java: Added serialVersionUID.
13330 * java/security/SignedObject.java: Added serialVersionUID.
13331 * java/security/cert/Certificate.java: Added serialVersionUID.
13332
13333 2002-10-04 Mark Wielaard <mark@klomp.org>
13334
13335 * java/security/Security.java: Use java.home or gnu.classpath.home
13336 to load providers.
13337 (loadProviders): Extra dir argument.
13338 (getProvider): Return null when not found.
13339
13340 2002-10-04 Mark Wielaard <mark@klomp.org>
13341
13342 * java/lang/Throwable.java: Remerge with Classpath.
13343
13344 2002-10-04 Michael Koch <konqueror@gmx.de>
13345
13346 * java/net/InetAddress.java:
13347 (isMulticastAddress): Added documentation.
13348 (getHostAddress): Added documentation.
13349 (toString): Added documentation.
13350 (getByAddress): Fixed documentation.
13351 (getByName): Added documentation.
13352 (getAllByName): Added documentation.
13353 (getLocalHost): Added documentation.
13354
13355 2002-10-04 Michael Koch <konqueror@gmx.de>
13356
13357 * java/beans/beancontext/BeanContextChildSupport.java:
13358 Added serialVersionUID.
13359 * java/text/Collator.java: (compare): Made documentation HTML-aware.
13360 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13361 * javax/naming/Name.java: Added serialVersionUID.
13362
13363 2002-10-03 Adam Megacz <adam@xwt.org>
13364
13365 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13366 some functionality that isn't supported yet on WIN32.
13367
13368 2002-10-03 Tom Tromey <tromey@redhat.com>
13369
13370 * Makefile.in: Rebuilt.
13371 * Makefile.am (awt_java_source_files): Added new files.
13372
13373 2002-10-03 Michael Koch <konqueror@gmx.de>
13374
13375 * java/net/InetAddress.java
13376 (class InetAddress): Removed final keyword.
13377 (equals): Fixed typo.
13378 (getByAddress): New method.
13379
13380 2002-10-03 Michael Koch <konqueror@gmx.de>
13381
13382 * java/awt/dnd/Autoscroll.java:
13383 New file, merge from Classpath.
13384 * java/awt/dnd/DragSourceAdapter.java:
13385 (dragExit): Fixed typos in argument type.
13386 (dragDropEnd): Fixed typos in argument type.
13387 * java/awt/dnd/DragSourceDropEvent.java:
13388 New file, merge from Classpath.
13389 * java/awt/dnd/DropTarget.java:
13390 Added stubs, merge from Classpath.
13391 * java/awt/dnd/DropTargetAdapter.java:
13392 New file, merge from Classpath.
13393 * java/awt/dnd/DropTargetContext.java:
13394 New file, merge from Classpath.
13395 * java/awt/dnd/DropTargetDragEvent.java:
13396 New file, merge from Classpath.
13397 * java/awt/dnd/DropTargetDropEvent.java:
13398 New file, merge from Classpath.
13399 * java/awt/dnd/DropTargetEvent.java:
13400 New file, merge from Classpath.
13401 * java/awt/dnd/DropTargetListener.java:
13402 New file, merge from Classpath.
13403 * java/awt/dnd/MouseDragGestureRecognizer.java:
13404 New file, merge from Classpath.
13405 * java/awt/dnd/peer/DropTargetContextPeer.java:
13406 New file, merge from Classpath.
13407
13408 2002-10-03 Michael Koch <konqueror@gmx.de>
13409
13410 * java/net/DatagramPacket.java
13411 (setLength): Fixed typo and be HTML-aware.
13412 * java/net/InetSocketAddress.java
13413 (InetSocketAddress): Correct initialization of hostname, fixed typo.
13414 (equals): Added comment about equality of InetSocketAddress objects.
13415 * java/net/ServerSocket.java
13416 (accept): Added checks.
13417 (isClosed): New stubbed method.
13418 * java/net/SocketOptions.java: Reindention.
13419 * java/net/SocketPermission
13420 (SocketPermission): Documentation fixed.
13421
13422 2002-10-03 Michael Koch <konqueror@gmx.de>
13423
13424 * java/net/DatagramSocket.java
13425 (receive): Check with SecurityManager AFTER the packet is received,
13426 check if connected to multicast address, documentation added.
13427 (send): Only check SecurityManager if connected, check address of
13428 packet to send.
13429 (connect): Implemented, documentation added.
13430 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13431 * java/net/InetSocketAddress.java
13432 (whole file): Reindented.
13433 (hostname): New attribute.
13434 (InetSocketAddress): Initialize new attribute.
13435 (getAddress): Documentation added.
13436 (getHostName): Documentation added.
13437 (getPort): Documentation added.
13438 (hashCode): Documentation added.
13439 (isUnresolved): Documentation added.
13440 (toString): Conform to output of JDK 1.4.1, documentation added.
13441 * java/net/MulticastSocket.java
13442 (joinGroup): Removed FIXME, documentation added.
13443 (leaveGroup): Removed FIXME, documentation added.
13444 (send): Documentation added.
13445 * java/net/Socket.java
13446 (inputShutdown): New variable.
13447 (outputShutdown): New variable.
13448 (Socket): Initialize new variables.
13449 (getRemoteSocketAddress): Check if connected.
13450 (shutdownInput): Set new variable.
13451 (shutdownOutput): Set new variable.
13452 (isConnected): New method.
13453 (isClosed): New method.
13454 (isInputShutdown): New method.
13455 (isOutputShutdown): New method.
13456 * java/net/URLStreamHandler.java
13457 (URLStreamHandler): New method.
13458 (openConnection): Added documentation.
13459 (parseURL): Added documentation.
13460 (getHostAddress): New method.
13461 (getDefaultPort): New method.
13462
13463 2002-10-02 Tom Tromey <tromey@redhat.com>
13464
13465 * java/rmi/activation/ActivationDesc.java,
13466 java/rmi/activation/ActivationGroupDesc.java,
13467 java/rmi/activation/ActivationGroupID.java,
13468 java/rmi/activation/ActivationID.java: New versions from
13469 Classpath.
13470
13471 2002-09-30 Bo Thorsen <bo@suse.de>
13472
13473 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13474
13475 2002-09-30 Tom Tromey <tromey@redhat.com>
13476
13477 * java/io/ObjectInputStream.java (resolveProxyClass): New method
13478 from Classpath.
13479 * Makefile.in: Rebuilt.
13480 * Makefile.am (rmi_java_source_files): Added new files.
13481 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13482 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13483 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13484 Classpath.
13485 * gnu/java/rmi/dgc/DGCImpl.java,
13486 gnu/java/rmi/dgc/DGCImpl_Skel.java,
13487 gnu/java/rmi/dgc/DGCImpl_Stub.java,
13488 gnu/java/rmi/registry/RegistryImpl_Skel.java,
13489 gnu/java/rmi/registry/RegistryImpl_Stub.java,
13490 gnu/java/rmi/server/RMIHashes.java,
13491 gnu/java/rmi/server/RMIObjectInputStream.java,
13492 gnu/java/rmi/server/RMIObjectOutputStream.java,
13493 gnu/java/rmi/server/UnicastConnection.java,
13494 gnu/java/rmi/server/UnicastConnectionManager.java,
13495 gnu/java/rmi/server/UnicastRef.java,
13496 gnu/java/rmi/server/UnicastServer.java,
13497 gnu/java/rmi/server/UnicastServerRef.java,
13498 java/rmi/MarshalledObject.java,
13499 java/rmi/server/RMIClassLoader.java,
13500 java/rmi/server/RemoteObject.java,
13501 java/rmi/server/UnicastRemoteObject.java,
13502 java/security/SecureClassLoader.java: Merged from Classpath.
13503
13504 2002-09-29 Anthony Green <green@redhat.com>
13505
13506 * java/lang/reflect/UndeclaredThrowableException.java: New file.
13507 Imported from GNU Classpath.
13508 * java/lang/reflect/natProxy.cc: New file.
13509 * java/lang/reflect/InvocationHandler.java: New file. Imported
13510 from GNU Classpath.
13511 * java/lang/reflect/Proxy.java: New file. Imported from GNU
13512 Classpath.
13513 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13514 Classpath.
13515 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13516 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13517 New statics.
13518 * gcj/javaprims.h ("Java"): Add new classes.
13519 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13520 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13521 java/lang/reflect/Proxy$$ProxyType.h): And this.
13522 (inner_nat_headers): Add these new headers.
13523 (ordinary_java_source_files): Add new files.
13524 (nat_source_files): Add new file.
13525 * Makefile.in: Rebuilt.
13526
13527 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
13528
13529 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13530 a single configuration.
13531
13532 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13533
13534 * java/util/TimeZone.java (getDSTSavings): New method.
13535 Fixes PR libgcj/7786.
13536
13537 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13538
13539 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13540 to see if `the_method == 0' before looking up vtable index.
13541 Fixes PR libgcj/7709.
13542
13543 2002-09-25 Tom Tromey <tromey@redhat.com>
13544
13545 * java/lang/natClassLoader.cc:
13546 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13547 * resolve.cc: Include NoClassDefFoundError.h, not
13548 ClassNotFoundException.h.
13549 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13550
13551 * defineclass.cc: Don't include ClassNotFoundException.h.
13552
13553 * resolve.cc: Include StringBuffer.
13554 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13555
13556 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13557 allocated but not initialized.
13558
13559 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13560
13561 Fix for PR libgcj/7766:
13562 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13563 (getNextEntry): Set it.
13564 (closeEntry): Likewise.
13565 (read): Likewise.
13566 (close): Likewise.
13567 (available): Use it.
13568
13569 2002-09-25 Michael Koch <konqueror@gmx.de>
13570
13571 * java/net/DatagramSocket.java
13572 (DatagramSocket): Initialize new instance variables.
13573 (close): Reset new instance variables.
13574 (getLocalAddress): Remove unneeded SecurityManager usage.
13575 (getLocalPort): Check if socket is already bound.
13576 (isConnected): New method.
13577 (getInetAddress): Implemented.
13578 (getPort): Better Implementation, documentation fixed.
13579 (getRemoteSocketAddress): New method.
13580 * java/net/JarURLConnection.java
13581 (element): Typo fixed.
13582 (getMainAttributes): New method.
13583 (getAttributes): New method (stub only).
13584 (getManifest): New method (stub only).
13585 * java/net/NetPermission.java: Added serialVersionsUID.
13586 * java/net/Socket.java
13587 (connect): Check blocking mode of associated channel,
13588 documentation added.
13589 (getLocalSocketAddress): Better implementation.
13590 (getRemoteSocketAddress): Implemented.
13591 (isBound): New method.
13592 (setSendBufferSize): Documentation added.
13593 * java/net/SocketAddress.java: Added serialVersionsUID.
13594 * java/net/SocketPermission.java: Added serialVersionsUID.
13595 * java/net/URL.java
13596 (URL): Wrap for shorter lines, initialize new instance variables,
13597 documentation added.
13598 (equals): Check new instance variables too.
13599 (getContent): Documentation added.
13600 (getPath): Documentation added.
13601 (getAuthority): New method.
13602 (getHost): Documentation added.
13603 (getPort): Documentation added.
13604 (getDefaultPort): New method.
13605 (getProtocol): Documentation added.
13606 (getUserInfo): Documentation added.
13607 (set): Initialize new instance variables, documentation added.
13608 * java/net/URLStreamHandler.java
13609 (setURL): New method.
13610 * java/net/natPlainDatagramSocketImpl.cc
13611 (connect): Fix exception name.
13612 (disconnect): Fix exception name.
13613
13614 2002-09-25 Michael Koch <konqueror@gmx.de>
13615
13616 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13617 * java/nio/channels/DatagramChannel.java:
13618 extends AbstractSelectableChannel
13619 * java/nio/channels/ServerSocketChannel.java:
13620 extends AbstractSelectableChannel
13621 * java/nio/channels/SocketChannel.java:
13622 extends AbstractSelectableChannel
13623 * Makefile.am (ordinary_java_source_files):
13624 java/nio/channels/spi/AbstractSelectableChannel.java added.
13625 * Makefile.in: Regenerated.
13626
13627 2002-09-25 Michael Koch <konqueror@gmx.de>
13628
13629 * java/net/DatagramSocket.java
13630 (DatagramSocket): Exception documentation added.
13631 (bind): Exception documentation added, addded SecurityManager check,
13632 added SocketAddress type check.
13633 (getSoTimeout): Check impl.
13634 (receive): Fix SecurityManager check, check impl, documentation added.
13635 (send): Check channel mode, documentation added.
13636 (connect): New method.
13637 (disconnect): Implemented.
13638 (getLocalSocketAddress): New method.
13639 (getReceiveBufferSize): Check impl.
13640 (setReuseAddress): Check impl.
13641 (getReuseAddress): Check impl.
13642 (setBroadcast): Check impl.
13643 (getBroadcast): Check impl.
13644 (setTrafficClass): Check impl, Documentation cleared.
13645 (getTrafficClass): Check impl.
13646 (getSendBufferSize): Check impl.
13647 (setReceiveBufferSize): Check impl, documentation added.
13648 (setSendBufferSize): Documentation added.
13649 (setDatagramSocketImplFactory): New method.
13650 * java/net/HttpURLConnection.java
13651 (HTTP_INTERNAL_ERROR): The correct code is 500.
13652 (HTTP_NOT_IMPLEMENTED): Added new constant.
13653 (setFollowRedirects): Documentation added.
13654 (getInstanceFollowRedirects): New method.
13655 (setInstanceFollowRedirects): New method.
13656 (setRequestMethod): Documentation added.
13657 (getResponseCode): Documentation added.
13658 (getResponseMessage): Documentation added.
13659 * java/net/JarURLConnection.java
13660 (JarURLConnection): protected since JDK 1.4.
13661 (getJarEntry): java.io.IOException to IOException, documentation added.
13662 (getJarFile): Documentation added.
13663 * java/net/ServerSocket.java
13664 (ServerSocket): Private to public, exception added.
13665 (ServerSocket): java.io.IOException to IOException, documentation added.
13666 (bind): Check socket address type, documentation added.
13667 (bind): java.io.IOException to IOException, documentation added.
13668 (accept): Documentation added.
13669 (implAccept): Check ch is not non-blocking, documentation added.
13670 (setSoTimeout): Documentation fixed.
13671 (setReceiveBufferSize): Documentation added.
13672 * java/net/Socket.java
13673 (Socket): Documentation added.
13674 (bind): Documentation added.
13675 (connect): Check socket address type, documentation added.
13676 (getRemoteSocketAddress): New method.
13677 (getLocalSocketAddress): New method.
13678 (setSoLinger): Documentation added.
13679 (getReuseAddress): New method.
13680 (setReuseAddress): New method.
13681 (getTrafficClass): New method.
13682 (setTrafficClass): New method.
13683 * java/net/URLStreamHandler.java
13684 (openConnection): java.io.IOException to IOException.
13685 (parseURL): Documentation added.
13686 (sameFile): public to protected, documentation added.
13687 (setURL): Documentation added.
13688 * java/nio/IllegalBlockingModeException.java: New file.
13689 * Makefile.am (ordinary_java_source_files):
13690 added java/nio/IllegalBlockingModeException.java
13691 * Makefile.in: Regenerated.
13692
13693 2002-09-25 Michael Koch <konqueror@gmx.de>
13694
13695 * java/net/DatagramPacket
13696 (DatagramPacket): Exception documentation added.
13697 (setData): Likewise.
13698 (setSocketAddress): Likewise.
13699 * java/net/DatagramSocketImpl.java
13700 (peek): Documentation addded.
13701 (peekData): Documentation addded.
13702 (send): Documentation addded.
13703 (receive): Documentation addded.
13704 (connect): New method.
13705 (disconnect): New method.
13706 (joinGroup): New abstract method.
13707 (leaveGroup): New abstract method.
13708 * java/net/InetSocketAddress.java
13709 (InetSocketAddress): Documentation added.
13710 (equals): final keyword added.
13711 (getAddress): final keyword added.
13712 (getHostName): final keyword added.
13713 (getPort): final keyword added.
13714 (hashCode): final keyword added.
13715 (isUnresolved): final keyword added.
13716 * java/net/MulticastSocket.java
13717 (MulticastSocket): Documentation added.
13718 (MulticastSocket): New method.
13719 (joinGroup): Documentation added.
13720 (joinGroup): New method.
13721 (leaveGroup): Documentation added.
13722 (leaveGroup): New method.
13723 (send): Documentation added.
13724 * java/net/NetworkInterface.java
13725 (getByName): Documentation added.
13726 (getByInetAddress): Documentation added.
13727 (getNetworkInterfaces): Documentation added.
13728 * java/net/PlainDatagramSocketImpl.java
13729 (connect): New method.
13730 (disconnect): New method.
13731 * java/net/SocketImpl.java
13732 (create): Documentation added.
13733 (shutdownInput): Convert public to protected, as it always was.
13734 (shutdownOutput): Convert public to protected, as it always was.
13735 * java/net/SocketOptions.java
13736 (whole file): Reintented.
13737 * java/net/URLClassLoader.java
13738 (URLClassLoader): SecurityManager check added, documentation added.
13739 (findResources): Documentation added.
13740 (findClass): Documentation added.
13741 (newInstance): More correct method arguments.
13742 * java/net/URLConnection.java
13743 (connect): Documentation added.
13744 (getContent): Documentation added.
13745 (getPermission): Documentation added.
13746 (getInputStream): Documentation added.
13747 (getOutputStream): Documentation added.
13748 (setDoInput): Throw correct exception, documentation added.
13749 (setDoOutput): Throw correct exception, documentation added.
13750 (setAllowUserInteraction): Throw correct exception, documentation added.
13751 (setUseCaches): Throw correct exception, documentation added.
13752 (setIfModifiedSince): Throw correct exception, documentation added.
13753 (setRequestProperty): Throw exception, documentation added.
13754 (addRequestProperty): Throw exception, documentation added.
13755 (getRequestProperty): Throw exception, documentation added.
13756 (getRequestProperties): Documentation added.
13757 (setContentHandlerFactory): Documentation added.
13758 (guessContentTypeFromName): protected to public.
13759 (setFileNameMap): Documentation added.
13760 * java/net/URLDecoder.java
13761 (URLDecoder): New method.
13762 (decode): Documentation added.
13763 (whole file): Reindented.
13764 * java/net/URLEncoder.java
13765 (encode): Documentation added.
13766 * java/net/natPlainDatagramSocketImpl.cc
13767 (connect): New method.
13768 (disconnect): New method.
13769 * javax/naming/RefAddr:
13770 (addrType): addrType was never final.
13771 (equals): Fix typo in method name.
13772 * javax/naming/BinaryRefAddr:
13773 (equals): Fix typo in method name.
13774
13775 2002-09-22 Tom Tromey <tromey@redhat.com>
13776
13777 Fix for PR libgcj/6576:
13778 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13779 didn't find a given bundle.
13780 (getBundle): Don't require base bundle.
13781 (setParent): Removed old comment.
13782 (tryLocalBundle): Try components even if preceding components were
13783 empty.
13784
13785 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13786
13787 * Makefile.am (all-multi): Fix multilib parallel build.
13788
13789 2002-09-21 Michael Koch <konqueror@gmx.de>
13790
13791 * java/net/Socket.java
13792 (sendUrgentData): New method.
13793 (getChannel): New method.
13794 * java/net/ServerSocket.java
13795 (getChannel): New method.
13796 (isBound): New method.
13797 * java/net/DatagramSocket.java
13798 (DatagramSocket): Two new methods.
13799 (bind): New method.
13800 (getChannel): New method.
13801 (isBound): New method.
13802 (send): Added newline to to make shorter lines.
13803 * java/net/PlainDatagramSocketImpl.java
13804 (mcastGrp): Added argument.
13805 (join): Use new mcastGrp.
13806 (leave): Use new mcastGrp.
13807 (joinGroup): New method.
13808 (leaveGroup): New method.
13809 * java/net/natPlainDatagramSocketImpl.cc
13810 (mcastGrp): Added argument, no yet really implemented.
13811 (getOption): Added newline for shorter lines.
13812 * java/net/natPlainSocketImpl.cc
13813 (read, setOption, getOption): Added newline for shorter lines.
13814
13815 2002-09-19 Tom Tromey <tromey@redhat.com>
13816
13817 * java/lang/ClassLoader.java (resolveClass0): Set cause for
13818 newly-created exception.
13819
13820 2002-09-18 Michael Koch <konqueror@gmx.de>
13821
13822 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13823 java/util/regex/PatternSyntaxException.java:
13824 Merge with classpath, new files.
13825 * Makefile.am (core_java_source_files):
13826 Added java/util/regex/Matcher.java,
13827 java/util/regex/Pattern.java,
13828 java/util/regex/PatternSyntaxException.java
13829 * Makefile.in: Regenerated.
13830 * include/config.h.in: Added HAVE_NET_IF_H.
13831 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13832 Removed #if 0 ... #endif.
13833
13834 2002-09-17 Michael Koch <konqueror@gmx.de>
13835
13836 * java/net/natNetworkInterface.cc:
13837 Removed unneed and yet wrong includes.
13838
13839 2002-09-17 Michael Koch <konqueror@gmx.de>
13840
13841 * java/net/NetworkInterface.java: New file.
13842 * java/net/natNetworkInterface.java: New file.
13843 * configure.in: Added check for net/if.h.
13844 * configure: Regenerated.
13845 * Makefile.am
13846 (ordinary_java_source_files): Added NetworkInterface.java.
13847 (nat_source_files): Added natNetworkInterface.cc.
13848 * Makefile.in: Regenerated.
13849
13850 2002-09-16 Tom Tromey <tromey@redhat.com>
13851
13852 * java/net/URLClassLoader.java (findClass): Code source for a
13853 class from a jar is not necessarily a jar: URL.
13854
13855 2002-09-16 Michael Koch <konqueror@gmx.de>
13856
13857 * java/lang/AssertionError.java:
13858 Merge with classpath, fixes HTML.
13859 * java/rmi/server/LogStream.java:
13860 Merge with classpath, fixes some constants.
13861 * java/net/server/RemoteServer.java:
13862 Merge with classpath, adds serialVersionUID.
13863 * javax/naming/BinaryRefAddr.java:
13864 Merge with classpath, s/equal/equals/.
13865 * javax/naming/NamingException.java:
13866 Merge with classpath, fixed typo.
13867 * javax/naming/RefAddr.java:
13868 Merge with classpath, s/equal/equals/.
13869 * java/awt/Toolkit.java:
13870 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
13871 and typo fixed.
13872
13873 2002-09-15 Adam Megacz <adam@xwt.org>
13874
13875 * java/net/natPlainSocketImpl.cc: fixed typo.
13876
13877 2002-09-15 Adam Megacz <adam@xwt.org>
13878
13879 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
13880 which don't work on Win32 (yet).
13881
13882 2002-09-14 Adam Megacz <adam@xwt.org>
13883
13884 * java/net/natPlainDatagramSocket.cc: removed #include
13885 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
13886 * include/win32.h: included definition for IP_TOS to satisfy
13887 natPlainDatagramSocket.cc
13888
13889 2002-09-13 Michael Koch <konqueror@gmx.de>
13890
13891 * java/net/DatagramPacket.java (DatagramPacket):
13892 Added linebreak for 80 chars per line.
13893 * java/net/JarURLConection.java
13894 (getInputStreami, getJarEntry): Likewise.
13895 * java/net/SocketPErmission.java
13896 (SocketPermission class docu, implies): Likewise.
13897 * java/net/URLClassLoader.java (findResources): Likewise.
13898 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
13899
13900 2002-09-13 Michael Koch <konqueror@gmx.de>
13901
13902 * java/nio/channels/DatagramChannel.java,
13903 java/nio/channels/ServerSocketChannel.java
13904 java/nio/channels/SocketChannel.java:
13905 New dummy files to make java.net fully JDK 1.4 compatible
13906 * Makefile.am (ordinary_java_source_files): Added
13907 java/net/DatagramSocketImplFactory.java (long forgotten),
13908 java/nio/SocketChannel.java,
13909 java/nio/ServerSocketChannel.java,
13910 java/nio/DatagramChannel.java
13911 * Makefile.in: Regenrated.
13912
13913 2002-09-12 Michael Koch <konqueror@gmx.de>
13914
13915 * java/net/DatagramSocketImpl.java
13916 (peekData): New method.
13917 * java/net/PlainDatagramSocketImpl.java
13918 (peekData): New method.
13919 * java/net/natPlainDatagramSocketImpl.cc
13920 (peekData): New method.
13921 * java/net/URLConnection
13922 (getPermission): New method.
13923 (addRequestProperty): New method.
13924 (getRequestProperties): New method.
13925 (guessContentTypeFromStream): New method, not really implemented.
13926 (URLConnection): Added/updated documentation.
13927 (connect): Added/updated documentation.
13928 (getURL): Added/updated documentation.
13929 (getContentLength): Added/updated documentation.
13930 (getContentType: Added/updated documentation.
13931 (getContentEncoding): Added/updated documentation.
13932 (getExpiration): Added/updated documentation.
13933 (getDate): Added/updated documentation.
13934 (getLastModified): Added/updated documentation.
13935 (getHeaderField): Added/updated documentation.
13936 (getHeaderFields): Added/updated documentation.
13937 (getHeaderFieldInt): Added/updated documentation.
13938 (getHeaderFieldDate): Added/updated documentation.
13939 (getHeaderFieldKey): Added/updated documentation.
13940 (getContent): Added/updated documentation.
13941 (getInputStream): Added/updated documentation.
13942 (getOutputStream): Added/updated documentation.
13943 (toString): Added/updated documentation.
13944 (setDoInput): Added/updated documentation.
13945 (getDoInput): Added/updated documentation.
13946 (setDoOutput): Added/updated documentation.
13947 (getDoOutput): Added/updated documentation.
13948 (setAllowUserInteraction): Added/updated documentation.
13949 (getAllowUserInteraction): Added/updated documentation.
13950 (setDefaultAllowUserInteraction): Added/updated documentation.
13951 (getDefaultAllowUserInteraction): Added/updated documentation.
13952 (setUseCaches): Added/updated documentation.
13953 (getUseCaches): Added/updated documentation.
13954 (setIfModifiedSince): Added/updated documentation.
13955 (getIfModifiedSince): Added/updated documentation.
13956 (getDefaultUseCaches): Added/updated documentation.
13957 (setDefaultUseCaches): Added/updated documentation.
13958 (setRequestProperty): Added/updated documentation.
13959 (getRequestProperty): Added/updated documentation.
13960 (setDefaultRequestProperty): Added/updated documentation.
13961 (getDefaultRequestProperty): Added/updated documentation.
13962 (setContentHandlerFactory): Added/updated documentation.
13963 (guessContentTypeFromName): Added/updated documentation.
13964 (getFileNameMap): Added/updated documentation.
13965 (setFileNameMap): Added/updated documentation.
13966
13967 2002-09-11 Michael Koch <konqueror@gmx.de>
13968
13969 * java/net/Socket.java
13970 (Socket): protected to public (since JDK 1.4). Added @specnote.
13971 (bind): New method.
13972 (connect): Two new methods.
13973 (getKeepalive): Get correct socket option.
13974 (setKeepalive): Set correct socket option.
13975 (getOOBInline): New method.
13976 (setOOBInline): New method.
13977 * java/net/ServerSocket.java
13978 (bind): Two new methods.
13979 (getInetAddress): Reimplemented, catch exception.
13980 (getLocalSocketAddress): New method.
13981 (setReuseAddress): New method.
13982 (getReuseAdress): New method.
13983 (setReceiveBufferSize): New method.
13984 (getReceiveBufferSize): New method.
13985 (toString): Made string JDK 1.4 compliant.
13986
13987 2002-09-10 Michael Koch <konqueror@gmx.de>
13988
13989 * java/net/SocketImpl.java
13990 (connect): New method.
13991 (supportsUrgentData): New method.
13992 (sendUrgentData): New method.
13993 * java/net/PlainSocketImpl.java
13994 (connect): One new method and two new implementation.
13995 (sendUrgentData): New method.
13996 * java/natPlainSocketImpl.cc
13997 (connect): Arguments changed, added support for timeouts.
13998 (getOption): Another __java_boolean to jboolean.
13999
14000 2002-09-07 Adam Megacz <adam@xwt.org>
14001
14002 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14003 definition of IP_TOS.
14004
14005 2002-09-04 Michael Koch <konqueror@gmx.de>
14006
14007 * java/net/DatagramSocket.java
14008 (DatagramSocket): Added documentation.
14009 (close): Likewise.
14010 (getLocalAddress): Likewise.
14011 (getLocalPort): Likewise.
14012 (receive): Likewise.
14013 (send): Likewise.
14014 (setSoTimeout): Likewise.
14015 (connect): New method.
14016 (disconnect): New method.
14017 (getInetAddress): New method (FIXME)
14018 (getPort): New method.
14019 (setReuseAddress): New method.
14020 (getReuseAddress): New method.
14021 (setBroadcast): New method.
14022 (getBroadcast): New method.
14023 (setTrafficClass): New method.
14024 (getTrafficClass): New method.
14025 * java/net/MulticastSocket.java):
14026 (getTTL): Added @see in documentation.
14027 (setTTL): Added @see in documentation.
14028 (setLoopbackMode): New method.
14029 (getLoopbackMode): New method.
14030 * java/net/PlainSocketImpl.java:
14031 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14032 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14033 * java/net/PlainDatagramSocketImpl.java
14034 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14035 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14036 * java/net/natPlainSocketImpl.cc
14037 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14038 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14039 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14040 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14041 This should also fix SO_KEEPALIVE
14042 * java/net/natPlainDatagramSocketImpl.cc
14043 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14044 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14045 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14046 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14047
14048 2002-09-04 Michael Koch <konqueror@gmx.de>
14049
14050 * java/net/SocketOptions.java: added static variables to be JDK 1.4
14051 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14052 IP_MULTICAST_LOOP, IP_TOS
14053
14054 2002-09-03 Tom Tromey <tromey@redhat.com>
14055
14056 * java/lang/Class.h (_getDeclaredMethod): Declare.
14057 (_getMethod): Now private.
14058 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14059 getDeclaredMethod. Now returns NULL on failure.
14060 * java/lang/Class.java (_getDeclaredMethod): Declare.
14061 (getDeclaredMethod): No longer native; implements access checks.
14062
14063 2002-09-01 Mark Wielaard <mark@klomp.org>
14064
14065 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14066 (sanitizeStack): Correctly reset unknown and interpreter counters,
14067 detect interpreter runtime frames.
14068 (demangleInterpreterMethod): New method.
14069 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14070 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14071 filling in addrs[].
14072
14073 2002-09-02 Michael Koch <konqueror@gmx.de>
14074
14075 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14076 re-indented documentation.
14077
14078 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14079
14080 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14081 public, per 1.4 spec. Fixes PR libgcj/7785.
14082
14083 2002-08-30 Jeff Sturm <jsturm@one-point.com>
14084
14085 * Makefile.in: Rebuilt.
14086 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14087
14088 2002-08-29 Tom Tromey <tromey@redhat.com>
14089
14090 * java/net/JarURLConnection.java (getCertificates): New method
14091 from Classpath.
14092 * java/net/URLClassLoader.java (URLClassLoader): Extends
14093 SecureClassLoader.
14094 (definePackage): New method from Classpath.
14095 (getPermissions): Likewise.
14096 (newInstance): Likewise.
14097 (findClass): Construct CodeSource for new class (from Classpath).
14098 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14099 methods.
14100 * java/net/URL.java (getUserInfo): New method.
14101 (set(String,String,int,String,String,String,String,String)): New
14102 method.
14103 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14104 (shutdownInput, shutdownOutput): Declare.
14105 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14106 Define.
14107 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14108 (getOption): Likewise.
14109 (shutdownInput): New method.
14110 (shutdownOutput): Likewise.
14111 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14112 keepalive.
14113 (getOption): Likewise.
14114 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14115 * java/net/Socket.java (setKeepAlive): New method.
14116 (getKeepAlive): Likewise.
14117 (shutdownInput, shutdownOutput): New methods.
14118
14119 2002-08-29 Michael Koch <konqueror@gmx.de>
14120
14121 * java/net/DatagramPacket.java: updated to JDK 1.4 API
14122 new methods are:
14123 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14124 address),
14125 DatagramPacket(byte[] buf, int length, SocketAddress address),
14126 void setSocketAddress(SocketAddress address)
14127 public SocketAddress getSocketAddress()
14128
14129 2002-08-29 Tom Tromey <tromey@redhat.com>
14130
14131 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14132 ftruncate is missing.
14133 * configure, include/config.h.in: Rebuilt.
14134 * acconfig.h (HAVE_FTRUNCATE): Mention.
14135 * configure.in: Check for ftruncate.
14136
14137 2002-08-29 Tom Tromey <tromey@redhat.com>
14138
14139 * include/jvm.h (struct _Jv_frame_info): New structure.
14140 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14141 java-interp.h.
14142 (lookupInterp): New method.
14143 (getAddrAsString): Use _Jv_frame_info.
14144 (dladdrLookup): Likewise.
14145 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14146 interpreted frame.
14147 (lookupInterp): Declare.
14148 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14149 (fillInStackTrace): Collect information on interpreted frames.
14150 Use _Jv_frame_info.
14151 * interpret.cc: Include Thread.h.
14152 (run): Create and push _Jv_MethodChain object.
14153 (_Jv_EndOfInterpreter): New global.
14154 * java/lang/Thread.java (interp_frame): New field.
14155 * include/java-interp.h (struct _Jv_MethodChain): New structure.
14156 Include NameFinder.h.
14157
14158 2002-08-28 Tom Tromey <tromey@redhat.com>
14159
14160 * java/lang/Class.h: Include Package.h.
14161 (Class::getProtectionDomain): Declare.
14162 (Class::getPackage): Declare.
14163
14164 2002-08-28 Michael Koch <konqueror@gmx.de>
14165
14166 * java/net/InetSocketAddress.java: Added some documentation and argument
14167 checks for the port numbers.
14168 * java/net/DatagramSocketImplFactory.java: New file.
14169
14170 2002-08-28 Michael Koch <konqueror@gmx.de>
14171
14172 * java/net/Authenticator.java: added some documentation.
14173
14174 2002-08-27 Tom Tromey <tromey@redhat.com>
14175
14176 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14177 class.
14178 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14179
14180 2002-08-27 Michael Koch <konqueror@gmx.de>
14181
14182 * java/net/BindException.java,
14183 java/net/JarURLConnection.java,
14184 java/net/FileNameMap.java,
14185 java/net/HttpURLConnection.java,
14186 java/net/InetSocketAddress.java,
14187 java/net/DatagramPacket.java,
14188 java/net/DatagramSocket.java,
14189 java/net/DatagramSocketImpl.java,
14190 java/net/MulticastSocket.java,
14191 java/net/PasswordAuthentication.java,
14192 java/net/ServerSocket.java,
14193 java/net/Socket.java,
14194 java/net/URLClassLoader.java,
14195 java/net/URLConnection.java: add/update of some @since/@deprecated
14196
14197 2002-08-27 Tony Kimball <alk@pobox.com>
14198 Tom Tromey <tromey@redhat.com>
14199
14200 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14201 define.
14202 (::close): Removed.
14203 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14204 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14205 (::close): Removed.
14206 (PlainSocketImpl::close): Use NATIVE_CLOSE.
14207 * include/win32.h (getcwd): Removed declaration. Include io.h.
14208
14209 2002-08-25 Adam Megacz <adam@xwt.org>
14210
14211 * include/win32.h (getcwd): copied function declaration as
14212 temporary fix for header confusion.
14213
14214 2002-08-24 Mark Wielaard <mark@klomp.org>
14215
14216 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14217 (core_java_source_files): Add VMThrowable.java and NameFinder.java
14218 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14219 and natNameFinder.cc.
14220 * Makefile.in: Regenerate.
14221 * prims.cc: Use trace_enabled from VMThrowable.
14222 * name-finder.cc: Removed.
14223 * gcj/javaprims.h: Add class VMThrowable.
14224 * gnu/gcj/runtime/NameFinder.java: New file.
14225 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14226 * include/name-finder.h: Removed.
14227 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14228 method stackTraceString().
14229 (printStackTrace (PrintWriter)): Likewise.
14230 (stackTraceString): Complete rewrite of old printStackTrace using
14231 StringBuffer.
14232 (stackTraceStringBuffer): New helper method for stackTraceString().
14233 (fillInStackTrace): Delegate to VMTrowable.
14234 (getStackTrace): Likewise.
14235 (getStackTrace0): Removed.
14236 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14237 (setStackTrace): Copy given array.
14238 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14239 * java/lang/VMThrowable.java: New class.
14240 * java/lang/natVMThrowable.cc: New file.
14241
14242 2003-08-23 Michael Koch <konqueror@gmx.de>
14243
14244 * java/net/URLConnection.java,
14245 java/netJarURLConnection.java,
14246 gnu/gcj/protocol/core/Connection.java,
14247 gnu/gcj/protocol/file/Connection.java,
14248 gnu/gcj/protocol/http/Connection.java: Added implementation of
14249 getHeaderFields().
14250
14251 2002-08-22 Tom Tromey <tromey@redhat.com>
14252
14253 * gij.cc (help): Document -cp and -classpath.
14254 (main): Handle -classpath.
14255
14256 2002-08-21 Tom Tromey <tromey@redhat.com>
14257
14258 * Makefile.in: Rebuilt.
14259 * Makefile.am (ordinary_java_source_files): Added
14260 SocketAddress.java, InetSocketAddress.java.
14261 * java/net/PortUnreachableException.java: Merged with Classpath.
14262 * java/net/SocketTimeoutException.java: Likewise.
14263 * java/net/URISyntaxException.java: Likewise.
14264 * java/net/SocketAddress.java: New class from Classpath.
14265 * java/net/InetSocketAddress.java: Likewise.
14266
14267 2003-08-21 Michael Koch <konqueror@gmx.de>
14268
14269 * java/net/Authenticator.java: updated JDK 1.4
14270 * java/net/ContentHandler.java: updated JDK 1.4
14271
14272 2002-08-20 Michael Koch <konqueror@gmx.de>
14273
14274 * java/net/URISyntaxException.java: New file.
14275 * java/net/SocketTimeoutException.java: New file.
14276 * java/net/PortUnreachableException.java: New file.
14277 * Makefile.am: Updated.
14278 * Makefile.in: Rebuilt.
14279
14280 2002-08-18 Mark Wielaard <mark@klomp.org>
14281
14282 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14283 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14284 MessageDigestSpi (fixes Classpath bug #783).
14285
14286 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14287
14288 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14289 (startProcess): Allocate path for chdir in async-signal-safe way.
14290
14291 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14292
14293 Fix for PR libgcj/7570 and PR libgcj/7578:
14294 * java/lang/natPosixProcess.cc: Include java/io/File.h.
14295 (startProcess): Handle new `dir' argument.
14296 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14297 argument.
14298 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14299 argument.
14300 (startProcess): Likewise.
14301 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14302 argument.
14303 * java/lang/Runtime.java (execInternal): Added `dir' argument.
14304 (exec): Don't create new environment if ENV==null. Pass DIR to
14305 execInternal.
14306 * java/lang/natRuntime.cc: Include java/io/File.h.
14307 (execInternal): Added `dir' argument.
14308
14309 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
14310
14311 * java/io/RandomAccessFile.java (skipBytes): Return number of
14312 bytes skipped.
14313
14314 2002-08-01 Mark Wielaard <mark@klomp.org>
14315
14316 Reenable patch since shared library troubles on powerpc are solved:
14317 * gnu/java/security/provider/Gnu.java: Reference all implementation
14318 classes by using Class.getName().
14319 * gnu/java/security/der/DEREncodingException.java,
14320 gnu/java/security/provider/DERReader.java,
14321 gnu/java/security/provider/DERWriter.java,
14322 gnu/java/security/provider/DSAKeyPairGenerator.java,
14323 gnu/java/security/provider/DSAParameterGenerator.java,
14324 gnu/java/security/provider/DSAParameters.java,
14325 gnu/java/security/provider/DSASignature.java,
14326 gnu/java/security/provider/GnuDSAPrivateKey.java,
14327 gnu/java/security/provider/GnuDSAPublicKey.java,
14328 gnu/java/security/provider/MD5.java,
14329 gnu/java/security/util/Prime.java: New classes
14330 * Makefile.am (ordinary_java_source_files): Add above files.
14331 * Makefile.in: Regenerate.
14332 * gnu/java/security/provider/DefaultPolicy.java
14333 (getPermissions): Don't maintain static class variable of Permissions.
14334 * gnu/java/security/provider/SHA.java
14335 (engineUpdate): algorithm change.
14336 (engineDigest): algorithm change.
14337
14338 2002-08-09 Mark Wielaard <mark@klomp.org>
14339
14340 * java/awt/image/MemoryImageSource.java: Change constructor to take
14341 int[] not byte[].
14342 * java/awt/Graphics2D.java: Uncomment methods that can now be
14343 compiled.
14344 * java/awt/GridBagLayout.java: New stub implementation.
14345 * javax/swing/text/html/HTML.java: Stub implementation.
14346 * javax/swing/text/html/parser/ParserDelegator.java: New stub
14347 implementation.
14348
14349 * Makefile.am: Add new files.
14350 * Makefile.in: Rebuilt.
14351
14352 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14353
14354 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14355 methods in Graphics2D.
14356
14357 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14358
14359 AWT/Swing merge from GNU Classpath.
14360
14361 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14362 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14363 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14364 java/awt/color/ProfileDataException.java,
14365 java/awt/CompositeContext.java, java/awt/Composite.java,
14366 java/awt/ContainerOrderFocusTraversalPolicy.java,
14367 java/awt/datatransfer/FlavorTable.java,
14368 java/awt/DefaultFocusTraversalPolicy.java,
14369 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14370 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14371 java/awt/dnd/DragGestureListener.java,
14372 java/awt/dnd/DragGestureRecognizer.java,
14373 java/awt/dnd/DragSourceAdapter.java,
14374 java/awt/dnd/DragSourceContext.java,
14375 java/awt/dnd/DragSourceDragEvent.java,
14376 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14377 java/awt/dnd/DragSourceListener.java,
14378 java/awt/dnd/DragSourceMotionListener.java,
14379 java/awt/dnd/DropTarget.java,
14380 java/awt/dnd/InvalidDnDOperationException.java,
14381 java/awt/dnd/peer/DragSourceContextPeer.java,
14382 java/awt/event/AWTEventListenerProxy.java,
14383 java/awt/event/MouseWheelEvent.java,
14384 java/awt/event/MouseWheelListener.java,
14385 java/awt/event/WindowFocusListener.java,
14386 java/awt/event/WindowStateListener.java,
14387 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14388 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14389 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14390 java/awt/geom/FlatteningPathIterator.java,
14391 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14392 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14393 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14394 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14395 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14396 java/awt/image/ImagingOpException.java,
14397 java/awt/image/RasterFormatException.java,
14398 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14399 java/awt/image/VolatileImage.java,
14400 java/awt/image/WritableRenderedImage.java,
14401 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14402 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14403 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14404 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14405 java/awt/PageAttributes.java, java/awt/print/Book.java,
14406 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14407 java/awt/print/Paper.java, java/awt/print/Printable.java,
14408 java/awt/print/PrinterAbortException.java,
14409 java/awt/print/PrinterException.java,
14410 java/awt/print/PrinterGraphics.java,
14411 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14412 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14413 java/awt/Stroke.java, java/awt/TexturePaint.java,
14414 javax/accessibility/AccessibleAction.java,
14415 javax/accessibility/AccessibleBundle.java,
14416 javax/accessibility/AccessibleComponent.java,
14417 javax/accessibility/AccessibleContext.java,
14418 javax/accessibility/AccessibleEditableText.java,
14419 javax/accessibility/AccessibleExtendedComponent.java,
14420 javax/accessibility/AccessibleExtendedTable.java,
14421 javax/accessibility/AccessibleHyperlink.java,
14422 javax/accessibility/AccessibleHypertext.java,
14423 javax/accessibility/AccessibleIcon.java,
14424 javax/accessibility/Accessible.java,
14425 javax/accessibility/AccessibleKeyBinding.java,
14426 javax/accessibility/AccessibleRelation.java,
14427 javax/accessibility/AccessibleRelationSet.java,
14428 javax/accessibility/AccessibleResourceBundle.java,
14429 javax/accessibility/AccessibleRole.java,
14430 javax/accessibility/AccessibleSelection.java,
14431 javax/accessibility/AccessibleState.java,
14432 javax/accessibility/AccessibleStateSet.java,
14433 javax/accessibility/AccessibleTable.java,
14434 javax/accessibility/AccessibleTableModelChange.java,
14435 javax/accessibility/AccessibleText.java,
14436 javax/accessibility/AccessibleValue.java,
14437 javax/swing/AbstractAction.java,
14438 javax/swing/AbstractButton.java,
14439 javax/swing/AbstractCellEditor.java,
14440 javax/swing/AbstractListModel.java,
14441 javax/swing/AbstractSet.java, javax/swing/Action.java,
14442 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14443 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14444 javax/swing/border/CompoundBorder.java,
14445 javax/swing/border/EmptyBorder.java,
14446 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14447 javax/swing/border/LineBorder.java,
14448 javax/swing/border/MatteBorder.java,
14449 javax/swing/border/TitledBorder.java,
14450 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14451 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14452 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14453 javax/swing/CellRendererPane.java,
14454 javax/swing/colorchooser/AbstractColorChooserPanel.java,
14455 javax/swing/colorchooser/ColorChooserComponentFactory.java,
14456 javax/swing/colorchooser/ColorSelectionModel.java,
14457 javax/swing/colorchooser/DefaultColorSelectionModel.java,
14458 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14459 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14460 javax/swing/DefaultBoundedRangeModel.java,
14461 javax/swing/DefaultButtonModel.java,
14462 javax/swing/DefaultCellEditor.java,
14463 javax/swing/DefaultCellRenderer.java,
14464 javax/swing/DefaultComboBoxModel.java,
14465 javax/swing/DefaultDesktopManager.java,
14466 javax/swing/DefaultFocusManager.java,
14467 javax/swing/DefaultListCellRenderer.java,
14468 javax/swing/DefaultListModel.java,
14469 javax/swing/DefaultListSelectionModel.java,
14470 javax/swing/DefaultSingleSelectionModel.java,
14471 javax/swing/DesktopManager.java,
14472 javax/swing/event/AncestorEvent.java,
14473 javax/swing/event/AncestorListener.java,
14474 javax/swing/event/CaretEvent.java,
14475 javax/swing/event/CaretListener.java,
14476 javax/swing/event/CellEditorListener.java,
14477 javax/swing/event/ChangeEvent.java,
14478 javax/swing/event/ChangeListener.java,
14479 javax/swing/event/DocumentEvent.java,
14480 javax/swing/event/DocumentListener.java,
14481 javax/swing/event/EventListenerList.java,
14482 javax/swing/event/HyperlinkEvent.java,
14483 javax/swing/event/HyperlinkListener.java,
14484 javax/swing/event/InternalFrameAdapter.java,
14485 javax/swing/event/InternalFrameEvent.java,
14486 javax/swing/event/InternalFrameListener.java,
14487 javax/swing/event/ListDataEvent.java,
14488 javax/swing/event/ListDataListener.java,
14489 javax/swing/event/ListSelectionEvent.java,
14490 javax/swing/event/ListSelectionListener.java,
14491 javax/swing/event/MenuDragMouseEvent.java,
14492 javax/swing/event/MenuDragMouseListener.java,
14493 javax/swing/event/MenuEvent.java,
14494 javax/swing/event/MenuKeyEvent.java,
14495 javax/swing/event/MenuKeyListener.java,
14496 javax/swing/event/MenuListener.java,
14497 javax/swing/event/MouseInputAdapter.java,
14498 javax/swing/event/MouseInputListener.java,
14499 javax/swing/event/PopupMenuEvent.java,
14500 javax/swing/event/PopupMenuListener.java,
14501 javax/swing/event/SwingPropertyChangeSupport.java,
14502 javax/swing/event/TableColumnModelEvent.java,
14503 javax/swing/event/TableColumnModelListener.java,
14504 javax/swing/event/TableModelEvent.java,
14505 javax/swing/event/TableModelListener.java,
14506 javax/swing/event/TreeExpansionEvent.java,
14507 javax/swing/event/TreeExpansionListener.java,
14508 javax/swing/event/TreeModelEvent.java,
14509 javax/swing/event/TreeModelListener.java,
14510 javax/swing/event/TreeSelectionEvent.java,
14511 javax/swing/event/TreeSelectionListener.java,
14512 javax/swing/event/TreeWillExpandListener.java,
14513 javax/swing/event/UndoableEditEvent.java,
14514 javax/swing/event/UndoableEditListener.java,
14515 javax/swing/filechooser/FileFilter.java,
14516 javax/swing/filechooser/FileSystemView.java,
14517 javax/swing/filechooser/FileView.java,
14518 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14519 javax/swing/Icon.java, javax/swing/ImageIcon.java,
14520 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14521 javax/swing/JApplet.java, javax/swing/JButton.java,
14522 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14523 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14524 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14525 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14526 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14527 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14528 javax/swing/JLayeredPane.java, javax/swing/JList.java,
14529 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14530 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14531 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14532 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14533 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14534 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14535 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14536 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14537 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14538 javax/swing/JTextField.java, javax/swing/JTextPane.java,
14539 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14540 javax/swing/JToolTip.java, javax/swing/JTree.java,
14541 javax/swing/JViewport.java, javax/swing/JWindow.java,
14542 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14543 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14544 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14545 javax/swing/MenuSelectionManager.java,
14546 javax/swing/MutableComboBoxModel.java,
14547 javax/swing/OverlayLayout.java,
14548 javax/swing/plaf/ActionMapUIResource.java,
14549 javax/swing/plaf/basic/BasicBorders.java,
14550 javax/swing/plaf/basic/BasicButtonUI.java,
14551 javax/swing/plaf/basic/BasicCheckBoxUI.java,
14552 javax/swing/plaf/basic/BasicDefaults.java,
14553 javax/swing/plaf/basic/BasicGraphicsUtils.java,
14554 javax/swing/plaf/basic/BasicIconFactory.java,
14555 javax/swing/plaf/basic/BasicLabelUI.java,
14556 javax/swing/plaf/basic/BasicListUI.java,
14557 javax/swing/plaf/basic/BasicLookAndFeel.java,
14558 javax/swing/plaf/basic/BasicOptionPaneUI.java,
14559 javax/swing/plaf/basic/BasicPanelUI.java,
14560 javax/swing/plaf/basic/BasicRadioButtonUI.java,
14561 javax/swing/plaf/basic/BasicScrollPaneUI.java,
14562 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14563 javax/swing/plaf/basic/BasicTextUI.java,
14564 javax/swing/plaf/basic/BasicToggleButtonUI.java,
14565 javax/swing/plaf/basic/BasicTreeUI.java,
14566 javax/swing/plaf/basic/BasicViewportUI.java,
14567 javax/swing/plaf/BorderUIResource.java,
14568 javax/swing/plaf/ButtonUI.java,
14569 javax/swing/plaf/ColorChooserUI.java,
14570 javax/swing/plaf/ColorUIResource.java,
14571 javax/swing/plaf/ComboBoxUI.java,
14572 javax/swing/plaf/ComponentInputMapUIResource.java,
14573 javax/swing/plaf/ComponentUI.java,
14574 javax/swing/plaf/DesktopIconUI.java,
14575 javax/swing/plaf/DesktopPaneUI.java,
14576 javax/swing/plaf/DimensionUIResource.java,
14577 javax/swing/plaf/FileChooserUI.java,
14578 javax/swing/plaf/FontUIResource.java,
14579 javax/swing/plaf/IconUIResource.java,
14580 javax/swing/plaf/InputMapUIResource.java,
14581 javax/swing/plaf/InsetsUIResource.java,
14582 javax/swing/plaf/InternalFrameUI.java,
14583 javax/swing/plaf/LabelUI.java,
14584 javax/swing/plaf/ListUI.java,
14585 javax/swing/plaf/MenuBarUI.java,
14586 javax/swing/plaf/MenuItemUI.java,
14587 javax/swing/plaf/OptionPaneUI.java,
14588 javax/swing/plaf/PanelUI.java,
14589 javax/swing/plaf/PopupMenuUI.java,
14590 javax/swing/plaf/ProgressBarUI.java,
14591 javax/swing/plaf/RootPaneUI.java,
14592 javax/swing/plaf/ScrollBarUI.java,
14593 javax/swing/plaf/ScrollPaneUI.java,
14594 javax/swing/plaf/SeparatorUI.java,
14595 javax/swing/plaf/SliderUI.java,
14596 javax/swing/plaf/SplitPaneUI.java,
14597 javax/swing/plaf/TabbedPaneUI.java,
14598 javax/swing/plaf/TableHeaderUI.java,
14599 javax/swing/plaf/TableUI.java,
14600 javax/swing/plaf/TextUI.java,
14601 javax/swing/plaf/ToolBarUI.java,
14602 javax/swing/plaf/ToolTipUI.java,
14603 javax/swing/plaf/TreeUI.java,
14604 javax/swing/plaf/UIResource.java,
14605 javax/swing/plaf/ViewportUI.java,
14606 javax/swing/ProgressMonitorInputStream.java,
14607 javax/swing/ProgressMonitor.java,
14608 javax/swing/Renderer.java,
14609 javax/swing/RepaintManager.java,
14610 javax/swing/RootPaneContainer.java,
14611 javax/swing/Scrollable.java,
14612 javax/swing/ScrollPaneConstants.java,
14613 javax/swing/ScrollPaneLayout.java,
14614 javax/swing/SingleSelectionModel.java,
14615 javax/swing/SizeRequirements.java,
14616 javax/swing/SizeSequence.java,
14617 javax/swing/SwingConstants.java,
14618 javax/swing/SwingUtilities.java,
14619 javax/swing/table/AbstractTableModel.java,
14620 javax/swing/table/DefaultTableCellRenderer.java,
14621 javax/swing/table/DefaultTableColumnModel.java,
14622 javax/swing/table/DefaultTableModel.java,
14623 javax/swing/table/TableCellEditor.java,
14624 javax/swing/table/TableCellRenderer.java,
14625 javax/swing/table/TableColumn.java,
14626 javax/swing/table/TableColumnModel.java,
14627 javax/swing/table/TableModel.java,
14628 javax/swing/text/AbstractDocument.java,
14629 javax/swing/text/AttributeSet.java,
14630 javax/swing/text/BadLocationException.java,
14631 javax/swing/text/Caret.java,
14632 javax/swing/text/CharacterIterator.java,
14633 javax/swing/text/ComponentView.java,
14634 javax/swing/text/DefaultCaret.java,
14635 javax/swing/text/DefaultEditorKit.java,
14636 javax/swing/text/Document.java,
14637 javax/swing/text/EditorKit.java,
14638 javax/swing/text/Element.java,
14639 javax/swing/text/GapContent.java,
14640 javax/swing/text/JTextComponent.java,
14641 javax/swing/text/Keymap.java,
14642 javax/swing/text/MutableAttributeSet.java,
14643 javax/swing/text/PlainDocument.java,
14644 javax/swing/text/PlainEditorKit.java,
14645 javax/swing/text/Position.java,
14646 javax/swing/text/Segment.java,
14647 javax/swing/text/StyledDocument.java,
14648 javax/swing/text/StyledEditorKit.java,
14649 javax/swing/text/Style.java,
14650 javax/swing/text/TextAction.java,
14651 javax/swing/text/ViewFactory.java,
14652 javax/swing/text/View.java,
14653 javax/swing/Timer.java,
14654 javax/swing/ToggleButtonModel.java,
14655 javax/swing/ToolTipManager.java,
14656 javax/swing/tree/AbstractLayoutCache.java,
14657 javax/swing/tree/DefaultMutableTreeNode.java,
14658 javax/swing/tree/DefaultTreeCellEditor.java,
14659 javax/swing/tree/DefaultTreeCellRenderer.java,
14660 javax/swing/tree/DefaultTreeModel.java,
14661 javax/swing/tree/DefaultTreeSelectionModel.java,
14662 javax/swing/tree/ExpandVetoException.java,
14663 javax/swing/tree/FixedHeightLayoutCache.java,
14664 javax/swing/tree/MutableTreeNode.java,
14665 javax/swing/tree/RowMapper.java,
14666 javax/swing/tree/TreeCellEditor.java,
14667 javax/swing/tree/TreeCellRenderer.java,
14668 javax/swing/tree/TreeModel.java,
14669 javax/swing/tree/TreeNode.java,
14670 javax/swing/tree/TreePath.java,
14671 javax/swing/tree/TreeSelectionModel.java,
14672 javax/swing/tree/VariableHeightLayoutCache.java,
14673 javax/swing/UIDefaults.java,
14674 javax/swing/UIManager.java,
14675 javax/swing/undo/AbstractUndoableEdit.java,
14676 javax/swing/undo/CannotRedoException.java,
14677 javax/swing/undo/CannotUndoException.java,
14678 javax/swing/undo/CompoundEdit.java,
14679 javax/swing/undo/StateEditable.java,
14680 javax/swing/undo/StateEdit.java,
14681 javax/swing/undo/UndoableEdit.java,
14682 javax/swing/undo/UndoableEditSupport.java,
14683 javax/swing/undo/UndoManager.java,
14684 javax/swing/UnsupportedLookAndFeelException.java,
14685 javax/swing/ViewportLayout.java,
14686 javax/swing/WindowConstants.java: New files, from GNU Classpath.
14687
14688 * java/awt/ActiveEvent.java,
14689 java/awt/Adjustable.java, java/awt/AWTError.java,
14690 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14691 java/awt/AWTException.java, java/awt/AWTPermission.java,
14692 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14693 java/awt/Color.java, java/awt/Component.java,
14694 java/awt/ComponentOrientation.java, java/awt/Container.java,
14695 java/awt/datatransfer/MimeTypeParseException.java,
14696 java/awt/datatransfer/Transferable.java,
14697 java/awt/datatransfer/UnsupportedFlavorException.java,
14698 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14699 java/awt/event/ActionListener.java,
14700 java/awt/event/AdjustmentEvent.java,
14701 java/awt/event/AdjustmentListener.java,
14702 java/awt/event/AWTEventListener.java,
14703 java/awt/event/ComponentAdapter.java,
14704 java/awt/event/ComponentEvent.java,
14705 java/awt/event/ComponentListener.java,
14706 java/awt/event/ContainerAdapter.java,
14707 java/awt/event/ContainerEvent.java,
14708 java/awt/event/ContainerListener.java,
14709 java/awt/event/FocusAdapter.java,
14710 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14711 java/awt/event/HierarchyBoundsAdapter.java,
14712 java/awt/event/HierarchyBoundsListener.java,
14713 java/awt/event/HierarchyEvent.java,
14714 java/awt/event/HierarchyListener.java,
14715 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14716 java/awt/event/InputMethodListener.java,
14717 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14718 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14719 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14720 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14721 java/awt/event/MouseListener.java,
14722 java/awt/event/MouseMotionAdapter.java,
14723 java/awt/event/MouseMotionListener.java,
14724 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14725 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14726 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14727 java/awt/event/WindowListener.java, java/awt/Font.java,
14728 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14729 java/awt/geom/Ellipse2D.java,
14730 java/awt/geom/IllegalPathStateException.java,
14731 java/awt/geom/Line2D.java,
14732 java/awt/geom/NoninvertibleTransformException.java,
14733 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14734 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14735 java/awt/geom/RoundRectangle2D.java,
14736 java/awt/GraphicsConfiguration.java,
14737 java/awt/IllegalComponentStateException.java,
14738 java/awt/image/IndexColorModel.java,
14739 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14740 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14741 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14742 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14743 java/awt/MenuItem.java, java/awt/PaintContext.java,
14744 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14745 java/awt/Polygon.java, java/awt/PrintGraphics.java,
14746 java/awt/PrintJob.java, java/awt/Rectangle.java,
14747 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14748 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14749 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14750
14751 * java/awt/im/spi/InputMethod.java,
14752 java/awt/im/spi/InputMethodContext.java,
14753 java/awt/im/spi/InputMethodDescriptor.java,
14754 java/awt/image/renderable/ContextualRenderedImageFactory.java,
14755 java/awt/image/renderable/ParameterBlock.java,
14756 java/awt/image/renderable/RenderContext.java,
14757 java/awt/image/renderable/RenderableImage.java,
14758 java/awt/image/renderable/RenderableImageOp.java,
14759 java/awt/image/renderable/RenderableImageProducer.java,
14760 java/awt/image/renderable/RenderedImageFactory.java: New files from
14761 classpath.
14762
14763 * gnu/java/awt/EventModifier.java,
14764 gnu/java/awt/image/ImageDecoder.java,
14765 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14766
14767 * gnu/awt/xlib/XGraphicsConfiguration.java,
14768 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14769 API.
14770
14771 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14772 GNU Classpath.
14773
14774 * Makefile.am: Add new files.
14775 * Makefile.in: Rebuilt.
14776
14777 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14778
14779 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14780 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14781 findResource, getResources, findResources): Add javadoc from classpath.
14782 (getSystemResources): Implemented.
14783
14784 2002-08-01 Mark Wielaard <mark@klomp.org>
14785
14786 Revert patch that breaks libgcj shared library on powerpc:
14787 * gnu/java/security/provider/Gnu.java: Reverse referencing all
14788 implementation classes by using Class.getName(). Uses Strings again.
14789 * gnu/java/security/der/DEREncodingException.java,
14790 gnu/java/security/provider/DERReader.java,
14791 gnu/java/security/provider/DERWriter.java,
14792 gnu/java/security/provider/DSAKeyPairGenerator.java,
14793 gnu/java/security/provider/DSAParameterGenerator.java,
14794 gnu/java/security/provider/DSAParameters.java,
14795 gnu/java/security/provider/DSASignature.java,
14796 gnu/java/security/provider/GnuDSAPrivateKey.java,
14797 gnu/java/security/provider/GnuDSAPublicKey.java,
14798 gnu/java/security/provider/MD5.java,
14799 gnu/java/security/util/Prime.java: Removed.
14800 * Makefile.am (ordinary_java_source_files): Remove above files.
14801 * Makefile.in: Regenerate.
14802 * gnu/java/security/provider/DefaultPolicy.java
14803 (getPermissions): Revert to maintaining static class variable of
14804 Permissions.
14805 * gnu/java/security/provider/SHA.java
14806 (engineUpdate): Revert algorithm change.
14807 (engineDigest): Revert algorithm change.
14808
14809 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
14810
14811 * configure.host: Add SH support.
14812 * sysdep/sh/locks.h: New file.
14813
14814 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14815
14816 * java/awt/Frame.java (Frame): Remove println calls.
14817
14818 2002-07-30 Jeff Sturm <jsturm@one-point.com>
14819
14820 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14821 * configure: Rebuilt.
14822
14823 2002-07-27 Alan Modra <amodra@bigpond.net.au>
14824
14825 * sysdep/powerpc/locks.h: Formatting.
14826 (_LARX): Define.
14827 (_STCX): Define.
14828 (compare_and_swap): Use _LARX and _STCX.
14829 (compare_and_swap_release): Likewise.
14830
14831 2002-07-26 Tom Tromey <tromey@redhat.com>
14832
14833 * java/net/Authenticator.java: New version from Classpath.
14834 * java/net/DatagramSocketImpl.java: New version from Classpath.
14835
14836 2002-07-27 Alan Modra <amodra@bigpond.net.au>
14837
14838 * configure.host: Add powerpc64*-* entry.
14839
14840 2002-07-26 Tom Tromey <tromey@redhat.com>
14841
14842 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14843 fcntl.h.
14844
14845 2002-07-24 Tom Tromey <tromey@redhat.com>
14846
14847 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14848 argument to _load.
14849
14850 2002-07-24 Tom Tromey <tromey@redhat.com>
14851 Tony Kimball <alk@pobox.com>
14852
14853 * java/io/natFileDescriptorWin32.cc (setLength): New method.
14854 * java/io/natFileDescriptorPosix.cc (setLength): New method.
14855 * java/io/RandomAccessFile.java (setLength): New method.
14856 * java/io/natFileDescriptorEcos.cc (setLength): New method.
14857 * java/io/FileDescriptor.java (setLength): New method.
14858
14859 2002-07-24 Mark Wielaard <mark@klomp.org>
14860
14861 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
14862 * java/io/ObjectInputStream.java (setBooleanField): Before setting
14863 field call setAccessible(true).
14864 (setByteField): Likewise.
14865 (setCharField): Likewise.
14866 (setDoubleField): Likewise.
14867 (setFloatField): Likewise.
14868 (setIntField): Likewise.
14869 (setLongField): Likewise.
14870 (setShortField): Likewise.
14871 (setObjectField): Likewise.
14872
14873 2002-07-24 Tom Tromey <tromey@redhat.com>
14874
14875 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
14876 use toString() to format array element.
14877
14878 2002-07-23 Mark Wielaard <mark@klomp.org>
14879
14880 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14881 MessageDigestSpi (fixes Classpath bug #783).
14882
14883 2002-07-21 Mark Wielaard <mark@klomp.org>
14884
14885 * gnu/java/security/provider/Gnu.java: Reference all implementation
14886 classes by using Class.getName().
14887
14888 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
14889
14890 * java/lang/ieeefp.h: Add x86-64 support.
14891 * configure.in: Likewise.
14892 * configure.host: Likewise.
14893 * configure: Regenerated.
14894 * sysdep/x86-64/locks.h: New file with x86-64 locks.
14895
14896 2002-07-16 Mark Wielaard <mark@klomp.org>
14897
14898 * java/io/StreamTokenizer.java (pushBack): Update documentation.
14899 (whitespaceChars): call resetChar().
14900
14901 2002-07-15 Tom Tromey <tromey@redhat.com>
14902
14903 * Makefile.in: Rebuilt.
14904 * Makefile.am (awt_java_source_files): Added new files.
14905 * java/beans/ExceptionListener.java: Merged with Classpath.
14906 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
14907 * java/beans/PropertyChangeListener.java: Merged with Classpath.
14908 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
14909 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
14910 * java/beans/VetoableChangeListener.java: Merged with Classpath.
14911 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
14912 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
14913
14914 2002-07-14 Mark Wielaard <mark@klomp.org>
14915
14916 * gnu/java/security/der/DEREncodingException.java,
14917 gnu/java/security/provider/DERReader.java,
14918 gnu/java/security/provider/DERWriter.java,
14919 gnu/java/security/provider/DSAKeyPairGenerator.java,
14920 gnu/java/security/provider/DSAParameterGenerator.java,
14921 gnu/java/security/provider/DSAParameters.java,
14922 gnu/java/security/provider/DSASignature.java,
14923 gnu/java/security/provider/GnuDSAPrivateKey.java,
14924 gnu/java/security/provider/GnuDSAPublicKey.java,
14925 gnu/java/security/provider/MD5.java,
14926 gnu/java/security/util/Prime.java: New files from Classpath.
14927 * Makefile.am (ordinary_java_source_files): Add new files.
14928 * Makefile.in: Regenerate.
14929
14930 2002-07-14 C. Brian Jones <cbj@gnu.org>
14931
14932 * gnu/java/security/provider/DefaultPolicy.java
14933 (getPermissions): do not maintain static class variable of
14934 Permissions
14935 * gnu/java/security/provider/SHA.java
14936 (engineUpdate): algorithm change
14937 (engineDigest): algorithm change
14938
14939 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
14940
14941 For PR libgcj/7292:
14942 * java/lang/Character.java (toString(char)): Now static.
14943
14944 2002-07-12 Mark Wielaard <mark@klomp.org>
14945
14946 * java/lang/natThrowable.cc (printRawStackTrace): removed.
14947 (getStackTrace0): new method.
14948 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
14949 (printStackTrace(PrintWriter)): replace with pure java implementation.
14950 (printRawStackTrace): removed.
14951 (getStackTrace0): new method.
14952 * java/lang/StackTraceElement.java (toString): add extra whitespace.
14953 * gcj/javaprims.h: regenerate class list.
14954 * include/name-finder.h (lookup): new returns StackTraceElement*.
14955 (method_name, file_name): fields removed.
14956 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
14957 (~_Jv_name_finder): close new descriptors.
14958 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
14959 (createStackTraceElement): new method.
14960 (lookup): returns StackTraceElement*, uses createStackTraceElement().
14961
14962 2002-07-10 Tom Tromey <tromey@redhat.com>
14963
14964 * configure: Rebuilt.
14965 * configure.in: Use `test' after `&&'. From Chris Faylor.
14966
14967 2002-07-08 Mark Wielaard <mark@klomp.org>
14968
14969 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
14970 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
14971 java.sql.DatabaseMetaData.TestJdbc20
14972
14973 2002-07-05 Tony Kimball <alk@pobox.com>
14974
14975 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
14976
14977 2002-07-04 Tom Tromey <tromey@redhat.com>
14978 Jeff Sturm <jsturm@one-point.com>
14979
14980 Fix for PR libgcj/7060:
14981 * java/lang/Class.h (_getMethod): Renamed from getMethod.
14982 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
14983 Recurse into superinterfaces. Don't throw NoSuchMethodException.
14984 * java/lang/Class.java (getMethod): New Java implementation;
14985 complies with spec.
14986 (_getMethod): New native method.
14987
14988 2002-07-02 Tom Tromey <tromey@redhat.com>
14989 David Hovemeyer <daveho@cs.umd.edu>
14990
14991 * java/text/ChoiceFormat.java
14992 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
14993 in check loop.
14994 * java/text/MessageFormat.java
14995 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
14996 to MessageFormat.
14997
14998 2002-07-01 Tom Tromey <tromey@redhat.com>
14999
15000 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15001 StringTokenizer on null string. For PR libgcj/7180.
15002 From daveho@cs.umd.edu.
15003
15004 2002-06-24 Tom Tromey <tromey@redhat.com>
15005
15006 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15007 (IntegerClass): Likewise.
15008 * java/lang/natClass.cc (CloneableClass): Removed.
15009 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15010 ConstructorClass): Likewise.
15011 * java/lang/natClassLoader.cc (CloneableClass): Removed.
15012 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15013 SerializableClass): Likewise.
15014 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15015 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15016 LongClass, FloatClass, DoubleClass): Likewise.
15017
15018 * verify.cc (branch_prepass): Updated for change to exception
15019 handler type.
15020 (verify_instructions_0): Likewise.
15021 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15022 (handleExceptionTableEntry): Updated for change to exception
15023 handler type.
15024 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15025 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15026 (union _Jv_InterpPC): New.
15027 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15028 (class _Jv_InterpMethod): Added new `prepared' field.
15029 (class _Jv_InterpMethod): Added `compile' method. Removed
15030 `continue1' and `find_exception'. Changed arguments to `run'.
15031 * interpret.cc (union insn_slot): New.
15032 (find_exception): Removed.
15033 (run_normal): Removed most logic.
15034 (run_synch_object): Likewise; also, use JvSynchronize.
15035 (run_synch_class): Likewise.
15036 (run): Removed.
15037 (continue1): Renamed as `run'. Compile bytecode if required.
15038 Add new code to allow refinement of direct-threaded code at
15039 runtime. Handle exceptions.
15040 (SAVE_PC): Removed.
15041 (compile): New method.
15042 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15043 (NULLARRAYCHECK): Don't use SAVE_PC.
15044 (pc_t): New typedef.
15045 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15046 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15047
15048 2002-06-23 Tom Tromey <tromey@redhat.com>
15049
15050 * configure: Rebuilt.
15051 * configure.in (INTERPRETER): New subst.
15052 (AM_RUNTESTFLAGS): Don't subst.
15053
15054 * Makefile.in: Rebuilt.
15055 * Makefile.am ($(srcdir)/java/lang/Object.h,
15056 $(srcdir)/java/lang/Class.h): Added dummy targets.
15057
15058 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15059
15060 Reformat JDBC classes and add new JDK 1.4 classes and methods.
15061
15062 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15063 java/sql/Savepoint.java: New files.
15064 * java/sql/Array.java, java/sql/BatchUpdateException.java,
15065 java/sql/Blob.java, java/sql/CallableStatement.java,
15066 java/sql/Clob.java, java/sql/Connection.java,
15067 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15068 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15069 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15070 java/sql/Ref.java, java/sql/ResultSet.java,
15071 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15072 java/sql/SQLException.java, java/sql/SQLInput.java,
15073 java/sql/SQLOutput.java, java/sql/SQLWarning.java
15074 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15075 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15076 (JDK 1.4) specification.
15077 * javax/sql/ConnectionEvent.java,
15078 javax/sql/ConnectionEventListener.java,
15079 javax/sql/ConnectionPoolDataSource.java,
15080 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15081 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15082 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15083 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15084 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15085 javax/sql/XADataSource.java: New files.
15086 * Makefile.am: Add new files.
15087 * Makefile.in: Rebuilt.
15088
15089 2002-06-20 Tom Tromey <tromey@redhat.com>
15090
15091 For PR libgcj/7073:
15092 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15093 exists.
15094 * defineclass.cc (handleClassBegin): Superclass for interface is
15095 `null'.
15096
15097 2002-06-18 Tom Tromey <tromey@redhat.com>
15098
15099 * gcj/javaprims.h: Updated class declaration list.
15100 * Makefile.in: Rebuilt.
15101 * Makefile.am (core_java_source_files): Removed
15102 BasicMapEntry.java.
15103 * java/util/BasicMapEntry.java: Removed.
15104
15105 2002-06-18 Jeff Sturm <jsturm@one-point.com>
15106
15107 * java/net/natPlainDatagramSocketImpl.cc (receive):
15108 Check bounds of argument to FD_SET.
15109 (setOption): Throw exception if socket is closed.
15110
15111 * java/net/natPlainSocketImpl.cc (accept, read):
15112 Check bounds of argument to FD_SET.
15113 (setOption): Throw exception if socket is closed.
15114
15115 2002-06-18 Tom Tromey <tromey@redhat.com>
15116
15117 * gcj/javaprims.h: Updated class declaration list.
15118 * Makefile.in: Rebuilt.
15119 * Makefile.am (core_java_source_files): Added
15120 PropertyPermissionCollection.java.
15121 * java/lang/Thread.java (group, name): Now package-private.
15122 * java/lang/ThreadGroup.java: Re-merge with Classpath.
15123 * java/util/AbstractList.java: Likewise.
15124 * java/util/AbstractMap.java: Likewise.
15125 * java/util/Calendar.java: Likewise.
15126 * java/util/Collections.java: Likewise.
15127 * java/util/HashMap.java: Likewise.
15128 * java/util/Hashtable.java: Likewise.
15129 * java/util/LinkedHashMap.java: Likewise.
15130 * java/util/LinkedList.java: Likewise.
15131 * java/util/List.java: Likewise.
15132 * java/util/ListResourceBundle.java: Likewise.
15133 * java/util/Map.java: Likewise.
15134 * java/util/Observable.java: Likewise.
15135 * java/util/Properties.java: Likewise.
15136 * java/util/PropertyPermission.java: Likewise.
15137 * java/util/PropertyPermissionCollection.java: Likewise.
15138 * java/util/PropertyResourceBundle.java: Likewise.
15139 * java/util/Random.java: Likewise.
15140 * java/util/SimpleTimeZone.java: Likewise.
15141 * java/util/StringTokenizer.java: Likewise.
15142 * java/util/TimerTask.java: Likewise.
15143 * java/util/TreeMap.java: Likewise.
15144 * java/util/WeakHashMap.java: Likewise.
15145 * java/util/jar/Attributes.java: Likewise.
15146 * java/util/jar/JarException.java: Likewise.
15147 * java/util/jar/Manifest.java: Likewise.
15148
15149 2002-06-17 Tom Tromey <tromey@redhat.com>
15150
15151 * gcj/javaprims.h: Updated class declaration list.
15152 * Makefile.in: Rebuilt.
15153 * Makefile.am (core_java_source_files): Added new file.
15154 * java/util/EventListenerProxy.java: New file.
15155 * java/util/EventListener.java: Re-merge with Classpath.
15156 * java/util/EventObject.java: Re-merge with Classpath.
15157
15158 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
15159
15160 * java/lang/ClassNotFoundException.java: New Classpath version.
15161
15162 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
15163
15164 * java/rmi/activation/ActivateFailedException.java: Remerge from
15165 Classpath version.
15166 * java/rmi/activation/ActivationException.java: Ditto.
15167 * java/rmi/activation/UnknownGroupException.java: Ditto.
15168 * java/rmi/activation/UnknownObjectException.java: Ditto.
15169 * java/rmi/server/ExportException: Ditto.
15170 * java/rmi/server/ServerCloneException: Ditto.
15171 * java/rmi/server/ServerNotActiveException: Ditto.
15172 * java/rmi/server/SkeletonMismatchException: Ditto.
15173 * java/rmi/server/SkeletonNotFoundException: Ditto.
15174 * java/rmi/server/SocketSecurityException: Ditto.
15175
15176 2002-06-16 Tom Tromey <tromey@redhat.com>
15177
15178 * gcj/javaprims.h: Updated class declaration list.
15179
15180 * java/io/LineNumberInputStream.java: Merged with Classpath.
15181
15182 * java/lang/RuntimeException.java: Re-merge with Classpath.
15183 * java/util/ArrayList.java: Likewise.
15184 * java/util/Arrays.java: Likewise.
15185 * java/util/BitSet.java: Likewise.
15186 * java/util/Dictionary.java: Likewise.
15187 * java/util/IdentityHashMap.java: Likewise.
15188 * java/util/MissingResourceException.java: Likewise.
15189 * java/util/Observer.java: Likewise.
15190 * java/util/TooManyListenersException.java: Likewise.
15191 * java/util/zip/DataFormatException.java: Likewise.
15192 * java/util/zip/ZipException.java: Likewise.
15193
15194 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
15195
15196 * java/rmi/AccessException.java: Remerge from Classpath.
15197 * java/rmi/AlreadyBoundException.java: Ditto.
15198 * java/rmi/ConnectException.java: Ditto.
15199 * java/rmi/ConnectIOException.java: Ditto.
15200 * java/rmi/MarshalException.java: Ditto.
15201 * java/rmi/NoSuchObjectException.java: Ditto.
15202 * java/rmi/NotBoundException.java: Ditto.
15203 * java/rmi/RemoteException.java: Ditto.
15204 * java/rmi/RMISecurityException.java: Ditto.
15205 * java/rmi/ServerError.java: Ditto.
15206 * java/rmi/ServerException.java: Ditto.
15207 * java/rmi/ServerRuntimeException.java: Ditto.
15208 * java/rmi/StubNotFoundException.java: Ditto.
15209 * java/rmi/UnexpectedExcpetion.java: Ditto.
15210 * java/rmi/UnknownHostException.java: Ditto.
15211 * java/rmi/UnmarshalException.java: Ditto.
15212
15213 2002-06-15 Tom Tromey <tromey@redhat.com>
15214
15215 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15216 * java/lang/ArithmeticException.java: Likewise.
15217 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15218 * java/lang/ArrayStoreException.java: Likewise.
15219 * java/lang/Byte.java: Likewise.
15220 * java/lang/CharSequence.java: Likewise.
15221 * java/lang/ClassCastException.java: Likewise.
15222 * java/lang/ClassCircularityError.java: Likewise.
15223 * java/lang/ClassFormatError.java: Likewise.
15224 * java/lang/CloneNotSupportedException.java: Likewise.
15225 * java/lang/Cloneable.java: Likewise.
15226 * java/lang/Comparable.java: Likewise.
15227 * java/lang/Compiler.java: Likewise.
15228 * java/lang/Error.java: Likewise.
15229 * java/lang/ExceptionInInitializerError.java: Likewise.
15230 * java/lang/IllegalAccessError.java: Likewise.
15231 * java/lang/IllegalAccessException.java: Likewise.
15232 * java/lang/IllegalArgumentException.java: Likewise.
15233 * java/lang/IllegalMonitorStateException.java: Likewise.
15234 * java/lang/IllegalStateException.java: Likewise.
15235 * java/lang/IllegalThreadStateException.java: Likewise.
15236 * java/lang/IncompatibleClassChangeError.java: Likewise.
15237 * java/lang/IndexOutOfBoundsException.java: Likewise.
15238 * java/lang/InheritableThreadLocal.java: Likewise.
15239 * java/lang/InstantiationError.java: Likewise.
15240 * java/lang/InstantiationException.java: Likewise.
15241 * java/lang/InternalError.java: Likewise.
15242 * java/lang/InterruptedException.java: Likewise.
15243 * java/lang/LinkageError.java: Likewise.
15244 * java/lang/NegativeArraySizeException.java: Likewise.
15245 * java/lang/NoClassDefFoundError.java: Likewise.
15246 * java/lang/NoSuchFieldError.java: Likewise.
15247 * java/lang/NoSuchFieldException.java: Likewise.
15248 * java/lang/NoSuchMethodError.java: Likewise.
15249 * java/lang/NoSuchMethodException.java: Likewise.
15250 * java/lang/NullPointerException.java: Likewise.
15251 * java/lang/NumberFormatException.java: Likewise.
15252 * java/lang/OutOfMemoryError.java: Likewise.
15253 * java/lang/Process.java: Likewise.
15254 * java/lang/Runnable.java: Likewise.
15255 * java/lang/RuntimePermission.java: Likewise.
15256 * java/lang/SecurityException.java: Likewise.
15257 * java/lang/Short.java: Likewise.
15258 * java/lang/StackOverflowError.java: Likewise.
15259 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15260 * java/lang/ThreadDeath.java: Likewise.
15261 * java/lang/ThreadLocal.java: Likewise.
15262 * java/lang/UnknownError.java: Likewise.
15263 * java/lang/UnsatisfiedLinkError.java: Likewise.
15264 * java/lang/UnsupportedClassVersionError.java: Likewise.
15265 * java/lang/UnsupportedOperationException.java: Likewise.
15266 * java/lang/VerifyError.java: Likewise.
15267 * java/lang/VirtualMachineError.java: Likewise.
15268 * java/lang/reflect/InvocationTargetException.java: Likewise.
15269 * java/net/BindException.java: Likewise.
15270 * java/net/ConnectException.java: Likewise.
15271 * java/net/MalformedURLException.java: Likewise.
15272 * java/net/NoRouteToHostException.java: Likewise.
15273 * java/net/ProtocolException.java: Likewise.
15274 * java/net/SocketException.java: Likewise.
15275 * java/net/UnknownHostException.java: Likewise.
15276 * java/net/UnknownServiceException.java: Likewise.
15277
15278 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15279 * java/io/CharConversionException.java: Likewise.
15280 * java/io/EOFException.java: Likewise.
15281 * java/io/FileNotFoundException.java: Likewise.
15282 * java/io/IOException.java: Likewise.
15283 * java/io/InterruptedIOException.java: Likewise.
15284 * java/io/InvalidClassException.java: Likewise.
15285 * java/io/InvalidObjectException.java: Likewise.
15286 * java/io/NotActiveException.java: Likewise.
15287 * java/io/NotSerializableException.java: Likewise.
15288 * java/io/ObjectStreamException.java: Likewise.
15289 * java/io/ObjectStreamConstants.java: Likewise.
15290 * java/io/OptionalDataException.java: Likewise.
15291 * java/io/PipedInputStream.java: Likewise.
15292 * java/io/PushbackInputStream.java: Likewise.
15293 * java/io/StreamCorruptedException.java: Likewise.
15294 * java/io/SyncFailedException.java: Likewise.
15295 * java/io/UTFDataFormatException.java: Likewise.
15296 * java/io/UnsupportedEncodingException.java: Likewise.
15297 * java/io/WriteAbortedException.java: Likewise.
15298
15299 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
15300
15301 * java/text/ChoiceFormat.java: Update comments from Classpath.
15302 * java/text/ParseException.java (serialVersionUID): New
15303 field from Classpath.
15304 * java/text/ParseException.java: Update formatting & comments
15305 from Classpath.
15306
15307 2002-06-15 Tom Tromey <tromey@redhat.com>
15308
15309 * java/util/zip/InflaterInputStream.java (read): Loop if data has
15310 been read but none output by inflater.
15311 * java/util/zip/natDeflater.cc (reset): Set is_finished.
15312 * java/util/zip/natInflater.cc (reset): Set dist_needed and
15313 is_finished.
15314 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15315 version.
15316 * java/util/zip/ZipFile.java: Replaced with Classpath version.
15317 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15318 * java/util/zip/ZipInputStream.java: Replaced with Classpath
15319 version.
15320 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15321
15322 2002-06-13 Tom Tromey <tromey@redhat.com>
15323
15324 * java/lang/natString.cc (init): Handle case where DONT_COPY is
15325 true and OFFSET!=0.
15326 * java/lang/String.java (String(char[],int,int,boolean): New
15327 constructor.
15328 * java/lang/Long.java: Imported new version from Classpath.
15329 * java/lang/Number.java: Likewise.
15330 * java/lang/Integer.java: Likewise.
15331 * java/lang/Long.java: Likewise.
15332 * java/lang/Float.java: Likewise.
15333 * java/lang/Boolean.java: Likewise.
15334 * java/lang/Double.java: Likewise.
15335 * java/lang/Void.java: Likewise.
15336
15337 2002-06-12 Tom Tromey <tromey@redhat.com>
15338
15339 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15340 Fixes PR libgcj/6652.
15341
15342 2002-06-10 Tom Tromey <tromey@redhat.com>
15343
15344 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15345 (Class::getPackagePortion): Likewise.
15346 * java/lang/Class.java (desiredAssertionStatus): New method from
15347 Classpath.
15348 (getPackagePortion): Likewise.
15349 * java/lang/VMClassLoader.java (defaultAssertionStatus,
15350 packageAssertionStatus, classAssertionStatus): New methods from
15351 Classpath.
15352 * java/lang/ClassLoader.java (defaultAssertionStatus,
15353 systemPackageAssertionStatus, packageAssertionStatus,
15354 systemClassAssertionStatus, classAssertionStatus): New fields from
15355 Classpath.
15356 (setDefaultAssertionStatus, setPackageAssertionStatus,
15357 setClassAssertionStatus, clearAssertionStatus): New methods from
15358 Classpath.
15359 * Makefile.in: Rebuilt.
15360 * Makefile.am (core_java_source_files): Added AssertionError.java.
15361 * java/lang/AssertionError.java: New from Classpath.
15362
15363 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15364
15365 * configure.host: Disable hash synchronization and slow_pthread_self
15366 for cygwin.
15367
15368 2002-06-06 Adam Megacz <adam@xwt.org>
15369
15370 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15371 locking, just like the Sun JVM does.
15372
15373 2002-06-05 H.J. Lu (hjl@gnu.org)
15374
15375 * Makefile.am (libgcj_convenience.la): Revert the last change.
15376 (libgcj.la): Likewise.
15377 * Makefile.in: Regenerated.
15378
15379 2002-06-04 H.J. Lu (hjl@gnu.org)
15380
15381 * Makefile.am (libgcj_convenience.la): New target.
15382 (libgcj.la): Depend on libgcj_convenience.la.
15383 * Makefile.in: Regenerated.
15384
15385 2002-06-04 H.J. Lu (hjl@gnu.org)
15386
15387 * configure.in (--with-newlib): New option:
15388 Check ${with_newlib} instead of ${with_cross_host} for newlib.
15389 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15390 Linux.
15391 * configure: Regenerated.
15392
15393 2002-06-04 Tom Tromey <tromey@redhat.com>
15394
15395 * java/util/natTimeZone.cc: Include <stdio.h>.
15396
15397 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
15398
15399 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15400 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15401 Set SIGNAL_HANDLER=include/s390-linux.h.
15402 * configure: Regenerate.
15403 * include/s390-linux.h: New file.
15404
15405 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15406
15407 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15408 not "stackTrace".
15409
15410 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15411
15412 Merge JDK 1.4 java.security changes from classpath.
15413
15414 * java/security/AccessControlException.java: Merge from Classpath.
15415 * java/security/AccessController.java: Likewise.
15416 * java/security/AllPermission.java: Likewise.
15417 * java/security/BasicPermission.java: Likewise.
15418 * java/security/Certificate.java: Likewise.
15419 * java/security/CodeSource.java: Likewise.
15420 * java/security/DigestException.java: Likewise.
15421 * java/security/DigestOutputStream.java: Likewise.
15422 * java/security/DomainCombiner.java: Likewise.
15423 * java/security/GeneralSecurityException.java: Likewise.
15424 * java/security/Guard.java: Likewise.
15425 * java/security/GuardedObject.java: Likewise.
15426 * java/security/InvalidAlgorithmParameterException.java: Likewise.
15427 * java/security/InvalidKeyException.java: Likewise.
15428 * java/security/InvalidParameterException.java: Likewise.
15429 * java/security/Key.java: Likewise.
15430 * java/security/KeyException.java: Likewise.
15431 * java/security/KeyManagementException.java: Likewise.
15432 * java/security/KeyStoreException.java: Likewise.
15433 * java/security/MessageDigest.java: Likewise.
15434 * java/security/NoSuchAlgorithmException.java: Likewise.
15435 * java/security/NoSuchProviderException.java: Likewise.
15436 * java/security/Permission.java: Likewise.
15437 * java/security/PermissionCollection.java: Likewise.
15438 * java/security/Permissions.java: Likewise.
15439 * java/security/Policy.java: Likewise.
15440 * java/security/Principal.java: Likewise.
15441 * java/security/PrivateKey.java: Likewise.
15442 * java/security/PrivilegedAction.java: Likewise.
15443 * java/security/PrivilegedActionException.java: Likewise.
15444 * java/security/PrivilegedExceptionAction.java: Likewise.
15445 * java/security/ProtectionDomain.java: Likewise.
15446 * java/security/ProviderException.java: Likewise.
15447 * java/security/PublicKey.java: Likewise.
15448 * java/security/SecureClassLoader.java: Likewise.
15449 * java/security/SecurityPermission.java: Likewise.
15450 * java/security/SignatureException.java: Likewise.
15451 * java/security/UnrecoverableKeyException.java: Likewise.
15452 * java/security/UnresolvedPermission.java: Likewise.
15453 * java/security/acl/AclNotFoundException.java: Likewise.
15454 * java/security/acl/LastOwnerException.java: Likewise.
15455 * java/security/acl/NotOwnerException.java: Likewise.
15456 * java/security/cert/CRLException.java: Likewise.
15457 * java/security/cert/CertificateEncodingException.java: Likewise.
15458 * java/security/cert/CertificateException.java: Likewise.
15459 * java/security/cert/CertificateExpiredException.java: Likewise.
15460 * java/security/cert/CertificateFactory.java: Likewise.
15461 * java/security/cert/CertificateNotYetValidException.java: Likewise.
15462 * java/security/cert/CertificateParsingException.java: Likewise.
15463 * java/security/spec/InvalidKeySpecException.java: Likewise.
15464 * java/security/spec/InvalidParameterSpecException.java: Likewise.
15465
15466 * java/security/cert/CertPath.java: New file.
15467 * java/security/cert/CertPathBuilderException.java: New file.
15468 * java/security/cert/CertPathValidatorException.java: New file.
15469 * java/security/cert/CertStoreException.java: New file.
15470
15471 * Makefile.am: Add new CertPath classes.
15472 * Makefile.in: Rebuilt.
15473
15474 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15475
15476 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15477
15478 Merge JDK 1.4 exception chaining support from classpath.
15479
15480 * java/lang/Throwable.java: Merge 1.4 support from classpath.
15481 (stackTraceBytes): Rename from stackTrace.
15482 * java/lang/Exception.java: Merge from classpath.
15483 * java/lang/StackTraceElement: New file from classpath.
15484 * gcj/javaprims.h: Rebuild CNI namespace declarations.
15485 * Makefile.am: Add StackTraceElement.
15486 * Makefile.in: Rebuilt.
15487
15488 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15489
15490 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15491 they build first.
15492 * Makefile.in: Rebuilt.
15493
15494 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15495
15496 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15497 * configure.in: Likewise.
15498 * aclocal.m4: Regenerate.
15499 * configure: Regenerate.
15500
15501 2002-05-13 Tom Tromey <tromey@redhat.com>
15502
15503 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15504 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15505 Include platform.h.
15506
15507 Fixes PR libgcj/6389:
15508 * Makefile.in: Rebuilt.
15509 * Makefile.am (nat_source_files): Added natTimeZone.cc.
15510 * java/util/natTimeZone.cc: New file.
15511 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15512 * java/lang/System.java: Merged with Classpath.
15513 * java/lang/Runtime.java: Merged with Classpath.
15514 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15515 security check.
15516 (setIn0): Renamed from setIn; don't run security check.
15517 (setOut0): Renamed from setOut; don't run security check.
15518 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15519 init_properties): Moved to natRuntime.cc.
15520 Moved many includes to natRuntime.cc.
15521 (isWordsBigEndian): New method.
15522 * java/lang/natRuntime.cc: Include Long.h, also other includes
15523 previously in natSystem.cc.
15524 (maxMemory): New function.
15525 (exitInternal): Renamed from `_exit'.
15526 (exit): Removed.
15527 (init): Don't set finalize_on_exit.
15528 (exitInternal): Use `finalizeOnExit'.
15529 (file_encoding, getpwuid_adaptor): New functions from
15530 natSystem.cc.
15531 (insertSystemProperties): New method, renamed from
15532 System::init_properties. Don't set user.timezone.
15533 (_load): Don't call checkLink.
15534 (execInternal): New method.
15535 (availableProcessors): Likewise.
15536 (nativeGetLibname): Likewise.
15537
15538 2002-05-11 Mark Wielaard <mark@klomp.org>
15539
15540 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15541 space characters.
15542 (previous_internal): Likewise.
15543
15544 2002-05-09 Tom Tromey <tromey@redhat.com>
15545
15546 * jni.cc (_Jv_JNIFunctions): Fixed typo.
15547
15548 * java/util/ResourceBundle.java: New version from Classpath.
15549 * java/util/Locale.java: Likewise.
15550
15551 2002-05-09 Jakub Jelinek <jakub@redhat.com>
15552
15553 * testsuite/lib/libjava.exp (libjava_arguments): Append all
15554 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15555 LD_LIBRARY_PATH.
15556
15557 2002-05-08 Mark Mitchell <mark@codesourcery.com>
15558
15559 * libjava/Makefile.am (all_java_source_files): New variable.
15560 (all_java_class_files): Likewise.
15561 .java.class: New rule.
15562 (CLEANFILES): Remove tmp-list.
15563 * libjava/Makefile.in: Regenerated.
15564
15565 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
15566
15567 * testsuite/lib/libjava.exp (test_libjava_from_javac):
15568 Append .exe to executable names. Fix for cygwin.
15569
15570 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
15571
15572 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15573 script entry, and set LD to it when configuring multilibs.
15574 * configure: Rebuilt.
15575
15576 2002-05-07 Tom Tromey <tromey@redhat.com>
15577
15578 * java/lang/natString.cc (unintern): Fixed typo.
15579
15580 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15581
15582 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15583 with -no-install on *-*-cygwin*.
15584
15585 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15586
15587 * testsuite/lib/libjava.exp (test_libjava_from_source):
15588 Add comment explaining last patch
15589
15590 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
15591
15592 * testsuite/lib/libjava.exp (test_libjava_from_source):
15593 Append .exe to executable names. If no suffix is present,
15594 then ".exe" is added by default on win32. Harmless
15595 elsewhere so always do it.
15596
15597 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
15598 Tom Tromey <tromey@redhat.com>
15599
15600 * java/lang/natSystem.cc (getSystemTimeZone): Use
15601 HAVE_UNDERSCORE_TIMEZONE.
15602 * include/config.h.in: Rebuilt.
15603 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15604 * aclocal.m4, configure: Rebuilt.
15605 * acinclude.m4: Run AC_EXEEXT.
15606 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15607 Add test for `_timezone'.
15608
15609 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
15610
15611 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15612 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15613 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15614 * Makefile.in: Rebuilt.
15615
15616 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
15617
15618 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15619 use sigaction instead of __libc_sigaction.
15620
15621 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15622
15623 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15624 (libjava_init): Use it to find libgcj.spec.
15625 (libjava_arguments): Likewise.
15626
15627 2002-05-02 David S. Miller <davem@redhat.com>
15628
15629 PR bootstrap/6525
15630 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15631 __libc_sigaction on Sparc.
15632
15633 2002-05-02 Jerome Marc <marcjero@yahoo.com>
15634
15635 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15636 sys/filio.h, if present.
15637
15638 2002-04-30 Tom Tromey <tromey@redhat.com>
15639
15640 * java/io/BufferedReader.java (fill): Handle case where markPos
15641 point to ignored \n. Fixes PR libgcj/6301.
15642
15643 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
15644
15645 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15646
15647 2002-04-29 Adam King <aking@dreammechanics.com>
15648
15649 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15650 of file in APPEND mode.
15651
15652 2002-04-25 David S. Miller <davem@redhat.com>
15653
15654 PR target/6422
15655 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15656 program counter to next program counter minus 8. Update
15657 comments in this macro to explain why.
15658
15659 2002-04-26 Tom Tromey <tromey@redhat.com>
15660
15661 * verify.cc (construct_primitive_array_type) [void_type]: New
15662 case.
15663 (branch_prepass): Added dummy entries for unused instruction
15664 values.
15665 (verify_instructions_0): Likewise.
15666 * interpret.cc (continue1): Comment fix.
15667 * include/java-insns.h (op_xxxunusedxxx1): Removed.
15668 * Makefile.in: Rebuilt.
15669 * Makefile.am: Added -Wswitch-enum.
15670
15671 2002-04-24 Tom Tromey <tromey@redhat.com>
15672
15673 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15674 correct length of UTF-8 encoded name. Strip leading `/'.
15675 (_Jv_RegisterResource): Use _Jv_Malloc.
15676
15677 2002-04-23 Adam Megacz <adam@xwt.org>
15678
15679 * win32.cc, include/win32.cc (backtrace): Added this function
15680 because Win32 does not supply it.
15681
15682 2002-04-21 David S. Miller <davem@redhat.com>
15683
15684 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15685 magic instruction reading sequence.
15686
15687 2002-04-21 Mark Wielaard <mark@klomp.org>
15688
15689 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15690
15691 2002-04-19 David S. Miller <davem@redhat.com>
15692
15693 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15694 arg.
15695 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15696 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15697 on Sparc too.
15698 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15699 for 64-bit sparc.
15700 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15701 * sysdeps/sparc/locks.h: New file.
15702 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15703 on all sparc Solaris configurations. Set to
15704 include/dwarf2-signal.h on sparc Linux.
15705 * configure: Regenerate
15706 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15707
15708 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
15709
15710 * configure: Rebuilt.
15711 * configure.in (backtrace): Function doesn't work on IA-64.
15712
15713 2002-04-17 Adam King <aking@dreammechanics.com>
15714
15715 * java/io/File.java (normalizePath): Add Win32 support for auto
15716 conversion of a '/' path separator to Win32's '\' separator.
15717
15718 2002-04-16 Tom Tromey <tromey@redhat.com>
15719
15720 Fix for PR libgcj/6081:
15721 * Makefile.in: Rebuilt.
15722 * Makefile.am (install-data-local): Use GNU make trick to avoid
15723 shell limit.
15724
15725 2002-04-16 Adam King <aking@dreammechanics.com>
15726 Tom Tromey <tromey@redhat.com>
15727
15728 * java/io/natFileWin32.cc (performList): Return the correct array
15729 type. Don't duplicate the creation of a File since it's already
15730 done earlier in the method and the existing code would cause a
15731 ArrayStoreException. Don't use fixed-size array.
15732 (_access, _stat, attr, getCanonicalPath, performMkdir,
15733 performRenameTo): Don't use fixed-size array.
15734 (getCanonicalPath): Use throw, not _Jv_Throw.
15735
15736 2002-04-15 DJ Delorie <dj@redhat.com>
15737
15738 * configure.in: Allow building in $srcdir.
15739 * configure: Regenerated.
15740
15741 2002-04-14 Mark Wielaard <mark@klomp.org>
15742
15743 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15744 * java/net/natSocketImpl.cc (close): Likewise.
15745
15746 2002-04-14 Mark Wielaard <mark@klomp.org>
15747
15748 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15749
15750 2002-04-13 Adam King <aking@dreammechanics.com>
15751
15752 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15753 the f/F/d/D modifiers.
15754
15755 2002-04-12 Anthony Green <green@redhat.com>
15756
15757 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15758 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15759 * Makefile.in: Rebuilt.
15760 * configure.in: Substitute gcc_version.
15761 * configure: Rebuilt.
15762
15763 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15764
15765 * configure.host: Set can_unwind_signal on hosts which support it.
15766 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15767 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15768 exceptions and can_unwind_signal isn't set.
15769 * configure: Rebuilt.
15770
15771 2002-04-11 Tom Tromey <tromey@redhat.com>
15772
15773 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15774
15775 2002-04-11 Adam King <aking@dreammechanics.com>
15776 Tom Tromey <tromey@redhat.com>
15777
15778 * include/jvm.h (_Jv_ThrowBadArrayIndex,
15779 _Jv_ThrowNullPointerException): Mark as noreturn.
15780 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15781 and _Jv_free. Correctly invoke GetTempPath(). Indentation
15782 fixes.
15783
15784 2002-04-10 Tom Tromey <tromey@redhat.com>
15785
15786 * Makefile.in: Rebuilt.
15787 * Makefile.am (java/lang/Thread.h): Mark
15788 _Jv_AttachCurrentThreadAsDaemon as friend.
15789 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15790 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15791 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15792 function.
15793 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15794 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15795 (_Jv_JNI_InvokeFunctions): Added
15796 _Jv_JNI_AttachCurrentThreadAsDaemon.
15797 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15798 (JNI_GetDefaultJavaVMInitArgs): Likewise.
15799 (JNI_CreateJavaVM): Likewise.
15800 (_Jv_JNI_AttachCurrentThread): Likewise.
15801 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15802 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15803 (_Jv_JNIFunctions): Initialize new fields.
15804 (_Jv_JNI_NewDirectByteBuffer): New function.
15805 (_Jv_JNI_GetDirectBufferAddress): Likewise.
15806 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15807 * include/jni.h (JNI_VERSION_1_4): New macro.
15808 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15809 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15810 (JNINativeInterface::NewDirectByteBuffer): New field.
15811 (JNINativeInterface::GetDirectBufferAddress): New field.
15812 (JNINativeInterface::GetDirectBufferCapacity): New field.
15813 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15814 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15815 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15816
15817 2002-04-09 Tom Tromey <tromey@redhat.com>
15818
15819 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15820
15821 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
15822
15823 Fix for PR libgcj/6187:
15824 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15825 distance.
15826
15827 2002-04-07 Mark Wielaard <mark@klomp.org>
15828
15829 * java/util/AbstractMap.java (putAll): Use entrySet size.
15830 (toString): Explicitly use getKey() and getValue().
15831
15832 2002-04-07 Mark Wielaard <mark@klomp.org>
15833
15834 * java/util/Hashtable.java (contains): Remove NullPointer check.
15835 (containsValue): Add NullPointer check.
15836 (remove): Always throw NullPointerException when key
15837 is null.
15838
15839 2002-04-07 Adam King <aking@dreammechanics.com>
15840
15841 * java/lang/natSystem.cc (init_properties): Call new function
15842 _Jv_platform_initProperties.
15843 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15844 support for the System properties os.name, os.arch, os.version,
15845 user.name, user.home, and user.dir.
15846 * include/posix.h, include/win32.h, posix.cc: New function
15847 _Jv_platform_initProperties.
15848
15849 2002-04-06 Mark Wielaard <mark@klomp.org>
15850
15851 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15852
15853 2002-04-06 Mark Wielaard <mark@klomp.org>
15854
15855 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
15856 all of the remaining elements.
15857 * java/util/Vector.java (addAll(int,Collection)): Likewise.
15858 (removeRange): If toIndex == fromIndex do
15859 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15860 (removeAll): Always throw NullPointerException when collection is
15861 null.
15862 (retrainAll): Likewise.
15863
15864 2002-04-05 Mark Wielaard <mark@klomp.org>
15865
15866 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
15867 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
15868
15869 2002-04-05 Adam Megacz <adam@xwt.org>
15870
15871 * exception.cc (abort): added static modifier
15872
15873 2002-04-04 Adam Megacz <adam@xwt.org>
15874
15875 * include/win32.h (_Jv_platform_close_on_exec): added inline
15876 modifier.
15877
15878 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
15879
15880 * configure.host: Add case statement to support generic port
15881 properties. Add *-*-freebsd* section.
15882
15883 2002-04-04 Mark Wielaard <mark@klomp.org>
15884
15885 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
15886 test.
15887 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
15888 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
15889 that depend on awt code and BufferedByteOutputStream.interrupt.
15890
15891 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15892
15893 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
15894 incorrect "hi" value when count > 40.
15895
15896 2002-04-03 Mark Wielaard <mark@klomp.org>
15897
15898 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
15899 ordering.
15900
15901 2002-04-02 Tom Tromey <tromey@redhat.com>
15902
15903 * java/lang/natClassLoader.cc (findClass): Compare against `3',
15904 not `0'.
15905
15906 2002-04-02 Mark Wielaard <mark@klomp.org>
15907
15908 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
15909 list of testsuite crashers.
15910
15911 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15912
15913 * java/util/IdentityHashMap.java (put): Set new threshold correctly
15914 when resizing table.
15915
15916 2002-04-01 Mark Wielaard <mark@klomp.org>
15917
15918 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
15919 NegativeArraySizeException
15920 (clear(int)): Use sign extended shift.
15921 (flip(int)): Likewise.
15922 (get(int)): Likewise.
15923 (nextClearBit(int)): Likewise.
15924 (nextSetBit(int)): Likewise.
15925 (set(int)): Likewise.
15926
15927 2002-04-01 Mark Wielaard <mark@klomp.org>
15928
15929 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
15930 that can be compiled now and add testsuite crashers to ignore list.
15931
15932 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
15933
15934 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
15935
15936 * libgcj.spec.in: Override libgcc, not lib.
15937 * libgcj-test.spec.in: Likewise.
15938
15939 2002-03-29 Tom Tromey <tromey@redhat.com>
15940
15941 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
15942 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
15943
15944 2002-03-27 Jeff Sturm <jsturm@one-point.com>
15945
15946 * java/net/PlainDatagramSocketImpl.java
15947 (close): Use native implementation.
15948 (finalize): New method.
15949
15950 * java/net/PlainSocketImpl.java (finalize): New method.
15951
15952 * java/net/natPlainDatagramSocketImpl.cc
15953 (java/io/FileDescriptor.h): Don't include.
15954 (close): Implement method here.
15955 (create): Don't assign fd.
15956
15957 * java/net/natPlainSocketImpl.cc
15958 (java/io/FileDescriptor.h): Don't include.
15959 (create): Don't assign fd.
15960 (accept): Likewise.
15961 (close): Synchronize.
15962
15963 2002-03-27 Richard Henderson <rth@redhat.com>
15964
15965 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
15966
15967 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15968
15969 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15970 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
15971 instead of syscall on IA-64.
15972 Add FIXME comment.
15973
15974 2002-03-27 Anthony Green <green@redhat.com>
15975
15976 * libgcj.spec.in: Add CHECKREFSPEC.
15977 * configure.in: Ditto.
15978 * configure.host: Ditto. Check references for xscale-elf.
15979 * configure: Rebuilt.
15980
15981 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
15982
15983 * include/dwarf2-signal.h: Temporarily back out last change.
15984
15985 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
15986
15987 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
15988
15989 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
15990
15991 * configure.in, configure: enable dwarf2-exception-style
15992 exception handling on IA-64.
15993 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
15994 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
15995 Add FIXME comment.
15996
15997 2002-03-25 Tom Tromey <tromey@redhat.com>
15998
15999 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16000 (jv_convert_LDFLAGS): Likewise.
16001 (gij_LDFLAGS): Likewise.
16002 (rmic_LDFLAGS): Likewise.
16003 (rmiregistry_LDFLAGS): Likewise.
16004 * configure.in (THREADLDFLAGS): New subst; set correctly for
16005 *BSD.
16006
16007 2002-03-25 Tom Tromey <tromey@redhat.com>
16008
16009 For PR libgcj/5303:
16010 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16011 and --version.
16012 (help): New method.
16013 (version): Likewise.
16014 * gnu/gcj/convert/Convert.java (version): Removed extraneous
16015 "GNU".
16016 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16017 "GNU".
16018
16019 2002-03-25 Tom Tromey <tromey@redhat.com>
16020
16021 * java/awt/Component.java (processEvent): Check ComponentEvent
16022 after KeyEvent.
16023
16024 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16025
16026 * java/io/PushbackReader.java: Reformat.
16027
16028 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16029 calculate correct number of bytes skipped.
16030
16031 Based on patch from Intel's ORP team:
16032 * java/io/PushbackInputStream.java (available): Calculate correct
16033 number of bytes in buffer.
16034 (read): Remove redundant bound check. Return bytes from both the
16035 buffer and the stream.
16036
16037 2002-03-24 Tom Tromey <tromey@redhat.com>
16038
16039 * java/awt/TextComponent.java (TextComponent): Editable by
16040 default.
16041
16042 * java/awt/MenuItem.java (eventMask): No longer private.
16043 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16044 superclass if we didn't handle event.
16045 * java/awt/Checkbox.java (dispatchEventImpl): New method.
16046 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16047 * java/awt/Choice.java (dispatchEventImpl): New method.
16048 * java/awt/List.java (dispatchEventImpl): New method.
16049 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16050 * java/awt/TextComponent.java (dispatchEventImpl): New method.
16051 * java/awt/TextField.java (dispatchEventImpl): New method.
16052
16053 2002-03-24 Eric Blake <ebb9@email.byu.edu>
16054
16055 * java/beans/IntrospectionException.java: Update to 1.4.
16056 * java/beans/PropertyVetoException.java: Ditto.
16057
16058 2002-03-24 Eric Blake <ebb9@email.byu.edu>
16059
16060 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16061 Arrays.equals instead of ArrayHelper.equalsArray.
16062
16063 2002-03-24 C. Brian Jones <cbj@gnu.org>
16064
16065 * java/beans/Introspector.java: added new static final fields
16066 introduced in 1.2, lots of other updates remain to be done
16067
16068 2002-03-24 C. Brian Jones <cbj@gnu.org>
16069
16070 * java/beans/Introspector.java: reformatting
16071
16072 2002-03-24 C. Brian Jones <cbj@gnu.org>
16073
16074 * java/beans/Introspector.java: default beanInfoSearchPath will
16075 not include sun.beans.infos given we provide no such package and
16076 the API doesn't really require it; gnu.java.beans.info is the
16077 default.
16078
16079 2002-03-24 Mark Wielaard <mark@klomp.org>
16080
16081 Thanks to Orp developers
16082 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16083 switch TRUE and FALSE return values.
16084
16085 2002-03-23 Tom Tromey <tromey@redhat.com>
16086
16087 * include/name-finder.h (_Jv_name_finder::myclose): New method.
16088 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16089
16090 2002-03-23 Michael Smith <msmith@spinnakernet.com>
16091
16092 * java/util/GregorianCalendar.java (minimums, maximums): Correct
16093 MONTH entry. Fixes PR libgcj/6045.
16094
16095 2002-03-23 Jeff Sturm <jsturm@one-point.com>
16096
16097 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16098
16099 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16100
16101 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16102 not release_set.
16103 * sysdep/powerpc/locks.h (write_barrier): New function.
16104 * sysdep/i386/locks.h (write_barrier): New function.
16105
16106 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
16107
16108 * include/jni.h Use correct C comments.
16109
16110 2002-03-18 Tom Tromey <tromey@redhat.com>
16111
16112 * include/jni.h (JNIIMPORT): New macro.
16113 (JNIEXPORT): Likewise.
16114 (JNICALL): Likewise.
16115
16116 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16117
16118 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16119 systems.
16120
16121 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
16122
16123 * include/i386-signal.h (old_i386_kernel_sigaction): New.
16124 INIT_SEGV: Use old_i386_kernel_sigaction.
16125 INIT_FP: Likewise.
16126
16127 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16128
16129 * java/lang/natSystem.cc (init_properties): Update VM version
16130 properties.
16131 * configure.in: Set GCJVERSION.
16132 * acconfig.h: Add GCJVERSION.
16133 * configure: Rebuilt.
16134 * include/config.h.in: Rebuilt.
16135
16136 2002-03-17 Anthony Green <green@redhat.com>
16137
16138 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16139
16140 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16141
16142 Build a single libgcj.so, without separate gc and zlib libraries.
16143 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16144 SYS_ZLIBS if system zlib is used.
16145 * configure: Rebuilt.
16146 * Makefile.am: Use boehm-gc and zlib convenience libraries.
16147 * Makefile.in: Rebuilt.
16148 * libtool-version: Increment .so version number.
16149
16150 * Makefile.am: Escape quotes in echo.
16151 * Makefile.in: Rebuilt.
16152
16153 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16154
16155 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16156 * Makefile.in: Rebuilt.
16157
16158 2002-03-15 Anthony Green <green@redhat.com>
16159
16160 * configure.host (FILE): New macro for specifing File
16161 implementation.
16162 * configure: Rebuilt.
16163 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
16164
16165 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
16166
16167 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16168 already implicitly brought in from libgcj.la.
16169 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16170 * Makefile.in: Rebuilt.
16171
16172 2002-03-15 Eric Blake <ebb9@email.byu.edu>
16173
16174 * THANKS: Fix punctuation, alphabetization.
16175
16176 2002-03-15 Tom Tromey <tromey@redhat.com>
16177 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16178
16179 Fix for PR libgcj/5944.
16180 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16181
16182 2002-03-15 Anthony Green <green@redhat.com>
16183
16184 * configure.in (tool_include_dir): Define.
16185 * configure: Rebuilt.
16186 * gcj/Makefile.am: Install libgcj-config.h relative to
16187 tool_include_dir.
16188 * gcj/Makefile: Rebuilt.
16189 * gcj/libgcj-config.h: Add warning comment.
16190
16191 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
16192
16193 * configure.host (powerpc*-darwin*): Enable interpreter.
16194
16195 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16196
16197 * include/posix.h: Add multiple include header protection.
16198 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16199
16200 2002-03-10 Adam Megacz <adam@xwt.org>
16201
16202 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16203
16204 2002-03-10 Tom Tromey <tromey@redhat.com>
16205
16206 * java/awt/GridLayout.java (layoutContainer): Handle case where
16207 there are no items in container.
16208
16209 * java/lang/Win32Process.java: Added comment.
16210 * include/posix.h (_Jv_platform_close_on_exec): New function.
16211 Include fcntl.h.
16212 * include/win32.h (_Jv_platform_close_on_exec): New function.
16213 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16214 flag.
16215 (accept): Likewise.
16216 * java/net/natPlainDatagramSocketImpl.cc (create): Set
16217 close-on-exec flag.
16218 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16219 flag.
16220
16221 2002-03-09 Tom Tromey <tromey@redhat.com>
16222
16223 * verify.cc (state::NO_STACK): New constant.
16224 (state::is_unmerged_ret_state): Handle case where stacktop is
16225 NO_STACK.
16226 (state::merge): Handle NO_STACK merges.
16227 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16228 for instruction following jsr.
16229 (stacktop, stackdepth): Removed unused variables.
16230 (pop_jump): Ignore case where all remaining states are skipped.
16231
16232 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16233
16234 * java/awt/ImageMediaEntry: Removed.
16235 * java/awt/MediaEntry: Removed.
16236
16237 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16238
16239 Hashtable synchronization for PowerPC.
16240 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16241 slow_pthread_self. Set up symlink for sysdeps directory.
16242 * configure: Rebuild.
16243 * configure.host: Document more shell variables. Set sysdeps_dir
16244 for most platforms. Set slow_pthread_self for i686. Set
16245 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16246 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16247 that memory barrier is emitted where required.
16248 * prims.cc: 64-bit align static primitive class instances.
16249 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16250 read_barrier() to enforce ordering of reads.
16251 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16252 primitives for PowerPC.
16253 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16254 moved from natObject.cc.
16255 * sysdep/alpha/locks.h: Likewise.
16256 * sysdep/ia64/locks.h: Likewise.
16257 * sysdep/generic/locks.h: Likewise.
16258 * java/lang/natObject.cc: Move thread synchronization primitives to
16259 system-dependent headers.
16260
16261 2002-03-09 Adam Megacz <adam@xwt.org>
16262
16263 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16264 bytes read and no failure code returned.
16265
16266 2002-03-09 Adam Megacz <adam@xwt.org>
16267
16268 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16269 definitions to simulate -mthreads.
16270
16271 2002-03-09 Adam Megacz <adam@xwt.org>
16272
16273 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16274 avoid precision loss.
16275
16276 2002-03-09 Per Bothner <per@bothner.com>
16277
16278 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
16279 * gnu/gcj/xlib/XImage.java: Likewise.
16280 * gnu/gcj/xlib/XColor.java: Likewise.
16281
16282 2002-03-09 Adam Megacz <adam@xwt.org>
16283
16284 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16285 IOException so that Throwable.printStackTrace fails correctly.
16286
16287 2002-03-08 Adam Megacz <adam@xwt.org>
16288
16289 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16290 fixed.
16291
16292 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16293
16294 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16295 truncated to int.
16296
16297 2002-03-08 Tom Tromey <tromey@redhat.com>
16298
16299 * include/jni.h: Include stdio.h.
16300
16301 2002-03-08 Tom Tromey <tromey@redhat.com>
16302
16303 * posix.cc (internal_gettimeofday): New function.
16304 (_Jv_select): Use it.
16305
16306 2002-03-07 Adam Megacz <adam@xwt.org>
16307
16308 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16309 WIN32, and added thunks for read(), write(), and close().
16310 * java/net/natPlainSocketImpl.cc (accept, read, read):
16311 Disabled timeouts on WIN32 pending discussion.
16312
16313 2002-03-07 Adam Megacz <adam@xwt.org>
16314
16315 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16316 returns jlong. Added implementation
16317 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16318 returns jlong.
16319 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16320 returns jlong.
16321 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16322 returns jlong.
16323 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16324 _Jv_platform_gettimeofday signature.
16325
16326 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16327
16328 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16329 (read): Call recv() directly, not _Jv_recv().
16330
16331 2002-03-06 Tom Tromey <tromey@redhat.com>
16332
16333 * java/io/natFileDescriptorEcos.cc (init): Don't use
16334 GetStdHandle.
16335 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16336 is negative.
16337 (init): Don't use GetStdHandle.
16338
16339 * include/config.h.in: Rebuilt.
16340 * configure: Rebuilt.
16341 * Makefile.in: Rebuilt.
16342
16343 2002-03-06 Adam Megacz <adam@xwt.org>
16344
16345 * java/io/FileDescriptor.java: Initialize in/out/err in init().
16346 * java/io/natFileDescriptorWin32.cc (init()): Added function.
16347 * java/io/natFileDescriptorPosix.cc (init()): Added function.
16348 * java/io/natFileDescriptorEcos.cc (init()): Added function.
16349
16350 2002-03-06 Eric Blake <ebb9@email.byu.edu>
16351
16352 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16353 the code for generating include/java-chartables.h.
16354 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16355 merge with Classpath.
16356 * scripts/unicode-muncher.pl: Copy from Classpath.
16357 * scritps/MakeCharTables.java: New file.
16358 * gnu/gcj/convert/Blocks-3.txt: New file.
16359 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16360 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16361 * gnu/java/lang/CharData.java: Copy from Classpath.
16362 * Makefile.am (ordinary_java_source_files): Add
16363 gnu/java/lang/CharData.java.
16364 * configure.in: Remove --enable-fast-character option.
16365 * java/lang/Character.java: Merge algorithms and Javadoc with
16366 Classpath.
16367 * java/lang/natCharacter.cc: Implement Unicode lookup table more
16368 efficiently.
16369 * include/java-chardecomp.h: Regenerate.
16370 * include/java-chartables.h: Regenerate.
16371
16372 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16373
16374 * java/awt/MediaTracker.java: Implemented.
16375 * Makefile.am: Add MediaTracker.
16376 * Makefile.in: Rebuilt.
16377
16378 2002-03-05 Tom Tromey <tromey@redhat.com>
16379
16380 * java/lang/natPosixProcess.cc (fail): Removed.
16381 (startProcess): Simplified error-handling. Preserve
16382 LD_LIBRARY_PATH across exec.
16383
16384 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16385 AbstractMethodError.
16386
16387 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16388
16389 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16390 * Makefile.in: Rebuilt.
16391
16392 2002-03-03 Mark Wielaard <mark@klomp.org>
16393
16394 * java/util/Timer (TaskQueue.stop): set elements to zero.
16395
16396 2002-02-28 Anthony Green <green@redhat.com>
16397
16398 * java/lang/reflect/natMethod.cc (result): Add void* element.
16399 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
16400 constructor test.
16401
16402 2002-02-27 Adam Megacz <adam@xwt.org>
16403
16404 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16405 '#undef STRICT'.
16406
16407 2002-02-26 Tom Tromey <tromey@redhat.com>
16408
16409 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16410 * gij.cc (version): Use __VERSION__.
16411 * include/config.h.in: Rebuilt.
16412 * acconfig.h (GCJVERSION): Removed.
16413 * configure: Rebuilt.
16414 * configure.in (GCJVERSION): Removed.
16415
16416 2002-02-26 Andreas Schwab <schwab@suse.de>
16417
16418 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16419 glibcpp_CXX, since libjava uses even another CXX.
16420 * aclocal.m4, configure: Regenerated.
16421
16422 2002-02-26 Tom Tromey <tromey@redhat.com>
16423
16424 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16425 `1'.
16426
16427 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16428
16429 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16430 dependency tracking for .java files.
16431 * Makefile.in: Rebuilt.
16432
16433 2002-02-24 Adam Megacz <adam@xwt.org>
16434
16435 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16436 typo. Sorry.
16437
16438 2002-02-24 Adam Megacz <adam@xwt.org>
16439
16440 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16441 for Win32, changed #ifdefs to check WIN32 instead of the
16442 (now-obsolete) USE_WINSOCK, and removed support for socket
16443 timeouts on Win32 pending further discussion.
16444
16445 2002-02-24 Adam Megacz <adam@xwt.org>
16446
16447 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16448 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16449 delete
16450
16451 2002-02-24 Adam Megacz <adam@xwt.org>
16452
16453 * java/lang/Win32Process.java: Created a dummy class to allow
16454 build process to run to completion.
16455
16456 2002-02-24 Jeff Sturm <jsturm@one-point.com>
16457
16458 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16459 Define ffi_result union for ffi_call result. Cast
16460 ffi_result members to jvalue.
16461
16462 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
16463
16464 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16465 * testsuite/Makefile.in: Likewise.
16466
16467 2002-02-20 Per Bothner <per@bothner.com>
16468
16469 * java/net/URL.java (getPath): New JDK 1.3 method.
16470
16471 * java/net/URLStreamHandler.java (parseURL):
16472 It is wrong to prepend '/' to the file part of a relative url.
16473
16474 * java/net/URLStreamHandler.java (parseURL):
16475 Minor optizations - append '/' rather than "/".
16476
16477 * java/net/URLStreamHandler.java (parseURL):
16478 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16479 We probably should canonicalize for a context-relative url, though.
16480 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
16481 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
16482 (sameFile): New method. Uses canonicalizeFilename.
16483
16484 2002-02-22 Tom Tromey <tromey@redhat.com>
16485
16486 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16487 java.vendor and java.vm.vendor.
16488 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16489 recent copyright date.
16490 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16491 * gij.cc (version): Print `Inc'.
16492
16493 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
16494
16495 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16496 * aclocal.m4, configure: Rebuilt.
16497
16498 2002-02-20 Per Bothner <per@bothner.com>
16499
16500 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
16501 and/or output streams immediately here, instead of using File.exists.
16502 (inputStream, outputStream): New fields to save open streams.
16503 (getInputStream, getOutputStream): Use already-opened streams.
16504
16505 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
16506
16507 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16508 Use it.
16509 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16510 * aclocal.m4, configure, Makefile.in: Rebuilt.
16511
16512 2002-02-19 Tom Tromey <tromey@redhat.com>
16513
16514 Fix for PR libgcj/5696:
16515 * verify.cc (is_assignable_from_slow): Never call
16516 _Jv_IsAssignableFrom.
16517 (verify_instructions_0): Added new debug statement.
16518 (state::print): Print information about whether local has
16519 changed.
16520 (state::merge): Don't call note_variable when merging locals.
16521 (state::set_exception): Removed old FIXME comment.
16522
16523 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16524
16525 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16526 enable SO_BROADCAST.
16527
16528 2002-02-18 Jason Merrill <jason@redhat.com>
16529
16530 * name-finder.cc (toHex): Use word mode, not long long.
16531
16532 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16533
16534 2002-02-15 Tom Tromey <tromey@redhat.com>
16535
16536 Fix for PR libgcj/5695:
16537 * verify.cc (is_assignable_from_slow): Check to see if target is
16538 an Object before checking to see if source is an interface.
16539 (verify_instructions_0) [op_invokeinterface]: Handle case where
16540 we're making an interface call on Object.
16541
16542 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16543
16544 * Makefile.in: Rebuilt with Eric's change below.
16545
16546 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16547 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16548 Removed functions which are now implemented in Math.java.
16549
16550 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16551
16552 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16553 * Makefile.am (core_java_source_files): Add
16554 java/lang/StrictMath.java.
16555 * java/lang/Math.java: Merge with Classpath.
16556 * java/lang/StrictMath.java: New file - merge with Classpath.
16557
16558 2002-02-14 Mark Wielaard <mark@klomp.org>
16559
16560 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16561 package as a workaround for gcj 3.0.x
16562
16563 2002-02-14 Mark Wielaard <mark@klomp.org>
16564
16565 * java/security/BasicPermission.java: extends with fully qualified
16566 classname as workaround for gcj 3.0.4.
16567
16568 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16569
16570 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16571 around gcj bug of wrong emitted qualifier for inherited method.
16572 * java/net/SocketImpl.java (setOption, getOption): Ditto.
16573 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16574 constructor to reduce amount of emitted bytecode. While this
16575 happens to work around a jikes 1.15 bug, it is still a useful
16576 patch even for correct compilers.
16577 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16578 * gnu/java/rmi/server/UnicastRemoteCall.java
16579 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16580
16581 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16582
16583 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16584 * java/net/SocketImpl.java: Ditto.
16585 * java/rmi/server/RMIClassLoader.java: Ditto.
16586 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16587
16588 2002-02-14 Mark Wielaard <mark@klomp.org>
16589
16590 Thanks to Takashi Okamoto
16591 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16592 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16593 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16594
16595 2002-02-13 Todd Stock <toddastock@yahoo.com>
16596
16597 Fix for PR libgcj/5670:
16598 * verify.cc (is_assignable_from_slow): If `source' is interface,
16599 recursively look for merge with `target'.
16600
16601 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
16602
16603 * include/jni.h: Fix typo.
16604
16605 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
16606
16607 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16608 correctly.
16609
16610 2002-02-13 Todd Stock <toddastock@yahoo.com>
16611
16612 Fix for PR libgcj/5671:
16613 * verify.cc (state::merge): Handle case where we're merging
16614 against an interface.
16615
16616 2002-02-12 Tom Tromey <tromey@redhat.com>
16617
16618 * exception.cc (std::abort): Mark as noreturn.
16619
16620 2002-02-12 Adam Megacz <adam@xwt.org>
16621
16622 * java/lang/Win32Process.java: Filled in a placeholder
16623 implementation so Win32 will build.
16624
16625 2002-02-12 Adam Megacz <adam@xwt.org>
16626
16627 * java/io/natFilePosix.cc: Copied this from natFile.cc.
16628 * java/io/natFile.cc: Removed from repository.
16629 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16630
16631 2002-02-12 Adam Megacz <adam@xwt.org>
16632
16633 * win32.cc: Added two #includes to make win32.cc compile.
16634
16635 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16636
16637 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16638 declarations.
16639 (_Jv_InitGC): Don't bother locking, as this is always called from a
16640 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16641
16642 2002-02-11 Adam Megacz <adam@xwt.org>
16643
16644 * include/win32.h: Added _Jv_platform_gettimeofday.
16645 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16646
16647 2002-02-11 Adam Megacz <adam@xwt.org>
16648
16649 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16650 Added #undef STRICT to make windows.h and
16651 java/lang/reflect/Modifier.h cooperate.
16652
16653 2002-02-11 Adam Megacz <adam@xwt.org>
16654
16655 * java/io/natFileWin32.cc: Created a placeholder class with lots
16656 of FIXMEs.
16657
16658 2002-02-11 Adam Megacz <adam@xwt.org>
16659
16660 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16661 std::abort() to simply abort(). Also added "fake" std::abort() so
16662 we can #include unwind-pe.h without having to link against
16663 libstdc++-v3.
16664
16665 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
16666
16667 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16668
16669 2002-02-08 Tom Tromey <tromey@redhat.com>
16670
16671 * interpret.cc (convert): New function.
16672 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16673 convert.
16674 Include Long.h.
16675
16676 2002-02-08 Anthony Green <green@redhat.com>
16677
16678 * configure.host: Add support for xscale-elf embedded target.
16679
16680 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
16681
16682 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16683 dereferenced.
16684 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16685 frame.
16686
16687 2002-02-07 Tom Tromey <tromey@redhat.com>
16688
16689 * java/io/natFile.cc (_access): Use __builtin_alloca.
16690 (_stat): Likewise.
16691 (attr): Likewise.
16692 (getCanonicalPath): Likewise.
16693 (performList): Likewise.
16694 (performMkdir): Likewise.
16695 (performSetReadOnly): Likewise.
16696 (performRenameTo): Likewise.
16697 (performSetLastModified): Likewise.
16698 (performCreate): Likewise.
16699 (performDelete): Likewise.
16700
16701 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16702
16703 * HACKING: Fix URL for the automake-gcj.
16704
16705 2002-02-07 Tom Tromey <tromey@redhat.com>
16706
16707 * java/lang/natThrowable.cc: Updated copyright.
16708 * java/io/natFileWin32.cc: Updated copyright.
16709 * java/io/natFileDescriptorWin32.cc: Updated copyright.
16710 * win32-threads.cc: Updated copyright.
16711 * name-finder.cc: Updated copyright.
16712 * include/name-finder.h: Updated copyright.
16713
16714 * include/name-finder.h: Conditionally include sys/wait.h.
16715 * include/config.h.in: Rebuilt.
16716
16717 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16718 Size buffer based on real size of string.
16719 (_stat): Likewise.
16720 (attr): Likewise.
16721 (getCanonicalPath): Likewise.
16722 (performList): Likewise.
16723 (performMkdir): Likewise.
16724 (performSetReadOnly): Likewise.
16725 (unixroot): Removed.
16726 (performRenameTo): Likewise.
16727 (performSetLastModified): Likewise.
16728 (performCreate): Likewise.
16729 (performDelete): Likewise.
16730 (performListRoots): Always return new array.
16731
16732 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16733 * win32.cc (win32_exception_handler): Now static.
16734 * include/win32.h (_Jv_platform_initialize): Declare.
16735 (win32_exception_handler): Don't declare.
16736 * java/lang/natSystem.cc (currentTimeMillis): Use
16737 _Jv_platform_gettimeofday.
16738 * posix.cc (_Jv_platform_gettimeofday): Renamed.
16739 (_Jv_select): Use new name.
16740 (_Jv_platform_initialize): New function.
16741 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16742 _Jv_gettimeofday.
16743 (_Jv_platform_initialize): Declare.
16744
16745 * configure: Rebuilt.
16746 * configure.in: Removed unnecessary parens.
16747
16748 2002-02-06 Adam Megacz <adam@xwt.org>
16749
16750 * configure.in: Changed mingw) to *mingw*).
16751 * win32.cc: Created this file.
16752 * win32.h: Created this file.
16753 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16754 win32_exception_handler from prims.cc to win32.cc, added
16755 header in win32.h.
16756 * prims.cc: removed some #ifdef-WIN32'd headers which are no
16757 longer needed now that we have platform.h
16758
16759 2002-02-06 Adam Megacz <adam@xwt.org>
16760
16761 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16762 use uint<n>_t instead of LONG and BYTE
16763
16764 2002-02-06 Adam Megacz <adam@xwt.org>
16765
16766 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16767
16768 2002-02-06 Anthony Green <green@redhat.com>
16769
16770 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16771 Implement missing method stubs.
16772 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16773 targets.
16774 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16775 concept of timezones.
16776 (init_properties): Don't refer to _Jv_Environment_Properties
16777 when this feature is not available.
16778 * include/config.h.in: Rebuilt.
16779 * acconfig.h: Add DISABLE_MAIN_ARGS.
16780 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16781 * configure: Rebuilt.
16782 * configure.in: Add --disable-main-args option. Test for
16783 opendir function. Replace AC_CHECK_SIZEOF with
16784 AC_COMPILE_CHECK_SIZEOF.
16785 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16786 * aclocal.m4: Rebuilt.
16787 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16788
16789 2002-02-06 Tom Tromey <tromey@redhat.com>
16790
16791 * verify.cc (require_array_type): If argument is a null array of
16792 references, return null as the element type.
16793
16794 2002-02-06 Mark Wielaard <mark@klomp.org>
16795
16796 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16797 duplicate of a wide type.
16798
16799 2002-02-06 Tom Tromey <tromey@redhat.com>
16800
16801 * verify.cc (type::isnull): New method.
16802 (require_array_type): Handle case where array is null.
16803 (verify_instructions_0) [op_arraylength]: Likewise.
16804
16805 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16806
16807 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16808 Symlink PLATFORMH to platform.h.
16809 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16810 PLATFORMOBJS.
16811 * java/lang/natSystem.cc: #include platform.h not posix.h.
16812 * Makefile.in: Rebuilt with libgcj automake.
16813 * configure: Rebuilt.
16814
16815 2002-02-05 Richard Henderson <rth@redhat.com>
16816
16817 * Makefile.in: Undo munging last change.
16818
16819 2002-02-04 Adam Megacz <adam@xwt.org>
16820
16821 * win32.cc: Created it.
16822 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16823 which is set to posix.cc or win32.cc.
16824 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16825
16826 2002-02-04 Adam Megacz <adam@xwt.org>
16827
16828 * configure.in: Corrected mingw case branches; added * before
16829 and after.
16830
16831 2002-02-04 Adam Megacz <adam@xwt.org>
16832
16833 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16834 if compiling for win32
16835
16836 2002-02-04 Adam Megacz <adam@xwt.org>
16837
16838 * win32-threads.cc: #undef STRICT after gc.h inclusion
16839
16840 2002-02-02 Tom Tromey <tromey@redhat.com>
16841
16842 * Makefile.in: Rebuilt.
16843
16844 2002-02-02 Jason Merrill <jason@redhat.com>
16845
16846 * Makefile.am (clean-nat): New target.
16847
16848 2002-02-02 Tom Tromey <tromey@redhat.com>
16849
16850 * java/io/natFile.cc: Removed old "FIXME" comments.
16851
16852 2002-02-01 Tom Tromey <tromey@redhat.com>
16853
16854 * java/lang/natPosixProcess.cc (myclose): New function.
16855 (fail): Use it.
16856 (startProcess): Likewise.
16857
16858 2002-02-01 Adam Megacz <adam@xwt.org>
16859
16860 * prims.cc: Added #undef STRICT after #include<windows.h>.
16861
16862 2002-02-01 Adam Megacz <adam@xwt.org>
16863
16864 * prims.cc
16865 (_Jv_CreateJavaVM): We now use WIN32 instead of
16866 USE_WIN32_SIGNALLING and USE_WINSOCK.
16867 (win32_exception_handler): Now throws an exception out of
16868 the signal handler; assumes SJLJ.
16869
16870 2002-02-01 Adam Megacz <adam@xwt.org>
16871
16872 * win32-threads.cc:
16873 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
16874 wait() algorithm to make it safe.
16875 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
16876 Added lazy creation of Win32 Events for better performance
16877 (really_start): This now uses GC_CreateThread so boehm-gc
16878 knows about new threads even when statically linked.
16879
16880 2002-02-01 Adam Megacz <adam@xwt.org>
16881
16882 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
16883 enable safer wait() algorithm.
16884 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
16885 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
16886 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
16887 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
16888 instead of mutex.
16889 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
16890
16891 2002-02-01 Adam Megacz <adam@xwt.org>
16892
16893 * configure.in: Added support for mingw.
16894 * java/lang/Win32Process.java: Created as empty file.
16895 * java/lang/natWin32Process.cc: Created as empty file.
16896
16897 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
16898
16899 PR java/4972
16900 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
16901 for libiconv in LIBICONV variable.
16902 * configure: Regenerated.
16903
16904 2002-01-31 Tom Tromey <tromey@redhat.com>
16905
16906 * verify.cc (state::enter_subroutine): New method.
16907 (handle_jsr_insn): Use it.
16908 (state::merge): When processing a `ret', correctly use
16909 subroutine's state to determine which local variables have
16910 changed.
16911 (push_exception_jump): Don't let stack overflow.
16912
16913 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
16914
16915 * gnu/gcj/convert/Convert.java: Only include one copyright year in
16916 --version output.
16917
16918 2002-01-30 Tom Tromey <tromey@redhat.com>
16919
16920 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
16921 parameter for `recv' return type.
16922
16923 * verify.cc (handle_ret_insn): Check for subroutine merge here...
16924 (state::merge): ... not here.
16925 (subr_entry_info): New structure.
16926 (entry_points): New field.
16927 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
16928 entry_points.
16929
16930 2002-01-29 Tom Tromey <tromey@redhat.com>
16931
16932 * java/awt/List.java (addNotify): Correctly check to see if peer
16933 does not exist.
16934
16935 * java/awt/GridLayout.java (layoutContainer): Use number of rows
16936 to compute height of each cell, and number of columns to compute
16937 width of each cell.
16938 * java/awt/Window.java (getOwnedWindows): Don't return null.
16939 * java/awt/FlowLayout.java (layoutContainer): Set width and height
16940 of component. Increment x using horizontal gap, not vertical
16941 gap.
16942
16943 2002-01-28 Tom Tromey <tromey@redhat.com>
16944
16945 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
16946 `nargs' byte is number of words, not number of arguments.
16947
16948 2002-01-27 Tom Tromey <tromey@redhat.com>
16949
16950 * java/awt/event/MouseEvent.java (modifiers): Removed field.
16951 (when): Likewise.
16952 * java/awt/event/InputEvent.java (modifiers, when): Now
16953 package-private.
16954
16955 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
16956 and to-do list.
16957 (state::merge): Use current class' class loader.
16958 (state::print): Print subroutine.
16959 (state::merge): Don't look at subroutine of unmerged `ret'.
16960
16961 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
16962
16963 * nogc.cc: Remove warnings.
16964 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
16965 New functions.
16966
16967 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16968
16969 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
16970 int, int): Remove empty "if" statement to work around compiler bug.
16971 (newPixels(int[], ColorModel, int, int): Likewise.
16972
16973 2002-01-25 Per Bothner <per@bothner.com>
16974
16975 * verify.cc (verify_fail): Change from being a top-level function
16976 to e method of _Jv_BytecodeVerifier. Emit current method name.
16977 Pass the current verifier to type: and state: methods as needed,
16978 for better error messages, and for resolve.
16979 (resolve): Pass current class's loader for Class.forName and
16980 _Jv_FindClassFromSignature, rather than using the default loader.
16981 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
16982 (get_type_val_for_signature): Make non-static.
16983 (various methods): Pass start_PC implicitly, not explicitly.
16984
16985 2002-01-25 Tom Tromey <tromey@redhat.com>
16986
16987 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
16988 loop termination condition.
16989 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
16990 width.
16991
16992 2002-01-24 Tom Tromey <tromey@redhat.com>
16993
16994 * java/awt/Shape.java: Merged with Classpath.
16995 * java/awt/Scrollbar.java: Merged with Classpath.
16996
16997 * java/awt/Container.java (addNotify): Unconditionally call
16998 addNotifyContainerChildren and superclass addNotify.
16999
17000 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17001 getAlpha, not getBlue.
17002
17003 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17004
17005 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17006
17007 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17008 (grabPixels(long)): Wait to be notified that the ImageProducer has
17009 completed.
17010
17011 2002-01-24 Per Bothner <per@bothner.com>
17012
17013 * verify.cc (is_assignable_from_slow): If target is an interface,
17014 we must still check the source's superclass before giving up.
17015
17016 2002-01-24 Tom Tromey <tromey@redhat.com>
17017
17018 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17019
17020 2002-01-23 Tom Tromey <tromey@redhat.com>
17021
17022 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17023 `else'.
17024
17025 * Makefile.in: Rebuilt.
17026 * Makefile.am (awt_java_source_files): Added new files.
17027 * java/awt/Toolkit.java: Merged with Classpath.
17028 * java/awt/PrintGraphics.java: New file from Classpath.
17029 * java/awt/PrintJob.java: New file from Classpath.
17030 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17031 * java/awt/datatransfer/ClipboardOwner.java: New file from
17032 Classpath.
17033 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17034 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17035 * java/awt/datatransfer/MimeTypeParseException.java: New file from
17036 Classpath.
17037 * java/awt/datatransfer/StringSelection.java: New file from
17038 Classpath.
17039 * java/awt/datatransfer/SystemFlavorMap.java: New file from
17040 Classpath.
17041 * java/awt/datatransfer/Transferable.java: New file from
17042 Classpath.
17043 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17044 from Classpath.
17045
17046 * Makefile.in: Rebuilt.
17047 * Makefile.am (awt_java_source_files): Added new files.
17048 * java/awt/image/AreaAveragingScaleFilter.java: New file from
17049 Classpath.
17050 * java/awt/image/CropImageFilter.java: New file from Classpath.
17051 * java/awt/image/FilteredImageSource.java: New file from
17052 Classpath.
17053 * java/awt/image/ImageFilter.java: New file from Classpath.
17054 * java/awt/image/MemoryImageSource.java: New file from Classpath.
17055 * java/awt/image/PixelGrabber.java: New file from Classpath.
17056 * java/awt/image/RGBImageFilter.java: New file from Classpath.
17057 * java/awt/image/ReplicateScaleFilter.java: New file from
17058 Classpath.
17059 * java/awt/image/ImageProducer.java: Replaced with Classpath
17060 version.
17061 * java/awt/image/ImageObserver.java: Replaced with Classpath
17062 version.
17063 * java/awt/image/ImageConsumer.java: Replaced with Classpath
17064 version.
17065 * java/awt/GridBagConstraints.java (clone): Catch
17066 CloneNotSupportedException.
17067
17068 2002-01-23 Per Bothner <per@bothner.com>
17069
17070 * java/lang/reflect/natField.cc (setAddr): New function.
17071 Calls getAddr and then checks that the field isn't final.
17072 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17073 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
17074 (set): Call setAddr before check that new value has right type,
17075 to better match specified semantics.
17076
17077 2002-01-22 Tom Tromey <tromey@redhat.com>
17078
17079 * java/awt/TextField.java: Replaced with Classpath version.
17080 * java/awt/TextArea.java: Replaced with Classpath version.
17081 * java/awt/TextComponent.java: Replaced with Classpath version.
17082
17083 * java/awt/GridBagConstraints.java: Updated copyright.
17084
17085 2002-01-22 Mark Wielaard <mark@klomp.org>
17086
17087 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17088 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17089 java/awt/Dialog.java java/awt/FileDialog.java
17090 java/awt/Font.java java/awt/FontMetrics.java
17091 java/awt/Image.java java/awt/ImageMediaEntry.java
17092 java/awt/Insets.java java/awt/List.java
17093 java/awt/MediaEntry.java java/awt/MediaTracker.java
17094 java/awt/Menu.java java/awt/MenuBar.java
17095 java/awt/MenuContainer.java java/awt/MenuShortcut.java
17096 java/awt/PaintContext.java java/awt/Panel.java
17097 java/awt/PopupMenu.java java/awt/SystemColor.java
17098 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17099 java/awt/peer/CheckboxMenuItemPeer.java
17100 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17101 java/awt/peer/ComponentPeer.java
17102 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17103 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17104 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17105 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17106 java/awt/peer/MenuBarPeer.java
17107 java/awt/peer/MenuComponentPeer.java
17108 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17109 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17110 java/awt/peer/ScrollPanePeer.java
17111 java/awt/peer/ScrollbarPeer.java
17112 java/awt/peer/TextAreaPeer.java
17113 java/awt/peer/TextComponentPeer.java
17114 java/awt/peer/TextFieldPeer.java
17115 java/awt/peer/WindowPeer.java: Add license clarification.
17116
17117 2002-01-22 Mark Wielaard <mark@klomp.org>
17118
17119 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17120 gnu/gcj/runtime/StringBuffer.java
17121 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17122 gnu/java/awt/ComponentDataBlitOp.java
17123 gnu/java/awt/GLightweightPeer.java
17124 gnu/java/beans/BeanInfoEmbryo.java
17125 gnu/java/beans/EmptyBeanInfo.java
17126 gnu/java/beans/ExplicitBeanInfo.java
17127 gnu/java/beans/IntrospectionIncubator.java
17128 gnu/java/beans/editors/ColorEditor.java
17129 gnu/java/beans/editors/FontEditor.java
17130 gnu/java/beans/editors/NativeBooleanEditor.java
17131 gnu/java/beans/editors/NativeByteEditor.java
17132 gnu/java/beans/editors/NativeDoubleEditor.java
17133 gnu/java/beans/editors/NativeFloatEditor.java
17134 gnu/java/beans/editors/NativeIntEditor.java
17135 gnu/java/beans/editors/NativeLongEditor.java
17136 gnu/java/beans/editors/NativeShortEditor.java
17137 gnu/java/beans/editors/StringEditor.java
17138 gnu/java/beans/info/ComponentBeanInfo.java
17139 gnu/java/io/ClassLoaderObjectInputStream.java
17140 gnu/java/io/NullOutputStream.java
17141 gnu/java/io/ObjectIdentityWrapper.java
17142 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17143 gnu/java/lang/reflect/TypeSignature.java
17144 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17145 gnu/java/locale/Calendar_en.java
17146 gnu/java/locale/Calendar_nl.java
17147 gnu/java/locale/LocaleInformation.java
17148 gnu/java/locale/LocaleInformation_de.java
17149 gnu/java/locale/LocaleInformation_en.java
17150 gnu/java/locale/LocaleInformation_nl.java
17151 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17152 gnu/java/rmi/registry/RegistryImpl.java
17153 gnu/java/rmi/rmic/Compile_gcj.java
17154 gnu/java/rmi/rmic/Compiler.java
17155 gnu/java/rmi/rmic/CompilerProcess.java
17156 gnu/java/rmi/rmic/RMIC.java
17157 gnu/java/rmi/rmic/TabbedWriter.java
17158 gnu/java/rmi/server/ProtocolConstants.java
17159 gnu/java/rmi/server/RMIDefaultSocketFactory.java
17160 gnu/java/rmi/server/RMIHashes.java
17161 gnu/java/rmi/server/RMIObjectInputStream.java
17162 gnu/java/rmi/server/RMIObjectOutputStream.java
17163 gnu/java/rmi/server/UnicastConnection.java
17164 gnu/java/rmi/server/UnicastConnectionManager.java
17165 gnu/java/rmi/server/UnicastRef.java
17166 gnu/java/rmi/server/UnicastRemoteCall.java
17167 gnu/java/rmi/server/UnicastRemoteStub.java
17168 gnu/java/rmi/server/UnicastServer.java
17169 gnu/java/rmi/server/UnicastServerRef.java
17170 gnu/java/security/provider/DefaultPolicy.java
17171 gnu/java/security/provider/Gnu.java
17172 gnu/java/security/provider/SHA.java
17173 gnu/java/security/provider/SHA1PRNG.java
17174 gnu/java/text/BaseBreakIterator.java
17175 gnu/java/text/CharacterBreakIterator.java
17176 gnu/java/text/LineBreakIterator.java
17177 gnu/java/text/SentenceBreakIterator.java
17178 gnu/java/text/WordBreakIterator.java
17179 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17180 java/applet/AppletContext.java java/applet/AppletStub.java
17181 java/applet/AudioClip.java java/awt/AWTError.java
17182 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17183 java/awt/AWTException.java java/awt/AWTPermission.java
17184 java/awt/ActiveEvent.java java/awt/BorderLayout.java
17185 java/awt/Button.java java/awt/Canvas.java
17186 java/awt/CardLayout.java java/awt/Checkbox.java
17187 java/awt/CheckboxGroup.java java/awt/Component.java
17188 java/awt/ComponentOrientation.java java/awt/Container.java
17189 java/awt/Dimension.java java/awt/Event.java
17190 java/awt/EventDispatchThread.java java/awt/EventQueue.java
17191 java/awt/FlowLayout.java java/awt/Frame.java
17192 java/awt/Graphics.java java/awt/Graphics2D.java
17193 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17194 java/awt/IllegalComponentStateException.java
17195 java/awt/ItemSelectable.java java/awt/Label.java
17196 java/awt/LayoutManager.java java/awt/LayoutManager2.java
17197 java/awt/MenuComponent.java java/awt/MenuItem.java
17198 java/awt/Paint.java java/awt/Point.java
17199 java/awt/Rectangle.java java/awt/RenderingHints.java
17200 java/awt/Transparency.java java/awt/Window.java
17201 java/awt/color/ColorSpace.java
17202 java/awt/color/ICC_ColorSpace.java
17203 java/awt/color/ICC_Profile.java
17204 java/awt/event/HierarchyBoundsAdapter.java
17205 java/awt/event/HierarchyBoundsListener.java
17206 java/awt/event/HierarchyEvent.java
17207 java/awt/event/HierarchyListener.java
17208 java/awt/geom/AffineTransform.java
17209 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17210 java/awt/geom/IllegalPathStateException.java
17211 java/awt/geom/Line2D.java
17212 java/awt/geom/NoninvertibleTransformException.java
17213 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17214 java/awt/geom/Rectangle2D.java
17215 java/awt/geom/RectangularShape.java
17216 java/awt/geom/RoundRectangle2D.java
17217 java/awt/image/BufferedImage.java
17218 java/awt/image/ColorModel.java
17219 java/awt/image/ComponentColorModel.java
17220 java/awt/image/ComponentSampleModel.java
17221 java/awt/image/DataBuffer.java
17222 java/awt/image/DataBufferByte.java
17223 java/awt/image/DataBufferInt.java
17224 java/awt/image/DataBufferUShort.java
17225 java/awt/image/DirectColorModel.java
17226 java/awt/image/PackedColorModel.java
17227 java/awt/image/Raster.java java/awt/image/RasterOp.java
17228 java/awt/image/SampleModel.java
17229 java/awt/image/SinglePixelPackedSampleModel.java
17230 java/awt/image/WritableRaster.java
17231 java/beans/AppletInitializer.java
17232 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17233 java/beans/Beans.java java/beans/Customizer.java
17234 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17235 java/beans/FeatureDescriptor.java
17236 java/beans/IndexedPropertyDescriptor.java
17237 java/beans/IntrospectionException.java
17238 java/beans/Introspector.java java/beans/MethodDescriptor.java
17239 java/beans/ParameterDescriptor.java
17240 java/beans/PropertyChangeEvent.java
17241 java/beans/PropertyChangeListener.java
17242 java/beans/PropertyChangeSupport.java
17243 java/beans/PropertyDescriptor.java
17244 java/beans/PropertyEditor.java
17245 java/beans/PropertyEditorManager.java
17246 java/beans/PropertyEditorSupport.java
17247 java/beans/PropertyVetoException.java
17248 java/beans/SimpleBeanInfo.java
17249 java/beans/VetoableChangeListener.java
17250 java/beans/VetoableChangeSupport.java
17251 java/beans/Visibility.java
17252 java/beans/beancontext/BeanContext.java
17253 java/beans/beancontext/BeanContextChild.java
17254 java/beans/beancontext/BeanContextChildComponentProxy.java
17255 java/beans/beancontext/BeanContextChildSupport.java
17256 java/beans/beancontext/BeanContextContainerProxy.java
17257 java/beans/beancontext/BeanContextEvent.java
17258 java/beans/beancontext/BeanContextMembershipEvent.java
17259 java/beans/beancontext/BeanContextMembershipListener.java
17260 java/beans/beancontext/BeanContextProxy.java
17261 java/beans/beancontext/BeanContextServiceAvailableEvent.java
17262 java/beans/beancontext/BeanContextServiceProvider.java
17263 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17264 java/beans/beancontext/BeanContextServiceRevokedEvent.java
17265 java/beans/beancontext/BeanContextServiceRevokedListener.java
17266 java/beans/beancontext/BeanContextServices.java
17267 java/beans/beancontext/BeanContextServicesListener.java
17268 java/io/BufferedInputStream.java
17269 java/io/BufferedOutputStream.java java/io/BufferedReader.java
17270 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17271 java/io/ByteArrayOutputStream.java
17272 java/io/CharArrayReader.java java/io/CharArrayWriter.java
17273 java/io/CharConversionException.java java/io/DataInput.java
17274 java/io/DataInputStream.java java/io/DataOutput.java
17275 java/io/EOFException.java java/io/Externalizable.java
17276 java/io/FileFilter.java java/io/FileNotFoundException.java
17277 java/io/FilePermission.java java/io/FileReader.java
17278 java/io/FileWriter.java java/io/FilenameFilter.java
17279 java/io/FilterInputStream.java java/io/FilterOutputStream.java
17280 java/io/FilterReader.java java/io/FilterWriter.java
17281 java/io/IOException.java java/io/InputStream.java
17282 java/io/InterruptedIOException.java
17283 java/io/InvalidClassException.java
17284 java/io/InvalidObjectException.java
17285 java/io/NotActiveException.java
17286 java/io/NotSerializableException.java java/io/ObjectInput.java
17287 java/io/ObjectInputStream.java
17288 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17289 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17290 java/io/ObjectStreamConstants.java
17291 java/io/ObjectStreamException.java
17292 java/io/ObjectStreamField.java
17293 java/io/OptionalDataException.java java/io/OutputStream.java
17294 java/io/PipedInputStream.java java/io/PipedOutputStream.java
17295 java/io/PipedReader.java java/io/PipedWriter.java
17296 java/io/PrintWriter.java java/io/PushbackInputStream.java
17297 java/io/PushbackReader.java java/io/Reader.java
17298 java/io/SequenceInputStream.java java/io/Serializable.java
17299 java/io/SerializablePermission.java
17300 java/io/StreamCorruptedException.java
17301 java/io/StreamTokenizer.java
17302 java/io/StringBufferInputStream.java java/io/StringReader.java
17303 java/io/StringWriter.java java/io/SyncFailedException.java
17304 java/io/UTFDataFormatException.java
17305 java/io/UnsupportedEncodingException.java
17306 java/io/WriteAbortedException.java java/io/Writer.java
17307 java/lang/AbstractMethodError.java
17308 java/lang/ArithmeticException.java
17309 java/lang/ArrayIndexOutOfBoundsException.java
17310 java/lang/ArrayStoreException.java java/lang/Boolean.java
17311 java/lang/Byte.java java/lang/CharSequence.java
17312 java/lang/ClassCastException.java
17313 java/lang/ClassCircularityError.java
17314 java/lang/ClassFormatError.java
17315 java/lang/ClassNotFoundException.java
17316 java/lang/CloneNotSupportedException.java
17317 java/lang/Cloneable.java java/lang/Comparable.java
17318 java/lang/Compiler.java java/lang/Double.java
17319 java/lang/Error.java java/lang/Exception.java
17320 java/lang/ExceptionInInitializerError.java
17321 java/lang/Float.java java/lang/IllegalAccessError.java
17322 java/lang/IllegalAccessException.java
17323 java/lang/IllegalArgumentException.java
17324 java/lang/IllegalMonitorStateException.java
17325 java/lang/IllegalStateException.java
17326 java/lang/IllegalThreadStateException.java
17327 java/lang/IncompatibleClassChangeError.java
17328 java/lang/IndexOutOfBoundsException.java
17329 java/lang/InheritableThreadLocal.java
17330 java/lang/InstantiationError.java
17331 java/lang/InstantiationException.java java/lang/Integer.java
17332 java/lang/InternalError.java
17333 java/lang/InterruptedException.java
17334 java/lang/LinkageError.java java/lang/Long.java
17335 java/lang/NegativeArraySizeException.java
17336 java/lang/NoClassDefFoundError.java
17337 java/lang/NoSuchFieldError.java
17338 java/lang/NoSuchFieldException.java
17339 java/lang/NoSuchMethodError.java
17340 java/lang/NoSuchMethodException.java
17341 java/lang/NullPointerException.java java/lang/Number.java
17342 java/lang/NumberFormatException.java
17343 java/lang/OutOfMemoryError.java java/lang/Package.java
17344 java/lang/Process.java java/lang/Runnable.java
17345 java/lang/RuntimeException.java
17346 java/lang/RuntimePermission.java
17347 java/lang/SecurityException.java
17348 java/lang/SecurityManager.java java/lang/Short.java
17349 java/lang/StackOverflowError.java java/lang/StringBuffer.java
17350 java/lang/StringIndexOutOfBoundsException.java
17351 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17352 java/lang/ThreadLocal.java java/lang/UnknownError.java
17353 java/lang/UnsatisfiedLinkError.java
17354 java/lang/UnsupportedClassVersionError.java
17355 java/lang/UnsupportedOperationException.java
17356 java/lang/VerifyError.java java/lang/VirtualMachineError.java
17357 java/lang/Void.java java/lang/ref/PhantomReference.java
17358 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17359 java/lang/ref/SoftReference.java
17360 java/lang/ref/WeakReference.java
17361 java/lang/reflect/AccessibleObject.java
17362 java/lang/reflect/InvocationTargetException.java
17363 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17364 java/lang/reflect/ReflectPermission.java
17365 java/math/BigDecimal.java java/math/BigInteger.java
17366 java/net/Authenticator.java java/net/BindException.java
17367 java/net/ConnectException.java java/net/ContentHandler.java
17368 java/net/ContentHandlerFactory.java
17369 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17370 java/net/FileNameMap.java java/net/MalformedURLException.java
17371 java/net/MulticastSocket.java java/net/NetPermission.java
17372 java/net/NoRouteToHostException.java
17373 java/net/PasswordAuthentication.java
17374 java/net/ProtocolException.java java/net/ServerSocket.java
17375 java/net/Socket.java java/net/SocketException.java
17376 java/net/SocketImpl.java java/net/SocketImplFactory.java
17377 java/net/SocketOptions.java java/net/SocketPermission.java
17378 java/net/URLDecoder.java java/net/URLEncoder.java
17379 java/net/URLStreamHandlerFactory.java
17380 java/net/UnknownHostException.java
17381 java/net/UnknownServiceException.java
17382 java/rmi/AccessException.java
17383 java/rmi/AlreadyBoundException.java
17384 java/rmi/ConnectException.java
17385 java/rmi/ConnectIOException.java
17386 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17387 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17388 java/rmi/NotBoundException.java
17389 java/rmi/RMISecurityException.java
17390 java/rmi/RMISecurityManager.java java/rmi/Remote.java
17391 java/rmi/RemoteException.java java/rmi/ServerError.java
17392 java/rmi/ServerException.java
17393 java/rmi/ServerRuntimeException.java
17394 java/rmi/StubNotFoundException.java
17395 java/rmi/UnexpectedException.java
17396 java/rmi/UnknownHostException.java
17397 java/rmi/UnmarshalException.java
17398 java/rmi/activation/Activatable.java
17399 java/rmi/activation/ActivateFailedException.java
17400 java/rmi/activation/ActivationDesc.java
17401 java/rmi/activation/ActivationException.java
17402 java/rmi/activation/ActivationGroup.java
17403 java/rmi/activation/ActivationGroupDesc.java
17404 java/rmi/activation/ActivationGroupID.java
17405 java/rmi/activation/ActivationID.java
17406 java/rmi/activation/ActivationInstantiator.java
17407 java/rmi/activation/ActivationMonitor.java
17408 java/rmi/activation/ActivationSystem.java
17409 java/rmi/activation/Activator.java
17410 java/rmi/activation/UnknownGroupException.java
17411 java/rmi/activation/UnknownObjectException.java
17412 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17413 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17414 java/rmi/registry/Registry.java
17415 java/rmi/registry/RegistryHandler.java
17416 java/rmi/server/ExportException.java
17417 java/rmi/server/LoaderHandler.java
17418 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17419 java/rmi/server/Operation.java
17420 java/rmi/server/RMIClassLoader.java
17421 java/rmi/server/RMIClientSocketFactory.java
17422 java/rmi/server/RMIFailureHandler.java
17423 java/rmi/server/RMIServerSocketFactory.java
17424 java/rmi/server/RMISocketFactory.java
17425 java/rmi/server/RemoteCall.java
17426 java/rmi/server/RemoteObject.java
17427 java/rmi/server/RemoteRef.java
17428 java/rmi/server/RemoteServer.java
17429 java/rmi/server/RemoteStub.java
17430 java/rmi/server/ServerCloneException.java
17431 java/rmi/server/ServerNotActiveException.java
17432 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17433 java/rmi/server/SkeletonMismatchException.java
17434 java/rmi/server/SkeletonNotFoundException.java
17435 java/rmi/server/SocketSecurityException.java
17436 java/rmi/server/UID.java
17437 java/rmi/server/UnicastRemoteObject.java
17438 java/rmi/server/Unreferenced.java
17439 java/security/AccessControlContext.java
17440 java/security/AccessControlException.java
17441 java/security/AccessController.java
17442 java/security/AlgorithmParameterGenerator.java
17443 java/security/AlgorithmParameterGeneratorSpi.java
17444 java/security/AlgorithmParameters.java
17445 java/security/AlgorithmParametersSpi.java
17446 java/security/AllPermission.java
17447 java/security/BasicPermission.java
17448 java/security/Certificate.java java/security/CodeSource.java
17449 java/security/DigestException.java
17450 java/security/DigestInputStream.java
17451 java/security/DigestOutputStream.java
17452 java/security/DomainCombiner.java
17453 java/security/DummyKeyPairGenerator.java
17454 java/security/DummyMessageDigest.java
17455 java/security/DummySignature.java
17456 java/security/GeneralSecurityException.java
17457 java/security/Guard.java java/security/GuardedObject.java
17458 java/security/Identity.java java/security/IdentityScope.java
17459 java/security/InvalidAlgorithmParameterException.java
17460 java/security/InvalidKeyException.java
17461 java/security/InvalidParameterException.java
17462 java/security/Key.java java/security/KeyException.java
17463 java/security/KeyFactory.java java/security/KeyFactorySpi.java
17464 java/security/KeyManagementException.java
17465 java/security/KeyPair.java java/security/KeyPairGenerator.java
17466 java/security/KeyPairGeneratorSpi.java
17467 java/security/KeyStore.java
17468 java/security/KeyStoreException.java
17469 java/security/KeyStoreSpi.java
17470 java/security/MessageDigest.java
17471 java/security/MessageDigestSpi.java
17472 java/security/NoSuchAlgorithmException.java
17473 java/security/NoSuchProviderException.java
17474 java/security/Permission.java
17475 java/security/PermissionCollection.java
17476 java/security/Permissions.java java/security/Policy.java
17477 java/security/Principal.java java/security/PrivateKey.java
17478 java/security/PrivilegedAction.java
17479 java/security/PrivilegedActionException.java
17480 java/security/PrivilegedExceptionAction.java
17481 java/security/ProtectionDomain.java
17482 java/security/Provider.java
17483 java/security/ProviderException.java
17484 java/security/PublicKey.java
17485 java/security/SecureClassLoader.java
17486 java/security/SecureRandom.java
17487 java/security/SecureRandomSpi.java java/security/Security.java
17488 java/security/SecurityPermission.java
17489 java/security/Signature.java
17490 java/security/SignatureException.java
17491 java/security/SignatureSpi.java
17492 java/security/SignedObject.java java/security/Signer.java
17493 java/security/UnrecoverableKeyException.java
17494 java/security/UnresolvedPermission.java
17495 java/security/acl/Acl.java java/security/acl/AclEntry.java
17496 java/security/acl/AclNotFoundException.java
17497 java/security/acl/Group.java
17498 java/security/acl/LastOwnerException.java
17499 java/security/acl/NotOwnerException.java
17500 java/security/acl/Owner.java java/security/acl/Permission.java
17501 java/security/cert/CRL.java
17502 java/security/cert/CRLException.java
17503 java/security/cert/Certificate.java
17504 java/security/cert/CertificateEncodingException.java
17505 java/security/cert/CertificateException.java
17506 java/security/cert/CertificateExpiredException.java
17507 java/security/cert/CertificateFactory.java
17508 java/security/cert/CertificateFactorySpi.java
17509 java/security/cert/CertificateNotYetValidException.java
17510 java/security/cert/CertificateParsingException.java
17511 java/security/cert/X509CRL.java
17512 java/security/cert/X509CRLEntry.java
17513 java/security/cert/X509Certificate.java
17514 java/security/cert/X509Extension.java
17515 java/security/interfaces/DSAKey.java
17516 java/security/interfaces/DSAKeyPairGenerator.java
17517 java/security/interfaces/DSAParams.java
17518 java/security/interfaces/DSAPrivateKey.java
17519 java/security/interfaces/DSAPublicKey.java
17520 java/security/interfaces/RSAKey.java
17521 java/security/interfaces/RSAPrivateCrtKey.java
17522 java/security/interfaces/RSAPrivateKey.java
17523 java/security/interfaces/RSAPublicKey.java
17524 java/security/spec/AlgorithmParameterSpec.java
17525 java/security/spec/DSAParameterSpec.java
17526 java/security/spec/DSAPrivateKeySpec.java
17527 java/security/spec/DSAPublicKeySpec.java
17528 java/security/spec/EncodedKeySpec.java
17529 java/security/spec/InvalidKeySpecException.java
17530 java/security/spec/InvalidParameterSpecException.java
17531 java/security/spec/KeySpec.java
17532 java/security/spec/PKCS8EncodedKeySpec.java
17533 java/security/spec/RSAKeyGenParameterSpec.java
17534 java/security/spec/RSAPrivateCrtKeySpec.java
17535 java/security/spec/RSAPrivateKeySpec.java
17536 java/security/spec/RSAPublicKeySpec.java
17537 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17538 java/sql/BatchUpdateException.java java/sql/Blob.java
17539 java/sql/CallableStatement.java java/sql/Clob.java
17540 java/sql/Connection.java java/sql/DataTruncation.java
17541 java/sql/DatabaseMetaData.java java/sql/Date.java
17542 java/sql/Driver.java java/sql/DriverManager.java
17543 java/sql/DriverPropertyInfo.java
17544 java/sql/PreparedStatement.java java/sql/Ref.java
17545 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17546 java/sql/SQLData.java java/sql/SQLException.java
17547 java/sql/SQLInput.java java/sql/SQLOutput.java
17548 java/sql/SQLWarning.java java/sql/Statement.java
17549 java/sql/Struct.java java/sql/Time.java
17550 java/sql/Timestamp.java java/sql/Types.java
17551 java/text/Annotation.java
17552 java/text/AttributedCharacterIterator.java
17553 java/text/AttributedString.java
17554 java/text/AttributedStringIterator.java
17555 java/text/BreakIterator.java java/text/CharacterIterator.java
17556 java/text/ChoiceFormat.java java/text/Collator.java
17557 java/text/DateFormat.java java/text/DateFormatSymbols.java
17558 java/text/DecimalFormat.java
17559 java/text/DecimalFormatSymbols.java
17560 java/text/FieldPosition.java java/text/Format.java
17561 java/text/MessageFormat.java java/text/NumberFormat.java
17562 java/text/ParseException.java java/text/ParsePosition.java
17563 java/text/SimpleDateFormat.java
17564 java/text/StringCharacterIterator.java
17565 java/util/AbstractCollection.java java/util/AbstractList.java
17566 java/util/AbstractMap.java
17567 java/util/AbstractSequentialList.java
17568 java/util/AbstractSet.java java/util/ArrayList.java
17569 java/util/Arrays.java java/util/BasicMapEntry.java
17570 java/util/BitSet.java java/util/Calendar.java
17571 java/util/Collection.java java/util/Collections.java
17572 java/util/Comparator.java
17573 java/util/ConcurrentModificationException.java
17574 java/util/Date.java java/util/Dictionary.java
17575 java/util/EmptyStackException.java java/util/Enumeration.java
17576 java/util/EventListener.java java/util/EventObject.java
17577 java/util/GregorianCalendar.java java/util/HashMap.java
17578 java/util/HashSet.java java/util/Hashtable.java
17579 java/util/IdentityHashMap.java java/util/Iterator.java
17580 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17581 java/util/LinkedList.java java/util/List.java
17582 java/util/ListIterator.java java/util/ListResourceBundle.java
17583 java/util/Locale.java java/util/Map.java
17584 java/util/MissingResourceException.java
17585 java/util/NoSuchElementException.java
17586 java/util/Observable.java java/util/Observer.java
17587 java/util/Properties.java java/util/PropertyPermission.java
17588 java/util/PropertyResourceBundle.java java/util/Random.java
17589 java/util/RandomAccess.java java/util/ResourceBundle.java
17590 java/util/Set.java java/util/SimpleTimeZone.java
17591 java/util/SortedMap.java java/util/SortedSet.java
17592 java/util/Stack.java java/util/StringTokenizer.java
17593 java/util/TimeZone.java java/util/Timer.java
17594 java/util/TimerTask.java
17595 java/util/TooManyListenersException.java
17596 java/util/TreeMap.java java/util/TreeSet.java
17597 java/util/Vector.java java/util/WeakHashMap.java
17598 java/util/jar/Attributes.java java/util/jar/JarEntry.java
17599 java/util/jar/JarException.java java/util/jar/JarFile.java
17600 java/util/jar/JarInputStream.java
17601 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17602 java/util/zip/Adler32.java java/util/zip/CRC32.java
17603 java/util/zip/CheckedInputStream.java
17604 java/util/zip/CheckedOutputStream.java
17605 java/util/zip/Checksum.java
17606 java/util/zip/DataFormatException.java
17607 java/util/zip/Deflater.java
17608 java/util/zip/DeflaterOutputStream.java
17609 java/util/zip/GZIPInputStream.java
17610 java/util/zip/GZIPOutputStream.java
17611 java/util/zip/Inflater.java
17612 java/util/zip/InflaterInputStream.java
17613 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17614 java/util/zip/ZipException.java java/util/zip/ZipFile.java
17615 java/util/zip/ZipInputStream.java
17616 java/util/zip/ZipOutputStream.java
17617 javax/naming/BinaryRefAddr.java
17618 javax/naming/InvalidNameException.java javax/naming/Name.java
17619 javax/naming/NamingException.java javax/naming/RefAddr.java
17620 javax/naming/StringRefAddr.java: Add license clarification.
17621
17622 2002-01-22 Tom Tromey <tromey@redhat.com>
17623
17624 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17625 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17626 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17627 version.
17628 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17629 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17630 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17631 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17632 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17633 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17634 * java/awt/peer/FontPeer.java: Replace with Classpath version.
17635 * java/awt/peer/FramePeer.java: Replace with Classpath version.
17636 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17637 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17638 * java/awt/peer/ListPeer.java: Replace with Classpath version.
17639 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17640 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17641 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17642 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17643 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17644 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17645 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17646 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17647 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17648 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17649 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17650 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17651 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17652 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17653 (minimumSize, preferredSize, reshape): Likewise.
17654 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17655 getColorModel): New methods.
17656 * java/awt/PopupMenu.java: Merged with Classpath.
17657 * java/awt/MenuBar.java: Merged with Classpath.
17658 * java/awt/SystemColor.java: Replace with Classpath version.
17659 * java/awt/Panel.java: Merged with Classpath.
17660 * java/awt/PaintContext.java: Updated copyright.
17661 * java/awt/MenuShortcut.java: Merged with Classpath.
17662 * java/awt/MenuContainer.java: Merged with Classpath.
17663 * java/awt/Menu.java: Merged with Classpath.
17664 * java/awt/MediaEntry.java: New file from Classpath.
17665 * java/awt/MediaTracker.java: New file from Classpath.
17666 * java/awt/List.java: Merged with Classpath version.
17667 * java/awt/Insets.java: Merged with Classpath version.
17668 * java/awt/ImageMediaEntry.java: New file from Classpath.
17669 * java/awt/Image.java: Replaced with Classpath version.
17670 * java/awt/FontMetrics.java: Merged with Classpath version.
17671 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17672 constant.
17673 * java/awt/Font.java: Merged with Classpath version.
17674 * java/awt/Dialog.java: Merged with Classpath version.
17675 * java/awt/Color.java: Merged with Classpath version.
17676 * java/awt/Choice.java: Merged with Classpath version.
17677 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17678 * java/awt/Adjustable.java: Replace with Classpath version.
17679 * java/awt/MenuItem.java (paramString): Don't include class name
17680 or brackets. Call superclass paramString.
17681 * java/awt/MenuComponent.java (toString): Call paramString.
17682 (paramString): Compute string; don't call toString.
17683 * java/awt/Label.java (paramString): Don't include class name
17684 or brackets. Call superclass paramString.
17685 * java/awt/Checkbox.java (paramString): Don't include class name
17686 or brackets. Call superclass paramString.
17687 * java/awt/Button.java (paramString): Don't include class name or
17688 brackets. Call superclass paramString.
17689 * java/awt/MenuComponent.java (getTreeLock): Now protected.
17690
17691 2002-01-20 Andreas Schwab <schwab@suse.de>
17692
17693 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17694 function and of parameter recv_func to ssize_t, as specified by
17695 POSIX.
17696
17697 2002-01-19 Per Bothner <per@bothner.com>
17698
17699 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
17700 uncompressed_size in readiness for next entry.
17701
17702 2002-01-18 Tom Tromey <tromey@redhat.com>
17703
17704 * java/net/natPlainSocketImpl.cc: Include
17705 IllegalArgumentException.h.
17706 (_Jv_recv): New template function.
17707 (BooleanClass): Removed.
17708 (read): Use _Jv_recv.
17709 (setOption): Use Boolean::class$. Throw exception if object is
17710 not Boolean or Integer.
17711
17712 2002-01-17 Tom Tromey <tromey@redhat.com>
17713
17714 * java/awt/MenuComponent.java: Merged with Classpath.
17715 * java/awt/MenuItem.java: Merged with Classpath.
17716 * java/awt/Button.java: Merged with Classpath.
17717
17718 * java/awt/ActiveEvent.java: Updated copyright.
17719
17720 * java/awt/AWTError.java: Replaced with Classpath version.
17721 * java/awt/AWTException.java: Replaced with Classpath version.
17722 * java/awt/IllegalComponentStateException.java: Replaced with
17723 Classpath version.
17724
17725 2002-01-16 Tom Tromey <tromey@redhat.com>
17726
17727 * java/awt/Canvas.java (serialVersionUID): New constant.
17728 Updated copyright. Added javadoc from Classpath.
17729 * java/awt/ItemSelectable.java: Replaced with Classpath version.
17730
17731 * java/awt/CheckboxGroup.java: Merged with Classpath.
17732 * java/awt/Checkbox.java: Merged with Classpath.
17733
17734 * java/awt/Dimension.java: Updated copyright. Added javadoc from
17735 Classpath.
17736 * java/awt/Point.java: Updated copyright.
17737
17738 * java/awt/Point.java (toString): Use getClass().getName().
17739 Added javadoc.
17740
17741 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17742 commented code.
17743 (hash): Correctly compute initial value for `h'.
17744
17745 * java/awt/Label.java: Merged with Classpath.
17746
17747 2002-01-15 Tom Tromey <tromey@redhat.com>
17748
17749 * java/awt/AWTPermission.java: Updated copyright.
17750
17751 * java/awt/LayoutManager2.java: Merged with Classpath.
17752 * java/awt/LayoutManager.java: Merged with Classpath.
17753 * java/awt/GridLayout.java: Updated copyright and javadoc.
17754 (getSize): Use `parent.ncomponents'. Handle insets.
17755 (layoutContainer): Use `parent.ncomponents'. Handle case where
17756 there are fewer children than columns. Correctly compute size of
17757 each cell in the grid. Handle case where there isn't enough
17758 space.
17759 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
17760 all users.
17761 (gotoComponent): Use parent.ncomponents. Ensure child exists
17762 before calling setVisible() on it. Last item is `num - 1', not
17763 `num'.
17764 (layoutContainer): Hoist invariants out of loop.
17765
17766 Start of AWT merge with Classpath:
17767 * Makefile.in: Rebuilt.
17768 * Makefile.am (awt_java_source_files): Reference files in
17769 gnu/java/awt, not gnu/gcj/awt.
17770 * java/awt/image/BufferedImage.java: Updated copyright.
17771 * java/awt/image/ComponentColorModel.java: Updated copyright.
17772 * java/awt/image/ComponentSampleModel.java: Updated copyright.
17773 * java/awt/image/DataBuffer.java: Updated copyright.
17774 * java/awt/image/DataBufferByte.java: Updated copyright.
17775 * java/awt/image/DataBufferInt.java: Updated copyright.
17776 * java/awt/image/DataBufferUShort.java: Updated copyright.
17777 * java/awt/image/IndexColorModel.java: Updated copyright.
17778 * java/awt/image/PackedColorModel.java: Updated copyright.
17779 * java/awt/image/Raster.java: Updated copyright.
17780 * java/awt/image/RasterOp.java: Updated copyright.
17781 * java/awt/image/SampleModel.java: Updated copyright.
17782 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17783 * java/awt/image/WritableRaster.java: Updated copyright.
17784 * java/awt/color/ColorSpace.java: Updated copyright.
17785 * java/awt/color/ICC_ColorSpace.java: Updated copyright
17786 * java/awt/color/ICC_Profile.java: Updated copyright.
17787 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17788 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17789 * java/awt/event/HierarchyEvent.java: Updated copyright.
17790 * java/awt/event/HierarchyListener.java: Updated copyright.
17791 * java/awt/geom/AffineTransform.java: Updated copyright.
17792 * java/awt/geom/Dimension2D.java: Updated copyright.
17793 * java/awt/geom/Ellipse2D.java: Updated copyright.
17794 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17795 * java/awt/geom/Line2D.java: Updated copyright.
17796 * java/awt/geom/NoninvertibleTransformException.java: Updated
17797 copyright.
17798 * java/awt/geom/PathIterator.java: Updated copyright.
17799 * java/awt/geom/Point2D.java: Updated copyright.
17800 * java/awt/geom/Rectangle2D.java: Updated copyright.
17801 * java/awt/geom/RectangularShape.java: Updated copyright.
17802 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17803 * java/awt/Toolkit.java: Updated import for file moves.
17804 * java/awt/Rectangle.java: Updated copyright; added javadoc from
17805 Classpath.
17806 (hashCode): New method from Classpath.
17807 * java/awt/Graphics2D.java: Updated copyright.
17808 * java/awt/Transparency.java: Updated copyright.
17809 * java/awt/Paint.java: Updated copyright.
17810 * java/awt/Graphics.java: New version from Classpath.
17811 * java/awt/EventDispatchThread.java: Updated copyright.
17812 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17813 children.
17814 (gotoComponent): Wrap around on next/previous.
17815 * gnu/gcj/awt/BitMaskExtent.java: Removed.
17816 * gnu/gcj/awt/Buffers.java: Removed.
17817 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17818 * gnu/gcj/awt/GLightweightPeer.java: Removed.
17819 * gnu/java/awt/BitMaskExtent.java: Added.
17820 * gnu/java/awt/Buffers.java: Added.
17821 * gnu/java/awt/ComponentDataBlitOp.java: Added.
17822 * gnu/java/awt/GLightweightPeer.java: Added.
17823 * java/awt/geom/Line2D.java (clone): Ignore
17824 CloneNotSupportedException.
17825 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17826 * java/awt/Frame.java: Merged with Classpath.
17827 * java/awt/RenderingHints.java: Copyright update.
17828 * java/awt/Paint.java: Copyright update.
17829 * java/awt/image/DirectColorModel.java: Merged with Classpath.
17830 * java/awt/image/ColorModel.java: Merged with Classpath.
17831 * java/awt/Window.java (show): New Implementation from Classpath.
17832 (isShowing): Use super.isShowing().
17833 * java/awt/EventQueue.java: Merged with Classpath.
17834 * java/awt/AWTEventMulticaster.java (save): Throw
17835 RuntimeException.
17836 (saveInternal): Likewise.
17837 * java/awt/AWTEvent.java: Now implements Serializable.
17838 * java/awt/Event.java: Copyright update.
17839 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17840 * java/awt/image/BufferedImage.java: Copyright update.
17841 * java/awt/GraphicsConfiguration.java: Copyright update.
17842 * java/awt/Component.java: (addNotify): Don't call
17843 addNotifyContainerChildren().
17844 (addNotifyContainerChildren): Removed.
17845 (setPeer): New method from Classpath.
17846 (setTreeLock): Likewise.
17847 (setVisible): Rewrote.
17848 (show): Use it.
17849 (hide): Likewise.
17850 (validate): Set `valid'.
17851 (checkImage(Image,ImageObserver)): Implementation from Classpath.
17852 (createImage(ImageProducer)): Likewise.
17853 (prepareImage): Likewise.
17854 * java/awt/Container.java (addImpl): Handle case where constraint
17855 is not a String. Post event via system event queue.
17856 (remove): Post event via system event queue.
17857 (validateTree): Only validate child if it is invalid.
17858 (getAlignmentX): Call super method as default.
17859 (getAlignmentY): Likewise.
17860 (addContainerListener): Now synchronized.
17861 (removeContainerListener): Likewise.
17862 (addNotifyContainerChildren): Now private.
17863 * java/awt/ComponentOrientation.java: Updated copyright. Added
17864 @author.
17865 * java/awt/FlowLayout.java (serialVersionUID): New field.
17866 (setAlignment): Better exception message.
17867 (layoutContainer): Don't compute component's preferred size unless
17868 we're going to use it.
17869 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
17870 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
17871 (firstLine, lastLine, firstItem, lastItem): New fields.
17872 (addLayoutComponent): Handle case where constraints is null.
17873 Also, handle relative locations.
17874 (removeLayoutComponent): Handle relative locations.
17875 (MIN, MAX, PREF): New constants.
17876 (calcCompSize): New method.
17877 (calcSize): New method.
17878 (minimumLayoutSize): Use it.
17879 (preferredLayoutSize): Likewise.
17880 (maximumLayoutSize): Likewise.
17881 (toString): Include more information.
17882 (setBounds): New method.
17883 (layoutContainer): Use libgcj implementation; extended to handle
17884 relative locations.
17885
17886 2002-01-15 Tom Tromey <tromey@redhat.com>
17887
17888 * java/lang/Float.java (equals): Preserve old code.
17889 * java/lang/Double.java (equals): Preserve old code.
17890
17891 2002-01-15 Eric Blake <ebb9@email.byu.edu>
17892
17893 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
17894 * java/lang/Float.java (equals, compare): Ditto.
17895
17896 2002-01-13 Mark Wielaard <mark@klomp.org>
17897
17898 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
17899 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
17900 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
17901 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
17902
17903 2002-01-11 Mark Wielaard <mark@klomp.org>
17904
17905 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
17906 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
17907 InetAddress.
17908 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
17909 * java/net/Socket.java: Merge with Classpath.
17910 * java/net/ServerSocket.java: Likewise.
17911
17912 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
17913
17914 * interpret.cc (NULLARRAYCHECK): New macro.
17915 (SAVE_PC): Just store `pc'.
17916 (find_exception): Subtract one from `pc' here.
17917 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
17918 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
17919 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
17920 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
17921 don't call SAVE_PC.
17922 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
17923 call SAVE_PC.
17924
17925 2002-01-11 Tom Tromey <tromey@redhat.com>
17926
17927 * java/lang/natSystem.cc (init_properties): Only look for default
17928 locale if LC_MESSAGES is defined.
17929 * aclocal.m4, configure, include/config.h.in: Rebuilt.
17930 * configure.in: Call AM_LC_MESSAGES.
17931 * acinclude.m4 (AM_LC_MESSAGES): New macro.
17932
17933 2002-01-10 Tom Tromey <tromey@redhat.com>
17934
17935 For PR libgcj/5303:
17936 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
17937 --version. Recognize GNU-style long options. Print GNU-style
17938 error messages.
17939 (usage): Print GNU-style help. Exit with status 0.
17940 (error): New method.
17941 (run): Print error message if no class names found.
17942 (main): Don't print usage on error.
17943
17944 2002-01-09 Tom Tromey <tromey@redhat.com>
17945
17946 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
17947 property.
17948 (help, version): Use println(), not println("").
17949
17950 For PR libgcj/5303:
17951 * gnu/gcj/convert/Convert.java (error): Program is called
17952 `jv-convert'. Print GNU-style message. Exit with status 1, not
17953 -1.
17954 (main): Handle --help and --version.
17955 (help): New method.
17956 (version): Likewise.
17957
17958 2002-01-08 Tom Tromey <tromey@redhat.com>
17959
17960 * Makefile.in: Rebuilt.
17961 * Makefile.am (ordinary_java_source_files): Added new files.
17962 * gnu/java/locale/LocaleInformation.java: Extend
17963 LocaleInformation_en.
17964 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
17965 and time/date formats.
17966 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
17967 generated.
17968 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
17969 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
17970 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
17971 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
17972 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
17973 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
17974 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
17975 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
17976 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
17977 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
17978 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
17979 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
17980 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
17981 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
17982 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
17983 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
17984 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
17985 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
17986 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
17987 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
17988 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
17989 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
17990 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
17991 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
17992 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
17993 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
17994 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
17995 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
17996 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
17997 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
17998 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
17999 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18000 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18001 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18002 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18003 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18004 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18005 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18006 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18007 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18008 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18009 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18010 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18011 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18012 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18013 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18014 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18015 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18016 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18017 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18018 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18019 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18020 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18021 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18022 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18023 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18024 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18025 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18026 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18027 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18028 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18029 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18030 * gnu/java/locale/LocaleInformation_es_US.java: New file.
18031 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18032 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18033 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18034 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18035 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18036 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18037 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18038 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18039 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18040 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18041 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18042 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18043 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18044 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18045 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18046 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18047 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18048 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18049 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18050 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18051 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18052 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18053 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18054 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18055 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18056 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18057 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18058 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18059 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18060 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18061 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18062 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18063 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18064 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18065 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18066 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18067 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18068 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18069 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18070 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18071 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18072 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18073 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18074 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18075 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18076 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18077 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18078 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18079 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18080 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18081 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18082 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18083 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18084 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18085 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18086 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18087 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18088 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18089 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18090 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18091 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18092 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18093 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18094 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18095 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18096 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18097 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18098
18099 For PR libgcj/5031:
18100 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18101 choose default locale.
18102
18103 * Makefile.in: Rebuilt.
18104 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18105
18106 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
18107
18108 * java/net/natPlainSocketImpl.cc: Added timeout handling for
18109 sockets.
18110 (close): New function closes the socket.
18111 (write): New functions for output to socket.
18112 (read): New functions for reading from socket.
18113 * java/net/PlainSocketImpl.java: Glue for new timeout
18114 implementation.
18115 (write): Call the native impl.
18116 (read): Likewise.
18117 (getInputStream): Get a stream to read from the socket.
18118 (getOutputStream): Get a stream to write to the socket.
18119
18120 2002-01-08 Tom Tromey <tromey@redhat.com>
18121
18122 * resolve.cc (_Jv_PrepareClass): Enable verifier.
18123
18124 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
18125
18126 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18127 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18128
18129 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
18130
18131 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18132 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18133 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18134 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18135 insn_bastore, insn_castore, insn_sastore]: Use it.
18136 (continue1) [insn_arraylength]: Check for null array.
18137
18138 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18139
18140 * configure, include/config.h.in: Rebuilt.
18141 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18142 * configure.in: Call AC_STRUCT_TIMEZONE.
18143
18144 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18145
18146 * configure.host: Disable the interpreter for Darwin.
18147
18148 2002-01-04 Tom Tromey <tromey@redhat.com>
18149
18150 * java/lang/Thread.java (stop): No longer synchronized.
18151 (start): Likewise.
18152
18153 2002-01-02 Tom Tromey <tromey@redhat.com>
18154
18155 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18156 patch.
18157
18158 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
18159
18160 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18161 PPC Darwin, not for all of Darwin.