Dialog.java (show): Enable blocking for all modal dialogs and run secondary dispatch...
[gcc.git] / libjava / ChangeLog
1 2004-01-12 Fernando Nasser <fnasser@redhat.com>
2
3 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
4 and run secondary dispatch thread to process event queue while this
5 thread is blocked.
6
7 2004-01-12 Graydon Hoare <graydon@redhat.com>
8
9 * gnu/java/awt/gtk/GdkGraphics2D.java
10 (static): Check GtkToolkit before initializing static state.
11 (Graphics2D): Don't construct transform with 0.5 unit offset.
12
13 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
14
15 * gnu/java/awt/BitwiseXORComposite.java: Add.
16 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
18 (BitwiseXORComposite): Remove inner class.
19
20 2004-01-11 Michael Koch <konqueror@gmx.de>
21
22 * gnu/java/lang/reflect/TypeSignature.java
23 (getEncodingOfClass): Documentation fixed.
24 (getClassForEncoding): Give class loader to Class.forName().
25 Documentation fixed.
26
27 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
28
29 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
30
31 2004-01-11 Michael Koch <konqueror@gmx.de>
32
33 * javax/swing/undo/StateEditable.java
34 (RCSID): Removed redundant modifiers.
35
36 2004-01-10 Michael Koch <konqueror@gmx.de>
37
38 * javax/print/attribute/EnumSyntax.java
39 (getStringTable): Made protected.
40 (getEnumValueTable): Likewise.
41 * javax/print/attribute/standard/JobKOctetsProcessed.java
42 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
43 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
44 (JobMediaSheetsCompleted): Made class final.
45 * javax/print/attribute/standard/OutputDeviceAssigned.java
46 (getName): Fixed typo.
47 * javax/print/attribute/standard/RequestingUserName.java
48 (serialVersionUID): Fixed value.
49
50 2004-01-10 Michael Koch <konqueror@gmx.de>
51
52 * javax/swing/plaf/basic/BasicButtonUI.java,
53 javax/swing/plaf/basic/BasicCheckBoxUI.java,
54 javax/swing/plaf/basic/BasicListUI.java,
55 javax/swing/plaf/basic/BasicOptionPaneUI.java,
56 javax/swing/plaf/basic/BasicPanelUI.java,
57 javax/swing/plaf/basic/BasicRadioButtonUI.java,
58 javax/swing/plaf/basic/BasicScrollPaneUI.java,
59 javax/swing/plaf/basic/BasicToggleButtonUI.java,
60 javax/swing/plaf/basic/BasicViewportUI.java:
61 Fixed import statements.
62
63 2004-01-10 Michael Koch <konqueror@gmx.de>
64
65 * gnu/java/awt/image/ImageDecoder.java
66 (produce): Made public.
67 * gnu/java/awt/peer/GLightweightPeer.java,
68 gnu/java/awt/peer/gtk/GtkToolkit.java:
69 Reformated.
70
71 2004-01-10 Michael Koch <konqueror@gmx.de>
72
73 * javax/swing/JRadioButtonMenuItem.java,
74 javax/swing/JSeparator.java,
75 javax/swing/JSplitPane.java,
76 javax/swing/JTextPane.java,
77 javax/swing/JToolBar.java,
78 javax/swing/ListCellRenderer.java,
79 javax/swing/ListModel.java,
80 javax/swing/MenuElement.java,
81 javax/swing/OverlayLayout.java,
82 javax/swing/ProgressMonitor.java,
83 javax/swing/ProgressMonitorInputStream.java,
84 javax/swing/Renderer.java,
85 javax/swing/RootPaneContainer.java,
86 javax/swing/Scrollable.java,
87 javax/swing/SingleSelectionModel.java,
88 javax/swing/ToolTipManager.java,
89 javax/swing/ViewportLayout.java,
90 javax/swing/event/DocumentEvent.java,
91 javax/swing/event/SwingPropertyChangeSupport.java,
92 javax/swing/event/TreeSelectionEvent.java,
93 javax/swing/event/UndoableEditEvent.java,
94 javax/swing/text/AbstractDocument.java,
95 javax/swing/text/AttributeSet.java,
96 javax/swing/text/Caret.java,
97 javax/swing/text/ComponentView.java,
98 javax/swing/text/DefaultCaret.java,
99 javax/swing/text/DefaultEditorKit.java,
100 javax/swing/text/Document.java,
101 javax/swing/text/EditorKit.java,
102 javax/swing/text/GapContent.java,
103 javax/swing/text/Keymap.java,
104 javax/swing/text/MutableAttributeSet.java,
105 javax/swing/text/PlainEditorKit.java,
106 javax/swing/text/Segment.java,
107 javax/swing/text/Style.java,
108 javax/swing/text/StyledDocument.java,
109 javax/swing/text/StyledEditorKit.java,
110 javax/swing/text/TextAction.java,
111 javax/swing/text/View.java: Fixed import statements.
112
113 2004-01-08 Graydon Hoare <graydon@redhat.com>
114
115 * javax/swing/JLayeredPane.java: Rewrite to accomodate
116 djee@redhat.com's recent inverse ordering of Container elements.
117
118 2004-01-09 Michael Koch <konqueror@gmx.de>
119
120 * gnu/java/lang/ArrayHelper.java
121 (equalsArray): Removed.
122
123 2004-01-09 Andrew Haley <aph@redhat.com>
124
125 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
126 a Utf8Const field before looking at its class.
127
128 2004-01-09 Michael Koch <konqueror@gmx.de>
129
130 * javax/print/attribute/standard/DocumentName.java,
131 javax/print/attribute/standard/JobHoldUntil.java,
132 javax/print/attribute/standard/JobMessageFromOperator.java,
133 javax/print/attribute/standard/JobName.java,
134 javax/print/attribute/standard/JobOriginatingUserName.java,
135 javax/print/attribute/standard/OutputDeviceAssigned.java,
136 javax/print/attribute/standard/PrinterInfo.java,
137 javax/print/attribute/standard/PrinterLocation.java,
138 javax/print/attribute/standard/PrinterMakeAndModel.java,
139 javax/print/attribute/standard/PrinterMessageFromOperator.java,
140 javax/print/attribute/standard/PrinterName.java,
141 javax/print/attribute/standard/RequestingUserName.java: New files.
142 * Makefile.am (javax_source_files): Added new files.
143 * Makefile.in: Regenerated.
144
145 2004-01-09 Michael Koch <konqueror@gmx.de>
146
147 * javax/swing/AbstractAction.java,
148 javax/swing/AbstractSet.java,
149 javax/swing/Action.java,
150 javax/swing/ActionMap.java,
151 javax/swing/BoundedRangeModel.java,
152 javax/swing/ButtonModel.java,
153 javax/swing/CellEditor.java,
154 javax/swing/CellRendererPane.java,
155 javax/swing/ComboBoxEditor.java,
156 javax/swing/DebugGraphics.java,
157 javax/swing/DefaultCellEditor.java,
158 javax/swing/DefaultCellRenderer.java,
159 javax/swing/DefaultComboBoxModel.java,
160 javax/swing/DefaultDesktopManager.java,
161 javax/swing/DefaultFocusManager.java,
162 javax/swing/DefaultListCellRenderer.java,
163 javax/swing/Icon.java,
164 javax/swing/JButton.java,
165 javax/swing/JCheckBoxMenuItem.java,
166 javax/swing/JDesktopPane.java,
167 javax/swing/JEditorPane.java,
168 javax/swing/JMenu.java,
169 javax/swing/JPanel.java,
170 javax/swing/JPasswordField.java,
171 javax/swing/JPopupMenu.java,
172 javax/swing/JProgressBar.java: Reworked imports.
173
174 2004-01-09 Michael Koch <konqueror@gmx.de>
175
176 * java/awt/geom/PathIterator.java
177 (WIND_EVEN_ODD): Removed redundant modifiers.
178 (WIND_NON_ZERO): Likewise.
179 (SEG_MOVETO): Likewise.
180 (SEG_LINETO): Likewise.
181 (SEG_QUADTO): Likewise.
182 (SEG_CUBICTO): Likewise.
183 (SEG_CLOSE): Likewise.
184 * java/awt/image/SinglePixelPackedSampleModel.java:
185 Removed redundant semicolon.
186 * java/io/ObjectInputStream.java
187 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
188 * java/util/logging/Filter.java
189 (isLoggable): Removed redundant modifier.
190 * java/util/logging/LogManager.java:
191 Removed redundant semicolon.
192 * java/util/logging/XMLFormatter.java
193 (format): Removed unused variable "key".
194
195 2004-01-08 Fernando Nasser <fnasser@redhat.com>
196
197 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
198 New name for the former setFile native method.
199 (setFile): New method.
200 (setDirectory): Implemented.
201 (connectSignals): New native method.
202 (setFilenameFilter): Improve comment.
203 (getGraphics): Comment.
204 (gtkHideFileDialog): New method.
205 (gtkDisposeFileDialog): New method.
206 (gtkSetFilename): New method.
207 * java/awt/Dialog.java (show): Block on modal dialogs, but only
208 for FileDialog for now.
209 (hide): New method.
210 (dispose): New method.
211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
212 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
213 deprecated creation functions. Make dialog modal. Add it to the
214 window group.
215 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
216 function.
217 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
218 Rename to...
219 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
220 name.
221 (window_closed): New function.
222 (ok_clicked): New function.
223 (cancel_clicked): New function.
224
225 2004-01-08 Michael Koch <konqueror@gmx.de>
226
227 * javax/swing/JLayeredPane.java: Revert changes to standard
228 boilerplate, reworked imports.
229
230 2004-01-07 Tom Tromey <tromey@redhat.com>
231
232 PR libgcj/13439:
233 * verify.cc (state::merge): Copy changed locals out of subroutine
234 in NO_STACK case.
235 (state::FLAG_CHANGED): New const.
236 (state::FLAG_UNUSED): Likewise.
237 (state::local_changed): Removed. Updated all users.
238 (state::flags): New field.
239 (state::merge): Added jsr_semantics argument, more logic.
240 (push_jump_merge): Added jsr_semantics argument.
241 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
242 merging through the jsr instruction.
243
244 2004-01-07 Tom Tromey <tromey@redhat.com>
245
246 * scripts/MakeDefaultMimeTypes.java: Use \n, not
247 backslash-newline.
248
249 2004-01-07 Graydon Hoare <graydon@redhat.com>
250
251 * java/awt/Container.java (LightweightDispatcher): Implement.
252 (visitChild): Reuse graphics object.
253 (dispatchEventImpl): Optionally dispatch to lightweight.
254 (addNotifyContainerChildren): Build LightweightDispatcher.
255
256 2004-01-07 David Jee <djee@redhat.com>
257
258 * java/awt/Container.java
259 (update): Clear only the clipped region, instead of clearing the
260 entire Container.
261 (visitChildren): Visit children in descending order.
262
263 2004-01-07 Michael Koch <konqueror@gmx.de>
264
265 * java/lang/reflect/Array.java: Merged documentation with classpath.
266
267 2004-01-07 Michael Koch <konqueror@gmx.de>
268
269 * java/text/CollationElementIterator.java
270 (textIndex): Renamed from index.
271 * java/text/CollationKey.java
272 (collator): New member.
273 (CollationKey): New argument for parent collator.
274 (equals): Check for same collator, source string and key array.
275 * java/text/RuleBasedCollator.java:
276 Reformated.
277 (RuleBasedCollator): Don't re-initialize frenchAccents with default
278 value.
279 (getCollationElementIterator): Rewritten.
280 (getCollationKey): Added new argument to CollationKey constructor.
281
282 2004-01-07 Michael Koch <konqueror@gmx.de>
283
284 * gnu/java/nio/DatagramChannelImpl.java
285 (blocking): Removed.
286 (DatagramChannelImpl): Call configureBlocking().
287 (implConfigureBlocking): Dont initialize blocking.
288 * gnu/java/nio/ServerSocketChannelImpl.java
289 (blocking): Removed.
290 (ServerSocketChannelImpl): Call configureBlocking().
291 (implConfigureBlocking): Dont initialize blocking.
292 * gnu/java/nio/SocketChannelImpl.java
293 (blocking): Removed.
294 (SocketChannelImpl): Call configureBlocking().
295 (implConfigureBlocking): Dont initialize blocking.
296 (connect): Use isBlocking().
297 * java/nio/channels/spi/AbstractSelectableChannel.java
298 (configureBlocking): Use blockingLock() instead of LOCK.
299 Set blocking after successfully called implConfigureBlocking().
300 (register): Use blockingLock() instead of LOCK.
301
302 2004-01-07 Michael Koch <konqueror@gmx.de>
303
304 * java/net/ServerSocket.java (isBound): Fixed documentation.
305
306 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
307
308 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
309 (changeEvent): Create event object on demand.
310 (DefaultBoundedRangeModel, toString, setValue, setExtent,
311 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
312 fireStateChanged): Re-written.
313 * javax/swing/event/EventListenerList.java: Reformatted, document
314 typical usage.
315 (toString): Implemented.
316 (getListeners): Re-written.
317 (remove): Re-written.
318 (add): Re-written.
319 (NO_LISTENERS): New singleton field.
320 (listenerList): Declare as transient; document.
321 (serialVersionUID): Document.
322 (getListenerCount(Class)): More efficient implementation,
323 also accepts null argument. Improve Javadoc.
324 (getListenerCount()): Remove unnecessary cast; docfix.
325 * javax/swing/undo/UndoableEditSupport.java:
326 Re-format, document.
327 (UndoableEditSupport): Set realSource field. Improve documentation.
328 (_postEdit): Iterate over cloned listener vector.
329 (toString): Don't emit realSource.
330 (beginUpdate, endUpdate): Support nested updates.
331 (postEdit): Use compound edit if present.
332
333 2004-01-06 Graydon Hoare <graydon@redhat.com>
334
335 * java/awt/Container.java (swapComponents): Add forgotten
336 function, required for JLayeredPane change.
337
338 2004-01-06 Michael Koch <konqueror@gmx.de>
339
340 * java/text/CollationElementIterator.java: Reformated.
341 (CollationElementIterator): Changed order of arguments.
342 * java/text/RuleBasedCollator.java
343 (RuleBasedCollator): Merged class documentation.
344 (CollationElement): Added documentation.
345 (compare): Reformated, renamed arguments.
346 (equals): Likewise.
347 (getCollationElementIterator): Likewise.
348 (getCollationKey): Likewise.
349
350 2004-01-06 Graydon Hoare <graydon@redhat.com>
351
352 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
353
354 2004-01-06 Michael Koch <konqueror@gmx.de>
355
356 * gnu/java/net/protocol/file/Connection.java:
357 Reformated copyright.
358 (hdrHash): Removed.
359 (hdrVec): Removed.
360 (gotHeaders): Removed.
361 (getHeaderField): Removed.
362 (getHeaderField): Removed.
363 (getHeaderFieldKey): Removed.
364 (getKey): Removed.
365 (getField): Removed.
366 (getHeaders): Removed.
367
368 2004-01-06 Michael Koch <konqueror@gmx.de>
369
370 * javax/print/attribute/standard/DateTimeAtCompleted.java,
371 javax/print/attribute/standard/DateTimeAtCreation.java,
372 javax/print/attribute/standard/DateTimeAtProcessing.java,
373 javax/print/attribute/standard/JobImpressionsCompleted.java,
374 javax/print/attribute/standard/JobKOctets.java,
375 javax/print/attribute/standard/JobKOctetsProcessed.java,
376 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
377 javax/print/attribute/standard/JobPrioritySupported.java: New files.
378 * Makefile.am (javax_source_files): Added new files.
379 * Makefile.in: Regenerated.
380
381 2004-01-06 Michael Koch <konqueror@gmx.de>
382
383 * java/net/URLConnection.java
384 (contentHandler): Removed.
385 (locale): Removed.
386 (getHeaderFields): Return an empty map instead of null.
387 (getContent): Connect if needed, renamed "cType" to "type" and
388 "contentHandler" to "ch" and made it a local variable.
389 (getPermission): Don't use package in class name.
390 (setDefaultRequestProperty): Fixed typo in documentation.
391 (initializeDateFormats): Made locale a local variable.
392
393 2004-01-06 Michael Koch <konqueror@gmx.de>
394
395 * java/lang/Package.java
396 (getPackage): Get the current class loader directly.
397 * java/lang/SecurityManager.java
398 (currentLoadedClass): Dont iterate over class contexts.
399 (classLoaderDepth): Don't check class loaders if everything is allowed.
400
401 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
402
403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
404 (pre_event_handler): Set all insets to 0 when a Configure event
405 is received for a GtkPlug.
406 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
407 Make handle long, not int.
408 (EmbeddedWindow()): New constructor.
409 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
410 long, not int.
411 (setHandle): New method.
412 (getHandle): Return long, not int.
413 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
414 declaration.
415 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
416 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
417 (create(long)): Take long parameter, not int. Cast gtk_plug_new
418 argument to GdkNativeWindow.
419 (construct): New method.
420 (embed): New method.
421
422 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
423 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
424 (create(int, int)): New method.
425 (create): Call new create method.
426 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
427 methods.
428 (childResized): Remove native implementation. Implement in
429 Java.
430 (getHScrollbarHeight, getVScrollbarWidth): Call
431 gtk_widget_size_request to get scrollbar dimensions.
432 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
433 call getVScrollbarWidth and getHScrollbarHeight when vertical
434 and horizontal scrollbars respectively are needed.
435 (doLayout): Enlarge child if it is smaller than the viewport.
436
437 2004-01-05 Fernando Nasser <fnasser@redhat.com>
438
439 * java/awt/Dialog.java (constructor): Accept null title as per spec.
440 * java/awt/FileDialog.java (constructor): Throw exception on invalid
441 argument as per spec.
442
443 2004-01-05 Fernando Nasser <fnasser@redhat.com>
444
445 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
446 (insert): Ditto.
447 (remove): Ditto. Also, Check for valid argument.
448 (removeAll): Use peer interface method.
449 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
450 native add function.
451 (nativeRemove): New name for native remove function.
452 (getHistory): New native function.
453 (constructor): Generate ItemEvent.
454 (add): Ditto, if selection is changed.
455 (remove): Ditto, ditto.
456 (removeAll): Add implementation.
457 (handleEvent): Remove. Dead code.
458 (choicePostItemEvent): Add comment.
459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
460 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
461 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
462 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
463 comments and fix condition to change selection.
464 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
465 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
466 remove all capability.
467 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
468 (item_activate): Add cast to remove compiler warning.
469
470 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
471
472 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
473 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
474 (getPreferredSize): Call preferredSize.
475 (preferredSize): Call gtkWidgetGetPreferredDimensions.
476 (getMinimumSize): Call minimumSize.
477 (minimumSize): Call gtkWidgetGetPreferredDimensions.
478 (gtkWidgetGetDimensions): Return the peer widget's current size
479 request.
480 (gtkWidgetGetPreferredDimensions): Return the peer widget's
481 natural size request.
482
483 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
484
485 Thanks to Brian Gough <bjg@network-theory.com>
486 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
487 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
488
489 2004-01-04 Matthias Klose <doko@debian.org>
490
491 * aclocal.m4: Rebuilt using "aclocal -I .".
492 * configure: Rebuilt.
493
494 2004-01-03 Per Bothner <per@bothner.com>
495
496 * java/util/Date.java (parse): Fix a number of problems.
497 (skipParens): Remove no-longer-needed method.
498
499 2003-12-31 Michael Koch <konqueror@gmx.de>
500
501 * gnu/java/net/protocol/http/Connection.java
502 (sendRequest): Dont encode output in default character encoding,
503 add correct version number to HTTP user agent string.
504
505 2003-12-31 Graydon Hoare <graydon@redhat.com>
506
507 * configure.in: Add --enable-gtk-cairo check.
508 * configure: Regenerate.
509 * Makefile.am: Conditionally link against cairo.
510 * Makefile.in: Regenerate.
511 * acinclude.m4: Include PKG_CHECK_MODULES.
512 * aclocal.m4: Regenerate.
513 * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
514 (getFontMetrics, getClasspathFontPeer):
515 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
516 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
517 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
518 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
519 Switch behavior depending on GtkToolkit.useGraphics2D().
520 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
521 * java/awt/Font.java: Switch to peer model.
522 * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
523 * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h.
526
527 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
528
529 * java/io/ObjectOutputStream.java
530 (putFields): Reindented. Fixed behaviour: currentPutField should be
531 null
532 before calling this method.
533 (writeFields): Likewise.
534 (markFieldsWritten): Fixed the exception message.
535 (callWriteMethod): Ensure currentPutField is null.
536 (getBooleanField): Translate IllegalArgumentException into
537 InvalidClassException.
538 (getByteField): Likewise.
539 (getCharField): Likewise.
540 (getDoubleField): Likewise.
541 (getFloatField): Likewise.
542 (getIntField): Likewise.
543 (getLongField): Likewise.
544 (getShortField): Likewise.
545 (getObjectField): Check the type code before returning the object.
546 (getField): Translate NoSuchFieldException into InvalidClassException
547 directly.
548
549 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
550
551 * java/net/URL.java
552 (URL): Change context path to "/" if it is empty.
553
554 2003-12-31 Michael Koch <konqueror@gmx.de>
555
556 * testsuite/libjava.mauve/xfails: Removed tests that pass now:
557 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
558 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
559 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
560 (number 26)
561 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
562 (number 54)
563
564
565 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
566
567 * java/util/GregorianCalendar.java
568 (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
569 Fixed the computation of DAY_OF_WEEK_IN_MONTH.
570 (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
571
572 2003-12-30 Michael Koch <konqueror@gmx.de>
573
574 * testsuite/libjava.mauve/xfails: Removed the following testcase
575 because it passes now:
576 FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
577 (number 1)
578
579 2003-12-30 Michael Koch <konqueror@gmx.de>
580
581 * java/io/ObjectInputStream.java,
582 java/io/ObjectOutputStream.java,
583 java/io/ObjectStreamClass.java:
584 Reformated, no functional code changes.
585
586 2003-12-30 Michael Koch <konqueror@gmx.de>
587
588 * gnu/java/net/protocol/http/Connection.java
589 (outputStream): New field.
590 (bufferedOutputStream): New field.
591 (connect): Initialize outputStream and bufferedOutputStream.
592 (sendRequest): Create PrintWriter object from outputStream,
593 support HTTP 1.1, send missing HTTP headers and buffered output data
594 for POST method.
595 (getOutputStream): Set request method to POST if output stream is
596 used, return bufferedOutputStream.
597 (setRequestMethod): Allow HEAD and POST methods.
598 This fixes libgcj PR/6302 and libgcj PR/7752.
599
600 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
601
602 * java/io/LineNumberReader.java
603 (countLines): Removed.
604 (fill): New private method.
605 (mark): Changed logic to use and matchedNewLine.
606 (reset): Likewise.
607 (read): Likewise.
608 (skipRedundantLF): Likewise.
609
610 2003-12-30 Michael Koch <konqueror@gmx.de>
611
612 * gnu/java/net/protocol/http/Connection.java
613 (requestProperties): New field.
614 (addRequestProperty): New method.
615 (getRequestProperty): New method.
616 (setRequestProperty): New method.
617 (getRequestProperties): New method.
618
619 2003-12-28 Michael Koch <konqueror@gmx.de>
620
621 * gnu/java/net/protocol/http/Connection.java
622 (inputStream): Made it a DataInputStream.
623 (requestProperties): Removed.
624 (hdrHash): Removed.
625 (hdrVec): Removed.
626 (headers): New field to store headers.
627 (connect): Initialize inputStream.
628 (receiveReply): Merged from classpath. The new algorithm is line based
629 instead of character based.
630 (getHeaderField): Use headers.
631 (getHeaderFields): Use headers.
632 (getKey): Removed.
633 (getField): Removed.
634 * gnu/java/net/HeaderFieldHelper.java: New file.
635 * Makefile.am (ordinary_java_source_files):
636 Added gnu/java/net/HeaderFieldHelper.java.
637 * Makefile.in: Regenerated.
638
639 2003-12-28 Guilhem Lavaux <guilhem@kaffe.org>
640
641 * java/io/LineNumberReader.java
642 (mark): Improved error checking.
643 (read): Likewise.
644 (skip): Likewise. Skip is now really eating the specified number of
645 characters.
646 * java/io/CharArrayReader.java (read): It should throw
647 IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
648 mauve).
649 * java/io/BufferedReader.java (readLine): Make readLine() really block
650 until either EOF is reached or a true error happens.
651
652 2003-12-27 Michael Koch <konqueror@gmx.de>
653
654 * gnu/java/net/protocol/http/Connection.java
655 (getRequestProperty): Removed.
656 (setRequestProperty): Removed.
657
658 2003-12-27 Michael Koch <konqueror@gmx.de>
659
660 * gnu/java/net/protocol/http/Connection.java
661 (connect): Call receiveReply().
662 (receiveReply): Renamed from getHttpHeaders().
663 (getOutputStream): Moved check on doOutput before check for connection
664 state.
665
666 2003-12-27 Michael Koch <konqueror@gmx.de>
667
668 * javax/print/attribute/ResolutionSyntax.java,
669 javax/print/attribute/SetOfIntegerSyntax.java,
670 javax/print/attribute/Size2DSyntax.java,
671 javax/print/attribute/standard/Copies.java,
672 javax/print/attribute/standard/JobImpressions.java,
673 javax/print/attribute/standard/JobMediaSheets.java,
674 javax/print/attribute/standard/NumberOfDocuments.java,
675 javax/print/attribute/standard/NumberOfInterveningJobs.java,
676 javax/print/attribute/standard/PagesPerMinute.java,
677 javax/print/attribute/standard/PagesPerMinuteColor.java,
678 javax/print/attribute/standard/QueuedJobCount.java:
679 Fixed typo (s/then/than/).
680
681 2003-12-27 Guilhem Lavaux <guilhem@kaffe.org>
682
683 * java/rmi/Naming.java (lookup): Check if the first character of the
684 filename returned by URL.getFile() is a '/', only if it is the case
685 we cut this first character and call the registry with the good name.
686 (bind): Likewise.
687 (rebind): Likewise.
688
689 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
690 Mark Wielaard <mark@klomp.org>
691
692 * java/io/BufferedReader.java (BufferedReader):
693 Throw IllegalArgumentException when size <= 0.
694 (mark): Document and better exception message for negative
695 readLimit IllegalArgumentException.
696 (read(char[],int,int)): Throw IndexOutOfBoundsException
697 if offset and count are not valid regarding buf.
698 (skip): Throw IllegalArgumentException when count is negative.
699
700 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
701
702 * java/io/FileInputStream.java
703 (FileInputStream(String)): Call FileInputStream(File).
704 (FileInputStream(File)): Check whether the argument is a directory.
705
706 2003-12-26 Michael Koch <konqueror@gmx.de>
707
708 * Makefile.am (rmi_java_source_files):
709 Added gnu/java/rmi/server/RMIVoidValue.java.
710 * Makefile.in: Regenerated.
711
712 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
713 Mark Wielaard <mark@klomp.org>
714
715 * gnu/java/rmi/server/UnicastConnectionManager.java
716 (startScavenger): Set the client connection manager to daemon
717 state because it may block clients until TIMEOUT is reached
718 when they are exiting.
719
720 * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
721 a void return.
722
723 * gnu/java/rmi/server/UnicastRemoteCall.java
724 (DummyOutputStream): Add a boolean before each written field to
725 know whether it is a primitive.
726 (releaseOutputStream): Flush parameters at write time.
727
728 * gnu/java/rmi/server/UnicastServerRef.java
729 (incomingMessageCall): Return a RMIVoidValue if no value is to be
730 returned.
731
732 * gnu/java/rmi/server/UnicastServer.java
733 (incomingMessageCall): Do not write a returned object if it is
734 a RMIVoidValue.
735
736 2003-12-25 Andreas Tobler <a.tobler@schweiz.ch>
737
738 * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for
739 darwin. Fixed by fixinclude now.
740
741 2003-12-25 Michael Koch <konqueror@gmx.de>
742
743 * java/net/ServerSocket.java bind():
744 If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
745 address to bind to.
746
747 2003-12-23 Guilhem Lavaux <guilhem@kaffe.org>
748
749 * java/io/ObjectInputStream.java
750 (getField): Handle transient and non persistent fields.
751 (readClassDescriptor): Better error handling, use the right
752 class loader.
753 (readFields): Fields marked as not present in the stream
754 or not to be set are not read and set.
755 * java/io/ObjectInputStream.java
756 (readFields): Changed implementation of GetField.
757 (readClassDescriptor): Documented.
758 * java/io/ObjectOutputStream.java
759 (writeClassDescriptor): Added condition when to write class super
760 class information.
761
762 2003-12-22 Fernando Nasser <fnasser@redhat.com>
763
764 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
765 (choicePostItemEvent): Change signature to more specific String object.
766 * java/awt/Choice.java (add): Generate ItemEvent for the first item
767 added.
768 (insert): Generate ItemEvent if insertion caused
769 selection to change.
770 (remove): Generate ItemEvent if removal cause selection to change.
771 (removeAll): Change algorithm to prevent generation of ItemEvents.
772 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
773 (connect_choice_item_selectable_hook): Change argument type.
774 Fix argument value.
775 Make sure resources are feed by registering callback.
776 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
777 above function.
778 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
779 (item_activate): Ditto.
780 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
781 menuitem.
782 (item_removed): New function. Free resources.
783 * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
784 name.
785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
786 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
787 choicePostItemEvent.
788
789 2003-12-23 Michael Koch <konqueror@gmx.de>
790
791 * javax/print/attribute/standard/Copies.java,
792 javax/print/attribute/standard/JobImpressions.java,
793 javax/print/attribute/standard/JobMediaSheets.java,
794 javax/print/attribute/standard/JobPriority.java,
795 javax/print/attribute/standard/NumberOfDocuments.java,
796 javax/print/attribute/standard/NumberOfInterveningJobs.java,
797 javax/print/attribute/standard/NumberUp.java,
798 javax/print/attribute/standard/PagesPerMinuteColor.java,
799 javax/print/attribute/standard/PagesPerMinute.java,
800 javax/print/attribute/standard/QueuedJobCount.java: New files.
801 * Makefile.am (ordinary_java_source_files): Added new files.
802 * Makefile.in: Regenerated.
803
804 2003-12-23 Michael Koch <konqueror@gmx.de>
805
806 * javax/print/attribute/AttributeSetUtilities.java
807 (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
808 * javax/print/attribute/HashAttributeSet.java
809 (HashAttributeSet): Call internal add methods, added missing
810 exceptions.
811 (add): Call addInternal, added exceptions to documentation.
812 (addInternal): New method.
813 (addAll): Call addAllInternal, added exception to documentation.
814 (addAllInternal): New method.
815 (clear): Added exception to documentation.
816 (remove): Likewise.
817 * javax/print/attribute/URISyntax.java
818 (serialVersionUID): Fixed value.
819
820 2003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com>
821
822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
823 (pre_event_handler): Don't dereference NULL focus_obj_ptr.
824
825 2003-12-21 Michael Koch <konqueror@gmx.de>
826
827 * javax/print/attribute/AttributeSetUtilities.java,
828 javax/print/attribute/HashAttributeSet.java,
829 javax/print/attribute/HashDocAttributeSet.java,
830 javax/print/attribute/HashPrintJobAttributeSet.java,
831 javax/print/attribute/HashPrintRequestAttributeSet.java,
832 javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
833 * Makefile.am (ordinary_java_source_files): Added new files.
834 * Makefile.in: Regenerated.
835
836 2003-12-21 Michael Koch <konqueror@gmx.de>
837
838 * javax/print/attribute/EnumSyntax.java,
839 javax/print/attribute/SetOfIntegerSyntax.java: New files.
840 * Makefile.am (ordinary_java_source_files):
841 Added javax/print/attribute/EnumSyntax.java
842 and javax/print/attribute/SetOfIntegerSyntax.java.
843 * Makefile.in: Regenerated.
844
845 2003-12-21 Michael Koch <konqueror@gmx.de>
846
847 * javax/print/attribute/PrintJobAttribute.java,
848 javax/print/attribute/PrintJobAttributeSet.java,
849 javax/print/attribute/PrintRequestAttribute.java,
850 javax/print/attribute/PrintServiceAttribute.java,
851 javax/print/attribute/PrintServiceAttributeSet.java,
852 javax/print/attribute/SupportedValuesAttribute.java: New files.
853 * Makefile.am (ordinary_java_source_files): Added new files.
854 * Makefile.in: Regenerated.
855
856 2003-12-21 Michael Koch <konqueror@gmx.de>
857
858 * javax/print/attribute/DateTimeSyntax.java,
859 javax/print/attribute/DocAttribute.java,
860 javax/print/attribute/DocAttributeSet.java,
861 javax/print/attribute/IntegerSyntax.java,
862 javax/print/attribute/ResolutionSyntax.java,
863 javax/print/attribute/Size2DSyntax.java,
864 javax/print/attribute/TextSyntax.java,
865 javax/print/attribute/URISyntax.java,
866 javax/print/attribute/UnmodifiableSetException.java: New files.
867 * Makefile.am (ordinary_java_source_files): Added new files.
868 * Makefile.in: Regenerated.
869
870 2003-12-21 Michael Koch <konqueror@gmx.de>
871
872 * gnu/java/net/PlainDatagramSocketImpl.java
873 (mcastGrp): Added documentation.
874
875 2003-12-20 Michael Koch <konqueror@gmx.de>
876
877 * gnu/java/net/protocol/jar/Connection.java
878 (connectionCache): New field.
879 (connect): New method.
880 (getInputStream): New method.
881 (hdrHash): New field.
882 (hdrVec): New field.
883 (gotHeaders): New field.
884 (getHeaderField): New method.
885 (getHeaderFields): New method.
886 (getHeaderFieldKey): New method.
887 (getKey): New method.
888 (getField): New method.
889 (getHeaders): New method.
890 * java/net/JarURLConnection.java
891 (connectionCache): Removed.
892 (connect): Removed.
893 (getInputStream): Removed.
894 (hdrHash): Removed.
895 (hdrVec): Removed.
896 (gotHeaders): Removed.
897 (getHeaderField): Removed.
898 (getHeaderFields): Removed.
899 (getHeaderFieldKey): Removed.
900 (getKey): Removed.
901 (getField): Removed.
902 (getHeaders): Removed.
903
904 2003-12-20 Michael Koch <konqueror@gmx.de>
905
906 * java/io/ObjectStreamField.java (isUnshared): Added documentation.
907
908 2003-12-20 Mohan Embar <gnustuff@thisiscool.com>
909
910 * gnu/java/nio/SelectorImpl.java
911 (selectThreadMutex): New field.
912 (selectThread): New field.
913 (unhandledWakeup): New field.
914 (implCloseSelector): Added skeleton code which
915 synchronizes as per Sun JRE JavaDoc.
916 (keys): Throw ClosedSelectorException if selector
917 is closed.
918 (selectNow): Added comment that we're faking out
919 an immediate select with a one-microsecond-timeout one.
920 (select): Use 0 instead of -1 for infinite timeout.
921 (implSelect): Changed comment in declaration.
922 (select): Added synchronized to method declaration.
923 Added synchronization and wakeup support as per Sun
924 JRE JavaDoc.
925 (selectedKeys): Throw ClosedSelectorException if selector
926 is closed.
927 (wakeup): Implemented.
928 (deregisterCancelledKeys): Synchronize on cancelled key
929 set before deregistering.
930 (register): Synchronize on key set before registering.
931 * java/nio/channels/spi/AbstractSelector.java
932 Added import for java.nio.channels.ClosedSelectorException.
933 (close): Added synchronized to method declaration.
934 (cancelledKeys): Throw ClosedSelectorException if selector
935 is closed.
936 (cancelKey): Synchronize on cancelled key set before key.
937
938 2003-12-20 Michael Koch <konqueror@gmx.de>
939
940 * Makefile.am (ordinary_java_source_files):
941 Added gnu.java.net.URLParseError.java.
942 * Makefile.in: Regenerated.
943
944 2003-12-20 Guilhem Lavaux <guilhem@kaffe.org>
945
946 * gnu/java/net/URLParseError.java: New file.
947 * gnu/java/net/protocol/jar/Handler.java
948 (parseURL): Throw URLParseError if needed, fix '/' handling.
949 * java/net/URL.java (URL): Catch URLParseError and
950 transform it into a MalformedURLException.
951
952 2003-12-19 Michael Koch <konqueror@gmx.de>
953
954 * gnu/java/nio/ChannelOutputStream.java: New file.
955 * java/nio/channels/Channels.java
956 (newOutputStream): Implemented.
957 * Makefile.am (ordinary_java_source_files)
958 Added gnu/java/nio/ChannelOutputStream.java.
959 * Makefile.in: Regenerated.
960
961 2003-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
962
963 * java/awt/FlowLayout.java (layoutContainer): Let components
964 assume their preferred height. Centre components vertically.
965
966 2003-12-19 Michael Koch <konqueror@gmx.de>
967
968 * gnu/java/nio/ChannelInputStream.java: New file.
969 * java/nio/channels/Channels.java (newInputStream): Implemented.
970 * java/nio/channels/FileChannelImpl.java
971 (readImpl): Only put data into buffer if something was read.
972 * Makefile.am (ordinary_java_source_files):
973 Added gnu/java/nio/ChannelInputStream.java.
974 * Makefile.in: Regenerated.
975
976 2003-12-19 Michael Koch <konqueror@gmx.de>
977
978 * gnu/java/nio/OutputStreamChannel.java: New file.
979 * java/nio/channels/Channels.java (newChannel): Implemented.
980 * Makefile.am (ordinary_java_source_files):
981 Added gnu/java/nio/OutputStreamChannel.java.
982 * Makefile.in: Regenerated.
983
984 2003-12-19 Michael Koch <konqueror@gmx.de>
985
986 * Makefile.am (ordinary_java_source_files):
987 Added gnu.java.nio.InputStreamChannel.
988 * Makefile.in: Regenerated.
989
990 2003-12-19 Michael Koch <konqueror@gmx.de>
991
992 * gnu/java/nio/InputStreamChannel.java: New file.
993 * java/nio/channels/Channels.java (newChannel): Implemented.
994
995 2003-12-19 Michael Koch <konqueror@gmx.de>
996
997 * java/util/SimpleTimeZone.java
998 (setStartRule): Reformated documentation.
999 (setEndRule): Reworked documentation.
1000 (getDSTSavings): Fixed @since tag.
1001 (setDSTSavings): New method.
1002
1003 2003-12-19 Michael Koch <konqueror@gmx.de>
1004
1005 * java/text/NumberFormat.java: Sorted imports.
1006 (getCurrency): New method.
1007 (setCurrency): New method.
1008
1009
1010 2003-12-19 Michael Koch <konqueror@gmx.de>
1011
1012 * java/text/MessageFormat.java
1013 (MessageFormat): New constructor.
1014
1015 2003-12-19 Michael Koch <konqueror@gmx.de>
1016
1017 * gnu/java/net/protocol/jar/Handler.java
1018 (parseURL): New method.
1019 (toExternalForm): New method.
1020
1021 2003-12-18 Fernando Nasser <fnasser@redhat.com>
1022
1023 * java/awt/List.java (replaceItem): Prevent selection to move with
1024 replace and minimize flickering.
1025
1026 2003-12-18 Michael Koch <konqueror@gmx.de>
1027
1028 * libltdl/ltdl.c: Define __private_extern__ if needed.
1029
1030 2003-12-18 Michael Koch <konqueror@gmx.de>
1031
1032 * libltdl/.cvsignore: Ignore autom4te.cache
1033 * libltdl/Makefile.in: Regenerated.
1034 * libltdl/aclocal.m4: Regenerated.
1035 * libltdl/acconfig.h: Removed (obsolete).
1036 * libltdl/config-h.in: Regenerated.
1037 * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
1038 * libltdl/configure: Regenerated.
1039
1040 2003-12-18 Michael Koch <konqueror@gmx.de>
1041
1042 * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
1043 java.text.CollationElementIterator tests as they compile again.
1044 * testsuite/libjava.mauve/xfails: Added failing
1045 java.text.CollationElementIterator tests.
1046
1047 2003-12-18 Michael Koch <konqueror@gmx.de>
1048
1049 * java/util/prefs/AbstractPreferences.java
1050 (cachedChildren): New method.
1051
1052 2003-12-18 Michael Koch <konqueror@gmx.de>
1053
1054 * java/util/TimeZone.java (getOffset): New method.
1055
1056 2003-12-17 Fernando Nasser <fnasser@redhat.com>
1057
1058 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1059 of ActionEvents for mouse double-clicks.
1060
1061 2003-12-17 Fernando Nasser <fnasser@redhat.com>
1062
1063 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
1064 null Graphics pointer returned by FileDialogPeer.
1065
1066 2003-12-17 Michael Koch <konqueror@gmx.de>
1067
1068 * libltdl/stamp-h.in: Removed, not used anymore.
1069
1070 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
1071
1072 * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
1073 Removed unused InterruptedIOException.h include.
1074 * gnu/java/net/natPlainSocketImplWin32.cc
1075 (connect): Reset and ignore our thread's interrupted
1076 flag instead of testing and throwing an InterruptedIOException
1077 if set.
1078 (accept): Likewise + changed case of SocketTimeoutException
1079 text.
1080 (write): Likewise (for both overloads).
1081 (doRead): Likewise.
1082
1083 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
1084
1085 * win32.cc (WSAEventWrapper): Implemented default
1086 constructor and init() methods.
1087 (_Jv_select): Removed.
1088 * gnu/java/nio/natSelectorImplWin32.cc
1089 (helper_put_filedescriptors): Removed.
1090 (helper_get_filedescriptors): Removed.
1091 (implSelect): Implemented in terms of WSAEventWrapper
1092 and WSAWaitForMultipleEvents instead of _Jv_select().
1093 Added support for thread interruption.
1094 * include/win32.h (WSAEventWrapper): Minor formatting
1095 changes; added default constructor declaration, init(),
1096 getFD() and getEventHandle() methods.
1097 (_Jv_select): Removed.
1098
1099 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
1100
1101 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1102 (peekData): Throw SocketTimeoutException instead of
1103 InterruptedIOException on timeout.
1104 (receive): Likewise.
1105 * gnu/java/net/natPlainSocketImplPosix.cc
1106 (read): Made a minor exception text case change.
1107
1108 2003-12-16 Michael Koch <konqueror@gmx.de>
1109
1110 Fix for PR libgcj/13056.
1111 * libltdl/configure.in,
1112 libltdl/config.h.in: Removed.
1113 * libltdl/configure.ac,
1114 libltdl/config-h.in,
1115 libltdl/install-sh,
1116 libltdl/config.guess,
1117 libltdl/config.sub,
1118 libltdl/missing,
1119 libltdl/mkinstalldirs,
1120 libltdl/ltmain.sh: New files.
1121 * libltdl/Makefile.am,
1122 libltdl/acinclude.m4,
1123 libltdl/aclocal.m4,
1124 libltdl/ltdl.c,
1125 libltdl/ltdl.h,
1126 libltdl/README: Update to versions from libtool 1.5.
1127 libltdl/configure,
1128 * libltdl/Makefile.in: Regenerated.
1129 * java/lang/natRuntime.cc (find_symbol):
1130 Use type 'lt_ptr' instead of 'lt_ptr_t'.
1131
1132 2003-12-16 Michael Koch <konqueror@gmx.de>
1133
1134 * java/awt/MenuComponent.java
1135 (serialVersionUID): Fixed value.
1136
1137 2003-12-16 Fernando Nasser <fnasser@redhat.com>
1138
1139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1140 (pre_event_handler): Handle GtkButton widgets differently as events
1141 go to its event_window.
1142 (connect_awt_hook): Remove compiler warning.
1143
1144 i2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1145
1146 * java/io/ObjectInputStream.java
1147 (lookupClass): New method.
1148 (currentLoader): New method.
1149 (inputGetObjectStreamClasses): New method.
1150 (assignNewHandle): Documented.
1151 (currentClassLoader): Documented.
1152 * java/io/ObjectStreamClass.java
1153 (setClass): Changed API. Better handling of the imported/exported
1154 fields.
1155 (getSerialPersistentFields): Make it throw previously caught exceptions
1156 so they can handled in setClass.
1157
1158 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1159
1160 * java/io/ObjectStreamField.java: A few methods were added in prevision
1161 of the upcoming upgrade of the serialization code. This also adds
1162 some missing documentation.
1163 (ObjectStreamField): We should throw a NullPointerException when 'name'
1164 is null.
1165
1166 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1167
1168 * java/io/ObjectInputStream.java (setBooleanField):
1169 Throw an InvalidClassException if the field hasn't the required type,
1170 documentation added.
1171 (setByteField) Likewise.
1172 (setCharField) Likewise.
1173 (setDoubleField) Likewise.
1174 (setFloatField) Likewise.
1175 (setIntField) Likewise.
1176 (setShortField) Likewise.
1177 (setLongField) Likewise.
1178 (setObjectField) Likewise.
1179
1180 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1181 Helmer Kraemer <hkraemer@freenet.de>
1182
1183 * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1184 Splitted the method so we can specify an explicit boot loader.
1185
1186 2003-12-15 Graydon Hoare <graydon@redhat.com>
1187
1188 * jni/gtk-peer/gdkfont.h: New file.
1189 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1190 include of cairo-xlib.h, add extra gdk_flush().
1191
1192 2003-12-12 Fernando Nasser <fnasser@redhat.com>
1193
1194 * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1195 native state table -- native_global_ref_table.
1196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1197 native_global_ref_table pointer.
1198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1199 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1200 global reference is deleted and memory allocated for pointer freed.
1201 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1202 JNI global reference instead of JNI local reference.
1203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1204 (pre_event_handler): Remove compilation warning.
1205 (connect_awt_hook): Use saved JNI global reference instead of creating
1206 a new one.
1207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1208 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1209 reference to the Java object.
1210 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1211 unused variable declaration and add comment.
1212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1213 (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1214 reference to the Java object.
1215 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1216 (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1218 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1219 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1220 JNI global reference instead of JNI local reference.
1221 (item_toggled): Add debug statement.
1222 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1223 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1224 reference to the Java object.
1225 (connect_choice_item_selectable_hook): Use saved JNI global references
1226 instead of JNI local reference.
1227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1228 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1229 global reference to the Java object.
1230 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1231 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1232 reference to the Java object.
1233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1234 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1235 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1236 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1238 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1239 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1240 (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1241 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1242 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1243 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1244 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1246 (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1247 (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1248 JNI global reference instead of JNI local reference.
1249 (item_selected): Add debug statement.
1250 (item_unselected): Add debug statement.
1251 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1252 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1253 reference to the Java object.
1254 Connect "activate" signal handler using global JNI reference.
1255 (connect_activate_hook): Removed in favor of inline code.
1256 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1257 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1258 reference to the Java object.
1259 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1260 JNI global reference instead of JNI local reference. Add FIXME comment.
1261 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1262 reference to the Java object. Add FIXME comment.
1263 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1264 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1265 reference to the Java object.
1266 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1267 JNI global reference instead of JNI local reference.
1268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1269 (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1270 saved JNI global reference instead of JNI local reference.
1271 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1272 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1273 reference to the Java object.
1274 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1275 JNI global reference instead of JNI local reference.
1276
1277 2003-12-11 Michael Koch <konqueror@gmx.de>
1278
1279 * java/text/Format.java (serialVersionUID): Fixed value.
1280
1281 2003-12-11 Michael Koch <konqueror@gmx.de>
1282
1283 * javax/naming/event/EventDirContext.java: Jalopied.
1284 (addNamingListener): Fixed typo in method name.
1285
1286
1287 2003-12-11 Mohan Embar <gnustuff@thisiscool.com>
1288
1289 * gnu/java/nio/SocketChannelImpl.java
1290 (write): Removed diagnostic trace.
1291 * gnu/java/nio/natSelectorImplPosix.cc: Added
1292 includes for java.lang.Thread and java.io.InterruptedIOException.
1293 (helper_put_filedescriptors): Don't put invalid file descriptors
1294 in select set.
1295 (helper_get_filedescriptors): Clear invalid file descriptors
1296 from select set.
1297 (helper_reset): New method for clearing our file descriptor
1298 array.
1299 (implSelect): Correctly calculate timeout if specified and
1300 legal.
1301 Intercept and deal with any java.io.InterruptedIOException
1302 thrown by _Jv_select().
1303
1304 2003-12-08 Fernando Nasser <fnasser@redhat.com>
1305
1306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1307 Most coded moved to pre_event_handler, with the modifications
1308 mentioned below.
1309 (pre_event_handler): New function. Called on the Gtk "event" signal.
1310 Do not retrieve the jobject from the window property as it is already
1311 available as user data in the signal.
1312 Do not try and find the grab widget as it is already done by Gtk at
1313 this point.
1314 Do not search for Window ancestor as Gtk already sends the signal to it.
1315 Do not meddle with the activation state of peer widgets on each
1316 key press or release.
1317 Add CList to the special handling when looking for the focused widget.
1318 * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1320 New function.
1321 (connectSignals): New function.
1322 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1323 Rename to...
1324 (connectSignals): New name. Get rid of NewGlobalRef call.
1325 Use g_signal_connect instead of deprecated gtk_signal_connect.
1326 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1327 (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1328 deprecated gtk_signal_connect.
1329 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1332 (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1334 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1335 function.
1336 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1337 function.
1338 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1339 function.
1340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1341 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1342 function.
1343 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1344 function.
1345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1346 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1347 function.
1348 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1349 function.
1350 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1351 function.
1352 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1353 code.
1354 (item_select): Remove indirection.
1355 (item_unselect): Ditto.
1356 (connect_selectable_hook): Folded into connectSignals.
1357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1358 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1359 function.
1360 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1361 function.
1362 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1363 function.
1364 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1365 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1367 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1368 function.
1369 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1370 function.
1371 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare and call
1372 connectJObject and connectSignals instead of connectHooks.
1373 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1374 connectSignals.
1375 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1376 and not connectHooks.
1377 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1378 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1379 and not connectHooks.
1380 * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1381 connectSignals instead of connectHooks.
1382 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1383 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1384 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto.
1385
1386 2003-12-09 Michael Koch <konqueror@gmx.de>
1387
1388 * Makefile.am (nat_headers_install): New variable with header files to
1389 install automatically.
1390 (install-data-local): Install all headers listed in
1391 nat_headers_install. Install innert nat headers explicitely.
1392 * Makefile.in: Regenerated.
1393
1394 2003-12-09 Michael Koch <konqueror@gmx.de>
1395
1396 * java/util/Calendar.java,
1397 java/util/IdentityHashMap.java,
1398 java/util/prefs/Preferences.java:
1399 Import used classes explicitely.
1400
1401 2003-12-09 Michael Koch <konqueror@gmx.de>
1402
1403 * java/net/DatagramSocket.java
1404 (close): Directly return if socket is closed.
1405 * java/net/ServerSocket.java
1406 (close): Directly return if socket is closed.
1407 * java/net/Socket.java
1408 (close): Directly return if socket is closed.
1409
1410 2003-12-09 Michael Koch <konqueror@gmx.de>
1411
1412 * gnu/java/nio/SelectorImpl.java
1413 (implSelect): Throws IOException.
1414 (select): Likewise.
1415
1416 2003-12-08 Kim Ho <kho@redhat.com>
1417
1418 Fix for Checkbox states.
1419 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1420 (currentState): New field.
1421 (nativeCreate): Add initial state parameter.
1422 (create): Changed to reflect new parameter.
1423 (setState): Fire only on changed states.
1424 (postItemEvent): Fire only on changed states. Also change the
1425 Java Checkbox to reflect new state.
1426 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1427 (nativeCreate): Add parameter and set active state.
1428
1429 2003-12-08 Fernando Nasser <fnasser@redhat.com>
1430
1431 * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1432 object of type expected by specified DataFlavor.
1433
1434 2003-12-08 Fernando Nasser <fnasser@redhat.com>
1435
1436 * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1437 error which was clipping off the first character of a parameter value.
1438
1439 2003-12-08 Olga Rodimina <rodimina@redhat.com>
1440
1441 * java/awt/Polygon.java
1442 (translate): Fixed error that caused polygon
1443 to move right/left when up/down translation was required.
1444 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1445 (getSelectionStart): Initialized start position to 0.
1446 (getSelectionEnd): Initialized end position to 0.
1447 (getCaretPosition): Initialized caret position to 0.
1448 (getText): Initialized selected text to NULL
1449
1450 2003-12-08 Michael Koch <konqueror@gmx.de>
1451
1452 Fix for PR libgcj/13176.
1453 * java/io/PrintStream.java: Partly revert my previous patches to get
1454 (line_separator): New field.
1455 (converter): New field.
1456 (work): New field.
1457 (work_bytes): New field.
1458 (pw): Removed.
1459 (closed): Removed.
1460 (PrintStrean): Initialize converter and not pw.
1461 (checkError): Flush always, pw doesn't exist anymore.
1462 (close): Close underlying out stream.
1463 (print): New method.
1464 (writeChars): New method.
1465 (print): Use new internal print method.
1466 (println): Likewise.
1467
1468 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
1469
1470 * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1471 putAllInternal.
1472 (putAllInternal): Correct comment.
1473 * java/util/HashMap.java (HashMap(Map)): As above.
1474 (putAllInternal): As above.
1475
1476 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
1477
1478 * java/util/Hashtable.java (internalContainsValue): Removed.
1479 (containsValue): Don't delegate to internalContainsValue.
1480
1481 2003-12-06 Michael Koch <konqueror@gmx.de>
1482
1483 * javax/naming/directory/Attribute.java,
1484 javax/naming/directory/Attributes.java,
1485 javax/naming/directory/DirContext.java,
1486 javax/naming/directory/InitialDirContext.java,
1487 javax/naming/directory/SearchResult.java,
1488 javax/naming/event/EventContext.java,
1489 javax/naming/event/NamingEvent.java,
1490 javax/naming/event/NamingExceptionEvent.java,
1491 javax/naming/ldap/ControlFactory.java,
1492 javax/naming/ldap/ExtendedRequest.java,
1493 javax/naming/ldap/HasControls.java,
1494 javax/naming/ldap/InitialLdapContext.java,
1495 javax/naming/ldap/LdapContext.java,
1496 javax/naming/ldap/LdapReferralException.java,
1497 javax/naming/ldap/UnsolicitedNotification.java,
1498 javax/naming/ldap/UnsolicitedNotificationListener.java,
1499 javax/naming/spi/DirObjectFactory.java,
1500 javax/naming/spi/DirStateFactory.java,
1501 javax/naming/spi/DirectoryManager.java,
1502 javax/naming/spi/NamingManager.java,
1503 javax/naming/spi/ObjectFactoryBuilder.java,
1504 javax/naming/spi/ResolveResult.java,
1505 javax/naming/spi/Resolver.java,
1506 javax/naming/spi/StateFactory.java:
1507 Import used classes explicitely.
1508
1509 2003-12-05 Scott Gilbertson <scottg@mantatest.com>
1510
1511 * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1512 (clip): Removed field
1513 (clipRectangles): New field.
1514 (clone): Use new updateClip.
1515 (setClipRectangles): Use new updateClip.
1516 * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1517
1518 2003-12-04 Michael Koch <konqueror@gmx.de>
1519
1520 * java/io/FilePermission.java:
1521 Import used classes explicitely.
1522
1523 2003-12-04 Michael Koch <konqueror@gmx.de>
1524
1525 * java/beans/BeanDescriptor.java,
1526 java/beans/EventSetDescriptor.java,
1527 java/beans/FeatureDescriptor.java,
1528 java/beans/IndexedPropertyDescriptor.java,
1529 java/beans/Introspector.java,
1530 java/beans/MethodDescriptor.java,
1531 java/beans/PropertyDescriptor.java,
1532 java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1533 * java/beans/beancontext/BeanContextServicesSupport.java
1534 (serialVersionUID): New field.
1535
1536 2003-12-04 Michael Koch <konqueror@gmx.de>
1537
1538 * java/awt/MenuComponent.java: Import java.io.Serialization.
1539 * java/awt/MenuItem.java: Likewise.
1540 * java/awt/TextComponent.java: Likewise.
1541 * java/awt/image/ImagingOpException.java
1542 (serialVersionUID): Fixed.
1543
1544 2003-12-04 Michael Koch <konqueror@gmx.de>
1545
1546 * gnu/java/net/protocol/http/Connection.java
1547 (sendRequest): Merged writing http headers with classpath.
1548 (getInputStream): Merged documentation from classpath.
1549 (getHeaderField): Likewise.
1550 (getHeaderFieldKey): Likewise.
1551
1552 2003-12-04 Michael Koch <konqueror@gmx.de>
1553
1554 * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1555
1556 2003-12-04 Michael Koch <konqueror@gmx.de>
1557
1558 * java/net/DatagramPacket.java
1559 (length): Made packge-private to make it accessible via CNI.
1560 (maxlen): New field.
1561 (DatagramPacket): Cleaned up.
1562 (setSocketAddress): Add message to exception.
1563 (setData): Call other setData().
1564 (setData): Call setLength().
1565 (setLength): Initialize maxlen too.
1566 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1567 Get maximal length from maxlen field, set length field directly.
1568 (receive): Likewise.
1569 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1570 Get maximal length from maxlen field, set length field directly.
1571 (receive): Likewise.
1572
1573 2003-12-03 Mohan Embar <gnustuff@thisiscool.com>
1574
1575 * gnu/java/nio/natSelectorImplPosix.cc
1576 (implSelect): A timeout of 0 means an infinite
1577 timeout.
1578
1579 2003-12-02 Fernando Nasser <fnasser@redhat.com>
1580
1581 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1582 of ActionEvents.
1583
1584 2003-12-03 Michael Koch <konqueror@gmx.de>
1585
1586 * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1587 * java/lang/natClass.cc (getSigners): Likewise.
1588 (setSigners): Likewise.
1589
1590 2003-12-02 Mohan Embar <gnustuff@thisiscool.com>
1591
1592 * configure.in: Added new MinGW-specific configure flag
1593 --with-win32-nlsapi.
1594 Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1595 Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1596 is set to unicows.
1597 * configure: Rebuilt.
1598 * include/config.h.in: Rebuilt.
1599 * win32.cc (_Jv_Win32NewString): Implemented.
1600 (nativeToUnicode): New helper function defined only for
1601 non-UNICODE builds.
1602 (unicodeToNative): Likewise.
1603 (_Jv_Win32TempString): Implemented.
1604 (lots): Refactored using tchar.h macros.
1605 (WSAEventWrapper): Use _Jv_Win32NewString.
1606 (_Jv_platform_initialize): Use GetModuleFileNameA instead
1607 of GetModuleFileName.
1608 (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1609 Use temporary stack buffer instead of a heap buffer.
1610 * include/win32.h
1611 Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1612 defined; added tchar.h include.
1613 (_Jv_Win32TempString): Declared new helper class.
1614 (JV_TEMP_STRING_WIN32): New helper macro.
1615 (_Jv_Win32NewString): Declared new helper method.
1616 * java/io/natFileDescriptorWin32.cc (open): Use
1617 JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1618 (write): Reformatted slightly.
1619 * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1620 use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1621 (getCanonicalPath): Use _Jv_Win32NewString instead of
1622 JvNewStringUTF.
1623 (performList): Likewise.
1624 * java/lang/natWin32Process.cc (ChildProcessPipe):
1625 Use tchar.h macros.
1626 (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1627 and UNICODE environment flag for CreateProcess.
1628 * java/net/natNetworkInterfaceWin32.cc
1629 (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1630 _Jv_Win32NewString.
1631
1632 2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1633
1634 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1635 (initState): Mark obj parameter as unused.
1636 (stringWidth): Mark obj parameter as unused. Initialize
1637 font_name properly.
1638
1639 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1640 BufferedImageBuilder class static.
1641
1642 2003-12-02 Mark Wielaard <mark@klomp.org>
1643
1644 * java/security/Security.java: Don't use &nbsp; in the api doc.
1645
1646 2003-12-02 Dalibor Topic <robilad@kaffe.org>
1647
1648 Reported by: Jim Pick <jim@kaffe.org>
1649 * libraries/javalib/java/util/Hashtable.java
1650 (internalcontainsValue): New method.
1651 (contains): Delegate to internalContainsValue.
1652
1653 Reported by: Mark Wielaard <mark@klomp.org>
1654 * libraries/javalib/java/util/Hashtable.java
1655 (contains): Improved comment.
1656
1657 Reported by: Jeroen Frijters <jeroen@frijters.net>
1658 * libraries/javalib/java/util/Hashtable.java
1659 (containsValue): Delegate to contains(Object) to make sure older
1660 code overwriting it continues to work.
1661
1662 2003-12-02 Fernando Nasser <fnasser@redhat.com>
1663
1664 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1665 method. Handle mouse and key events that must generate
1666 ActionEvents.
1667 * java/awt/List.java (getSelectedIndex): Return -1
1668 if no list element is selected.
1669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1670 Correct handling of mouse and key events so that List receives them.
1671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1672 (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1673 multiple list elements.
1674
1675 2003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
1676
1677 * java/text/SimpleDateFormat.java (compileFormat):
1678 isLowerCase() and isUpperCase() allow too many characters.
1679 Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1680
1681 2003-12-02 Dalibor Topic <robilad@kaffe.org>
1682
1683 * java/text/FieldPosition.java (equals): Fixed comment.
1684
1685 2003-12-02 Mark Wielaard <mark@klomp.org>
1686
1687 Reported by Archie Cobbs:
1688 * java/security/DigestInputStream.java (read(byte[], int, int): Call
1689 digest.update() with temp, not len as lenght.
1690
1691 2003-12-02 Michael Koch <konqueror@gmx.de>
1692
1693 * java/net/DatagramSocket.java
1694 (close): Close associated DatagramChannel object.
1695 * java/net/ServerSocket.java
1696 * java/net/Socket.java
1697 (close): Reset impl and bound before calling getChannel().close() to
1698 prevent from loops.
1699
1700 2003-12-02 Michael Koch <konqueror@gmx.de>
1701
1702 * java/nio/channels/spi/AbstractInterruptibleChannel.java
1703 (opened): Removed.
1704 (closed): New field.
1705 (close): Check of channel is closed already.
1706 (isOpen): Return !closed.
1707
1708 2003-12-02 Michael Koch <konqueror@gmx.de>
1709
1710 * gnu/java/nio/DatagramChannelImpl.java
1711 (blocking): Initialize with true by default.
1712 * gnu/java/nio/ServerSocketChannelImpl.java
1713 (serverSocket): Made private.
1714 (blocking): Likewise.
1715 (connected): Likewise.
1716 * gnu/java/nio/SocketChannelImpl.java
1717 (connectionPending): Made private.
1718 * gnu/java/nio/FileLockImpl.java
1719 (static): Load native library (needed for classpath).
1720 * gnu/java/nio/SelectorImpl.java
1721 (static): Load native library (needed for classpath).
1722
1723 2003-12-02 Michael Koch <konqueror@gmx.de>
1724
1725 * gnu/java/net/protocol/file/Connection.java
1726 (getLastModified): Implement for file connections.
1727 (getContentLength): Likewise.
1728
1729 2003-12-02 Michael Koch <konqueror@gmx.de>
1730
1731 * gnu/java/net/protocol/file/Connection.java:
1732 Some reformating.
1733 (file): Renamed from fileIn.
1734 (getPermission): Moved around.
1735
1736 2003-12-02 Michael Koch <konqueror@gmx.de>
1737
1738 * gnu/java/net/protocol/jar/Connection.java
1739 (Connection): Made class final, merged documentation with classpath.
1740 (file_cache): Made private.
1741 (jar_file): Renamed from jarfile.
1742
1743 2003-12-02 Michael Koch <konqueror@gmx.de>
1744
1745 * gnu/java/net/protocol/http/Connection.java
1746 (Connection): Initialize doOutput to false;
1747 (connect): Initialize inputStream, moved "send request" code to new
1748 method.
1749 (sendRequest): New method.
1750 (getHttpHeaders): Don't reinitialize inputStream.
1751
1752 2003-12-02 Michael Koch <konqueror@gmx.de>
1753
1754 * gnu/java/net/protocol//http/Connection.java
1755 (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1756 (requestProperties): Initialize, documentation added.
1757 (inputStream): Renamed from bufferedIn.
1758 (Connection): Dont initialize requestProperties.
1759 (setDefaultRequestProperty): Removed.
1760 (getDefaultRequestProperty): Removed.
1761 (usingProxy): Documentation added.
1762 (getHttpHeaders): Likewise.
1763
1764 2003-12-02 Michael Koch <konqueror@gmx.de>
1765
1766 * java/text/DateFormat.java:
1767 Explicitely import used classes.
1768
1769 2003-12-01 Jeff Sturm <jsturm@one-point.com>
1770
1771 * verify.cc (state::clean_subrs): Clear seen_subrs.
1772 (state::copy): Walk seen_subrs from copy, not `this'.
1773 Don't clear seen_subrs.
1774
1775 2003-12-01 Kim Ho <kho@redhat.com>
1776
1777 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1778 Disable wrapping if TextArea has horizontal scroll bars.
1779
1780 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1781
1782 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1783 (awt_event_handler): Hard-code inset values.
1784
1785 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1786 Pass font name, not XLFD, to initState.
1787 (stringWidth(String, int, String)): New method.
1788 (stringWidth(String)): Call new stringWidth.
1789 (getLeading): Always return 0.
1790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1791 (initState): New Pango implementation.
1792 (stringWidth): Likewise.
1793
1794 2003-12-01 Olga Rodimina <rodimina@redhat.com>
1795
1796 * java/awt/TextComponent.java:
1797 (getSelectionStart): Updated javadocs.
1798 (getSelectionEnd): Ditto.
1799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1800 (getSelectionStart): Changed to return caret position if no
1801 text is selected
1802 (getSelectionEnd): Ditto.
1803
1804 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1805
1806 * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1807 gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1808 gnu/awt/gtk/GtkContainerPeer.java,
1809 gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1810 gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1811 gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1812 gnu/awt/gtk/natGtkComponentPeer.cc,
1813 gnu/awt/gtk/natGtkContainerPeer.cc,
1814 gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1815 gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1816 gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1817
1818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1819 (closed): Mark loader parameter as unused.
1820
1821 2003-12-01 Michael Koch <konqueror@gmx.de>
1822
1823 * gnu/java/net/protocol/http/Connection.java
1824 (Connection): Merged class documentation.
1825 (socket): Renamed from sock.
1826 (Connection): Made protected, documentation added.
1827 (connect): Give URL'S host instead of InetAddress to Socket
1828 constructor.
1829 (disconnect): Documentation added.
1830 (getOutputStream): Rewrapped.
1831
1832 2003-12-01 Michael Koch <konqueror@gmx.de>
1833
1834 * gnu/java/net/protocol/file/Connection.java
1835 (fileIn): Documentation added.
1836 (inputStream): Likewise.
1837 (outputStream): Likewise.
1838 (Connection): Likewise.
1839 (connect): Simplified.
1840
1841 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1842
1843 * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1844 setProperties): Check that io is not null before calling
1845 io.imageUpdate.
1846 * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1847 Update javadocs.
1848 * java/awt/image/PixelGrabber.java: Fix implementation and
1849 update javadocs.
1850
1851 2003-12-01 Michael Koch <konqueror@gmx.de>
1852
1853 * gnu/java/net/natPlainSocketImplPosix.cc
1854 bind(): Dont set SockedImpl.address field on succesful bind.
1855 * gnu/java/net/natPlainSocketImplWin32.cc
1856 bind(): Likewise.
1857
1858 2003-11-30 Jeff Sturm <jsturm@one-point.com>
1859
1860 * java/net/InetAddress.java:
1861 (static): Don'f force DNS request for ANY_IF address.
1862
1863 2003-11-30 Michael Koch <konqueror@gmx.de>
1864
1865 * java/net/InetAddress.java,
1866 java/net/natInetAddressNoNet.cc,
1867 java/net/natInetAddressPosix.cc,
1868 java/net/natInetAddressWin32.cc:
1869 Reverted my last patch.
1870
1871 2003-11-28 Michael Koch <konqueror@gmx.de>
1872
1873 * java/net/InetAddress.java
1874 (lookup): New method that doesnt lookup "0.0.0.0".
1875 (ImplLookup): Renamed from lookup.
1876 * java/net/natInetAddressNoNet.cc
1877 (ImplLookup): Renamed from lookup.
1878 * java/net/natInetAddressPosix.cc
1879 (ImplLookup): Renamed from lookup.
1880 * java/net/natInetAddressWin32.cc
1881 (ImplLookup): Renamed from lookup.
1882
1883 2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1884
1885 * configure: Rebuilt.
1886 * configure.in: Require gtk and glib 2.2.0.
1887
1888 2003-11-27 Dalibor Topic <robilad@kaffe.org>
1889
1890 * java/text/FieldPosition.java (equals): Adapted to handle
1891 field_attribute. Added fast-circuit check for comparison to self.
1892 Replaced use of instanceof by getClass to fix symmetry for derived
1893 types.
1894 (toString): Adapted to handle field_attribute. Improved readability.
1895 (hashCode): New method.
1896
1897 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1898
1899 * java/text/FieldPosition.java (field_attribute): New field.
1900 (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1901 getFieldAttribute): New methods.
1902
1903 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1904
1905 * java/text/DecimalFormatSymbols.java (locale): New field.
1906 (DecimalFormatSymbols (Locale)): Set locale.
1907 (serialVersionOnStream): Upgraded to number 2.
1908 (readObject): Assign locale if it wasn't by the serializer.
1909
1910 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1911
1912 * java/text/FormatCharacterIterator.java: Documented the class and
1913
1914 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1915
1916 * java/text/FormatCharacterIterator.java: Fixed some typos.
1917
1918 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1919
1920 * java/text/NumberFormat.java:
1921 (getIntegerInstance) Added the java version in the comments.
1922
1923 2003-11-27 Mark Wielaard <mark@klomp.org>
1924
1925 * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1926 (readResolve): Reformat.
1927
1928 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
1929
1930 * java/text/NumberFormat.java
1931 (NumberFormat.Field): New implemented class to match Java 1.4.
1932 (getIntegerInstance): Two new Java 1.4 methods.o
1933
1934 2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1935
1936 * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1937 the leap day of the leap year twice.
1938 (computeFields): First week of month is 1 not 0.
1939
1940 2003-11-27 Mark Wielaard <mark@klomp.org>
1941
1942 * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1943 AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1944
1945 2003-11-27 Michael Koch <konqueror@gmx.de>
1946
1947 * javax/swing/UIDefaults.java:
1948 Reformated to match classpath's version.
1949
1950 2003-11-27 Sascha Brawer <brawer@dandelis.ch>
1951
1952 * javax/swing/UIManager.java (getDefaults, getDimension,
1953 getIcon, getInsets, getInstalledLookAndFeels, getInt,
1954 getLookAndFeel, getString, getSystemLookAndFeelClassName):
1955 Declare as public.
1956
1957 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1958
1959 * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1960 * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1961 isSignificant): Likewise.
1962
1963 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1964
1965 * javax/swing/undo/CompoundEdit.java: Re-format, document.
1966 (inProgress): Set initial value to true.
1967 (undo, redo, die, canUndo, canRedo): Also call inherited
1968 implementation; simplify code structure.
1969 (getPresentationName, getUndoPresentationName,
1970 getRedoPresentationName): Make behavior dependent on lastEdit.
1971 (addEdit, isSignificant): Completely re-written.
1972
1973 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1974
1975 * javax/swing/undo/StateEdit.java: Re-format, document.
1976 (undo, redo): Also call inherited implementation.
1977
1978 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1979
1980 * javax/swing/undo/StateEditable.java: Re-format, document.
1981
1982 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
1983
1984 * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
1985 (AbstractUndoableEdit): Initialize hasBeenDone to true.
1986 (canUndo, canRedo): Simplify.
1987 (getUndoPresentationName, getRedoPresentationName): Support
1988 localized message; call getPresentationName() only once.
1989
1990 2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
1991
1992 * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
1993 (ZipFile(File,int)): Likewise.
1994
1995 2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
1996
1997 * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
1998 (putAllInternal): Likewise.
1999 * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
2000 (putAllInternal): Likewise.
2001
2002 2003-11-26 Michael Koch <konqueror@gmx.de>
2003
2004 * java/net/URLStreamHandler.java
2005 (parseURL): Added comment in catch statement.
2006 (canonicalizeFilename): Add documentation.
2007 (sameURL): Completed documentation.
2008 (equals): Likewise.
2009 (hostsEqual): Likewise.
2010 (getDefaulPort): Likewise.
2011 (hashCode): Likewise.
2012 (toExternalForm): Likewise.
2013 (getHostName): Fix empty hostname check, completed documentation.
2014
2015 2003-11-26 Tom Tromey <tromey@redhat.com>
2016
2017 * java/lang/natDouble.cc (parseDouble): Reverted patch of
2018 2003-11-13.
2019
2020 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
2021 Mark Wielaard <mark@klomp.org>
2022
2023 * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
2024 ('@' should be checked to distinguish port from userinfo).
2025 (toExternalForm): Add @ userInfo if necessary.
2026
2027
2028 2003-11-26 Michael Koch <konqueror@gmx.de>
2029
2030 * java/net/DatagramSocket.java
2031 (DategramSocket, bind): Moved binding code from DatagramSocket
2032 constructor to bind method.
2033
2034 2003-11-26 Michael Koch <konqueror@gmx.de>
2035
2036 * java/net/DatagramSocket.java
2037 (impl): Made private.
2038 (bound): New private member variable.
2039 (DatagramSocket): Fixed documentation, use getImpl().
2040 (getImpl): New package-private method.
2041 (isClosed): Use getImpl().
2042 (getLocalAddress): Completed documentation, use getImpl().
2043 (getLocalPort): Use getImpl().
2044 (getSoTimeout): Likewise.
2045 (setSoTimeout): Likewise.
2046 (getSendBufferSize): Likewise.
2047 (setSendBufferSize): Likewise.
2048 (getReceiveBufferSize): Likewise.
2049 (setReceiveBufferSize): Likewise.
2050 (connect): Likewise.
2051 (disconnect): Likewise.
2052 (receive): Likewise.
2053 (send): Likewise.
2054 (setReuseAddress): Likewise.
2055 (setTrafficClass): Likewise.
2056 (bind): Added message to exception.
2057 (isClosed): Completed documentation.
2058 (getChannel): Likewise.
2059 (connect): Added missing exception, refined exception message.
2060 (isBound): Completed documentation, just return bound.
2061 (isConnected): Completed documentation.
2062 (getRemoteSocketAddress): Likewise.
2063 (getReuseAddress): Completed documentation, use getImpl().
2064 (setSoBroadcast): Likewise.
2065 (getSoBroadcast): Likewise.
2066 (getTrafficClass): Likewise.
2067 (getLocalSocketAddress): Simplified.
2068 * java/net/MulticastSocket.java
2069 (MulticastSocket): Removed comment not applying anymore.
2070 (getInterface): Use getImpl().
2071 (getTTL): Likewise.
2072 (getTimeToLive): Likewise.
2073 (setInterface): Likewise.
2074 (setNetworkInterface): Likewise.
2075 (getNetworkInterface): Likewise.
2076 (setLoopback): Likewise.
2077 (getLoopback): Likewise.
2078 (setTTL): Likewise.
2079 (setTimeToLive): Likewise.
2080 (joinGroup): Likewise.
2081 (leaveGroup): Likewise.
2082 (send): Likewise.
2083
2084 2003-11-26 Michael Koch <konqueror@gmx.de>
2085
2086 * java/net/Socket.java
2087 (implCreated): Dont set default value explicitely, added
2088 documentation.
2089 (inputShutdown): Likewise.
2090 (outputShutdown): Likewise.
2091 (bound): New private member variable.
2092 (bind): Set bound to true.
2093 (close): Set bound to false.
2094 (isBound): Return bound.
2095 * java/net/ServerSocket.java
2096 (bound): New private member variable.
2097 (bind): Set bound to true.
2098 (close): Set bound to false.
2099 (isBound): Return bound.
2100
2101 2003-11-26 Michael Koch <konqueror@gmx.de>
2102
2103 * java/net/URL.java
2104 (URL): Fixed documentation to be HTML compliant.
2105 (getContent): Completed documentation.
2106 (getFile): Likewise.
2107 (getPath): Likewise.
2108 (getAuthority): Likewise.
2109 (getHost): Likewise.
2110 (getDefaultPort): Likewise.
2111 (getProtocol): Likewise.
2112 (hashCode): Likewise.
2113 (openConnection): Likewise.
2114 (openStream): Likewise.
2115 (set): Likewise.
2116 (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2117
2118 2003-11-26 Michael Koch <konqueror@gmx.de>
2119
2120 * java/net/InetSocketAddress.java
2121 (hostname): Made private, added documentation.
2122 (addr): Likewise.
2123 (port): Likewise.
2124 (equals): Completed documentation.
2125 (getAddress): Likewise.
2126 (getHostName): Likewise.
2127 (getPort): Likewise.
2128 (hashCode): Likewise.
2129 (isUnresolved): Likewise.
2130 (toString): Likewise.
2131
2132 2003-11-26 Michael Koch <konqueror@gmx.de>
2133
2134 * gnu/java/net/protocol/file/Handler.java
2135 (Handler): New explicit constructor.
2136 (openConnection): Added documentation.
2137 * gnu/java/net/protocol/jar/Handler.java
2138 (Handler): New explicit constructor.
2139 (openConnection): Added documentation.
2140
2141 2003-11-26 Michael Koch <konqueror@gmx.de>
2142
2143 * java/net/DatagramPacket.java
2144 (DatagramPacket): Fixed documentation to become legal HTML.
2145
2146 2003-11-25 Michael Koch <konqueror@gmx.de>
2147
2148 * gcj/javaprims.h: Added missing java.util.Currency.
2149
2150 2003-11-25 Michael Koch <konqueror@gmx.de>
2151
2152 * testsuite/libjava.mauve/xfails:
2153 Removed these two tests, they mystically pass now:
2154 -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2155 test_params failed - 5getInetAddress did not return proper values
2156 (number 1)
2157 -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2158 test_BasicServer failed - 11 exception was thrown :Illegal seek
2159 (number 1)
2160
2161 2003-11-25 Michael Koch <konqueror@gmx.de>
2162
2163 * java/net/DatagramSocket.java
2164 (factory): Made private.
2165 (closed): Removed.
2166 (DatagramSocket): Check impl argument, use constructor with
2167 SocketAddress argument.
2168 (close): Set impl to null, use isClosed().
2169 (isClosed): Check for impl == null.
2170 (getLocalAddress): Use isClosed().
2171 (getLocalPort): Check if socket is closed.
2172 (getSoTimeout): Likewise.
2173 (setSoTimeout): Likewise.
2174 (getSendBufferSize): Likewise.
2175 (setSendBufferSize): Likewise.
2176 (getReceiveBufferSize): Likewise.
2177 (setReceiveBufferSize): Likewise.
2178 (receive): Likewise.
2179 (send): Likewise.
2180 (bind): Likewise.
2181 (connect): Likewise.
2182 (setReuseAddress): Likewise.
2183 (getReuseAddress): Likewise.
2184 (setBroadcast): Likewise.
2185 (getBroadcast): Likewise.
2186 (setTrafficClass): Likewise.
2187 (getTrafficClass): Likewise.
2188 * java/net/MulticastSocket.java
2189 (getInterface): Check if socket is closed.
2190 (getTTL): Likewise.
2191 (getTimeToLive): Likewise.
2192 (setInterface): Likewise.
2193 (setNetworkInterface): Likewise.
2194 (getNetworkInterface): Likewise.
2195 (setLoopbackMode): Likewise.
2196 (setTTL): Likewise.
2197 (setTimeToLive): Likewise.
2198 (joinGroup): Likewise.
2199 (leaveGroup): Likewise.
2200 (send): Likewise.
2201 * java/net/ServerSocket.java
2202 (closed): Removed.
2203 (close): Check if socket is closed, set impl to null.
2204 (isClosed): Check impl == null;
2205 (ServerSocket): Check impl argument.
2206 (getInetAddress): Check if socket is bound.
2207 (getLocalPort): Likewise.
2208 (getLocalSocketAddress): Likewise.
2209 (bind): Check if socket is closed.
2210 (implAccept): Likewise.
2211 (setSoTimeout): Likewise.
2212 (getSoTimeout): Likewise.
2213 (setReuseAddress): Likewise.
2214 (getReuseAddress): Likewise.
2215 (setReceiveBufferSize): Likewise.
2216 (getReceiveBufferSize): Likewise.
2217 (toString): Make output compliant to JDK 1.4.2.
2218 * java/net/Socket.java
2219 (closed): Removed.
2220 (Socket): Fixed documentation.
2221 (connect): Check if socket is closed, changed exception text,
2222 fixed documentation.
2223 (getInputStream): Check of socket is closed and connected.
2224 (getOutputStream): Likewise.
2225 (bind): Check if socket is closed.
2226 (setTcpNoDelay): Likewise.
2227 (getTcpNoDelay): Likewise.
2228 (setSoLinger): Likewise.
2229 (getSoLinger): Likewise.
2230 (sendUrgentData): Likewise.
2231 (setOOBInline): Likewise.
2232 (getOOBInline): Likewise.
2233 (setSoTimeout): Likewise.
2234 (getSoTimeout): Likewise.
2235 (setSendBufferSize): Likewise.
2236 (getSendBufferSize): Likewise.
2237 (setReceiveBufferSize): Likewise.
2238 (getReceiveBufferSize): Likewise.
2239 (setKeepAlive): Likewise.
2240 (getKeepAlive): Likewise.
2241 (close): Likewise.
2242 (shutdownInput): Likewise.
2243 (shutdownOutput): Likewise.
2244 (getReuseAddress): Likewise.
2245 (getTrafficClass): Likewise.
2246 (setTrafficClass): Likewise.
2247 (isClosed): Check impl == null.
2248 (toString): Added missing ']'.
2249
2250 2003-11-24 Tom Tromey <tromey@redhat.com>
2251
2252 * Makefile.in: Rebuilt.
2253 * Makefile.am (propdir): New macro.
2254 (install-data-local): Install logging.properties.
2255 (core_java_source_files): Added java.util.logging.*.
2256 * java/util/logging/logging.properties: New file.
2257
2258 2003-11-25 Michael Koch <konqueror@gmx.de>
2259
2260 * java/net/DatagramSocket.java
2261 (DatagramSocket): Move binding code to bind(), simplify constructors.
2262 * java/net/MulticastSocket.java
2263 (MulticastSocket): Call parent constructor with null argument,
2264 bind socket after setReuseAddress is called, simplify constructors.
2265
2266 2003-11-24 Michael Koch <konqueror@gmx.de>
2267
2268 * javax/swing/BoxLayout.java
2269 (serialVersionUIR): New member variable.
2270 (X_AXIS, Y_AXIS): Documentation added.
2271 (LINE_AXIS, PAGE_AXIS): New constants.
2272 (grid): Renamed from gridbag.
2273 (BoxLayout): Use new constants, throw exception if invalid value for
2274 way, added documentation.
2275 (BoxLayout): Removed.
2276 (addLayoutComponent): Use new constants, added documentation.
2277 (removeLayoutComponent): Likewise.
2278 (addLayoutContainer): Added documentation.
2279 (preferredLayoutSize): Added documentation, check given argument.
2280 (minimumLayoutSize): Likewise.
2281 (layoutContainer): Likewise.
2282 (getLayoutAlignmentX): Likewise.
2283 (getLayoutAlignmentY): Likewise.
2284 (invalidateLayout): Likewise.
2285 (maximumLayoutSize): Likewise.
2286
2287 2003-11-22 Michael Koch <konqueror@gmx.de>
2288
2289 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2290 (peekData): Use offset and maximal free space in datagram packet.
2291 (receive): Likewise.
2292 (send): Use offset in datagram packet.
2293
2294 2003-11-22 Michael Koch <konqueror@gmx.de>
2295
2296 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2297 (peekData): Use offset and maximal free space in datagram packet.
2298 (receive): Likewise.
2299 (send): Use offset in datagram packet.
2300
2301 2003-11-22 Michael Koch <konqueror@gmx.de>
2302
2303 * gnu/java/nio/DatagramChannelImpl.java
2304 (getNativeFD): Use getPlainDatagramSocketImpl().
2305 * gnu/java/nio/NIODatagramSocket.java
2306 (getPlainDatagramSocketImpl): Renamed from getImpl().
2307 * gnu/java/nio/NIOSocket.java
2308 (getPlainSocketImpl): Renamed from getImpl().
2309 (setChannel): Use getPlainSocketImpl().
2310 * gnu/java/nio/SocketChannelImpl.java
2311 (SocketChannelImpl): Use getPlainSocketImpl().
2312 (getPlainSocketImpl): Renamed from getImpl().
2313 (getNativeFD): Use getPlainSocketImpl().
2314
2315 2003-11-18 Graydon Hoare <graydon@redhat.com>
2316
2317 * javax/swing/JLayeredPane.java: Implement.
2318 * javax/swing/JFrame.java (getContentPane): Make public
2319 * javax/swing/javax/swing/JRootPane.java (setContentPane):
2320 Use JLayeredPane.FRAME_CONTENT_LAYER.
2321
2322 2003-11-21 Mark Wielaard <mark@klomp.org>
2323
2324 * java/lang/Float.java (static): Removed.
2325
2326 2003-11-18 Graydon Hoare <graydon@redhat.com>
2327
2328 * java/awt/font/TextLayout.java: Implement simple layouts
2329 using attributed strings and glyph vectors.
2330
2331 2003-11-17 Graydon Hoare <graydon@redhat.com>
2332
2333 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2334 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
2335 (GdkFontLineMetrics): New inner class.
2336 (getLineMetrics): Return new GdkFontLineMetrics.
2337 (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2338 (layoutGlyphVector): Create GdkGlyphVector.
2339 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2340 (GdkGraphics2D): Initialize state via mathod calls.
2341 (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2342 (cairoTranslate, cairoScale, cairoRotate): Remove.
2343 (various methods): use setTransform for special transform cases.
2344 (DrawState): New inner class.
2345 (stateSave): New method.
2346 (stateRestore): New method.
2347 (various methods): use stateSave, stateRestore.
2348 (getClipInDevSpace): New method.
2349 (clip, clipRect, setClip, getClip, getClipBounds):
2350 Follow spec more closely.
2351 (getTransform): Return clone of transform.
2352 (setStroke): Set linewidth to passed width / 2.0.
2353 (setPaintMode): Set SrcOver rather than Xor.
2354 (setColor): Set paint to passed color.
2355 (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2356 transform from image to user space.
2357 (drawRenderedImage, drawRenderableImage): Implement.
2358 (getFontRenderContext, getFontMetrics, drawString, getFont):
2359 Implement
2360 (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
2361 Implement.
2362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2363 Match changes to java side.
2364 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2365 Release resources.
2366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2367 Don't use pango for metrics.
2368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2369 New file.
2370
2371 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
2372 Jim Pick <jim@kaffe.org>
2373
2374 * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2375 methods.
2376
2377 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
2378
2379 * java/text/DecimalFormatSymbols.java (getCurrency,
2380 setCurrency): New methods.
2381
2382 2003-11-19 Sascha Brawer <brawer@dandelis.ch>
2383
2384 * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2385 * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2386 Describe how the implementation works.
2387
2388 2003-11-19 Michael Koch <konqueror@gmx.de>
2389
2390 * java/net/Socket.java
2391 (implCreated): New variable that indicates created impl.
2392 (getImpl): New method.
2393 (toString): Return more SUN compliant string representation.
2394 (various): Use getImpl() instead of impl.
2395
2396 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
2397
2398 * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2399 the right libgcc. Add -multiply_defined suppress and -bind_at_load
2400 flags.
2401
2402 2003-11-18 Tom Tromey <tromey@redhat.com>
2403
2404 PR libgcj/13026:
2405 * verify.cc (state::copy): Only set local_changed if we're in a
2406 subroutine. Correctly copy local variables which were modified
2407 by the subroutine.
2408 (push_jump_merge): Added more debugging output.
2409
2410 * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2411 is null.
2412
2413 2003-11-17 Graydon Hoare <graydon@redhat.com>
2414
2415 * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2416 * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2417
2418 2003-11-16 Tom Tromey <tromey@redhat.com>
2419
2420 PR libgcj/13062:
2421 * java/io/StreamTokenizer.java (commentChar): Clear other
2422 attributes for character.
2423 (quoteChar): Likewise.
2424
2425 2003-11-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2426
2427 * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2428 zero-length int arrays when layoutInfo is null.
2429 (getLayoutWeights): Return array of two zero-length double arrays when
2430 layoutInfo is null.
2431
2432 2003-11-13 Tom Tromey <tromey@redhat.com>
2433
2434 * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2435 JvGetStringUTFRegion.
2436 * java/lang/natPosixProcess.cc (new_string): Pass length of string
2437 to JvGetStringUTFRegion.
2438 * java/lang/natDouble.cc (parseDouble): Pass length of string to
2439 JvGetStringUTFRegion.
2440 * java/lang/natWin32Process.cc (startProcess): Pass length of
2441 string to JvGetStringUTFRegion.
2442 * java/lang/natClass.cc (forName): Pass length of string to
2443 JvGetStringUTFRegion.
2444 * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2445 of string to JvGetStringUTFRegion.
2446 * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2447 JvGetStringUTFRegion.
2448 * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2449 to JvGetStringUTFRegion.
2450 * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2451 string to JvGetStringUTFRegion.
2452
2453 2003-11-13 Mohan Embar <gnustuff@thisiscool.com>
2454
2455 * gnu/java/nio/natSelectorImplPosix.cc
2456 (helper_put_filedescriptors): Change to static linkage.
2457 (helper_get_filedescriptors): Likewise.
2458
2459 2003-11-12 Thomas Fitzsimmons <fitzsim@redhat.com>
2460
2461 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2462 null check.
2463 * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2464 * java/awt/Component.java (prepareImage): Likewise.
2465
2466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2467 Rename to nativeSetAlignment.
2468
2469 2003-11-11 Danny Smith <dannysmith@users.sourceforge.net>
2470
2471 * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2472 (JNI_GetCreatedJavaVMs): Likewise.
2473 (JNI_GetDefaultJavaVMInitArgs): Likewise.
2474 * include/jni.h (JNIIMPEXP): Remove definition
2475 and replace with...
2476 (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2477 symbols,
2478 (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2479
2480 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2481
2482 * Makefile.am: Add GdkPixbufDecoder.java and
2483 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2484 * Makefile.in: Regenerate.
2485 * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2486 New constructor.
2487 (startProduction): Create ByteArrayInputStream when url and filename are
2488 null.
2489 (produce): Declare stream parameter as InputStream.
2490 * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2491 as InputStream.
2492 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2493 (GdkPixbufDecoder(byte[],int,int)): New constructor.
2494 (produce): Declare stream parameter as InputStream.
2495 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2496 if image is null. Set image's observer before running PrepareImage
2497 thread. Pass image to startProduction.
2498 * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2499 source's member functions.
2500 (observer): New field.
2501 (setObserver): New method.
2502 (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2503 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2504 new GtkImage.
2505 (prepareImage): Implement.
2506 * java/awt/Component.java: Add static fields incrementalDraw and
2507 redrawRate.
2508 (imageUpdate): Implement.
2509 (createImage): Call Toolkit's createImage if peer is null.
2510 (prepareImage): Throw NPE if image is null.
2511 * java/awt/MediaTracker.java: Fix return value.
2512
2513 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2514
2515 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2516 (create(String, float)): New method.
2517 (setText): Make native.
2518 (nativeSetAlignment): New method.
2519 (setAlignment): Call nativeSetAlignment.
2520 (getArgs): Remove method.
2521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2522 (find_fg_color_widget, find_bg_color_widget): New functions.
2523 (gtkWidgetSetForeground): Call find_fg_color_widget.
2524 (gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and
2525 prelight colors.
2526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2527 widget in event box.
2528 (setText, setAlignment): Implement new native methods.
2529
2530 2003-11-11 Michael Koch <konqueror@gmx.de>
2531
2532 * java/awt/Font.java,
2533 java/awt/datatransfer/DataFlavor.java,
2534 java/math/BigInteger.java,
2535 java/net/Inet4Address.java,
2536 java/net/Inet6Address.java,
2537 java/rmi/MarshalledObject.java,
2538 java/rmi/server/RMIClassLoader.java,
2539 java/security/cert/CertStore.java,
2540 java/sql/Timestamp.java,
2541 java/text/SimpleDateFormat.java,
2542 javax/naming/CompoundName.java:
2543 Removed some redundant obj == null checks.
2544
2545 2003-11-11 Michael Koch <konqueror@gmx.de>
2546
2547 * java/nio/ByteBuffer.java
2548 (equals): Remove redundant obj == null check.
2549
2550 2003-11-11 Michael Koch <konqueror@gmx.de>
2551
2552 * gnu/java/nio/natPipeImpl.cc,
2553 gnu/java/nio/natSelectorImpl.cc: Removed
2554 * gnu/java/nio/natPipeImplEcos.cc,
2555 gnu/java/nio/natPipeImplPosix.cc,
2556 gnu/java/nio/natPipeImplWin32.cc,
2557 gnu/java/nio/natSelectorImplEcos.cc,
2558 gnu/java/nio/natSelectorImplPosix.cc,
2559 gnu/java/nio/natSelectorImplWin32.cc: New files
2560 * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2561 gnu/java/nio/natSelectorImpl.cc
2562 * configure: Regenerated.
2563
2564 2003-11-11 Micheal Koch <konqueror@gmx.de>
2565
2566 * java/net/URLStreamHandler.java (toExternalForm): Print port only
2567 if host is printed too and port was really given to URL.
2568
2569 2003-11-10 Gary Benson <gbenson@redhat.com>
2570
2571 * java/sql/Timestamp.java (valueOf): Correctly handle
2572 nanoseconds.
2573
2574 2003-11-09 Tom Tromey <tromey@redhat.com>
2575
2576 * java/net/Inet4Address.java (serialVersionUID): Updated.
2577
2578 2003-11-08 Jeff Sturm <jsturm@one-point.com>
2579
2580 * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2581 New fields.
2582
2583 2003-11-08 Jeff Sturm <jsturm@one-point.com>
2584
2585 * java/io/ByteArrayOutputStream.java (resize):
2586 Fix off-by-one error.
2587
2588 2003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz>
2589
2590 * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2591 public.
2592
2593 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
2594
2595 PR libgcj/12231
2596 * java/lang/Win32Process.java (hasExited) Changed from
2597 public to private.
2598 (startProcess): Likewise.
2599 (cleanup): Likewise.
2600 * java/lang/natWin32Process.cc (cleanup) Don't close
2601 input, output and error streams.
2602 (ChildProcessPipe): New helper class.
2603 (startProcess): Refactored to use ChildProcessPipe.
2604 Use CREATE_NO_WINDOW when launching child process.
2605
2606 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
2607
2608 * include/win32.h (_Jv_platform_close_on_exec): Changed
2609 signature and declared extern.
2610 * win32.cc (_Jv_platform_close_on_exec): Implemented.
2611 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2612 (create): Use new signature of _Jv_platform_close_on_exec.
2613 * gnu/java/net/natPlainSocketImplWin32.cc
2614 (create): Eliminated a few typecasts
2615 Use new signature of _Jv_platform_close_on_exec.
2616 (accept): Eliminated a few typecasts
2617 Use new signature of _Jv_platform_close_on_exec.
2618 * java/io/natFileDescriptorWin32.cc (open): Use
2619 _Jv_platform_close_on_exec.
2620
2621 2003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz>
2622
2623 * java/lang/natClass.cc (newInstance): Throw InstantiationException
2624 if class has no null-argument constructor.
2625
2626 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2627
2628 PR libgcj/12647:
2629 * win32-threads.cc (_Jv_CondWait): Respect mutex's
2630 refcount when releasing and reacquiring it.
2631
2632 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2633
2634 * win32.cc: (dirExists) Internal helper function to
2635 test for directory existence.
2636 (getUserHome) New helper function refactored out
2637 of _Jv_platform_initProperties. Uses USERPROFILE
2638 instead of HOMEDIR and attempts to support Win9X and NT.
2639 (_Jv_platform_initProperties) Use getUserHome.
2640
2641 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2642
2643 PR libgcj/11521:
2644 * gnu/java/net/natPlainSocketImplWin32.cc
2645 (bind): Don't use SO_REUSEADDR
2646
2647 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2648
2649 PR libgcj/6652:
2650 * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2651
2652 2003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz>
2653
2654 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2655 dispatch for final methods.
2656
2657 2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2658
2659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2660 word wrapping.
2661
2662 2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2663
2664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2665 scrolled window's size request.
2666
2667 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2668
2669 * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2670 * java/awt/geom/QuadCurve2D.java: Likewise.
2671
2672 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2673
2674 * java/awt/geom/CubicCurve2D.java: Added documentation.
2675 * java/awt/geom/QuadCurve2D.java: Likewise.
2676
2677 * java/awt/geom/doc-files/QuadCurve2D-4.png,
2678 java/awt/geom/doc-files/QuadCurve2D-5.png,
2679 java/awt/geom/doc-files/CubicCurve2D-4.png,
2680 java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2681
2682 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2683
2684 * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2685 (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2686 (subdivide(double[],int,double[],int,double[],int)): Implement.
2687
2688 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2689
2690 * java/awt/geom/doc-files/CubicCurve2D-1.png,
2691 java/awt/geom/doc-files/CubicCurve2D-2.png,
2692 java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2693
2694 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
2695
2696 * java/text/DecimalFormat.java
2697 (scanFormat) corrected so that '%' may appear in a pattern.
2698
2699 2003-10-29 Mark Wielaard <mark@klomp.org>
2700
2701 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2702 * java/text/DateFormat.java (Field): New public static inner class.
2703 * java/text/Format.java (Field): Likewise.
2704 (formatToCharacterIterator): New method.
2705 * java/text/FormatCharacterIterator.java: New file.
2706
2707 2003-10-29 Mark Wielaard <mark@klomp.org>
2708
2709 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2710 * java/util/Currency.java: New file.
2711
2712 2003-10-29 Michael Koch <konqueror@gmx.de>
2713
2714 * Makefile.am (ordinary_java_source_files): Added
2715 java/text/FormatCharacterIterator.java and java/util/Currency.java.
2716 * Makefile.in: Regenerated.
2717
2718 2003-10-29 Dalibor Topic <robilad@kaffe.org>
2719
2720 * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2721 static methods.
2722
2723 2003-10-29 Julian Dolby <dolby@us.ibm.com>
2724
2725 * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2726 getObjectInstance() with Object, Name, Context and environment
2727 Hashtable from exception. Call fillInStackTrace() on exception when
2728 rethrown.
2729 * javax/naming/InitialContext.java (lookup(Name)): When a
2730 CannotProceedException is thrown use the ContinuationContext.
2731 (lookup(String)): Likewise.
2732 (close): Clear myProps and defaultInitCtx.
2733
2734 2003-10-29 Michael Koch <konqueror@gmx.de>
2735
2736 * java/net/InetAddress.java
2737 (equals): Remove redundant obj == null check.
2738 * java/net/SocketPermission.java
2739 (equals): Likewise.
2740 * java/net/URL.java
2741 (equals): Likewise.
2742 (getURLStreamHandler): Likewise.
2743
2744 2003-10-29 Michael Koch <konqueror@gmx.de>
2745
2746 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2747 (setOption): Directly return if no error occured.
2748 * gnu/java/net/natPlainSocketImplPosix.cc
2749 (setOption): Likewise.
2750
2751 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2752
2753 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2754 vtable slot for final methods. Add FIXME comment.
2755
2756 2003-10-28 David S. Miller <davem@redhat.com>
2757
2758 * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2759
2760 2003-10-26 Mark Wielaard <mark@klomp.org>
2761
2762 Reported by Helmer Kraemer <hkraemer@freenet.de>
2763 * java/util/jar/JarInputStream.java (readManifest): Don't call
2764 closeEntry().
2765
2766 * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2767 (finish): Use inbufWrite().
2768 (write(int)): Likewise.
2769 (write(byte[],int,int)): Likewise.
2770
2771 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2772
2773 * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2774 Don't check for AccessibleObject. Update javadocs.
2775
2776 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2777
2778 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2779
2780 * java/lang/reflect/Constructor.java (toString): Avoid extra
2781 whitespace on constructor with no modifiers.
2782 * java/lang/reflect/natConstructor.java (newInstance): Look up
2783 caller and perform accessibility check only if constructor is
2784 non-public and accessible flag is not set.
2785
2786 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2787
2788 * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2789 _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2790 use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
2791 is_virtual_call argument.
2792 * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
2793 natClass.cc.
2794 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
2795 _Jv_isVirtualMethod.
2796 * java/lang/reflect/natMethod.cc (invoke): Don't use
2797 _Jv_LookupDeclaredMethod.
2798 (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2799 look up method in target object's vtable.
2800
2801 2003-10-25 Graydon Hoare <graydon@redhat.com>
2802
2803 * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2804 * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2805 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2806 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2807 New concrete implementation of ClasspathFontPeer, with native part.
2808 * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2809 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2810 New class, with native part.
2811 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2812 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2813 implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2814
2815 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2816
2817 * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2818 on method with no modifiers.
2819
2820 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2821
2822 PR libgcj/11780:
2823 * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2824 accessibility check only if target is non-public and accessible flag
2825 is not set.
2826 * java/lang/reflect/natField.cc (getAddr): Likewise.
2827
2828 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2829
2830 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2831 Remove method.
2832 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2833 New method.
2834 * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2835 show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2836 (dispose): Post WINDOW_CLOSED event.
2837 (addWindowFocusListener, addWindowStateListener): Assign result
2838 of multicaster add back to window listener.
2839 (removeWindowFocusListener, removeWindowStateListener): Assign
2840 result of multicaster remove back to window listener.
2841 (dispatchEventImpl): Add null checks for focus and state
2842 listeners.
2843 (processWindowEvent): Handle case where windowListener is null
2844 but state or focus listeners exist.
2845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2846 glue for postWindowEvent.
2847 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2848 (window_delete_cb, window_destroy_cb, window_show_cb,
2849 window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2850 window_get_new_state): New functions.
2851 * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2852 macros. Declare postWindowEventID.
2853
2854 2003-10-24 Anthony Green <green@redhat.com>
2855
2856 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2857 we have no interpreter.
2858
2859 2003-10-22 Andrew Haley <aph@redhat.com>
2860
2861 * java/lang/natClass.cc (initializeClass): Call
2862 _Jv_linkExceptionClassTable.
2863 (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
2864 _Jv_Defer_Resolution on a method whose ncode is NULL.
2865 (_Jv_linkExceptionClassTable): New function.
2866 (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2867 entry, look it up.
2868 * java/lang/Class.h (struct _Jv_CatchClass): New.
2869 (_Jv_linkExceptionClassTable): New friend.
2870 (_Jv_Defer_Resolution): New friend.
2871 (class Class.catch_classes): New field.
2872 * include/java-interp.h (Jv_Defer_Resolution): New method.
2873 (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2874 (_Jv_MethodBase.deferred): New field.
2875 (_Jv_Defer_Resolution): New function.
2876 * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2877 * exception.cc (get_ttype_entry): Change return type to void**.
2878 (PERSONALITY_FUNCTION): Remove all code related to using a
2879 Utf8Const* for a match type. Change match type to be a pointer to
2880 a pointer, rather than a pointer to a Class.
2881 * defineclass.cc (handleCodeAttribute): Initialize
2882 method->deferred.
2883 (handleMethodsEnd): Likewise.
2884
2885 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2886
2887 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2888 _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2889
2890 2003-10-22 Tom Tromey <tromey@redhat.com>
2891
2892 PR libgcj/12416:
2893 * java/lang/Class.h: Updated.
2894 * java/lang/natClass.cc (_getFields): Removed.
2895 (getFields): Likewise.
2896 (getDeclaredFields): Added `public_only' parameter.
2897 * java/lang/Class.java (getFields): Now implemented in java; from
2898 Classpath.
2899 (getDeclaredFields): Likewise.
2900 (getDeclaredFields(boolean)): Declare.
2901 (_getFields): Removed.
2902 (internalGetFields): New method, from Classpath.
2903
2904 PR libgcj/12656:
2905 * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2906 _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2907
2908 2003-10-22 David Daney <ddaney@avtrex.com)
2909
2910 * include/mips-signal.h: New file.
2911 * sysdep/dwarf2-backtrace.cc: New file.
2912 * sysdep/mips: New directory.
2913 * sysdep/mips/locks.h: New file.
2914 * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2915 added to libgcj.
2916 (extra_cc_source_files): Ditto.
2917 * configure.host(disable_dladdr): New shell variable passed to
2918 configure.
2919 (mips*-*-linux*): sysdeps_dir=mips,
2920 can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2921 (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2922 * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2923 generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2924 (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2925 (EXTRA_CC_FILES): New, to support conditional addition of
2926 sysdep/dwarf2-backtrace.cc.
2927 * configure: Regenerated.
2928 * Makefile.in: Regenerated.
2929 * gcj/Makefile.in: Regenerated.
2930 * include/config.h.in: Regenerated.
2931 * include/Makefile.in: Regenerated.
2932 * testsuite/Makefile.in: Regenerated.
2933
2934 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2935
2936 * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2937 java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2938
2939 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2940
2941 * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2942 * java/awt/geom/doc-files: New directory.
2943 * java/awt/geom/doc-files/QuadCurve2D-1.png,
2944 java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2945
2946 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2947
2948 * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2949
2950 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
2951
2952 * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2953
2954 2003-10-22 Michael Koch <konqueror@gmx.de>
2955
2956 * java/io/File.java
2957 (equals): Removed redundant obj == null check.
2958 (createTempFile): Merged comments from classpath.
2959
2960 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2961
2962 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2963 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2964 (error): Synchronize on instance, not class.
2965
2966 2003-10-21 Mark Wielaard <mark@klomp.org>
2967
2968 Reported by M.Negovanovic
2969 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2970 method.
2971 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2972
2973 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2974
2975 Fix for Classpath bug #6076.
2976 * java/awt/geom/GeneralPath.java (append): Re-written.
2977
2978 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2979
2980 Fix for Classpath bug #6089.
2981 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
2982 (getPathIterator, GeneralPathIterator): Re-written from scratch.
2983
2984 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
2985
2986 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
2987 point, not start of subpath. Fixes Classpath bug #6075.
2988
2989 2003-10-21 Michael Koch <konqueror@gmx.de>
2990
2991 * java/nio/ByteOrder.java,
2992 java/nio/DirectByteBufferImpl.java,
2993 java/nio/channels/FileChannelImpl.java:
2994 Add code to load library with code for native methods if needed.
2995
2996 2003-10-21 Michael Koch <konqueror@gmx.de>
2997
2998 * gnu/java/net/PlainDatagramSocketImpl.java,
2999 gnu/java/net/PlainSocketImpl.java,
3000 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3001 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3002 gnu/java/net/natPlainSocketImplPosix.cc,
3003 gnu/java/net/natPlainSocketImplWin32.cc:
3004 Renamed fnum to native_fd to match classpath more.
3005
3006 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
3007
3008 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
3009 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
3010 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
3011 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
3012 _Jv_PthreadCheckMonitor. Simplify code.
3013 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
3014 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
3015 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
3016 * java/lang/Thread.java (holdsLock): New.
3017 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
3018 without JV_HASH_SYNCHRONIZATION.
3019 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
3020
3021 2003-10-20 Michael Koch <konqueror@gmx.de>
3022
3023 * java/text/RuleBasedCollator.java
3024 (RuleBasedCollator): Check rules not empty, fixed search in already
3025 existing collation elements.
3026 (is_special): Removed common whitespace characters.
3027 (text_argument): Dont return on whitespaces, add characters between
3028 two ' to string buffer.
3029
3030 2003-10-18 Michael Koch <konqueror@gmx.de>
3031
3032 * gnu/java/net/protocol/file/Connection.java,
3033 gnu/java/net/protocol/file/Handler.java,
3034 gnu/java/net/protocol/http/Connection.java,
3035 gnu/java/net/protocol/http/Handler.java,
3036 gnu/java/net/protocol/jar/Connection.java,
3037 gnu/java/net/protocol/jar/Handler.java:
3038 Merged copyright text from classpath to make
3039 it possible to merge the classes.
3040
3041 2003-10-18 Mark Wielaard <mark@klomp.org>
3042
3043 Reported by M.Negovanovic
3044 * java/beans/IndexedPropertyDescriptor.java
3045 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
3046
3047 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
3048
3049 * win32.cc (_Jv_pipe): Implemented.
3050 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
3051 _Jv_pipe instead of ::pipe.
3052 * include/posix.h (_Jv_pipe): New inline.
3053 * include/win32.h (_Jv_pipe): New declaration.
3054
3055 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
3056
3057 * java/lang/StringBuffer.java (getChars): Fix array index checks.
3058 (append, substring, insert): Likewise.
3059 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
3060 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
3061
3062 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
3063
3064 * java/lang/natString.cc (getChars):
3065 Fix validation of array indexes.
3066 (getBytes, regionMatches, startsWith, valueOf): Likewise.
3067 * testsuite/libjava.lang/String_overflow.java: New file.
3068 * testsuite/libjava.lang/String_overflow.out: New file.
3069
3070 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
3071
3072 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
3073 overflow a jint.
3074 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
3075 check for overflowing size_t, since the lower level functions
3076 take a jint.
3077 * testsuite/libjava.lang/newarray_overflow.java: New file.
3078 * testsuite/libjava.lang/newarray_overflow.out: New file.
3079
3080 2003-10-15 Michael Koch <konqueror@gmx.de>
3081
3082 * java/text/RuleBasedCollator.java
3083 (RuleBasedCollator): Moved around, documentation added.
3084 (compare): Documentation added.
3085 (equals): Likewise.
3086 (getCollationElementIterator): Likewise.
3087 (getCollationKey): Likewise.
3088 (getRules): Likewise.
3089 (hashCode): Likewise.
3090
3091 2003-10-15 Michael Koch <konqueror@gmx.de>
3092
3093 * java/text/RuleBasedCollator.java
3094 (CollationElement): Renamed from RBCElement and moved into
3095 RuledBasedCollator as inner class.
3096
3097 2003-10-15 Michael Koch <konqueror@gmx.de>
3098
3099 * java/text/CollationElementIterator.java
3100 (CollationElementIterator): Moved, documenatation added, call setText.
3101 (next): Reformated.
3102 (reset): Reformated.
3103 (setText): New method.
3104 (getOffset): New method.
3105 * java/text/CollationKey.java
3106 (getSourceString): Reformated.
3107 (hashCode): Reformated.
3108 (toByteArray): Reformated.
3109
3110 2003-10-15 Michael Koch <konqueror@gmx.de>
3111
3112 * java/util/zip/InflaterInputStream.java
3113 (InflaterInputStream): Renamed infl to inf and bufsize to size,
3114 added description to exception, check for inf == null and size < 0.
3115
3116 2003-10-15 Michael Koch <konqueror@gmx.de>
3117
3118 * java/text/AttributedCharacterIterator.java,
3119 java/text/CharacterIterator.java: Reformated.
3120
3121 2003-10-15 Michael Koch <konqueror@gmx.de>
3122
3123 * javax/swing/UIDefaults.java (putDefaults):
3124 Readded accidently removed "public" modifier.
3125
3126 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
3127
3128 * interpret.cc (_Jv_InterpMethod::run): Don't
3129 use libffi types, they were meant to be internal.
3130 * gcj/javaprims.h (_Jv_ulong): New typedef.
3131
3132 2003-10-13 Tom Tromey <tromey@redhat.com>
3133
3134 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3135 (defineClass): Updated.
3136 (_Jv_NewClass): Likewise.
3137 * prims.cc (_Jv_InitPrimClass): Don't call
3138 _Jv_InitNewClassFields.
3139
3140 2003-10-13 Taras Glek <taras.judge@shaw.ca>
3141
3142 PR libgcj/12592
3143 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3144 not just \n.
3145
3146 2003-10-13 Michael Koch <konqueror@gmx.de>
3147
3148 * java/io/File.java: Reformated.
3149 (equals): Check for obj == null.
3150
3151 2003-10-13 Michael Koch <konqueror@gmx.de>
3152
3153 * java/net/JarURLConnection.java
3154 (jarFileURL): Added dcoumentation.
3155 (jarFileURLConnection): Reformated documentation.
3156 (entryName): Renamed from "element", documentation rewritten.
3157 (connectionCache): Renamed from "conn_cache", documentation
3158 reformated.
3159 (JarURLConnection): Check URL protocol.
3160 (getEntryName): Use entryName.
3161 (connect): Use connectionCache.
3162 (getInputStream): Use entryName, fixed comment.
3163 (getJarEntry): Use entryName.
3164 (getHeaders): Use entryName.
3165 * java/net/URLConnection.java
3166 (addRequestProperty): Fixed documentation.
3167 (setDefaultRequestProptery): Added comment that it does nothing since
3168 JDK 1.3.
3169 (getDefaultRequestProperty): Likewise.
3170
3171 2003-10-13 Michael Koch <konqueror@gmx.de>
3172
3173 * java/net/java/net/URLStreamHandlerFactory.java
3174 (createURLStreamHandler): Removed redundant "public" modifier.
3175 * java/sql/DatabaseMetaData.java:
3176 (DatabaseMetaData): Readded accidently removed "public" modifier.
3177 * java/sql/ParameterMetaData.java:
3178 (ParameterMetaData): Readded accidently removed "public" modifier.
3179 * java/sql/PreparedStatement.java:
3180 (PreparedStatement): Readded accidently removed "public" modifier.
3181 * java/sql/Ref.java:
3182 (Ref): Readded accidently removed "public" modifier.
3183
3184 2003-10-13 Michael Koch <konqueror@gmx.de>
3185
3186 * java/nio/Buffer.java
3187 (hasRemaining): Made implementation more clear.
3188 * java/nio/MappedByteBuffer.java
3189 (loaded): New member variable.
3190 (force): Added comment.
3191 (isLoaded): Return value of loaded.
3192 (load): Set loaded to true, added comment.
3193
3194 2003-10-12 Michael Koch <konqueror@gmx.de>
3195
3196 * gnu/java/nio/PipeImpl.java
3197 (SourceChannelImpl): New inner class.
3198 (SinkChannelImpl): New inner class.
3199 (sink): New member variable.
3200 (source): New member variable.
3201 (PipeImpl): Add SelectorProvider argument, implemented.
3202 (nativeInit): New method.
3203 (sink): Return sink channel.
3204 (source): Return source channel.
3205 * gnu/java/nio/SelectorProviderImpl.java
3206 (openPipe): Give provider as argument to PipeImpl constructor.
3207 * java/nio/channels/spi/SelectorProvider.java
3208 (pr): Removed.
3209 (systemDefaultProvider): New member variable.
3210 (provider): Made it synchronized, use property
3211 java.nio.channels.spi.SelectorProvider.
3212 * gnu/java/nio/natPipeImpl.cc: New file.
3213 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3214 * Makefile.in: Regenerated.
3215
3216 2003-10-12 Michael Koch <konqueror@gmx.de>
3217
3218 * javax/swing/table/DefaultTableModel.java,
3219 javax/swing/table/TableCellEditor.java,
3220 javax/swing/table/TableCellRenderer.java,
3221 javax/swing/table/TableColumnModel.java,
3222 javax/swing/table/TableModel.java,
3223 javax/swing/text/AbstractDocument.java,
3224 javax/swing/text/Document.java,
3225 javax/swing/text/MutableAttributeSet.java,
3226 javax/swing/text/StyledDocument.java,
3227 javax/swing/text/ViewFactory.java,
3228 javax/swing/tree/DefaultMutableTreeNode.java,
3229 javax/swing/tree/MutableTreeNode.java,
3230 javax/swing/tree/RowMapper.java,
3231 javax/swing/tree/TreeCellEditor.java,
3232 javax/swing/tree/TreeCellRenderer.java,
3233 javax/swing/tree/TreeModel.java,
3234 javax/swing/tree/TreeNode.java,
3235 javax/swing/tree/TreeSelectionModel.java,
3236 javax/swing/undo/StateEditable.java,
3237 javax/swing/undo/UndoableEdit.java:
3238 Removed redundant modifiers.
3239
3240 2003-10-12 Michael Koch <konqueror@gmx.de>
3241
3242 * javax/swing/event/AncestorListener.java,
3243 javax/swing/event/CaretListener.java,
3244 javax/swing/event/CellEditorListener.java,
3245 javax/swing/event/ChangeListener.java,
3246 javax/swing/event/DocumentEvent.java,
3247 javax/swing/event/DocumentListener.java,
3248 javax/swing/event/HyperlinkListener.java,
3249 javax/swing/event/InternalFrameListener.java,
3250 javax/swing/event/ListDataListener.java,
3251 javax/swing/event/ListSelectionListener.java,
3252 javax/swing/event/MenuDragMouseListener.java,
3253 javax/swing/event/MenuKeyListener.java,
3254 javax/swing/event/MenuListener.java,
3255 javax/swing/event/MouseInputListener.java,
3256 javax/swing/event/PopupMenuListener.java,
3257 javax/swing/event/TableColumnModelListener.java,
3258 javax/swing/event/TableModelListener.java,
3259 javax/swing/event/TreeExpansionListener.java,
3260 javax/swing/event/TreeModelListener.java,
3261 javax/swing/event/TreeSelectionListener.java,
3262 javax/swing/event/TreeWillExpandListener.java,
3263 javax/swing/event/UndoableEditListener.java,
3264 javax/swing/plaf/UIResource.java,
3265 javax/swing/plaf/metal/MetalLookAndFeel.java:
3266 Removed redundant modifiers.
3267
3268 2003-10-12 Michael Koch <konqueror@gmx.de>
3269
3270 * javax/swing/Action.java,
3271 javax/swing/BoundedRangeModel.java,
3272 javax/swing/CellEditor.java,
3273 javax/swing/ComboBoxEditor.java,
3274 javax/swing/ComboBoxModel.java,
3275 javax/swing/DesktopManager.java,
3276 javax/swing/JComboBox.java,
3277 javax/swing/ListCellRenderer.java,
3278 javax/swing/ListSelectionModel.java,
3279 javax/swing/MenuElement.java,
3280 javax/swing/MutableComboBoxModel.java,
3281 javax/swing/Renderer.java,
3282 javax/swing/RootPaneContainer.java,
3283 javax/swing/ScrollPaneConstants.java,
3284 javax/swing/SingleSelectionModel.java,
3285 javax/swing/SpinnerModel.java,
3286 javax/swing/SwingConstants.java,
3287 javax/swing/UIDefaults.java,
3288 javax/swing/WindowConstants.java,
3289 javax/swing/border/Border.java,
3290 javax/swing/colorchooser/ColorSelectionModel.java:
3291 Removed redundant modifiers.
3292
3293 2003-10-11 Michael Koch <konqueror@gmx.de>
3294
3295 * javax/transaction/Status.java,
3296 javax/transaction/Synchronization.java,
3297 javax/transaction/Transaction.java,
3298 javax/transaction/TransactionManager.java,
3299 javax/transaction/UserTransaction.java,
3300 javax/transaction/xa/XAResource.java,
3301 javax/transaction/xa/Xid.java:
3302 Removing redundant modifiers.
3303
3304 2003-10-11 Michael Koch <konqueror@gmx.de>
3305
3306 * javax/print/attribute/Attribute.java,
3307 javax/print/attribute/AttributeSet.java,
3308 javax/print/attribute/PrintRequestAttributeSet.java:
3309 Removing redundant modifiers.
3310
3311 2003-10-11 Michael Koch <konqueror@gmx.de>
3312
3313 * javax/sql/ConnectionEventListener.java,
3314 javax/sql/ConnectionPoolDataSource.java,
3315 javax/sql/DataSource.java,
3316 javax/sql/PooledConnection.java,
3317 javax/sql/RowSet.java,
3318 javax/sql/RowSetInternal.java,
3319 javax/sql/RowSetListener.java,
3320 javax/sql/RowSetMetaData.java,
3321 javax/sql/RowSetReader.java,
3322 javax/sql/RowSetWriter.java,
3323 javax/sql/XAConnection.java,
3324 javax/sql/XADataSource.java:
3325 Removing redundant modifiers.
3326
3327 2003-10-11 Michael Koch <konqueror@gmx.de>
3328
3329 * javax/naming/Context.java,
3330 javax/naming/Name.java,
3331 javax/naming/NameParser.java,
3332 javax/naming/NamingEnumeration.java,
3333 javax/naming/Referenceable.java,
3334 javax/naming/directory/Attribute.java,
3335 javax/naming/directory/Attributes.java,
3336 javax/naming/directory/DirContext.java,
3337 javax/naming/event/EventContext.java,
3338 javax/naming/event/EventDirContext.java,
3339 javax/naming/event/NamespaceChangeListener.java,
3340 javax/naming/event/NamingListener.java,
3341 javax/naming/event/ObjectChangeListener.java,
3342 javax/naming/ldap/Control.java,
3343 javax/naming/ldap/ExtendedRequest.java,
3344 javax/naming/ldap/ExtendedResponse.java,
3345 javax/naming/ldap/HasControls.java,
3346 javax/naming/ldap/LdapContext.java,
3347 javax/naming/ldap/UnsolicitedNotification.java,
3348 javax/naming/ldap/UnsolicitedNotificationListener.java,
3349 javax/naming/spi/DirObjectFactory.java,
3350 javax/naming/spi/DirStateFactory.java,
3351 javax/naming/spi/InitialContextFactory.java,
3352 javax/naming/spi/InitialContextFactoryBuilder.java,
3353 javax/naming/spi/ObjectFactory.java,
3354 javax/naming/spi/ObjectFactoryBuilder.java,
3355 javax/naming/spi/Resolver.java,
3356 javax/naming/spi/StateFactory.java:
3357 Removing redundant modifiers.
3358
3359 2003-10-11 Michael Koch <konqueror@gmx.de>
3360
3361 * java/security/Key.java,
3362 * java/security/PrivateKey.java,
3363 * java/security/PublicKey.java,
3364 * java/security/acl/Acl.java,
3365 * java/security/acl/AclEntry.java,
3366 * java/security/acl/Group.java,
3367 * java/security/acl/Owner.java,
3368 * java/security/acl/Permission.java,
3369 * java/security/cert/X509Extension.java,
3370 * java/security/interfaces/DSAKey.java,
3371 * java/security/interfaces/DSAKeyPairGenerator.java,
3372 * java/security/interfaces/DSAParams.java,
3373 * java/security/interfaces/DSAPrivateKey.java,
3374 * java/security/interfaces/DSAPublicKey.java,
3375 * java/security/interfaces/RSAKey.java,
3376 * java/security/interfaces/RSAPrivateCrtKey.java,
3377 * java/security/interfaces/RSAPrivateKey.java,
3378 * java/security/interfaces/RSAPublicKey.java:
3379 Removed redundant modifiers.
3380
3381 2003-10-11 Michael Koch <konqueror@gmx.de>
3382
3383 * gnu/java/rmi/server/ProtocolConstants.java,
3384 gnu/java/security/der/DER.java:
3385 Removing redundant modifiers.
3386
3387 2003-10-11 Michael Koch <konqueror@gmx.de>
3388
3389 * java/util/Map.java,
3390 java/util/Observer.java,
3391 java/util/zip/Checksum.java,
3392 java/util/zip/ZipConstants.java:
3393 Removed redundant modifiers.
3394
3395 2003-10-11 Michael Koch <konqueror@gmx.de>
3396
3397 * java/text/AttributedCharacterIterator.java,
3398 java/text/CharacterIterator.java:
3399 Removed redundant modifiers.
3400
3401 2003-10-11 Michael Koch <konqueror@gmx.de>
3402
3403 * java/sql/Array.java,
3404 java/sql/Blob.java,
3405 java/sql/CallableStatement.java,
3406 java/sql/Clob.java,
3407 java/sql/Connection.java,
3408 java/sql/DatabaseMetaData.java,
3409 java/sql/Driver.java,
3410 java/sql/ParameterMetaData.java,
3411 java/sql/PreparedStatement.java,
3412 java/sql/Ref.java,
3413 java/sql/ResultSet.java,
3414 java/sql/ResultSetMetaData.java,
3415 java/sql/SQLData.java,
3416 java/sql/SQLInput.java,
3417 java/sql/SQLOutput.java,
3418 java/sql/Savepoint.java,
3419 java/sql/Statement.java,
3420 java/sql/Struct.java:
3421 Removed redundant modifiers.
3422
3423 2003-10-11 Michael Koch <konqueror@gmx.de>
3424
3425 * java/nio/channels/Channel.java,
3426 java/nio/channels/GatheringByteChannel.java,
3427 java/nio/channels/ReadableByteChannel.java,
3428 java/nio/channels/ScatteringByteChannel.java,
3429 java/nio/channels/WritableByteChannel.java:
3430 Removed redundant modifiers.
3431
3432 2003-10-11 Michael Koch <konqueror@gmx.de>
3433
3434 * java/rmi/activation/ActivationInstantiator.java,
3435 java/rmi/activation/ActivationMonitor.java,
3436 java/rmi/activation/ActivationSystem.java,
3437 java/rmi/activation/Activator.java,
3438 java/rmi/dgc/DGC.java,
3439 java/rmi/registry/Registry.java,
3440 java/rmi/registry/RegistryHandler.java,
3441 java/rmi/server/LoaderHandler.java,
3442 java/rmi/server/RMIClientSocketFactory.java,
3443 java/rmi/server/RMIFailureHandler.java,
3444 java/rmi/server/RMIServerSocketFactory.java,
3445 java/rmi/server/RemoteCall.java,
3446 java/rmi/server/RemoteRef.java,
3447 java/rmi/server/ServerRef.java,
3448 java/rmi/server/Skeleton.java,
3449 java/rmi/server/Unreferenced.java:
3450 Removed redundant modifiers.
3451
3452 2003-10-11 Michael Koch <konqueror@gmx.de>
3453
3454 * java/net/ContentHandlerFactory.java,
3455 java/net/DatagramSocketImplFactory.java,
3456 java/net/FileNameMap.java,
3457 java/net/SocketImplFactory.java,
3458 java/net/SocketOptions.java,
3459 java/net/URLStreamHandlerFactory.java:
3460 Removed redundant modifiers.
3461
3462 2003-10-11 Michael Koch <konqueror@gmx.de>
3463
3464 * java/io/Externalizable.java,
3465 java/io/FileFilter.java,
3466 java/io/FilePermission.java,
3467 java/io/ObjectInput.java,
3468 java/io/ObjectInputValidation.java,
3469 java/io/ObjectOutput.java,
3470 java/io/ObjectStreamClass.java,
3471 java/io/ObjectStreamConstants.java,
3472 java/io/Serializable.java:
3473 Removed redundant modifiers.
3474
3475 2003-10-11 Ingo Proetel <proetel@aicas.com>
3476
3477 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
3478 codebase and context classloader.
3479
3480 2003-10-11 Michael Koch <konqueror@gmx.de>
3481
3482 * java/beans/beancontext/BeanContext.java,
3483 java/beans/beancontext/BeanContextChild.java,
3484 java/beans/beancontext/BeanContextChildComponentProxy.java,
3485 java/beans/beancontext/BeanContextChildSupport.java,
3486 java/beans/beancontext/BeanContextContainerProxy.java,
3487 java/beans/beancontext/BeanContextMembershipListener.java,
3488 java/beans/beancontext/BeanContextProxy.java,
3489 java/beans/beancontext/BeanContextServiceProvider.java,
3490 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3491 java/beans/beancontext/BeanContextServiceRevokedListener.java,
3492 java/beans/beancontext/BeanContextServices.java,
3493 java/beans/beancontext/BeanContextServicesListener.java:
3494 Removed redundant modifiers.
3495
3496 2003-10-11 Michael Koch <konqueror@gmx.de>
3497
3498 * java/beans/AppletInitializer.java,
3499 java/beans/BeanInfo.java,
3500 java/beans/Customizer.java,
3501 java/beans/DesignMode.java,
3502 java/beans/PropertyEditor.java,
3503 java/beans/Visibility.java:
3504 Removed redundant modifiers.
3505
3506 2003-10-11 Michael Koch <konqueror@gmx.de>
3507
3508 * java/awt/print/Pageable.java,
3509 * java/awt/print/Printable.java,
3510 java/awt/print/PrinterGraphics.java:
3511 Removed redundant modifiers.
3512
3513 2003-10-11 Michael Koch <konqueror@gmx.de>
3514
3515 * java/awt/peer/ButtonPeer.java,
3516 java/awt/peer/CheckboxMenuItemPeer.java,
3517 java/awt/peer/CheckboxPeer.java,
3518 java/awt/peer/ChoicePeer.java,
3519 java/awt/peer/ComponentPeer.java,
3520 java/awt/peer/ContainerPeer.java,
3521 java/awt/peer/DialogPeer.java,
3522 java/awt/peer/FileDialogPeer.java,
3523 java/awt/peer/FramePeer.java,
3524 java/awt/peer/LabelPeer.java,
3525 java/awt/peer/ListPeer.java,
3526 java/awt/peer/MenuBarPeer.java,
3527 java/awt/peer/MenuComponentPeer.java,
3528 java/awt/peer/MenuItemPeer.java,
3529 java/awt/peer/MenuPeer.java,
3530 java/awt/peer/PopupMenuPeer.java,
3531 java/awt/peer/RobotPeer.java,
3532 java/awt/peer/ScrollPanePeer.java,
3533 java/awt/peer/ScrollbarPeer.java,
3534 java/awt/peer/TextAreaPeer.java,
3535 java/awt/peer/TextComponentPeer.java,
3536 java/awt/peer/TextFieldPeer.java,
3537 java/awt/peer/WindowPeer.java:
3538 Removed redundant modifiers.
3539
3540 2003-10-11 Michael Koch <konqueror@gmx.de>
3541
3542 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3543 * gnu/java/nio/ServerSocketChannelImpl.java
3544 (serverSocket): Made it a NIOServerSocket.
3545 (impl): Removed.
3546 (ServerSocketChannelImpl): Initialize only serverSocket.
3547 (initServerSocket): Removed.
3548 (getNativeFD): Rewritten.
3549 (implConfigureBlocking): Set socket timeout and removed comment.
3550 (accept): Rewritten.
3551 * gnu/java/nio/SocketChannelImpl.java
3552 (impl): New variable.
3553 (connected): Removed.
3554 (SocketChannelImpl): Initialize impl too.
3555 (getImpl): New method.
3556 (isConnected): Rewritten.
3557 (read): Rewritten, set position in buffer correctly.
3558 (write): Set position in buffer correctly.
3559 * java/net/ServerSocket.java (getImpl): New method.
3560 * gnu/java/nio/NIOServerSocket.java,
3561 gnu/java/nio/natNIOServerSocket.cc: New files.
3562 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3563 * Makefile.am
3564 (ordinary_java_source_files):
3565 Added gnu/java/nio/NIOServerSocket.java.
3566 (nat_source_files):
3567 Removed gnu/java/nio/natServerSocketChannelImpl.cc
3568 and added gnu/java/nio/natNIOServerSocket.cc.
3569 * Makefile.in: Regenerated.
3570
3571 2003-10-11 Michael Koch <konqueror@gmx.de>
3572
3573 * java/awt/ActiveEvent.java,
3574 java/awt/datatransfer/ClipboardOwner.java,
3575 java/awt/datatransfer/FlavorMap.java,
3576 java/awt/datatransfer/Transferable.java,
3577 java/awt/dnd/Autoscroll.java,
3578 java/awt/dnd/peer/DragSourceContextPeer.java,
3579 java/awt/dnd/peer/DropTargetContextPeer.java,
3580 java/awt/dnd/peer/DropTargetPeer.java,
3581 java/awt/font/MultipleMaster.java,
3582 java/awt/font/OpenType.java,
3583 java/awt/im/spi/InputMethodDescriptor.java,
3584 java/awt/image/ImageObserver.java,
3585 java/awt/image/ImageConsumer.java,
3586 java/awt/image/ImageProducer.java,
3587 java/awt/image/RGBImageFilter.java,
3588 java/awt/image/RasterOp.java,
3589 java/awt/image/renderable/RenderableImage.java:
3590 Removed redundant modifiers.
3591
3592 2003-10-11 Michael Koch <konqueror@gmx.de>
3593
3594 * gnu/awt/j2d/DirectRasterGraphics.java,
3595 gnu/java/awt/EmbeddedWindowSupport.java:
3596 Removed redundant modifiers.
3597
3598 2003-10-09 Michael Koch <konqueror@gmx.de>
3599
3600 * gnu/java/nio/SelectorImpl.java (register):
3601 Use ServerSocketChannelSelectionKey for server socket channels,
3602 removed unneeded comments.
3603 * gnu/java/nio/ServerSocketChannelImpl.java
3604 (ServerSocketChannelImpl): Made class public final.
3605 (impl): New member variable.
3606 (ServerSocketChannelImpl): Initialize member variables correctly.
3607 (initServerSocket): New method.
3608 (getNativeFD): Likewise.
3609 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3610 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3611 * Makefile.am (ordinary_java_source_files):
3612 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3613 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3614 * Makefile.in: Regenrated.
3615
3616 2003-10-09 Michael Koch <konqueror@gmx.de>
3617
3618 * java/nio/channels/spi/AbstractSelectableChannel.java
3619 (registered): Made private.
3620 (blocking): Likewise.
3621 (LOCK): Likewise.
3622 (provider): Likewise.
3623 (keys): Made it a private LinkedList.
3624 (AbstractSelectableChannel): Initialize keys.
3625 (isRegistered): New implementation.
3626 (locate): Rewritten.
3627 (register): Rewritten.
3628 * java/nio/channels/spi/AbstractSelectionKey.java
3629 (ok): Removed.
3630 (cancelled): New member variable.
3631 (cancel): Rewritten.
3632 (isValid): Rewritten.
3633 * java/nio/channels/spi/AbstractSelector.java:
3634 Some methods moved.
3635 (closed): Make private.
3636 (provider): Likewise.
3637 (cancelledKeys): New member variable.
3638 (AbstractSelector): Initialize cancelledKeys.
3639 (cancelKey): New method.
3640
3641 2003-10-09 Tom Tromey <tromey@redhat.com>
3642
3643 * java/lang/ClassLoader.java (setSigners): Implemented.
3644 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3645 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3646 Initialize new fields.
3647 * java/lang/Class.java (getSigners): Now native.
3648 (setSigners): Declare.
3649 * java/lang/natClass.cc (getSigners): New method.
3650 (getSigners): Likewise.
3651 * java/lang/Class.h (Class::signers): New field.
3652 (Class::setSigners): New method.
3653
3654 2003-10-09 Michael Koch <konqueror@gmx.de>
3655
3656 * java/rmi/server/RMIClassLoader.java:
3657 Removed unused imports, little reformatings.
3658 (getClassLoader): New method, implementation was part of old loadCLass
3659 method.
3660 (loadClass): Simplified by moving functionality to new method and
3661 reworking the code a bit.
3662 (getClassAnnotation): Merged documentation from classpath.
3663
3664 2003-10-09 Michael Koch <konqueror@gmx.de>
3665
3666 * java/math/BigInteger.java
3667 (add): Removed unused local variable len.
3668
3669 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3670
3671 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3672 modality check.
3673 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3674 Initialize insets to use latest insets.
3675 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3676 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3677 field.
3678 (postConfigureEvent): Update latestInsets field when insets
3679 change. Remove call to setSize. Move validate call outside of
3680 if blocks.
3681 (setVisible): Call setBounds before showing window.
3682 (nativeSetVisible): New native method.
3683 * java/awt/Window.java (show): Show visible owned windows.
3684 (hide): Hide visible owned windows.
3685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3686 (awt_event_handler): Implement modality using GTK grabs.
3687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3688 (global_gtk_window_group): New global variable.
3689 (gtkInit): Initialize global_gtk_window_group.
3690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3691 Clamp width and height values to at least 1. Add this window to
3692 the global GTK window group.
3693 (setVisible): Rename to nativeSetVisible.
3694 (setup_window): Remove function.
3695 (setSize): Clamp width and height values to at least 1.
3696 (nativeSetBounds): Likewise.
3697 (gdk_window_get_root_geometry): Remove function.
3698 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3699 and setup_window declarations. Declare global_gtk_window_group.
3700
3701 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3702 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3703 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3704 (gtkWidgetSetForeground): New method.
3705 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3706 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3707 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3708 (setBackground, setForeground): Implement.
3709 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3710 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3711 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3712 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3713 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3715 Position PangoLayout relative to text's baseline.
3716 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3717
3718 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3719 for CENTER and RIGHT alignments.
3720
3721 2003-10-08 Michael Koch <konqueror@gmx.de>
3722
3723 * java/security/Security.java: Reformated.
3724
3725 2003-10-08 Michael Koch <konqueror@gmx.de>
3726
3727 * java/text/SimpleDateFormat.java
3728 (compileFormat): Replace Character.isLetter() test with
3729 Character.isLowerCase() || Character.isUpperCase().
3730
3731 2003-10-08 Tom Tromey <tromey@redhat.com>
3732
3733 * java/lang/StrictMath.java (toDegrees): Multiply before
3734 dividing.
3735 (toRadians): Likewise.
3736
3737 2003-10-08 C. Brian Jones <cbj@gnu.org>
3738
3739 * java/lang/Math.java
3740 (toRadians): multiply before dividing to reduce decimal error
3741 (toDegrees): ditto
3742
3743 2003-10-08 Michael Koch <konqueror@gmx.de>
3744
3745 * gnu/gcj/protocol/core/Connection.java,
3746 gnu/gcj/protocol/core/CoreInputStream.java,
3747 gnu/gcj/protocol/core/Handler.java,
3748 gnu/gcj/protocol/core/natCoreInputStream.cc,
3749 gnu/gcj/protocol/file/Connection.java,
3750 gnu/gcj/protocol/file/Handler.java,
3751 gnu/gcj/protocol/gcjlib/Connection.java,
3752 gnu/gcj/protocol/gcjlib/Handler.java,
3753 gnu/gcj/protocol/http/Connection.java,
3754 gnu/gcj/protocol/http/Handler.java,
3755 gnu/gcj/protocol/jar/Connection.java,
3756 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3757 * gnu/java/net/protocol/core/Connection.java,
3758 gnu/java/net/protocol/core/CoreInputStream.java,
3759 gnu/java/net/protocol/core/Handler.java,
3760 gnu/java/net/protocol/core/natCoreInputStream.cc,
3761 gnu/java/net/protocol/file/Connection.java,
3762 gnu/java/net/protocol/file/Handler.java,
3763 gnu/java/net/protocol/gcjlib/Connection.java,
3764 gnu/java/net/protocol/gcjlib/Handler.java,
3765 gnu/java/net/protocol/http/Connection.java,
3766 gnu/java/net/protocol/http/Handler.java,
3767 gnu/java/net/protocol/jar/Connection.java,
3768 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3769 * gnu/gcj/runtime/FirstThread.java,
3770 java/net/URL.java: Use moved protocol handlers.
3771 * Makefile.am
3772 (ordinary_java_source_files): Moved files.
3773 (nat_source_files): Likewise.
3774 * Makefile.in: Regenerated.
3775
3776 2003-10-08 Michael Koch <konqueror@gmx.de>
3777
3778 * gnu/java/nio/SocketChannelImpl.java
3779 (read): Write only read data to buffer.
3780
3781 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3782
3783 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3784 out.
3785 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3786 (JCL_free): Attach "unused" attribute to env parameter.
3787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3788 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3789 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3790 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3791 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3792 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3793 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3794 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3795 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3796 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3797 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3798 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3799 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3800 parameters.
3801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3802 (initNativeState): Pass 0 as info argument to
3803 gtk_selection_add_target.
3804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3805 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3806 unused method implementations.
3807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3808 (awt_event_handler): Add break statement after default label.
3809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3810 (drawPixels): Remove unused variable i.
3811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3812 (setEnabled): Remove method implementation.
3813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3814 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3815 argument.
3816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3817 unused function.
3818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3819 (menu_pos): Assign TRUE to push_in.
3820 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3821 argument.
3822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3823 (create): Remove unused variable layout.
3824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3825 Pass window_widget, rather than window, to
3826 gtk_widget_set_size_request.
3827 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3828 structure initialization with NULL values.
3829 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3830
3831 2003-10-08 Michael Koch <konqueror@gmx.de>
3832
3833 * java/util/LinkedList.java:
3834 Removed whitespace to match classpath's version again.
3835
3836 2003-10-08 Michael Koch <konqueror@gmx.de>
3837
3838 * java/util/prefs/Preferences.java
3839 (defaultFactoryClass): Fixed class name.
3840 (getFactory): Create instance of class returned by Class.forName(),
3841 reformated code.
3842
3843 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3844
3845 * javax/swing/table/AbstractTableModel.java
3846 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3847 helped stop pulling my hair on this +1 then -1 tricky thing!
3848
3849 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3850
3851 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3852 Remove unused parameters.
3853 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3854 Likewise.
3855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3856 (keyevent_state_to_awt_mods): Export function.
3857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3858 (getCaretPosition): Fix TextArea case.
3859 (textcomponent_commit_cb): Get exact event time and modifier
3860 state.
3861 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3862
3863 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
3864
3865 * java/net/InetSocketAddress.java
3866 (InetSocketAddress): Made exception more clear.
3867 (equals): Handle case when addr is null.
3868 (toString): Likewise.
3869 * java/net/NetworkInterface.java
3870 (static): Load native library.
3871 (getNetworkInterfaces): Rewritten.
3872
3873 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
3874
3875 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3876 field.
3877 (initializeInsets): New method.
3878 (GtkComponentPeer): Call initializeInsets. Call setCursor and
3879 setBounds unconditionally.
3880 (setBounds): Convert coordinates if parent is a Window.
3881 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3882 field to GtkComponentPeer.
3883 (GtkContainerPeer): Don't initialize insets.
3884 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3885 New method.
3886 (create): Call new GtkWindowPeer create method.
3887 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3888 New method.
3889 (create): Call new GtkWindowPeer create method.
3890 (setBounds): Remove method.
3891 (postConfigureEvent): Likewise.
3892 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3893 type constants with GDK window type constants.
3894 (create(int,boolean,int,int,GtkWindowPeer)): New method.
3895 (create(int,boolean)): Likewise.
3896 (create()): Call create(int,boolean).
3897 (nativeSetBounds): New native method declaration.
3898 (setBounds): Call native method declaration.
3899 (setSize): New native method declaration.
3900 (setBoundsCallback): Likewise.
3901 (postConfigureEvent): Handle change in insets. Call setSize and
3902 setBoundsCallback methods.
3903 * java/awt/Window.java (Window): Set visible to false.
3904 (setBoundsCallback): New method.
3905 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3906 (gtkWidgetGetLocationOnScreen): If this component is not a
3907 container, adjust the location returned based on the peer's
3908 allocation.
3909 (set(String,boolean)): Revert change from 2003-09-19.
3910 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3911 (awt_event_handler): Fix inset calculation.
3912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3913 glue for Window.setBoundsCallback.
3914 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3915 Set up stacking order, window decorations and window manager
3916 hints.
3917 (setBoundsCallback): New method.
3918 (setSize): New method.
3919 (nativeSetBounds): New method.
3920 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3921
3922 2003-10-02 Tom Tromey <tromey@redhat.com>
3923
3924 * java/lang/VMClassLoader.java (loadClass): Now native.
3925 * java/lang/natClassLoader.cc (loadClass): Implement.
3926 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3927
3928 2003-10-02 Michael Koch <konqueror@gmx.de>
3929
3930 * java/net/InetAddress.java
3931 (zeros): Removed.
3932 (ANY_IF): Initalizie in static block.
3933 (static): Load library with native methods here and initialize ANY_IF.
3934 (isAnyLocalAddress): Check if equal to ANY_IF.
3935 (equals): Use addr directly instead of addr1. Simplify for loop.
3936 (toString): Rename "result" to "host" and add IP address allways.
3937 (getLocalHost): Merged documentation from classpath.
3938 * java/net/ServerSocket.java
3939 (ServerSocket): New package-private constructor used by java.nio.
3940 * java/net/URLConnection.java
3941 (getRequestProperties): Check if already connected.
3942
3943 2003-10-02 Michael Koch <konqueror@gmx.de>
3944
3945 * java/nio/ByteBufferHelper.java:
3946 Rewrote all methods by suggestions from Eric Blake.
3947
3948 2003-10-02 Michael Koch <konqueror@gmx.de>
3949
3950 * java/net/URL.java
3951 (DEFAULT_SEARCH_PATH): New static variable.
3952 (ph_cache): Made it a HashMap.
3953 (getURLStreamHandler): Rename propVal to ph_search_path and use
3954 DEFAULT_SEARCH_PATH.
3955
3956 2003-10-02 Michael Koch <konqueror@gmx.de>
3957
3958 * javax/swing/table/AbstractTableModel.java
3959 (findColumnName): Prevent from NullPointerException if argument
3960 columnName is null.
3961
3962 2003-10-02 Michael Koch <konqueror@gmx.de>
3963
3964 * javax/swing/table/AbstractTableModel.java:
3965 This patch is based on a patch done by Arnaud Vandyck
3966 <arnaud.vandyck@ulg.ac.be>.
3967 (getColumnName): Fixed method documentation.
3968 (findColumn): Likewise.
3969 (getColumnClass): Likewise.
3970 (isCellEditable): Likewise.
3971 (setValueAt): Likewise.
3972 (addTableModelListener): Likewise.
3973 (removeTableModelListener): Likewise.
3974 (getTableModelListeners): New method.
3975
3976 2003-10-02 Michael Koch <konqueror@gmx.de>
3977
3978 * javax/swing/table/AbstractTableModel.java:
3979 Reformated.
3980
3981 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
3982
3983 Fix PR libgcj/12475
3984 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
3985 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
3986
3987 2003-10-01 Tom Tromey <tromey@redhat.com>
3988
3989 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
3990
3991 2003-10-01 Andrew Haley <aph@redhat.com>
3992
3993 * java/lang/natClass.cc (initializeClass): Check for otable and
3994 atable.
3995 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
3996 loops using for(). Search superinterfaces. Check for fields as
3997 well as methods. Initialize atable as well as otable: check for
3998 static methods as well as virtual methods.
3999 * java/lang/Class.h (struct _Jv_AddressTable): New.
4000 (atable): New.
4001 (atable_syms): New.
4002 * include/jvm.h (_Jv_equalUtf8Consts): constify.
4003 * prims.cc (_Jv_equalUtf8Consts): constify.
4004
4005 2003-09-29 Tom Tromey <tromey@redhat.com>
4006
4007 PR libgcj/10596:
4008 * include/jvm.h (_Jv_FinalizeString,
4009 _Jv_RegisterStringFinalizer): Declare.
4010 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
4011 unintern.
4012 (intern): Updated.
4013 (_Jv_NewStringUtf8Const): Likewise.
4014 * java/lang/ref/natReference.cc (finalize_referred_to_object):
4015 Add special case when finalizing a String.
4016 (in_hash): New function.
4017 (_Jv_RegisterStringFinalizer): Likewise.
4018 (maybe_add_finalize): Likewise.
4019
4020 2003-09-29 Michael Koch <konqueror@gmx.de>
4021
4022 * java/net/InetAddress.java:
4023 (isMulticastAddress): Dont use local variable to store address length.
4024 Let the compiler optimize this.
4025 (getHostName): Merged dcoumentation from classpath.
4026 (getAddress): Likewise.
4027 (getHostAddress): Likewise.
4028 (hashCode): Likewise.
4029 (equals): Likewise.
4030 (toString): Likewise.
4031 (getByName): Likewise.
4032 (getAllByName): Likewise.
4033
4034 2003-09-29 Michael Koch <konqueror@gmx.de>
4035
4036 * java/awt/image/IndexColorModel.java: Reformated.
4037
4038 2003-09-29 Michael Koch <konqueror@gmx.de>
4039
4040 * java/net/InetAddress.java,
4041 java/net/URL.java: Reformated.
4042
4043 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
4044
4045 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
4046 significant bit of descriptor. Include the vtable and sync_info
4047 fields.
4048
4049 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
4050
4051 * java/text/DateFormat.java (format): Throw IllegalArgumentException
4052 if `obj' is not a Number or Date instance.
4053 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
4054 instead of Vector.
4055
4056 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
4057
4058 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
4059 Don't call setTimeZone on calendar.
4060
4061 2003-09-27 Michael Koch <konqueror@gmx.de>
4062
4063 * java/net/URL.java (getURLStreamHandler): Compile fixes.
4064
4065 2003-09-27 Michael Koch <konqueror@gmx.de>
4066
4067 * java/net/URL.java (getURLStreamHandler):
4068 Check if we have to use cache before trying to retrieve handler from
4069 cache. Rename facName to clsName to match classpath more. Reformated
4070 some little pieces.
4071
4072 2003-09-27 Michael Koch <konqueror@gmx.de>
4073
4074 * gnu/java/nio/SelectionKeyImpl.java
4075 (ch): Make package-private again. Jikes found this bug.
4076 Jeff Sturm submitted PR12426 for this to bugzilla
4077 to fix this bug in gcj.
4078
4079 2003-09-26 Michael Koch <konqueror@gmx.de>
4080
4081 * java/rmi/server/RMIClassLoader.java:
4082 Reformatted file, no functional code changes.
4083
4084 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
4085
4086 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
4087 Save space for some pixels at the buffer end. Added Javadoc.
4088
4089 2003-09-26 Tom Tromey <tromey@redhat.com>
4090
4091 * java/io/ObjectOutputStream.java (writeFields): Fixed
4092 indentation.
4093 (putFields): Likewise.
4094
4095 2003-09-26 Michael Koch <konqueror@gmx.de>
4096
4097 * java/nio/ByteBufferHelper.java:
4098 Totally reworked with help from Eric Blake.
4099
4100 2003-09-26 Tom Tromey <tromey@redhat.com>
4101
4102 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
4103 * java/awt/geom/PathIterator.java: Documentation fixes.
4104
4105 2003-09-25 Jeff Sturm <jsturm@one-point.com>
4106
4107 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
4108 (select): Likewise.
4109 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
4110
4111 2003-09-25 Michael Koch <konqueror@gmx.de>
4112
4113 * gnu/java/nio/DatagramChannelImpl.java
4114 (getNativeFD): New method.
4115 * gnu/java/nio/SelectionKeyImpl.java
4116 (SelectionKeyImpl): Class made abstract.
4117 (fd): Removed.
4118 (SelectionKeyImpl): Remove fd argument.
4119 (getNativeFD): New method.
4120 * gnu/java/nio/SocketChannelImpl.java
4121 (getNativeFD): New method.
4122 gnu/java/nio/DatagramChannelSelectionKey.java,
4123 * gnu/java/nio/SocketChannelSelectionKey.java:
4124 New files.
4125 * Makefile.am (ordinary_java_source_files):
4126 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4127 gnu/java/nio/SocketChannelSelectionKey.java.
4128 * Makefile.in: Regenerated.
4129
4130 2003-09-25 Michael Koch <konqueror@gmx.de>
4131
4132 * java/lang/reflect/Proxy.java
4133 (getProxyClass): Remove workaround for gcj 3.0.x.
4134
4135 2003-09-25 Michael Koch <konqueror@gmx.de>
4136
4137 * gnu/java/net/PlainDatagramSocketImpl.java
4138 (finalize): Moved to directly after constructor.
4139 (getNativeFD): New method.
4140 * gnu/java/net/PlainSocketImpl.java
4141 (getNativeFD): New method.
4142
4143 2003-09-25 Ingo Proetel <proetel@aicas.com>
4144
4145 * java/io/ObjectOutputStream.java:
4146 Allow putFields be called more than once.
4147
4148 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
4149
4150 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4151 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4152 * java/awt/image/BufferedImage.java (toString): Implement.
4153
4154 2003-09-25 Jeff Sturm <jsturm@one-point.com>
4155
4156 * aclocal.m4: Rebuilt.
4157 * configure: Rebuilt.
4158
4159 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
4160
4161 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4162 field.
4163
4164 2003-09-25 Michael Koch <konqueror@gmx.de>
4165
4166 * gnu/java/nio/SelectorImpl.java
4167 (implSelect): Renamed from java_do_select.
4168 (select): Call native implSelect() and add support for Thread
4169 interruption.
4170 * gnu/java/nio/natSelectorImpl.cc
4171 (implSelect): Renamed from java_do_select.
4172
4173 2003-09-25 Michael Koch <konqueror@gmx.de>
4174
4175 * gnu/java/nio/SelectorImpl.java
4176 (selectNow): Made final, throws IOException.
4177 (select): Likewise.
4178 (getFDsAsArray): Made final.
4179 (selectedKeys): Likewise.
4180 (wakeup): Likewise.
4181 (deregisterCancelledKeys): Likewise.
4182 (register): Likewise.
4183 (ass): Removed.
4184 (add_selected): Removed.
4185 * gnu/java/nio/natSelectorImpl.cc:
4186 No need to include bstring.h or gcj/cni.h.
4187 (helper_put_filedescriptors): Rewritten.
4188 (helper_get_filedescriptors): Rewritten.
4189
4190 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
4191
4192 * java/awt/font/FontRenderContext.java (getTransform): Return
4193 copy of internal transform object. Add Javadoc.
4194 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4195 winding rule as Sun J2SE.
4196 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4197
4198 2003-09-25 Ingo Proetel <proetel@aicas.com>
4199
4200 * java/rmi/Naming.java:
4201 Added comments, now accepts pseudo protocol "rmi".
4202
4203 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
4204
4205 * java/text/DecimalFormat.java (format): Don't immediatly round
4206 baseNumber to long.
4207 (setMinimumIntegerDigits): Call super.
4208 (setMinimumFractionDigits): Likewise.
4209 (setMaximumIntegerDigits): Likewise.
4210 (setMaximumFractionDigits): Likewise.
4211
4212 2003-09-25 Michael Koch <konqueror@gmx.de>
4213
4214 * gnu/java/nio/DatagramChannelImpl.java
4215 (DatagramChannelImpl): Made class final.
4216 (blocking): Made private.
4217 (socket): Made it a NIODatagramSocket and private.
4218 (DatagramChannelImpl): create NIODatagramSocket instead of
4219 DatagramSocket.
4220 (implConfigureBlocking): Set socket timeout.
4221 (connect): Check that channel is not closed.
4222 (write): Implemented.
4223 (write): Rewritten.
4224 (read): Implemented.
4225 (read): Rewritten.
4226 (receive): Implemented.
4227 (send): Implemented.
4228 * gnu/java/nio/SelectionKeyImpl.java
4229 (readyOps): Made private.
4230 (interestOps): Made private.
4231 (impl): Made private.
4232 (ch): Made private.
4233 (readyOps): Check if selection key is valid.
4234 (interestOps): Likewise.
4235 * gnu/java/nio/SelectorImpl.java
4236 (closed): Removed.
4237 (keys): Made private.
4238 (selected): Made private.
4239 (finalize): New method.
4240 (implCloseSelector): Rewritten.
4241 (keys): Return unmodifiable Set.
4242 (deregisterCancelledKeys): Fixed typo in method name.
4243 * gnu/java/nio/SocketChannelImpl.java
4244 (SocketChannelImpl): Made class final.
4245 (socket): Made it a NIOSocket and private.
4246 (blocking): Made private.
4247 (connected): Made private.
4248 (connectionPending): New member variable.
4249 (SocketChannelImpl): New implementation.
4250 (finalizer): Use isConnected().
4251 (connect): Rewritten.
4252 (finishConnect): Throws IOException, implemented.
4253 (isConnectionPending): Return connectionPending.
4254 (read): Rewritten.
4255 (write): Rewritten.
4256 * gnu/java/nio/NIOConstants.java: New file.
4257 * Makefile.am (ordinary_java_source_files):
4258 Added gnu/java/nio/NIOConstants.java.
4259 * Makefile.in: Regenerated.
4260
4261 2003-09-25 Michael Koch <konqueror@gmx.de>
4262
4263 * java/net/InetAddress.java:
4264 Reorder imports, remove implementation comment.
4265 (isMulticastAddress): Merged documentation from classpath.
4266 * java/net/URLConnection.java
4267 (setRequestProperty): Check key for null, fix documentation.
4268 (adREquestProperty): Check key for null, remove wrong implementation
4269 and replace it with comment to overwrite this method in subclasses,
4270 fix documentation.
4271
4272 2003-09-25 Tom Tromey <tromey@redhat.com>
4273
4274 * java/lang/reflect/Proxy.java (generate): Uncomment protection
4275 domain code.
4276 * java/lang/natClassLoader.cc (defineClass): Added `loader'
4277 argument.
4278 (linkClass0): Now in VMClassLoader.
4279 (markClassErrorState0): Likewise.
4280 (getSystemClassLoaderInternal): New method.
4281 * java/lang/natClass.cc (initializeClass): Use
4282 VMClassLoader::resolveClass.
4283 * java/lang/ClassLoader.java: New version, from Classpath.
4284 * java/lang/Class.java (getProtectionDomain):
4285 protectionDomainPermission and unknownProtectionDomain now in
4286 VMClassLoader.
4287 * java/lang/Class.h: VMClassLoader now a friend class.
4288 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4289 package-private.
4290 * gcj/javaprims.h: Regenerated class list.
4291 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4292 * java/lang/VMClassLoader.java: New version from Classpath;
4293 modified for libgcj use.
4294
4295 2003-09-25 Michael Koch <konqueror@gmx.de>
4296
4297 * java/nio/ByteBufferHelper.java:
4298 New file.
4299 * java/nio/ByteBufferImpl.java,
4300 java/nio/DirectByteBufferImpl.java,
4301 java/nio/MappedByteBufferImpl.java
4302 (getType,putType): Use new helper class ByteBufferHelper.
4303 * Makefile.am (ordinary_java_source_files):
4304 Added java/nio/ByteBufferHelper.java.
4305 * Makefile.in: Regenerated.
4306
4307 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
4308
4309 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4310 PR libgcj/12388.
4311
4312 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
4313
4314 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4315 Strings, even if buffer is already shared.
4316
4317 2003-09-24 Michael Koch <konqueror@gmx.de>
4318
4319 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4320
4321 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
4322
4323 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4324 (write): Likewise.
4325 (SocketInputStream): Declare `read' and `write' methods native.
4326 Remove implementations which called back into PlainSocketImpl.
4327 Remove unneccessary overridden methods.
4328 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
4329 to inner class PlainSocketImpl.SocketInputStream.
4330 (write): Likewise.
4331 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4332 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4333 * gnu/java/net/SocketInputStream.java: Remove unused file.
4334 * gnu/java/net/SocketOutputStream.java: Likewise.
4335 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4336 and SocketOutputStream.
4337 * Makefile.in: Rebuilt.
4338
4339 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
4340
4341 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4342
4343 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4344 markers.
4345
4346 2003-09-22 Anthony Green <green@redhat.com>
4347
4348 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4349 * configure: Rebuilt.
4350
4351 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
4352
4353 PR java/12350:
4354 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4355
4356 2003-09-22 Michael Koch <konqueror@gmx.de>
4357
4358 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4359 compiler warning but produces a different one now.
4360
4361 2003-09-22 Michael Koch <konqueror@gmx.de>
4362
4363 * java/net/InetAddress.java:
4364 Moves around some code, reformats and adds documentation.
4365 No functional changes.
4366
4367 2003-09-22 Michael Koch <konqueror@gmx.de>
4368
4369 * java/net/JarURLConnection.java
4370 (JarURLConnection): Modifed code to match classpath more, fixed comment.
4371 (getCertificates): Made it more error prone.
4372 (getMainAttributes): Likewise.
4373 (getAttributes): Implemented.
4374 (getManifest): Reformatted code.
4375
4376 2003-09-20 Tom Tromey <tromey@redhat.com>
4377
4378 * java/awt/Component.java: Indentation cleanup from Classpath.
4379
4380 2003-09-20 Dalibor Topic <robilad@kaffe.org>
4381
4382 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4383 checking to follow 1.4.2 spec.
4384
4385 2003-08-11 Ingo Proetel <proetel@aicas.com>
4386
4387 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
4388 is compatible in case client and server are running in the same VM
4389 (remerged from Classpath on 2003-09-20)
4390
4391 2003-09-19 David Daney <ddaney@avtrex.com>
4392
4393 * java/lang/ref/Reference.java (clear): Set referent to null and
4394 synchronize.
4395
4396 2003-09-19 Michael Koch <konqueror@gmx.de>
4397
4398 * gnu/java/nio/NIODatagramSocket.java,
4399 gnu/java/nio/NIOSocket.java: New files.
4400 * Makefile.am (ordinary_java_source_files):
4401 Added gnu/java/nio/NIODatagramSocket.java and
4402 gnu/java/nio/NIOSocket.java.
4403 * Makefile.in: Regenerated.
4404
4405 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4406
4407 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4408 top-level GTK window.
4409 (getArgs): Add "title" property.
4410 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4411 "allow_shrink" and "allow_grow" properties.
4412 * java/awt/Dialog.java: Initialize resizable to true and change
4413 comments accordingly. Initialize visible to false in
4414 constructors.
4415 * java/awt/Frame.java (dispose): Remove method.
4416 * java/awt/Window.java (ownedWindows): New field.
4417 (Window(Window,GraphicsConfiguration)): Add a weak reference to
4418 owner's ownedWindows vector.
4419 (finalize): Remove method.
4420 (hide): Hide owned windows.
4421 (dispose): Dispose of owned windows.
4422 (getOwnedWindows): Implement.
4423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4424 unused GtkArg code.
4425 (set(String,boolean)): Clamp gboolean parameter to g_object_set
4426 to TRUE or FALSE.
4427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4428 (create): Set window's size requisition.
4429 (connectHooks): Fix indentation.
4430 (setResizable): Remove function.
4431 (static setBounds): Likewise.
4432 (setBounds): Replace call to setBounds with GTK size requisition
4433 and resize calls.
4434
4435 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
4436
4437 * win32-threads.cc: (ensure_interrupt_event_initialized) New
4438 function for lazy initialization of an auto-reset event.
4439 (_Jv_CondWait) Added thread interrupt support.
4440 (_Jv_ThreadInitData) Added initialization of interrupt support
4441 members.
4442 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4443 (_Jv_ThreadStart) Removed unused code.
4444 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4445 to an external caller.
4446 (_Jv_ThreadInterrupt) Implemented.
4447 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4448 event for interrupt support as well as a mutex which regulates
4449 access to this.
4450 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4451 event to an external caller.
4452 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4453 process.
4454 (waitFor) Added interrupt support.
4455
4456 2003-09-19 Michael Koch <konqueror@gmx.de>
4457
4458 * java/net/DatagramSocket.java (getLocalAddress):
4459 Renamed result variable to localAddr.
4460 * java/net/MulticastSocket.java:
4461 No need to import gnu.java.net.PlainDatagramSocketImpl.
4462
4463 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
4464
4465 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4466 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4467
4468 2003-09-18 Tom Tromey <tromey@redhat.com>
4469
4470 * javax/naming/InitialContext.java: Reindented.
4471
4472 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
4473 Helmer Kraemer <hkraemer@freenet.de>
4474
4475 * javax/naming/spi/NamingManager.java (getURLContext,
4476 getObjectInstance, getStateToBind): Always use current thread's
4477 context class loader when calling Class.forName.
4478
4479 2003-09-18 Michael Koch <konqueror@gmx.de>
4480
4481 * java/util/Timer.java (finalize): Added "throws Throwable".
4482
4483 2003-09-18 Michael Koch <konqueror@gmx.de>
4484
4485 * java/net/DatagramSocket.java
4486 (ch): Removed.
4487 (receive): Use getChannel() instead of ch.
4488 (send): Likewise.
4489 (getChannel): Return null.
4490 * java/net/ServerSocket.java
4491 (ch): Removed.
4492 (setChannel): Removed.
4493 (implAccept): Use getChannel() instead of ch.
4494 (close): Likewise.
4495 (getChannel): Return null.
4496 * java/net/Socket.java
4497 (ch): Removed.
4498 (connect): Use getChannel() instead of ch.
4499 (setChannel): Removed.
4500 (getChannel): Return null.
4501
4502 2003-09-18 Mark Wielaard <mark@klomp.org>
4503
4504 Reported by Guilhem Lavaux and Julian Dolby
4505 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4506 field "serialPersistentFields", not "getSerialPersistentFields".
4507
4508 2003-09-18 Ingo Proetel <proetel@aicas.com>
4509
4510 * java/util/TimeZone.java: Initialize lazily.
4511 * java/util/Locale.java (readManifest): Fix check for country.
4512 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4513 traceable
4514 * java/util/Calendar.java: Make use of ResourceBundle better
4515 traceable.
4516
4517 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
4518
4519 * java/sql/Timestamp.java
4520 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4521
4522 2003-09-18 David P Grove <groved@us.ibm.com>
4523
4524 * java/io/LineNumberReader (read): Don't reset pos & limit when
4525 markPos is 0.
4526
4527 2003-09-18 Dalibor Topic <robilad@kaffe.org>
4528
4529 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4530 constant.
4531 (computeArguments): use computeTypicalArguments.
4532
4533 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4534 Compile_jikes.java and RMICException.java.
4535 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4536 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4537 * gnu/java/rmi/rmic/RMICException.java: Likewise.
4538
4539 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4540
4541 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4542 (computeTypicalArguments): New method.
4543 (compile): Print compiler output to System.out. Collect compiler
4544 error output and use it in exception message.
4545
4546 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4547 (destination): Initialize to null.
4548 (run): Replace file separator with '.' when processing class.
4549 (processClass): Replace '.' with file separator when compiling
4550 classes.
4551 (findClass): Use SystemClassLoader to load class.
4552 (generateStub): Use full class name for generated stub, that puts
4553 it in right path. Replace '.' with file separator when generating
4554 stub file name. Write just the stub class name without package
4555 information as class name, and constructor name. Write only
4556 interface names for interfaces extending java.rmi.Remote as
4557 implemented.
4558 (generateSkel): Use full class name for generated skel, that puts
4559 it in right path. Replace '.' with file separator when generating
4560 stub file name. Write just the stub class name without package
4561 information as class name.
4562
4563 2003-09-18 Michael Koch <konqueror@gmx.de>
4564
4565 * Makefile.am (rmi_java_source_files):
4566 Added gnu/java/rmi/rmic/Compile_kjc.java,
4567 gnu/java/rmi/rmic/Compile_jikes.java and
4568 gnu/java/rmi/rmic/RMICException.java
4569 * Makefile.in: Regenerated.
4570
4571 2003-09-17 Graydon Hoare <graydon@redhat.com>
4572
4573 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4574 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4575 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4576 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
4577 New files.
4578
4579 2003-09-16 Graydon Hoare <graydon@redhat.com>
4580
4581 * java/awt/BufferedImage.java (setData): Support non-component
4582 sample models.
4583 (getData): Same.
4584
4585 2003-09-10 Graydon Hoare <graydon@redhat.com>
4586
4587 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4588 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4589
4590 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
4591
4592 * configure.in: Standardized help text case of
4593 --enable-hash-synchronization
4594 New configure switch --enable-libgcj-multifile and corresponding
4595 automake conditional ONESTEP.
4596 * configure: Rebuilt.
4597 * Makefile.am: Use automake conditional ONESTEP to determine
4598 whether classfiles should be compiled individually or all
4599 at once.
4600 * Makefile.in: Rebuilt.
4601
4602 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4603
4604 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4605 Remove method declaration.
4606 (create()): Call native create.
4607 (create(int)): New method.
4608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4609 (create): Add window_id parameter. Call gtk_plug_new with
4610 window_id parameter.
4611 (construct): Remove method implementation.
4612
4613 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
4614
4615 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4616 (mostlyclean-local): New target patterned after clean-local
4617 which recursively deletes all libtool objects using 'libtool rm'.
4618 (clean-local): Slightly modified comment to alleviate monotony.
4619 (distclean-local): New target patterned after clean-local
4620 which recursively deletes all .d files.
4621 * Makefile.in: Rebuilt.
4622
4623 2003-09-11 Tom Tromey <tromey@redhat.com>
4624
4625 * java/net/URLStreamHandler.java (parseURL): If original file
4626 ends with "/", so must canonical result.
4627 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4628 with nul-termination and finding previous "/".
4629
4630 2003-09-11 Michael Koch <konqueror@gmx.de>
4631
4632 * acconfig.h: Removed most items.
4633 * configure.in: Added descriptions to AC_DEFINE macros that where in
4634 acconfig.h before.
4635 * include/config.h.in: Regenerated.
4636
4637 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
4638
4639 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4640 if one is installed. Improve Javadoc.
4641 (getSystemEventQueueImpl): Improve Javadoc.
4642
4643 2003-09-11 Tom Tromey <tromey@redhat.com>
4644
4645 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4646 file does not exist.
4647
4648 2003-09-10 Anthony Green <green@redhat.com>
4649
4650 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4651 Specify full name when referencing ::java::net::InetAddress.
4652 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4653 Fix argument type.
4654
4655 2003-09-10 Michael Koch <konqueror@gmx.de>
4656
4657 * acconfig.h (__NO_MATH_INLINES): Removed.
4658 * configure.in: Removed check for g++ math inlining bug from 2000.
4659 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4660 libgcj_cxxflags.
4661 * configure: Regenerated.
4662
4663 2003-09-10 David Daney <ddaney@avtrex.com>
4664
4665 * java/util/Arrays.java (equals(all variants)): Quit using
4666 NullPointerException catching to detect null valued parameters.
4667
4668 2003-09-10 Michael Koch <konqueror@gmx.de>
4669
4670 * java/net/DatagramSocket.java,
4671 java/net/MulticastSocket.java,
4672 java/net/ServerSocket.java,
4673 java/net/Socket.java:
4674 Use gnu.java.net.Plain*SocketImpl instead of
4675 java.net.PlainSocketImpl.
4676 * java/net/PlainDatagramSocketImpl.java,
4677 java/net/PlainSocketImpl.java,
4678 java/net/SocketInputStream.java,
4679 java/net/SocketOutputStream.java,
4680 java/net/natPlainDatagramSocketImplNoNet.cc,
4681 java/net/natPlainDatagramSocketImplPosix.cc,
4682 java/net/natPlainDatagramSocketImplWin32.cc,
4683 java/net/natPlainSocketImplNoNet.cc,
4684 java/net/natPlainSocketImplPosix.cc,
4685 java/net/natPlainSocketImplWin32.cc:
4686 Removed.
4687 * gnu/java/net/PlainDatagramSocketImpl.java,
4688 gnu/java/net/PlainSocketImpl.java,
4689 gnu/java/net/SocketInputStream.java,
4690 gnu/java/net/SocketOutputStream.java,
4691 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4692 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4693 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4694 gnu/java/net/natPlainSocketImplNoNet.cc,
4695 gnu/java/net/natPlainSocketImplPosix.cc,
4696 gnu/java/net/natPlainSocketImplWin32.cc:
4697 New files (moved from java/net).
4698 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4699 instead of java/net/natPlain*SocketImpl.cc.
4700 * configure: Regenerated.
4701 * Makefile.am: Moved files from java/net to gnu/java/net.
4702 * Makefile.in: Regenerated.
4703
4704 2003-09-09 Alan Modra <amodra@bigpond.net.au>
4705
4706 * configure: Regenerate.
4707
4708 2003-09-04 Tom Tromey <tromey@redhat.com>
4709
4710 * configure.host: Removed erroneous comment.
4711
4712 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4713 lvalue cast; use correct rvalue cast.
4714
4715 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4716
4717 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4718 and height arguments to GtkWindowPeer.create method call.
4719 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4720 (create(int,int,int)): New method.
4721 (create(int)): Add call to new create method.
4722 (create()): Add width and height arguments to create method
4723 call.
4724 (GtkWindowPeer): Remove call to setBounds.
4725 * java/awt/Frame.java (Frame(String)): Initialize visible field
4726 to false.
4727 (Frame(GraphicsConfiguration)): Likewise.
4728 (Frame(String,GraphicsConfiguration)): Likewise.
4729 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4730 Add width and height parameters. Call
4731 gtk_window_set_default_size.
4732 (connectHooks): Remove unused name variable.
4733 (static setBounds): Call gtk_window_resize not
4734 gtk_widget_set_usize.
4735 (setBounds): Remove unused nchildren variable.
4736
4737 2003-08-31 Ingo Proetel <proetel@aicas.com>
4738
4739 * java/util/logging/Logger.java: provide class and method information
4740 * java/util/logging/LogManager.java: create handlers
4741 * java/util/logging/SimpleFormatter.java: print souceClassName and
4742 sourceMethodName
4743
4744 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4745
4746 * win32.cc: fixed tab, indentation and whitespace
4747 inconsistencies
4748 removed jvm.h include
4749 added includes java/lang/UnsupportedOperationException.h,
4750 java/io/IOException.h, java/net/SocketException.h
4751 (WSAEventWrapper): class implementation
4752 (_Jv_WinStrError): implemented both overloads
4753 (_Jv_ThrowIOException): implemented both overloads
4754 (_Jv_ThrowSocketException): implemented both overloads
4755 (_Jv_select): implemented
4756 * include/win32.h: fixed tab, indentation and whitespace
4757 inconsistencies
4758 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
4759 added jvm.h include
4760 (WSAEventWrapper): added class declaration
4761 (_Jv_WinStrError): added both overload declarations
4762 (_Jv_ThrowIOException): added both overload declarations
4763 (_Jv_ThrowSocketException): added both overload declarations
4764 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4765 (_Jv_select): added declaration
4766 (_Jv_socket): removed
4767 (_Jv_connect): removed
4768 (_Jv_close): removed
4769 (_Jv_bind): removed
4770 (_Jv_accept): removed
4771 (_Jv_listen): removed
4772 (_Jv_write): removed
4773 (_Jv_read): removed
4774 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4775 whitespace inconsistencies
4776 replaced <windows.h> #include with <platform.h>
4777 removed jvm.h include
4778 (testCanUseGetHandleInfo): new function which tests whether Win32
4779 GetHandleInformation() call can be used with console buffer handles
4780 (only supported on >=WinNT 5.0)
4781 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4782 (valid): rewrote implementation using GetHandleInformation()
4783 (sync): changed exception throwing to use error string and exception
4784 helper methods declared in include/win32.h
4785 (open): likewise
4786 (write): likewise
4787 (setLength): likewise
4788 (close): likewise
4789 (seek): likewise
4790 (getFilePointer): likewise
4791 (read): likewise
4792 * java/io/natFileWin32.cc: fixed tab, indentation and
4793 whitespace inconsistencies
4794 replaced <windows.h> #include with <platform.h>
4795 removed jvm.h include
4796 (_access): use JV_TEMP_UTF_STRING
4797 (_stat): likewise
4798 (performMkDir): use JV_TEMP_UTF_STRING
4799 (performRenameTo): likewise
4800 (performDelete): likewise
4801 (performCreate): likewise
4802 (performSetReadOnly): likewise
4803 (performSetLastModified): likewise
4804 * java/lang/natWin32Process.cc: fixed tab, indentation and
4805 whitespace inconsistencies
4806 replaced <windows.h> #include with <platform.h>
4807 removed includes gcj/cni.h, jvm.h
4808 (new_string): removed
4809 (startProcess): use JV_TEMP_UTF_STRING,
4810 changed exception throwing to use error string and exception
4811 helper methods declared in include/win32.h
4812 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4813 whitespace inconsistencies
4814 replaced <windows.h> #include with <platform.h>
4815 removed jvm.h include
4816 removed DISABLE_JAVA_NET conditional code
4817 removed POSIX conditional code not relevant to Win32
4818 (aton): use JV_TEMP_UTF_STRING
4819 removed POSIX conditional code not relevant to Win32
4820 (lookup): likewise
4821 (getLocalHostName): likewise
4822 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4823 whitespace inconsistencies
4824 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4825 removed DISABLE_JAVA_NET conditional code
4826 removed POSIX conditional code not relevant to Win32
4827 (winsock2GetRealNetworkInterfaces): new function to compute network
4828 interfaces via Winsock2 API
4829 (determineGetRealNetworkInterfacesFN): new function for returning
4830 a function pointer to the function used to compute network interfaces.
4831 (getRealNetworkInterfaces): implemented
4832 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4833 whitespace inconsistencies
4834 removed gcj/cni.h include
4835 removed DISABLE_JAVA_NET conditional code
4836 removed POSIX conditional code not relevant to Win32
4837 changed net POSIXisms to Win32isms
4838 replaced _Jv socket-related calls with their real Win32 equivalents
4839 changed exception throwing to use error string and exception
4840 helper methods declared in include/win32.h
4841 (peekData): implemented timeout support
4842 (receive): likewise
4843 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4844 whitespace inconsistencies
4845 removed gcj/cni.h and gcj/javaprims.h includes
4846 removed DISABLE_JAVA_NET conditional code
4847 removed POSIX conditional code not relevant to Win32
4848 changed net POSIXisms to Win32isms
4849 replaced _Jv socket-related calls with their real Win32
4850 equivalents
4851 changed exception throwing to use error string and exception
4852 helper methods declared in include/win32.h
4853 (throwConnectException): helper function for connect()
4854 (connect): implemented timeout support
4855 (accept): likewise
4856 (doRead): new helper function common to both read() method overloads,
4857 includes timeout support
4858 (read): implemented both overloads in terms of doRead()
4859 (available): implemented using ioctlsocket()
4860
4861 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4862
4863 * java/net/natInetAddressWin32.cc,
4864 java/net/natNetworkInterfaceWin32.cc,
4865 java/net/natPlainDatagramSocketImplWin32.cc,
4866 java/net/natPlainSocketImplWin32.cc:
4867 Readded code enclosed in DISABLE_JAVA_NET defines
4868 in preparation for MinGW cleanup / networking
4869 patch
4870
4871 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4872
4873 * Makefile.am: Fixed problems with parallel makes.
4874 (all_java_class_files): Readded definition.
4875 (all_java_class_files): New target which depends on
4876 libgcj-@gcc_version@.jar
4877 * Makefile.in: Rebuilt
4878
4879 2003-08-28 Tom Tromey <tromey@redhat.com>
4880
4881 * Makefile.in: Rebuilt.
4882 * Makefile.am (ordinary_java_source_files): Added new files.
4883 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4884 friend.
4885 * java/net/URLClassLoader.java (findClass): Don't use
4886 findURLResource. Use loader's getClass method.
4887 (URLLoader.getClass): New method.
4888 (addURL): Handle `gcjlib' URLs.
4889 (SoURLLoader): New class.
4890 (SoResource): Likewise.
4891 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4892 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4893 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4894 (_Jv_RegisterCoreHook): Declare.
4895 (_Jv_FindCore): Declare.
4896 * gnu/gcj/runtime/SharedLibHelper.java: New file.
4897 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4898 typedef.
4899 (core_hook): New function.
4900 (struct SharedLibDummy) [saved_core]: New field.
4901 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
4902 (register_hook): Set protection domain and class loader on new
4903 class.
4904 (finalize): Free core chain.
4905 * gnu/gcj/Core.java (Core): New constructor.
4906 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4907 SharedLibHelper.
4908 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4909 (_Jv_create_core): New function.
4910 (create): Use it.
4911 (default_register_resource): New function.
4912 (_Jv_RegisterCoreHook): New global.
4913 (_Jv_RegisterResource): Use it.
4914 (core_chain_struct): Removed.
4915 (_Jv_FindCore): New function.
4916 (_Jv_FreeCoreChain): New function.
4917
4918 2003-08-29 Michael Koch <konqueror@gmx.de>
4919
4920 * java/net/natInetAddressWin32.cc,
4921 java/net/natNetworkInterfaceWin32.cc,
4922 java/net/natPlainDatagramSocketImplWin32.cc,
4923 java/net/natPlainSocketImplWin32.cc:
4924 Removed code enclosed in DISABLE_JAVA_NET defines.
4925
4926 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
4927
4928 * Makefile.am: (write_entries_to_file) New parameterized
4929 function for writing entries to a file one line at a time.
4930 (all_java_class_files): Removed definition.
4931 (.java.class) Removed.target.
4932 (libgcj-@gcc_version@.jar): Changed dependency to
4933 $(all_java_source_files); added compilation step which compiles
4934 all changed source files in one pass.
4935 (libgcj.la) Refactored to use write_entries_to_file.
4936 (lib-gnu-awt-xlib.la) Likewise.
4937 (install-data-local) Likewise.
4938 (write-entries-to-file-check) New target which tests write_entries_to_file.
4939 (all-recursive): Changed dependency from $(all_java_class_files)
4940 to libgcj-@gcc_version@.jar
4941 * Makefile.in: Rebuilt.
4942
4943 2003-08-26 Tom Tromey <tromey@redhat.com>
4944
4945 * java/lang/StrictMath.java: Typo fix.
4946 * java/lang/Math.java: Typo fix.
4947
4948 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
4949
4950 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4951 of the removed Thread.
4952
4953 2003-08-26 Mark Wielaard <mark@klomp.org>
4954
4955 Reported by David Holmes <dholmes@dltech.com.au>.
4956 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4957 Collections.synchronizedMap.
4958 * java/lang/ThreadLocal.java (valueMap): Likewise.
4959
4960 2003-08-26 Mark Wielaard <mark@klomp.org>
4961
4962 * java/security/acl/Acl.java: Fix broken p tag.
4963 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4964 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4965 * javax/swing/plaf/TreeUI.java: Likewise.
4966 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4967 * java/util/Properties.java: Use the word umlaut, not &auml; in api
4968 documentation.
4969 * java/util/PropertyResourceBundle.java: Likewise and add closing code
4970 tag.
4971
4972 2003-08-26 Tom Tromey <tromey@redhat.com>
4973
4974 * Makefile.in: Rebuilt.
4975 * Makefile.am: Removed all GNU-make-specific FIXME comments.
4976
4977 * java/lang/ref/Reference.java (get): Indentation fix.
4978 (clear): Comment fix.
4979 (enqueue): Likewise.
4980 (lock): Likewise.
4981 (referent): Likewise.
4982
4983 2003-08-26 Tom Tromey <tromey@redhat.com>
4984
4985 PR java/12058:
4986 * java/lang/reflect/natArray.cc (set): Allow null as argument.
4987
4988 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
4989 (ProxyData.getPackage): New method.
4990 (ProxyData.getProxyData): Use package name, not Package.
4991 (ClassFactory.ClassFactory): Updated.
4992
4993 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
4994 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
4995 * Makefile.in: re-generated.
4996 * gnu/awt/j2d/IntegerGraphicsState.java
4997 (ScreenCoupledImage): new interface.
4998 (drawImage): detect ScreenCoupledImage instances.
4999 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
5000 * gnu/awt/xlib/XEventLoop.java
5001 (createEvent): re-formatted, and rearranged to avoid null pointer.
5002 * gnu/awt/xlib/XGraphics.java
5003 (drawImage): added XOffScreenImage handling.
5004 * gnu/awt/xlib/XOffScreenImage.java: new file.
5005 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
5006 * gnu/gcj/xlib/GC.java (copyArea): new native method.
5007 * gnu/gcj/xlib/XAnyEvent.java
5008 (TYPE_KEY_PRESS): new constant.
5009 (TYPE_KEY_RELEASE): new constant.
5010 (TYPE_MOTION_NOTIFY): new constant.
5011 (TYPE_ENTER_NOTIFY): new constant.
5012 (TYPE_LEAVE_NOTIFY): new constant.
5013 (TYPE_FOCUS_IN): new constant.
5014 (TYPE_FOCUS_OUT): new constant.
5015 (TYPE_KEYMAP_NOTIFY): new constant.
5016 (TYPE_GRAPHICS_EXPOSE): new constant.
5017 (TYPE_NO_EXPOSE): new constant.
5018 (TYPE_VISIBILITY_NOTIFY): new constant.
5019 (TYPE_CREATE_NOTIFY): new constant.
5020 (TYPE_DESTROY_NOTIFY): new constant.
5021 (TYPE_MAP_REQUEST): new constant.
5022 (TYPE_CONFIGURE_REQUEST): new constant.
5023 (TYPE_GRAVITY_NOTIFY): new constant.
5024 (TYPE_RESIZE_REQUEST): new constant.
5025 (TYPE_CIRCULATE_NOTIFY): new constant.
5026 (TYPE_CIRCULATE_REQUEST): new constant.
5027 (TYPE_PROPERTY_NOTIFY): new constant.
5028 (TYPE_SELECTION_CLEAR): new constant.
5029 (TYPE_SELECTION_REQUEST): new constant.
5030 (TYPE_SELECTION_NOTIFY): new constant.
5031 (TYPE_COLORMAP_NOTIFY): new constant.
5032 (TYPE_MAPPING_NOTIFY): new constant.
5033 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
5034 * gnu/gcj/xlib/natGC.cc (copyArea): new method
5035 * java/awt/Component.java (createImage): changed to use peer method.
5036
5037 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5038
5039 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
5040 name, not XLFD, to native drawString.
5041 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5042 Replace XLFD-based implementation with Pango-based
5043 implementation.
5044
5045 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5046
5047 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
5048 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
5049
5050 2003-08-21 David Daney <ddaney@avtrex.com>
5051
5052 Fix for PR libgcj/12013:
5053 * java/lang/ref/natReference.cc (finalize_referred_to_object):
5054 Check `cleared' field.
5055 * java/lang/ref/Reference.java (copy): Updated comments.
5056 (cleared): New field.
5057 (clear): Rewrote.
5058
5059 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
5060 Thomas Fitzsimmons <fitzsim@redhat.com>
5061
5062 * Makefile.am (gtk_awt_peer_sources): Add
5063 gnu/java/awt/peer/GLightweightPeer.java. Remove
5064 gnu/java/awt/GLightweightPeer.java.
5065 * gnu/java/awt/GLightweightPeer.java: Remove file.
5066 * gnu/java/awt/peer/GLightweightPeer.java: New file.
5067 * java/awt/Component.java (getToolkit): Add comment about
5068 lightweight components.
5069 * java/awt/Toolkit.java (createComponent): Return
5070 gnu.java.awt.peer.GLightweightPeer.
5071
5072 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
5073
5074 * configure.in: Fix detection of gcj when building with newlib.
5075 * configure: Regenerated.
5076
5077 2003-08-20 Graydon Hoare <graydon@redhat.com>
5078
5079 * jni.cc: Replace "cheating" pointer-casting code with
5080 extract_from_jvalue<> template.
5081
5082 2003-08-20 Andrew Haley <aph@redhat.com>
5083
5084 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
5085 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
5086 (classAt): Break out class lookup function into getClass().
5087 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
5088 handlers when using -fno-assume-compiled.
5089
5090 2003-08-20 Tom Tromey <tromey@redhat.com>
5091
5092 Fix for PR libgcj/9125:
5093 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5094 object outside of loop. Respect lib_control setting.
5095 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
5096 field.
5097 (lib_control): New field.
5098 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
5099 (VMClassLoader): Initialize new field.
5100
5101 * java/lang/ref/natReference.cc (finalize_referred_to_object):
5102 Set `list->reference' to DELETED_REFERENCE when removing dead
5103 object.
5104 (find_slot): Added an assert.
5105 (DELETED_REFERENCE): New define.
5106 (add_to_hash): Check for DELETED_REFERENCE.
5107 (remove_from_hash): Just return if found slot isn't ours.
5108
5109 2003-08-19 Andrew Haley <aph@redhat.com>
5110
5111 * prims.cc (unblock_signal): New function.
5112 (catch_segv): Use it.
5113 (catch_fpe): Likewise.
5114
5115 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
5116
5117 PR libgcj/11575
5118 * java/io/natFileDescriptorWin32.cc (open): Set create
5119 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5120 Honor EXCL when openning with WRITE flag.
5121
5122 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
5123
5124 * include/jvm.h: New class _Jv_TempUTFString (helper class for
5125 getting a temporary C string from a jstring)
5126 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5127 but uses a stack buffer if the string length is less than 256
5128 bytes.
5129
5130 2003-08-18 Tom Tromey <tromey@redhat.com>
5131
5132 PR libgcj/11951:
5133 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5134 void. Throw VirtualMachineError if ffi fails. Initialize return
5135 value. Added is_jni_call argument; only wrap exception if not a
5136 JNI call. Use descriptive message if operation not supported.
5137 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5138 array class.
5139 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5140 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5141 _Jv_CallAnyMethodA.
5142 (_Jv_JNI_CallAnyMethodA): Likewise.
5143 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5144 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5145
5146 2003-08-13 Tom Tromey <tromey@redhat.com>
5147
5148 * gij.cc (help): Document -? and -X.
5149
5150 2003-08-12 Graydon Hoare <graydon@redhat.com>
5151
5152 * java/awt/Font.java:
5153 Stub out more recent API.
5154
5155 2003-08-12 Graydon Hoare <graydon@redhat.com>
5156
5157 * java/awt/Color.java (getAlpha):
5158 Prevent sign-extended alpha values.
5159
5160 2003-08-12 Tom Tromey <tromey@redhat.com>
5161
5162 * gij.cc (main): Handle -? and -X.
5163
5164 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
5165
5166 * java/awt/Container.java
5167 (getPreferredSize): Call preferredSize.
5168 (preferredSize): Moved body of getPreferredSize here.
5169 (getMinimumSize): Call minimumSize.
5170 (minimumSize): Moved body of getMinimumSize here.
5171
5172 2003-08-11 Tom Tromey <tromey@redhat.com>
5173
5174 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5175 (postEvent): Removed FIXME comment.
5176 (isDispatchThread): Documented.
5177 (getCurrentEvent): New method.
5178 (dispatchEvent): Set currentEvent and lastWhen.
5179 (getMostRecentEventTime): Rewrote.
5180 (invokeLater): Documented.
5181
5182 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
5183
5184 * java/io/PrintStream.java (print): Always flush if auto_flush is
5185 set. Don't check for newline characters.
5186 (write (int)): Implement without using a temporary array.
5187 (write (byte[], int, int): Always flush if auto_flush is set. Don't
5188 check for newline characters.
5189 Fixes PR libgcj/11778.
5190
5191 2003-08-08 Andrew Haley <aph@redhat.com>
5192
5193 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5194 * Makefile.in: Rebuild.
5195 * java/lang/natRuntime.cc (insertSystemProperties): Add
5196 "sun.boot.class.path".
5197
5198 2003-08-07 Andrew Haley <aph@redhat.com>
5199
5200 * java/io/PrintStream.java: Don't crash on a null string.
5201
5202 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5203
5204 * configure.in: Don't initialize GCINCS to boehm-gc/include.
5205 * configure: Regenerate.
5206
5207 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
5208
5209 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5210 SocketImpl. Update Javadoc.
5211 (bind): Call close() not impl.close() in event of exception.
5212 (connect): Likewise.
5213 Remove superfluous null checks throughout.
5214 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5215 Don't create an extra socket. Fix for PR libgcj/10868.
5216 (bind): Clean up exception handling.
5217 Remove superfluous null checks throughout.
5218
5219 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
5220 Bryce McKinlay <bryce@mckinlay.net.nz>
5221
5222 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5223 ready-to-write argument to _Jv_Select. Reset the socket back to
5224 non-blocking state after connecting.
5225 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5226 Throw SocketTimeoutException not InterruptedIOException.
5227 (read): Throw SocketTimeoutException not InterruptedIOException.
5228
5229 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
5230
5231 * java/lang/Thread.java (Thread): Check for null "name" from
5232 start of private constructor, not after calling the private
5233 constructor.
5234
5235 2003-08-06 Tom Tromey <tromey@redhat.com>
5236
5237 * java/io/FilePermission.java (equals): Use correct index for
5238 last character of path.
5239
5240 2003-08-06 Alan Modra <amodra@bigpond.net.au>
5241
5242 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5243 * configure.in: Compare with_cross_host to build_alias, not build.
5244 * aclocal.m4: Regenerate.
5245 * configure: Regenerate.
5246
5247 2003-08-05 Tom Tromey <tromey@redhat.com>
5248
5249 Fix for PR libgcj/11779:
5250 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5251 class.
5252
5253 * java/lang/reflect/Method.java: Updated status comment.
5254 Imported javadoc from Classpath and re-ordered methods.
5255 * java/lang/reflect/Constructor.java: Reindented. Updated
5256 status comment. Imported javadoc from Classpath and re-ordered
5257 methods.
5258
5259 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
5260
5261 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5262 Add keyLocation parameter.
5263 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5264 string.
5265 (paramString): Generate keyChar string according to keyChar, not
5266 keyCode.
5267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5268 (state_to_awt_mods): Handle ALT key.
5269 (keyevent_state_to_awt_mods): New function.
5270 (get_first_keyval_from_keymap): New function.
5271 (keysym_to_awt_keycode): Get virtual key code from keymap.
5272 Handle missing VK_ values.
5273 (keysym_to_awt_keylocation): New function.
5274 (keyevent_to_awt_keychar): New function.
5275 (generates_key_typed_event): Handle non-text-component case.
5276 Handle GDK_KP_Delete and GDK_KP_Enter.
5277 (awt_event_handler): Call new functions to get postKeyEvent
5278 parameters.
5279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5280 Update postKeyEvent method signature.
5281 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
5282 VK_ defines.
5283
5284 2003-08-05 Matthias Klose <doko@debian.org>
5285
5286 * aclocal.m4: check for libart-config binary
5287 under the name libart2-config as well.
5288 * configure: regenerated.
5289
5290 2003-08-04 David P Grove <groved@us.ibm.com>
5291
5292 * java/text/DecimalFormat.java (format): avoid ArithmeticException
5293 when groupingSize is 0.
5294 (parse): Likewise.
5295
5296 2003-08-04 Matthias Klose <doko@debian.org>
5297
5298 * libart.m4: check for libart-config binary
5299 under the name libart2-config as well.
5300 * configure, aclocal.m4: regenerated.
5301
5302 2003-08-02 Michael Koch <konqueror@gmx.de>
5303
5304 * java/nio/ByteBufferImpl.java
5305 (getChar): Check remaining bytes, fixed comment about endianess.
5306 (putChar): Likewise.
5307 (getShort): Likewise.
5308 (putShort): Likewise.
5309 (getInt): Check remaining bytes, fixed conversion, fixed comment about
5310 endianess.
5311 (putInt): Likewise.
5312 (getLong): Likewise.
5313 (putLong): Likewise.
5314 (getFloat): Likewise.
5315 (putFloat): Likewise.
5316 (getDouble): Likewise.
5317 (putDouble): Likewise.
5318 * java/nio/DirectByteBufferImpl.java
5319 (getChar): Wrapped code, fixed comment about endianess.
5320 (putchar): Likewise.
5321 (getShort): Likewise.
5322 (putShort): Likewise.
5323 (getInt): Fixed conversion, fixed comment about endianess.
5324 (putInt): Likewise.
5325 (getLong): Likewise.
5326 (putLong): Likewise.
5327 (getFloat): Likewise.
5328 (putFloat): Likewise.
5329 (getDouble): Likewise.
5330 (putDouble): Likewise.
5331 * java/nio/MappedByteBufferImpl.java
5332 (compact): Implemented.
5333 (getChar): Implemented.
5334 (putChar): Implemented.
5335 (getDouble): Implemented.
5336 (putdouble): Implemented.
5337 (getFloat): Implemented.
5338 (putFloat): Implemented.
5339 (getInt): Implemented.
5340 (putInt): Implemented.
5341 (getLong): Implemented.
5342 (putLong): Implemented.
5343 (getShort): Implemented.
5344 (putShort): Implemented.
5345 * java/nio/channels/FileChannelImpl.java
5346 (read): Set position where to access file.
5347 (write): Likewise.
5348 (transferTo): Flip buffer after read and before write.
5349 (transferFrom): Likewise.
5350
5351 2003-08-02 Michael Koch <konqueror@gmx.de>
5352
5353 * gnu/java/lang/ArrayHelper.java
5354 (equalsArray): Reformated, added method documentation.
5355
5356 2003-08-02 Michael Koch <konqueror@gmx.de>
5357
5358 * java/net/URL.java
5359 (URL): Added paragraph about the
5360 gnu.java.net.nocache_protocol_handlers property.
5361 (ph_cache): Renamed from handlers to match classpath's implementation.
5362 Reordered it with factory and serialVersionUID member variables.
5363 (cache_handlers): New member variable.
5364 (static): New static initializer to initialize cache_handlers from
5365 gnu.java.net.nocache_protocol_handlers property.
5366 (URL): Use ph_cache instead of handlers, reformatted some code to
5367 match classpath's implementation.
5368
5369 2003-08-01 Tom Tromey <tromey@redhat.com>
5370
5371 Fix for PR libgcj/11241:
5372 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5373 initialCapacity is 0, set it to 1.
5374
5375 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
5376
5377 * java/net/SocketImpl.java (toString): Display the remote address
5378 of an unconnected server socket as "0.0.0.0/0.0.0.0".
5379
5380 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
5381
5382 * javax/swing/border/BevelBorder.java,
5383 javax/swing/border/EtchedBorder.java,
5384 javax/swing/border/LineBorder.java,
5385 javax/swing/border/MatteBorder.java,
5386 javax/swing/border/SoftBevelBorder.java,
5387 javax/swing/plaf/BorderUIResource.java,
5388 javax/swing/plaf/ComponentUI.java,
5389 javax/swing/plaf/TreeUI.java,
5390 javax/swing/plaf/basic/BasicBorders.java,
5391 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5392 javax/swing/plaf/basic/BasicTreeUI.java:
5393 Prepend "doc-files" to all paths to embedded Javadoc images, so
5394 that the generated documentation contains the correct URL.
5395
5396 2003-08-01 Tom Tromey <tromey@redhat.com>
5397
5398 * configure: Rebuilt.
5399 * configure.in (tool_include_dir): Redefine to match gcc.
5400
5401 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
5402 Mark Wielaard <mark@klomp.org>
5403
5404 * java/math/BigDecimal (divide): Correctly handle
5405 ROUND_HALF_EVEN when amount is greater than 0.5.
5406 Simplify and optimize code.
5407
5408 2003-07-31 Tom Tromey <tromey@redhat.com>
5409
5410 More for PR libgcj/11737:
5411 * java/io/ObjectInputStream.java (processResolution): Use
5412 getMethod.
5413 (getMethod): Make method accessible.
5414 (getField): Make field accessible.
5415 (setBooleanField): Don't call setAccessible here.
5416 (setByteField, setCharField, setDoubleField, setFloatField,
5417 setIntField, setLongField, setShortField, setObjectField):
5418 Likewise.
5419 (callReadMethod): Don't check whether method is null. Catch
5420 NoSuchMethodException.
5421 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5422 cause on thrown exceptions.
5423
5424 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
5425
5426 Fix for PR libgcj/11728:
5427 * java/util/HashMap.java (readObject): Set size.
5428
5429 2003-07-31 Tom Tromey <tromey@redhat.com>
5430
5431 Fix for PR libgcj/11737:
5432 * java/io/ObjectOutputStream.java (getMethod): Make method
5433 accessible.
5434 (getField): Likewise.
5435 (writeObject): Use getMethod.
5436 Import PrivilegedAction and AccessController.
5437 (callWriteMethod): Don't check whether m is null. Catch
5438 NoSuchMethodException.
5439
5440 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5441 (containsAngle): Likewise.
5442 (getStartPoint): Rewrote.
5443 (getEndPoint): Likewise.
5444 (setAngleStart(Point2D)): Likewise.
5445
5446 2003-07-31 Roger Sayle <roger@eyesopen.com>
5447 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5448
5449 * configure.in: Add new THREADCXXFLAGS variable.
5450 Handle POSIX threads on alpha*-dec-osf*.
5451 * configure: Regenerate.
5452 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5453 * Makefile.in: Regenerate.
5454
5455 2003-07-08 Andrew Haley <aph@redhat.com>
5456
5457 * include/i386-signal.h (RESTORE): New.
5458 (INIT_SEGV): Set restorer.
5459 (INIT_FPE): Likewise.
5460
5461 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
5462
5463 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5464 than getXLFD.
5465 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5466 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5467 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5468 (gtkSetFont): Scale size parameter by PANGO_SCALE.
5469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5470 Likewise.
5471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5472 Likewise.
5473
5474 2003-07-29 Tom Tromey <tromey@redhat.com>
5475
5476 * defineclass.cc (handleField): Throw exception if field name is
5477 duplicated.
5478 (handleMethod): Throw exception for duplicate method.
5479
5480 2003-07-29 Tom Tromey <tromey@redhat.com>
5481
5482 * gnu/gcj/convert/natIconv.cc (write): Handle case where
5483 output buffer is too small.
5484
5485 2003-07-28 Tom Tromey <tromey@redhat.com>
5486
5487 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5488 New method.
5489 Include gnu/gcj/runtime/StringBuffer.h.
5490 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5491 native method.
5492 (String(gnu.gcj.runtime.StringBuffer)): Use it.
5493
5494 2003-07-27 Anthony Green <green@redhat.com>
5495
5496 * configure.in: Fix newlib check.
5497 * configure: Rebuilt.
5498
5499 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5500
5501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5502 Create vbox and layout for GtkPlug.
5503
5504 2003-07-27 Michael Koch <konqueror@gmx.de>
5505
5506 * java/awt/Window.java
5507 (Window): Removed now unused constructor. It became oboslete with the
5508 new embedded window patch.
5509
5510 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
5511 Michael Koch <konqueror@gmx.de>
5512
5513 * gnu/java/awt/EmbeddedWindow.java
5514 (EmbeddedWindow): Extends Frame instead of Window.
5515 (window_id): New member variable to store the native window handle.
5516 (create): Removed.
5517 (EmbeddedWindow): New constructor.
5518 (addNotify): New method.
5519 (getHandler): Likewise.
5520 (setWindowPeer): New native method.
5521 * gnu/java/awt/EmbeddedWindowSupport.java
5522 (EmbeddedWindowSupport): Fixed documentation.
5523 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5524 WindowPeer, give it an EmbeddedWindow instance instead of the raw
5525 window data.
5526 * gnu/java/awt/natEmbeddedWindow.cc
5527 (create): Removed.
5528 (setWindowPeer): New method.
5529 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5530 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5531 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5532 New files
5533 * gnu/java/awt/peer/gtk/GtkToolkit.java
5534 (GtkToolkit): Implements EmbeddedWindowSupport.
5535 (createEmbeddedWindow): New method.
5536 * java/awt/Window.java
5537 (Window): Removed.
5538 * Makefile.am
5539 (java_source_files): Added EmbeddedWindowPeer.java.
5540 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5541 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5542 * Makefile.in: Regenerated.
5543
5544 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
5545
5546 * java/lang/Win32Process.java (ConcreteProcess): Surround
5547 a command line element with quotes if it contains an
5548 embedded space or tab.
5549 * java/lang/natWin32Process.cc (startProcess): Do not
5550 surround command line elements with quotes here.
5551
5552 * configure.host: Use -fcheck-references and
5553 -fuse-divide-subroutine for MinGW until we fix
5554 win32_exception_handler( ) in win32.cc w.r.t. Win32
5555 Structured Exception Handling (SEH).
5556
5557 * win32.cc (_Jv_platform_initProperties): Use generic names
5558 like "x86" for the "os.arch" property to be consistent with
5559 what Sun's JDK produces. Use the wProcessorArchitecture
5560 member of the Win32 SYSTEM_INFO structure, filled in a call
5561 to GetSystemInfo( ), instead of dwProcessorType.
5562
5563 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
5564 Ranjit Mathew <rmathew@hotmail.com>
5565
5566 * Makefile.am: Use cross-compiling gcjh from the path for
5567 a crossed-native build.
5568 * Makefile.in: Rebuilt.
5569 * configure.in: Include libltdl in non-newlib builds.
5570 Moved determination of gcj used to build libraries to
5571 its own section. Fixed cross-compilation issues for
5572 non-newlib builds.
5573 * configure: Rebuilt.
5574
5575 2003-07-25 Tom Tromey <tromey@redhat.com>
5576
5577 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5578 (write): Likewise.
5579 (read): Likewise.
5580 (read): Likewise.
5581
5582 2003-07-25 Mark Wielaard <mark@klomp.org>
5583
5584 * java/lang/natRuntime.cc (_load): Add library name to
5585 UnsatisfiedLinkError when thrown.
5586
5587 2003-07-25 Mark Wielaard <mark@klomp.org>
5588
5589 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5590 added.
5591 * Makefile.in: Likewise.
5592
5593 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
5594
5595 * java/awt/Component.java
5596 (getPreferredSize): Call preferredSize.
5597 (preferredSize): Moved body of getPreferredSize here.
5598 (getMinimumSize): Call minimumSize.
5599 (minimumSize): Moved body of getMinimumSize here.
5600 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5601 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5602 pass -1
5603 * java/awt/Container.java
5604 (validate): Don't validate if there is no peer.
5605 (update): Clear background before calling paint.
5606 * java/awt/GridBagLayout.java
5607 Completed the implementation and fixed several bugs.
5608 * java/awt/MediaTracker.java
5609 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5610 combine flags.
5611 * java/awt/Window.java
5612 (Window): Don't call setVisible(false). Windows are invisible by
5613 default and calling virtual methods from constructor causes
5614 compatibility problems (e.g. subclasses may assume that the peer
5615 already exists).
5616
5617 2003-07-25 Michael Koch <konqueror@gmx.de>
5618
5619 * java/awt/GridBagLayout.java:
5620 Totally reworked and partly implemented.
5621 * java/awt/GridBagLayoutInfo.java:
5622 New file.
5623
5624 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5625
5626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5627 Don't pack label in an event box.
5628
5629 2003-07-24 Tom Tromey <tromey@redhat.com>
5630
5631 For PR libgcj/7482:
5632 * verify.cc (ref_intersection): New class.
5633 (type_val): Removed unresolved_reference_type,
5634 uninitialized_unresolved_reference_type.
5635 (is_assignable_from_slow): Rewrote.
5636 (type::data): Removed.
5637 (type::klass): New field.
5638 (type::type): Added verifier argument.
5639 (type::resolve): Removed.
5640 (type::set_uninitialized): Updated for change to type_val.
5641 (type::set_initialized): Likewise.
5642 (type::isinitialized): Likewise.
5643 (type::print): Likewise.
5644 (construct_primitive_array_type): Likewise.
5645 (type::compatible): Updated for change to type_val and to use
5646 ref_intersection.
5647 (type::isarray): Updated to use ref_intersection.
5648 (type::isinterface): Likewise.
5649 (type::element_type): Likewise.
5650 (type::to_array): Likewise.
5651 (type::verify_dimensions): Rewrote.
5652 (type::merge): Likewise.
5653 (check_class_constant): Updated for type constructor change.
5654 (check_constant): Likewise.
5655 (check_field_constant): Likewise.
5656 (get_one_type): Likewise.
5657 (initialize_stack): Likewise.
5658 (verify_instructions_0): Likewise.
5659 (verify_instructions_0) [op_invokeinterface]: Removed special
5660 case.
5661 (isect_list): New field.
5662 (_Jv_BytecodeVerifier): Initialize it.
5663 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
5664
5665 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
5666
5667 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5668 unless field size is 2.
5669
5670 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5671
5672 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5673 (connectHooks): New method.
5674 (handleEvent): Remove.
5675 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5676 (createHooks): Remove declaration.
5677 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5678 (generates_key_typed_event): Change to handle only certain
5679 keyvals.
5680 (awt_event_handler): Add special handling for GtkTextView.
5681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5682 (textcomponent_commit_cb): New function.
5683 (textcomponent_changed_cb): Likewise.
5684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5685 (connectHooks): Remove.
5686
5687 2003-07-23 Tom Tromey <tromey@redhat.com>
5688
5689 * java/lang/natSystem.cc (arraycopy): Check for overflow.
5690
5691 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5692
5693 2003-07-22 Tom Tromey <tromey@redhat.com>
5694
5695 * boehm.cc (_Jv_BuildGCDescr): Wrote.
5696 Include limits.h.
5697
5698 2003-07-22 Tom Tromey <tromey@redhat.com>
5699
5700 * java/awt/Window.java (getWarningString): Just return the
5701 string.
5702 (Window): Set warningString; check with security manager.
5703
5704 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
5705
5706 * gnu/awt/xlib/XGraphicsConfiguration.java
5707 (FontMetricsCache): Made static.
5708
5709 2003-07-22 Tom Tromey <tromey@redhat.com>
5710
5711 * java/net/URLEncoder.java (encode(String)): Use platform default
5712 encoding.
5713 (encode(String,String)): Convert to 2-digit upper-case hex
5714 number.
5715 (hex): New field.
5716
5717 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5718
5719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5720 (create): Remove unused method implementation.
5721 (connectHooks): Remove debug messages.
5722
5723 2003-07-20 Anthony Green <green@redhat.com>
5724
5725 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5726 CloneNotSupportedException.
5727 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5728 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5729 * gnu/gcj/xlib/GC.java (clone): Ditto.
5730 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5731 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5732
5733 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5734 handler.
5735 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5736
5737 2003-07-20 Steve Pribyl <steve@netfuel.com.>
5738
5739 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5740 String. Put dlerror() message into exception.
5741 Include UnsatisfiedLinkError.
5742 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5743 String. Now native.
5744
5745 2003-07-20 Tom Tromey <tromey@redhat.com>
5746
5747 * java/lang/Runtime.java: Comment fix.
5748 * java/lang/ClassLoader.java (isAncestorOf): New method.
5749 (getParent): Uncommented security check. Use isAncestorOf.
5750 * include/jvm.h (_Jv_CheckAccess): Declare.
5751 * java/lang/reflect/natConstructor.cc (newInstance): Perform
5752 access check.
5753 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5754 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5755 class loader to _Jv_GetArrayClass.
5756 Include ArrayIndexOutOfBoundsException.h.
5757 * java/lang/reflect/Field.java: Update comment to reflect status.
5758 (equals): Fixed indentation.
5759 * java/lang/Class.h (Class): Declare memberAccessCheck, not
5760 checkMemberAccess. Make _Jv_CheckAccess a friend.
5761 * java/lang/Class.java (memberAccessCheck): New method from
5762 Classpath.
5763 (checkMemberAccess): Removed.
5764 (getDeclaredMethod): Use memberAccessCheck.
5765 (getField): Likewise.
5766 (getMethod): Likewise.
5767 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5768 (_Jv_SearchMethodInClass): Likewise.
5769 * prims.cc (_Jv_CheckAccess): New function.
5770 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5771 (_Jv_JNI_GetAnyFieldID): Likewise.
5772 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5773 (getClassLoader): Added security check.
5774 (getConstructor): Call memberAccessCheck.
5775 (getDeclaredClasses): Likewise.
5776 (getDeclaredField): Likewise.
5777 (getDeclaredFields): Likewise.
5778 (_getConstructors): Likewise.
5779 (getDeclaredConstructor): Likewise.
5780 (getDeclaredMethods): Likewise.
5781 (getFields): Likewise.
5782 (getMethods): Likewise.
5783 (newInstance): Likewise.
5784 (_Jv_MakeVTable): Put method name in exception.
5785 * java/lang/reflect/natMethod.cc (getType): Use
5786 getClassLoaderInternal.
5787 (_Jv_GetTypesFromSignature): Likewise.
5788 (invoke): Perform access check.
5789 (_Jv_CallAnyMethodA): Removed old FIXME comments.
5790 Include ArrayIndexOutOfBoundsException.h.
5791 * java/lang/reflect/natField.cc (getType): Use
5792 getClassLoaderInternal.
5793 (_Jv_CheckFieldAccessibility): Removed.
5794 (getAddr): Use _Jv_CheckAccess; find caller.
5795 Include ArrayIndexOutOfBoundsException.h.
5796
5797 2003-07-20 Michael Koch <konqueror@gmx.de>
5798
5799 * java/net/URL.java
5800 (URL): Fixed documentation to name an argument correcty, Reformatted
5801 one method declaration.
5802 (getURLStreamHandler): Added documentation from classpath.
5803
5804 2003-07-19 Tom Tromey <tromey@redhat.com>
5805
5806 * mauve-libgcj: Don't run CollationElementIterator tests.
5807
5808 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
5809
5810 * java/net/URLClassLoader.java (addURL): Moved implementation to
5811 private addURLImpl() to avoid calling addURL from the constructor.
5812 (addURLImpl): Contains the code that was previously in addURL.
5813 (addURLs): Call addURLImpl(), not addURL().
5814
5815 2003-07-18 Graydon Hoare <graydon@redhat.com>
5816
5817 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5818 Handle missing event cases, connect to "value-changed" signal.
5819
5820 2003-07-18 Graydon Hoare <graydon@redhat.com>
5821
5822 * java/awt/geom/CubicCurve2D.java,
5823 java/awt/geom/Line2D.java,
5824 java/awt/geom/QuadCurve2D.java,
5825 java/awt/geom/Rectangle2D.java:
5826 Fix path some calculations, make path iterators follow
5827 a consistent style.
5828
5829 2003-07-18 Mark Wielaard <mark@klomp.org>
5830
5831 * java/util/logging/Handler.java (isLoggable): Check record level
5832 smaller or equal.
5833
5834 2003-07-17 Michael Koch <konqueror@gmx.de>
5835
5836 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5837 Reworked imports.
5838
5839 2003-07-14 Michael Koch <konqueror@gmx.de>
5840
5841 * gnu/java/rmi/server/UnicastServerRef.java:
5842 New version from classpath.
5843
5844 2003-07-14 Michael Koch <konqueror@gmx.de>
5845
5846 * java/awt/image/MemoryImageSource.java,
5847 java/beans/PropertyEditorManager.java,
5848 javax/naming/CompoundName.java,
5849 javax/naming/spi/NamingManager.java,
5850 javax/swing/AbstractButton.java,
5851 javax/swing/ButtonModel.java,
5852 javax/swing/SwingUtilities.java,
5853 javax/swing/UIManager.java,
5854 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5855 javax/swing/event/AncestorEvent.java,
5856 javax/swing/event/InternalFrameEvent.java,
5857 java/util/zip/ZipFile.java:
5858 New versions from classpath.
5859
5860 2003-07-13 Michael Koch <konqueror@gmx.de>
5861
5862 * gnu/java/nio/FileChannelImpl.java,
5863 gnu/java/nio/natFileChannelImpl.cc: Removed.
5864 * java/io/FileInputStream.java,
5865 java/io/FileOutputStream.java,
5866 java/io/RandomAccessFile.java,
5867 java/nio/MappedByteBufferImpl.java:
5868 Import java.nio.channels.FileChannelImpl instead of
5869 gnu.java.nio.FileChannelImpl.
5870 * java/nio/channels/FileChannelImpl.java,
5871 java/nio/channels/natFileChannelImpl.cc:
5872 New files.
5873 * Makefile.am
5874 (ordinary_java_source_files):
5875 Removed gnu/java/nio/FileChannelImpl.java and added
5876 java/nio/channels/FileChannelImpl.java.
5877 (nat source_files):
5878 Removed gnu/java/nio/natFileChannelImpl.cc and added
5879 java/nio/channels/natFileChannelImpl.cc.
5880 * Makefile.in: Regenerated.
5881
5882 2003-07-13 Michael Koch <konqueror@gmx.de>
5883
5884 * javax/swing/plaf/basic/BasicBorders.java,
5885 javax/swing/plaf/basic/BasicLabelUI.java,
5886 javax/swing/plaf/basic/BasicLookAndFeel.java,
5887 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5888 javax/swing/plaf/basic/BasicTextUI.java,
5889 javax/swing/plaf/metal/MetalLookAndFeel.java:
5890 New versions from classpath.
5891
5892 2003-07-13 Michael Koch <konqueror@gmx.de>
5893
5894 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5895 * gnu/java/awt/peer/gtk/GdkGraphics.java
5896 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5897 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5898 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5899 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5900 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5901 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5902 * gnu/java/awt/peer/gtk/GtkClipboard.java
5903 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5904 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5905 * gnu/java/awt/peer/gtk/GtkFramePeer.java
5906 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5907 * gnu/java/awt/peer/gtk/GtkImage.java
5908 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5909 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5910 * gnu/java/awt/peer/gtk/GtkListPeer.java
5911 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5912 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5913 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5914 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5915 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5916 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5917 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5918 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5919 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5920 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5921 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5922 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5923
5924 2003-07-13 Michael Koch <konqueror@gmx.de>
5925
5926 * gnu/java/locale/LocaleInformation_de.java
5927 * gnu/java/locale/LocaleInformation_en.java
5928 * gnu/java/locale/LocaleInformation_nl.java
5929
5930 2003-07-13 Michael Koch <konqueror@gmx.de>
5931
5932 * gnu/java/awt/EmbeddedWindow.java,
5933 gnu/java/awt/EmbeddedWindowSupport.java,
5934 gnu/java/awt/natEmbeddedWindow.cc:
5935 New files.
5936 * java/awt/Window.java
5937 (Window): New constructor to support embedded windows.
5938 * Makefile.am
5939 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5940 gnu/java/awt/EmbeddedWindowSupport.java.
5941 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5942 * Makefile.in: Regenerated.
5943
5944 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
5945
5946 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5947 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5948 * java/awt/im/InputContext.java: Remove a redundant
5949 partial line.
5950
5951 2003-07-09 Tom Tromey <tromey@redhat.com>
5952
5953 * Makefile.in: Rebuilt.
5954 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5955
5956 2003-07-09 Mark Wielaard <mark@klomp.org>
5957
5958 * java/io/ObjectOutputStream.java (writeObject): break after
5959 calling writeClassDescriptor().
5960
5961 2003-07-09 Mark Mitchell <mark@codesourcery.com>
5962
5963 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5964
5965 2003-07-09 Michael Koch <konqueror@gmx.de>
5966
5967 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5968 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5969 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5970 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5971 Explicitly import used classes.
5972 * java/awt/Container.java: New version from classpath.
5973
5974 2003-07-09 Michael Koch <konqueror@gmx.de>
5975
5976 * libgcj.pc.in: New file.
5977 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5978 * Makefile.in: Regenerated.
5979 * configure: Regenrated.
5980 * configure.in: Create libgcj.pc from libgcj.pc.in.
5981
5982 2003-07-08 Mark Wielaard <mark@klomp.org>
5983
5984 * gcj/cni.h: CNI now expands to Compiled Native Interface.
5985
5986 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
5987 * java/lang/fdlibm.h: Likewise.
5988
5989 2003-07-07 Adam Megacz <adam@xwt.org>
5990
5991 * posix.cc: added #include<stdio.h>
5992
5993 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5994
5995 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
5996 formatting.
5997
5998 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5999 (setCaretPosition, setEditable): Rely entirely on native
6000 implementation.
6001 (getArgs): Remove.
6002 (postTextEvent): New method.
6003 (handleEvent): New method.
6004 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
6005 method.
6006 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
6007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6008 (keysym_to_awt_keycode): Fix range checks.
6009 (generates_key_typed_event): New function.
6010 (awt_event_handler): Post AWT_KEY_RELEASED events to event
6011 queue.
6012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6013 (gtkInit): Store TextComponent's postTextEvent method ID.
6014 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6015 (setText): Post TEXT_VALUE_CHANGED event to event queue.
6016
6017 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6018
6019 * configure.in: Check for usleep declaration.
6020 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
6021 * configure: Regenerate.
6022 * include/config.h.in: Likewise.
6023 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
6024
6025 2003-07-01 Michael Koch <konqueror@gmx.de>
6026
6027 * gnu/gcj/convert/natIconv.cc
6028 (iconv_init): Fixed possible memory leak by releasing allocated iconv
6029 handle.
6030
6031 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6032
6033 * glib-2.0.m4: New file.
6034 * gtk-2.0.m4: New file.
6035 * glib.m4: Remove.
6036 * gtk.m4: Remove.
6037 * configure.in: Update AM_PATH_GTK macro call to
6038 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
6039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6040 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6041 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6042 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6043 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6044 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6045 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6046 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6047 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6048 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6049 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6050 jni/gtk-peer/gthread-jni.c,
6051 jni/gtk-peer/gthread-jni.h:
6052 New versions from classpath.
6053 * aclocal.m4: Regenerate.
6054 * configure: Regenerate.
6055 * Makefile.in: Regenerate.
6056 * gcj/Makefile.in: Regenerate.
6057 * include/Makefile.in: Regenerate.
6058 * testsuite/Makefile.in: Regenerate.
6059
6060 2003-06-30 Gary Benson <gbenson@redhat.com>
6061
6062 For PR libgcj/11349:
6063 * javax/naming/spi/NamingManager.java (getURLContext): Use
6064 correct name for factory class.
6065
6066 2003-06-28 Michael Koch <konqueror@gmx.de>
6067
6068 * java/io/PrintStream.java
6069 (checkError): Call flush() instead of direct flushing of the Writer
6070 object.
6071 (print): Call print(String) instead of direct print method of the
6072 Writer Object.
6073 (println): Call println(String) instead of direct println method of the
6074 Writer Object.
6075 (write): Simplified.
6076
6077 2003-06-28 Michael Koch <konqueror@gmx.de>
6078
6079 * java/net/ServerSocket.java
6080 (setChannel): New method.
6081 * java/net/Socket.java
6082 (setChannel): New method.
6083
6084 2003-06-27 Michael Koch <konqueror@gmx.de>
6085
6086 * java/beans/beancontext/BeanContextSupport.java:
6087 New version from classpath.
6088
6089 2003-06-27 Michael Koch <konqueror@gmx.de>
6090
6091 * java/awt/Window.java,
6092 java/awt/font/GraphicAttribute.java,
6093 java/awt/font/ImageGraphicAttribute.java,
6094 java/awt/image/DataBufferByte.java,
6095 java/awt/image/DataBufferInt.java,
6096 java/awt/image/DataBufferUShort.java,
6097 java/awt/image/DirectColorModel.java,
6098 java/awt/image/PixelGrabber.java:
6099 New versions from classpath.
6100
6101 2003-06-27 Michael Koch <konqueror@gmx.de>
6102
6103 * java/security/Certificate.java
6104 (getGuarantor): Removed wrong @deprecated tag.
6105 (getPrincipal): Likewise.
6106 (getPublicKey): Likewise.
6107 (encode): Likewise.
6108 (decode): Likewise.
6109 (getFormat): Likewise.
6110 (toString): Likewise.
6111 * java/security/cert/PolicyQualifierInfo.java
6112 (PolicyQualifierInfo): Made final.
6113 * javax/security/auth/x500/X500Principal.java
6114 (serialVersionUID): New member variable.
6115
6116 2003-06-27 Michael Koch <konqueror@gmx.de>
6117
6118 * java/text/Format.java
6119 (serialVersionUID): Fixed value.
6120
6121 2003-06-27 Michael Koch <konqueror@gmx.de>
6122
6123 * java/net/Inet4Address.java
6124 (Inet4Address): Made package-private.
6125 * java/net/Inet6Address.java
6126 (Inet4Address): Made package-private.
6127
6128 2003-06-27 Michael Koch <konqueror@gmx.de>
6129
6130 * java/io/RandomAccessFile.java
6131 (readLine): Removed wrong @deprecated tag.
6132 (getChannel): Made final.
6133
6134 2003-06-27 Michael Koch <konqueror@gmx.de>
6135
6136 * gnu/java/nio/FileChannelImpl.java
6137 (write): Removed.
6138
6139 2003-06-27 Michael Koch <konqueror@gmx.de>
6140
6141 * java/nio/ByteBufferImpl.java
6142 (ByteBufferImpl): Made it a package-private class
6143 * java/nio/CharBufferImpl.java
6144 (CharBufferImpl): Made it a package-private class
6145 * java/nio/DirectByteBufferImpl.java
6146 (DirectByteBufferImpl): Made it a package-private class
6147 * java/nio/DoubleBufferImpl.java
6148 (DoubleBufferImpl): Made it a package-private class
6149 * java/nio/FloatBufferImpl.java
6150 (FloatBufferImpl): Made it a package-private class
6151 * java/nio/IntBufferImpl.java
6152 (IntBufferImpl): Made it a package-private class
6153 * java/nio/LongBufferImpl.java
6154 (LongBufferImpl): Made it a package-private class
6155 * java/nio/ShortBufferImpl.java
6156 (ShortBufferImpl): Made it a package-private class
6157 * java/nio/channels/FileChannel.java
6158 (write): Made final.
6159 * java/nio/channels/ServerSocketChannel.java
6160 (ServerSocketChanne): Made protected.
6161
6162 2003-06-27 Michael Koch <konqueror@gmx.de>
6163
6164 * javax/naming/CompositeName.java
6165 (serialVersionUID): New member variable.
6166 * javax/naming/CompoundName.java
6167 (serialVersionUID): New member variable.
6168 * javax/naming/InitialContext.java
6169 (InitialContext): Throws NamingException.
6170 (init): Likewise.
6171 * javax/naming/LinkRef.java
6172 (serialVersionUID): New member variable.
6173 (gteLinkName): Throws NamingException.
6174 * javax/naming/NamingException.java
6175 (serialVersionUID): New member variable.
6176 * javax/naming/NamingSecurityException.java
6177 (NamingSecurityException): Made abstract.
6178 (serialVersionUID): New member variable.
6179 * javax/naming/ReferralException.java
6180 (serialVersionUID): New member variable.
6181 * javax/naming/StringRefAddr.java
6182 (serialVersionUID): New member variable.
6183 * javax/naming/directory/BasicAttribute.java:
6184 Reworked imports.
6185 (serialVersionUID): New member variable.
6186 (get): Throws NamingException.
6187 (getAll): Throws NamingException.
6188 * javax/naming/directory/BasicAttributes.java:
6189 Reworked imports.
6190 (serialVersionUID): New member variable.
6191 * javax/naming/ldap/UnsolicitedNotificationEvent.java
6192 (serialVersionUID): New member variable.
6193
6194 2003-06-27 Michael Koch <konqueror@gmx.de>
6195
6196 * Makefile.am
6197 (awt_java_source_files): Added new files:
6198 javax/swing/Popup.java,
6199 javax/swing/PopupFactory.java
6200 * Makefile.in: Regenerated.
6201
6202 2003-06-27 Michael Koch <konqueror@gmx.de>
6203
6204 * javax/swing/JWindow.java,
6205 javax/swing/event/AncestorEvent.java,
6206 javax/swing/event/HyperlinkEvent.java,
6207 javax/swing/event/InternalFrameEvent.java,
6208 javax/swing/event/ListDataEvent.java,
6209 javax/swing/event/TableModelEvent.java,
6210 javax/swing/plaf/PopupMenuUI.java,
6211 javax/swing/plaf/SplitPaneUI.java,
6212 javax/swing/plaf/TabbedPaneUI.java,
6213 javax/swing/plaf/TextUI.java,
6214 javax/swing/plaf/TreeUI.java,
6215 javax/swing/plaf/basic/BasicTextUI.java,
6216 javax/swing/plaf/basic/BasicTreeUI.java:
6217 New versions from classpath.
6218 * javax/swing/Popup.java,
6219 javax/swing/PopupFactory.jav:
6220 New source files from classpath.
6221 * javax/swing/plaf/doc-files/TreeUI-1.png:
6222 New binary files from classpath.
6223
6224 2003-06-25 Michael Koch <konqueror@gmx.de>
6225
6226 * Makefile.am
6227 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6228 * Makefile.in: Regenerated.
6229
6230 2003-06-25 Michael Koch <konqueror@gmx.de>
6231
6232 * javax/swing/plaf/ActionMapUIResource.java,
6233 javax/swing/plaf/BorderUIResource.java,
6234 javax/swing/plaf/ButtonUI.java,
6235 javax/swing/plaf/ColorChooserUI.java,
6236 javax/swing/plaf/ColorUIResource.java,
6237 javax/swing/plaf/ComboBoxUI.java,
6238 javax/swing/plaf/ComponentInputMapUIResource.java,
6239 javax/swing/plaf/ComponentUI.java,
6240 javax/swing/plaf/DesktopIconUI.java,
6241 javax/swing/plaf/DesktopPaneUI.java,
6242 javax/swing/plaf/DimensionUIResource.java,
6243 javax/swing/plaf/FileChooserUI.java,
6244 javax/swing/plaf/FontUIResource.java,
6245 javax/swing/plaf/IconUIResource.java,
6246 javax/swing/plaf/InputMapUIResource.java,
6247 javax/swing/plaf/InsetsUIResource.java,
6248 javax/swing/plaf/InternalFrameUI.java,
6249 javax/swing/plaf/LabelUI.java,
6250 javax/swing/plaf/ListUI.java,
6251 javax/swing/plaf/MenuBarUI.java,
6252 javax/swing/plaf/MenuItemUI.java,
6253 javax/swing/plaf/OptionPaneUI.java,
6254 javax/swing/plaf/PanelUI.java,
6255 javax/swing/plaf/ProgressBarUI.java,
6256 javax/swing/plaf/RootPaneUI.java,
6257 javax/swing/plaf/ScrollBarUI.java,
6258 javax/swing/plaf/ScrollPaneUI.java,
6259 javax/swing/plaf/SeparatorUI.java,
6260 javax/swing/plaf/SliderUI.java,
6261 javax/swing/plaf/TableHeaderUI.java,
6262 javax/swing/plaf/TableUI.java,
6263 javax/swing/plaf/ToolBarUI.java,
6264 javax/swing/plaf/ToolTipUI.java,
6265 javax/swing/plaf/ViewportUI.java:
6266 New versions from classpath.
6267 * javax/swing/plaf/SpinnerUI.java:
6268 New file from classpath
6269
6270 2003-06-25 Michael Koch <konqueror@gmx.de>
6271
6272 * java/awt/image/ColorModel.java:
6273 New version from classpath.
6274
6275 2003-06-25 Michael Koch <konqueror@gmx.de>
6276
6277 * java/net/PlainDatagramSocketImpl.java:
6278 Partly merged with classpath, this mainly adds documentation.
6279
6280 2003-06-25 Michael Koch <konqueror@gmx.de>
6281
6282 * java/io/ObjectInputStream.java
6283 (readClassDescriptor): New method.
6284 (readObject): Moved functionality to readClassDescriptor().
6285 * java/io/ObjectOutputStream.java
6286 (writeClassDescriptor): New method.
6287 (writeObject): Moved functionality to writeClassDescriptor().
6288
6289 2003-06-25 Michael Koch <konqueror@gmx.de>
6290
6291 * javax/swing/plaf/basic/BasicListUI.java,
6292 javax/swing/plaf/basic/BasicOptionPaneUI.java:
6293 Added missing methods.
6294
6295 2003-06-25 Michael Koch <konqueror@gmx.de>
6296
6297 * javax/swing/event/AncestorEvent.java
6298 javax/swing/event/HyperlinkEvent.java
6299 javax/swing/event/InternalFrameEvent.java
6300 javax/swing/event/ListDataEvent.java
6301 javax/swing/event/TableModelEvent.java:
6302 Compile fixes.
6303
6304 2003-06-24 Michael Koch <konqueror@gmx.de>
6305
6306 * java/net/URL.java:
6307 Renamed "handler" to "ph" in the whole file to match classpaths
6308 version.
6309 * java/net/URLStreamHandler.java:
6310 (equals): Renamed "handler" to "ph".
6311
6312 2003-06-24 Michael Koch <konqueror@gmx.de>
6313
6314 * javax/swing/event/AncestorEvent.java,
6315 javax/swing/event/HyperlinkEvent.java,
6316 javax/swing/event/InternalFrameEvent.java,
6317 javax/swing/event/ListDataEvent.java,
6318 javax/swing/event/TableModelEvent.java,
6319 javax/swing/event/TreeWillExpandListener.java,
6320 javax/swing/plaf/ComponentUI.java,
6321 javax/swing/plaf/DesktopIconUI.java,
6322 javax/swing/plaf/DesktopPaneUI.java,
6323 javax/swing/plaf/DimensionUIResource.java,
6324 javax/swing/plaf/FileChooserUI.java,
6325 javax/swing/plaf/FontUIResource.java,
6326 javax/swing/plaf/IconUIResource.java,
6327 javax/swing/plaf/InputMapUIResource.java,
6328 javax/swing/plaf/InsetsUIResource.java,
6329 javax/swing/plaf/InternalFrameUI.java,
6330 javax/swing/plaf/LabelUI.java,
6331 javax/swing/plaf/ListUI.java,
6332 javax/swing/plaf/MenuBarUI.java,
6333 javax/swing/plaf/MenuItemUI.java,
6334 javax/swing/plaf/OptionPaneUI.java,
6335 javax/swing/plaf/PanelUI.java,
6336 javax/swing/plaf/ProgressBarUI.java,
6337 javax/swing/plaf/doc-files/ComponentUI-1.dia,
6338 javax/swing/plaf/doc-files/ComponentUI-1.png:
6339 New versions from classpath.
6340
6341 2003-06-24 Michael Koch <konqueror@gmx.de>
6342
6343 * java/nio/Buffer.java
6344 (cap): Made package-private.
6345 (pos): Likewise.
6346 (limit): Likewise.
6347 (mark): Likewise.
6348
6349 2003-06-24 Michael Koch <konqueror@gmx.de>
6350
6351 * java/net/SocketImpl.java
6352 (shutdownInput): Made it non-abstract method throwing an exception
6353 like in SUNs JRE.
6354 (shutdownOutput): Likewise.
6355 * java/net/SocketInputStream.java,
6356 java/net/SocketOutputStream.java:
6357 New files from classpath.
6358
6359 2003-06-24 Michael Koch <konqueror@gmx.de>
6360
6361 * java/awt/Font.java,
6362 java/awt/Window.java,
6363 java/awt/color/ColorSpace.java,
6364 java/awt/datatransfer/StringSelection.java,
6365 java/awt/image/ColorModel.java:
6366 New versions from classpath.
6367
6368 2003-06-24 Michael Koch <konqueror@gmx.de>
6369
6370 * Makefile.am
6371 (awt_java_source_files): Added new files:
6372 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6373 javax/swing/plaf/basic/BasicSplitPaneUI.java
6374 * Makefile.in: Regenerated.
6375
6376 2003-06-24 Michael Koch <konqueror@gmx.de>
6377
6378 * javax/swing/text/JTextComponent.java:
6379 New version from classpath.
6380
6381 2003-06-24 Michael Koch <konqueror@gmx.de>
6382
6383 * javax/swing/Timer.java,
6384 javax/swing/plaf/ActionMapUIResource.java,
6385 javax/swing/plaf/ButtonUI.java,
6386 javax/swing/plaf/ColorChooserUI.java,
6387 javax/swing/plaf/ColorUIResource.java,
6388 javax/swing/plaf/ComboBoxUI.java,
6389 javax/swing/plaf/ComponentInputMapUIResource.java,
6390 javax/swing/plaf/basic/BasicBorders.java:
6391 New versions from classpath.
6392 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6393 javax/swing/plaf/basic/BasicSplitPaneUI.java:
6394 New file from classpath.
6395 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6396 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6397 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6398 javax/swing/plaf/doc-files/ComponentUI-1.dia,
6399 javax/swing/plaf/doc-files/ComponentUI-1.png:
6400 New binary files from classpath.
6401
6402 2003-06-24 Michael Koch <konqueror@gmx.de>
6403
6404 * java/io/LineNumberReader.java
6405 (skip): Dont do line number accounting here as this is already done in
6406 read(), simplified.
6407
6408 2003-06-21 Michael Koch <konqueror@gmx.de>
6409
6410 * java/io/File.java
6411 (static): Load javaio lib if existing (only in classpath).
6412 (File): Revised documentation to show the correct argument name.
6413 (createTempFile): Partly merged with classpath.
6414 (compareTo): Simplified.
6415 (lastModified): Throw exception if time < 0.
6416 (deleteOnExit): Revised documentation.
6417
6418 2003-06-21 Michael Koch <konqueror@gmx.de>
6419
6420 * java/net/PlainSocketImpl.java:
6421 Reformatted.
6422 (PlainSocketImpl): Merged class documentaion with classpath.
6423 (in): Moved.
6424 (out): Moved.
6425 (PlainSocketImpl): New empty constructor.
6426 (finalize): Moved.
6427 (setOption): Merged documentation from classpath.
6428 (getOption): Likewise.
6429 (create): Likewise.
6430 (connect): Likewise.
6431 (bind): Likewise.
6432 (listen): Likewise.
6433 (accept): Likewise.
6434 (available): Likewise.
6435 (close): Likewise.
6436 (read): Likewise.
6437 (write): Likewise.
6438 (getInputStream): Made synchronozed to get sure that only one stream
6439 object can be created for this socket, merged documentation from
6440 classpath.
6441 (getOutputStream): Likewise.
6442
6443 2003-06-21 Michael Koch <konqueror@gmx.de>
6444
6445 * java/net/PlainSocketImpl.java:
6446 Reformatting.
6447 (static): New implicit method.
6448 (read): Made package private.
6449 (write): Likewise.
6450
6451 2003-06-21 Michael Koch <konqueror@gmx.de>
6452
6453 * java/util/SimpleTimeZone.java:
6454 Removed unneeded import, reformatting.
6455
6456 2003-06-21 Michael Koch <konqueror@gmx.de>
6457
6458 * java/text/DateFormat.java,
6459 java/text/SimpleDateFormat.java,
6460 java/util/Locale.java:
6461 New versions from classpath.
6462
6463 2003-06-21 Michael Koch <konqueror@gmx.de>
6464
6465 * javax/swing/SpinnerModel.java:
6466 New file from classpath.
6467 * javax/swing/border/LineBorder.java,
6468 javax/swing/border/SoftBevelBorder.java,
6469 javax/swing/plaf/BorderUIResource.java,
6470 javax/swing/plaf/basic/BasicBorders.java:
6471 New versions from classpath.
6472 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6473 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6474 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6475 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6476 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6477 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6478 New binary files from classpath.
6479
6480 2003-06-21 Michael Koch <konqueror@gmx.de>
6481
6482 * java/util/logging/LogRecord.java,
6483 java/util/logging/Logger.java,
6484 java/util/logging/SocketHandler.java,
6485 java/util/logging/SimpleFormatter.java,
6486 java/util/logging/Formatter.java,
6487 java/util/logging/ErrorManager.java,
6488 java/util/logging/Handler.java,
6489 java/util/logging/FileHandler.java,
6490 java/util/logging/LogManager.java,
6491 java/util/logging/Level.java,
6492 java/util/logging/ConsoleHandler.java,
6493 java/util/logging/StreamHandler.java,
6494 java/util/logging/LoggingPermission.java,
6495 java/util/logging/Filter.java,
6496 java/util/logging/MemoryHandler.java,
6497 java/util/logging/XMLFormatter.java:
6498 New files from classpath.
6499
6500 2003-06-20 Michael Koch <konqueror@gmx.de>
6501
6502 * java/io/ObjectStreamField.java
6503 (unshared): new member variable.
6504 (ObjectStreamField): New constructor.
6505 (isUnshared): New method.
6506
6507 2003-06-20 Michael Koch <konqueror@gmx.de>
6508
6509 * java/net/URLStreamHandler.java
6510 (hostsEqual): Rewritten.
6511
6512 2003-06-20 Michael Koch <konqueror@gmx.de>
6513
6514 * gnu/java/nio/MappedByteFileBuffer.java,
6515 gnu/java/nio/natMappedByteFileBuffer.cc:
6516 Removed
6517 * java/nio/MappedByteBufferImpl.java:
6518 New file.
6519 * gnu/java/nio/FileChannelImpl.java:
6520 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6521 * Makefile.am
6522 (ordinary_java_source_files): Removed
6523 gnu/java/nio/MappedByteFileBuffer.java and added
6524 java/nio/MappedByteBufferImpl.java.
6525 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6526 * Makefile.in: Regenerated.
6527
6528 2003-06-19 Michael Koch <konqueror@gmx.de>
6529
6530 * gnu/java/nio/DatagramChannelImpl.java
6531 (fd): Removed.
6532 (blocking): New member variable.
6533 (socket): Likewise.
6534 (DatagramChannelImpl): Throws IOException, initialize socket.
6535 (socket):Implemented.
6536 (implCloseSelectableChannel): Throws IOException, implemented.
6537 (implConfigureBlocking): Likewise.
6538 (connect): Likewise.
6539 (disconnect): Likewise.
6540 (isConnected): Likewise.
6541 (write): Likewise.
6542 (read): Likewise.
6543 (receive): Throws IOException.
6544 (send): Likewise.
6545 * gnu/java/nio/SocketChannelImpl.java
6546 (read): Implemented.
6547 (write): Implemented.
6548
6549 2003-06-19 Michael Koch <konqueror@gmx.de>
6550
6551 * javax/swing/JComponent.java,
6552 javax/swing/JInternalFrame.java,
6553 javax/swing/MenuSelectionManager.java,
6554 javax/swing/SwingUtilities.java,
6555 javax/swing/ToggleButtonModel.java:
6556 New versions from classpath.
6557
6558 2003-06-19 Michael Koch <konqueror@gmx.de>
6559
6560 * java/text/CollationElementIterator.java
6561 (NULLORDER): Initialize with -1 as JDK documentation says.
6562
6563 2003-06-19 Michael Koch <konqueror@gmx.de>
6564
6565 * java/net/HttpURLConnection.java,
6566 java/net/Inet4Address.java,
6567 java/net/Inet6Address.java,
6568 java/net/SocketImpl.java,
6569 java/net/URLClassLoader.java:
6570 Reworked import statements.
6571 * java/net/InetAddress.java
6572 (getByAddress): Simplified.
6573 * java/net/ServerSocket.java
6574 (ServerSocket): Moved special handling during bind operation to
6575 bind().
6576 (bind): Handle different cases when trying to bind a socket.
6577 * java/net/URLConnection.java
6578 (getHeaderFieldDate): Merged with classpath.
6579 (getHeaderFieldInt): Likewise.
6580
6581 2003-06-19 Michael Koch <konqueror@gmx.de>
6582
6583 * java/util/zip/InflaterInputStream.java
6584 (InflaterInputStream): Throw NullPointerException if in is null (as
6585 JDK does).
6586
6587 2003-06-19 Michael Koch <konqueror@gmx.de>
6588
6589 * java/awt/Font.java
6590 javax/swing/UIManager.java
6591 javax/swing/border/AbstractBorder.java
6592 javax/swing/border/BevelBorder.java
6593 javax/swing/border/Border.java
6594 javax/swing/border/CompoundBorder.java
6595 javax/swing/border/EmptyBorder.java
6596 javax/swing/border/EtchedBorder.java
6597 javax/swing/border/LineBorder.java
6598 javax/swing/border/MatteBorder.java
6599 javax/swing/border/TitledBorder.java
6600 javax/swing/plaf/BorderUIResource.java
6601 javax/swing/plaf/basic/BasicBorders.java
6602 javax/swing/plaf/basic/BasicButtonUI.java
6603 javax/swing/plaf/basic/BasicCheckBoxUI.java
6604 javax/swing/plaf/basic/BasicGraphicsUtils.java
6605 javax/swing/plaf/basic/BasicLabelUI.java
6606 javax/swing/plaf/basic/BasicRadioButtonUI.java
6607 javax/swing/plaf/basic/BasicToggleButtonUI.java:
6608 New versions from classpath.
6609 * javax/swing/border/SoftBevelBorder.java:
6610 New file from classpath.
6611 * javax/swing/border/doc-files/LineBorder-1.png,
6612 javax/swing/border/doc-files/BevelBorder-1.png,
6613 javax/swing/border/doc-files/BevelBorder-2.png,
6614 javax/swing/border/doc-files/BevelBorder-3.png,
6615 javax/swing/border/doc-files/EmptyBorder-1.png,
6616 javax/swing/border/doc-files/EtchedBorder-1.png,
6617 javax/swing/border/doc-files/EtchedBorder-2.png,
6618 javax/swing/border/doc-files/MatteBorder-1.png,
6619 javax/swing/border/doc-files/MatteBorder-2.png,
6620 javax/swing/border/doc-files/MatteBorder-3.png,
6621 javax/swing/border/doc-files/MatteBorder-4.png,
6622 javax/swing/border/doc-files/MatteBorder-5.png,
6623 javax/swing/border/doc-files/MatteBorder-6.png,
6624 javax/swing/border/doc-files/SoftBevelBorder-1.png,
6625 javax/swing/border/doc-files/SoftBevelBorder-2.png,
6626 javax/swing/border/doc-files/SoftBevelBorder-3.png,
6627 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6628 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6629 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6630 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6631 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6632 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6633 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6634 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6635 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6636 New binary files from classpath.
6637 * Makefile.am
6638 (awt_java_source_files): Added
6639 javax/swing/border/SoftBevelBorder.java.
6640 * Makefile.in: Regenerated.
6641
6642 2003-06-19 Michael Koch <konqueror@gmx.de>
6643
6644 * gnu/java/security/x509/X509Certificate.java
6645 (writeReplace): Merged from classpath.
6646
6647 2003-06-19 Michael Koch <konqueror@gmx.de>
6648
6649 * gnu/java/nio/FileChannelImpl.java
6650 (map_address): Made public.
6651 (FileChannelImpl): Merged with classpath.
6652 * gnu/java/nio/natFileChannelImpl.cc
6653 (nio_mmap_file): Commented out unused arguments.
6654 (nio_unmmap_file): Likewise.
6655 (niu_msync): Likewise.
6656
6657 2003-06-19 Michael Koch <konqueror@gmx.de>
6658
6659 * java/awt/image/IndexColorModel.java:
6660 New version from classpath.
6661
6662 2003-06-18 Tom Tromey <tromey@redhat.com>
6663
6664 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6665 on arrays.
6666 (isLoopbackAddress): Likewise.
6667 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6668 on arrays.
6669
6670 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
6671
6672 * java/lang/natVMSecurityManager.cc (getClassContext):
6673 Use maxlen instead of len for loop bound.
6674
6675 2003-06-18 Michael Koch <konqueror@gmx.de>
6676
6677 * gnu/java/nio/SelectorImpl.java
6678 (register): Use fd with value 0 for now, will be fixed later.
6679 * gnu/java/nio/ServerSocketChannelImpl.java
6680 (fd): Removed.
6681 (local_port): Removed.
6682 (InetSocketAddress): Removed.
6683 (ServerSocketChannelImpl): Just initialize internal socket object.
6684 (implCloseSelectableChannel): Close internal socket object.
6685 (implConfigureBlocking): Added comment.
6686 (accept): Use jaba.net stuff to accept socket.
6687 * gnu/java/nio/SocketChannelImpl.java
6688 (fd): Removed.
6689 (local_port): Removed.
6690 (InetSocketAddress): Removed.
6691 (SocketCreate): Removed.
6692 (SocketConnect): Removed.
6693 (SocketBind): Removed.
6694 (SocketListen): Removed.
6695 (SocketAvailable): Removed.
6696 (SocketClose): Removed.
6697 (SocketRead): Removed.
6698 (SocketWrite): Removed.
6699 (SocketChannelImpl): Just initialize internal socket object.
6700 (implCloseSelectableChannel): Close internal socket object.
6701 (implConfigureBlocking): Fixed implementation, added comment.
6702 (connect): Use internal socket object to connect.
6703 (socket): No need for sanity checks.
6704 (read): Comment out some stuff, this will be reimplemented in the next
6705 commit.
6706 (write): Likewise.
6707 * gnu/java/nio/natFileChannelImpl.cc
6708 (nio_mmap_file): Line wrapped.
6709 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6710 * Makefile.am
6711 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6712 * Makefile.in: Regenerated.
6713
6714 2003-06-18 Michael Koch <konqueror@gmx.de>
6715
6716 * java/util/Locale.java
6717 (equals): Merged from classpath.
6718
6719 2003-06-18 Michael Koch <konqueror@gmx.de>
6720
6721 * java/net/InetAddress.java:
6722 Reformatted to better match classpath's version.
6723 * java/net/URL.java
6724 (equals): Simplified.
6725 * java/net/URLConnection.java
6726 (setDoInput): Revised documentation.
6727 (getDefaultUseCaches): Likewise.
6728 (setRequestProperty): Added @since tag.
6729
6730 2003-06-17 Michael Koch <konqueror@gmx.de>
6731
6732 * java/net/InetSocketAddress.java
6733 (InetSocketAddress): Use wildcard address if addr is null.
6734 (InetSocketAddress): Dont duplicate implementation.
6735 (InetSocketAddress): Throw exception when hostname is null.
6736 * java/net/Socket.java:
6737 Reworked imports.
6738 (Socket): Throw exception when raddr is null, handle case when laddr
6739 is null.
6740
6741 2003-06-17 Michael Koch <konqueror@gmx.de>
6742
6743 * java/nio/DirectByteBufferImpl.java
6744 (address): Made package private.
6745 (DirectByteBufferImpl): New constructor.
6746 * java/nio/natDirectByteBufferImpl.cc
6747 (allocateImpl): Moved to java.nio namespace, implemented.
6748 (freeImpl): Likewise.
6749 (getImpl): Likewise.
6750 (putImpl): Likewise.
6751 * jni.cc
6752 (_Jv_JNI_NewDirectByteBuffer): Implemented.
6753 (_Jv_JNI_GetDirectBufferAddress): Implemented.
6754 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6755
6756 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6757
6758 * include/powerpc-signal.h: New File.
6759 * configure.in: Use it.
6760 * configure: Regenerated.
6761
6762 2003-06-17 Michael Koch <konqueror@gmx.de>
6763
6764 * java/util/Locale.java
6765 (getDisplayLanguage): Made it final.
6766 (getDisplayCountry): Likewise.
6767 (getDisplayVariant): Likewise.
6768 (getDisplayName): Likewise.
6769
6770 2003-06-17 Michael Koch <konqueror@gmx.de>
6771
6772 * java/util/PropertyResourceBundle.java:
6773 Removed unneeded import.
6774
6775 2003-06-17 Michael Koch <konqueror@gmx.de>
6776
6777 * java/util/prefs/AbstractPreferences.java,
6778 java/util/prefs/PreferencesFactory.java:
6779 Reworked imports, removed unused imports.
6780 * java/util/prefs/Preferences.java
6781 (systemNodeForPackage): Method takes a Class not an Object.
6782 (userNodeForPackage): Likewise.
6783 (nodeForPackage): Likewise.
6784
6785 2003-06-17 Michael Koch <konqueror@gmx.de>
6786
6787 * gnu/java/security/x509/X509Certificate.java:
6788 Explicitely import used classes.
6789
6790 2003-06-17 Michael Koch <konqueror@gmx.de>
6791
6792 * java/util/zip/ZipEntry.java,
6793 java/util/zip/ZipFile.java,
6794 java/util/zip/ZipInputStream.java,
6795 java/util/zip/ZipOutputStream.java:
6796 Reworked imports, only import used classes.
6797
6798 2003-06-17 Michael Koch <konqueror@gmx.de>
6799
6800 * gnu/java/lang/ArrayHelper.java,
6801 gnu/java/lang/ClassHelper.java:
6802 Reformatted to match classpath's versions.
6803
6804 2003-06-14 Michael Koch <konqueror@gmx.de>
6805
6806 * gnu/java/nio/FileChannelImpl.java
6807 (map_address): Removed incorrect comment.
6808 * gnu/java/nio/SelectorImpl.java
6809 (register): Remove code duplication and code for file channel handling.
6810 * gnu/java/nio/ServerSocketChannelImpl.java
6811 (serverSocket): Renamed from sock_object.
6812 (ServerSocketChannel): Initialize serverSocket.
6813 (socket): Return serverSocket.
6814 * gnu/java/nio/SocketChannelImpl.java
6815 (socket): Renamed from sock_object.
6816 (isConnectionPenging): Simplified.
6817 (socket): Return socket.
6818 2003-06-14 Michael Koch <konqueror@gmx.de>
6819
6820 * java/security/BasicPermission.java:
6821 New version from classpath.
6822
6823 2003-06-14 Michael Koch <konqueror@gmx.de>
6824
6825 * javax/naming/directory/Attribute.java:
6826 New version from classpath.
6827
6828 2003-06-14 Michael Koch <konqueror@gmx.de>
6829
6830 * java/io/BufferedReader.java,
6831 java/io/FileOutputStream.java:
6832 New versions from classpath.
6833
6834 2003-06-12 Andrew Haley <aph@redhat.com>
6835
6836 * prims.cc (catch_segv): Create exception in handler.
6837 (catch_fpe): Likewise.
6838 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6839 (_Jv_ThrowSignal): Remove.
6840
6841 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6842 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6843 to nullp and arithexception.
6844 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6845 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6846 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6847 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6848 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6849
6850 2003-06-11 Andrew Haley <aph@redhat.com>
6851
6852 * jni.cc (_Jv_JNI_check_types): New.
6853 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6854 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6855 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6856 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6857
6858 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6859 infinite loop.
6860
6861 2003-06-11 Tom Tromey <tromey@redhat.com>
6862
6863 * java/lang/ClassLoader.java (loadClass): Not deprecated.
6864 * java/io/PrintStream.java: Not deprecated.
6865
6866 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
6867
6868 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6869 (fillOval): implemented
6870 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6871 (fillArc): implemented.
6872 * gnu/gcj/xlib/GC.java (drawArc): added native method.
6873 (fillArc): added native method.
6874 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6875 (fillArc): added native method.
6876
6877 2003-06-11 Michael Koch <konqueror@gmx.de>
6878
6879 * java/awt/im/InputSubset.java:
6880 New version from classpath.
6881
6882 2003-06-11 Michael Koch <konqueror@gmx.de>
6883
6884 * javax/swing/AbstractAction.java,
6885 javax/swing/AbstractButton.java,
6886 javax/swing/AbstractCellEditor.java,
6887 javax/swing/AbstractListModel.java,
6888 javax/swing/BorderFactory.java,
6889 javax/swing/Box.java,
6890 javax/swing/BoxLayout.java,
6891 javax/swing/ButtonGroup.java,
6892 javax/swing/DefaultButtonModel.java,
6893 javax/swing/DefaultListModel.java,
6894 javax/swing/DefaultListSelectionModel.java,
6895 javax/swing/FocusManager.java,
6896 javax/swing/ImageIcon.java,
6897 javax/swing/InputMap.java,
6898 javax/swing/JApplet.java,
6899 javax/swing/JButton.java,
6900 javax/swing/JCheckBox.java,
6901 javax/swing/JCheckBoxMenuItem.java,
6902 javax/swing/JColorChooser.java,
6903 javax/swing/JComboBox.java,
6904 javax/swing/JComponent.java,
6905 javax/swing/JDesktopPane.java,
6906 javax/swing/JDialog.java,
6907 javax/swing/JEditorPane.java,
6908 javax/swing/JFileChooser.java,
6909 javax/swing/JFormattedTextField.java,
6910 javax/swing/JFrame.java,
6911 javax/swing/JLabel.java,
6912 javax/swing/JLayeredPane.java,
6913 javax/swing/JList.java,
6914 javax/swing/JMenuBar.java,
6915 javax/swing/JMenuItem.java,
6916 javax/swing/JOptionPane.java,
6917 javax/swing/JPanel.java,
6918 javax/swing/JPasswordField.java,
6919 javax/swing/JPopupMenu.java,
6920 javax/swing/JProgressBar.java,
6921 javax/swing/JRadioButton.java,
6922 javax/swing/JRadioButtonMenuItem.java,
6923 javax/swing/JRootPane.java,
6924 javax/swing/JScrollBar.java,
6925 javax/swing/JScrollPane.java,
6926 javax/swing/JSeparator.java,
6927 javax/swing/JSlider.java,
6928 javax/swing/JTabbedPane.java,
6929 javax/swing/JTable.java,
6930 javax/swing/JTextField.java,
6931 javax/swing/JToggleButton.java,
6932 javax/swing/JToolBar.java,
6933 javax/swing/JToolTip.java,
6934 javax/swing/JTree.java,
6935 javax/swing/JViewport.java,
6936 javax/swing/JWindow.java,
6937 javax/swing/KeyStroke.java,
6938 javax/swing/ListSelectionModel.java,
6939 javax/swing/LookAndFeel.java,
6940 javax/swing/RepaintManager.java,
6941 javax/swing/ScrollPaneLayout.java,
6942 javax/swing/SizeRequirements.java,
6943 javax/swing/SwingConstants.java,
6944 javax/swing/Timer.java,
6945 javax/swing/UIDefaults.java,
6946 javax/swing/UIManager.java,
6947 javax/swing/border/AbstractBorder.java,
6948 javax/swing/border/CompoundBorder.java,
6949 javax/swing/colorchooser/AbstractColorChooserPanel.java,
6950 javax/swing/colorchooser/ColorChooserComponentFactory.java,
6951 javax/swing/colorchooser/ColorSelectionModel.java,
6952 javax/swing/colorchooser/DefaultColorSelectionModel.java,
6953 javax/swing/event/AncestorEvent.java,
6954 javax/swing/event/HyperlinkEvent.java,
6955 javax/swing/event/InternalFrameAdapter.java,
6956 javax/swing/event/InternalFrameEvent.java,
6957 javax/swing/event/ListDataEvent.java,
6958 javax/swing/event/MouseInputAdapter.java,
6959 javax/swing/event/SwingPropertyChangeSupport.java,
6960 javax/swing/event/TableModelEvent.java,
6961 javax/swing/event/TreeWillExpandListener.java,
6962 javax/swing/event/UndoableEditEvent.java,
6963 javax/swing/filechooser/FileFilter.java,
6964 javax/swing/filechooser/FileSystemView.java,
6965 javax/swing/filechooser/FileView.java,
6966 javax/swing/plaf/BorderUIResource.java,
6967 javax/swing/plaf/basic/BasicDefaults.java,
6968 javax/swing/table/AbstractTableModel.java,
6969 javax/swing/table/DefaultTableCellRenderer.java,
6970 javax/swing/table/DefaultTableColumnModel.java,
6971 javax/swing/table/DefaultTableModel.java,
6972 javax/swing/table/TableColumn.java,
6973 javax/swing/text/JTextComponent.java,
6974 javax/swing/tree/AbstractLayoutCache.java,
6975 javax/swing/tree/DefaultMutableTreeNode.java,
6976 javax/swing/tree/DefaultTreeCellEditor.java,
6977 javax/swing/tree/DefaultTreeCellRenderer.java,
6978 javax/swing/tree/DefaultTreeModel.java,
6979 javax/swing/tree/DefaultTreeSelectionModel.java,
6980 javax/swing/tree/FixedHeightLayoutCache.java,
6981 javax/swing/tree/TreeCellEditor.java,
6982 javax/swing/tree/TreeModel.java,
6983 javax/swing/tree/TreeNode.java,
6984 javax/swing/tree/TreePath.java,
6985 javax/swing/tree/TreeSelectionModel.java,
6986 javax/swing/tree/VariableHeightLayoutCache.java,
6987 javax/swing/undo/AbstractUndoableEdit.java,
6988 javax/swing/undo/CompoundEdit.java,
6989 javax/swing/undo/StateEdit.java,
6990 javax/swing/undo/UndoManager.java,
6991 javax/swing/undo/UndoableEditSupport.java:
6992 New versions from classpath.
6993 * javax/swing/table/JTableHeader.java:
6994 New file from classpath.
6995 * Makefile.am
6996 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
6997 * Makefile.in: Regenerated.
6998
6999 2003-06-11 Michael Koch <konqueror@gmx.de>
7000
7001 * java/nio/MappedByteBuffer.java,
7002 java/nio/channels/Channels.java,
7003 java/nio/channels/ServerSocketChannel.java,
7004 java/nio/channels/spi/AbstractSelector.java:
7005 Removed unneeded imports.
7006
7007 2003-06-11 Michael Koch <konqueror@gmx.de>
7008
7009 * java/net/DatagramSocket.java:
7010 Partly merged with classpath.
7011
7012 2003-06-11 Michael Koch <konqueror@gmx.de>
7013
7014 * java/awt/Frame.java,
7015 java/awt/Graphics.java,
7016 java/awt/Menu.java,
7017 java/awt/Robot.java,
7018 java/awt/image/ColorModel.java:
7019 New versions from classpath.
7020
7021 2003-06-10 Michael Koch <konqueror@gmx.de>
7022
7023 * java/io/PrintStream.java:
7024 Merged version from classpath.
7025 (close): Removed sychronized keyword. This class is not garantied to
7026 be thread-safe.
7027 (write): Likewise.
7028
7029 2003-06-09 Tom Tromey <tromey@redhat.com>
7030
7031 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
7032 field.
7033 (getDescent): Likewise, for "descent".
7034
7035 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
7036
7037 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
7038 (getMaxDescent): adjusted return value.
7039 (getAscent): modified to use metrics for 'O'.
7040 (getDescent): modified to use metrics for 'y'.
7041
7042 2003-06-08 Anthony Green <green@redhat.com>
7043
7044 * java/net/URLStreamHandler.java (sameFile): Fix port value
7045 comparison.
7046 * java/net/URL.java (handler): Make package private.
7047 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
7048
7049 2003-06-07 Tom Tromey <tromey@redhat.com>
7050
7051 For PR libgcj/11085:
7052 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
7053 Limit number of characters in numeric field when required.
7054 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
7055 Respect maximumIntegerDigits.
7056
7057 2003-06-08 Michael Koch <konqueror@gmx.de>
7058
7059 * java/net/Socket.java
7060 (Socket): Dont initialize inputShutdown and outputShutdown twice,
7061 call bind() and connect() to actually do the bind and connect tasks.
7062 (bind): Connect to canonical address if bindpoint is null, create
7063 socket and bind it to bindpoint.
7064 (connect): Check for exceptions.
7065
7066 2003-06-08 Michael Koch <konqueror@gmx.de>
7067
7068 * java/net/DatagramSocket.java
7069 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
7070 into the Multicast constructors.
7071 * java/net/DatagramSocketImpl.java
7072 (getOption): Removed.
7073 (setOption): Removed.
7074 * java/net/MulticastSocket.java
7075 (MulticastSocket): Call setReuseAddress (true).
7076 * java/net/SocketImpl.java
7077 (getOption): Removed.
7078 (setOption): Removed.
7079
7080 2003-06-07 Jeff Sturm <jsturm@one-point.com>
7081
7082 PR libgcj/10886:
7083 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
7084 Test for empty vector.
7085
7086 2003-06-06 Mark Wielaard <mark@klomp.org>
7087
7088 * java/security/Security.java (secprops): Initialize.
7089 (loadProviders): Return boolean.
7090 (static): Check result of loadProvider calls. If necessary
7091 display WARNING and fallback to Gnu provider.
7092
7093 2002-06-06 James Clark <jjc@jclark.com>
7094
7095 Fix for PR libgcj/8738:
7096 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
7097 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
7098 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
7099 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
7100 (write): Always decrease avail when count is increased.
7101 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
7102 and whether output buffer is full before increasing size.
7103
7104 2002-06-06 Mark Wielaard <mark@klomp dot org>
7105
7106 * java/io/PrintStream.java (writeChars(char[],int, int)):
7107 Check converter.havePendingBytes().
7108 (writeChars(String,int,int)): Likewise.
7109 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
7110 Check converter.havePendingBytes() and flush buffer when stalled.
7111
7112 2003-06-07 Michael Koch <konqueror@gmx.de>
7113
7114 * include/posix.h
7115 (O_DSYNC): Define O_DSYNC on platforms not
7116 supporting O_FSYNC (newlib).
7117
7118 2003-06-06 Mark Wielaard <mark@klomp.org>
7119
7120 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7121 AWTError.
7122
7123 2003-06-06 Michael Koch <konqueror@gmx.de>
7124
7125 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7126 More compile fixes from my stupid work yesterday.
7127
7128 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
7129
7130 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7131 if _IEEE_LIBM is undefined.
7132
7133 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
7134
7135 * libjava/include/posix.h (O_SYNC): Define if not available
7136 and a reasonable, perhaps more conservative, replacement exists.
7137 (O_DSYNC): Likewise.
7138 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7139
7140 2003-06-05 Michael Koch <konqueror@gmx.de>
7141
7142 * javax/swing/plaf/BorderUIResource.java,
7143 javax/swing/plaf/basic/BasicDefaults.java,
7144 javax/swing/plaf/basic/BasicOptionPaneUI.java:
7145 More compile fixes for latest Border commit. I should not commit
7146 something in this heat here ...
7147
7148 2003-06-05 Michael Koch <konqueror@gmx.de>
7149
7150 * javax/swing/border/BevelBorder.java
7151 (BevelBorder): Removed.
7152 * javax/swing/border/EmptyBorder.java:
7153 Reformatted.
7154 (EmptyBorder): Removed.
7155 (getBorderInsets): Dont use l, r, t and b.
7156 * javax/swing/border/EtchedBorder.java
7157 (EtchedBorder): Removed.
7158 * javax/swing/border/LineBorder.java
7159 (LineBorder): Removed.
7160 * javax/swing/border/MatteBorder.java
7161 (MatteBorder): Removed.
7162 * javax/swing/border/TitledBorder.java
7163 (defaultBorder): Use other default for now.
7164 (defaultFont): Likewise.
7165 (defaultColor): Likewise.
7166
7167 2003-06-05 Michael Koch <konqueror@gmx.de>
7168
7169 * javax/swing/border/Border.java:
7170 New version from classpath.
7171
7172 2003-06-05 Michael Koch <konqueror@gmx.de>
7173
7174 * javax/swing/border/AbstractBorder.java,
7175 javax/swing/border/BevelBorder.java,
7176 javax/swing/border/CompoundBorder.java,
7177 javax/swing/border/EmptyBorder.java,
7178 javax/swing/border/EtchedBorder.java,
7179 javax/swing/border/LineBorder.java,
7180 javax/swing/border/MatteBorder.java,
7181 javax/swing/border/TitledBorder.java:
7182 New versions from Classpath.
7183
7184 2003-06-05 Michael Koch <konqueror@gmx.de>
7185
7186 * java/awt/Button.java,
7187 java/awt/Checkbox.java,
7188 java/awt/CheckboxMenuItem.java,
7189 java/awt/Choice.java,
7190 java/awt/Container.java,
7191 java/awt/Dialog.java,
7192 java/awt/EventQueue.java,
7193 java/awt/FileDialog.java,
7194 java/awt/Frame.java,
7195 java/awt/Label.java,
7196 java/awt/List.java,
7197 java/awt/Menu.java,
7198 java/awt/MenuItem.java,
7199 java/awt/Panel.java,
7200 java/awt/PopupMenu.java,
7201 java/awt/Rectangle.java,
7202 java/awt/ScrollPane.java,
7203 java/awt/Scrollbar.java,
7204 java/awt/TextArea.java,
7205 java/awt/TextField.java,
7206 java/awt/Window.java,
7207 java/awt/datatransfer/DataFlavor.java,
7208 java/awt/dnd/DragSource.java,
7209 java/awt/dnd/DragSourceContext.java,
7210 java/awt/event/HierarchyEvent.java,
7211 java/awt/event/MouseWheelEvent.java,
7212 java/awt/im/InputContext.java,
7213 java/awt/image/BufferedImage.java,
7214 java/awt/image/ComponentColorModel.java,
7215 java/awt/image/Raster.java,
7216 java/awt/image/WritableRaster.java,
7217 java/awt/peer/ComponentPeer.java,
7218 java/awt/print/PageFormat.java,
7219 java/awt/print/PrinterJob.java:
7220 New versions from Classpath.
7221
7222 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
7223
7224 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7225 numberFormat.setParseIntegerOnly(true).
7226
7227 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
7228
7229 * include/posix-threads.h: Include <machine/pal.h> on OSF.
7230
7231 2003-06-03 Andrew Haley <aph@redhat.com>
7232
7233 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7234 stack volatile to prevent optimization from removing it.
7235
7236 2003-05-27 Michael Koch <konqueror@gmx.de>
7237
7238 * java/util/zip/Deflater.java
7239 (FILTERED): Merged documentation from classpath.
7240 * java/util/zip/DeflaterOutputStream.java
7241 (DeflaterOutputStream): Merged documentation and argument validity
7242 check from classpath.
7243 (deflate): Merged documentation from classpath.
7244 (finish): Likewise.
7245 * java/util/zip/Inflater.java
7246 (Inflater): Merged class documentation from classpath.
7247 (zstream): Reordered.
7248 (is_finished): Reordered.
7249 (dict_needed): Reordered.
7250 (Inflater): Reordered, merged documentation from classpath.
7251 (end): Likewise.
7252 (finalize): Merged documentation from classpath.
7253 (finished): Likewise.
7254 (getAdler): Likewise.
7255 (getRemaining): Likewise.
7256 (getTotalIn): Likewise.
7257 (getTotalOut): Likewise.
7258 (inflate): Likewise.
7259 (needsDictionary): Likewise.
7260 (needsInput): Likewise.
7261 (reset): Likewise.
7262 (setDictionary): Likewise.
7263 (setInput): Likewise.
7264
7265 2003-05-27 Michael Koch <konqueror@gmx.de>
7266
7267 * java/net/URLConnection.java
7268 (getHeaderFieldInt): Merged with classpath.
7269
7270 2003-05-27 Michael Koch <konqueror@gmx.de>
7271
7272 * java/io/PrintStream.java
7273 (PrintStream): Reformatted.
7274 (PrintStream): New method, merged from classpath.
7275 (write): Reformatted.
7276
7277 2003-05-27 Michael Koch <konqueror@gmx.de>
7278
7279 * java/lang/System.java:
7280 Explicitely import needed classes.
7281
7282 2003-05-26 Michael Koch <konqueror@gmx.de>
7283
7284 * java/net/NetPermission.java,
7285 java/net/NetworkInterface.java,
7286 java/net/PasswordAuthentication.java,
7287 java/net/SocketPermission.java:
7288 New versions from classpath.
7289
7290 2003-05-25 Michael Koch <konqueror@gmx.de>
7291
7292 * java/io/PushbackInputStream.java,
7293 java/net/Authenticator.java,
7294 java/net/ContentHandler.java,
7295 java/net/ContentHandlerFactory.java,
7296 java/net/DatagramSocket.java,
7297 java/net/DatagramSocketImpl.java,
7298 java/net/DatagramSocketImplFactory.java,
7299 java/net/FileNameMap.java,
7300 java/net/SocketImplFactory.java,
7301 java/net/SocketOptions.java,
7302 java/net/URLStreamHandlerFactory.java:
7303 Merged new versions from classpath.
7304
7305 2003-05-25 Michael Koch <konqueror@gmx.de>
7306
7307 * java/awt/Checkbox.java,
7308 java/awt/Dialog.java,
7309 java/awt/Font.java,
7310 java/awt/Frame.java,
7311 java/awt/ScrollPaneAdjustable.java,
7312 java/awt/Scrollbar.java,
7313 java/awt/Window.java:
7314 New versions from classpath.
7315
7316 2003-05-22 Jeff Sturm <jsturm@one-point.com>
7317
7318 PR libgcj/10838:
7319 * java/io/ObjectInputStream (enableResolveObject):
7320 Fixed spelling of permission name.
7321
7322 2003-05-20 Michael Koch <konqueror@gmx.de>
7323
7324 * java/io/DataInputStream.java
7325 (convertFromUTF): Merged comment from classpath.
7326 * java/io/PrintStream.java
7327 (error_occured): Renamed from error, merged comment from classpath.
7328 (PrintStream): No need to initialized error.
7329 (checkError): Replace error with error_occurred.
7330 (setError): Likewise.
7331
7332 2003-05-20 Michael Koch <konqueror@gmx.de>
7333
7334 * java/io/DataInputStream.java:
7335 Reformatted, Replaced < and & with html entitites in documentation.
7336 * java/io/File.java:
7337 Reformatted.
7338 * java/io/PrintWriter.java:
7339 Moved class documentation.
7340
7341 2003-05-20 Michael Koch <konqueror@gmx.de>
7342
7343 * gnu/java/nio/ByteBufferImpl.java,
7344 gnu/java/nio/CharBufferImpl.java,
7345 gnu/java/nio/CharViewBufferImpl.java,
7346 gnu/java/nio/DirectByteBufferImpl.java,
7347 gnu/java/nio/DoubleBufferImpl.java,
7348 gnu/java/nio/DoubleViewBufferImpl.java,
7349 gnu/java/nio/FloatBufferImpl.java,
7350 gnu/java/nio/FloatViewBufferImpl.java,
7351 gnu/java/nio/IntBufferImpl.java,
7352 gnu/java/nio/IntViewBufferImpl.java,
7353 gnu/java/nio/LongBufferImpl.java,
7354 gnu/java/nio/LongViewBufferImpl.java,
7355 gnu/java/nio/natDirectByteBufferImpl.cc,
7356 gnu/java/nio/ShortBufferImpl.java,
7357 gnu/java/nio/ShortViewBufferImpl.java:
7358 Moved files to java/nio.
7359 * gnu/java/nio/SocketChannelImpl.java
7360
7361 * java/nio/ByteBuffer.java,
7362 java/nio/CharBuffer.java,
7363 java/nio/DoubleBuffer.java,
7364 java/nio/FloatBuffer.java,
7365 java/nio/IntBuffer.java,
7366 java/nio/LongBuffer.java,
7367 java/nio/ShortBuffer.java:
7368 Dont import anything.
7369 * java/nio/ByteBufferImpl.java,
7370 java/nio/CharBufferImpl.java,
7371 java/nio/CharViewBufferImpl.java,
7372 java/nio/DirectByteBufferImpl.java,
7373 java/nio/DoubleBufferImpl.java,
7374 java/nio/DoubleViewBufferImpl.java,
7375 java/nio/FloatBufferImpl.java,
7376 java/nio/FloatViewBufferImpl.java,
7377 java/nio/IntBufferImpl.java,
7378 java/nio/IntViewBufferImpl.java,
7379 java/nio/LongBufferImpl.java,
7380 java/nio/LongViewBufferImpl.java,
7381 java/nio/natDirectByteBufferImpl.cc,
7382 java/nio/ShortBufferImpl.java,
7383 java/nio/ShortViewBufferImpl.java:
7384 Moved from gnu/java/nio.
7385 * Makefile.am
7386 (ordinary_java_source_files): Moved files from gnu/java/nio to
7387 java/nio.
7388 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7389 to java/nio.
7390 * Makefile.in: Regenerated.
7391
7392 2003-05-19 Michael Koch <konqueror@gmx.de>
7393
7394 * java/util/Calendar.java
7395 (get): Not final anymore since JDK 1.4
7396 (set): Likewise.
7397
7398 2003-05-19 Michael Koch <konqueror@gmx.de>
7399
7400 * java/text/CollationKey.java:
7401 Merged copyright and dat from classpath.
7402 * java/text/RuleBasedCollator.java:
7403 Merged class documentation from classpath.
7404
7405 2003-05-19 Michael Koch <konqueror@gmx.de>
7406
7407 * java/nio/CharBuffer.java
7408 (toString): Compile fix.
7409
7410 2003-05-19 Michael Koch <konqueror@gmx.de>
7411
7412 * gnu/java/nio/ByteBufferImpl.java
7413 (putLong): Fixed conversion to bytes.
7414 (putDouble): Fixed conversion to bytes.
7415 * gnu/java/nio/DirectByteBufferImpl.java
7416 (putLong): Fixed conversion to bytes.
7417 (putDouble): Fixed conversion to bytes.
7418 * gnu/java/nio/FileLockImpl.java
7419 (isValid): Reformatted.
7420 * java/nio/Buffer.java
7421 (Buffer): Fixed off-by-one bug in handling mark.
7422 * java/nio/ByteBuffer.java:
7423 Added newline.
7424 * java/nio/CharBuffer.java
7425 (toString): Don't use relative get to get string data.
7426
7427 2003-05-16 Michael Koch <konqueror@gmx.de>
7428
7429 * java/io/natFileDescriptorPosix.cc
7430 (open): Commented out the O_SYNC and O_DSYNC usage until its better
7431 tested.
7432
7433 2003-05-14 Michael Koch <konqueror@gmx.de>
7434
7435 * gnu/java/nio/FileLockImpl.java
7436 (released): New member variable.
7437 (FileLockImpl): Initialize released.
7438 (releaseImpl): New native method.
7439 (release): Implemented.
7440 * gnu/java/nio/SelectorImpl.java: Reformatted.
7441 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7442 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7443 (accept): Throws IOException.
7444 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7445 (implConfigureBlocking): Throws IOException.
7446 (connect): Likewise.
7447 (read): Likewise.
7448 (write): Likewise.
7449 * gnu/java/nio/natFileLockImpl.cc: New file.
7450 * java/nio/channels/FileLock.java: Reformatted.
7451 * Makefile.am:
7452 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7453 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7454 * Makefile.in: Regenerated.
7455
7456 2003-05-13 Michael Koch <konqueror@gmx.de>
7457
7458 * gnu/java/nio/CharViewBufferImpl.java
7459 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7460 (get): Shift bits to the right direction.
7461 (put): Likewise.
7462 * gnu/java/nio/DoubleViewBufferImpl.java
7463 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7464 (get): Shift bits to the right direction.
7465 (put): Likewise.
7466 * gnu/java/nio/FloatViewBufferImpl.java
7467 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7468 (get): Shift bits to the right direction.
7469 (put): Likewise.
7470 * gnu/java/nio/IntViewBufferImpl.java
7471 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7472 (get): Shift bits to the right direction.
7473 (put): Likewise.
7474 * gnu/java/nio/LongViewBufferImpl.java
7475 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7476 (get): Shift bits to the right direction.
7477 (put): Likewise.
7478 * gnu/java/nio/ShortViewBufferImpl.java
7479 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7480 (get): Shift bits to the right direction.
7481 (put): Likewise.
7482
7483 2003-05-13 Michael Koch <konqueror@gmx.de>
7484
7485 * gnu/java/nio/natDirectByteBufferImpl.cc
7486 (allocateImpl): jlong -> RawData*.
7487 (freeImpl): Likewise.
7488
7489 2003-05-13 Michael Koch <konqueror@gmx.de>
7490
7491 * java/nio/channels/FileChannel.java
7492 (MapMode.m): Made it package-private to match JDK 1.4.
7493 * java/nio/charset/Charset.java
7494 (decode): Made it final to match JDK 1.4.
7495
7496 2003-05-13 Michael Koch <konqueror@gmx.de>
7497
7498 * java/io/FileDescriptor.java
7499 (SYNC): New constant.
7500 (DSYNC): Likewise.
7501 (getLength): Renamed from lenght() to match classpath's
7502 FileDescriptor.java.
7503 * java/io/RandomAccessFile.java
7504 (RandomAccessFile): Removed unneeded mode check, implemented mode
7505 "rws" and "rwd", merged documentation from classpath.
7506 (setLength): Reformatted.
7507 (length): Use new getLength() of FileDescriptor.
7508 * java/io/natFileDescriptorEcos.cc
7509 (getLength): Renamed from length().
7510 * java/io/natFileDescriptorPosix.cc
7511 (open): Implemented support for SYNC and DSYNC.
7512 (seek): Use getLength() instead of length().
7513 (getLength): Renamed from length().
7514 * java/io/natFileDescriptorWin32.cc
7515 (getLength): Renamed from length().
7516 (seek): Use getLength() instead of length().
7517 (available): Likewise.
7518 * gnu/java/nio/natFileChannelImpl.cc
7519 (size): Use getLength() instead of length().
7520
7521 2003-05-13 Michael Koch <konqueror@gmx.de>
7522
7523 * gnu/java/nio/ByteBufferImpl.java
7524 (ByteBufferImpl): All constructors revised.
7525 (slice): Reimplemented.
7526 (duplicate): Reimplemented.
7527 (asReadOnlyBuffer): Reimplemented.
7528 * java/nio/ByteBuffer.java:
7529 Reformatted.
7530 (array_offset): Renamed from "offset" to match all other buffer
7531 classes.
7532 (ByteBuffer): All constructors revised.
7533 (allocateDirect): Implemented.
7534 (allocate): New implementation, documentation reworked.
7535 (wrap): Likewise.
7536 (get): Documentation reworked.
7537 (put): New implementation, documentation reworked.
7538 (hasArray): Documentation reworked.
7539 (arrayOffset): Likewise.
7540 (hashCode): Likewise.
7541 (equals): Likewise.
7542 (compareTo): Likewise.
7543 (order): Likewise.
7544 (compact): Likewise.
7545 (isDirect): Likewise.
7546 (slice): Likewise.
7547 (duplicate): Likewise.
7548 (asReadOnlyBuffer): Likewise.
7549 * Makefile.am
7550 (ordinary_java_source_files):
7551 Added gnu/java/nio/DirectByteBufferImpl.java.
7552 (nat_source_files):
7553 Added gnu/java/nio/natDirectByteBufferImpl.cc.
7554 * Makefile.in: Regenerated.
7555
7556 2003-05-12 Michael Koch <konqueror@gmx.de>
7557
7558 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7559 (nio_get_*): Removed.
7560 (nio_put_*): Removed.
7561 (as*Buffer): Implemented.
7562 (compact): Implemented.
7563 (get): Documentation added.
7564 (put): Documentation added.
7565 (get*): Newly implemented.
7566 (put*): Newly implemented.
7567 * gnu/java/nio/CharBufferImpl.java: Reformatted.
7568 (CharBufferImpl): Revised.
7569 (slice): New implementation.
7570 (duplicate): New implementation.
7571 (compact): New implementation.
7572 (asReadOnlyBuffer): New implementation.
7573 (get): Documentation revised.
7574 (order): Return native byte order.
7575 * gnu/java/nio/DirectByteBufferImpl.java
7576 (allocateDirect): objects can be null not 0.
7577 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7578 (DoubleBufferImpl): Revised.
7579 (slice): New implementation.
7580 (duplicate): New implementation.
7581 (compact): New implementation.
7582 (asReadOnlyBuffer): New implementation.
7583 (get): Documentation revised.
7584 (order): Return native byte order.
7585 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7586 (FloatBufferImpl): Revised.
7587 (slice): New implementation.
7588 (duplicate): New implementation.
7589 (compact): New implementation.
7590 (asReadOnlyBuffer): New implementation.
7591 (get): Documentation revised.
7592 (order): Return native byte order.
7593 * gnu/java/nio/IntBufferImpl.java: Reformatted.
7594 (IntBufferImpl): Revised.
7595 (slice): New implementation.
7596 (duplicate): New implementation.
7597 (compact): New implementation.
7598 (asReadOnlyBuffer): New implementation.
7599 (get): Documentation revised.
7600 (order): Return native byte order.
7601 * gnu/java/nio/LongBufferImpl.java: Reformatted.
7602 (LongBufferImpl): Revised.
7603 (slice): New implementation.
7604 (duplicate): New implementation.
7605 (compact): New implementation.
7606 (asReadOnlyBuffer): New implementation.
7607 (get): Documentation revised.
7608 (order): Return native byte order.
7609 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7610 (ShortBufferImpl): Revised.
7611 (slice): New implementation.
7612 (duplicate): New implementation.
7613 (compact): New implementation.
7614 (asReadOnlyBuffer): New implementation.
7615 (get): Documentation revised.
7616 (order): Return native byte order.
7617 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7618 (CharBuffer): Revised.
7619 (order): Removed.
7620 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7621 (DoubleBuffer): Revised.
7622 (allocateDirect): Removed.
7623 (order): Removed.
7624 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7625 (FloatBuffer): Revised.
7626 (allocateDirect): Removed.
7627 (order): Removed.
7628 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7629 (IntBuffer): Revised.
7630 (allocateDirect): Removed.
7631 (order): Removed.
7632 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7633 (LongBuffer): Revised.
7634 (allocateDirect): Removed.
7635 (order): Removed.
7636 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7637 (ShortBuffer): Revised.
7638 (allocateDirect): Removed.
7639 (order): Removed.
7640 * gnu/java/nio/natByteBufferImpl.cc: Removed.
7641 * gnu/java/nio/natCharBufferImpl.cc: Removed.
7642 * Makefile.am
7643 (ordinary_java_source_files): Added the following files:
7644 gnu/java/nio/CharViewBufferImpl.java,
7645 gnu/java/nio/DoubleViewBufferImpl.java,
7646 gnu/java/nio/FloatViewBufferImpl.java,
7647 gnu/java/nio/IntViewBufferImpl.java,
7648 gnu/java/nio/LongViewBufferImpl.java,
7649 gnu/java/nio/ShortViewBufferImpl.java
7650 (nat_source_files): Removed the following files:
7651 gnu/java/nio/natByteBufferImpl.cc,
7652 gnu/java/nio/natCharBufferImpl.cc
7653 * Makefile.in: Regenerated.
7654
7655 2003-05-12 Michael Koch <konqueror@gmx.de>
7656
7657 * gnu/java/nio/CharViewBufferImpl.java,
7658 gnu/java/nio/DirectByteBufferImpl.java,
7659 gnu/java/nio/DoubleViewBufferImpl.java,
7660 gnu/java/nio/FloatViewBufferImpl.java,
7661 gnu/java/nio/IntViewBufferImpl.java,
7662 gnu/java/nio/LongViewBufferImpl.java,
7663 gnu/java/nio/ShortViewBufferImpl.java,
7664 gnu/java/nio/natDirectByteBufferImpl.cc:
7665 New files, not yet to be compiled.
7666
7667 2003-05-10 Michael Koch <konqueror@gmx.de>
7668
7669 * javax/swing/plaf/ButtonUI.java,
7670 javax/swing/plaf/ColorUIResource.java,
7671 javax/swing/plaf/ComponentUI.java,
7672 javax/swing/plaf/DimensionUIResource.java,
7673 javax/swing/plaf/FontUIResource.java,
7674 javax/swing/plaf/IconUIResource.java,
7675 javax/swing/plaf/InsetsUIResource.java,
7676 javax/swing/plaf/LabelUI.java,
7677 javax/swing/plaf/ListUI.java,
7678 javax/swing/plaf/OptionPaneUI.java,
7679 javax/swing/plaf/PanelUI.java,
7680 javax/swing/plaf/TabbedPaneUI.java,
7681 javax/swing/plaf/TextUI.java,
7682 javax/swing/plaf/TreeUI.java,
7683 javax/swing/plaf/ViewportUI.java,
7684 javax/swing/plaf/basic/BasicBorders.java,
7685 javax/swing/plaf/basic/BasicButtonUI.java,
7686 javax/swing/plaf/basic/BasicCheckBoxUI.java,
7687 javax/swing/plaf/basic/BasicDefaults.java,
7688 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7689 javax/swing/plaf/basic/BasicIconFactory.java,
7690 javax/swing/plaf/basic/BasicLabelUI.java,
7691 javax/swing/plaf/basic/BasicListUI.java,
7692 javax/swing/plaf/basic/BasicOptionPaneUI.java,
7693 javax/swing/plaf/basic/BasicPanelUI.java,
7694 javax/swing/plaf/basic/BasicRadioButtonUI.java,
7695 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7696 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7697 javax/swing/plaf/basic/BasicTextUI.java,
7698 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7699 javax/swing/plaf/basic/BasicTreeUI.java,
7700 javax/swing/plaf/basic/BasicViewportUI.java,
7701 javax/swing/plaf/metal/MetalLookAndFeel.java:
7702 New versions from classpath. This adds copyrights to all files and
7703 some serialVersionUIDs.
7704
7705 2003-05-10 Michael Koch <konqueror@gmx.de>
7706
7707 * java/nio/CharBuffer.java
7708 (offset): Make it package-private.
7709 (backing_buffer): Likewise.
7710 * java/nio/DoubleBuffer.java
7711 (offset): Make it package-private.
7712 (backing_buffer): Likewise.
7713 (put): Reformatted.
7714 * java/nio/FloatBuffer.java
7715 (offset): Make it package-private.
7716 (backing_buffer): Likewise.
7717 * java/nio/IntBuffer.java
7718 (offset): Make it package-private.
7719 (backing_buffer): Likewise.
7720 * java/nio/LongBuffer.java
7721 (offset): Make it package-private.
7722 (backing_buffer): Likewise.
7723 * java/nio/ShortBuffer.java
7724 (offset): Make it package-private.
7725 (backing_buffer): Likewise.
7726
7727 2003-05-10 Michael Koch <konqueror@gmx.de>
7728
7729 * java/nio/CharBuffer.java
7730 (put): Fixed precondtion check.
7731 (toString): Make it work without backing array.
7732 (put): Skip one level of method calling.
7733
7734 2003-05-10 Michael Koch <konqueror@gmx.de>
7735
7736 * java/security/Identity.java,
7737 java/security/IdentityScope.java,
7738 java/security/Key.java,
7739 java/security/KeyPair.java,
7740 java/security/PrivateKey.java,
7741 java/security/Provider.java,
7742 java/security/PublicKey.java,
7743 java/security/SecureRandom.java,
7744 java/security/SecureRandomSpi.java,
7745 java/security/SignedObject.java,
7746 java/security/Signer.java,
7747 java/security/cert/Certificate.java,
7748 java/security/cert/PKIXCertPathBuilderResult.java,
7749 java/security/cert/X509Certificate.java:
7750 New versions from classpath.
7751
7752 2003-05-09 Tom Tromey <tromey@redhat.com>
7753
7754 * Makefile.in: Rebuilt.
7755 * Makefile.am (nat_source_files): Removed old files.
7756 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7757 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7758 * gnu/java/nio/natIntBufferImpl.cc: Removed.
7759 * gnu/java/nio/natLongBufferImpl.cc: Removed.
7760 * gnu/java/nio/natShortBufferImpl.cc: Removed.
7761
7762 2003-05-09 Michael Koch <konqueror@gmx.de>
7763
7764 * gnu/java/nio/ByteBufferImpl.java
7765 (nio_cast): Removed.
7766 (ByteBufferImpl): Removed.
7767 (nio_get_Byte): Removed.
7768 (nio_put_Byte): Removed.
7769 (asByteBuffer): Removed.
7770 (asCharBuffer): Removed implementation and throw exception.
7771 (asShortBuffer): Likewise.
7772 (asIntBuffer): Likewise.
7773 (asLongBuffer): Likewise.
7774 (asFloatBuffer): Likewise.
7775 (asDoubleBuffer): Likewise.
7776 * gnu/java/nio/CharBufferImpl.java
7777 (CharBufferImpl): Removed.
7778 (nio_get_Byte): Removed.
7779 (nio_put_Byte): Removed.
7780 (asByteBuffer): Removed.
7781 * gnu/java/nio/DoubleBufferImpl.java
7782 (DoubleBufferImpl): Removed.
7783 (nio_get_Byte): Removed.
7784 (nio_put_Byte): Removed.
7785 (asByteBuffer): Removed.
7786 * gnu/java/nio/FloatBufferImpl.java
7787 (FloatBufferImpl): Removed.
7788 (nio_get_Byte): Removed.
7789 (nio_put_Byte): Removed.
7790 (asByteBuffer): Removed.
7791 * gnu/java/nio/IntBufferImpl.java
7792 (IntBufferImpl): Removed.
7793 (nio_get_Byte): Removed.
7794 (nio_put_Byte): Removed.
7795 (asByteBuffer): Removed.
7796 * gnu/java/nio/LongBufferImpl.java
7797 (LongBufferImpl): Removed.
7798 (nio_get_Byte): Removed.
7799 (nio_put_Byte): Removed.
7800 (asByteBuffer): Removed.
7801 * gnu/java/nio/ShortBufferImpl.java
7802 (ShortBufferImpl): Removed.
7803 (nio_get_Byte): Removed.
7804 (nio_put_Byte): Removed.
7805 (asByteBuffer): Removed.
7806 * gnu/java/nio/natByteBufferImpl.cc
7807 (nio_cast): Removed.
7808 (nio_get_Byte): Removed.
7809 (nio_put_Byte): Removed.
7810 * gnu/java/nio/natCharBufferImpl.cc
7811 (nio_get_Byte): Removed.
7812 (nio_put_Byte): Removed.
7813
7814 2003-05-09 Michael Koch <konqueror@gmx.de>
7815
7816 * java/net/JarURLConnection.java
7817 (getJarEntry): Merged documentation from classpath.
7818 (getJarFile): Likewise.
7819 (getMainAttributes): Likewise.
7820 (getAttributes): Likewise.
7821 (getManifest): Likewise.
7822 (getCertificates): Reformatted.
7823 * java/net/URLConnection.java:
7824 Little classpath merge.
7825
7826 2003-05-09 Michael Koch <konqueror@gmx.de>
7827
7828 * java/io/DataOutputStream.java
7829 (writeShort): Made it synchronized.
7830 (writeChar): Likewise.
7831 (writeInt): Likewise.
7832 (writeLong): Liekwise.
7833 (writeUTF): Made it synchronized, renamed argument to match classpath.
7834 * java/io/InputStreamReader.java
7835 (converter): Added documentation.
7836 (read): Merged documentation from classpath.
7837 * java/io/OutputStreamWriter.java
7838 (OutputStreamWriter): Merged documentation from classpath.
7839 (close): Reformatted.
7840 (getEncoding): Likewise.
7841 (flush): Likewise.
7842 (write): Merged documentation from classpath, reformatted.
7843
7844 2003-05-08 Tom Tromey <tromey@redhat.com>
7845
7846 * configure.host <powerpc64*-*>: Set with_libffi_default and
7847 libgcj_interpreter to "yes".
7848
7849 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
7850
7851 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7852
7853 2003-05-06 Tom Tromey <tromey@redhat.com>
7854
7855 * verify.cc: Reverted previous patch.
7856
7857 2003-05-06 Michael Koch <konqueror@gmx.de>
7858
7859 * java/io/DataOutputStream.java
7860 (write): Renamed argument to "value", merged documentation from
7861 classpath.
7862 (writeBoolean): Likewise.
7863 (writeByte): Likewise.
7864 (writeShort): Likewise.
7865 (writeChar): Likewise.
7866 (writeInt): Likewise.
7867 (writeLong): Likewise.
7868 (writeFloat): Likewise.
7869 (writeDouble): Likewise.
7870 (writeBytes): Likewise.
7871 (writeChars): Likewise.
7872 (writeUTF): Likewise.
7873 * java/io/File.java
7874 (performDelete): Added documentation.
7875 (performList): Likewise.
7876 (performMkdir): Likewise.
7877 (performSetReadOnly): Likewise.
7878 (performRenameTo): Likewise.
7879 (performSetLastModified): Likewise.
7880 (delete): Made it sychronized.
7881 (renameTo): Made it sychronized.
7882 (equals): Reformatted.
7883 (isHidden): Likewise.
7884 (listFiles): Likewise.
7885 (setReadOnly): Likewise.
7886 (listRoots): Likewise.
7887 (setLastModified): Likewise.
7888 (checkRead): Likewise.
7889 (checkWrite): Likewise.
7890 * java/io/FileInputStream.java
7891 (skip): Made it sychronized, merged from classpath.
7892 * java/io/FileOutputStream.java
7893 (write): Merged from classpath.
7894 * java/io/InputStreamReader.java:
7895 (InputStreamReader): Merged documentation from classpath.
7896
7897 2003-05-05 Michael Koch <konqueror@gmx.de>
7898
7899 * java/net/NetworkInterface.java
7900 (networkInterfaces): Removed.
7901 (getByName): Use getRealNetworkInterfaces() instead of
7902 networkInterfaces.
7903 (getByInetAddress): Likewise.
7904 (getNetworkInterfaces): Likewise.
7905 (toString): Fix output of addresses of an interface.
7906
7907 2003-05-05 Michael Koch <konqueror@gmx.de>
7908
7909 * java/io/DataInputStream.java:
7910 Merged new documentation from classpath.
7911
7912 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
7913
7914 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7915 "version".
7916 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7917 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7918 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7919 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7920 * gnu/awt/gtk/GtkMainThread.java: Likewise.
7921 * gnu/awt/gtk/GtkToolkit.java: Likewise.
7922 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7923 * java/security/Key.java: Likewise.
7924 * java/security/PrivateKey.java: Likewise.
7925 * java/security/Provider.java: Likewise.
7926 * java/security/PublicKey.java: Likewise.
7927
7928 2003-05-02 Michael Koch <konqueror@gmx.de>
7929
7930 * java/net/URI.java
7931 (create): Doesnt throws any exceptions.
7932 * java/net/URLConnection.java
7933 (URLConnection): Commend added.
7934 (getExpiration): The header field is called "expires" not
7935 "expiration".
7936 (getHeaderField): Merged documentation with classpath.
7937 (getHeaderFieldInt): Likewise.
7938 (getHeaderFieldDate): Likewise.
7939 (getHeaderFieldKey): Likewise.
7940 (getPermission): Likewise.
7941 (setDefaultUseCaches): Likewise.
7942 (setRequestProperty): Likewise.
7943 (addRequestProperty): Likewise.
7944 (getRequestProperty): Likewise.
7945 (getRequestProperties): Likewise.
7946 (setDefaultRequestProperty): Likewise.
7947 (getDefaultRequestProperty): Likewise.
7948 (guessContentTypeFromStream): Likewise.
7949 (getFileNameMap): Likewise.
7950 (setFileNameMap): Likewise.
7951 (setDoInput): Merged implementation and documentation with classpath.
7952 (setDoOutput): Likewise.
7953 (setAllowUserInteraction): Likewise.
7954 (setDefaultAllowUserInteraction): Likewise.
7955 (setContentHandlerFactory): Made it synchronized, merged documentation
7956 with classpath.
7957 (guessContentTypeFromName): Renamed argument fname to filename to
7958 match classpath, merged documentation with classpath.
7959
7960 2003-05-02 Michael Koch <konqueror@gmx.de>
7961
7962 * java/net/JarURLConnection.java
7963 (JarURLConnection): Class documentation merged with classpath.
7964 (getJarFileURL): Moved and documentation merged with classpath.
7965 (getEntryName): Likewise.
7966 (JarURLConnection): Documentation merged with classpath.
7967 (getJarEntry): Likewise.
7968 (getJarFile): Likewise.
7969 * java/net/PlainDatagramSocketImpl.java:
7970 Class documentation moved.
7971 * java/net/URLConnection.java
7972 (fileNameMap): Moved and documentation merged with classpath.
7973 (factory): Likewise.
7974 (defaultAllowUserInteraction): Likewis.
7975 (defaultUseCaches): Likewise.
7976 (allowUserInteraction): Likewise.
7977 (connected): Likewise.
7978 (url): Likewise.
7979 (connect): Documentation merged with classpath.
7980 (getURL): Likewise.
7981 (getContentLength): Likewise.
7982 (getContentType): Likewise.
7983 (getContentEncoding): Likewise.
7984 (getExpiration): Likewise.
7985 (getDate): Likewise.
7986 (getLastModified): Likewise.
7987 (getHeaderField): Likewise.
7988 (getContent): Likewise.
7989 (getPermission): Likewise.
7990 (getInputStream): Likewise.
7991 (getOutputStream): Likewise.
7992 (toString): Likewise.
7993 (getDoInput): Likewise.
7994 (getDoOutput): Likewise.
7995 (setAllowUserInteraction): Likewise.
7996 (getAllowUserInteraction): Likewise.
7997 (setDefaultAllowUserInteraction): Likewise.
7998 (getDefaultAllowUserInteraction): Likewise.
7999 (setUseCaches): Likewise.
8000 (getUseCaches): Likewise.
8001 (setIfModifiedSince): Likewise.
8002 (getIfModifiedSince): Likewise.
8003 (setDefaultRequestProperty): Likewise.
8004 (getDefaultRequestProperty): Likewise.
8005 (setContentHandlerFactory): Likewise.
8006 (setFileNameMap): Likewise.
8007
8008 2003-05-02 Michael Koch <konqueror@gmx.de>
8009
8010 * java/net/InetAddress.java:
8011 Merged class documentation with classpath.
8012 * java/net/JarURLConnection.java:
8013 Explicitely import all used classes.
8014 * java/net/URL.java:
8015 Reformatting.
8016 * java/net/ServerSocket.java,
8017 java/net/Socket.java:
8018 New versions from classpath.
8019
8020 2003-05-02 Michael Koch <konqueror@gmx.de>
8021
8022 * gnu/java/nio/FileChannelImpl.java
8023 (read): New implementation.
8024 (implRead): New methods.
8025 (write): New implementation, call other write insteal of read method.
8026 (implWrite): New methods.
8027 (map): Added comment.
8028 (transferFrom): Implemented.
8029 (transferTo): Implemented.
8030 (lock): Added checks to throw exceptions.
8031 (truncate): Added check to throw exception.
8032 * gnu/java/nio/natFileChannelImpl.cc
8033 (implRead): New method.
8034 (implWrite): New method.
8035 * java/nio/ByteBuffer.java
8036 (hashCode): Fixed comment.
8037 (get): Fixed exception documentation.
8038 (put): Fixed exception documentation.
8039 * java/nio/CharBuffer.java:
8040 Added comment for later optimizations.
8041
8042 2003-04-30 Tom Tromey <tromey@redhat.com>
8043
8044 PR libgcj/10582:
8045 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
8046 Removed.
8047 (type::compatible): Use _Jv_IsAssignableFrom.
8048 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
8049 (_Jv_IsAssignableFrom): Work even when source or target class is
8050 not prepared.
8051
8052 2003-04-30 Michael Koch <konqueror@gmx.de>
8053
8054 * java/text/BreakIterator.java
8055 (clone): New method.
8056
8057 2003-04-30 Michael Koch <konqueror@gmx.de>
8058
8059 * java/text/CollationElementIterator.java,
8060 java/text/CollationKey.java,
8061 java/text/RuleBasedCollator.java:
8062 Merged copyright and documentation from classpath and
8063 rearranged some code. No code changes done.
8064
8065 2003-04-30 Michael Koch <konqueror@gmx.de>
8066
8067 * java/util/regex/Matcher.java
8068 (pattern): New member variable.
8069 (appendReplacement): New method.
8070 (appendTail): New method.
8071 (end): New method.
8072 (find): New method.
8073 (group): New method.
8074 (replaceFirst): Added documentation.
8075 (replaceAll): Added documentation.
8076 (groupCount): New method.
8077 (lookingAt): New method.
8078 (matches): New method.
8079 (reset): New method.
8080 (start): New method.
8081 * java/util/regex/Pattern.java
8082 (serialVersionUID): New constant.
8083 (CANON_EQ): New constant.
8084 (CASE_INSENSITIVE): New constant.
8085 (COMMENTS): New constant.
8086 (DOTALL): New constant.
8087 (MULTILINE): New constant.
8088 (UNICODE_CASE): New constant.
8089 (UNIX_LINES): New constant.
8090 (regex): New member variable.
8091 (flags): New member variable.
8092 (Pattern): New method.
8093 (compile): Documentation added.
8094 (flags): New method.
8095 (matches): Documentation added.
8096 (matcher): Documentation added.
8097 (split): Documentation added.
8098 (pattern): New method.
8099
8100 2003-04-30 Michael Koch <konqueror@gmx.de>
8101
8102 * gnu/java/security/Engine.java,
8103 gnu/java/security/OID.java,
8104 gnu/java/security/der/BitString.java,
8105 gnu/java/security/der/DER.java,
8106 gnu/java/security/der/DERReader.java,
8107 gnu/java/security/der/DERValue.java,
8108 gnu/java/security/der/DERWriter.java,
8109 gnu/java/security/provider/DSAKeyFactory.java,
8110 gnu/java/security/provider/X509CertificateFactory.java,
8111 gnu/java/security/x509/X500DistinguishedName.java,
8112 gnu/java/security/x509/X509CRL.java,
8113 gnu/java/security/x509/X509CRLEntry.java,
8114 gnu/java/security/x509/X509Certificate.java,
8115 java/security/cert/CRLSelector.java,
8116 java/security/cert/CertPathBuilder.java,
8117 java/security/cert/CertPathBuilderResult.java,
8118 java/security/cert/CertPathBuilderSpi.java,
8119 java/security/cert/CertPathParameters.java,
8120 java/security/cert/CertPathValidator.java,
8121 java/security/cert/CertPathValidatorResult.java,
8122 java/security/cert/CertPathValidatorSpi.java,
8123 java/security/cert/CertSelector.java,
8124 java/security/cert/CertStore.java,
8125 java/security/cert/CertStoreParameters.java,
8126 java/security/cert/CertStoreSpi.java,
8127 java/security/cert/CollectionCertStoreParameters.java,
8128 java/security/cert/LDAPCertStoreParameters.java,
8129 java/security/cert/PKIXBuilderParameters.java,
8130 java/security/cert/PKIXCertPathBuilderResult.java,
8131 java/security/cert/PKIXCertPathChecker.java,
8132 java/security/cert/PKIXCertPathValidatorResult.java,
8133 java/security/cert/PKIXParameters.java,
8134 java/security/cert/PolicyNode.java,
8135 java/security/cert/PolicyQualifierInfo.java,
8136 java/security/cert/TrustAnchor.java,
8137 javax/security/auth/x500/X500Principal.java:
8138 New files from classpath.
8139 * gnu/java/io/ASN1ParsingException.java,
8140 gnu/java/io/Base64InputStream.java,
8141 gnu/java/security/der/DEREncodingException.java,
8142 gnu/java/security/provider/DSAParameters.java,
8143 gnu/java/security/provider/DSASignature.java,
8144 gnu/java/security/provider/Gnu.java,
8145 gnu/java/security/provider/GnuDSAPrivateKey.java,
8146 gnu/java/security/provider/GnuDSAPublicKey.java,
8147 java/security/AlgorithmParameterGenerator.java,
8148 java/security/AlgorithmParameters.java,
8149 java/security/KeyFactory.java,
8150 java/security/KeyPairGenerator.java,
8151 java/security/KeyStore.java,
8152 java/security/MessageDigest.java,
8153 java/security/SecureClassLoader.java,
8154 java/security/SecureRandom.java,
8155 java/security/Security.java,
8156 java/security/Signature.java,
8157 java/security/cert/Certificate.java,
8158 java/security/cert/CertificateFactory.java,
8159 java/security/cert/CertificateFactorySpi.java,
8160 java/security/cert/X509CRL.java,
8161 java/security/cert/X509Certificate.java,
8162 java/security/spec/DSAPublicKeySpec.java:
8163 New versions from classpath.
8164 * gnu/java/security/provider/DERReader.java,
8165 gnu/java/security/provider/DERWriter.java,
8166 java/security/Engine.java: Removed.
8167 * Makefile.am
8168 (java_source_files, javax_source_files): Added new files.
8169 * Makefile.in: Regenerated.
8170
8171 2003-04-29 Michael Koch <konqueror@gmx.de>
8172
8173 * javax/swing/JTable.java
8174 (AUTO_RESIZE_ALL_COLUMNS): New constant.
8175 (AUTO_RESIZE_LAST_COLUMN): New constant.
8176 (AUTO_RESIZE_NEXT_COLUMN): New constant.
8177 (AUTO_RESIZE_OFF): New constant.
8178 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8179 (JTable): New method.
8180 (columnAdded): New method.
8181 (columnMarginChanged): New method.
8182 (columnMoved): New method.
8183 (columnRemoved): New method.
8184 (columnSelectionChanged): New method.
8185 (editingCanceled): New method.
8186 (editingStopped): New method.
8187 (getColumnModel): New method.
8188 (getPreferredScrollableViewportSize): New method.
8189 (getScrollableBlockIncrement): New method.
8190 (getScrollableTracksViewportHeight): New method.
8191 (getScrollableTracksViewportWidth): New method.
8192 (getScrollableUnitIncrement): New method.
8193 (getSelectedRow): New method.
8194 (getSelectionModel): New method.
8195 (tableChanged): New method.
8196 (setModel): New method.
8197 (setSelectionMode): New method.
8198 (setSelectionModel): New method.
8199 (setShowGrid): New method.
8200 (valueChanged): New method.
8201 * javax/swing/text/DefaultEditorKit.java
8202 (backwardAction): New constant.
8203 (beepAction): New constant.
8204 (beginAction): New constant.
8205 (beginLineAction): New constant.
8206 (beginParagraphAction): New constant.
8207 (beginWordAction): New constant.
8208 (copyAction): New constant.
8209 (cutAction): New constant.
8210 (defaultKeyTypedAction): New constant.
8211 (deleteNextCharAction): New constant.
8212 (deletePrevCharAction): New constant.
8213 (downAction): New constant.
8214 (endAction): New constant.
8215 (endLineAction): New constant.
8216 (endOfLineStringProperty): New constant.
8217 (endParagraphAction): New constant.
8218 (endWordAction): New constant.
8219 (forwardAction): New constant.
8220 (insertBreakAction): New constant.
8221 (insertContentAction): New constant.
8222 (insertTabAction): New constant.
8223 (nextWordAction): New constant.
8224 (pageDownAction): New constant.
8225 (pageUpAction): New constant.
8226 (pasteAction): New constant.
8227 (previousWordAction): New constant.
8228 (readOnlyAction): New constant.
8229 (selectAllAction): New constant.
8230 (selectionBackwardAction): New constant.
8231 (selectionBeginAction): New constant.
8232 (selectionBeginLineAction): New constant.
8233 (selectionBeginParagraphAction): New constant.
8234 (selectionBeginWordAction): New constant.
8235 (selectionDownAction): New constant.
8236 (selectionEndAction): New constant.
8237 (selectionEndLineAction): New constant.
8238 (selectionEndParagraphAction): New constant.
8239 (selectionEndWordAction): New constant.
8240 (selectionForwardAction): New constant.
8241 (selectionNextWordAction): New constant.
8242 (selectionPreviousWordAction): New constant.
8243 (selectionUpAction): New constant.
8244 (selectLineAction): New constant.
8245 (selectParagraphAction): New constant.
8246 (selectWordAction): New constant.
8247 (upAction): New constant.
8248 (writableAction): New constant.
8249
8250 2003-04-29 Michael Koch <konqueror@gmx.de>
8251
8252 * java/util/PropertyPermission.java:
8253 New version from classpath
8254 * java/util/ResourceBundle.java:
8255 Partly merged from classpath
8256 (getObject): Reformated.
8257 (tryBundle): Set foundBundle = null if no bundle found.
8258
8259 2003-04-29 Michael Koch <konqueror@gmx.de>
8260
8261 * javax/swing/AbstractListModel.java,
8262 javax/swing/DefaultBoundedRangeModel.java,
8263 javax/swing/DefaultSingleSelectionModel.java:
8264 New Versions from classpath.
8265
8266 2003-04-29 Michael Koch <konqueror@gmx.de>
8267
8268 * java/awt/Window.java
8269 (show): Call super.show() instead of setVisible() to avoid endless
8270 loop.
8271 (hide): Call super.hide() instead of setVisible() to avoid endless
8272 loop.
8273
8274 2003-04-29 Michael Koch <konqueror@gmx.de>
8275
8276 * java/util/zip/Deflater.java,
8277 java/util/zip/DeflaterOutputStream.java:
8278 Partly merged with classpath.
8279
8280 2003-04-27 Tom Tromey <tromey@redhat.com>
8281
8282 * java/lang/natString.cc (_Jv_AllocString): Initialize
8283 cachedHashCode.
8284 (init): Likewise.
8285 (_Jv_NewStringUtf8Const): Likewise.
8286
8287 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
8288
8289 * include/jvm.h: (_Jv_GetNbArgs) added
8290 (_Jv_GetSafeArg) added
8291 (_Jv_SetArgs) added
8292 * prims.cc: (_Jv_GetNbArgs) implemented
8293 (_Jv_GetSafeArg) implemented
8294 (_Jv_SetArgs) implemented
8295 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8296 setting _Jv_argc and _Jv_argv
8297 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8298 instead of _Jv_argv
8299 * java/lang/natRuntime.cc: (insertSystemProperties) use
8300 _Jv_GetSafeArg() instead of _Jv_argv
8301
8302 2003-04-23 Tom Tromey <tromey@redhat.com>
8303
8304 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8305 required by this object. Search superclasses to find required
8306 alignment.
8307 (get_alignment_from_class): Use alignment of type as it appears
8308 in a struct.
8309 (ALIGNOF): New macro.
8310 (struct aligner): New helper structure.
8311
8312 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
8313
8314 * java/awt/Container.java (addImpl): Enable paint events if adding
8315 a lightweight to a heavyweight.
8316 (addNotify): Ensure that peer is created before
8317 addNotifyContainerChildren.
8318 (addNotifyContainerChildren): Enable paint events if a heavyweight
8319 container contains a lightweight.
8320
8321 2003-04-20 Tom Tromey <tromey@redhat.com>
8322
8323 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8324 java/io/DataInput.java, java/io/DataOutput.java: Imports from
8325 Classpath.
8326
8327 2003-04-19 Tom Tromey <tromey@redhat.com>
8328
8329 * java/sql/Date.java, java/sql/DriverManager.java,
8330 java/sql/Time.java, java/sql/Timestamp.java: New versions from
8331 Classpath.
8332
8333 * Makefile.in: Rebuilt.
8334 * Makefile.am (ordinary_java_source_files): Added new files.
8335 * java/security/AlgorithmParameterGenerator.java,
8336 java/security/AlgorithmParameters.java, java/security/Engine.java,
8337 java/security/Identity.java, java/security/IdentityScope.java,
8338 java/security/KeyFactory.java,
8339 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8340 java/security/MessageDigest.java, java/security/Policy.java,
8341 java/security/ProtectionDomain.java,
8342 java/security/SecureRandom.java, java/security/Security.java,
8343 java/security/Signature.java, java/security/SignatureSpi.java,
8344 java/security/SignedObject.java, java/security/Signer.java,
8345 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8346 java/security/spec/PSSParameterSpec.java,
8347 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8348 java/security/spec/RSAOtherPrimeInfo.java: New versions from
8349 Classpath.
8350
8351 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
8352
8353 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8354 (dispose): Null metrics.
8355 * gnu/awt/xlib/XToolkit.java (sync): Implement.
8356 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8357 finalize.
8358 (finalize): Call dispose.
8359 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8360 (gcCachedCount): New field.
8361 (finalize): New method.
8362 (putGCInCache): New method.
8363 (getGCFromCache): New method.
8364 * gnu/gcj/xlib/GC.java (GC): Make protected.
8365 (clone): Get new GC from cache if possible.
8366 (create): New static method.
8367 (dispose): Save old GC in cache.
8368 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8369 deleting.
8370 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8371 is null.
8372 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8373 * java/awt/Container.java (visitChild): Dispose gfx2 when
8374 finished.
8375
8376 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
8377
8378 * java/math/BigInteger.java (probablePrime): New.
8379 * java/math/BigDecimal.java (unscaledValue): New.
8380
8381 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
8382
8383 * java/io/File.java (getAbsolutePath): On Windows, take care
8384 of paths like "C:", "G:foo\bar", etc.
8385 (getName): Make it work correctly on Windows.
8386 (getParent): Make it work correctly on Windows. For UNIX,
8387 fix bug that causes "/" to be returned as the parent of "/",
8388 instead of null as returned by Sun's JRE.
8389
8390 * java/io/natFileWin32.cc: Change copyright owner to FSF.
8391
8392 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
8393
8394 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8395 inner class.
8396 (CACHE_SIZE_PER_DISPLAY): New field
8397 (fontMetricsCache): New field
8398 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8399 loading ISO10646-1 fonts.
8400
8401 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
8402
8403 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8404 characters.
8405 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8406 characters.
8407
8408 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
8409
8410 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8411 floating point.
8412
8413 2003-04-15 Jakub Jelinek <jakub@redhat.com>
8414
8415 * configure.host (*-linux*): Don't set slow_pthread_self if primary
8416 installed libpthread is either linuxthreads with floating stacks or
8417 NPTL.
8418
8419 2003-04-14 Tom Tromey <tromey@redhat.com>
8420
8421 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8422 of alignment.
8423
8424 2003-04-10 Tom Tromey <tromey@redhat.com>
8425
8426 * verify.cc (pop64): Removed.
8427 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
8428 exception if top-of-stack is narrow.
8429 (initialize_stack): Check to ensure that <init> is not static and
8430 <clinit> is.
8431
8432 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
8433
8434 * java/io/ObjectStreamException
8435 * java/io/FileFilter
8436 * java/io/FilenameFilter
8437 * java/io/ObjectInput
8438 * java/io/ObjectOutput
8439 * java/io/ObjectStreamConstants
8440 Minor doc fixes, format fixes, spelling corrections, etc.
8441 * java/io/DataInput
8442 Corrected code samples in Javadocs to match reality
8443 * java/io/DataOutput
8444 * java/io/ObjectInputValidation
8445 Major documentation fixes - all Javadocs re-written or updated
8446
8447 2003-04-06 Michael Koch <konqueror@gmx.de>
8448
8449 * java/net/URLConnection.java:
8450 Import classes directly.
8451 (URLConnection): Merged class documentation with classpath.
8452 (url): Moved, documentation from classpath added.
8453 (doInput): Moved, documentation from classpath added.
8454 (doOutput): Moved, documentation from classpath added.
8455 (allowUserInteraction): Moved.
8456 (useCaches): Moved, documentation from classpath added.
8457 (ifModifiedSince): Moved, documentation from classpath added.
8458 (connected): Moved, documentation from classpath added.
8459
8460 2003-04-06 Michael Koch <konqueror@gmx.de>
8461
8462 * java/io/FileInputStream.java
8463 (skip): Renamed some variables to match classpath, added
8464 checks from classpath.
8465
8466 2003-03-31 Michael Koch <konqueror@gmx.de>
8467
8468 * javax/swing/AbstractAction.java
8469 (AbstractAction): Reformatted.
8470 (serialVersionUID): New private member variable.
8471 * javax/swing/plaf/BorderUIResource.java
8472 (serialVersionUID): New private member variable.
8473 * javax/swing/plaf/basic/BasicLookAndFeel.java
8474 (serialVersionUID): New private member variable.
8475
8476 2003-03-31 Michael Koch <konqueror@gmx.de>
8477
8478 * java/sql/Date.java
8479 (valueOf): Deprecated, reformatted.
8480 (toString): Deprecated, reformatted.
8481 * java/sql/Time.java
8482 (valueOf): Deprecated, reformatted.
8483 (toString): Deprecated, reformatted.
8484
8485 2003-03-31 Michael Koch <konqueror@gmx.de>
8486
8487 * java/rmi/dgc/VMID.java
8488 (isUnique): Deprecated.
8489
8490 2003-03-31 Michael Koch <konqueror@gmx.de>
8491
8492 * java/io/File.java
8493 (separator): Merged documentation from classpath.
8494 (separatorChar): Merged documentation from classpath.
8495 (pathSeparator): Merged documentation from classpath.
8496 (pathSeparatorChar): Merged documentation from classpath.
8497 (path): Merged documentation from classpath.
8498 (canRead): Merged documentation from classpath.
8499 (canWrite): Merged documentation from classpath.
8500 (createNewFile): Merged documentation from classpath.
8501 (delete): Merged documentation from classpath.
8502 (equals): Merged documentation from classpath.
8503 (exists): Merged documentation from classpath.
8504 (File): Renamed p to name to match classpath, merged documentation
8505 from classpath.
8506 (getAbsolutePath): Merged documentation from classpath.
8507 (getCanonicalPath): Merged documentation from classpath.
8508 (getCanonicalFile): Merged documentation from classpath.
8509 (getName): Merged documentation from classpath.
8510 (getParent): Merged documentation from classpath.
8511 (getParentFile): Merged documentation from classpath.
8512 (getPath): Merged documentation from classpath.
8513 (hashCode): Merged documentation from classpath.
8514 (isAbsolute): Merged documentation from classpath.
8515 (isDirectory): Merged documentation from classpath.
8516 (isFile): Merged documentation from classpath.
8517 (isHidden): Merged documentation from classpath.
8518 (lastModified): Merged documentation from classpath.
8519 (length): Merged documentation from classpath.
8520 (list): Merged documentation from classpath.
8521 (listFiles): Merged documentation from classpath.
8522 (toString): Merged documentation from classpath.
8523 (toURL): Merged documentation from classpath.
8524 (mkdir): Merged documentation from classpath.
8525 (mkdirs): Merged documentation from classpath.
8526 (createTempFile): Merged documentation from classpath.
8527 (setReadOnly): Merged documentation from classpath.
8528 (listRoots): Merged documentation from classpath.
8529 (compareTo): Merged documentation from classpath.
8530 (renameTo): Merged documentation from classpath.
8531 (setLastModified): Merged documentation from classpath.
8532 * java/io/PrintStream.java
8533 (auto_flush): Merged documentation from classpath.
8534 (PrintStream): Merged documentation from classpath.
8535 (checkError): Merged documentation from classpath.
8536 (setError): Merged documentation from classpath.
8537 (close): Merged documentation from classpath.
8538 (flush): Merged documentation from classpath.
8539 (print): Merged documentation from classpath.
8540 (println): Merged documentation from classpath.
8541 (write): Renamed count to len to match classpath,
8542 merged documentation from classpath.
8543 * java/io/RandomAccessFile.java
8544 (readShort): Merged documentation from classpath.
8545 (readUnsignedByte): Merged documentation from classpath.
8546 (readUnsignedShort): Merged documentation from classpath.
8547 (readUTF): Merged documentation from classpath.
8548 (seek): Reformatted, merged documentation from classpath.
8549 (skipBytes): Renamed some variables to match classpath, reformatted,
8550 merged documentation from classpath.
8551 (write): Merged documentation from classpath.
8552 (writeBoolean): Merged documentation from classpath.
8553 (writeByte): Merged documentation from classpath.
8554 (writeShort): Merged documentation from classpath.
8555 (writeChar): Merged documentation from classpath.
8556 (writeInt): Merged documentation from classpath.
8557 (writeLong): Merged documentation from classpath.
8558 (writeFloat): Merged documentation from classpath.
8559 (writeDouble): Merged documentation from classpath.
8560 (writeBytes): Merged documentation from classpath.
8561 (writeChars): Merged documentation from classpath.
8562 (writeUTF): Reformatted.
8563 (getChannel): Reformatted.
8564
8565 2003-03-31 Michael Koch <konqueror@gmx.de>
8566
8567 * java/awt/font/TextAttribute.java
8568 (readResolve): Throws java.io.InvalidObjectException.
8569
8570 2003-03-31 Michael Koch <konqueror@gmx.de>
8571
8572 * java/rmi/server/LoaderHandler.java
8573 (loadClass): Deprecated.
8574 (getSecurityContext): Deprecated.
8575 * java/rmi/server/LogStream.java
8576 (getDefaultStream): Deprecated.
8577 (setDefaultStream): Deprecated.
8578 (getOutputStream): Deprecated.
8579 (setOutputStream): Deprecated.
8580 (write): Deprecated.
8581 (toString): Deprecated.
8582 (parseLevel): Deprecated.
8583 * java/rmi/server/Operation.java
8584 (Operation): Deprecated.
8585 (getOperation): Deprecated.
8586 (toString): Deprecated.
8587 * java/rmi/server/RemoteCall.java
8588 (getOutputStream): Deprecated.
8589 (releaseOutputStream): Deprecated.
8590 (getInputStream): Deprecated.
8591 (releaseInputStream): Deprecated.
8592 (getResultStream): Deprecated.
8593 (executeCall): Deprecated.
8594 (done): Deprecated.
8595 * java/rmi/server/RemoteRef.java
8596 (invoke): Deprecated.
8597 (newCall): Deprecated.
8598 (done): Deprecated.
8599 * java/rmi/server/RemoteStub.java
8600 (setRef): Deprecated.
8601 * java/rmi/server/Skeleton.java:
8602 No need to import java.lang.Exception explicitly.
8603 (dispatch): Deprecated.
8604 (getOperations): Deprecated.
8605
8606 2003-03-31 Michael Koch <konqueror@gmx.de>
8607
8608 * java/rmi/dgc/VMID.java,
8609 java/rmi/registry/RegistryHandler.java,
8610 java/rmi/server/LogStream.java,
8611 java/rmi/server/Operation.java,
8612 java/rmi/server/RemoteCall.java,
8613 java/rmi/server/RemoteRef.java,
8614 java/rmi/server/RemoteStub.java:
8615 Reformatted.
8616
8617 2003-03-31 Michael Koch <konqueror@gmx.de>
8618
8619 * javax/swing/AbstractCellEditor.java,
8620 javax/swing/AbstractListModel.java,
8621 javax/swing/ActionMap.java,
8622 javax/swing/BorderFactory.java,
8623 javax/swing/ButtonGroup.java,
8624 javax/swing/DefaultBoundedRangeModel.java,
8625 javax/swing/DefaultButtonModel.java,
8626 javax/swing/DefaultCellEditor.java,
8627 javax/swing/DefaultComboBoxModel.java,
8628 javax/swing/DefaultDesktopManager.java,
8629 javax/swing/DefaultListCellRenderer.java,
8630 javax/swing/DefaultSingleSelectionModel.java,
8631 javax/swing/InputMap.java,
8632 javax/swing/JComponent.java,
8633 javax/swing/JMenu.java,
8634 javax/swing/JSlider.java,
8635 javax/swing/KeyStroke.java,
8636 javax/swing/OverlayLayout.java,
8637 javax/swing/ScrollPaneLayout.java,
8638 javax/swing/SizeRequirements.java,
8639 javax/swing/UIManager.java,
8640 javax/swing/ViewportLayout.java,
8641 javax/swing/border/AbstractBorder.java,
8642 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8643 javax/swing/event/EventListenerList.java,
8644 javax/swing/table/AbstractTableModel.java,
8645 javax/swing/table/DefaultTableCellRenderer.java,
8646 javax/swing/table/DefaultTableColumnModel.java,
8647 javax/swing/table/DefaultTableModel.java,
8648 javax/swing/table/TableColumn.java,
8649 javax/swing/text/StyledEditorKit.java,
8650 javax/swing/tree/DefaultMutableTreeNode.java,
8651 javax/swing/tree/DefaultTreeModel.java,
8652 javax/swing/tree/DefaultTreeSelectionModel.java,
8653 javax/swing/tree/TreePath.java,
8654 javax/swing/undo/AbstractUndoableEdit.java,
8655 javax/swing/undo/StateEdit.java,
8656 javax/swing/undo/StateEditable.java,
8657 javax/swing/undo/UndoableEditSupport.java:
8658 Merges from classpath.
8659
8660 2003-03-30 Tom Tromey <tromey@redhat.com>
8661
8662 * java/lang/String.java (data, boffset, count): Documented.
8663 (String(byte[],String)): Reformatted.
8664 (String(byte[])): Likewise.
8665 (lastIndexOf(int)): Likewise.
8666 (lastIndexOf(String)): Likewise.
8667 (substring(int)): Renamed argument to match Classpath.
8668 (String(StringBuffer)): Don't share buffer if it is nearly empty.
8669
8670 * java/lang/String.java: Miscellaneous minor formatting changes
8671 to match Classpath more closely.
8672
8673 2003-03-29 Eric Blake <ebb9@email.byu.edu>
8674 Tom Tromey <tromey@redhat.com>
8675
8676 * java/lang/natString.cc (hashCode): Use cachedHashCode.
8677 (init()): Removed.
8678 (charAt): Put index in exception.
8679 (contentEquals): New method.
8680 Include StringBuffer.h.
8681 * java/lang/String.java (cachedHashCode): New field.
8682 (String()): Follow classpath implementation.
8683 (init()): Removed.
8684 (contentEquals): Declare.
8685 (subSequence): Don't declare IndexOutIfBoundsException in throws
8686 clause.
8687 (matches, replaceFirst, replaceAll, split): New methods from
8688 Classpath.
8689
8690 2003-03-29 Tom Tromey <tromey@redhat.com>
8691
8692 * java/lang/String.java: Reordered to follow Classpath; merged in
8693 javadoc.
8694
8695 * java/text/MessageFormat.java: Removed some whitespace.
8696
8697 * Makefile.in: Rebuilt.
8698 * Makefile.am (awt_java_source_files): Added new files.
8699 * gnu/javax/rmi/PortableServer.java,
8700 gnu/javax/rmi/CORBA/DelegateFactory.java,
8701 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8702 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8703 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8704 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8705 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8706 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8707 javax/rmi/PortableRemoteObject.java,
8708 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8709 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8710 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8711 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8712 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8713 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8714
8715 * java/lang/natClass.cc (newInstance): Put method name in
8716 exception.
8717 (getConstructor): Likewise.
8718 (getDeclaredConstructor): Likewise.
8719 (getPrivateMethod): Likewise.
8720
8721 2003-03-28 Tom Tromey <tromey@redhat.com>
8722
8723 * java/lang/reflect/Proxy.java: New version from Classpath.
8724 * java/lang/Package.java: New version from Classpath.
8725
8726 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
8727
8728 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8729 * configure: Regenerate.
8730
8731 2003-03-28 Michael Koch <konqueror@gmx.de>
8732
8733 * java/io/File.java:
8734 Import needed classes instead of whole packages, merged class
8735 documentation with classpath, moved constants and variables to top of
8736 class.
8737 * java/io/PrintStream.java:
8738 Merged class documentation with classpath, moved constants and
8739 variables to top of class.
8740 * java/io/RandomAccessFile.java
8741 (RandomAccessFile): Merged with classpath.
8742 (read): Merged with classpath).
8743 (read*): Reformatted.
8744
8745 2003-03-28 Michael Koch <konqueror@gmx.de>
8746
8747 * java/io/FileDescriptor.java
8748 (finalize): Throws Throwable, not IOException.
8749 * java/io/ObjectOutputStream.java
8750 (PutField.put): Doesnt throws anything.
8751
8752 2003­03-28 Michael Koch <konqueror@gmx.de>
8753
8754 * java/io/FileOutputStream.java:
8755 Merged class documentation and authors with classpath.
8756 (FileOutputStream): Partly merged with classpath.
8757 (write): Merged with classpath.
8758 (getChannel): Make it synchronized instead of explicit block in this
8759 method.
8760 * java/io/RandomAccessFile.java:
8761 Merged class documentation and authors with classpath.
8762
8763 2003-03-26 Tom Tromey <tromey@redhat.com>
8764
8765 * java/lang/natRuntime.cc (insertSystemProperties): Set
8766 gnu.classpath.home.url.
8767 * Makefile.in: Rebuilt.
8768 * Makefile.am: Define LIBDIR.
8769
8770 2003-03-25 Michael Koch <konqueror@gmx.de>
8771
8772 * java/io/FileInputStream.java
8773 (read): Renamed b to buf and off to offset.
8774 * java/io/FileOutputStream.java
8775 (ch): Documentation added.
8776 (FileOutputStream): Documentation added.
8777 (getFD): Documentation added.
8778 (write): Documentation added.
8779 (close): Documentation added.
8780 (getChannel): Documentation added.
8781
8782 2003-03-24 Michael Koch <konqueror@gmx.de>
8783
8784 * java/io/DataOutputStream.java
8785 (write): Merged from classpath.
8786 * java/io/File.java:
8787 Merged copyrigth with classpath.
8788 * java/io/FileInputStream.java
8789 (getChannel): Made it synchronized instead of using a synchronized
8790 block.
8791 * java/io/FileOutputStream.java: Reformatted.
8792 * java/io/InputStreamReader.java
8793 (InputStreamReader): Renamed enc to encoding_name.
8794 (close): Merged documentation from classpath.
8795 (getEncoding): Merged documentation from classpath.
8796 (ready): Merged documentation from classpath.
8797 (read): Merged documentation from classpath.
8798 * java/io/LineNumberReader.java
8799 (lineNumber): Made it private.
8800 (LineNumberReader): Use Constant instead of a direct value.
8801 * java/io/OutputStreamWriter.java
8802 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8803 documentation from classpath.
8804 (close): Merged documentation from classpath.
8805 (flush): Merged documentation from classpath.
8806 (write): Merged documentation from classpath.
8807 * java/io/PrintStream.java: Reformatted.
8808
8809 2003-03-24 Michael Koch <konqueror@gmx.de>
8810
8811 * javax/swing/text/ComponentView.java
8812 (getComponent): Must be final.
8813 * javax/swing/tree/DefaultTreeCellRenderer.java:
8814 Reformatted.
8815 * javax/swing/undo/StateEditable.java:
8816 Reformatted.
8817
8818 2003-03-24 Michael Koch <konqueror@gmx.de>
8819
8820 * java/rmi/activation/ActivationInstantiator.java:
8821 Reformatted.
8822 * java/rmi/activation/Activator.java:
8823 Reformatted.
8824 * java/rmi/registry/RegistryHandler.java:
8825 Remerged from classpath.
8826
8827 2003-03-24 Michael Koch <konqueror@gmx.de>
8828
8829 * java/util/Date.java:
8830 Fixed documentation starting tag to make javadoc happy.
8831 * java/util/regex/Pattern.java
8832 (Pattern): Implements Serializable.
8833 * java/util/PatternSyntaxException.java
8834 (serialVersionUID): New member variable.
8835
8836 2003-03-24 Michael Koch <koqnueror@gmx.de>
8837
8838 * java/awt/ContainerOrderFocusTraversalPolicy.java
8839 (getFirstComponent): Implemented.
8840 (getLastComponent): Implemented.
8841 (getDefaultComponent): Implemented.
8842 (setImplicitDownCycleTraversal): Fixed implementation.
8843 * java/awt/Robot.java
8844 (Robot): Added documentation.
8845 * java/awt/Toolkit.java
8846 (getFontList): Deprecated.
8847 (getFontMetrics): Deprecated.
8848 (getPrintJob): Added documentation.
8849 (getSystemSelection): Added documentation.
8850 (getLockingKeyState): Added documentation.
8851 (setLockingKeyState): Added documentation.
8852 (createCustomCursor): Added documentation.
8853 (getBestCursorSize): Added documentation.
8854 (getMaximumCursorColors): Added documentation.
8855 (isFrameStateSupported): Added documentation.
8856
8857 2003-03-24 Michael Koch <konqueror@gmx.de>
8858
8859 * java/io/RandomAccessFile.java:
8860 More little merges with classpath. No code changes.
8861
8862 2003-03-24 Michael Koch <konqueror@gmx.de>
8863
8864 * java/net/natInetAddressNoNet.cc:
8865 Include stddef.h.
8866 * java/net/natPlainDatagramSocketImplNoNet.cc:
8867 Fixed inlcude of java/net/DatagramPacket.h.
8868 * java/net/natPlainSocketImplNoNet.cc:
8869 Include some missing classes.
8870
8871 2003-03-24 Michael Koch <konqueror@gmx.de>
8872
8873 * java/awt/dnd/DropTarget.java
8874 (DropTargetAutoScroller): According to the online documentation, this
8875 is protected, but in reality it is public.
8876 * java/awt/dnd/DropTargetContext.java
8877 (TransferableProxy): According to the online documentation, this
8878 is protected, but in reality it is public.
8879
8880 2003-03-24 Michael Koch <konqueror@gmx.de>
8881
8882 * java/io/DataInputStream.java
8883 (): Wrapped documentation line.
8884 (): Fixed @return tag.
8885 * java/io/DataOutputStream.java
8886 (written): Moved to top of class.
8887 (all methods): Merged documentation from classpath.
8888 * java/io/File.java:
8889 Merged copyright year with classpath.
8890 * java/io/FileInputStream.java
8891 (all methods): Merged documentation from classpath.
8892 * java/io/LineNumberReader.java
8893 (getLineNumber): Fixed @return tag.
8894 * java/io/ObjectInputStream.java.
8895 Reformatted.
8896 * java/io/ObjectOutputStream.java:
8897 Reformatted, fixed some @see tags.
8898 * java/io/OutputStreamWriter.java:
8899 Deleted empty line.
8900 * java/io/Writer.java:
8901 Reformatted.
8902
8903 2003-03-24 Michael Koch <konqueror@gmx.de>
8904
8905 * java/awt/Frame.java
8906 (DEFAULT_CURSOR): Fixed @deprecated tag.
8907 (setCursor): Fixed @deprecated tag.
8908
8909 2003-03-24 Michael Koch <konqueror@gmx.de>
8910
8911 * java/beans/beancontext/BeanContextEvent.java:
8912 Reformated.
8913
8914 2003-03-23 Eric Blake <ebb9@email.byu.edu>
8915
8916 * java/lang/natStringBuffer.cc (regionMatches): New function.
8917 * java/lang/String.java (count): Now package-private.
8918 * java/lang/StringBuffer.java: Merged with Classpath.
8919
8920 2003-03-23 Michael Koch <konqueror@gmx.de>
8921
8922 * java/io/BufferedOutputStream.java:
8923 Reformated.
8924 * java/io/BufferedReader.java:
8925 Reformated.
8926 * java/io/ByteArrayOutputStream.java
8927 (size): Fixed @see tag.
8928 * java/io/CharArrayWriter.java
8929 (size): Fixed @see tag.
8930 * java/io/DataInput.java:
8931 Reformated.
8932 * java/io/DataOutput.java:
8933 Reformated.
8934 * java/io/DataOutputStream.java:
8935 Merged copyright years with classpath.
8936 * java/io/Externalizable.java:
8937 Reformated.
8938 * java/io/FileFilter.java:
8939 Reformated.
8940 * java/io/FileInputStream.java:
8941 Merged copyright years with classpath.
8942 * java/io/FileOutputStream.java:
8943 Merged copyright years with classpath.
8944 * java/io/FilePermission.java
8945 (FilePermission): Replaced @XXX with FIXME:.
8946 * java/io/FileWriter.java:
8947 Reformated.
8948 * java/io/FilenameFilter.java:
8949 Reformated.
8950 * java/io/FilterInputStream.java:
8951 Reformated.
8952 * java/io/FilterOutputStream.java:
8953 Reformated.
8954 * java/io/FilterReader.java:
8955 Reformated.
8956 * java/io/FilterWriter.java:
8957 Reformated.
8958 * java/io/LineNumberInputStream.java
8959 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8960 happy.
8961 (getLineNumber): Fixed @return tag.
8962 * java/io/ObjectInput.java:
8963 Reformated.
8964 * java/io/ObjectOutput.java:
8965 Reformated.
8966 * java/io/ObjectStreamClass.java:
8967 Reformated.
8968 * java/io/PrintStream.java:
8969 Merged copyright years with classpath.
8970 * java/io/PushbackReader.java
8971 (PushbackReader): Replaced @code with @param.
8972 * java/io/SerializablePermission.java:
8973 Reformated.
8974 * java/io/StreamTokenizer.java
8975 (resetSyntax): Fixed @see tag.
8976
8977 2003-03-22 Richard Henderson <rth@redhat.com>
8978
8979 * sysdep/ia64/locks.h: Include ia64intrin.h.
8980 (compare_and_swap): Use __sync_bool_compare_and_swap.
8981 (compare_and_swap_release): Expose ar.ccv assignment.
8982
8983 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
8984
8985 * include/posix.h: Add suffix for darwin dynamic libraries.
8986
8987 2003-03-21 Michael Koch <konqueror@gmx.de>
8988
8989 * javax/swing/Action.java
8990 (ACCELERATOR_KEY): New constant.
8991 (ACTION_COMMAND_KEY): Likewise.
8992 (MNEMONIC_KEY): Likewise.
8993 * javax/swing/UnsupportedLookAndFeelException.java
8994 (UnsupportedLookAndFeelException): Must be public.
8995 * javax/swing/WindowConstants.java
8996 (EXIT_ON_CLOSE): New constant.
8997 * javax/swing/text/BadLocationException.java
8998 (offset): New member variable.
8999 (BadLocationException): New implementation, documentation added.
9000 (offsetRequested): New method.
9001 * javax/swing/text/Caret.java:
9002 Reformated.
9003 * javax/swing/text/Document.java:
9004 Reformated.
9005
9006 2003-03-21 Michael Koch <konqueror@gmx.de>
9007
9008 * java/rmi/activation/Activatable.java
9009 (serialVersionUID): New member variable.
9010 * java/rmi/activation/ActivationGroup.java
9011 (serialVersionUID): New member variable.
9012 * java/rmi/activation/ActivationGroupDesc.java
9013 (serialVersionUID): New member variable.
9014 * java/rmi/registry/Registry.java:
9015 Reformated.
9016 (Registry): Deprecated.
9017 * java/rmi/server/LoaderHandler.java
9018 Reformated.
9019 (LoaderHandler): Deprecated.
9020 * java/rmi/server/LogStream.java
9021 Reformated.
9022 (LogStream): Deprecated.
9023 * java/rmi/server/Operation.java
9024 (Operation): Deprecated.
9025 * java/rmi/server/RMIFailureHandler.java:
9026 Reformated.
9027 * java/rmi/server/RMISocketFactory.java:
9028 Reformated.
9029 * java/rmi/server/RemoteCall.java
9030 (RemoteCall): Deprecated.
9031 * java/rmi/server/RemoteStub.java:
9032 Reformated.
9033 * java/rmi/server/Skeleton.java
9034 Reformated.
9035 (Skeleton): Deprecated.
9036
9037 2003-03-21 Michael Koch <konqueror@gmx.de>
9038
9039 * java/io/LineNumberReader.java
9040 (LineNumberReader): Merged documentation with classpath.
9041 (getLineNumber): Likewise.
9042 (setLineNumber): Likewise.
9043 (mark): Likewise.
9044 (reset): Likewise.
9045 (read): Likewise.
9046 (readLine): Likewise.
9047 (skip): Likewise.
9048
9049 2003-03-21 Michael Koch <konqueror@gmx.de>
9050
9051 * java/rmi/RMISecurityManager.java
9052 (checkAccept): Removed.
9053 (checkAccess): Likewise.
9054 (checkAccess): Likewise.
9055 (checkAwtEventQueueAccess): Likewise.
9056 (checkConnect): Likewise.
9057 (checkCreateClassLoader): Likewise.
9058 (checkDelete): Likewise.
9059 (checkExec): Likewise.
9060 (checkExit): Likewise.
9061 (checkLink): Likewise.
9062 (checkListen): Likewise.
9063 (checkMemberAccess): Likewise.
9064 (checkMulticast): Likewise.
9065 (checkPackageAccess): Likewise.
9066 (checkPackageDefinition): Likewise.
9067 (checkPermission): Likewise.
9068 (checkPrintJobAccess): Likewise.
9069 (checkPropertiesAccess): Likewise.
9070 (checkPropertyAccess): Likewise.
9071 (checkRead): Likewise.
9072 (checkSecurityAccess): Likewise.
9073 (checkSetFactory): Likewise.
9074 (checkSystemClipboardAccess): Likewise.
9075 (checkTopLevelWindow): Likewise.
9076 (checkWrite): Likewise.
9077
9078 2003-03-20 Michael Koch <konqueror@gmx.de>
9079
9080 * gnu/java/nio/FileChannelImpl.java
9081 (address): Removed.
9082 (map_address): New member variable.
9083 (length): Make it package private.
9084 (fd): Make it package private.
9085 (buf): Make it package private.
9086 (file_obj): Make it package private.
9087 (FileChannelImpl): New constructor.
9088 (nio_mmap_file): Use RawData instead of long.
9089 (nio_munmap_file): Use RawData instead of long.
9090 (nio_msync): Use RawData instead of long.
9091 (implCloseChannel): New implementation using map_address.
9092 (read): Reformated.
9093 (map): Implemented.
9094 (create_direct_mapped_buffer): Implemented, use RawData, throws
9095 IOException.
9096 (force): Use map_address instead of address.
9097 * gnu/java/nio/MappedByteFileBuffer.java
9098 (address): Removed.
9099 (map_address): New member variable.
9100 (MappedByteFileBuffer): Use map_address instead of address, reformated.
9101 (several methods): Use map_address instead of address, replaced long
9102 with RawData where appropriate.
9103 * gnu/java/nio/natFileChannelImpl.cc
9104 (nio_mmap_file): Replaced long with RawData.
9105 (nio_munmap_file): Replaced long with RawData.
9106 (nio_msync): Replaced long with RawData.
9107 * gnu/java/nio/natMappedByteFileBuffer.cc
9108 (several methods): Replaced long with RawData where appropriate.
9109
9110 2003-03-20 Michael Koch <konqueror@gmx.de>
9111
9112 * java/net/InetAddress.java,
9113 java/net/JarURLConnection.java,
9114 java/net/PlainDatagramSocketImpl.java,
9115 java/net/PlainSocketImpl.java,
9116 java/net/URLConnection.java:
9117 Merged copyright statements with classpath for easier merging.
9118
9119 2003-03-20 Michael Koch <konqueror@gmx.de>
9120
9121 * java/io/FileInputStream.java
9122 (getChannel): New implementation.
9123 * java/io/FileOutputStream.java
9124 (ch): New member variable.
9125 (getChannel): Implemented.
9126 * java/io/RandomAccessFile.java
9127 (RandomAccessFile): Throws FileNotFoundException instead of
9128 IOException.
9129 (getChannel): New method.
9130 (ch): New member variable.
9131
9132 2003-03-20 Michael Koch <konqueror@gmx.de>
9133
9134 * java/io/DataOutputStream.java,
9135 java/io/File.java,
9136 java/io/FileInputStream.java,
9137 java/io/FileOutputStream.java,
9138 java/io/InputStreamReader.java,
9139 java/io/LineNumberReader.java,
9140 java/io/OutputStreamWriter.java,
9141 java/io/PrintStream.java,
9142 java/io/RandomAccessFile.java:
9143 Merged copyright statements with classpath for easier merging.
9144
9145 2003-03-19 Michael Koch <konqueror@gmx.de>
9146
9147 * java/lang/Process.java:
9148 Merged from classpath.
9149
9150 2003-03-19 Michael Koch <konqueror@gmx.de>
9151
9152 * java/io/FileOutputStream.java
9153 (FileOutputStream): New constructor, merged from classpath.
9154 * java/io/FileWriter.java
9155 (FileWriter): New constructor, merged from classpath.
9156
9157 2003-03-18 Michael Koch <konqueror@gmx.de>
9158
9159 * java/awt/ScrollPane.java
9160 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9161 (getViewportSize): Likewise.
9162 (addNotify): Likewise.
9163 (removeNotify): Likewise.
9164 * java/awt/ScrollPaneAdjustable.java
9165 (ScrollPaneAdjustable): No longer extends Scrollbar.
9166 * java/beans/beancontext/BeanContextServices.java:
9167 Reformated.
9168 (getService): Added throws TooManyListenersException;
9169 * java/beans/beancontext/BeanContextServicesSupport.java:
9170 Reformated.
9171
9172 2003-03-18 Michael Koch <konqueror@gmx.de>
9173
9174 * java/io/BufferedOutputStream.java,
9175 java/io/DataInput.java,
9176 java/io/DataInputStream.java,
9177 java/io/DataOutput.java,
9178 java/io/Externalizable.java:
9179 More merges from classpath.
9180
9181 2003-03-18 Michael Koch <konqueror@gmx.de>
9182
9183 * configure.in: Fixed links to platform dependant java.net files.
9184 * configure: Regenerated.
9185 * java/net/natInetAddress.cc,
9186 java/net/natNetworkInterface.cc,
9187 java/net/natPlainDatagramSocketImpl.cc,
9188 java/net/natPlainSocketImpl.cc:
9189 Removed.
9190
9191 2003-03-18 Michael Koch <konqueror@gmx.de>
9192
9193 * configure.in: Create links to architecture dependent files,
9194 introduced PLATFORMNET variable (set to NoNet for newlib usage).
9195 * configure: Regenerated.
9196 * java/net/natInetAddressNoNet.cc,
9197 java/net/natInetAddressPosix.cc,
9198 java/net/natInetAddressWin32.cc,
9199 java/net/natNetworkInterfaceNoNet.cc,
9200 java/net/natNetworkInterfacePosix.cc,
9201 java/net/natNetworkInterfaceWin32.cc,
9202 java/net/natPlainDatagramSocketImplNoNet.cc,
9203 java/net/natPlainDatagramSocketImplPosix.cc,
9204 java/net/natPlainDatagramSocketImplWin32.cc,
9205 java/net/natPlainSocketImplNoNet.cc,
9206 java/net/natPlainSocketImplPosix.cc,
9207 java/net/natPlainSocketImplWin32.cc: New files.
9208
9209 2003-03-18 Michael Koch <konqueror@gmx.de>
9210
9211 * java/io/BufferedReader.java,
9212 java/io/BufferedWriter.java,
9213 java/io/ByteArrayOutputStream.java,
9214 java/io/FileFilter.java,
9215 java/io/FilePermission.java,
9216 java/io/FileReader.java,
9217 java/io/FileWriter.java,
9218 java/io/FilenameFilter.java,
9219 java/io/FilterInputStream.java,
9220 java/io/FilterOutputStream.java,
9221 java/io/FilterReader.java,
9222 java/io/FilterWriter.java,
9223 java/io/ObjectInput.java,
9224 java/io/ObjectInputValidation.java,
9225 java/io/ObjectOutput.java,
9226 java/io/ObjectStreamField.java,
9227 java/io/PipedInputStream.java,
9228 java/io/PipedReader.java,
9229 java/io/PrintWriter.java,
9230 java/io/PushbackReader.java,
9231 java/io/Reader.java,
9232 java/io/SerializablePermission.java,
9233 java/io/StringReader.java,
9234 java/io/Writer.java:
9235 Merged from classpath.
9236
9237 2003-03-17 Michael Koch <konqueror@gmx.de>
9238
9239 * java/awt/ScrollPaneAdjustable.java:
9240 Compile fixes.
9241
9242 2003-03-17 Michael Koch <konqueror@gmx.de>
9243
9244 * java/net/DatagramSocket.java
9245 (connect): Fixed comment.
9246 * java/nio/ByteBuffer.java
9247 (hasArray): Fixed comment.
9248
9249 2003-03-17 Michael Koch <konqueror@gmx.de>
9250
9251 * java/beans/Beans.java:
9252 Explicitely import classes not packages.
9253 * java/beans/FeatureDescriptor.java
9254 (preferred): New member variable.
9255 (isPreferred): New method.
9256 (setPreferred): New method.
9257 * java/beans/PropertyEditorManager.java:
9258 Explicitely import used classes.
9259 * java/beans/beancontext/BeanContextChild.java:
9260 Added line wrapping.
9261 * java/beans/beancontext/BeanContextChildSupport.java:
9262 Reindented.
9263 * java/beans/beancontext/BeanContextEvent.java:
9264 Reindented.
9265
9266 2003-03-17 Michael Koch <konqueror@gmx.de>
9267
9268 * java/awt/Dialog.java
9269 (Dialog): New constructor, changed implementations, added
9270 documentation.
9271 * java/awt/ScrollPaneAdjustable.java
9272 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9273 Serializable.
9274 (serialVersionUID): New member variable.
9275 (sp): New member variable.
9276 (orientation): New member variable.
9277 (value): New member variable.
9278 (minimum): New member variable.
9279 (maximum): New member variable.
9280 (visibleAmount): New member variable.
9281 (unitIncrement): New member variable.
9282 (blockIncrement): New member variable.
9283 (AdjustmentListener): New member variable.
9284 (ScrollPaneAdjustable): New implementation.
9285 (addAdjustmentListener): New method.
9286 (removeAdjustmentListener): New method.
9287 (getAdjustmentListeners): New method.
9288 (getBlockIncrement): New method.
9289 (getMaximum): New method.
9290 (getMinimum): New method.
9291 (getOrientation): New method.
9292 (getUnitIncrement): New method.
9293 (getValue): New method.
9294 (getVisibleAmount): New method.
9295 (setBlockIncrement): New method.
9296 (setMaximum): Implemented.
9297 (setMinimum): Implemented.
9298 (setUnitIncrement): New method.
9299 (setValue): New method.
9300 (setVisibleAmount): Implemented.
9301 (paramString): New stubbed method.
9302 * java/awt/Window.java
9303 (show): Call setVisible().
9304 (hide): Call setVisible().
9305 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9306 and WINDOW_STATE_CHANGED.
9307 (processWindowFocusEvent): New method.
9308 (processWindowStateEvent): New method.
9309 (postEvent): Deprecated.
9310 (applyResourceBundle): Deprecated.
9311 * java/awt/datatransfer/DataFlavor.java
9312 (DataFlavor): Doesn't thow ClassNotFoundException.
9313
9314 2003-03-17 Michael Koch
9315
9316 * javax/print/attribute/Attribute.java,
9317 javax/print/attribute/AttributeSet.java,
9318 javax/print/attribute/PrintRequestAttributeSet.java:
9319 New files.
9320 * Makefile.am
9321 (javax_source_files): Added new files:
9322 javax/print/attribute/Attribute.java
9323 javax/print/attribute/AttributeSet.java
9324 javax/print/attribute/PrintRequestAttributeSet.java
9325 * Makefile.in: Regenerated.
9326
9327 2003-03-17 Michael Koch
9328
9329 * javax/print/attribute/Attribute.java,
9330 javax/print/attribute/AttributeSet.java,
9331 javax/print/attribute/PrintRequestAttributeSet.java:
9332 New files.
9333 * Makefile.am
9334 (awt_java_source_files): Added new files:
9335 javax/print/attribute/Attribute.java
9336 javax/print/attribute/AttributeSet.java
9337 javax/print/attribute/PrintRequestAttributeSet.java
9338 * Makefile.in: Regenerated.
9339
9340 2003-03-16 Tom Tromey <tromey@redhat.com>
9341
9342 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9343 Include platform.h.
9344 * java/lang/natRuntime.cc (insertSystemProperties): Use
9345 _Jv_platform_path_separator.
9346 (nativeGetLibname): Use _Jv_platform_file_separator.
9347 (_load): Use _Jv_platform_onload_names.
9348 (onload_names): New global.
9349 * include/win32.h (_Jv_platform_file_separator): New define.
9350 (_Jv_platform_path_separator): Likewise.
9351 (_Jv_platform_onload_names): Likewise.
9352 (_Jv_platform_ffi_abi): Likewise.
9353 * include/posix.h (_Jv_platform_file_separator): New define.
9354 (_Jv_platform_path_separator): Likewise.
9355 (_Jv_platform_onload_names): Likewise.
9356 (_Jv_platform_ffi_abi): Likewise.
9357
9358 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
9359
9360 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9361
9362 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
9363
9364 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9365 hierarchy loop.
9366 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9367 list to Object,ObjectStreamClass, moved callReadMethod code up into
9368 readObject and added Class argument to all setXxxField calls.
9369 (callReadMethod): Changed Class argument to ObjectStreamClass to be
9370 consistent with ObjectOutputStream and to facilitate caching the
9371 Method in the future.
9372 (setBooleanField): Added Class argument.
9373 (setByteField): Likewise.
9374 (setCharField): Likewise.
9375 (setDoubleField): Likewise.
9376 (setFloatField): Likewise.
9377 (setIntField): Likewise.
9378 (setLongField): Likewise.
9379 (setShortField): Likewise.
9380 (setObjectField): Likewise.
9381 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9382 class hierarchy loop.
9383 (defaultWriteObject): Call writeFields with new argument list.
9384 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9385 list to Object,ObjectStreamClass, moved callWriteMethod up into
9386 writeObject and added Class argument to all getXxxField calls.
9387 (callWriteMethod): Added ObjectStreamClass argument to be able to
9388 get the proper class to call getMethod on (each class can have (or
9389 not have) its own writeObject method).
9390 (getBooleanField): Added Class argument.
9391 (getByteField): Likewise.
9392 (getCharField): Likewise.
9393 (getDoubleField): Likewise.
9394 (getFloatField): Likewise.
9395 (getIntField): Likewise.
9396 (getLongField): Likewise.
9397 (getShortField): Likewise.
9398 (getObjectField): Likewise.
9399 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9400 facilitate caching the Method object in the future.
9401
9402 2003-03-12 Andreas Schwab <schwab@suse.de>
9403
9404 * configure.in: Avoid trailing /. in toolexeclibdir.
9405 * configure: Rebuilt.
9406
9407 2003-03-11 Michael Koch <konqueror@gmx.de>
9408
9409 * gnu/java/nio/ByteBufferImpl.java
9410 (putInt): Use limit() instead of limit.
9411 * gnu/java/nio/CharBufferImpl.java
9412 (slice): Fixed implementation.
9413 (subSequence): Better bounds checking.
9414 * gnu/java/nio/MappedByteFileBuffer.java:
9415 Import all needed classes directly.
9416 * java/nio/ByteBuffer.java
9417 (hashCode): New dummy method.
9418 * java/nio/CharBuffer.java
9419 (array_offset): New member variable.
9420 (hasArray): Fixed documentation.
9421 (arrayOffset): Return array_offset.
9422
9423 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
9424
9425 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9426 setter; made return value of getter const char* instead of char*
9427 * prims.cc: removed all references to _Jv_ThisExecutable().
9428 These are in the platform-specific sections now.
9429 * posix.cc: define platform-specific _Jv_ThisExecutable().
9430 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9431 * win32.cc: define platform-specific _Jv_ThisExecutable()
9432 using GetModuleFilename()
9433 * java/lang/natRuntime.cc: set gnu.gcj.progname property
9434 to argv[0] instead of _Jv_ThisExecutable()
9435
9436 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
9437
9438 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9439 that is set if we are using addr2name.awk instead of addr2line.
9440 (NameFinder): Set usingAddr2name if using addr2name.awk.
9441 (getExternalLabel): New native method to convert a method
9442 name to an external label.
9443 (lookup): Convert name given by addr2line to an external label
9444 before demangling.
9445
9446 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9447 constant representing the prefix attached to method names to
9448 convert them to an external label.
9449 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
9450 using LABEL_PREFIX.
9451
9452 2003-03-10 Tom Tromey <tromey@redhat.com>
9453
9454 * Makefile.in: Rebuilt.
9455 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9456 (JC1FLAGS): Removed -Wno-deprecated.
9457
9458 2003-03-10 Michael Koch <konqueror@gmx.de>
9459
9460 * java/nio/ByteOrder.java
9461 (nativeOrder): Working implementation, added documentation.
9462 (toString): Added documentation.
9463
9464 2003-03-10 Michael Koch <konqueror@gmx.de>
9465
9466 * java/net/DatagramSocket.java,
9467 java/net/MulticastSocket.java,
9468 java/net/Socket.java,
9469 java/net/URL.java,
9470 java/net/URLConnection.java:
9471 Fixed some documentation tags to make javadoc and friends happy.
9472
9473 2003-03-10 Michael Koch <koqnueror@gmx.de>
9474
9475 * java/beans/beancontext/BeanContextServicesSupport.java,
9476 java/beans/beancontext/BeanContextSupport.java: New files.
9477 * Makefile.am
9478 (awt_source_files): Added new files.
9479 * Makefile.in: Regenerated.
9480
9481 2003-03-10 Michael Koch <konqueror@gmx.de>
9482
9483 * java/awt/FocusTraversalPolicy.java
9484 (FocusTraversalPolicy): Documentation added.
9485 (getComponentAfter): Documentation added.
9486 (getComponentBefore): Documentation added.
9487 (getFirstComponent): Documentation added.
9488 (getLastComponent): Documentation added.
9489 (getDefaultComponent): Documentation added.
9490 (getInitialComponent): Documentation added.
9491 * java/awt/ScrollPaneAdjustable.java
9492 (sp): New member variable.
9493 (orientation): New member variable.
9494 (value): New member variable.
9495 (minimum): New member variable.
9496 (maximum): New member variable.
9497 (visibleAmount): New member variable.
9498 (unitIncrement): New member variable.
9499 (blockIncrement): New member variable.
9500 (adjustmentListener): New member variable.
9501 (ScrollPaneAdjustable): Rewrote.
9502 (addAdjustmentListener): New method.
9503 (removeAdjustmentListener): New method.
9504 (getAdjustmentListeners): New method.
9505 (getBlockIncrement): New method.
9506 (getMaximum): New method.
9507 (getMinimum): New method.
9508 (getOrientation): New method.
9509 (getUnitIncrement): New method.
9510 (getValue): New method.
9511 (getVisibleAmount): New method.
9512 (setBlockIncrement): New method.
9513 (setUnitIncrement): New method.
9514 (setMaximum): Implemented.
9515 (setMinimum): Implemented.
9516 (setValue): New method.
9517 (setVisibleAmount): Implemented.
9518 (paramString): New method.
9519 * java/awt/Window.java
9520 (show): Use setVisible(true) instead of super.show().
9521 (hide): Use sevVisible(false) instead of super.hide().
9522 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9523 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9524 (postEvent): Deprecated.
9525 (applyResourceBundle): Deprecated.
9526 (processWindowFocusEvent): New method.
9527 (processWindowStateEvent): New method.
9528 * java/awt/datatransfer/DataFlavor.java: Reindented.
9529 * java/awt/font/TextHitInfo.java
9530 (charIndex): New member variable.
9531 (leadingEdge): New member variable.
9532 (TextHitInfo): New constructor.
9533 (getCharIndex): Implemented.
9534 (isLeadingEdge): Implemented.
9535 (getInsertionIndex): Implemented.
9536 (hashCode): Access charIndex directly.
9537 (equals): Reformated.
9538 (leading): Implemented.
9539 (trailing): Implemented.
9540 (beforeOffset): Implemented.
9541 (afterOffset): Implemented.
9542 (getOtherHit): Implemented.
9543 (getOffsetHit): Implemented.
9544 (toString): Implemented.
9545 * java/awt/image/BufferedImage.java
9546 (BufferedImage): Implements WritableRenderedImage.
9547 (observers): New member variable.
9548 (addTileObserver): New method.
9549 (removeTileObserver): New method.
9550
9551 2003-03-09 Tom Tromey <tromey@redhat.com>
9552
9553 PR libgcj/9934:
9554 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9555 to lseek. Return 0 if we can't compute the value.
9556
9557 2003-03-03 Michael Koch <konqueror@gmx.de>
9558
9559 * java/net/NetworkInterface.java: Merged with classpath.
9560
9561 2003-03-03 Tom Tromey <tromey@redhat.com>
9562
9563 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9564 of bytecode.
9565 (handle_ret_insn): Fail if returning to jsr that appears at end of
9566 bytecode.
9567
9568 2003-03-03 Michael Koch <konqueror@gmx.de>
9569
9570 * Makefile.am
9571 (ordinary_java_source_files):
9572 Added gnu/java/nio/MappedByteFileBuffer.java.
9573 (nat_source_files):
9574 Added gnu/java/nio/natMappedByteFileBuffer.cc.
9575 * Makefile.in: Regenerated.
9576
9577 2003-03-03 Michael Koch <konqueror@gmx.de>
9578
9579 * java/net/DatagramSocket.java
9580 (connect): Merged comment from classpath.
9581 (receive): Merged documentation from classpath.
9582 * java/net/Socket.java
9583 (setSoTimeout): Clarified documentation.
9584 * java/net/URL.java
9585 (getPath): Merged from classpath.
9586 (getUserInfo): Merged from classpath.
9587 (getQuery): Merged from classpath.
9588 * java/net/URLStreamHandler.java
9589 (toExternalForm): Merged from classpath.
9590
9591 2003-03-02 Mark Wielaard <mark@klomp.org>
9592
9593 * java/util/Properties.java (load): Only skip line if the first
9594 character is a comment, whitespaces don't count.
9595
9596 2003-03-02 Michael Koch <konqueror@gmx.de>
9597
9598 * java/net/NetPermission.java:
9599 Merged copyright with classpath.
9600
9601 2003-03-02 Michael Koch <konqueror@gmx.de>
9602
9603 * java/lang/Package.java:
9604 Remerged from classpath.
9605
9606 2003-03-02 Michael Koch <konqueror@gmx.de>
9607
9608 * java/net/HttpURLConnection.java
9609 (HTTP_SERVER_ERROR): Deprecated.
9610 * java/net/MulticastSocket.java
9611 (send): Replaced checkMulticast with appropriate checkPermission call,
9612 deprecated.
9613 * java/net/URLDecoder.java
9614 (decode): Deprecated.
9615 * java/net/URLEncoder.java
9616 (encode): Deprecated.
9617
9618 2003-03-02 Michael Koch <konqueror@gmx.de>
9619
9620 * javax/swing/text/Caret.java
9621 (getMagicCaretPosition): Fixed typo in method name.
9622 * javax/swing/text/DefaultCaret.java
9623 (getMagicCaretPosition): Fixed typo in method name.
9624
9625 2003-03-02 Michael Koch <konqueror@gmx.de>
9626
9627 * java/awt/List.java
9628 (setMultipleSelections): Deprecated.
9629 (delItem): Deprecated.
9630 * java/awt/MenuComponent.java
9631 (getPeer): Deprecated.
9632 * java/awt/ScrollPane.java
9633 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9634 * java/awt/dnd/MouseDragGestureRecognizer.java
9635 (mouseClicked): Added comment.
9636 (mousePressed): Added comment.
9637 (mouseReleased): Added comment.
9638 (mouseEntered): Added comment.
9639 (mouseExited): Added comment.
9640 (mouseDragged): Added comment.
9641 (mouseMoved): Added comment.
9642 * java/awt/event/KeyEvent.java
9643 (KeyEvent): Deprecated.
9644 (setModifiers): Deprecated.
9645
9646 2003-03-02 Michael Koch <konqueror@gmx.de>
9647
9648 * gnu/java/nio/FileChannelImpl.java
9649 (fd): Type FileDescriptor instead of int.
9650 (lengthInternal): Removed.
9651 (FileChannelImpl): Fixed arguments, check type of file object.
9652 (size): Made it native.
9653 (implPosition): New native method.
9654 (implTruncate): New native method.
9655 (position): Implemented.
9656 (truncate): Implemented.
9657 (nio_mmap_file): Changed arguments.
9658 (nio_munmap_file): Changed arguments.
9659 (nio_msync): Changed arguments.
9660 * gnu/java/nio/natFileChannelImpl.cc
9661 (lengthInternal): Removed.
9662 (size): New method.
9663 (implPosition): New method.
9664 (implTruncate): New method.
9665 (nio_mmap_file): Changed arguments.
9666 (nio_munmap_file): Changed arguments.
9667 (nio_msync): Changed arguments.
9668
9669 2003-03-02 Michael Koch <konqueror@gmx.de>
9670
9671 * java/awt/dnd/DropTargetContext.java:
9672 Compile fix: Forgot to commit import.
9673
9674 2003-03-02 Michael Koch <konqueror@gmx.de>
9675
9676 * java/awt/Component.java,
9677 java/awt/ScrollPane.java:
9678 Fixed typos.
9679
9680 2003-03-02 Michael Koch <konqueror@gmx.de>
9681
9682 * java/awt/dnd/DnDEventMulticaster.java: New file.
9683 * java/awt/dnd/DragSource.java
9684 (flavorMap): New member variable.
9685 (dragSourceListener): New member variable.
9686 (dragSourceMotionListener): New member variable.
9687 (getFlavorMap): Implemented.
9688 (createDragGestureRecognizer): Implemented.
9689 (addDragSourceListener): Implemented.
9690 (removeDragSourceListener): Implemented.
9691 (getDragSourceListeners): Implemented.
9692 (addDragSourceMotionListener): Implemented.
9693 (removeDragSourceMotionListener): Implemented.
9694 (getDragSourceMotionListeners): Implemented.
9695 (getListeners): Implemented.
9696 * java/awt/dnd/DragSourceContext.java
9697 (peer): New member variable.
9698 (cursor): New member variable.
9699 (transferable): New member variable.
9700 (trigger): New member variable.
9701 (dragSourceListener): New member variable.
9702 (image): New member variable.
9703 (offset): New member variable.
9704 (DragSourceContext): Implemented.
9705 (getDragSource): Implemented.
9706 (getComponent): Implemented.
9707 (getTrigger): Implemented.
9708 (getSourceActions): Implemented.
9709 (setCursor): Implemented.
9710 (getCursor): Implemented.
9711 (addDragSourceListener): Implemented.
9712 (removeDragSourceListener): Implemented.
9713 (getTransferable): Implemented.
9714 * java/awt/dnd/DropTarget.java
9715 (DropTargetAutoScroller.component): New member variable.
9716 (DropTargetAutoScroller.point): New member variable.
9717 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9718 (DropTargetAutoScroller.updateLocation): Implemented.
9719 (active): Renamed from isActive, defaults to true now.
9720 (component): New member variable.
9721 (flavorMap): New member variable.
9722 (actions): New member variable.
9723 (dropTargetContext): New member variable.
9724 (dropTargetListener): New member variable.
9725 (DropTarget): Implemented.
9726 (getComponent): Implemented.
9727 (setComponent): Implemented.
9728 (setDefaultActions): Implemented.
9729 (getDefaultActions): Implemented.
9730 (setActive): Use active instead of isActive.
9731 (isActive): Use active instead of isActive.
9732 (addDropTargetListener): Implemented.
9733 (removeDropTargetListener): Implemented.
9734 (getFlavorMap): Implemented.
9735 (setFlavorMap): Implemented.
9736 (getDropTargetContext): Implemented.
9737 (createDropTargetContext): Implemented.
9738 (createDropTargetAutoScroller): Implemented.
9739 * java/awt/dnd/DropTargetContext.java
9740 (TransferableProxy.getTransferDataFlavors): Implemented.
9741 (TransferableProxy.isDataFlavorSupported): Implemented.
9742 (TransferableProxy.getTransferData): Implemented.
9743 (dropTarget): New member variable.
9744 (dtcp): New member variable.
9745 (DropTargetContext): New package private constructor.
9746 (getDropTarget): Implemented.
9747 (getComponent): Implemented.
9748 (addNotify): Implemented.
9749 (removeNotify): Implemented.
9750 (getCurrentDataFlavorsAsList): Implemented.
9751 (isDataFlavorSupported): Implemented.
9752 * java/awt/dnd/MouseDragGestureRecognizer.java
9753 (registerListeners): Implemented.
9754 (unregisterListeners): Implemented.
9755 * Makefile.am
9756 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9757 * Makefile.in: Regenerated.
9758
9759 2003-03-02 Michael Koch <konqueror@gmx.de>
9760
9761 * java/awt/Component.java
9762 (eventTypeEnabled): New method.
9763 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9764 * java/awt/Container.java
9765 (changeSupport): New member variable.
9766 (addPropertyChangeListener): New methods.
9767 * java/awt/ContainerOrderFocusTraversalPolicy.java
9768 (ContainerOrderFocusTraversalPolicy): Added comment.
9769 (getComponentAfter): Throw exception, documentation added.
9770 (getComponentBefore): Throw exception, documentation added.
9771 (getFirstComponent): Throw exception, documentation added.
9772 (getLastComponent): Throw exception, documentation added.
9773 (getDefaultComponent): Throw exception, documentation added.
9774 * java/awt/EventQueue.java: Reindented.
9775 * java/awt/FocusTraversalPolicy.java:
9776 (FocusTraversalPolicy): Added comment.
9777 (getComponentAfter): Documentation added.
9778 (getComponentBefore): Documentation added.
9779 (getFirstComponent): Documentation added.
9780 (getLastComponent): Documentation added.
9781 (getDefaultComponent): Documentation added.
9782 (getInitialComponent): Documentation added.
9783 * java/awt/ScrollPane.java
9784 (wheelScrollingEnabled): New member variable.
9785 (ScrollPane): Initialize wheelScollingEnabled.
9786 (eventTypeEnabled): New method.
9787 (isWheelScrollingEnabled): New method.
9788 (setWheelScrollingEnabled): New method.
9789
9790 2003-03-02 Michael Koch <konqueror@gmx.de>
9791
9792 * java/net/DatagramSocket.java
9793 (closed): New member variable.
9794 (close): Use closed variable.
9795 (getInetAddress): No need to call isConnected().
9796 (getPort): No need to call isConnected().
9797 (disconnect): Reset remoteAddress and remotePort, fixed typo.
9798 (isClosed): Reimplemented.
9799
9800 2003-03-02 Michael Koch <konqueror@gmx.de>
9801
9802 * configure.in: Added check for memory mapping of files.
9803 * configure: Regenerated.
9804 * config.h.in: Regenerated.
9805
9806 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
9807
9808 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9809 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9810
9811 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9812
9813 * java/io/File.java (normalizePath): Remove trailing separator
9814 on Windows only if path is not of the form "x:\".
9815
9816 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9817 (java::io::File::attr): Change formatting a bit and use
9818 WIN32_EPOCH_MILLIS instead of magic numbers.
9819 (java::io::File::isAbsolute): Path must have at least 3
9820 characters for a UNC network path.
9821 (java::io::File::init_native): Define.
9822 (java::io::File::performCreate): Likewise.
9823 (java::io::File::performSetReadOnly): Likewise.
9824 (java::io::File::performSetLastModified): Likewise.
9825 (java::io::File::performListRoots): Likewise.
9826
9827 2003-03-01 Tom Tromey <tromey@redhat.com>
9828
9829 * java/lang/natObject.cc: Don't include assert.h.
9830 (heavy_lock_obj_finalization_proc): Use JvAssert.
9831 (remove_all_heavy): Likewise.
9832 (_Jv_MonitorEnter): Likewise.
9833 (_Jv_MonitorExit): Likewise.
9834 (wait): Likewise.
9835
9836 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9837
9838 * java/io/File (getAbsolutePath): Prefix drive specifier on
9839 Windows for paths starting with a '\'.
9840 (toURL): Make URL more consistent with what Sun's JDK returns.
9841
9842 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9843 true only if the path is a UNC network path or it starts with a
9844 drive specifier.
9845
9846 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9847 Be prepared to handle either '/' or '\\' in the file path for
9848 Windows if using the "file" protocol.
9849 Canonicalise the file path if using a relative path in the given
9850 context and the "file" protocol.
9851
9852 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
9853
9854 * java/lang/natWin32Process.cc (startProcess): Double-quote each
9855 program array element passed to CreateProcess.
9856
9857 2003-03-01 Tom Tromey <tromey@redhat.com>
9858
9859 * java/rmi/registry/RegistryHandler.java: Deprecate.
9860
9861 2003-03-01 Tom Tromey <tromey@redhat.com>
9862
9863 * javax/accessibility/AccessibleEditableText.java,
9864 javax/accessibility/AccessibleHyperlink.java: New versions from
9865 Classpath.
9866
9867 * gnu/java/locale/LocaleInformation_af_ZA.java,
9868 gnu/java/locale/LocaleInformation_ar_AE.java,
9869 gnu/java/locale/LocaleInformation_ar_BH.java,
9870 gnu/java/locale/LocaleInformation_ar_DZ.java,
9871 gnu/java/locale/LocaleInformation_ar_EG.java,
9872 gnu/java/locale/LocaleInformation_ar_IN.java,
9873 gnu/java/locale/LocaleInformation_ar_IQ.java,
9874 gnu/java/locale/LocaleInformation_ar_JO.java,
9875 gnu/java/locale/LocaleInformation_ar_KW.java,
9876 gnu/java/locale/LocaleInformation_ar_LB.java,
9877 gnu/java/locale/LocaleInformation_ar_LY.java,
9878 gnu/java/locale/LocaleInformation_ar_MA.java,
9879 gnu/java/locale/LocaleInformation_ar_OM.java,
9880 gnu/java/locale/LocaleInformation_ar_QA.java,
9881 gnu/java/locale/LocaleInformation_ar_SD.java,
9882 gnu/java/locale/LocaleInformation_ar_SY.java,
9883 gnu/java/locale/LocaleInformation_ar_TN.java,
9884 gnu/java/locale/LocaleInformation_ar_YE.java,
9885 gnu/java/locale/LocaleInformation_be_BY.java,
9886 gnu/java/locale/LocaleInformation_bn_IN.java,
9887 gnu/java/locale/LocaleInformation_br_FR.java,
9888 gnu/java/locale/LocaleInformation_bs_BA.java,
9889 gnu/java/locale/LocaleInformation_ca_ES.java,
9890 gnu/java/locale/LocaleInformation_cs_CZ.java,
9891 gnu/java/locale/LocaleInformation_cy_GB.java,
9892 gnu/java/locale/LocaleInformation_da_DK.java,
9893 gnu/java/locale/LocaleInformation_de_AT.java,
9894 gnu/java/locale/LocaleInformation_de_BE.java,
9895 gnu/java/locale/LocaleInformation_de_CH.java,
9896 gnu/java/locale/LocaleInformation_de_DE.java,
9897 gnu/java/locale/LocaleInformation_de_LU.java,
9898 gnu/java/locale/LocaleInformation_el_GR.java,
9899 gnu/java/locale/LocaleInformation_en_AU.java,
9900 gnu/java/locale/LocaleInformation_en_BW.java,
9901 gnu/java/locale/LocaleInformation_en_CA.java,
9902 gnu/java/locale/LocaleInformation_en_DK.java,
9903 gnu/java/locale/LocaleInformation_en_GB.java,
9904 gnu/java/locale/LocaleInformation_en_HK.java,
9905 gnu/java/locale/LocaleInformation_en_IE.java,
9906 gnu/java/locale/LocaleInformation_en_IN.java,
9907 gnu/java/locale/LocaleInformation_en_NZ.java,
9908 gnu/java/locale/LocaleInformation_en_PH.java,
9909 gnu/java/locale/LocaleInformation_en_SG.java,
9910 gnu/java/locale/LocaleInformation_en_US.java,
9911 gnu/java/locale/LocaleInformation_en_ZA.java,
9912 gnu/java/locale/LocaleInformation_en_ZW.java,
9913 gnu/java/locale/LocaleInformation_es_AR.java,
9914 gnu/java/locale/LocaleInformation_es_BO.java,
9915 gnu/java/locale/LocaleInformation_es_CL.java,
9916 gnu/java/locale/LocaleInformation_es_CO.java,
9917 gnu/java/locale/LocaleInformation_es_CR.java,
9918 gnu/java/locale/LocaleInformation_es_DO.java,
9919 gnu/java/locale/LocaleInformation_es_EC.java,
9920 gnu/java/locale/LocaleInformation_es_ES.java,
9921 gnu/java/locale/LocaleInformation_es_GT.java,
9922 gnu/java/locale/LocaleInformation_es_HN.java,
9923 gnu/java/locale/LocaleInformation_es_MX.java,
9924 gnu/java/locale/LocaleInformation_es_NI.java,
9925 gnu/java/locale/LocaleInformation_es_PA.java,
9926 gnu/java/locale/LocaleInformation_es_PE.java,
9927 gnu/java/locale/LocaleInformation_es_PR.java,
9928 gnu/java/locale/LocaleInformation_es_PY.java,
9929 gnu/java/locale/LocaleInformation_es_SV.java,
9930 gnu/java/locale/LocaleInformation_es_US.java,
9931 gnu/java/locale/LocaleInformation_es_UY.java,
9932 gnu/java/locale/LocaleInformation_es_VE.java,
9933 gnu/java/locale/LocaleInformation_et_EE.java,
9934 gnu/java/locale/LocaleInformation_eu_ES.java,
9935 gnu/java/locale/LocaleInformation_fa_IR.java,
9936 gnu/java/locale/LocaleInformation_fi_FI.java,
9937 gnu/java/locale/LocaleInformation_fo_FO.java,
9938 gnu/java/locale/LocaleInformation_fr_BE.java,
9939 gnu/java/locale/LocaleInformation_fr_CA.java,
9940 gnu/java/locale/LocaleInformation_fr_CH.java,
9941 gnu/java/locale/LocaleInformation_fr_FR.java,
9942 gnu/java/locale/LocaleInformation_fr_LU.java,
9943 gnu/java/locale/LocaleInformation_ga_IE.java,
9944 gnu/java/locale/LocaleInformation_gd_GB.java,
9945 gnu/java/locale/LocaleInformation_gl_ES.java,
9946 gnu/java/locale/LocaleInformation_gv_GB.java,
9947 gnu/java/locale/LocaleInformation_he_IL.java,
9948 gnu/java/locale/LocaleInformation_hi_IN.java,
9949 gnu/java/locale/LocaleInformation_hr_HR.java,
9950 gnu/java/locale/LocaleInformation_hu_HU.java,
9951 gnu/java/locale/LocaleInformation_id_ID.java,
9952 gnu/java/locale/LocaleInformation_it_CH.java,
9953 gnu/java/locale/LocaleInformation_it_IT.java,
9954 gnu/java/locale/LocaleInformation_iw_IL.java,
9955 gnu/java/locale/LocaleInformation_ja_JP.java,
9956 gnu/java/locale/LocaleInformation_ka_GE.java,
9957 gnu/java/locale/LocaleInformation_kl_GL.java,
9958 gnu/java/locale/LocaleInformation_ko_KR.java,
9959 gnu/java/locale/LocaleInformation_kw_GB.java,
9960 gnu/java/locale/LocaleInformation_lt_LT.java,
9961 gnu/java/locale/LocaleInformation_lv_LV.java,
9962 gnu/java/locale/LocaleInformation_mi_NZ.java,
9963 gnu/java/locale/LocaleInformation_mk_MK.java,
9964 gnu/java/locale/LocaleInformation_mr_IN.java,
9965 gnu/java/locale/LocaleInformation_mt_MT.java,
9966 gnu/java/locale/LocaleInformation_nl_BE.java,
9967 gnu/java/locale/LocaleInformation_nl_NL.java,
9968 gnu/java/locale/LocaleInformation_nn_NO.java,
9969 gnu/java/locale/LocaleInformation_no_NO.java,
9970 gnu/java/locale/LocaleInformation_oc_FR.java,
9971 gnu/java/locale/LocaleInformation_pl_PL.java,
9972 gnu/java/locale/LocaleInformation_pt_BR.java,
9973 gnu/java/locale/LocaleInformation_pt_PT.java,
9974 gnu/java/locale/LocaleInformation_ro_RO.java,
9975 gnu/java/locale/LocaleInformation_ru_RU.java,
9976 gnu/java/locale/LocaleInformation_ru_UA.java,
9977 gnu/java/locale/LocaleInformation_se_NO.java,
9978 gnu/java/locale/LocaleInformation_sk_SK.java,
9979 gnu/java/locale/LocaleInformation_sl_SI.java,
9980 gnu/java/locale/LocaleInformation_sq_AL.java,
9981 gnu/java/locale/LocaleInformation_sr_YU.java,
9982 gnu/java/locale/LocaleInformation_sv_FI.java,
9983 gnu/java/locale/LocaleInformation_sv_SE.java,
9984 gnu/java/locale/LocaleInformation_ta_IN.java,
9985 gnu/java/locale/LocaleInformation_te_IN.java,
9986 gnu/java/locale/LocaleInformation_tg_TJ.java,
9987 gnu/java/locale/LocaleInformation_tl_PH.java,
9988 gnu/java/locale/LocaleInformation_tr_TR.java,
9989 gnu/java/locale/LocaleInformation_uk_UA.java,
9990 gnu/java/locale/LocaleInformation_ur_PK.java,
9991 gnu/java/locale/LocaleInformation_uz_UZ.java,
9992 gnu/java/locale/LocaleInformation_vi_VN.java,
9993 gnu/java/locale/LocaleInformation_yi_US.java,
9994 gnu/java/locale/LocaleInformation_zh_CN.java,
9995 gnu/java/locale/LocaleInformation_zh_HK.java,
9996 gnu/java/locale/LocaleInformation_zh_SG.java,
9997 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
9998 info; from Classpath.
9999
10000 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
10001 isPaintPending): New methods.
10002 * gnu/awt/xlib/XFramePeer.java (getState, setState,
10003 setMaximizedBounds): New methods.
10004 (beginLayout, endLayout, isPaintPending): Likewise.
10005 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
10006 (requestFocus): Likewise.
10007 (isObscured): Likewise.
10008 (canDetermineObscurity): Likewise.
10009 (coalescePaintEvent): Likewise.
10010 (updateCursorImmediately): Likewise.
10011 (createVolatileImage): Likewise.
10012 (handlesWheelScrolling): Likewise.
10013 (createBuffers): Likewise.
10014 (getBackBuffer): Likewise.
10015 (flip): Likewise.
10016 (destroyBuffers): Likewise.
10017
10018 * Makefile.in: Rebuilt.
10019 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
10020 RobotPeer.java.
10021 * gnu/java/awt/GLightweightPeer.java,
10022 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10023 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10024 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10025 gnu/java/awt/peer/gtk/GtkFramePeer.java,
10026 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10027 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10028 java/awt/dnd/peer/DragSourceContextPeer.java,
10029 java/awt/dnd/peer/DropTargetContextPeer.java,
10030 java/awt/peer/ButtonPeer.java,
10031 java/awt/peer/CheckboxMenuItemPeer.java,
10032 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
10033 java/awt/peer/ComponentPeer.java,
10034 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
10035 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
10036 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
10037 java/awt/peer/MenuBarPeer.java,
10038 java/awt/peer/MenuComponentPeer.java,
10039 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
10040 java/awt/peer/PopupMenuPeer.java,
10041 java/awt/peer/ScrollPanePeer.java,
10042 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
10043 java/awt/peer/TextComponentPeer.java,
10044 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
10045 New versions from Classpath.
10046 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
10047 * java/awt/peer/RobotPeer.java: Likewise.
10048
10049 2003-03-01 Mark Wielaard <mark@klomp.org>
10050
10051 * java/io/ObjectInputStream.java: Reindent.
10052 * java/io/ObjectOutputStream.java: Likewise.
10053
10054 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
10055
10056 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
10057 jvalue for each argument. Simplify.
10058 * testsuite/libjava.jni/calls.c (docall),
10059 testsuite/libjava.jni/calls.java (longpb_f): check for argument
10060 misalignment.
10061
10062 2003-02-28 Mark Wielaard <mark@klomp.org>
10063
10064 * Makefile.am (nat_source_files): Remove
10065 java/io/natObjectOutputStream.cc.
10066 * Makefile.in: Regenerated.
10067 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
10068 * java/io/ObjectStreamField.java (typename): New field.
10069 (ObjectStreamField(String, Class)): Initialize new field.
10070 (ObjectStreamField(String, String)): New Constructor.
10071 (getTypeCode): Use new field.
10072 (getTypeString): Use new field.
10073 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
10074 ObjectStreamExceptions. Remember and reset old BlockDataMode.
10075 Handle reading of Proxy classes. Never drain(), just write
10076 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
10077 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
10078 (flush): Call flush(), not just drain().
10079 (writeBoolean): Always use blockDataOutput.
10080 (writeByte): Likewise.
10081 (writeShort): Likewise.
10082 (writeChar): Likewise.
10083 (writeInt): Likewise.
10084 (writeLong): Likewise.
10085 (writeFloat): Likewise.
10086 (writeDouble): Likewise.
10087 (writeBytes): Likewise.
10088 (putfield (put(String,Object))): Throw IllegalArgumentException if
10089 field cannot be found.
10090 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
10091 (writeArraySizeAndElements): Write byte[] in one go.
10092 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
10093 set BlockDataMode to false.
10094 (annotateProxyClass): New method.
10095 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
10096 (getField): No longer native.
10097 (getMethod): Likewise.
10098 (setBlockDataMode): Always drain() on switch, return old mode.
10099 (static): New static code block.
10100 * java/io/natObjectOutputStream.cc: Removed.
10101 * java/io/ObjectInputStream.java (getField): No longer native.
10102 (getMethod): Likewise.
10103 (readObject): Remember and reset old BlockDataMode. Track whether
10104 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
10105 TC_LONGSTRING.
10106 (defaultReadObject): Set BlockDataMode to false during readFields.
10107 (resolveClass): Create new SecurityManager if necessary.
10108 Use Class.forName() if null ClassLoader found.
10109 (read(byte[],int,int): Copy remaining bytes to data before calling
10110 readNextBlock().
10111 (readFields): Set and reset BlockDataMode on call_read_method.
10112 Catch NoSuchFieldErrors.
10113 (setBlockDataMode): Return old mode.
10114 (static): New static code block.
10115 * java/io/natObjectInputStream.cc (getField): Removed.
10116 (getMethod): Likewise.
10117
10118 2003-02-27 Michael Koch <konqueror@gmx.de>
10119
10120 * java/beans/Beans.java,
10121 java/beans/FeatureDescriptor.java
10122 java/beans/PropertyEditorManager.java:
10123 Reformated to GNU style.
10124
10125 2003-02-25 Michael Koch <konqueror@gmx.de>
10126
10127 * gnu/java/nio/MappedByteFileBuffer.java,
10128 gnu/java/nio/natMappedByteFileBuffer.cc:
10129 New files, both are not compiled yet to get not noncompiling CVS.
10130
10131 2003-02-24 Tom Tromey <tromey@redhat.com>
10132
10133 * java/util/prefs/AbstractPreferences.java (isUserNode):
10134 Implemented.
10135
10136 2003-02-24 Tom Tromey <tromey@redhat.com>
10137
10138 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10139 Deprecate.
10140 * java/lang/Thread.java (resume): Deprecate.
10141 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10142 in @deprecated.
10143
10144 2003-02-23 Tom Tromey <tromey@redhat.com>
10145
10146 * Makefile.in: Rebuilt.
10147 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10148
10149 2003-02-23 Tom Tromey <tromey@redhat.com>
10150
10151 * java/lang/natRuntime.cc (libraries_size, libraries_count,
10152 libraries): Removed.
10153 (add_library): Removed.
10154 (_load): Don't call add_library.
10155 (loadLibraryInternal): Likewise.
10156 (init): Likewise.
10157 (lookup_data): New struct.
10158 (find_symbol): New function.
10159 (_Jv_FindSymbolInExecutable): Use it.
10160
10161 2002-02-21 Anthony Green <green@redhat.com>
10162
10163 * java/lang/Thread.java (Thread): New constructor taking stack
10164 size parameter (ignored for now).
10165 * Many methods: Merged GNU Classpath documentation.
10166
10167 * java/lang/Class.java (finalize): throws a Throwable.
10168
10169 2003-02-21 Mark Wielaard <mark@klomp.org>
10170
10171 * java/util/zip/ZipEntry.java (setComment): Don't check length when
10172 argument is null.
10173
10174 2003-02-21 Mark Wielaard <mark@klomp.org>
10175
10176 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10177 then 65535 chars throw IllegalArgumentException.
10178
10179 2003-02-21 Mark Wielaard <mark@klomp.org>
10180
10181 * java/util/zip/ZipFile.java (finalize): New method.
10182
10183 2003-02-21 Michael Koch <konqueror@gmx.de>
10184
10185 * gnu/java/nio/natSocketChannelImpl.cc:
10186 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10187 <cato@df.lth.se> for pointing to it.
10188
10189 2003-02-20 Raif S. Naffah <raif@fl.net.au>
10190
10191 * java/math/BigInteger.java (euclidInv): Take result array as an
10192 argument. Updated all callers.
10193 (modInverse): Removed unused variables.
10194
10195 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
10196
10197 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10198 config.status.
10199 * configure: Rebuilt.
10200
10201 2003-02-19 Michael Koch <konqueror@gmx.de>
10202
10203 * gnu/java/nio/natSocketChannelImpl.cc:
10204 Added support for platforms without network support.
10205
10206 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10207
10208 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10209 after config.h. Use <> for consistency.
10210 * java/lang/natObject.cc: Likewise.
10211 * java/lang/natRuntime.cc: Likewise.
10212 * java/lang/natSystem.cc: Likewise.
10213 * java/util/natTimeZone.cc: Likewise.
10214 * win32.cc: Likewise.
10215 * include/posix.h (fcntl, socket, connect, close, bind, accept,
10216 listen, write, read): Undef to avoid interference from OS macros.
10217
10218 2003-02-19 Michael Koch <konqueror@gmx.de>
10219
10220 * gnu/java/nio/ByteBufferImpl.java
10221 (ByteBufferImpl): Renamed two variables.
10222 * gnu/java/nio/CharBufferImpl.java
10223 (CharBufferImpl): Renamed two variables.
10224 * gnu/java/nio/DoubleBufferImpl.java
10225 (DoubleBufferImpl): Renamed two variables.
10226 * gnu/java/nio/FloatBufferImpl.java
10227 (FloatBufferImpl): Renamed two variables.
10228 * gnu/java/nio/IntBufferImpl.java
10229 (IntBufferImpl): Renamed two variables.
10230 * gnu/java/nio/LongBufferImpl.java
10231 (LongBufferImpl): Renamed two variables.
10232 * gnu/java/nio/ShortBufferImpl.java
10233 (ShortBufferImpl): Renamed two variables.
10234 * java/nio/CharBuffer.java
10235 (wrap): Fixed arguments to CharBufferImpl constructor.
10236 (hasArray): Only not read-only buffers have backing arrays.
10237 (length): Documentation added.
10238 (subSequence): Documentation added.
10239 * java/nio/DoubleBuffer.java
10240 (hasArray): Only not read-only buffers have backing arrays.
10241 * java/nio/FloatBuffer.java
10242 (hasArray): Only not read-only buffers have backing arrays.
10243 * java/nio/IntBuffer.java
10244 (hasArray): Only not read-only buffers have backing arrays.
10245 * java/nio/LongBuffer.java
10246 (hasArray): Only not read-only buffers have backing arrays.
10247 * java/nio/ShortBuffer.java
10248 (hasArray): Only not read-only buffers have backing arrays.
10249
10250 2003-02-19 Michael Koch <konqueror@gmx.de>
10251
10252 * javax/accessibility/AccessibleContext.java
10253 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10254
10255 2003-02-19 Michael Koch <konqueror@gmx.de>
10256
10257 * java/awt/ScrollPaneAdjustable.java: Reformated.
10258
10259 2003-02-19 Michael Koch <konqueror@gmx.de>
10260
10261 * gnu/awt/j2d/Graphics2DImpl.java
10262 (getFontRenderContext): New method.
10263 (drawGlyphVector): New method.
10264 * java/awt/Graphics2D.java
10265 (getFontRenderContext): New abstract method.
10266 (drawGlyphVector): New abstract method.
10267
10268 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
10269
10270 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10271 if necessary.
10272
10273 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10274 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10275 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10276 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10277 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10278 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10279 (setFont, gtkSetFont): add.
10280 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10281 Propagate font to peer. (setFont): add FIXME comment.
10282
10283 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10284 (gtkTextGetSize): fix height, width computation.
10285
10286 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10287 Make X font name a bit less bogus.
10288
10289 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10290 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10291
10292 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10293 (processAdjustmentEvent): Adjust value.
10294
10295 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10296 logic errors.
10297
10298 * java/awt/Component.java (setVisible, show, hide): Call show and
10299 hide methods in subclasses.
10300 (getPreferredSize): don't set prefSize before we have peer.
10301
10302 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10303 Guess (0,0) if we don't have peer.
10304
10305
10306 2003-02-18 Michael Koch <konqueror@gmx.de>
10307
10308 * java/nio/channels/FileChannel.java
10309 (toString): New implementation, added documentation.
10310 (map): Added exception documentation.
10311 (size): Added exception documentation.
10312 (write): New methods, documentation work.
10313 (read): New methods, documentation work.
10314 (implCloseChannel): Rewrote exception documentation.
10315 (force): Throws IOException, added documentation.
10316 (lock): New methods.
10317 (tryLock): New methods.
10318 (position): New methods.
10319 (transferTo): New method.
10320 (transferFrom): New method.
10321 (truncate): New method.
10322 * java/nio/channels/spi/SelectorProvider.java
10323 (provider): Implemented.
10324 * Makefile.am
10325 (ordinary_java_source_files): Added the following files:
10326 gnu/java/nio/DatagramChannelImpl.java
10327 gnu/java/nio/FileChannelImpl.java
10328 gnu/java/nio/PipeImpl.java
10329 gnu/java/nio/SelectionKeyImpl.java
10330 gnu/java/nio/SelectorImpl.java
10331 gnu/java/nio/SelectorProviderImpl.java
10332 gnu/java/nio/ServerSocketChannelImpl.java
10333 gnu/java/nio/SocketChannelImpl.java
10334 java/nio/channels/FileLock.java
10335 (nat_java_source_files): Added the following files:
10336 gnu/java/nio/natFileChannelImpl.cc
10337 gnu/java/nio/natSelectorImpl.cc
10338 gnu/java/nio/natSocketChannelImpl.cc
10339 * Makefile.in: Regenerated.
10340
10341 2003-02-17 Tom Tromey <tromey@redhat.com>
10342
10343 * java/awt/image/ColorModel.java: Re-merged with Classpath.
10344 * java/awt/image/ImageFilter.java: Likewise.
10345
10346 2003-02-17 Raif S. Naffah <raif@fl.net.au>
10347
10348 * java/math/BigInteger.java (euclidInv): Return array of
10349 `BigInteger's. Changed all callers.
10350
10351 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
10352
10353 * java/util/Properties.java (store): Move the code formerly in
10354 list(), into this method.
10355 (list (PrintStream)): Just call list (PrintWriter) with a
10356 PrintWriter object constructed from the given PrintStream object.
10357 (list (PrintWriter)): Emulate the output of Properties.list()
10358 as found in JDK 1.3/1.4.
10359
10360 2003-02-17 Michael Koch <konqueror@gmx.de>
10361
10362 * java/net/DatagramSocket.java
10363 (connect): Merged with classpath.
10364 (disconnect): Merged documentation with classpath.
10365 (receice): Merged documentation with classpath.
10366 (send): Merged documentation with classpath.
10367
10368 2003-02-17 Michael Koch <konqueror@gmx.de>
10369
10370 * java/awt/dnd/DragSourceContext.java
10371 (addDragSourceListener): Added documentation.
10372 * java/awt/dnd/DragSourceDragEvent.java
10373 (serialVersionUID): New member variable.
10374 (getDropAction): Reformated.
10375 * java/awt/dnd/DragSourceDropEvent.java
10376 (serialVersionUID): New member variable.
10377 (dropSuccess): Renamed from success for serialization issues.
10378 * java/awt/dnd/DragSourceEvent.java
10379 (serialVersionUID): New member variable.
10380 * java/awt/dnd/DropTarget.java
10381 (serialVersionUID): New member variable.
10382 (DropTarget): Implemented, documentation reworked.
10383 (setComponent): Documentation added.
10384 (getComponent): Documentation added.
10385 (setDefaultActions): Documentation added.
10386 (getDefaultActions): Documentation added.
10387 (addDropTargetListener): Documentation added.
10388 * java/awt/dnd/DropTargetContext.java
10389 (DropTargetContext): Documentation added.
10390 (TransferableProxy.TransferableProxy): New method.
10391 (dropComplete): Fixed documentation.
10392 (getTransferable): Fixed documentation.
10393 (createTransferableProxy): Implemented.
10394 * java/awt/dnd/DropTargetDragEvent.java
10395 (DropTargetDragEvent): Documentation added.
10396 (serialVersionUID): New member variable.
10397 (DropTargetDragEvent): Throw exceptions, documentation added.
10398 (acceptDrag): Implemented.
10399 (getCurrentDataFlavors): Implemented.3yy
10400 (getCurrentDataFlavorsAsList): Implemented.
10401 (isDataFlavorSupported): Implemented.
10402 (rejectDrag): Implemented.
10403 * java/awt/dnd/DropTargetDropEvent.java
10404 (DropTargetDropEvent): Documentation added.
10405 (serialVersionUID): New member variable.
10406 (actions): Renamed from srcActions for serialization issues.
10407 (isLocalTx): Renamed from isLocalTx for serialization issues.
10408 (DropTargetDropEvent): New implementation, throw exceptions,
10409 documentation added.
10410 (getCurrentDataFlavors): Implemented.
10411 (getCurrentDataFlavorsAsList): Implemented.
10412 (isDataFlavorSupported): Implemented.
10413 (getSourceActions): Implemented.
10414 (getDropAction): Implemented.
10415 (getTransferable): Implemented.
10416 (acceptDrop): Implemented.
10417 (rejectDrop): Implemented.
10418 * java/awt/dnd/DropTargetListener.java
10419 (drop): Fixed documentation.
10420 * java/awt/dnd/MouseDragGestureRecognizer.java
10421 (MouseDragGestureRecognizer): Documentation added.
10422
10423 2003-02-17 Michael Koch <konqueror@gmx.de>
10424
10425 * java/awt/font/FontRenderContext.java,
10426 java/awt/font/ShapeGraphicAttribute.java,
10427 java/awt/font/MultipleMaster.java,
10428 java/awt/font/TransformAttribute.java,
10429 java/awt/font/GlyphJustificationInfo.java,
10430 java/awt/font/LineBreakMeasurer.java,
10431 java/awt/font/TextMeasurer.java,
10432 java/awt/font/TextLayout.java,
10433 java/awt/font/LineMetrics.java,
10434 java/awt/font/TextAttribute.java,
10435 java/awt/font/GlyphMetrics.java,
10436 java/awt/font/OpenType.java,
10437 java/awt/font/GlyphVector.java,
10438 java/awt/font/GraphicAttribute.java,
10439 java/awt/font/ImageGraphicAttribute.java,
10440 java/awt/font/NumericShaper.java: New files.
10441 * Makefile.am
10442 (awt_java_source_files): Added the following files:
10443 java/awt/font/FontRenderContext.java
10444 java/awt/font/ShapeGraphicAttribute.java
10445 java/awt/font/MultipleMaster.java
10446 java/awt/font/TransformAttribute.java
10447 java/awt/font/GlyphJustificationInfo.java
10448 java/awt/font/LineBreakMeasurer.java
10449 java/awt/font/TextMeasurer.java
10450 java/awt/font/TextLayout.java
10451 java/awt/font/LineMetrics.java
10452 java/awt/font/TextAttribute.java
10453 java/awt/font/GlyphMetrics.java
10454 java/awt/font/OpenType.java
10455 java/awt/font/GlyphVector.java
10456 java/awt/font/GraphicAttribute.java
10457 java/awt/font/ImageGraphicAttribute.java
10458 java/awt/font/NumericShaper.java
10459 * Makefile.in: Regenerated.
10460
10461 2003-02-17 Michael Koch <konqueror@gmx.de>
10462
10463 * java/awt/print/Paper.java
10464 (Paper): Implements Cloneable.
10465 * java/awt/print/PrinterJob.java
10466 (setJobName): Return value must be void.
10467 (print): Throws PrinterException.
10468
10469 2003-02-16 Tom Tromey <tromey@redhat.com>
10470
10471 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10472 variable.
10473
10474 2003-02-15 Michael Koch <konqueror@gmx.de>
10475
10476 * java/awt/datatransfer/DataFlavor.java
10477 (isRepresentationClassByteBuffer): Removed try-catch block.
10478 (isRepresentationClassCharBuffer): Removed try-catch block.
10479 (isRepresentationClassReader): Removed try-catch block.
10480
10481 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10482
10483 * java/nio/charset/Charset.java
10484 (isRegistered): Fixed method args and implementation.
10485 * java/nio/charset/CharsetEncoder.java
10486 (unmappableCharacterAction): New method.
10487
10488 2003-02-15 Michael Koch <konqueror@gmx.de>
10489
10490 * java/awt/CheckboxMenuItem.java
10491 (CheckBoxMenuItem): Dont implement Serializable.
10492 (getListeners): New method,
10493 (getItemListeners): New method.
10494 * java/awt/Choice.java
10495 (getListeners): New method,
10496 (getItemListeners): New method.
10497 * java/awt/Container.java
10498 (getListeners): Added exception documentation.
10499 (setFocusTraversalKeys): Throw exceptions, added documentattion.
10500 (getFocusTraversalKeys): Added documentation.
10501 (areFocusTraversalKeysSet): Added documentation.
10502 (applyComponentOrientation): Added documentation.
10503 * java/awt/ContainerOrderFocusTraversalPolicy.java
10504 (implicitDownCycleTraversal): Renamed from downCycle for
10505 serialization.
10506 (ContainerOrderFocusTraversalPolicy): Added documentation.
10507 (accept): Reformated.
10508 * java/awt/Dialog.java
10509 (Dialog): Dont implement Serializable.
10510 (Dialog): Added documentation.
10511 * java/awt/Font.java
10512 (Font): Dont use absolute class name.
10513 * java/awt/Frame.java
10514 (Frame): Font implement Serializable.
10515 * java/awt/List.java
10516 (getListeners): New method,
10517 (getActionListeners): New method.
10518 (getItemListeners): New method.
10519 * java/awt/Menu.java
10520 (countItems): New deprecated method.
10521 * java/awt/Scrollbar.java
10522 (getListeners): New method,
10523 (getAdjustmentListeners): New method,
10524 * java/awt/TextComponent.java
10525 (getListeners): New method,
10526 (getTextListeners): New method,
10527 * java/awt/TextField.java
10528 (getListeners): New method,
10529 (getActionListeners): New method.
10530 * java/awt/Window.java
10531 (windowFocusListener): New member variable.
10532 (windowStateListener): New member variable.
10533 (getWindowFocusListeners): New method.
10534 (getWindowStateListeners): New method.
10535 (addWindowFocusListener): New method.
10536 (addWindowStateListener): New method.
10537 (removeWindowFocusListener): New method.
10538 (removeWindowStateListener): New method.
10539 * java/awt/datatransfer/DataFlavor.java
10540 (isRepresentationClassByteBuffer): New method.
10541 (isRepresentationClassCharBuffer): New method.
10542 (isRepresentationClassReader): New method.
10543
10544 2003-02-14 Mark Wielaard <mark@klomp.org>
10545
10546 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10547 zero when there is an exponent and the significant is zero.
10548 (divide): Always set scale to newScale even in special ZERO case.
10549
10550 2003-02-14 Tom Tromey <tromey@redhat.com>
10551
10552 * java/lang/System.java (properties): Use Properties.clone.
10553 (setProperties): Likewise.
10554
10555 2003-02-14 Michael Koch <konqueror@gmx.de>
10556
10557 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10558 * gnu/java/nio/ServerSocketChannelImpl.java
10559 (SocketAccept): Removed.
10560 (accept): Commented out use of SocketAccept.
10561
10562 2003-02-13 Tom Tromey <tromey@redhat.com>
10563
10564 * verify.cc (state::seen_subrs): New field.
10565 (state::state): Initialize it.
10566 (state::clean_subrs): New method.
10567 (state::~state): Call it.
10568 (state::copy): Copy subroutine list.
10569 (state::add_subr): New method.
10570 (state::merge): Only register a change if the current subroutine
10571 hasn't yet been noted.
10572
10573 2003-02-13 Mark Wielaard <mark@klomp.org>
10574
10575 * java/io/InputStreamReader.java (getEncoding): Return null when
10576 closed.
10577 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10578
10579 2003-02-13 Mark Wielaard <mark@klomp.org>
10580
10581 * java/util/zip/InflaterInputStream.java (read): Return zero when len
10582 is zero.
10583
10584 2003-02-13 Mark Wielaard <mark@klomp.org>
10585
10586 * java/io/BufferedOutputStream.java (write(int)): Only flush when
10587 next byte cannot be buffered.
10588
10589 2003-02-13 Michael Koch <konqueror@gmx.de>
10590
10591 * java/awt/Label.java
10592 (Label): Don't implement Serializable directly.
10593 (addNotify): Fixed typo in documentation.
10594 * java/awt/List.java
10595 (List): Don't implement Serializable directly.
10596 * java/awt/PopupMenu.java
10597 (PopupMenu): Don't implement Serializable directly.
10598 * java/awt/ScrollPane.java
10599 (ScrollPane): Don't implement Serializable directly.
10600 * java/awt/Scrollbar.java
10601 (Scrollbar): Don't implement Serializable directly.
10602 * java/awt/TextArea.java
10603 (preferredSize): Fixed method arguments.
10604 * java/awt/TextField.java
10605 (TextField): Don't implement Serializable directly.
10606 * java/awt/color/ICC_ColorSpace.java
10607 (fromCIOXYZ): Documentation added.
10608 (getMinValue): Documentation added.
10609 (getMaxValue): Documentation added.
10610 * java/awt/datatransfer/DataFlavor.java
10611 (isMimeTypeEqual): May not be final.
10612 (clone): Throws CloneNotSupportedException.
10613 (getReaderForText): Don't throws UnsupportedEncodingException.
10614
10615 2003-02-13 Michael Koch <konqueror@gmx.de>
10616
10617 * gnu/java/awt/peer/gtk/GdkGraphics.java
10618 (drawString): New stubbed method.
10619 * java/awt/Graphics.java
10620 (drawString): New method.
10621
10622 2003-02-13 Casey Marshall <rsdio@metastatic.org>
10623
10624 PR libgcj/9271:
10625 * java/security/SecureRandom.java (next): Avoid bias in results.
10626
10627 2003-02-13 Michael <konqueror@gmx.de>
10628
10629 * gnu/java/nio/FileChannelImpl.java
10630 (lengthInternal): Must be native.
10631 (size): Check if channel is already closed.
10632 (implCloseChannel): Reformated.
10633 (read): w was unused, removed it.
10634 (read): Removed.
10635 (read): New method.
10636 (write): New method.
10637 (map): Check arguments.
10638 (force): Throws IOException, check if channel is closed.
10639 (transferTo): New method.
10640 (transferFrom): New method.
10641 (lock): New method.
10642 (tryLock): New method.
10643 (position): New method.
10644 (truncate): New method.
10645 (nio_mmap_file): Uncommented.
10646 (nio_munmap_file): Uncommented.
10647 (nio_msync): Uncommented.
10648 * gnu/java/nio/natFileChannelImpl.cc: New file.
10649
10650 2003-02-13 Michael Koch <konqueror@gmx.de>
10651
10652 * java/nio/ByteBuffer.java
10653 (endian): New member variable.
10654 (get): New methods.
10655 (equals): New method.
10656 (compareTo): New method.
10657 (order): New methods.
10658 (compact): New method.
10659 (isDirect): New method.
10660 (slice): New method.
10661 (duplicate): New method.
10662 (asReadOnlyBuffer): New method.
10663 (asCharBuffer): New method.
10664 (asDoubleBuffer): New method.
10665 (asFloatBuffer): New method.
10666 (asIntBuffer): New method.
10667 (asLongBuffer): New method.
10668 (asShortBuffer): New method.
10669 (get*): New methods.
10670 (put*): New methods.
10671 (toString): New method.
10672 * java/nio/CharBuffer.java
10673 (CharBuffer): Implement Comparable instead of Cloneable.
10674 (get): May not be final.
10675 (put): May not be final.
10676
10677 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
10678
10679 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10680 lastIndexOf( ) instead of indexOf( ) to find the colon before
10681 the line number, because Win32 file names might contain a
10682 drive letter and a colon at the start of an absolute path.
10683
10684 2003-02-13 Michael Koch <konqueror@gmx.de>
10685
10686 * gnu/java/nio/natSocketChannelImpl.cc
10687 (SocketConnect): This is not implemented yet.
10688 (SocketBind): This is not implemented yet.
10689
10690 2003-02-13 Michael Koch <konqueror@gmx.de>
10691
10692 * gnu/java/nio/natByteBufferImpl.cc,
10693 gnu/java/nio/natCharBufferImpl.cc,
10694 gnu/java/nio/natDoubleBufferImpl.cc,
10695 gnu/java/nio/natFloatBufferImpl.cc,
10696 gnu/java/nio/natIntBufferImpl.cc,
10697 gnu/java/nio/natLongBufferImpl.cc,
10698 gnu/java/nio/natShortBufferImpl.cc:
10699 Added copyright and license.
10700 * java/nio/DoubleBuffer.java,
10701 java/nio/FloatBuffer.java,
10702 java/nio/IntBuffer.java,
10703 java/nio/LongBuffer.java,
10704 java/nio/ShortBuffer.java
10705 (array): Throw exceptions.
10706 (arrayOffset): Throw exceptions.
10707
10708 2003-02-13 Michael Koch <konqueror@gmx.de>
10709
10710 * gnu/java/util/prefs/FileBasedFactory.java,
10711 gnu/java/util/prefs/MemmoryBasedFactory.java,
10712 gnu/java/util/prefs/MemoryBasedPreferences.java,
10713 gnu/java/util/prefs/NodeReader.java,
10714 gnu/java/util/prefs/NodeWriter.java,
10715 java/util/prefs/AbstractPreferences.java,
10716 java/util/prefs/BackingStoreException.java,
10717 java/util/prefs/InvalidPreferencesFormatException.java,
10718 java/util/prefs/NodeChangeEvent.java,
10719 java/util/prefs/NodeChangeListener.java,
10720 java/util/prefs/PreferenceChangeEvent.java,
10721 java/util/prefs/PreferenceChangeListener.java,
10722 java/util/prefs/Preferences.java,
10723 java/util/prefs/PreferencesFactory.java:
10724 New files, all merged from classpath.
10725 * Makefile.am
10726 (ordinary_java_source_files): Added the following files:
10727 gnu/java/util/prefs/FileBasedFactory.java,
10728 gnu/java/util/prefs/MemmoryBasedFactory.java,
10729 gnu/java/util/prefs/MemoryBasedPreferences.java,
10730 gnu/java/util/prefs/NodeReader.java,
10731 gnu/java/util/prefs/NodeWriter.java,
10732 (core_java_source_files): Added the following files:
10733 java/util/prefs/AbstractPreferences.java,
10734 java/util/prefs/BackingStoreException.java,
10735 java/util/prefs/InvalidPreferencesFormatException.java,
10736 java/util/prefs/NodeChangeEvent.java,
10737 java/util/prefs/NodeChangeListener.java,
10738 java/util/prefs/PreferenceChangeEvent.java,
10739 java/util/prefs/PreferenceChangeListener.java,
10740 java/util/prefs/Preferences.java,
10741 java/util/prefs/PreferencesFactory.java
10742 * Makefile.in: Regenerated.
10743
10744 2003-02-13 Michael Koch <konqueror@gmx.de>
10745
10746 * java/net/NetPermission.java
10747 (NetPermission): Make doucmentation match the method declaration.
10748 * java/net/NetworkInterface.java
10749 (equals): Reformated for GNU coding style.
10750 * java/net/ServerSocket.java: Merged with classpath.
10751 * java/net/Socket.java: Partly merged with classpath (Added some @since).
10752 * java/net/SocketImpl.java
10753 (localPort): Merged with classpath (initialize with -1).
10754 * java/net/SocketPermission.java: Merged with classpath (reindented).
10755 * java/net/URLDecoder.java: Merged with classpath (reindented).
10756
10757 2003-02-13 Michael Koch <konqueror@gmx.de>
10758
10759 * java/awt/GridBagConstraints.java
10760 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10761 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10762 * java/awt/KeyboardFocusManager.java
10763 (setGlobalCurrentFocusCycleRoot): Must be public.
10764 * java/awt/MenuComponent.java
10765 (MenuComponent): Must be public.
10766 * java/awt/Toolkit.java:
10767 Added some empty lines to make documentation more readable.
10768 (getFontPeer): Added @deprecated.
10769 (getColorModel): Added exception documentation.
10770 (getProperty): Fixed documentation.
10771
10772 2003-02-12 Jeff Sturm <jsturm@one-point.com>
10773
10774 * configure.host (alpha*-*): Default to -mieee.
10775 * configure.in (IEEESPEC): New.
10776 * libgcj.spec.in (jc1): Add IEEESPEC.
10777 * configure: Rebuild.
10778
10779 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10780
10781 * include/win32.h: Include ws2tcpip.h instead of
10782 winsock.h to obtain definition of the socklen_t type.
10783 Remove IP_TOS definition - not needed with ws2tcpip.h
10784 (_Jv_connect): Correct slight formatting error.
10785
10786 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10787
10788 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10789 size of the arguments for a JNI function. For Win32,
10790 modify to search for all forms of possible exported
10791 names of an stdcall JNI function.
10792 (_Jv_JNIMethod::call): Modify to calculate the size
10793 of the arguments passed to a JNI function and pass
10794 it to _Jv_LookupJNIMethod.
10795
10796 2003-02-12 Michael Koch <konqueror@gmx.de>
10797
10798 * java/nio/channels/Channels.java: New file.
10799 * Makefile.am
10800 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10801 * Makefile.in: Regenerated.
10802
10803 2003-02-12 Michael Koch <konqueror@gmx.de>
10804
10805 * java/nio/ByteBuffer.java
10806 (allocate): Implemented.
10807 (wrap): Implemented.
10808 * java/nio/CharBuffer.java:
10809 Some documentation added and reworked.
10810 (endian): Removed.
10811 (allocate): Implemented.
10812 (wrap): Implemented.
10813 (array): Throw exceptions.
10814 (arrayOffset): Throw exceptions.
10815 (toString): Implemented.
10816 (length): Implemented.
10817 (put): Implemented.
10818 (charAt): Implemented.
10819
10820 2003-02-11 John Leuner <jewel@debian.org>
10821
10822 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
10823 reads from end of file.
10824
10825 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
10826
10827 * java/io/natFileDescriptorWin32.cc
10828 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10829 returns with Win32 error code ERROR_BROKEN_PIPE.
10830
10831 2003-02-11 Michael Koch <konqueror@gmx.de>
10832
10833 * Makefile.in
10834 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10835
10836 2003-02-11 Michael Koch <konqueror@gmx.de>
10837
10838 * gnu/java/nio/ByteBufferImpl.java:
10839 Reformated and removed some code.
10840 (backing_buffer): Removed.
10841 (array_offset): Removed.
10842 (ro): Renamed to readOnly.
10843 (ByteBufferImpl): Use parent constructor, initialize readOnly.
10844 * gnu/java/nio/CharBufferImpl.java:
10845 Reformated and removed some code.
10846 (array_offset): Removed.
10847 (ro): Renamed to readOnly.
10848 (CharBufferImpl): Use parent constructor, initialize readOnly.
10849 (inc_pos): Removed.
10850 (order): New method.
10851 * gnu/java/nio/DoubleBufferImpl.java:
10852 Reformated and removed some code.
10853 (array_offset): Removed.
10854 (ro): Renamed to readOnly.
10855 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10856 (inc_pos): Removed.
10857 (order): New method.
10858 * gnu/java/nio/FloatBufferImpl.java:
10859 Reformated and removed some code.
10860 (array_offset): Removed.
10861 (ro): Renamed to readOnly.
10862 (FloatBufferImpl): Use parent constructor, initialize readOnly.
10863 (inc_pos): Removed.
10864 (order): New method.
10865 * gnu/java/nio/IntBufferImpl.java:
10866 Reformated and removed some code.
10867 (array_offset): Removed.
10868 (ro): Renamed to readOnly.
10869 (IntBufferImpl): Use parent constructor, initialize readOnly.
10870 (inc_pos): Removed.
10871 (order): New method.
10872 * gnu/java/nio/LongBufferImpl.java:
10873 Reformated and removed some code.
10874 (array_offset): Removed.
10875 (ro): Renamed to readOnly.
10876 (LongBufferImpl): Use parent constructor, initialize readOnly.
10877 (inc_pos): Removed.
10878 (order): New method.
10879 * gnu/java/nio/ShortBufferImpl.java:
10880 Reformated and removed some code.
10881 (array_offset): Removed.
10882 (ro): Renamed to readOnly.
10883 (ShortBufferImpl): Use parent constructor, initialize readOnly.
10884 (inc_pos): Removed.
10885 (order): New method.
10886 * Makefile.am
10887 (ordinary_java_source_files): Added the following files:
10888 gnu/java/nio/ByteBufferImpl.java
10889 gnu/java/nio/CharBufferImpl.java
10890 gnu/java/nio/DoubleBufferImpl.java
10891 gnu/java/nio/FloatBufferImpl.java
10892 gnu/java/nio/IntBufferImpl.java
10893 gnu/java/nio/LongBufferImpl.java
10894 gnu/java/nio/ShortBufferImpl.java
10895 java/nio/DoubleBuffer.java
10896 java/nio/FloatBuffer.java
10897 java/nio/IntBuffer.java
10898 java/nio/LongBuffer.java
10899 java/nio/ShortBuffer.java
10900 (nat_source_files): Added the following files:
10901 gnu/java/nio/natByteBufferImpl.cc
10902 gnu/java/nio/natCharBufferImpl.cc
10903 gnu/java/nio/natDoubleBufferImpl.cc
10904 gnu/java/nio/natFloatBufferImpl.cc
10905 gnu/java/nio/natIntBufferImpl.cc
10906 gnu/java/nio/natLongBufferImpl.cc
10907 gnu/java/nio/natShortBufferImpl.cc
10908 * Makefile.in: Regenerated.
10909
10910 2003-02-11 Michael Koch <konqueror@gmx.de>
10911
10912 * gnu/java/nio/natCharBufferImpl.cc
10913 (nio_cast): Removed.
10914 (nio_put_*): Removed.
10915 (nio_get_*): Removed.
10916 * gnu/java/nio/natDoubleBufferImpl.cc
10917 (nio_cast): Removed.
10918 (nio_put_*): Removed.
10919 (nio_get_*): Removed.
10920 * gnu/java/nio/natFloatBufferImpl.cc
10921 (nio_cast): Removed.
10922 (nio_put_*): Removed.
10923 (nio_get_*): Removed.
10924 * gnu/java/nio/natIntBufferImpl.cc
10925 (nio_cast): Removed.
10926 (nio_put_*): Removed.
10927 (nio_get_*): Removed.
10928 * gnu/java/nio/natLongBufferImpl.cc
10929 (nio_cast): Removed.
10930 (nio_put_*): Removed.
10931 (nio_get_*): Removed.
10932 * gnu/java/nio/natShortBufferImpl.cc
10933 (nio_cast): Removed.
10934 (nio_put_*): Removed.
10935 (nio_get_*): Removed.
10936 * gnu/java/nio/SelectorProviderImpl.java
10937 (openDatagramChannel): Throws IOException.
10938 (openPipe): Throws IOException.
10939 (openSelector): Throws IOException.
10940 (openServerSocketChannel): Throws IOException.
10941 (openSocketChannel): Throws IOException.
10942 * gnu/java/nio/ServerSocketChannelImpl.java
10943 (ServerSocketChannelImpl): Throws IOException.
10944 (implCloseSelectableChannel): Throws IOException.
10945 (implConfigureBlocking): Throws IOException.
10946 * java/nio/ByteBuffer.java
10947 (readOnly): Removed.
10948 (hasArray): Use isReadOnly() instead of readOnly.
10949 (array): Use isReadOnly() instead of readOnly.
10950 (arrayOffset): Use isReadOnly() instead of readOnly.
10951 * java/nio/CharBuffer.java
10952 (CharBuffer): Implements Cloneable and CharSequence.
10953
10954 2003-02-11 Michael Koch <konqueror@gmx.de>
10955
10956 * java/nio/DoubleBuffer.java
10957 (DoubleBuffer): Implements Comparable.
10958 (endian): Removed.
10959 (array_offset): New member variable.
10960 (DoubleBuffer): New constuctor.
10961 (get): May not be final.
10962 (put): May not be final.
10963 (arrayOffset): Implemented.
10964 (order): Made abstract.
10965 (order): Removed.
10966 (as*Buffer): Removed.
10967 (get*): Removed.
10968 (put*): Removed.
10969 * java/nio/FloatBuffer.java
10970 (FloatBuffer): Implements Comparable.
10971 (endian): Removed.
10972 (array_offset): New member variable.
10973 (FloatBuffer): New constuctor.
10974 (get): May not be final.
10975 (put): May not be final.
10976 (arrayOffset): Implemented.
10977 (order): Made abstract.
10978 (order): Removed.
10979 (as*Buffer): Removed.
10980 (get*): Removed.
10981 (put*): Removed.
10982 * java/nio/IntBuffer.java
10983 (IntBuffer): Implements Comparable.
10984 (endian): Removed.
10985 (array_offset): New member variable.
10986 (IntBuffer): New constuctor.
10987 (get): May not be final.
10988 (put): May not be final.
10989 (arrayOffset): Implemented.
10990 (order): Made abstract.
10991 (order): Removed.
10992 (as*Buffer): Removed.
10993 (get*): Removed.
10994 (put*): Removed.
10995 * java/nio/LongBuffer.java
10996 (LongBuffer): Implements Comparable.
10997 (endian): Removed.
10998 (array_offset): New member variable.
10999 (LongBuffer): New constuctor.
11000 (get): May not be final.
11001 (put): May not be final.
11002 (arrayOffset): Implemented.
11003 (order): Made abstract.
11004 (order): Removed.
11005 (as*Buffer): Removed.
11006 (get*): Removed.
11007 (put*): Removed.
11008 * java/nio/ShortBuffer.java
11009 (ShortBuffer): Implements Comparable.
11010 (endian): Removed.
11011 (array_offset): New member variable.
11012 (ShortBuffer): New constuctor.
11013 (get): May not be final.
11014 (put): May not be final.
11015 (arrayOffset): Implemented.
11016 (order): Made abstract.
11017 (order): Removed.
11018 (as*Buffer): Removed.
11019 (get*): Removed.
11020 (put*): Removed.
11021
11022 2003-02-11 Michael Koch <konqueror@gmx.de>
11023
11024 * java/nio/channels/SelectionKey.java
11025 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
11026 values.
11027
11028 2003-02-11 Michael Koch <konqueror@gmx.de>
11029
11030 * java/nio/channels/DatagramChannel.java
11031 (write): Throws IOException.
11032 (connect): Throws IOException.
11033 (disconnect): Throws IOException.
11034 (read): Throws IOException.
11035 (receive): Throws IOException.
11036 (send): Throws IOException.
11037 * java/nio/channels/Pipe.java
11038 (open): Throws IOException.
11039 * java/nio/channels/SelectableChannel.java
11040 (configureBlocking): Throws IOException.
11041 * java/nio/channels/ServerSocketChannel.java
11042 (accept): Throws IOException.
11043 * java/nio/channels/SocketChannel.java
11044 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
11045 GatheringByteChannel.
11046 (read): Throws IOException.
11047 (write): Throws IOException.
11048 (finishConnect): Throws IOException.
11049 * java/nio/channels/spi/AbstractInterruptibleChannel.java
11050 (end): Throws AsynchronousCloseException.
11051 * java/nio/channels/spi/AbstractSelectableChannel.java
11052 (configureBlocking): Throws IOException.
11053 (implCloseChannel): Throws IOException.
11054 (implCloseSelectableChannel): Throws IOException.
11055 (implConfigureBlocking): Throws IOException.
11056 * java/nio/channels/spi/SelectorProvider.java
11057 (openDatagramChannel): Throws IOException.
11058 (openPipe): Throws IOException.
11059 (openSelector): Throws IOException.
11060 (openServerSocketChannel): Throws IOException.
11061 (openSocketChannel): Throws IOException.
11062
11063 2003-02-11 Michael Koch <konqueror@gmx.de>
11064
11065 * gnu/java/nio/FileLockImpl.java,
11066 java/nio/channels/FileLock.java: New files.
11067
11068 2003-02-11 Michael Koch <konqueror@gmx.de>
11069
11070 * java/nio/charset/IllegalCharsetNameException.java
11071 (serialVersionUID): New member variable.
11072 (charsetName): New member variable.
11073 (IllegalCharsetException): New implementation.
11074 (getCharsetName): New implementation.
11075 * java/nio/charset/UnsupportedCharsetException.java
11076 (serialVersionUID): New member variable.
11077 (charsetName): New member variable.
11078 (UnsupportedCharsetException): New implementation.
11079 (getCharsetName): New implementation.
11080
11081 2003-02-10 Tom Tromey <tromey@redhat.com>
11082
11083 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
11084 (ex): Renamed from sqlException.
11085
11086 2003-02-10 Raif S. Naffah <raif@fl.net.au>
11087
11088 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
11089 method used to ensure seeding has occurred and that a specific
11090 seed can be set and used.
11091
11092 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
11093
11094 * java/lang/Win32Process.java (destroy): Declare as native.
11095 (hasExited): New native method.
11096 (exitValue): Define.
11097 (getErrorStream): Likewise.
11098 (getInputStream): Likewise.
11099 (getOutputStream): Likewise.
11100 (waitFor): Declare as native.
11101 (startProcess): New native method.
11102 (cleanup): Likewise.
11103 (ConcreteProcess): Define.
11104 (outputStream, inputStream, errorStream): New members.
11105 (procHandle, exitCode): Likewise.
11106
11107 * java/lang/natWin32Process.cc
11108 (java::lang::ConcreteProcess::cleanup): Define.
11109 (java::lang::ConcreteProcess::destroy): Likewise.
11110 (java::lang::ConcreteProcess::hasExited): Likewise.
11111 (java::lang::ConcreteProcess::waitFor): Likewise.
11112 (new_string): Likewise.
11113 (java::lang::ConcreteProcess::startProcess): Likewise.
11114
11115 2003-02-10 Raif S. Naffah <raif@fl.net.au>
11116
11117 * java/math/BigInteger.java:
11118 Updated notice to include years 2002 and 3.
11119 Added 2 private (int) arrays with values from the HAC (Handbook of
11120 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11121 and t[] that contains nbr. of tests --used in isProbablePrime().
11122
11123 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11124
11125 * java/math/BigInteger.java (make(int[],int), add(int,int),
11126 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11127 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11128 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11129 make(long).
11130
11131 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11132 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11133 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11134 BIs and returns void.
11135 (modInverse(BI)): Use new signatures of euclidInv().
11136
11137 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11138 static small primes instead of remainder().
11139 Use pre-computed max nbr of trials based on bitlength of BI to test.
11140 Use pre-computed small primes for the trial tests instead of random
11141 numbers.
11142
11143 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11144 not used.
11145
11146 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11147 invoacation of MPN.chars_per_word(). not used.
11148
11149 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11150 local var and used where needed.
11151
11152 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11153 Combined declaration with initialisation of locals.
11154 Removed unused var.
11155
11156 * java/math/BigInteger.java: Style changes
11157 (pow(int)): Removed 'else' keyword.
11158 (toString(int)): idem.
11159 (doubleValue()): idem.
11160 (bitLength()): idem.
11161 (equals(Object)): Use static methods name in same class w/o prepending
11162 class name.
11163 (doubleValue()): idem.
11164 (setNegative(BI)): idem.
11165 (negate()): idem.
11166 (and(BI,int)): idem.
11167 (and(BI)): idem.
11168 (gcd(BI)): idem.
11169 (byteArrayToIntArray()): Removed casting to (int). this is
11170 std. behaviour.
11171 (canonicalize()): idem.
11172 (alloc(int)): Always instantiate a new BI.
11173
11174 2003-02-10 Tom Tromey <tromey@redhat.com>
11175
11176 * java/sql/Timestamp.java (compareTo(Object)): New method.
11177 (compareTo(Timestamp)): Likewise.
11178 (serialVersionUID): Updated.
11179
11180 2003-02-07 Mark Wielaard <mark@klomp.org>
11181
11182 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11183 when verify is true.
11184 (JarFile(File, boolean)): Likewise.
11185 (manifestRead): Set manifestRead field correctly.
11186
11187 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11188
11189 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11190 tests; see patch #1016 on Savannah.
11191
11192 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11193
11194 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11195 (toString): do not return Strings starting with . and - erroneously.
11196 Improves Mauve results to 12 of 600 instead of 16 of 338 on
11197 DiagBigDecimal.
11198
11199 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11200
11201 * java/beans/PropertyDescriptor.java
11202 (PropertyDescriptor(String, Class)): Sanity check getter and setter
11203 methods.
11204 (PropertyDescriptor(String, Class, String, String)): Likewise.
11205 (PropertyDescriptor(String, Method, Method): Factor out getter and
11206 setter method sanity checks into new method.
11207 (findMethods): Don't do parameter sanity checking of get method here.
11208 (checkMethods): New method.
11209
11210 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11211
11212 * java/beans/PropertyDescriptor.java: Reformat.
11213
11214 2003-02-04 Tom Tromey <tromey@redhat.com>
11215
11216 * java/io/PipedOutputStream.java (flush): Declare as throwing
11217 IOException.
11218 (close): Likewise.
11219 * java/io/PipedWriter.java (close): Declare as throwing
11220 IOException.
11221 * java/io/StringWriter.java (close): Declare as throwing
11222 IOException.
11223
11224 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
11225
11226 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11227 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11228 could also have been exported as "JNI_OnLoad@8" (MinGW) or
11229 "_JNI_OnLoad@8" (MSVC).
11230
11231 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
11232
11233 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11234 convention on Win32 to invoke native JNI methods.
11235
11236 2003-02-03 Andrew Haley <aph@redhat.com>
11237
11238 * configure.host (x86_64): Enable interpreter.
11239
11240 2003-02-03 Andrew Haley <aph@redhat.com>
11241
11242 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11243 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11244 * configure.in (BACKTRACESPEC): New.
11245 * configure: Regenerate.
11246
11247 2003-02-02 Tom Tromey <tromey@redhat.com>
11248
11249 * configure: Rebuilt.
11250 * configure.in (TOOLKIT) [xlib]: Set correctly.
11251
11252 * Makefile.in: Rebuilt.
11253 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11254 libstdc++.
11255
11256 2003-01-31 Mark WIelaard <mark@klomp.org>
11257
11258 * Makefile.in: Rebuilt.
11259 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11260
11261 2003-01-31 Tom Tromey <tromey@redhat.com>
11262
11263 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11264 cast to element type.
11265 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11266 (_Jv_JNI_GetObjectArrayElement): Likewise.
11267
11268 * Makefile.in: Rebuilt.
11269 * Makefile.am (cond_x_ltlibrary): Renamed library to
11270 lib-gnu-awt-xlib.la.
11271 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11272 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11273 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11274 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11275 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11276 (lib_gnu_awt_xlib_la_LINK): Likewise.
11277 (install-exec-hook): Removed.
11278 (lib-gnu-awt-xlib.la): Renamed.
11279
11280 2003-01-31 Tom Tromey <tromey@redhat.com>
11281
11282 * aclocal.m4, configure, include/config.h.in: Rebuilt.
11283 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11284 aclocal.m4 and lost in some merge.
11285
11286 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11287 Don't try to find graphics configuration.
11288 * java/awt/Toolkit.java (default_toolkit_name): Use new
11289 Configuration entry.
11290 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11291 New global.
11292 * configure: Rebuilt.
11293 * configure.in (TOOLKIT): New subst.
11294 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11295 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
11296 directory. Make output directories for .c files.
11297 * Makefile.in: Rebuilt.
11298 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11299 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11300 (all_java_source_files): Added new sources.
11301 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11302 (gtk_c_files): New macro.
11303 (gtk_c_source_files): New macro.
11304 (cond_gtk_ltlibrary): New macro.
11305 ($(gtk_c_files)): New target.
11306 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11307 (gtk_awt_peer_sources): New macro.
11308 (gtk_c_headers): New macro.
11309 ($(gtk_c_headers)): New target.
11310 (ACLOCAL_AMFLAGS): New macro.
11311 * gtk.m4, glib.m4, libart.m4: New files.
11312 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11313 gnu/java/awt/peer/gtk/GdkGraphics.java,
11314 gnu/java/awt/peer/gtk/GtkArg.java,
11315 gnu/java/awt/peer/gtk/GtkArgList.java,
11316 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11317 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11318 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11319 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11320 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11321 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11322 gnu/java/awt/peer/gtk/GtkClipboard.java,
11323 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11324 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11325 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11326 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11327 gnu/java/awt/peer/gtk/GtkFontPeer.java,
11328 gnu/java/awt/peer/gtk/GtkFramePeer.java,
11329 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11330 gnu/java/awt/peer/gtk/GtkImage.java,
11331 gnu/java/awt/peer/gtk/GtkImagePainter.java,
11332 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11333 gnu/java/awt/peer/gtk/GtkListPeer.java,
11334 gnu/java/awt/peer/gtk/GtkMainThread.java,
11335 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11336 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11337 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11338 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11339 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11340 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11341 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11342 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11343 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11344 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11345 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11346 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11347 gnu/java/awt/peer/gtk/GtkToolkit.java,
11348 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11349 gnu/java/awt/peer/gtk/TestAWT.java,
11350 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11351 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11352 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11353 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11354 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11355 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11356 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11357 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11358 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11359 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11360 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11361 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11362 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11363 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11364 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11365 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11366 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11367 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11368 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11369 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11370 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11371 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11372 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11373 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11374 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11375 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11376 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11377 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11378 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11379 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11380 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11381 jni/classpath/native_state.c, jni/classpath/native_state.h,
11382 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11383
11384 2003-01-31 Julian Dolby <dolby@us.ibm.com>
11385
11386 * java/util/Properties.java (load): Ignore backslash before EOF.
11387
11388 2003-01-30 Jeff Sturm <jsturm@one-point.com>
11389
11390 * java/lang/natClass.cc (initializeClass): Check tables when
11391 (state == JV_STATE_IN_PROGRESS).
11392 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11393 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11394 interpreted classes.
11395 (linkClass0): Use _Jv_WaitForState.
11396
11397 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
11398
11399 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11400 object when finished.
11401
11402 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
11403
11404 * libjava/configure.host: Disable can_unwind_signal on darwin.
11405
11406 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
11407
11408 Fixes PR java/9254:
11409 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11410 additionally containing id of the owner thread as well as
11411 the number of nested times the thread has acquired the mutex.
11412 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11413 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11414 (_Jv_MutexUnlock): Check if really the owner thread, reset
11415 owner thread id to 0 before leaving, if leaving for the last
11416 time.
11417 (_Jv_MutexLock): Set owner thread id in the mutex and increment
11418 refcount.
11419 (_Jv_ThreadYield): Yield using a call to Sleep(0).
11420 * win32-threads.cc (_Jv_CondWait): Check if really owner of
11421 the passed mutex.
11422 Pass handle of the broadcast event, instead of a pointer to it
11423 in Win32 ResetEvent( ) call.
11424 Remove incorrect return values.
11425 (_Jv_CondDestroy): Close both event handles and delete
11426 critical section.
11427 (_Jv_CondNotify): Check if really the owner thread.
11428 (_Jv_CondNotifyAll): Check if really the owner thread.
11429 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11430 (really_start): Use SetEvent( ) to signal daemon_cond.
11431 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11432 WaitForSingleObject( ) instead to wait for daemon_cond to be
11433 signalled.
11434
11435 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
11436
11437 * configure.in: Specifically define HAVE_BACKTRACE if building
11438 for MinGW.
11439 * include/win32.h: Remove HAVE_BACKTRACE definition.
11440 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11441 * configure: Rebuilt.
11442
11443 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
11444
11445 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11446 Set and AC_SUBST. Remove USE_LIBDIR conditional.
11447 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11448 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11449 * Makefile.in, configure: Rebuilt.
11450
11451 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
11452
11453 Fixes PR java/9253:
11454 * java/io/natFileWin32.cc (performList): Append only "*.*"
11455 if the canonical file path already has a "\" at the end.
11456
11457 2003-01-24 Tom Tromey <tromey@redhat.com>
11458
11459 * defineclass.cc (handleMethodsEnd): Precompute code for static
11460 method.
11461 (handleCodeAttribute): Likewise.
11462 * resolve.cc (ncode): Use run_class for unsynchronized static
11463 methods.
11464 * include/java-interp.h (class _Jv_InterpMethod): Declare
11465 run_class.
11466 * interpret.cc (run_synch_class): Initialize class.
11467 (run) [insn_invokestatic]: Don't initialize class.
11468 [insn_anewarray]: Likewise.
11469 [insn_multianewarray]: Likewise.
11470 (run_class): New function.
11471
11472 2003-01-24 Tom Tromey <tromey@redhat.com>
11473
11474 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11475 comment.
11476
11477 2003-01-22 Andrew Haley <aph@redhat.com>
11478
11479 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11480 * configure.host (CHECKREFSPEC): Define for x86_64.
11481
11482 2003-01-21 Tom Tromey <tromey@redhat.com>
11483
11484 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11485 search at 2, not 3.
11486
11487 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
11488
11489 * java/io/natFileWin32.cc (isAbsolute): Check path length before
11490 looking at any characters.
11491 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11492 be used.
11493 (isAbsolute): Check path's length as well.
11494
11495 2003-01-17 Mark Wielaard <mark@klomp.org>
11496
11497 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11498 (nat_source_files): Add natVMObjectStreamClass.cc.
11499 * Makefile.in: Regenerated.
11500 * gcj/javaprims.h (namespace java): Regenerated.
11501 * java/io/ObjectStreamClass.java (getClassUID): Call
11502 VMObjectStreamClass.hasClassInitializer().
11503 (hasClassInitializer): Removed.
11504 * java/io/VMObjectStreamClass.java: New class.
11505 * java/io/natVMObjectStreamClass.cc: New file.
11506 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11507
11508 2003-01-16 Mark Wielaard <mark@klomp.org>
11509
11510 * java/net/SocketImpl.java (toString): Don't explicitly call
11511 toString() on possible null address.
11512
11513 2003-01-16 Michael Koch <konqueror@gmx.de>
11514
11515 * java/net/MulticastSocket.java
11516 (setInterface): Reindented.
11517
11518 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11519
11520 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11521 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11522 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11523 translateY arguments. Implement.
11524 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11525 down translation arguments.
11526 (drawPolyline, drawPolygon): Fix incorrect tests.
11527 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11528 translateX and translateY arguments.
11529
11530 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11531
11532 * Makefile.in: Rebuilt.
11533 * Makefile.am (xlib_includes): New macro.
11534 (INCLUDES): Use it.
11535
11536 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11537
11538 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11539 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11540 16-bit display mode.
11541
11542 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11543
11544 * java/awt/CardLayout.java (show): Rewrote.
11545 (gotoComponent): Removed `target' argument. Simplified code.
11546 Don't pre-compute `choice' unless `what' is FIRST or LAST.
11547 Changed all callers.
11548 (NONE): Removed.
11549
11550 2003-01-14 Michael Koch <konqueror@gmx.de>
11551
11552 * java/net/InetSocketAddress.java
11553 (serialVersionUID): New member variable.
11554 * java/net/NetPermission.java
11555 (NetPermission): Dont implement java.io.Serialization directly.
11556 * java/net/SocketAddress.java:
11557 (serialVersionUID): Documentation added.
11558
11559 2003-01-14 Michael Koch <konqueror@gmx.de>
11560
11561 * java/awt/Label.java
11562 (Label): Implements javax.accessibility.Accessible;
11563 * java/awt/List.java
11564 (List): Implements javax.accessibility.Accessible;
11565 * java/awt/ScrollPane.java
11566 (ScrollPane): Implements javax.accessibility.Accessible;
11567 * java/awt/Scrollbar.java
11568 (Scrollbar): Implements javax.accessibility.Accessible;
11569 * java/awt/TextComponent.java
11570 (setCaretPosition): Throw exception, documentation added.
11571 * java/awt/Toolkit.java:
11572 Added some newlines in method documentations.
11573 (createButton): Exception documentation added.
11574 (createTextField): Exception documentation added.
11575 (createLabel): Exception documentation added.
11576 (createList): Exception documentation added.
11577 (createCheckbox): Exception documentation added.
11578 (createScrollbar): Exception documentation added.
11579 (createScrollPane): Exception documentation added.
11580 (createTextArea): Exception documentation added.
11581 (createChoice): Exception documentation added.
11582 (createFrame): Exception documentation added.
11583 (createWindow): Exception documentation added.
11584 (createDialog): Exception documentation added.
11585 (createMenuBar): Exception documentation added.
11586 (createMenu): Exception documentation added.
11587 (createMenuItem): Exception documentation added.
11588 (createFileDialog): Exception documentation added.
11589 (createCheckboxMenuItem): Exception documentation added.
11590 (loadSystemColors): Exception documentation added.
11591 (setDynamicLayout): Exception documentation added.
11592 (isDynamicLayoutSet): Exception documentation added.
11593 (isDynamicLayoutActive): Exception documentation added.
11594 (getScreenSize): Exception documentation added.
11595 (getScreenResolution): Exception documentation added.
11596 (getScreenInsets): Exception documentation added.
11597 (getColorModel): Exception documentation added.
11598 (getSystemClipboard): Exception documentation added.
11599 (getSystemSelection): Exception documentation added.
11600 (getMenuShortcutKeyMask): Exception documentation added.
11601 (getSystemEventQueue): Exception documentation added.
11602 * java/awt/Window.java:
11603 Reindented some code.
11604 (Window): Centralized implementation, documentation added.
11605 (finalize): Documentation added.
11606 (hide): Fixed typo in comment.
11607 (getWindowListeners): Documentation added.
11608 * java/awt/color/ColorSpace.java
11609 (toRGB): Documentation added.
11610 * java/awt/color/ICC_ColorSpace.java
11611 (ICC_ColorSpace): Documentation added.
11612 (toRGB): Throw exception, documentation added.
11613 (fromRGB): Throw exception, documentation added.
11614 (toCIEXYZ): Documentation added.
11615 (fromCIEXYZ): Documentation added.
11616 (getMinValue): Documentation added.
11617 (getMaxValue): Documentation added.
11618 * java/awt/geom/Dimension2D.java
11619 (clone): Documentation added.
11620 * java/awt/geom/GeneralPath.java
11621 (clone): Documentation added.
11622 * java/awt/geom/Line2D.java
11623 (clone): Documentation added.
11624 * java/awt/geom/QuadCurve2D.java
11625 (clone): Documentation added.
11626 * java/awt/image/ColorModel.java
11627 (ColorModel): Throw exception, documentation added.
11628 * java/awt/image/ImageFilter.java
11629 (clone): Doesnt throw CloneNotSupportedException.
11630
11631 2003-01-14 Andrew Haley <aph@redhat.com>
11632
11633 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11634 in a try block.
11635
11636 2003-01-10 Andrew Haley <aph@redhat.com>
11637
11638 * include/dwarf2-signal.h: Remove x86_64.
11639 * configure.host (x86_64 DIVIDESPEC): Remove.
11640 * include/x86_64-signal.h: New file.
11641 * configure.in: Regenerate.
11642
11643 2003-01-10 Michael Koch <konqueror@gmx.de>
11644
11645 * java/net/DatagramSocket.java
11646 (ch): Description added.
11647 (remotePort): Initialize with -1.
11648 (connect): Doesnt throws SocketException.
11649 * java/net/MulticastSocket.java
11650 (setInterface): Merge with Classpath.
11651 * java/net/ServerSocket.java
11652 (closed): New member variable.
11653 (bind): Check if socket is closed.
11654 (close): Close an associated channel too, set new value to closed.
11655 (isBound): Reindented.
11656 (isClosed): Implemented.
11657 * java/net/Socket.java
11658 (closed): New member variable.
11659 (bind): Check if socket is closed.
11660 (connect): Check if socket is closed.
11661 (close): Close an associated channel too, set new value to closed.
11662 (isClosed): Implemented.
11663
11664 2003-01-10 Michael Koch <konqueror@gmx.de>
11665
11666 * java/awt/DisplayMode.java
11667 (equals): Fixed argument type and implementation.
11668
11669 2003-01-07 Tom Tromey <tromey@redhat.com>
11670
11671 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11672 JV_HASH_SYNCHRONIZATION.
11673 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11674 JV_HASH_SYNCHRONIZATION.
11675
11676 2003-01-07 Michael Koch <konqueror@gmx.de>
11677
11678 * java/net/DatagramSocket.java:
11679 Added classpath license info.
11680 (DatagramSocket): Merged description with classpath.
11681 (close): Merged description with classpath.
11682 (getChannel): Merged description with classpath.
11683 (getInetAddress): Merged description with classpath.
11684 (getPort): Merged description with classpath.
11685 (getLocalAddress): Merged description with classpath.
11686 (getLocalPort): Merged description with classpath.
11687 (getSoTimeout): Merged description with classpath.
11688 (setSoTimeout): Merged description with classpath.
11689 (getSendBufferSize): Merged description with classpath.
11690 (setSendBufferSize): Merged description with classpath.
11691 (getReceiveBufferSize): Merged description with classpath.
11692 (setReceiveBufferSize): Merged description with classpath.
11693
11694 2003-01-04 Tom Tromey <tromey@redhat.com>
11695
11696 * java/awt/List.java: Merged with Classpath.
11697
11698 2003-01-03 Mark Wielaard <mark@klomp.org>
11699
11700 * java/io/FileDescriptor.java (position): New private field.
11701 * java/io/natFileDescriptorPosix.cc (write): Up position.
11702 (setLength): Use and set position.
11703 (seek): Set position.
11704 (getFilePointer): Return position.
11705 (read): Up position.
11706
11707 2003-01-03 Mark Wielaard <mark@klomp.org>
11708
11709 Merge with Classpath:
11710 * java/io/ObjectStreamClass.java (lookup): Split method and call
11711 lookupForClassObject().
11712 (lookupForClassObject): New method.
11713 (isProxyClass): New field.
11714 (setClass): Set isProxyClass, add object to classLookupTable, set
11715 superClass and calculateOffsets.
11716 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11717 and not a proxy class.
11718 (setFields): Set accessible true for serialPersistentFields.
11719 (getClassUID): Same for suid. And check if suid is of type long.
11720 (hasClassInitializer): Don't throw NoSuchMethodError.
11721
11722 2003-01-03 Mark Wielaard <mark@klomp.org>
11723
11724 * java/io/FileInputStream.java (finalize): Don't explicitly
11725 finalize FileDescriptor.
11726
11727 2003-01-03 Jeff Sturm <jsturm@one-point.com>
11728
11729 * configure.host (sparc*-*): Enable bytecode interpreter.
11730
11731 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
11732
11733 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11734 Don't throw RemoteException.
11735 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11736 throw RemoteException.
11737
11738 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
11739
11740 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11741 proxyHost): New static fields.
11742 (<clinit>): Initialize new fields.
11743 (connect): Use proxy if necessary.
11744 (usingProxy): Implement.
11745
11746 2003-01-03 Eric Blake <ebb9@email.byu.edu>
11747
11748 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11749 (TreeIterator.remove): Prefer IllegalStateException over
11750 ConcurrentModificationException, to match Sun.
11751
11752 2002-12-22 Anthony Green <green@redhat.com>
11753
11754 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11755
11756 2003-01-02 Mark Wielaard <mark@klomp.org>
11757
11758 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11759 public.
11760 (HTTP_USE_PROXY): Add field.
11761 (getResponseVals): Only set responseCode when not yet explicitly
11762 set by subclass.
11763
11764 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
11765 Mark Wielaard <mark@klomp.org>
11766
11767 * java/util/zip/ZipFile.java (entries): Now HashMap.
11768 (readLeShort(DataInput, byte[])): Read from given byte array.
11769 (readLeInt(DataInput, byte[]): Likewise.
11770 (readLeShort(byte[] b, int off)): New method.
11771 (readLeInt(byte[] b, int off)): Likewise.
11772 (readEntries): Use byte arrays to read info in bigger chunks.
11773 (getEntries): Return HashMap.
11774 (getEntry): Use HashMap.
11775 (locBuf): New private field.
11776 (checkLocalHeader): Use locBuf to read info in one chunk.
11777 (getInputStream): Use entries HashMap, wrap PartialInputStream
11778 in BufferedInputStream.
11779 (ZipEntryEnumeration): Use HashMap and Interator.
11780
11781 2003-01-02 Mark Wielaard <mark@klomp.org>
11782 Jeroen Frijters <jeroen@sumatra.nl>
11783
11784 * java/net/URLClassLoader.java (Resource.getCodeSource):
11785 Fix check certs == null.
11786 (getCanonicalFileURL): Removed method.
11787 (JarURLLoader): Don't call removed method.
11788 (FileURLLoader): Likewise.
11789 (FileURLLoader.getResource): Don't canonicalize file name.
11790
11791 2003-01-01 Tom Tromey <tromey@redhat.com>
11792
11793 * Makefile.in: Rebuilt.
11794 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11795 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11796 java/awt/BufferCapabilities.java, java/awt/Button.java,
11797 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11798 java/awt/Container.java, java/awt/Cursor.java,
11799 java/awt/EventQueue.java, java/awt/FileDialog.java,
11800 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11801 java/awt/MenuBar.java, java/awt/MenuComponent.java,
11802 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11803 java/awt/Scrollbar.java, java/awt/TextArea.java,
11804 java/awt/TextField.java, java/awt/color/CMMException.java,
11805 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11806 java/awt/color/ProfileDataException.java,
11807 java/awt/datatransfer/Clipboard.java,
11808 java/awt/datatransfer/DataFlavor.java,
11809 java/awt/datatransfer/FlavorMap.java,
11810 java/awt/datatransfer/SystemFlavorMap.java,
11811 java/awt/dnd/DragGestureEvent.java,
11812 java/awt/dnd/DragGestureRecognizer.java,
11813 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11814 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11815 java/awt/im/InputMethodHighlight.java,
11816 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11817 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11818
11819 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11820 `op' to BufferedImageOp.
11821
11822 2002-12-31 Tom Tromey <tromey@redhat.com>
11823
11824 Fix for PR libgcj/7416:
11825 * javax/naming/InitialContext.java (init): Use
11826 gnu.classpath.home.url.
11827 * java/security/Security.java: Use new properties.
11828 (loadProviders): Accept base url; use it.
11829 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11830 gnu.classpath.home.url.
11831 (gnu.classpath.home.url): Define.
11832 (gnu.classpath.vm.shortname): Likewise.
11833
11834 2002-12-31 Tom Tromey <tromey@redhat.com>
11835 Ranjit Mathew <rmathew@hotmail.com>
11836
11837 Fix for PR libgcj/8997:
11838 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11839 Include platform.h.
11840 * include/posix.h (_Jv_platform_usleep): New function.
11841 * include/win32.h (_Jv_platform_usleep): New function.
11842
11843 2002-12-29 Tom Tromey <tromey@redhat.com>
11844
11845 * gcj/javaprims.h: Updated.
11846 * scripts/classes.pl (scan): Removed stray semicolon.
11847
11848 2002-12-30 Mark Wielaard <mark@klomp.org>
11849
11850 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11851 if zero or smaller.
11852
11853 2002-12-30 Mark Wielaard <mark@klomp.org>
11854
11855 * java/util/Properties (formatForOutput): Don't fall through to
11856 default case after escaping character.
11857
11858 2002-12-30 Mark Wielaard <mark@klomp.org>
11859
11860 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11861 against count.
11862
11863 2002-12-27 Mark Mitchell <mark@codesourcery.com>
11864
11865 * boehm.cc: Remove stray semicolon.
11866 * interpret.cc: Likewise.
11867 * prims.cc: Likewise.
11868 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11869 earlier to ensure default arguments are processed.
11870 * gcj/array.h (JArray): Add forward declaration.
11871 (elements): Likewise.
11872 * gcj/javaprim.h: Remove stray semicolons.
11873 * include/bohm-gc.h: Likewise.
11874 * include/jni.h: Likewise.
11875 * include/jvm.h: Likewise.
11876 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11877
11878 2002-12-23 Jeff Sturm <jsturm@one-point.com>
11879
11880 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11881 of catch_type.
11882 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11883 idt tables after initializing superclass.
11884 * java/lang/natClassLoader.cc (uaddr): New typedef.
11885 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11886 if they are constant pool indicies. Don't link vtable, otable yet.
11887
11888 2002-12-21 Anthony Green <green@redhat.com>
11889
11890 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11891 libraries.
11892 * Makefile.in: Rebuilt.
11893
11894 2002-12-19 Anthony Green <green@redhat.com>
11895
11896 * Makefile.am (ordinary_java_source_files): Add
11897 org/xml/sax/helpers/NewInstance.java.
11898 * Makefile.in: Rebuilt.
11899 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11900 org/xml/sax/helpers/package.html: New files.
11901 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11902 http://www.saxproject.org.
11903
11904 2002-12-19 Andrew Haley <aph@redhat.com>
11905
11906 * java/util/natResourceBundle.cc: Include
11907 ArrayIndexOutOfBoundsException.h.
11908 (getCallingClassLoader): Don't put upper bound on stack search.
11909 Catch ArrayIndexOutOfBoundsException.
11910
11911 2002-12-19 Tom Tromey <tromey@redhat.com>
11912
11913 * libtool-version: Increased `current'.
11914
11915 2002-12-19 Tom Tromey <tromey@redhat.com>
11916
11917 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11918 comment.
11919 * java/lang/ClassLoader.java (defineClass): Use chained
11920 exception when rethrowing.
11921 * defineclass.cc (handleClassBegin): Mark class as interpreted.
11922 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11923 constants.
11924 * resolve.cc (_Jv_PrepareMissingMethods): New function.
11925 (_Jv_PrepareClass): Use it.
11926 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11927 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11928 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11929 (Class): _Jv_PrepareMissingMethods now friend.
11930 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11931 Record `NULL' for system class loader.
11932 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
11933 system class loader.
11934 (_Jv_FindClassInCache): Likewise.
11935 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
11936 (_Jv_FindClass): Special case system class loader.
11937 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11938 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11939 vtable slots.
11940 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11941 in a final class.
11942 (_getDeclaredMethod): Don't return synthetic methods.
11943 (getDeclaredMethods): Likewise.
11944 (_getMethod): Likewise.
11945 (_getMethods): Likewise.
11946
11947 2002-12-18 Raif Naffah <raif@fl.net.au>
11948
11949 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11950 canonical form after divide().
11951 (modInverse): Likewise.
11952
11953 2002-12-13 Casey Marshall <rsdio@metastatic.org>
11954 Mark Wielaard <mark@klomp.org>
11955
11956 * java/security/SecurityRandom (digest): Removed field.
11957 (SecureRandom): Check all providers for case-insensitive SecureRandom
11958 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11959 if necessary.
11960 (getInstance(String,Provider,boolean): New method.
11961 (getInstance(String)): Use new method.
11962 (getInstance(String,String)): Likewise.
11963 (getInstance(String,Provider)): Likewise.
11964
11965 2002-12-13 Casey Marshall <rsdio@metastatic.org>
11966
11967 * java/security/Security.java (loadProviders): Increment i only once.
11968
11969 2002-12-12 Mark Wielaard <mark@klomp.org>
11970
11971 * java/lang/ClassLoader.java (resolveClass0): Transform
11972 ClassNotFoundException to NoClassDefFoundError. Transform all other
11973 throwables to LinkageError.
11974
11975 2002-12-11 Tom Tromey <tromey@redhat.com>
11976
11977 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11978
11979 * java/lang/ClassLoader.java (loadedClasses): New field.
11980 (defineClass): Fixed indentation. Put new class in
11981 loadedClasses.
11982 (findLoadedClass): Implement here.
11983 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
11984
11985 2002-12-10 Tom Tromey <tromey@redhat.com>
11986
11987 * Makefile.in: Rebuilt.
11988 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11989 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
11990 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
11991 * java/lang/natClassLoader.cc
11992 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
11993
11994 2002-12-10 Mark Wielaard <mark@klomp.org>
11995 Tom Tromey <tromey@redhat.com>
11996
11997 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
11998 (JarURLLoader): Use it.
11999 (FileURLLoader): Likewise.
12000 (JarURLResource.getURL): Use chained exception.
12001 (FileResource.getURL): Likewise.
12002 (FileURLLoader.getResource): Use canonical file name.
12003 (addURL): Indentation fix.
12004
12005 2002-12-10 Tom Tromey <tromey@redhat.com>
12006
12007 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
12008 From Laurent Bardet <l.bardet@magic.fr>.
12009
12010 2002-12-09 Tom Tromey <tromey@redhat.com>
12011
12012 * include/win32.h (_Jv_platform_solib_prefix): New define.
12013 (_Jv_platform_solib_suffix): Likewise.
12014 * include/posix.h (_Jv_platform_solib_prefix): New define.
12015 (_Jv_platform_solib_suffix): Likewise.
12016 * java/lang/natRuntime.cc: Include StackTrace.h.
12017 (_load): Use findLibrary and new platform defines.
12018 (nativeGetLibname): Use new platform defines.
12019
12020 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
12021 `t' won't be null.
12022
12023 2002-12-08 Mark Wielaard <mark@klomp.org>
12024
12025 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
12026 cache remote jar files.
12027 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
12028 add File.separator to URL when it is a directory.
12029 * java/lang/ClassLoader.java: Add Classpath javadoc.
12030 (parent): final.
12031 (getParent): Add (disabled) security check.
12032 (findLibrary): New default method.
12033 * java/net/JarURLConnection.java (getManifest): Implement.
12034 (getInputStream): Only create InputStream when entry exists.
12035 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
12036 when they exist.
12037 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
12038
12039 2002-12-08 Mark Wielaard <mark@klomp.org>
12040
12041 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
12042 (lastDefaultLocale): New field.
12043 (getBundle): When Locale.getDefault != lastDefaultLocale reset
12044 resourceBundleCache.
12045
12046 2002-12-06 Mark Wielaard <mark@klomp.org>
12047
12048 * java/net/InetAddress.java (toString): Use hostname when not null,
12049 don't do an explicit reverse getHostName() lookup.
12050 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
12051 NullPointerException.
12052
12053 2002-12-06 Tom Tromey <tromey@redhat.com>
12054
12055 * include/java-interp.h (class _Jv_InterpMethod): Added
12056 JV_MARKOBJ_DECL.
12057 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
12058 mark `prepared' field of interpreted method.
12059 * interpret.cc (compile): Use _Jv_AllocBytes.
12060
12061 2002-12-05 Andrew Haley <aph@redhat.com>
12062
12063 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
12064 #ifdef (HAVE_BACKTRACE) around the whole function body.
12065
12066 2002-12-05 Tom Tromey <tromey@redhat.com>
12067
12068 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
12069 * resolve.cc: Don't include AbstractMethodError.h.
12070 (_Jv_abstractMethodError): Removed.
12071 * defineclass.cc (handleMethodsBegin): Initialize method index to
12072 -1.
12073 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
12074 method index for "new" final method.
12075 (_Jv_SetVTableEntries): Compare index against -1 instead of using
12076 isVirtualMethod. Added `flags' argument.
12077 (_Jv_MakeVTable): Throw exception for abstract method in concrete
12078 class.
12079
12080 2002-12-04 Tom Tromey <tromey@redhat.com>
12081
12082 * java/net/SocketPermission.java (hashCode): Rewrote.
12083
12084 2002-12-04 Tom Tromey <tromey@redhat.com>
12085
12086 * Makefile.in: Rebuilt.
12087 * Makefile.am (nat_source_files): Added natVMSecurityManager,
12088 natResourceBundle.
12089 * java/util/ResourceBundle.java (Security): Removed.
12090 (getCallingClassLoader): Now native.
12091 * java/util/natResourceBundle.cc: New file.
12092 * java/lang/natVMSecurityManager.cc: New file.
12093 * java/lang/VMSecurityManager.java (getClassContext): Now native.
12094
12095 2002-12-03 Mark Wielaard <mark@klomp.org>
12096
12097 * java/util/jar/JarFile.java (manifest): Not final.
12098 (manifestRead): New field.
12099 (JarFile): Don't read Manifest in constructor.
12100 (getManifest): New method.
12101 (JarEnumeration.nextElement): Use new method.
12102 (getEntry): Likewise.
12103 * java/util/zip/ZipFile.java (name): Final.
12104 (raf): Likewsie.
12105 (entries): Change type to Hashtable.
12106 (closed): New field.
12107 (ZipFile): Don't read enties in constructor.
12108 (readEntries): Use Hashtable.
12109 (close): Set new close flag and set entries to null inside
12110 synchronized block.
12111 (entries): Contruct enumeration using new getEntries() method and
12112 entries Hashtable.
12113 (getEntryIndex): Removed.
12114 (getEntries): New method.
12115 (getEntry): Use new getEntries() method and entries Hastable.
12116 (getInputStream): Likewise.
12117 (size): Return getEntries().size().
12118 (ZipEntryEnumeration): Wrap entries Hashtable elements.
12119 * java/util/zip/ZipEntry.java (cal): Don't initialize.
12120 (time): Removed
12121 (dostime): New field.
12122 (zipFileIndex): Removed.
12123 (ZipEntry(ZipEntry)): Copy dostime.
12124 (setDOSTime): Now final and doesn't convert dos time.
12125 (getDOSTime): Likewise.
12126 (setTime): Convert dos time.
12127 (getTime): Likewise.
12128 (getCalendar): New method.
12129 (setExtra): Use setTime().
12130 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12131
12132 2002-12-03 Tom Tromey <tromey@redhat.com>
12133
12134 * java/lang/Character.java (forDigit): Formatting fix.
12135
12136 2002-12-03 Raif Naffah <raif@fl.net.au>
12137
12138 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12139 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12140 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
12141
12142 2002-12-03 Andrew Haley <aph@redhat.com>
12143
12144 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12145 _Jv_PushClass.
12146 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12147 (_Jv_PopClass): New.
12148 (_Jv_PushClass): New.
12149 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12150 discover the ClassLoader of our caller.
12151 (_Jv_CheckArrayStore): Don't check that a class is assignment
12152 compatible with Object.
12153 * java/lang/natVMTHrowable.cc: Delete.
12154 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12155 java.lang.VMThrowable.
12156 (StackTrace(), StackTrace(int)): New constructors.
12157 (classAt, methodAt, update, methodAtAddress): New methods.
12158 (map): New field.
12159 * java/lang/VMThrowable.java: Use StackTrace instead of
12160 natVMTHrowable.
12161 * java/lang/Class.h (getClassLoaderInternal): New.
12162 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12163 Be friendly with gnu::gcj::runtime::StackTrace.
12164 (Object.chain): New field.
12165 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12166 gnu::gcj::runtime::StackTrace.
12167 * gnu/gcj/runtime/natStackTrace.cc: New file.
12168 * gnu/gcj/runtime/MethodRef.java: New file.
12169 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12170 instead of getClassLoader().
12171 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12172 java::lang::VMThrowable.
12173 * Makefile.am (core_java_source_files): Add MethodRef.java,
12174 StackTrace.java.
12175 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12176 * Makefile.in: Rebuild.
12177
12178 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
12179
12180 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12181 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12182 yes also for sh-linux* and sh[34]*-linux*.
12183 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12184 set SIGNAL_HANDLER to use DWARF2 exception for them.
12185 * configure: Regenerate.
12186
12187 2002-12-02 Tom Tromey <tromey@redhat.com>
12188
12189 * jni.cc: Added `name' argument.
12190 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12191 `const char *' argument.
12192 (class _Jv_JNIEnv) [DefineClass]: Likewise.
12193
12194 2002-12-01 Tom Tromey <tromey@redhat.com>
12195
12196 Bug compatibility, for PR libgcj/8738:
12197 * java/io/CharArrayWriter.java (close): Do nothing.
12198 (flush): Likewise.
12199 (reset): Don't touch `closed'.
12200 (write(int)): Don't throw IOException.
12201 (write(char[],int,int)): Likewise.
12202 (write(String,int,int)): Likewise.
12203 (closed): Removed.
12204
12205 2002-12-01 Mark Wielaard <mark@klomp.org>
12206
12207 * java/lang/SecurityManager.java: Remerge comments, indenting and
12208 checkXXX methods with Classpath.
12209
12210 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
12211
12212 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12213 getNormalizedComponents): Fix calculation which was using one too
12214 many bits in the unnormalized format.
12215
12216 2002-11-29 Gary Benson <gbenson@redhat.com>
12217
12218 For PR libgcj/8759:
12219 * java/beans/Introspector.java (flushCaches): New method.
12220 (flushFromCaches): Likewise.
12221
12222 2002-11-29 Michael Koch <konqueror@gmx.de>
12223
12224 * java/nio/channels/DatagramChannel.java
12225 (open): Added exception documentation.
12226 (write): Added exception documentation.
12227 (connect): Added exception documentation.
12228 (disconnect): Added exception documentation.
12229 (isConnected): Added exception documentation.
12230 (read): Added exception documentation.
12231 (receive): Added exception documentation.
12232 (send): Added exception documentation.
12233 (validOps): Added exception documentation.
12234 * java/nio/channels/SocketChannel.java
12235 (open): Added exception documentation.
12236 (read): Added exception documentation.
12237 (write): Added exception documentation.
12238 (connect): Added exception documentation.
12239 (finishConnect): Added exception documentation.
12240
12241 2002-11-29 Michael Koch <konqueror@gmx.de>
12242
12243 * gnu/java/nio/DatagramChannelImpl:
12244 (fd): New member variable to store file descriptor of socket.
12245 * gnu/java/nio/SelectionKeyImpl.java:
12246 (ops): Removed.
12247 (readyOps): New member variable.
12248 (interestOps): New member variable.
12249 (readyOps): Implemented.
12250 (readyOps): New method to set member variable readyOps.
12251 (interestOps): Replaced ops by interestOps.
12252 * gnu/java/nio/SelectorImpl.java:
12253 (SelectorImpl): Initialize key sets.
12254 (select): Call select with -1 instead of Long.MAX_VALUE).
12255 (java_do_select): Make it a native method.
12256 (getFDsAsArray): New helper method.
12257 (select): Remove canceled keys, give only interested file discriptors
12258 to java_do_select, set ready ops.
12259 (add): No need to initialize keys set here.
12260 (add_selected): No need to initialize selected set here.
12261 (deregisterCanceledKeys): New helper method.
12262 (register): Set interest ops, set attachments, added handling of datagram
12263 channels.
12264 * gnu/java/nio/ServerSocketChannelImpl:
12265 (SocketAccept): Renamed from NioSocketAccept.
12266 (implConfigureBlocking): Implemented.
12267 (accept): Use SocketAccept instead of NioSocketAccept.
12268 * gnu/java/nio/SocketChannelImpl:
12269 Reactivate native methods.
12270
12271 2002-11-29 Michael Koch <konqueror@gmx.de>
12272
12273 * gnu/java/nio/natByteBufferImpl.cc,
12274 gnu/java/nio/natCharBufferImpl.cc,
12275 gnu/java/nio/natDoubleBufferImpl.cc,
12276 gnu/java/nio/natFloatBufferImpl.cc,
12277 gnu/java/nio/natIntBufferImpl.cc,
12278 gnu/java/nio/natLongBufferImpl.cc,
12279 gnu/java/nio/natSelectorImpl.cc,
12280 gnu/java/nio/natServerSocketChannelImpl.cc,
12281 gnu/java/nio/natShortBufferImpl.cc,
12282 gnu/java/nio/natSocketChannelImpl.cc:
12283 New files that implement native functionalities.
12284
12285 2002-11-29 Michael Koch <konqueror@gmx.de>
12286
12287 * gnu/java/nio/ByteBufferImpl.java
12288 (ByteBufferImpl): Moved position() after limit.
12289 (nio_*): Use native implementation.
12290 * gnu/java/nio/CharBufferImpl.java:
12291 Reformated.
12292 (endian): New member variable string endianess of buffer.
12293 (CharBufferImpl): Moved position() after limit.
12294 (nio_*): Use native implementation.
12295 (subSequence): Implemented.
12296 * gnu/java/nio/DoubleBufferImpl.java
12297 (DoubleBufferImpl): Moved position() after limit.
12298 (nio_*): Use native implementation.
12299 * gnu/java/nio/FloatBufferImpl.java
12300 Reformated.
12301 (FloatBufferImpl): Moved position() after limit.
12302 (nio_*): Use native implementation.
12303 * gnu/java/nio/IntBufferImpl.java
12304 Added needed imports, Reformated.
12305 (IntBufferImpl): Moved position() after limit.
12306 (nio_*): Use native implementation.
12307 * gnu/java/nio/LongBufferImpl.java
12308 Reformated.
12309 (LongBufferImpl): Moved position() after limit.
12310 (nio_*): Use native implementation.
12311 * gnu/java/nio/ShortBufferImpl.java
12312 Reformated.
12313 (ShortBufferImpl): Moved position() after limit.
12314 (nio_*): Use native implementation.
12315
12316 2002-11-27 Julian Dolby <dolby@us.ibm.com>
12317
12318 * java/util/Locale.java (toString): Improve efficiency if country
12319 and variant are both empty.
12320
12321 2002-11-26 Tom Tromey <tromey@redhat.com>
12322
12323 * verify.cc (pop_init_ref): New method.
12324 (verify_instructions_0) [op_iaload, op_laload, op_faload,
12325 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12326 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12327 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12328 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12329 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12330 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
12331 let `this' argument be uninitialized. Don't let `null' be passed
12332 as `this' to construtor.
12333
12334 2002-11-26 Mark Wielaard <mark@klomp.org>
12335
12336 * javax/transaction/HeuristicCommitException.java: Classpath merge.
12337 * javax/transaction/HeuristicMixedException.java: Likewise.
12338 * javax/transaction/HeuristicRollbackException.java: Likewise.
12339 * javax/transaction/InvalidTransactionException.java: Likewise.
12340 * javax/transaction/NotSupportedException.java: Likewise.
12341 * javax/transaction/RollbackException.java: Likewise.
12342 * javax/transaction/Status.java: Likewise.
12343 * javax/transaction/Synchronization.java: Likewise.
12344 * javax/transaction/SystemException.java: Likewise.
12345 * javax/transaction/Transaction.java: Likewise.
12346 * javax/transaction/TransactionManager.java: Likewise.
12347 * javax/transaction/TransactionRequiredException.java: Likewise.
12348 * javax/transaction/TransactionRolledbackException.java: Likewise.
12349 * javax/transaction/UserTransaction.java: Likewise.
12350 * javax/transaction/xa/XAException.java: Likewise.
12351 * javax/transaction/xa/XAResource.java: Likewise.
12352 * javax/transaction/xa/Xid.java: Likewise.
12353
12354 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
12355
12356 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12357 define.
12358 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12359 * include/posix.h (socklen_t): Define if not already defined.
12360
12361 2002-11-25 Tom Tromey <tromey@redhat.com>
12362
12363 * verify.cc (type::compatible): Backed out broken change.
12364
12365 * verify.cc (type::compatible): Check initialization status
12366 first.
12367 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12368 Don't use NULLCHECK.
12369
12370 2002-11-23 H.J. Lu <hjl@gnu.org>
12371
12372 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12373 Include ../config/accross.m4.
12374 * aclocal.m4; Rebuild.
12375 * configure: Likewise.
12376
12377 2002-11-23 Mark Wielaard <mark@klomp.org>
12378
12379 * javax/naming/AuthenticationException.java: Update copyright header.
12380 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12381 * javax/naming/Binding.java: Likewise.
12382 * javax/naming/CannotProceedException.java: Likewise.
12383 * javax/naming/CommunicationException.java: Likewise.
12384 * javax/naming/CompositeName.java: Likewise.
12385 * javax/naming/CompoundName.java: Likewise.
12386 * javax/naming/ConfigurationException.java: Likewise.
12387 * javax/naming/Context.java: Likewise.
12388 * javax/naming/ContextNotEmptyException.java: Likewise.
12389 * javax/naming/InitialContext.java: Likewise.
12390 * javax/naming/InsufficientResourcesException.java: Likewise.
12391 * javax/naming/InterruptedNamingException.java: Likewise.
12392 * javax/naming/LimitExceededException.java: Likewise.
12393 * javax/naming/LinkException.java: Likewise.
12394 * javax/naming/LinkLoopException.java: Likewise.
12395 * javax/naming/LinkRef.java: Likewise.
12396 * javax/naming/MalformedLinkException.java: Likewise.
12397 * javax/naming/NameAlreadyBoundException.java: Likewise.
12398 * javax/naming/NameClassPair.java: Likewise.
12399 * javax/naming/NameNotFoundException.java: Likewise.
12400 * javax/naming/NameParser.java: Likewise.
12401 * javax/naming/NamingEnumeration.java: Likewise.
12402 * javax/naming/NamingSecurityException.java: Likewise.
12403 * javax/naming/NoInitialContextException.java: Likewise.
12404 * javax/naming/NoPermissionException.java: Likewise.
12405 * javax/naming/NotContextException.java: Likewise.
12406 * javax/naming/OperationNotSupportedException.java: Likewise.
12407 * javax/naming/PartialResultException.java: Likewise.
12408 * javax/naming/Reference.java: Likewise.
12409 * javax/naming/Referenceable.java: Likewise.
12410 * javax/naming/ReferralException.java: Likewise.
12411 * javax/naming/ServiceUnavailableException.java: Likewise.
12412 * javax/naming/SizeLimitExceededException.java: Likewise.
12413 * javax/naming/TimeLimitExceededException.java: Likewise.
12414 * javax/naming/directory/Attribute.java: Likewise.
12415 * javax/naming/directory/AttributeInUseException.java: Likewise.
12416 * javax/naming/directory/AttributeModificationException.java: Likewise.
12417 * javax/naming/directory/Attributes.java: Likewise.
12418 * javax/naming/directory/BasicAttribute.java: Likewise.
12419 * javax/naming/directory/BasicAttributes.java: Likewise.
12420 * javax/naming/directory/DirContext.java: Likewise.
12421 * javax/naming/directory/InitialDirContext.java: Likewise.
12422 * javax/naming/directory/InvalidAttributeIdentifierException.java:
12423 Likewise.
12424 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12425 * javax/naming/directory/InvalidAttributesException.java: Likewise.
12426 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12427 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12428 * javax/naming/directory/ModificationItem.java: Likewise.
12429 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12430 * javax/naming/directory/SchemaViolationException.java: Likewise.
12431 * javax/naming/directory/SearchControls.java: Likewise.
12432 * javax/naming/directory/SearchResult.java: Likewise.
12433 * javax/naming/event/EventContext.java: Likewise.
12434 * javax/naming/event/EventDirContext.java: Likewise.
12435 * javax/naming/event/NamespaceChangeListener.java: Likewise.
12436 * javax/naming/event/NamingEvent.java: Likewise.
12437 * javax/naming/event/NamingExceptionEvent.java: Likewise.
12438 * javax/naming/event/NamingListener.java: Likewise.
12439 * javax/naming/event/ObjectChangeListener.java: Likewise.
12440 * javax/naming/ldap/Control.java: Likewise.
12441 * javax/naming/ldap/ControlFactory.java: Likewise.
12442 * javax/naming/ldap/ExtendedRequest.java: Likewise.
12443 * javax/naming/ldap/ExtendedResponse.java: Likewise.
12444 * javax/naming/ldap/HasControls.java: Likewise.
12445 * javax/naming/ldap/InitialLdapContext.java: Likewise.
12446 * javax/naming/ldap/LdapContext.java: Likewise.
12447 * javax/naming/ldap/LdapReferralException.java: Likewise.
12448 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12449 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12450 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12451 * javax/naming/spi/DirObjectFactory.java: Likewise.
12452 * javax/naming/spi/DirStateFactory.java: Likewise.
12453 * javax/naming/spi/DirectoryManager.java: Likewise.
12454 * javax/naming/spi/InitialContextFactory.java: Likewise.
12455 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12456 * javax/naming/spi/NamingManager.java: Likewise.
12457 * javax/naming/spi/ObjectFactory.java: Likewise.
12458 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12459 * javax/naming/spi/ResolveResult.java: Likewise.
12460 * javax/naming/spi/Resolver.java: Likewise.
12461 * javax/naming/spi/StateFactory.java: Likewise.
12462
12463 * javax/naming/spi/NamingManager.java (ofb): Package private.
12464
12465 2002-11-21 Mark Wielaard <mark@klomp.org>
12466
12467 * java/net/URL.java: Merge with Classpath (partly).
12468 * java/net/URLStreamHandler: Merge with Classpath.
12469
12470 2002-11-22 Michael Koch <konqueror@gmx.de>
12471
12472 * include/posix.h:
12473 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12474 * include/win32.h:
12475 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12476 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12477
12478 2002-11-21 Michael Koch <konqueror@gmx.de>
12479
12480 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12481 Only the new network functions should be in it.
12482
12483 2002-11-21 Michael Koch <konqueror@gmx.de>
12484
12485 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12486 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12487
12488 2002-11-21 Michael Koch <konqueror@gmx.de>
12489
12490 * java/nio/channels/AsynchronousCloseException.java,
12491 java/nio/channels/CancelledKeyException.java,
12492 java/nio/channels/ClosedByInterruptException.java,
12493 java/nio/channels/ConnectionPendingException.java,
12494 java/nio/channels/FileLockInterruptionException.java,
12495 java/nio/channels/IllegalSelectorException.java,
12496 java/nio/channels/NoConnectionPendingException.java,
12497 java/nio/channels/NonReadableChannelException.java,
12498 java/nio/channels/NonWritableChannelException.java,
12499 java/nio/channels/NotYetBoundException.java,
12500 java/nio/channels/NotYetConnectedException.java,
12501 java/nio/channels/OverlappingFileLockException.java,
12502 java/nio/channels/UnresolvedAddressException.java,
12503 java/nio/channels/UnsupportedAddressTypeException.java:
12504 New files.
12505 * Makefile.am (ordinary_java_source_files): Added new files.
12506 * Makefile.in: Regenerated.
12507
12508 2002-11-21 Michael Koch <konqueror@gmx.de>
12509
12510 * include/posix.h
12511 (_Jv_socket): New method.
12512 (_Jv_connect): New method.
12513 (_Jv_close): New method.
12514 (_Jv_platform_close_on_exec): Prefixed system function with "::".
12515 (_Jv_bind): New method.
12516 (_Jv_listen): New method.
12517 (_Jv_write): New method.
12518 (_Jv_read): New method.
12519 * include/win32.h
12520 (_Jv_socket): New method.
12521 (_Jv_connect): New method.
12522 (_Jv_close): New method.
12523 (_Jv_bind): New method.
12524 (_Jv_listen): New method.
12525 (_Jv_write): New method.
12526 (_Jv_read): New method.
12527 * java/net/natNetworkInterface.cc:
12528 Include platform.h, removed inclusion of socket.h
12529 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12530 ::close() by _Jv_close().
12531 * java/net/natPlainDatagramSocketImpl.cc:
12532 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12533 added some new lines to make code more readable.
12534 (create): Replaced ::socket() by _Jv_socket().
12535 (close): Replaced NATIVE_CLOSE() by _Jv_close().
12536 * java/net/natPlainSocketImpl.cc:
12537 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12538 removed include of socket.h, removed some windows defines
12539 (now in include/win32.h).
12540 (create): Replaced ::socket() by _Jv_socket().
12541 (close): Replaced NATIVE_CLOSE() by _Jv_close().
12542 (write): Replaced ::read by _Jv_write().
12543 (read): Replaced ::read by _Jv_read().
12544
12545 2002-11-20 Michael Koch <konqueror@gmx.de>
12546
12547 * Makefile.am (ordinary_java_source_files):
12548 Added java/nio/channels/FileChannel.java.
12549 * Makefile.in: Regenerated.
12550
12551 2002-11-20 Michael Koch <konqueror@gmx.de>
12552
12553 * java/io/FileInputStream.java
12554 (getChannel): New method.
12555 * java/io/FileOutputStream.java
12556 (getChannel): New method.
12557 * java/net/ServerSocket.java
12558 (bind): Removed duplicate code and called another bind method instead.
12559 * java/nio/channels/SelectionKey.java
12560 (isValid): Removed wrong exception documentation.
12561 * java/nio/channels/ServerSocketChannel.java
12562 (accept): Added exception documentation.
12563 (open): Fixed typo, added exception documentation.
12564 * java/nio/channels/spi/AbstractSelectableChannel.java
12565 (implCloseChannel): Added exception documentation.
12566 (add): Reformated.
12567 (register): Added exception documentation.
12568
12569 2002-11-20 Andreas Jaeger <aj@suse.de>
12570
12571 * configure: Regenerated with new libtool.m4.
12572
12573 2002-11-19 Tom Tromey <tromey@redhat.com>
12574
12575 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12576 `referent'.
12577 (finalize_referred_to_object): Don't modify `referent' or `copy'
12578 fields.
12579 (add_to_hash): Correctly set `n->next' when updating list.
12580 * java/lang/ref/Reference.java (enqueue): Return false if already
12581 enqueued.
12582
12583 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
12584
12585 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12586 to function and function pointer declarations in accordance with
12587 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12588 based on whether __GCJ_JNI_IMPL__ has been defined or not.
12589 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12590 JNI function definitions.
12591
12592 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12593
12594 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12595 that was causing CoderResults to be cached, not WeakReferences
12596 to CoderResults.
12597
12598 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
12599
12600 * java/security/KeyStore.java (getInstance): Fix
12601 comment and throw IllegalArgumentException if
12602 given provider is null.
12603 (getInstance): New method for jdk1.4 compatibility.
12604
12605 2002-11-18 Michael Koch <konqueror@gmx.de>
12606
12607 * java/net/PlainSocketImpl.java: Fix imports.
12608
12609 2002-11-18 Michael Koch <konqueror@gmx.de>
12610
12611 * java/nio/channels/SelectionKey.java
12612 (isValid): Added exception documentation.
12613 * java/nio/channels/Selector.java
12614 (open): Declare "throws IOException".
12615
12616 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12617
12618 * java/nio/charset/Charset.java
12619 (<clinit>): New method.
12620 (encode): Synchronize use of cached encoder object.
12621 (decode): Synchronize use of cached encoder object.
12622
12623 2002-11-18 Michael Koch <konqueror@gmx.de>
12624
12625 * gnu/java/nio/ByteBufferImpl.java,
12626 gnu/java/nio/CharBufferImpl.java,
12627 gnu/java/nio/DatagramChannelImpl.java,
12628 gnu/java/nio/DoubleBufferImpl.java,
12629 gnu/java/nio/FileChannelImpl.java,
12630 gnu/java/nio/FloatBufferImpl.java,
12631 gnu/java/nio/IntBufferImpl.java,
12632 gnu/java/nio/LongBufferImpl.java,
12633 gnu/java/nio/PipeImpl.java,
12634 gnu/java/nio/SelectionKeyImpl.java,
12635 gnu/java/nio/SelectorImpl.java,
12636 gnu/java/nio/SelectorProviderImpl.java,
12637 gnu/java/nio/ServerSocketChannelImpl.java,
12638 gnu/java/nio/ShortBufferImpl.java,
12639 gnu/java/nio/SocketChannelImpl.java,
12640 java/nio/DoubleBuffer.java,
12641 java/nio/FloatBuffer.java,
12642 java/nio/IntBuffer.java,
12643 java/nio/LongBuffer.java,
12644 java/nio/ShortBuffer.java,
12645 java/nio/channels/FileChannel.java: New files.
12646
12647 2002-11-18 Michael Koch <konqueror@gmx.de>
12648
12649 * Makefile.am (ordinary_java_source_files):
12650 Added java/nio/ReadOnlyBufferException.java and
12651 java/nio/channels/ClosedSelectorException.java.
12652 * Makefile.in: Regenerated.
12653
12654 2002-11-18 Michael Koch <konqueror@gmx.de>
12655
12656 * java/net/PlainSocketImpl.java: Reworked imports.
12657 * java/net/ServerSocket.java
12658 (ServerSocket): Create socket.
12659 * java/net/SocketAddress.java: Documentation added.
12660 * java/net/natPlainSocketImpl.cc: Reindented.
12661 * java/nio/ReadOnlyBufferException.java: New file
12662 * java/nio/channels/ClosedChannelException.java: Documentation added.
12663 * java/nio/channels/ClosedSelectorException.java: New file.
12664
12665 2002-11-17 Mark Wielaard <mark@klomp.org>
12666
12667 * java/net/HttpURLConnection.java ((getPermission): Take port
12668 into consideration.
12669 (getErrorStream): Implement.
12670
12671 2002-11-17 Mark Wielaard <mark@klomp.org>
12672
12673 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12674
12675 2002-11-16 Mark Wielaard <mark@klomp.org>
12676
12677 Integrate work by Raif S. Naffah (raif@fl.net.au)
12678 * java/security/DummyKeyPairGenerator.java (clone): New method.
12679 * java/security/DummyMessageDigest.java (clone): New method.
12680 (engineUpdate): Now public.
12681 (engineReset): Likewise.
12682 (engineDigest): Likewise.
12683 (engineGetDigestLength): New method.
12684 * java/security/DummySignature.java (clone): New method.
12685 * java/security/KeyPairGenerator.java (provider): Now package private.
12686 (getInstance(String)): Use getInstance(String,Provider).
12687 (getInstance(String,String): Use getInstance(String,Provider)
12688 (getInstance(String,Provider): New method.
12689 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12690 * java/security/KeyPairGeneratorSpi.java (clone): New method.
12691 * java/security/MessageDigest.java (provider): Now package private.
12692 (getInstance(String): Use getInstance(String,Provider).
12693 (getInstance(String,String): Use getInstance(String,Provider)
12694 (getInstance(String,Provider): New method.
12695 * java/security/Provider.java (toCanonicalKey): New method.
12696 (get): New method that uses toCanonicalKey().
12697 (put): Use toCanonicalKey().
12698 (remove): Likewise.
12699 * java/security/Security.java (insertProviderAt): Provider index is one
12700 based, not zero based.
12701 (addProvider): Likewise.
12702 (removeProvider): Likewise.
12703 * java/security/Signature.java (provider): Now package private.
12704 (getInstance(String)): Use getInstance(String,Provider).
12705 (getInstance(String,String): Use getInstance(String,Provider)
12706 (getInstance(String,Provider): New method.
12707 (getInstance(String,String,Provider): Don't cast DummySignature.
12708
12709 2002-11-15 Tom Tromey <tromey@redhat.com>
12710
12711 For PR libgcj/8593:
12712 * java/util/zip/GZIPInputStream.java (read): Check file size.
12713 Look in inflater for remaining input bytes.
12714 (read4): Added buf and offset arguments.
12715
12716 2002-11-12 Eric Blake <ebb9@email.byu.edu>
12717
12718 * java/applet/AppletContext.java: Fix typo and remove redundant
12719 modifiers.
12720
12721 2002-11-14 Tom Tromey <tromey@redhat.com>
12722
12723 * java/lang/natRuntime.cc (insertSystemProperties): Set
12724 gnu.classpath.home.
12725
12726 2002-11-13 Michael Koch <konqueror@gmx.de>
12727
12728 * java/nio/ByteBuffer.java
12729 (allocate): New method.
12730 (wrap): New method.
12731 (put): New method.
12732 (get): New method.
12733
12734 2002-11-13 Michael Koch <konqueror@gmx.de>
12735
12736 * java/nio/channels/AlreadyConnectedException.java:
12737 Removed unneeded import.
12738 (AlreadyConnectedException): Documentation added.
12739 * java/nio/channels/Pipe.java
12740 (SinkChannel.SinkChannel): Documentation added.
12741 (SinkChannel.validOps): New method.
12742 (SourceChannel.SourceChannel): Documentation added.
12743 (SourceChannel.validOps): New method.
12744 (Pipe): Documentation added.
12745 (open): Documentation added.
12746 (SinkChannel.channel): Documentation added.
12747 (SourceChannel.channel): Documentation added.
12748 * java/nio/channel/SelectableChannel.java
12749 (SelectableChannel): Documentation added.
12750 (blockingLock): Documentation added.
12751 (configureBlocking):Documentation added.
12752 (isBlocking):Documentation added.
12753 (isRegistered):Documentation added.
12754 (keyFor):Documentation added.
12755 (provider):Documentation added.
12756 (register): Documentation added.
12757 (validOps): Documentation added.
12758 * jaba/nio/channels/SelectionKey.java
12759 (SelectionKey): Documentation added.
12760 (attach): Documentation added.
12761 (attachment): Documentation added.
12762 (isAcceptable): Documentation added.
12763 (isConnetable): Documentation added.
12764 (isReadable): Documentation added.
12765 (isWritable): Documentation added.
12766 (cancel): Documentation added.
12767 (channel): Documentation added.
12768 (interestOps): Documentation added.
12769 (isValid): Documentation added.
12770 (readyOps): Documentation added.
12771 (selector): Documentation added.
12772 * jaba/nio/channels/Selector.java
12773 (Selector): Documentation added.
12774 (open): Documentation added.
12775 (close): Documentation added.
12776 (isOpen): Documentation added.
12777 (keys): Documentation added.
12778 (provider): Documentation added.
12779 (select): Documentation added.
12780 (selectedKeys): Documentation added.
12781 (selectNow): Documentation added.
12782 (wakeup): Documentation added.
12783 * java/nio/channels/spi/AbstractInterruptibleChannel.java
12784 (AbstractInterruptibleChannel): Documentation added.
12785 (opened): Default to true;
12786 (begin): Documentation added.
12787 (close): Set opened to false, documentation added.
12788 (isOpen): Documentation added.
12789 * java/nio/channels/spi/AbstractSelectionKey.java
12790 (AbstractSelectionKey): Documentation added.
12791 (cancel): Documentation added.
12792 (isValid): Documentation added.
12793 * java/nio/channels/spi/AbstractSelector.java
12794 (AbstractSelector): Documentation added.
12795 (begin): Documentation added.
12796 (close): Documentation added.
12797 (isOpen): Documentation added.
12798 (deregister): Documentation added.
12799 (end): Documentation added.
12800 (provider): Documentation added.
12801 (implCloseSelector): Documentation added.
12802 (register): Documentation added.
12803 * java/nio/channels/spi/SelectorProvider.java
12804 (SelectorProvider): Documentation added.
12805 (openDatagramChannel): Documentation added.
12806 (openPipe): Documentation added.
12807 (openSelector): Documentation added.
12808 (openServerSocketChannel): Documentation added.
12809 (openSocketChannel): Documentation added.
12810 (provider): Documentation added.
12811
12812 2002-11-12 Michael Koch <konqueror@gmx.de>
12813
12814 * java/nio/Buffer.java: Implemented.
12815 * java/nio/CharBuffer.java: New file.
12816 * java/nio/InvalidMarkException.java: New file.
12817 * java/nio/channels/DatagramChannel.java: Implemented.
12818 * java/nio/channels/ServerSocketChannel.java: Implemented.
12819 * java/nio/channels/SocketChannel.java: Implemented.
12820 * java/nio/channels/spi/AbstractChannel.java: Removed.
12821 * java/nio/channels/spi/AbstractSelectableChannel.java:
12822 Implemented.
12823 * java/nio/charset/Charset.java:
12824 Merge from Classpath.
12825 * java/nio/charset/CharsetDecoder.java: New file.
12826 * java/nio/charset/CharsetEncoder.java: New file.
12827 * java/nio/charset/CoderResult.java: New file.
12828 * Makefile.am (ordinary_java_source_files): Added new files.
12829 * Makefile.in: Regenerated.
12830
12831 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12832
12833 * gnu/java/nio/charset/ISO_8859_1.java,
12834 gnu/java/nio/charset/Provider.java,
12835 gnu/java/nio/charset/US_ASCII.java,
12836 gnu/java/nio/charset/UTF_16.java,
12837 gnu/java/nio/charset/UTF_16BE.java,
12838 gnu/java/nio/charset/UTF_16Decoder.java,
12839 gnu/java/nio/charset/UTF_16Encoder.java,
12840 gnu/java/nio/charset/UTF_16LE.java,
12841 gnu/java/nio/charset/UTF_8.java: New files.
12842
12843 2002-11-11 Michael Koch <konqueror@gmx.de>
12844
12845 * java/nio/charset/CharacterCodingException.java:
12846 This class must be public.
12847 * java/nio/charset/CoderMalfunctionError.java:
12848 This class must be public.
12849 * java/nio/charset/CodingErrorAction.java:
12850 This class must be public.
12851 * java/nio/charset/IllegalCharsetNameException.java:
12852 This class must be public, better implementation.
12853 * java/nio/charset/MalformedInputException.java:
12854 This class must be public, better implementation.
12855 * java/nio/charset/UnmappableCharacterException.java:
12856 This class must be public, better implementation.
12857 * java/nio/charset/UnsupportedCharsetException.java:
12858 This class must be public, better implementation.
12859
12860 2002-11-11 Michael Koch <konqueror@gmx.de>
12861
12862 * java/nio/BufferOverflowException.java,
12863 java/nio/BufferUnderflowException.java: New file.
12864 * Makefile.am (ordinary_java_source_files):
12865 Added new files.
12866 * Makefile.in: Regenerated.
12867
12868 2002-11-10 Tom Tromey <tromey@redhat.com>
12869
12870 * java/awt/Container.java (validate): Use tree lock.
12871 (getComponent): Likewise.
12872 (getComponents): Likewise.
12873 (addImpl): Likewise.
12874 (remove): Likewise.
12875 (removeAll): Likewise.
12876 (processEvent): Fixed indentation.
12877 (getComponentAt): Use tree lock.
12878 (findComponentAt): Likewise.
12879 (removeNotify): Likewise.
12880 (isAncestorOf): Likewise.
12881 (list): Likewise.
12882 (visitChildren): Likewise.
12883 (findNextFocusComponent): Likewise.
12884 (addNotifyContainerChildren): Likewise.
12885 (getAccessibleChildrenCount): Likewise.
12886 (getAccessibleChild): Likewise.
12887
12888 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12889 (getSize): Likewise.
12890 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12891 (getSize): Likewise.
12892 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12893 (calcSize): Likewise.
12894 * java/awt/CardLayout.java (getSize): Use tree lock.
12895 (gotoComponent): Likewise.
12896 (layoutContainer): Likewise.
12897
12898 * java/io/natFileDescriptorWin32.cc (read): Handle case where
12899 count is 0.
12900 * java/io/natFileDescriptorPosix.cc (read): Handle case where
12901 count is 0.
12902
12903 * java/io/Externalizable.java, java/io/FilePermission.java,
12904 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12905 java/io/SerializablePermission.java, java/text/Format.java,
12906 java/util/AbstractMap.java, java/util/HashMap.java,
12907 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12908 versions from Classpath.
12909
12910 2002-11-10 Anthony Green <green@redhat.com>
12911
12912 * java/util/jar/Attributes.java (Name): Fix name check.
12913
12914 2002-11-10 Mark Wielaard <mark@klomp.org>
12915
12916 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12917 with getName() as message.
12918 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12919 type as message.
12920
12921 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12922 unused.
12923
12924 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
12925
12926 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12927 for Win32. JNICALL has been defined to __stdcall to be compatible
12928 with Sun's JDKs.
12929
12930 2002-11-10 Tom Tromey <tromey@redhat.com>
12931
12932 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12933 (setRows): Check newRows, not rows.
12934
12935 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12936
12937 2002-11-09 Tom Tromey <tromey@redhat.com>
12938
12939 * java/applet/Applet.java, java/applet/AppletContext.java,
12940 java/applet/AppletStub.java, java/applet/AudioClip.java,
12941 java/awt/CardLayout.java,
12942 java/awt/ContainerOrderFocusTraversalPolicy.java,
12943 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12944 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12945 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12946 java/awt/color/ICC_ColorSpace.java,
12947 java/awt/color/ICC_Profile.java,
12948 java/awt/color/ICC_ProfileGray.java,
12949 java/awt/color/ICC_ProfileRGB.java,
12950 java/awt/datatransfer/DataFlavor.java,
12951 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12952 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12953 New versions from Classpath.
12954 * Makefile.in: Rebuilt.
12955 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12956 ICC_ProfileRGB.
12957
12958 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12959 display policy.
12960
12961 * java/awt/List.java (processEvent): Added missing `else's.
12962
12963 * java/awt/Window.java (show): validate() before showing. Make
12964 parent displayable.
12965 (isDisplayable): New method.
12966
12967 2002-11-07 Mark Wielaard <mark@klomp.org>
12968
12969 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12970 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12971
12972 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12973 annotation.
12974 (loadClass): Take String as codebases.
12975 (getClassAnnotation): Use MyClassLoader annotations.
12976 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12977 call exportObject(this).
12978
12979 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
12980 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
12981 (setAnnotation): Don't set locBytesStream and locStream.
12982 (replaceObject): Removed.
12983 (flush): Don't test locStream.
12984 (getLocBytes): LikeWise.
12985 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
12986 (leaseCache): New field.
12987 (dirty): Use leaseCache.
12988 (LeaseRecord): New inner class.
12989 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
12990 explicitly call exportObject().
12991 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
12992 false to communicate with Sun JDK130.
12993 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
12994 * gnu/java/rmi/server/RMIObjectInputStream.java
12995 (UnicastConnectionManager): Removed field.
12996 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
12997 Use UnicastServer.getExportedRef().
12998 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
12999 (expireTime): Likewise.
13000 (CONNECTION_TIMEOUT): Likewise.
13001 (disconnect): Call sock.close().
13002 (isExpired): New method.
13003 (resetTime): Likewise.
13004 (run): Use do while loop and catch Exception for discardConnection().
13005 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
13006 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
13007 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
13008 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
13009 (exportObject): Use refcache.
13010 (unexportObject): Likewise.
13011 (getExportedRef): New method.
13012 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
13013 constructor.
13014 (exportObject): Save manager.serverobj.
13015 (getStub): New method.
13016
13017 2002-11-07 Mark Wielaard <mark@klomp.org>
13018
13019 * java/lang/reflect/natField.cc (getBoolean): Use getType().
13020 (getByte): Likewise.
13021 (getShort): Likewise.
13022 (getInt): Likewise.
13023 (getLong): Likewise.
13024 (getFloat): Likewise.
13025 (getDouble): Likewise.
13026 (get): Likewise.
13027 (setChar): Likewise.
13028 (setByte): Likewise.
13029 (setShort): Likewise.
13030 (setInt): Likewise.
13031 (setLong): Likewise.
13032 (setFloat): Likewise.
13033 (setDouble): Likewise.
13034
13035 2002-11-07 Michael Koch <konqueror@gmx.de>
13036
13037 * java/awt/Choice.java,
13038 java/awt/Container.java,
13039 java/awt/GridBagLayout.java:
13040 Fixed documentation.
13041 * java/awt/peer/ContainerPeer.java:
13042 Reindented.
13043
13044 2002-11-07 Michael Koch <konqueror@gmx.de>
13045
13046 * java/awt/color/ICC_Profile.java:
13047 Added missing constants.
13048 * java/awt/color/ICC_ColorSpace.java
13049 (getMinValue): Added dummy implementation.
13050 (getMaxValue): Added dummy implementation.
13051 * java/awt/datatransfer/DataFlavor.java
13052 (imageFlavor): Added.
13053 (isMimeTypeEqual): Must be final.
13054 (getDefaultRepresentationClass): Must be non-static.
13055 (getDefaultRepresentationClassAsString): Must be non-static.
13056 * java/awt/dnd/DragSourceContext.java
13057 (dragExit): Corrected argument.
13058 (dragDropEnd): Corrected argument.
13059 * java/awt/dnd/DragSourceListener.java.java
13060 (dragExit): Corrected argument.
13061 (dragDropEnd): Corrected argument.
13062 * java/awt/font/TextHitInfo.java
13063 (toString): Added stubbed implementation.
13064 * java/awt/geom/PathIterator.java:
13065 The constants must be static.
13066 * java/awt/image/VolatileImage.java
13067 (IMAGE_INCOMPATIBLE): Fixed typo.
13068 * java/awt/image/renderable/RenderableImage.java
13069 (HINTS_OBSERVED): Must be static.
13070 * java/beans/BeanInfo.java:
13071 Constants must be final.
13072
13073 2002-11-06 Tom Tromey <tromey@redhat.com>
13074
13075 From svens@it.uu.se. For PR libgcj/8481.
13076 * java/util/Random.java (nextInt(int)): Only use 31 bits.
13077
13078 2002-11-06 Tom Tromey <tromey@redhat.com>
13079
13080 * jni.cc (array_from_valist): Assume that jlong won't be
13081 promoted.
13082
13083 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
13084
13085 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
13086 Return 20.
13087 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
13088 Return 16.
13089
13090 2002-11-03 Tom Tromey <tromey@redhat.com>
13091
13092 * java/lang/ClassLoader.java (loadClass): Call loadClass on
13093 VMClassLoader, not findClass.
13094
13095 2002-11-03 Jeff Sturm <jsturm@one-point.com>
13096
13097 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
13098 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
13099 _Jv_DetermineVTableIndex, to determine vtable offset.
13100 (_Jv_DetermineVTableIndex): Remove.
13101 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
13102
13103 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
13104
13105 2002-11-03 Tom Tromey <tromey@redhat.com>
13106
13107 * java/nio/channels/AlreadyConnectedException.java: Extend
13108 IllegalStateException, per spec.
13109
13110 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
13111
13112 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
13113
13114 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
13115
13116 * java/util/ArrayList.java (readObject, writeObject): Only read/write
13117 size items.
13118
13119 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
13120
13121 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13122 initial estimated size to avoid enlarge buffer frequently.
13123
13124 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
13125
13126 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13127 ClassLoader when null.
13128 (ProxyType.hashCode): Loader null check no longer needed.
13129 (ProxyType.sameTypes): New method.
13130 (ProxyType.equals): Use new method.
13131
13132 2002-10-31 Mark Wielaard <mark@klomp.org>
13133
13134 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
13135 length of String.
13136 * java/net/URLEncoder.java (encode): Likewise.
13137
13138 2002-10-31 Mark Wielaard <mark@klomp.org>
13139
13140 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13141 when stream is closed.
13142 (closeEntry): Likewise.
13143 (read): Likewise.
13144 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13145 ZipException when no entry active.
13146 (closeEntry): Likewise.
13147 (write): Likewise.
13148
13149 2002-11-02 Tom Tromey <tromey@redhat.com>
13150
13151 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13152 * java/lang/natClass.cc (initializeClass): Don't return just
13153 because self==thread.
13154
13155 For PR java/8415:
13156 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13157 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13158
13159 2002-11-02 Andreas Schwab <schwab@suse.de>
13160
13161 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13162 pass GCJFLAGS.
13163 (FLAGS_TO_PASS): Define.
13164 * Makefile.in: Regenerated.
13165
13166 2002-11-01 Michael Koch <konqueror@gmx.de>
13167
13168 * java/nio/ByteOrder.java: New file.
13169 * java/nio/channels/DatagramChannel.java:
13170 (DatagramChannel): New constructor.
13171 * java/nio/channels/Pipe.java: New file.
13172 * java/nio/channels/SelectableChannel.java: New file.
13173 * java/nio/channels/SelectionKey.java: New file.
13174 * java/nio/channels/Selector.java: New file.
13175 * java/nio/channels/ServerSocketChannel.java
13176 (ServerSocketChannel): New constructor.
13177 * java/nio/channels/SocketChannel.java
13178 (SocketChannel): New constructor.
13179 * java/nio/channels/Pipe.java: New file.
13180 * java/nio/channels/spi/AbstractChannel.java: New file.
13181 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13182 * java/nio/channels/spi/AbstractSelectableChannel.java:
13183 License added
13184 (AbstractSelectableChannel): New stubbed method.
13185 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13186 * java/nio/channels/spi/AbstractSelector.java: New file.
13187 * java/nio/channels/spi/SelectorProvider.java: New file.
13188 * java/nio/charset/Charset.java: New file.
13189 * java/nio/charset/CoderMalfunctionError.java: New file.
13190 * java/nio/charset/CodingErrorAction.java: New file.
13191 * java/nio/charset/spi/CharsetProvider.java
13192 (charsetForName): Uncommented.
13193 * Makefile.am (java_native_source_files): Added new files.
13194 * Makefile.in: Regenerated.
13195
13196 2002-11-01 Michael Koch <konqueror@gmx.de>
13197
13198 * java/net/InetAddress.java:
13199 (isAnyLocalAddress): Implemented.
13200 (isLoopbackAddress): Implemented, comment added.
13201 (isLinkLocalAddress): Implemented, documentation added.
13202 (isSiteLocalAddress): Implemented, documentation added.
13203 (isMCGlobal): Implemented, documentation added.
13204 (isMCNodeLocal): Implemented, documentation added.
13205 (isMCLinkLocal): Implemented, documentation added.
13206 (isMCSiteLocal): Implemented, documentation added.
13207 (isMCOrgLocal): Implemented, documentation added.
13208 (getHostName): Documentation added.
13209 (getCanonicalHostName): Implemented, documentation added.
13210 (getAddress): Documentation added.
13211 (hashCode): Documentation added.
13212 (equals): Documentation added.
13213 (toString): Fixed implementation.
13214 (getByAddress): Use Inet4Address and Inet6Address.
13215 (lookup): New linewrap.
13216 (getByName): SecurityManager check added, support Inet4Address and
13217 Inet6address, comments added.
13218 (getAllByName): SecurityManager check added, comments added.
13219 * java/net/Inet6Address.java:
13220 (Inet6Address): Initialize parent class with addr instead of null.
13221 * java/net/URL.java
13222 (equals): Documentation added.
13223 (getFile): Documentation added.
13224 (hashCode): Documentation added.
13225 * java/net/natInetAddress.cc:
13226 (aton): Fix IPv6 support.
13227 * java/net/natPlainDatagramSocketImpl.cc:
13228 (peek): Throw PortUnreachableException when suitable.
13229 (peekData): Throw PortUnreachableException when suitable.
13230 (send): Throw PortUnreachableException when suitable.
13231 (receive): Throw PortUnreachableException when suitable.
13232
13233 2002-10-27 Mark Wielaard <mark@klomp.org>
13234
13235 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13236 argument.
13237 (readLeShort): Likewise and use byte[].
13238 (readLeInt): Likewise.
13239 (readEntries): Use new versions of methods and use byte[] for reading
13240 a complete zip entry. Add ZipFile name to exceptions.
13241 (entries): Add ZipFile name to exceptions.
13242 (getEntry): Likewise.
13243 (checkLocalHeader): Use new versions of methods and add ZipFile name
13244 to exceptions.
13245
13246 2002-10-31 Mark Anderson <mark@panonet.net>
13247
13248 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13249 added
13250
13251 2002-10-25 Krister Walfridsson <cato@df.lth.se>
13252
13253 * configure.in: Disable hash sync when not using threads.
13254 * configure: Regenerated.
13255
13256 2002-10-24 Tom Tromey <tromey@redhat.com>
13257
13258 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13259 (_Jv_FindSymbolInExecutable): Removed argument name.
13260 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13261 java.library.path is set.
13262
13263 * gij.cc (help): Document --showversion.
13264 (version): Don't exit.
13265 (main): Handle --showversion. Exit if --version given.
13266
13267 2002-10-23 Tom Tromey <tromey@redhat.com>
13268
13269 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13270 (array_from_valist): Correctly handle promotion for jint, jlong,
13271 jfloat, and jdouble.
13272
13273 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
13274
13275 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13276 GetFileAttributesEx( ) to find file length and modification times,
13277 as the latter is not present on Windows 95.
13278
13279 2002-10-21 Michael Koch <konqueror@gmx.de>
13280
13281 * java/net/URL.java
13282 (URL): Activate SecurityManager checks.
13283 (equals): Use URLStreamHandler implementation instead of doing it
13284 alone. This allows special protocol stream handlers to change default
13285 behaviour.
13286 (hashCode): Use URLStreamHandler implementation instead of doing it
13287 alone. This allows special protocol stream handlers to change default
13288 behaviour.
13289 * java/net/URLStreamHandler.java
13290 (equals): Implemented default URL equality check.
13291 (hostsEqual): Implemented default URL equality check.
13292 (hashCode): Implemented default URL hashCode algorithm.
13293 * java/net/natPlainDatagramSocketImpl.cc:
13294 No lines longer then 80 characters.
13295
13296 2002-10-20 Adam Megacz <adam@xwt.org>
13297
13298 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13299 * configure.in: enabled hash sync on Win32
13300 * include/win32-threads.h (_Jv_ThreadId_t): added.
13301 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13302 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13303 removed some posix-isms, use Thread::sleep() instead of usleep,
13304 added code to clear bottom three bits if platform has a broken
13305 linker.
13306 * include/win32-threads.h (_Jv_ThreadId_t): added.
13307
13308 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
13309
13310 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13311 runtime property "gnu.gcj.progname" containing the name used to
13312 invoke the current Java program (similar to argv[0] for C
13313 programs).
13314
13315 2002-10-15 Tom Tromey <tromey@redhat.com>
13316
13317 Fix for PR libgcj/8234:
13318 * java/util/zip/natInflater.cc (reset): Reset avail_in.
13319 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13320
13321 2002-10-13 Mark Wielaard <mark@klomp.org>
13322
13323 * mauve-libgcj: Enable Mauve tests that compile now.
13324
13325 2002-10-11 Mark Wielaard <mark@klomp.org>
13326
13327 Fix for PR libgcj/8142
13328 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13329 loading native modules.
13330
13331 2002-10-10 Michael Koch <konqueror@gmx.de>
13332
13333 * javax/swing/AbstractListModel.java
13334 (getListDataListeners): New stubbed method.
13335 javax/swing/DefaultBoundedRangeModel.java
13336 (getChangeListeners): New stubbed method.
13337 javax/swing/DefaultSingleSelectionModel.java
13338 (getChangeListeners): New stubbed method.
13339
13340 2002-10-10 Michael Koch <konqueror@gmx.de>
13341
13342 * gcj/.cvsignore: New file to ignore files generated during build.
13343 * include/.cvsignore: New file to ignore files generated during build.
13344
13345 2002-10-10 Michael Koch <konqueror@gmx.de>
13346
13347 * java/net/HttpURLConnection.java
13348 (getPermission): New method.
13349 (getErrorStream): New stub method.
13350 (getHeaderFieldDate): New stub method.
13351 * java/net/Inet4Address.java:
13352 (isLinkLocalAddress): Typo fixed.
13353 * java/net/InetAddress.java:
13354 (readResolve): New stubbed method (for serialization).
13355 (isAnyLocalAddress): New stubbed method.
13356 (isLoopbackAddress): New stubbed method.
13357 (isLinkLocalAddress): New stubbed method.
13358 (isSiteLocalAddress): New stubbed method.
13359 (isMCGlobal): New stubbed method.
13360 (isMCNodeGlobal): New stubbed method.
13361 (isMCLinkLocal): New stubbed method.
13362 (isMCSiteLocal): New stubbed method.
13363 (isMCOrgLocal): New stubbed method.
13364 (getCanonicalHostName): New stubbed method.
13365 (getByAddress): Create instances of Inet4Address/Inet6Address,
13366 instead of InetAddress, documentation added.
13367 * java/net/MulticastSocket.java
13368 (getInterface): Removed FIXME.
13369 (getNetworkInterface): New method.
13370 (setNetworkInterface): New method.
13371 * java/net/NetworkInterface.java:
13372 (toString): Use property "line.separator" instead of "\n".
13373 * java/net/URLConnection.java
13374 (getContent): New stubbed method.
13375 * java/net/URLStreamHandler.java:
13376 (equals): New stubbed method.
13377 (hostsEqual): New stubbed method.
13378 (hashCode): New stubbed method.
13379 * java/net/natNetworkInterface.cc:
13380 (getRealNetworkInterfaces): Create Inet4Address object
13381 instead of InetAddress.
13382
13383 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
13384
13385 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13386 unsigned long temporary to implement insn_iushr shifts.
13387
13388 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
13389
13390 * configure.host [s390*-*]: Enable Java interpreter.
13391 Enable hash synchronization. Add sysdeps dir.
13392 * sysdep/s390/locks.h: New file.
13393
13394 2002-10-06 Mark Wielaard <mark@klomp.org>
13395
13396 * java/lang/Thread.java (setDaemon): Check startable_flag,
13397 not isAlive().
13398
13399 2002-10-07 Michael Koch <konqueror@gmx.de>
13400
13401 * java/nio/Buffer.java: New stub file.
13402 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13403 of class Charset.
13404 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13405 * Makefile.in: Regenerated.
13406
13407 2002-10-07 Michael Koch <konqueror@gmx.de>
13408
13409 * java/nio/ByteBuffer.java:
13410 removed import of not commited class.
13411
13412 2002-10-07 Michael Koch <konqueror@gmx.de>
13413
13414 * java/nio/ByteBuffer.java,
13415 java/nio/MappedByteBuffer.java:
13416 New files, forgot to add these dummies.
13417 * Makefile.am (java_native_source_files): Added new files.
13418 * Makefile.in: Regenerated.
13419
13420 2002-10-07 Michael Koch <konqueror@gmx.de>
13421
13422 * java/nio/channels/AlreadyConnectedException.java,
13423 java/nio/channels/ClosedChannelException.java,
13424 java/nio/channels/ReadableByteChannel.java,
13425 java/nio/channels/InterruptibleChannel.java,
13426 java/nio/channels/Channel.java,
13427 java/nio/channels/ByteChannel.java,
13428 java/nio/channels/GatheringByteChannel.java,
13429 java/nio/channels/ScatteringByteChannel.java,
13430 java/nio/channels/WritableByteChannel.java,
13431 java/nio/charset/CharacterCodingException.java,
13432 java/nio/charset/IllegalCharsetNameException.java,
13433 java/nio/charset/MalformedInputException.java,
13434 java/nio/charset/UnmappableCharacterException.java,
13435 java/nio/charset/UnsupportedCharsetException.java,
13436 java/nio/charset/spi/CharsetProvider.java: New file.
13437 These files are exceptions or interfaces,
13438 no real or abstract classes.
13439 * Makefile.am (java_native_source_files): Added new files.
13440 * Makefile.in: Regenerated.
13441
13442 2002-10-05 Michael Koch <konqueror@gmx.de>
13443
13444 * java/net/InetAddress.java
13445 (getByAddress): Fixed documentation.
13446 (getByAddress): New method.
13447 * java/net/Inet4Address.java: New file.
13448 * java/net/URL.java
13449 (URL): Documentation added.
13450 (getContent): Documentation added.
13451 (getContent): New stubbed method.
13452 (getQuery): New method.
13453 (openConnection): Documentation added.
13454 (openStream): Documentation added.
13455 (setURLStreamHandlerFactory): Documentation added.
13456 * java/net/URI.java: New stub file.
13457 * Makefile.am
13458 (java_native_source_files): Added java/net/Inet4Address.java,
13459 java/net/Inet6Address.java and java/net/URI.java.
13460 * Makefile.in: Regenerated.
13461
13462 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13463
13464 * java/lang/ProtectionDomain.java (linesep): Remove field.
13465 (toString): Use System.getProperty("line.separator").
13466
13467 2002-10-04 Michael Koch <konqueror@gmx.de>
13468
13469 * java/security/Identity.java: Added serialVersionUID.
13470 * java/security/KeyPair.java: Added serialVersionUID.
13471 * java/security/Provider.java: Added serialVersionUID.
13472 * java/security/SecureRandom.java: Added serialVersionUID.
13473 * java/security/SecureRandomSpi.java: Added serialVersionUID.
13474 * java/security/SignedObject.java: Added serialVersionUID.
13475 * java/security/cert/Certificate.java: Added serialVersionUID.
13476
13477 2002-10-04 Mark Wielaard <mark@klomp.org>
13478
13479 * java/security/Security.java: Use java.home or gnu.classpath.home
13480 to load providers.
13481 (loadProviders): Extra dir argument.
13482 (getProvider): Return null when not found.
13483
13484 2002-10-04 Mark Wielaard <mark@klomp.org>
13485
13486 * java/lang/Throwable.java: Remerge with Classpath.
13487
13488 2002-10-04 Michael Koch <konqueror@gmx.de>
13489
13490 * java/net/InetAddress.java:
13491 (isMulticastAddress): Added documentation.
13492 (getHostAddress): Added documentation.
13493 (toString): Added documentation.
13494 (getByAddress): Fixed documentation.
13495 (getByName): Added documentation.
13496 (getAllByName): Added documentation.
13497 (getLocalHost): Added documentation.
13498
13499 2002-10-04 Michael Koch <konqueror@gmx.de>
13500
13501 * java/beans/beancontext/BeanContextChildSupport.java:
13502 Added serialVersionUID.
13503 * java/text/Collator.java: (compare): Made documentation HTML-aware.
13504 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13505 * javax/naming/Name.java: Added serialVersionUID.
13506
13507 2002-10-03 Adam Megacz <adam@xwt.org>
13508
13509 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13510 some functionality that isn't supported yet on WIN32.
13511
13512 2002-10-03 Tom Tromey <tromey@redhat.com>
13513
13514 * Makefile.in: Rebuilt.
13515 * Makefile.am (awt_java_source_files): Added new files.
13516
13517 2002-10-03 Michael Koch <konqueror@gmx.de>
13518
13519 * java/net/InetAddress.java
13520 (class InetAddress): Removed final keyword.
13521 (equals): Fixed typo.
13522 (getByAddress): New method.
13523
13524 2002-10-03 Michael Koch <konqueror@gmx.de>
13525
13526 * java/awt/dnd/Autoscroll.java:
13527 New file, merge from Classpath.
13528 * java/awt/dnd/DragSourceAdapter.java:
13529 (dragExit): Fixed typos in argument type.
13530 (dragDropEnd): Fixed typos in argument type.
13531 * java/awt/dnd/DragSourceDropEvent.java:
13532 New file, merge from Classpath.
13533 * java/awt/dnd/DropTarget.java:
13534 Added stubs, merge from Classpath.
13535 * java/awt/dnd/DropTargetAdapter.java:
13536 New file, merge from Classpath.
13537 * java/awt/dnd/DropTargetContext.java:
13538 New file, merge from Classpath.
13539 * java/awt/dnd/DropTargetDragEvent.java:
13540 New file, merge from Classpath.
13541 * java/awt/dnd/DropTargetDropEvent.java:
13542 New file, merge from Classpath.
13543 * java/awt/dnd/DropTargetEvent.java:
13544 New file, merge from Classpath.
13545 * java/awt/dnd/DropTargetListener.java:
13546 New file, merge from Classpath.
13547 * java/awt/dnd/MouseDragGestureRecognizer.java:
13548 New file, merge from Classpath.
13549 * java/awt/dnd/peer/DropTargetContextPeer.java:
13550 New file, merge from Classpath.
13551
13552 2002-10-03 Michael Koch <konqueror@gmx.de>
13553
13554 * java/net/DatagramPacket.java
13555 (setLength): Fixed typo and be HTML-aware.
13556 * java/net/InetSocketAddress.java
13557 (InetSocketAddress): Correct initialization of hostname, fixed typo.
13558 (equals): Added comment about equality of InetSocketAddress objects.
13559 * java/net/ServerSocket.java
13560 (accept): Added checks.
13561 (isClosed): New stubbed method.
13562 * java/net/SocketOptions.java: Reindention.
13563 * java/net/SocketPermission
13564 (SocketPermission): Documentation fixed.
13565
13566 2002-10-03 Michael Koch <konqueror@gmx.de>
13567
13568 * java/net/DatagramSocket.java
13569 (receive): Check with SecurityManager AFTER the packet is received,
13570 check if connected to multicast address, documentation added.
13571 (send): Only check SecurityManager if connected, check address of
13572 packet to send.
13573 (connect): Implemented, documentation added.
13574 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13575 * java/net/InetSocketAddress.java
13576 (whole file): Reindented.
13577 (hostname): New attribute.
13578 (InetSocketAddress): Initialize new attribute.
13579 (getAddress): Documentation added.
13580 (getHostName): Documentation added.
13581 (getPort): Documentation added.
13582 (hashCode): Documentation added.
13583 (isUnresolved): Documentation added.
13584 (toString): Conform to output of JDK 1.4.1, documentation added.
13585 * java/net/MulticastSocket.java
13586 (joinGroup): Removed FIXME, documentation added.
13587 (leaveGroup): Removed FIXME, documentation added.
13588 (send): Documentation added.
13589 * java/net/Socket.java
13590 (inputShutdown): New variable.
13591 (outputShutdown): New variable.
13592 (Socket): Initialize new variables.
13593 (getRemoteSocketAddress): Check if connected.
13594 (shutdownInput): Set new variable.
13595 (shutdownOutput): Set new variable.
13596 (isConnected): New method.
13597 (isClosed): New method.
13598 (isInputShutdown): New method.
13599 (isOutputShutdown): New method.
13600 * java/net/URLStreamHandler.java
13601 (URLStreamHandler): New method.
13602 (openConnection): Added documentation.
13603 (parseURL): Added documentation.
13604 (getHostAddress): New method.
13605 (getDefaultPort): New method.
13606
13607 2002-10-02 Tom Tromey <tromey@redhat.com>
13608
13609 * java/rmi/activation/ActivationDesc.java,
13610 java/rmi/activation/ActivationGroupDesc.java,
13611 java/rmi/activation/ActivationGroupID.java,
13612 java/rmi/activation/ActivationID.java: New versions from
13613 Classpath.
13614
13615 2002-09-30 Bo Thorsen <bo@suse.de>
13616
13617 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13618
13619 2002-09-30 Tom Tromey <tromey@redhat.com>
13620
13621 * java/io/ObjectInputStream.java (resolveProxyClass): New method
13622 from Classpath.
13623 * Makefile.in: Rebuilt.
13624 * Makefile.am (rmi_java_source_files): Added new files.
13625 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13626 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13627 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13628 Classpath.
13629 * gnu/java/rmi/dgc/DGCImpl.java,
13630 gnu/java/rmi/dgc/DGCImpl_Skel.java,
13631 gnu/java/rmi/dgc/DGCImpl_Stub.java,
13632 gnu/java/rmi/registry/RegistryImpl_Skel.java,
13633 gnu/java/rmi/registry/RegistryImpl_Stub.java,
13634 gnu/java/rmi/server/RMIHashes.java,
13635 gnu/java/rmi/server/RMIObjectInputStream.java,
13636 gnu/java/rmi/server/RMIObjectOutputStream.java,
13637 gnu/java/rmi/server/UnicastConnection.java,
13638 gnu/java/rmi/server/UnicastConnectionManager.java,
13639 gnu/java/rmi/server/UnicastRef.java,
13640 gnu/java/rmi/server/UnicastServer.java,
13641 gnu/java/rmi/server/UnicastServerRef.java,
13642 java/rmi/MarshalledObject.java,
13643 java/rmi/server/RMIClassLoader.java,
13644 java/rmi/server/RemoteObject.java,
13645 java/rmi/server/UnicastRemoteObject.java,
13646 java/security/SecureClassLoader.java: Merged from Classpath.
13647
13648 2002-09-29 Anthony Green <green@redhat.com>
13649
13650 * java/lang/reflect/UndeclaredThrowableException.java: New file.
13651 Imported from GNU Classpath.
13652 * java/lang/reflect/natProxy.cc: New file.
13653 * java/lang/reflect/InvocationHandler.java: New file. Imported
13654 from GNU Classpath.
13655 * java/lang/reflect/Proxy.java: New file. Imported from GNU
13656 Classpath.
13657 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13658 Classpath.
13659 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13660 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13661 New statics.
13662 * gcj/javaprims.h ("Java"): Add new classes.
13663 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13664 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13665 java/lang/reflect/Proxy$$ProxyType.h): And this.
13666 (inner_nat_headers): Add these new headers.
13667 (ordinary_java_source_files): Add new files.
13668 (nat_source_files): Add new file.
13669 * Makefile.in: Rebuilt.
13670
13671 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
13672
13673 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13674 a single configuration.
13675
13676 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13677
13678 * java/util/TimeZone.java (getDSTSavings): New method.
13679 Fixes PR libgcj/7786.
13680
13681 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13682
13683 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13684 to see if `the_method == 0' before looking up vtable index.
13685 Fixes PR libgcj/7709.
13686
13687 2002-09-25 Tom Tromey <tromey@redhat.com>
13688
13689 * java/lang/natClassLoader.cc:
13690 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13691 * resolve.cc: Include NoClassDefFoundError.h, not
13692 ClassNotFoundException.h.
13693 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13694
13695 * defineclass.cc: Don't include ClassNotFoundException.h.
13696
13697 * resolve.cc: Include StringBuffer.
13698 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13699
13700 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13701 allocated but not initialized.
13702
13703 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13704
13705 Fix for PR libgcj/7766:
13706 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13707 (getNextEntry): Set it.
13708 (closeEntry): Likewise.
13709 (read): Likewise.
13710 (close): Likewise.
13711 (available): Use it.
13712
13713 2002-09-25 Michael Koch <konqueror@gmx.de>
13714
13715 * java/net/DatagramSocket.java
13716 (DatagramSocket): Initialize new instance variables.
13717 (close): Reset new instance variables.
13718 (getLocalAddress): Remove unneeded SecurityManager usage.
13719 (getLocalPort): Check if socket is already bound.
13720 (isConnected): New method.
13721 (getInetAddress): Implemented.
13722 (getPort): Better Implementation, documentation fixed.
13723 (getRemoteSocketAddress): New method.
13724 * java/net/JarURLConnection.java
13725 (element): Typo fixed.
13726 (getMainAttributes): New method.
13727 (getAttributes): New method (stub only).
13728 (getManifest): New method (stub only).
13729 * java/net/NetPermission.java: Added serialVersionsUID.
13730 * java/net/Socket.java
13731 (connect): Check blocking mode of associated channel,
13732 documentation added.
13733 (getLocalSocketAddress): Better implementation.
13734 (getRemoteSocketAddress): Implemented.
13735 (isBound): New method.
13736 (setSendBufferSize): Documentation added.
13737 * java/net/SocketAddress.java: Added serialVersionsUID.
13738 * java/net/SocketPermission.java: Added serialVersionsUID.
13739 * java/net/URL.java
13740 (URL): Wrap for shorter lines, initialize new instance variables,
13741 documentation added.
13742 (equals): Check new instance variables too.
13743 (getContent): Documentation added.
13744 (getPath): Documentation added.
13745 (getAuthority): New method.
13746 (getHost): Documentation added.
13747 (getPort): Documentation added.
13748 (getDefaultPort): New method.
13749 (getProtocol): Documentation added.
13750 (getUserInfo): Documentation added.
13751 (set): Initialize new instance variables, documentation added.
13752 * java/net/URLStreamHandler.java
13753 (setURL): New method.
13754 * java/net/natPlainDatagramSocketImpl.cc
13755 (connect): Fix exception name.
13756 (disconnect): Fix exception name.
13757
13758 2002-09-25 Michael Koch <konqueror@gmx.de>
13759
13760 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13761 * java/nio/channels/DatagramChannel.java:
13762 extends AbstractSelectableChannel
13763 * java/nio/channels/ServerSocketChannel.java:
13764 extends AbstractSelectableChannel
13765 * java/nio/channels/SocketChannel.java:
13766 extends AbstractSelectableChannel
13767 * Makefile.am (ordinary_java_source_files):
13768 java/nio/channels/spi/AbstractSelectableChannel.java added.
13769 * Makefile.in: Regenerated.
13770
13771 2002-09-25 Michael Koch <konqueror@gmx.de>
13772
13773 * java/net/DatagramSocket.java
13774 (DatagramSocket): Exception documentation added.
13775 (bind): Exception documentation added, addded SecurityManager check,
13776 added SocketAddress type check.
13777 (getSoTimeout): Check impl.
13778 (receive): Fix SecurityManager check, check impl, documentation added.
13779 (send): Check channel mode, documentation added.
13780 (connect): New method.
13781 (disconnect): Implemented.
13782 (getLocalSocketAddress): New method.
13783 (getReceiveBufferSize): Check impl.
13784 (setReuseAddress): Check impl.
13785 (getReuseAddress): Check impl.
13786 (setBroadcast): Check impl.
13787 (getBroadcast): Check impl.
13788 (setTrafficClass): Check impl, Documentation cleared.
13789 (getTrafficClass): Check impl.
13790 (getSendBufferSize): Check impl.
13791 (setReceiveBufferSize): Check impl, documentation added.
13792 (setSendBufferSize): Documentation added.
13793 (setDatagramSocketImplFactory): New method.
13794 * java/net/HttpURLConnection.java
13795 (HTTP_INTERNAL_ERROR): The correct code is 500.
13796 (HTTP_NOT_IMPLEMENTED): Added new constant.
13797 (setFollowRedirects): Documentation added.
13798 (getInstanceFollowRedirects): New method.
13799 (setInstanceFollowRedirects): New method.
13800 (setRequestMethod): Documentation added.
13801 (getResponseCode): Documentation added.
13802 (getResponseMessage): Documentation added.
13803 * java/net/JarURLConnection.java
13804 (JarURLConnection): protected since JDK 1.4.
13805 (getJarEntry): java.io.IOException to IOException, documentation added.
13806 (getJarFile): Documentation added.
13807 * java/net/ServerSocket.java
13808 (ServerSocket): Private to public, exception added.
13809 (ServerSocket): java.io.IOException to IOException, documentation added.
13810 (bind): Check socket address type, documentation added.
13811 (bind): java.io.IOException to IOException, documentation added.
13812 (accept): Documentation added.
13813 (implAccept): Check ch is not non-blocking, documentation added.
13814 (setSoTimeout): Documentation fixed.
13815 (setReceiveBufferSize): Documentation added.
13816 * java/net/Socket.java
13817 (Socket): Documentation added.
13818 (bind): Documentation added.
13819 (connect): Check socket address type, documentation added.
13820 (getRemoteSocketAddress): New method.
13821 (getLocalSocketAddress): New method.
13822 (setSoLinger): Documentation added.
13823 (getReuseAddress): New method.
13824 (setReuseAddress): New method.
13825 (getTrafficClass): New method.
13826 (setTrafficClass): New method.
13827 * java/net/URLStreamHandler.java
13828 (openConnection): java.io.IOException to IOException.
13829 (parseURL): Documentation added.
13830 (sameFile): public to protected, documentation added.
13831 (setURL): Documentation added.
13832 * java/nio/IllegalBlockingModeException.java: New file.
13833 * Makefile.am (ordinary_java_source_files):
13834 added java/nio/IllegalBlockingModeException.java
13835 * Makefile.in: Regenerated.
13836
13837 2002-09-25 Michael Koch <konqueror@gmx.de>
13838
13839 * java/net/DatagramPacket
13840 (DatagramPacket): Exception documentation added.
13841 (setData): Likewise.
13842 (setSocketAddress): Likewise.
13843 * java/net/DatagramSocketImpl.java
13844 (peek): Documentation addded.
13845 (peekData): Documentation addded.
13846 (send): Documentation addded.
13847 (receive): Documentation addded.
13848 (connect): New method.
13849 (disconnect): New method.
13850 (joinGroup): New abstract method.
13851 (leaveGroup): New abstract method.
13852 * java/net/InetSocketAddress.java
13853 (InetSocketAddress): Documentation added.
13854 (equals): final keyword added.
13855 (getAddress): final keyword added.
13856 (getHostName): final keyword added.
13857 (getPort): final keyword added.
13858 (hashCode): final keyword added.
13859 (isUnresolved): final keyword added.
13860 * java/net/MulticastSocket.java
13861 (MulticastSocket): Documentation added.
13862 (MulticastSocket): New method.
13863 (joinGroup): Documentation added.
13864 (joinGroup): New method.
13865 (leaveGroup): Documentation added.
13866 (leaveGroup): New method.
13867 (send): Documentation added.
13868 * java/net/NetworkInterface.java
13869 (getByName): Documentation added.
13870 (getByInetAddress): Documentation added.
13871 (getNetworkInterfaces): Documentation added.
13872 * java/net/PlainDatagramSocketImpl.java
13873 (connect): New method.
13874 (disconnect): New method.
13875 * java/net/SocketImpl.java
13876 (create): Documentation added.
13877 (shutdownInput): Convert public to protected, as it always was.
13878 (shutdownOutput): Convert public to protected, as it always was.
13879 * java/net/SocketOptions.java
13880 (whole file): Reintented.
13881 * java/net/URLClassLoader.java
13882 (URLClassLoader): SecurityManager check added, documentation added.
13883 (findResources): Documentation added.
13884 (findClass): Documentation added.
13885 (newInstance): More correct method arguments.
13886 * java/net/URLConnection.java
13887 (connect): Documentation added.
13888 (getContent): Documentation added.
13889 (getPermission): Documentation added.
13890 (getInputStream): Documentation added.
13891 (getOutputStream): Documentation added.
13892 (setDoInput): Throw correct exception, documentation added.
13893 (setDoOutput): Throw correct exception, documentation added.
13894 (setAllowUserInteraction): Throw correct exception, documentation added.
13895 (setUseCaches): Throw correct exception, documentation added.
13896 (setIfModifiedSince): Throw correct exception, documentation added.
13897 (setRequestProperty): Throw exception, documentation added.
13898 (addRequestProperty): Throw exception, documentation added.
13899 (getRequestProperty): Throw exception, documentation added.
13900 (getRequestProperties): Documentation added.
13901 (setContentHandlerFactory): Documentation added.
13902 (guessContentTypeFromName): protected to public.
13903 (setFileNameMap): Documentation added.
13904 * java/net/URLDecoder.java
13905 (URLDecoder): New method.
13906 (decode): Documentation added.
13907 (whole file): Reindented.
13908 * java/net/URLEncoder.java
13909 (encode): Documentation added.
13910 * java/net/natPlainDatagramSocketImpl.cc
13911 (connect): New method.
13912 (disconnect): New method.
13913 * javax/naming/RefAddr:
13914 (addrType): addrType was never final.
13915 (equals): Fix typo in method name.
13916 * javax/naming/BinaryRefAddr:
13917 (equals): Fix typo in method name.
13918
13919 2002-09-22 Tom Tromey <tromey@redhat.com>
13920
13921 Fix for PR libgcj/6576:
13922 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13923 didn't find a given bundle.
13924 (getBundle): Don't require base bundle.
13925 (setParent): Removed old comment.
13926 (tryLocalBundle): Try components even if preceding components were
13927 empty.
13928
13929 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13930
13931 * Makefile.am (all-multi): Fix multilib parallel build.
13932
13933 2002-09-21 Michael Koch <konqueror@gmx.de>
13934
13935 * java/net/Socket.java
13936 (sendUrgentData): New method.
13937 (getChannel): New method.
13938 * java/net/ServerSocket.java
13939 (getChannel): New method.
13940 (isBound): New method.
13941 * java/net/DatagramSocket.java
13942 (DatagramSocket): Two new methods.
13943 (bind): New method.
13944 (getChannel): New method.
13945 (isBound): New method.
13946 (send): Added newline to to make shorter lines.
13947 * java/net/PlainDatagramSocketImpl.java
13948 (mcastGrp): Added argument.
13949 (join): Use new mcastGrp.
13950 (leave): Use new mcastGrp.
13951 (joinGroup): New method.
13952 (leaveGroup): New method.
13953 * java/net/natPlainDatagramSocketImpl.cc
13954 (mcastGrp): Added argument, no yet really implemented.
13955 (getOption): Added newline for shorter lines.
13956 * java/net/natPlainSocketImpl.cc
13957 (read, setOption, getOption): Added newline for shorter lines.
13958
13959 2002-09-19 Tom Tromey <tromey@redhat.com>
13960
13961 * java/lang/ClassLoader.java (resolveClass0): Set cause for
13962 newly-created exception.
13963
13964 2002-09-18 Michael Koch <konqueror@gmx.de>
13965
13966 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13967 java/util/regex/PatternSyntaxException.java:
13968 Merge with classpath, new files.
13969 * Makefile.am (core_java_source_files):
13970 Added java/util/regex/Matcher.java,
13971 java/util/regex/Pattern.java,
13972 java/util/regex/PatternSyntaxException.java
13973 * Makefile.in: Regenerated.
13974 * include/config.h.in: Added HAVE_NET_IF_H.
13975 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13976 Removed #if 0 ... #endif.
13977
13978 2002-09-17 Michael Koch <konqueror@gmx.de>
13979
13980 * java/net/natNetworkInterface.cc:
13981 Removed unneed and yet wrong includes.
13982
13983 2002-09-17 Michael Koch <konqueror@gmx.de>
13984
13985 * java/net/NetworkInterface.java: New file.
13986 * java/net/natNetworkInterface.java: New file.
13987 * configure.in: Added check for net/if.h.
13988 * configure: Regenerated.
13989 * Makefile.am
13990 (ordinary_java_source_files): Added NetworkInterface.java.
13991 (nat_source_files): Added natNetworkInterface.cc.
13992 * Makefile.in: Regenerated.
13993
13994 2002-09-16 Tom Tromey <tromey@redhat.com>
13995
13996 * java/net/URLClassLoader.java (findClass): Code source for a
13997 class from a jar is not necessarily a jar: URL.
13998
13999 2002-09-16 Michael Koch <konqueror@gmx.de>
14000
14001 * java/lang/AssertionError.java:
14002 Merge with classpath, fixes HTML.
14003 * java/rmi/server/LogStream.java:
14004 Merge with classpath, fixes some constants.
14005 * java/net/server/RemoteServer.java:
14006 Merge with classpath, adds serialVersionUID.
14007 * javax/naming/BinaryRefAddr.java:
14008 Merge with classpath, s/equal/equals/.
14009 * javax/naming/NamingException.java:
14010 Merge with classpath, fixed typo.
14011 * javax/naming/RefAddr.java:
14012 Merge with classpath, s/equal/equals/.
14013 * java/awt/Toolkit.java:
14014 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
14015 and typo fixed.
14016
14017 2002-09-15 Adam Megacz <adam@xwt.org>
14018
14019 * java/net/natPlainSocketImpl.cc: fixed typo.
14020
14021 2002-09-15 Adam Megacz <adam@xwt.org>
14022
14023 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
14024 which don't work on Win32 (yet).
14025
14026 2002-09-14 Adam Megacz <adam@xwt.org>
14027
14028 * java/net/natPlainDatagramSocket.cc: removed #include
14029 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
14030 * include/win32.h: included definition for IP_TOS to satisfy
14031 natPlainDatagramSocket.cc
14032
14033 2002-09-13 Michael Koch <konqueror@gmx.de>
14034
14035 * java/net/DatagramPacket.java (DatagramPacket):
14036 Added linebreak for 80 chars per line.
14037 * java/net/JarURLConection.java
14038 (getInputStreami, getJarEntry): Likewise.
14039 * java/net/SocketPErmission.java
14040 (SocketPermission class docu, implies): Likewise.
14041 * java/net/URLClassLoader.java (findResources): Likewise.
14042 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
14043
14044 2002-09-13 Michael Koch <konqueror@gmx.de>
14045
14046 * java/nio/channels/DatagramChannel.java,
14047 java/nio/channels/ServerSocketChannel.java
14048 java/nio/channels/SocketChannel.java:
14049 New dummy files to make java.net fully JDK 1.4 compatible
14050 * Makefile.am (ordinary_java_source_files): Added
14051 java/net/DatagramSocketImplFactory.java (long forgotten),
14052 java/nio/SocketChannel.java,
14053 java/nio/ServerSocketChannel.java,
14054 java/nio/DatagramChannel.java
14055 * Makefile.in: Regenrated.
14056
14057 2002-09-12 Michael Koch <konqueror@gmx.de>
14058
14059 * java/net/DatagramSocketImpl.java
14060 (peekData): New method.
14061 * java/net/PlainDatagramSocketImpl.java
14062 (peekData): New method.
14063 * java/net/natPlainDatagramSocketImpl.cc
14064 (peekData): New method.
14065 * java/net/URLConnection
14066 (getPermission): New method.
14067 (addRequestProperty): New method.
14068 (getRequestProperties): New method.
14069 (guessContentTypeFromStream): New method, not really implemented.
14070 (URLConnection): Added/updated documentation.
14071 (connect): Added/updated documentation.
14072 (getURL): Added/updated documentation.
14073 (getContentLength): Added/updated documentation.
14074 (getContentType: Added/updated documentation.
14075 (getContentEncoding): Added/updated documentation.
14076 (getExpiration): Added/updated documentation.
14077 (getDate): Added/updated documentation.
14078 (getLastModified): Added/updated documentation.
14079 (getHeaderField): Added/updated documentation.
14080 (getHeaderFields): Added/updated documentation.
14081 (getHeaderFieldInt): Added/updated documentation.
14082 (getHeaderFieldDate): Added/updated documentation.
14083 (getHeaderFieldKey): Added/updated documentation.
14084 (getContent): Added/updated documentation.
14085 (getInputStream): Added/updated documentation.
14086 (getOutputStream): Added/updated documentation.
14087 (toString): Added/updated documentation.
14088 (setDoInput): Added/updated documentation.
14089 (getDoInput): Added/updated documentation.
14090 (setDoOutput): Added/updated documentation.
14091 (getDoOutput): Added/updated documentation.
14092 (setAllowUserInteraction): Added/updated documentation.
14093 (getAllowUserInteraction): Added/updated documentation.
14094 (setDefaultAllowUserInteraction): Added/updated documentation.
14095 (getDefaultAllowUserInteraction): Added/updated documentation.
14096 (setUseCaches): Added/updated documentation.
14097 (getUseCaches): Added/updated documentation.
14098 (setIfModifiedSince): Added/updated documentation.
14099 (getIfModifiedSince): Added/updated documentation.
14100 (getDefaultUseCaches): Added/updated documentation.
14101 (setDefaultUseCaches): Added/updated documentation.
14102 (setRequestProperty): Added/updated documentation.
14103 (getRequestProperty): Added/updated documentation.
14104 (setDefaultRequestProperty): Added/updated documentation.
14105 (getDefaultRequestProperty): Added/updated documentation.
14106 (setContentHandlerFactory): Added/updated documentation.
14107 (guessContentTypeFromName): Added/updated documentation.
14108 (getFileNameMap): Added/updated documentation.
14109 (setFileNameMap): Added/updated documentation.
14110
14111 2002-09-11 Michael Koch <konqueror@gmx.de>
14112
14113 * java/net/Socket.java
14114 (Socket): protected to public (since JDK 1.4). Added @specnote.
14115 (bind): New method.
14116 (connect): Two new methods.
14117 (getKeepalive): Get correct socket option.
14118 (setKeepalive): Set correct socket option.
14119 (getOOBInline): New method.
14120 (setOOBInline): New method.
14121 * java/net/ServerSocket.java
14122 (bind): Two new methods.
14123 (getInetAddress): Reimplemented, catch exception.
14124 (getLocalSocketAddress): New method.
14125 (setReuseAddress): New method.
14126 (getReuseAdress): New method.
14127 (setReceiveBufferSize): New method.
14128 (getReceiveBufferSize): New method.
14129 (toString): Made string JDK 1.4 compliant.
14130
14131 2002-09-10 Michael Koch <konqueror@gmx.de>
14132
14133 * java/net/SocketImpl.java
14134 (connect): New method.
14135 (supportsUrgentData): New method.
14136 (sendUrgentData): New method.
14137 * java/net/PlainSocketImpl.java
14138 (connect): One new method and two new implementation.
14139 (sendUrgentData): New method.
14140 * java/natPlainSocketImpl.cc
14141 (connect): Arguments changed, added support for timeouts.
14142 (getOption): Another __java_boolean to jboolean.
14143
14144 2002-09-07 Adam Megacz <adam@xwt.org>
14145
14146 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14147 definition of IP_TOS.
14148
14149 2002-09-04 Michael Koch <konqueror@gmx.de>
14150
14151 * java/net/DatagramSocket.java
14152 (DatagramSocket): Added documentation.
14153 (close): Likewise.
14154 (getLocalAddress): Likewise.
14155 (getLocalPort): Likewise.
14156 (receive): Likewise.
14157 (send): Likewise.
14158 (setSoTimeout): Likewise.
14159 (connect): New method.
14160 (disconnect): New method.
14161 (getInetAddress): New method (FIXME)
14162 (getPort): New method.
14163 (setReuseAddress): New method.
14164 (getReuseAddress): New method.
14165 (setBroadcast): New method.
14166 (getBroadcast): New method.
14167 (setTrafficClass): New method.
14168 (getTrafficClass): New method.
14169 * java/net/MulticastSocket.java):
14170 (getTTL): Added @see in documentation.
14171 (setTTL): Added @see in documentation.
14172 (setLoopbackMode): New method.
14173 (getLoopbackMode): New method.
14174 * java/net/PlainSocketImpl.java:
14175 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14176 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14177 * java/net/PlainDatagramSocketImpl.java
14178 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14179 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14180 * java/net/natPlainSocketImpl.cc
14181 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14182 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14183 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14184 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14185 This should also fix SO_KEEPALIVE
14186 * java/net/natPlainDatagramSocketImpl.cc
14187 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14188 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14189 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14190 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14191
14192 2002-09-04 Michael Koch <konqueror@gmx.de>
14193
14194 * java/net/SocketOptions.java: added static variables to be JDK 1.4
14195 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14196 IP_MULTICAST_LOOP, IP_TOS
14197
14198 2002-09-03 Tom Tromey <tromey@redhat.com>
14199
14200 * java/lang/Class.h (_getDeclaredMethod): Declare.
14201 (_getMethod): Now private.
14202 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14203 getDeclaredMethod. Now returns NULL on failure.
14204 * java/lang/Class.java (_getDeclaredMethod): Declare.
14205 (getDeclaredMethod): No longer native; implements access checks.
14206
14207 2002-09-01 Mark Wielaard <mark@klomp.org>
14208
14209 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14210 (sanitizeStack): Correctly reset unknown and interpreter counters,
14211 detect interpreter runtime frames.
14212 (demangleInterpreterMethod): New method.
14213 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14214 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14215 filling in addrs[].
14216
14217 2002-09-02 Michael Koch <konqueror@gmx.de>
14218
14219 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14220 re-indented documentation.
14221
14222 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14223
14224 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14225 public, per 1.4 spec. Fixes PR libgcj/7785.
14226
14227 2002-08-30 Jeff Sturm <jsturm@one-point.com>
14228
14229 * Makefile.in: Rebuilt.
14230 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14231
14232 2002-08-29 Tom Tromey <tromey@redhat.com>
14233
14234 * java/net/JarURLConnection.java (getCertificates): New method
14235 from Classpath.
14236 * java/net/URLClassLoader.java (URLClassLoader): Extends
14237 SecureClassLoader.
14238 (definePackage): New method from Classpath.
14239 (getPermissions): Likewise.
14240 (newInstance): Likewise.
14241 (findClass): Construct CodeSource for new class (from Classpath).
14242 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14243 methods.
14244 * java/net/URL.java (getUserInfo): New method.
14245 (set(String,String,int,String,String,String,String,String)): New
14246 method.
14247 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14248 (shutdownInput, shutdownOutput): Declare.
14249 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14250 Define.
14251 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14252 (getOption): Likewise.
14253 (shutdownInput): New method.
14254 (shutdownOutput): Likewise.
14255 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14256 keepalive.
14257 (getOption): Likewise.
14258 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14259 * java/net/Socket.java (setKeepAlive): New method.
14260 (getKeepAlive): Likewise.
14261 (shutdownInput, shutdownOutput): New methods.
14262
14263 2002-08-29 Michael Koch <konqueror@gmx.de>
14264
14265 * java/net/DatagramPacket.java: updated to JDK 1.4 API
14266 new methods are:
14267 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14268 address),
14269 DatagramPacket(byte[] buf, int length, SocketAddress address),
14270 void setSocketAddress(SocketAddress address)
14271 public SocketAddress getSocketAddress()
14272
14273 2002-08-29 Tom Tromey <tromey@redhat.com>
14274
14275 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14276 ftruncate is missing.
14277 * configure, include/config.h.in: Rebuilt.
14278 * acconfig.h (HAVE_FTRUNCATE): Mention.
14279 * configure.in: Check for ftruncate.
14280
14281 2002-08-29 Tom Tromey <tromey@redhat.com>
14282
14283 * include/jvm.h (struct _Jv_frame_info): New structure.
14284 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14285 java-interp.h.
14286 (lookupInterp): New method.
14287 (getAddrAsString): Use _Jv_frame_info.
14288 (dladdrLookup): Likewise.
14289 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14290 interpreted frame.
14291 (lookupInterp): Declare.
14292 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14293 (fillInStackTrace): Collect information on interpreted frames.
14294 Use _Jv_frame_info.
14295 * interpret.cc: Include Thread.h.
14296 (run): Create and push _Jv_MethodChain object.
14297 (_Jv_EndOfInterpreter): New global.
14298 * java/lang/Thread.java (interp_frame): New field.
14299 * include/java-interp.h (struct _Jv_MethodChain): New structure.
14300 Include NameFinder.h.
14301
14302 2002-08-28 Tom Tromey <tromey@redhat.com>
14303
14304 * java/lang/Class.h: Include Package.h.
14305 (Class::getProtectionDomain): Declare.
14306 (Class::getPackage): Declare.
14307
14308 2002-08-28 Michael Koch <konqueror@gmx.de>
14309
14310 * java/net/InetSocketAddress.java: Added some documentation and argument
14311 checks for the port numbers.
14312 * java/net/DatagramSocketImplFactory.java: New file.
14313
14314 2002-08-28 Michael Koch <konqueror@gmx.de>
14315
14316 * java/net/Authenticator.java: added some documentation.
14317
14318 2002-08-27 Tom Tromey <tromey@redhat.com>
14319
14320 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14321 class.
14322 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14323
14324 2002-08-27 Michael Koch <konqueror@gmx.de>
14325
14326 * java/net/BindException.java,
14327 java/net/JarURLConnection.java,
14328 java/net/FileNameMap.java,
14329 java/net/HttpURLConnection.java,
14330 java/net/InetSocketAddress.java,
14331 java/net/DatagramPacket.java,
14332 java/net/DatagramSocket.java,
14333 java/net/DatagramSocketImpl.java,
14334 java/net/MulticastSocket.java,
14335 java/net/PasswordAuthentication.java,
14336 java/net/ServerSocket.java,
14337 java/net/Socket.java,
14338 java/net/URLClassLoader.java,
14339 java/net/URLConnection.java: add/update of some @since/@deprecated
14340
14341 2002-08-27 Tony Kimball <alk@pobox.com>
14342 Tom Tromey <tromey@redhat.com>
14343
14344 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14345 define.
14346 (::close): Removed.
14347 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14348 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14349 (::close): Removed.
14350 (PlainSocketImpl::close): Use NATIVE_CLOSE.
14351 * include/win32.h (getcwd): Removed declaration. Include io.h.
14352
14353 2002-08-25 Adam Megacz <adam@xwt.org>
14354
14355 * include/win32.h (getcwd): copied function declaration as
14356 temporary fix for header confusion.
14357
14358 2002-08-24 Mark Wielaard <mark@klomp.org>
14359
14360 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14361 (core_java_source_files): Add VMThrowable.java and NameFinder.java
14362 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14363 and natNameFinder.cc.
14364 * Makefile.in: Regenerate.
14365 * prims.cc: Use trace_enabled from VMThrowable.
14366 * name-finder.cc: Removed.
14367 * gcj/javaprims.h: Add class VMThrowable.
14368 * gnu/gcj/runtime/NameFinder.java: New file.
14369 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14370 * include/name-finder.h: Removed.
14371 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14372 method stackTraceString().
14373 (printStackTrace (PrintWriter)): Likewise.
14374 (stackTraceString): Complete rewrite of old printStackTrace using
14375 StringBuffer.
14376 (stackTraceStringBuffer): New helper method for stackTraceString().
14377 (fillInStackTrace): Delegate to VMTrowable.
14378 (getStackTrace): Likewise.
14379 (getStackTrace0): Removed.
14380 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14381 (setStackTrace): Copy given array.
14382 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14383 * java/lang/VMThrowable.java: New class.
14384 * java/lang/natVMThrowable.cc: New file.
14385
14386 2003-08-23 Michael Koch <konqueror@gmx.de>
14387
14388 * java/net/URLConnection.java,
14389 java/netJarURLConnection.java,
14390 gnu/gcj/protocol/core/Connection.java,
14391 gnu/gcj/protocol/file/Connection.java,
14392 gnu/gcj/protocol/http/Connection.java: Added implementation of
14393 getHeaderFields().
14394
14395 2002-08-22 Tom Tromey <tromey@redhat.com>
14396
14397 * gij.cc (help): Document -cp and -classpath.
14398 (main): Handle -classpath.
14399
14400 2002-08-21 Tom Tromey <tromey@redhat.com>
14401
14402 * Makefile.in: Rebuilt.
14403 * Makefile.am (ordinary_java_source_files): Added
14404 SocketAddress.java, InetSocketAddress.java.
14405 * java/net/PortUnreachableException.java: Merged with Classpath.
14406 * java/net/SocketTimeoutException.java: Likewise.
14407 * java/net/URISyntaxException.java: Likewise.
14408 * java/net/SocketAddress.java: New class from Classpath.
14409 * java/net/InetSocketAddress.java: Likewise.
14410
14411 2003-08-21 Michael Koch <konqueror@gmx.de>
14412
14413 * java/net/Authenticator.java: updated JDK 1.4
14414 * java/net/ContentHandler.java: updated JDK 1.4
14415
14416 2002-08-20 Michael Koch <konqueror@gmx.de>
14417
14418 * java/net/URISyntaxException.java: New file.
14419 * java/net/SocketTimeoutException.java: New file.
14420 * java/net/PortUnreachableException.java: New file.
14421 * Makefile.am: Updated.
14422 * Makefile.in: Rebuilt.
14423
14424 2002-08-18 Mark Wielaard <mark@klomp.org>
14425
14426 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14427 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14428 MessageDigestSpi (fixes Classpath bug #783).
14429
14430 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14431
14432 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14433 (startProcess): Allocate path for chdir in async-signal-safe way.
14434
14435 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14436
14437 Fix for PR libgcj/7570 and PR libgcj/7578:
14438 * java/lang/natPosixProcess.cc: Include java/io/File.h.
14439 (startProcess): Handle new `dir' argument.
14440 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14441 argument.
14442 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14443 argument.
14444 (startProcess): Likewise.
14445 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14446 argument.
14447 * java/lang/Runtime.java (execInternal): Added `dir' argument.
14448 (exec): Don't create new environment if ENV==null. Pass DIR to
14449 execInternal.
14450 * java/lang/natRuntime.cc: Include java/io/File.h.
14451 (execInternal): Added `dir' argument.
14452
14453 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
14454
14455 * java/io/RandomAccessFile.java (skipBytes): Return number of
14456 bytes skipped.
14457
14458 2002-08-01 Mark Wielaard <mark@klomp.org>
14459
14460 Reenable patch since shared library troubles on powerpc are solved:
14461 * gnu/java/security/provider/Gnu.java: Reference all implementation
14462 classes by using Class.getName().
14463 * gnu/java/security/der/DEREncodingException.java,
14464 gnu/java/security/provider/DERReader.java,
14465 gnu/java/security/provider/DERWriter.java,
14466 gnu/java/security/provider/DSAKeyPairGenerator.java,
14467 gnu/java/security/provider/DSAParameterGenerator.java,
14468 gnu/java/security/provider/DSAParameters.java,
14469 gnu/java/security/provider/DSASignature.java,
14470 gnu/java/security/provider/GnuDSAPrivateKey.java,
14471 gnu/java/security/provider/GnuDSAPublicKey.java,
14472 gnu/java/security/provider/MD5.java,
14473 gnu/java/security/util/Prime.java: New classes
14474 * Makefile.am (ordinary_java_source_files): Add above files.
14475 * Makefile.in: Regenerate.
14476 * gnu/java/security/provider/DefaultPolicy.java
14477 (getPermissions): Don't maintain static class variable of Permissions.
14478 * gnu/java/security/provider/SHA.java
14479 (engineUpdate): algorithm change.
14480 (engineDigest): algorithm change.
14481
14482 2002-08-09 Mark Wielaard <mark@klomp.org>
14483
14484 * java/awt/image/MemoryImageSource.java: Change constructor to take
14485 int[] not byte[].
14486 * java/awt/Graphics2D.java: Uncomment methods that can now be
14487 compiled.
14488 * java/awt/GridBagLayout.java: New stub implementation.
14489 * javax/swing/text/html/HTML.java: Stub implementation.
14490 * javax/swing/text/html/parser/ParserDelegator.java: New stub
14491 implementation.
14492
14493 * Makefile.am: Add new files.
14494 * Makefile.in: Rebuilt.
14495
14496 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14497
14498 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14499 methods in Graphics2D.
14500
14501 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14502
14503 AWT/Swing merge from GNU Classpath.
14504
14505 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14506 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14507 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14508 java/awt/color/ProfileDataException.java,
14509 java/awt/CompositeContext.java, java/awt/Composite.java,
14510 java/awt/ContainerOrderFocusTraversalPolicy.java,
14511 java/awt/datatransfer/FlavorTable.java,
14512 java/awt/DefaultFocusTraversalPolicy.java,
14513 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14514 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14515 java/awt/dnd/DragGestureListener.java,
14516 java/awt/dnd/DragGestureRecognizer.java,
14517 java/awt/dnd/DragSourceAdapter.java,
14518 java/awt/dnd/DragSourceContext.java,
14519 java/awt/dnd/DragSourceDragEvent.java,
14520 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14521 java/awt/dnd/DragSourceListener.java,
14522 java/awt/dnd/DragSourceMotionListener.java,
14523 java/awt/dnd/DropTarget.java,
14524 java/awt/dnd/InvalidDnDOperationException.java,
14525 java/awt/dnd/peer/DragSourceContextPeer.java,
14526 java/awt/event/AWTEventListenerProxy.java,
14527 java/awt/event/MouseWheelEvent.java,
14528 java/awt/event/MouseWheelListener.java,
14529 java/awt/event/WindowFocusListener.java,
14530 java/awt/event/WindowStateListener.java,
14531 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14532 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14533 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14534 java/awt/geom/FlatteningPathIterator.java,
14535 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14536 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14537 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14538 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14539 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14540 java/awt/image/ImagingOpException.java,
14541 java/awt/image/RasterFormatException.java,
14542 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14543 java/awt/image/VolatileImage.java,
14544 java/awt/image/WritableRenderedImage.java,
14545 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14546 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14547 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14548 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14549 java/awt/PageAttributes.java, java/awt/print/Book.java,
14550 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14551 java/awt/print/Paper.java, java/awt/print/Printable.java,
14552 java/awt/print/PrinterAbortException.java,
14553 java/awt/print/PrinterException.java,
14554 java/awt/print/PrinterGraphics.java,
14555 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14556 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14557 java/awt/Stroke.java, java/awt/TexturePaint.java,
14558 javax/accessibility/AccessibleAction.java,
14559 javax/accessibility/AccessibleBundle.java,
14560 javax/accessibility/AccessibleComponent.java,
14561 javax/accessibility/AccessibleContext.java,
14562 javax/accessibility/AccessibleEditableText.java,
14563 javax/accessibility/AccessibleExtendedComponent.java,
14564 javax/accessibility/AccessibleExtendedTable.java,
14565 javax/accessibility/AccessibleHyperlink.java,
14566 javax/accessibility/AccessibleHypertext.java,
14567 javax/accessibility/AccessibleIcon.java,
14568 javax/accessibility/Accessible.java,
14569 javax/accessibility/AccessibleKeyBinding.java,
14570 javax/accessibility/AccessibleRelation.java,
14571 javax/accessibility/AccessibleRelationSet.java,
14572 javax/accessibility/AccessibleResourceBundle.java,
14573 javax/accessibility/AccessibleRole.java,
14574 javax/accessibility/AccessibleSelection.java,
14575 javax/accessibility/AccessibleState.java,
14576 javax/accessibility/AccessibleStateSet.java,
14577 javax/accessibility/AccessibleTable.java,
14578 javax/accessibility/AccessibleTableModelChange.java,
14579 javax/accessibility/AccessibleText.java,
14580 javax/accessibility/AccessibleValue.java,
14581 javax/swing/AbstractAction.java,
14582 javax/swing/AbstractButton.java,
14583 javax/swing/AbstractCellEditor.java,
14584 javax/swing/AbstractListModel.java,
14585 javax/swing/AbstractSet.java, javax/swing/Action.java,
14586 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14587 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14588 javax/swing/border/CompoundBorder.java,
14589 javax/swing/border/EmptyBorder.java,
14590 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14591 javax/swing/border/LineBorder.java,
14592 javax/swing/border/MatteBorder.java,
14593 javax/swing/border/TitledBorder.java,
14594 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14595 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14596 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14597 javax/swing/CellRendererPane.java,
14598 javax/swing/colorchooser/AbstractColorChooserPanel.java,
14599 javax/swing/colorchooser/ColorChooserComponentFactory.java,
14600 javax/swing/colorchooser/ColorSelectionModel.java,
14601 javax/swing/colorchooser/DefaultColorSelectionModel.java,
14602 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14603 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14604 javax/swing/DefaultBoundedRangeModel.java,
14605 javax/swing/DefaultButtonModel.java,
14606 javax/swing/DefaultCellEditor.java,
14607 javax/swing/DefaultCellRenderer.java,
14608 javax/swing/DefaultComboBoxModel.java,
14609 javax/swing/DefaultDesktopManager.java,
14610 javax/swing/DefaultFocusManager.java,
14611 javax/swing/DefaultListCellRenderer.java,
14612 javax/swing/DefaultListModel.java,
14613 javax/swing/DefaultListSelectionModel.java,
14614 javax/swing/DefaultSingleSelectionModel.java,
14615 javax/swing/DesktopManager.java,
14616 javax/swing/event/AncestorEvent.java,
14617 javax/swing/event/AncestorListener.java,
14618 javax/swing/event/CaretEvent.java,
14619 javax/swing/event/CaretListener.java,
14620 javax/swing/event/CellEditorListener.java,
14621 javax/swing/event/ChangeEvent.java,
14622 javax/swing/event/ChangeListener.java,
14623 javax/swing/event/DocumentEvent.java,
14624 javax/swing/event/DocumentListener.java,
14625 javax/swing/event/EventListenerList.java,
14626 javax/swing/event/HyperlinkEvent.java,
14627 javax/swing/event/HyperlinkListener.java,
14628 javax/swing/event/InternalFrameAdapter.java,
14629 javax/swing/event/InternalFrameEvent.java,
14630 javax/swing/event/InternalFrameListener.java,
14631 javax/swing/event/ListDataEvent.java,
14632 javax/swing/event/ListDataListener.java,
14633 javax/swing/event/ListSelectionEvent.java,
14634 javax/swing/event/ListSelectionListener.java,
14635 javax/swing/event/MenuDragMouseEvent.java,
14636 javax/swing/event/MenuDragMouseListener.java,
14637 javax/swing/event/MenuEvent.java,
14638 javax/swing/event/MenuKeyEvent.java,
14639 javax/swing/event/MenuKeyListener.java,
14640 javax/swing/event/MenuListener.java,
14641 javax/swing/event/MouseInputAdapter.java,
14642 javax/swing/event/MouseInputListener.java,
14643 javax/swing/event/PopupMenuEvent.java,
14644 javax/swing/event/PopupMenuListener.java,
14645 javax/swing/event/SwingPropertyChangeSupport.java,
14646 javax/swing/event/TableColumnModelEvent.java,
14647 javax/swing/event/TableColumnModelListener.java,
14648 javax/swing/event/TableModelEvent.java,
14649 javax/swing/event/TableModelListener.java,
14650 javax/swing/event/TreeExpansionEvent.java,
14651 javax/swing/event/TreeExpansionListener.java,
14652 javax/swing/event/TreeModelEvent.java,
14653 javax/swing/event/TreeModelListener.java,
14654 javax/swing/event/TreeSelectionEvent.java,
14655 javax/swing/event/TreeSelectionListener.java,
14656 javax/swing/event/TreeWillExpandListener.java,
14657 javax/swing/event/UndoableEditEvent.java,
14658 javax/swing/event/UndoableEditListener.java,
14659 javax/swing/filechooser/FileFilter.java,
14660 javax/swing/filechooser/FileSystemView.java,
14661 javax/swing/filechooser/FileView.java,
14662 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14663 javax/swing/Icon.java, javax/swing/ImageIcon.java,
14664 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14665 javax/swing/JApplet.java, javax/swing/JButton.java,
14666 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14667 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14668 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14669 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14670 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14671 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14672 javax/swing/JLayeredPane.java, javax/swing/JList.java,
14673 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14674 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14675 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14676 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14677 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14678 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14679 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14680 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14681 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14682 javax/swing/JTextField.java, javax/swing/JTextPane.java,
14683 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14684 javax/swing/JToolTip.java, javax/swing/JTree.java,
14685 javax/swing/JViewport.java, javax/swing/JWindow.java,
14686 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14687 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14688 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14689 javax/swing/MenuSelectionManager.java,
14690 javax/swing/MutableComboBoxModel.java,
14691 javax/swing/OverlayLayout.java,
14692 javax/swing/plaf/ActionMapUIResource.java,
14693 javax/swing/plaf/basic/BasicBorders.java,
14694 javax/swing/plaf/basic/BasicButtonUI.java,
14695 javax/swing/plaf/basic/BasicCheckBoxUI.java,
14696 javax/swing/plaf/basic/BasicDefaults.java,
14697 javax/swing/plaf/basic/BasicGraphicsUtils.java,
14698 javax/swing/plaf/basic/BasicIconFactory.java,
14699 javax/swing/plaf/basic/BasicLabelUI.java,
14700 javax/swing/plaf/basic/BasicListUI.java,
14701 javax/swing/plaf/basic/BasicLookAndFeel.java,
14702 javax/swing/plaf/basic/BasicOptionPaneUI.java,
14703 javax/swing/plaf/basic/BasicPanelUI.java,
14704 javax/swing/plaf/basic/BasicRadioButtonUI.java,
14705 javax/swing/plaf/basic/BasicScrollPaneUI.java,
14706 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14707 javax/swing/plaf/basic/BasicTextUI.java,
14708 javax/swing/plaf/basic/BasicToggleButtonUI.java,
14709 javax/swing/plaf/basic/BasicTreeUI.java,
14710 javax/swing/plaf/basic/BasicViewportUI.java,
14711 javax/swing/plaf/BorderUIResource.java,
14712 javax/swing/plaf/ButtonUI.java,
14713 javax/swing/plaf/ColorChooserUI.java,
14714 javax/swing/plaf/ColorUIResource.java,
14715 javax/swing/plaf/ComboBoxUI.java,
14716 javax/swing/plaf/ComponentInputMapUIResource.java,
14717 javax/swing/plaf/ComponentUI.java,
14718 javax/swing/plaf/DesktopIconUI.java,
14719 javax/swing/plaf/DesktopPaneUI.java,
14720 javax/swing/plaf/DimensionUIResource.java,
14721 javax/swing/plaf/FileChooserUI.java,
14722 javax/swing/plaf/FontUIResource.java,
14723 javax/swing/plaf/IconUIResource.java,
14724 javax/swing/plaf/InputMapUIResource.java,
14725 javax/swing/plaf/InsetsUIResource.java,
14726 javax/swing/plaf/InternalFrameUI.java,
14727 javax/swing/plaf/LabelUI.java,
14728 javax/swing/plaf/ListUI.java,
14729 javax/swing/plaf/MenuBarUI.java,
14730 javax/swing/plaf/MenuItemUI.java,
14731 javax/swing/plaf/OptionPaneUI.java,
14732 javax/swing/plaf/PanelUI.java,
14733 javax/swing/plaf/PopupMenuUI.java,
14734 javax/swing/plaf/ProgressBarUI.java,
14735 javax/swing/plaf/RootPaneUI.java,
14736 javax/swing/plaf/ScrollBarUI.java,
14737 javax/swing/plaf/ScrollPaneUI.java,
14738 javax/swing/plaf/SeparatorUI.java,
14739 javax/swing/plaf/SliderUI.java,
14740 javax/swing/plaf/SplitPaneUI.java,
14741 javax/swing/plaf/TabbedPaneUI.java,
14742 javax/swing/plaf/TableHeaderUI.java,
14743 javax/swing/plaf/TableUI.java,
14744 javax/swing/plaf/TextUI.java,
14745 javax/swing/plaf/ToolBarUI.java,
14746 javax/swing/plaf/ToolTipUI.java,
14747 javax/swing/plaf/TreeUI.java,
14748 javax/swing/plaf/UIResource.java,
14749 javax/swing/plaf/ViewportUI.java,
14750 javax/swing/ProgressMonitorInputStream.java,
14751 javax/swing/ProgressMonitor.java,
14752 javax/swing/Renderer.java,
14753 javax/swing/RepaintManager.java,
14754 javax/swing/RootPaneContainer.java,
14755 javax/swing/Scrollable.java,
14756 javax/swing/ScrollPaneConstants.java,
14757 javax/swing/ScrollPaneLayout.java,
14758 javax/swing/SingleSelectionModel.java,
14759 javax/swing/SizeRequirements.java,
14760 javax/swing/SizeSequence.java,
14761 javax/swing/SwingConstants.java,
14762 javax/swing/SwingUtilities.java,
14763 javax/swing/table/AbstractTableModel.java,
14764 javax/swing/table/DefaultTableCellRenderer.java,
14765 javax/swing/table/DefaultTableColumnModel.java,
14766 javax/swing/table/DefaultTableModel.java,
14767 javax/swing/table/TableCellEditor.java,
14768 javax/swing/table/TableCellRenderer.java,
14769 javax/swing/table/TableColumn.java,
14770 javax/swing/table/TableColumnModel.java,
14771 javax/swing/table/TableModel.java,
14772 javax/swing/text/AbstractDocument.java,
14773 javax/swing/text/AttributeSet.java,
14774 javax/swing/text/BadLocationException.java,
14775 javax/swing/text/Caret.java,
14776 javax/swing/text/CharacterIterator.java,
14777 javax/swing/text/ComponentView.java,
14778 javax/swing/text/DefaultCaret.java,
14779 javax/swing/text/DefaultEditorKit.java,
14780 javax/swing/text/Document.java,
14781 javax/swing/text/EditorKit.java,
14782 javax/swing/text/Element.java,
14783 javax/swing/text/GapContent.java,
14784 javax/swing/text/JTextComponent.java,
14785 javax/swing/text/Keymap.java,
14786 javax/swing/text/MutableAttributeSet.java,
14787 javax/swing/text/PlainDocument.java,
14788 javax/swing/text/PlainEditorKit.java,
14789 javax/swing/text/Position.java,
14790 javax/swing/text/Segment.java,
14791 javax/swing/text/StyledDocument.java,
14792 javax/swing/text/StyledEditorKit.java,
14793 javax/swing/text/Style.java,
14794 javax/swing/text/TextAction.java,
14795 javax/swing/text/ViewFactory.java,
14796 javax/swing/text/View.java,
14797 javax/swing/Timer.java,
14798 javax/swing/ToggleButtonModel.java,
14799 javax/swing/ToolTipManager.java,
14800 javax/swing/tree/AbstractLayoutCache.java,
14801 javax/swing/tree/DefaultMutableTreeNode.java,
14802 javax/swing/tree/DefaultTreeCellEditor.java,
14803 javax/swing/tree/DefaultTreeCellRenderer.java,
14804 javax/swing/tree/DefaultTreeModel.java,
14805 javax/swing/tree/DefaultTreeSelectionModel.java,
14806 javax/swing/tree/ExpandVetoException.java,
14807 javax/swing/tree/FixedHeightLayoutCache.java,
14808 javax/swing/tree/MutableTreeNode.java,
14809 javax/swing/tree/RowMapper.java,
14810 javax/swing/tree/TreeCellEditor.java,
14811 javax/swing/tree/TreeCellRenderer.java,
14812 javax/swing/tree/TreeModel.java,
14813 javax/swing/tree/TreeNode.java,
14814 javax/swing/tree/TreePath.java,
14815 javax/swing/tree/TreeSelectionModel.java,
14816 javax/swing/tree/VariableHeightLayoutCache.java,
14817 javax/swing/UIDefaults.java,
14818 javax/swing/UIManager.java,
14819 javax/swing/undo/AbstractUndoableEdit.java,
14820 javax/swing/undo/CannotRedoException.java,
14821 javax/swing/undo/CannotUndoException.java,
14822 javax/swing/undo/CompoundEdit.java,
14823 javax/swing/undo/StateEditable.java,
14824 javax/swing/undo/StateEdit.java,
14825 javax/swing/undo/UndoableEdit.java,
14826 javax/swing/undo/UndoableEditSupport.java,
14827 javax/swing/undo/UndoManager.java,
14828 javax/swing/UnsupportedLookAndFeelException.java,
14829 javax/swing/ViewportLayout.java,
14830 javax/swing/WindowConstants.java: New files, from GNU Classpath.
14831
14832 * java/awt/ActiveEvent.java,
14833 java/awt/Adjustable.java, java/awt/AWTError.java,
14834 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14835 java/awt/AWTException.java, java/awt/AWTPermission.java,
14836 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14837 java/awt/Color.java, java/awt/Component.java,
14838 java/awt/ComponentOrientation.java, java/awt/Container.java,
14839 java/awt/datatransfer/MimeTypeParseException.java,
14840 java/awt/datatransfer/Transferable.java,
14841 java/awt/datatransfer/UnsupportedFlavorException.java,
14842 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14843 java/awt/event/ActionListener.java,
14844 java/awt/event/AdjustmentEvent.java,
14845 java/awt/event/AdjustmentListener.java,
14846 java/awt/event/AWTEventListener.java,
14847 java/awt/event/ComponentAdapter.java,
14848 java/awt/event/ComponentEvent.java,
14849 java/awt/event/ComponentListener.java,
14850 java/awt/event/ContainerAdapter.java,
14851 java/awt/event/ContainerEvent.java,
14852 java/awt/event/ContainerListener.java,
14853 java/awt/event/FocusAdapter.java,
14854 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14855 java/awt/event/HierarchyBoundsAdapter.java,
14856 java/awt/event/HierarchyBoundsListener.java,
14857 java/awt/event/HierarchyEvent.java,
14858 java/awt/event/HierarchyListener.java,
14859 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14860 java/awt/event/InputMethodListener.java,
14861 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14862 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14863 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14864 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14865 java/awt/event/MouseListener.java,
14866 java/awt/event/MouseMotionAdapter.java,
14867 java/awt/event/MouseMotionListener.java,
14868 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14869 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14870 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14871 java/awt/event/WindowListener.java, java/awt/Font.java,
14872 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14873 java/awt/geom/Ellipse2D.java,
14874 java/awt/geom/IllegalPathStateException.java,
14875 java/awt/geom/Line2D.java,
14876 java/awt/geom/NoninvertibleTransformException.java,
14877 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14878 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14879 java/awt/geom/RoundRectangle2D.java,
14880 java/awt/GraphicsConfiguration.java,
14881 java/awt/IllegalComponentStateException.java,
14882 java/awt/image/IndexColorModel.java,
14883 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14884 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14885 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14886 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14887 java/awt/MenuItem.java, java/awt/PaintContext.java,
14888 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14889 java/awt/Polygon.java, java/awt/PrintGraphics.java,
14890 java/awt/PrintJob.java, java/awt/Rectangle.java,
14891 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14892 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14893 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14894
14895 * java/awt/im/spi/InputMethod.java,
14896 java/awt/im/spi/InputMethodContext.java,
14897 java/awt/im/spi/InputMethodDescriptor.java,
14898 java/awt/image/renderable/ContextualRenderedImageFactory.java,
14899 java/awt/image/renderable/ParameterBlock.java,
14900 java/awt/image/renderable/RenderContext.java,
14901 java/awt/image/renderable/RenderableImage.java,
14902 java/awt/image/renderable/RenderableImageOp.java,
14903 java/awt/image/renderable/RenderableImageProducer.java,
14904 java/awt/image/renderable/RenderedImageFactory.java: New files from
14905 classpath.
14906
14907 * gnu/java/awt/EventModifier.java,
14908 gnu/java/awt/image/ImageDecoder.java,
14909 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14910
14911 * gnu/awt/xlib/XGraphicsConfiguration.java,
14912 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14913 API.
14914
14915 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14916 GNU Classpath.
14917
14918 * Makefile.am: Add new files.
14919 * Makefile.in: Rebuilt.
14920
14921 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14922
14923 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14924 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14925 findResource, getResources, findResources): Add javadoc from classpath.
14926 (getSystemResources): Implemented.
14927
14928 2002-08-01 Mark Wielaard <mark@klomp.org>
14929
14930 Revert patch that breaks libgcj shared library on powerpc:
14931 * gnu/java/security/provider/Gnu.java: Reverse referencing all
14932 implementation classes by using Class.getName(). Uses Strings again.
14933 * gnu/java/security/der/DEREncodingException.java,
14934 gnu/java/security/provider/DERReader.java,
14935 gnu/java/security/provider/DERWriter.java,
14936 gnu/java/security/provider/DSAKeyPairGenerator.java,
14937 gnu/java/security/provider/DSAParameterGenerator.java,
14938 gnu/java/security/provider/DSAParameters.java,
14939 gnu/java/security/provider/DSASignature.java,
14940 gnu/java/security/provider/GnuDSAPrivateKey.java,
14941 gnu/java/security/provider/GnuDSAPublicKey.java,
14942 gnu/java/security/provider/MD5.java,
14943 gnu/java/security/util/Prime.java: Removed.
14944 * Makefile.am (ordinary_java_source_files): Remove above files.
14945 * Makefile.in: Regenerate.
14946 * gnu/java/security/provider/DefaultPolicy.java
14947 (getPermissions): Revert to maintaining static class variable of
14948 Permissions.
14949 * gnu/java/security/provider/SHA.java
14950 (engineUpdate): Revert algorithm change.
14951 (engineDigest): Revert algorithm change.
14952
14953 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
14954
14955 * configure.host: Add SH support.
14956 * sysdep/sh/locks.h: New file.
14957
14958 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14959
14960 * java/awt/Frame.java (Frame): Remove println calls.
14961
14962 2002-07-30 Jeff Sturm <jsturm@one-point.com>
14963
14964 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14965 * configure: Rebuilt.
14966
14967 2002-07-27 Alan Modra <amodra@bigpond.net.au>
14968
14969 * sysdep/powerpc/locks.h: Formatting.
14970 (_LARX): Define.
14971 (_STCX): Define.
14972 (compare_and_swap): Use _LARX and _STCX.
14973 (compare_and_swap_release): Likewise.
14974
14975 2002-07-26 Tom Tromey <tromey@redhat.com>
14976
14977 * java/net/Authenticator.java: New version from Classpath.
14978 * java/net/DatagramSocketImpl.java: New version from Classpath.
14979
14980 2002-07-27 Alan Modra <amodra@bigpond.net.au>
14981
14982 * configure.host: Add powerpc64*-* entry.
14983
14984 2002-07-26 Tom Tromey <tromey@redhat.com>
14985
14986 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
14987 fcntl.h.
14988
14989 2002-07-24 Tom Tromey <tromey@redhat.com>
14990
14991 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
14992 argument to _load.
14993
14994 2002-07-24 Tom Tromey <tromey@redhat.com>
14995 Tony Kimball <alk@pobox.com>
14996
14997 * java/io/natFileDescriptorWin32.cc (setLength): New method.
14998 * java/io/natFileDescriptorPosix.cc (setLength): New method.
14999 * java/io/RandomAccessFile.java (setLength): New method.
15000 * java/io/natFileDescriptorEcos.cc (setLength): New method.
15001 * java/io/FileDescriptor.java (setLength): New method.
15002
15003 2002-07-24 Mark Wielaard <mark@klomp.org>
15004
15005 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
15006 * java/io/ObjectInputStream.java (setBooleanField): Before setting
15007 field call setAccessible(true).
15008 (setByteField): Likewise.
15009 (setCharField): Likewise.
15010 (setDoubleField): Likewise.
15011 (setFloatField): Likewise.
15012 (setIntField): Likewise.
15013 (setLongField): Likewise.
15014 (setShortField): Likewise.
15015 (setObjectField): Likewise.
15016
15017 2002-07-24 Tom Tromey <tromey@redhat.com>
15018
15019 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
15020 use toString() to format array element.
15021
15022 2002-07-23 Mark Wielaard <mark@klomp.org>
15023
15024 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
15025 MessageDigestSpi (fixes Classpath bug #783).
15026
15027 2002-07-21 Mark Wielaard <mark@klomp.org>
15028
15029 * gnu/java/security/provider/Gnu.java: Reference all implementation
15030 classes by using Class.getName().
15031
15032 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
15033
15034 * java/lang/ieeefp.h: Add x86-64 support.
15035 * configure.in: Likewise.
15036 * configure.host: Likewise.
15037 * configure: Regenerated.
15038 * sysdep/x86-64/locks.h: New file with x86-64 locks.
15039
15040 2002-07-16 Mark Wielaard <mark@klomp.org>
15041
15042 * java/io/StreamTokenizer.java (pushBack): Update documentation.
15043 (whitespaceChars): call resetChar().
15044
15045 2002-07-15 Tom Tromey <tromey@redhat.com>
15046
15047 * Makefile.in: Rebuilt.
15048 * Makefile.am (awt_java_source_files): Added new files.
15049 * java/beans/ExceptionListener.java: Merged with Classpath.
15050 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
15051 * java/beans/PropertyChangeListener.java: Merged with Classpath.
15052 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
15053 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
15054 * java/beans/VetoableChangeListener.java: Merged with Classpath.
15055 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
15056 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
15057
15058 2002-07-14 Mark Wielaard <mark@klomp.org>
15059
15060 * gnu/java/security/der/DEREncodingException.java,
15061 gnu/java/security/provider/DERReader.java,
15062 gnu/java/security/provider/DERWriter.java,
15063 gnu/java/security/provider/DSAKeyPairGenerator.java,
15064 gnu/java/security/provider/DSAParameterGenerator.java,
15065 gnu/java/security/provider/DSAParameters.java,
15066 gnu/java/security/provider/DSASignature.java,
15067 gnu/java/security/provider/GnuDSAPrivateKey.java,
15068 gnu/java/security/provider/GnuDSAPublicKey.java,
15069 gnu/java/security/provider/MD5.java,
15070 gnu/java/security/util/Prime.java: New files from Classpath.
15071 * Makefile.am (ordinary_java_source_files): Add new files.
15072 * Makefile.in: Regenerate.
15073
15074 2002-07-14 C. Brian Jones <cbj@gnu.org>
15075
15076 * gnu/java/security/provider/DefaultPolicy.java
15077 (getPermissions): do not maintain static class variable of
15078 Permissions
15079 * gnu/java/security/provider/SHA.java
15080 (engineUpdate): algorithm change
15081 (engineDigest): algorithm change
15082
15083 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
15084
15085 For PR libgcj/7292:
15086 * java/lang/Character.java (toString(char)): Now static.
15087
15088 2002-07-12 Mark Wielaard <mark@klomp.org>
15089
15090 * java/lang/natThrowable.cc (printRawStackTrace): removed.
15091 (getStackTrace0): new method.
15092 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
15093 (printStackTrace(PrintWriter)): replace with pure java implementation.
15094 (printRawStackTrace): removed.
15095 (getStackTrace0): new method.
15096 * java/lang/StackTraceElement.java (toString): add extra whitespace.
15097 * gcj/javaprims.h: regenerate class list.
15098 * include/name-finder.h (lookup): new returns StackTraceElement*.
15099 (method_name, file_name): fields removed.
15100 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
15101 (~_Jv_name_finder): close new descriptors.
15102 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
15103 (createStackTraceElement): new method.
15104 (lookup): returns StackTraceElement*, uses createStackTraceElement().
15105
15106 2002-07-10 Tom Tromey <tromey@redhat.com>
15107
15108 * configure: Rebuilt.
15109 * configure.in: Use `test' after `&&'. From Chris Faylor.
15110
15111 2002-07-08 Mark Wielaard <mark@klomp.org>
15112
15113 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
15114 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
15115 java.sql.DatabaseMetaData.TestJdbc20
15116
15117 2002-07-05 Tony Kimball <alk@pobox.com>
15118
15119 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15120
15121 2002-07-04 Tom Tromey <tromey@redhat.com>
15122 Jeff Sturm <jsturm@one-point.com>
15123
15124 Fix for PR libgcj/7060:
15125 * java/lang/Class.h (_getMethod): Renamed from getMethod.
15126 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15127 Recurse into superinterfaces. Don't throw NoSuchMethodException.
15128 * java/lang/Class.java (getMethod): New Java implementation;
15129 complies with spec.
15130 (_getMethod): New native method.
15131
15132 2002-07-02 Tom Tromey <tromey@redhat.com>
15133 David Hovemeyer <daveho@cs.umd.edu>
15134
15135 * java/text/ChoiceFormat.java
15136 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15137 in check loop.
15138 * java/text/MessageFormat.java
15139 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15140 to MessageFormat.
15141
15142 2002-07-01 Tom Tromey <tromey@redhat.com>
15143
15144 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15145 StringTokenizer on null string. For PR libgcj/7180.
15146 From daveho@cs.umd.edu.
15147
15148 2002-06-24 Tom Tromey <tromey@redhat.com>
15149
15150 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15151 (IntegerClass): Likewise.
15152 * java/lang/natClass.cc (CloneableClass): Removed.
15153 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15154 ConstructorClass): Likewise.
15155 * java/lang/natClassLoader.cc (CloneableClass): Removed.
15156 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15157 SerializableClass): Likewise.
15158 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15159 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15160 LongClass, FloatClass, DoubleClass): Likewise.
15161
15162 * verify.cc (branch_prepass): Updated for change to exception
15163 handler type.
15164 (verify_instructions_0): Likewise.
15165 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15166 (handleExceptionTableEntry): Updated for change to exception
15167 handler type.
15168 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15169 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15170 (union _Jv_InterpPC): New.
15171 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15172 (class _Jv_InterpMethod): Added new `prepared' field.
15173 (class _Jv_InterpMethod): Added `compile' method. Removed
15174 `continue1' and `find_exception'. Changed arguments to `run'.
15175 * interpret.cc (union insn_slot): New.
15176 (find_exception): Removed.
15177 (run_normal): Removed most logic.
15178 (run_synch_object): Likewise; also, use JvSynchronize.
15179 (run_synch_class): Likewise.
15180 (run): Removed.
15181 (continue1): Renamed as `run'. Compile bytecode if required.
15182 Add new code to allow refinement of direct-threaded code at
15183 runtime. Handle exceptions.
15184 (SAVE_PC): Removed.
15185 (compile): New method.
15186 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15187 (NULLARRAYCHECK): Don't use SAVE_PC.
15188 (pc_t): New typedef.
15189 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15190 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15191
15192 2002-06-23 Tom Tromey <tromey@redhat.com>
15193
15194 * configure: Rebuilt.
15195 * configure.in (INTERPRETER): New subst.
15196 (AM_RUNTESTFLAGS): Don't subst.
15197
15198 * Makefile.in: Rebuilt.
15199 * Makefile.am ($(srcdir)/java/lang/Object.h,
15200 $(srcdir)/java/lang/Class.h): Added dummy targets.
15201
15202 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15203
15204 Reformat JDBC classes and add new JDK 1.4 classes and methods.
15205
15206 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15207 java/sql/Savepoint.java: New files.
15208 * java/sql/Array.java, java/sql/BatchUpdateException.java,
15209 java/sql/Blob.java, java/sql/CallableStatement.java,
15210 java/sql/Clob.java, java/sql/Connection.java,
15211 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15212 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15213 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15214 java/sql/Ref.java, java/sql/ResultSet.java,
15215 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15216 java/sql/SQLException.java, java/sql/SQLInput.java,
15217 java/sql/SQLOutput.java, java/sql/SQLWarning.java
15218 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15219 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15220 (JDK 1.4) specification.
15221 * javax/sql/ConnectionEvent.java,
15222 javax/sql/ConnectionEventListener.java,
15223 javax/sql/ConnectionPoolDataSource.java,
15224 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15225 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15226 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15227 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15228 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15229 javax/sql/XADataSource.java: New files.
15230 * Makefile.am: Add new files.
15231 * Makefile.in: Rebuilt.
15232
15233 2002-06-20 Tom Tromey <tromey@redhat.com>
15234
15235 For PR libgcj/7073:
15236 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15237 exists.
15238 * defineclass.cc (handleClassBegin): Superclass for interface is
15239 `null'.
15240
15241 2002-06-18 Tom Tromey <tromey@redhat.com>
15242
15243 * gcj/javaprims.h: Updated class declaration list.
15244 * Makefile.in: Rebuilt.
15245 * Makefile.am (core_java_source_files): Removed
15246 BasicMapEntry.java.
15247 * java/util/BasicMapEntry.java: Removed.
15248
15249 2002-06-18 Jeff Sturm <jsturm@one-point.com>
15250
15251 * java/net/natPlainDatagramSocketImpl.cc (receive):
15252 Check bounds of argument to FD_SET.
15253 (setOption): Throw exception if socket is closed.
15254
15255 * java/net/natPlainSocketImpl.cc (accept, read):
15256 Check bounds of argument to FD_SET.
15257 (setOption): Throw exception if socket is closed.
15258
15259 2002-06-18 Tom Tromey <tromey@redhat.com>
15260
15261 * gcj/javaprims.h: Updated class declaration list.
15262 * Makefile.in: Rebuilt.
15263 * Makefile.am (core_java_source_files): Added
15264 PropertyPermissionCollection.java.
15265 * java/lang/Thread.java (group, name): Now package-private.
15266 * java/lang/ThreadGroup.java: Re-merge with Classpath.
15267 * java/util/AbstractList.java: Likewise.
15268 * java/util/AbstractMap.java: Likewise.
15269 * java/util/Calendar.java: Likewise.
15270 * java/util/Collections.java: Likewise.
15271 * java/util/HashMap.java: Likewise.
15272 * java/util/Hashtable.java: Likewise.
15273 * java/util/LinkedHashMap.java: Likewise.
15274 * java/util/LinkedList.java: Likewise.
15275 * java/util/List.java: Likewise.
15276 * java/util/ListResourceBundle.java: Likewise.
15277 * java/util/Map.java: Likewise.
15278 * java/util/Observable.java: Likewise.
15279 * java/util/Properties.java: Likewise.
15280 * java/util/PropertyPermission.java: Likewise.
15281 * java/util/PropertyPermissionCollection.java: Likewise.
15282 * java/util/PropertyResourceBundle.java: Likewise.
15283 * java/util/Random.java: Likewise.
15284 * java/util/SimpleTimeZone.java: Likewise.
15285 * java/util/StringTokenizer.java: Likewise.
15286 * java/util/TimerTask.java: Likewise.
15287 * java/util/TreeMap.java: Likewise.
15288 * java/util/WeakHashMap.java: Likewise.
15289 * java/util/jar/Attributes.java: Likewise.
15290 * java/util/jar/JarException.java: Likewise.
15291 * java/util/jar/Manifest.java: Likewise.
15292
15293 2002-06-17 Tom Tromey <tromey@redhat.com>
15294
15295 * gcj/javaprims.h: Updated class declaration list.
15296 * Makefile.in: Rebuilt.
15297 * Makefile.am (core_java_source_files): Added new file.
15298 * java/util/EventListenerProxy.java: New file.
15299 * java/util/EventListener.java: Re-merge with Classpath.
15300 * java/util/EventObject.java: Re-merge with Classpath.
15301
15302 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
15303
15304 * java/lang/ClassNotFoundException.java: New Classpath version.
15305
15306 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
15307
15308 * java/rmi/activation/ActivateFailedException.java: Remerge from
15309 Classpath version.
15310 * java/rmi/activation/ActivationException.java: Ditto.
15311 * java/rmi/activation/UnknownGroupException.java: Ditto.
15312 * java/rmi/activation/UnknownObjectException.java: Ditto.
15313 * java/rmi/server/ExportException: Ditto.
15314 * java/rmi/server/ServerCloneException: Ditto.
15315 * java/rmi/server/ServerNotActiveException: Ditto.
15316 * java/rmi/server/SkeletonMismatchException: Ditto.
15317 * java/rmi/server/SkeletonNotFoundException: Ditto.
15318 * java/rmi/server/SocketSecurityException: Ditto.
15319
15320 2002-06-16 Tom Tromey <tromey@redhat.com>
15321
15322 * gcj/javaprims.h: Updated class declaration list.
15323
15324 * java/io/LineNumberInputStream.java: Merged with Classpath.
15325
15326 * java/lang/RuntimeException.java: Re-merge with Classpath.
15327 * java/util/ArrayList.java: Likewise.
15328 * java/util/Arrays.java: Likewise.
15329 * java/util/BitSet.java: Likewise.
15330 * java/util/Dictionary.java: Likewise.
15331 * java/util/IdentityHashMap.java: Likewise.
15332 * java/util/MissingResourceException.java: Likewise.
15333 * java/util/Observer.java: Likewise.
15334 * java/util/TooManyListenersException.java: Likewise.
15335 * java/util/zip/DataFormatException.java: Likewise.
15336 * java/util/zip/ZipException.java: Likewise.
15337
15338 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
15339
15340 * java/rmi/AccessException.java: Remerge from Classpath.
15341 * java/rmi/AlreadyBoundException.java: Ditto.
15342 * java/rmi/ConnectException.java: Ditto.
15343 * java/rmi/ConnectIOException.java: Ditto.
15344 * java/rmi/MarshalException.java: Ditto.
15345 * java/rmi/NoSuchObjectException.java: Ditto.
15346 * java/rmi/NotBoundException.java: Ditto.
15347 * java/rmi/RemoteException.java: Ditto.
15348 * java/rmi/RMISecurityException.java: Ditto.
15349 * java/rmi/ServerError.java: Ditto.
15350 * java/rmi/ServerException.java: Ditto.
15351 * java/rmi/ServerRuntimeException.java: Ditto.
15352 * java/rmi/StubNotFoundException.java: Ditto.
15353 * java/rmi/UnexpectedExcpetion.java: Ditto.
15354 * java/rmi/UnknownHostException.java: Ditto.
15355 * java/rmi/UnmarshalException.java: Ditto.
15356
15357 2002-06-15 Tom Tromey <tromey@redhat.com>
15358
15359 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15360 * java/lang/ArithmeticException.java: Likewise.
15361 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15362 * java/lang/ArrayStoreException.java: Likewise.
15363 * java/lang/Byte.java: Likewise.
15364 * java/lang/CharSequence.java: Likewise.
15365 * java/lang/ClassCastException.java: Likewise.
15366 * java/lang/ClassCircularityError.java: Likewise.
15367 * java/lang/ClassFormatError.java: Likewise.
15368 * java/lang/CloneNotSupportedException.java: Likewise.
15369 * java/lang/Cloneable.java: Likewise.
15370 * java/lang/Comparable.java: Likewise.
15371 * java/lang/Compiler.java: Likewise.
15372 * java/lang/Error.java: Likewise.
15373 * java/lang/ExceptionInInitializerError.java: Likewise.
15374 * java/lang/IllegalAccessError.java: Likewise.
15375 * java/lang/IllegalAccessException.java: Likewise.
15376 * java/lang/IllegalArgumentException.java: Likewise.
15377 * java/lang/IllegalMonitorStateException.java: Likewise.
15378 * java/lang/IllegalStateException.java: Likewise.
15379 * java/lang/IllegalThreadStateException.java: Likewise.
15380 * java/lang/IncompatibleClassChangeError.java: Likewise.
15381 * java/lang/IndexOutOfBoundsException.java: Likewise.
15382 * java/lang/InheritableThreadLocal.java: Likewise.
15383 * java/lang/InstantiationError.java: Likewise.
15384 * java/lang/InstantiationException.java: Likewise.
15385 * java/lang/InternalError.java: Likewise.
15386 * java/lang/InterruptedException.java: Likewise.
15387 * java/lang/LinkageError.java: Likewise.
15388 * java/lang/NegativeArraySizeException.java: Likewise.
15389 * java/lang/NoClassDefFoundError.java: Likewise.
15390 * java/lang/NoSuchFieldError.java: Likewise.
15391 * java/lang/NoSuchFieldException.java: Likewise.
15392 * java/lang/NoSuchMethodError.java: Likewise.
15393 * java/lang/NoSuchMethodException.java: Likewise.
15394 * java/lang/NullPointerException.java: Likewise.
15395 * java/lang/NumberFormatException.java: Likewise.
15396 * java/lang/OutOfMemoryError.java: Likewise.
15397 * java/lang/Process.java: Likewise.
15398 * java/lang/Runnable.java: Likewise.
15399 * java/lang/RuntimePermission.java: Likewise.
15400 * java/lang/SecurityException.java: Likewise.
15401 * java/lang/Short.java: Likewise.
15402 * java/lang/StackOverflowError.java: Likewise.
15403 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15404 * java/lang/ThreadDeath.java: Likewise.
15405 * java/lang/ThreadLocal.java: Likewise.
15406 * java/lang/UnknownError.java: Likewise.
15407 * java/lang/UnsatisfiedLinkError.java: Likewise.
15408 * java/lang/UnsupportedClassVersionError.java: Likewise.
15409 * java/lang/UnsupportedOperationException.java: Likewise.
15410 * java/lang/VerifyError.java: Likewise.
15411 * java/lang/VirtualMachineError.java: Likewise.
15412 * java/lang/reflect/InvocationTargetException.java: Likewise.
15413 * java/net/BindException.java: Likewise.
15414 * java/net/ConnectException.java: Likewise.
15415 * java/net/MalformedURLException.java: Likewise.
15416 * java/net/NoRouteToHostException.java: Likewise.
15417 * java/net/ProtocolException.java: Likewise.
15418 * java/net/SocketException.java: Likewise.
15419 * java/net/UnknownHostException.java: Likewise.
15420 * java/net/UnknownServiceException.java: Likewise.
15421
15422 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15423 * java/io/CharConversionException.java: Likewise.
15424 * java/io/EOFException.java: Likewise.
15425 * java/io/FileNotFoundException.java: Likewise.
15426 * java/io/IOException.java: Likewise.
15427 * java/io/InterruptedIOException.java: Likewise.
15428 * java/io/InvalidClassException.java: Likewise.
15429 * java/io/InvalidObjectException.java: Likewise.
15430 * java/io/NotActiveException.java: Likewise.
15431 * java/io/NotSerializableException.java: Likewise.
15432 * java/io/ObjectStreamException.java: Likewise.
15433 * java/io/ObjectStreamConstants.java: Likewise.
15434 * java/io/OptionalDataException.java: Likewise.
15435 * java/io/PipedInputStream.java: Likewise.
15436 * java/io/PushbackInputStream.java: Likewise.
15437 * java/io/StreamCorruptedException.java: Likewise.
15438 * java/io/SyncFailedException.java: Likewise.
15439 * java/io/UTFDataFormatException.java: Likewise.
15440 * java/io/UnsupportedEncodingException.java: Likewise.
15441 * java/io/WriteAbortedException.java: Likewise.
15442
15443 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
15444
15445 * java/text/ChoiceFormat.java: Update comments from Classpath.
15446 * java/text/ParseException.java (serialVersionUID): New
15447 field from Classpath.
15448 * java/text/ParseException.java: Update formatting & comments
15449 from Classpath.
15450
15451 2002-06-15 Tom Tromey <tromey@redhat.com>
15452
15453 * java/util/zip/InflaterInputStream.java (read): Loop if data has
15454 been read but none output by inflater.
15455 * java/util/zip/natDeflater.cc (reset): Set is_finished.
15456 * java/util/zip/natInflater.cc (reset): Set dist_needed and
15457 is_finished.
15458 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15459 version.
15460 * java/util/zip/ZipFile.java: Replaced with Classpath version.
15461 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15462 * java/util/zip/ZipInputStream.java: Replaced with Classpath
15463 version.
15464 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15465
15466 2002-06-13 Tom Tromey <tromey@redhat.com>
15467
15468 * java/lang/natString.cc (init): Handle case where DONT_COPY is
15469 true and OFFSET!=0.
15470 * java/lang/String.java (String(char[],int,int,boolean): New
15471 constructor.
15472 * java/lang/Long.java: Imported new version from Classpath.
15473 * java/lang/Number.java: Likewise.
15474 * java/lang/Integer.java: Likewise.
15475 * java/lang/Long.java: Likewise.
15476 * java/lang/Float.java: Likewise.
15477 * java/lang/Boolean.java: Likewise.
15478 * java/lang/Double.java: Likewise.
15479 * java/lang/Void.java: Likewise.
15480
15481 2002-06-12 Tom Tromey <tromey@redhat.com>
15482
15483 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15484 Fixes PR libgcj/6652.
15485
15486 2002-06-10 Tom Tromey <tromey@redhat.com>
15487
15488 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15489 (Class::getPackagePortion): Likewise.
15490 * java/lang/Class.java (desiredAssertionStatus): New method from
15491 Classpath.
15492 (getPackagePortion): Likewise.
15493 * java/lang/VMClassLoader.java (defaultAssertionStatus,
15494 packageAssertionStatus, classAssertionStatus): New methods from
15495 Classpath.
15496 * java/lang/ClassLoader.java (defaultAssertionStatus,
15497 systemPackageAssertionStatus, packageAssertionStatus,
15498 systemClassAssertionStatus, classAssertionStatus): New fields from
15499 Classpath.
15500 (setDefaultAssertionStatus, setPackageAssertionStatus,
15501 setClassAssertionStatus, clearAssertionStatus): New methods from
15502 Classpath.
15503 * Makefile.in: Rebuilt.
15504 * Makefile.am (core_java_source_files): Added AssertionError.java.
15505 * java/lang/AssertionError.java: New from Classpath.
15506
15507 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15508
15509 * configure.host: Disable hash synchronization and slow_pthread_self
15510 for cygwin.
15511
15512 2002-06-06 Adam Megacz <adam@xwt.org>
15513
15514 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15515 locking, just like the Sun JVM does.
15516
15517 2002-06-05 H.J. Lu (hjl@gnu.org)
15518
15519 * Makefile.am (libgcj_convenience.la): Revert the last change.
15520 (libgcj.la): Likewise.
15521 * Makefile.in: Regenerated.
15522
15523 2002-06-04 H.J. Lu (hjl@gnu.org)
15524
15525 * Makefile.am (libgcj_convenience.la): New target.
15526 (libgcj.la): Depend on libgcj_convenience.la.
15527 * Makefile.in: Regenerated.
15528
15529 2002-06-04 H.J. Lu (hjl@gnu.org)
15530
15531 * configure.in (--with-newlib): New option:
15532 Check ${with_newlib} instead of ${with_cross_host} for newlib.
15533 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15534 Linux.
15535 * configure: Regenerated.
15536
15537 2002-06-04 Tom Tromey <tromey@redhat.com>
15538
15539 * java/util/natTimeZone.cc: Include <stdio.h>.
15540
15541 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
15542
15543 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15544 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15545 Set SIGNAL_HANDLER=include/s390-linux.h.
15546 * configure: Regenerate.
15547 * include/s390-linux.h: New file.
15548
15549 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15550
15551 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15552 not "stackTrace".
15553
15554 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15555
15556 Merge JDK 1.4 java.security changes from classpath.
15557
15558 * java/security/AccessControlException.java: Merge from Classpath.
15559 * java/security/AccessController.java: Likewise.
15560 * java/security/AllPermission.java: Likewise.
15561 * java/security/BasicPermission.java: Likewise.
15562 * java/security/Certificate.java: Likewise.
15563 * java/security/CodeSource.java: Likewise.
15564 * java/security/DigestException.java: Likewise.
15565 * java/security/DigestOutputStream.java: Likewise.
15566 * java/security/DomainCombiner.java: Likewise.
15567 * java/security/GeneralSecurityException.java: Likewise.
15568 * java/security/Guard.java: Likewise.
15569 * java/security/GuardedObject.java: Likewise.
15570 * java/security/InvalidAlgorithmParameterException.java: Likewise.
15571 * java/security/InvalidKeyException.java: Likewise.
15572 * java/security/InvalidParameterException.java: Likewise.
15573 * java/security/Key.java: Likewise.
15574 * java/security/KeyException.java: Likewise.
15575 * java/security/KeyManagementException.java: Likewise.
15576 * java/security/KeyStoreException.java: Likewise.
15577 * java/security/MessageDigest.java: Likewise.
15578 * java/security/NoSuchAlgorithmException.java: Likewise.
15579 * java/security/NoSuchProviderException.java: Likewise.
15580 * java/security/Permission.java: Likewise.
15581 * java/security/PermissionCollection.java: Likewise.
15582 * java/security/Permissions.java: Likewise.
15583 * java/security/Policy.java: Likewise.
15584 * java/security/Principal.java: Likewise.
15585 * java/security/PrivateKey.java: Likewise.
15586 * java/security/PrivilegedAction.java: Likewise.
15587 * java/security/PrivilegedActionException.java: Likewise.
15588 * java/security/PrivilegedExceptionAction.java: Likewise.
15589 * java/security/ProtectionDomain.java: Likewise.
15590 * java/security/ProviderException.java: Likewise.
15591 * java/security/PublicKey.java: Likewise.
15592 * java/security/SecureClassLoader.java: Likewise.
15593 * java/security/SecurityPermission.java: Likewise.
15594 * java/security/SignatureException.java: Likewise.
15595 * java/security/UnrecoverableKeyException.java: Likewise.
15596 * java/security/UnresolvedPermission.java: Likewise.
15597 * java/security/acl/AclNotFoundException.java: Likewise.
15598 * java/security/acl/LastOwnerException.java: Likewise.
15599 * java/security/acl/NotOwnerException.java: Likewise.
15600 * java/security/cert/CRLException.java: Likewise.
15601 * java/security/cert/CertificateEncodingException.java: Likewise.
15602 * java/security/cert/CertificateException.java: Likewise.
15603 * java/security/cert/CertificateExpiredException.java: Likewise.
15604 * java/security/cert/CertificateFactory.java: Likewise.
15605 * java/security/cert/CertificateNotYetValidException.java: Likewise.
15606 * java/security/cert/CertificateParsingException.java: Likewise.
15607 * java/security/spec/InvalidKeySpecException.java: Likewise.
15608 * java/security/spec/InvalidParameterSpecException.java: Likewise.
15609
15610 * java/security/cert/CertPath.java: New file.
15611 * java/security/cert/CertPathBuilderException.java: New file.
15612 * java/security/cert/CertPathValidatorException.java: New file.
15613 * java/security/cert/CertStoreException.java: New file.
15614
15615 * Makefile.am: Add new CertPath classes.
15616 * Makefile.in: Rebuilt.
15617
15618 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15619
15620 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15621
15622 Merge JDK 1.4 exception chaining support from classpath.
15623
15624 * java/lang/Throwable.java: Merge 1.4 support from classpath.
15625 (stackTraceBytes): Rename from stackTrace.
15626 * java/lang/Exception.java: Merge from classpath.
15627 * java/lang/StackTraceElement: New file from classpath.
15628 * gcj/javaprims.h: Rebuild CNI namespace declarations.
15629 * Makefile.am: Add StackTraceElement.
15630 * Makefile.in: Rebuilt.
15631
15632 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15633
15634 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15635 they build first.
15636 * Makefile.in: Rebuilt.
15637
15638 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15639
15640 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15641 * configure.in: Likewise.
15642 * aclocal.m4: Regenerate.
15643 * configure: Regenerate.
15644
15645 2002-05-13 Tom Tromey <tromey@redhat.com>
15646
15647 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15648 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15649 Include platform.h.
15650
15651 Fixes PR libgcj/6389:
15652 * Makefile.in: Rebuilt.
15653 * Makefile.am (nat_source_files): Added natTimeZone.cc.
15654 * java/util/natTimeZone.cc: New file.
15655 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15656 * java/lang/System.java: Merged with Classpath.
15657 * java/lang/Runtime.java: Merged with Classpath.
15658 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15659 security check.
15660 (setIn0): Renamed from setIn; don't run security check.
15661 (setOut0): Renamed from setOut; don't run security check.
15662 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15663 init_properties): Moved to natRuntime.cc.
15664 Moved many includes to natRuntime.cc.
15665 (isWordsBigEndian): New method.
15666 * java/lang/natRuntime.cc: Include Long.h, also other includes
15667 previously in natSystem.cc.
15668 (maxMemory): New function.
15669 (exitInternal): Renamed from `_exit'.
15670 (exit): Removed.
15671 (init): Don't set finalize_on_exit.
15672 (exitInternal): Use `finalizeOnExit'.
15673 (file_encoding, getpwuid_adaptor): New functions from
15674 natSystem.cc.
15675 (insertSystemProperties): New method, renamed from
15676 System::init_properties. Don't set user.timezone.
15677 (_load): Don't call checkLink.
15678 (execInternal): New method.
15679 (availableProcessors): Likewise.
15680 (nativeGetLibname): Likewise.
15681
15682 2002-05-11 Mark Wielaard <mark@klomp.org>
15683
15684 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15685 space characters.
15686 (previous_internal): Likewise.
15687
15688 2002-05-09 Tom Tromey <tromey@redhat.com>
15689
15690 * jni.cc (_Jv_JNIFunctions): Fixed typo.
15691
15692 * java/util/ResourceBundle.java: New version from Classpath.
15693 * java/util/Locale.java: Likewise.
15694
15695 2002-05-09 Jakub Jelinek <jakub@redhat.com>
15696
15697 * testsuite/lib/libjava.exp (libjava_arguments): Append all
15698 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15699 LD_LIBRARY_PATH.
15700
15701 2002-05-08 Mark Mitchell <mark@codesourcery.com>
15702
15703 * libjava/Makefile.am (all_java_source_files): New variable.
15704 (all_java_class_files): Likewise.
15705 .java.class: New rule.
15706 (CLEANFILES): Remove tmp-list.
15707 * libjava/Makefile.in: Regenerated.
15708
15709 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
15710
15711 * testsuite/lib/libjava.exp (test_libjava_from_javac):
15712 Append .exe to executable names. Fix for cygwin.
15713
15714 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
15715
15716 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15717 script entry, and set LD to it when configuring multilibs.
15718 * configure: Rebuilt.
15719
15720 2002-05-07 Tom Tromey <tromey@redhat.com>
15721
15722 * java/lang/natString.cc (unintern): Fixed typo.
15723
15724 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15725
15726 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15727 with -no-install on *-*-cygwin*.
15728
15729 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15730
15731 * testsuite/lib/libjava.exp (test_libjava_from_source):
15732 Add comment explaining last patch
15733
15734 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
15735
15736 * testsuite/lib/libjava.exp (test_libjava_from_source):
15737 Append .exe to executable names. If no suffix is present,
15738 then ".exe" is added by default on win32. Harmless
15739 elsewhere so always do it.
15740
15741 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
15742 Tom Tromey <tromey@redhat.com>
15743
15744 * java/lang/natSystem.cc (getSystemTimeZone): Use
15745 HAVE_UNDERSCORE_TIMEZONE.
15746 * include/config.h.in: Rebuilt.
15747 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15748 * aclocal.m4, configure: Rebuilt.
15749 * acinclude.m4: Run AC_EXEEXT.
15750 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15751 Add test for `_timezone'.
15752
15753 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
15754
15755 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15756 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15757 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15758 * Makefile.in: Rebuilt.
15759
15760 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
15761
15762 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15763 use sigaction instead of __libc_sigaction.
15764
15765 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15766
15767 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15768 (libjava_init): Use it to find libgcj.spec.
15769 (libjava_arguments): Likewise.
15770
15771 2002-05-02 David S. Miller <davem@redhat.com>
15772
15773 PR bootstrap/6525
15774 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15775 __libc_sigaction on Sparc.
15776
15777 2002-05-02 Jerome Marc <marcjero@yahoo.com>
15778
15779 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15780 sys/filio.h, if present.
15781
15782 2002-04-30 Tom Tromey <tromey@redhat.com>
15783
15784 * java/io/BufferedReader.java (fill): Handle case where markPos
15785 point to ignored \n. Fixes PR libgcj/6301.
15786
15787 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
15788
15789 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15790
15791 2002-04-29 Adam King <aking@dreammechanics.com>
15792
15793 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15794 of file in APPEND mode.
15795
15796 2002-04-25 David S. Miller <davem@redhat.com>
15797
15798 PR target/6422
15799 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15800 program counter to next program counter minus 8. Update
15801 comments in this macro to explain why.
15802
15803 2002-04-26 Tom Tromey <tromey@redhat.com>
15804
15805 * verify.cc (construct_primitive_array_type) [void_type]: New
15806 case.
15807 (branch_prepass): Added dummy entries for unused instruction
15808 values.
15809 (verify_instructions_0): Likewise.
15810 * interpret.cc (continue1): Comment fix.
15811 * include/java-insns.h (op_xxxunusedxxx1): Removed.
15812 * Makefile.in: Rebuilt.
15813 * Makefile.am: Added -Wswitch-enum.
15814
15815 2002-04-24 Tom Tromey <tromey@redhat.com>
15816
15817 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15818 correct length of UTF-8 encoded name. Strip leading `/'.
15819 (_Jv_RegisterResource): Use _Jv_Malloc.
15820
15821 2002-04-23 Adam Megacz <adam@xwt.org>
15822
15823 * win32.cc, include/win32.cc (backtrace): Added this function
15824 because Win32 does not supply it.
15825
15826 2002-04-21 David S. Miller <davem@redhat.com>
15827
15828 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15829 magic instruction reading sequence.
15830
15831 2002-04-21 Mark Wielaard <mark@klomp.org>
15832
15833 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15834
15835 2002-04-19 David S. Miller <davem@redhat.com>
15836
15837 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15838 arg.
15839 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15840 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15841 on Sparc too.
15842 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15843 for 64-bit sparc.
15844 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15845 * sysdeps/sparc/locks.h: New file.
15846 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15847 on all sparc Solaris configurations. Set to
15848 include/dwarf2-signal.h on sparc Linux.
15849 * configure: Regenerate
15850 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15851
15852 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
15853
15854 * configure: Rebuilt.
15855 * configure.in (backtrace): Function doesn't work on IA-64.
15856
15857 2002-04-17 Adam King <aking@dreammechanics.com>
15858
15859 * java/io/File.java (normalizePath): Add Win32 support for auto
15860 conversion of a '/' path separator to Win32's '\' separator.
15861
15862 2002-04-16 Tom Tromey <tromey@redhat.com>
15863
15864 Fix for PR libgcj/6081:
15865 * Makefile.in: Rebuilt.
15866 * Makefile.am (install-data-local): Use GNU make trick to avoid
15867 shell limit.
15868
15869 2002-04-16 Adam King <aking@dreammechanics.com>
15870 Tom Tromey <tromey@redhat.com>
15871
15872 * java/io/natFileWin32.cc (performList): Return the correct array
15873 type. Don't duplicate the creation of a File since it's already
15874 done earlier in the method and the existing code would cause a
15875 ArrayStoreException. Don't use fixed-size array.
15876 (_access, _stat, attr, getCanonicalPath, performMkdir,
15877 performRenameTo): Don't use fixed-size array.
15878 (getCanonicalPath): Use throw, not _Jv_Throw.
15879
15880 2002-04-15 DJ Delorie <dj@redhat.com>
15881
15882 * configure.in: Allow building in $srcdir.
15883 * configure: Regenerated.
15884
15885 2002-04-14 Mark Wielaard <mark@klomp.org>
15886
15887 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15888 * java/net/natSocketImpl.cc (close): Likewise.
15889
15890 2002-04-14 Mark Wielaard <mark@klomp.org>
15891
15892 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15893
15894 2002-04-13 Adam King <aking@dreammechanics.com>
15895
15896 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15897 the f/F/d/D modifiers.
15898
15899 2002-04-12 Anthony Green <green@redhat.com>
15900
15901 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15902 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15903 * Makefile.in: Rebuilt.
15904 * configure.in: Substitute gcc_version.
15905 * configure: Rebuilt.
15906
15907 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15908
15909 * configure.host: Set can_unwind_signal on hosts which support it.
15910 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15911 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15912 exceptions and can_unwind_signal isn't set.
15913 * configure: Rebuilt.
15914
15915 2002-04-11 Tom Tromey <tromey@redhat.com>
15916
15917 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15918
15919 2002-04-11 Adam King <aking@dreammechanics.com>
15920 Tom Tromey <tromey@redhat.com>
15921
15922 * include/jvm.h (_Jv_ThrowBadArrayIndex,
15923 _Jv_ThrowNullPointerException): Mark as noreturn.
15924 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15925 and _Jv_free. Correctly invoke GetTempPath(). Indentation
15926 fixes.
15927
15928 2002-04-10 Tom Tromey <tromey@redhat.com>
15929
15930 * Makefile.in: Rebuilt.
15931 * Makefile.am (java/lang/Thread.h): Mark
15932 _Jv_AttachCurrentThreadAsDaemon as friend.
15933 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15934 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15935 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15936 function.
15937 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15938 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15939 (_Jv_JNI_InvokeFunctions): Added
15940 _Jv_JNI_AttachCurrentThreadAsDaemon.
15941 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15942 (JNI_GetDefaultJavaVMInitArgs): Likewise.
15943 (JNI_CreateJavaVM): Likewise.
15944 (_Jv_JNI_AttachCurrentThread): Likewise.
15945 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15946 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15947 (_Jv_JNIFunctions): Initialize new fields.
15948 (_Jv_JNI_NewDirectByteBuffer): New function.
15949 (_Jv_JNI_GetDirectBufferAddress): Likewise.
15950 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15951 * include/jni.h (JNI_VERSION_1_4): New macro.
15952 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15953 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15954 (JNINativeInterface::NewDirectByteBuffer): New field.
15955 (JNINativeInterface::GetDirectBufferAddress): New field.
15956 (JNINativeInterface::GetDirectBufferCapacity): New field.
15957 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15958 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15959 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15960
15961 2002-04-09 Tom Tromey <tromey@redhat.com>
15962
15963 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15964
15965 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
15966
15967 Fix for PR libgcj/6187:
15968 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15969 distance.
15970
15971 2002-04-07 Mark Wielaard <mark@klomp.org>
15972
15973 * java/util/AbstractMap.java (putAll): Use entrySet size.
15974 (toString): Explicitly use getKey() and getValue().
15975
15976 2002-04-07 Mark Wielaard <mark@klomp.org>
15977
15978 * java/util/Hashtable.java (contains): Remove NullPointer check.
15979 (containsValue): Add NullPointer check.
15980 (remove): Always throw NullPointerException when key
15981 is null.
15982
15983 2002-04-07 Adam King <aking@dreammechanics.com>
15984
15985 * java/lang/natSystem.cc (init_properties): Call new function
15986 _Jv_platform_initProperties.
15987 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
15988 support for the System properties os.name, os.arch, os.version,
15989 user.name, user.home, and user.dir.
15990 * include/posix.h, include/win32.h, posix.cc: New function
15991 _Jv_platform_initProperties.
15992
15993 2002-04-06 Mark Wielaard <mark@klomp.org>
15994
15995 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
15996
15997 2002-04-06 Mark Wielaard <mark@klomp.org>
15998
15999 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
16000 all of the remaining elements.
16001 * java/util/Vector.java (addAll(int,Collection)): Likewise.
16002 (removeRange): If toIndex == fromIndex do
16003 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16004 (removeAll): Always throw NullPointerException when collection is
16005 null.
16006 (retrainAll): Likewise.
16007
16008 2002-04-05 Mark Wielaard <mark@klomp.org>
16009
16010 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
16011 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16012
16013 2002-04-05 Adam Megacz <adam@xwt.org>
16014
16015 * exception.cc (abort): added static modifier
16016
16017 2002-04-04 Adam Megacz <adam@xwt.org>
16018
16019 * include/win32.h (_Jv_platform_close_on_exec): added inline
16020 modifier.
16021
16022 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
16023
16024 * configure.host: Add case statement to support generic port
16025 properties. Add *-*-freebsd* section.
16026
16027 2002-04-04 Mark Wielaard <mark@klomp.org>
16028
16029 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
16030 test.
16031 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
16032 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
16033 that depend on awt code and BufferedByteOutputStream.interrupt.
16034
16035 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16036
16037 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
16038 incorrect "hi" value when count > 40.
16039
16040 2002-04-03 Mark Wielaard <mark@klomp.org>
16041
16042 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
16043 ordering.
16044
16045 2002-04-02 Tom Tromey <tromey@redhat.com>
16046
16047 * java/lang/natClassLoader.cc (findClass): Compare against `3',
16048 not `0'.
16049
16050 2002-04-02 Mark Wielaard <mark@klomp.org>
16051
16052 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
16053 list of testsuite crashers.
16054
16055 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16056
16057 * java/util/IdentityHashMap.java (put): Set new threshold correctly
16058 when resizing table.
16059
16060 2002-04-01 Mark Wielaard <mark@klomp.org>
16061
16062 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
16063 NegativeArraySizeException
16064 (clear(int)): Use sign extended shift.
16065 (flip(int)): Likewise.
16066 (get(int)): Likewise.
16067 (nextClearBit(int)): Likewise.
16068 (nextSetBit(int)): Likewise.
16069 (set(int)): Likewise.
16070
16071 2002-04-01 Mark Wielaard <mark@klomp.org>
16072
16073 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
16074 that can be compiled now and add testsuite crashers to ignore list.
16075
16076 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
16077
16078 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
16079
16080 * libgcj.spec.in: Override libgcc, not lib.
16081 * libgcj-test.spec.in: Likewise.
16082
16083 2002-03-29 Tom Tromey <tromey@redhat.com>
16084
16085 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
16086 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
16087
16088 2002-03-27 Jeff Sturm <jsturm@one-point.com>
16089
16090 * java/net/PlainDatagramSocketImpl.java
16091 (close): Use native implementation.
16092 (finalize): New method.
16093
16094 * java/net/PlainSocketImpl.java (finalize): New method.
16095
16096 * java/net/natPlainDatagramSocketImpl.cc
16097 (java/io/FileDescriptor.h): Don't include.
16098 (close): Implement method here.
16099 (create): Don't assign fd.
16100
16101 * java/net/natPlainSocketImpl.cc
16102 (java/io/FileDescriptor.h): Don't include.
16103 (create): Don't assign fd.
16104 (accept): Likewise.
16105 (close): Synchronize.
16106
16107 2002-03-27 Richard Henderson <rth@redhat.com>
16108
16109 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
16110
16111 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16112
16113 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16114 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
16115 instead of syscall on IA-64.
16116 Add FIXME comment.
16117
16118 2002-03-27 Anthony Green <green@redhat.com>
16119
16120 * libgcj.spec.in: Add CHECKREFSPEC.
16121 * configure.in: Ditto.
16122 * configure.host: Ditto. Check references for xscale-elf.
16123 * configure: Rebuilt.
16124
16125 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
16126
16127 * include/dwarf2-signal.h: Temporarily back out last change.
16128
16129 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
16130
16131 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16132
16133 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16134
16135 * configure.in, configure: enable dwarf2-exception-style
16136 exception handling on IA-64.
16137 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16138 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16139 Add FIXME comment.
16140
16141 2002-03-25 Tom Tromey <tromey@redhat.com>
16142
16143 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16144 (jv_convert_LDFLAGS): Likewise.
16145 (gij_LDFLAGS): Likewise.
16146 (rmic_LDFLAGS): Likewise.
16147 (rmiregistry_LDFLAGS): Likewise.
16148 * configure.in (THREADLDFLAGS): New subst; set correctly for
16149 *BSD.
16150
16151 2002-03-25 Tom Tromey <tromey@redhat.com>
16152
16153 For PR libgcj/5303:
16154 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16155 and --version.
16156 (help): New method.
16157 (version): Likewise.
16158 * gnu/gcj/convert/Convert.java (version): Removed extraneous
16159 "GNU".
16160 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16161 "GNU".
16162
16163 2002-03-25 Tom Tromey <tromey@redhat.com>
16164
16165 * java/awt/Component.java (processEvent): Check ComponentEvent
16166 after KeyEvent.
16167
16168 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16169
16170 * java/io/PushbackReader.java: Reformat.
16171
16172 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16173 calculate correct number of bytes skipped.
16174
16175 Based on patch from Intel's ORP team:
16176 * java/io/PushbackInputStream.java (available): Calculate correct
16177 number of bytes in buffer.
16178 (read): Remove redundant bound check. Return bytes from both the
16179 buffer and the stream.
16180
16181 2002-03-24 Tom Tromey <tromey@redhat.com>
16182
16183 * java/awt/TextComponent.java (TextComponent): Editable by
16184 default.
16185
16186 * java/awt/MenuItem.java (eventMask): No longer private.
16187 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16188 superclass if we didn't handle event.
16189 * java/awt/Checkbox.java (dispatchEventImpl): New method.
16190 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16191 * java/awt/Choice.java (dispatchEventImpl): New method.
16192 * java/awt/List.java (dispatchEventImpl): New method.
16193 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16194 * java/awt/TextComponent.java (dispatchEventImpl): New method.
16195 * java/awt/TextField.java (dispatchEventImpl): New method.
16196
16197 2002-03-24 Eric Blake <ebb9@email.byu.edu>
16198
16199 * java/beans/IntrospectionException.java: Update to 1.4.
16200 * java/beans/PropertyVetoException.java: Ditto.
16201
16202 2002-03-24 Eric Blake <ebb9@email.byu.edu>
16203
16204 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16205 Arrays.equals instead of ArrayHelper.equalsArray.
16206
16207 2002-03-24 C. Brian Jones <cbj@gnu.org>
16208
16209 * java/beans/Introspector.java: added new static final fields
16210 introduced in 1.2, lots of other updates remain to be done
16211
16212 2002-03-24 C. Brian Jones <cbj@gnu.org>
16213
16214 * java/beans/Introspector.java: reformatting
16215
16216 2002-03-24 C. Brian Jones <cbj@gnu.org>
16217
16218 * java/beans/Introspector.java: default beanInfoSearchPath will
16219 not include sun.beans.infos given we provide no such package and
16220 the API doesn't really require it; gnu.java.beans.info is the
16221 default.
16222
16223 2002-03-24 Mark Wielaard <mark@klomp.org>
16224
16225 Thanks to Orp developers
16226 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16227 switch TRUE and FALSE return values.
16228
16229 2002-03-23 Tom Tromey <tromey@redhat.com>
16230
16231 * include/name-finder.h (_Jv_name_finder::myclose): New method.
16232 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16233
16234 2002-03-23 Michael Smith <msmith@spinnakernet.com>
16235
16236 * java/util/GregorianCalendar.java (minimums, maximums): Correct
16237 MONTH entry. Fixes PR libgcj/6045.
16238
16239 2002-03-23 Jeff Sturm <jsturm@one-point.com>
16240
16241 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16242
16243 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16244
16245 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16246 not release_set.
16247 * sysdep/powerpc/locks.h (write_barrier): New function.
16248 * sysdep/i386/locks.h (write_barrier): New function.
16249
16250 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
16251
16252 * include/jni.h Use correct C comments.
16253
16254 2002-03-18 Tom Tromey <tromey@redhat.com>
16255
16256 * include/jni.h (JNIIMPORT): New macro.
16257 (JNIEXPORT): Likewise.
16258 (JNICALL): Likewise.
16259
16260 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16261
16262 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16263 systems.
16264
16265 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
16266
16267 * include/i386-signal.h (old_i386_kernel_sigaction): New.
16268 INIT_SEGV: Use old_i386_kernel_sigaction.
16269 INIT_FP: Likewise.
16270
16271 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16272
16273 * java/lang/natSystem.cc (init_properties): Update VM version
16274 properties.
16275 * configure.in: Set GCJVERSION.
16276 * acconfig.h: Add GCJVERSION.
16277 * configure: Rebuilt.
16278 * include/config.h.in: Rebuilt.
16279
16280 2002-03-17 Anthony Green <green@redhat.com>
16281
16282 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16283
16284 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16285
16286 Build a single libgcj.so, without separate gc and zlib libraries.
16287 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16288 SYS_ZLIBS if system zlib is used.
16289 * configure: Rebuilt.
16290 * Makefile.am: Use boehm-gc and zlib convenience libraries.
16291 * Makefile.in: Rebuilt.
16292 * libtool-version: Increment .so version number.
16293
16294 * Makefile.am: Escape quotes in echo.
16295 * Makefile.in: Rebuilt.
16296
16297 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16298
16299 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16300 * Makefile.in: Rebuilt.
16301
16302 2002-03-15 Anthony Green <green@redhat.com>
16303
16304 * configure.host (FILE): New macro for specifing File
16305 implementation.
16306 * configure: Rebuilt.
16307 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
16308
16309 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
16310
16311 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16312 already implicitly brought in from libgcj.la.
16313 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16314 * Makefile.in: Rebuilt.
16315
16316 2002-03-15 Eric Blake <ebb9@email.byu.edu>
16317
16318 * THANKS: Fix punctuation, alphabetization.
16319
16320 2002-03-15 Tom Tromey <tromey@redhat.com>
16321 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16322
16323 Fix for PR libgcj/5944.
16324 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16325
16326 2002-03-15 Anthony Green <green@redhat.com>
16327
16328 * configure.in (tool_include_dir): Define.
16329 * configure: Rebuilt.
16330 * gcj/Makefile.am: Install libgcj-config.h relative to
16331 tool_include_dir.
16332 * gcj/Makefile: Rebuilt.
16333 * gcj/libgcj-config.h: Add warning comment.
16334
16335 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
16336
16337 * configure.host (powerpc*-darwin*): Enable interpreter.
16338
16339 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16340
16341 * include/posix.h: Add multiple include header protection.
16342 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16343
16344 2002-03-10 Adam Megacz <adam@xwt.org>
16345
16346 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16347
16348 2002-03-10 Tom Tromey <tromey@redhat.com>
16349
16350 * java/awt/GridLayout.java (layoutContainer): Handle case where
16351 there are no items in container.
16352
16353 * java/lang/Win32Process.java: Added comment.
16354 * include/posix.h (_Jv_platform_close_on_exec): New function.
16355 Include fcntl.h.
16356 * include/win32.h (_Jv_platform_close_on_exec): New function.
16357 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16358 flag.
16359 (accept): Likewise.
16360 * java/net/natPlainDatagramSocketImpl.cc (create): Set
16361 close-on-exec flag.
16362 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16363 flag.
16364
16365 2002-03-09 Tom Tromey <tromey@redhat.com>
16366
16367 * verify.cc (state::NO_STACK): New constant.
16368 (state::is_unmerged_ret_state): Handle case where stacktop is
16369 NO_STACK.
16370 (state::merge): Handle NO_STACK merges.
16371 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16372 for instruction following jsr.
16373 (stacktop, stackdepth): Removed unused variables.
16374 (pop_jump): Ignore case where all remaining states are skipped.
16375
16376 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16377
16378 * java/awt/ImageMediaEntry: Removed.
16379 * java/awt/MediaEntry: Removed.
16380
16381 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16382
16383 Hashtable synchronization for PowerPC.
16384 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16385 slow_pthread_self. Set up symlink for sysdeps directory.
16386 * configure: Rebuild.
16387 * configure.host: Document more shell variables. Set sysdeps_dir
16388 for most platforms. Set slow_pthread_self for i686. Set
16389 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16390 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16391 that memory barrier is emitted where required.
16392 * prims.cc: 64-bit align static primitive class instances.
16393 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16394 read_barrier() to enforce ordering of reads.
16395 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16396 primitives for PowerPC.
16397 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16398 moved from natObject.cc.
16399 * sysdep/alpha/locks.h: Likewise.
16400 * sysdep/ia64/locks.h: Likewise.
16401 * sysdep/generic/locks.h: Likewise.
16402 * java/lang/natObject.cc: Move thread synchronization primitives to
16403 system-dependent headers.
16404
16405 2002-03-09 Adam Megacz <adam@xwt.org>
16406
16407 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16408 bytes read and no failure code returned.
16409
16410 2002-03-09 Adam Megacz <adam@xwt.org>
16411
16412 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16413 definitions to simulate -mthreads.
16414
16415 2002-03-09 Adam Megacz <adam@xwt.org>
16416
16417 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16418 avoid precision loss.
16419
16420 2002-03-09 Per Bothner <per@bothner.com>
16421
16422 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
16423 * gnu/gcj/xlib/XImage.java: Likewise.
16424 * gnu/gcj/xlib/XColor.java: Likewise.
16425
16426 2002-03-09 Adam Megacz <adam@xwt.org>
16427
16428 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16429 IOException so that Throwable.printStackTrace fails correctly.
16430
16431 2002-03-08 Adam Megacz <adam@xwt.org>
16432
16433 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16434 fixed.
16435
16436 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16437
16438 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16439 truncated to int.
16440
16441 2002-03-08 Tom Tromey <tromey@redhat.com>
16442
16443 * include/jni.h: Include stdio.h.
16444
16445 2002-03-08 Tom Tromey <tromey@redhat.com>
16446
16447 * posix.cc (internal_gettimeofday): New function.
16448 (_Jv_select): Use it.
16449
16450 2002-03-07 Adam Megacz <adam@xwt.org>
16451
16452 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16453 WIN32, and added thunks for read(), write(), and close().
16454 * java/net/natPlainSocketImpl.cc (accept, read, read):
16455 Disabled timeouts on WIN32 pending discussion.
16456
16457 2002-03-07 Adam Megacz <adam@xwt.org>
16458
16459 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16460 returns jlong. Added implementation
16461 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16462 returns jlong.
16463 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16464 returns jlong.
16465 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16466 returns jlong.
16467 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16468 _Jv_platform_gettimeofday signature.
16469
16470 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16471
16472 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16473 (read): Call recv() directly, not _Jv_recv().
16474
16475 2002-03-06 Tom Tromey <tromey@redhat.com>
16476
16477 * java/io/natFileDescriptorEcos.cc (init): Don't use
16478 GetStdHandle.
16479 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16480 is negative.
16481 (init): Don't use GetStdHandle.
16482
16483 * include/config.h.in: Rebuilt.
16484 * configure: Rebuilt.
16485 * Makefile.in: Rebuilt.
16486
16487 2002-03-06 Adam Megacz <adam@xwt.org>
16488
16489 * java/io/FileDescriptor.java: Initialize in/out/err in init().
16490 * java/io/natFileDescriptorWin32.cc (init()): Added function.
16491 * java/io/natFileDescriptorPosix.cc (init()): Added function.
16492 * java/io/natFileDescriptorEcos.cc (init()): Added function.
16493
16494 2002-03-06 Eric Blake <ebb9@email.byu.edu>
16495
16496 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16497 the code for generating include/java-chartables.h.
16498 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16499 merge with Classpath.
16500 * scripts/unicode-muncher.pl: Copy from Classpath.
16501 * scritps/MakeCharTables.java: New file.
16502 * gnu/gcj/convert/Blocks-3.txt: New file.
16503 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16504 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16505 * gnu/java/lang/CharData.java: Copy from Classpath.
16506 * Makefile.am (ordinary_java_source_files): Add
16507 gnu/java/lang/CharData.java.
16508 * configure.in: Remove --enable-fast-character option.
16509 * java/lang/Character.java: Merge algorithms and Javadoc with
16510 Classpath.
16511 * java/lang/natCharacter.cc: Implement Unicode lookup table more
16512 efficiently.
16513 * include/java-chardecomp.h: Regenerate.
16514 * include/java-chartables.h: Regenerate.
16515
16516 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16517
16518 * java/awt/MediaTracker.java: Implemented.
16519 * Makefile.am: Add MediaTracker.
16520 * Makefile.in: Rebuilt.
16521
16522 2002-03-05 Tom Tromey <tromey@redhat.com>
16523
16524 * java/lang/natPosixProcess.cc (fail): Removed.
16525 (startProcess): Simplified error-handling. Preserve
16526 LD_LIBRARY_PATH across exec.
16527
16528 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16529 AbstractMethodError.
16530
16531 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16532
16533 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16534 * Makefile.in: Rebuilt.
16535
16536 2002-03-03 Mark Wielaard <mark@klomp.org>
16537
16538 * java/util/Timer (TaskQueue.stop): set elements to zero.
16539
16540 2002-02-28 Anthony Green <green@redhat.com>
16541
16542 * java/lang/reflect/natMethod.cc (result): Add void* element.
16543 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
16544 constructor test.
16545
16546 2002-02-27 Adam Megacz <adam@xwt.org>
16547
16548 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16549 '#undef STRICT'.
16550
16551 2002-02-26 Tom Tromey <tromey@redhat.com>
16552
16553 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16554 * gij.cc (version): Use __VERSION__.
16555 * include/config.h.in: Rebuilt.
16556 * acconfig.h (GCJVERSION): Removed.
16557 * configure: Rebuilt.
16558 * configure.in (GCJVERSION): Removed.
16559
16560 2002-02-26 Andreas Schwab <schwab@suse.de>
16561
16562 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16563 glibcpp_CXX, since libjava uses even another CXX.
16564 * aclocal.m4, configure: Regenerated.
16565
16566 2002-02-26 Tom Tromey <tromey@redhat.com>
16567
16568 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16569 `1'.
16570
16571 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16572
16573 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16574 dependency tracking for .java files.
16575 * Makefile.in: Rebuilt.
16576
16577 2002-02-24 Adam Megacz <adam@xwt.org>
16578
16579 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16580 typo. Sorry.
16581
16582 2002-02-24 Adam Megacz <adam@xwt.org>
16583
16584 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16585 for Win32, changed #ifdefs to check WIN32 instead of the
16586 (now-obsolete) USE_WINSOCK, and removed support for socket
16587 timeouts on Win32 pending further discussion.
16588
16589 2002-02-24 Adam Megacz <adam@xwt.org>
16590
16591 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16592 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16593 delete
16594
16595 2002-02-24 Adam Megacz <adam@xwt.org>
16596
16597 * java/lang/Win32Process.java: Created a dummy class to allow
16598 build process to run to completion.
16599
16600 2002-02-24 Jeff Sturm <jsturm@one-point.com>
16601
16602 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16603 Define ffi_result union for ffi_call result. Cast
16604 ffi_result members to jvalue.
16605
16606 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
16607
16608 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16609 * testsuite/Makefile.in: Likewise.
16610
16611 2002-02-20 Per Bothner <per@bothner.com>
16612
16613 * java/net/URL.java (getPath): New JDK 1.3 method.
16614
16615 * java/net/URLStreamHandler.java (parseURL):
16616 It is wrong to prepend '/' to the file part of a relative url.
16617
16618 * java/net/URLStreamHandler.java (parseURL):
16619 Minor optizations - append '/' rather than "/".
16620
16621 * java/net/URLStreamHandler.java (parseURL):
16622 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16623 We probably should canonicalize for a context-relative url, though.
16624 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
16625 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
16626 (sameFile): New method. Uses canonicalizeFilename.
16627
16628 2002-02-22 Tom Tromey <tromey@redhat.com>
16629
16630 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16631 java.vendor and java.vm.vendor.
16632 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16633 recent copyright date.
16634 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16635 * gij.cc (version): Print `Inc'.
16636
16637 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
16638
16639 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16640 * aclocal.m4, configure: Rebuilt.
16641
16642 2002-02-20 Per Bothner <per@bothner.com>
16643
16644 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
16645 and/or output streams immediately here, instead of using File.exists.
16646 (inputStream, outputStream): New fields to save open streams.
16647 (getInputStream, getOutputStream): Use already-opened streams.
16648
16649 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
16650
16651 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16652 Use it.
16653 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16654 * aclocal.m4, configure, Makefile.in: Rebuilt.
16655
16656 2002-02-19 Tom Tromey <tromey@redhat.com>
16657
16658 Fix for PR libgcj/5696:
16659 * verify.cc (is_assignable_from_slow): Never call
16660 _Jv_IsAssignableFrom.
16661 (verify_instructions_0): Added new debug statement.
16662 (state::print): Print information about whether local has
16663 changed.
16664 (state::merge): Don't call note_variable when merging locals.
16665 (state::set_exception): Removed old FIXME comment.
16666
16667 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16668
16669 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16670 enable SO_BROADCAST.
16671
16672 2002-02-18 Jason Merrill <jason@redhat.com>
16673
16674 * name-finder.cc (toHex): Use word mode, not long long.
16675
16676 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16677
16678 2002-02-15 Tom Tromey <tromey@redhat.com>
16679
16680 Fix for PR libgcj/5695:
16681 * verify.cc (is_assignable_from_slow): Check to see if target is
16682 an Object before checking to see if source is an interface.
16683 (verify_instructions_0) [op_invokeinterface]: Handle case where
16684 we're making an interface call on Object.
16685
16686 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16687
16688 * Makefile.in: Rebuilt with Eric's change below.
16689
16690 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16691 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16692 Removed functions which are now implemented in Math.java.
16693
16694 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16695
16696 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16697 * Makefile.am (core_java_source_files): Add
16698 java/lang/StrictMath.java.
16699 * java/lang/Math.java: Merge with Classpath.
16700 * java/lang/StrictMath.java: New file - merge with Classpath.
16701
16702 2002-02-14 Mark Wielaard <mark@klomp.org>
16703
16704 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16705 package as a workaround for gcj 3.0.x
16706
16707 2002-02-14 Mark Wielaard <mark@klomp.org>
16708
16709 * java/security/BasicPermission.java: extends with fully qualified
16710 classname as workaround for gcj 3.0.4.
16711
16712 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16713
16714 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16715 around gcj bug of wrong emitted qualifier for inherited method.
16716 * java/net/SocketImpl.java (setOption, getOption): Ditto.
16717 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16718 constructor to reduce amount of emitted bytecode. While this
16719 happens to work around a jikes 1.15 bug, it is still a useful
16720 patch even for correct compilers.
16721 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16722 * gnu/java/rmi/server/UnicastRemoteCall.java
16723 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16724
16725 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16726
16727 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16728 * java/net/SocketImpl.java: Ditto.
16729 * java/rmi/server/RMIClassLoader.java: Ditto.
16730 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16731
16732 2002-02-14 Mark Wielaard <mark@klomp.org>
16733
16734 Thanks to Takashi Okamoto
16735 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16736 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16737 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16738
16739 2002-02-13 Todd Stock <toddastock@yahoo.com>
16740
16741 Fix for PR libgcj/5670:
16742 * verify.cc (is_assignable_from_slow): If `source' is interface,
16743 recursively look for merge with `target'.
16744
16745 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
16746
16747 * include/jni.h: Fix typo.
16748
16749 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
16750
16751 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16752 correctly.
16753
16754 2002-02-13 Todd Stock <toddastock@yahoo.com>
16755
16756 Fix for PR libgcj/5671:
16757 * verify.cc (state::merge): Handle case where we're merging
16758 against an interface.
16759
16760 2002-02-12 Tom Tromey <tromey@redhat.com>
16761
16762 * exception.cc (std::abort): Mark as noreturn.
16763
16764 2002-02-12 Adam Megacz <adam@xwt.org>
16765
16766 * java/lang/Win32Process.java: Filled in a placeholder
16767 implementation so Win32 will build.
16768
16769 2002-02-12 Adam Megacz <adam@xwt.org>
16770
16771 * java/io/natFilePosix.cc: Copied this from natFile.cc.
16772 * java/io/natFile.cc: Removed from repository.
16773 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16774
16775 2002-02-12 Adam Megacz <adam@xwt.org>
16776
16777 * win32.cc: Added two #includes to make win32.cc compile.
16778
16779 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16780
16781 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16782 declarations.
16783 (_Jv_InitGC): Don't bother locking, as this is always called from a
16784 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16785
16786 2002-02-11 Adam Megacz <adam@xwt.org>
16787
16788 * include/win32.h: Added _Jv_platform_gettimeofday.
16789 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16790
16791 2002-02-11 Adam Megacz <adam@xwt.org>
16792
16793 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16794 Added #undef STRICT to make windows.h and
16795 java/lang/reflect/Modifier.h cooperate.
16796
16797 2002-02-11 Adam Megacz <adam@xwt.org>
16798
16799 * java/io/natFileWin32.cc: Created a placeholder class with lots
16800 of FIXMEs.
16801
16802 2002-02-11 Adam Megacz <adam@xwt.org>
16803
16804 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16805 std::abort() to simply abort(). Also added "fake" std::abort() so
16806 we can #include unwind-pe.h without having to link against
16807 libstdc++-v3.
16808
16809 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
16810
16811 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16812
16813 2002-02-08 Tom Tromey <tromey@redhat.com>
16814
16815 * interpret.cc (convert): New function.
16816 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16817 convert.
16818 Include Long.h.
16819
16820 2002-02-08 Anthony Green <green@redhat.com>
16821
16822 * configure.host: Add support for xscale-elf embedded target.
16823
16824 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
16825
16826 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16827 dereferenced.
16828 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16829 frame.
16830
16831 2002-02-07 Tom Tromey <tromey@redhat.com>
16832
16833 * java/io/natFile.cc (_access): Use __builtin_alloca.
16834 (_stat): Likewise.
16835 (attr): Likewise.
16836 (getCanonicalPath): Likewise.
16837 (performList): Likewise.
16838 (performMkdir): Likewise.
16839 (performSetReadOnly): Likewise.
16840 (performRenameTo): Likewise.
16841 (performSetLastModified): Likewise.
16842 (performCreate): Likewise.
16843 (performDelete): Likewise.
16844
16845 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16846
16847 * HACKING: Fix URL for the automake-gcj.
16848
16849 2002-02-07 Tom Tromey <tromey@redhat.com>
16850
16851 * java/lang/natThrowable.cc: Updated copyright.
16852 * java/io/natFileWin32.cc: Updated copyright.
16853 * java/io/natFileDescriptorWin32.cc: Updated copyright.
16854 * win32-threads.cc: Updated copyright.
16855 * name-finder.cc: Updated copyright.
16856 * include/name-finder.h: Updated copyright.
16857
16858 * include/name-finder.h: Conditionally include sys/wait.h.
16859 * include/config.h.in: Rebuilt.
16860
16861 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16862 Size buffer based on real size of string.
16863 (_stat): Likewise.
16864 (attr): Likewise.
16865 (getCanonicalPath): Likewise.
16866 (performList): Likewise.
16867 (performMkdir): Likewise.
16868 (performSetReadOnly): Likewise.
16869 (unixroot): Removed.
16870 (performRenameTo): Likewise.
16871 (performSetLastModified): Likewise.
16872 (performCreate): Likewise.
16873 (performDelete): Likewise.
16874 (performListRoots): Always return new array.
16875
16876 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16877 * win32.cc (win32_exception_handler): Now static.
16878 * include/win32.h (_Jv_platform_initialize): Declare.
16879 (win32_exception_handler): Don't declare.
16880 * java/lang/natSystem.cc (currentTimeMillis): Use
16881 _Jv_platform_gettimeofday.
16882 * posix.cc (_Jv_platform_gettimeofday): Renamed.
16883 (_Jv_select): Use new name.
16884 (_Jv_platform_initialize): New function.
16885 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16886 _Jv_gettimeofday.
16887 (_Jv_platform_initialize): Declare.
16888
16889 * configure: Rebuilt.
16890 * configure.in: Removed unnecessary parens.
16891
16892 2002-02-06 Adam Megacz <adam@xwt.org>
16893
16894 * configure.in: Changed mingw) to *mingw*).
16895 * win32.cc: Created this file.
16896 * win32.h: Created this file.
16897 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16898 win32_exception_handler from prims.cc to win32.cc, added
16899 header in win32.h.
16900 * prims.cc: removed some #ifdef-WIN32'd headers which are no
16901 longer needed now that we have platform.h
16902
16903 2002-02-06 Adam Megacz <adam@xwt.org>
16904
16905 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16906 use uint<n>_t instead of LONG and BYTE
16907
16908 2002-02-06 Adam Megacz <adam@xwt.org>
16909
16910 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16911
16912 2002-02-06 Anthony Green <green@redhat.com>
16913
16914 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16915 Implement missing method stubs.
16916 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16917 targets.
16918 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16919 concept of timezones.
16920 (init_properties): Don't refer to _Jv_Environment_Properties
16921 when this feature is not available.
16922 * include/config.h.in: Rebuilt.
16923 * acconfig.h: Add DISABLE_MAIN_ARGS.
16924 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16925 * configure: Rebuilt.
16926 * configure.in: Add --disable-main-args option. Test for
16927 opendir function. Replace AC_CHECK_SIZEOF with
16928 AC_COMPILE_CHECK_SIZEOF.
16929 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16930 * aclocal.m4: Rebuilt.
16931 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16932
16933 2002-02-06 Tom Tromey <tromey@redhat.com>
16934
16935 * verify.cc (require_array_type): If argument is a null array of
16936 references, return null as the element type.
16937
16938 2002-02-06 Mark Wielaard <mark@klomp.org>
16939
16940 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16941 duplicate of a wide type.
16942
16943 2002-02-06 Tom Tromey <tromey@redhat.com>
16944
16945 * verify.cc (type::isnull): New method.
16946 (require_array_type): Handle case where array is null.
16947 (verify_instructions_0) [op_arraylength]: Likewise.
16948
16949 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16950
16951 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16952 Symlink PLATFORMH to platform.h.
16953 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16954 PLATFORMOBJS.
16955 * java/lang/natSystem.cc: #include platform.h not posix.h.
16956 * Makefile.in: Rebuilt with libgcj automake.
16957 * configure: Rebuilt.
16958
16959 2002-02-05 Richard Henderson <rth@redhat.com>
16960
16961 * Makefile.in: Undo munging last change.
16962
16963 2002-02-04 Adam Megacz <adam@xwt.org>
16964
16965 * win32.cc: Created it.
16966 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16967 which is set to posix.cc or win32.cc.
16968 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16969
16970 2002-02-04 Adam Megacz <adam@xwt.org>
16971
16972 * configure.in: Corrected mingw case branches; added * before
16973 and after.
16974
16975 2002-02-04 Adam Megacz <adam@xwt.org>
16976
16977 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16978 if compiling for win32
16979
16980 2002-02-04 Adam Megacz <adam@xwt.org>
16981
16982 * win32-threads.cc: #undef STRICT after gc.h inclusion
16983
16984 2002-02-02 Tom Tromey <tromey@redhat.com>
16985
16986 * Makefile.in: Rebuilt.
16987
16988 2002-02-02 Jason Merrill <jason@redhat.com>
16989
16990 * Makefile.am (clean-nat): New target.
16991
16992 2002-02-02 Tom Tromey <tromey@redhat.com>
16993
16994 * java/io/natFile.cc: Removed old "FIXME" comments.
16995
16996 2002-02-01 Tom Tromey <tromey@redhat.com>
16997
16998 * java/lang/natPosixProcess.cc (myclose): New function.
16999 (fail): Use it.
17000 (startProcess): Likewise.
17001
17002 2002-02-01 Adam Megacz <adam@xwt.org>
17003
17004 * prims.cc: Added #undef STRICT after #include<windows.h>.
17005
17006 2002-02-01 Adam Megacz <adam@xwt.org>
17007
17008 * prims.cc
17009 (_Jv_CreateJavaVM): We now use WIN32 instead of
17010 USE_WIN32_SIGNALLING and USE_WINSOCK.
17011 (win32_exception_handler): Now throws an exception out of
17012 the signal handler; assumes SJLJ.
17013
17014 2002-02-01 Adam Megacz <adam@xwt.org>
17015
17016 * win32-threads.cc:
17017 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
17018 wait() algorithm to make it safe.
17019 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
17020 Added lazy creation of Win32 Events for better performance
17021 (really_start): This now uses GC_CreateThread so boehm-gc
17022 knows about new threads even when statically linked.
17023
17024 2002-02-01 Adam Megacz <adam@xwt.org>
17025
17026 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
17027 enable safer wait() algorithm.
17028 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
17029 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
17030 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
17031 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
17032 instead of mutex.
17033 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
17034
17035 2002-02-01 Adam Megacz <adam@xwt.org>
17036
17037 * configure.in: Added support for mingw.
17038 * java/lang/Win32Process.java: Created as empty file.
17039 * java/lang/natWin32Process.cc: Created as empty file.
17040
17041 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
17042
17043 PR java/4972
17044 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
17045 for libiconv in LIBICONV variable.
17046 * configure: Regenerated.
17047
17048 2002-01-31 Tom Tromey <tromey@redhat.com>
17049
17050 * verify.cc (state::enter_subroutine): New method.
17051 (handle_jsr_insn): Use it.
17052 (state::merge): When processing a `ret', correctly use
17053 subroutine's state to determine which local variables have
17054 changed.
17055 (push_exception_jump): Don't let stack overflow.
17056
17057 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
17058
17059 * gnu/gcj/convert/Convert.java: Only include one copyright year in
17060 --version output.
17061
17062 2002-01-30 Tom Tromey <tromey@redhat.com>
17063
17064 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
17065 parameter for `recv' return type.
17066
17067 * verify.cc (handle_ret_insn): Check for subroutine merge here...
17068 (state::merge): ... not here.
17069 (subr_entry_info): New structure.
17070 (entry_points): New field.
17071 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
17072 entry_points.
17073
17074 2002-01-29 Tom Tromey <tromey@redhat.com>
17075
17076 * java/awt/List.java (addNotify): Correctly check to see if peer
17077 does not exist.
17078
17079 * java/awt/GridLayout.java (layoutContainer): Use number of rows
17080 to compute height of each cell, and number of columns to compute
17081 width of each cell.
17082 * java/awt/Window.java (getOwnedWindows): Don't return null.
17083 * java/awt/FlowLayout.java (layoutContainer): Set width and height
17084 of component. Increment x using horizontal gap, not vertical
17085 gap.
17086
17087 2002-01-28 Tom Tromey <tromey@redhat.com>
17088
17089 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
17090 `nargs' byte is number of words, not number of arguments.
17091
17092 2002-01-27 Tom Tromey <tromey@redhat.com>
17093
17094 * java/awt/event/MouseEvent.java (modifiers): Removed field.
17095 (when): Likewise.
17096 * java/awt/event/InputEvent.java (modifiers, when): Now
17097 package-private.
17098
17099 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
17100 and to-do list.
17101 (state::merge): Use current class' class loader.
17102 (state::print): Print subroutine.
17103 (state::merge): Don't look at subroutine of unmerged `ret'.
17104
17105 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
17106
17107 * nogc.cc: Remove warnings.
17108 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
17109 New functions.
17110
17111 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17112
17113 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
17114 int, int): Remove empty "if" statement to work around compiler bug.
17115 (newPixels(int[], ColorModel, int, int): Likewise.
17116
17117 2002-01-25 Per Bothner <per@bothner.com>
17118
17119 * verify.cc (verify_fail): Change from being a top-level function
17120 to e method of _Jv_BytecodeVerifier. Emit current method name.
17121 Pass the current verifier to type: and state: methods as needed,
17122 for better error messages, and for resolve.
17123 (resolve): Pass current class's loader for Class.forName and
17124 _Jv_FindClassFromSignature, rather than using the default loader.
17125 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
17126 (get_type_val_for_signature): Make non-static.
17127 (various methods): Pass start_PC implicitly, not explicitly.
17128
17129 2002-01-25 Tom Tromey <tromey@redhat.com>
17130
17131 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17132 loop termination condition.
17133 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17134 width.
17135
17136 2002-01-24 Tom Tromey <tromey@redhat.com>
17137
17138 * java/awt/Shape.java: Merged with Classpath.
17139 * java/awt/Scrollbar.java: Merged with Classpath.
17140
17141 * java/awt/Container.java (addNotify): Unconditionally call
17142 addNotifyContainerChildren and superclass addNotify.
17143
17144 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17145 getAlpha, not getBlue.
17146
17147 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17148
17149 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17150
17151 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17152 (grabPixels(long)): Wait to be notified that the ImageProducer has
17153 completed.
17154
17155 2002-01-24 Per Bothner <per@bothner.com>
17156
17157 * verify.cc (is_assignable_from_slow): If target is an interface,
17158 we must still check the source's superclass before giving up.
17159
17160 2002-01-24 Tom Tromey <tromey@redhat.com>
17161
17162 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17163
17164 2002-01-23 Tom Tromey <tromey@redhat.com>
17165
17166 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17167 `else'.
17168
17169 * Makefile.in: Rebuilt.
17170 * Makefile.am (awt_java_source_files): Added new files.
17171 * java/awt/Toolkit.java: Merged with Classpath.
17172 * java/awt/PrintGraphics.java: New file from Classpath.
17173 * java/awt/PrintJob.java: New file from Classpath.
17174 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17175 * java/awt/datatransfer/ClipboardOwner.java: New file from
17176 Classpath.
17177 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17178 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17179 * java/awt/datatransfer/MimeTypeParseException.java: New file from
17180 Classpath.
17181 * java/awt/datatransfer/StringSelection.java: New file from
17182 Classpath.
17183 * java/awt/datatransfer/SystemFlavorMap.java: New file from
17184 Classpath.
17185 * java/awt/datatransfer/Transferable.java: New file from
17186 Classpath.
17187 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17188 from Classpath.
17189
17190 * Makefile.in: Rebuilt.
17191 * Makefile.am (awt_java_source_files): Added new files.
17192 * java/awt/image/AreaAveragingScaleFilter.java: New file from
17193 Classpath.
17194 * java/awt/image/CropImageFilter.java: New file from Classpath.
17195 * java/awt/image/FilteredImageSource.java: New file from
17196 Classpath.
17197 * java/awt/image/ImageFilter.java: New file from Classpath.
17198 * java/awt/image/MemoryImageSource.java: New file from Classpath.
17199 * java/awt/image/PixelGrabber.java: New file from Classpath.
17200 * java/awt/image/RGBImageFilter.java: New file from Classpath.
17201 * java/awt/image/ReplicateScaleFilter.java: New file from
17202 Classpath.
17203 * java/awt/image/ImageProducer.java: Replaced with Classpath
17204 version.
17205 * java/awt/image/ImageObserver.java: Replaced with Classpath
17206 version.
17207 * java/awt/image/ImageConsumer.java: Replaced with Classpath
17208 version.
17209 * java/awt/GridBagConstraints.java (clone): Catch
17210 CloneNotSupportedException.
17211
17212 2002-01-23 Per Bothner <per@bothner.com>
17213
17214 * java/lang/reflect/natField.cc (setAddr): New function.
17215 Calls getAddr and then checks that the field isn't final.
17216 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17217 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
17218 (set): Call setAddr before check that new value has right type,
17219 to better match specified semantics.
17220
17221 2002-01-22 Tom Tromey <tromey@redhat.com>
17222
17223 * java/awt/TextField.java: Replaced with Classpath version.
17224 * java/awt/TextArea.java: Replaced with Classpath version.
17225 * java/awt/TextComponent.java: Replaced with Classpath version.
17226
17227 * java/awt/GridBagConstraints.java: Updated copyright.
17228
17229 2002-01-22 Mark Wielaard <mark@klomp.org>
17230
17231 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17232 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17233 java/awt/Dialog.java java/awt/FileDialog.java
17234 java/awt/Font.java java/awt/FontMetrics.java
17235 java/awt/Image.java java/awt/ImageMediaEntry.java
17236 java/awt/Insets.java java/awt/List.java
17237 java/awt/MediaEntry.java java/awt/MediaTracker.java
17238 java/awt/Menu.java java/awt/MenuBar.java
17239 java/awt/MenuContainer.java java/awt/MenuShortcut.java
17240 java/awt/PaintContext.java java/awt/Panel.java
17241 java/awt/PopupMenu.java java/awt/SystemColor.java
17242 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17243 java/awt/peer/CheckboxMenuItemPeer.java
17244 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17245 java/awt/peer/ComponentPeer.java
17246 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17247 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17248 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17249 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17250 java/awt/peer/MenuBarPeer.java
17251 java/awt/peer/MenuComponentPeer.java
17252 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17253 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17254 java/awt/peer/ScrollPanePeer.java
17255 java/awt/peer/ScrollbarPeer.java
17256 java/awt/peer/TextAreaPeer.java
17257 java/awt/peer/TextComponentPeer.java
17258 java/awt/peer/TextFieldPeer.java
17259 java/awt/peer/WindowPeer.java: Add license clarification.
17260
17261 2002-01-22 Mark Wielaard <mark@klomp.org>
17262
17263 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17264 gnu/gcj/runtime/StringBuffer.java
17265 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17266 gnu/java/awt/ComponentDataBlitOp.java
17267 gnu/java/awt/GLightweightPeer.java
17268 gnu/java/beans/BeanInfoEmbryo.java
17269 gnu/java/beans/EmptyBeanInfo.java
17270 gnu/java/beans/ExplicitBeanInfo.java
17271 gnu/java/beans/IntrospectionIncubator.java
17272 gnu/java/beans/editors/ColorEditor.java
17273 gnu/java/beans/editors/FontEditor.java
17274 gnu/java/beans/editors/NativeBooleanEditor.java
17275 gnu/java/beans/editors/NativeByteEditor.java
17276 gnu/java/beans/editors/NativeDoubleEditor.java
17277 gnu/java/beans/editors/NativeFloatEditor.java
17278 gnu/java/beans/editors/NativeIntEditor.java
17279 gnu/java/beans/editors/NativeLongEditor.java
17280 gnu/java/beans/editors/NativeShortEditor.java
17281 gnu/java/beans/editors/StringEditor.java
17282 gnu/java/beans/info/ComponentBeanInfo.java
17283 gnu/java/io/ClassLoaderObjectInputStream.java
17284 gnu/java/io/NullOutputStream.java
17285 gnu/java/io/ObjectIdentityWrapper.java
17286 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17287 gnu/java/lang/reflect/TypeSignature.java
17288 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17289 gnu/java/locale/Calendar_en.java
17290 gnu/java/locale/Calendar_nl.java
17291 gnu/java/locale/LocaleInformation.java
17292 gnu/java/locale/LocaleInformation_de.java
17293 gnu/java/locale/LocaleInformation_en.java
17294 gnu/java/locale/LocaleInformation_nl.java
17295 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17296 gnu/java/rmi/registry/RegistryImpl.java
17297 gnu/java/rmi/rmic/Compile_gcj.java
17298 gnu/java/rmi/rmic/Compiler.java
17299 gnu/java/rmi/rmic/CompilerProcess.java
17300 gnu/java/rmi/rmic/RMIC.java
17301 gnu/java/rmi/rmic/TabbedWriter.java
17302 gnu/java/rmi/server/ProtocolConstants.java
17303 gnu/java/rmi/server/RMIDefaultSocketFactory.java
17304 gnu/java/rmi/server/RMIHashes.java
17305 gnu/java/rmi/server/RMIObjectInputStream.java
17306 gnu/java/rmi/server/RMIObjectOutputStream.java
17307 gnu/java/rmi/server/UnicastConnection.java
17308 gnu/java/rmi/server/UnicastConnectionManager.java
17309 gnu/java/rmi/server/UnicastRef.java
17310 gnu/java/rmi/server/UnicastRemoteCall.java
17311 gnu/java/rmi/server/UnicastRemoteStub.java
17312 gnu/java/rmi/server/UnicastServer.java
17313 gnu/java/rmi/server/UnicastServerRef.java
17314 gnu/java/security/provider/DefaultPolicy.java
17315 gnu/java/security/provider/Gnu.java
17316 gnu/java/security/provider/SHA.java
17317 gnu/java/security/provider/SHA1PRNG.java
17318 gnu/java/text/BaseBreakIterator.java
17319 gnu/java/text/CharacterBreakIterator.java
17320 gnu/java/text/LineBreakIterator.java
17321 gnu/java/text/SentenceBreakIterator.java
17322 gnu/java/text/WordBreakIterator.java
17323 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17324 java/applet/AppletContext.java java/applet/AppletStub.java
17325 java/applet/AudioClip.java java/awt/AWTError.java
17326 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17327 java/awt/AWTException.java java/awt/AWTPermission.java
17328 java/awt/ActiveEvent.java java/awt/BorderLayout.java
17329 java/awt/Button.java java/awt/Canvas.java
17330 java/awt/CardLayout.java java/awt/Checkbox.java
17331 java/awt/CheckboxGroup.java java/awt/Component.java
17332 java/awt/ComponentOrientation.java java/awt/Container.java
17333 java/awt/Dimension.java java/awt/Event.java
17334 java/awt/EventDispatchThread.java java/awt/EventQueue.java
17335 java/awt/FlowLayout.java java/awt/Frame.java
17336 java/awt/Graphics.java java/awt/Graphics2D.java
17337 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17338 java/awt/IllegalComponentStateException.java
17339 java/awt/ItemSelectable.java java/awt/Label.java
17340 java/awt/LayoutManager.java java/awt/LayoutManager2.java
17341 java/awt/MenuComponent.java java/awt/MenuItem.java
17342 java/awt/Paint.java java/awt/Point.java
17343 java/awt/Rectangle.java java/awt/RenderingHints.java
17344 java/awt/Transparency.java java/awt/Window.java
17345 java/awt/color/ColorSpace.java
17346 java/awt/color/ICC_ColorSpace.java
17347 java/awt/color/ICC_Profile.java
17348 java/awt/event/HierarchyBoundsAdapter.java
17349 java/awt/event/HierarchyBoundsListener.java
17350 java/awt/event/HierarchyEvent.java
17351 java/awt/event/HierarchyListener.java
17352 java/awt/geom/AffineTransform.java
17353 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17354 java/awt/geom/IllegalPathStateException.java
17355 java/awt/geom/Line2D.java
17356 java/awt/geom/NoninvertibleTransformException.java
17357 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17358 java/awt/geom/Rectangle2D.java
17359 java/awt/geom/RectangularShape.java
17360 java/awt/geom/RoundRectangle2D.java
17361 java/awt/image/BufferedImage.java
17362 java/awt/image/ColorModel.java
17363 java/awt/image/ComponentColorModel.java
17364 java/awt/image/ComponentSampleModel.java
17365 java/awt/image/DataBuffer.java
17366 java/awt/image/DataBufferByte.java
17367 java/awt/image/DataBufferInt.java
17368 java/awt/image/DataBufferUShort.java
17369 java/awt/image/DirectColorModel.java
17370 java/awt/image/PackedColorModel.java
17371 java/awt/image/Raster.java java/awt/image/RasterOp.java
17372 java/awt/image/SampleModel.java
17373 java/awt/image/SinglePixelPackedSampleModel.java
17374 java/awt/image/WritableRaster.java
17375 java/beans/AppletInitializer.java
17376 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17377 java/beans/Beans.java java/beans/Customizer.java
17378 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17379 java/beans/FeatureDescriptor.java
17380 java/beans/IndexedPropertyDescriptor.java
17381 java/beans/IntrospectionException.java
17382 java/beans/Introspector.java java/beans/MethodDescriptor.java
17383 java/beans/ParameterDescriptor.java
17384 java/beans/PropertyChangeEvent.java
17385 java/beans/PropertyChangeListener.java
17386 java/beans/PropertyChangeSupport.java
17387 java/beans/PropertyDescriptor.java
17388 java/beans/PropertyEditor.java
17389 java/beans/PropertyEditorManager.java
17390 java/beans/PropertyEditorSupport.java
17391 java/beans/PropertyVetoException.java
17392 java/beans/SimpleBeanInfo.java
17393 java/beans/VetoableChangeListener.java
17394 java/beans/VetoableChangeSupport.java
17395 java/beans/Visibility.java
17396 java/beans/beancontext/BeanContext.java
17397 java/beans/beancontext/BeanContextChild.java
17398 java/beans/beancontext/BeanContextChildComponentProxy.java
17399 java/beans/beancontext/BeanContextChildSupport.java
17400 java/beans/beancontext/BeanContextContainerProxy.java
17401 java/beans/beancontext/BeanContextEvent.java
17402 java/beans/beancontext/BeanContextMembershipEvent.java
17403 java/beans/beancontext/BeanContextMembershipListener.java
17404 java/beans/beancontext/BeanContextProxy.java
17405 java/beans/beancontext/BeanContextServiceAvailableEvent.java
17406 java/beans/beancontext/BeanContextServiceProvider.java
17407 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17408 java/beans/beancontext/BeanContextServiceRevokedEvent.java
17409 java/beans/beancontext/BeanContextServiceRevokedListener.java
17410 java/beans/beancontext/BeanContextServices.java
17411 java/beans/beancontext/BeanContextServicesListener.java
17412 java/io/BufferedInputStream.java
17413 java/io/BufferedOutputStream.java java/io/BufferedReader.java
17414 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17415 java/io/ByteArrayOutputStream.java
17416 java/io/CharArrayReader.java java/io/CharArrayWriter.java
17417 java/io/CharConversionException.java java/io/DataInput.java
17418 java/io/DataInputStream.java java/io/DataOutput.java
17419 java/io/EOFException.java java/io/Externalizable.java
17420 java/io/FileFilter.java java/io/FileNotFoundException.java
17421 java/io/FilePermission.java java/io/FileReader.java
17422 java/io/FileWriter.java java/io/FilenameFilter.java
17423 java/io/FilterInputStream.java java/io/FilterOutputStream.java
17424 java/io/FilterReader.java java/io/FilterWriter.java
17425 java/io/IOException.java java/io/InputStream.java
17426 java/io/InterruptedIOException.java
17427 java/io/InvalidClassException.java
17428 java/io/InvalidObjectException.java
17429 java/io/NotActiveException.java
17430 java/io/NotSerializableException.java java/io/ObjectInput.java
17431 java/io/ObjectInputStream.java
17432 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17433 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17434 java/io/ObjectStreamConstants.java
17435 java/io/ObjectStreamException.java
17436 java/io/ObjectStreamField.java
17437 java/io/OptionalDataException.java java/io/OutputStream.java
17438 java/io/PipedInputStream.java java/io/PipedOutputStream.java
17439 java/io/PipedReader.java java/io/PipedWriter.java
17440 java/io/PrintWriter.java java/io/PushbackInputStream.java
17441 java/io/PushbackReader.java java/io/Reader.java
17442 java/io/SequenceInputStream.java java/io/Serializable.java
17443 java/io/SerializablePermission.java
17444 java/io/StreamCorruptedException.java
17445 java/io/StreamTokenizer.java
17446 java/io/StringBufferInputStream.java java/io/StringReader.java
17447 java/io/StringWriter.java java/io/SyncFailedException.java
17448 java/io/UTFDataFormatException.java
17449 java/io/UnsupportedEncodingException.java
17450 java/io/WriteAbortedException.java java/io/Writer.java
17451 java/lang/AbstractMethodError.java
17452 java/lang/ArithmeticException.java
17453 java/lang/ArrayIndexOutOfBoundsException.java
17454 java/lang/ArrayStoreException.java java/lang/Boolean.java
17455 java/lang/Byte.java java/lang/CharSequence.java
17456 java/lang/ClassCastException.java
17457 java/lang/ClassCircularityError.java
17458 java/lang/ClassFormatError.java
17459 java/lang/ClassNotFoundException.java
17460 java/lang/CloneNotSupportedException.java
17461 java/lang/Cloneable.java java/lang/Comparable.java
17462 java/lang/Compiler.java java/lang/Double.java
17463 java/lang/Error.java java/lang/Exception.java
17464 java/lang/ExceptionInInitializerError.java
17465 java/lang/Float.java java/lang/IllegalAccessError.java
17466 java/lang/IllegalAccessException.java
17467 java/lang/IllegalArgumentException.java
17468 java/lang/IllegalMonitorStateException.java
17469 java/lang/IllegalStateException.java
17470 java/lang/IllegalThreadStateException.java
17471 java/lang/IncompatibleClassChangeError.java
17472 java/lang/IndexOutOfBoundsException.java
17473 java/lang/InheritableThreadLocal.java
17474 java/lang/InstantiationError.java
17475 java/lang/InstantiationException.java java/lang/Integer.java
17476 java/lang/InternalError.java
17477 java/lang/InterruptedException.java
17478 java/lang/LinkageError.java java/lang/Long.java
17479 java/lang/NegativeArraySizeException.java
17480 java/lang/NoClassDefFoundError.java
17481 java/lang/NoSuchFieldError.java
17482 java/lang/NoSuchFieldException.java
17483 java/lang/NoSuchMethodError.java
17484 java/lang/NoSuchMethodException.java
17485 java/lang/NullPointerException.java java/lang/Number.java
17486 java/lang/NumberFormatException.java
17487 java/lang/OutOfMemoryError.java java/lang/Package.java
17488 java/lang/Process.java java/lang/Runnable.java
17489 java/lang/RuntimeException.java
17490 java/lang/RuntimePermission.java
17491 java/lang/SecurityException.java
17492 java/lang/SecurityManager.java java/lang/Short.java
17493 java/lang/StackOverflowError.java java/lang/StringBuffer.java
17494 java/lang/StringIndexOutOfBoundsException.java
17495 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17496 java/lang/ThreadLocal.java java/lang/UnknownError.java
17497 java/lang/UnsatisfiedLinkError.java
17498 java/lang/UnsupportedClassVersionError.java
17499 java/lang/UnsupportedOperationException.java
17500 java/lang/VerifyError.java java/lang/VirtualMachineError.java
17501 java/lang/Void.java java/lang/ref/PhantomReference.java
17502 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17503 java/lang/ref/SoftReference.java
17504 java/lang/ref/WeakReference.java
17505 java/lang/reflect/AccessibleObject.java
17506 java/lang/reflect/InvocationTargetException.java
17507 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17508 java/lang/reflect/ReflectPermission.java
17509 java/math/BigDecimal.java java/math/BigInteger.java
17510 java/net/Authenticator.java java/net/BindException.java
17511 java/net/ConnectException.java java/net/ContentHandler.java
17512 java/net/ContentHandlerFactory.java
17513 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17514 java/net/FileNameMap.java java/net/MalformedURLException.java
17515 java/net/MulticastSocket.java java/net/NetPermission.java
17516 java/net/NoRouteToHostException.java
17517 java/net/PasswordAuthentication.java
17518 java/net/ProtocolException.java java/net/ServerSocket.java
17519 java/net/Socket.java java/net/SocketException.java
17520 java/net/SocketImpl.java java/net/SocketImplFactory.java
17521 java/net/SocketOptions.java java/net/SocketPermission.java
17522 java/net/URLDecoder.java java/net/URLEncoder.java
17523 java/net/URLStreamHandlerFactory.java
17524 java/net/UnknownHostException.java
17525 java/net/UnknownServiceException.java
17526 java/rmi/AccessException.java
17527 java/rmi/AlreadyBoundException.java
17528 java/rmi/ConnectException.java
17529 java/rmi/ConnectIOException.java
17530 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17531 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17532 java/rmi/NotBoundException.java
17533 java/rmi/RMISecurityException.java
17534 java/rmi/RMISecurityManager.java java/rmi/Remote.java
17535 java/rmi/RemoteException.java java/rmi/ServerError.java
17536 java/rmi/ServerException.java
17537 java/rmi/ServerRuntimeException.java
17538 java/rmi/StubNotFoundException.java
17539 java/rmi/UnexpectedException.java
17540 java/rmi/UnknownHostException.java
17541 java/rmi/UnmarshalException.java
17542 java/rmi/activation/Activatable.java
17543 java/rmi/activation/ActivateFailedException.java
17544 java/rmi/activation/ActivationDesc.java
17545 java/rmi/activation/ActivationException.java
17546 java/rmi/activation/ActivationGroup.java
17547 java/rmi/activation/ActivationGroupDesc.java
17548 java/rmi/activation/ActivationGroupID.java
17549 java/rmi/activation/ActivationID.java
17550 java/rmi/activation/ActivationInstantiator.java
17551 java/rmi/activation/ActivationMonitor.java
17552 java/rmi/activation/ActivationSystem.java
17553 java/rmi/activation/Activator.java
17554 java/rmi/activation/UnknownGroupException.java
17555 java/rmi/activation/UnknownObjectException.java
17556 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17557 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17558 java/rmi/registry/Registry.java
17559 java/rmi/registry/RegistryHandler.java
17560 java/rmi/server/ExportException.java
17561 java/rmi/server/LoaderHandler.java
17562 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17563 java/rmi/server/Operation.java
17564 java/rmi/server/RMIClassLoader.java
17565 java/rmi/server/RMIClientSocketFactory.java
17566 java/rmi/server/RMIFailureHandler.java
17567 java/rmi/server/RMIServerSocketFactory.java
17568 java/rmi/server/RMISocketFactory.java
17569 java/rmi/server/RemoteCall.java
17570 java/rmi/server/RemoteObject.java
17571 java/rmi/server/RemoteRef.java
17572 java/rmi/server/RemoteServer.java
17573 java/rmi/server/RemoteStub.java
17574 java/rmi/server/ServerCloneException.java
17575 java/rmi/server/ServerNotActiveException.java
17576 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17577 java/rmi/server/SkeletonMismatchException.java
17578 java/rmi/server/SkeletonNotFoundException.java
17579 java/rmi/server/SocketSecurityException.java
17580 java/rmi/server/UID.java
17581 java/rmi/server/UnicastRemoteObject.java
17582 java/rmi/server/Unreferenced.java
17583 java/security/AccessControlContext.java
17584 java/security/AccessControlException.java
17585 java/security/AccessController.java
17586 java/security/AlgorithmParameterGenerator.java
17587 java/security/AlgorithmParameterGeneratorSpi.java
17588 java/security/AlgorithmParameters.java
17589 java/security/AlgorithmParametersSpi.java
17590 java/security/AllPermission.java
17591 java/security/BasicPermission.java
17592 java/security/Certificate.java java/security/CodeSource.java
17593 java/security/DigestException.java
17594 java/security/DigestInputStream.java
17595 java/security/DigestOutputStream.java
17596 java/security/DomainCombiner.java
17597 java/security/DummyKeyPairGenerator.java
17598 java/security/DummyMessageDigest.java
17599 java/security/DummySignature.java
17600 java/security/GeneralSecurityException.java
17601 java/security/Guard.java java/security/GuardedObject.java
17602 java/security/Identity.java java/security/IdentityScope.java
17603 java/security/InvalidAlgorithmParameterException.java
17604 java/security/InvalidKeyException.java
17605 java/security/InvalidParameterException.java
17606 java/security/Key.java java/security/KeyException.java
17607 java/security/KeyFactory.java java/security/KeyFactorySpi.java
17608 java/security/KeyManagementException.java
17609 java/security/KeyPair.java java/security/KeyPairGenerator.java
17610 java/security/KeyPairGeneratorSpi.java
17611 java/security/KeyStore.java
17612 java/security/KeyStoreException.java
17613 java/security/KeyStoreSpi.java
17614 java/security/MessageDigest.java
17615 java/security/MessageDigestSpi.java
17616 java/security/NoSuchAlgorithmException.java
17617 java/security/NoSuchProviderException.java
17618 java/security/Permission.java
17619 java/security/PermissionCollection.java
17620 java/security/Permissions.java java/security/Policy.java
17621 java/security/Principal.java java/security/PrivateKey.java
17622 java/security/PrivilegedAction.java
17623 java/security/PrivilegedActionException.java
17624 java/security/PrivilegedExceptionAction.java
17625 java/security/ProtectionDomain.java
17626 java/security/Provider.java
17627 java/security/ProviderException.java
17628 java/security/PublicKey.java
17629 java/security/SecureClassLoader.java
17630 java/security/SecureRandom.java
17631 java/security/SecureRandomSpi.java java/security/Security.java
17632 java/security/SecurityPermission.java
17633 java/security/Signature.java
17634 java/security/SignatureException.java
17635 java/security/SignatureSpi.java
17636 java/security/SignedObject.java java/security/Signer.java
17637 java/security/UnrecoverableKeyException.java
17638 java/security/UnresolvedPermission.java
17639 java/security/acl/Acl.java java/security/acl/AclEntry.java
17640 java/security/acl/AclNotFoundException.java
17641 java/security/acl/Group.java
17642 java/security/acl/LastOwnerException.java
17643 java/security/acl/NotOwnerException.java
17644 java/security/acl/Owner.java java/security/acl/Permission.java
17645 java/security/cert/CRL.java
17646 java/security/cert/CRLException.java
17647 java/security/cert/Certificate.java
17648 java/security/cert/CertificateEncodingException.java
17649 java/security/cert/CertificateException.java
17650 java/security/cert/CertificateExpiredException.java
17651 java/security/cert/CertificateFactory.java
17652 java/security/cert/CertificateFactorySpi.java
17653 java/security/cert/CertificateNotYetValidException.java
17654 java/security/cert/CertificateParsingException.java
17655 java/security/cert/X509CRL.java
17656 java/security/cert/X509CRLEntry.java
17657 java/security/cert/X509Certificate.java
17658 java/security/cert/X509Extension.java
17659 java/security/interfaces/DSAKey.java
17660 java/security/interfaces/DSAKeyPairGenerator.java
17661 java/security/interfaces/DSAParams.java
17662 java/security/interfaces/DSAPrivateKey.java
17663 java/security/interfaces/DSAPublicKey.java
17664 java/security/interfaces/RSAKey.java
17665 java/security/interfaces/RSAPrivateCrtKey.java
17666 java/security/interfaces/RSAPrivateKey.java
17667 java/security/interfaces/RSAPublicKey.java
17668 java/security/spec/AlgorithmParameterSpec.java
17669 java/security/spec/DSAParameterSpec.java
17670 java/security/spec/DSAPrivateKeySpec.java
17671 java/security/spec/DSAPublicKeySpec.java
17672 java/security/spec/EncodedKeySpec.java
17673 java/security/spec/InvalidKeySpecException.java
17674 java/security/spec/InvalidParameterSpecException.java
17675 java/security/spec/KeySpec.java
17676 java/security/spec/PKCS8EncodedKeySpec.java
17677 java/security/spec/RSAKeyGenParameterSpec.java
17678 java/security/spec/RSAPrivateCrtKeySpec.java
17679 java/security/spec/RSAPrivateKeySpec.java
17680 java/security/spec/RSAPublicKeySpec.java
17681 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17682 java/sql/BatchUpdateException.java java/sql/Blob.java
17683 java/sql/CallableStatement.java java/sql/Clob.java
17684 java/sql/Connection.java java/sql/DataTruncation.java
17685 java/sql/DatabaseMetaData.java java/sql/Date.java
17686 java/sql/Driver.java java/sql/DriverManager.java
17687 java/sql/DriverPropertyInfo.java
17688 java/sql/PreparedStatement.java java/sql/Ref.java
17689 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17690 java/sql/SQLData.java java/sql/SQLException.java
17691 java/sql/SQLInput.java java/sql/SQLOutput.java
17692 java/sql/SQLWarning.java java/sql/Statement.java
17693 java/sql/Struct.java java/sql/Time.java
17694 java/sql/Timestamp.java java/sql/Types.java
17695 java/text/Annotation.java
17696 java/text/AttributedCharacterIterator.java
17697 java/text/AttributedString.java
17698 java/text/AttributedStringIterator.java
17699 java/text/BreakIterator.java java/text/CharacterIterator.java
17700 java/text/ChoiceFormat.java java/text/Collator.java
17701 java/text/DateFormat.java java/text/DateFormatSymbols.java
17702 java/text/DecimalFormat.java
17703 java/text/DecimalFormatSymbols.java
17704 java/text/FieldPosition.java java/text/Format.java
17705 java/text/MessageFormat.java java/text/NumberFormat.java
17706 java/text/ParseException.java java/text/ParsePosition.java
17707 java/text/SimpleDateFormat.java
17708 java/text/StringCharacterIterator.java
17709 java/util/AbstractCollection.java java/util/AbstractList.java
17710 java/util/AbstractMap.java
17711 java/util/AbstractSequentialList.java
17712 java/util/AbstractSet.java java/util/ArrayList.java
17713 java/util/Arrays.java java/util/BasicMapEntry.java
17714 java/util/BitSet.java java/util/Calendar.java
17715 java/util/Collection.java java/util/Collections.java
17716 java/util/Comparator.java
17717 java/util/ConcurrentModificationException.java
17718 java/util/Date.java java/util/Dictionary.java
17719 java/util/EmptyStackException.java java/util/Enumeration.java
17720 java/util/EventListener.java java/util/EventObject.java
17721 java/util/GregorianCalendar.java java/util/HashMap.java
17722 java/util/HashSet.java java/util/Hashtable.java
17723 java/util/IdentityHashMap.java java/util/Iterator.java
17724 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17725 java/util/LinkedList.java java/util/List.java
17726 java/util/ListIterator.java java/util/ListResourceBundle.java
17727 java/util/Locale.java java/util/Map.java
17728 java/util/MissingResourceException.java
17729 java/util/NoSuchElementException.java
17730 java/util/Observable.java java/util/Observer.java
17731 java/util/Properties.java java/util/PropertyPermission.java
17732 java/util/PropertyResourceBundle.java java/util/Random.java
17733 java/util/RandomAccess.java java/util/ResourceBundle.java
17734 java/util/Set.java java/util/SimpleTimeZone.java
17735 java/util/SortedMap.java java/util/SortedSet.java
17736 java/util/Stack.java java/util/StringTokenizer.java
17737 java/util/TimeZone.java java/util/Timer.java
17738 java/util/TimerTask.java
17739 java/util/TooManyListenersException.java
17740 java/util/TreeMap.java java/util/TreeSet.java
17741 java/util/Vector.java java/util/WeakHashMap.java
17742 java/util/jar/Attributes.java java/util/jar/JarEntry.java
17743 java/util/jar/JarException.java java/util/jar/JarFile.java
17744 java/util/jar/JarInputStream.java
17745 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17746 java/util/zip/Adler32.java java/util/zip/CRC32.java
17747 java/util/zip/CheckedInputStream.java
17748 java/util/zip/CheckedOutputStream.java
17749 java/util/zip/Checksum.java
17750 java/util/zip/DataFormatException.java
17751 java/util/zip/Deflater.java
17752 java/util/zip/DeflaterOutputStream.java
17753 java/util/zip/GZIPInputStream.java
17754 java/util/zip/GZIPOutputStream.java
17755 java/util/zip/Inflater.java
17756 java/util/zip/InflaterInputStream.java
17757 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17758 java/util/zip/ZipException.java java/util/zip/ZipFile.java
17759 java/util/zip/ZipInputStream.java
17760 java/util/zip/ZipOutputStream.java
17761 javax/naming/BinaryRefAddr.java
17762 javax/naming/InvalidNameException.java javax/naming/Name.java
17763 javax/naming/NamingException.java javax/naming/RefAddr.java
17764 javax/naming/StringRefAddr.java: Add license clarification.
17765
17766 2002-01-22 Tom Tromey <tromey@redhat.com>
17767
17768 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17769 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17770 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17771 version.
17772 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17773 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17774 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17775 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17776 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17777 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17778 * java/awt/peer/FontPeer.java: Replace with Classpath version.
17779 * java/awt/peer/FramePeer.java: Replace with Classpath version.
17780 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17781 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17782 * java/awt/peer/ListPeer.java: Replace with Classpath version.
17783 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17784 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17785 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17786 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17787 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17788 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17789 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17790 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17791 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17792 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17793 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17794 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17795 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17796 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17797 (minimumSize, preferredSize, reshape): Likewise.
17798 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17799 getColorModel): New methods.
17800 * java/awt/PopupMenu.java: Merged with Classpath.
17801 * java/awt/MenuBar.java: Merged with Classpath.
17802 * java/awt/SystemColor.java: Replace with Classpath version.
17803 * java/awt/Panel.java: Merged with Classpath.
17804 * java/awt/PaintContext.java: Updated copyright.
17805 * java/awt/MenuShortcut.java: Merged with Classpath.
17806 * java/awt/MenuContainer.java: Merged with Classpath.
17807 * java/awt/Menu.java: Merged with Classpath.
17808 * java/awt/MediaEntry.java: New file from Classpath.
17809 * java/awt/MediaTracker.java: New file from Classpath.
17810 * java/awt/List.java: Merged with Classpath version.
17811 * java/awt/Insets.java: Merged with Classpath version.
17812 * java/awt/ImageMediaEntry.java: New file from Classpath.
17813 * java/awt/Image.java: Replaced with Classpath version.
17814 * java/awt/FontMetrics.java: Merged with Classpath version.
17815 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17816 constant.
17817 * java/awt/Font.java: Merged with Classpath version.
17818 * java/awt/Dialog.java: Merged with Classpath version.
17819 * java/awt/Color.java: Merged with Classpath version.
17820 * java/awt/Choice.java: Merged with Classpath version.
17821 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17822 * java/awt/Adjustable.java: Replace with Classpath version.
17823 * java/awt/MenuItem.java (paramString): Don't include class name
17824 or brackets. Call superclass paramString.
17825 * java/awt/MenuComponent.java (toString): Call paramString.
17826 (paramString): Compute string; don't call toString.
17827 * java/awt/Label.java (paramString): Don't include class name
17828 or brackets. Call superclass paramString.
17829 * java/awt/Checkbox.java (paramString): Don't include class name
17830 or brackets. Call superclass paramString.
17831 * java/awt/Button.java (paramString): Don't include class name or
17832 brackets. Call superclass paramString.
17833 * java/awt/MenuComponent.java (getTreeLock): Now protected.
17834
17835 2002-01-20 Andreas Schwab <schwab@suse.de>
17836
17837 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17838 function and of parameter recv_func to ssize_t, as specified by
17839 POSIX.
17840
17841 2002-01-19 Per Bothner <per@bothner.com>
17842
17843 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
17844 uncompressed_size in readiness for next entry.
17845
17846 2002-01-18 Tom Tromey <tromey@redhat.com>
17847
17848 * java/net/natPlainSocketImpl.cc: Include
17849 IllegalArgumentException.h.
17850 (_Jv_recv): New template function.
17851 (BooleanClass): Removed.
17852 (read): Use _Jv_recv.
17853 (setOption): Use Boolean::class$. Throw exception if object is
17854 not Boolean or Integer.
17855
17856 2002-01-17 Tom Tromey <tromey@redhat.com>
17857
17858 * java/awt/MenuComponent.java: Merged with Classpath.
17859 * java/awt/MenuItem.java: Merged with Classpath.
17860 * java/awt/Button.java: Merged with Classpath.
17861
17862 * java/awt/ActiveEvent.java: Updated copyright.
17863
17864 * java/awt/AWTError.java: Replaced with Classpath version.
17865 * java/awt/AWTException.java: Replaced with Classpath version.
17866 * java/awt/IllegalComponentStateException.java: Replaced with
17867 Classpath version.
17868
17869 2002-01-16 Tom Tromey <tromey@redhat.com>
17870
17871 * java/awt/Canvas.java (serialVersionUID): New constant.
17872 Updated copyright. Added javadoc from Classpath.
17873 * java/awt/ItemSelectable.java: Replaced with Classpath version.
17874
17875 * java/awt/CheckboxGroup.java: Merged with Classpath.
17876 * java/awt/Checkbox.java: Merged with Classpath.
17877
17878 * java/awt/Dimension.java: Updated copyright. Added javadoc from
17879 Classpath.
17880 * java/awt/Point.java: Updated copyright.
17881
17882 * java/awt/Point.java (toString): Use getClass().getName().
17883 Added javadoc.
17884
17885 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17886 commented code.
17887 (hash): Correctly compute initial value for `h'.
17888
17889 * java/awt/Label.java: Merged with Classpath.
17890
17891 2002-01-15 Tom Tromey <tromey@redhat.com>
17892
17893 * java/awt/AWTPermission.java: Updated copyright.
17894
17895 * java/awt/LayoutManager2.java: Merged with Classpath.
17896 * java/awt/LayoutManager.java: Merged with Classpath.
17897 * java/awt/GridLayout.java: Updated copyright and javadoc.
17898 (getSize): Use `parent.ncomponents'. Handle insets.
17899 (layoutContainer): Use `parent.ncomponents'. Handle case where
17900 there are fewer children than columns. Correctly compute size of
17901 each cell in the grid. Handle case where there isn't enough
17902 space.
17903 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
17904 all users.
17905 (gotoComponent): Use parent.ncomponents. Ensure child exists
17906 before calling setVisible() on it. Last item is `num - 1', not
17907 `num'.
17908 (layoutContainer): Hoist invariants out of loop.
17909
17910 Start of AWT merge with Classpath:
17911 * Makefile.in: Rebuilt.
17912 * Makefile.am (awt_java_source_files): Reference files in
17913 gnu/java/awt, not gnu/gcj/awt.
17914 * java/awt/image/BufferedImage.java: Updated copyright.
17915 * java/awt/image/ComponentColorModel.java: Updated copyright.
17916 * java/awt/image/ComponentSampleModel.java: Updated copyright.
17917 * java/awt/image/DataBuffer.java: Updated copyright.
17918 * java/awt/image/DataBufferByte.java: Updated copyright.
17919 * java/awt/image/DataBufferInt.java: Updated copyright.
17920 * java/awt/image/DataBufferUShort.java: Updated copyright.
17921 * java/awt/image/IndexColorModel.java: Updated copyright.
17922 * java/awt/image/PackedColorModel.java: Updated copyright.
17923 * java/awt/image/Raster.java: Updated copyright.
17924 * java/awt/image/RasterOp.java: Updated copyright.
17925 * java/awt/image/SampleModel.java: Updated copyright.
17926 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17927 * java/awt/image/WritableRaster.java: Updated copyright.
17928 * java/awt/color/ColorSpace.java: Updated copyright.
17929 * java/awt/color/ICC_ColorSpace.java: Updated copyright
17930 * java/awt/color/ICC_Profile.java: Updated copyright.
17931 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17932 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17933 * java/awt/event/HierarchyEvent.java: Updated copyright.
17934 * java/awt/event/HierarchyListener.java: Updated copyright.
17935 * java/awt/geom/AffineTransform.java: Updated copyright.
17936 * java/awt/geom/Dimension2D.java: Updated copyright.
17937 * java/awt/geom/Ellipse2D.java: Updated copyright.
17938 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17939 * java/awt/geom/Line2D.java: Updated copyright.
17940 * java/awt/geom/NoninvertibleTransformException.java: Updated
17941 copyright.
17942 * java/awt/geom/PathIterator.java: Updated copyright.
17943 * java/awt/geom/Point2D.java: Updated copyright.
17944 * java/awt/geom/Rectangle2D.java: Updated copyright.
17945 * java/awt/geom/RectangularShape.java: Updated copyright.
17946 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17947 * java/awt/Toolkit.java: Updated import for file moves.
17948 * java/awt/Rectangle.java: Updated copyright; added javadoc from
17949 Classpath.
17950 (hashCode): New method from Classpath.
17951 * java/awt/Graphics2D.java: Updated copyright.
17952 * java/awt/Transparency.java: Updated copyright.
17953 * java/awt/Paint.java: Updated copyright.
17954 * java/awt/Graphics.java: New version from Classpath.
17955 * java/awt/EventDispatchThread.java: Updated copyright.
17956 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17957 children.
17958 (gotoComponent): Wrap around on next/previous.
17959 * gnu/gcj/awt/BitMaskExtent.java: Removed.
17960 * gnu/gcj/awt/Buffers.java: Removed.
17961 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17962 * gnu/gcj/awt/GLightweightPeer.java: Removed.
17963 * gnu/java/awt/BitMaskExtent.java: Added.
17964 * gnu/java/awt/Buffers.java: Added.
17965 * gnu/java/awt/ComponentDataBlitOp.java: Added.
17966 * gnu/java/awt/GLightweightPeer.java: Added.
17967 * java/awt/geom/Line2D.java (clone): Ignore
17968 CloneNotSupportedException.
17969 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17970 * java/awt/Frame.java: Merged with Classpath.
17971 * java/awt/RenderingHints.java: Copyright update.
17972 * java/awt/Paint.java: Copyright update.
17973 * java/awt/image/DirectColorModel.java: Merged with Classpath.
17974 * java/awt/image/ColorModel.java: Merged with Classpath.
17975 * java/awt/Window.java (show): New Implementation from Classpath.
17976 (isShowing): Use super.isShowing().
17977 * java/awt/EventQueue.java: Merged with Classpath.
17978 * java/awt/AWTEventMulticaster.java (save): Throw
17979 RuntimeException.
17980 (saveInternal): Likewise.
17981 * java/awt/AWTEvent.java: Now implements Serializable.
17982 * java/awt/Event.java: Copyright update.
17983 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
17984 * java/awt/image/BufferedImage.java: Copyright update.
17985 * java/awt/GraphicsConfiguration.java: Copyright update.
17986 * java/awt/Component.java: (addNotify): Don't call
17987 addNotifyContainerChildren().
17988 (addNotifyContainerChildren): Removed.
17989 (setPeer): New method from Classpath.
17990 (setTreeLock): Likewise.
17991 (setVisible): Rewrote.
17992 (show): Use it.
17993 (hide): Likewise.
17994 (validate): Set `valid'.
17995 (checkImage(Image,ImageObserver)): Implementation from Classpath.
17996 (createImage(ImageProducer)): Likewise.
17997 (prepareImage): Likewise.
17998 * java/awt/Container.java (addImpl): Handle case where constraint
17999 is not a String. Post event via system event queue.
18000 (remove): Post event via system event queue.
18001 (validateTree): Only validate child if it is invalid.
18002 (getAlignmentX): Call super method as default.
18003 (getAlignmentY): Likewise.
18004 (addContainerListener): Now synchronized.
18005 (removeContainerListener): Likewise.
18006 (addNotifyContainerChildren): Now private.
18007 * java/awt/ComponentOrientation.java: Updated copyright. Added
18008 @author.
18009 * java/awt/FlowLayout.java (serialVersionUID): New field.
18010 (setAlignment): Better exception message.
18011 (layoutContainer): Don't compute component's preferred size unless
18012 we're going to use it.
18013 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
18014 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
18015 (firstLine, lastLine, firstItem, lastItem): New fields.
18016 (addLayoutComponent): Handle case where constraints is null.
18017 Also, handle relative locations.
18018 (removeLayoutComponent): Handle relative locations.
18019 (MIN, MAX, PREF): New constants.
18020 (calcCompSize): New method.
18021 (calcSize): New method.
18022 (minimumLayoutSize): Use it.
18023 (preferredLayoutSize): Likewise.
18024 (maximumLayoutSize): Likewise.
18025 (toString): Include more information.
18026 (setBounds): New method.
18027 (layoutContainer): Use libgcj implementation; extended to handle
18028 relative locations.
18029
18030 2002-01-15 Tom Tromey <tromey@redhat.com>
18031
18032 * java/lang/Float.java (equals): Preserve old code.
18033 * java/lang/Double.java (equals): Preserve old code.
18034
18035 2002-01-15 Eric Blake <ebb9@email.byu.edu>
18036
18037 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
18038 * java/lang/Float.java (equals, compare): Ditto.
18039
18040 2002-01-13 Mark Wielaard <mark@klomp.org>
18041
18042 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
18043 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
18044 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
18045 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
18046
18047 2002-01-11 Mark Wielaard <mark@klomp.org>
18048
18049 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
18050 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
18051 InetAddress.
18052 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
18053 * java/net/Socket.java: Merge with Classpath.
18054 * java/net/ServerSocket.java: Likewise.
18055
18056 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
18057
18058 * interpret.cc (NULLARRAYCHECK): New macro.
18059 (SAVE_PC): Just store `pc'.
18060 (find_exception): Subtract one from `pc' here.
18061 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18062 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18063 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18064 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
18065 don't call SAVE_PC.
18066 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
18067 call SAVE_PC.
18068
18069 2002-01-11 Tom Tromey <tromey@redhat.com>
18070
18071 * java/lang/natSystem.cc (init_properties): Only look for default
18072 locale if LC_MESSAGES is defined.
18073 * aclocal.m4, configure, include/config.h.in: Rebuilt.
18074 * configure.in: Call AM_LC_MESSAGES.
18075 * acinclude.m4 (AM_LC_MESSAGES): New macro.
18076
18077 2002-01-10 Tom Tromey <tromey@redhat.com>
18078
18079 For PR libgcj/5303:
18080 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
18081 --version. Recognize GNU-style long options. Print GNU-style
18082 error messages.
18083 (usage): Print GNU-style help. Exit with status 0.
18084 (error): New method.
18085 (run): Print error message if no class names found.
18086 (main): Don't print usage on error.
18087
18088 2002-01-09 Tom Tromey <tromey@redhat.com>
18089
18090 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
18091 property.
18092 (help, version): Use println(), not println("").
18093
18094 For PR libgcj/5303:
18095 * gnu/gcj/convert/Convert.java (error): Program is called
18096 `jv-convert'. Print GNU-style message. Exit with status 1, not
18097 -1.
18098 (main): Handle --help and --version.
18099 (help): New method.
18100 (version): Likewise.
18101
18102 2002-01-08 Tom Tromey <tromey@redhat.com>
18103
18104 * Makefile.in: Rebuilt.
18105 * Makefile.am (ordinary_java_source_files): Added new files.
18106 * gnu/java/locale/LocaleInformation.java: Extend
18107 LocaleInformation_en.
18108 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
18109 and time/date formats.
18110 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
18111 generated.
18112 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
18113 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
18114 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
18115 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
18116 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18117 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18118 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18119 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18120 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18121 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18122 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18123 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18124 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18125 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18126 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18127 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18128 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18129 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18130 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18131 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18132 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18133 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18134 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18135 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18136 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18137 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18138 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18139 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18140 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18141 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18142 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18143 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18144 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18145 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18146 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18147 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18148 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18149 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18150 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18151 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18152 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18153 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18154 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18155 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18156 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18157 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18158 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18159 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18160 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18161 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18162 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18163 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18164 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18165 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18166 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18167 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18168 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18169 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18170 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18171 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18172 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18173 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18174 * gnu/java/locale/LocaleInformation_es_US.java: New file.
18175 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18176 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18177 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18178 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18179 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18180 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18181 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18182 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18183 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18184 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18185 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18186 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18187 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18188 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18189 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18190 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18191 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18192 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18193 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18194 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18195 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18196 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18197 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18198 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18199 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18200 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18201 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18202 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18203 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18204 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18205 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18206 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18207 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18208 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18209 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18210 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18211 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18212 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18213 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18214 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18215 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18216 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18217 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18218 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18219 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18220 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18221 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18222 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18223 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18224 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18225 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18226 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18227 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18228 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18229 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18230 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18231 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18232 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18233 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18234 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18235 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18236 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18237 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18238 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18239 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18240 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18241 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18242
18243 For PR libgcj/5031:
18244 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18245 choose default locale.
18246
18247 * Makefile.in: Rebuilt.
18248 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18249
18250 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
18251
18252 * java/net/natPlainSocketImpl.cc: Added timeout handling for
18253 sockets.
18254 (close): New function closes the socket.
18255 (write): New functions for output to socket.
18256 (read): New functions for reading from socket.
18257 * java/net/PlainSocketImpl.java: Glue for new timeout
18258 implementation.
18259 (write): Call the native impl.
18260 (read): Likewise.
18261 (getInputStream): Get a stream to read from the socket.
18262 (getOutputStream): Get a stream to write to the socket.
18263
18264 2002-01-08 Tom Tromey <tromey@redhat.com>
18265
18266 * resolve.cc (_Jv_PrepareClass): Enable verifier.
18267
18268 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
18269
18270 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18271 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18272
18273 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
18274
18275 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18276 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18277 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18278 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18279 insn_bastore, insn_castore, insn_sastore]: Use it.
18280 (continue1) [insn_arraylength]: Check for null array.
18281
18282 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18283
18284 * configure, include/config.h.in: Rebuilt.
18285 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18286 * configure.in: Call AC_STRUCT_TIMEZONE.
18287
18288 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18289
18290 * configure.host: Disable the interpreter for Darwin.
18291
18292 2002-01-04 Tom Tromey <tromey@redhat.com>
18293
18294 * java/lang/Thread.java (stop): No longer synchronized.
18295 (start): Likewise.
18296
18297 2002-01-02 Tom Tromey <tromey@redhat.com>
18298
18299 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18300 patch.
18301
18302 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
18303
18304 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18305 PPC Darwin, not for all of Darwin.