1 2004-01-16 Fernando Nasser <fnasser@redhat.com>
3 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
4 is called for an intermediate queue.
6 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9 (window_property_changed_cb): Set id_set.
11 2004-01-16 Kim Ho <kho@redhat.com>
13 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
14 it is a FileDialog and has dimensions of 0 by 0, then the initial
15 size is set to size request plus insets.
16 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
17 (gtkWidgetGetDimensions): Override method.
18 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19 (gtkWidgetGetDimensions): Override method. Returns size request plus
22 2004-01-16 Andrew Haley <aph@redhat.com>
24 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
25 * sysdep/i386/locks.h: Likewise.
27 2004-01-16 Fernando Nasser <fnasser@redhat.com>
29 * java/awt/EventDispatchThread.java (run): Stop running when
31 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
32 Reset the queue after transferring its contents.
33 (push): Start a new dispatch thread if none is running.
35 2004-01-16 Olga Rodimina <rodimina@redhat.com>
37 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
38 (doPolygon): set fill rule of polygon to
39 WIND_EVEN_ODD by default.
41 2004-01-15 Olga Rodimina <rodimina@redhat.com>
43 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
44 Implemented rendering hints related methods.
45 (getDefaultHints): New helper method. Returns
46 default rendering hints.
47 (walkPath): changed to normalize path if
48 the KEY_STROKE_CONTROL key is in "normalize" mode.
49 (draw3DRect): changed coordinates of rectangle by +0.5
50 if in "normalize" mode.
52 2004-01-15 Tom Tromey <tromey@redhat.com>
54 * Makefile.in: Rebuilt.
55 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
56 (%.lo: %.java) Filter out StackTrace.lo.
58 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
60 * configure.in: Add in AC_PREREQ(2.13)
61 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
64 2004-01-14 Nathan Bryant <nbryant@optonline.net>
65 Tom Tromey <tromey@redhat.com>
68 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
70 (init): Changed interface; add URLs here.
71 (initialize): New static method.
72 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
73 (_Jv_RunMain): ... not here.
75 2004-01-14 Michael Koch <konqueror@gmx.de>
77 * java/text/MessageFormat.java:
78 Added descriptions to exceptions.
79 This fixes PR libgcj/2429.
81 2004-01-13 Fernando Nasser <fnasser@redhat.com>
83 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
84 (push): Make sure push is performed at the top of the thread stack.
86 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
88 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
89 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
90 (native create): Add width and height parameters. Set text
91 view's size request according to new parameters.
92 (create): Calculate text view size based on current font's
93 metrics and number of rows and columns. Set TextArea's font if
94 not already set. Call native create.
95 (getMinimumSize): Call minimumSize.
96 (getPreferredSize): Call preferredSize.
97 (getHScrollbarHeight): New method.
98 (getVScrollbarWidth): New method.
99 (minimumSize): Calculate minimum size based on scrollbar
100 visibility, scrollbar sizes, font metrics and number of rows and
102 (preferredSize): Likewise for preferred size.
103 (gtkTextGetSize): Remove method.
105 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
107 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
108 (initializeInsets): Remove method.
109 (GtkComponentPeer): Initialize insets field. Remove call to
111 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
113 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
115 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
116 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
117 (latestInsets): Remove field.
118 (native create): Add insets parameter. Call
119 window_get_frame_extents. Set the window's default size and
120 size request based on its frame extents.
121 (create): Initialize insets.
122 (postInsetsChangedEvent): New method.
123 (postConfigureEvent): Remove parameters top, left, bottom,
124 right. Remove insets-related logic.
125 (connectJObject): Handle property-notify-event.
126 (window_get_frame_extents, request_frame_extents,
127 property_notify_predicate, window_property_changed_cb): New
129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
130 (pre_event_handler): Remove insets-related logic for configure
132 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
133 Update postConfigureEvent signature.
135 2004-01-13 Fernando Nasser <fnasser@redhat.com>
137 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
138 to handle Window "Closing" events.
140 2004-01-13 David Jee <djee@redhat.com>
142 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
143 (setBackground): New method. Children with no explicitly-set
144 background will be repainted with the parent container's new
147 2004-01-13 David Jee <djee@redhat.com>
149 * Makefile.am: Add BitwiseXORComposite.java.
150 * Makefile.in: Regenerated.
151 * gcj/Makefile.in: Regenerated.
152 * include/Makefile.in: Regenerated.
153 * testsuite/Makefile.in: Regenerated.
155 2004-01-12 Fernando Nasser <fnasser@redhat.com>
157 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
158 not show modal dialogs twice and so that it allows showing a modal
159 dialog from another modal dialog.
161 2004-01-12 Fernando Nasser <fnasser@redhat.com>
163 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
164 and run secondary dispatch thread to process event queue while this
167 2004-01-12 Graydon Hoare <graydon@redhat.com>
169 * gnu/java/awt/gtk/GdkGraphics2D.java
170 (static): Check GtkToolkit before initializing static state.
171 (Graphics2D): Don't construct transform with 0.5 unit offset.
173 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
175 * gnu/java/awt/BitwiseXORComposite.java: Add.
176 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
177 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
178 (BitwiseXORComposite): Remove inner class.
180 2004-01-11 Michael Koch <konqueror@gmx.de>
182 * gnu/java/lang/reflect/TypeSignature.java
183 (getEncodingOfClass): Documentation fixed.
184 (getClassForEncoding): Give class loader to Class.forName().
187 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
189 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
191 2004-01-11 Michael Koch <konqueror@gmx.de>
193 * javax/swing/undo/StateEditable.java
194 (RCSID): Removed redundant modifiers.
196 2004-01-10 Michael Koch <konqueror@gmx.de>
198 * javax/print/attribute/EnumSyntax.java
199 (getStringTable): Made protected.
200 (getEnumValueTable): Likewise.
201 * javax/print/attribute/standard/JobKOctetsProcessed.java
202 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
203 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
204 (JobMediaSheetsCompleted): Made class final.
205 * javax/print/attribute/standard/OutputDeviceAssigned.java
206 (getName): Fixed typo.
207 * javax/print/attribute/standard/RequestingUserName.java
208 (serialVersionUID): Fixed value.
210 2004-01-10 Michael Koch <konqueror@gmx.de>
212 * javax/swing/plaf/basic/BasicButtonUI.java,
213 javax/swing/plaf/basic/BasicCheckBoxUI.java,
214 javax/swing/plaf/basic/BasicListUI.java,
215 javax/swing/plaf/basic/BasicOptionPaneUI.java,
216 javax/swing/plaf/basic/BasicPanelUI.java,
217 javax/swing/plaf/basic/BasicRadioButtonUI.java,
218 javax/swing/plaf/basic/BasicScrollPaneUI.java,
219 javax/swing/plaf/basic/BasicToggleButtonUI.java,
220 javax/swing/plaf/basic/BasicViewportUI.java:
221 Fixed import statements.
223 2004-01-10 Michael Koch <konqueror@gmx.de>
225 * gnu/java/awt/image/ImageDecoder.java
226 (produce): Made public.
227 * gnu/java/awt/peer/GLightweightPeer.java,
228 gnu/java/awt/peer/gtk/GtkToolkit.java:
231 2004-01-10 Michael Koch <konqueror@gmx.de>
233 * javax/swing/JRadioButtonMenuItem.java,
234 javax/swing/JSeparator.java,
235 javax/swing/JSplitPane.java,
236 javax/swing/JTextPane.java,
237 javax/swing/JToolBar.java,
238 javax/swing/ListCellRenderer.java,
239 javax/swing/ListModel.java,
240 javax/swing/MenuElement.java,
241 javax/swing/OverlayLayout.java,
242 javax/swing/ProgressMonitor.java,
243 javax/swing/ProgressMonitorInputStream.java,
244 javax/swing/Renderer.java,
245 javax/swing/RootPaneContainer.java,
246 javax/swing/Scrollable.java,
247 javax/swing/SingleSelectionModel.java,
248 javax/swing/ToolTipManager.java,
249 javax/swing/ViewportLayout.java,
250 javax/swing/event/DocumentEvent.java,
251 javax/swing/event/SwingPropertyChangeSupport.java,
252 javax/swing/event/TreeSelectionEvent.java,
253 javax/swing/event/UndoableEditEvent.java,
254 javax/swing/text/AbstractDocument.java,
255 javax/swing/text/AttributeSet.java,
256 javax/swing/text/Caret.java,
257 javax/swing/text/ComponentView.java,
258 javax/swing/text/DefaultCaret.java,
259 javax/swing/text/DefaultEditorKit.java,
260 javax/swing/text/Document.java,
261 javax/swing/text/EditorKit.java,
262 javax/swing/text/GapContent.java,
263 javax/swing/text/Keymap.java,
264 javax/swing/text/MutableAttributeSet.java,
265 javax/swing/text/PlainEditorKit.java,
266 javax/swing/text/Segment.java,
267 javax/swing/text/Style.java,
268 javax/swing/text/StyledDocument.java,
269 javax/swing/text/StyledEditorKit.java,
270 javax/swing/text/TextAction.java,
271 javax/swing/text/View.java: Fixed import statements.
273 2004-01-08 Graydon Hoare <graydon@redhat.com>
275 * javax/swing/JLayeredPane.java: Rewrite to accomodate
276 djee@redhat.com's recent inverse ordering of Container elements.
278 2004-01-09 Michael Koch <konqueror@gmx.de>
280 * gnu/java/lang/ArrayHelper.java
281 (equalsArray): Removed.
283 2004-01-09 Andrew Haley <aph@redhat.com>
285 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
286 a Utf8Const field before looking at its class.
288 2004-01-09 Michael Koch <konqueror@gmx.de>
290 * javax/print/attribute/standard/DocumentName.java,
291 javax/print/attribute/standard/JobHoldUntil.java,
292 javax/print/attribute/standard/JobMessageFromOperator.java,
293 javax/print/attribute/standard/JobName.java,
294 javax/print/attribute/standard/JobOriginatingUserName.java,
295 javax/print/attribute/standard/OutputDeviceAssigned.java,
296 javax/print/attribute/standard/PrinterInfo.java,
297 javax/print/attribute/standard/PrinterLocation.java,
298 javax/print/attribute/standard/PrinterMakeAndModel.java,
299 javax/print/attribute/standard/PrinterMessageFromOperator.java,
300 javax/print/attribute/standard/PrinterName.java,
301 javax/print/attribute/standard/RequestingUserName.java: New files.
302 * Makefile.am (javax_source_files): Added new files.
303 * Makefile.in: Regenerated.
305 2004-01-09 Michael Koch <konqueror@gmx.de>
307 * javax/swing/AbstractAction.java,
308 javax/swing/AbstractSet.java,
309 javax/swing/Action.java,
310 javax/swing/ActionMap.java,
311 javax/swing/BoundedRangeModel.java,
312 javax/swing/ButtonModel.java,
313 javax/swing/CellEditor.java,
314 javax/swing/CellRendererPane.java,
315 javax/swing/ComboBoxEditor.java,
316 javax/swing/DebugGraphics.java,
317 javax/swing/DefaultCellEditor.java,
318 javax/swing/DefaultCellRenderer.java,
319 javax/swing/DefaultComboBoxModel.java,
320 javax/swing/DefaultDesktopManager.java,
321 javax/swing/DefaultFocusManager.java,
322 javax/swing/DefaultListCellRenderer.java,
323 javax/swing/Icon.java,
324 javax/swing/JButton.java,
325 javax/swing/JCheckBoxMenuItem.java,
326 javax/swing/JDesktopPane.java,
327 javax/swing/JEditorPane.java,
328 javax/swing/JMenu.java,
329 javax/swing/JPanel.java,
330 javax/swing/JPasswordField.java,
331 javax/swing/JPopupMenu.java,
332 javax/swing/JProgressBar.java: Reworked imports.
334 2004-01-09 Michael Koch <konqueror@gmx.de>
336 * java/awt/geom/PathIterator.java
337 (WIND_EVEN_ODD): Removed redundant modifiers.
338 (WIND_NON_ZERO): Likewise.
339 (SEG_MOVETO): Likewise.
340 (SEG_LINETO): Likewise.
341 (SEG_QUADTO): Likewise.
342 (SEG_CUBICTO): Likewise.
343 (SEG_CLOSE): Likewise.
344 * java/awt/image/SinglePixelPackedSampleModel.java:
345 Removed redundant semicolon.
346 * java/io/ObjectInputStream.java
347 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
348 * java/util/logging/Filter.java
349 (isLoggable): Removed redundant modifier.
350 * java/util/logging/LogManager.java:
351 Removed redundant semicolon.
352 * java/util/logging/XMLFormatter.java
353 (format): Removed unused variable "key".
355 2004-01-08 Fernando Nasser <fnasser@redhat.com>
357 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
358 New name for the former setFile native method.
359 (setFile): New method.
360 (setDirectory): Implemented.
361 (connectSignals): New native method.
362 (setFilenameFilter): Improve comment.
363 (getGraphics): Comment.
364 (gtkHideFileDialog): New method.
365 (gtkDisposeFileDialog): New method.
366 (gtkSetFilename): New method.
367 * java/awt/Dialog.java (show): Block on modal dialogs, but only
368 for FileDialog for now.
370 (dispose): New method.
371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
372 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
373 deprecated creation functions. Make dialog modal. Add it to the
375 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
377 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
379 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
381 (window_closed): New function.
382 (ok_clicked): New function.
383 (cancel_clicked): New function.
385 2004-01-08 Michael Koch <konqueror@gmx.de>
387 * javax/swing/JLayeredPane.java: Revert changes to standard
388 boilerplate, reworked imports.
390 2004-01-07 Tom Tromey <tromey@redhat.com>
393 * verify.cc (state::merge): Copy changed locals out of subroutine
395 (state::FLAG_CHANGED): New const.
396 (state::FLAG_UNUSED): Likewise.
397 (state::local_changed): Removed. Updated all users.
398 (state::flags): New field.
399 (state::merge): Added jsr_semantics argument, more logic.
400 (push_jump_merge): Added jsr_semantics argument.
401 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
402 merging through the jsr instruction.
404 2004-01-07 Tom Tromey <tromey@redhat.com>
406 * scripts/MakeDefaultMimeTypes.java: Use \n, not
409 2004-01-07 Graydon Hoare <graydon@redhat.com>
411 * java/awt/Container.java (LightweightDispatcher): Implement.
412 (visitChild): Reuse graphics object.
413 (dispatchEventImpl): Optionally dispatch to lightweight.
414 (addNotifyContainerChildren): Build LightweightDispatcher.
416 2004-01-07 David Jee <djee@redhat.com>
418 * java/awt/Container.java
419 (update): Clear only the clipped region, instead of clearing the
421 (visitChildren): Visit children in descending order.
423 2004-01-07 Michael Koch <konqueror@gmx.de>
425 * java/lang/reflect/Array.java: Merged documentation with classpath.
427 2004-01-07 Michael Koch <konqueror@gmx.de>
429 * java/text/CollationElementIterator.java
430 (textIndex): Renamed from index.
431 * java/text/CollationKey.java
432 (collator): New member.
433 (CollationKey): New argument for parent collator.
434 (equals): Check for same collator, source string and key array.
435 * java/text/RuleBasedCollator.java:
437 (RuleBasedCollator): Don't re-initialize frenchAccents with default
439 (getCollationElementIterator): Rewritten.
440 (getCollationKey): Added new argument to CollationKey constructor.
442 2004-01-07 Michael Koch <konqueror@gmx.de>
444 * gnu/java/nio/DatagramChannelImpl.java
446 (DatagramChannelImpl): Call configureBlocking().
447 (implConfigureBlocking): Dont initialize blocking.
448 * gnu/java/nio/ServerSocketChannelImpl.java
450 (ServerSocketChannelImpl): Call configureBlocking().
451 (implConfigureBlocking): Dont initialize blocking.
452 * gnu/java/nio/SocketChannelImpl.java
454 (SocketChannelImpl): Call configureBlocking().
455 (implConfigureBlocking): Dont initialize blocking.
456 (connect): Use isBlocking().
457 * java/nio/channels/spi/AbstractSelectableChannel.java
458 (configureBlocking): Use blockingLock() instead of LOCK.
459 Set blocking after successfully called implConfigureBlocking().
460 (register): Use blockingLock() instead of LOCK.
462 2004-01-07 Michael Koch <konqueror@gmx.de>
464 * java/net/ServerSocket.java (isBound): Fixed documentation.
466 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
468 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
469 (changeEvent): Create event object on demand.
470 (DefaultBoundedRangeModel, toString, setValue, setExtent,
471 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
472 fireStateChanged): Re-written.
473 * javax/swing/event/EventListenerList.java: Reformatted, document
475 (toString): Implemented.
476 (getListeners): Re-written.
477 (remove): Re-written.
479 (NO_LISTENERS): New singleton field.
480 (listenerList): Declare as transient; document.
481 (serialVersionUID): Document.
482 (getListenerCount(Class)): More efficient implementation,
483 also accepts null argument. Improve Javadoc.
484 (getListenerCount()): Remove unnecessary cast; docfix.
485 * javax/swing/undo/UndoableEditSupport.java:
487 (UndoableEditSupport): Set realSource field. Improve documentation.
488 (_postEdit): Iterate over cloned listener vector.
489 (toString): Don't emit realSource.
490 (beginUpdate, endUpdate): Support nested updates.
491 (postEdit): Use compound edit if present.
493 2004-01-06 Graydon Hoare <graydon@redhat.com>
495 * java/awt/Container.java (swapComponents): Add forgotten
496 function, required for JLayeredPane change.
498 2004-01-06 Michael Koch <konqueror@gmx.de>
500 * java/text/CollationElementIterator.java: Reformated.
501 (CollationElementIterator): Changed order of arguments.
502 * java/text/RuleBasedCollator.java
503 (RuleBasedCollator): Merged class documentation.
504 (CollationElement): Added documentation.
505 (compare): Reformated, renamed arguments.
507 (getCollationElementIterator): Likewise.
508 (getCollationKey): Likewise.
510 2004-01-06 Graydon Hoare <graydon@redhat.com>
512 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
514 2004-01-06 Michael Koch <konqueror@gmx.de>
516 * gnu/java/net/protocol/file/Connection.java:
517 Reformated copyright.
520 (gotHeaders): Removed.
521 (getHeaderField): Removed.
522 (getHeaderField): Removed.
523 (getHeaderFieldKey): Removed.
526 (getHeaders): Removed.
528 2004-01-06 Michael Koch <konqueror@gmx.de>
530 * javax/print/attribute/standard/DateTimeAtCompleted.java,
531 javax/print/attribute/standard/DateTimeAtCreation.java,
532 javax/print/attribute/standard/DateTimeAtProcessing.java,
533 javax/print/attribute/standard/JobImpressionsCompleted.java,
534 javax/print/attribute/standard/JobKOctets.java,
535 javax/print/attribute/standard/JobKOctetsProcessed.java,
536 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
537 javax/print/attribute/standard/JobPrioritySupported.java: New files.
538 * Makefile.am (javax_source_files): Added new files.
539 * Makefile.in: Regenerated.
541 2004-01-06 Michael Koch <konqueror@gmx.de>
543 * java/net/URLConnection.java
544 (contentHandler): Removed.
546 (getHeaderFields): Return an empty map instead of null.
547 (getContent): Connect if needed, renamed "cType" to "type" and
548 "contentHandler" to "ch" and made it a local variable.
549 (getPermission): Don't use package in class name.
550 (setDefaultRequestProperty): Fixed typo in documentation.
551 (initializeDateFormats): Made locale a local variable.
553 2004-01-06 Michael Koch <konqueror@gmx.de>
555 * java/lang/Package.java
556 (getPackage): Get the current class loader directly.
557 * java/lang/SecurityManager.java
558 (currentLoadedClass): Dont iterate over class contexts.
559 (classLoaderDepth): Don't check class loaders if everything is allowed.
561 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
564 (pre_event_handler): Set all insets to 0 when a Configure event
565 is received for a GtkPlug.
566 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
567 Make handle long, not int.
568 (EmbeddedWindow()): New constructor.
569 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
571 (setHandle): New method.
572 (getHandle): Return long, not int.
573 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
575 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
576 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
577 (create(long)): Take long parameter, not int. Cast gtk_plug_new
578 argument to GdkNativeWindow.
579 (construct): New method.
582 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
583 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
584 (create(int, int)): New method.
585 (create): Call new create method.
586 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
588 (childResized): Remove native implementation. Implement in
590 (getHScrollbarHeight, getVScrollbarWidth): Call
591 gtk_widget_size_request to get scrollbar dimensions.
592 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
593 call getVScrollbarWidth and getHScrollbarHeight when vertical
594 and horizontal scrollbars respectively are needed.
595 (doLayout): Enlarge child if it is smaller than the viewport.
597 2004-01-05 Fernando Nasser <fnasser@redhat.com>
599 * java/awt/Dialog.java (constructor): Accept null title as per spec.
600 * java/awt/FileDialog.java (constructor): Throw exception on invalid
601 argument as per spec.
603 2004-01-05 Fernando Nasser <fnasser@redhat.com>
605 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
607 (remove): Ditto. Also, Check for valid argument.
608 (removeAll): Use peer interface method.
609 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
611 (nativeRemove): New name for native remove function.
612 (getHistory): New native function.
613 (constructor): Generate ItemEvent.
614 (add): Ditto, if selection is changed.
615 (remove): Ditto, ditto.
616 (removeAll): Add implementation.
617 (handleEvent): Remove. Dead code.
618 (choicePostItemEvent): Add comment.
619 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
620 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
621 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
622 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
623 comments and fix condition to change selection.
624 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
625 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
626 remove all capability.
627 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
628 (item_activate): Add cast to remove compiler warning.
630 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
632 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
633 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
634 (getPreferredSize): Call preferredSize.
635 (preferredSize): Call gtkWidgetGetPreferredDimensions.
636 (getMinimumSize): Call minimumSize.
637 (minimumSize): Call gtkWidgetGetPreferredDimensions.
638 (gtkWidgetGetDimensions): Return the peer widget's current size
640 (gtkWidgetGetPreferredDimensions): Return the peer widget's
641 natural size request.
643 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
645 Thanks to Brian Gough <bjg@network-theory.com>
646 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
647 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
649 2004-01-04 Matthias Klose <doko@debian.org>
651 * aclocal.m4: Rebuilt using "aclocal -I .".
652 * configure: Rebuilt.
654 2004-01-03 Per Bothner <per@bothner.com>
656 * java/util/Date.java (parse): Fix a number of problems.
657 (skipParens): Remove no-longer-needed method.
659 2003-12-31 Michael Koch <konqueror@gmx.de>
661 * gnu/java/net/protocol/http/Connection.java
662 (sendRequest): Dont encode output in default character encoding,
663 add correct version number to HTTP user agent string.
665 2003-12-31 Graydon Hoare <graydon@redhat.com>
667 * configure.in: Add --enable-gtk-cairo check.
668 * configure: Regenerate.
669 * Makefile.am: Conditionally link against cairo.
670 * Makefile.in: Regenerate.
671 * acinclude.m4: Include PKG_CHECK_MODULES.
672 * aclocal.m4: Regenerate.
673 * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
674 (getFontMetrics, getClasspathFontPeer):
675 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
676 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
677 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
678 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
679 Switch behavior depending on GtkToolkit.useGraphics2D().
680 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
681 * java/awt/Font.java: Switch to peer model.
682 * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
683 * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h.
687 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
689 * java/io/ObjectOutputStream.java
690 (putFields): Reindented. Fixed behaviour: currentPutField should be
692 before calling this method.
693 (writeFields): Likewise.
694 (markFieldsWritten): Fixed the exception message.
695 (callWriteMethod): Ensure currentPutField is null.
696 (getBooleanField): Translate IllegalArgumentException into
697 InvalidClassException.
698 (getByteField): Likewise.
699 (getCharField): Likewise.
700 (getDoubleField): Likewise.
701 (getFloatField): Likewise.
702 (getIntField): Likewise.
703 (getLongField): Likewise.
704 (getShortField): Likewise.
705 (getObjectField): Check the type code before returning the object.
706 (getField): Translate NoSuchFieldException into InvalidClassException
709 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
712 (URL): Change context path to "/" if it is empty.
714 2003-12-31 Michael Koch <konqueror@gmx.de>
716 * testsuite/libjava.mauve/xfails: Removed tests that pass now:
717 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
718 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
719 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
721 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
725 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
727 * java/util/GregorianCalendar.java
728 (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
729 Fixed the computation of DAY_OF_WEEK_IN_MONTH.
730 (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
732 2003-12-30 Michael Koch <konqueror@gmx.de>
734 * testsuite/libjava.mauve/xfails: Removed the following testcase
735 because it passes now:
736 FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
739 2003-12-30 Michael Koch <konqueror@gmx.de>
741 * java/io/ObjectInputStream.java,
742 java/io/ObjectOutputStream.java,
743 java/io/ObjectStreamClass.java:
744 Reformated, no functional code changes.
746 2003-12-30 Michael Koch <konqueror@gmx.de>
748 * gnu/java/net/protocol/http/Connection.java
749 (outputStream): New field.
750 (bufferedOutputStream): New field.
751 (connect): Initialize outputStream and bufferedOutputStream.
752 (sendRequest): Create PrintWriter object from outputStream,
753 support HTTP 1.1, send missing HTTP headers and buffered output data
755 (getOutputStream): Set request method to POST if output stream is
756 used, return bufferedOutputStream.
757 (setRequestMethod): Allow HEAD and POST methods.
758 This fixes libgcj PR/6302 and libgcj PR/7752.
760 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
762 * java/io/LineNumberReader.java
763 (countLines): Removed.
764 (fill): New private method.
765 (mark): Changed logic to use and matchedNewLine.
768 (skipRedundantLF): Likewise.
770 2003-12-30 Michael Koch <konqueror@gmx.de>
772 * gnu/java/net/protocol/http/Connection.java
773 (requestProperties): New field.
774 (addRequestProperty): New method.
775 (getRequestProperty): New method.
776 (setRequestProperty): New method.
777 (getRequestProperties): New method.
779 2003-12-28 Michael Koch <konqueror@gmx.de>
781 * gnu/java/net/protocol/http/Connection.java
782 (inputStream): Made it a DataInputStream.
783 (requestProperties): Removed.
786 (headers): New field to store headers.
787 (connect): Initialize inputStream.
788 (receiveReply): Merged from classpath. The new algorithm is line based
789 instead of character based.
790 (getHeaderField): Use headers.
791 (getHeaderFields): Use headers.
794 * gnu/java/net/HeaderFieldHelper.java: New file.
795 * Makefile.am (ordinary_java_source_files):
796 Added gnu/java/net/HeaderFieldHelper.java.
797 * Makefile.in: Regenerated.
799 2003-12-28 Guilhem Lavaux <guilhem@kaffe.org>
801 * java/io/LineNumberReader.java
802 (mark): Improved error checking.
804 (skip): Likewise. Skip is now really eating the specified number of
806 * java/io/CharArrayReader.java (read): It should throw
807 IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
809 * java/io/BufferedReader.java (readLine): Make readLine() really block
810 until either EOF is reached or a true error happens.
812 2003-12-27 Michael Koch <konqueror@gmx.de>
814 * gnu/java/net/protocol/http/Connection.java
815 (getRequestProperty): Removed.
816 (setRequestProperty): Removed.
818 2003-12-27 Michael Koch <konqueror@gmx.de>
820 * gnu/java/net/protocol/http/Connection.java
821 (connect): Call receiveReply().
822 (receiveReply): Renamed from getHttpHeaders().
823 (getOutputStream): Moved check on doOutput before check for connection
826 2003-12-27 Michael Koch <konqueror@gmx.de>
828 * javax/print/attribute/ResolutionSyntax.java,
829 javax/print/attribute/SetOfIntegerSyntax.java,
830 javax/print/attribute/Size2DSyntax.java,
831 javax/print/attribute/standard/Copies.java,
832 javax/print/attribute/standard/JobImpressions.java,
833 javax/print/attribute/standard/JobMediaSheets.java,
834 javax/print/attribute/standard/NumberOfDocuments.java,
835 javax/print/attribute/standard/NumberOfInterveningJobs.java,
836 javax/print/attribute/standard/PagesPerMinute.java,
837 javax/print/attribute/standard/PagesPerMinuteColor.java,
838 javax/print/attribute/standard/QueuedJobCount.java:
839 Fixed typo (s/then/than/).
841 2003-12-27 Guilhem Lavaux <guilhem@kaffe.org>
843 * java/rmi/Naming.java (lookup): Check if the first character of the
844 filename returned by URL.getFile() is a '/', only if it is the case
845 we cut this first character and call the registry with the good name.
849 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
850 Mark Wielaard <mark@klomp.org>
852 * java/io/BufferedReader.java (BufferedReader):
853 Throw IllegalArgumentException when size <= 0.
854 (mark): Document and better exception message for negative
855 readLimit IllegalArgumentException.
856 (read(char[],int,int)): Throw IndexOutOfBoundsException
857 if offset and count are not valid regarding buf.
858 (skip): Throw IllegalArgumentException when count is negative.
860 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
862 * java/io/FileInputStream.java
863 (FileInputStream(String)): Call FileInputStream(File).
864 (FileInputStream(File)): Check whether the argument is a directory.
866 2003-12-26 Michael Koch <konqueror@gmx.de>
868 * Makefile.am (rmi_java_source_files):
869 Added gnu/java/rmi/server/RMIVoidValue.java.
870 * Makefile.in: Regenerated.
872 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
873 Mark Wielaard <mark@klomp.org>
875 * gnu/java/rmi/server/UnicastConnectionManager.java
876 (startScavenger): Set the client connection manager to daemon
877 state because it may block clients until TIMEOUT is reached
878 when they are exiting.
880 * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
883 * gnu/java/rmi/server/UnicastRemoteCall.java
884 (DummyOutputStream): Add a boolean before each written field to
885 know whether it is a primitive.
886 (releaseOutputStream): Flush parameters at write time.
888 * gnu/java/rmi/server/UnicastServerRef.java
889 (incomingMessageCall): Return a RMIVoidValue if no value is to be
892 * gnu/java/rmi/server/UnicastServer.java
893 (incomingMessageCall): Do not write a returned object if it is
896 2003-12-25 Andreas Tobler <a.tobler@schweiz.ch>
898 * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for
899 darwin. Fixed by fixinclude now.
901 2003-12-25 Michael Koch <konqueror@gmx.de>
903 * java/net/ServerSocket.java bind():
904 If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
907 2003-12-23 Guilhem Lavaux <guilhem@kaffe.org>
909 * java/io/ObjectInputStream.java
910 (getField): Handle transient and non persistent fields.
911 (readClassDescriptor): Better error handling, use the right
913 (readFields): Fields marked as not present in the stream
914 or not to be set are not read and set.
915 * java/io/ObjectInputStream.java
916 (readFields): Changed implementation of GetField.
917 (readClassDescriptor): Documented.
918 * java/io/ObjectOutputStream.java
919 (writeClassDescriptor): Added condition when to write class super
922 2003-12-22 Fernando Nasser <fnasser@redhat.com>
924 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
925 (choicePostItemEvent): Change signature to more specific String object.
926 * java/awt/Choice.java (add): Generate ItemEvent for the first item
928 (insert): Generate ItemEvent if insertion caused
930 (remove): Generate ItemEvent if removal cause selection to change.
931 (removeAll): Change algorithm to prevent generation of ItemEvents.
932 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
933 (connect_choice_item_selectable_hook): Change argument type.
935 Make sure resources are feed by registering callback.
936 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
938 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
939 (item_activate): Ditto.
940 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
942 (item_removed): New function. Free resources.
943 * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
946 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
949 2003-12-23 Michael Koch <konqueror@gmx.de>
951 * javax/print/attribute/standard/Copies.java,
952 javax/print/attribute/standard/JobImpressions.java,
953 javax/print/attribute/standard/JobMediaSheets.java,
954 javax/print/attribute/standard/JobPriority.java,
955 javax/print/attribute/standard/NumberOfDocuments.java,
956 javax/print/attribute/standard/NumberOfInterveningJobs.java,
957 javax/print/attribute/standard/NumberUp.java,
958 javax/print/attribute/standard/PagesPerMinuteColor.java,
959 javax/print/attribute/standard/PagesPerMinute.java,
960 javax/print/attribute/standard/QueuedJobCount.java: New files.
961 * Makefile.am (ordinary_java_source_files): Added new files.
962 * Makefile.in: Regenerated.
964 2003-12-23 Michael Koch <konqueror@gmx.de>
966 * javax/print/attribute/AttributeSetUtilities.java
967 (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
968 * javax/print/attribute/HashAttributeSet.java
969 (HashAttributeSet): Call internal add methods, added missing
971 (add): Call addInternal, added exceptions to documentation.
972 (addInternal): New method.
973 (addAll): Call addAllInternal, added exception to documentation.
974 (addAllInternal): New method.
975 (clear): Added exception to documentation.
977 * javax/print/attribute/URISyntax.java
978 (serialVersionUID): Fixed value.
980 2003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com>
982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
983 (pre_event_handler): Don't dereference NULL focus_obj_ptr.
985 2003-12-21 Michael Koch <konqueror@gmx.de>
987 * javax/print/attribute/AttributeSetUtilities.java,
988 javax/print/attribute/HashAttributeSet.java,
989 javax/print/attribute/HashDocAttributeSet.java,
990 javax/print/attribute/HashPrintJobAttributeSet.java,
991 javax/print/attribute/HashPrintRequestAttributeSet.java,
992 javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
993 * Makefile.am (ordinary_java_source_files): Added new files.
994 * Makefile.in: Regenerated.
996 2003-12-21 Michael Koch <konqueror@gmx.de>
998 * javax/print/attribute/EnumSyntax.java,
999 javax/print/attribute/SetOfIntegerSyntax.java: New files.
1000 * Makefile.am (ordinary_java_source_files):
1001 Added javax/print/attribute/EnumSyntax.java
1002 and javax/print/attribute/SetOfIntegerSyntax.java.
1003 * Makefile.in: Regenerated.
1005 2003-12-21 Michael Koch <konqueror@gmx.de>
1007 * javax/print/attribute/PrintJobAttribute.java,
1008 javax/print/attribute/PrintJobAttributeSet.java,
1009 javax/print/attribute/PrintRequestAttribute.java,
1010 javax/print/attribute/PrintServiceAttribute.java,
1011 javax/print/attribute/PrintServiceAttributeSet.java,
1012 javax/print/attribute/SupportedValuesAttribute.java: New files.
1013 * Makefile.am (ordinary_java_source_files): Added new files.
1014 * Makefile.in: Regenerated.
1016 2003-12-21 Michael Koch <konqueror@gmx.de>
1018 * javax/print/attribute/DateTimeSyntax.java,
1019 javax/print/attribute/DocAttribute.java,
1020 javax/print/attribute/DocAttributeSet.java,
1021 javax/print/attribute/IntegerSyntax.java,
1022 javax/print/attribute/ResolutionSyntax.java,
1023 javax/print/attribute/Size2DSyntax.java,
1024 javax/print/attribute/TextSyntax.java,
1025 javax/print/attribute/URISyntax.java,
1026 javax/print/attribute/UnmodifiableSetException.java: New files.
1027 * Makefile.am (ordinary_java_source_files): Added new files.
1028 * Makefile.in: Regenerated.
1030 2003-12-21 Michael Koch <konqueror@gmx.de>
1032 * gnu/java/net/PlainDatagramSocketImpl.java
1033 (mcastGrp): Added documentation.
1035 2003-12-20 Michael Koch <konqueror@gmx.de>
1037 * gnu/java/net/protocol/jar/Connection.java
1038 (connectionCache): New field.
1039 (connect): New method.
1040 (getInputStream): New method.
1041 (hdrHash): New field.
1042 (hdrVec): New field.
1043 (gotHeaders): New field.
1044 (getHeaderField): New method.
1045 (getHeaderFields): New method.
1046 (getHeaderFieldKey): New method.
1047 (getKey): New method.
1048 (getField): New method.
1049 (getHeaders): New method.
1050 * java/net/JarURLConnection.java
1051 (connectionCache): Removed.
1053 (getInputStream): Removed.
1056 (gotHeaders): Removed.
1057 (getHeaderField): Removed.
1058 (getHeaderFields): Removed.
1059 (getHeaderFieldKey): Removed.
1061 (getField): Removed.
1062 (getHeaders): Removed.
1064 2003-12-20 Michael Koch <konqueror@gmx.de>
1066 * java/io/ObjectStreamField.java (isUnshared): Added documentation.
1068 2003-12-20 Mohan Embar <gnustuff@thisiscool.com>
1070 * gnu/java/nio/SelectorImpl.java
1071 (selectThreadMutex): New field.
1072 (selectThread): New field.
1073 (unhandledWakeup): New field.
1074 (implCloseSelector): Added skeleton code which
1075 synchronizes as per Sun JRE JavaDoc.
1076 (keys): Throw ClosedSelectorException if selector
1078 (selectNow): Added comment that we're faking out
1079 an immediate select with a one-microsecond-timeout one.
1080 (select): Use 0 instead of -1 for infinite timeout.
1081 (implSelect): Changed comment in declaration.
1082 (select): Added synchronized to method declaration.
1083 Added synchronization and wakeup support as per Sun
1085 (selectedKeys): Throw ClosedSelectorException if selector
1087 (wakeup): Implemented.
1088 (deregisterCancelledKeys): Synchronize on cancelled key
1089 set before deregistering.
1090 (register): Synchronize on key set before registering.
1091 * java/nio/channels/spi/AbstractSelector.java
1092 Added import for java.nio.channels.ClosedSelectorException.
1093 (close): Added synchronized to method declaration.
1094 (cancelledKeys): Throw ClosedSelectorException if selector
1096 (cancelKey): Synchronize on cancelled key set before key.
1098 2003-12-20 Michael Koch <konqueror@gmx.de>
1100 * Makefile.am (ordinary_java_source_files):
1101 Added gnu.java.net.URLParseError.java.
1102 * Makefile.in: Regenerated.
1104 2003-12-20 Guilhem Lavaux <guilhem@kaffe.org>
1106 * gnu/java/net/URLParseError.java: New file.
1107 * gnu/java/net/protocol/jar/Handler.java
1108 (parseURL): Throw URLParseError if needed, fix '/' handling.
1109 * java/net/URL.java (URL): Catch URLParseError and
1110 transform it into a MalformedURLException.
1112 2003-12-19 Michael Koch <konqueror@gmx.de>
1114 * gnu/java/nio/ChannelOutputStream.java: New file.
1115 * java/nio/channels/Channels.java
1116 (newOutputStream): Implemented.
1117 * Makefile.am (ordinary_java_source_files)
1118 Added gnu/java/nio/ChannelOutputStream.java.
1119 * Makefile.in: Regenerated.
1121 2003-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1123 * java/awt/FlowLayout.java (layoutContainer): Let components
1124 assume their preferred height. Centre components vertically.
1126 2003-12-19 Michael Koch <konqueror@gmx.de>
1128 * gnu/java/nio/ChannelInputStream.java: New file.
1129 * java/nio/channels/Channels.java (newInputStream): Implemented.
1130 * java/nio/channels/FileChannelImpl.java
1131 (readImpl): Only put data into buffer if something was read.
1132 * Makefile.am (ordinary_java_source_files):
1133 Added gnu/java/nio/ChannelInputStream.java.
1134 * Makefile.in: Regenerated.
1136 2003-12-19 Michael Koch <konqueror@gmx.de>
1138 * gnu/java/nio/OutputStreamChannel.java: New file.
1139 * java/nio/channels/Channels.java (newChannel): Implemented.
1140 * Makefile.am (ordinary_java_source_files):
1141 Added gnu/java/nio/OutputStreamChannel.java.
1142 * Makefile.in: Regenerated.
1144 2003-12-19 Michael Koch <konqueror@gmx.de>
1146 * Makefile.am (ordinary_java_source_files):
1147 Added gnu.java.nio.InputStreamChannel.
1148 * Makefile.in: Regenerated.
1150 2003-12-19 Michael Koch <konqueror@gmx.de>
1152 * gnu/java/nio/InputStreamChannel.java: New file.
1153 * java/nio/channels/Channels.java (newChannel): Implemented.
1155 2003-12-19 Michael Koch <konqueror@gmx.de>
1157 * java/util/SimpleTimeZone.java
1158 (setStartRule): Reformated documentation.
1159 (setEndRule): Reworked documentation.
1160 (getDSTSavings): Fixed @since tag.
1161 (setDSTSavings): New method.
1163 2003-12-19 Michael Koch <konqueror@gmx.de>
1165 * java/text/NumberFormat.java: Sorted imports.
1166 (getCurrency): New method.
1167 (setCurrency): New method.
1170 2003-12-19 Michael Koch <konqueror@gmx.de>
1172 * java/text/MessageFormat.java
1173 (MessageFormat): New constructor.
1175 2003-12-19 Michael Koch <konqueror@gmx.de>
1177 * gnu/java/net/protocol/jar/Handler.java
1178 (parseURL): New method.
1179 (toExternalForm): New method.
1181 2003-12-18 Fernando Nasser <fnasser@redhat.com>
1183 * java/awt/List.java (replaceItem): Prevent selection to move with
1184 replace and minimize flickering.
1186 2003-12-18 Michael Koch <konqueror@gmx.de>
1188 * libltdl/ltdl.c: Define __private_extern__ if needed.
1190 2003-12-18 Michael Koch <konqueror@gmx.de>
1192 * libltdl/.cvsignore: Ignore autom4te.cache
1193 * libltdl/Makefile.in: Regenerated.
1194 * libltdl/aclocal.m4: Regenerated.
1195 * libltdl/acconfig.h: Removed (obsolete).
1196 * libltdl/config-h.in: Regenerated.
1197 * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
1198 * libltdl/configure: Regenerated.
1200 2003-12-18 Michael Koch <konqueror@gmx.de>
1202 * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
1203 java.text.CollationElementIterator tests as they compile again.
1204 * testsuite/libjava.mauve/xfails: Added failing
1205 java.text.CollationElementIterator tests.
1207 2003-12-18 Michael Koch <konqueror@gmx.de>
1209 * java/util/prefs/AbstractPreferences.java
1210 (cachedChildren): New method.
1212 2003-12-18 Michael Koch <konqueror@gmx.de>
1214 * java/util/TimeZone.java (getOffset): New method.
1216 2003-12-17 Fernando Nasser <fnasser@redhat.com>
1218 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1219 of ActionEvents for mouse double-clicks.
1221 2003-12-17 Fernando Nasser <fnasser@redhat.com>
1223 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
1224 null Graphics pointer returned by FileDialogPeer.
1226 2003-12-17 Michael Koch <konqueror@gmx.de>
1228 * libltdl/stamp-h.in: Removed, not used anymore.
1230 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
1232 * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
1233 Removed unused InterruptedIOException.h include.
1234 * gnu/java/net/natPlainSocketImplWin32.cc
1235 (connect): Reset and ignore our thread's interrupted
1236 flag instead of testing and throwing an InterruptedIOException
1238 (accept): Likewise + changed case of SocketTimeoutException
1240 (write): Likewise (for both overloads).
1243 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
1245 * win32.cc (WSAEventWrapper): Implemented default
1246 constructor and init() methods.
1247 (_Jv_select): Removed.
1248 * gnu/java/nio/natSelectorImplWin32.cc
1249 (helper_put_filedescriptors): Removed.
1250 (helper_get_filedescriptors): Removed.
1251 (implSelect): Implemented in terms of WSAEventWrapper
1252 and WSAWaitForMultipleEvents instead of _Jv_select().
1253 Added support for thread interruption.
1254 * include/win32.h (WSAEventWrapper): Minor formatting
1255 changes; added default constructor declaration, init(),
1256 getFD() and getEventHandle() methods.
1257 (_Jv_select): Removed.
1259 2003-12-16 Mohan Embar <gnustuff@thisiscool.com>
1261 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1262 (peekData): Throw SocketTimeoutException instead of
1263 InterruptedIOException on timeout.
1264 (receive): Likewise.
1265 * gnu/java/net/natPlainSocketImplPosix.cc
1266 (read): Made a minor exception text case change.
1268 2003-12-16 Michael Koch <konqueror@gmx.de>
1270 Fix for PR libgcj/13056.
1271 * libltdl/configure.in,
1272 libltdl/config.h.in: Removed.
1273 * libltdl/configure.ac,
1274 libltdl/config-h.in,
1276 libltdl/config.guess,
1279 libltdl/mkinstalldirs,
1280 libltdl/ltmain.sh: New files.
1281 * libltdl/Makefile.am,
1282 libltdl/acinclude.m4,
1286 libltdl/README: Update to versions from libtool 1.5.
1288 * libltdl/Makefile.in: Regenerated.
1289 * java/lang/natRuntime.cc (find_symbol):
1290 Use type 'lt_ptr' instead of 'lt_ptr_t'.
1292 2003-12-16 Michael Koch <konqueror@gmx.de>
1294 * java/awt/MenuComponent.java
1295 (serialVersionUID): Fixed value.
1297 2003-12-16 Fernando Nasser <fnasser@redhat.com>
1299 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1300 (pre_event_handler): Handle GtkButton widgets differently as events
1301 go to its event_window.
1302 (connect_awt_hook): Remove compiler warning.
1304 i2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1306 * java/io/ObjectInputStream.java
1307 (lookupClass): New method.
1308 (currentLoader): New method.
1309 (inputGetObjectStreamClasses): New method.
1310 (assignNewHandle): Documented.
1311 (currentClassLoader): Documented.
1312 * java/io/ObjectStreamClass.java
1313 (setClass): Changed API. Better handling of the imported/exported
1315 (getSerialPersistentFields): Make it throw previously caught exceptions
1316 so they can handled in setClass.
1318 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1320 * java/io/ObjectStreamField.java: A few methods were added in prevision
1321 of the upcoming upgrade of the serialization code. This also adds
1322 some missing documentation.
1323 (ObjectStreamField): We should throw a NullPointerException when 'name'
1326 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1328 * java/io/ObjectInputStream.java (setBooleanField):
1329 Throw an InvalidClassException if the field hasn't the required type,
1330 documentation added.
1331 (setByteField) Likewise.
1332 (setCharField) Likewise.
1333 (setDoubleField) Likewise.
1334 (setFloatField) Likewise.
1335 (setIntField) Likewise.
1336 (setShortField) Likewise.
1337 (setLongField) Likewise.
1338 (setObjectField) Likewise.
1340 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1341 Helmer Kraemer <hkraemer@freenet.de>
1343 * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1344 Splitted the method so we can specify an explicit boot loader.
1346 2003-12-15 Graydon Hoare <graydon@redhat.com>
1348 * jni/gtk-peer/gdkfont.h: New file.
1349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1350 include of cairo-xlib.h, add extra gdk_flush().
1352 2003-12-12 Fernando Nasser <fnasser@redhat.com>
1354 * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1355 native state table -- native_global_ref_table.
1356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1357 native_global_ref_table pointer.
1358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1359 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1360 global reference is deleted and memory allocated for pointer freed.
1361 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1362 JNI global reference instead of JNI local reference.
1363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1364 (pre_event_handler): Remove compilation warning.
1365 (connect_awt_hook): Use saved JNI global reference instead of creating
1367 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1368 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1369 reference to the Java object.
1370 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1371 unused variable declaration and add comment.
1372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1373 (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1374 reference to the Java object.
1375 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1376 (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1378 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1379 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1380 JNI global reference instead of JNI local reference.
1381 (item_toggled): Add debug statement.
1382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1383 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1384 reference to the Java object.
1385 (connect_choice_item_selectable_hook): Use saved JNI global references
1386 instead of JNI local reference.
1387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1388 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1389 global reference to the Java object.
1390 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1391 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1392 reference to the Java object.
1393 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1394 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1395 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1396 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1397 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1398 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1399 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1400 (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1401 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1402 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1404 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1406 (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1407 (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1408 JNI global reference instead of JNI local reference.
1409 (item_selected): Add debug statement.
1410 (item_unselected): Add debug statement.
1411 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1412 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1413 reference to the Java object.
1414 Connect "activate" signal handler using global JNI reference.
1415 (connect_activate_hook): Removed in favor of inline code.
1416 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1417 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1418 reference to the Java object.
1419 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1420 JNI global reference instead of JNI local reference. Add FIXME comment.
1421 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1422 reference to the Java object. Add FIXME comment.
1423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1424 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1425 reference to the Java object.
1426 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1427 JNI global reference instead of JNI local reference.
1428 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1429 (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1430 saved JNI global reference instead of JNI local reference.
1431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1432 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1433 reference to the Java object.
1434 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1435 JNI global reference instead of JNI local reference.
1437 2003-12-11 Michael Koch <konqueror@gmx.de>
1439 * java/text/Format.java (serialVersionUID): Fixed value.
1441 2003-12-11 Michael Koch <konqueror@gmx.de>
1443 * javax/naming/event/EventDirContext.java: Jalopied.
1444 (addNamingListener): Fixed typo in method name.
1447 2003-12-11 Mohan Embar <gnustuff@thisiscool.com>
1449 * gnu/java/nio/SocketChannelImpl.java
1450 (write): Removed diagnostic trace.
1451 * gnu/java/nio/natSelectorImplPosix.cc: Added
1452 includes for java.lang.Thread and java.io.InterruptedIOException.
1453 (helper_put_filedescriptors): Don't put invalid file descriptors
1455 (helper_get_filedescriptors): Clear invalid file descriptors
1457 (helper_reset): New method for clearing our file descriptor
1459 (implSelect): Correctly calculate timeout if specified and
1461 Intercept and deal with any java.io.InterruptedIOException
1462 thrown by _Jv_select().
1464 2003-12-08 Fernando Nasser <fnasser@redhat.com>
1466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1467 Most coded moved to pre_event_handler, with the modifications
1469 (pre_event_handler): New function. Called on the Gtk "event" signal.
1470 Do not retrieve the jobject from the window property as it is already
1471 available as user data in the signal.
1472 Do not try and find the grab widget as it is already done by Gtk at
1474 Do not search for Window ancestor as Gtk already sends the signal to it.
1475 Do not meddle with the activation state of peer widgets on each
1476 key press or release.
1477 Add CList to the special handling when looking for the focused widget.
1478 * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1479 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1481 (connectSignals): New function.
1482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1484 (connectSignals): New name. Get rid of NewGlobalRef call.
1485 Use g_signal_connect instead of deprecated gtk_signal_connect.
1486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1487 (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1488 deprecated gtk_signal_connect.
1489 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1490 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1491 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1492 (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1493 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1494 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1496 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1498 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1501 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1503 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1506 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1508 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1510 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1512 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1514 (item_select): Remove indirection.
1515 (item_unselect): Ditto.
1516 (connect_selectable_hook): Folded into connectSignals.
1517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1518 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1520 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1522 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1527 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1529 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1531 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare and call
1532 connectJObject and connectSignals instead of connectHooks.
1533 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1535 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1536 and not connectHooks.
1537 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1538 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1539 and not connectHooks.
1540 * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1541 connectSignals instead of connectHooks.
1542 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1543 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1544 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto.
1546 2003-12-09 Michael Koch <konqueror@gmx.de>
1548 * Makefile.am (nat_headers_install): New variable with header files to
1549 install automatically.
1550 (install-data-local): Install all headers listed in
1551 nat_headers_install. Install innert nat headers explicitely.
1552 * Makefile.in: Regenerated.
1554 2003-12-09 Michael Koch <konqueror@gmx.de>
1556 * java/util/Calendar.java,
1557 java/util/IdentityHashMap.java,
1558 java/util/prefs/Preferences.java:
1559 Import used classes explicitely.
1561 2003-12-09 Michael Koch <konqueror@gmx.de>
1563 * java/net/DatagramSocket.java
1564 (close): Directly return if socket is closed.
1565 * java/net/ServerSocket.java
1566 (close): Directly return if socket is closed.
1567 * java/net/Socket.java
1568 (close): Directly return if socket is closed.
1570 2003-12-09 Michael Koch <konqueror@gmx.de>
1572 * gnu/java/nio/SelectorImpl.java
1573 (implSelect): Throws IOException.
1576 2003-12-08 Kim Ho <kho@redhat.com>
1578 Fix for Checkbox states.
1579 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1580 (currentState): New field.
1581 (nativeCreate): Add initial state parameter.
1582 (create): Changed to reflect new parameter.
1583 (setState): Fire only on changed states.
1584 (postItemEvent): Fire only on changed states. Also change the
1585 Java Checkbox to reflect new state.
1586 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1587 (nativeCreate): Add parameter and set active state.
1589 2003-12-08 Fernando Nasser <fnasser@redhat.com>
1591 * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1592 object of type expected by specified DataFlavor.
1594 2003-12-08 Fernando Nasser <fnasser@redhat.com>
1596 * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1597 error which was clipping off the first character of a parameter value.
1599 2003-12-08 Olga Rodimina <rodimina@redhat.com>
1601 * java/awt/Polygon.java
1602 (translate): Fixed error that caused polygon
1603 to move right/left when up/down translation was required.
1604 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1605 (getSelectionStart): Initialized start position to 0.
1606 (getSelectionEnd): Initialized end position to 0.
1607 (getCaretPosition): Initialized caret position to 0.
1608 (getText): Initialized selected text to NULL
1610 2003-12-08 Michael Koch <konqueror@gmx.de>
1612 Fix for PR libgcj/13176.
1613 * java/io/PrintStream.java: Partly revert my previous patches to get
1614 (line_separator): New field.
1615 (converter): New field.
1617 (work_bytes): New field.
1620 (PrintStrean): Initialize converter and not pw.
1621 (checkError): Flush always, pw doesn't exist anymore.
1622 (close): Close underlying out stream.
1623 (print): New method.
1624 (writeChars): New method.
1625 (print): Use new internal print method.
1626 (println): Likewise.
1628 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
1630 * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1632 (putAllInternal): Correct comment.
1633 * java/util/HashMap.java (HashMap(Map)): As above.
1634 (putAllInternal): As above.
1636 2002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
1638 * java/util/Hashtable.java (internalContainsValue): Removed.
1639 (containsValue): Don't delegate to internalContainsValue.
1641 2003-12-06 Michael Koch <konqueror@gmx.de>
1643 * javax/naming/directory/Attribute.java,
1644 javax/naming/directory/Attributes.java,
1645 javax/naming/directory/DirContext.java,
1646 javax/naming/directory/InitialDirContext.java,
1647 javax/naming/directory/SearchResult.java,
1648 javax/naming/event/EventContext.java,
1649 javax/naming/event/NamingEvent.java,
1650 javax/naming/event/NamingExceptionEvent.java,
1651 javax/naming/ldap/ControlFactory.java,
1652 javax/naming/ldap/ExtendedRequest.java,
1653 javax/naming/ldap/HasControls.java,
1654 javax/naming/ldap/InitialLdapContext.java,
1655 javax/naming/ldap/LdapContext.java,
1656 javax/naming/ldap/LdapReferralException.java,
1657 javax/naming/ldap/UnsolicitedNotification.java,
1658 javax/naming/ldap/UnsolicitedNotificationListener.java,
1659 javax/naming/spi/DirObjectFactory.java,
1660 javax/naming/spi/DirStateFactory.java,
1661 javax/naming/spi/DirectoryManager.java,
1662 javax/naming/spi/NamingManager.java,
1663 javax/naming/spi/ObjectFactoryBuilder.java,
1664 javax/naming/spi/ResolveResult.java,
1665 javax/naming/spi/Resolver.java,
1666 javax/naming/spi/StateFactory.java:
1667 Import used classes explicitely.
1669 2003-12-05 Scott Gilbertson <scottg@mantatest.com>
1671 * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1672 (clip): Removed field
1673 (clipRectangles): New field.
1674 (clone): Use new updateClip.
1675 (setClipRectangles): Use new updateClip.
1676 * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1678 2003-12-04 Michael Koch <konqueror@gmx.de>
1680 * java/io/FilePermission.java:
1681 Import used classes explicitely.
1683 2003-12-04 Michael Koch <konqueror@gmx.de>
1685 * java/beans/BeanDescriptor.java,
1686 java/beans/EventSetDescriptor.java,
1687 java/beans/FeatureDescriptor.java,
1688 java/beans/IndexedPropertyDescriptor.java,
1689 java/beans/Introspector.java,
1690 java/beans/MethodDescriptor.java,
1691 java/beans/PropertyDescriptor.java,
1692 java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1693 * java/beans/beancontext/BeanContextServicesSupport.java
1694 (serialVersionUID): New field.
1696 2003-12-04 Michael Koch <konqueror@gmx.de>
1698 * java/awt/MenuComponent.java: Import java.io.Serialization.
1699 * java/awt/MenuItem.java: Likewise.
1700 * java/awt/TextComponent.java: Likewise.
1701 * java/awt/image/ImagingOpException.java
1702 (serialVersionUID): Fixed.
1704 2003-12-04 Michael Koch <konqueror@gmx.de>
1706 * gnu/java/net/protocol/http/Connection.java
1707 (sendRequest): Merged writing http headers with classpath.
1708 (getInputStream): Merged documentation from classpath.
1709 (getHeaderField): Likewise.
1710 (getHeaderFieldKey): Likewise.
1712 2003-12-04 Michael Koch <konqueror@gmx.de>
1714 * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1716 2003-12-04 Michael Koch <konqueror@gmx.de>
1718 * java/net/DatagramPacket.java
1719 (length): Made packge-private to make it accessible via CNI.
1720 (maxlen): New field.
1721 (DatagramPacket): Cleaned up.
1722 (setSocketAddress): Add message to exception.
1723 (setData): Call other setData().
1724 (setData): Call setLength().
1725 (setLength): Initialize maxlen too.
1726 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1727 Get maximal length from maxlen field, set length field directly.
1728 (receive): Likewise.
1729 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1730 Get maximal length from maxlen field, set length field directly.
1731 (receive): Likewise.
1733 2003-12-03 Mohan Embar <gnustuff@thisiscool.com>
1735 * gnu/java/nio/natSelectorImplPosix.cc
1736 (implSelect): A timeout of 0 means an infinite
1739 2003-12-02 Fernando Nasser <fnasser@redhat.com>
1741 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1744 2003-12-03 Michael Koch <konqueror@gmx.de>
1746 * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1747 * java/lang/natClass.cc (getSigners): Likewise.
1748 (setSigners): Likewise.
1750 2003-12-02 Mohan Embar <gnustuff@thisiscool.com>
1752 * configure.in: Added new MinGW-specific configure flag
1753 --with-win32-nlsapi.
1754 Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1755 Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1757 * configure: Rebuilt.
1758 * include/config.h.in: Rebuilt.
1759 * win32.cc (_Jv_Win32NewString): Implemented.
1760 (nativeToUnicode): New helper function defined only for
1762 (unicodeToNative): Likewise.
1763 (_Jv_Win32TempString): Implemented.
1764 (lots): Refactored using tchar.h macros.
1765 (WSAEventWrapper): Use _Jv_Win32NewString.
1766 (_Jv_platform_initialize): Use GetModuleFileNameA instead
1767 of GetModuleFileName.
1768 (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1769 Use temporary stack buffer instead of a heap buffer.
1771 Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1772 defined; added tchar.h include.
1773 (_Jv_Win32TempString): Declared new helper class.
1774 (JV_TEMP_STRING_WIN32): New helper macro.
1775 (_Jv_Win32NewString): Declared new helper method.
1776 * java/io/natFileDescriptorWin32.cc (open): Use
1777 JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1778 (write): Reformatted slightly.
1779 * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1780 use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1781 (getCanonicalPath): Use _Jv_Win32NewString instead of
1783 (performList): Likewise.
1784 * java/lang/natWin32Process.cc (ChildProcessPipe):
1786 (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1787 and UNICODE environment flag for CreateProcess.
1788 * java/net/natNetworkInterfaceWin32.cc
1789 (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1792 2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1795 (initState): Mark obj parameter as unused.
1796 (stringWidth): Mark obj parameter as unused. Initialize
1799 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1800 BufferedImageBuilder class static.
1802 2003-12-02 Mark Wielaard <mark@klomp.org>
1804 * java/security/Security.java: Don't use in the api doc.
1806 2003-12-02 Dalibor Topic <robilad@kaffe.org>
1808 Reported by: Jim Pick <jim@kaffe.org>
1809 * libraries/javalib/java/util/Hashtable.java
1810 (internalcontainsValue): New method.
1811 (contains): Delegate to internalContainsValue.
1813 Reported by: Mark Wielaard <mark@klomp.org>
1814 * libraries/javalib/java/util/Hashtable.java
1815 (contains): Improved comment.
1817 Reported by: Jeroen Frijters <jeroen@frijters.net>
1818 * libraries/javalib/java/util/Hashtable.java
1819 (containsValue): Delegate to contains(Object) to make sure older
1820 code overwriting it continues to work.
1822 2003-12-02 Fernando Nasser <fnasser@redhat.com>
1824 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1825 method. Handle mouse and key events that must generate
1827 * java/awt/List.java (getSelectedIndex): Return -1
1828 if no list element is selected.
1829 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1830 Correct handling of mouse and key events so that List receives them.
1831 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1832 (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1833 multiple list elements.
1835 2003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
1837 * java/text/SimpleDateFormat.java (compileFormat):
1838 isLowerCase() and isUpperCase() allow too many characters.
1839 Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1841 2003-12-02 Dalibor Topic <robilad@kaffe.org>
1843 * java/text/FieldPosition.java (equals): Fixed comment.
1845 2003-12-02 Mark Wielaard <mark@klomp.org>
1847 Reported by Archie Cobbs:
1848 * java/security/DigestInputStream.java (read(byte[], int, int): Call
1849 digest.update() with temp, not len as lenght.
1851 2003-12-02 Michael Koch <konqueror@gmx.de>
1853 * java/net/DatagramSocket.java
1854 (close): Close associated DatagramChannel object.
1855 * java/net/ServerSocket.java
1856 * java/net/Socket.java
1857 (close): Reset impl and bound before calling getChannel().close() to
1860 2003-12-02 Michael Koch <konqueror@gmx.de>
1862 * java/nio/channels/spi/AbstractInterruptibleChannel.java
1864 (closed): New field.
1865 (close): Check of channel is closed already.
1866 (isOpen): Return !closed.
1868 2003-12-02 Michael Koch <konqueror@gmx.de>
1870 * gnu/java/nio/DatagramChannelImpl.java
1871 (blocking): Initialize with true by default.
1872 * gnu/java/nio/ServerSocketChannelImpl.java
1873 (serverSocket): Made private.
1874 (blocking): Likewise.
1875 (connected): Likewise.
1876 * gnu/java/nio/SocketChannelImpl.java
1877 (connectionPending): Made private.
1878 * gnu/java/nio/FileLockImpl.java
1879 (static): Load native library (needed for classpath).
1880 * gnu/java/nio/SelectorImpl.java
1881 (static): Load native library (needed for classpath).
1883 2003-12-02 Michael Koch <konqueror@gmx.de>
1885 * gnu/java/net/protocol/file/Connection.java
1886 (getLastModified): Implement for file connections.
1887 (getContentLength): Likewise.
1889 2003-12-02 Michael Koch <konqueror@gmx.de>
1891 * gnu/java/net/protocol/file/Connection.java:
1893 (file): Renamed from fileIn.
1894 (getPermission): Moved around.
1896 2003-12-02 Michael Koch <konqueror@gmx.de>
1898 * gnu/java/net/protocol/jar/Connection.java
1899 (Connection): Made class final, merged documentation with classpath.
1900 (file_cache): Made private.
1901 (jar_file): Renamed from jarfile.
1903 2003-12-02 Michael Koch <konqueror@gmx.de>
1905 * gnu/java/net/protocol/http/Connection.java
1906 (Connection): Initialize doOutput to false;
1907 (connect): Initialize inputStream, moved "send request" code to new
1909 (sendRequest): New method.
1910 (getHttpHeaders): Don't reinitialize inputStream.
1912 2003-12-02 Michael Koch <konqueror@gmx.de>
1914 * gnu/java/net/protocol//http/Connection.java
1915 (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1916 (requestProperties): Initialize, documentation added.
1917 (inputStream): Renamed from bufferedIn.
1918 (Connection): Dont initialize requestProperties.
1919 (setDefaultRequestProperty): Removed.
1920 (getDefaultRequestProperty): Removed.
1921 (usingProxy): Documentation added.
1922 (getHttpHeaders): Likewise.
1924 2003-12-02 Michael Koch <konqueror@gmx.de>
1926 * java/text/DateFormat.java:
1927 Explicitely import used classes.
1929 2003-12-01 Jeff Sturm <jsturm@one-point.com>
1931 * verify.cc (state::clean_subrs): Clear seen_subrs.
1932 (state::copy): Walk seen_subrs from copy, not `this'.
1933 Don't clear seen_subrs.
1935 2003-12-01 Kim Ho <kho@redhat.com>
1937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1938 Disable wrapping if TextArea has horizontal scroll bars.
1940 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1943 (awt_event_handler): Hard-code inset values.
1945 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1946 Pass font name, not XLFD, to initState.
1947 (stringWidth(String, int, String)): New method.
1948 (stringWidth(String)): Call new stringWidth.
1949 (getLeading): Always return 0.
1950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1951 (initState): New Pango implementation.
1952 (stringWidth): Likewise.
1954 2003-12-01 Olga Rodimina <rodimina@redhat.com>
1956 * java/awt/TextComponent.java:
1957 (getSelectionStart): Updated javadocs.
1958 (getSelectionEnd): Ditto.
1959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1960 (getSelectionStart): Changed to return caret position if no
1962 (getSelectionEnd): Ditto.
1964 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1966 * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1967 gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1968 gnu/awt/gtk/GtkContainerPeer.java,
1969 gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1970 gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1971 gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1972 gnu/awt/gtk/natGtkComponentPeer.cc,
1973 gnu/awt/gtk/natGtkContainerPeer.cc,
1974 gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1975 gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1976 gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1979 (closed): Mark loader parameter as unused.
1981 2003-12-01 Michael Koch <konqueror@gmx.de>
1983 * gnu/java/net/protocol/http/Connection.java
1984 (Connection): Merged class documentation.
1985 (socket): Renamed from sock.
1986 (Connection): Made protected, documentation added.
1987 (connect): Give URL'S host instead of InetAddress to Socket
1989 (disconnect): Documentation added.
1990 (getOutputStream): Rewrapped.
1992 2003-12-01 Michael Koch <konqueror@gmx.de>
1994 * gnu/java/net/protocol/file/Connection.java
1995 (fileIn): Documentation added.
1996 (inputStream): Likewise.
1997 (outputStream): Likewise.
1998 (Connection): Likewise.
1999 (connect): Simplified.
2001 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2003 * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
2004 setProperties): Check that io is not null before calling
2006 * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
2008 * java/awt/image/PixelGrabber.java: Fix implementation and
2011 2003-12-01 Michael Koch <konqueror@gmx.de>
2013 * gnu/java/net/natPlainSocketImplPosix.cc
2014 bind(): Dont set SockedImpl.address field on succesful bind.
2015 * gnu/java/net/natPlainSocketImplWin32.cc
2018 2003-11-30 Jeff Sturm <jsturm@one-point.com>
2020 * java/net/InetAddress.java:
2021 (static): Don'f force DNS request for ANY_IF address.
2023 2003-11-30 Michael Koch <konqueror@gmx.de>
2025 * java/net/InetAddress.java,
2026 java/net/natInetAddressNoNet.cc,
2027 java/net/natInetAddressPosix.cc,
2028 java/net/natInetAddressWin32.cc:
2029 Reverted my last patch.
2031 2003-11-28 Michael Koch <konqueror@gmx.de>
2033 * java/net/InetAddress.java
2034 (lookup): New method that doesnt lookup "0.0.0.0".
2035 (ImplLookup): Renamed from lookup.
2036 * java/net/natInetAddressNoNet.cc
2037 (ImplLookup): Renamed from lookup.
2038 * java/net/natInetAddressPosix.cc
2039 (ImplLookup): Renamed from lookup.
2040 * java/net/natInetAddressWin32.cc
2041 (ImplLookup): Renamed from lookup.
2043 2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2045 * configure: Rebuilt.
2046 * configure.in: Require gtk and glib 2.2.0.
2048 2003-11-27 Dalibor Topic <robilad@kaffe.org>
2050 * java/text/FieldPosition.java (equals): Adapted to handle
2051 field_attribute. Added fast-circuit check for comparison to self.
2052 Replaced use of instanceof by getClass to fix symmetry for derived
2054 (toString): Adapted to handle field_attribute. Improved readability.
2055 (hashCode): New method.
2057 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2059 * java/text/FieldPosition.java (field_attribute): New field.
2060 (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
2061 getFieldAttribute): New methods.
2063 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2065 * java/text/DecimalFormatSymbols.java (locale): New field.
2066 (DecimalFormatSymbols (Locale)): Set locale.
2067 (serialVersionOnStream): Upgraded to number 2.
2068 (readObject): Assign locale if it wasn't by the serializer.
2070 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2072 * java/text/FormatCharacterIterator.java: Documented the class and
2074 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2076 * java/text/FormatCharacterIterator.java: Fixed some typos.
2078 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2080 * java/text/NumberFormat.java:
2081 (getIntegerInstance) Added the java version in the comments.
2083 2003-11-27 Mark Wielaard <mark@klomp.org>
2085 * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
2086 (readResolve): Reformat.
2088 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2090 * java/text/NumberFormat.java
2091 (NumberFormat.Field): New implemented class to match Java 1.4.
2092 (getIntegerInstance): Two new Java 1.4 methods.o
2094 2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
2096 * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
2097 the leap day of the leap year twice.
2098 (computeFields): First week of month is 1 not 0.
2100 2003-11-27 Mark Wielaard <mark@klomp.org>
2102 * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
2103 AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
2105 2003-11-27 Michael Koch <konqueror@gmx.de>
2107 * javax/swing/UIDefaults.java:
2108 Reformated to match classpath's version.
2110 2003-11-27 Sascha Brawer <brawer@dandelis.ch>
2112 * javax/swing/UIManager.java (getDefaults, getDimension,
2113 getIcon, getInsets, getInstalledLookAndFeels, getInt,
2114 getLookAndFeel, getString, getSystemLookAndFeelClassName):
2117 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
2119 * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
2120 * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
2121 isSignificant): Likewise.
2123 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
2125 * javax/swing/undo/CompoundEdit.java: Re-format, document.
2126 (inProgress): Set initial value to true.
2127 (undo, redo, die, canUndo, canRedo): Also call inherited
2128 implementation; simplify code structure.
2129 (getPresentationName, getUndoPresentationName,
2130 getRedoPresentationName): Make behavior dependent on lastEdit.
2131 (addEdit, isSignificant): Completely re-written.
2133 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
2135 * javax/swing/undo/StateEdit.java: Re-format, document.
2136 (undo, redo): Also call inherited implementation.
2138 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
2140 * javax/swing/undo/StateEditable.java: Re-format, document.
2142 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
2144 * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
2145 (AbstractUndoableEdit): Initialize hasBeenDone to true.
2146 (canUndo, canRedo): Simplify.
2147 (getUndoPresentationName, getRedoPresentationName): Support
2148 localized message; call getPresentationName() only once.
2150 2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
2152 * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
2153 (ZipFile(File,int)): Likewise.
2155 2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
2157 * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
2158 (putAllInternal): Likewise.
2159 * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
2160 (putAllInternal): Likewise.
2162 2003-11-26 Michael Koch <konqueror@gmx.de>
2164 * java/net/URLStreamHandler.java
2165 (parseURL): Added comment in catch statement.
2166 (canonicalizeFilename): Add documentation.
2167 (sameURL): Completed documentation.
2169 (hostsEqual): Likewise.
2170 (getDefaulPort): Likewise.
2171 (hashCode): Likewise.
2172 (toExternalForm): Likewise.
2173 (getHostName): Fix empty hostname check, completed documentation.
2175 2003-11-26 Tom Tromey <tromey@redhat.com>
2177 * java/lang/natDouble.cc (parseDouble): Reverted patch of
2180 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
2181 Mark Wielaard <mark@klomp.org>
2183 * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
2184 ('@' should be checked to distinguish port from userinfo).
2185 (toExternalForm): Add @ userInfo if necessary.
2188 2003-11-26 Michael Koch <konqueror@gmx.de>
2190 * java/net/DatagramSocket.java
2191 (DategramSocket, bind): Moved binding code from DatagramSocket
2192 constructor to bind method.
2194 2003-11-26 Michael Koch <konqueror@gmx.de>
2196 * java/net/DatagramSocket.java
2197 (impl): Made private.
2198 (bound): New private member variable.
2199 (DatagramSocket): Fixed documentation, use getImpl().
2200 (getImpl): New package-private method.
2201 (isClosed): Use getImpl().
2202 (getLocalAddress): Completed documentation, use getImpl().
2203 (getLocalPort): Use getImpl().
2204 (getSoTimeout): Likewise.
2205 (setSoTimeout): Likewise.
2206 (getSendBufferSize): Likewise.
2207 (setSendBufferSize): Likewise.
2208 (getReceiveBufferSize): Likewise.
2209 (setReceiveBufferSize): Likewise.
2210 (connect): Likewise.
2211 (disconnect): Likewise.
2212 (receive): Likewise.
2214 (setReuseAddress): Likewise.
2215 (setTrafficClass): Likewise.
2216 (bind): Added message to exception.
2217 (isClosed): Completed documentation.
2218 (getChannel): Likewise.
2219 (connect): Added missing exception, refined exception message.
2220 (isBound): Completed documentation, just return bound.
2221 (isConnected): Completed documentation.
2222 (getRemoteSocketAddress): Likewise.
2223 (getReuseAddress): Completed documentation, use getImpl().
2224 (setSoBroadcast): Likewise.
2225 (getSoBroadcast): Likewise.
2226 (getTrafficClass): Likewise.
2227 (getLocalSocketAddress): Simplified.
2228 * java/net/MulticastSocket.java
2229 (MulticastSocket): Removed comment not applying anymore.
2230 (getInterface): Use getImpl().
2232 (getTimeToLive): Likewise.
2233 (setInterface): Likewise.
2234 (setNetworkInterface): Likewise.
2235 (getNetworkInterface): Likewise.
2236 (setLoopback): Likewise.
2237 (getLoopback): Likewise.
2239 (setTimeToLive): Likewise.
2240 (joinGroup): Likewise.
2241 (leaveGroup): Likewise.
2244 2003-11-26 Michael Koch <konqueror@gmx.de>
2246 * java/net/Socket.java
2247 (implCreated): Dont set default value explicitely, added
2249 (inputShutdown): Likewise.
2250 (outputShutdown): Likewise.
2251 (bound): New private member variable.
2252 (bind): Set bound to true.
2253 (close): Set bound to false.
2254 (isBound): Return bound.
2255 * java/net/ServerSocket.java
2256 (bound): New private member variable.
2257 (bind): Set bound to true.
2258 (close): Set bound to false.
2259 (isBound): Return bound.
2261 2003-11-26 Michael Koch <konqueror@gmx.de>
2264 (URL): Fixed documentation to be HTML compliant.
2265 (getContent): Completed documentation.
2266 (getFile): Likewise.
2267 (getPath): Likewise.
2268 (getAuthority): Likewise.
2269 (getHost): Likewise.
2270 (getDefaultPort): Likewise.
2271 (getProtocol): Likewise.
2272 (hashCode): Likewise.
2273 (openConnection): Likewise.
2274 (openStream): Likewise.
2276 (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2278 2003-11-26 Michael Koch <konqueror@gmx.de>
2280 * java/net/InetSocketAddress.java
2281 (hostname): Made private, added documentation.
2284 (equals): Completed documentation.
2285 (getAddress): Likewise.
2286 (getHostName): Likewise.
2287 (getPort): Likewise.
2288 (hashCode): Likewise.
2289 (isUnresolved): Likewise.
2290 (toString): Likewise.
2292 2003-11-26 Michael Koch <konqueror@gmx.de>
2294 * gnu/java/net/protocol/file/Handler.java
2295 (Handler): New explicit constructor.
2296 (openConnection): Added documentation.
2297 * gnu/java/net/protocol/jar/Handler.java
2298 (Handler): New explicit constructor.
2299 (openConnection): Added documentation.
2301 2003-11-26 Michael Koch <konqueror@gmx.de>
2303 * java/net/DatagramPacket.java
2304 (DatagramPacket): Fixed documentation to become legal HTML.
2306 2003-11-25 Michael Koch <konqueror@gmx.de>
2308 * gcj/javaprims.h: Added missing java.util.Currency.
2310 2003-11-25 Michael Koch <konqueror@gmx.de>
2312 * testsuite/libjava.mauve/xfails:
2313 Removed these two tests, they mystically pass now:
2314 -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2315 test_params failed - 5getInetAddress did not return proper values
2317 -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2318 test_BasicServer failed - 11 exception was thrown :Illegal seek
2321 2003-11-25 Michael Koch <konqueror@gmx.de>
2323 * java/net/DatagramSocket.java
2324 (factory): Made private.
2326 (DatagramSocket): Check impl argument, use constructor with
2327 SocketAddress argument.
2328 (close): Set impl to null, use isClosed().
2329 (isClosed): Check for impl == null.
2330 (getLocalAddress): Use isClosed().
2331 (getLocalPort): Check if socket is closed.
2332 (getSoTimeout): Likewise.
2333 (setSoTimeout): Likewise.
2334 (getSendBufferSize): Likewise.
2335 (setSendBufferSize): Likewise.
2336 (getReceiveBufferSize): Likewise.
2337 (setReceiveBufferSize): Likewise.
2338 (receive): Likewise.
2341 (connect): Likewise.
2342 (setReuseAddress): Likewise.
2343 (getReuseAddress): Likewise.
2344 (setBroadcast): Likewise.
2345 (getBroadcast): Likewise.
2346 (setTrafficClass): Likewise.
2347 (getTrafficClass): Likewise.
2348 * java/net/MulticastSocket.java
2349 (getInterface): Check if socket is closed.
2351 (getTimeToLive): Likewise.
2352 (setInterface): Likewise.
2353 (setNetworkInterface): Likewise.
2354 (getNetworkInterface): Likewise.
2355 (setLoopbackMode): Likewise.
2357 (setTimeToLive): Likewise.
2358 (joinGroup): Likewise.
2359 (leaveGroup): Likewise.
2361 * java/net/ServerSocket.java
2363 (close): Check if socket is closed, set impl to null.
2364 (isClosed): Check impl == null;
2365 (ServerSocket): Check impl argument.
2366 (getInetAddress): Check if socket is bound.
2367 (getLocalPort): Likewise.
2368 (getLocalSocketAddress): Likewise.
2369 (bind): Check if socket is closed.
2370 (implAccept): Likewise.
2371 (setSoTimeout): Likewise.
2372 (getSoTimeout): Likewise.
2373 (setReuseAddress): Likewise.
2374 (getReuseAddress): Likewise.
2375 (setReceiveBufferSize): Likewise.
2376 (getReceiveBufferSize): Likewise.
2377 (toString): Make output compliant to JDK 1.4.2.
2378 * java/net/Socket.java
2380 (Socket): Fixed documentation.
2381 (connect): Check if socket is closed, changed exception text,
2382 fixed documentation.
2383 (getInputStream): Check of socket is closed and connected.
2384 (getOutputStream): Likewise.
2385 (bind): Check if socket is closed.
2386 (setTcpNoDelay): Likewise.
2387 (getTcpNoDelay): Likewise.
2388 (setSoLinger): Likewise.
2389 (getSoLinger): Likewise.
2390 (sendUrgentData): Likewise.
2391 (setOOBInline): Likewise.
2392 (getOOBInline): Likewise.
2393 (setSoTimeout): Likewise.
2394 (getSoTimeout): Likewise.
2395 (setSendBufferSize): Likewise.
2396 (getSendBufferSize): Likewise.
2397 (setReceiveBufferSize): Likewise.
2398 (getReceiveBufferSize): Likewise.
2399 (setKeepAlive): Likewise.
2400 (getKeepAlive): Likewise.
2402 (shutdownInput): Likewise.
2403 (shutdownOutput): Likewise.
2404 (getReuseAddress): Likewise.
2405 (getTrafficClass): Likewise.
2406 (setTrafficClass): Likewise.
2407 (isClosed): Check impl == null.
2408 (toString): Added missing ']'.
2410 2003-11-24 Tom Tromey <tromey@redhat.com>
2412 * Makefile.in: Rebuilt.
2413 * Makefile.am (propdir): New macro.
2414 (install-data-local): Install logging.properties.
2415 (core_java_source_files): Added java.util.logging.*.
2416 * java/util/logging/logging.properties: New file.
2418 2003-11-25 Michael Koch <konqueror@gmx.de>
2420 * java/net/DatagramSocket.java
2421 (DatagramSocket): Move binding code to bind(), simplify constructors.
2422 * java/net/MulticastSocket.java
2423 (MulticastSocket): Call parent constructor with null argument,
2424 bind socket after setReuseAddress is called, simplify constructors.
2426 2003-11-24 Michael Koch <konqueror@gmx.de>
2428 * javax/swing/BoxLayout.java
2429 (serialVersionUIR): New member variable.
2430 (X_AXIS, Y_AXIS): Documentation added.
2431 (LINE_AXIS, PAGE_AXIS): New constants.
2432 (grid): Renamed from gridbag.
2433 (BoxLayout): Use new constants, throw exception if invalid value for
2434 way, added documentation.
2435 (BoxLayout): Removed.
2436 (addLayoutComponent): Use new constants, added documentation.
2437 (removeLayoutComponent): Likewise.
2438 (addLayoutContainer): Added documentation.
2439 (preferredLayoutSize): Added documentation, check given argument.
2440 (minimumLayoutSize): Likewise.
2441 (layoutContainer): Likewise.
2442 (getLayoutAlignmentX): Likewise.
2443 (getLayoutAlignmentY): Likewise.
2444 (invalidateLayout): Likewise.
2445 (maximumLayoutSize): Likewise.
2447 2003-11-22 Michael Koch <konqueror@gmx.de>
2449 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2450 (peekData): Use offset and maximal free space in datagram packet.
2451 (receive): Likewise.
2452 (send): Use offset in datagram packet.
2454 2003-11-22 Michael Koch <konqueror@gmx.de>
2456 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2457 (peekData): Use offset and maximal free space in datagram packet.
2458 (receive): Likewise.
2459 (send): Use offset in datagram packet.
2461 2003-11-22 Michael Koch <konqueror@gmx.de>
2463 * gnu/java/nio/DatagramChannelImpl.java
2464 (getNativeFD): Use getPlainDatagramSocketImpl().
2465 * gnu/java/nio/NIODatagramSocket.java
2466 (getPlainDatagramSocketImpl): Renamed from getImpl().
2467 * gnu/java/nio/NIOSocket.java
2468 (getPlainSocketImpl): Renamed from getImpl().
2469 (setChannel): Use getPlainSocketImpl().
2470 * gnu/java/nio/SocketChannelImpl.java
2471 (SocketChannelImpl): Use getPlainSocketImpl().
2472 (getPlainSocketImpl): Renamed from getImpl().
2473 (getNativeFD): Use getPlainSocketImpl().
2475 2003-11-18 Graydon Hoare <graydon@redhat.com>
2477 * javax/swing/JLayeredPane.java: Implement.
2478 * javax/swing/JFrame.java (getContentPane): Make public
2479 * javax/swing/javax/swing/JRootPane.java (setContentPane):
2480 Use JLayeredPane.FRAME_CONTENT_LAYER.
2482 2003-11-21 Mark Wielaard <mark@klomp.org>
2484 * java/lang/Float.java (static): Removed.
2486 2003-11-18 Graydon Hoare <graydon@redhat.com>
2488 * java/awt/font/TextLayout.java: Implement simple layouts
2489 using attributed strings and glyph vectors.
2491 2003-11-17 Graydon Hoare <graydon@redhat.com>
2493 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2494 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
2495 (GdkFontLineMetrics): New inner class.
2496 (getLineMetrics): Return new GdkFontLineMetrics.
2497 (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2498 (layoutGlyphVector): Create GdkGlyphVector.
2499 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2500 (GdkGraphics2D): Initialize state via mathod calls.
2501 (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2502 (cairoTranslate, cairoScale, cairoRotate): Remove.
2503 (various methods): use setTransform for special transform cases.
2504 (DrawState): New inner class.
2505 (stateSave): New method.
2506 (stateRestore): New method.
2507 (various methods): use stateSave, stateRestore.
2508 (getClipInDevSpace): New method.
2509 (clip, clipRect, setClip, getClip, getClipBounds):
2510 Follow spec more closely.
2511 (getTransform): Return clone of transform.
2512 (setStroke): Set linewidth to passed width / 2.0.
2513 (setPaintMode): Set SrcOver rather than Xor.
2514 (setColor): Set paint to passed color.
2515 (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2516 transform from image to user space.
2517 (drawRenderedImage, drawRenderableImage): Implement.
2518 (getFontRenderContext, getFontMetrics, drawString, getFont):
2520 (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
2522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2523 Match changes to java side.
2524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2527 Don't use pango for metrics.
2528 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2531 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
2532 Jim Pick <jim@kaffe.org>
2534 * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2537 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
2539 * java/text/DecimalFormatSymbols.java (getCurrency,
2540 setCurrency): New methods.
2542 2003-11-19 Sascha Brawer <brawer@dandelis.ch>
2544 * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2545 * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2546 Describe how the implementation works.
2548 2003-11-19 Michael Koch <konqueror@gmx.de>
2550 * java/net/Socket.java
2551 (implCreated): New variable that indicates created impl.
2552 (getImpl): New method.
2553 (toString): Return more SUN compliant string representation.
2554 (various): Use getImpl() instead of impl.
2556 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
2558 * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2559 the right libgcc. Add -multiply_defined suppress and -bind_at_load
2562 2003-11-18 Tom Tromey <tromey@redhat.com>
2565 * verify.cc (state::copy): Only set local_changed if we're in a
2566 subroutine. Correctly copy local variables which were modified
2568 (push_jump_merge): Added more debugging output.
2570 * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2573 2003-11-17 Graydon Hoare <graydon@redhat.com>
2575 * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2576 * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2578 2003-11-16 Tom Tromey <tromey@redhat.com>
2581 * java/io/StreamTokenizer.java (commentChar): Clear other
2582 attributes for character.
2583 (quoteChar): Likewise.
2585 2003-11-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2587 * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2588 zero-length int arrays when layoutInfo is null.
2589 (getLayoutWeights): Return array of two zero-length double arrays when
2592 2003-11-13 Tom Tromey <tromey@redhat.com>
2594 * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2595 JvGetStringUTFRegion.
2596 * java/lang/natPosixProcess.cc (new_string): Pass length of string
2597 to JvGetStringUTFRegion.
2598 * java/lang/natDouble.cc (parseDouble): Pass length of string to
2599 JvGetStringUTFRegion.
2600 * java/lang/natWin32Process.cc (startProcess): Pass length of
2601 string to JvGetStringUTFRegion.
2602 * java/lang/natClass.cc (forName): Pass length of string to
2603 JvGetStringUTFRegion.
2604 * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2605 of string to JvGetStringUTFRegion.
2606 * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2607 JvGetStringUTFRegion.
2608 * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2609 to JvGetStringUTFRegion.
2610 * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2611 string to JvGetStringUTFRegion.
2613 2003-11-13 Mohan Embar <gnustuff@thisiscool.com>
2615 * gnu/java/nio/natSelectorImplPosix.cc
2616 (helper_put_filedescriptors): Change to static linkage.
2617 (helper_get_filedescriptors): Likewise.
2619 2003-11-12 Thomas Fitzsimmons <fitzsim@redhat.com>
2621 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2623 * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2624 * java/awt/Component.java (prepareImage): Likewise.
2626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2627 Rename to nativeSetAlignment.
2629 2003-11-11 Danny Smith <dannysmith@users.sourceforge.net>
2631 * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2632 (JNI_GetCreatedJavaVMs): Likewise.
2633 (JNI_GetDefaultJavaVMInitArgs): Likewise.
2634 * include/jni.h (JNIIMPEXP): Remove definition
2636 (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2638 (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2640 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2642 * Makefile.am: Add GdkPixbufDecoder.java and
2643 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2644 * Makefile.in: Regenerate.
2645 * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2647 (startProduction): Create ByteArrayInputStream when url and filename are
2649 (produce): Declare stream parameter as InputStream.
2650 * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2652 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2653 (GdkPixbufDecoder(byte[],int,int)): New constructor.
2654 (produce): Declare stream parameter as InputStream.
2655 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2656 if image is null. Set image's observer before running PrepareImage
2657 thread. Pass image to startProduction.
2658 * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2659 source's member functions.
2660 (observer): New field.
2661 (setObserver): New method.
2662 (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2663 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2665 (prepareImage): Implement.
2666 * java/awt/Component.java: Add static fields incrementalDraw and
2668 (imageUpdate): Implement.
2669 (createImage): Call Toolkit's createImage if peer is null.
2670 (prepareImage): Throw NPE if image is null.
2671 * java/awt/MediaTracker.java: Fix return value.
2673 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2675 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2676 (create(String, float)): New method.
2677 (setText): Make native.
2678 (nativeSetAlignment): New method.
2679 (setAlignment): Call nativeSetAlignment.
2680 (getArgs): Remove method.
2681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2682 (find_fg_color_widget, find_bg_color_widget): New functions.
2683 (gtkWidgetSetForeground): Call find_fg_color_widget.
2684 (gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and
2686 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2687 widget in event box.
2688 (setText, setAlignment): Implement new native methods.
2690 2003-11-11 Michael Koch <konqueror@gmx.de>
2692 * java/awt/Font.java,
2693 java/awt/datatransfer/DataFlavor.java,
2694 java/math/BigInteger.java,
2695 java/net/Inet4Address.java,
2696 java/net/Inet6Address.java,
2697 java/rmi/MarshalledObject.java,
2698 java/rmi/server/RMIClassLoader.java,
2699 java/security/cert/CertStore.java,
2700 java/sql/Timestamp.java,
2701 java/text/SimpleDateFormat.java,
2702 javax/naming/CompoundName.java:
2703 Removed some redundant obj == null checks.
2705 2003-11-11 Michael Koch <konqueror@gmx.de>
2707 * java/nio/ByteBuffer.java
2708 (equals): Remove redundant obj == null check.
2710 2003-11-11 Michael Koch <konqueror@gmx.de>
2712 * gnu/java/nio/natPipeImpl.cc,
2713 gnu/java/nio/natSelectorImpl.cc: Removed
2714 * gnu/java/nio/natPipeImplEcos.cc,
2715 gnu/java/nio/natPipeImplPosix.cc,
2716 gnu/java/nio/natPipeImplWin32.cc,
2717 gnu/java/nio/natSelectorImplEcos.cc,
2718 gnu/java/nio/natSelectorImplPosix.cc,
2719 gnu/java/nio/natSelectorImplWin32.cc: New files
2720 * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2721 gnu/java/nio/natSelectorImpl.cc
2722 * configure: Regenerated.
2724 2003-11-11 Micheal Koch <konqueror@gmx.de>
2726 * java/net/URLStreamHandler.java (toExternalForm): Print port only
2727 if host is printed too and port was really given to URL.
2729 2003-11-10 Gary Benson <gbenson@redhat.com>
2731 * java/sql/Timestamp.java (valueOf): Correctly handle
2734 2003-11-09 Tom Tromey <tromey@redhat.com>
2736 * java/net/Inet4Address.java (serialVersionUID): Updated.
2738 2003-11-08 Jeff Sturm <jsturm@one-point.com>
2740 * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2743 2003-11-08 Jeff Sturm <jsturm@one-point.com>
2745 * java/io/ByteArrayOutputStream.java (resize):
2746 Fix off-by-one error.
2748 2003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz>
2750 * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2753 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
2756 * java/lang/Win32Process.java (hasExited) Changed from
2758 (startProcess): Likewise.
2759 (cleanup): Likewise.
2760 * java/lang/natWin32Process.cc (cleanup) Don't close
2761 input, output and error streams.
2762 (ChildProcessPipe): New helper class.
2763 (startProcess): Refactored to use ChildProcessPipe.
2764 Use CREATE_NO_WINDOW when launching child process.
2766 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
2768 * include/win32.h (_Jv_platform_close_on_exec): Changed
2769 signature and declared extern.
2770 * win32.cc (_Jv_platform_close_on_exec): Implemented.
2771 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2772 (create): Use new signature of _Jv_platform_close_on_exec.
2773 * gnu/java/net/natPlainSocketImplWin32.cc
2774 (create): Eliminated a few typecasts
2775 Use new signature of _Jv_platform_close_on_exec.
2776 (accept): Eliminated a few typecasts
2777 Use new signature of _Jv_platform_close_on_exec.
2778 * java/io/natFileDescriptorWin32.cc (open): Use
2779 _Jv_platform_close_on_exec.
2781 2003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz>
2783 * java/lang/natClass.cc (newInstance): Throw InstantiationException
2784 if class has no null-argument constructor.
2786 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2789 * win32-threads.cc (_Jv_CondWait): Respect mutex's
2790 refcount when releasing and reacquiring it.
2792 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2794 * win32.cc: (dirExists) Internal helper function to
2795 test for directory existence.
2796 (getUserHome) New helper function refactored out
2797 of _Jv_platform_initProperties. Uses USERPROFILE
2798 instead of HOMEDIR and attempts to support Win9X and NT.
2799 (_Jv_platform_initProperties) Use getUserHome.
2801 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2804 * gnu/java/net/natPlainSocketImplWin32.cc
2805 (bind): Don't use SO_REUSEADDR
2807 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2810 * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2812 2003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz>
2814 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2815 dispatch for final methods.
2817 2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2822 2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2825 scrolled window's size request.
2827 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2829 * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2830 * java/awt/geom/QuadCurve2D.java: Likewise.
2832 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2834 * java/awt/geom/CubicCurve2D.java: Added documentation.
2835 * java/awt/geom/QuadCurve2D.java: Likewise.
2837 * java/awt/geom/doc-files/QuadCurve2D-4.png,
2838 java/awt/geom/doc-files/QuadCurve2D-5.png,
2839 java/awt/geom/doc-files/CubicCurve2D-4.png,
2840 java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2842 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2844 * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2845 (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2846 (subdivide(double[],int,double[],int,double[],int)): Implement.
2848 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
2850 * java/awt/geom/doc-files/CubicCurve2D-1.png,
2851 java/awt/geom/doc-files/CubicCurve2D-2.png,
2852 java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2854 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
2856 * java/text/DecimalFormat.java
2857 (scanFormat) corrected so that '%' may appear in a pattern.
2859 2003-10-29 Mark Wielaard <mark@klomp.org>
2861 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2862 * java/text/DateFormat.java (Field): New public static inner class.
2863 * java/text/Format.java (Field): Likewise.
2864 (formatToCharacterIterator): New method.
2865 * java/text/FormatCharacterIterator.java: New file.
2867 2003-10-29 Mark Wielaard <mark@klomp.org>
2869 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2870 * java/util/Currency.java: New file.
2872 2003-10-29 Michael Koch <konqueror@gmx.de>
2874 * Makefile.am (ordinary_java_source_files): Added
2875 java/text/FormatCharacterIterator.java and java/util/Currency.java.
2876 * Makefile.in: Regenerated.
2878 2003-10-29 Dalibor Topic <robilad@kaffe.org>
2880 * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2883 2003-10-29 Julian Dolby <dolby@us.ibm.com>
2885 * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2886 getObjectInstance() with Object, Name, Context and environment
2887 Hashtable from exception. Call fillInStackTrace() on exception when
2889 * javax/naming/InitialContext.java (lookup(Name)): When a
2890 CannotProceedException is thrown use the ContinuationContext.
2891 (lookup(String)): Likewise.
2892 (close): Clear myProps and defaultInitCtx.
2894 2003-10-29 Michael Koch <konqueror@gmx.de>
2896 * java/net/InetAddress.java
2897 (equals): Remove redundant obj == null check.
2898 * java/net/SocketPermission.java
2902 (getURLStreamHandler): Likewise.
2904 2003-10-29 Michael Koch <konqueror@gmx.de>
2906 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2907 (setOption): Directly return if no error occured.
2908 * gnu/java/net/natPlainSocketImplPosix.cc
2909 (setOption): Likewise.
2911 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2913 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2914 vtable slot for final methods. Add FIXME comment.
2916 2003-10-28 David S. Miller <davem@redhat.com>
2918 * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2920 2003-10-26 Mark Wielaard <mark@klomp.org>
2922 Reported by Helmer Kraemer <hkraemer@freenet.de>
2923 * java/util/jar/JarInputStream.java (readManifest): Don't call
2926 * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2927 (finish): Use inbufWrite().
2928 (write(int)): Likewise.
2929 (write(byte[],int,int)): Likewise.
2931 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2933 * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2934 Don't check for AccessibleObject. Update javadocs.
2936 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2938 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2940 * java/lang/reflect/Constructor.java (toString): Avoid extra
2941 whitespace on constructor with no modifiers.
2942 * java/lang/reflect/natConstructor.java (newInstance): Look up
2943 caller and perform accessibility check only if constructor is
2944 non-public and accessible flag is not set.
2946 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2948 * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2949 _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2950 use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
2951 is_virtual_call argument.
2952 * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
2954 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
2955 _Jv_isVirtualMethod.
2956 * java/lang/reflect/natMethod.cc (invoke): Don't use
2957 _Jv_LookupDeclaredMethod.
2958 (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2959 look up method in target object's vtable.
2961 2003-10-25 Graydon Hoare <graydon@redhat.com>
2963 * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2964 * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2965 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2966 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2967 New concrete implementation of ClasspathFontPeer, with native part.
2968 * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2969 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2970 New class, with native part.
2971 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2972 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2973 implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2975 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2977 * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2978 on method with no modifiers.
2980 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2983 * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2984 accessibility check only if target is non-public and accessible flag
2986 * java/lang/reflect/natField.cc (getAddr): Likewise.
2988 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2990 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2992 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2994 * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2995 show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2996 (dispose): Post WINDOW_CLOSED event.
2997 (addWindowFocusListener, addWindowStateListener): Assign result
2998 of multicaster add back to window listener.
2999 (removeWindowFocusListener, removeWindowStateListener): Assign
3000 result of multicaster remove back to window listener.
3001 (dispatchEventImpl): Add null checks for focus and state
3003 (processWindowEvent): Handle case where windowListener is null
3004 but state or focus listeners exist.
3005 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3006 glue for postWindowEvent.
3007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3008 (window_delete_cb, window_destroy_cb, window_show_cb,
3009 window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
3010 window_get_new_state): New functions.
3011 * jni/gtk-peer/gtkpeer.h: Define window event and frame state
3012 macros. Declare postWindowEventID.
3014 2003-10-24 Anthony Green <green@redhat.com>
3016 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
3017 we have no interpreter.
3019 2003-10-22 Andrew Haley <aph@redhat.com>
3021 * java/lang/natClass.cc (initializeClass): Call
3022 _Jv_linkExceptionClassTable.
3023 (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
3024 _Jv_Defer_Resolution on a method whose ncode is NULL.
3025 (_Jv_linkExceptionClassTable): New function.
3026 (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
3028 * java/lang/Class.h (struct _Jv_CatchClass): New.
3029 (_Jv_linkExceptionClassTable): New friend.
3030 (_Jv_Defer_Resolution): New friend.
3031 (class Class.catch_classes): New field.
3032 * include/java-interp.h (Jv_Defer_Resolution): New method.
3033 (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
3034 (_Jv_MethodBase.deferred): New field.
3035 (_Jv_Defer_Resolution): New function.
3036 * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
3037 * exception.cc (get_ttype_entry): Change return type to void**.
3038 (PERSONALITY_FUNCTION): Remove all code related to using a
3039 Utf8Const* for a match type. Change match type to be a pointer to
3040 a pointer, rather than a pointer to a Class.
3041 * defineclass.cc (handleCodeAttribute): Initialize
3043 (handleMethodsEnd): Likewise.
3045 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3047 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
3048 _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
3050 2003-10-22 Tom Tromey <tromey@redhat.com>
3053 * java/lang/Class.h: Updated.
3054 * java/lang/natClass.cc (_getFields): Removed.
3055 (getFields): Likewise.
3056 (getDeclaredFields): Added `public_only' parameter.
3057 * java/lang/Class.java (getFields): Now implemented in java; from
3059 (getDeclaredFields): Likewise.
3060 (getDeclaredFields(boolean)): Declare.
3061 (_getFields): Removed.
3062 (internalGetFields): New method, from Classpath.
3065 * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
3066 _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
3068 2003-10-22 David Daney <ddaney@avtrex.com)
3070 * include/mips-signal.h: New file.
3071 * sysdep/dwarf2-backtrace.cc: New file.
3072 * sysdep/mips: New directory.
3073 * sysdep/mips/locks.h: New file.
3074 * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
3076 (extra_cc_source_files): Ditto.
3077 * configure.host(disable_dladdr): New shell variable passed to
3079 (mips*-*-linux*): sysdeps_dir=mips,
3080 can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
3081 (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
3082 * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
3083 generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
3084 (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
3085 (EXTRA_CC_FILES): New, to support conditional addition of
3086 sysdep/dwarf2-backtrace.cc.
3087 * configure: Regenerated.
3088 * Makefile.in: Regenerated.
3089 * gcj/Makefile.in: Regenerated.
3090 * include/config.h.in: Regenerated.
3091 * include/Makefile.in: Regenerated.
3092 * testsuite/Makefile.in: Regenerated.
3094 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
3096 * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
3097 java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
3099 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
3101 * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
3102 * java/awt/geom/doc-files: New directory.
3103 * java/awt/geom/doc-files/QuadCurve2D-1.png,
3104 java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
3106 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
3108 * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
3110 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
3112 * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
3114 2003-10-22 Michael Koch <konqueror@gmx.de>
3117 (equals): Removed redundant obj == null check.
3118 (createTempFile): Merged comments from classpath.
3120 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
3122 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
3123 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
3124 (error): Synchronize on instance, not class.
3126 2003-10-21 Mark Wielaard <mark@klomp.org>
3128 Reported by M.Negovanovic
3129 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
3131 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
3133 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
3135 Fix for Classpath bug #6076.
3136 * java/awt/geom/GeneralPath.java (append): Re-written.
3138 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
3140 Fix for Classpath bug #6089.
3141 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
3142 (getPathIterator, GeneralPathIterator): Re-written from scratch.
3144 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
3146 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
3147 point, not start of subpath. Fixes Classpath bug #6075.
3149 2003-10-21 Michael Koch <konqueror@gmx.de>
3151 * java/nio/ByteOrder.java,
3152 java/nio/DirectByteBufferImpl.java,
3153 java/nio/channels/FileChannelImpl.java:
3154 Add code to load library with code for native methods if needed.
3156 2003-10-21 Michael Koch <konqueror@gmx.de>
3158 * gnu/java/net/PlainDatagramSocketImpl.java,
3159 gnu/java/net/PlainSocketImpl.java,
3160 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3161 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3162 gnu/java/net/natPlainSocketImplPosix.cc,
3163 gnu/java/net/natPlainSocketImplWin32.cc:
3164 Renamed fnum to native_fd to match classpath more.
3166 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
3168 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
3169 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
3170 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
3171 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
3172 _Jv_PthreadCheckMonitor. Simplify code.
3173 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
3174 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
3175 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
3176 * java/lang/Thread.java (holdsLock): New.
3177 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
3178 without JV_HASH_SYNCHRONIZATION.
3179 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
3181 2003-10-20 Michael Koch <konqueror@gmx.de>
3183 * java/text/RuleBasedCollator.java
3184 (RuleBasedCollator): Check rules not empty, fixed search in already
3185 existing collation elements.
3186 (is_special): Removed common whitespace characters.
3187 (text_argument): Dont return on whitespaces, add characters between
3188 two ' to string buffer.
3190 2003-10-18 Michael Koch <konqueror@gmx.de>
3192 * gnu/java/net/protocol/file/Connection.java,
3193 gnu/java/net/protocol/file/Handler.java,
3194 gnu/java/net/protocol/http/Connection.java,
3195 gnu/java/net/protocol/http/Handler.java,
3196 gnu/java/net/protocol/jar/Connection.java,
3197 gnu/java/net/protocol/jar/Handler.java:
3198 Merged copyright text from classpath to make
3199 it possible to merge the classes.
3201 2003-10-18 Mark Wielaard <mark@klomp.org>
3203 Reported by M.Negovanovic
3204 * java/beans/IndexedPropertyDescriptor.java
3205 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
3207 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
3209 * win32.cc (_Jv_pipe): Implemented.
3210 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
3211 _Jv_pipe instead of ::pipe.
3212 * include/posix.h (_Jv_pipe): New inline.
3213 * include/win32.h (_Jv_pipe): New declaration.
3215 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
3217 * java/lang/StringBuffer.java (getChars): Fix array index checks.
3218 (append, substring, insert): Likewise.
3219 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
3220 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
3222 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
3224 * java/lang/natString.cc (getChars):
3225 Fix validation of array indexes.
3226 (getBytes, regionMatches, startsWith, valueOf): Likewise.
3227 * testsuite/libjava.lang/String_overflow.java: New file.
3228 * testsuite/libjava.lang/String_overflow.out: New file.
3230 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
3232 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
3234 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
3235 check for overflowing size_t, since the lower level functions
3237 * testsuite/libjava.lang/newarray_overflow.java: New file.
3238 * testsuite/libjava.lang/newarray_overflow.out: New file.
3240 2003-10-15 Michael Koch <konqueror@gmx.de>
3242 * java/text/RuleBasedCollator.java
3243 (RuleBasedCollator): Moved around, documentation added.
3244 (compare): Documentation added.
3246 (getCollationElementIterator): Likewise.
3247 (getCollationKey): Likewise.
3248 (getRules): Likewise.
3249 (hashCode): Likewise.
3251 2003-10-15 Michael Koch <konqueror@gmx.de>
3253 * java/text/RuleBasedCollator.java
3254 (CollationElement): Renamed from RBCElement and moved into
3255 RuledBasedCollator as inner class.
3257 2003-10-15 Michael Koch <konqueror@gmx.de>
3259 * java/text/CollationElementIterator.java
3260 (CollationElementIterator): Moved, documenatation added, call setText.
3262 (reset): Reformated.
3263 (setText): New method.
3264 (getOffset): New method.
3265 * java/text/CollationKey.java
3266 (getSourceString): Reformated.
3267 (hashCode): Reformated.
3268 (toByteArray): Reformated.
3270 2003-10-15 Michael Koch <konqueror@gmx.de>
3272 * java/util/zip/InflaterInputStream.java
3273 (InflaterInputStream): Renamed infl to inf and bufsize to size,
3274 added description to exception, check for inf == null and size < 0.
3276 2003-10-15 Michael Koch <konqueror@gmx.de>
3278 * java/text/AttributedCharacterIterator.java,
3279 java/text/CharacterIterator.java: Reformated.
3281 2003-10-15 Michael Koch <konqueror@gmx.de>
3283 * javax/swing/UIDefaults.java (putDefaults):
3284 Readded accidently removed "public" modifier.
3286 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
3288 * interpret.cc (_Jv_InterpMethod::run): Don't
3289 use libffi types, they were meant to be internal.
3290 * gcj/javaprims.h (_Jv_ulong): New typedef.
3292 2003-10-13 Tom Tromey <tromey@redhat.com>
3294 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3295 (defineClass): Updated.
3296 (_Jv_NewClass): Likewise.
3297 * prims.cc (_Jv_InitPrimClass): Don't call
3298 _Jv_InitNewClassFields.
3300 2003-10-13 Taras Glek <taras.judge@shaw.ca>
3303 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3306 2003-10-13 Michael Koch <konqueror@gmx.de>
3308 * java/io/File.java: Reformated.
3309 (equals): Check for obj == null.
3311 2003-10-13 Michael Koch <konqueror@gmx.de>
3313 * java/net/JarURLConnection.java
3314 (jarFileURL): Added dcoumentation.
3315 (jarFileURLConnection): Reformated documentation.
3316 (entryName): Renamed from "element", documentation rewritten.
3317 (connectionCache): Renamed from "conn_cache", documentation
3319 (JarURLConnection): Check URL protocol.
3320 (getEntryName): Use entryName.
3321 (connect): Use connectionCache.
3322 (getInputStream): Use entryName, fixed comment.
3323 (getJarEntry): Use entryName.
3324 (getHeaders): Use entryName.
3325 * java/net/URLConnection.java
3326 (addRequestProperty): Fixed documentation.
3327 (setDefaultRequestProptery): Added comment that it does nothing since
3329 (getDefaultRequestProperty): Likewise.
3331 2003-10-13 Michael Koch <konqueror@gmx.de>
3333 * java/net/java/net/URLStreamHandlerFactory.java
3334 (createURLStreamHandler): Removed redundant "public" modifier.
3335 * java/sql/DatabaseMetaData.java:
3336 (DatabaseMetaData): Readded accidently removed "public" modifier.
3337 * java/sql/ParameterMetaData.java:
3338 (ParameterMetaData): Readded accidently removed "public" modifier.
3339 * java/sql/PreparedStatement.java:
3340 (PreparedStatement): Readded accidently removed "public" modifier.
3341 * java/sql/Ref.java:
3342 (Ref): Readded accidently removed "public" modifier.
3344 2003-10-13 Michael Koch <konqueror@gmx.de>
3346 * java/nio/Buffer.java
3347 (hasRemaining): Made implementation more clear.
3348 * java/nio/MappedByteBuffer.java
3349 (loaded): New member variable.
3350 (force): Added comment.
3351 (isLoaded): Return value of loaded.
3352 (load): Set loaded to true, added comment.
3354 2003-10-12 Michael Koch <konqueror@gmx.de>
3356 * gnu/java/nio/PipeImpl.java
3357 (SourceChannelImpl): New inner class.
3358 (SinkChannelImpl): New inner class.
3359 (sink): New member variable.
3360 (source): New member variable.
3361 (PipeImpl): Add SelectorProvider argument, implemented.
3362 (nativeInit): New method.
3363 (sink): Return sink channel.
3364 (source): Return source channel.
3365 * gnu/java/nio/SelectorProviderImpl.java
3366 (openPipe): Give provider as argument to PipeImpl constructor.
3367 * java/nio/channels/spi/SelectorProvider.java
3369 (systemDefaultProvider): New member variable.
3370 (provider): Made it synchronized, use property
3371 java.nio.channels.spi.SelectorProvider.
3372 * gnu/java/nio/natPipeImpl.cc: New file.
3373 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3374 * Makefile.in: Regenerated.
3376 2003-10-12 Michael Koch <konqueror@gmx.de>
3378 * javax/swing/table/DefaultTableModel.java,
3379 javax/swing/table/TableCellEditor.java,
3380 javax/swing/table/TableCellRenderer.java,
3381 javax/swing/table/TableColumnModel.java,
3382 javax/swing/table/TableModel.java,
3383 javax/swing/text/AbstractDocument.java,
3384 javax/swing/text/Document.java,
3385 javax/swing/text/MutableAttributeSet.java,
3386 javax/swing/text/StyledDocument.java,
3387 javax/swing/text/ViewFactory.java,
3388 javax/swing/tree/DefaultMutableTreeNode.java,
3389 javax/swing/tree/MutableTreeNode.java,
3390 javax/swing/tree/RowMapper.java,
3391 javax/swing/tree/TreeCellEditor.java,
3392 javax/swing/tree/TreeCellRenderer.java,
3393 javax/swing/tree/TreeModel.java,
3394 javax/swing/tree/TreeNode.java,
3395 javax/swing/tree/TreeSelectionModel.java,
3396 javax/swing/undo/StateEditable.java,
3397 javax/swing/undo/UndoableEdit.java:
3398 Removed redundant modifiers.
3400 2003-10-12 Michael Koch <konqueror@gmx.de>
3402 * javax/swing/event/AncestorListener.java,
3403 javax/swing/event/CaretListener.java,
3404 javax/swing/event/CellEditorListener.java,
3405 javax/swing/event/ChangeListener.java,
3406 javax/swing/event/DocumentEvent.java,
3407 javax/swing/event/DocumentListener.java,
3408 javax/swing/event/HyperlinkListener.java,
3409 javax/swing/event/InternalFrameListener.java,
3410 javax/swing/event/ListDataListener.java,
3411 javax/swing/event/ListSelectionListener.java,
3412 javax/swing/event/MenuDragMouseListener.java,
3413 javax/swing/event/MenuKeyListener.java,
3414 javax/swing/event/MenuListener.java,
3415 javax/swing/event/MouseInputListener.java,
3416 javax/swing/event/PopupMenuListener.java,
3417 javax/swing/event/TableColumnModelListener.java,
3418 javax/swing/event/TableModelListener.java,
3419 javax/swing/event/TreeExpansionListener.java,
3420 javax/swing/event/TreeModelListener.java,
3421 javax/swing/event/TreeSelectionListener.java,
3422 javax/swing/event/TreeWillExpandListener.java,
3423 javax/swing/event/UndoableEditListener.java,
3424 javax/swing/plaf/UIResource.java,
3425 javax/swing/plaf/metal/MetalLookAndFeel.java:
3426 Removed redundant modifiers.
3428 2003-10-12 Michael Koch <konqueror@gmx.de>
3430 * javax/swing/Action.java,
3431 javax/swing/BoundedRangeModel.java,
3432 javax/swing/CellEditor.java,
3433 javax/swing/ComboBoxEditor.java,
3434 javax/swing/ComboBoxModel.java,
3435 javax/swing/DesktopManager.java,
3436 javax/swing/JComboBox.java,
3437 javax/swing/ListCellRenderer.java,
3438 javax/swing/ListSelectionModel.java,
3439 javax/swing/MenuElement.java,
3440 javax/swing/MutableComboBoxModel.java,
3441 javax/swing/Renderer.java,
3442 javax/swing/RootPaneContainer.java,
3443 javax/swing/ScrollPaneConstants.java,
3444 javax/swing/SingleSelectionModel.java,
3445 javax/swing/SpinnerModel.java,
3446 javax/swing/SwingConstants.java,
3447 javax/swing/UIDefaults.java,
3448 javax/swing/WindowConstants.java,
3449 javax/swing/border/Border.java,
3450 javax/swing/colorchooser/ColorSelectionModel.java:
3451 Removed redundant modifiers.
3453 2003-10-11 Michael Koch <konqueror@gmx.de>
3455 * javax/transaction/Status.java,
3456 javax/transaction/Synchronization.java,
3457 javax/transaction/Transaction.java,
3458 javax/transaction/TransactionManager.java,
3459 javax/transaction/UserTransaction.java,
3460 javax/transaction/xa/XAResource.java,
3461 javax/transaction/xa/Xid.java:
3462 Removing redundant modifiers.
3464 2003-10-11 Michael Koch <konqueror@gmx.de>
3466 * javax/print/attribute/Attribute.java,
3467 javax/print/attribute/AttributeSet.java,
3468 javax/print/attribute/PrintRequestAttributeSet.java:
3469 Removing redundant modifiers.
3471 2003-10-11 Michael Koch <konqueror@gmx.de>
3473 * javax/sql/ConnectionEventListener.java,
3474 javax/sql/ConnectionPoolDataSource.java,
3475 javax/sql/DataSource.java,
3476 javax/sql/PooledConnection.java,
3477 javax/sql/RowSet.java,
3478 javax/sql/RowSetInternal.java,
3479 javax/sql/RowSetListener.java,
3480 javax/sql/RowSetMetaData.java,
3481 javax/sql/RowSetReader.java,
3482 javax/sql/RowSetWriter.java,
3483 javax/sql/XAConnection.java,
3484 javax/sql/XADataSource.java:
3485 Removing redundant modifiers.
3487 2003-10-11 Michael Koch <konqueror@gmx.de>
3489 * javax/naming/Context.java,
3490 javax/naming/Name.java,
3491 javax/naming/NameParser.java,
3492 javax/naming/NamingEnumeration.java,
3493 javax/naming/Referenceable.java,
3494 javax/naming/directory/Attribute.java,
3495 javax/naming/directory/Attributes.java,
3496 javax/naming/directory/DirContext.java,
3497 javax/naming/event/EventContext.java,
3498 javax/naming/event/EventDirContext.java,
3499 javax/naming/event/NamespaceChangeListener.java,
3500 javax/naming/event/NamingListener.java,
3501 javax/naming/event/ObjectChangeListener.java,
3502 javax/naming/ldap/Control.java,
3503 javax/naming/ldap/ExtendedRequest.java,
3504 javax/naming/ldap/ExtendedResponse.java,
3505 javax/naming/ldap/HasControls.java,
3506 javax/naming/ldap/LdapContext.java,
3507 javax/naming/ldap/UnsolicitedNotification.java,
3508 javax/naming/ldap/UnsolicitedNotificationListener.java,
3509 javax/naming/spi/DirObjectFactory.java,
3510 javax/naming/spi/DirStateFactory.java,
3511 javax/naming/spi/InitialContextFactory.java,
3512 javax/naming/spi/InitialContextFactoryBuilder.java,
3513 javax/naming/spi/ObjectFactory.java,
3514 javax/naming/spi/ObjectFactoryBuilder.java,
3515 javax/naming/spi/Resolver.java,
3516 javax/naming/spi/StateFactory.java:
3517 Removing redundant modifiers.
3519 2003-10-11 Michael Koch <konqueror@gmx.de>
3521 * java/security/Key.java,
3522 * java/security/PrivateKey.java,
3523 * java/security/PublicKey.java,
3524 * java/security/acl/Acl.java,
3525 * java/security/acl/AclEntry.java,
3526 * java/security/acl/Group.java,
3527 * java/security/acl/Owner.java,
3528 * java/security/acl/Permission.java,
3529 * java/security/cert/X509Extension.java,
3530 * java/security/interfaces/DSAKey.java,
3531 * java/security/interfaces/DSAKeyPairGenerator.java,
3532 * java/security/interfaces/DSAParams.java,
3533 * java/security/interfaces/DSAPrivateKey.java,
3534 * java/security/interfaces/DSAPublicKey.java,
3535 * java/security/interfaces/RSAKey.java,
3536 * java/security/interfaces/RSAPrivateCrtKey.java,
3537 * java/security/interfaces/RSAPrivateKey.java,
3538 * java/security/interfaces/RSAPublicKey.java:
3539 Removed redundant modifiers.
3541 2003-10-11 Michael Koch <konqueror@gmx.de>
3543 * gnu/java/rmi/server/ProtocolConstants.java,
3544 gnu/java/security/der/DER.java:
3545 Removing redundant modifiers.
3547 2003-10-11 Michael Koch <konqueror@gmx.de>
3549 * java/util/Map.java,
3550 java/util/Observer.java,
3551 java/util/zip/Checksum.java,
3552 java/util/zip/ZipConstants.java:
3553 Removed redundant modifiers.
3555 2003-10-11 Michael Koch <konqueror@gmx.de>
3557 * java/text/AttributedCharacterIterator.java,
3558 java/text/CharacterIterator.java:
3559 Removed redundant modifiers.
3561 2003-10-11 Michael Koch <konqueror@gmx.de>
3563 * java/sql/Array.java,
3565 java/sql/CallableStatement.java,
3567 java/sql/Connection.java,
3568 java/sql/DatabaseMetaData.java,
3569 java/sql/Driver.java,
3570 java/sql/ParameterMetaData.java,
3571 java/sql/PreparedStatement.java,
3573 java/sql/ResultSet.java,
3574 java/sql/ResultSetMetaData.java,
3575 java/sql/SQLData.java,
3576 java/sql/SQLInput.java,
3577 java/sql/SQLOutput.java,
3578 java/sql/Savepoint.java,
3579 java/sql/Statement.java,
3580 java/sql/Struct.java:
3581 Removed redundant modifiers.
3583 2003-10-11 Michael Koch <konqueror@gmx.de>
3585 * java/nio/channels/Channel.java,
3586 java/nio/channels/GatheringByteChannel.java,
3587 java/nio/channels/ReadableByteChannel.java,
3588 java/nio/channels/ScatteringByteChannel.java,
3589 java/nio/channels/WritableByteChannel.java:
3590 Removed redundant modifiers.
3592 2003-10-11 Michael Koch <konqueror@gmx.de>
3594 * java/rmi/activation/ActivationInstantiator.java,
3595 java/rmi/activation/ActivationMonitor.java,
3596 java/rmi/activation/ActivationSystem.java,
3597 java/rmi/activation/Activator.java,
3598 java/rmi/dgc/DGC.java,
3599 java/rmi/registry/Registry.java,
3600 java/rmi/registry/RegistryHandler.java,
3601 java/rmi/server/LoaderHandler.java,
3602 java/rmi/server/RMIClientSocketFactory.java,
3603 java/rmi/server/RMIFailureHandler.java,
3604 java/rmi/server/RMIServerSocketFactory.java,
3605 java/rmi/server/RemoteCall.java,
3606 java/rmi/server/RemoteRef.java,
3607 java/rmi/server/ServerRef.java,
3608 java/rmi/server/Skeleton.java,
3609 java/rmi/server/Unreferenced.java:
3610 Removed redundant modifiers.
3612 2003-10-11 Michael Koch <konqueror@gmx.de>
3614 * java/net/ContentHandlerFactory.java,
3615 java/net/DatagramSocketImplFactory.java,
3616 java/net/FileNameMap.java,
3617 java/net/SocketImplFactory.java,
3618 java/net/SocketOptions.java,
3619 java/net/URLStreamHandlerFactory.java:
3620 Removed redundant modifiers.
3622 2003-10-11 Michael Koch <konqueror@gmx.de>
3624 * java/io/Externalizable.java,
3625 java/io/FileFilter.java,
3626 java/io/FilePermission.java,
3627 java/io/ObjectInput.java,
3628 java/io/ObjectInputValidation.java,
3629 java/io/ObjectOutput.java,
3630 java/io/ObjectStreamClass.java,
3631 java/io/ObjectStreamConstants.java,
3632 java/io/Serializable.java:
3633 Removed redundant modifiers.
3635 2003-10-11 Ingo Proetel <proetel@aicas.com>
3637 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
3638 codebase and context classloader.
3640 2003-10-11 Michael Koch <konqueror@gmx.de>
3642 * java/beans/beancontext/BeanContext.java,
3643 java/beans/beancontext/BeanContextChild.java,
3644 java/beans/beancontext/BeanContextChildComponentProxy.java,
3645 java/beans/beancontext/BeanContextChildSupport.java,
3646 java/beans/beancontext/BeanContextContainerProxy.java,
3647 java/beans/beancontext/BeanContextMembershipListener.java,
3648 java/beans/beancontext/BeanContextProxy.java,
3649 java/beans/beancontext/BeanContextServiceProvider.java,
3650 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3651 java/beans/beancontext/BeanContextServiceRevokedListener.java,
3652 java/beans/beancontext/BeanContextServices.java,
3653 java/beans/beancontext/BeanContextServicesListener.java:
3654 Removed redundant modifiers.
3656 2003-10-11 Michael Koch <konqueror@gmx.de>
3658 * java/beans/AppletInitializer.java,
3659 java/beans/BeanInfo.java,
3660 java/beans/Customizer.java,
3661 java/beans/DesignMode.java,
3662 java/beans/PropertyEditor.java,
3663 java/beans/Visibility.java:
3664 Removed redundant modifiers.
3666 2003-10-11 Michael Koch <konqueror@gmx.de>
3668 * java/awt/print/Pageable.java,
3669 * java/awt/print/Printable.java,
3670 java/awt/print/PrinterGraphics.java:
3671 Removed redundant modifiers.
3673 2003-10-11 Michael Koch <konqueror@gmx.de>
3675 * java/awt/peer/ButtonPeer.java,
3676 java/awt/peer/CheckboxMenuItemPeer.java,
3677 java/awt/peer/CheckboxPeer.java,
3678 java/awt/peer/ChoicePeer.java,
3679 java/awt/peer/ComponentPeer.java,
3680 java/awt/peer/ContainerPeer.java,
3681 java/awt/peer/DialogPeer.java,
3682 java/awt/peer/FileDialogPeer.java,
3683 java/awt/peer/FramePeer.java,
3684 java/awt/peer/LabelPeer.java,
3685 java/awt/peer/ListPeer.java,
3686 java/awt/peer/MenuBarPeer.java,
3687 java/awt/peer/MenuComponentPeer.java,
3688 java/awt/peer/MenuItemPeer.java,
3689 java/awt/peer/MenuPeer.java,
3690 java/awt/peer/PopupMenuPeer.java,
3691 java/awt/peer/RobotPeer.java,
3692 java/awt/peer/ScrollPanePeer.java,
3693 java/awt/peer/ScrollbarPeer.java,
3694 java/awt/peer/TextAreaPeer.java,
3695 java/awt/peer/TextComponentPeer.java,
3696 java/awt/peer/TextFieldPeer.java,
3697 java/awt/peer/WindowPeer.java:
3698 Removed redundant modifiers.
3700 2003-10-11 Michael Koch <konqueror@gmx.de>
3702 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3703 * gnu/java/nio/ServerSocketChannelImpl.java
3704 (serverSocket): Made it a NIOServerSocket.
3706 (ServerSocketChannelImpl): Initialize only serverSocket.
3707 (initServerSocket): Removed.
3708 (getNativeFD): Rewritten.
3709 (implConfigureBlocking): Set socket timeout and removed comment.
3710 (accept): Rewritten.
3711 * gnu/java/nio/SocketChannelImpl.java
3712 (impl): New variable.
3713 (connected): Removed.
3714 (SocketChannelImpl): Initialize impl too.
3715 (getImpl): New method.
3716 (isConnected): Rewritten.
3717 (read): Rewritten, set position in buffer correctly.
3718 (write): Set position in buffer correctly.
3719 * java/net/ServerSocket.java (getImpl): New method.
3720 * gnu/java/nio/NIOServerSocket.java,
3721 gnu/java/nio/natNIOServerSocket.cc: New files.
3722 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3724 (ordinary_java_source_files):
3725 Added gnu/java/nio/NIOServerSocket.java.
3727 Removed gnu/java/nio/natServerSocketChannelImpl.cc
3728 and added gnu/java/nio/natNIOServerSocket.cc.
3729 * Makefile.in: Regenerated.
3731 2003-10-11 Michael Koch <konqueror@gmx.de>
3733 * java/awt/ActiveEvent.java,
3734 java/awt/datatransfer/ClipboardOwner.java,
3735 java/awt/datatransfer/FlavorMap.java,
3736 java/awt/datatransfer/Transferable.java,
3737 java/awt/dnd/Autoscroll.java,
3738 java/awt/dnd/peer/DragSourceContextPeer.java,
3739 java/awt/dnd/peer/DropTargetContextPeer.java,
3740 java/awt/dnd/peer/DropTargetPeer.java,
3741 java/awt/font/MultipleMaster.java,
3742 java/awt/font/OpenType.java,
3743 java/awt/im/spi/InputMethodDescriptor.java,
3744 java/awt/image/ImageObserver.java,
3745 java/awt/image/ImageConsumer.java,
3746 java/awt/image/ImageProducer.java,
3747 java/awt/image/RGBImageFilter.java,
3748 java/awt/image/RasterOp.java,
3749 java/awt/image/renderable/RenderableImage.java:
3750 Removed redundant modifiers.
3752 2003-10-11 Michael Koch <konqueror@gmx.de>
3754 * gnu/awt/j2d/DirectRasterGraphics.java,
3755 gnu/java/awt/EmbeddedWindowSupport.java:
3756 Removed redundant modifiers.
3758 2003-10-09 Michael Koch <konqueror@gmx.de>
3760 * gnu/java/nio/SelectorImpl.java (register):
3761 Use ServerSocketChannelSelectionKey for server socket channels,
3762 removed unneeded comments.
3763 * gnu/java/nio/ServerSocketChannelImpl.java
3764 (ServerSocketChannelImpl): Made class public final.
3765 (impl): New member variable.
3766 (ServerSocketChannelImpl): Initialize member variables correctly.
3767 (initServerSocket): New method.
3768 (getNativeFD): Likewise.
3769 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3770 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3771 * Makefile.am (ordinary_java_source_files):
3772 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3773 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3774 * Makefile.in: Regenrated.
3776 2003-10-09 Michael Koch <konqueror@gmx.de>
3778 * java/nio/channels/spi/AbstractSelectableChannel.java
3779 (registered): Made private.
3780 (blocking): Likewise.
3782 (provider): Likewise.
3783 (keys): Made it a private LinkedList.
3784 (AbstractSelectableChannel): Initialize keys.
3785 (isRegistered): New implementation.
3786 (locate): Rewritten.
3787 (register): Rewritten.
3788 * java/nio/channels/spi/AbstractSelectionKey.java
3790 (cancelled): New member variable.
3791 (cancel): Rewritten.
3792 (isValid): Rewritten.
3793 * java/nio/channels/spi/AbstractSelector.java:
3795 (closed): Make private.
3796 (provider): Likewise.
3797 (cancelledKeys): New member variable.
3798 (AbstractSelector): Initialize cancelledKeys.
3799 (cancelKey): New method.
3801 2003-10-09 Tom Tromey <tromey@redhat.com>
3803 * java/lang/ClassLoader.java (setSigners): Implemented.
3804 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3805 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3806 Initialize new fields.
3807 * java/lang/Class.java (getSigners): Now native.
3808 (setSigners): Declare.
3809 * java/lang/natClass.cc (getSigners): New method.
3810 (getSigners): Likewise.
3811 * java/lang/Class.h (Class::signers): New field.
3812 (Class::setSigners): New method.
3814 2003-10-09 Michael Koch <konqueror@gmx.de>
3816 * java/rmi/server/RMIClassLoader.java:
3817 Removed unused imports, little reformatings.
3818 (getClassLoader): New method, implementation was part of old loadCLass
3820 (loadClass): Simplified by moving functionality to new method and
3821 reworking the code a bit.
3822 (getClassAnnotation): Merged documentation from classpath.
3824 2003-10-09 Michael Koch <konqueror@gmx.de>
3826 * java/math/BigInteger.java
3827 (add): Removed unused local variable len.
3829 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3831 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3833 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3834 Initialize insets to use latest insets.
3835 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3836 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3838 (postConfigureEvent): Update latestInsets field when insets
3839 change. Remove call to setSize. Move validate call outside of
3841 (setVisible): Call setBounds before showing window.
3842 (nativeSetVisible): New native method.
3843 * java/awt/Window.java (show): Show visible owned windows.
3844 (hide): Hide visible owned windows.
3845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3846 (awt_event_handler): Implement modality using GTK grabs.
3847 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3848 (global_gtk_window_group): New global variable.
3849 (gtkInit): Initialize global_gtk_window_group.
3850 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3851 Clamp width and height values to at least 1. Add this window to
3852 the global GTK window group.
3853 (setVisible): Rename to nativeSetVisible.
3854 (setup_window): Remove function.
3855 (setSize): Clamp width and height values to at least 1.
3856 (nativeSetBounds): Likewise.
3857 (gdk_window_get_root_geometry): Remove function.
3858 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3859 and setup_window declarations. Declare global_gtk_window_group.
3861 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3862 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3863 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3864 (gtkWidgetSetForeground): New method.
3865 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3866 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3867 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3868 (setBackground, setForeground): Implement.
3869 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3870 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3871 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3872 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3873 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3874 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3875 Position PangoLayout relative to text's baseline.
3876 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3878 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3879 for CENTER and RIGHT alignments.
3881 2003-10-08 Michael Koch <konqueror@gmx.de>
3883 * java/security/Security.java: Reformated.
3885 2003-10-08 Michael Koch <konqueror@gmx.de>
3887 * java/text/SimpleDateFormat.java
3888 (compileFormat): Replace Character.isLetter() test with
3889 Character.isLowerCase() || Character.isUpperCase().
3891 2003-10-08 Tom Tromey <tromey@redhat.com>
3893 * java/lang/StrictMath.java (toDegrees): Multiply before
3895 (toRadians): Likewise.
3897 2003-10-08 C. Brian Jones <cbj@gnu.org>
3899 * java/lang/Math.java
3900 (toRadians): multiply before dividing to reduce decimal error
3903 2003-10-08 Michael Koch <konqueror@gmx.de>
3905 * gnu/gcj/protocol/core/Connection.java,
3906 gnu/gcj/protocol/core/CoreInputStream.java,
3907 gnu/gcj/protocol/core/Handler.java,
3908 gnu/gcj/protocol/core/natCoreInputStream.cc,
3909 gnu/gcj/protocol/file/Connection.java,
3910 gnu/gcj/protocol/file/Handler.java,
3911 gnu/gcj/protocol/gcjlib/Connection.java,
3912 gnu/gcj/protocol/gcjlib/Handler.java,
3913 gnu/gcj/protocol/http/Connection.java,
3914 gnu/gcj/protocol/http/Handler.java,
3915 gnu/gcj/protocol/jar/Connection.java,
3916 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3917 * gnu/java/net/protocol/core/Connection.java,
3918 gnu/java/net/protocol/core/CoreInputStream.java,
3919 gnu/java/net/protocol/core/Handler.java,
3920 gnu/java/net/protocol/core/natCoreInputStream.cc,
3921 gnu/java/net/protocol/file/Connection.java,
3922 gnu/java/net/protocol/file/Handler.java,
3923 gnu/java/net/protocol/gcjlib/Connection.java,
3924 gnu/java/net/protocol/gcjlib/Handler.java,
3925 gnu/java/net/protocol/http/Connection.java,
3926 gnu/java/net/protocol/http/Handler.java,
3927 gnu/java/net/protocol/jar/Connection.java,
3928 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3929 * gnu/gcj/runtime/FirstThread.java,
3930 java/net/URL.java: Use moved protocol handlers.
3932 (ordinary_java_source_files): Moved files.
3933 (nat_source_files): Likewise.
3934 * Makefile.in: Regenerated.
3936 2003-10-08 Michael Koch <konqueror@gmx.de>
3938 * gnu/java/nio/SocketChannelImpl.java
3939 (read): Write only read data to buffer.
3941 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3943 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3945 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3946 (JCL_free): Attach "unused" attribute to env parameter.
3947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3948 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3949 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3950 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3951 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3952 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3953 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3954 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3955 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3956 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3957 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3958 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3959 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3962 (initNativeState): Pass 0 as info argument to
3963 gtk_selection_add_target.
3964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3965 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3966 unused method implementations.
3967 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3968 (awt_event_handler): Add break statement after default label.
3969 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3970 (drawPixels): Remove unused variable i.
3971 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3972 (setEnabled): Remove method implementation.
3973 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3974 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3976 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3979 (menu_pos): Assign TRUE to push_in.
3980 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3983 (create): Remove unused variable layout.
3984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3985 Pass window_widget, rather than window, to
3986 gtk_widget_set_size_request.
3987 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3988 structure initialization with NULL values.
3989 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3991 2003-10-08 Michael Koch <konqueror@gmx.de>
3993 * java/util/LinkedList.java:
3994 Removed whitespace to match classpath's version again.
3996 2003-10-08 Michael Koch <konqueror@gmx.de>
3998 * java/util/prefs/Preferences.java
3999 (defaultFactoryClass): Fixed class name.
4000 (getFactory): Create instance of class returned by Class.forName(),
4003 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
4005 * javax/swing/table/AbstractTableModel.java
4006 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
4007 helped stop pulling my hair on this +1 then -1 tricky thing!
4009 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
4011 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
4012 Remove unused parameters.
4013 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
4015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4016 (keyevent_state_to_awt_mods): Export function.
4017 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4018 (getCaretPosition): Fix TextArea case.
4019 (textcomponent_commit_cb): Get exact event time and modifier
4021 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
4023 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
4025 * java/net/InetSocketAddress.java
4026 (InetSocketAddress): Made exception more clear.
4027 (equals): Handle case when addr is null.
4028 (toString): Likewise.
4029 * java/net/NetworkInterface.java
4030 (static): Load native library.
4031 (getNetworkInterfaces): Rewritten.
4033 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4035 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
4037 (initializeInsets): New method.
4038 (GtkComponentPeer): Call initializeInsets. Call setCursor and
4039 setBounds unconditionally.
4040 (setBounds): Convert coordinates if parent is a Window.
4041 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
4042 field to GtkComponentPeer.
4043 (GtkContainerPeer): Don't initialize insets.
4044 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
4046 (create): Call new GtkWindowPeer create method.
4047 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
4049 (create): Call new GtkWindowPeer create method.
4050 (setBounds): Remove method.
4051 (postConfigureEvent): Likewise.
4052 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
4053 type constants with GDK window type constants.
4054 (create(int,boolean,int,int,GtkWindowPeer)): New method.
4055 (create(int,boolean)): Likewise.
4056 (create()): Call create(int,boolean).
4057 (nativeSetBounds): New native method declaration.
4058 (setBounds): Call native method declaration.
4059 (setSize): New native method declaration.
4060 (setBoundsCallback): Likewise.
4061 (postConfigureEvent): Handle change in insets. Call setSize and
4062 setBoundsCallback methods.
4063 * java/awt/Window.java (Window): Set visible to false.
4064 (setBoundsCallback): New method.
4065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4066 (gtkWidgetGetLocationOnScreen): If this component is not a
4067 container, adjust the location returned based on the peer's
4069 (set(String,boolean)): Revert change from 2003-09-19.
4070 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4071 (awt_event_handler): Fix inset calculation.
4072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
4073 glue for Window.setBoundsCallback.
4074 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4075 Set up stacking order, window decorations and window manager
4077 (setBoundsCallback): New method.
4078 (setSize): New method.
4079 (nativeSetBounds): New method.
4080 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
4082 2003-10-02 Tom Tromey <tromey@redhat.com>
4084 * java/lang/VMClassLoader.java (loadClass): Now native.
4085 * java/lang/natClassLoader.cc (loadClass): Implement.
4086 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
4088 2003-10-02 Michael Koch <konqueror@gmx.de>
4090 * java/net/InetAddress.java
4092 (ANY_IF): Initalizie in static block.
4093 (static): Load library with native methods here and initialize ANY_IF.
4094 (isAnyLocalAddress): Check if equal to ANY_IF.
4095 (equals): Use addr directly instead of addr1. Simplify for loop.
4096 (toString): Rename "result" to "host" and add IP address allways.
4097 (getLocalHost): Merged documentation from classpath.
4098 * java/net/ServerSocket.java
4099 (ServerSocket): New package-private constructor used by java.nio.
4100 * java/net/URLConnection.java
4101 (getRequestProperties): Check if already connected.
4103 2003-10-02 Michael Koch <konqueror@gmx.de>
4105 * java/nio/ByteBufferHelper.java:
4106 Rewrote all methods by suggestions from Eric Blake.
4108 2003-10-02 Michael Koch <konqueror@gmx.de>
4111 (DEFAULT_SEARCH_PATH): New static variable.
4112 (ph_cache): Made it a HashMap.
4113 (getURLStreamHandler): Rename propVal to ph_search_path and use
4114 DEFAULT_SEARCH_PATH.
4116 2003-10-02 Michael Koch <konqueror@gmx.de>
4118 * javax/swing/table/AbstractTableModel.java
4119 (findColumnName): Prevent from NullPointerException if argument
4122 2003-10-02 Michael Koch <konqueror@gmx.de>
4124 * javax/swing/table/AbstractTableModel.java:
4125 This patch is based on a patch done by Arnaud Vandyck
4126 <arnaud.vandyck@ulg.ac.be>.
4127 (getColumnName): Fixed method documentation.
4128 (findColumn): Likewise.
4129 (getColumnClass): Likewise.
4130 (isCellEditable): Likewise.
4131 (setValueAt): Likewise.
4132 (addTableModelListener): Likewise.
4133 (removeTableModelListener): Likewise.
4134 (getTableModelListeners): New method.
4136 2003-10-02 Michael Koch <konqueror@gmx.de>
4138 * javax/swing/table/AbstractTableModel.java:
4141 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
4144 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
4145 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
4147 2003-10-01 Tom Tromey <tromey@redhat.com>
4149 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
4151 2003-10-01 Andrew Haley <aph@redhat.com>
4153 * java/lang/natClass.cc (initializeClass): Check for otable and
4155 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
4156 loops using for(). Search superinterfaces. Check for fields as
4157 well as methods. Initialize atable as well as otable: check for
4158 static methods as well as virtual methods.
4159 * java/lang/Class.h (struct _Jv_AddressTable): New.
4162 * include/jvm.h (_Jv_equalUtf8Consts): constify.
4163 * prims.cc (_Jv_equalUtf8Consts): constify.
4165 2003-09-29 Tom Tromey <tromey@redhat.com>
4168 * include/jvm.h (_Jv_FinalizeString,
4169 _Jv_RegisterStringFinalizer): Declare.
4170 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
4173 (_Jv_NewStringUtf8Const): Likewise.
4174 * java/lang/ref/natReference.cc (finalize_referred_to_object):
4175 Add special case when finalizing a String.
4176 (in_hash): New function.
4177 (_Jv_RegisterStringFinalizer): Likewise.
4178 (maybe_add_finalize): Likewise.
4180 2003-09-29 Michael Koch <konqueror@gmx.de>
4182 * java/net/InetAddress.java:
4183 (isMulticastAddress): Dont use local variable to store address length.
4184 Let the compiler optimize this.
4185 (getHostName): Merged dcoumentation from classpath.
4186 (getAddress): Likewise.
4187 (getHostAddress): Likewise.
4188 (hashCode): Likewise.
4190 (toString): Likewise.
4191 (getByName): Likewise.
4192 (getAllByName): Likewise.
4194 2003-09-29 Michael Koch <konqueror@gmx.de>
4196 * java/awt/image/IndexColorModel.java: Reformated.
4198 2003-09-29 Michael Koch <konqueror@gmx.de>
4200 * java/net/InetAddress.java,
4201 java/net/URL.java: Reformated.
4203 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
4205 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
4206 significant bit of descriptor. Include the vtable and sync_info
4209 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
4211 * java/text/DateFormat.java (format): Throw IllegalArgumentException
4212 if `obj' is not a Number or Date instance.
4213 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
4216 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
4218 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
4219 Don't call setTimeZone on calendar.
4221 2003-09-27 Michael Koch <konqueror@gmx.de>
4223 * java/net/URL.java (getURLStreamHandler): Compile fixes.
4225 2003-09-27 Michael Koch <konqueror@gmx.de>
4227 * java/net/URL.java (getURLStreamHandler):
4228 Check if we have to use cache before trying to retrieve handler from
4229 cache. Rename facName to clsName to match classpath more. Reformated
4232 2003-09-27 Michael Koch <konqueror@gmx.de>
4234 * gnu/java/nio/SelectionKeyImpl.java
4235 (ch): Make package-private again. Jikes found this bug.
4236 Jeff Sturm submitted PR12426 for this to bugzilla
4237 to fix this bug in gcj.
4239 2003-09-26 Michael Koch <konqueror@gmx.de>
4241 * java/rmi/server/RMIClassLoader.java:
4242 Reformatted file, no functional code changes.
4244 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
4246 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
4247 Save space for some pixels at the buffer end. Added Javadoc.
4249 2003-09-26 Tom Tromey <tromey@redhat.com>
4251 * java/io/ObjectOutputStream.java (writeFields): Fixed
4253 (putFields): Likewise.
4255 2003-09-26 Michael Koch <konqueror@gmx.de>
4257 * java/nio/ByteBufferHelper.java:
4258 Totally reworked with help from Eric Blake.
4260 2003-09-26 Tom Tromey <tromey@redhat.com>
4262 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
4263 * java/awt/geom/PathIterator.java: Documentation fixes.
4265 2003-09-25 Jeff Sturm <jsturm@one-point.com>
4267 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
4269 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
4271 2003-09-25 Michael Koch <konqueror@gmx.de>
4273 * gnu/java/nio/DatagramChannelImpl.java
4274 (getNativeFD): New method.
4275 * gnu/java/nio/SelectionKeyImpl.java
4276 (SelectionKeyImpl): Class made abstract.
4278 (SelectionKeyImpl): Remove fd argument.
4279 (getNativeFD): New method.
4280 * gnu/java/nio/SocketChannelImpl.java
4281 (getNativeFD): New method.
4282 gnu/java/nio/DatagramChannelSelectionKey.java,
4283 * gnu/java/nio/SocketChannelSelectionKey.java:
4285 * Makefile.am (ordinary_java_source_files):
4286 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4287 gnu/java/nio/SocketChannelSelectionKey.java.
4288 * Makefile.in: Regenerated.
4290 2003-09-25 Michael Koch <konqueror@gmx.de>
4292 * java/lang/reflect/Proxy.java
4293 (getProxyClass): Remove workaround for gcj 3.0.x.
4295 2003-09-25 Michael Koch <konqueror@gmx.de>
4297 * gnu/java/net/PlainDatagramSocketImpl.java
4298 (finalize): Moved to directly after constructor.
4299 (getNativeFD): New method.
4300 * gnu/java/net/PlainSocketImpl.java
4301 (getNativeFD): New method.
4303 2003-09-25 Ingo Proetel <proetel@aicas.com>
4305 * java/io/ObjectOutputStream.java:
4306 Allow putFields be called more than once.
4308 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
4310 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4311 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4312 * java/awt/image/BufferedImage.java (toString): Implement.
4314 2003-09-25 Jeff Sturm <jsturm@one-point.com>
4316 * aclocal.m4: Rebuilt.
4317 * configure: Rebuilt.
4319 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
4321 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4324 2003-09-25 Michael Koch <konqueror@gmx.de>
4326 * gnu/java/nio/SelectorImpl.java
4327 (implSelect): Renamed from java_do_select.
4328 (select): Call native implSelect() and add support for Thread
4330 * gnu/java/nio/natSelectorImpl.cc
4331 (implSelect): Renamed from java_do_select.
4333 2003-09-25 Michael Koch <konqueror@gmx.de>
4335 * gnu/java/nio/SelectorImpl.java
4336 (selectNow): Made final, throws IOException.
4338 (getFDsAsArray): Made final.
4339 (selectedKeys): Likewise.
4341 (deregisterCancelledKeys): Likewise.
4342 (register): Likewise.
4344 (add_selected): Removed.
4345 * gnu/java/nio/natSelectorImpl.cc:
4346 No need to include bstring.h or gcj/cni.h.
4347 (helper_put_filedescriptors): Rewritten.
4348 (helper_get_filedescriptors): Rewritten.
4350 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
4352 * java/awt/font/FontRenderContext.java (getTransform): Return
4353 copy of internal transform object. Add Javadoc.
4354 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4355 winding rule as Sun J2SE.
4356 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4358 2003-09-25 Ingo Proetel <proetel@aicas.com>
4360 * java/rmi/Naming.java:
4361 Added comments, now accepts pseudo protocol "rmi".
4363 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
4365 * java/text/DecimalFormat.java (format): Don't immediatly round
4367 (setMinimumIntegerDigits): Call super.
4368 (setMinimumFractionDigits): Likewise.
4369 (setMaximumIntegerDigits): Likewise.
4370 (setMaximumFractionDigits): Likewise.
4372 2003-09-25 Michael Koch <konqueror@gmx.de>
4374 * gnu/java/nio/DatagramChannelImpl.java
4375 (DatagramChannelImpl): Made class final.
4376 (blocking): Made private.
4377 (socket): Made it a NIODatagramSocket and private.
4378 (DatagramChannelImpl): create NIODatagramSocket instead of
4380 (implConfigureBlocking): Set socket timeout.
4381 (connect): Check that channel is not closed.
4382 (write): Implemented.
4384 (read): Implemented.
4386 (receive): Implemented.
4387 (send): Implemented.
4388 * gnu/java/nio/SelectionKeyImpl.java
4389 (readyOps): Made private.
4390 (interestOps): Made private.
4391 (impl): Made private.
4393 (readyOps): Check if selection key is valid.
4394 (interestOps): Likewise.
4395 * gnu/java/nio/SelectorImpl.java
4397 (keys): Made private.
4398 (selected): Made private.
4399 (finalize): New method.
4400 (implCloseSelector): Rewritten.
4401 (keys): Return unmodifiable Set.
4402 (deregisterCancelledKeys): Fixed typo in method name.
4403 * gnu/java/nio/SocketChannelImpl.java
4404 (SocketChannelImpl): Made class final.
4405 (socket): Made it a NIOSocket and private.
4406 (blocking): Made private.
4407 (connected): Made private.
4408 (connectionPending): New member variable.
4409 (SocketChannelImpl): New implementation.
4410 (finalizer): Use isConnected().
4411 (connect): Rewritten.
4412 (finishConnect): Throws IOException, implemented.
4413 (isConnectionPending): Return connectionPending.
4416 * gnu/java/nio/NIOConstants.java: New file.
4417 * Makefile.am (ordinary_java_source_files):
4418 Added gnu/java/nio/NIOConstants.java.
4419 * Makefile.in: Regenerated.
4421 2003-09-25 Michael Koch <konqueror@gmx.de>
4423 * java/net/InetAddress.java:
4424 Reorder imports, remove implementation comment.
4425 (isMulticastAddress): Merged documentation from classpath.
4426 * java/net/URLConnection.java
4427 (setRequestProperty): Check key for null, fix documentation.
4428 (adREquestProperty): Check key for null, remove wrong implementation
4429 and replace it with comment to overwrite this method in subclasses,
4432 2003-09-25 Tom Tromey <tromey@redhat.com>
4434 * java/lang/reflect/Proxy.java (generate): Uncomment protection
4436 * java/lang/natClassLoader.cc (defineClass): Added `loader'
4438 (linkClass0): Now in VMClassLoader.
4439 (markClassErrorState0): Likewise.
4440 (getSystemClassLoaderInternal): New method.
4441 * java/lang/natClass.cc (initializeClass): Use
4442 VMClassLoader::resolveClass.
4443 * java/lang/ClassLoader.java: New version, from Classpath.
4444 * java/lang/Class.java (getProtectionDomain):
4445 protectionDomainPermission and unknownProtectionDomain now in
4447 * java/lang/Class.h: VMClassLoader now a friend class.
4448 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4450 * gcj/javaprims.h: Regenerated class list.
4451 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4452 * java/lang/VMClassLoader.java: New version from Classpath;
4453 modified for libgcj use.
4455 2003-09-25 Michael Koch <konqueror@gmx.de>
4457 * java/nio/ByteBufferHelper.java:
4459 * java/nio/ByteBufferImpl.java,
4460 java/nio/DirectByteBufferImpl.java,
4461 java/nio/MappedByteBufferImpl.java
4462 (getType,putType): Use new helper class ByteBufferHelper.
4463 * Makefile.am (ordinary_java_source_files):
4464 Added java/nio/ByteBufferHelper.java.
4465 * Makefile.in: Regenerated.
4467 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
4469 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4472 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
4474 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4475 Strings, even if buffer is already shared.
4477 2003-09-24 Michael Koch <konqueror@gmx.de>
4479 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4481 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
4483 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4485 (SocketInputStream): Declare `read' and `write' methods native.
4486 Remove implementations which called back into PlainSocketImpl.
4487 Remove unneccessary overridden methods.
4488 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
4489 to inner class PlainSocketImpl.SocketInputStream.
4491 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4492 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4493 * gnu/java/net/SocketInputStream.java: Remove unused file.
4494 * gnu/java/net/SocketOutputStream.java: Likewise.
4495 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4496 and SocketOutputStream.
4497 * Makefile.in: Rebuilt.
4499 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
4501 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4503 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4506 2003-09-22 Anthony Green <green@redhat.com>
4508 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4509 * configure: Rebuilt.
4511 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
4514 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4516 2003-09-22 Michael Koch <konqueror@gmx.de>
4518 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4519 compiler warning but produces a different one now.
4521 2003-09-22 Michael Koch <konqueror@gmx.de>
4523 * java/net/InetAddress.java:
4524 Moves around some code, reformats and adds documentation.
4525 No functional changes.
4527 2003-09-22 Michael Koch <konqueror@gmx.de>
4529 * java/net/JarURLConnection.java
4530 (JarURLConnection): Modifed code to match classpath more, fixed comment.
4531 (getCertificates): Made it more error prone.
4532 (getMainAttributes): Likewise.
4533 (getAttributes): Implemented.
4534 (getManifest): Reformatted code.
4536 2003-09-20 Tom Tromey <tromey@redhat.com>
4538 * java/awt/Component.java: Indentation cleanup from Classpath.
4540 2003-09-20 Dalibor Topic <robilad@kaffe.org>
4542 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4543 checking to follow 1.4.2 spec.
4545 2003-08-11 Ingo Proetel <proetel@aicas.com>
4547 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
4548 is compatible in case client and server are running in the same VM
4549 (remerged from Classpath on 2003-09-20)
4551 2003-09-19 David Daney <ddaney@avtrex.com>
4553 * java/lang/ref/Reference.java (clear): Set referent to null and
4556 2003-09-19 Michael Koch <konqueror@gmx.de>
4558 * gnu/java/nio/NIODatagramSocket.java,
4559 gnu/java/nio/NIOSocket.java: New files.
4560 * Makefile.am (ordinary_java_source_files):
4561 Added gnu/java/nio/NIODatagramSocket.java and
4562 gnu/java/nio/NIOSocket.java.
4563 * Makefile.in: Regenerated.
4565 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4567 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4568 top-level GTK window.
4569 (getArgs): Add "title" property.
4570 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4571 "allow_shrink" and "allow_grow" properties.
4572 * java/awt/Dialog.java: Initialize resizable to true and change
4573 comments accordingly. Initialize visible to false in
4575 * java/awt/Frame.java (dispose): Remove method.
4576 * java/awt/Window.java (ownedWindows): New field.
4577 (Window(Window,GraphicsConfiguration)): Add a weak reference to
4578 owner's ownedWindows vector.
4579 (finalize): Remove method.
4580 (hide): Hide owned windows.
4581 (dispose): Dispose of owned windows.
4582 (getOwnedWindows): Implement.
4583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4585 (set(String,boolean)): Clamp gboolean parameter to g_object_set
4587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4588 (create): Set window's size requisition.
4589 (connectHooks): Fix indentation.
4590 (setResizable): Remove function.
4591 (static setBounds): Likewise.
4592 (setBounds): Replace call to setBounds with GTK size requisition
4595 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
4597 * win32-threads.cc: (ensure_interrupt_event_initialized) New
4598 function for lazy initialization of an auto-reset event.
4599 (_Jv_CondWait) Added thread interrupt support.
4600 (_Jv_ThreadInitData) Added initialization of interrupt support
4602 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4603 (_Jv_ThreadStart) Removed unused code.
4604 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4605 to an external caller.
4606 (_Jv_ThreadInterrupt) Implemented.
4607 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4608 event for interrupt support as well as a mutex which regulates
4610 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4611 event to an external caller.
4612 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4614 (waitFor) Added interrupt support.
4616 2003-09-19 Michael Koch <konqueror@gmx.de>
4618 * java/net/DatagramSocket.java (getLocalAddress):
4619 Renamed result variable to localAddr.
4620 * java/net/MulticastSocket.java:
4621 No need to import gnu.java.net.PlainDatagramSocketImpl.
4623 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
4625 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4626 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4628 2003-09-18 Tom Tromey <tromey@redhat.com>
4630 * javax/naming/InitialContext.java: Reindented.
4632 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
4633 Helmer Kraemer <hkraemer@freenet.de>
4635 * javax/naming/spi/NamingManager.java (getURLContext,
4636 getObjectInstance, getStateToBind): Always use current thread's
4637 context class loader when calling Class.forName.
4639 2003-09-18 Michael Koch <konqueror@gmx.de>
4641 * java/util/Timer.java (finalize): Added "throws Throwable".
4643 2003-09-18 Michael Koch <konqueror@gmx.de>
4645 * java/net/DatagramSocket.java
4647 (receive): Use getChannel() instead of ch.
4649 (getChannel): Return null.
4650 * java/net/ServerSocket.java
4652 (setChannel): Removed.
4653 (implAccept): Use getChannel() instead of ch.
4655 (getChannel): Return null.
4656 * java/net/Socket.java
4658 (connect): Use getChannel() instead of ch.
4659 (setChannel): Removed.
4660 (getChannel): Return null.
4662 2003-09-18 Mark Wielaard <mark@klomp.org>
4664 Reported by Guilhem Lavaux and Julian Dolby
4665 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4666 field "serialPersistentFields", not "getSerialPersistentFields".
4668 2003-09-18 Ingo Proetel <proetel@aicas.com>
4670 * java/util/TimeZone.java: Initialize lazily.
4671 * java/util/Locale.java (readManifest): Fix check for country.
4672 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4674 * java/util/Calendar.java: Make use of ResourceBundle better
4677 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
4679 * java/sql/Timestamp.java
4680 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4682 2003-09-18 David P Grove <groved@us.ibm.com>
4684 * java/io/LineNumberReader (read): Don't reset pos & limit when
4687 2003-09-18 Dalibor Topic <robilad@kaffe.org>
4689 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4691 (computeArguments): use computeTypicalArguments.
4693 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4694 Compile_jikes.java and RMICException.java.
4695 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4696 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4697 * gnu/java/rmi/rmic/RMICException.java: Likewise.
4699 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4701 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4702 (computeTypicalArguments): New method.
4703 (compile): Print compiler output to System.out. Collect compiler
4704 error output and use it in exception message.
4706 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4707 (destination): Initialize to null.
4708 (run): Replace file separator with '.' when processing class.
4709 (processClass): Replace '.' with file separator when compiling
4711 (findClass): Use SystemClassLoader to load class.
4712 (generateStub): Use full class name for generated stub, that puts
4713 it in right path. Replace '.' with file separator when generating
4714 stub file name. Write just the stub class name without package
4715 information as class name, and constructor name. Write only
4716 interface names for interfaces extending java.rmi.Remote as
4718 (generateSkel): Use full class name for generated skel, that puts
4719 it in right path. Replace '.' with file separator when generating
4720 stub file name. Write just the stub class name without package
4721 information as class name.
4723 2003-09-18 Michael Koch <konqueror@gmx.de>
4725 * Makefile.am (rmi_java_source_files):
4726 Added gnu/java/rmi/rmic/Compile_kjc.java,
4727 gnu/java/rmi/rmic/Compile_jikes.java and
4728 gnu/java/rmi/rmic/RMICException.java
4729 * Makefile.in: Regenerated.
4731 2003-09-17 Graydon Hoare <graydon@redhat.com>
4733 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4734 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4735 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4736 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
4739 2003-09-16 Graydon Hoare <graydon@redhat.com>
4741 * java/awt/BufferedImage.java (setData): Support non-component
4745 2003-09-10 Graydon Hoare <graydon@redhat.com>
4747 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4748 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4750 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
4752 * configure.in: Standardized help text case of
4753 --enable-hash-synchronization
4754 New configure switch --enable-libgcj-multifile and corresponding
4755 automake conditional ONESTEP.
4756 * configure: Rebuilt.
4757 * Makefile.am: Use automake conditional ONESTEP to determine
4758 whether classfiles should be compiled individually or all
4760 * Makefile.in: Rebuilt.
4762 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4764 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4765 Remove method declaration.
4766 (create()): Call native create.
4767 (create(int)): New method.
4768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4769 (create): Add window_id parameter. Call gtk_plug_new with
4770 window_id parameter.
4771 (construct): Remove method implementation.
4773 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
4775 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4776 (mostlyclean-local): New target patterned after clean-local
4777 which recursively deletes all libtool objects using 'libtool rm'.
4778 (clean-local): Slightly modified comment to alleviate monotony.
4779 (distclean-local): New target patterned after clean-local
4780 which recursively deletes all .d files.
4781 * Makefile.in: Rebuilt.
4783 2003-09-11 Tom Tromey <tromey@redhat.com>
4785 * java/net/URLStreamHandler.java (parseURL): If original file
4786 ends with "/", so must canonical result.
4787 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4788 with nul-termination and finding previous "/".
4790 2003-09-11 Michael Koch <konqueror@gmx.de>
4792 * acconfig.h: Removed most items.
4793 * configure.in: Added descriptions to AC_DEFINE macros that where in
4795 * include/config.h.in: Regenerated.
4797 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
4799 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4800 if one is installed. Improve Javadoc.
4801 (getSystemEventQueueImpl): Improve Javadoc.
4803 2003-09-11 Tom Tromey <tromey@redhat.com>
4805 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4806 file does not exist.
4808 2003-09-10 Anthony Green <green@redhat.com>
4810 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4811 Specify full name when referencing ::java::net::InetAddress.
4812 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4815 2003-09-10 Michael Koch <konqueror@gmx.de>
4817 * acconfig.h (__NO_MATH_INLINES): Removed.
4818 * configure.in: Removed check for g++ math inlining bug from 2000.
4819 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4821 * configure: Regenerated.
4823 2003-09-10 David Daney <ddaney@avtrex.com>
4825 * java/util/Arrays.java (equals(all variants)): Quit using
4826 NullPointerException catching to detect null valued parameters.
4828 2003-09-10 Michael Koch <konqueror@gmx.de>
4830 * java/net/DatagramSocket.java,
4831 java/net/MulticastSocket.java,
4832 java/net/ServerSocket.java,
4833 java/net/Socket.java:
4834 Use gnu.java.net.Plain*SocketImpl instead of
4835 java.net.PlainSocketImpl.
4836 * java/net/PlainDatagramSocketImpl.java,
4837 java/net/PlainSocketImpl.java,
4838 java/net/SocketInputStream.java,
4839 java/net/SocketOutputStream.java,
4840 java/net/natPlainDatagramSocketImplNoNet.cc,
4841 java/net/natPlainDatagramSocketImplPosix.cc,
4842 java/net/natPlainDatagramSocketImplWin32.cc,
4843 java/net/natPlainSocketImplNoNet.cc,
4844 java/net/natPlainSocketImplPosix.cc,
4845 java/net/natPlainSocketImplWin32.cc:
4847 * gnu/java/net/PlainDatagramSocketImpl.java,
4848 gnu/java/net/PlainSocketImpl.java,
4849 gnu/java/net/SocketInputStream.java,
4850 gnu/java/net/SocketOutputStream.java,
4851 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4852 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4853 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4854 gnu/java/net/natPlainSocketImplNoNet.cc,
4855 gnu/java/net/natPlainSocketImplPosix.cc,
4856 gnu/java/net/natPlainSocketImplWin32.cc:
4857 New files (moved from java/net).
4858 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4859 instead of java/net/natPlain*SocketImpl.cc.
4860 * configure: Regenerated.
4861 * Makefile.am: Moved files from java/net to gnu/java/net.
4862 * Makefile.in: Regenerated.
4864 2003-09-09 Alan Modra <amodra@bigpond.net.au>
4866 * configure: Regenerate.
4868 2003-09-04 Tom Tromey <tromey@redhat.com>
4870 * configure.host: Removed erroneous comment.
4872 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4873 lvalue cast; use correct rvalue cast.
4875 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4877 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4878 and height arguments to GtkWindowPeer.create method call.
4879 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4880 (create(int,int,int)): New method.
4881 (create(int)): Add call to new create method.
4882 (create()): Add width and height arguments to create method
4884 (GtkWindowPeer): Remove call to setBounds.
4885 * java/awt/Frame.java (Frame(String)): Initialize visible field
4887 (Frame(GraphicsConfiguration)): Likewise.
4888 (Frame(String,GraphicsConfiguration)): Likewise.
4889 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4890 Add width and height parameters. Call
4891 gtk_window_set_default_size.
4892 (connectHooks): Remove unused name variable.
4893 (static setBounds): Call gtk_window_resize not
4894 gtk_widget_set_usize.
4895 (setBounds): Remove unused nchildren variable.
4897 2003-08-31 Ingo Proetel <proetel@aicas.com>
4899 * java/util/logging/Logger.java: provide class and method information
4900 * java/util/logging/LogManager.java: create handlers
4901 * java/util/logging/SimpleFormatter.java: print souceClassName and
4904 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4906 * win32.cc: fixed tab, indentation and whitespace
4908 removed jvm.h include
4909 added includes java/lang/UnsupportedOperationException.h,
4910 java/io/IOException.h, java/net/SocketException.h
4911 (WSAEventWrapper): class implementation
4912 (_Jv_WinStrError): implemented both overloads
4913 (_Jv_ThrowIOException): implemented both overloads
4914 (_Jv_ThrowSocketException): implemented both overloads
4915 (_Jv_select): implemented
4916 * include/win32.h: fixed tab, indentation and whitespace
4918 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
4920 (WSAEventWrapper): added class declaration
4921 (_Jv_WinStrError): added both overload declarations
4922 (_Jv_ThrowIOException): added both overload declarations
4923 (_Jv_ThrowSocketException): added both overload declarations
4924 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4925 (_Jv_select): added declaration
4926 (_Jv_socket): removed
4927 (_Jv_connect): removed
4928 (_Jv_close): removed
4930 (_Jv_accept): removed
4931 (_Jv_listen): removed
4932 (_Jv_write): removed
4934 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4935 whitespace inconsistencies
4936 replaced <windows.h> #include with <platform.h>
4937 removed jvm.h include
4938 (testCanUseGetHandleInfo): new function which tests whether Win32
4939 GetHandleInformation() call can be used with console buffer handles
4940 (only supported on >=WinNT 5.0)
4941 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4942 (valid): rewrote implementation using GetHandleInformation()
4943 (sync): changed exception throwing to use error string and exception
4944 helper methods declared in include/win32.h
4947 (setLength): likewise
4950 (getFilePointer): likewise
4952 * java/io/natFileWin32.cc: fixed tab, indentation and
4953 whitespace inconsistencies
4954 replaced <windows.h> #include with <platform.h>
4955 removed jvm.h include
4956 (_access): use JV_TEMP_UTF_STRING
4958 (performMkDir): use JV_TEMP_UTF_STRING
4959 (performRenameTo): likewise
4960 (performDelete): likewise
4961 (performCreate): likewise
4962 (performSetReadOnly): likewise
4963 (performSetLastModified): likewise
4964 * java/lang/natWin32Process.cc: fixed tab, indentation and
4965 whitespace inconsistencies
4966 replaced <windows.h> #include with <platform.h>
4967 removed includes gcj/cni.h, jvm.h
4968 (new_string): removed
4969 (startProcess): use JV_TEMP_UTF_STRING,
4970 changed exception throwing to use error string and exception
4971 helper methods declared in include/win32.h
4972 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4973 whitespace inconsistencies
4974 replaced <windows.h> #include with <platform.h>
4975 removed jvm.h include
4976 removed DISABLE_JAVA_NET conditional code
4977 removed POSIX conditional code not relevant to Win32
4978 (aton): use JV_TEMP_UTF_STRING
4979 removed POSIX conditional code not relevant to Win32
4981 (getLocalHostName): likewise
4982 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4983 whitespace inconsistencies
4984 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4985 removed DISABLE_JAVA_NET conditional code
4986 removed POSIX conditional code not relevant to Win32
4987 (winsock2GetRealNetworkInterfaces): new function to compute network
4988 interfaces via Winsock2 API
4989 (determineGetRealNetworkInterfacesFN): new function for returning
4990 a function pointer to the function used to compute network interfaces.
4991 (getRealNetworkInterfaces): implemented
4992 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4993 whitespace inconsistencies
4994 removed gcj/cni.h include
4995 removed DISABLE_JAVA_NET conditional code
4996 removed POSIX conditional code not relevant to Win32
4997 changed net POSIXisms to Win32isms
4998 replaced _Jv socket-related calls with their real Win32 equivalents
4999 changed exception throwing to use error string and exception
5000 helper methods declared in include/win32.h
5001 (peekData): implemented timeout support
5003 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
5004 whitespace inconsistencies
5005 removed gcj/cni.h and gcj/javaprims.h includes
5006 removed DISABLE_JAVA_NET conditional code
5007 removed POSIX conditional code not relevant to Win32
5008 changed net POSIXisms to Win32isms
5009 replaced _Jv socket-related calls with their real Win32
5011 changed exception throwing to use error string and exception
5012 helper methods declared in include/win32.h
5013 (throwConnectException): helper function for connect()
5014 (connect): implemented timeout support
5016 (doRead): new helper function common to both read() method overloads,
5017 includes timeout support
5018 (read): implemented both overloads in terms of doRead()
5019 (available): implemented using ioctlsocket()
5021 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
5023 * java/net/natInetAddressWin32.cc,
5024 java/net/natNetworkInterfaceWin32.cc,
5025 java/net/natPlainDatagramSocketImplWin32.cc,
5026 java/net/natPlainSocketImplWin32.cc:
5027 Readded code enclosed in DISABLE_JAVA_NET defines
5028 in preparation for MinGW cleanup / networking
5031 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
5033 * Makefile.am: Fixed problems with parallel makes.
5034 (all_java_class_files): Readded definition.
5035 (all_java_class_files): New target which depends on
5036 libgcj-@gcc_version@.jar
5037 * Makefile.in: Rebuilt
5039 2003-08-28 Tom Tromey <tromey@redhat.com>
5041 * Makefile.in: Rebuilt.
5042 * Makefile.am (ordinary_java_source_files): Added new files.
5043 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
5045 * java/net/URLClassLoader.java (findClass): Don't use
5046 findURLResource. Use loader's getClass method.
5047 (URLLoader.getClass): New method.
5048 (addURL): Handle `gcjlib' URLs.
5049 (SoURLLoader): New class.
5050 (SoResource): Likewise.
5051 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
5052 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
5053 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
5054 (_Jv_RegisterCoreHook): Declare.
5055 (_Jv_FindCore): Declare.
5056 * gnu/gcj/runtime/SharedLibHelper.java: New file.
5057 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
5059 (core_hook): New function.
5060 (struct SharedLibDummy) [saved_core]: New field.
5061 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
5062 (register_hook): Set protection domain and class loader on new
5064 (finalize): Free core chain.
5065 * gnu/gcj/Core.java (Core): New constructor.
5066 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
5068 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
5069 (_Jv_create_core): New function.
5071 (default_register_resource): New function.
5072 (_Jv_RegisterCoreHook): New global.
5073 (_Jv_RegisterResource): Use it.
5074 (core_chain_struct): Removed.
5075 (_Jv_FindCore): New function.
5076 (_Jv_FreeCoreChain): New function.
5078 2003-08-29 Michael Koch <konqueror@gmx.de>
5080 * java/net/natInetAddressWin32.cc,
5081 java/net/natNetworkInterfaceWin32.cc,
5082 java/net/natPlainDatagramSocketImplWin32.cc,
5083 java/net/natPlainSocketImplWin32.cc:
5084 Removed code enclosed in DISABLE_JAVA_NET defines.
5086 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
5088 * Makefile.am: (write_entries_to_file) New parameterized
5089 function for writing entries to a file one line at a time.
5090 (all_java_class_files): Removed definition.
5091 (.java.class) Removed.target.
5092 (libgcj-@gcc_version@.jar): Changed dependency to
5093 $(all_java_source_files); added compilation step which compiles
5094 all changed source files in one pass.
5095 (libgcj.la) Refactored to use write_entries_to_file.
5096 (lib-gnu-awt-xlib.la) Likewise.
5097 (install-data-local) Likewise.
5098 (write-entries-to-file-check) New target which tests write_entries_to_file.
5099 (all-recursive): Changed dependency from $(all_java_class_files)
5100 to libgcj-@gcc_version@.jar
5101 * Makefile.in: Rebuilt.
5103 2003-08-26 Tom Tromey <tromey@redhat.com>
5105 * java/lang/StrictMath.java: Typo fix.
5106 * java/lang/Math.java: Typo fix.
5108 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
5110 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
5111 of the removed Thread.
5113 2003-08-26 Mark Wielaard <mark@klomp.org>
5115 Reported by David Holmes <dholmes@dltech.com.au>.
5116 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
5117 Collections.synchronizedMap.
5118 * java/lang/ThreadLocal.java (valueMap): Likewise.
5120 2003-08-26 Mark Wielaard <mark@klomp.org>
5122 * java/security/acl/Acl.java: Fix broken p tag.
5123 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
5124 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
5125 * javax/swing/plaf/TreeUI.java: Likewise.
5126 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
5127 * java/util/Properties.java: Use the word umlaut, not ä in api
5129 * java/util/PropertyResourceBundle.java: Likewise and add closing code
5132 2003-08-26 Tom Tromey <tromey@redhat.com>
5134 * Makefile.in: Rebuilt.
5135 * Makefile.am: Removed all GNU-make-specific FIXME comments.
5137 * java/lang/ref/Reference.java (get): Indentation fix.
5138 (clear): Comment fix.
5139 (enqueue): Likewise.
5141 (referent): Likewise.
5143 2003-08-26 Tom Tromey <tromey@redhat.com>
5146 * java/lang/reflect/natArray.cc (set): Allow null as argument.
5148 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
5149 (ProxyData.getPackage): New method.
5150 (ProxyData.getProxyData): Use package name, not Package.
5151 (ClassFactory.ClassFactory): Updated.
5153 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
5154 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
5155 * Makefile.in: re-generated.
5156 * gnu/awt/j2d/IntegerGraphicsState.java
5157 (ScreenCoupledImage): new interface.
5158 (drawImage): detect ScreenCoupledImage instances.
5159 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
5160 * gnu/awt/xlib/XEventLoop.java
5161 (createEvent): re-formatted, and rearranged to avoid null pointer.
5162 * gnu/awt/xlib/XGraphics.java
5163 (drawImage): added XOffScreenImage handling.
5164 * gnu/awt/xlib/XOffScreenImage.java: new file.
5165 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
5166 * gnu/gcj/xlib/GC.java (copyArea): new native method.
5167 * gnu/gcj/xlib/XAnyEvent.java
5168 (TYPE_KEY_PRESS): new constant.
5169 (TYPE_KEY_RELEASE): new constant.
5170 (TYPE_MOTION_NOTIFY): new constant.
5171 (TYPE_ENTER_NOTIFY): new constant.
5172 (TYPE_LEAVE_NOTIFY): new constant.
5173 (TYPE_FOCUS_IN): new constant.
5174 (TYPE_FOCUS_OUT): new constant.
5175 (TYPE_KEYMAP_NOTIFY): new constant.
5176 (TYPE_GRAPHICS_EXPOSE): new constant.
5177 (TYPE_NO_EXPOSE): new constant.
5178 (TYPE_VISIBILITY_NOTIFY): new constant.
5179 (TYPE_CREATE_NOTIFY): new constant.
5180 (TYPE_DESTROY_NOTIFY): new constant.
5181 (TYPE_MAP_REQUEST): new constant.
5182 (TYPE_CONFIGURE_REQUEST): new constant.
5183 (TYPE_GRAVITY_NOTIFY): new constant.
5184 (TYPE_RESIZE_REQUEST): new constant.
5185 (TYPE_CIRCULATE_NOTIFY): new constant.
5186 (TYPE_CIRCULATE_REQUEST): new constant.
5187 (TYPE_PROPERTY_NOTIFY): new constant.
5188 (TYPE_SELECTION_CLEAR): new constant.
5189 (TYPE_SELECTION_REQUEST): new constant.
5190 (TYPE_SELECTION_NOTIFY): new constant.
5191 (TYPE_COLORMAP_NOTIFY): new constant.
5192 (TYPE_MAPPING_NOTIFY): new constant.
5193 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
5194 * gnu/gcj/xlib/natGC.cc (copyArea): new method
5195 * java/awt/Component.java (createImage): changed to use peer method.
5197 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5199 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
5200 name, not XLFD, to native drawString.
5201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5202 Replace XLFD-based implementation with Pango-based
5205 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5207 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
5208 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
5210 2003-08-21 David Daney <ddaney@avtrex.com>
5212 Fix for PR libgcj/12013:
5213 * java/lang/ref/natReference.cc (finalize_referred_to_object):
5214 Check `cleared' field.
5215 * java/lang/ref/Reference.java (copy): Updated comments.
5216 (cleared): New field.
5219 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
5220 Thomas Fitzsimmons <fitzsim@redhat.com>
5222 * Makefile.am (gtk_awt_peer_sources): Add
5223 gnu/java/awt/peer/GLightweightPeer.java. Remove
5224 gnu/java/awt/GLightweightPeer.java.
5225 * gnu/java/awt/GLightweightPeer.java: Remove file.
5226 * gnu/java/awt/peer/GLightweightPeer.java: New file.
5227 * java/awt/Component.java (getToolkit): Add comment about
5228 lightweight components.
5229 * java/awt/Toolkit.java (createComponent): Return
5230 gnu.java.awt.peer.GLightweightPeer.
5232 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
5234 * configure.in: Fix detection of gcj when building with newlib.
5235 * configure: Regenerated.
5237 2003-08-20 Graydon Hoare <graydon@redhat.com>
5239 * jni.cc: Replace "cheating" pointer-casting code with
5240 extract_from_jvalue<> template.
5242 2003-08-20 Andrew Haley <aph@redhat.com>
5244 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
5245 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
5246 (classAt): Break out class lookup function into getClass().
5247 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
5248 handlers when using -fno-assume-compiled.
5250 2003-08-20 Tom Tromey <tromey@redhat.com>
5252 Fix for PR libgcj/9125:
5253 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5254 object outside of loop. Respect lib_control setting.
5255 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
5257 (lib_control): New field.
5258 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
5259 (VMClassLoader): Initialize new field.
5261 * java/lang/ref/natReference.cc (finalize_referred_to_object):
5262 Set `list->reference' to DELETED_REFERENCE when removing dead
5264 (find_slot): Added an assert.
5265 (DELETED_REFERENCE): New define.
5266 (add_to_hash): Check for DELETED_REFERENCE.
5267 (remove_from_hash): Just return if found slot isn't ours.
5269 2003-08-19 Andrew Haley <aph@redhat.com>
5271 * prims.cc (unblock_signal): New function.
5272 (catch_segv): Use it.
5273 (catch_fpe): Likewise.
5275 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
5278 * java/io/natFileDescriptorWin32.cc (open): Set create
5279 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5280 Honor EXCL when openning with WRITE flag.
5282 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
5284 * include/jvm.h: New class _Jv_TempUTFString (helper class for
5285 getting a temporary C string from a jstring)
5286 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5287 but uses a stack buffer if the string length is less than 256
5290 2003-08-18 Tom Tromey <tromey@redhat.com>
5293 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5294 void. Throw VirtualMachineError if ffi fails. Initialize return
5295 value. Added is_jni_call argument; only wrap exception if not a
5296 JNI call. Use descriptive message if operation not supported.
5297 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5299 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5300 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5302 (_Jv_JNI_CallAnyMethodA): Likewise.
5303 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5304 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5306 2003-08-13 Tom Tromey <tromey@redhat.com>
5308 * gij.cc (help): Document -? and -X.
5310 2003-08-12 Graydon Hoare <graydon@redhat.com>
5312 * java/awt/Font.java:
5313 Stub out more recent API.
5315 2003-08-12 Graydon Hoare <graydon@redhat.com>
5317 * java/awt/Color.java (getAlpha):
5318 Prevent sign-extended alpha values.
5320 2003-08-12 Tom Tromey <tromey@redhat.com>
5322 * gij.cc (main): Handle -? and -X.
5324 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
5326 * java/awt/Container.java
5327 (getPreferredSize): Call preferredSize.
5328 (preferredSize): Moved body of getPreferredSize here.
5329 (getMinimumSize): Call minimumSize.
5330 (minimumSize): Moved body of getMinimumSize here.
5332 2003-08-11 Tom Tromey <tromey@redhat.com>
5334 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5335 (postEvent): Removed FIXME comment.
5336 (isDispatchThread): Documented.
5337 (getCurrentEvent): New method.
5338 (dispatchEvent): Set currentEvent and lastWhen.
5339 (getMostRecentEventTime): Rewrote.
5340 (invokeLater): Documented.
5342 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
5344 * java/io/PrintStream.java (print): Always flush if auto_flush is
5345 set. Don't check for newline characters.
5346 (write (int)): Implement without using a temporary array.
5347 (write (byte[], int, int): Always flush if auto_flush is set. Don't
5348 check for newline characters.
5349 Fixes PR libgcj/11778.
5351 2003-08-08 Andrew Haley <aph@redhat.com>
5353 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5354 * Makefile.in: Rebuild.
5355 * java/lang/natRuntime.cc (insertSystemProperties): Add
5356 "sun.boot.class.path".
5358 2003-08-07 Andrew Haley <aph@redhat.com>
5360 * java/io/PrintStream.java: Don't crash on a null string.
5362 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5364 * configure.in: Don't initialize GCINCS to boehm-gc/include.
5365 * configure: Regenerate.
5367 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
5369 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5370 SocketImpl. Update Javadoc.
5371 (bind): Call close() not impl.close() in event of exception.
5372 (connect): Likewise.
5373 Remove superfluous null checks throughout.
5374 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5375 Don't create an extra socket. Fix for PR libgcj/10868.
5376 (bind): Clean up exception handling.
5377 Remove superfluous null checks throughout.
5379 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
5380 Bryce McKinlay <bryce@mckinlay.net.nz>
5382 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5383 ready-to-write argument to _Jv_Select. Reset the socket back to
5384 non-blocking state after connecting.
5385 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5386 Throw SocketTimeoutException not InterruptedIOException.
5387 (read): Throw SocketTimeoutException not InterruptedIOException.
5389 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
5391 * java/lang/Thread.java (Thread): Check for null "name" from
5392 start of private constructor, not after calling the private
5395 2003-08-06 Tom Tromey <tromey@redhat.com>
5397 * java/io/FilePermission.java (equals): Use correct index for
5398 last character of path.
5400 2003-08-06 Alan Modra <amodra@bigpond.net.au>
5402 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5403 * configure.in: Compare with_cross_host to build_alias, not build.
5404 * aclocal.m4: Regenerate.
5405 * configure: Regenerate.
5407 2003-08-05 Tom Tromey <tromey@redhat.com>
5409 Fix for PR libgcj/11779:
5410 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5413 * java/lang/reflect/Method.java: Updated status comment.
5414 Imported javadoc from Classpath and re-ordered methods.
5415 * java/lang/reflect/Constructor.java: Reindented. Updated
5416 status comment. Imported javadoc from Classpath and re-ordered
5419 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
5421 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5422 Add keyLocation parameter.
5423 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5425 (paramString): Generate keyChar string according to keyChar, not
5427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5428 (state_to_awt_mods): Handle ALT key.
5429 (keyevent_state_to_awt_mods): New function.
5430 (get_first_keyval_from_keymap): New function.
5431 (keysym_to_awt_keycode): Get virtual key code from keymap.
5432 Handle missing VK_ values.
5433 (keysym_to_awt_keylocation): New function.
5434 (keyevent_to_awt_keychar): New function.
5435 (generates_key_typed_event): Handle non-text-component case.
5436 Handle GDK_KP_Delete and GDK_KP_Enter.
5437 (awt_event_handler): Call new functions to get postKeyEvent
5439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5440 Update postKeyEvent method signature.
5441 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
5444 2003-08-05 Matthias Klose <doko@debian.org>
5446 * aclocal.m4: check for libart-config binary
5447 under the name libart2-config as well.
5448 * configure: regenerated.
5450 2003-08-04 David P Grove <groved@us.ibm.com>
5452 * java/text/DecimalFormat.java (format): avoid ArithmeticException
5453 when groupingSize is 0.
5456 2003-08-04 Matthias Klose <doko@debian.org>
5458 * libart.m4: check for libart-config binary
5459 under the name libart2-config as well.
5460 * configure, aclocal.m4: regenerated.
5462 2003-08-02 Michael Koch <konqueror@gmx.de>
5464 * java/nio/ByteBufferImpl.java
5465 (getChar): Check remaining bytes, fixed comment about endianess.
5466 (putChar): Likewise.
5467 (getShort): Likewise.
5468 (putShort): Likewise.
5469 (getInt): Check remaining bytes, fixed conversion, fixed comment about
5472 (getLong): Likewise.
5473 (putLong): Likewise.
5474 (getFloat): Likewise.
5475 (putFloat): Likewise.
5476 (getDouble): Likewise.
5477 (putDouble): Likewise.
5478 * java/nio/DirectByteBufferImpl.java
5479 (getChar): Wrapped code, fixed comment about endianess.
5480 (putchar): Likewise.
5481 (getShort): Likewise.
5482 (putShort): Likewise.
5483 (getInt): Fixed conversion, fixed comment about endianess.
5485 (getLong): Likewise.
5486 (putLong): Likewise.
5487 (getFloat): Likewise.
5488 (putFloat): Likewise.
5489 (getDouble): Likewise.
5490 (putDouble): Likewise.
5491 * java/nio/MappedByteBufferImpl.java
5492 (compact): Implemented.
5493 (getChar): Implemented.
5494 (putChar): Implemented.
5495 (getDouble): Implemented.
5496 (putdouble): Implemented.
5497 (getFloat): Implemented.
5498 (putFloat): Implemented.
5499 (getInt): Implemented.
5500 (putInt): Implemented.
5501 (getLong): Implemented.
5502 (putLong): Implemented.
5503 (getShort): Implemented.
5504 (putShort): Implemented.
5505 * java/nio/channels/FileChannelImpl.java
5506 (read): Set position where to access file.
5508 (transferTo): Flip buffer after read and before write.
5509 (transferFrom): Likewise.
5511 2003-08-02 Michael Koch <konqueror@gmx.de>
5513 * gnu/java/lang/ArrayHelper.java
5514 (equalsArray): Reformated, added method documentation.
5516 2003-08-02 Michael Koch <konqueror@gmx.de>
5519 (URL): Added paragraph about the
5520 gnu.java.net.nocache_protocol_handlers property.
5521 (ph_cache): Renamed from handlers to match classpath's implementation.
5522 Reordered it with factory and serialVersionUID member variables.
5523 (cache_handlers): New member variable.
5524 (static): New static initializer to initialize cache_handlers from
5525 gnu.java.net.nocache_protocol_handlers property.
5526 (URL): Use ph_cache instead of handlers, reformatted some code to
5527 match classpath's implementation.
5529 2003-08-01 Tom Tromey <tromey@redhat.com>
5531 Fix for PR libgcj/11241:
5532 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5533 initialCapacity is 0, set it to 1.
5535 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
5537 * java/net/SocketImpl.java (toString): Display the remote address
5538 of an unconnected server socket as "0.0.0.0/0.0.0.0".
5540 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
5542 * javax/swing/border/BevelBorder.java,
5543 javax/swing/border/EtchedBorder.java,
5544 javax/swing/border/LineBorder.java,
5545 javax/swing/border/MatteBorder.java,
5546 javax/swing/border/SoftBevelBorder.java,
5547 javax/swing/plaf/BorderUIResource.java,
5548 javax/swing/plaf/ComponentUI.java,
5549 javax/swing/plaf/TreeUI.java,
5550 javax/swing/plaf/basic/BasicBorders.java,
5551 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5552 javax/swing/plaf/basic/BasicTreeUI.java:
5553 Prepend "doc-files" to all paths to embedded Javadoc images, so
5554 that the generated documentation contains the correct URL.
5556 2003-08-01 Tom Tromey <tromey@redhat.com>
5558 * configure: Rebuilt.
5559 * configure.in (tool_include_dir): Redefine to match gcc.
5561 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
5562 Mark Wielaard <mark@klomp.org>
5564 * java/math/BigDecimal (divide): Correctly handle
5565 ROUND_HALF_EVEN when amount is greater than 0.5.
5566 Simplify and optimize code.
5568 2003-07-31 Tom Tromey <tromey@redhat.com>
5570 More for PR libgcj/11737:
5571 * java/io/ObjectInputStream.java (processResolution): Use
5573 (getMethod): Make method accessible.
5574 (getField): Make field accessible.
5575 (setBooleanField): Don't call setAccessible here.
5576 (setByteField, setCharField, setDoubleField, setFloatField,
5577 setIntField, setLongField, setShortField, setObjectField):
5579 (callReadMethod): Don't check whether method is null. Catch
5580 NoSuchMethodException.
5581 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5582 cause on thrown exceptions.
5584 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
5586 Fix for PR libgcj/11728:
5587 * java/util/HashMap.java (readObject): Set size.
5589 2003-07-31 Tom Tromey <tromey@redhat.com>
5591 Fix for PR libgcj/11737:
5592 * java/io/ObjectOutputStream.java (getMethod): Make method
5594 (getField): Likewise.
5595 (writeObject): Use getMethod.
5596 Import PrivilegedAction and AccessController.
5597 (callWriteMethod): Don't check whether m is null. Catch
5598 NoSuchMethodException.
5600 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5601 (containsAngle): Likewise.
5602 (getStartPoint): Rewrote.
5603 (getEndPoint): Likewise.
5604 (setAngleStart(Point2D)): Likewise.
5606 2003-07-31 Roger Sayle <roger@eyesopen.com>
5607 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5609 * configure.in: Add new THREADCXXFLAGS variable.
5610 Handle POSIX threads on alpha*-dec-osf*.
5611 * configure: Regenerate.
5612 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5613 * Makefile.in: Regenerate.
5615 2003-07-08 Andrew Haley <aph@redhat.com>
5617 * include/i386-signal.h (RESTORE): New.
5618 (INIT_SEGV): Set restorer.
5619 (INIT_FPE): Likewise.
5621 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
5623 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5625 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5626 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5627 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5628 (gtkSetFont): Scale size parameter by PANGO_SCALE.
5629 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5634 2003-07-29 Tom Tromey <tromey@redhat.com>
5636 * defineclass.cc (handleField): Throw exception if field name is
5638 (handleMethod): Throw exception for duplicate method.
5640 2003-07-29 Tom Tromey <tromey@redhat.com>
5642 * gnu/gcj/convert/natIconv.cc (write): Handle case where
5643 output buffer is too small.
5645 2003-07-28 Tom Tromey <tromey@redhat.com>
5647 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5649 Include gnu/gcj/runtime/StringBuffer.h.
5650 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5652 (String(gnu.gcj.runtime.StringBuffer)): Use it.
5654 2003-07-27 Anthony Green <green@redhat.com>
5656 * configure.in: Fix newlib check.
5657 * configure: Rebuilt.
5659 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5661 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5662 Create vbox and layout for GtkPlug.
5664 2003-07-27 Michael Koch <konqueror@gmx.de>
5666 * java/awt/Window.java
5667 (Window): Removed now unused constructor. It became oboslete with the
5668 new embedded window patch.
5670 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
5671 Michael Koch <konqueror@gmx.de>
5673 * gnu/java/awt/EmbeddedWindow.java
5674 (EmbeddedWindow): Extends Frame instead of Window.
5675 (window_id): New member variable to store the native window handle.
5677 (EmbeddedWindow): New constructor.
5678 (addNotify): New method.
5679 (getHandler): Likewise.
5680 (setWindowPeer): New native method.
5681 * gnu/java/awt/EmbeddedWindowSupport.java
5682 (EmbeddedWindowSupport): Fixed documentation.
5683 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5684 WindowPeer, give it an EmbeddedWindow instance instead of the raw
5686 * gnu/java/awt/natEmbeddedWindow.cc
5688 (setWindowPeer): New method.
5689 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5690 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5691 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5693 * gnu/java/awt/peer/gtk/GtkToolkit.java
5694 (GtkToolkit): Implements EmbeddedWindowSupport.
5695 (createEmbeddedWindow): New method.
5696 * java/awt/Window.java
5699 (java_source_files): Added EmbeddedWindowPeer.java.
5700 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5701 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5702 * Makefile.in: Regenerated.
5704 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
5706 * java/lang/Win32Process.java (ConcreteProcess): Surround
5707 a command line element with quotes if it contains an
5708 embedded space or tab.
5709 * java/lang/natWin32Process.cc (startProcess): Do not
5710 surround command line elements with quotes here.
5712 * configure.host: Use -fcheck-references and
5713 -fuse-divide-subroutine for MinGW until we fix
5714 win32_exception_handler( ) in win32.cc w.r.t. Win32
5715 Structured Exception Handling (SEH).
5717 * win32.cc (_Jv_platform_initProperties): Use generic names
5718 like "x86" for the "os.arch" property to be consistent with
5719 what Sun's JDK produces. Use the wProcessorArchitecture
5720 member of the Win32 SYSTEM_INFO structure, filled in a call
5721 to GetSystemInfo( ), instead of dwProcessorType.
5723 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
5724 Ranjit Mathew <rmathew@hotmail.com>
5726 * Makefile.am: Use cross-compiling gcjh from the path for
5727 a crossed-native build.
5728 * Makefile.in: Rebuilt.
5729 * configure.in: Include libltdl in non-newlib builds.
5730 Moved determination of gcj used to build libraries to
5731 its own section. Fixed cross-compilation issues for
5733 * configure: Rebuilt.
5735 2003-07-25 Tom Tromey <tromey@redhat.com>
5737 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5742 2003-07-25 Mark Wielaard <mark@klomp.org>
5744 * java/lang/natRuntime.cc (_load): Add library name to
5745 UnsatisfiedLinkError when thrown.
5747 2003-07-25 Mark Wielaard <mark@klomp.org>
5749 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5751 * Makefile.in: Likewise.
5753 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
5755 * java/awt/Component.java
5756 (getPreferredSize): Call preferredSize.
5757 (preferredSize): Moved body of getPreferredSize here.
5758 (getMinimumSize): Call minimumSize.
5759 (minimumSize): Moved body of getMinimumSize here.
5760 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5761 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5763 * java/awt/Container.java
5764 (validate): Don't validate if there is no peer.
5765 (update): Clear background before calling paint.
5766 * java/awt/GridBagLayout.java
5767 Completed the implementation and fixed several bugs.
5768 * java/awt/MediaTracker.java
5769 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5771 * java/awt/Window.java
5772 (Window): Don't call setVisible(false). Windows are invisible by
5773 default and calling virtual methods from constructor causes
5774 compatibility problems (e.g. subclasses may assume that the peer
5777 2003-07-25 Michael Koch <konqueror@gmx.de>
5779 * java/awt/GridBagLayout.java:
5780 Totally reworked and partly implemented.
5781 * java/awt/GridBagLayoutInfo.java:
5784 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5787 Don't pack label in an event box.
5789 2003-07-24 Tom Tromey <tromey@redhat.com>
5792 * verify.cc (ref_intersection): New class.
5793 (type_val): Removed unresolved_reference_type,
5794 uninitialized_unresolved_reference_type.
5795 (is_assignable_from_slow): Rewrote.
5796 (type::data): Removed.
5797 (type::klass): New field.
5798 (type::type): Added verifier argument.
5799 (type::resolve): Removed.
5800 (type::set_uninitialized): Updated for change to type_val.
5801 (type::set_initialized): Likewise.
5802 (type::isinitialized): Likewise.
5803 (type::print): Likewise.
5804 (construct_primitive_array_type): Likewise.
5805 (type::compatible): Updated for change to type_val and to use
5807 (type::isarray): Updated to use ref_intersection.
5808 (type::isinterface): Likewise.
5809 (type::element_type): Likewise.
5810 (type::to_array): Likewise.
5811 (type::verify_dimensions): Rewrote.
5812 (type::merge): Likewise.
5813 (check_class_constant): Updated for type constructor change.
5814 (check_constant): Likewise.
5815 (check_field_constant): Likewise.
5816 (get_one_type): Likewise.
5817 (initialize_stack): Likewise.
5818 (verify_instructions_0): Likewise.
5819 (verify_instructions_0) [op_invokeinterface]: Removed special
5821 (isect_list): New field.
5822 (_Jv_BytecodeVerifier): Initialize it.
5823 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
5825 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
5827 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5828 unless field size is 2.
5830 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5832 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5833 (connectHooks): New method.
5834 (handleEvent): Remove.
5835 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5836 (createHooks): Remove declaration.
5837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5838 (generates_key_typed_event): Change to handle only certain
5840 (awt_event_handler): Add special handling for GtkTextView.
5841 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5842 (textcomponent_commit_cb): New function.
5843 (textcomponent_changed_cb): Likewise.
5844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5845 (connectHooks): Remove.
5847 2003-07-23 Tom Tromey <tromey@redhat.com>
5849 * java/lang/natSystem.cc (arraycopy): Check for overflow.
5851 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5853 2003-07-22 Tom Tromey <tromey@redhat.com>
5855 * boehm.cc (_Jv_BuildGCDescr): Wrote.
5858 2003-07-22 Tom Tromey <tromey@redhat.com>
5860 * java/awt/Window.java (getWarningString): Just return the
5862 (Window): Set warningString; check with security manager.
5864 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
5866 * gnu/awt/xlib/XGraphicsConfiguration.java
5867 (FontMetricsCache): Made static.
5869 2003-07-22 Tom Tromey <tromey@redhat.com>
5871 * java/net/URLEncoder.java (encode(String)): Use platform default
5873 (encode(String,String)): Convert to 2-digit upper-case hex
5877 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5879 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5880 (create): Remove unused method implementation.
5881 (connectHooks): Remove debug messages.
5883 2003-07-20 Anthony Green <green@redhat.com>
5885 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5886 CloneNotSupportedException.
5887 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5888 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5889 * gnu/gcj/xlib/GC.java (clone): Ditto.
5890 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5891 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5893 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5895 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5897 2003-07-20 Steve Pribyl <steve@netfuel.com.>
5899 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5900 String. Put dlerror() message into exception.
5901 Include UnsatisfiedLinkError.
5902 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5905 2003-07-20 Tom Tromey <tromey@redhat.com>
5907 * java/lang/Runtime.java: Comment fix.
5908 * java/lang/ClassLoader.java (isAncestorOf): New method.
5909 (getParent): Uncommented security check. Use isAncestorOf.
5910 * include/jvm.h (_Jv_CheckAccess): Declare.
5911 * java/lang/reflect/natConstructor.cc (newInstance): Perform
5913 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5914 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5915 class loader to _Jv_GetArrayClass.
5916 Include ArrayIndexOutOfBoundsException.h.
5917 * java/lang/reflect/Field.java: Update comment to reflect status.
5918 (equals): Fixed indentation.
5919 * java/lang/Class.h (Class): Declare memberAccessCheck, not
5920 checkMemberAccess. Make _Jv_CheckAccess a friend.
5921 * java/lang/Class.java (memberAccessCheck): New method from
5923 (checkMemberAccess): Removed.
5924 (getDeclaredMethod): Use memberAccessCheck.
5925 (getField): Likewise.
5926 (getMethod): Likewise.
5927 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5928 (_Jv_SearchMethodInClass): Likewise.
5929 * prims.cc (_Jv_CheckAccess): New function.
5930 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5931 (_Jv_JNI_GetAnyFieldID): Likewise.
5932 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5933 (getClassLoader): Added security check.
5934 (getConstructor): Call memberAccessCheck.
5935 (getDeclaredClasses): Likewise.
5936 (getDeclaredField): Likewise.
5937 (getDeclaredFields): Likewise.
5938 (_getConstructors): Likewise.
5939 (getDeclaredConstructor): Likewise.
5940 (getDeclaredMethods): Likewise.
5941 (getFields): Likewise.
5942 (getMethods): Likewise.
5943 (newInstance): Likewise.
5944 (_Jv_MakeVTable): Put method name in exception.
5945 * java/lang/reflect/natMethod.cc (getType): Use
5946 getClassLoaderInternal.
5947 (_Jv_GetTypesFromSignature): Likewise.
5948 (invoke): Perform access check.
5949 (_Jv_CallAnyMethodA): Removed old FIXME comments.
5950 Include ArrayIndexOutOfBoundsException.h.
5951 * java/lang/reflect/natField.cc (getType): Use
5952 getClassLoaderInternal.
5953 (_Jv_CheckFieldAccessibility): Removed.
5954 (getAddr): Use _Jv_CheckAccess; find caller.
5955 Include ArrayIndexOutOfBoundsException.h.
5957 2003-07-20 Michael Koch <konqueror@gmx.de>
5960 (URL): Fixed documentation to name an argument correcty, Reformatted
5961 one method declaration.
5962 (getURLStreamHandler): Added documentation from classpath.
5964 2003-07-19 Tom Tromey <tromey@redhat.com>
5966 * mauve-libgcj: Don't run CollationElementIterator tests.
5968 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
5970 * java/net/URLClassLoader.java (addURL): Moved implementation to
5971 private addURLImpl() to avoid calling addURL from the constructor.
5972 (addURLImpl): Contains the code that was previously in addURL.
5973 (addURLs): Call addURLImpl(), not addURL().
5975 2003-07-18 Graydon Hoare <graydon@redhat.com>
5977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5978 Handle missing event cases, connect to "value-changed" signal.
5980 2003-07-18 Graydon Hoare <graydon@redhat.com>
5982 * java/awt/geom/CubicCurve2D.java,
5983 java/awt/geom/Line2D.java,
5984 java/awt/geom/QuadCurve2D.java,
5985 java/awt/geom/Rectangle2D.java:
5986 Fix path some calculations, make path iterators follow
5989 2003-07-18 Mark Wielaard <mark@klomp.org>
5991 * java/util/logging/Handler.java (isLoggable): Check record level
5994 2003-07-17 Michael Koch <konqueror@gmx.de>
5996 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5999 2003-07-14 Michael Koch <konqueror@gmx.de>
6001 * gnu/java/rmi/server/UnicastServerRef.java:
6002 New version from classpath.
6004 2003-07-14 Michael Koch <konqueror@gmx.de>
6006 * java/awt/image/MemoryImageSource.java,
6007 java/beans/PropertyEditorManager.java,
6008 javax/naming/CompoundName.java,
6009 javax/naming/spi/NamingManager.java,
6010 javax/swing/AbstractButton.java,
6011 javax/swing/ButtonModel.java,
6012 javax/swing/SwingUtilities.java,
6013 javax/swing/UIManager.java,
6014 javax/swing/colorchooser/DefaultColorSelectionModel.java,
6015 javax/swing/event/AncestorEvent.java,
6016 javax/swing/event/InternalFrameEvent.java,
6017 java/util/zip/ZipFile.java:
6018 New versions from classpath.
6020 2003-07-13 Michael Koch <konqueror@gmx.de>
6022 * gnu/java/nio/FileChannelImpl.java,
6023 gnu/java/nio/natFileChannelImpl.cc: Removed.
6024 * java/io/FileInputStream.java,
6025 java/io/FileOutputStream.java,
6026 java/io/RandomAccessFile.java,
6027 java/nio/MappedByteBufferImpl.java:
6028 Import java.nio.channels.FileChannelImpl instead of
6029 gnu.java.nio.FileChannelImpl.
6030 * java/nio/channels/FileChannelImpl.java,
6031 java/nio/channels/natFileChannelImpl.cc:
6034 (ordinary_java_source_files):
6035 Removed gnu/java/nio/FileChannelImpl.java and added
6036 java/nio/channels/FileChannelImpl.java.
6038 Removed gnu/java/nio/natFileChannelImpl.cc and added
6039 java/nio/channels/natFileChannelImpl.cc.
6040 * Makefile.in: Regenerated.
6042 2003-07-13 Michael Koch <konqueror@gmx.de>
6044 * javax/swing/plaf/basic/BasicBorders.java,
6045 javax/swing/plaf/basic/BasicLabelUI.java,
6046 javax/swing/plaf/basic/BasicLookAndFeel.java,
6047 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6048 javax/swing/plaf/basic/BasicTextUI.java,
6049 javax/swing/plaf/metal/MetalLookAndFeel.java:
6050 New versions from classpath.
6052 2003-07-13 Michael Koch <konqueror@gmx.de>
6054 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
6055 * gnu/java/awt/peer/gtk/GdkGraphics.java
6056 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6057 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
6058 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
6059 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
6060 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6061 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6062 * gnu/java/awt/peer/gtk/GtkClipboard.java
6063 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
6064 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6065 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6066 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
6067 * gnu/java/awt/peer/gtk/GtkImage.java
6068 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6069 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
6070 * gnu/java/awt/peer/gtk/GtkListPeer.java
6071 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6072 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
6073 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6074 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
6075 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
6076 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
6077 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
6078 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
6079 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
6080 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
6081 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6082 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
6084 2003-07-13 Michael Koch <konqueror@gmx.de>
6086 * gnu/java/locale/LocaleInformation_de.java
6087 * gnu/java/locale/LocaleInformation_en.java
6088 * gnu/java/locale/LocaleInformation_nl.java
6090 2003-07-13 Michael Koch <konqueror@gmx.de>
6092 * gnu/java/awt/EmbeddedWindow.java,
6093 gnu/java/awt/EmbeddedWindowSupport.java,
6094 gnu/java/awt/natEmbeddedWindow.cc:
6096 * java/awt/Window.java
6097 (Window): New constructor to support embedded windows.
6099 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
6100 gnu/java/awt/EmbeddedWindowSupport.java.
6101 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
6102 * Makefile.in: Regenerated.
6104 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
6106 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
6107 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
6108 * java/awt/im/InputContext.java: Remove a redundant
6111 2003-07-09 Tom Tromey <tromey@redhat.com>
6113 * Makefile.in: Rebuilt.
6114 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
6116 2003-07-09 Mark Wielaard <mark@klomp.org>
6118 * java/io/ObjectOutputStream.java (writeObject): break after
6119 calling writeClassDescriptor().
6121 2003-07-09 Mark Mitchell <mark@codesourcery.com>
6123 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
6125 2003-07-09 Michael Koch <konqueror@gmx.de>
6127 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6128 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6129 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6130 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
6131 Explicitly import used classes.
6132 * java/awt/Container.java: New version from classpath.
6134 2003-07-09 Michael Koch <konqueror@gmx.de>
6136 * libgcj.pc.in: New file.
6137 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
6138 * Makefile.in: Regenerated.
6139 * configure: Regenrated.
6140 * configure.in: Create libgcj.pc from libgcj.pc.in.
6142 2003-07-08 Mark Wielaard <mark@klomp.org>
6144 * gcj/cni.h: CNI now expands to Compiled Native Interface.
6146 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
6147 * java/lang/fdlibm.h: Likewise.
6149 2003-07-07 Adam Megacz <adam@xwt.org>
6151 * posix.cc: added #include<stdio.h>
6153 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6155 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
6158 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6159 (setCaretPosition, setEditable): Rely entirely on native
6162 (postTextEvent): New method.
6163 (handleEvent): New method.
6164 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
6166 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
6167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6168 (keysym_to_awt_keycode): Fix range checks.
6169 (generates_key_typed_event): New function.
6170 (awt_event_handler): Post AWT_KEY_RELEASED events to event
6172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6173 (gtkInit): Store TextComponent's postTextEvent method ID.
6174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6175 (setText): Post TEXT_VALUE_CHANGED event to event queue.
6177 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6179 * configure.in: Check for usleep declaration.
6180 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
6181 * configure: Regenerate.
6182 * include/config.h.in: Likewise.
6183 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
6185 2003-07-01 Michael Koch <konqueror@gmx.de>
6187 * gnu/gcj/convert/natIconv.cc
6188 (iconv_init): Fixed possible memory leak by releasing allocated iconv
6191 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6193 * glib-2.0.m4: New file.
6194 * gtk-2.0.m4: New file.
6197 * configure.in: Update AM_PATH_GTK macro call to
6198 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
6199 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6200 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6201 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6202 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6203 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6204 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6205 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6206 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6207 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6208 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6209 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6210 jni/gtk-peer/gthread-jni.c,
6211 jni/gtk-peer/gthread-jni.h:
6212 New versions from classpath.
6213 * aclocal.m4: Regenerate.
6214 * configure: Regenerate.
6215 * Makefile.in: Regenerate.
6216 * gcj/Makefile.in: Regenerate.
6217 * include/Makefile.in: Regenerate.
6218 * testsuite/Makefile.in: Regenerate.
6220 2003-06-30 Gary Benson <gbenson@redhat.com>
6222 For PR libgcj/11349:
6223 * javax/naming/spi/NamingManager.java (getURLContext): Use
6224 correct name for factory class.
6226 2003-06-28 Michael Koch <konqueror@gmx.de>
6228 * java/io/PrintStream.java
6229 (checkError): Call flush() instead of direct flushing of the Writer
6231 (print): Call print(String) instead of direct print method of the
6233 (println): Call println(String) instead of direct println method of the
6235 (write): Simplified.
6237 2003-06-28 Michael Koch <konqueror@gmx.de>
6239 * java/net/ServerSocket.java
6240 (setChannel): New method.
6241 * java/net/Socket.java
6242 (setChannel): New method.
6244 2003-06-27 Michael Koch <konqueror@gmx.de>
6246 * java/beans/beancontext/BeanContextSupport.java:
6247 New version from classpath.
6249 2003-06-27 Michael Koch <konqueror@gmx.de>
6251 * java/awt/Window.java,
6252 java/awt/font/GraphicAttribute.java,
6253 java/awt/font/ImageGraphicAttribute.java,
6254 java/awt/image/DataBufferByte.java,
6255 java/awt/image/DataBufferInt.java,
6256 java/awt/image/DataBufferUShort.java,
6257 java/awt/image/DirectColorModel.java,
6258 java/awt/image/PixelGrabber.java:
6259 New versions from classpath.
6261 2003-06-27 Michael Koch <konqueror@gmx.de>
6263 * java/security/Certificate.java
6264 (getGuarantor): Removed wrong @deprecated tag.
6265 (getPrincipal): Likewise.
6266 (getPublicKey): Likewise.
6269 (getFormat): Likewise.
6270 (toString): Likewise.
6271 * java/security/cert/PolicyQualifierInfo.java
6272 (PolicyQualifierInfo): Made final.
6273 * javax/security/auth/x500/X500Principal.java
6274 (serialVersionUID): New member variable.
6276 2003-06-27 Michael Koch <konqueror@gmx.de>
6278 * java/text/Format.java
6279 (serialVersionUID): Fixed value.
6281 2003-06-27 Michael Koch <konqueror@gmx.de>
6283 * java/net/Inet4Address.java
6284 (Inet4Address): Made package-private.
6285 * java/net/Inet6Address.java
6286 (Inet4Address): Made package-private.
6288 2003-06-27 Michael Koch <konqueror@gmx.de>
6290 * java/io/RandomAccessFile.java
6291 (readLine): Removed wrong @deprecated tag.
6292 (getChannel): Made final.
6294 2003-06-27 Michael Koch <konqueror@gmx.de>
6296 * gnu/java/nio/FileChannelImpl.java
6299 2003-06-27 Michael Koch <konqueror@gmx.de>
6301 * java/nio/ByteBufferImpl.java
6302 (ByteBufferImpl): Made it a package-private class
6303 * java/nio/CharBufferImpl.java
6304 (CharBufferImpl): Made it a package-private class
6305 * java/nio/DirectByteBufferImpl.java
6306 (DirectByteBufferImpl): Made it a package-private class
6307 * java/nio/DoubleBufferImpl.java
6308 (DoubleBufferImpl): Made it a package-private class
6309 * java/nio/FloatBufferImpl.java
6310 (FloatBufferImpl): Made it a package-private class
6311 * java/nio/IntBufferImpl.java
6312 (IntBufferImpl): Made it a package-private class
6313 * java/nio/LongBufferImpl.java
6314 (LongBufferImpl): Made it a package-private class
6315 * java/nio/ShortBufferImpl.java
6316 (ShortBufferImpl): Made it a package-private class
6317 * java/nio/channels/FileChannel.java
6318 (write): Made final.
6319 * java/nio/channels/ServerSocketChannel.java
6320 (ServerSocketChanne): Made protected.
6322 2003-06-27 Michael Koch <konqueror@gmx.de>
6324 * javax/naming/CompositeName.java
6325 (serialVersionUID): New member variable.
6326 * javax/naming/CompoundName.java
6327 (serialVersionUID): New member variable.
6328 * javax/naming/InitialContext.java
6329 (InitialContext): Throws NamingException.
6331 * javax/naming/LinkRef.java
6332 (serialVersionUID): New member variable.
6333 (gteLinkName): Throws NamingException.
6334 * javax/naming/NamingException.java
6335 (serialVersionUID): New member variable.
6336 * javax/naming/NamingSecurityException.java
6337 (NamingSecurityException): Made abstract.
6338 (serialVersionUID): New member variable.
6339 * javax/naming/ReferralException.java
6340 (serialVersionUID): New member variable.
6341 * javax/naming/StringRefAddr.java
6342 (serialVersionUID): New member variable.
6343 * javax/naming/directory/BasicAttribute.java:
6345 (serialVersionUID): New member variable.
6346 (get): Throws NamingException.
6347 (getAll): Throws NamingException.
6348 * javax/naming/directory/BasicAttributes.java:
6350 (serialVersionUID): New member variable.
6351 * javax/naming/ldap/UnsolicitedNotificationEvent.java
6352 (serialVersionUID): New member variable.
6354 2003-06-27 Michael Koch <konqueror@gmx.de>
6357 (awt_java_source_files): Added new files:
6358 javax/swing/Popup.java,
6359 javax/swing/PopupFactory.java
6360 * Makefile.in: Regenerated.
6362 2003-06-27 Michael Koch <konqueror@gmx.de>
6364 * javax/swing/JWindow.java,
6365 javax/swing/event/AncestorEvent.java,
6366 javax/swing/event/HyperlinkEvent.java,
6367 javax/swing/event/InternalFrameEvent.java,
6368 javax/swing/event/ListDataEvent.java,
6369 javax/swing/event/TableModelEvent.java,
6370 javax/swing/plaf/PopupMenuUI.java,
6371 javax/swing/plaf/SplitPaneUI.java,
6372 javax/swing/plaf/TabbedPaneUI.java,
6373 javax/swing/plaf/TextUI.java,
6374 javax/swing/plaf/TreeUI.java,
6375 javax/swing/plaf/basic/BasicTextUI.java,
6376 javax/swing/plaf/basic/BasicTreeUI.java:
6377 New versions from classpath.
6378 * javax/swing/Popup.java,
6379 javax/swing/PopupFactory.jav:
6380 New source files from classpath.
6381 * javax/swing/plaf/doc-files/TreeUI-1.png:
6382 New binary files from classpath.
6384 2003-06-25 Michael Koch <konqueror@gmx.de>
6387 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6388 * Makefile.in: Regenerated.
6390 2003-06-25 Michael Koch <konqueror@gmx.de>
6392 * javax/swing/plaf/ActionMapUIResource.java,
6393 javax/swing/plaf/BorderUIResource.java,
6394 javax/swing/plaf/ButtonUI.java,
6395 javax/swing/plaf/ColorChooserUI.java,
6396 javax/swing/plaf/ColorUIResource.java,
6397 javax/swing/plaf/ComboBoxUI.java,
6398 javax/swing/plaf/ComponentInputMapUIResource.java,
6399 javax/swing/plaf/ComponentUI.java,
6400 javax/swing/plaf/DesktopIconUI.java,
6401 javax/swing/plaf/DesktopPaneUI.java,
6402 javax/swing/plaf/DimensionUIResource.java,
6403 javax/swing/plaf/FileChooserUI.java,
6404 javax/swing/plaf/FontUIResource.java,
6405 javax/swing/plaf/IconUIResource.java,
6406 javax/swing/plaf/InputMapUIResource.java,
6407 javax/swing/plaf/InsetsUIResource.java,
6408 javax/swing/plaf/InternalFrameUI.java,
6409 javax/swing/plaf/LabelUI.java,
6410 javax/swing/plaf/ListUI.java,
6411 javax/swing/plaf/MenuBarUI.java,
6412 javax/swing/plaf/MenuItemUI.java,
6413 javax/swing/plaf/OptionPaneUI.java,
6414 javax/swing/plaf/PanelUI.java,
6415 javax/swing/plaf/ProgressBarUI.java,
6416 javax/swing/plaf/RootPaneUI.java,
6417 javax/swing/plaf/ScrollBarUI.java,
6418 javax/swing/plaf/ScrollPaneUI.java,
6419 javax/swing/plaf/SeparatorUI.java,
6420 javax/swing/plaf/SliderUI.java,
6421 javax/swing/plaf/TableHeaderUI.java,
6422 javax/swing/plaf/TableUI.java,
6423 javax/swing/plaf/ToolBarUI.java,
6424 javax/swing/plaf/ToolTipUI.java,
6425 javax/swing/plaf/ViewportUI.java:
6426 New versions from classpath.
6427 * javax/swing/plaf/SpinnerUI.java:
6428 New file from classpath
6430 2003-06-25 Michael Koch <konqueror@gmx.de>
6432 * java/awt/image/ColorModel.java:
6433 New version from classpath.
6435 2003-06-25 Michael Koch <konqueror@gmx.de>
6437 * java/net/PlainDatagramSocketImpl.java:
6438 Partly merged with classpath, this mainly adds documentation.
6440 2003-06-25 Michael Koch <konqueror@gmx.de>
6442 * java/io/ObjectInputStream.java
6443 (readClassDescriptor): New method.
6444 (readObject): Moved functionality to readClassDescriptor().
6445 * java/io/ObjectOutputStream.java
6446 (writeClassDescriptor): New method.
6447 (writeObject): Moved functionality to writeClassDescriptor().
6449 2003-06-25 Michael Koch <konqueror@gmx.de>
6451 * javax/swing/plaf/basic/BasicListUI.java,
6452 javax/swing/plaf/basic/BasicOptionPaneUI.java:
6453 Added missing methods.
6455 2003-06-25 Michael Koch <konqueror@gmx.de>
6457 * javax/swing/event/AncestorEvent.java
6458 javax/swing/event/HyperlinkEvent.java
6459 javax/swing/event/InternalFrameEvent.java
6460 javax/swing/event/ListDataEvent.java
6461 javax/swing/event/TableModelEvent.java:
6464 2003-06-24 Michael Koch <konqueror@gmx.de>
6466 * java/net/URL.java:
6467 Renamed "handler" to "ph" in the whole file to match classpaths
6469 * java/net/URLStreamHandler.java:
6470 (equals): Renamed "handler" to "ph".
6472 2003-06-24 Michael Koch <konqueror@gmx.de>
6474 * javax/swing/event/AncestorEvent.java,
6475 javax/swing/event/HyperlinkEvent.java,
6476 javax/swing/event/InternalFrameEvent.java,
6477 javax/swing/event/ListDataEvent.java,
6478 javax/swing/event/TableModelEvent.java,
6479 javax/swing/event/TreeWillExpandListener.java,
6480 javax/swing/plaf/ComponentUI.java,
6481 javax/swing/plaf/DesktopIconUI.java,
6482 javax/swing/plaf/DesktopPaneUI.java,
6483 javax/swing/plaf/DimensionUIResource.java,
6484 javax/swing/plaf/FileChooserUI.java,
6485 javax/swing/plaf/FontUIResource.java,
6486 javax/swing/plaf/IconUIResource.java,
6487 javax/swing/plaf/InputMapUIResource.java,
6488 javax/swing/plaf/InsetsUIResource.java,
6489 javax/swing/plaf/InternalFrameUI.java,
6490 javax/swing/plaf/LabelUI.java,
6491 javax/swing/plaf/ListUI.java,
6492 javax/swing/plaf/MenuBarUI.java,
6493 javax/swing/plaf/MenuItemUI.java,
6494 javax/swing/plaf/OptionPaneUI.java,
6495 javax/swing/plaf/PanelUI.java,
6496 javax/swing/plaf/ProgressBarUI.java,
6497 javax/swing/plaf/doc-files/ComponentUI-1.dia,
6498 javax/swing/plaf/doc-files/ComponentUI-1.png:
6499 New versions from classpath.
6501 2003-06-24 Michael Koch <konqueror@gmx.de>
6503 * java/nio/Buffer.java
6504 (cap): Made package-private.
6509 2003-06-24 Michael Koch <konqueror@gmx.de>
6511 * java/net/SocketImpl.java
6512 (shutdownInput): Made it non-abstract method throwing an exception
6514 (shutdownOutput): Likewise.
6515 * java/net/SocketInputStream.java,
6516 java/net/SocketOutputStream.java:
6517 New files from classpath.
6519 2003-06-24 Michael Koch <konqueror@gmx.de>
6521 * java/awt/Font.java,
6522 java/awt/Window.java,
6523 java/awt/color/ColorSpace.java,
6524 java/awt/datatransfer/StringSelection.java,
6525 java/awt/image/ColorModel.java:
6526 New versions from classpath.
6528 2003-06-24 Michael Koch <konqueror@gmx.de>
6531 (awt_java_source_files): Added new files:
6532 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6533 javax/swing/plaf/basic/BasicSplitPaneUI.java
6534 * Makefile.in: Regenerated.
6536 2003-06-24 Michael Koch <konqueror@gmx.de>
6538 * javax/swing/text/JTextComponent.java:
6539 New version from classpath.
6541 2003-06-24 Michael Koch <konqueror@gmx.de>
6543 * javax/swing/Timer.java,
6544 javax/swing/plaf/ActionMapUIResource.java,
6545 javax/swing/plaf/ButtonUI.java,
6546 javax/swing/plaf/ColorChooserUI.java,
6547 javax/swing/plaf/ColorUIResource.java,
6548 javax/swing/plaf/ComboBoxUI.java,
6549 javax/swing/plaf/ComponentInputMapUIResource.java,
6550 javax/swing/plaf/basic/BasicBorders.java:
6551 New versions from classpath.
6552 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6553 javax/swing/plaf/basic/BasicSplitPaneUI.java:
6554 New file from classpath.
6555 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6556 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6557 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6558 javax/swing/plaf/doc-files/ComponentUI-1.dia,
6559 javax/swing/plaf/doc-files/ComponentUI-1.png:
6560 New binary files from classpath.
6562 2003-06-24 Michael Koch <konqueror@gmx.de>
6564 * java/io/LineNumberReader.java
6565 (skip): Dont do line number accounting here as this is already done in
6568 2003-06-21 Michael Koch <konqueror@gmx.de>
6571 (static): Load javaio lib if existing (only in classpath).
6572 (File): Revised documentation to show the correct argument name.
6573 (createTempFile): Partly merged with classpath.
6574 (compareTo): Simplified.
6575 (lastModified): Throw exception if time < 0.
6576 (deleteOnExit): Revised documentation.
6578 2003-06-21 Michael Koch <konqueror@gmx.de>
6580 * java/net/PlainSocketImpl.java:
6582 (PlainSocketImpl): Merged class documentaion with classpath.
6585 (PlainSocketImpl): New empty constructor.
6587 (setOption): Merged documentation from classpath.
6588 (getOption): Likewise.
6590 (connect): Likewise.
6594 (available): Likewise.
6598 (getInputStream): Made synchronozed to get sure that only one stream
6599 object can be created for this socket, merged documentation from
6601 (getOutputStream): Likewise.
6603 2003-06-21 Michael Koch <konqueror@gmx.de>
6605 * java/net/PlainSocketImpl.java:
6607 (static): New implicit method.
6608 (read): Made package private.
6611 2003-06-21 Michael Koch <konqueror@gmx.de>
6613 * java/util/SimpleTimeZone.java:
6614 Removed unneeded import, reformatting.
6616 2003-06-21 Michael Koch <konqueror@gmx.de>
6618 * java/text/DateFormat.java,
6619 java/text/SimpleDateFormat.java,
6620 java/util/Locale.java:
6621 New versions from classpath.
6623 2003-06-21 Michael Koch <konqueror@gmx.de>
6625 * javax/swing/SpinnerModel.java:
6626 New file from classpath.
6627 * javax/swing/border/LineBorder.java,
6628 javax/swing/border/SoftBevelBorder.java,
6629 javax/swing/plaf/BorderUIResource.java,
6630 javax/swing/plaf/basic/BasicBorders.java:
6631 New versions from classpath.
6632 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6633 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6634 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6635 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6636 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6637 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6638 New binary files from classpath.
6640 2003-06-21 Michael Koch <konqueror@gmx.de>
6642 * java/util/logging/LogRecord.java,
6643 java/util/logging/Logger.java,
6644 java/util/logging/SocketHandler.java,
6645 java/util/logging/SimpleFormatter.java,
6646 java/util/logging/Formatter.java,
6647 java/util/logging/ErrorManager.java,
6648 java/util/logging/Handler.java,
6649 java/util/logging/FileHandler.java,
6650 java/util/logging/LogManager.java,
6651 java/util/logging/Level.java,
6652 java/util/logging/ConsoleHandler.java,
6653 java/util/logging/StreamHandler.java,
6654 java/util/logging/LoggingPermission.java,
6655 java/util/logging/Filter.java,
6656 java/util/logging/MemoryHandler.java,
6657 java/util/logging/XMLFormatter.java:
6658 New files from classpath.
6660 2003-06-20 Michael Koch <konqueror@gmx.de>
6662 * java/io/ObjectStreamField.java
6663 (unshared): new member variable.
6664 (ObjectStreamField): New constructor.
6665 (isUnshared): New method.
6667 2003-06-20 Michael Koch <konqueror@gmx.de>
6669 * java/net/URLStreamHandler.java
6670 (hostsEqual): Rewritten.
6672 2003-06-20 Michael Koch <konqueror@gmx.de>
6674 * gnu/java/nio/MappedByteFileBuffer.java,
6675 gnu/java/nio/natMappedByteFileBuffer.cc:
6677 * java/nio/MappedByteBufferImpl.java:
6679 * gnu/java/nio/FileChannelImpl.java:
6680 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6682 (ordinary_java_source_files): Removed
6683 gnu/java/nio/MappedByteFileBuffer.java and added
6684 java/nio/MappedByteBufferImpl.java.
6685 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6686 * Makefile.in: Regenerated.
6688 2003-06-19 Michael Koch <konqueror@gmx.de>
6690 * gnu/java/nio/DatagramChannelImpl.java
6692 (blocking): New member variable.
6694 (DatagramChannelImpl): Throws IOException, initialize socket.
6695 (socket):Implemented.
6696 (implCloseSelectableChannel): Throws IOException, implemented.
6697 (implConfigureBlocking): Likewise.
6698 (connect): Likewise.
6699 (disconnect): Likewise.
6700 (isConnected): Likewise.
6703 (receive): Throws IOException.
6705 * gnu/java/nio/SocketChannelImpl.java
6706 (read): Implemented.
6707 (write): Implemented.
6709 2003-06-19 Michael Koch <konqueror@gmx.de>
6711 * javax/swing/JComponent.java,
6712 javax/swing/JInternalFrame.java,
6713 javax/swing/MenuSelectionManager.java,
6714 javax/swing/SwingUtilities.java,
6715 javax/swing/ToggleButtonModel.java:
6716 New versions from classpath.
6718 2003-06-19 Michael Koch <konqueror@gmx.de>
6720 * java/text/CollationElementIterator.java
6721 (NULLORDER): Initialize with -1 as JDK documentation says.
6723 2003-06-19 Michael Koch <konqueror@gmx.de>
6725 * java/net/HttpURLConnection.java,
6726 java/net/Inet4Address.java,
6727 java/net/Inet6Address.java,
6728 java/net/SocketImpl.java,
6729 java/net/URLClassLoader.java:
6730 Reworked import statements.
6731 * java/net/InetAddress.java
6732 (getByAddress): Simplified.
6733 * java/net/ServerSocket.java
6734 (ServerSocket): Moved special handling during bind operation to
6736 (bind): Handle different cases when trying to bind a socket.
6737 * java/net/URLConnection.java
6738 (getHeaderFieldDate): Merged with classpath.
6739 (getHeaderFieldInt): Likewise.
6741 2003-06-19 Michael Koch <konqueror@gmx.de>
6743 * java/util/zip/InflaterInputStream.java
6744 (InflaterInputStream): Throw NullPointerException if in is null (as
6747 2003-06-19 Michael Koch <konqueror@gmx.de>
6749 * java/awt/Font.java
6750 javax/swing/UIManager.java
6751 javax/swing/border/AbstractBorder.java
6752 javax/swing/border/BevelBorder.java
6753 javax/swing/border/Border.java
6754 javax/swing/border/CompoundBorder.java
6755 javax/swing/border/EmptyBorder.java
6756 javax/swing/border/EtchedBorder.java
6757 javax/swing/border/LineBorder.java
6758 javax/swing/border/MatteBorder.java
6759 javax/swing/border/TitledBorder.java
6760 javax/swing/plaf/BorderUIResource.java
6761 javax/swing/plaf/basic/BasicBorders.java
6762 javax/swing/plaf/basic/BasicButtonUI.java
6763 javax/swing/plaf/basic/BasicCheckBoxUI.java
6764 javax/swing/plaf/basic/BasicGraphicsUtils.java
6765 javax/swing/plaf/basic/BasicLabelUI.java
6766 javax/swing/plaf/basic/BasicRadioButtonUI.java
6767 javax/swing/plaf/basic/BasicToggleButtonUI.java:
6768 New versions from classpath.
6769 * javax/swing/border/SoftBevelBorder.java:
6770 New file from classpath.
6771 * javax/swing/border/doc-files/LineBorder-1.png,
6772 javax/swing/border/doc-files/BevelBorder-1.png,
6773 javax/swing/border/doc-files/BevelBorder-2.png,
6774 javax/swing/border/doc-files/BevelBorder-3.png,
6775 javax/swing/border/doc-files/EmptyBorder-1.png,
6776 javax/swing/border/doc-files/EtchedBorder-1.png,
6777 javax/swing/border/doc-files/EtchedBorder-2.png,
6778 javax/swing/border/doc-files/MatteBorder-1.png,
6779 javax/swing/border/doc-files/MatteBorder-2.png,
6780 javax/swing/border/doc-files/MatteBorder-3.png,
6781 javax/swing/border/doc-files/MatteBorder-4.png,
6782 javax/swing/border/doc-files/MatteBorder-5.png,
6783 javax/swing/border/doc-files/MatteBorder-6.png,
6784 javax/swing/border/doc-files/SoftBevelBorder-1.png,
6785 javax/swing/border/doc-files/SoftBevelBorder-2.png,
6786 javax/swing/border/doc-files/SoftBevelBorder-3.png,
6787 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6788 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6789 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6790 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6791 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6792 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6793 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6794 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6795 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6796 New binary files from classpath.
6798 (awt_java_source_files): Added
6799 javax/swing/border/SoftBevelBorder.java.
6800 * Makefile.in: Regenerated.
6802 2003-06-19 Michael Koch <konqueror@gmx.de>
6804 * gnu/java/security/x509/X509Certificate.java
6805 (writeReplace): Merged from classpath.
6807 2003-06-19 Michael Koch <konqueror@gmx.de>
6809 * gnu/java/nio/FileChannelImpl.java
6810 (map_address): Made public.
6811 (FileChannelImpl): Merged with classpath.
6812 * gnu/java/nio/natFileChannelImpl.cc
6813 (nio_mmap_file): Commented out unused arguments.
6814 (nio_unmmap_file): Likewise.
6815 (niu_msync): Likewise.
6817 2003-06-19 Michael Koch <konqueror@gmx.de>
6819 * java/awt/image/IndexColorModel.java:
6820 New version from classpath.
6822 2003-06-18 Tom Tromey <tromey@redhat.com>
6824 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6826 (isLoopbackAddress): Likewise.
6827 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6830 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
6832 * java/lang/natVMSecurityManager.cc (getClassContext):
6833 Use maxlen instead of len for loop bound.
6835 2003-06-18 Michael Koch <konqueror@gmx.de>
6837 * gnu/java/nio/SelectorImpl.java
6838 (register): Use fd with value 0 for now, will be fixed later.
6839 * gnu/java/nio/ServerSocketChannelImpl.java
6841 (local_port): Removed.
6842 (InetSocketAddress): Removed.
6843 (ServerSocketChannelImpl): Just initialize internal socket object.
6844 (implCloseSelectableChannel): Close internal socket object.
6845 (implConfigureBlocking): Added comment.
6846 (accept): Use jaba.net stuff to accept socket.
6847 * gnu/java/nio/SocketChannelImpl.java
6849 (local_port): Removed.
6850 (InetSocketAddress): Removed.
6851 (SocketCreate): Removed.
6852 (SocketConnect): Removed.
6853 (SocketBind): Removed.
6854 (SocketListen): Removed.
6855 (SocketAvailable): Removed.
6856 (SocketClose): Removed.
6857 (SocketRead): Removed.
6858 (SocketWrite): Removed.
6859 (SocketChannelImpl): Just initialize internal socket object.
6860 (implCloseSelectableChannel): Close internal socket object.
6861 (implConfigureBlocking): Fixed implementation, added comment.
6862 (connect): Use internal socket object to connect.
6863 (socket): No need for sanity checks.
6864 (read): Comment out some stuff, this will be reimplemented in the next
6867 * gnu/java/nio/natFileChannelImpl.cc
6868 (nio_mmap_file): Line wrapped.
6869 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6871 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6872 * Makefile.in: Regenerated.
6874 2003-06-18 Michael Koch <konqueror@gmx.de>
6876 * java/util/Locale.java
6877 (equals): Merged from classpath.
6879 2003-06-18 Michael Koch <konqueror@gmx.de>
6881 * java/net/InetAddress.java:
6882 Reformatted to better match classpath's version.
6884 (equals): Simplified.
6885 * java/net/URLConnection.java
6886 (setDoInput): Revised documentation.
6887 (getDefaultUseCaches): Likewise.
6888 (setRequestProperty): Added @since tag.
6890 2003-06-17 Michael Koch <konqueror@gmx.de>
6892 * java/net/InetSocketAddress.java
6893 (InetSocketAddress): Use wildcard address if addr is null.
6894 (InetSocketAddress): Dont duplicate implementation.
6895 (InetSocketAddress): Throw exception when hostname is null.
6896 * java/net/Socket.java:
6898 (Socket): Throw exception when raddr is null, handle case when laddr
6901 2003-06-17 Michael Koch <konqueror@gmx.de>
6903 * java/nio/DirectByteBufferImpl.java
6904 (address): Made package private.
6905 (DirectByteBufferImpl): New constructor.
6906 * java/nio/natDirectByteBufferImpl.cc
6907 (allocateImpl): Moved to java.nio namespace, implemented.
6908 (freeImpl): Likewise.
6909 (getImpl): Likewise.
6910 (putImpl): Likewise.
6912 (_Jv_JNI_NewDirectByteBuffer): Implemented.
6913 (_Jv_JNI_GetDirectBufferAddress): Implemented.
6914 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6916 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6918 * include/powerpc-signal.h: New File.
6919 * configure.in: Use it.
6920 * configure: Regenerated.
6922 2003-06-17 Michael Koch <konqueror@gmx.de>
6924 * java/util/Locale.java
6925 (getDisplayLanguage): Made it final.
6926 (getDisplayCountry): Likewise.
6927 (getDisplayVariant): Likewise.
6928 (getDisplayName): Likewise.
6930 2003-06-17 Michael Koch <konqueror@gmx.de>
6932 * java/util/PropertyResourceBundle.java:
6933 Removed unneeded import.
6935 2003-06-17 Michael Koch <konqueror@gmx.de>
6937 * java/util/prefs/AbstractPreferences.java,
6938 java/util/prefs/PreferencesFactory.java:
6939 Reworked imports, removed unused imports.
6940 * java/util/prefs/Preferences.java
6941 (systemNodeForPackage): Method takes a Class not an Object.
6942 (userNodeForPackage): Likewise.
6943 (nodeForPackage): Likewise.
6945 2003-06-17 Michael Koch <konqueror@gmx.de>
6947 * gnu/java/security/x509/X509Certificate.java:
6948 Explicitely import used classes.
6950 2003-06-17 Michael Koch <konqueror@gmx.de>
6952 * java/util/zip/ZipEntry.java,
6953 java/util/zip/ZipFile.java,
6954 java/util/zip/ZipInputStream.java,
6955 java/util/zip/ZipOutputStream.java:
6956 Reworked imports, only import used classes.
6958 2003-06-17 Michael Koch <konqueror@gmx.de>
6960 * gnu/java/lang/ArrayHelper.java,
6961 gnu/java/lang/ClassHelper.java:
6962 Reformatted to match classpath's versions.
6964 2003-06-14 Michael Koch <konqueror@gmx.de>
6966 * gnu/java/nio/FileChannelImpl.java
6967 (map_address): Removed incorrect comment.
6968 * gnu/java/nio/SelectorImpl.java
6969 (register): Remove code duplication and code for file channel handling.
6970 * gnu/java/nio/ServerSocketChannelImpl.java
6971 (serverSocket): Renamed from sock_object.
6972 (ServerSocketChannel): Initialize serverSocket.
6973 (socket): Return serverSocket.
6974 * gnu/java/nio/SocketChannelImpl.java
6975 (socket): Renamed from sock_object.
6976 (isConnectionPenging): Simplified.
6977 (socket): Return socket.
6978 2003-06-14 Michael Koch <konqueror@gmx.de>
6980 * java/security/BasicPermission.java:
6981 New version from classpath.
6983 2003-06-14 Michael Koch <konqueror@gmx.de>
6985 * javax/naming/directory/Attribute.java:
6986 New version from classpath.
6988 2003-06-14 Michael Koch <konqueror@gmx.de>
6990 * java/io/BufferedReader.java,
6991 java/io/FileOutputStream.java:
6992 New versions from classpath.
6994 2003-06-12 Andrew Haley <aph@redhat.com>
6996 * prims.cc (catch_segv): Create exception in handler.
6997 (catch_fpe): Likewise.
6998 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6999 (_Jv_ThrowSignal): Remove.
7001 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
7002 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
7003 to nullp and arithexception.
7004 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7005 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7006 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7007 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7008 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7010 2003-06-11 Andrew Haley <aph@redhat.com>
7012 * jni.cc (_Jv_JNI_check_types): New.
7013 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
7014 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
7015 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
7016 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
7018 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
7021 2003-06-11 Tom Tromey <tromey@redhat.com>
7023 * java/lang/ClassLoader.java (loadClass): Not deprecated.
7024 * java/io/PrintStream.java: Not deprecated.
7026 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
7028 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
7029 (fillOval): implemented
7030 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
7031 (fillArc): implemented.
7032 * gnu/gcj/xlib/GC.java (drawArc): added native method.
7033 (fillArc): added native method.
7034 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
7035 (fillArc): added native method.
7037 2003-06-11 Michael Koch <konqueror@gmx.de>
7039 * java/awt/im/InputSubset.java:
7040 New version from classpath.
7042 2003-06-11 Michael Koch <konqueror@gmx.de>
7044 * javax/swing/AbstractAction.java,
7045 javax/swing/AbstractButton.java,
7046 javax/swing/AbstractCellEditor.java,
7047 javax/swing/AbstractListModel.java,
7048 javax/swing/BorderFactory.java,
7049 javax/swing/Box.java,
7050 javax/swing/BoxLayout.java,
7051 javax/swing/ButtonGroup.java,
7052 javax/swing/DefaultButtonModel.java,
7053 javax/swing/DefaultListModel.java,
7054 javax/swing/DefaultListSelectionModel.java,
7055 javax/swing/FocusManager.java,
7056 javax/swing/ImageIcon.java,
7057 javax/swing/InputMap.java,
7058 javax/swing/JApplet.java,
7059 javax/swing/JButton.java,
7060 javax/swing/JCheckBox.java,
7061 javax/swing/JCheckBoxMenuItem.java,
7062 javax/swing/JColorChooser.java,
7063 javax/swing/JComboBox.java,
7064 javax/swing/JComponent.java,
7065 javax/swing/JDesktopPane.java,
7066 javax/swing/JDialog.java,
7067 javax/swing/JEditorPane.java,
7068 javax/swing/JFileChooser.java,
7069 javax/swing/JFormattedTextField.java,
7070 javax/swing/JFrame.java,
7071 javax/swing/JLabel.java,
7072 javax/swing/JLayeredPane.java,
7073 javax/swing/JList.java,
7074 javax/swing/JMenuBar.java,
7075 javax/swing/JMenuItem.java,
7076 javax/swing/JOptionPane.java,
7077 javax/swing/JPanel.java,
7078 javax/swing/JPasswordField.java,
7079 javax/swing/JPopupMenu.java,
7080 javax/swing/JProgressBar.java,
7081 javax/swing/JRadioButton.java,
7082 javax/swing/JRadioButtonMenuItem.java,
7083 javax/swing/JRootPane.java,
7084 javax/swing/JScrollBar.java,
7085 javax/swing/JScrollPane.java,
7086 javax/swing/JSeparator.java,
7087 javax/swing/JSlider.java,
7088 javax/swing/JTabbedPane.java,
7089 javax/swing/JTable.java,
7090 javax/swing/JTextField.java,
7091 javax/swing/JToggleButton.java,
7092 javax/swing/JToolBar.java,
7093 javax/swing/JToolTip.java,
7094 javax/swing/JTree.java,
7095 javax/swing/JViewport.java,
7096 javax/swing/JWindow.java,
7097 javax/swing/KeyStroke.java,
7098 javax/swing/ListSelectionModel.java,
7099 javax/swing/LookAndFeel.java,
7100 javax/swing/RepaintManager.java,
7101 javax/swing/ScrollPaneLayout.java,
7102 javax/swing/SizeRequirements.java,
7103 javax/swing/SwingConstants.java,
7104 javax/swing/Timer.java,
7105 javax/swing/UIDefaults.java,
7106 javax/swing/UIManager.java,
7107 javax/swing/border/AbstractBorder.java,
7108 javax/swing/border/CompoundBorder.java,
7109 javax/swing/colorchooser/AbstractColorChooserPanel.java,
7110 javax/swing/colorchooser/ColorChooserComponentFactory.java,
7111 javax/swing/colorchooser/ColorSelectionModel.java,
7112 javax/swing/colorchooser/DefaultColorSelectionModel.java,
7113 javax/swing/event/AncestorEvent.java,
7114 javax/swing/event/HyperlinkEvent.java,
7115 javax/swing/event/InternalFrameAdapter.java,
7116 javax/swing/event/InternalFrameEvent.java,
7117 javax/swing/event/ListDataEvent.java,
7118 javax/swing/event/MouseInputAdapter.java,
7119 javax/swing/event/SwingPropertyChangeSupport.java,
7120 javax/swing/event/TableModelEvent.java,
7121 javax/swing/event/TreeWillExpandListener.java,
7122 javax/swing/event/UndoableEditEvent.java,
7123 javax/swing/filechooser/FileFilter.java,
7124 javax/swing/filechooser/FileSystemView.java,
7125 javax/swing/filechooser/FileView.java,
7126 javax/swing/plaf/BorderUIResource.java,
7127 javax/swing/plaf/basic/BasicDefaults.java,
7128 javax/swing/table/AbstractTableModel.java,
7129 javax/swing/table/DefaultTableCellRenderer.java,
7130 javax/swing/table/DefaultTableColumnModel.java,
7131 javax/swing/table/DefaultTableModel.java,
7132 javax/swing/table/TableColumn.java,
7133 javax/swing/text/JTextComponent.java,
7134 javax/swing/tree/AbstractLayoutCache.java,
7135 javax/swing/tree/DefaultMutableTreeNode.java,
7136 javax/swing/tree/DefaultTreeCellEditor.java,
7137 javax/swing/tree/DefaultTreeCellRenderer.java,
7138 javax/swing/tree/DefaultTreeModel.java,
7139 javax/swing/tree/DefaultTreeSelectionModel.java,
7140 javax/swing/tree/FixedHeightLayoutCache.java,
7141 javax/swing/tree/TreeCellEditor.java,
7142 javax/swing/tree/TreeModel.java,
7143 javax/swing/tree/TreeNode.java,
7144 javax/swing/tree/TreePath.java,
7145 javax/swing/tree/TreeSelectionModel.java,
7146 javax/swing/tree/VariableHeightLayoutCache.java,
7147 javax/swing/undo/AbstractUndoableEdit.java,
7148 javax/swing/undo/CompoundEdit.java,
7149 javax/swing/undo/StateEdit.java,
7150 javax/swing/undo/UndoManager.java,
7151 javax/swing/undo/UndoableEditSupport.java:
7152 New versions from classpath.
7153 * javax/swing/table/JTableHeader.java:
7154 New file from classpath.
7156 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
7157 * Makefile.in: Regenerated.
7159 2003-06-11 Michael Koch <konqueror@gmx.de>
7161 * java/nio/MappedByteBuffer.java,
7162 java/nio/channels/Channels.java,
7163 java/nio/channels/ServerSocketChannel.java,
7164 java/nio/channels/spi/AbstractSelector.java:
7165 Removed unneeded imports.
7167 2003-06-11 Michael Koch <konqueror@gmx.de>
7169 * java/net/DatagramSocket.java:
7170 Partly merged with classpath.
7172 2003-06-11 Michael Koch <konqueror@gmx.de>
7174 * java/awt/Frame.java,
7175 java/awt/Graphics.java,
7177 java/awt/Robot.java,
7178 java/awt/image/ColorModel.java:
7179 New versions from classpath.
7181 2003-06-10 Michael Koch <konqueror@gmx.de>
7183 * java/io/PrintStream.java:
7184 Merged version from classpath.
7185 (close): Removed sychronized keyword. This class is not garantied to
7189 2003-06-09 Tom Tromey <tromey@redhat.com>
7191 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
7193 (getDescent): Likewise, for "descent".
7195 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
7197 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
7198 (getMaxDescent): adjusted return value.
7199 (getAscent): modified to use metrics for 'O'.
7200 (getDescent): modified to use metrics for 'y'.
7202 2003-06-08 Anthony Green <green@redhat.com>
7204 * java/net/URLStreamHandler.java (sameFile): Fix port value
7206 * java/net/URL.java (handler): Make package private.
7207 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
7209 2003-06-07 Tom Tromey <tromey@redhat.com>
7211 For PR libgcj/11085:
7212 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
7213 Limit number of characters in numeric field when required.
7214 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
7215 Respect maximumIntegerDigits.
7217 2003-06-08 Michael Koch <konqueror@gmx.de>
7219 * java/net/Socket.java
7220 (Socket): Dont initialize inputShutdown and outputShutdown twice,
7221 call bind() and connect() to actually do the bind and connect tasks.
7222 (bind): Connect to canonical address if bindpoint is null, create
7223 socket and bind it to bindpoint.
7224 (connect): Check for exceptions.
7226 2003-06-08 Michael Koch <konqueror@gmx.de>
7228 * java/net/DatagramSocket.java
7229 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
7230 into the Multicast constructors.
7231 * java/net/DatagramSocketImpl.java
7232 (getOption): Removed.
7233 (setOption): Removed.
7234 * java/net/MulticastSocket.java
7235 (MulticastSocket): Call setReuseAddress (true).
7236 * java/net/SocketImpl.java
7237 (getOption): Removed.
7238 (setOption): Removed.
7240 2003-06-07 Jeff Sturm <jsturm@one-point.com>
7243 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
7244 Test for empty vector.
7246 2003-06-06 Mark Wielaard <mark@klomp.org>
7248 * java/security/Security.java (secprops): Initialize.
7249 (loadProviders): Return boolean.
7250 (static): Check result of loadProvider calls. If necessary
7251 display WARNING and fallback to Gnu provider.
7253 2002-06-06 James Clark <jjc@jclark.com>
7255 Fix for PR libgcj/8738:
7256 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
7257 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
7258 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
7259 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
7260 (write): Always decrease avail when count is increased.
7261 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
7262 and whether output buffer is full before increasing size.
7264 2002-06-06 Mark Wielaard <mark@klomp dot org>
7266 * java/io/PrintStream.java (writeChars(char[],int, int)):
7267 Check converter.havePendingBytes().
7268 (writeChars(String,int,int)): Likewise.
7269 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
7270 Check converter.havePendingBytes() and flush buffer when stalled.
7272 2003-06-07 Michael Koch <konqueror@gmx.de>
7275 (O_DSYNC): Define O_DSYNC on platforms not
7276 supporting O_FSYNC (newlib).
7278 2003-06-06 Mark Wielaard <mark@klomp.org>
7280 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7283 2003-06-06 Michael Koch <konqueror@gmx.de>
7285 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7286 More compile fixes from my stupid work yesterday.
7288 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
7290 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7291 if _IEEE_LIBM is undefined.
7293 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
7295 * libjava/include/posix.h (O_SYNC): Define if not available
7296 and a reasonable, perhaps more conservative, replacement exists.
7297 (O_DSYNC): Likewise.
7298 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7300 2003-06-05 Michael Koch <konqueror@gmx.de>
7302 * javax/swing/plaf/BorderUIResource.java,
7303 javax/swing/plaf/basic/BasicDefaults.java,
7304 javax/swing/plaf/basic/BasicOptionPaneUI.java:
7305 More compile fixes for latest Border commit. I should not commit
7306 something in this heat here ...
7308 2003-06-05 Michael Koch <konqueror@gmx.de>
7310 * javax/swing/border/BevelBorder.java
7311 (BevelBorder): Removed.
7312 * javax/swing/border/EmptyBorder.java:
7314 (EmptyBorder): Removed.
7315 (getBorderInsets): Dont use l, r, t and b.
7316 * javax/swing/border/EtchedBorder.java
7317 (EtchedBorder): Removed.
7318 * javax/swing/border/LineBorder.java
7319 (LineBorder): Removed.
7320 * javax/swing/border/MatteBorder.java
7321 (MatteBorder): Removed.
7322 * javax/swing/border/TitledBorder.java
7323 (defaultBorder): Use other default for now.
7324 (defaultFont): Likewise.
7325 (defaultColor): Likewise.
7327 2003-06-05 Michael Koch <konqueror@gmx.de>
7329 * javax/swing/border/Border.java:
7330 New version from classpath.
7332 2003-06-05 Michael Koch <konqueror@gmx.de>
7334 * javax/swing/border/AbstractBorder.java,
7335 javax/swing/border/BevelBorder.java,
7336 javax/swing/border/CompoundBorder.java,
7337 javax/swing/border/EmptyBorder.java,
7338 javax/swing/border/EtchedBorder.java,
7339 javax/swing/border/LineBorder.java,
7340 javax/swing/border/MatteBorder.java,
7341 javax/swing/border/TitledBorder.java:
7342 New versions from Classpath.
7344 2003-06-05 Michael Koch <konqueror@gmx.de>
7346 * java/awt/Button.java,
7347 java/awt/Checkbox.java,
7348 java/awt/CheckboxMenuItem.java,
7349 java/awt/Choice.java,
7350 java/awt/Container.java,
7351 java/awt/Dialog.java,
7352 java/awt/EventQueue.java,
7353 java/awt/FileDialog.java,
7354 java/awt/Frame.java,
7355 java/awt/Label.java,
7358 java/awt/MenuItem.java,
7359 java/awt/Panel.java,
7360 java/awt/PopupMenu.java,
7361 java/awt/Rectangle.java,
7362 java/awt/ScrollPane.java,
7363 java/awt/Scrollbar.java,
7364 java/awt/TextArea.java,
7365 java/awt/TextField.java,
7366 java/awt/Window.java,
7367 java/awt/datatransfer/DataFlavor.java,
7368 java/awt/dnd/DragSource.java,
7369 java/awt/dnd/DragSourceContext.java,
7370 java/awt/event/HierarchyEvent.java,
7371 java/awt/event/MouseWheelEvent.java,
7372 java/awt/im/InputContext.java,
7373 java/awt/image/BufferedImage.java,
7374 java/awt/image/ComponentColorModel.java,
7375 java/awt/image/Raster.java,
7376 java/awt/image/WritableRaster.java,
7377 java/awt/peer/ComponentPeer.java,
7378 java/awt/print/PageFormat.java,
7379 java/awt/print/PrinterJob.java:
7380 New versions from Classpath.
7382 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
7384 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7385 numberFormat.setParseIntegerOnly(true).
7387 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
7389 * include/posix-threads.h: Include <machine/pal.h> on OSF.
7391 2003-06-03 Andrew Haley <aph@redhat.com>
7393 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7394 stack volatile to prevent optimization from removing it.
7396 2003-05-27 Michael Koch <konqueror@gmx.de>
7398 * java/util/zip/Deflater.java
7399 (FILTERED): Merged documentation from classpath.
7400 * java/util/zip/DeflaterOutputStream.java
7401 (DeflaterOutputStream): Merged documentation and argument validity
7402 check from classpath.
7403 (deflate): Merged documentation from classpath.
7405 * java/util/zip/Inflater.java
7406 (Inflater): Merged class documentation from classpath.
7407 (zstream): Reordered.
7408 (is_finished): Reordered.
7409 (dict_needed): Reordered.
7410 (Inflater): Reordered, merged documentation from classpath.
7412 (finalize): Merged documentation from classpath.
7413 (finished): Likewise.
7414 (getAdler): Likewise.
7415 (getRemaining): Likewise.
7416 (getTotalIn): Likewise.
7417 (getTotalOut): Likewise.
7418 (inflate): Likewise.
7419 (needsDictionary): Likewise.
7420 (needsInput): Likewise.
7422 (setDictionary): Likewise.
7423 (setInput): Likewise.
7425 2003-05-27 Michael Koch <konqueror@gmx.de>
7427 * java/net/URLConnection.java
7428 (getHeaderFieldInt): Merged with classpath.
7430 2003-05-27 Michael Koch <konqueror@gmx.de>
7432 * java/io/PrintStream.java
7433 (PrintStream): Reformatted.
7434 (PrintStream): New method, merged from classpath.
7435 (write): Reformatted.
7437 2003-05-27 Michael Koch <konqueror@gmx.de>
7439 * java/lang/System.java:
7440 Explicitely import needed classes.
7442 2003-05-26 Michael Koch <konqueror@gmx.de>
7444 * java/net/NetPermission.java,
7445 java/net/NetworkInterface.java,
7446 java/net/PasswordAuthentication.java,
7447 java/net/SocketPermission.java:
7448 New versions from classpath.
7450 2003-05-25 Michael Koch <konqueror@gmx.de>
7452 * java/io/PushbackInputStream.java,
7453 java/net/Authenticator.java,
7454 java/net/ContentHandler.java,
7455 java/net/ContentHandlerFactory.java,
7456 java/net/DatagramSocket.java,
7457 java/net/DatagramSocketImpl.java,
7458 java/net/DatagramSocketImplFactory.java,
7459 java/net/FileNameMap.java,
7460 java/net/SocketImplFactory.java,
7461 java/net/SocketOptions.java,
7462 java/net/URLStreamHandlerFactory.java:
7463 Merged new versions from classpath.
7465 2003-05-25 Michael Koch <konqueror@gmx.de>
7467 * java/awt/Checkbox.java,
7468 java/awt/Dialog.java,
7470 java/awt/Frame.java,
7471 java/awt/ScrollPaneAdjustable.java,
7472 java/awt/Scrollbar.java,
7473 java/awt/Window.java:
7474 New versions from classpath.
7476 2003-05-22 Jeff Sturm <jsturm@one-point.com>
7479 * java/io/ObjectInputStream (enableResolveObject):
7480 Fixed spelling of permission name.
7482 2003-05-20 Michael Koch <konqueror@gmx.de>
7484 * java/io/DataInputStream.java
7485 (convertFromUTF): Merged comment from classpath.
7486 * java/io/PrintStream.java
7487 (error_occured): Renamed from error, merged comment from classpath.
7488 (PrintStream): No need to initialized error.
7489 (checkError): Replace error with error_occurred.
7490 (setError): Likewise.
7492 2003-05-20 Michael Koch <konqueror@gmx.de>
7494 * java/io/DataInputStream.java:
7495 Reformatted, Replaced < and & with html entitites in documentation.
7496 * java/io/File.java:
7498 * java/io/PrintWriter.java:
7499 Moved class documentation.
7501 2003-05-20 Michael Koch <konqueror@gmx.de>
7503 * gnu/java/nio/ByteBufferImpl.java,
7504 gnu/java/nio/CharBufferImpl.java,
7505 gnu/java/nio/CharViewBufferImpl.java,
7506 gnu/java/nio/DirectByteBufferImpl.java,
7507 gnu/java/nio/DoubleBufferImpl.java,
7508 gnu/java/nio/DoubleViewBufferImpl.java,
7509 gnu/java/nio/FloatBufferImpl.java,
7510 gnu/java/nio/FloatViewBufferImpl.java,
7511 gnu/java/nio/IntBufferImpl.java,
7512 gnu/java/nio/IntViewBufferImpl.java,
7513 gnu/java/nio/LongBufferImpl.java,
7514 gnu/java/nio/LongViewBufferImpl.java,
7515 gnu/java/nio/natDirectByteBufferImpl.cc,
7516 gnu/java/nio/ShortBufferImpl.java,
7517 gnu/java/nio/ShortViewBufferImpl.java:
7518 Moved files to java/nio.
7519 * gnu/java/nio/SocketChannelImpl.java
7521 * java/nio/ByteBuffer.java,
7522 java/nio/CharBuffer.java,
7523 java/nio/DoubleBuffer.java,
7524 java/nio/FloatBuffer.java,
7525 java/nio/IntBuffer.java,
7526 java/nio/LongBuffer.java,
7527 java/nio/ShortBuffer.java:
7528 Dont import anything.
7529 * java/nio/ByteBufferImpl.java,
7530 java/nio/CharBufferImpl.java,
7531 java/nio/CharViewBufferImpl.java,
7532 java/nio/DirectByteBufferImpl.java,
7533 java/nio/DoubleBufferImpl.java,
7534 java/nio/DoubleViewBufferImpl.java,
7535 java/nio/FloatBufferImpl.java,
7536 java/nio/FloatViewBufferImpl.java,
7537 java/nio/IntBufferImpl.java,
7538 java/nio/IntViewBufferImpl.java,
7539 java/nio/LongBufferImpl.java,
7540 java/nio/LongViewBufferImpl.java,
7541 java/nio/natDirectByteBufferImpl.cc,
7542 java/nio/ShortBufferImpl.java,
7543 java/nio/ShortViewBufferImpl.java:
7544 Moved from gnu/java/nio.
7546 (ordinary_java_source_files): Moved files from gnu/java/nio to
7548 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7550 * Makefile.in: Regenerated.
7552 2003-05-19 Michael Koch <konqueror@gmx.de>
7554 * java/util/Calendar.java
7555 (get): Not final anymore since JDK 1.4
7558 2003-05-19 Michael Koch <konqueror@gmx.de>
7560 * java/text/CollationKey.java:
7561 Merged copyright and dat from classpath.
7562 * java/text/RuleBasedCollator.java:
7563 Merged class documentation from classpath.
7565 2003-05-19 Michael Koch <konqueror@gmx.de>
7567 * java/nio/CharBuffer.java
7568 (toString): Compile fix.
7570 2003-05-19 Michael Koch <konqueror@gmx.de>
7572 * gnu/java/nio/ByteBufferImpl.java
7573 (putLong): Fixed conversion to bytes.
7574 (putDouble): Fixed conversion to bytes.
7575 * gnu/java/nio/DirectByteBufferImpl.java
7576 (putLong): Fixed conversion to bytes.
7577 (putDouble): Fixed conversion to bytes.
7578 * gnu/java/nio/FileLockImpl.java
7579 (isValid): Reformatted.
7580 * java/nio/Buffer.java
7581 (Buffer): Fixed off-by-one bug in handling mark.
7582 * java/nio/ByteBuffer.java:
7584 * java/nio/CharBuffer.java
7585 (toString): Don't use relative get to get string data.
7587 2003-05-16 Michael Koch <konqueror@gmx.de>
7589 * java/io/natFileDescriptorPosix.cc
7590 (open): Commented out the O_SYNC and O_DSYNC usage until its better
7593 2003-05-14 Michael Koch <konqueror@gmx.de>
7595 * gnu/java/nio/FileLockImpl.java
7596 (released): New member variable.
7597 (FileLockImpl): Initialize released.
7598 (releaseImpl): New native method.
7599 (release): Implemented.
7600 * gnu/java/nio/SelectorImpl.java: Reformatted.
7601 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7602 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7603 (accept): Throws IOException.
7604 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7605 (implConfigureBlocking): Throws IOException.
7606 (connect): Likewise.
7609 * gnu/java/nio/natFileLockImpl.cc: New file.
7610 * java/nio/channels/FileLock.java: Reformatted.
7612 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7613 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7614 * Makefile.in: Regenerated.
7616 2003-05-13 Michael Koch <konqueror@gmx.de>
7618 * gnu/java/nio/CharViewBufferImpl.java
7619 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7620 (get): Shift bits to the right direction.
7622 * gnu/java/nio/DoubleViewBufferImpl.java
7623 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7624 (get): Shift bits to the right direction.
7626 * gnu/java/nio/FloatViewBufferImpl.java
7627 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7628 (get): Shift bits to the right direction.
7630 * gnu/java/nio/IntViewBufferImpl.java
7631 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7632 (get): Shift bits to the right direction.
7634 * gnu/java/nio/LongViewBufferImpl.java
7635 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7636 (get): Shift bits to the right direction.
7638 * gnu/java/nio/ShortViewBufferImpl.java
7639 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7640 (get): Shift bits to the right direction.
7643 2003-05-13 Michael Koch <konqueror@gmx.de>
7645 * gnu/java/nio/natDirectByteBufferImpl.cc
7646 (allocateImpl): jlong -> RawData*.
7647 (freeImpl): Likewise.
7649 2003-05-13 Michael Koch <konqueror@gmx.de>
7651 * java/nio/channels/FileChannel.java
7652 (MapMode.m): Made it package-private to match JDK 1.4.
7653 * java/nio/charset/Charset.java
7654 (decode): Made it final to match JDK 1.4.
7656 2003-05-13 Michael Koch <konqueror@gmx.de>
7658 * java/io/FileDescriptor.java
7659 (SYNC): New constant.
7661 (getLength): Renamed from lenght() to match classpath's
7662 FileDescriptor.java.
7663 * java/io/RandomAccessFile.java
7664 (RandomAccessFile): Removed unneeded mode check, implemented mode
7665 "rws" and "rwd", merged documentation from classpath.
7666 (setLength): Reformatted.
7667 (length): Use new getLength() of FileDescriptor.
7668 * java/io/natFileDescriptorEcos.cc
7669 (getLength): Renamed from length().
7670 * java/io/natFileDescriptorPosix.cc
7671 (open): Implemented support for SYNC and DSYNC.
7672 (seek): Use getLength() instead of length().
7673 (getLength): Renamed from length().
7674 * java/io/natFileDescriptorWin32.cc
7675 (getLength): Renamed from length().
7676 (seek): Use getLength() instead of length().
7677 (available): Likewise.
7678 * gnu/java/nio/natFileChannelImpl.cc
7679 (size): Use getLength() instead of length().
7681 2003-05-13 Michael Koch <konqueror@gmx.de>
7683 * gnu/java/nio/ByteBufferImpl.java
7684 (ByteBufferImpl): All constructors revised.
7685 (slice): Reimplemented.
7686 (duplicate): Reimplemented.
7687 (asReadOnlyBuffer): Reimplemented.
7688 * java/nio/ByteBuffer.java:
7690 (array_offset): Renamed from "offset" to match all other buffer
7692 (ByteBuffer): All constructors revised.
7693 (allocateDirect): Implemented.
7694 (allocate): New implementation, documentation reworked.
7696 (get): Documentation reworked.
7697 (put): New implementation, documentation reworked.
7698 (hasArray): Documentation reworked.
7699 (arrayOffset): Likewise.
7700 (hashCode): Likewise.
7702 (compareTo): Likewise.
7704 (compact): Likewise.
7705 (isDirect): Likewise.
7707 (duplicate): Likewise.
7708 (asReadOnlyBuffer): Likewise.
7710 (ordinary_java_source_files):
7711 Added gnu/java/nio/DirectByteBufferImpl.java.
7713 Added gnu/java/nio/natDirectByteBufferImpl.cc.
7714 * Makefile.in: Regenerated.
7716 2003-05-12 Michael Koch <konqueror@gmx.de>
7718 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7719 (nio_get_*): Removed.
7720 (nio_put_*): Removed.
7721 (as*Buffer): Implemented.
7722 (compact): Implemented.
7723 (get): Documentation added.
7724 (put): Documentation added.
7725 (get*): Newly implemented.
7726 (put*): Newly implemented.
7727 * gnu/java/nio/CharBufferImpl.java: Reformatted.
7728 (CharBufferImpl): Revised.
7729 (slice): New implementation.
7730 (duplicate): New implementation.
7731 (compact): New implementation.
7732 (asReadOnlyBuffer): New implementation.
7733 (get): Documentation revised.
7734 (order): Return native byte order.
7735 * gnu/java/nio/DirectByteBufferImpl.java
7736 (allocateDirect): objects can be null not 0.
7737 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7738 (DoubleBufferImpl): Revised.
7739 (slice): New implementation.
7740 (duplicate): New implementation.
7741 (compact): New implementation.
7742 (asReadOnlyBuffer): New implementation.
7743 (get): Documentation revised.
7744 (order): Return native byte order.
7745 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7746 (FloatBufferImpl): Revised.
7747 (slice): New implementation.
7748 (duplicate): New implementation.
7749 (compact): New implementation.
7750 (asReadOnlyBuffer): New implementation.
7751 (get): Documentation revised.
7752 (order): Return native byte order.
7753 * gnu/java/nio/IntBufferImpl.java: Reformatted.
7754 (IntBufferImpl): Revised.
7755 (slice): New implementation.
7756 (duplicate): New implementation.
7757 (compact): New implementation.
7758 (asReadOnlyBuffer): New implementation.
7759 (get): Documentation revised.
7760 (order): Return native byte order.
7761 * gnu/java/nio/LongBufferImpl.java: Reformatted.
7762 (LongBufferImpl): Revised.
7763 (slice): New implementation.
7764 (duplicate): New implementation.
7765 (compact): New implementation.
7766 (asReadOnlyBuffer): New implementation.
7767 (get): Documentation revised.
7768 (order): Return native byte order.
7769 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7770 (ShortBufferImpl): Revised.
7771 (slice): New implementation.
7772 (duplicate): New implementation.
7773 (compact): New implementation.
7774 (asReadOnlyBuffer): New implementation.
7775 (get): Documentation revised.
7776 (order): Return native byte order.
7777 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7778 (CharBuffer): Revised.
7780 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7781 (DoubleBuffer): Revised.
7782 (allocateDirect): Removed.
7784 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7785 (FloatBuffer): Revised.
7786 (allocateDirect): Removed.
7788 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7789 (IntBuffer): Revised.
7790 (allocateDirect): Removed.
7792 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7793 (LongBuffer): Revised.
7794 (allocateDirect): Removed.
7796 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7797 (ShortBuffer): Revised.
7798 (allocateDirect): Removed.
7800 * gnu/java/nio/natByteBufferImpl.cc: Removed.
7801 * gnu/java/nio/natCharBufferImpl.cc: Removed.
7803 (ordinary_java_source_files): Added the following files:
7804 gnu/java/nio/CharViewBufferImpl.java,
7805 gnu/java/nio/DoubleViewBufferImpl.java,
7806 gnu/java/nio/FloatViewBufferImpl.java,
7807 gnu/java/nio/IntViewBufferImpl.java,
7808 gnu/java/nio/LongViewBufferImpl.java,
7809 gnu/java/nio/ShortViewBufferImpl.java
7810 (nat_source_files): Removed the following files:
7811 gnu/java/nio/natByteBufferImpl.cc,
7812 gnu/java/nio/natCharBufferImpl.cc
7813 * Makefile.in: Regenerated.
7815 2003-05-12 Michael Koch <konqueror@gmx.de>
7817 * gnu/java/nio/CharViewBufferImpl.java,
7818 gnu/java/nio/DirectByteBufferImpl.java,
7819 gnu/java/nio/DoubleViewBufferImpl.java,
7820 gnu/java/nio/FloatViewBufferImpl.java,
7821 gnu/java/nio/IntViewBufferImpl.java,
7822 gnu/java/nio/LongViewBufferImpl.java,
7823 gnu/java/nio/ShortViewBufferImpl.java,
7824 gnu/java/nio/natDirectByteBufferImpl.cc:
7825 New files, not yet to be compiled.
7827 2003-05-10 Michael Koch <konqueror@gmx.de>
7829 * javax/swing/plaf/ButtonUI.java,
7830 javax/swing/plaf/ColorUIResource.java,
7831 javax/swing/plaf/ComponentUI.java,
7832 javax/swing/plaf/DimensionUIResource.java,
7833 javax/swing/plaf/FontUIResource.java,
7834 javax/swing/plaf/IconUIResource.java,
7835 javax/swing/plaf/InsetsUIResource.java,
7836 javax/swing/plaf/LabelUI.java,
7837 javax/swing/plaf/ListUI.java,
7838 javax/swing/plaf/OptionPaneUI.java,
7839 javax/swing/plaf/PanelUI.java,
7840 javax/swing/plaf/TabbedPaneUI.java,
7841 javax/swing/plaf/TextUI.java,
7842 javax/swing/plaf/TreeUI.java,
7843 javax/swing/plaf/ViewportUI.java,
7844 javax/swing/plaf/basic/BasicBorders.java,
7845 javax/swing/plaf/basic/BasicButtonUI.java,
7846 javax/swing/plaf/basic/BasicCheckBoxUI.java,
7847 javax/swing/plaf/basic/BasicDefaults.java,
7848 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7849 javax/swing/plaf/basic/BasicIconFactory.java,
7850 javax/swing/plaf/basic/BasicLabelUI.java,
7851 javax/swing/plaf/basic/BasicListUI.java,
7852 javax/swing/plaf/basic/BasicOptionPaneUI.java,
7853 javax/swing/plaf/basic/BasicPanelUI.java,
7854 javax/swing/plaf/basic/BasicRadioButtonUI.java,
7855 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7856 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7857 javax/swing/plaf/basic/BasicTextUI.java,
7858 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7859 javax/swing/plaf/basic/BasicTreeUI.java,
7860 javax/swing/plaf/basic/BasicViewportUI.java,
7861 javax/swing/plaf/metal/MetalLookAndFeel.java:
7862 New versions from classpath. This adds copyrights to all files and
7863 some serialVersionUIDs.
7865 2003-05-10 Michael Koch <konqueror@gmx.de>
7867 * java/nio/CharBuffer.java
7868 (offset): Make it package-private.
7869 (backing_buffer): Likewise.
7870 * java/nio/DoubleBuffer.java
7871 (offset): Make it package-private.
7872 (backing_buffer): Likewise.
7874 * java/nio/FloatBuffer.java
7875 (offset): Make it package-private.
7876 (backing_buffer): Likewise.
7877 * java/nio/IntBuffer.java
7878 (offset): Make it package-private.
7879 (backing_buffer): Likewise.
7880 * java/nio/LongBuffer.java
7881 (offset): Make it package-private.
7882 (backing_buffer): Likewise.
7883 * java/nio/ShortBuffer.java
7884 (offset): Make it package-private.
7885 (backing_buffer): Likewise.
7887 2003-05-10 Michael Koch <konqueror@gmx.de>
7889 * java/nio/CharBuffer.java
7890 (put): Fixed precondtion check.
7891 (toString): Make it work without backing array.
7892 (put): Skip one level of method calling.
7894 2003-05-10 Michael Koch <konqueror@gmx.de>
7896 * java/security/Identity.java,
7897 java/security/IdentityScope.java,
7898 java/security/Key.java,
7899 java/security/KeyPair.java,
7900 java/security/PrivateKey.java,
7901 java/security/Provider.java,
7902 java/security/PublicKey.java,
7903 java/security/SecureRandom.java,
7904 java/security/SecureRandomSpi.java,
7905 java/security/SignedObject.java,
7906 java/security/Signer.java,
7907 java/security/cert/Certificate.java,
7908 java/security/cert/PKIXCertPathBuilderResult.java,
7909 java/security/cert/X509Certificate.java:
7910 New versions from classpath.
7912 2003-05-09 Tom Tromey <tromey@redhat.com>
7914 * Makefile.in: Rebuilt.
7915 * Makefile.am (nat_source_files): Removed old files.
7916 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7917 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7918 * gnu/java/nio/natIntBufferImpl.cc: Removed.
7919 * gnu/java/nio/natLongBufferImpl.cc: Removed.
7920 * gnu/java/nio/natShortBufferImpl.cc: Removed.
7922 2003-05-09 Michael Koch <konqueror@gmx.de>
7924 * gnu/java/nio/ByteBufferImpl.java
7925 (nio_cast): Removed.
7926 (ByteBufferImpl): Removed.
7927 (nio_get_Byte): Removed.
7928 (nio_put_Byte): Removed.
7929 (asByteBuffer): Removed.
7930 (asCharBuffer): Removed implementation and throw exception.
7931 (asShortBuffer): Likewise.
7932 (asIntBuffer): Likewise.
7933 (asLongBuffer): Likewise.
7934 (asFloatBuffer): Likewise.
7935 (asDoubleBuffer): Likewise.
7936 * gnu/java/nio/CharBufferImpl.java
7937 (CharBufferImpl): Removed.
7938 (nio_get_Byte): Removed.
7939 (nio_put_Byte): Removed.
7940 (asByteBuffer): Removed.
7941 * gnu/java/nio/DoubleBufferImpl.java
7942 (DoubleBufferImpl): Removed.
7943 (nio_get_Byte): Removed.
7944 (nio_put_Byte): Removed.
7945 (asByteBuffer): Removed.
7946 * gnu/java/nio/FloatBufferImpl.java
7947 (FloatBufferImpl): Removed.
7948 (nio_get_Byte): Removed.
7949 (nio_put_Byte): Removed.
7950 (asByteBuffer): Removed.
7951 * gnu/java/nio/IntBufferImpl.java
7952 (IntBufferImpl): Removed.
7953 (nio_get_Byte): Removed.
7954 (nio_put_Byte): Removed.
7955 (asByteBuffer): Removed.
7956 * gnu/java/nio/LongBufferImpl.java
7957 (LongBufferImpl): Removed.
7958 (nio_get_Byte): Removed.
7959 (nio_put_Byte): Removed.
7960 (asByteBuffer): Removed.
7961 * gnu/java/nio/ShortBufferImpl.java
7962 (ShortBufferImpl): Removed.
7963 (nio_get_Byte): Removed.
7964 (nio_put_Byte): Removed.
7965 (asByteBuffer): Removed.
7966 * gnu/java/nio/natByteBufferImpl.cc
7967 (nio_cast): Removed.
7968 (nio_get_Byte): Removed.
7969 (nio_put_Byte): Removed.
7970 * gnu/java/nio/natCharBufferImpl.cc
7971 (nio_get_Byte): Removed.
7972 (nio_put_Byte): Removed.
7974 2003-05-09 Michael Koch <konqueror@gmx.de>
7976 * java/net/JarURLConnection.java
7977 (getJarEntry): Merged documentation from classpath.
7978 (getJarFile): Likewise.
7979 (getMainAttributes): Likewise.
7980 (getAttributes): Likewise.
7981 (getManifest): Likewise.
7982 (getCertificates): Reformatted.
7983 * java/net/URLConnection.java:
7984 Little classpath merge.
7986 2003-05-09 Michael Koch <konqueror@gmx.de>
7988 * java/io/DataOutputStream.java
7989 (writeShort): Made it synchronized.
7990 (writeChar): Likewise.
7991 (writeInt): Likewise.
7992 (writeLong): Liekwise.
7993 (writeUTF): Made it synchronized, renamed argument to match classpath.
7994 * java/io/InputStreamReader.java
7995 (converter): Added documentation.
7996 (read): Merged documentation from classpath.
7997 * java/io/OutputStreamWriter.java
7998 (OutputStreamWriter): Merged documentation from classpath.
7999 (close): Reformatted.
8000 (getEncoding): Likewise.
8002 (write): Merged documentation from classpath, reformatted.
8004 2003-05-08 Tom Tromey <tromey@redhat.com>
8006 * configure.host <powerpc64*-*>: Set with_libffi_default and
8007 libgcj_interpreter to "yes".
8009 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
8011 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
8013 2003-05-06 Tom Tromey <tromey@redhat.com>
8015 * verify.cc: Reverted previous patch.
8017 2003-05-06 Michael Koch <konqueror@gmx.de>
8019 * java/io/DataOutputStream.java
8020 (write): Renamed argument to "value", merged documentation from
8022 (writeBoolean): Likewise.
8023 (writeByte): Likewise.
8024 (writeShort): Likewise.
8025 (writeChar): Likewise.
8026 (writeInt): Likewise.
8027 (writeLong): Likewise.
8028 (writeFloat): Likewise.
8029 (writeDouble): Likewise.
8030 (writeBytes): Likewise.
8031 (writeChars): Likewise.
8032 (writeUTF): Likewise.
8034 (performDelete): Added documentation.
8035 (performList): Likewise.
8036 (performMkdir): Likewise.
8037 (performSetReadOnly): Likewise.
8038 (performRenameTo): Likewise.
8039 (performSetLastModified): Likewise.
8040 (delete): Made it sychronized.
8041 (renameTo): Made it sychronized.
8042 (equals): Reformatted.
8043 (isHidden): Likewise.
8044 (listFiles): Likewise.
8045 (setReadOnly): Likewise.
8046 (listRoots): Likewise.
8047 (setLastModified): Likewise.
8048 (checkRead): Likewise.
8049 (checkWrite): Likewise.
8050 * java/io/FileInputStream.java
8051 (skip): Made it sychronized, merged from classpath.
8052 * java/io/FileOutputStream.java
8053 (write): Merged from classpath.
8054 * java/io/InputStreamReader.java:
8055 (InputStreamReader): Merged documentation from classpath.
8057 2003-05-05 Michael Koch <konqueror@gmx.de>
8059 * java/net/NetworkInterface.java
8060 (networkInterfaces): Removed.
8061 (getByName): Use getRealNetworkInterfaces() instead of
8063 (getByInetAddress): Likewise.
8064 (getNetworkInterfaces): Likewise.
8065 (toString): Fix output of addresses of an interface.
8067 2003-05-05 Michael Koch <konqueror@gmx.de>
8069 * java/io/DataInputStream.java:
8070 Merged new documentation from classpath.
8072 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
8074 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
8076 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
8077 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
8078 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
8079 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
8080 * gnu/awt/gtk/GtkMainThread.java: Likewise.
8081 * gnu/awt/gtk/GtkToolkit.java: Likewise.
8082 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
8083 * java/security/Key.java: Likewise.
8084 * java/security/PrivateKey.java: Likewise.
8085 * java/security/Provider.java: Likewise.
8086 * java/security/PublicKey.java: Likewise.
8088 2003-05-02 Michael Koch <konqueror@gmx.de>
8091 (create): Doesnt throws any exceptions.
8092 * java/net/URLConnection.java
8093 (URLConnection): Commend added.
8094 (getExpiration): The header field is called "expires" not
8096 (getHeaderField): Merged documentation with classpath.
8097 (getHeaderFieldInt): Likewise.
8098 (getHeaderFieldDate): Likewise.
8099 (getHeaderFieldKey): Likewise.
8100 (getPermission): Likewise.
8101 (setDefaultUseCaches): Likewise.
8102 (setRequestProperty): Likewise.
8103 (addRequestProperty): Likewise.
8104 (getRequestProperty): Likewise.
8105 (getRequestProperties): Likewise.
8106 (setDefaultRequestProperty): Likewise.
8107 (getDefaultRequestProperty): Likewise.
8108 (guessContentTypeFromStream): Likewise.
8109 (getFileNameMap): Likewise.
8110 (setFileNameMap): Likewise.
8111 (setDoInput): Merged implementation and documentation with classpath.
8112 (setDoOutput): Likewise.
8113 (setAllowUserInteraction): Likewise.
8114 (setDefaultAllowUserInteraction): Likewise.
8115 (setContentHandlerFactory): Made it synchronized, merged documentation
8117 (guessContentTypeFromName): Renamed argument fname to filename to
8118 match classpath, merged documentation with classpath.
8120 2003-05-02 Michael Koch <konqueror@gmx.de>
8122 * java/net/JarURLConnection.java
8123 (JarURLConnection): Class documentation merged with classpath.
8124 (getJarFileURL): Moved and documentation merged with classpath.
8125 (getEntryName): Likewise.
8126 (JarURLConnection): Documentation merged with classpath.
8127 (getJarEntry): Likewise.
8128 (getJarFile): Likewise.
8129 * java/net/PlainDatagramSocketImpl.java:
8130 Class documentation moved.
8131 * java/net/URLConnection.java
8132 (fileNameMap): Moved and documentation merged with classpath.
8133 (factory): Likewise.
8134 (defaultAllowUserInteraction): Likewis.
8135 (defaultUseCaches): Likewise.
8136 (allowUserInteraction): Likewise.
8137 (connected): Likewise.
8139 (connect): Documentation merged with classpath.
8141 (getContentLength): Likewise.
8142 (getContentType): Likewise.
8143 (getContentEncoding): Likewise.
8144 (getExpiration): Likewise.
8145 (getDate): Likewise.
8146 (getLastModified): Likewise.
8147 (getHeaderField): Likewise.
8148 (getContent): Likewise.
8149 (getPermission): Likewise.
8150 (getInputStream): Likewise.
8151 (getOutputStream): Likewise.
8152 (toString): Likewise.
8153 (getDoInput): Likewise.
8154 (getDoOutput): Likewise.
8155 (setAllowUserInteraction): Likewise.
8156 (getAllowUserInteraction): Likewise.
8157 (setDefaultAllowUserInteraction): Likewise.
8158 (getDefaultAllowUserInteraction): Likewise.
8159 (setUseCaches): Likewise.
8160 (getUseCaches): Likewise.
8161 (setIfModifiedSince): Likewise.
8162 (getIfModifiedSince): Likewise.
8163 (setDefaultRequestProperty): Likewise.
8164 (getDefaultRequestProperty): Likewise.
8165 (setContentHandlerFactory): Likewise.
8166 (setFileNameMap): Likewise.
8168 2003-05-02 Michael Koch <konqueror@gmx.de>
8170 * java/net/InetAddress.java:
8171 Merged class documentation with classpath.
8172 * java/net/JarURLConnection.java:
8173 Explicitely import all used classes.
8174 * java/net/URL.java:
8176 * java/net/ServerSocket.java,
8177 java/net/Socket.java:
8178 New versions from classpath.
8180 2003-05-02 Michael Koch <konqueror@gmx.de>
8182 * gnu/java/nio/FileChannelImpl.java
8183 (read): New implementation.
8184 (implRead): New methods.
8185 (write): New implementation, call other write insteal of read method.
8186 (implWrite): New methods.
8187 (map): Added comment.
8188 (transferFrom): Implemented.
8189 (transferTo): Implemented.
8190 (lock): Added checks to throw exceptions.
8191 (truncate): Added check to throw exception.
8192 * gnu/java/nio/natFileChannelImpl.cc
8193 (implRead): New method.
8194 (implWrite): New method.
8195 * java/nio/ByteBuffer.java
8196 (hashCode): Fixed comment.
8197 (get): Fixed exception documentation.
8198 (put): Fixed exception documentation.
8199 * java/nio/CharBuffer.java:
8200 Added comment for later optimizations.
8202 2003-04-30 Tom Tromey <tromey@redhat.com>
8205 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
8207 (type::compatible): Use _Jv_IsAssignableFrom.
8208 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
8209 (_Jv_IsAssignableFrom): Work even when source or target class is
8212 2003-04-30 Michael Koch <konqueror@gmx.de>
8214 * java/text/BreakIterator.java
8215 (clone): New method.
8217 2003-04-30 Michael Koch <konqueror@gmx.de>
8219 * java/text/CollationElementIterator.java,
8220 java/text/CollationKey.java,
8221 java/text/RuleBasedCollator.java:
8222 Merged copyright and documentation from classpath and
8223 rearranged some code. No code changes done.
8225 2003-04-30 Michael Koch <konqueror@gmx.de>
8227 * java/util/regex/Matcher.java
8228 (pattern): New member variable.
8229 (appendReplacement): New method.
8230 (appendTail): New method.
8233 (group): New method.
8234 (replaceFirst): Added documentation.
8235 (replaceAll): Added documentation.
8236 (groupCount): New method.
8237 (lookingAt): New method.
8238 (matches): New method.
8239 (reset): New method.
8240 (start): New method.
8241 * java/util/regex/Pattern.java
8242 (serialVersionUID): New constant.
8243 (CANON_EQ): New constant.
8244 (CASE_INSENSITIVE): New constant.
8245 (COMMENTS): New constant.
8246 (DOTALL): New constant.
8247 (MULTILINE): New constant.
8248 (UNICODE_CASE): New constant.
8249 (UNIX_LINES): New constant.
8250 (regex): New member variable.
8251 (flags): New member variable.
8252 (Pattern): New method.
8253 (compile): Documentation added.
8254 (flags): New method.
8255 (matches): Documentation added.
8256 (matcher): Documentation added.
8257 (split): Documentation added.
8258 (pattern): New method.
8260 2003-04-30 Michael Koch <konqueror@gmx.de>
8262 * gnu/java/security/Engine.java,
8263 gnu/java/security/OID.java,
8264 gnu/java/security/der/BitString.java,
8265 gnu/java/security/der/DER.java,
8266 gnu/java/security/der/DERReader.java,
8267 gnu/java/security/der/DERValue.java,
8268 gnu/java/security/der/DERWriter.java,
8269 gnu/java/security/provider/DSAKeyFactory.java,
8270 gnu/java/security/provider/X509CertificateFactory.java,
8271 gnu/java/security/x509/X500DistinguishedName.java,
8272 gnu/java/security/x509/X509CRL.java,
8273 gnu/java/security/x509/X509CRLEntry.java,
8274 gnu/java/security/x509/X509Certificate.java,
8275 java/security/cert/CRLSelector.java,
8276 java/security/cert/CertPathBuilder.java,
8277 java/security/cert/CertPathBuilderResult.java,
8278 java/security/cert/CertPathBuilderSpi.java,
8279 java/security/cert/CertPathParameters.java,
8280 java/security/cert/CertPathValidator.java,
8281 java/security/cert/CertPathValidatorResult.java,
8282 java/security/cert/CertPathValidatorSpi.java,
8283 java/security/cert/CertSelector.java,
8284 java/security/cert/CertStore.java,
8285 java/security/cert/CertStoreParameters.java,
8286 java/security/cert/CertStoreSpi.java,
8287 java/security/cert/CollectionCertStoreParameters.java,
8288 java/security/cert/LDAPCertStoreParameters.java,
8289 java/security/cert/PKIXBuilderParameters.java,
8290 java/security/cert/PKIXCertPathBuilderResult.java,
8291 java/security/cert/PKIXCertPathChecker.java,
8292 java/security/cert/PKIXCertPathValidatorResult.java,
8293 java/security/cert/PKIXParameters.java,
8294 java/security/cert/PolicyNode.java,
8295 java/security/cert/PolicyQualifierInfo.java,
8296 java/security/cert/TrustAnchor.java,
8297 javax/security/auth/x500/X500Principal.java:
8298 New files from classpath.
8299 * gnu/java/io/ASN1ParsingException.java,
8300 gnu/java/io/Base64InputStream.java,
8301 gnu/java/security/der/DEREncodingException.java,
8302 gnu/java/security/provider/DSAParameters.java,
8303 gnu/java/security/provider/DSASignature.java,
8304 gnu/java/security/provider/Gnu.java,
8305 gnu/java/security/provider/GnuDSAPrivateKey.java,
8306 gnu/java/security/provider/GnuDSAPublicKey.java,
8307 java/security/AlgorithmParameterGenerator.java,
8308 java/security/AlgorithmParameters.java,
8309 java/security/KeyFactory.java,
8310 java/security/KeyPairGenerator.java,
8311 java/security/KeyStore.java,
8312 java/security/MessageDigest.java,
8313 java/security/SecureClassLoader.java,
8314 java/security/SecureRandom.java,
8315 java/security/Security.java,
8316 java/security/Signature.java,
8317 java/security/cert/Certificate.java,
8318 java/security/cert/CertificateFactory.java,
8319 java/security/cert/CertificateFactorySpi.java,
8320 java/security/cert/X509CRL.java,
8321 java/security/cert/X509Certificate.java,
8322 java/security/spec/DSAPublicKeySpec.java:
8323 New versions from classpath.
8324 * gnu/java/security/provider/DERReader.java,
8325 gnu/java/security/provider/DERWriter.java,
8326 java/security/Engine.java: Removed.
8328 (java_source_files, javax_source_files): Added new files.
8329 * Makefile.in: Regenerated.
8331 2003-04-29 Michael Koch <konqueror@gmx.de>
8333 * javax/swing/JTable.java
8334 (AUTO_RESIZE_ALL_COLUMNS): New constant.
8335 (AUTO_RESIZE_LAST_COLUMN): New constant.
8336 (AUTO_RESIZE_NEXT_COLUMN): New constant.
8337 (AUTO_RESIZE_OFF): New constant.
8338 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8339 (JTable): New method.
8340 (columnAdded): New method.
8341 (columnMarginChanged): New method.
8342 (columnMoved): New method.
8343 (columnRemoved): New method.
8344 (columnSelectionChanged): New method.
8345 (editingCanceled): New method.
8346 (editingStopped): New method.
8347 (getColumnModel): New method.
8348 (getPreferredScrollableViewportSize): New method.
8349 (getScrollableBlockIncrement): New method.
8350 (getScrollableTracksViewportHeight): New method.
8351 (getScrollableTracksViewportWidth): New method.
8352 (getScrollableUnitIncrement): New method.
8353 (getSelectedRow): New method.
8354 (getSelectionModel): New method.
8355 (tableChanged): New method.
8356 (setModel): New method.
8357 (setSelectionMode): New method.
8358 (setSelectionModel): New method.
8359 (setShowGrid): New method.
8360 (valueChanged): New method.
8361 * javax/swing/text/DefaultEditorKit.java
8362 (backwardAction): New constant.
8363 (beepAction): New constant.
8364 (beginAction): New constant.
8365 (beginLineAction): New constant.
8366 (beginParagraphAction): New constant.
8367 (beginWordAction): New constant.
8368 (copyAction): New constant.
8369 (cutAction): New constant.
8370 (defaultKeyTypedAction): New constant.
8371 (deleteNextCharAction): New constant.
8372 (deletePrevCharAction): New constant.
8373 (downAction): New constant.
8374 (endAction): New constant.
8375 (endLineAction): New constant.
8376 (endOfLineStringProperty): New constant.
8377 (endParagraphAction): New constant.
8378 (endWordAction): New constant.
8379 (forwardAction): New constant.
8380 (insertBreakAction): New constant.
8381 (insertContentAction): New constant.
8382 (insertTabAction): New constant.
8383 (nextWordAction): New constant.
8384 (pageDownAction): New constant.
8385 (pageUpAction): New constant.
8386 (pasteAction): New constant.
8387 (previousWordAction): New constant.
8388 (readOnlyAction): New constant.
8389 (selectAllAction): New constant.
8390 (selectionBackwardAction): New constant.
8391 (selectionBeginAction): New constant.
8392 (selectionBeginLineAction): New constant.
8393 (selectionBeginParagraphAction): New constant.
8394 (selectionBeginWordAction): New constant.
8395 (selectionDownAction): New constant.
8396 (selectionEndAction): New constant.
8397 (selectionEndLineAction): New constant.
8398 (selectionEndParagraphAction): New constant.
8399 (selectionEndWordAction): New constant.
8400 (selectionForwardAction): New constant.
8401 (selectionNextWordAction): New constant.
8402 (selectionPreviousWordAction): New constant.
8403 (selectionUpAction): New constant.
8404 (selectLineAction): New constant.
8405 (selectParagraphAction): New constant.
8406 (selectWordAction): New constant.
8407 (upAction): New constant.
8408 (writableAction): New constant.
8410 2003-04-29 Michael Koch <konqueror@gmx.de>
8412 * java/util/PropertyPermission.java:
8413 New version from classpath
8414 * java/util/ResourceBundle.java:
8415 Partly merged from classpath
8416 (getObject): Reformated.
8417 (tryBundle): Set foundBundle = null if no bundle found.
8419 2003-04-29 Michael Koch <konqueror@gmx.de>
8421 * javax/swing/AbstractListModel.java,
8422 javax/swing/DefaultBoundedRangeModel.java,
8423 javax/swing/DefaultSingleSelectionModel.java:
8424 New Versions from classpath.
8426 2003-04-29 Michael Koch <konqueror@gmx.de>
8428 * java/awt/Window.java
8429 (show): Call super.show() instead of setVisible() to avoid endless
8431 (hide): Call super.hide() instead of setVisible() to avoid endless
8434 2003-04-29 Michael Koch <konqueror@gmx.de>
8436 * java/util/zip/Deflater.java,
8437 java/util/zip/DeflaterOutputStream.java:
8438 Partly merged with classpath.
8440 2003-04-27 Tom Tromey <tromey@redhat.com>
8442 * java/lang/natString.cc (_Jv_AllocString): Initialize
8445 (_Jv_NewStringUtf8Const): Likewise.
8447 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
8449 * include/jvm.h: (_Jv_GetNbArgs) added
8450 (_Jv_GetSafeArg) added
8452 * prims.cc: (_Jv_GetNbArgs) implemented
8453 (_Jv_GetSafeArg) implemented
8454 (_Jv_SetArgs) implemented
8455 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8456 setting _Jv_argc and _Jv_argv
8457 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8459 * java/lang/natRuntime.cc: (insertSystemProperties) use
8460 _Jv_GetSafeArg() instead of _Jv_argv
8462 2003-04-23 Tom Tromey <tromey@redhat.com>
8464 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8465 required by this object. Search superclasses to find required
8467 (get_alignment_from_class): Use alignment of type as it appears
8469 (ALIGNOF): New macro.
8470 (struct aligner): New helper structure.
8472 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
8474 * java/awt/Container.java (addImpl): Enable paint events if adding
8475 a lightweight to a heavyweight.
8476 (addNotify): Ensure that peer is created before
8477 addNotifyContainerChildren.
8478 (addNotifyContainerChildren): Enable paint events if a heavyweight
8479 container contains a lightweight.
8481 2003-04-20 Tom Tromey <tromey@redhat.com>
8483 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8484 java/io/DataInput.java, java/io/DataOutput.java: Imports from
8487 2003-04-19 Tom Tromey <tromey@redhat.com>
8489 * java/sql/Date.java, java/sql/DriverManager.java,
8490 java/sql/Time.java, java/sql/Timestamp.java: New versions from
8493 * Makefile.in: Rebuilt.
8494 * Makefile.am (ordinary_java_source_files): Added new files.
8495 * java/security/AlgorithmParameterGenerator.java,
8496 java/security/AlgorithmParameters.java, java/security/Engine.java,
8497 java/security/Identity.java, java/security/IdentityScope.java,
8498 java/security/KeyFactory.java,
8499 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8500 java/security/MessageDigest.java, java/security/Policy.java,
8501 java/security/ProtectionDomain.java,
8502 java/security/SecureRandom.java, java/security/Security.java,
8503 java/security/Signature.java, java/security/SignatureSpi.java,
8504 java/security/SignedObject.java, java/security/Signer.java,
8505 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8506 java/security/spec/PSSParameterSpec.java,
8507 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8508 java/security/spec/RSAOtherPrimeInfo.java: New versions from
8511 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
8513 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8514 (dispose): Null metrics.
8515 * gnu/awt/xlib/XToolkit.java (sync): Implement.
8516 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8518 (finalize): Call dispose.
8519 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8520 (gcCachedCount): New field.
8521 (finalize): New method.
8522 (putGCInCache): New method.
8523 (getGCFromCache): New method.
8524 * gnu/gcj/xlib/GC.java (GC): Make protected.
8525 (clone): Get new GC from cache if possible.
8526 (create): New static method.
8527 (dispose): Save old GC in cache.
8528 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8530 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8532 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8533 * java/awt/Container.java (visitChild): Dispose gfx2 when
8536 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
8538 * java/math/BigInteger.java (probablePrime): New.
8539 * java/math/BigDecimal.java (unscaledValue): New.
8541 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
8543 * java/io/File.java (getAbsolutePath): On Windows, take care
8544 of paths like "C:", "G:foo\bar", etc.
8545 (getName): Make it work correctly on Windows.
8546 (getParent): Make it work correctly on Windows. For UNIX,
8547 fix bug that causes "/" to be returned as the parent of "/",
8548 instead of null as returned by Sun's JRE.
8550 * java/io/natFileWin32.cc: Change copyright owner to FSF.
8552 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
8554 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8556 (CACHE_SIZE_PER_DISPLAY): New field
8557 (fontMetricsCache): New field
8558 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8559 loading ISO10646-1 fonts.
8561 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
8563 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8565 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8568 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
8570 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8573 2003-04-15 Jakub Jelinek <jakub@redhat.com>
8575 * configure.host (*-linux*): Don't set slow_pthread_self if primary
8576 installed libpthread is either linuxthreads with floating stacks or
8579 2003-04-14 Tom Tromey <tromey@redhat.com>
8581 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8584 2003-04-10 Tom Tromey <tromey@redhat.com>
8586 * verify.cc (pop64): Removed.
8587 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
8588 exception if top-of-stack is narrow.
8589 (initialize_stack): Check to ensure that <init> is not static and
8592 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
8594 * java/io/ObjectStreamException
8595 * java/io/FileFilter
8596 * java/io/FilenameFilter
8597 * java/io/ObjectInput
8598 * java/io/ObjectOutput
8599 * java/io/ObjectStreamConstants
8600 Minor doc fixes, format fixes, spelling corrections, etc.
8602 Corrected code samples in Javadocs to match reality
8603 * java/io/DataOutput
8604 * java/io/ObjectInputValidation
8605 Major documentation fixes - all Javadocs re-written or updated
8607 2003-04-06 Michael Koch <konqueror@gmx.de>
8609 * java/net/URLConnection.java:
8610 Import classes directly.
8611 (URLConnection): Merged class documentation with classpath.
8612 (url): Moved, documentation from classpath added.
8613 (doInput): Moved, documentation from classpath added.
8614 (doOutput): Moved, documentation from classpath added.
8615 (allowUserInteraction): Moved.
8616 (useCaches): Moved, documentation from classpath added.
8617 (ifModifiedSince): Moved, documentation from classpath added.
8618 (connected): Moved, documentation from classpath added.
8620 2003-04-06 Michael Koch <konqueror@gmx.de>
8622 * java/io/FileInputStream.java
8623 (skip): Renamed some variables to match classpath, added
8624 checks from classpath.
8626 2003-03-31 Michael Koch <konqueror@gmx.de>
8628 * javax/swing/AbstractAction.java
8629 (AbstractAction): Reformatted.
8630 (serialVersionUID): New private member variable.
8631 * javax/swing/plaf/BorderUIResource.java
8632 (serialVersionUID): New private member variable.
8633 * javax/swing/plaf/basic/BasicLookAndFeel.java
8634 (serialVersionUID): New private member variable.
8636 2003-03-31 Michael Koch <konqueror@gmx.de>
8638 * java/sql/Date.java
8639 (valueOf): Deprecated, reformatted.
8640 (toString): Deprecated, reformatted.
8641 * java/sql/Time.java
8642 (valueOf): Deprecated, reformatted.
8643 (toString): Deprecated, reformatted.
8645 2003-03-31 Michael Koch <konqueror@gmx.de>
8647 * java/rmi/dgc/VMID.java
8648 (isUnique): Deprecated.
8650 2003-03-31 Michael Koch <konqueror@gmx.de>
8653 (separator): Merged documentation from classpath.
8654 (separatorChar): Merged documentation from classpath.
8655 (pathSeparator): Merged documentation from classpath.
8656 (pathSeparatorChar): Merged documentation from classpath.
8657 (path): Merged documentation from classpath.
8658 (canRead): Merged documentation from classpath.
8659 (canWrite): Merged documentation from classpath.
8660 (createNewFile): Merged documentation from classpath.
8661 (delete): Merged documentation from classpath.
8662 (equals): Merged documentation from classpath.
8663 (exists): Merged documentation from classpath.
8664 (File): Renamed p to name to match classpath, merged documentation
8666 (getAbsolutePath): Merged documentation from classpath.
8667 (getCanonicalPath): Merged documentation from classpath.
8668 (getCanonicalFile): Merged documentation from classpath.
8669 (getName): Merged documentation from classpath.
8670 (getParent): Merged documentation from classpath.
8671 (getParentFile): Merged documentation from classpath.
8672 (getPath): Merged documentation from classpath.
8673 (hashCode): Merged documentation from classpath.
8674 (isAbsolute): Merged documentation from classpath.
8675 (isDirectory): Merged documentation from classpath.
8676 (isFile): Merged documentation from classpath.
8677 (isHidden): Merged documentation from classpath.
8678 (lastModified): Merged documentation from classpath.
8679 (length): Merged documentation from classpath.
8680 (list): Merged documentation from classpath.
8681 (listFiles): Merged documentation from classpath.
8682 (toString): Merged documentation from classpath.
8683 (toURL): Merged documentation from classpath.
8684 (mkdir): Merged documentation from classpath.
8685 (mkdirs): Merged documentation from classpath.
8686 (createTempFile): Merged documentation from classpath.
8687 (setReadOnly): Merged documentation from classpath.
8688 (listRoots): Merged documentation from classpath.
8689 (compareTo): Merged documentation from classpath.
8690 (renameTo): Merged documentation from classpath.
8691 (setLastModified): Merged documentation from classpath.
8692 * java/io/PrintStream.java
8693 (auto_flush): Merged documentation from classpath.
8694 (PrintStream): Merged documentation from classpath.
8695 (checkError): Merged documentation from classpath.
8696 (setError): Merged documentation from classpath.
8697 (close): Merged documentation from classpath.
8698 (flush): Merged documentation from classpath.
8699 (print): Merged documentation from classpath.
8700 (println): Merged documentation from classpath.
8701 (write): Renamed count to len to match classpath,
8702 merged documentation from classpath.
8703 * java/io/RandomAccessFile.java
8704 (readShort): Merged documentation from classpath.
8705 (readUnsignedByte): Merged documentation from classpath.
8706 (readUnsignedShort): Merged documentation from classpath.
8707 (readUTF): Merged documentation from classpath.
8708 (seek): Reformatted, merged documentation from classpath.
8709 (skipBytes): Renamed some variables to match classpath, reformatted,
8710 merged documentation from classpath.
8711 (write): Merged documentation from classpath.
8712 (writeBoolean): Merged documentation from classpath.
8713 (writeByte): Merged documentation from classpath.
8714 (writeShort): Merged documentation from classpath.
8715 (writeChar): Merged documentation from classpath.
8716 (writeInt): Merged documentation from classpath.
8717 (writeLong): Merged documentation from classpath.
8718 (writeFloat): Merged documentation from classpath.
8719 (writeDouble): Merged documentation from classpath.
8720 (writeBytes): Merged documentation from classpath.
8721 (writeChars): Merged documentation from classpath.
8722 (writeUTF): Reformatted.
8723 (getChannel): Reformatted.
8725 2003-03-31 Michael Koch <konqueror@gmx.de>
8727 * java/awt/font/TextAttribute.java
8728 (readResolve): Throws java.io.InvalidObjectException.
8730 2003-03-31 Michael Koch <konqueror@gmx.de>
8732 * java/rmi/server/LoaderHandler.java
8733 (loadClass): Deprecated.
8734 (getSecurityContext): Deprecated.
8735 * java/rmi/server/LogStream.java
8736 (getDefaultStream): Deprecated.
8737 (setDefaultStream): Deprecated.
8738 (getOutputStream): Deprecated.
8739 (setOutputStream): Deprecated.
8740 (write): Deprecated.
8741 (toString): Deprecated.
8742 (parseLevel): Deprecated.
8743 * java/rmi/server/Operation.java
8744 (Operation): Deprecated.
8745 (getOperation): Deprecated.
8746 (toString): Deprecated.
8747 * java/rmi/server/RemoteCall.java
8748 (getOutputStream): Deprecated.
8749 (releaseOutputStream): Deprecated.
8750 (getInputStream): Deprecated.
8751 (releaseInputStream): Deprecated.
8752 (getResultStream): Deprecated.
8753 (executeCall): Deprecated.
8755 * java/rmi/server/RemoteRef.java
8756 (invoke): Deprecated.
8757 (newCall): Deprecated.
8759 * java/rmi/server/RemoteStub.java
8760 (setRef): Deprecated.
8761 * java/rmi/server/Skeleton.java:
8762 No need to import java.lang.Exception explicitly.
8763 (dispatch): Deprecated.
8764 (getOperations): Deprecated.
8766 2003-03-31 Michael Koch <konqueror@gmx.de>
8768 * java/rmi/dgc/VMID.java,
8769 java/rmi/registry/RegistryHandler.java,
8770 java/rmi/server/LogStream.java,
8771 java/rmi/server/Operation.java,
8772 java/rmi/server/RemoteCall.java,
8773 java/rmi/server/RemoteRef.java,
8774 java/rmi/server/RemoteStub.java:
8777 2003-03-31 Michael Koch <konqueror@gmx.de>
8779 * javax/swing/AbstractCellEditor.java,
8780 javax/swing/AbstractListModel.java,
8781 javax/swing/ActionMap.java,
8782 javax/swing/BorderFactory.java,
8783 javax/swing/ButtonGroup.java,
8784 javax/swing/DefaultBoundedRangeModel.java,
8785 javax/swing/DefaultButtonModel.java,
8786 javax/swing/DefaultCellEditor.java,
8787 javax/swing/DefaultComboBoxModel.java,
8788 javax/swing/DefaultDesktopManager.java,
8789 javax/swing/DefaultListCellRenderer.java,
8790 javax/swing/DefaultSingleSelectionModel.java,
8791 javax/swing/InputMap.java,
8792 javax/swing/JComponent.java,
8793 javax/swing/JMenu.java,
8794 javax/swing/JSlider.java,
8795 javax/swing/KeyStroke.java,
8796 javax/swing/OverlayLayout.java,
8797 javax/swing/ScrollPaneLayout.java,
8798 javax/swing/SizeRequirements.java,
8799 javax/swing/UIManager.java,
8800 javax/swing/ViewportLayout.java,
8801 javax/swing/border/AbstractBorder.java,
8802 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8803 javax/swing/event/EventListenerList.java,
8804 javax/swing/table/AbstractTableModel.java,
8805 javax/swing/table/DefaultTableCellRenderer.java,
8806 javax/swing/table/DefaultTableColumnModel.java,
8807 javax/swing/table/DefaultTableModel.java,
8808 javax/swing/table/TableColumn.java,
8809 javax/swing/text/StyledEditorKit.java,
8810 javax/swing/tree/DefaultMutableTreeNode.java,
8811 javax/swing/tree/DefaultTreeModel.java,
8812 javax/swing/tree/DefaultTreeSelectionModel.java,
8813 javax/swing/tree/TreePath.java,
8814 javax/swing/undo/AbstractUndoableEdit.java,
8815 javax/swing/undo/StateEdit.java,
8816 javax/swing/undo/StateEditable.java,
8817 javax/swing/undo/UndoableEditSupport.java:
8818 Merges from classpath.
8820 2003-03-30 Tom Tromey <tromey@redhat.com>
8822 * java/lang/String.java (data, boffset, count): Documented.
8823 (String(byte[],String)): Reformatted.
8824 (String(byte[])): Likewise.
8825 (lastIndexOf(int)): Likewise.
8826 (lastIndexOf(String)): Likewise.
8827 (substring(int)): Renamed argument to match Classpath.
8828 (String(StringBuffer)): Don't share buffer if it is nearly empty.
8830 * java/lang/String.java: Miscellaneous minor formatting changes
8831 to match Classpath more closely.
8833 2003-03-29 Eric Blake <ebb9@email.byu.edu>
8834 Tom Tromey <tromey@redhat.com>
8836 * java/lang/natString.cc (hashCode): Use cachedHashCode.
8838 (charAt): Put index in exception.
8839 (contentEquals): New method.
8840 Include StringBuffer.h.
8841 * java/lang/String.java (cachedHashCode): New field.
8842 (String()): Follow classpath implementation.
8844 (contentEquals): Declare.
8845 (subSequence): Don't declare IndexOutIfBoundsException in throws
8847 (matches, replaceFirst, replaceAll, split): New methods from
8850 2003-03-29 Tom Tromey <tromey@redhat.com>
8852 * java/lang/String.java: Reordered to follow Classpath; merged in
8855 * java/text/MessageFormat.java: Removed some whitespace.
8857 * Makefile.in: Rebuilt.
8858 * Makefile.am (awt_java_source_files): Added new files.
8859 * gnu/javax/rmi/PortableServer.java,
8860 gnu/javax/rmi/CORBA/DelegateFactory.java,
8861 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8862 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8863 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8864 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8865 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8866 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8867 javax/rmi/PortableRemoteObject.java,
8868 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8869 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8870 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8871 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8872 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8873 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8875 * java/lang/natClass.cc (newInstance): Put method name in
8877 (getConstructor): Likewise.
8878 (getDeclaredConstructor): Likewise.
8879 (getPrivateMethod): Likewise.
8881 2003-03-28 Tom Tromey <tromey@redhat.com>
8883 * java/lang/reflect/Proxy.java: New version from Classpath.
8884 * java/lang/Package.java: New version from Classpath.
8886 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
8888 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8889 * configure: Regenerate.
8891 2003-03-28 Michael Koch <konqueror@gmx.de>
8893 * java/io/File.java:
8894 Import needed classes instead of whole packages, merged class
8895 documentation with classpath, moved constants and variables to top of
8897 * java/io/PrintStream.java:
8898 Merged class documentation with classpath, moved constants and
8899 variables to top of class.
8900 * java/io/RandomAccessFile.java
8901 (RandomAccessFile): Merged with classpath.
8902 (read): Merged with classpath).
8903 (read*): Reformatted.
8905 2003-03-28 Michael Koch <konqueror@gmx.de>
8907 * java/io/FileDescriptor.java
8908 (finalize): Throws Throwable, not IOException.
8909 * java/io/ObjectOutputStream.java
8910 (PutField.put): Doesnt throws anything.
8912 200303-28 Michael Koch <konqueror@gmx.de>
8914 * java/io/FileOutputStream.java:
8915 Merged class documentation and authors with classpath.
8916 (FileOutputStream): Partly merged with classpath.
8917 (write): Merged with classpath.
8918 (getChannel): Make it synchronized instead of explicit block in this
8920 * java/io/RandomAccessFile.java:
8921 Merged class documentation and authors with classpath.
8923 2003-03-26 Tom Tromey <tromey@redhat.com>
8925 * java/lang/natRuntime.cc (insertSystemProperties): Set
8926 gnu.classpath.home.url.
8927 * Makefile.in: Rebuilt.
8928 * Makefile.am: Define LIBDIR.
8930 2003-03-25 Michael Koch <konqueror@gmx.de>
8932 * java/io/FileInputStream.java
8933 (read): Renamed b to buf and off to offset.
8934 * java/io/FileOutputStream.java
8935 (ch): Documentation added.
8936 (FileOutputStream): Documentation added.
8937 (getFD): Documentation added.
8938 (write): Documentation added.
8939 (close): Documentation added.
8940 (getChannel): Documentation added.
8942 2003-03-24 Michael Koch <konqueror@gmx.de>
8944 * java/io/DataOutputStream.java
8945 (write): Merged from classpath.
8946 * java/io/File.java:
8947 Merged copyrigth with classpath.
8948 * java/io/FileInputStream.java
8949 (getChannel): Made it synchronized instead of using a synchronized
8951 * java/io/FileOutputStream.java: Reformatted.
8952 * java/io/InputStreamReader.java
8953 (InputStreamReader): Renamed enc to encoding_name.
8954 (close): Merged documentation from classpath.
8955 (getEncoding): Merged documentation from classpath.
8956 (ready): Merged documentation from classpath.
8957 (read): Merged documentation from classpath.
8958 * java/io/LineNumberReader.java
8959 (lineNumber): Made it private.
8960 (LineNumberReader): Use Constant instead of a direct value.
8961 * java/io/OutputStreamWriter.java
8962 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8963 documentation from classpath.
8964 (close): Merged documentation from classpath.
8965 (flush): Merged documentation from classpath.
8966 (write): Merged documentation from classpath.
8967 * java/io/PrintStream.java: Reformatted.
8969 2003-03-24 Michael Koch <konqueror@gmx.de>
8971 * javax/swing/text/ComponentView.java
8972 (getComponent): Must be final.
8973 * javax/swing/tree/DefaultTreeCellRenderer.java:
8975 * javax/swing/undo/StateEditable.java:
8978 2003-03-24 Michael Koch <konqueror@gmx.de>
8980 * java/rmi/activation/ActivationInstantiator.java:
8982 * java/rmi/activation/Activator.java:
8984 * java/rmi/registry/RegistryHandler.java:
8985 Remerged from classpath.
8987 2003-03-24 Michael Koch <konqueror@gmx.de>
8989 * java/util/Date.java:
8990 Fixed documentation starting tag to make javadoc happy.
8991 * java/util/regex/Pattern.java
8992 (Pattern): Implements Serializable.
8993 * java/util/PatternSyntaxException.java
8994 (serialVersionUID): New member variable.
8996 2003-03-24 Michael Koch <koqnueror@gmx.de>
8998 * java/awt/ContainerOrderFocusTraversalPolicy.java
8999 (getFirstComponent): Implemented.
9000 (getLastComponent): Implemented.
9001 (getDefaultComponent): Implemented.
9002 (setImplicitDownCycleTraversal): Fixed implementation.
9003 * java/awt/Robot.java
9004 (Robot): Added documentation.
9005 * java/awt/Toolkit.java
9006 (getFontList): Deprecated.
9007 (getFontMetrics): Deprecated.
9008 (getPrintJob): Added documentation.
9009 (getSystemSelection): Added documentation.
9010 (getLockingKeyState): Added documentation.
9011 (setLockingKeyState): Added documentation.
9012 (createCustomCursor): Added documentation.
9013 (getBestCursorSize): Added documentation.
9014 (getMaximumCursorColors): Added documentation.
9015 (isFrameStateSupported): Added documentation.
9017 2003-03-24 Michael Koch <konqueror@gmx.de>
9019 * java/io/RandomAccessFile.java:
9020 More little merges with classpath. No code changes.
9022 2003-03-24 Michael Koch <konqueror@gmx.de>
9024 * java/net/natInetAddressNoNet.cc:
9026 * java/net/natPlainDatagramSocketImplNoNet.cc:
9027 Fixed inlcude of java/net/DatagramPacket.h.
9028 * java/net/natPlainSocketImplNoNet.cc:
9029 Include some missing classes.
9031 2003-03-24 Michael Koch <konqueror@gmx.de>
9033 * java/awt/dnd/DropTarget.java
9034 (DropTargetAutoScroller): According to the online documentation, this
9035 is protected, but in reality it is public.
9036 * java/awt/dnd/DropTargetContext.java
9037 (TransferableProxy): According to the online documentation, this
9038 is protected, but in reality it is public.
9040 2003-03-24 Michael Koch <konqueror@gmx.de>
9042 * java/io/DataInputStream.java
9043 (): Wrapped documentation line.
9044 (): Fixed @return tag.
9045 * java/io/DataOutputStream.java
9046 (written): Moved to top of class.
9047 (all methods): Merged documentation from classpath.
9048 * java/io/File.java:
9049 Merged copyright year with classpath.
9050 * java/io/FileInputStream.java
9051 (all methods): Merged documentation from classpath.
9052 * java/io/LineNumberReader.java
9053 (getLineNumber): Fixed @return tag.
9054 * java/io/ObjectInputStream.java.
9056 * java/io/ObjectOutputStream.java:
9057 Reformatted, fixed some @see tags.
9058 * java/io/OutputStreamWriter.java:
9060 * java/io/Writer.java:
9063 2003-03-24 Michael Koch <konqueror@gmx.de>
9065 * java/awt/Frame.java
9066 (DEFAULT_CURSOR): Fixed @deprecated tag.
9067 (setCursor): Fixed @deprecated tag.
9069 2003-03-24 Michael Koch <konqueror@gmx.de>
9071 * java/beans/beancontext/BeanContextEvent.java:
9074 2003-03-23 Eric Blake <ebb9@email.byu.edu>
9076 * java/lang/natStringBuffer.cc (regionMatches): New function.
9077 * java/lang/String.java (count): Now package-private.
9078 * java/lang/StringBuffer.java: Merged with Classpath.
9080 2003-03-23 Michael Koch <konqueror@gmx.de>
9082 * java/io/BufferedOutputStream.java:
9084 * java/io/BufferedReader.java:
9086 * java/io/ByteArrayOutputStream.java
9087 (size): Fixed @see tag.
9088 * java/io/CharArrayWriter.java
9089 (size): Fixed @see tag.
9090 * java/io/DataInput.java:
9092 * java/io/DataOutput.java:
9094 * java/io/DataOutputStream.java:
9095 Merged copyright years with classpath.
9096 * java/io/Externalizable.java:
9098 * java/io/FileFilter.java:
9100 * java/io/FileInputStream.java:
9101 Merged copyright years with classpath.
9102 * java/io/FileOutputStream.java:
9103 Merged copyright years with classpath.
9104 * java/io/FilePermission.java
9105 (FilePermission): Replaced @XXX with FIXME:.
9106 * java/io/FileWriter.java:
9108 * java/io/FilenameFilter.java:
9110 * java/io/FilterInputStream.java:
9112 * java/io/FilterOutputStream.java:
9114 * java/io/FilterReader.java:
9116 * java/io/FilterWriter.java:
9118 * java/io/LineNumberInputStream.java
9119 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
9121 (getLineNumber): Fixed @return tag.
9122 * java/io/ObjectInput.java:
9124 * java/io/ObjectOutput.java:
9126 * java/io/ObjectStreamClass.java:
9128 * java/io/PrintStream.java:
9129 Merged copyright years with classpath.
9130 * java/io/PushbackReader.java
9131 (PushbackReader): Replaced @code with @param.
9132 * java/io/SerializablePermission.java:
9134 * java/io/StreamTokenizer.java
9135 (resetSyntax): Fixed @see tag.
9137 2003-03-22 Richard Henderson <rth@redhat.com>
9139 * sysdep/ia64/locks.h: Include ia64intrin.h.
9140 (compare_and_swap): Use __sync_bool_compare_and_swap.
9141 (compare_and_swap_release): Expose ar.ccv assignment.
9143 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
9145 * include/posix.h: Add suffix for darwin dynamic libraries.
9147 2003-03-21 Michael Koch <konqueror@gmx.de>
9149 * javax/swing/Action.java
9150 (ACCELERATOR_KEY): New constant.
9151 (ACTION_COMMAND_KEY): Likewise.
9152 (MNEMONIC_KEY): Likewise.
9153 * javax/swing/UnsupportedLookAndFeelException.java
9154 (UnsupportedLookAndFeelException): Must be public.
9155 * javax/swing/WindowConstants.java
9156 (EXIT_ON_CLOSE): New constant.
9157 * javax/swing/text/BadLocationException.java
9158 (offset): New member variable.
9159 (BadLocationException): New implementation, documentation added.
9160 (offsetRequested): New method.
9161 * javax/swing/text/Caret.java:
9163 * javax/swing/text/Document.java:
9166 2003-03-21 Michael Koch <konqueror@gmx.de>
9168 * java/rmi/activation/Activatable.java
9169 (serialVersionUID): New member variable.
9170 * java/rmi/activation/ActivationGroup.java
9171 (serialVersionUID): New member variable.
9172 * java/rmi/activation/ActivationGroupDesc.java
9173 (serialVersionUID): New member variable.
9174 * java/rmi/registry/Registry.java:
9176 (Registry): Deprecated.
9177 * java/rmi/server/LoaderHandler.java
9179 (LoaderHandler): Deprecated.
9180 * java/rmi/server/LogStream.java
9182 (LogStream): Deprecated.
9183 * java/rmi/server/Operation.java
9184 (Operation): Deprecated.
9185 * java/rmi/server/RMIFailureHandler.java:
9187 * java/rmi/server/RMISocketFactory.java:
9189 * java/rmi/server/RemoteCall.java
9190 (RemoteCall): Deprecated.
9191 * java/rmi/server/RemoteStub.java:
9193 * java/rmi/server/Skeleton.java
9195 (Skeleton): Deprecated.
9197 2003-03-21 Michael Koch <konqueror@gmx.de>
9199 * java/io/LineNumberReader.java
9200 (LineNumberReader): Merged documentation with classpath.
9201 (getLineNumber): Likewise.
9202 (setLineNumber): Likewise.
9206 (readLine): Likewise.
9209 2003-03-21 Michael Koch <konqueror@gmx.de>
9211 * java/rmi/RMISecurityManager.java
9212 (checkAccept): Removed.
9213 (checkAccess): Likewise.
9214 (checkAccess): Likewise.
9215 (checkAwtEventQueueAccess): Likewise.
9216 (checkConnect): Likewise.
9217 (checkCreateClassLoader): Likewise.
9218 (checkDelete): Likewise.
9219 (checkExec): Likewise.
9220 (checkExit): Likewise.
9221 (checkLink): Likewise.
9222 (checkListen): Likewise.
9223 (checkMemberAccess): Likewise.
9224 (checkMulticast): Likewise.
9225 (checkPackageAccess): Likewise.
9226 (checkPackageDefinition): Likewise.
9227 (checkPermission): Likewise.
9228 (checkPrintJobAccess): Likewise.
9229 (checkPropertiesAccess): Likewise.
9230 (checkPropertyAccess): Likewise.
9231 (checkRead): Likewise.
9232 (checkSecurityAccess): Likewise.
9233 (checkSetFactory): Likewise.
9234 (checkSystemClipboardAccess): Likewise.
9235 (checkTopLevelWindow): Likewise.
9236 (checkWrite): Likewise.
9238 2003-03-20 Michael Koch <konqueror@gmx.de>
9240 * gnu/java/nio/FileChannelImpl.java
9242 (map_address): New member variable.
9243 (length): Make it package private.
9244 (fd): Make it package private.
9245 (buf): Make it package private.
9246 (file_obj): Make it package private.
9247 (FileChannelImpl): New constructor.
9248 (nio_mmap_file): Use RawData instead of long.
9249 (nio_munmap_file): Use RawData instead of long.
9250 (nio_msync): Use RawData instead of long.
9251 (implCloseChannel): New implementation using map_address.
9254 (create_direct_mapped_buffer): Implemented, use RawData, throws
9256 (force): Use map_address instead of address.
9257 * gnu/java/nio/MappedByteFileBuffer.java
9259 (map_address): New member variable.
9260 (MappedByteFileBuffer): Use map_address instead of address, reformated.
9261 (several methods): Use map_address instead of address, replaced long
9262 with RawData where appropriate.
9263 * gnu/java/nio/natFileChannelImpl.cc
9264 (nio_mmap_file): Replaced long with RawData.
9265 (nio_munmap_file): Replaced long with RawData.
9266 (nio_msync): Replaced long with RawData.
9267 * gnu/java/nio/natMappedByteFileBuffer.cc
9268 (several methods): Replaced long with RawData where appropriate.
9270 2003-03-20 Michael Koch <konqueror@gmx.de>
9272 * java/net/InetAddress.java,
9273 java/net/JarURLConnection.java,
9274 java/net/PlainDatagramSocketImpl.java,
9275 java/net/PlainSocketImpl.java,
9276 java/net/URLConnection.java:
9277 Merged copyright statements with classpath for easier merging.
9279 2003-03-20 Michael Koch <konqueror@gmx.de>
9281 * java/io/FileInputStream.java
9282 (getChannel): New implementation.
9283 * java/io/FileOutputStream.java
9284 (ch): New member variable.
9285 (getChannel): Implemented.
9286 * java/io/RandomAccessFile.java
9287 (RandomAccessFile): Throws FileNotFoundException instead of
9289 (getChannel): New method.
9290 (ch): New member variable.
9292 2003-03-20 Michael Koch <konqueror@gmx.de>
9294 * java/io/DataOutputStream.java,
9296 java/io/FileInputStream.java,
9297 java/io/FileOutputStream.java,
9298 java/io/InputStreamReader.java,
9299 java/io/LineNumberReader.java,
9300 java/io/OutputStreamWriter.java,
9301 java/io/PrintStream.java,
9302 java/io/RandomAccessFile.java:
9303 Merged copyright statements with classpath for easier merging.
9305 2003-03-19 Michael Koch <konqueror@gmx.de>
9307 * java/lang/Process.java:
9308 Merged from classpath.
9310 2003-03-19 Michael Koch <konqueror@gmx.de>
9312 * java/io/FileOutputStream.java
9313 (FileOutputStream): New constructor, merged from classpath.
9314 * java/io/FileWriter.java
9315 (FileWriter): New constructor, merged from classpath.
9317 2003-03-18 Michael Koch <konqueror@gmx.de>
9319 * java/awt/ScrollPane.java
9320 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9321 (getViewportSize): Likewise.
9322 (addNotify): Likewise.
9323 (removeNotify): Likewise.
9324 * java/awt/ScrollPaneAdjustable.java
9325 (ScrollPaneAdjustable): No longer extends Scrollbar.
9326 * java/beans/beancontext/BeanContextServices.java:
9328 (getService): Added throws TooManyListenersException;
9329 * java/beans/beancontext/BeanContextServicesSupport.java:
9332 2003-03-18 Michael Koch <konqueror@gmx.de>
9334 * java/io/BufferedOutputStream.java,
9335 java/io/DataInput.java,
9336 java/io/DataInputStream.java,
9337 java/io/DataOutput.java,
9338 java/io/Externalizable.java:
9339 More merges from classpath.
9341 2003-03-18 Michael Koch <konqueror@gmx.de>
9343 * configure.in: Fixed links to platform dependant java.net files.
9344 * configure: Regenerated.
9345 * java/net/natInetAddress.cc,
9346 java/net/natNetworkInterface.cc,
9347 java/net/natPlainDatagramSocketImpl.cc,
9348 java/net/natPlainSocketImpl.cc:
9351 2003-03-18 Michael Koch <konqueror@gmx.de>
9353 * configure.in: Create links to architecture dependent files,
9354 introduced PLATFORMNET variable (set to NoNet for newlib usage).
9355 * configure: Regenerated.
9356 * java/net/natInetAddressNoNet.cc,
9357 java/net/natInetAddressPosix.cc,
9358 java/net/natInetAddressWin32.cc,
9359 java/net/natNetworkInterfaceNoNet.cc,
9360 java/net/natNetworkInterfacePosix.cc,
9361 java/net/natNetworkInterfaceWin32.cc,
9362 java/net/natPlainDatagramSocketImplNoNet.cc,
9363 java/net/natPlainDatagramSocketImplPosix.cc,
9364 java/net/natPlainDatagramSocketImplWin32.cc,
9365 java/net/natPlainSocketImplNoNet.cc,
9366 java/net/natPlainSocketImplPosix.cc,
9367 java/net/natPlainSocketImplWin32.cc: New files.
9369 2003-03-18 Michael Koch <konqueror@gmx.de>
9371 * java/io/BufferedReader.java,
9372 java/io/BufferedWriter.java,
9373 java/io/ByteArrayOutputStream.java,
9374 java/io/FileFilter.java,
9375 java/io/FilePermission.java,
9376 java/io/FileReader.java,
9377 java/io/FileWriter.java,
9378 java/io/FilenameFilter.java,
9379 java/io/FilterInputStream.java,
9380 java/io/FilterOutputStream.java,
9381 java/io/FilterReader.java,
9382 java/io/FilterWriter.java,
9383 java/io/ObjectInput.java,
9384 java/io/ObjectInputValidation.java,
9385 java/io/ObjectOutput.java,
9386 java/io/ObjectStreamField.java,
9387 java/io/PipedInputStream.java,
9388 java/io/PipedReader.java,
9389 java/io/PrintWriter.java,
9390 java/io/PushbackReader.java,
9391 java/io/Reader.java,
9392 java/io/SerializablePermission.java,
9393 java/io/StringReader.java,
9394 java/io/Writer.java:
9395 Merged from classpath.
9397 2003-03-17 Michael Koch <konqueror@gmx.de>
9399 * java/awt/ScrollPaneAdjustable.java:
9402 2003-03-17 Michael Koch <konqueror@gmx.de>
9404 * java/net/DatagramSocket.java
9405 (connect): Fixed comment.
9406 * java/nio/ByteBuffer.java
9407 (hasArray): Fixed comment.
9409 2003-03-17 Michael Koch <konqueror@gmx.de>
9411 * java/beans/Beans.java:
9412 Explicitely import classes not packages.
9413 * java/beans/FeatureDescriptor.java
9414 (preferred): New member variable.
9415 (isPreferred): New method.
9416 (setPreferred): New method.
9417 * java/beans/PropertyEditorManager.java:
9418 Explicitely import used classes.
9419 * java/beans/beancontext/BeanContextChild.java:
9420 Added line wrapping.
9421 * java/beans/beancontext/BeanContextChildSupport.java:
9423 * java/beans/beancontext/BeanContextEvent.java:
9426 2003-03-17 Michael Koch <konqueror@gmx.de>
9428 * java/awt/Dialog.java
9429 (Dialog): New constructor, changed implementations, added
9431 * java/awt/ScrollPaneAdjustable.java
9432 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9434 (serialVersionUID): New member variable.
9435 (sp): New member variable.
9436 (orientation): New member variable.
9437 (value): New member variable.
9438 (minimum): New member variable.
9439 (maximum): New member variable.
9440 (visibleAmount): New member variable.
9441 (unitIncrement): New member variable.
9442 (blockIncrement): New member variable.
9443 (AdjustmentListener): New member variable.
9444 (ScrollPaneAdjustable): New implementation.
9445 (addAdjustmentListener): New method.
9446 (removeAdjustmentListener): New method.
9447 (getAdjustmentListeners): New method.
9448 (getBlockIncrement): New method.
9449 (getMaximum): New method.
9450 (getMinimum): New method.
9451 (getOrientation): New method.
9452 (getUnitIncrement): New method.
9453 (getValue): New method.
9454 (getVisibleAmount): New method.
9455 (setBlockIncrement): New method.
9456 (setMaximum): Implemented.
9457 (setMinimum): Implemented.
9458 (setUnitIncrement): New method.
9459 (setValue): New method.
9460 (setVisibleAmount): Implemented.
9461 (paramString): New stubbed method.
9462 * java/awt/Window.java
9463 (show): Call setVisible().
9464 (hide): Call setVisible().
9465 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9466 and WINDOW_STATE_CHANGED.
9467 (processWindowFocusEvent): New method.
9468 (processWindowStateEvent): New method.
9469 (postEvent): Deprecated.
9470 (applyResourceBundle): Deprecated.
9471 * java/awt/datatransfer/DataFlavor.java
9472 (DataFlavor): Doesn't thow ClassNotFoundException.
9474 2003-03-17 Michael Koch
9476 * javax/print/attribute/Attribute.java,
9477 javax/print/attribute/AttributeSet.java,
9478 javax/print/attribute/PrintRequestAttributeSet.java:
9481 (javax_source_files): Added new files:
9482 javax/print/attribute/Attribute.java
9483 javax/print/attribute/AttributeSet.java
9484 javax/print/attribute/PrintRequestAttributeSet.java
9485 * Makefile.in: Regenerated.
9487 2003-03-17 Michael Koch
9489 * javax/print/attribute/Attribute.java,
9490 javax/print/attribute/AttributeSet.java,
9491 javax/print/attribute/PrintRequestAttributeSet.java:
9494 (awt_java_source_files): Added new files:
9495 javax/print/attribute/Attribute.java
9496 javax/print/attribute/AttributeSet.java
9497 javax/print/attribute/PrintRequestAttributeSet.java
9498 * Makefile.in: Regenerated.
9500 2003-03-16 Tom Tromey <tromey@redhat.com>
9502 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9504 * java/lang/natRuntime.cc (insertSystemProperties): Use
9505 _Jv_platform_path_separator.
9506 (nativeGetLibname): Use _Jv_platform_file_separator.
9507 (_load): Use _Jv_platform_onload_names.
9508 (onload_names): New global.
9509 * include/win32.h (_Jv_platform_file_separator): New define.
9510 (_Jv_platform_path_separator): Likewise.
9511 (_Jv_platform_onload_names): Likewise.
9512 (_Jv_platform_ffi_abi): Likewise.
9513 * include/posix.h (_Jv_platform_file_separator): New define.
9514 (_Jv_platform_path_separator): Likewise.
9515 (_Jv_platform_onload_names): Likewise.
9516 (_Jv_platform_ffi_abi): Likewise.
9518 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
9520 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9522 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
9524 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9526 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9527 list to Object,ObjectStreamClass, moved callReadMethod code up into
9528 readObject and added Class argument to all setXxxField calls.
9529 (callReadMethod): Changed Class argument to ObjectStreamClass to be
9530 consistent with ObjectOutputStream and to facilitate caching the
9531 Method in the future.
9532 (setBooleanField): Added Class argument.
9533 (setByteField): Likewise.
9534 (setCharField): Likewise.
9535 (setDoubleField): Likewise.
9536 (setFloatField): Likewise.
9537 (setIntField): Likewise.
9538 (setLongField): Likewise.
9539 (setShortField): Likewise.
9540 (setObjectField): Likewise.
9541 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9542 class hierarchy loop.
9543 (defaultWriteObject): Call writeFields with new argument list.
9544 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9545 list to Object,ObjectStreamClass, moved callWriteMethod up into
9546 writeObject and added Class argument to all getXxxField calls.
9547 (callWriteMethod): Added ObjectStreamClass argument to be able to
9548 get the proper class to call getMethod on (each class can have (or
9549 not have) its own writeObject method).
9550 (getBooleanField): Added Class argument.
9551 (getByteField): Likewise.
9552 (getCharField): Likewise.
9553 (getDoubleField): Likewise.
9554 (getFloatField): Likewise.
9555 (getIntField): Likewise.
9556 (getLongField): Likewise.
9557 (getShortField): Likewise.
9558 (getObjectField): Likewise.
9559 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9560 facilitate caching the Method object in the future.
9562 2003-03-12 Andreas Schwab <schwab@suse.de>
9564 * configure.in: Avoid trailing /. in toolexeclibdir.
9565 * configure: Rebuilt.
9567 2003-03-11 Michael Koch <konqueror@gmx.de>
9569 * gnu/java/nio/ByteBufferImpl.java
9570 (putInt): Use limit() instead of limit.
9571 * gnu/java/nio/CharBufferImpl.java
9572 (slice): Fixed implementation.
9573 (subSequence): Better bounds checking.
9574 * gnu/java/nio/MappedByteFileBuffer.java:
9575 Import all needed classes directly.
9576 * java/nio/ByteBuffer.java
9577 (hashCode): New dummy method.
9578 * java/nio/CharBuffer.java
9579 (array_offset): New member variable.
9580 (hasArray): Fixed documentation.
9581 (arrayOffset): Return array_offset.
9583 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
9585 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9586 setter; made return value of getter const char* instead of char*
9587 * prims.cc: removed all references to _Jv_ThisExecutable().
9588 These are in the platform-specific sections now.
9589 * posix.cc: define platform-specific _Jv_ThisExecutable().
9590 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9591 * win32.cc: define platform-specific _Jv_ThisExecutable()
9592 using GetModuleFilename()
9593 * java/lang/natRuntime.cc: set gnu.gcj.progname property
9594 to argv[0] instead of _Jv_ThisExecutable()
9596 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
9598 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9599 that is set if we are using addr2name.awk instead of addr2line.
9600 (NameFinder): Set usingAddr2name if using addr2name.awk.
9601 (getExternalLabel): New native method to convert a method
9602 name to an external label.
9603 (lookup): Convert name given by addr2line to an external label
9606 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9607 constant representing the prefix attached to method names to
9608 convert them to an external label.
9609 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
9612 2003-03-10 Tom Tromey <tromey@redhat.com>
9614 * Makefile.in: Rebuilt.
9615 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9616 (JC1FLAGS): Removed -Wno-deprecated.
9618 2003-03-10 Michael Koch <konqueror@gmx.de>
9620 * java/nio/ByteOrder.java
9621 (nativeOrder): Working implementation, added documentation.
9622 (toString): Added documentation.
9624 2003-03-10 Michael Koch <konqueror@gmx.de>
9626 * java/net/DatagramSocket.java,
9627 java/net/MulticastSocket.java,
9628 java/net/Socket.java,
9630 java/net/URLConnection.java:
9631 Fixed some documentation tags to make javadoc and friends happy.
9633 2003-03-10 Michael Koch <koqnueror@gmx.de>
9635 * java/beans/beancontext/BeanContextServicesSupport.java,
9636 java/beans/beancontext/BeanContextSupport.java: New files.
9638 (awt_source_files): Added new files.
9639 * Makefile.in: Regenerated.
9641 2003-03-10 Michael Koch <konqueror@gmx.de>
9643 * java/awt/FocusTraversalPolicy.java
9644 (FocusTraversalPolicy): Documentation added.
9645 (getComponentAfter): Documentation added.
9646 (getComponentBefore): Documentation added.
9647 (getFirstComponent): Documentation added.
9648 (getLastComponent): Documentation added.
9649 (getDefaultComponent): Documentation added.
9650 (getInitialComponent): Documentation added.
9651 * java/awt/ScrollPaneAdjustable.java
9652 (sp): New member variable.
9653 (orientation): New member variable.
9654 (value): New member variable.
9655 (minimum): New member variable.
9656 (maximum): New member variable.
9657 (visibleAmount): New member variable.
9658 (unitIncrement): New member variable.
9659 (blockIncrement): New member variable.
9660 (adjustmentListener): New member variable.
9661 (ScrollPaneAdjustable): Rewrote.
9662 (addAdjustmentListener): New method.
9663 (removeAdjustmentListener): New method.
9664 (getAdjustmentListeners): New method.
9665 (getBlockIncrement): New method.
9666 (getMaximum): New method.
9667 (getMinimum): New method.
9668 (getOrientation): New method.
9669 (getUnitIncrement): New method.
9670 (getValue): New method.
9671 (getVisibleAmount): New method.
9672 (setBlockIncrement): New method.
9673 (setUnitIncrement): New method.
9674 (setMaximum): Implemented.
9675 (setMinimum): Implemented.
9676 (setValue): New method.
9677 (setVisibleAmount): Implemented.
9678 (paramString): New method.
9679 * java/awt/Window.java
9680 (show): Use setVisible(true) instead of super.show().
9681 (hide): Use sevVisible(false) instead of super.hide().
9682 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9683 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9684 (postEvent): Deprecated.
9685 (applyResourceBundle): Deprecated.
9686 (processWindowFocusEvent): New method.
9687 (processWindowStateEvent): New method.
9688 * java/awt/datatransfer/DataFlavor.java: Reindented.
9689 * java/awt/font/TextHitInfo.java
9690 (charIndex): New member variable.
9691 (leadingEdge): New member variable.
9692 (TextHitInfo): New constructor.
9693 (getCharIndex): Implemented.
9694 (isLeadingEdge): Implemented.
9695 (getInsertionIndex): Implemented.
9696 (hashCode): Access charIndex directly.
9697 (equals): Reformated.
9698 (leading): Implemented.
9699 (trailing): Implemented.
9700 (beforeOffset): Implemented.
9701 (afterOffset): Implemented.
9702 (getOtherHit): Implemented.
9703 (getOffsetHit): Implemented.
9704 (toString): Implemented.
9705 * java/awt/image/BufferedImage.java
9706 (BufferedImage): Implements WritableRenderedImage.
9707 (observers): New member variable.
9708 (addTileObserver): New method.
9709 (removeTileObserver): New method.
9711 2003-03-09 Tom Tromey <tromey@redhat.com>
9714 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9715 to lseek. Return 0 if we can't compute the value.
9717 2003-03-03 Michael Koch <konqueror@gmx.de>
9719 * java/net/NetworkInterface.java: Merged with classpath.
9721 2003-03-03 Tom Tromey <tromey@redhat.com>
9723 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9725 (handle_ret_insn): Fail if returning to jsr that appears at end of
9728 2003-03-03 Michael Koch <konqueror@gmx.de>
9731 (ordinary_java_source_files):
9732 Added gnu/java/nio/MappedByteFileBuffer.java.
9734 Added gnu/java/nio/natMappedByteFileBuffer.cc.
9735 * Makefile.in: Regenerated.
9737 2003-03-03 Michael Koch <konqueror@gmx.de>
9739 * java/net/DatagramSocket.java
9740 (connect): Merged comment from classpath.
9741 (receive): Merged documentation from classpath.
9742 * java/net/Socket.java
9743 (setSoTimeout): Clarified documentation.
9745 (getPath): Merged from classpath.
9746 (getUserInfo): Merged from classpath.
9747 (getQuery): Merged from classpath.
9748 * java/net/URLStreamHandler.java
9749 (toExternalForm): Merged from classpath.
9751 2003-03-02 Mark Wielaard <mark@klomp.org>
9753 * java/util/Properties.java (load): Only skip line if the first
9754 character is a comment, whitespaces don't count.
9756 2003-03-02 Michael Koch <konqueror@gmx.de>
9758 * java/net/NetPermission.java:
9759 Merged copyright with classpath.
9761 2003-03-02 Michael Koch <konqueror@gmx.de>
9763 * java/lang/Package.java:
9764 Remerged from classpath.
9766 2003-03-02 Michael Koch <konqueror@gmx.de>
9768 * java/net/HttpURLConnection.java
9769 (HTTP_SERVER_ERROR): Deprecated.
9770 * java/net/MulticastSocket.java
9771 (send): Replaced checkMulticast with appropriate checkPermission call,
9773 * java/net/URLDecoder.java
9774 (decode): Deprecated.
9775 * java/net/URLEncoder.java
9776 (encode): Deprecated.
9778 2003-03-02 Michael Koch <konqueror@gmx.de>
9780 * javax/swing/text/Caret.java
9781 (getMagicCaretPosition): Fixed typo in method name.
9782 * javax/swing/text/DefaultCaret.java
9783 (getMagicCaretPosition): Fixed typo in method name.
9785 2003-03-02 Michael Koch <konqueror@gmx.de>
9787 * java/awt/List.java
9788 (setMultipleSelections): Deprecated.
9789 (delItem): Deprecated.
9790 * java/awt/MenuComponent.java
9791 (getPeer): Deprecated.
9792 * java/awt/ScrollPane.java
9793 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9794 * java/awt/dnd/MouseDragGestureRecognizer.java
9795 (mouseClicked): Added comment.
9796 (mousePressed): Added comment.
9797 (mouseReleased): Added comment.
9798 (mouseEntered): Added comment.
9799 (mouseExited): Added comment.
9800 (mouseDragged): Added comment.
9801 (mouseMoved): Added comment.
9802 * java/awt/event/KeyEvent.java
9803 (KeyEvent): Deprecated.
9804 (setModifiers): Deprecated.
9806 2003-03-02 Michael Koch <konqueror@gmx.de>
9808 * gnu/java/nio/FileChannelImpl.java
9809 (fd): Type FileDescriptor instead of int.
9810 (lengthInternal): Removed.
9811 (FileChannelImpl): Fixed arguments, check type of file object.
9812 (size): Made it native.
9813 (implPosition): New native method.
9814 (implTruncate): New native method.
9815 (position): Implemented.
9816 (truncate): Implemented.
9817 (nio_mmap_file): Changed arguments.
9818 (nio_munmap_file): Changed arguments.
9819 (nio_msync): Changed arguments.
9820 * gnu/java/nio/natFileChannelImpl.cc
9821 (lengthInternal): Removed.
9823 (implPosition): New method.
9824 (implTruncate): New method.
9825 (nio_mmap_file): Changed arguments.
9826 (nio_munmap_file): Changed arguments.
9827 (nio_msync): Changed arguments.
9829 2003-03-02 Michael Koch <konqueror@gmx.de>
9831 * java/awt/dnd/DropTargetContext.java:
9832 Compile fix: Forgot to commit import.
9834 2003-03-02 Michael Koch <konqueror@gmx.de>
9836 * java/awt/Component.java,
9837 java/awt/ScrollPane.java:
9840 2003-03-02 Michael Koch <konqueror@gmx.de>
9842 * java/awt/dnd/DnDEventMulticaster.java: New file.
9843 * java/awt/dnd/DragSource.java
9844 (flavorMap): New member variable.
9845 (dragSourceListener): New member variable.
9846 (dragSourceMotionListener): New member variable.
9847 (getFlavorMap): Implemented.
9848 (createDragGestureRecognizer): Implemented.
9849 (addDragSourceListener): Implemented.
9850 (removeDragSourceListener): Implemented.
9851 (getDragSourceListeners): Implemented.
9852 (addDragSourceMotionListener): Implemented.
9853 (removeDragSourceMotionListener): Implemented.
9854 (getDragSourceMotionListeners): Implemented.
9855 (getListeners): Implemented.
9856 * java/awt/dnd/DragSourceContext.java
9857 (peer): New member variable.
9858 (cursor): New member variable.
9859 (transferable): New member variable.
9860 (trigger): New member variable.
9861 (dragSourceListener): New member variable.
9862 (image): New member variable.
9863 (offset): New member variable.
9864 (DragSourceContext): Implemented.
9865 (getDragSource): Implemented.
9866 (getComponent): Implemented.
9867 (getTrigger): Implemented.
9868 (getSourceActions): Implemented.
9869 (setCursor): Implemented.
9870 (getCursor): Implemented.
9871 (addDragSourceListener): Implemented.
9872 (removeDragSourceListener): Implemented.
9873 (getTransferable): Implemented.
9874 * java/awt/dnd/DropTarget.java
9875 (DropTargetAutoScroller.component): New member variable.
9876 (DropTargetAutoScroller.point): New member variable.
9877 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9878 (DropTargetAutoScroller.updateLocation): Implemented.
9879 (active): Renamed from isActive, defaults to true now.
9880 (component): New member variable.
9881 (flavorMap): New member variable.
9882 (actions): New member variable.
9883 (dropTargetContext): New member variable.
9884 (dropTargetListener): New member variable.
9885 (DropTarget): Implemented.
9886 (getComponent): Implemented.
9887 (setComponent): Implemented.
9888 (setDefaultActions): Implemented.
9889 (getDefaultActions): Implemented.
9890 (setActive): Use active instead of isActive.
9891 (isActive): Use active instead of isActive.
9892 (addDropTargetListener): Implemented.
9893 (removeDropTargetListener): Implemented.
9894 (getFlavorMap): Implemented.
9895 (setFlavorMap): Implemented.
9896 (getDropTargetContext): Implemented.
9897 (createDropTargetContext): Implemented.
9898 (createDropTargetAutoScroller): Implemented.
9899 * java/awt/dnd/DropTargetContext.java
9900 (TransferableProxy.getTransferDataFlavors): Implemented.
9901 (TransferableProxy.isDataFlavorSupported): Implemented.
9902 (TransferableProxy.getTransferData): Implemented.
9903 (dropTarget): New member variable.
9904 (dtcp): New member variable.
9905 (DropTargetContext): New package private constructor.
9906 (getDropTarget): Implemented.
9907 (getComponent): Implemented.
9908 (addNotify): Implemented.
9909 (removeNotify): Implemented.
9910 (getCurrentDataFlavorsAsList): Implemented.
9911 (isDataFlavorSupported): Implemented.
9912 * java/awt/dnd/MouseDragGestureRecognizer.java
9913 (registerListeners): Implemented.
9914 (unregisterListeners): Implemented.
9916 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9917 * Makefile.in: Regenerated.
9919 2003-03-02 Michael Koch <konqueror@gmx.de>
9921 * java/awt/Component.java
9922 (eventTypeEnabled): New method.
9923 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9924 * java/awt/Container.java
9925 (changeSupport): New member variable.
9926 (addPropertyChangeListener): New methods.
9927 * java/awt/ContainerOrderFocusTraversalPolicy.java
9928 (ContainerOrderFocusTraversalPolicy): Added comment.
9929 (getComponentAfter): Throw exception, documentation added.
9930 (getComponentBefore): Throw exception, documentation added.
9931 (getFirstComponent): Throw exception, documentation added.
9932 (getLastComponent): Throw exception, documentation added.
9933 (getDefaultComponent): Throw exception, documentation added.
9934 * java/awt/EventQueue.java: Reindented.
9935 * java/awt/FocusTraversalPolicy.java:
9936 (FocusTraversalPolicy): Added comment.
9937 (getComponentAfter): Documentation added.
9938 (getComponentBefore): Documentation added.
9939 (getFirstComponent): Documentation added.
9940 (getLastComponent): Documentation added.
9941 (getDefaultComponent): Documentation added.
9942 (getInitialComponent): Documentation added.
9943 * java/awt/ScrollPane.java
9944 (wheelScrollingEnabled): New member variable.
9945 (ScrollPane): Initialize wheelScollingEnabled.
9946 (eventTypeEnabled): New method.
9947 (isWheelScrollingEnabled): New method.
9948 (setWheelScrollingEnabled): New method.
9950 2003-03-02 Michael Koch <konqueror@gmx.de>
9952 * java/net/DatagramSocket.java
9953 (closed): New member variable.
9954 (close): Use closed variable.
9955 (getInetAddress): No need to call isConnected().
9956 (getPort): No need to call isConnected().
9957 (disconnect): Reset remoteAddress and remotePort, fixed typo.
9958 (isClosed): Reimplemented.
9960 2003-03-02 Michael Koch <konqueror@gmx.de>
9962 * configure.in: Added check for memory mapping of files.
9963 * configure: Regenerated.
9964 * config.h.in: Regenerated.
9966 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
9968 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9969 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9971 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9973 * java/io/File.java (normalizePath): Remove trailing separator
9974 on Windows only if path is not of the form "x:\".
9976 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9977 (java::io::File::attr): Change formatting a bit and use
9978 WIN32_EPOCH_MILLIS instead of magic numbers.
9979 (java::io::File::isAbsolute): Path must have at least 3
9980 characters for a UNC network path.
9981 (java::io::File::init_native): Define.
9982 (java::io::File::performCreate): Likewise.
9983 (java::io::File::performSetReadOnly): Likewise.
9984 (java::io::File::performSetLastModified): Likewise.
9985 (java::io::File::performListRoots): Likewise.
9987 2003-03-01 Tom Tromey <tromey@redhat.com>
9989 * java/lang/natObject.cc: Don't include assert.h.
9990 (heavy_lock_obj_finalization_proc): Use JvAssert.
9991 (remove_all_heavy): Likewise.
9992 (_Jv_MonitorEnter): Likewise.
9993 (_Jv_MonitorExit): Likewise.
9996 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9998 * java/io/File (getAbsolutePath): Prefix drive specifier on
9999 Windows for paths starting with a '\'.
10000 (toURL): Make URL more consistent with what Sun's JDK returns.
10002 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
10003 true only if the path is a UNC network path or it starts with a
10006 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
10007 Be prepared to handle either '/' or '\\' in the file path for
10008 Windows if using the "file" protocol.
10009 Canonicalise the file path if using a relative path in the given
10010 context and the "file" protocol.
10012 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
10014 * java/lang/natWin32Process.cc (startProcess): Double-quote each
10015 program array element passed to CreateProcess.
10017 2003-03-01 Tom Tromey <tromey@redhat.com>
10019 * java/rmi/registry/RegistryHandler.java: Deprecate.
10021 2003-03-01 Tom Tromey <tromey@redhat.com>
10023 * javax/accessibility/AccessibleEditableText.java,
10024 javax/accessibility/AccessibleHyperlink.java: New versions from
10027 * gnu/java/locale/LocaleInformation_af_ZA.java,
10028 gnu/java/locale/LocaleInformation_ar_AE.java,
10029 gnu/java/locale/LocaleInformation_ar_BH.java,
10030 gnu/java/locale/LocaleInformation_ar_DZ.java,
10031 gnu/java/locale/LocaleInformation_ar_EG.java,
10032 gnu/java/locale/LocaleInformation_ar_IN.java,
10033 gnu/java/locale/LocaleInformation_ar_IQ.java,
10034 gnu/java/locale/LocaleInformation_ar_JO.java,
10035 gnu/java/locale/LocaleInformation_ar_KW.java,
10036 gnu/java/locale/LocaleInformation_ar_LB.java,
10037 gnu/java/locale/LocaleInformation_ar_LY.java,
10038 gnu/java/locale/LocaleInformation_ar_MA.java,
10039 gnu/java/locale/LocaleInformation_ar_OM.java,
10040 gnu/java/locale/LocaleInformation_ar_QA.java,
10041 gnu/java/locale/LocaleInformation_ar_SD.java,
10042 gnu/java/locale/LocaleInformation_ar_SY.java,
10043 gnu/java/locale/LocaleInformation_ar_TN.java,
10044 gnu/java/locale/LocaleInformation_ar_YE.java,
10045 gnu/java/locale/LocaleInformation_be_BY.java,
10046 gnu/java/locale/LocaleInformation_bn_IN.java,
10047 gnu/java/locale/LocaleInformation_br_FR.java,
10048 gnu/java/locale/LocaleInformation_bs_BA.java,
10049 gnu/java/locale/LocaleInformation_ca_ES.java,
10050 gnu/java/locale/LocaleInformation_cs_CZ.java,
10051 gnu/java/locale/LocaleInformation_cy_GB.java,
10052 gnu/java/locale/LocaleInformation_da_DK.java,
10053 gnu/java/locale/LocaleInformation_de_AT.java,
10054 gnu/java/locale/LocaleInformation_de_BE.java,
10055 gnu/java/locale/LocaleInformation_de_CH.java,
10056 gnu/java/locale/LocaleInformation_de_DE.java,
10057 gnu/java/locale/LocaleInformation_de_LU.java,
10058 gnu/java/locale/LocaleInformation_el_GR.java,
10059 gnu/java/locale/LocaleInformation_en_AU.java,
10060 gnu/java/locale/LocaleInformation_en_BW.java,
10061 gnu/java/locale/LocaleInformation_en_CA.java,
10062 gnu/java/locale/LocaleInformation_en_DK.java,
10063 gnu/java/locale/LocaleInformation_en_GB.java,
10064 gnu/java/locale/LocaleInformation_en_HK.java,
10065 gnu/java/locale/LocaleInformation_en_IE.java,
10066 gnu/java/locale/LocaleInformation_en_IN.java,
10067 gnu/java/locale/LocaleInformation_en_NZ.java,
10068 gnu/java/locale/LocaleInformation_en_PH.java,
10069 gnu/java/locale/LocaleInformation_en_SG.java,
10070 gnu/java/locale/LocaleInformation_en_US.java,
10071 gnu/java/locale/LocaleInformation_en_ZA.java,
10072 gnu/java/locale/LocaleInformation_en_ZW.java,
10073 gnu/java/locale/LocaleInformation_es_AR.java,
10074 gnu/java/locale/LocaleInformation_es_BO.java,
10075 gnu/java/locale/LocaleInformation_es_CL.java,
10076 gnu/java/locale/LocaleInformation_es_CO.java,
10077 gnu/java/locale/LocaleInformation_es_CR.java,
10078 gnu/java/locale/LocaleInformation_es_DO.java,
10079 gnu/java/locale/LocaleInformation_es_EC.java,
10080 gnu/java/locale/LocaleInformation_es_ES.java,
10081 gnu/java/locale/LocaleInformation_es_GT.java,
10082 gnu/java/locale/LocaleInformation_es_HN.java,
10083 gnu/java/locale/LocaleInformation_es_MX.java,
10084 gnu/java/locale/LocaleInformation_es_NI.java,
10085 gnu/java/locale/LocaleInformation_es_PA.java,
10086 gnu/java/locale/LocaleInformation_es_PE.java,
10087 gnu/java/locale/LocaleInformation_es_PR.java,
10088 gnu/java/locale/LocaleInformation_es_PY.java,
10089 gnu/java/locale/LocaleInformation_es_SV.java,
10090 gnu/java/locale/LocaleInformation_es_US.java,
10091 gnu/java/locale/LocaleInformation_es_UY.java,
10092 gnu/java/locale/LocaleInformation_es_VE.java,
10093 gnu/java/locale/LocaleInformation_et_EE.java,
10094 gnu/java/locale/LocaleInformation_eu_ES.java,
10095 gnu/java/locale/LocaleInformation_fa_IR.java,
10096 gnu/java/locale/LocaleInformation_fi_FI.java,
10097 gnu/java/locale/LocaleInformation_fo_FO.java,
10098 gnu/java/locale/LocaleInformation_fr_BE.java,
10099 gnu/java/locale/LocaleInformation_fr_CA.java,
10100 gnu/java/locale/LocaleInformation_fr_CH.java,
10101 gnu/java/locale/LocaleInformation_fr_FR.java,
10102 gnu/java/locale/LocaleInformation_fr_LU.java,
10103 gnu/java/locale/LocaleInformation_ga_IE.java,
10104 gnu/java/locale/LocaleInformation_gd_GB.java,
10105 gnu/java/locale/LocaleInformation_gl_ES.java,
10106 gnu/java/locale/LocaleInformation_gv_GB.java,
10107 gnu/java/locale/LocaleInformation_he_IL.java,
10108 gnu/java/locale/LocaleInformation_hi_IN.java,
10109 gnu/java/locale/LocaleInformation_hr_HR.java,
10110 gnu/java/locale/LocaleInformation_hu_HU.java,
10111 gnu/java/locale/LocaleInformation_id_ID.java,
10112 gnu/java/locale/LocaleInformation_it_CH.java,
10113 gnu/java/locale/LocaleInformation_it_IT.java,
10114 gnu/java/locale/LocaleInformation_iw_IL.java,
10115 gnu/java/locale/LocaleInformation_ja_JP.java,
10116 gnu/java/locale/LocaleInformation_ka_GE.java,
10117 gnu/java/locale/LocaleInformation_kl_GL.java,
10118 gnu/java/locale/LocaleInformation_ko_KR.java,
10119 gnu/java/locale/LocaleInformation_kw_GB.java,
10120 gnu/java/locale/LocaleInformation_lt_LT.java,
10121 gnu/java/locale/LocaleInformation_lv_LV.java,
10122 gnu/java/locale/LocaleInformation_mi_NZ.java,
10123 gnu/java/locale/LocaleInformation_mk_MK.java,
10124 gnu/java/locale/LocaleInformation_mr_IN.java,
10125 gnu/java/locale/LocaleInformation_mt_MT.java,
10126 gnu/java/locale/LocaleInformation_nl_BE.java,
10127 gnu/java/locale/LocaleInformation_nl_NL.java,
10128 gnu/java/locale/LocaleInformation_nn_NO.java,
10129 gnu/java/locale/LocaleInformation_no_NO.java,
10130 gnu/java/locale/LocaleInformation_oc_FR.java,
10131 gnu/java/locale/LocaleInformation_pl_PL.java,
10132 gnu/java/locale/LocaleInformation_pt_BR.java,
10133 gnu/java/locale/LocaleInformation_pt_PT.java,
10134 gnu/java/locale/LocaleInformation_ro_RO.java,
10135 gnu/java/locale/LocaleInformation_ru_RU.java,
10136 gnu/java/locale/LocaleInformation_ru_UA.java,
10137 gnu/java/locale/LocaleInformation_se_NO.java,
10138 gnu/java/locale/LocaleInformation_sk_SK.java,
10139 gnu/java/locale/LocaleInformation_sl_SI.java,
10140 gnu/java/locale/LocaleInformation_sq_AL.java,
10141 gnu/java/locale/LocaleInformation_sr_YU.java,
10142 gnu/java/locale/LocaleInformation_sv_FI.java,
10143 gnu/java/locale/LocaleInformation_sv_SE.java,
10144 gnu/java/locale/LocaleInformation_ta_IN.java,
10145 gnu/java/locale/LocaleInformation_te_IN.java,
10146 gnu/java/locale/LocaleInformation_tg_TJ.java,
10147 gnu/java/locale/LocaleInformation_tl_PH.java,
10148 gnu/java/locale/LocaleInformation_tr_TR.java,
10149 gnu/java/locale/LocaleInformation_uk_UA.java,
10150 gnu/java/locale/LocaleInformation_ur_PK.java,
10151 gnu/java/locale/LocaleInformation_uz_UZ.java,
10152 gnu/java/locale/LocaleInformation_vi_VN.java,
10153 gnu/java/locale/LocaleInformation_yi_US.java,
10154 gnu/java/locale/LocaleInformation_zh_CN.java,
10155 gnu/java/locale/LocaleInformation_zh_HK.java,
10156 gnu/java/locale/LocaleInformation_zh_SG.java,
10157 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
10158 info; from Classpath.
10160 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
10161 isPaintPending): New methods.
10162 * gnu/awt/xlib/XFramePeer.java (getState, setState,
10163 setMaximizedBounds): New methods.
10164 (beginLayout, endLayout, isPaintPending): Likewise.
10165 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
10166 (requestFocus): Likewise.
10167 (isObscured): Likewise.
10168 (canDetermineObscurity): Likewise.
10169 (coalescePaintEvent): Likewise.
10170 (updateCursorImmediately): Likewise.
10171 (createVolatileImage): Likewise.
10172 (handlesWheelScrolling): Likewise.
10173 (createBuffers): Likewise.
10174 (getBackBuffer): Likewise.
10176 (destroyBuffers): Likewise.
10178 * Makefile.in: Rebuilt.
10179 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
10181 * gnu/java/awt/GLightweightPeer.java,
10182 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10183 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10184 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10185 gnu/java/awt/peer/gtk/GtkFramePeer.java,
10186 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10187 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10188 java/awt/dnd/peer/DragSourceContextPeer.java,
10189 java/awt/dnd/peer/DropTargetContextPeer.java,
10190 java/awt/peer/ButtonPeer.java,
10191 java/awt/peer/CheckboxMenuItemPeer.java,
10192 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
10193 java/awt/peer/ComponentPeer.java,
10194 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
10195 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
10196 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
10197 java/awt/peer/MenuBarPeer.java,
10198 java/awt/peer/MenuComponentPeer.java,
10199 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
10200 java/awt/peer/PopupMenuPeer.java,
10201 java/awt/peer/ScrollPanePeer.java,
10202 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
10203 java/awt/peer/TextComponentPeer.java,
10204 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
10205 New versions from Classpath.
10206 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
10207 * java/awt/peer/RobotPeer.java: Likewise.
10209 2003-03-01 Mark Wielaard <mark@klomp.org>
10211 * java/io/ObjectInputStream.java: Reindent.
10212 * java/io/ObjectOutputStream.java: Likewise.
10214 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
10216 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
10217 jvalue for each argument. Simplify.
10218 * testsuite/libjava.jni/calls.c (docall),
10219 testsuite/libjava.jni/calls.java (longpb_f): check for argument
10222 2003-02-28 Mark Wielaard <mark@klomp.org>
10224 * Makefile.am (nat_source_files): Remove
10225 java/io/natObjectOutputStream.cc.
10226 * Makefile.in: Regenerated.
10227 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
10228 * java/io/ObjectStreamField.java (typename): New field.
10229 (ObjectStreamField(String, Class)): Initialize new field.
10230 (ObjectStreamField(String, String)): New Constructor.
10231 (getTypeCode): Use new field.
10232 (getTypeString): Use new field.
10233 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
10234 ObjectStreamExceptions. Remember and reset old BlockDataMode.
10235 Handle reading of Proxy classes. Never drain(), just write
10236 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
10237 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
10238 (flush): Call flush(), not just drain().
10239 (writeBoolean): Always use blockDataOutput.
10240 (writeByte): Likewise.
10241 (writeShort): Likewise.
10242 (writeChar): Likewise.
10243 (writeInt): Likewise.
10244 (writeLong): Likewise.
10245 (writeFloat): Likewise.
10246 (writeDouble): Likewise.
10247 (writeBytes): Likewise.
10248 (putfield (put(String,Object))): Throw IllegalArgumentException if
10249 field cannot be found.
10250 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
10251 (writeArraySizeAndElements): Write byte[] in one go.
10252 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
10253 set BlockDataMode to false.
10254 (annotateProxyClass): New method.
10255 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
10256 (getField): No longer native.
10257 (getMethod): Likewise.
10258 (setBlockDataMode): Always drain() on switch, return old mode.
10259 (static): New static code block.
10260 * java/io/natObjectOutputStream.cc: Removed.
10261 * java/io/ObjectInputStream.java (getField): No longer native.
10262 (getMethod): Likewise.
10263 (readObject): Remember and reset old BlockDataMode. Track whether
10264 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
10266 (defaultReadObject): Set BlockDataMode to false during readFields.
10267 (resolveClass): Create new SecurityManager if necessary.
10268 Use Class.forName() if null ClassLoader found.
10269 (read(byte[],int,int): Copy remaining bytes to data before calling
10271 (readFields): Set and reset BlockDataMode on call_read_method.
10272 Catch NoSuchFieldErrors.
10273 (setBlockDataMode): Return old mode.
10274 (static): New static code block.
10275 * java/io/natObjectInputStream.cc (getField): Removed.
10276 (getMethod): Likewise.
10278 2003-02-27 Michael Koch <konqueror@gmx.de>
10280 * java/beans/Beans.java,
10281 java/beans/FeatureDescriptor.java
10282 java/beans/PropertyEditorManager.java:
10283 Reformated to GNU style.
10285 2003-02-25 Michael Koch <konqueror@gmx.de>
10287 * gnu/java/nio/MappedByteFileBuffer.java,
10288 gnu/java/nio/natMappedByteFileBuffer.cc:
10289 New files, both are not compiled yet to get not noncompiling CVS.
10291 2003-02-24 Tom Tromey <tromey@redhat.com>
10293 * java/util/prefs/AbstractPreferences.java (isUserNode):
10296 2003-02-24 Tom Tromey <tromey@redhat.com>
10298 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10300 * java/lang/Thread.java (resume): Deprecate.
10301 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10304 2003-02-23 Tom Tromey <tromey@redhat.com>
10306 * Makefile.in: Rebuilt.
10307 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10309 2003-02-23 Tom Tromey <tromey@redhat.com>
10311 * java/lang/natRuntime.cc (libraries_size, libraries_count,
10312 libraries): Removed.
10313 (add_library): Removed.
10314 (_load): Don't call add_library.
10315 (loadLibraryInternal): Likewise.
10317 (lookup_data): New struct.
10318 (find_symbol): New function.
10319 (_Jv_FindSymbolInExecutable): Use it.
10321 2002-02-21 Anthony Green <green@redhat.com>
10323 * java/lang/Thread.java (Thread): New constructor taking stack
10324 size parameter (ignored for now).
10325 * Many methods: Merged GNU Classpath documentation.
10327 * java/lang/Class.java (finalize): throws a Throwable.
10329 2003-02-21 Mark Wielaard <mark@klomp.org>
10331 * java/util/zip/ZipEntry.java (setComment): Don't check length when
10334 2003-02-21 Mark Wielaard <mark@klomp.org>
10336 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10337 then 65535 chars throw IllegalArgumentException.
10339 2003-02-21 Mark Wielaard <mark@klomp.org>
10341 * java/util/zip/ZipFile.java (finalize): New method.
10343 2003-02-21 Michael Koch <konqueror@gmx.de>
10345 * gnu/java/nio/natSocketChannelImpl.cc:
10346 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10347 <cato@df.lth.se> for pointing to it.
10349 2003-02-20 Raif S. Naffah <raif@fl.net.au>
10351 * java/math/BigInteger.java (euclidInv): Take result array as an
10352 argument. Updated all callers.
10353 (modInverse): Removed unused variables.
10355 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
10357 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10359 * configure: Rebuilt.
10361 2003-02-19 Michael Koch <konqueror@gmx.de>
10363 * gnu/java/nio/natSocketChannelImpl.cc:
10364 Added support for platforms without network support.
10366 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10368 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10369 after config.h. Use <> for consistency.
10370 * java/lang/natObject.cc: Likewise.
10371 * java/lang/natRuntime.cc: Likewise.
10372 * java/lang/natSystem.cc: Likewise.
10373 * java/util/natTimeZone.cc: Likewise.
10374 * win32.cc: Likewise.
10375 * include/posix.h (fcntl, socket, connect, close, bind, accept,
10376 listen, write, read): Undef to avoid interference from OS macros.
10378 2003-02-19 Michael Koch <konqueror@gmx.de>
10380 * gnu/java/nio/ByteBufferImpl.java
10381 (ByteBufferImpl): Renamed two variables.
10382 * gnu/java/nio/CharBufferImpl.java
10383 (CharBufferImpl): Renamed two variables.
10384 * gnu/java/nio/DoubleBufferImpl.java
10385 (DoubleBufferImpl): Renamed two variables.
10386 * gnu/java/nio/FloatBufferImpl.java
10387 (FloatBufferImpl): Renamed two variables.
10388 * gnu/java/nio/IntBufferImpl.java
10389 (IntBufferImpl): Renamed two variables.
10390 * gnu/java/nio/LongBufferImpl.java
10391 (LongBufferImpl): Renamed two variables.
10392 * gnu/java/nio/ShortBufferImpl.java
10393 (ShortBufferImpl): Renamed two variables.
10394 * java/nio/CharBuffer.java
10395 (wrap): Fixed arguments to CharBufferImpl constructor.
10396 (hasArray): Only not read-only buffers have backing arrays.
10397 (length): Documentation added.
10398 (subSequence): Documentation added.
10399 * java/nio/DoubleBuffer.java
10400 (hasArray): Only not read-only buffers have backing arrays.
10401 * java/nio/FloatBuffer.java
10402 (hasArray): Only not read-only buffers have backing arrays.
10403 * java/nio/IntBuffer.java
10404 (hasArray): Only not read-only buffers have backing arrays.
10405 * java/nio/LongBuffer.java
10406 (hasArray): Only not read-only buffers have backing arrays.
10407 * java/nio/ShortBuffer.java
10408 (hasArray): Only not read-only buffers have backing arrays.
10410 2003-02-19 Michael Koch <konqueror@gmx.de>
10412 * javax/accessibility/AccessibleContext.java
10413 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10415 2003-02-19 Michael Koch <konqueror@gmx.de>
10417 * java/awt/ScrollPaneAdjustable.java: Reformated.
10419 2003-02-19 Michael Koch <konqueror@gmx.de>
10421 * gnu/awt/j2d/Graphics2DImpl.java
10422 (getFontRenderContext): New method.
10423 (drawGlyphVector): New method.
10424 * java/awt/Graphics2D.java
10425 (getFontRenderContext): New abstract method.
10426 (drawGlyphVector): New abstract method.
10428 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
10430 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10433 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10434 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10435 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10436 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10437 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10438 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10439 (setFont, gtkSetFont): add.
10440 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10441 Propagate font to peer. (setFont): add FIXME comment.
10443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10444 (gtkTextGetSize): fix height, width computation.
10446 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10447 Make X font name a bit less bogus.
10449 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10450 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10452 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10453 (processAdjustmentEvent): Adjust value.
10455 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10458 * java/awt/Component.java (setVisible, show, hide): Call show and
10459 hide methods in subclasses.
10460 (getPreferredSize): don't set prefSize before we have peer.
10462 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10463 Guess (0,0) if we don't have peer.
10466 2003-02-18 Michael Koch <konqueror@gmx.de>
10468 * java/nio/channels/FileChannel.java
10469 (toString): New implementation, added documentation.
10470 (map): Added exception documentation.
10471 (size): Added exception documentation.
10472 (write): New methods, documentation work.
10473 (read): New methods, documentation work.
10474 (implCloseChannel): Rewrote exception documentation.
10475 (force): Throws IOException, added documentation.
10476 (lock): New methods.
10477 (tryLock): New methods.
10478 (position): New methods.
10479 (transferTo): New method.
10480 (transferFrom): New method.
10481 (truncate): New method.
10482 * java/nio/channels/spi/SelectorProvider.java
10483 (provider): Implemented.
10485 (ordinary_java_source_files): Added the following files:
10486 gnu/java/nio/DatagramChannelImpl.java
10487 gnu/java/nio/FileChannelImpl.java
10488 gnu/java/nio/PipeImpl.java
10489 gnu/java/nio/SelectionKeyImpl.java
10490 gnu/java/nio/SelectorImpl.java
10491 gnu/java/nio/SelectorProviderImpl.java
10492 gnu/java/nio/ServerSocketChannelImpl.java
10493 gnu/java/nio/SocketChannelImpl.java
10494 java/nio/channels/FileLock.java
10495 (nat_java_source_files): Added the following files:
10496 gnu/java/nio/natFileChannelImpl.cc
10497 gnu/java/nio/natSelectorImpl.cc
10498 gnu/java/nio/natSocketChannelImpl.cc
10499 * Makefile.in: Regenerated.
10501 2003-02-17 Tom Tromey <tromey@redhat.com>
10503 * java/awt/image/ColorModel.java: Re-merged with Classpath.
10504 * java/awt/image/ImageFilter.java: Likewise.
10506 2003-02-17 Raif S. Naffah <raif@fl.net.au>
10508 * java/math/BigInteger.java (euclidInv): Return array of
10509 `BigInteger's. Changed all callers.
10511 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
10513 * java/util/Properties.java (store): Move the code formerly in
10514 list(), into this method.
10515 (list (PrintStream)): Just call list (PrintWriter) with a
10516 PrintWriter object constructed from the given PrintStream object.
10517 (list (PrintWriter)): Emulate the output of Properties.list()
10518 as found in JDK 1.3/1.4.
10520 2003-02-17 Michael Koch <konqueror@gmx.de>
10522 * java/net/DatagramSocket.java
10523 (connect): Merged with classpath.
10524 (disconnect): Merged documentation with classpath.
10525 (receice): Merged documentation with classpath.
10526 (send): Merged documentation with classpath.
10528 2003-02-17 Michael Koch <konqueror@gmx.de>
10530 * java/awt/dnd/DragSourceContext.java
10531 (addDragSourceListener): Added documentation.
10532 * java/awt/dnd/DragSourceDragEvent.java
10533 (serialVersionUID): New member variable.
10534 (getDropAction): Reformated.
10535 * java/awt/dnd/DragSourceDropEvent.java
10536 (serialVersionUID): New member variable.
10537 (dropSuccess): Renamed from success for serialization issues.
10538 * java/awt/dnd/DragSourceEvent.java
10539 (serialVersionUID): New member variable.
10540 * java/awt/dnd/DropTarget.java
10541 (serialVersionUID): New member variable.
10542 (DropTarget): Implemented, documentation reworked.
10543 (setComponent): Documentation added.
10544 (getComponent): Documentation added.
10545 (setDefaultActions): Documentation added.
10546 (getDefaultActions): Documentation added.
10547 (addDropTargetListener): Documentation added.
10548 * java/awt/dnd/DropTargetContext.java
10549 (DropTargetContext): Documentation added.
10550 (TransferableProxy.TransferableProxy): New method.
10551 (dropComplete): Fixed documentation.
10552 (getTransferable): Fixed documentation.
10553 (createTransferableProxy): Implemented.
10554 * java/awt/dnd/DropTargetDragEvent.java
10555 (DropTargetDragEvent): Documentation added.
10556 (serialVersionUID): New member variable.
10557 (DropTargetDragEvent): Throw exceptions, documentation added.
10558 (acceptDrag): Implemented.
10559 (getCurrentDataFlavors): Implemented.3yy
10560 (getCurrentDataFlavorsAsList): Implemented.
10561 (isDataFlavorSupported): Implemented.
10562 (rejectDrag): Implemented.
10563 * java/awt/dnd/DropTargetDropEvent.java
10564 (DropTargetDropEvent): Documentation added.
10565 (serialVersionUID): New member variable.
10566 (actions): Renamed from srcActions for serialization issues.
10567 (isLocalTx): Renamed from isLocalTx for serialization issues.
10568 (DropTargetDropEvent): New implementation, throw exceptions,
10569 documentation added.
10570 (getCurrentDataFlavors): Implemented.
10571 (getCurrentDataFlavorsAsList): Implemented.
10572 (isDataFlavorSupported): Implemented.
10573 (getSourceActions): Implemented.
10574 (getDropAction): Implemented.
10575 (getTransferable): Implemented.
10576 (acceptDrop): Implemented.
10577 (rejectDrop): Implemented.
10578 * java/awt/dnd/DropTargetListener.java
10579 (drop): Fixed documentation.
10580 * java/awt/dnd/MouseDragGestureRecognizer.java
10581 (MouseDragGestureRecognizer): Documentation added.
10583 2003-02-17 Michael Koch <konqueror@gmx.de>
10585 * java/awt/font/FontRenderContext.java,
10586 java/awt/font/ShapeGraphicAttribute.java,
10587 java/awt/font/MultipleMaster.java,
10588 java/awt/font/TransformAttribute.java,
10589 java/awt/font/GlyphJustificationInfo.java,
10590 java/awt/font/LineBreakMeasurer.java,
10591 java/awt/font/TextMeasurer.java,
10592 java/awt/font/TextLayout.java,
10593 java/awt/font/LineMetrics.java,
10594 java/awt/font/TextAttribute.java,
10595 java/awt/font/GlyphMetrics.java,
10596 java/awt/font/OpenType.java,
10597 java/awt/font/GlyphVector.java,
10598 java/awt/font/GraphicAttribute.java,
10599 java/awt/font/ImageGraphicAttribute.java,
10600 java/awt/font/NumericShaper.java: New files.
10602 (awt_java_source_files): Added the following files:
10603 java/awt/font/FontRenderContext.java
10604 java/awt/font/ShapeGraphicAttribute.java
10605 java/awt/font/MultipleMaster.java
10606 java/awt/font/TransformAttribute.java
10607 java/awt/font/GlyphJustificationInfo.java
10608 java/awt/font/LineBreakMeasurer.java
10609 java/awt/font/TextMeasurer.java
10610 java/awt/font/TextLayout.java
10611 java/awt/font/LineMetrics.java
10612 java/awt/font/TextAttribute.java
10613 java/awt/font/GlyphMetrics.java
10614 java/awt/font/OpenType.java
10615 java/awt/font/GlyphVector.java
10616 java/awt/font/GraphicAttribute.java
10617 java/awt/font/ImageGraphicAttribute.java
10618 java/awt/font/NumericShaper.java
10619 * Makefile.in: Regenerated.
10621 2003-02-17 Michael Koch <konqueror@gmx.de>
10623 * java/awt/print/Paper.java
10624 (Paper): Implements Cloneable.
10625 * java/awt/print/PrinterJob.java
10626 (setJobName): Return value must be void.
10627 (print): Throws PrinterException.
10629 2003-02-16 Tom Tromey <tromey@redhat.com>
10631 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10634 2003-02-15 Michael Koch <konqueror@gmx.de>
10636 * java/awt/datatransfer/DataFlavor.java
10637 (isRepresentationClassByteBuffer): Removed try-catch block.
10638 (isRepresentationClassCharBuffer): Removed try-catch block.
10639 (isRepresentationClassReader): Removed try-catch block.
10641 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10643 * java/nio/charset/Charset.java
10644 (isRegistered): Fixed method args and implementation.
10645 * java/nio/charset/CharsetEncoder.java
10646 (unmappableCharacterAction): New method.
10648 2003-02-15 Michael Koch <konqueror@gmx.de>
10650 * java/awt/CheckboxMenuItem.java
10651 (CheckBoxMenuItem): Dont implement Serializable.
10652 (getListeners): New method,
10653 (getItemListeners): New method.
10654 * java/awt/Choice.java
10655 (getListeners): New method,
10656 (getItemListeners): New method.
10657 * java/awt/Container.java
10658 (getListeners): Added exception documentation.
10659 (setFocusTraversalKeys): Throw exceptions, added documentattion.
10660 (getFocusTraversalKeys): Added documentation.
10661 (areFocusTraversalKeysSet): Added documentation.
10662 (applyComponentOrientation): Added documentation.
10663 * java/awt/ContainerOrderFocusTraversalPolicy.java
10664 (implicitDownCycleTraversal): Renamed from downCycle for
10666 (ContainerOrderFocusTraversalPolicy): Added documentation.
10667 (accept): Reformated.
10668 * java/awt/Dialog.java
10669 (Dialog): Dont implement Serializable.
10670 (Dialog): Added documentation.
10671 * java/awt/Font.java
10672 (Font): Dont use absolute class name.
10673 * java/awt/Frame.java
10674 (Frame): Font implement Serializable.
10675 * java/awt/List.java
10676 (getListeners): New method,
10677 (getActionListeners): New method.
10678 (getItemListeners): New method.
10679 * java/awt/Menu.java
10680 (countItems): New deprecated method.
10681 * java/awt/Scrollbar.java
10682 (getListeners): New method,
10683 (getAdjustmentListeners): New method,
10684 * java/awt/TextComponent.java
10685 (getListeners): New method,
10686 (getTextListeners): New method,
10687 * java/awt/TextField.java
10688 (getListeners): New method,
10689 (getActionListeners): New method.
10690 * java/awt/Window.java
10691 (windowFocusListener): New member variable.
10692 (windowStateListener): New member variable.
10693 (getWindowFocusListeners): New method.
10694 (getWindowStateListeners): New method.
10695 (addWindowFocusListener): New method.
10696 (addWindowStateListener): New method.
10697 (removeWindowFocusListener): New method.
10698 (removeWindowStateListener): New method.
10699 * java/awt/datatransfer/DataFlavor.java
10700 (isRepresentationClassByteBuffer): New method.
10701 (isRepresentationClassCharBuffer): New method.
10702 (isRepresentationClassReader): New method.
10704 2003-02-14 Mark Wielaard <mark@klomp.org>
10706 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10707 zero when there is an exponent and the significant is zero.
10708 (divide): Always set scale to newScale even in special ZERO case.
10710 2003-02-14 Tom Tromey <tromey@redhat.com>
10712 * java/lang/System.java (properties): Use Properties.clone.
10713 (setProperties): Likewise.
10715 2003-02-14 Michael Koch <konqueror@gmx.de>
10717 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10718 * gnu/java/nio/ServerSocketChannelImpl.java
10719 (SocketAccept): Removed.
10720 (accept): Commented out use of SocketAccept.
10722 2003-02-13 Tom Tromey <tromey@redhat.com>
10724 * verify.cc (state::seen_subrs): New field.
10725 (state::state): Initialize it.
10726 (state::clean_subrs): New method.
10727 (state::~state): Call it.
10728 (state::copy): Copy subroutine list.
10729 (state::add_subr): New method.
10730 (state::merge): Only register a change if the current subroutine
10731 hasn't yet been noted.
10733 2003-02-13 Mark Wielaard <mark@klomp.org>
10735 * java/io/InputStreamReader.java (getEncoding): Return null when
10737 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10739 2003-02-13 Mark Wielaard <mark@klomp.org>
10741 * java/util/zip/InflaterInputStream.java (read): Return zero when len
10744 2003-02-13 Mark Wielaard <mark@klomp.org>
10746 * java/io/BufferedOutputStream.java (write(int)): Only flush when
10747 next byte cannot be buffered.
10749 2003-02-13 Michael Koch <konqueror@gmx.de>
10751 * java/awt/Label.java
10752 (Label): Don't implement Serializable directly.
10753 (addNotify): Fixed typo in documentation.
10754 * java/awt/List.java
10755 (List): Don't implement Serializable directly.
10756 * java/awt/PopupMenu.java
10757 (PopupMenu): Don't implement Serializable directly.
10758 * java/awt/ScrollPane.java
10759 (ScrollPane): Don't implement Serializable directly.
10760 * java/awt/Scrollbar.java
10761 (Scrollbar): Don't implement Serializable directly.
10762 * java/awt/TextArea.java
10763 (preferredSize): Fixed method arguments.
10764 * java/awt/TextField.java
10765 (TextField): Don't implement Serializable directly.
10766 * java/awt/color/ICC_ColorSpace.java
10767 (fromCIOXYZ): Documentation added.
10768 (getMinValue): Documentation added.
10769 (getMaxValue): Documentation added.
10770 * java/awt/datatransfer/DataFlavor.java
10771 (isMimeTypeEqual): May not be final.
10772 (clone): Throws CloneNotSupportedException.
10773 (getReaderForText): Don't throws UnsupportedEncodingException.
10775 2003-02-13 Michael Koch <konqueror@gmx.de>
10777 * gnu/java/awt/peer/gtk/GdkGraphics.java
10778 (drawString): New stubbed method.
10779 * java/awt/Graphics.java
10780 (drawString): New method.
10782 2003-02-13 Casey Marshall <rsdio@metastatic.org>
10785 * java/security/SecureRandom.java (next): Avoid bias in results.
10787 2003-02-13 Michael <konqueror@gmx.de>
10789 * gnu/java/nio/FileChannelImpl.java
10790 (lengthInternal): Must be native.
10791 (size): Check if channel is already closed.
10792 (implCloseChannel): Reformated.
10793 (read): w was unused, removed it.
10795 (read): New method.
10796 (write): New method.
10797 (map): Check arguments.
10798 (force): Throws IOException, check if channel is closed.
10799 (transferTo): New method.
10800 (transferFrom): New method.
10801 (lock): New method.
10802 (tryLock): New method.
10803 (position): New method.
10804 (truncate): New method.
10805 (nio_mmap_file): Uncommented.
10806 (nio_munmap_file): Uncommented.
10807 (nio_msync): Uncommented.
10808 * gnu/java/nio/natFileChannelImpl.cc: New file.
10810 2003-02-13 Michael Koch <konqueror@gmx.de>
10812 * java/nio/ByteBuffer.java
10813 (endian): New member variable.
10814 (get): New methods.
10815 (equals): New method.
10816 (compareTo): New method.
10817 (order): New methods.
10818 (compact): New method.
10819 (isDirect): New method.
10820 (slice): New method.
10821 (duplicate): New method.
10822 (asReadOnlyBuffer): New method.
10823 (asCharBuffer): New method.
10824 (asDoubleBuffer): New method.
10825 (asFloatBuffer): New method.
10826 (asIntBuffer): New method.
10827 (asLongBuffer): New method.
10828 (asShortBuffer): New method.
10829 (get*): New methods.
10830 (put*): New methods.
10831 (toString): New method.
10832 * java/nio/CharBuffer.java
10833 (CharBuffer): Implement Comparable instead of Cloneable.
10834 (get): May not be final.
10835 (put): May not be final.
10837 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
10839 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10840 lastIndexOf( ) instead of indexOf( ) to find the colon before
10841 the line number, because Win32 file names might contain a
10842 drive letter and a colon at the start of an absolute path.
10844 2003-02-13 Michael Koch <konqueror@gmx.de>
10846 * gnu/java/nio/natSocketChannelImpl.cc
10847 (SocketConnect): This is not implemented yet.
10848 (SocketBind): This is not implemented yet.
10850 2003-02-13 Michael Koch <konqueror@gmx.de>
10852 * gnu/java/nio/natByteBufferImpl.cc,
10853 gnu/java/nio/natCharBufferImpl.cc,
10854 gnu/java/nio/natDoubleBufferImpl.cc,
10855 gnu/java/nio/natFloatBufferImpl.cc,
10856 gnu/java/nio/natIntBufferImpl.cc,
10857 gnu/java/nio/natLongBufferImpl.cc,
10858 gnu/java/nio/natShortBufferImpl.cc:
10859 Added copyright and license.
10860 * java/nio/DoubleBuffer.java,
10861 java/nio/FloatBuffer.java,
10862 java/nio/IntBuffer.java,
10863 java/nio/LongBuffer.java,
10864 java/nio/ShortBuffer.java
10865 (array): Throw exceptions.
10866 (arrayOffset): Throw exceptions.
10868 2003-02-13 Michael Koch <konqueror@gmx.de>
10870 * gnu/java/util/prefs/FileBasedFactory.java,
10871 gnu/java/util/prefs/MemmoryBasedFactory.java,
10872 gnu/java/util/prefs/MemoryBasedPreferences.java,
10873 gnu/java/util/prefs/NodeReader.java,
10874 gnu/java/util/prefs/NodeWriter.java,
10875 java/util/prefs/AbstractPreferences.java,
10876 java/util/prefs/BackingStoreException.java,
10877 java/util/prefs/InvalidPreferencesFormatException.java,
10878 java/util/prefs/NodeChangeEvent.java,
10879 java/util/prefs/NodeChangeListener.java,
10880 java/util/prefs/PreferenceChangeEvent.java,
10881 java/util/prefs/PreferenceChangeListener.java,
10882 java/util/prefs/Preferences.java,
10883 java/util/prefs/PreferencesFactory.java:
10884 New files, all merged from classpath.
10886 (ordinary_java_source_files): Added the following files:
10887 gnu/java/util/prefs/FileBasedFactory.java,
10888 gnu/java/util/prefs/MemmoryBasedFactory.java,
10889 gnu/java/util/prefs/MemoryBasedPreferences.java,
10890 gnu/java/util/prefs/NodeReader.java,
10891 gnu/java/util/prefs/NodeWriter.java,
10892 (core_java_source_files): Added the following files:
10893 java/util/prefs/AbstractPreferences.java,
10894 java/util/prefs/BackingStoreException.java,
10895 java/util/prefs/InvalidPreferencesFormatException.java,
10896 java/util/prefs/NodeChangeEvent.java,
10897 java/util/prefs/NodeChangeListener.java,
10898 java/util/prefs/PreferenceChangeEvent.java,
10899 java/util/prefs/PreferenceChangeListener.java,
10900 java/util/prefs/Preferences.java,
10901 java/util/prefs/PreferencesFactory.java
10902 * Makefile.in: Regenerated.
10904 2003-02-13 Michael Koch <konqueror@gmx.de>
10906 * java/net/NetPermission.java
10907 (NetPermission): Make doucmentation match the method declaration.
10908 * java/net/NetworkInterface.java
10909 (equals): Reformated for GNU coding style.
10910 * java/net/ServerSocket.java: Merged with classpath.
10911 * java/net/Socket.java: Partly merged with classpath (Added some @since).
10912 * java/net/SocketImpl.java
10913 (localPort): Merged with classpath (initialize with -1).
10914 * java/net/SocketPermission.java: Merged with classpath (reindented).
10915 * java/net/URLDecoder.java: Merged with classpath (reindented).
10917 2003-02-13 Michael Koch <konqueror@gmx.de>
10919 * java/awt/GridBagConstraints.java
10920 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10921 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10922 * java/awt/KeyboardFocusManager.java
10923 (setGlobalCurrentFocusCycleRoot): Must be public.
10924 * java/awt/MenuComponent.java
10925 (MenuComponent): Must be public.
10926 * java/awt/Toolkit.java:
10927 Added some empty lines to make documentation more readable.
10928 (getFontPeer): Added @deprecated.
10929 (getColorModel): Added exception documentation.
10930 (getProperty): Fixed documentation.
10932 2003-02-12 Jeff Sturm <jsturm@one-point.com>
10934 * configure.host (alpha*-*): Default to -mieee.
10935 * configure.in (IEEESPEC): New.
10936 * libgcj.spec.in (jc1): Add IEEESPEC.
10937 * configure: Rebuild.
10939 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10941 * include/win32.h: Include ws2tcpip.h instead of
10942 winsock.h to obtain definition of the socklen_t type.
10943 Remove IP_TOS definition - not needed with ws2tcpip.h
10944 (_Jv_connect): Correct slight formatting error.
10946 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10948 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10949 size of the arguments for a JNI function. For Win32,
10950 modify to search for all forms of possible exported
10951 names of an stdcall JNI function.
10952 (_Jv_JNIMethod::call): Modify to calculate the size
10953 of the arguments passed to a JNI function and pass
10954 it to _Jv_LookupJNIMethod.
10956 2003-02-12 Michael Koch <konqueror@gmx.de>
10958 * java/nio/channels/Channels.java: New file.
10960 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10961 * Makefile.in: Regenerated.
10963 2003-02-12 Michael Koch <konqueror@gmx.de>
10965 * java/nio/ByteBuffer.java
10966 (allocate): Implemented.
10967 (wrap): Implemented.
10968 * java/nio/CharBuffer.java:
10969 Some documentation added and reworked.
10971 (allocate): Implemented.
10972 (wrap): Implemented.
10973 (array): Throw exceptions.
10974 (arrayOffset): Throw exceptions.
10975 (toString): Implemented.
10976 (length): Implemented.
10977 (put): Implemented.
10978 (charAt): Implemented.
10980 2003-02-11 John Leuner <jewel@debian.org>
10982 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
10983 reads from end of file.
10985 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
10987 * java/io/natFileDescriptorWin32.cc
10988 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10989 returns with Win32 error code ERROR_BROKEN_PIPE.
10991 2003-02-11 Michael Koch <konqueror@gmx.de>
10994 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10996 2003-02-11 Michael Koch <konqueror@gmx.de>
10998 * gnu/java/nio/ByteBufferImpl.java:
10999 Reformated and removed some code.
11000 (backing_buffer): Removed.
11001 (array_offset): Removed.
11002 (ro): Renamed to readOnly.
11003 (ByteBufferImpl): Use parent constructor, initialize readOnly.
11004 * gnu/java/nio/CharBufferImpl.java:
11005 Reformated and removed some code.
11006 (array_offset): Removed.
11007 (ro): Renamed to readOnly.
11008 (CharBufferImpl): Use parent constructor, initialize readOnly.
11009 (inc_pos): Removed.
11010 (order): New method.
11011 * gnu/java/nio/DoubleBufferImpl.java:
11012 Reformated and removed some code.
11013 (array_offset): Removed.
11014 (ro): Renamed to readOnly.
11015 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
11016 (inc_pos): Removed.
11017 (order): New method.
11018 * gnu/java/nio/FloatBufferImpl.java:
11019 Reformated and removed some code.
11020 (array_offset): Removed.
11021 (ro): Renamed to readOnly.
11022 (FloatBufferImpl): Use parent constructor, initialize readOnly.
11023 (inc_pos): Removed.
11024 (order): New method.
11025 * gnu/java/nio/IntBufferImpl.java:
11026 Reformated and removed some code.
11027 (array_offset): Removed.
11028 (ro): Renamed to readOnly.
11029 (IntBufferImpl): Use parent constructor, initialize readOnly.
11030 (inc_pos): Removed.
11031 (order): New method.
11032 * gnu/java/nio/LongBufferImpl.java:
11033 Reformated and removed some code.
11034 (array_offset): Removed.
11035 (ro): Renamed to readOnly.
11036 (LongBufferImpl): Use parent constructor, initialize readOnly.
11037 (inc_pos): Removed.
11038 (order): New method.
11039 * gnu/java/nio/ShortBufferImpl.java:
11040 Reformated and removed some code.
11041 (array_offset): Removed.
11042 (ro): Renamed to readOnly.
11043 (ShortBufferImpl): Use parent constructor, initialize readOnly.
11044 (inc_pos): Removed.
11045 (order): New method.
11047 (ordinary_java_source_files): Added the following files:
11048 gnu/java/nio/ByteBufferImpl.java
11049 gnu/java/nio/CharBufferImpl.java
11050 gnu/java/nio/DoubleBufferImpl.java
11051 gnu/java/nio/FloatBufferImpl.java
11052 gnu/java/nio/IntBufferImpl.java
11053 gnu/java/nio/LongBufferImpl.java
11054 gnu/java/nio/ShortBufferImpl.java
11055 java/nio/DoubleBuffer.java
11056 java/nio/FloatBuffer.java
11057 java/nio/IntBuffer.java
11058 java/nio/LongBuffer.java
11059 java/nio/ShortBuffer.java
11060 (nat_source_files): Added the following files:
11061 gnu/java/nio/natByteBufferImpl.cc
11062 gnu/java/nio/natCharBufferImpl.cc
11063 gnu/java/nio/natDoubleBufferImpl.cc
11064 gnu/java/nio/natFloatBufferImpl.cc
11065 gnu/java/nio/natIntBufferImpl.cc
11066 gnu/java/nio/natLongBufferImpl.cc
11067 gnu/java/nio/natShortBufferImpl.cc
11068 * Makefile.in: Regenerated.
11070 2003-02-11 Michael Koch <konqueror@gmx.de>
11072 * gnu/java/nio/natCharBufferImpl.cc
11073 (nio_cast): Removed.
11074 (nio_put_*): Removed.
11075 (nio_get_*): Removed.
11076 * gnu/java/nio/natDoubleBufferImpl.cc
11077 (nio_cast): Removed.
11078 (nio_put_*): Removed.
11079 (nio_get_*): Removed.
11080 * gnu/java/nio/natFloatBufferImpl.cc
11081 (nio_cast): Removed.
11082 (nio_put_*): Removed.
11083 (nio_get_*): Removed.
11084 * gnu/java/nio/natIntBufferImpl.cc
11085 (nio_cast): Removed.
11086 (nio_put_*): Removed.
11087 (nio_get_*): Removed.
11088 * gnu/java/nio/natLongBufferImpl.cc
11089 (nio_cast): Removed.
11090 (nio_put_*): Removed.
11091 (nio_get_*): Removed.
11092 * gnu/java/nio/natShortBufferImpl.cc
11093 (nio_cast): Removed.
11094 (nio_put_*): Removed.
11095 (nio_get_*): Removed.
11096 * gnu/java/nio/SelectorProviderImpl.java
11097 (openDatagramChannel): Throws IOException.
11098 (openPipe): Throws IOException.
11099 (openSelector): Throws IOException.
11100 (openServerSocketChannel): Throws IOException.
11101 (openSocketChannel): Throws IOException.
11102 * gnu/java/nio/ServerSocketChannelImpl.java
11103 (ServerSocketChannelImpl): Throws IOException.
11104 (implCloseSelectableChannel): Throws IOException.
11105 (implConfigureBlocking): Throws IOException.
11106 * java/nio/ByteBuffer.java
11107 (readOnly): Removed.
11108 (hasArray): Use isReadOnly() instead of readOnly.
11109 (array): Use isReadOnly() instead of readOnly.
11110 (arrayOffset): Use isReadOnly() instead of readOnly.
11111 * java/nio/CharBuffer.java
11112 (CharBuffer): Implements Cloneable and CharSequence.
11114 2003-02-11 Michael Koch <konqueror@gmx.de>
11116 * java/nio/DoubleBuffer.java
11117 (DoubleBuffer): Implements Comparable.
11119 (array_offset): New member variable.
11120 (DoubleBuffer): New constuctor.
11121 (get): May not be final.
11122 (put): May not be final.
11123 (arrayOffset): Implemented.
11124 (order): Made abstract.
11126 (as*Buffer): Removed.
11129 * java/nio/FloatBuffer.java
11130 (FloatBuffer): Implements Comparable.
11132 (array_offset): New member variable.
11133 (FloatBuffer): New constuctor.
11134 (get): May not be final.
11135 (put): May not be final.
11136 (arrayOffset): Implemented.
11137 (order): Made abstract.
11139 (as*Buffer): Removed.
11142 * java/nio/IntBuffer.java
11143 (IntBuffer): Implements Comparable.
11145 (array_offset): New member variable.
11146 (IntBuffer): New constuctor.
11147 (get): May not be final.
11148 (put): May not be final.
11149 (arrayOffset): Implemented.
11150 (order): Made abstract.
11152 (as*Buffer): Removed.
11155 * java/nio/LongBuffer.java
11156 (LongBuffer): Implements Comparable.
11158 (array_offset): New member variable.
11159 (LongBuffer): New constuctor.
11160 (get): May not be final.
11161 (put): May not be final.
11162 (arrayOffset): Implemented.
11163 (order): Made abstract.
11165 (as*Buffer): Removed.
11168 * java/nio/ShortBuffer.java
11169 (ShortBuffer): Implements Comparable.
11171 (array_offset): New member variable.
11172 (ShortBuffer): New constuctor.
11173 (get): May not be final.
11174 (put): May not be final.
11175 (arrayOffset): Implemented.
11176 (order): Made abstract.
11178 (as*Buffer): Removed.
11182 2003-02-11 Michael Koch <konqueror@gmx.de>
11184 * java/nio/channels/SelectionKey.java
11185 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
11188 2003-02-11 Michael Koch <konqueror@gmx.de>
11190 * java/nio/channels/DatagramChannel.java
11191 (write): Throws IOException.
11192 (connect): Throws IOException.
11193 (disconnect): Throws IOException.
11194 (read): Throws IOException.
11195 (receive): Throws IOException.
11196 (send): Throws IOException.
11197 * java/nio/channels/Pipe.java
11198 (open): Throws IOException.
11199 * java/nio/channels/SelectableChannel.java
11200 (configureBlocking): Throws IOException.
11201 * java/nio/channels/ServerSocketChannel.java
11202 (accept): Throws IOException.
11203 * java/nio/channels/SocketChannel.java
11204 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
11205 GatheringByteChannel.
11206 (read): Throws IOException.
11207 (write): Throws IOException.
11208 (finishConnect): Throws IOException.
11209 * java/nio/channels/spi/AbstractInterruptibleChannel.java
11210 (end): Throws AsynchronousCloseException.
11211 * java/nio/channels/spi/AbstractSelectableChannel.java
11212 (configureBlocking): Throws IOException.
11213 (implCloseChannel): Throws IOException.
11214 (implCloseSelectableChannel): Throws IOException.
11215 (implConfigureBlocking): Throws IOException.
11216 * java/nio/channels/spi/SelectorProvider.java
11217 (openDatagramChannel): Throws IOException.
11218 (openPipe): Throws IOException.
11219 (openSelector): Throws IOException.
11220 (openServerSocketChannel): Throws IOException.
11221 (openSocketChannel): Throws IOException.
11223 2003-02-11 Michael Koch <konqueror@gmx.de>
11225 * gnu/java/nio/FileLockImpl.java,
11226 java/nio/channels/FileLock.java: New files.
11228 2003-02-11 Michael Koch <konqueror@gmx.de>
11230 * java/nio/charset/IllegalCharsetNameException.java
11231 (serialVersionUID): New member variable.
11232 (charsetName): New member variable.
11233 (IllegalCharsetException): New implementation.
11234 (getCharsetName): New implementation.
11235 * java/nio/charset/UnsupportedCharsetException.java
11236 (serialVersionUID): New member variable.
11237 (charsetName): New member variable.
11238 (UnsupportedCharsetException): New implementation.
11239 (getCharsetName): New implementation.
11241 2003-02-10 Tom Tromey <tromey@redhat.com>
11243 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
11244 (ex): Renamed from sqlException.
11246 2003-02-10 Raif S. Naffah <raif@fl.net.au>
11248 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
11249 method used to ensure seeding has occurred and that a specific
11250 seed can be set and used.
11252 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
11254 * java/lang/Win32Process.java (destroy): Declare as native.
11255 (hasExited): New native method.
11256 (exitValue): Define.
11257 (getErrorStream): Likewise.
11258 (getInputStream): Likewise.
11259 (getOutputStream): Likewise.
11260 (waitFor): Declare as native.
11261 (startProcess): New native method.
11262 (cleanup): Likewise.
11263 (ConcreteProcess): Define.
11264 (outputStream, inputStream, errorStream): New members.
11265 (procHandle, exitCode): Likewise.
11267 * java/lang/natWin32Process.cc
11268 (java::lang::ConcreteProcess::cleanup): Define.
11269 (java::lang::ConcreteProcess::destroy): Likewise.
11270 (java::lang::ConcreteProcess::hasExited): Likewise.
11271 (java::lang::ConcreteProcess::waitFor): Likewise.
11272 (new_string): Likewise.
11273 (java::lang::ConcreteProcess::startProcess): Likewise.
11275 2003-02-10 Raif S. Naffah <raif@fl.net.au>
11277 * java/math/BigInteger.java:
11278 Updated notice to include years 2002 and 3.
11279 Added 2 private (int) arrays with values from the HAC (Handbook of
11280 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11281 and t[] that contains nbr. of tests --used in isProbablePrime().
11283 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11285 * java/math/BigInteger.java (make(int[],int), add(int,int),
11286 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11287 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11288 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11291 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11292 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11293 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11294 BIs and returns void.
11295 (modInverse(BI)): Use new signatures of euclidInv().
11297 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11298 static small primes instead of remainder().
11299 Use pre-computed max nbr of trials based on bitlength of BI to test.
11300 Use pre-computed small primes for the trial tests instead of random
11303 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11306 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11307 invoacation of MPN.chars_per_word(). not used.
11309 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11310 local var and used where needed.
11312 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11313 Combined declaration with initialisation of locals.
11314 Removed unused var.
11316 * java/math/BigInteger.java: Style changes
11317 (pow(int)): Removed 'else' keyword.
11318 (toString(int)): idem.
11319 (doubleValue()): idem.
11320 (bitLength()): idem.
11321 (equals(Object)): Use static methods name in same class w/o prepending
11323 (doubleValue()): idem.
11324 (setNegative(BI)): idem.
11326 (and(BI,int)): idem.
11329 (byteArrayToIntArray()): Removed casting to (int). this is
11331 (canonicalize()): idem.
11332 (alloc(int)): Always instantiate a new BI.
11334 2003-02-10 Tom Tromey <tromey@redhat.com>
11336 * java/sql/Timestamp.java (compareTo(Object)): New method.
11337 (compareTo(Timestamp)): Likewise.
11338 (serialVersionUID): Updated.
11340 2003-02-07 Mark Wielaard <mark@klomp.org>
11342 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11343 when verify is true.
11344 (JarFile(File, boolean)): Likewise.
11345 (manifestRead): Set manifestRead field correctly.
11347 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11349 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11350 tests; see patch #1016 on Savannah.
11352 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11354 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11355 (toString): do not return Strings starting with . and - erroneously.
11356 Improves Mauve results to 12 of 600 instead of 16 of 338 on
11359 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11361 * java/beans/PropertyDescriptor.java
11362 (PropertyDescriptor(String, Class)): Sanity check getter and setter
11364 (PropertyDescriptor(String, Class, String, String)): Likewise.
11365 (PropertyDescriptor(String, Method, Method): Factor out getter and
11366 setter method sanity checks into new method.
11367 (findMethods): Don't do parameter sanity checking of get method here.
11368 (checkMethods): New method.
11370 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11372 * java/beans/PropertyDescriptor.java: Reformat.
11374 2003-02-04 Tom Tromey <tromey@redhat.com>
11376 * java/io/PipedOutputStream.java (flush): Declare as throwing
11379 * java/io/PipedWriter.java (close): Declare as throwing
11381 * java/io/StringWriter.java (close): Declare as throwing
11384 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
11386 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11387 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11388 could also have been exported as "JNI_OnLoad@8" (MinGW) or
11389 "_JNI_OnLoad@8" (MSVC).
11391 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
11393 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11394 convention on Win32 to invoke native JNI methods.
11396 2003-02-03 Andrew Haley <aph@redhat.com>
11398 * configure.host (x86_64): Enable interpreter.
11400 2003-02-03 Andrew Haley <aph@redhat.com>
11402 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11403 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11404 * configure.in (BACKTRACESPEC): New.
11405 * configure: Regenerate.
11407 2003-02-02 Tom Tromey <tromey@redhat.com>
11409 * configure: Rebuilt.
11410 * configure.in (TOOLKIT) [xlib]: Set correctly.
11412 * Makefile.in: Rebuilt.
11413 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11416 2003-01-31 Mark WIelaard <mark@klomp.org>
11418 * Makefile.in: Rebuilt.
11419 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11421 2003-01-31 Tom Tromey <tromey@redhat.com>
11423 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11424 cast to element type.
11425 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11426 (_Jv_JNI_GetObjectArrayElement): Likewise.
11428 * Makefile.in: Rebuilt.
11429 * Makefile.am (cond_x_ltlibrary): Renamed library to
11430 lib-gnu-awt-xlib.la.
11431 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11432 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11433 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11434 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11435 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11436 (lib_gnu_awt_xlib_la_LINK): Likewise.
11437 (install-exec-hook): Removed.
11438 (lib-gnu-awt-xlib.la): Renamed.
11440 2003-01-31 Tom Tromey <tromey@redhat.com>
11442 * aclocal.m4, configure, include/config.h.in: Rebuilt.
11443 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11444 aclocal.m4 and lost in some merge.
11446 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11447 Don't try to find graphics configuration.
11448 * java/awt/Toolkit.java (default_toolkit_name): Use new
11449 Configuration entry.
11450 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11452 * configure: Rebuilt.
11453 * configure.in (TOOLKIT): New subst.
11454 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11455 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
11456 directory. Make output directories for .c files.
11457 * Makefile.in: Rebuilt.
11458 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11459 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11460 (all_java_source_files): Added new sources.
11461 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11462 (gtk_c_files): New macro.
11463 (gtk_c_source_files): New macro.
11464 (cond_gtk_ltlibrary): New macro.
11465 ($(gtk_c_files)): New target.
11466 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11467 (gtk_awt_peer_sources): New macro.
11468 (gtk_c_headers): New macro.
11469 ($(gtk_c_headers)): New target.
11470 (ACLOCAL_AMFLAGS): New macro.
11471 * gtk.m4, glib.m4, libart.m4: New files.
11472 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11473 gnu/java/awt/peer/gtk/GdkGraphics.java,
11474 gnu/java/awt/peer/gtk/GtkArg.java,
11475 gnu/java/awt/peer/gtk/GtkArgList.java,
11476 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11477 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11478 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11479 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11480 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11481 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11482 gnu/java/awt/peer/gtk/GtkClipboard.java,
11483 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11484 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11485 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11486 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11487 gnu/java/awt/peer/gtk/GtkFontPeer.java,
11488 gnu/java/awt/peer/gtk/GtkFramePeer.java,
11489 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11490 gnu/java/awt/peer/gtk/GtkImage.java,
11491 gnu/java/awt/peer/gtk/GtkImagePainter.java,
11492 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11493 gnu/java/awt/peer/gtk/GtkListPeer.java,
11494 gnu/java/awt/peer/gtk/GtkMainThread.java,
11495 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11496 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11497 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11498 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11499 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11500 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11501 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11502 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11503 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11504 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11505 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11506 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11507 gnu/java/awt/peer/gtk/GtkToolkit.java,
11508 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11509 gnu/java/awt/peer/gtk/TestAWT.java,
11510 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11512 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11513 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11514 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11515 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11516 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11517 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11518 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11519 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11520 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11521 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11522 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11523 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11524 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11525 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11526 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11527 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11528 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11529 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11530 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11531 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11532 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11533 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11534 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11535 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11536 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11537 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11538 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11539 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11540 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11541 jni/classpath/native_state.c, jni/classpath/native_state.h,
11542 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11544 2003-01-31 Julian Dolby <dolby@us.ibm.com>
11546 * java/util/Properties.java (load): Ignore backslash before EOF.
11548 2003-01-30 Jeff Sturm <jsturm@one-point.com>
11550 * java/lang/natClass.cc (initializeClass): Check tables when
11551 (state == JV_STATE_IN_PROGRESS).
11552 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11553 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11554 interpreted classes.
11555 (linkClass0): Use _Jv_WaitForState.
11557 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
11559 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11560 object when finished.
11562 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
11564 * libjava/configure.host: Disable can_unwind_signal on darwin.
11566 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
11568 Fixes PR java/9254:
11569 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11570 additionally containing id of the owner thread as well as
11571 the number of nested times the thread has acquired the mutex.
11572 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11573 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11574 (_Jv_MutexUnlock): Check if really the owner thread, reset
11575 owner thread id to 0 before leaving, if leaving for the last
11577 (_Jv_MutexLock): Set owner thread id in the mutex and increment
11579 (_Jv_ThreadYield): Yield using a call to Sleep(0).
11580 * win32-threads.cc (_Jv_CondWait): Check if really owner of
11582 Pass handle of the broadcast event, instead of a pointer to it
11583 in Win32 ResetEvent( ) call.
11584 Remove incorrect return values.
11585 (_Jv_CondDestroy): Close both event handles and delete
11587 (_Jv_CondNotify): Check if really the owner thread.
11588 (_Jv_CondNotifyAll): Check if really the owner thread.
11589 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11590 (really_start): Use SetEvent( ) to signal daemon_cond.
11591 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11592 WaitForSingleObject( ) instead to wait for daemon_cond to be
11595 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
11597 * configure.in: Specifically define HAVE_BACKTRACE if building
11599 * include/win32.h: Remove HAVE_BACKTRACE definition.
11600 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11601 * configure: Rebuilt.
11603 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
11605 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11606 Set and AC_SUBST. Remove USE_LIBDIR conditional.
11607 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11608 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11609 * Makefile.in, configure: Rebuilt.
11611 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
11613 Fixes PR java/9253:
11614 * java/io/natFileWin32.cc (performList): Append only "*.*"
11615 if the canonical file path already has a "\" at the end.
11617 2003-01-24 Tom Tromey <tromey@redhat.com>
11619 * defineclass.cc (handleMethodsEnd): Precompute code for static
11621 (handleCodeAttribute): Likewise.
11622 * resolve.cc (ncode): Use run_class for unsynchronized static
11624 * include/java-interp.h (class _Jv_InterpMethod): Declare
11626 * interpret.cc (run_synch_class): Initialize class.
11627 (run) [insn_invokestatic]: Don't initialize class.
11628 [insn_anewarray]: Likewise.
11629 [insn_multianewarray]: Likewise.
11630 (run_class): New function.
11632 2003-01-24 Tom Tromey <tromey@redhat.com>
11634 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11637 2003-01-22 Andrew Haley <aph@redhat.com>
11639 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11640 * configure.host (CHECKREFSPEC): Define for x86_64.
11642 2003-01-21 Tom Tromey <tromey@redhat.com>
11644 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11645 search at 2, not 3.
11647 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
11649 * java/io/natFileWin32.cc (isAbsolute): Check path length before
11650 looking at any characters.
11651 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11653 (isAbsolute): Check path's length as well.
11655 2003-01-17 Mark Wielaard <mark@klomp.org>
11657 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11658 (nat_source_files): Add natVMObjectStreamClass.cc.
11659 * Makefile.in: Regenerated.
11660 * gcj/javaprims.h (namespace java): Regenerated.
11661 * java/io/ObjectStreamClass.java (getClassUID): Call
11662 VMObjectStreamClass.hasClassInitializer().
11663 (hasClassInitializer): Removed.
11664 * java/io/VMObjectStreamClass.java: New class.
11665 * java/io/natVMObjectStreamClass.cc: New file.
11666 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11668 2003-01-16 Mark Wielaard <mark@klomp.org>
11670 * java/net/SocketImpl.java (toString): Don't explicitly call
11671 toString() on possible null address.
11673 2003-01-16 Michael Koch <konqueror@gmx.de>
11675 * java/net/MulticastSocket.java
11676 (setInterface): Reindented.
11678 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11680 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11681 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11682 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11683 translateY arguments. Implement.
11684 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11685 down translation arguments.
11686 (drawPolyline, drawPolygon): Fix incorrect tests.
11687 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11688 translateX and translateY arguments.
11690 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11692 * Makefile.in: Rebuilt.
11693 * Makefile.am (xlib_includes): New macro.
11694 (INCLUDES): Use it.
11696 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11698 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11699 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11700 16-bit display mode.
11702 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
11704 * java/awt/CardLayout.java (show): Rewrote.
11705 (gotoComponent): Removed `target' argument. Simplified code.
11706 Don't pre-compute `choice' unless `what' is FIRST or LAST.
11707 Changed all callers.
11710 2003-01-14 Michael Koch <konqueror@gmx.de>
11712 * java/net/InetSocketAddress.java
11713 (serialVersionUID): New member variable.
11714 * java/net/NetPermission.java
11715 (NetPermission): Dont implement java.io.Serialization directly.
11716 * java/net/SocketAddress.java:
11717 (serialVersionUID): Documentation added.
11719 2003-01-14 Michael Koch <konqueror@gmx.de>
11721 * java/awt/Label.java
11722 (Label): Implements javax.accessibility.Accessible;
11723 * java/awt/List.java
11724 (List): Implements javax.accessibility.Accessible;
11725 * java/awt/ScrollPane.java
11726 (ScrollPane): Implements javax.accessibility.Accessible;
11727 * java/awt/Scrollbar.java
11728 (Scrollbar): Implements javax.accessibility.Accessible;
11729 * java/awt/TextComponent.java
11730 (setCaretPosition): Throw exception, documentation added.
11731 * java/awt/Toolkit.java:
11732 Added some newlines in method documentations.
11733 (createButton): Exception documentation added.
11734 (createTextField): Exception documentation added.
11735 (createLabel): Exception documentation added.
11736 (createList): Exception documentation added.
11737 (createCheckbox): Exception documentation added.
11738 (createScrollbar): Exception documentation added.
11739 (createScrollPane): Exception documentation added.
11740 (createTextArea): Exception documentation added.
11741 (createChoice): Exception documentation added.
11742 (createFrame): Exception documentation added.
11743 (createWindow): Exception documentation added.
11744 (createDialog): Exception documentation added.
11745 (createMenuBar): Exception documentation added.
11746 (createMenu): Exception documentation added.
11747 (createMenuItem): Exception documentation added.
11748 (createFileDialog): Exception documentation added.
11749 (createCheckboxMenuItem): Exception documentation added.
11750 (loadSystemColors): Exception documentation added.
11751 (setDynamicLayout): Exception documentation added.
11752 (isDynamicLayoutSet): Exception documentation added.
11753 (isDynamicLayoutActive): Exception documentation added.
11754 (getScreenSize): Exception documentation added.
11755 (getScreenResolution): Exception documentation added.
11756 (getScreenInsets): Exception documentation added.
11757 (getColorModel): Exception documentation added.
11758 (getSystemClipboard): Exception documentation added.
11759 (getSystemSelection): Exception documentation added.
11760 (getMenuShortcutKeyMask): Exception documentation added.
11761 (getSystemEventQueue): Exception documentation added.
11762 * java/awt/Window.java:
11763 Reindented some code.
11764 (Window): Centralized implementation, documentation added.
11765 (finalize): Documentation added.
11766 (hide): Fixed typo in comment.
11767 (getWindowListeners): Documentation added.
11768 * java/awt/color/ColorSpace.java
11769 (toRGB): Documentation added.
11770 * java/awt/color/ICC_ColorSpace.java
11771 (ICC_ColorSpace): Documentation added.
11772 (toRGB): Throw exception, documentation added.
11773 (fromRGB): Throw exception, documentation added.
11774 (toCIEXYZ): Documentation added.
11775 (fromCIEXYZ): Documentation added.
11776 (getMinValue): Documentation added.
11777 (getMaxValue): Documentation added.
11778 * java/awt/geom/Dimension2D.java
11779 (clone): Documentation added.
11780 * java/awt/geom/GeneralPath.java
11781 (clone): Documentation added.
11782 * java/awt/geom/Line2D.java
11783 (clone): Documentation added.
11784 * java/awt/geom/QuadCurve2D.java
11785 (clone): Documentation added.
11786 * java/awt/image/ColorModel.java
11787 (ColorModel): Throw exception, documentation added.
11788 * java/awt/image/ImageFilter.java
11789 (clone): Doesnt throw CloneNotSupportedException.
11791 2003-01-14 Andrew Haley <aph@redhat.com>
11793 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11796 2003-01-10 Andrew Haley <aph@redhat.com>
11798 * include/dwarf2-signal.h: Remove x86_64.
11799 * configure.host (x86_64 DIVIDESPEC): Remove.
11800 * include/x86_64-signal.h: New file.
11801 * configure.in: Regenerate.
11803 2003-01-10 Michael Koch <konqueror@gmx.de>
11805 * java/net/DatagramSocket.java
11806 (ch): Description added.
11807 (remotePort): Initialize with -1.
11808 (connect): Doesnt throws SocketException.
11809 * java/net/MulticastSocket.java
11810 (setInterface): Merge with Classpath.
11811 * java/net/ServerSocket.java
11812 (closed): New member variable.
11813 (bind): Check if socket is closed.
11814 (close): Close an associated channel too, set new value to closed.
11815 (isBound): Reindented.
11816 (isClosed): Implemented.
11817 * java/net/Socket.java
11818 (closed): New member variable.
11819 (bind): Check if socket is closed.
11820 (connect): Check if socket is closed.
11821 (close): Close an associated channel too, set new value to closed.
11822 (isClosed): Implemented.
11824 2003-01-10 Michael Koch <konqueror@gmx.de>
11826 * java/awt/DisplayMode.java
11827 (equals): Fixed argument type and implementation.
11829 2003-01-07 Tom Tromey <tromey@redhat.com>
11831 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11832 JV_HASH_SYNCHRONIZATION.
11833 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11834 JV_HASH_SYNCHRONIZATION.
11836 2003-01-07 Michael Koch <konqueror@gmx.de>
11838 * java/net/DatagramSocket.java:
11839 Added classpath license info.
11840 (DatagramSocket): Merged description with classpath.
11841 (close): Merged description with classpath.
11842 (getChannel): Merged description with classpath.
11843 (getInetAddress): Merged description with classpath.
11844 (getPort): Merged description with classpath.
11845 (getLocalAddress): Merged description with classpath.
11846 (getLocalPort): Merged description with classpath.
11847 (getSoTimeout): Merged description with classpath.
11848 (setSoTimeout): Merged description with classpath.
11849 (getSendBufferSize): Merged description with classpath.
11850 (setSendBufferSize): Merged description with classpath.
11851 (getReceiveBufferSize): Merged description with classpath.
11852 (setReceiveBufferSize): Merged description with classpath.
11854 2003-01-04 Tom Tromey <tromey@redhat.com>
11856 * java/awt/List.java: Merged with Classpath.
11858 2003-01-03 Mark Wielaard <mark@klomp.org>
11860 * java/io/FileDescriptor.java (position): New private field.
11861 * java/io/natFileDescriptorPosix.cc (write): Up position.
11862 (setLength): Use and set position.
11863 (seek): Set position.
11864 (getFilePointer): Return position.
11865 (read): Up position.
11867 2003-01-03 Mark Wielaard <mark@klomp.org>
11869 Merge with Classpath:
11870 * java/io/ObjectStreamClass.java (lookup): Split method and call
11871 lookupForClassObject().
11872 (lookupForClassObject): New method.
11873 (isProxyClass): New field.
11874 (setClass): Set isProxyClass, add object to classLookupTable, set
11875 superClass and calculateOffsets.
11876 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11877 and not a proxy class.
11878 (setFields): Set accessible true for serialPersistentFields.
11879 (getClassUID): Same for suid. And check if suid is of type long.
11880 (hasClassInitializer): Don't throw NoSuchMethodError.
11882 2003-01-03 Mark Wielaard <mark@klomp.org>
11884 * java/io/FileInputStream.java (finalize): Don't explicitly
11885 finalize FileDescriptor.
11887 2003-01-03 Jeff Sturm <jsturm@one-point.com>
11889 * configure.host (sparc*-*): Enable bytecode interpreter.
11891 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
11893 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11894 Don't throw RemoteException.
11895 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11896 throw RemoteException.
11898 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
11900 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11901 proxyHost): New static fields.
11902 (<clinit>): Initialize new fields.
11903 (connect): Use proxy if necessary.
11904 (usingProxy): Implement.
11906 2003-01-03 Eric Blake <ebb9@email.byu.edu>
11908 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11909 (TreeIterator.remove): Prefer IllegalStateException over
11910 ConcurrentModificationException, to match Sun.
11912 2002-12-22 Anthony Green <green@redhat.com>
11914 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11916 2003-01-02 Mark Wielaard <mark@klomp.org>
11918 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11920 (HTTP_USE_PROXY): Add field.
11921 (getResponseVals): Only set responseCode when not yet explicitly
11924 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
11925 Mark Wielaard <mark@klomp.org>
11927 * java/util/zip/ZipFile.java (entries): Now HashMap.
11928 (readLeShort(DataInput, byte[])): Read from given byte array.
11929 (readLeInt(DataInput, byte[]): Likewise.
11930 (readLeShort(byte[] b, int off)): New method.
11931 (readLeInt(byte[] b, int off)): Likewise.
11932 (readEntries): Use byte arrays to read info in bigger chunks.
11933 (getEntries): Return HashMap.
11934 (getEntry): Use HashMap.
11935 (locBuf): New private field.
11936 (checkLocalHeader): Use locBuf to read info in one chunk.
11937 (getInputStream): Use entries HashMap, wrap PartialInputStream
11938 in BufferedInputStream.
11939 (ZipEntryEnumeration): Use HashMap and Interator.
11941 2003-01-02 Mark Wielaard <mark@klomp.org>
11942 Jeroen Frijters <jeroen@sumatra.nl>
11944 * java/net/URLClassLoader.java (Resource.getCodeSource):
11945 Fix check certs == null.
11946 (getCanonicalFileURL): Removed method.
11947 (JarURLLoader): Don't call removed method.
11948 (FileURLLoader): Likewise.
11949 (FileURLLoader.getResource): Don't canonicalize file name.
11951 2003-01-01 Tom Tromey <tromey@redhat.com>
11953 * Makefile.in: Rebuilt.
11954 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11955 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11956 java/awt/BufferCapabilities.java, java/awt/Button.java,
11957 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11958 java/awt/Container.java, java/awt/Cursor.java,
11959 java/awt/EventQueue.java, java/awt/FileDialog.java,
11960 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11961 java/awt/MenuBar.java, java/awt/MenuComponent.java,
11962 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11963 java/awt/Scrollbar.java, java/awt/TextArea.java,
11964 java/awt/TextField.java, java/awt/color/CMMException.java,
11965 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11966 java/awt/color/ProfileDataException.java,
11967 java/awt/datatransfer/Clipboard.java,
11968 java/awt/datatransfer/DataFlavor.java,
11969 java/awt/datatransfer/FlavorMap.java,
11970 java/awt/datatransfer/SystemFlavorMap.java,
11971 java/awt/dnd/DragGestureEvent.java,
11972 java/awt/dnd/DragGestureRecognizer.java,
11973 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11974 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11975 java/awt/im/InputMethodHighlight.java,
11976 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11977 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11979 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11980 `op' to BufferedImageOp.
11982 2002-12-31 Tom Tromey <tromey@redhat.com>
11984 Fix for PR libgcj/7416:
11985 * javax/naming/InitialContext.java (init): Use
11986 gnu.classpath.home.url.
11987 * java/security/Security.java: Use new properties.
11988 (loadProviders): Accept base url; use it.
11989 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11990 gnu.classpath.home.url.
11991 (gnu.classpath.home.url): Define.
11992 (gnu.classpath.vm.shortname): Likewise.
11994 2002-12-31 Tom Tromey <tromey@redhat.com>
11995 Ranjit Mathew <rmathew@hotmail.com>
11997 Fix for PR libgcj/8997:
11998 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11999 Include platform.h.
12000 * include/posix.h (_Jv_platform_usleep): New function.
12001 * include/win32.h (_Jv_platform_usleep): New function.
12003 2002-12-29 Tom Tromey <tromey@redhat.com>
12005 * gcj/javaprims.h: Updated.
12006 * scripts/classes.pl (scan): Removed stray semicolon.
12008 2002-12-30 Mark Wielaard <mark@klomp.org>
12010 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
12011 if zero or smaller.
12013 2002-12-30 Mark Wielaard <mark@klomp.org>
12015 * java/util/Properties (formatForOutput): Don't fall through to
12016 default case after escaping character.
12018 2002-12-30 Mark Wielaard <mark@klomp.org>
12020 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
12023 2002-12-27 Mark Mitchell <mark@codesourcery.com>
12025 * boehm.cc: Remove stray semicolon.
12026 * interpret.cc: Likewise.
12027 * prims.cc: Likewise.
12028 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
12029 earlier to ensure default arguments are processed.
12030 * gcj/array.h (JArray): Add forward declaration.
12031 (elements): Likewise.
12032 * gcj/javaprim.h: Remove stray semicolons.
12033 * include/bohm-gc.h: Likewise.
12034 * include/jni.h: Likewise.
12035 * include/jvm.h: Likewise.
12036 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
12038 2002-12-23 Jeff Sturm <jsturm@one-point.com>
12040 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
12042 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
12043 idt tables after initializing superclass.
12044 * java/lang/natClassLoader.cc (uaddr): New typedef.
12045 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
12046 if they are constant pool indicies. Don't link vtable, otable yet.
12048 2002-12-21 Anthony Green <green@redhat.com>
12050 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
12052 * Makefile.in: Rebuilt.
12054 2002-12-19 Anthony Green <green@redhat.com>
12056 * Makefile.am (ordinary_java_source_files): Add
12057 org/xml/sax/helpers/NewInstance.java.
12058 * Makefile.in: Rebuilt.
12059 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
12060 org/xml/sax/helpers/package.html: New files.
12061 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
12062 http://www.saxproject.org.
12064 2002-12-19 Andrew Haley <aph@redhat.com>
12066 * java/util/natResourceBundle.cc: Include
12067 ArrayIndexOutOfBoundsException.h.
12068 (getCallingClassLoader): Don't put upper bound on stack search.
12069 Catch ArrayIndexOutOfBoundsException.
12071 2002-12-19 Tom Tromey <tromey@redhat.com>
12073 * libtool-version: Increased `current'.
12075 2002-12-19 Tom Tromey <tromey@redhat.com>
12077 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
12079 * java/lang/ClassLoader.java (defineClass): Use chained
12080 exception when rethrowing.
12081 * defineclass.cc (handleClassBegin): Mark class as interpreted.
12082 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
12084 * resolve.cc (_Jv_PrepareMissingMethods): New function.
12085 (_Jv_PrepareClass): Use it.
12086 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
12087 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
12088 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
12089 (Class): _Jv_PrepareMissingMethods now friend.
12090 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
12091 Record `NULL' for system class loader.
12092 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
12093 system class loader.
12094 (_Jv_FindClassInCache): Likewise.
12095 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
12096 (_Jv_FindClass): Special case system class loader.
12097 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
12098 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
12100 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
12102 (_getDeclaredMethod): Don't return synthetic methods.
12103 (getDeclaredMethods): Likewise.
12104 (_getMethod): Likewise.
12105 (_getMethods): Likewise.
12107 2002-12-18 Raif Naffah <raif@fl.net.au>
12109 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
12110 canonical form after divide().
12111 (modInverse): Likewise.
12113 2002-12-13 Casey Marshall <rsdio@metastatic.org>
12114 Mark Wielaard <mark@klomp.org>
12116 * java/security/SecurityRandom (digest): Removed field.
12117 (SecureRandom): Check all providers for case-insensitive SecureRandom
12118 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
12120 (getInstance(String,Provider,boolean): New method.
12121 (getInstance(String)): Use new method.
12122 (getInstance(String,String)): Likewise.
12123 (getInstance(String,Provider)): Likewise.
12125 2002-12-13 Casey Marshall <rsdio@metastatic.org>
12127 * java/security/Security.java (loadProviders): Increment i only once.
12129 2002-12-12 Mark Wielaard <mark@klomp.org>
12131 * java/lang/ClassLoader.java (resolveClass0): Transform
12132 ClassNotFoundException to NoClassDefFoundError. Transform all other
12133 throwables to LinkageError.
12135 2002-12-11 Tom Tromey <tromey@redhat.com>
12137 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
12139 * java/lang/ClassLoader.java (loadedClasses): New field.
12140 (defineClass): Fixed indentation. Put new class in
12142 (findLoadedClass): Implement here.
12143 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
12145 2002-12-10 Tom Tromey <tromey@redhat.com>
12147 * Makefile.in: Rebuilt.
12148 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12149 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
12150 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
12151 * java/lang/natClassLoader.cc
12152 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
12154 2002-12-10 Mark Wielaard <mark@klomp.org>
12155 Tom Tromey <tromey@redhat.com>
12157 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
12158 (JarURLLoader): Use it.
12159 (FileURLLoader): Likewise.
12160 (JarURLResource.getURL): Use chained exception.
12161 (FileResource.getURL): Likewise.
12162 (FileURLLoader.getResource): Use canonical file name.
12163 (addURL): Indentation fix.
12165 2002-12-10 Tom Tromey <tromey@redhat.com>
12167 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
12168 From Laurent Bardet <l.bardet@magic.fr>.
12170 2002-12-09 Tom Tromey <tromey@redhat.com>
12172 * include/win32.h (_Jv_platform_solib_prefix): New define.
12173 (_Jv_platform_solib_suffix): Likewise.
12174 * include/posix.h (_Jv_platform_solib_prefix): New define.
12175 (_Jv_platform_solib_suffix): Likewise.
12176 * java/lang/natRuntime.cc: Include StackTrace.h.
12177 (_load): Use findLibrary and new platform defines.
12178 (nativeGetLibname): Use new platform defines.
12180 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
12183 2002-12-08 Mark Wielaard <mark@klomp.org>
12185 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
12186 cache remote jar files.
12187 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
12188 add File.separator to URL when it is a directory.
12189 * java/lang/ClassLoader.java: Add Classpath javadoc.
12191 (getParent): Add (disabled) security check.
12192 (findLibrary): New default method.
12193 * java/net/JarURLConnection.java (getManifest): Implement.
12194 (getInputStream): Only create InputStream when entry exists.
12195 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
12197 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
12199 2002-12-08 Mark Wielaard <mark@klomp.org>
12201 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
12202 (lastDefaultLocale): New field.
12203 (getBundle): When Locale.getDefault != lastDefaultLocale reset
12204 resourceBundleCache.
12206 2002-12-06 Mark Wielaard <mark@klomp.org>
12208 * java/net/InetAddress.java (toString): Use hostname when not null,
12209 don't do an explicit reverse getHostName() lookup.
12210 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
12211 NullPointerException.
12213 2002-12-06 Tom Tromey <tromey@redhat.com>
12215 * include/java-interp.h (class _Jv_InterpMethod): Added
12217 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
12218 mark `prepared' field of interpreted method.
12219 * interpret.cc (compile): Use _Jv_AllocBytes.
12221 2002-12-05 Andrew Haley <aph@redhat.com>
12223 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
12224 #ifdef (HAVE_BACKTRACE) around the whole function body.
12226 2002-12-05 Tom Tromey <tromey@redhat.com>
12228 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
12229 * resolve.cc: Don't include AbstractMethodError.h.
12230 (_Jv_abstractMethodError): Removed.
12231 * defineclass.cc (handleMethodsBegin): Initialize method index to
12233 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
12234 method index for "new" final method.
12235 (_Jv_SetVTableEntries): Compare index against -1 instead of using
12236 isVirtualMethod. Added `flags' argument.
12237 (_Jv_MakeVTable): Throw exception for abstract method in concrete
12240 2002-12-04 Tom Tromey <tromey@redhat.com>
12242 * java/net/SocketPermission.java (hashCode): Rewrote.
12244 2002-12-04 Tom Tromey <tromey@redhat.com>
12246 * Makefile.in: Rebuilt.
12247 * Makefile.am (nat_source_files): Added natVMSecurityManager,
12249 * java/util/ResourceBundle.java (Security): Removed.
12250 (getCallingClassLoader): Now native.
12251 * java/util/natResourceBundle.cc: New file.
12252 * java/lang/natVMSecurityManager.cc: New file.
12253 * java/lang/VMSecurityManager.java (getClassContext): Now native.
12255 2002-12-03 Mark Wielaard <mark@klomp.org>
12257 * java/util/jar/JarFile.java (manifest): Not final.
12258 (manifestRead): New field.
12259 (JarFile): Don't read Manifest in constructor.
12260 (getManifest): New method.
12261 (JarEnumeration.nextElement): Use new method.
12262 (getEntry): Likewise.
12263 * java/util/zip/ZipFile.java (name): Final.
12265 (entries): Change type to Hashtable.
12266 (closed): New field.
12267 (ZipFile): Don't read enties in constructor.
12268 (readEntries): Use Hashtable.
12269 (close): Set new close flag and set entries to null inside
12270 synchronized block.
12271 (entries): Contruct enumeration using new getEntries() method and
12273 (getEntryIndex): Removed.
12274 (getEntries): New method.
12275 (getEntry): Use new getEntries() method and entries Hastable.
12276 (getInputStream): Likewise.
12277 (size): Return getEntries().size().
12278 (ZipEntryEnumeration): Wrap entries Hashtable elements.
12279 * java/util/zip/ZipEntry.java (cal): Don't initialize.
12281 (dostime): New field.
12282 (zipFileIndex): Removed.
12283 (ZipEntry(ZipEntry)): Copy dostime.
12284 (setDOSTime): Now final and doesn't convert dos time.
12285 (getDOSTime): Likewise.
12286 (setTime): Convert dos time.
12287 (getTime): Likewise.
12288 (getCalendar): New method.
12289 (setExtra): Use setTime().
12290 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12292 2002-12-03 Tom Tromey <tromey@redhat.com>
12294 * java/lang/Character.java (forDigit): Formatting fix.
12296 2002-12-03 Raif Naffah <raif@fl.net.au>
12298 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12299 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12300 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
12302 2002-12-03 Andrew Haley <aph@redhat.com>
12304 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12306 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12307 (_Jv_PopClass): New.
12308 (_Jv_PushClass): New.
12309 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12310 discover the ClassLoader of our caller.
12311 (_Jv_CheckArrayStore): Don't check that a class is assignment
12312 compatible with Object.
12313 * java/lang/natVMTHrowable.cc: Delete.
12314 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12315 java.lang.VMThrowable.
12316 (StackTrace(), StackTrace(int)): New constructors.
12317 (classAt, methodAt, update, methodAtAddress): New methods.
12319 * java/lang/VMThrowable.java: Use StackTrace instead of
12321 * java/lang/Class.h (getClassLoaderInternal): New.
12322 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12323 Be friendly with gnu::gcj::runtime::StackTrace.
12324 (Object.chain): New field.
12325 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12326 gnu::gcj::runtime::StackTrace.
12327 * gnu/gcj/runtime/natStackTrace.cc: New file.
12328 * gnu/gcj/runtime/MethodRef.java: New file.
12329 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12330 instead of getClassLoader().
12331 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12332 java::lang::VMThrowable.
12333 * Makefile.am (core_java_source_files): Add MethodRef.java,
12335 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12336 * Makefile.in: Rebuild.
12338 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
12340 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12341 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12342 yes also for sh-linux* and sh[34]*-linux*.
12343 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12344 set SIGNAL_HANDLER to use DWARF2 exception for them.
12345 * configure: Regenerate.
12347 2002-12-02 Tom Tromey <tromey@redhat.com>
12349 * jni.cc: Added `name' argument.
12350 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12351 `const char *' argument.
12352 (class _Jv_JNIEnv) [DefineClass]: Likewise.
12354 2002-12-01 Tom Tromey <tromey@redhat.com>
12356 Bug compatibility, for PR libgcj/8738:
12357 * java/io/CharArrayWriter.java (close): Do nothing.
12359 (reset): Don't touch `closed'.
12360 (write(int)): Don't throw IOException.
12361 (write(char[],int,int)): Likewise.
12362 (write(String,int,int)): Likewise.
12365 2002-12-01 Mark Wielaard <mark@klomp.org>
12367 * java/lang/SecurityManager.java: Remerge comments, indenting and
12368 checkXXX methods with Classpath.
12370 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
12372 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12373 getNormalizedComponents): Fix calculation which was using one too
12374 many bits in the unnormalized format.
12376 2002-11-29 Gary Benson <gbenson@redhat.com>
12378 For PR libgcj/8759:
12379 * java/beans/Introspector.java (flushCaches): New method.
12380 (flushFromCaches): Likewise.
12382 2002-11-29 Michael Koch <konqueror@gmx.de>
12384 * java/nio/channels/DatagramChannel.java
12385 (open): Added exception documentation.
12386 (write): Added exception documentation.
12387 (connect): Added exception documentation.
12388 (disconnect): Added exception documentation.
12389 (isConnected): Added exception documentation.
12390 (read): Added exception documentation.
12391 (receive): Added exception documentation.
12392 (send): Added exception documentation.
12393 (validOps): Added exception documentation.
12394 * java/nio/channels/SocketChannel.java
12395 (open): Added exception documentation.
12396 (read): Added exception documentation.
12397 (write): Added exception documentation.
12398 (connect): Added exception documentation.
12399 (finishConnect): Added exception documentation.
12401 2002-11-29 Michael Koch <konqueror@gmx.de>
12403 * gnu/java/nio/DatagramChannelImpl:
12404 (fd): New member variable to store file descriptor of socket.
12405 * gnu/java/nio/SelectionKeyImpl.java:
12407 (readyOps): New member variable.
12408 (interestOps): New member variable.
12409 (readyOps): Implemented.
12410 (readyOps): New method to set member variable readyOps.
12411 (interestOps): Replaced ops by interestOps.
12412 * gnu/java/nio/SelectorImpl.java:
12413 (SelectorImpl): Initialize key sets.
12414 (select): Call select with -1 instead of Long.MAX_VALUE).
12415 (java_do_select): Make it a native method.
12416 (getFDsAsArray): New helper method.
12417 (select): Remove canceled keys, give only interested file discriptors
12418 to java_do_select, set ready ops.
12419 (add): No need to initialize keys set here.
12420 (add_selected): No need to initialize selected set here.
12421 (deregisterCanceledKeys): New helper method.
12422 (register): Set interest ops, set attachments, added handling of datagram
12424 * gnu/java/nio/ServerSocketChannelImpl:
12425 (SocketAccept): Renamed from NioSocketAccept.
12426 (implConfigureBlocking): Implemented.
12427 (accept): Use SocketAccept instead of NioSocketAccept.
12428 * gnu/java/nio/SocketChannelImpl:
12429 Reactivate native methods.
12431 2002-11-29 Michael Koch <konqueror@gmx.de>
12433 * gnu/java/nio/natByteBufferImpl.cc,
12434 gnu/java/nio/natCharBufferImpl.cc,
12435 gnu/java/nio/natDoubleBufferImpl.cc,
12436 gnu/java/nio/natFloatBufferImpl.cc,
12437 gnu/java/nio/natIntBufferImpl.cc,
12438 gnu/java/nio/natLongBufferImpl.cc,
12439 gnu/java/nio/natSelectorImpl.cc,
12440 gnu/java/nio/natServerSocketChannelImpl.cc,
12441 gnu/java/nio/natShortBufferImpl.cc,
12442 gnu/java/nio/natSocketChannelImpl.cc:
12443 New files that implement native functionalities.
12445 2002-11-29 Michael Koch <konqueror@gmx.de>
12447 * gnu/java/nio/ByteBufferImpl.java
12448 (ByteBufferImpl): Moved position() after limit.
12449 (nio_*): Use native implementation.
12450 * gnu/java/nio/CharBufferImpl.java:
12452 (endian): New member variable string endianess of buffer.
12453 (CharBufferImpl): Moved position() after limit.
12454 (nio_*): Use native implementation.
12455 (subSequence): Implemented.
12456 * gnu/java/nio/DoubleBufferImpl.java
12457 (DoubleBufferImpl): Moved position() after limit.
12458 (nio_*): Use native implementation.
12459 * gnu/java/nio/FloatBufferImpl.java
12461 (FloatBufferImpl): Moved position() after limit.
12462 (nio_*): Use native implementation.
12463 * gnu/java/nio/IntBufferImpl.java
12464 Added needed imports, Reformated.
12465 (IntBufferImpl): Moved position() after limit.
12466 (nio_*): Use native implementation.
12467 * gnu/java/nio/LongBufferImpl.java
12469 (LongBufferImpl): Moved position() after limit.
12470 (nio_*): Use native implementation.
12471 * gnu/java/nio/ShortBufferImpl.java
12473 (ShortBufferImpl): Moved position() after limit.
12474 (nio_*): Use native implementation.
12476 2002-11-27 Julian Dolby <dolby@us.ibm.com>
12478 * java/util/Locale.java (toString): Improve efficiency if country
12479 and variant are both empty.
12481 2002-11-26 Tom Tromey <tromey@redhat.com>
12483 * verify.cc (pop_init_ref): New method.
12484 (verify_instructions_0) [op_iaload, op_laload, op_faload,
12485 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12486 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12487 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12488 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12489 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12490 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
12491 let `this' argument be uninitialized. Don't let `null' be passed
12492 as `this' to construtor.
12494 2002-11-26 Mark Wielaard <mark@klomp.org>
12496 * javax/transaction/HeuristicCommitException.java: Classpath merge.
12497 * javax/transaction/HeuristicMixedException.java: Likewise.
12498 * javax/transaction/HeuristicRollbackException.java: Likewise.
12499 * javax/transaction/InvalidTransactionException.java: Likewise.
12500 * javax/transaction/NotSupportedException.java: Likewise.
12501 * javax/transaction/RollbackException.java: Likewise.
12502 * javax/transaction/Status.java: Likewise.
12503 * javax/transaction/Synchronization.java: Likewise.
12504 * javax/transaction/SystemException.java: Likewise.
12505 * javax/transaction/Transaction.java: Likewise.
12506 * javax/transaction/TransactionManager.java: Likewise.
12507 * javax/transaction/TransactionRequiredException.java: Likewise.
12508 * javax/transaction/TransactionRolledbackException.java: Likewise.
12509 * javax/transaction/UserTransaction.java: Likewise.
12510 * javax/transaction/xa/XAException.java: Likewise.
12511 * javax/transaction/xa/XAResource.java: Likewise.
12512 * javax/transaction/xa/Xid.java: Likewise.
12514 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
12516 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12518 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12519 * include/posix.h (socklen_t): Define if not already defined.
12521 2002-11-25 Tom Tromey <tromey@redhat.com>
12523 * verify.cc (type::compatible): Backed out broken change.
12525 * verify.cc (type::compatible): Check initialization status
12527 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12528 Don't use NULLCHECK.
12530 2002-11-23 H.J. Lu <hjl@gnu.org>
12532 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12533 Include ../config/accross.m4.
12534 * aclocal.m4; Rebuild.
12535 * configure: Likewise.
12537 2002-11-23 Mark Wielaard <mark@klomp.org>
12539 * javax/naming/AuthenticationException.java: Update copyright header.
12540 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12541 * javax/naming/Binding.java: Likewise.
12542 * javax/naming/CannotProceedException.java: Likewise.
12543 * javax/naming/CommunicationException.java: Likewise.
12544 * javax/naming/CompositeName.java: Likewise.
12545 * javax/naming/CompoundName.java: Likewise.
12546 * javax/naming/ConfigurationException.java: Likewise.
12547 * javax/naming/Context.java: Likewise.
12548 * javax/naming/ContextNotEmptyException.java: Likewise.
12549 * javax/naming/InitialContext.java: Likewise.
12550 * javax/naming/InsufficientResourcesException.java: Likewise.
12551 * javax/naming/InterruptedNamingException.java: Likewise.
12552 * javax/naming/LimitExceededException.java: Likewise.
12553 * javax/naming/LinkException.java: Likewise.
12554 * javax/naming/LinkLoopException.java: Likewise.
12555 * javax/naming/LinkRef.java: Likewise.
12556 * javax/naming/MalformedLinkException.java: Likewise.
12557 * javax/naming/NameAlreadyBoundException.java: Likewise.
12558 * javax/naming/NameClassPair.java: Likewise.
12559 * javax/naming/NameNotFoundException.java: Likewise.
12560 * javax/naming/NameParser.java: Likewise.
12561 * javax/naming/NamingEnumeration.java: Likewise.
12562 * javax/naming/NamingSecurityException.java: Likewise.
12563 * javax/naming/NoInitialContextException.java: Likewise.
12564 * javax/naming/NoPermissionException.java: Likewise.
12565 * javax/naming/NotContextException.java: Likewise.
12566 * javax/naming/OperationNotSupportedException.java: Likewise.
12567 * javax/naming/PartialResultException.java: Likewise.
12568 * javax/naming/Reference.java: Likewise.
12569 * javax/naming/Referenceable.java: Likewise.
12570 * javax/naming/ReferralException.java: Likewise.
12571 * javax/naming/ServiceUnavailableException.java: Likewise.
12572 * javax/naming/SizeLimitExceededException.java: Likewise.
12573 * javax/naming/TimeLimitExceededException.java: Likewise.
12574 * javax/naming/directory/Attribute.java: Likewise.
12575 * javax/naming/directory/AttributeInUseException.java: Likewise.
12576 * javax/naming/directory/AttributeModificationException.java: Likewise.
12577 * javax/naming/directory/Attributes.java: Likewise.
12578 * javax/naming/directory/BasicAttribute.java: Likewise.
12579 * javax/naming/directory/BasicAttributes.java: Likewise.
12580 * javax/naming/directory/DirContext.java: Likewise.
12581 * javax/naming/directory/InitialDirContext.java: Likewise.
12582 * javax/naming/directory/InvalidAttributeIdentifierException.java:
12584 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12585 * javax/naming/directory/InvalidAttributesException.java: Likewise.
12586 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12587 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12588 * javax/naming/directory/ModificationItem.java: Likewise.
12589 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12590 * javax/naming/directory/SchemaViolationException.java: Likewise.
12591 * javax/naming/directory/SearchControls.java: Likewise.
12592 * javax/naming/directory/SearchResult.java: Likewise.
12593 * javax/naming/event/EventContext.java: Likewise.
12594 * javax/naming/event/EventDirContext.java: Likewise.
12595 * javax/naming/event/NamespaceChangeListener.java: Likewise.
12596 * javax/naming/event/NamingEvent.java: Likewise.
12597 * javax/naming/event/NamingExceptionEvent.java: Likewise.
12598 * javax/naming/event/NamingListener.java: Likewise.
12599 * javax/naming/event/ObjectChangeListener.java: Likewise.
12600 * javax/naming/ldap/Control.java: Likewise.
12601 * javax/naming/ldap/ControlFactory.java: Likewise.
12602 * javax/naming/ldap/ExtendedRequest.java: Likewise.
12603 * javax/naming/ldap/ExtendedResponse.java: Likewise.
12604 * javax/naming/ldap/HasControls.java: Likewise.
12605 * javax/naming/ldap/InitialLdapContext.java: Likewise.
12606 * javax/naming/ldap/LdapContext.java: Likewise.
12607 * javax/naming/ldap/LdapReferralException.java: Likewise.
12608 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12609 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12610 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12611 * javax/naming/spi/DirObjectFactory.java: Likewise.
12612 * javax/naming/spi/DirStateFactory.java: Likewise.
12613 * javax/naming/spi/DirectoryManager.java: Likewise.
12614 * javax/naming/spi/InitialContextFactory.java: Likewise.
12615 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12616 * javax/naming/spi/NamingManager.java: Likewise.
12617 * javax/naming/spi/ObjectFactory.java: Likewise.
12618 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12619 * javax/naming/spi/ResolveResult.java: Likewise.
12620 * javax/naming/spi/Resolver.java: Likewise.
12621 * javax/naming/spi/StateFactory.java: Likewise.
12623 * javax/naming/spi/NamingManager.java (ofb): Package private.
12625 2002-11-21 Mark Wielaard <mark@klomp.org>
12627 * java/net/URL.java: Merge with Classpath (partly).
12628 * java/net/URLStreamHandler: Merge with Classpath.
12630 2002-11-22 Michael Koch <konqueror@gmx.de>
12633 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12635 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12636 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12638 2002-11-21 Michael Koch <konqueror@gmx.de>
12640 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12641 Only the new network functions should be in it.
12643 2002-11-21 Michael Koch <konqueror@gmx.de>
12645 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12646 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12648 2002-11-21 Michael Koch <konqueror@gmx.de>
12650 * java/nio/channels/AsynchronousCloseException.java,
12651 java/nio/channels/CancelledKeyException.java,
12652 java/nio/channels/ClosedByInterruptException.java,
12653 java/nio/channels/ConnectionPendingException.java,
12654 java/nio/channels/FileLockInterruptionException.java,
12655 java/nio/channels/IllegalSelectorException.java,
12656 java/nio/channels/NoConnectionPendingException.java,
12657 java/nio/channels/NonReadableChannelException.java,
12658 java/nio/channels/NonWritableChannelException.java,
12659 java/nio/channels/NotYetBoundException.java,
12660 java/nio/channels/NotYetConnectedException.java,
12661 java/nio/channels/OverlappingFileLockException.java,
12662 java/nio/channels/UnresolvedAddressException.java,
12663 java/nio/channels/UnsupportedAddressTypeException.java:
12665 * Makefile.am (ordinary_java_source_files): Added new files.
12666 * Makefile.in: Regenerated.
12668 2002-11-21 Michael Koch <konqueror@gmx.de>
12671 (_Jv_socket): New method.
12672 (_Jv_connect): New method.
12673 (_Jv_close): New method.
12674 (_Jv_platform_close_on_exec): Prefixed system function with "::".
12675 (_Jv_bind): New method.
12676 (_Jv_listen): New method.
12677 (_Jv_write): New method.
12678 (_Jv_read): New method.
12680 (_Jv_socket): New method.
12681 (_Jv_connect): New method.
12682 (_Jv_close): New method.
12683 (_Jv_bind): New method.
12684 (_Jv_listen): New method.
12685 (_Jv_write): New method.
12686 (_Jv_read): New method.
12687 * java/net/natNetworkInterface.cc:
12688 Include platform.h, removed inclusion of socket.h
12689 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12690 ::close() by _Jv_close().
12691 * java/net/natPlainDatagramSocketImpl.cc:
12692 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12693 added some new lines to make code more readable.
12694 (create): Replaced ::socket() by _Jv_socket().
12695 (close): Replaced NATIVE_CLOSE() by _Jv_close().
12696 * java/net/natPlainSocketImpl.cc:
12697 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12698 removed include of socket.h, removed some windows defines
12699 (now in include/win32.h).
12700 (create): Replaced ::socket() by _Jv_socket().
12701 (close): Replaced NATIVE_CLOSE() by _Jv_close().
12702 (write): Replaced ::read by _Jv_write().
12703 (read): Replaced ::read by _Jv_read().
12705 2002-11-20 Michael Koch <konqueror@gmx.de>
12707 * Makefile.am (ordinary_java_source_files):
12708 Added java/nio/channels/FileChannel.java.
12709 * Makefile.in: Regenerated.
12711 2002-11-20 Michael Koch <konqueror@gmx.de>
12713 * java/io/FileInputStream.java
12714 (getChannel): New method.
12715 * java/io/FileOutputStream.java
12716 (getChannel): New method.
12717 * java/net/ServerSocket.java
12718 (bind): Removed duplicate code and called another bind method instead.
12719 * java/nio/channels/SelectionKey.java
12720 (isValid): Removed wrong exception documentation.
12721 * java/nio/channels/ServerSocketChannel.java
12722 (accept): Added exception documentation.
12723 (open): Fixed typo, added exception documentation.
12724 * java/nio/channels/spi/AbstractSelectableChannel.java
12725 (implCloseChannel): Added exception documentation.
12727 (register): Added exception documentation.
12729 2002-11-20 Andreas Jaeger <aj@suse.de>
12731 * configure: Regenerated with new libtool.m4.
12733 2002-11-19 Tom Tromey <tromey@redhat.com>
12735 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12737 (finalize_referred_to_object): Don't modify `referent' or `copy'
12739 (add_to_hash): Correctly set `n->next' when updating list.
12740 * java/lang/ref/Reference.java (enqueue): Return false if already
12743 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
12745 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12746 to function and function pointer declarations in accordance with
12747 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12748 based on whether __GCJ_JNI_IMPL__ has been defined or not.
12749 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12750 JNI function definitions.
12752 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12754 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12755 that was causing CoderResults to be cached, not WeakReferences
12758 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
12760 * java/security/KeyStore.java (getInstance): Fix
12761 comment and throw IllegalArgumentException if
12762 given provider is null.
12763 (getInstance): New method for jdk1.4 compatibility.
12765 2002-11-18 Michael Koch <konqueror@gmx.de>
12767 * java/net/PlainSocketImpl.java: Fix imports.
12769 2002-11-18 Michael Koch <konqueror@gmx.de>
12771 * java/nio/channels/SelectionKey.java
12772 (isValid): Added exception documentation.
12773 * java/nio/channels/Selector.java
12774 (open): Declare "throws IOException".
12776 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12778 * java/nio/charset/Charset.java
12779 (<clinit>): New method.
12780 (encode): Synchronize use of cached encoder object.
12781 (decode): Synchronize use of cached encoder object.
12783 2002-11-18 Michael Koch <konqueror@gmx.de>
12785 * gnu/java/nio/ByteBufferImpl.java,
12786 gnu/java/nio/CharBufferImpl.java,
12787 gnu/java/nio/DatagramChannelImpl.java,
12788 gnu/java/nio/DoubleBufferImpl.java,
12789 gnu/java/nio/FileChannelImpl.java,
12790 gnu/java/nio/FloatBufferImpl.java,
12791 gnu/java/nio/IntBufferImpl.java,
12792 gnu/java/nio/LongBufferImpl.java,
12793 gnu/java/nio/PipeImpl.java,
12794 gnu/java/nio/SelectionKeyImpl.java,
12795 gnu/java/nio/SelectorImpl.java,
12796 gnu/java/nio/SelectorProviderImpl.java,
12797 gnu/java/nio/ServerSocketChannelImpl.java,
12798 gnu/java/nio/ShortBufferImpl.java,
12799 gnu/java/nio/SocketChannelImpl.java,
12800 java/nio/DoubleBuffer.java,
12801 java/nio/FloatBuffer.java,
12802 java/nio/IntBuffer.java,
12803 java/nio/LongBuffer.java,
12804 java/nio/ShortBuffer.java,
12805 java/nio/channels/FileChannel.java: New files.
12807 2002-11-18 Michael Koch <konqueror@gmx.de>
12809 * Makefile.am (ordinary_java_source_files):
12810 Added java/nio/ReadOnlyBufferException.java and
12811 java/nio/channels/ClosedSelectorException.java.
12812 * Makefile.in: Regenerated.
12814 2002-11-18 Michael Koch <konqueror@gmx.de>
12816 * java/net/PlainSocketImpl.java: Reworked imports.
12817 * java/net/ServerSocket.java
12818 (ServerSocket): Create socket.
12819 * java/net/SocketAddress.java: Documentation added.
12820 * java/net/natPlainSocketImpl.cc: Reindented.
12821 * java/nio/ReadOnlyBufferException.java: New file
12822 * java/nio/channels/ClosedChannelException.java: Documentation added.
12823 * java/nio/channels/ClosedSelectorException.java: New file.
12825 2002-11-17 Mark Wielaard <mark@klomp.org>
12827 * java/net/HttpURLConnection.java ((getPermission): Take port
12828 into consideration.
12829 (getErrorStream): Implement.
12831 2002-11-17 Mark Wielaard <mark@klomp.org>
12833 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12835 2002-11-16 Mark Wielaard <mark@klomp.org>
12837 Integrate work by Raif S. Naffah (raif@fl.net.au)
12838 * java/security/DummyKeyPairGenerator.java (clone): New method.
12839 * java/security/DummyMessageDigest.java (clone): New method.
12840 (engineUpdate): Now public.
12841 (engineReset): Likewise.
12842 (engineDigest): Likewise.
12843 (engineGetDigestLength): New method.
12844 * java/security/DummySignature.java (clone): New method.
12845 * java/security/KeyPairGenerator.java (provider): Now package private.
12846 (getInstance(String)): Use getInstance(String,Provider).
12847 (getInstance(String,String): Use getInstance(String,Provider)
12848 (getInstance(String,Provider): New method.
12849 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12850 * java/security/KeyPairGeneratorSpi.java (clone): New method.
12851 * java/security/MessageDigest.java (provider): Now package private.
12852 (getInstance(String): Use getInstance(String,Provider).
12853 (getInstance(String,String): Use getInstance(String,Provider)
12854 (getInstance(String,Provider): New method.
12855 * java/security/Provider.java (toCanonicalKey): New method.
12856 (get): New method that uses toCanonicalKey().
12857 (put): Use toCanonicalKey().
12858 (remove): Likewise.
12859 * java/security/Security.java (insertProviderAt): Provider index is one
12860 based, not zero based.
12861 (addProvider): Likewise.
12862 (removeProvider): Likewise.
12863 * java/security/Signature.java (provider): Now package private.
12864 (getInstance(String)): Use getInstance(String,Provider).
12865 (getInstance(String,String): Use getInstance(String,Provider)
12866 (getInstance(String,Provider): New method.
12867 (getInstance(String,String,Provider): Don't cast DummySignature.
12869 2002-11-15 Tom Tromey <tromey@redhat.com>
12871 For PR libgcj/8593:
12872 * java/util/zip/GZIPInputStream.java (read): Check file size.
12873 Look in inflater for remaining input bytes.
12874 (read4): Added buf and offset arguments.
12876 2002-11-12 Eric Blake <ebb9@email.byu.edu>
12878 * java/applet/AppletContext.java: Fix typo and remove redundant
12881 2002-11-14 Tom Tromey <tromey@redhat.com>
12883 * java/lang/natRuntime.cc (insertSystemProperties): Set
12884 gnu.classpath.home.
12886 2002-11-13 Michael Koch <konqueror@gmx.de>
12888 * java/nio/ByteBuffer.java
12889 (allocate): New method.
12890 (wrap): New method.
12894 2002-11-13 Michael Koch <konqueror@gmx.de>
12896 * java/nio/channels/AlreadyConnectedException.java:
12897 Removed unneeded import.
12898 (AlreadyConnectedException): Documentation added.
12899 * java/nio/channels/Pipe.java
12900 (SinkChannel.SinkChannel): Documentation added.
12901 (SinkChannel.validOps): New method.
12902 (SourceChannel.SourceChannel): Documentation added.
12903 (SourceChannel.validOps): New method.
12904 (Pipe): Documentation added.
12905 (open): Documentation added.
12906 (SinkChannel.channel): Documentation added.
12907 (SourceChannel.channel): Documentation added.
12908 * java/nio/channel/SelectableChannel.java
12909 (SelectableChannel): Documentation added.
12910 (blockingLock): Documentation added.
12911 (configureBlocking):Documentation added.
12912 (isBlocking):Documentation added.
12913 (isRegistered):Documentation added.
12914 (keyFor):Documentation added.
12915 (provider):Documentation added.
12916 (register): Documentation added.
12917 (validOps): Documentation added.
12918 * jaba/nio/channels/SelectionKey.java
12919 (SelectionKey): Documentation added.
12920 (attach): Documentation added.
12921 (attachment): Documentation added.
12922 (isAcceptable): Documentation added.
12923 (isConnetable): Documentation added.
12924 (isReadable): Documentation added.
12925 (isWritable): Documentation added.
12926 (cancel): Documentation added.
12927 (channel): Documentation added.
12928 (interestOps): Documentation added.
12929 (isValid): Documentation added.
12930 (readyOps): Documentation added.
12931 (selector): Documentation added.
12932 * jaba/nio/channels/Selector.java
12933 (Selector): Documentation added.
12934 (open): Documentation added.
12935 (close): Documentation added.
12936 (isOpen): Documentation added.
12937 (keys): Documentation added.
12938 (provider): Documentation added.
12939 (select): Documentation added.
12940 (selectedKeys): Documentation added.
12941 (selectNow): Documentation added.
12942 (wakeup): Documentation added.
12943 * java/nio/channels/spi/AbstractInterruptibleChannel.java
12944 (AbstractInterruptibleChannel): Documentation added.
12945 (opened): Default to true;
12946 (begin): Documentation added.
12947 (close): Set opened to false, documentation added.
12948 (isOpen): Documentation added.
12949 * java/nio/channels/spi/AbstractSelectionKey.java
12950 (AbstractSelectionKey): Documentation added.
12951 (cancel): Documentation added.
12952 (isValid): Documentation added.
12953 * java/nio/channels/spi/AbstractSelector.java
12954 (AbstractSelector): Documentation added.
12955 (begin): Documentation added.
12956 (close): Documentation added.
12957 (isOpen): Documentation added.
12958 (deregister): Documentation added.
12959 (end): Documentation added.
12960 (provider): Documentation added.
12961 (implCloseSelector): Documentation added.
12962 (register): Documentation added.
12963 * java/nio/channels/spi/SelectorProvider.java
12964 (SelectorProvider): Documentation added.
12965 (openDatagramChannel): Documentation added.
12966 (openPipe): Documentation added.
12967 (openSelector): Documentation added.
12968 (openServerSocketChannel): Documentation added.
12969 (openSocketChannel): Documentation added.
12970 (provider): Documentation added.
12972 2002-11-12 Michael Koch <konqueror@gmx.de>
12974 * java/nio/Buffer.java: Implemented.
12975 * java/nio/CharBuffer.java: New file.
12976 * java/nio/InvalidMarkException.java: New file.
12977 * java/nio/channels/DatagramChannel.java: Implemented.
12978 * java/nio/channels/ServerSocketChannel.java: Implemented.
12979 * java/nio/channels/SocketChannel.java: Implemented.
12980 * java/nio/channels/spi/AbstractChannel.java: Removed.
12981 * java/nio/channels/spi/AbstractSelectableChannel.java:
12983 * java/nio/charset/Charset.java:
12984 Merge from Classpath.
12985 * java/nio/charset/CharsetDecoder.java: New file.
12986 * java/nio/charset/CharsetEncoder.java: New file.
12987 * java/nio/charset/CoderResult.java: New file.
12988 * Makefile.am (ordinary_java_source_files): Added new files.
12989 * Makefile.in: Regenerated.
12991 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12993 * gnu/java/nio/charset/ISO_8859_1.java,
12994 gnu/java/nio/charset/Provider.java,
12995 gnu/java/nio/charset/US_ASCII.java,
12996 gnu/java/nio/charset/UTF_16.java,
12997 gnu/java/nio/charset/UTF_16BE.java,
12998 gnu/java/nio/charset/UTF_16Decoder.java,
12999 gnu/java/nio/charset/UTF_16Encoder.java,
13000 gnu/java/nio/charset/UTF_16LE.java,
13001 gnu/java/nio/charset/UTF_8.java: New files.
13003 2002-11-11 Michael Koch <konqueror@gmx.de>
13005 * java/nio/charset/CharacterCodingException.java:
13006 This class must be public.
13007 * java/nio/charset/CoderMalfunctionError.java:
13008 This class must be public.
13009 * java/nio/charset/CodingErrorAction.java:
13010 This class must be public.
13011 * java/nio/charset/IllegalCharsetNameException.java:
13012 This class must be public, better implementation.
13013 * java/nio/charset/MalformedInputException.java:
13014 This class must be public, better implementation.
13015 * java/nio/charset/UnmappableCharacterException.java:
13016 This class must be public, better implementation.
13017 * java/nio/charset/UnsupportedCharsetException.java:
13018 This class must be public, better implementation.
13020 2002-11-11 Michael Koch <konqueror@gmx.de>
13022 * java/nio/BufferOverflowException.java,
13023 java/nio/BufferUnderflowException.java: New file.
13024 * Makefile.am (ordinary_java_source_files):
13026 * Makefile.in: Regenerated.
13028 2002-11-10 Tom Tromey <tromey@redhat.com>
13030 * java/awt/Container.java (validate): Use tree lock.
13031 (getComponent): Likewise.
13032 (getComponents): Likewise.
13033 (addImpl): Likewise.
13034 (remove): Likewise.
13035 (removeAll): Likewise.
13036 (processEvent): Fixed indentation.
13037 (getComponentAt): Use tree lock.
13038 (findComponentAt): Likewise.
13039 (removeNotify): Likewise.
13040 (isAncestorOf): Likewise.
13042 (visitChildren): Likewise.
13043 (findNextFocusComponent): Likewise.
13044 (addNotifyContainerChildren): Likewise.
13045 (getAccessibleChildrenCount): Likewise.
13046 (getAccessibleChild): Likewise.
13048 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
13049 (getSize): Likewise.
13050 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
13051 (getSize): Likewise.
13052 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
13053 (calcSize): Likewise.
13054 * java/awt/CardLayout.java (getSize): Use tree lock.
13055 (gotoComponent): Likewise.
13056 (layoutContainer): Likewise.
13058 * java/io/natFileDescriptorWin32.cc (read): Handle case where
13060 * java/io/natFileDescriptorPosix.cc (read): Handle case where
13063 * java/io/Externalizable.java, java/io/FilePermission.java,
13064 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
13065 java/io/SerializablePermission.java, java/text/Format.java,
13066 java/util/AbstractMap.java, java/util/HashMap.java,
13067 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
13068 versions from Classpath.
13070 2002-11-10 Anthony Green <green@redhat.com>
13072 * java/util/jar/Attributes.java (Name): Fix name check.
13074 2002-11-10 Mark Wielaard <mark@klomp.org>
13076 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
13077 with getName() as message.
13078 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
13081 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
13084 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
13086 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
13087 for Win32. JNICALL has been defined to __stdcall to be compatible
13090 2002-11-10 Tom Tromey <tromey@redhat.com>
13092 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
13093 (setRows): Check newRows, not rows.
13095 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
13097 2002-11-09 Tom Tromey <tromey@redhat.com>
13099 * java/applet/Applet.java, java/applet/AppletContext.java,
13100 java/applet/AppletStub.java, java/applet/AudioClip.java,
13101 java/awt/CardLayout.java,
13102 java/awt/ContainerOrderFocusTraversalPolicy.java,
13103 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
13104 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
13105 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
13106 java/awt/color/ICC_ColorSpace.java,
13107 java/awt/color/ICC_Profile.java,
13108 java/awt/color/ICC_ProfileGray.java,
13109 java/awt/color/ICC_ProfileRGB.java,
13110 java/awt/datatransfer/DataFlavor.java,
13111 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
13112 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
13113 New versions from Classpath.
13114 * Makefile.in: Rebuilt.
13115 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
13118 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
13121 * java/awt/List.java (processEvent): Added missing `else's.
13123 * java/awt/Window.java (show): validate() before showing. Make
13124 parent displayable.
13125 (isDisplayable): New method.
13127 2002-11-07 Mark Wielaard <mark@klomp.org>
13129 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
13130 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
13132 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
13134 (loadClass): Take String as codebases.
13135 (getClassAnnotation): Use MyClassLoader annotations.
13136 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
13137 call exportObject(this).
13139 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
13140 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
13141 (setAnnotation): Don't set locBytesStream and locStream.
13142 (replaceObject): Removed.
13143 (flush): Don't test locStream.
13144 (getLocBytes): LikeWise.
13145 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
13146 (leaseCache): New field.
13147 (dirty): Use leaseCache.
13148 (LeaseRecord): New inner class.
13149 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
13150 explicitly call exportObject().
13151 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
13152 false to communicate with Sun JDK130.
13153 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
13154 * gnu/java/rmi/server/RMIObjectInputStream.java
13155 (UnicastConnectionManager): Removed field.
13156 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
13157 Use UnicastServer.getExportedRef().
13158 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
13159 (expireTime): Likewise.
13160 (CONNECTION_TIMEOUT): Likewise.
13161 (disconnect): Call sock.close().
13162 (isExpired): New method.
13163 (resetTime): Likewise.
13164 (run): Use do while loop and catch Exception for discardConnection().
13165 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
13166 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
13167 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
13168 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
13169 (exportObject): Use refcache.
13170 (unexportObject): Likewise.
13171 (getExportedRef): New method.
13172 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
13174 (exportObject): Save manager.serverobj.
13175 (getStub): New method.
13177 2002-11-07 Mark Wielaard <mark@klomp.org>
13179 * java/lang/reflect/natField.cc (getBoolean): Use getType().
13180 (getByte): Likewise.
13181 (getShort): Likewise.
13182 (getInt): Likewise.
13183 (getLong): Likewise.
13184 (getFloat): Likewise.
13185 (getDouble): Likewise.
13187 (setChar): Likewise.
13188 (setByte): Likewise.
13189 (setShort): Likewise.
13190 (setInt): Likewise.
13191 (setLong): Likewise.
13192 (setFloat): Likewise.
13193 (setDouble): Likewise.
13195 2002-11-07 Michael Koch <konqueror@gmx.de>
13197 * java/awt/Choice.java,
13198 java/awt/Container.java,
13199 java/awt/GridBagLayout.java:
13200 Fixed documentation.
13201 * java/awt/peer/ContainerPeer.java:
13204 2002-11-07 Michael Koch <konqueror@gmx.de>
13206 * java/awt/color/ICC_Profile.java:
13207 Added missing constants.
13208 * java/awt/color/ICC_ColorSpace.java
13209 (getMinValue): Added dummy implementation.
13210 (getMaxValue): Added dummy implementation.
13211 * java/awt/datatransfer/DataFlavor.java
13212 (imageFlavor): Added.
13213 (isMimeTypeEqual): Must be final.
13214 (getDefaultRepresentationClass): Must be non-static.
13215 (getDefaultRepresentationClassAsString): Must be non-static.
13216 * java/awt/dnd/DragSourceContext.java
13217 (dragExit): Corrected argument.
13218 (dragDropEnd): Corrected argument.
13219 * java/awt/dnd/DragSourceListener.java.java
13220 (dragExit): Corrected argument.
13221 (dragDropEnd): Corrected argument.
13222 * java/awt/font/TextHitInfo.java
13223 (toString): Added stubbed implementation.
13224 * java/awt/geom/PathIterator.java:
13225 The constants must be static.
13226 * java/awt/image/VolatileImage.java
13227 (IMAGE_INCOMPATIBLE): Fixed typo.
13228 * java/awt/image/renderable/RenderableImage.java
13229 (HINTS_OBSERVED): Must be static.
13230 * java/beans/BeanInfo.java:
13231 Constants must be final.
13233 2002-11-06 Tom Tromey <tromey@redhat.com>
13235 From svens@it.uu.se. For PR libgcj/8481.
13236 * java/util/Random.java (nextInt(int)): Only use 31 bits.
13238 2002-11-06 Tom Tromey <tromey@redhat.com>
13240 * jni.cc (array_from_valist): Assume that jlong won't be
13243 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
13245 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
13247 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
13250 2002-11-03 Tom Tromey <tromey@redhat.com>
13252 * java/lang/ClassLoader.java (loadClass): Call loadClass on
13253 VMClassLoader, not findClass.
13255 2002-11-03 Jeff Sturm <jsturm@one-point.com>
13257 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
13258 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
13259 _Jv_DetermineVTableIndex, to determine vtable offset.
13260 (_Jv_DetermineVTableIndex): Remove.
13261 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
13263 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
13265 2002-11-03 Tom Tromey <tromey@redhat.com>
13267 * java/nio/channels/AlreadyConnectedException.java: Extend
13268 IllegalStateException, per spec.
13270 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
13272 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
13274 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
13276 * java/util/ArrayList.java (readObject, writeObject): Only read/write
13279 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
13281 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13282 initial estimated size to avoid enlarge buffer frequently.
13284 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
13286 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13287 ClassLoader when null.
13288 (ProxyType.hashCode): Loader null check no longer needed.
13289 (ProxyType.sameTypes): New method.
13290 (ProxyType.equals): Use new method.
13292 2002-10-31 Mark Wielaard <mark@klomp.org>
13294 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
13296 * java/net/URLEncoder.java (encode): Likewise.
13298 2002-10-31 Mark Wielaard <mark@klomp.org>
13300 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13301 when stream is closed.
13302 (closeEntry): Likewise.
13304 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13305 ZipException when no entry active.
13306 (closeEntry): Likewise.
13309 2002-11-02 Tom Tromey <tromey@redhat.com>
13311 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13312 * java/lang/natClass.cc (initializeClass): Don't return just
13313 because self==thread.
13316 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13317 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13319 2002-11-02 Andreas Schwab <schwab@suse.de>
13321 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13323 (FLAGS_TO_PASS): Define.
13324 * Makefile.in: Regenerated.
13326 2002-11-01 Michael Koch <konqueror@gmx.de>
13328 * java/nio/ByteOrder.java: New file.
13329 * java/nio/channels/DatagramChannel.java:
13330 (DatagramChannel): New constructor.
13331 * java/nio/channels/Pipe.java: New file.
13332 * java/nio/channels/SelectableChannel.java: New file.
13333 * java/nio/channels/SelectionKey.java: New file.
13334 * java/nio/channels/Selector.java: New file.
13335 * java/nio/channels/ServerSocketChannel.java
13336 (ServerSocketChannel): New constructor.
13337 * java/nio/channels/SocketChannel.java
13338 (SocketChannel): New constructor.
13339 * java/nio/channels/Pipe.java: New file.
13340 * java/nio/channels/spi/AbstractChannel.java: New file.
13341 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13342 * java/nio/channels/spi/AbstractSelectableChannel.java:
13344 (AbstractSelectableChannel): New stubbed method.
13345 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13346 * java/nio/channels/spi/AbstractSelector.java: New file.
13347 * java/nio/channels/spi/SelectorProvider.java: New file.
13348 * java/nio/charset/Charset.java: New file.
13349 * java/nio/charset/CoderMalfunctionError.java: New file.
13350 * java/nio/charset/CodingErrorAction.java: New file.
13351 * java/nio/charset/spi/CharsetProvider.java
13352 (charsetForName): Uncommented.
13353 * Makefile.am (java_native_source_files): Added new files.
13354 * Makefile.in: Regenerated.
13356 2002-11-01 Michael Koch <konqueror@gmx.de>
13358 * java/net/InetAddress.java:
13359 (isAnyLocalAddress): Implemented.
13360 (isLoopbackAddress): Implemented, comment added.
13361 (isLinkLocalAddress): Implemented, documentation added.
13362 (isSiteLocalAddress): Implemented, documentation added.
13363 (isMCGlobal): Implemented, documentation added.
13364 (isMCNodeLocal): Implemented, documentation added.
13365 (isMCLinkLocal): Implemented, documentation added.
13366 (isMCSiteLocal): Implemented, documentation added.
13367 (isMCOrgLocal): Implemented, documentation added.
13368 (getHostName): Documentation added.
13369 (getCanonicalHostName): Implemented, documentation added.
13370 (getAddress): Documentation added.
13371 (hashCode): Documentation added.
13372 (equals): Documentation added.
13373 (toString): Fixed implementation.
13374 (getByAddress): Use Inet4Address and Inet6Address.
13375 (lookup): New linewrap.
13376 (getByName): SecurityManager check added, support Inet4Address and
13377 Inet6address, comments added.
13378 (getAllByName): SecurityManager check added, comments added.
13379 * java/net/Inet6Address.java:
13380 (Inet6Address): Initialize parent class with addr instead of null.
13381 * java/net/URL.java
13382 (equals): Documentation added.
13383 (getFile): Documentation added.
13384 (hashCode): Documentation added.
13385 * java/net/natInetAddress.cc:
13386 (aton): Fix IPv6 support.
13387 * java/net/natPlainDatagramSocketImpl.cc:
13388 (peek): Throw PortUnreachableException when suitable.
13389 (peekData): Throw PortUnreachableException when suitable.
13390 (send): Throw PortUnreachableException when suitable.
13391 (receive): Throw PortUnreachableException when suitable.
13393 2002-10-27 Mark Wielaard <mark@klomp.org>
13395 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13397 (readLeShort): Likewise and use byte[].
13398 (readLeInt): Likewise.
13399 (readEntries): Use new versions of methods and use byte[] for reading
13400 a complete zip entry. Add ZipFile name to exceptions.
13401 (entries): Add ZipFile name to exceptions.
13402 (getEntry): Likewise.
13403 (checkLocalHeader): Use new versions of methods and add ZipFile name
13406 2002-10-31 Mark Anderson <mark@panonet.net>
13408 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13411 2002-10-25 Krister Walfridsson <cato@df.lth.se>
13413 * configure.in: Disable hash sync when not using threads.
13414 * configure: Regenerated.
13416 2002-10-24 Tom Tromey <tromey@redhat.com>
13418 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13419 (_Jv_FindSymbolInExecutable): Removed argument name.
13420 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13421 java.library.path is set.
13423 * gij.cc (help): Document --showversion.
13424 (version): Don't exit.
13425 (main): Handle --showversion. Exit if --version given.
13427 2002-10-23 Tom Tromey <tromey@redhat.com>
13429 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13430 (array_from_valist): Correctly handle promotion for jint, jlong,
13431 jfloat, and jdouble.
13433 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
13435 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13436 GetFileAttributesEx( ) to find file length and modification times,
13437 as the latter is not present on Windows 95.
13439 2002-10-21 Michael Koch <konqueror@gmx.de>
13441 * java/net/URL.java
13442 (URL): Activate SecurityManager checks.
13443 (equals): Use URLStreamHandler implementation instead of doing it
13444 alone. This allows special protocol stream handlers to change default
13446 (hashCode): Use URLStreamHandler implementation instead of doing it
13447 alone. This allows special protocol stream handlers to change default
13449 * java/net/URLStreamHandler.java
13450 (equals): Implemented default URL equality check.
13451 (hostsEqual): Implemented default URL equality check.
13452 (hashCode): Implemented default URL hashCode algorithm.
13453 * java/net/natPlainDatagramSocketImpl.cc:
13454 No lines longer then 80 characters.
13456 2002-10-20 Adam Megacz <adam@xwt.org>
13458 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13459 * configure.in: enabled hash sync on Win32
13460 * include/win32-threads.h (_Jv_ThreadId_t): added.
13461 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13462 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13463 removed some posix-isms, use Thread::sleep() instead of usleep,
13464 added code to clear bottom three bits if platform has a broken
13466 * include/win32-threads.h (_Jv_ThreadId_t): added.
13468 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
13470 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13471 runtime property "gnu.gcj.progname" containing the name used to
13472 invoke the current Java program (similar to argv[0] for C
13475 2002-10-15 Tom Tromey <tromey@redhat.com>
13477 Fix for PR libgcj/8234:
13478 * java/util/zip/natInflater.cc (reset): Reset avail_in.
13479 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13481 2002-10-13 Mark Wielaard <mark@klomp.org>
13483 * mauve-libgcj: Enable Mauve tests that compile now.
13485 2002-10-11 Mark Wielaard <mark@klomp.org>
13487 Fix for PR libgcj/8142
13488 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13489 loading native modules.
13491 2002-10-10 Michael Koch <konqueror@gmx.de>
13493 * javax/swing/AbstractListModel.java
13494 (getListDataListeners): New stubbed method.
13495 javax/swing/DefaultBoundedRangeModel.java
13496 (getChangeListeners): New stubbed method.
13497 javax/swing/DefaultSingleSelectionModel.java
13498 (getChangeListeners): New stubbed method.
13500 2002-10-10 Michael Koch <konqueror@gmx.de>
13502 * gcj/.cvsignore: New file to ignore files generated during build.
13503 * include/.cvsignore: New file to ignore files generated during build.
13505 2002-10-10 Michael Koch <konqueror@gmx.de>
13507 * java/net/HttpURLConnection.java
13508 (getPermission): New method.
13509 (getErrorStream): New stub method.
13510 (getHeaderFieldDate): New stub method.
13511 * java/net/Inet4Address.java:
13512 (isLinkLocalAddress): Typo fixed.
13513 * java/net/InetAddress.java:
13514 (readResolve): New stubbed method (for serialization).
13515 (isAnyLocalAddress): New stubbed method.
13516 (isLoopbackAddress): New stubbed method.
13517 (isLinkLocalAddress): New stubbed method.
13518 (isSiteLocalAddress): New stubbed method.
13519 (isMCGlobal): New stubbed method.
13520 (isMCNodeGlobal): New stubbed method.
13521 (isMCLinkLocal): New stubbed method.
13522 (isMCSiteLocal): New stubbed method.
13523 (isMCOrgLocal): New stubbed method.
13524 (getCanonicalHostName): New stubbed method.
13525 (getByAddress): Create instances of Inet4Address/Inet6Address,
13526 instead of InetAddress, documentation added.
13527 * java/net/MulticastSocket.java
13528 (getInterface): Removed FIXME.
13529 (getNetworkInterface): New method.
13530 (setNetworkInterface): New method.
13531 * java/net/NetworkInterface.java:
13532 (toString): Use property "line.separator" instead of "\n".
13533 * java/net/URLConnection.java
13534 (getContent): New stubbed method.
13535 * java/net/URLStreamHandler.java:
13536 (equals): New stubbed method.
13537 (hostsEqual): New stubbed method.
13538 (hashCode): New stubbed method.
13539 * java/net/natNetworkInterface.cc:
13540 (getRealNetworkInterfaces): Create Inet4Address object
13541 instead of InetAddress.
13543 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
13545 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13546 unsigned long temporary to implement insn_iushr shifts.
13548 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
13550 * configure.host [s390*-*]: Enable Java interpreter.
13551 Enable hash synchronization. Add sysdeps dir.
13552 * sysdep/s390/locks.h: New file.
13554 2002-10-06 Mark Wielaard <mark@klomp.org>
13556 * java/lang/Thread.java (setDaemon): Check startable_flag,
13559 2002-10-07 Michael Koch <konqueror@gmx.de>
13561 * java/nio/Buffer.java: New stub file.
13562 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13564 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13565 * Makefile.in: Regenerated.
13567 2002-10-07 Michael Koch <konqueror@gmx.de>
13569 * java/nio/ByteBuffer.java:
13570 removed import of not commited class.
13572 2002-10-07 Michael Koch <konqueror@gmx.de>
13574 * java/nio/ByteBuffer.java,
13575 java/nio/MappedByteBuffer.java:
13576 New files, forgot to add these dummies.
13577 * Makefile.am (java_native_source_files): Added new files.
13578 * Makefile.in: Regenerated.
13580 2002-10-07 Michael Koch <konqueror@gmx.de>
13582 * java/nio/channels/AlreadyConnectedException.java,
13583 java/nio/channels/ClosedChannelException.java,
13584 java/nio/channels/ReadableByteChannel.java,
13585 java/nio/channels/InterruptibleChannel.java,
13586 java/nio/channels/Channel.java,
13587 java/nio/channels/ByteChannel.java,
13588 java/nio/channels/GatheringByteChannel.java,
13589 java/nio/channels/ScatteringByteChannel.java,
13590 java/nio/channels/WritableByteChannel.java,
13591 java/nio/charset/CharacterCodingException.java,
13592 java/nio/charset/IllegalCharsetNameException.java,
13593 java/nio/charset/MalformedInputException.java,
13594 java/nio/charset/UnmappableCharacterException.java,
13595 java/nio/charset/UnsupportedCharsetException.java,
13596 java/nio/charset/spi/CharsetProvider.java: New file.
13597 These files are exceptions or interfaces,
13598 no real or abstract classes.
13599 * Makefile.am (java_native_source_files): Added new files.
13600 * Makefile.in: Regenerated.
13602 2002-10-05 Michael Koch <konqueror@gmx.de>
13604 * java/net/InetAddress.java
13605 (getByAddress): Fixed documentation.
13606 (getByAddress): New method.
13607 * java/net/Inet4Address.java: New file.
13608 * java/net/URL.java
13609 (URL): Documentation added.
13610 (getContent): Documentation added.
13611 (getContent): New stubbed method.
13612 (getQuery): New method.
13613 (openConnection): Documentation added.
13614 (openStream): Documentation added.
13615 (setURLStreamHandlerFactory): Documentation added.
13616 * java/net/URI.java: New stub file.
13618 (java_native_source_files): Added java/net/Inet4Address.java,
13619 java/net/Inet6Address.java and java/net/URI.java.
13620 * Makefile.in: Regenerated.
13622 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13624 * java/lang/ProtectionDomain.java (linesep): Remove field.
13625 (toString): Use System.getProperty("line.separator").
13627 2002-10-04 Michael Koch <konqueror@gmx.de>
13629 * java/security/Identity.java: Added serialVersionUID.
13630 * java/security/KeyPair.java: Added serialVersionUID.
13631 * java/security/Provider.java: Added serialVersionUID.
13632 * java/security/SecureRandom.java: Added serialVersionUID.
13633 * java/security/SecureRandomSpi.java: Added serialVersionUID.
13634 * java/security/SignedObject.java: Added serialVersionUID.
13635 * java/security/cert/Certificate.java: Added serialVersionUID.
13637 2002-10-04 Mark Wielaard <mark@klomp.org>
13639 * java/security/Security.java: Use java.home or gnu.classpath.home
13641 (loadProviders): Extra dir argument.
13642 (getProvider): Return null when not found.
13644 2002-10-04 Mark Wielaard <mark@klomp.org>
13646 * java/lang/Throwable.java: Remerge with Classpath.
13648 2002-10-04 Michael Koch <konqueror@gmx.de>
13650 * java/net/InetAddress.java:
13651 (isMulticastAddress): Added documentation.
13652 (getHostAddress): Added documentation.
13653 (toString): Added documentation.
13654 (getByAddress): Fixed documentation.
13655 (getByName): Added documentation.
13656 (getAllByName): Added documentation.
13657 (getLocalHost): Added documentation.
13659 2002-10-04 Michael Koch <konqueror@gmx.de>
13661 * java/beans/beancontext/BeanContextChildSupport.java:
13662 Added serialVersionUID.
13663 * java/text/Collator.java: (compare): Made documentation HTML-aware.
13664 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13665 * javax/naming/Name.java: Added serialVersionUID.
13667 2002-10-03 Adam Megacz <adam@xwt.org>
13669 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13670 some functionality that isn't supported yet on WIN32.
13672 2002-10-03 Tom Tromey <tromey@redhat.com>
13674 * Makefile.in: Rebuilt.
13675 * Makefile.am (awt_java_source_files): Added new files.
13677 2002-10-03 Michael Koch <konqueror@gmx.de>
13679 * java/net/InetAddress.java
13680 (class InetAddress): Removed final keyword.
13681 (equals): Fixed typo.
13682 (getByAddress): New method.
13684 2002-10-03 Michael Koch <konqueror@gmx.de>
13686 * java/awt/dnd/Autoscroll.java:
13687 New file, merge from Classpath.
13688 * java/awt/dnd/DragSourceAdapter.java:
13689 (dragExit): Fixed typos in argument type.
13690 (dragDropEnd): Fixed typos in argument type.
13691 * java/awt/dnd/DragSourceDropEvent.java:
13692 New file, merge from Classpath.
13693 * java/awt/dnd/DropTarget.java:
13694 Added stubs, merge from Classpath.
13695 * java/awt/dnd/DropTargetAdapter.java:
13696 New file, merge from Classpath.
13697 * java/awt/dnd/DropTargetContext.java:
13698 New file, merge from Classpath.
13699 * java/awt/dnd/DropTargetDragEvent.java:
13700 New file, merge from Classpath.
13701 * java/awt/dnd/DropTargetDropEvent.java:
13702 New file, merge from Classpath.
13703 * java/awt/dnd/DropTargetEvent.java:
13704 New file, merge from Classpath.
13705 * java/awt/dnd/DropTargetListener.java:
13706 New file, merge from Classpath.
13707 * java/awt/dnd/MouseDragGestureRecognizer.java:
13708 New file, merge from Classpath.
13709 * java/awt/dnd/peer/DropTargetContextPeer.java:
13710 New file, merge from Classpath.
13712 2002-10-03 Michael Koch <konqueror@gmx.de>
13714 * java/net/DatagramPacket.java
13715 (setLength): Fixed typo and be HTML-aware.
13716 * java/net/InetSocketAddress.java
13717 (InetSocketAddress): Correct initialization of hostname, fixed typo.
13718 (equals): Added comment about equality of InetSocketAddress objects.
13719 * java/net/ServerSocket.java
13720 (accept): Added checks.
13721 (isClosed): New stubbed method.
13722 * java/net/SocketOptions.java: Reindention.
13723 * java/net/SocketPermission
13724 (SocketPermission): Documentation fixed.
13726 2002-10-03 Michael Koch <konqueror@gmx.de>
13728 * java/net/DatagramSocket.java
13729 (receive): Check with SecurityManager AFTER the packet is received,
13730 check if connected to multicast address, documentation added.
13731 (send): Only check SecurityManager if connected, check address of
13733 (connect): Implemented, documentation added.
13734 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13735 * java/net/InetSocketAddress.java
13736 (whole file): Reindented.
13737 (hostname): New attribute.
13738 (InetSocketAddress): Initialize new attribute.
13739 (getAddress): Documentation added.
13740 (getHostName): Documentation added.
13741 (getPort): Documentation added.
13742 (hashCode): Documentation added.
13743 (isUnresolved): Documentation added.
13744 (toString): Conform to output of JDK 1.4.1, documentation added.
13745 * java/net/MulticastSocket.java
13746 (joinGroup): Removed FIXME, documentation added.
13747 (leaveGroup): Removed FIXME, documentation added.
13748 (send): Documentation added.
13749 * java/net/Socket.java
13750 (inputShutdown): New variable.
13751 (outputShutdown): New variable.
13752 (Socket): Initialize new variables.
13753 (getRemoteSocketAddress): Check if connected.
13754 (shutdownInput): Set new variable.
13755 (shutdownOutput): Set new variable.
13756 (isConnected): New method.
13757 (isClosed): New method.
13758 (isInputShutdown): New method.
13759 (isOutputShutdown): New method.
13760 * java/net/URLStreamHandler.java
13761 (URLStreamHandler): New method.
13762 (openConnection): Added documentation.
13763 (parseURL): Added documentation.
13764 (getHostAddress): New method.
13765 (getDefaultPort): New method.
13767 2002-10-02 Tom Tromey <tromey@redhat.com>
13769 * java/rmi/activation/ActivationDesc.java,
13770 java/rmi/activation/ActivationGroupDesc.java,
13771 java/rmi/activation/ActivationGroupID.java,
13772 java/rmi/activation/ActivationID.java: New versions from
13775 2002-09-30 Bo Thorsen <bo@suse.de>
13777 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13779 2002-09-30 Tom Tromey <tromey@redhat.com>
13781 * java/io/ObjectInputStream.java (resolveProxyClass): New method
13783 * Makefile.in: Rebuilt.
13784 * Makefile.am (rmi_java_source_files): Added new files.
13785 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13786 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13787 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13789 * gnu/java/rmi/dgc/DGCImpl.java,
13790 gnu/java/rmi/dgc/DGCImpl_Skel.java,
13791 gnu/java/rmi/dgc/DGCImpl_Stub.java,
13792 gnu/java/rmi/registry/RegistryImpl_Skel.java,
13793 gnu/java/rmi/registry/RegistryImpl_Stub.java,
13794 gnu/java/rmi/server/RMIHashes.java,
13795 gnu/java/rmi/server/RMIObjectInputStream.java,
13796 gnu/java/rmi/server/RMIObjectOutputStream.java,
13797 gnu/java/rmi/server/UnicastConnection.java,
13798 gnu/java/rmi/server/UnicastConnectionManager.java,
13799 gnu/java/rmi/server/UnicastRef.java,
13800 gnu/java/rmi/server/UnicastServer.java,
13801 gnu/java/rmi/server/UnicastServerRef.java,
13802 java/rmi/MarshalledObject.java,
13803 java/rmi/server/RMIClassLoader.java,
13804 java/rmi/server/RemoteObject.java,
13805 java/rmi/server/UnicastRemoteObject.java,
13806 java/security/SecureClassLoader.java: Merged from Classpath.
13808 2002-09-29 Anthony Green <green@redhat.com>
13810 * java/lang/reflect/UndeclaredThrowableException.java: New file.
13811 Imported from GNU Classpath.
13812 * java/lang/reflect/natProxy.cc: New file.
13813 * java/lang/reflect/InvocationHandler.java: New file. Imported
13814 from GNU Classpath.
13815 * java/lang/reflect/Proxy.java: New file. Imported from GNU
13817 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13819 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13820 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13822 * gcj/javaprims.h ("Java"): Add new classes.
13823 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13824 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13825 java/lang/reflect/Proxy$$ProxyType.h): And this.
13826 (inner_nat_headers): Add these new headers.
13827 (ordinary_java_source_files): Add new files.
13828 (nat_source_files): Add new file.
13829 * Makefile.in: Rebuilt.
13831 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
13833 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13834 a single configuration.
13836 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13838 * java/util/TimeZone.java (getDSTSavings): New method.
13839 Fixes PR libgcj/7786.
13841 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13843 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13844 to see if `the_method == 0' before looking up vtable index.
13845 Fixes PR libgcj/7709.
13847 2002-09-25 Tom Tromey <tromey@redhat.com>
13849 * java/lang/natClassLoader.cc:
13850 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13851 * resolve.cc: Include NoClassDefFoundError.h, not
13852 ClassNotFoundException.h.
13853 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13855 * defineclass.cc: Don't include ClassNotFoundException.h.
13857 * resolve.cc: Include StringBuffer.
13858 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13860 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13861 allocated but not initialized.
13863 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13865 Fix for PR libgcj/7766:
13866 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13867 (getNextEntry): Set it.
13868 (closeEntry): Likewise.
13871 (available): Use it.
13873 2002-09-25 Michael Koch <konqueror@gmx.de>
13875 * java/net/DatagramSocket.java
13876 (DatagramSocket): Initialize new instance variables.
13877 (close): Reset new instance variables.
13878 (getLocalAddress): Remove unneeded SecurityManager usage.
13879 (getLocalPort): Check if socket is already bound.
13880 (isConnected): New method.
13881 (getInetAddress): Implemented.
13882 (getPort): Better Implementation, documentation fixed.
13883 (getRemoteSocketAddress): New method.
13884 * java/net/JarURLConnection.java
13885 (element): Typo fixed.
13886 (getMainAttributes): New method.
13887 (getAttributes): New method (stub only).
13888 (getManifest): New method (stub only).
13889 * java/net/NetPermission.java: Added serialVersionsUID.
13890 * java/net/Socket.java
13891 (connect): Check blocking mode of associated channel,
13892 documentation added.
13893 (getLocalSocketAddress): Better implementation.
13894 (getRemoteSocketAddress): Implemented.
13895 (isBound): New method.
13896 (setSendBufferSize): Documentation added.
13897 * java/net/SocketAddress.java: Added serialVersionsUID.
13898 * java/net/SocketPermission.java: Added serialVersionsUID.
13899 * java/net/URL.java
13900 (URL): Wrap for shorter lines, initialize new instance variables,
13901 documentation added.
13902 (equals): Check new instance variables too.
13903 (getContent): Documentation added.
13904 (getPath): Documentation added.
13905 (getAuthority): New method.
13906 (getHost): Documentation added.
13907 (getPort): Documentation added.
13908 (getDefaultPort): New method.
13909 (getProtocol): Documentation added.
13910 (getUserInfo): Documentation added.
13911 (set): Initialize new instance variables, documentation added.
13912 * java/net/URLStreamHandler.java
13913 (setURL): New method.
13914 * java/net/natPlainDatagramSocketImpl.cc
13915 (connect): Fix exception name.
13916 (disconnect): Fix exception name.
13918 2002-09-25 Michael Koch <konqueror@gmx.de>
13920 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13921 * java/nio/channels/DatagramChannel.java:
13922 extends AbstractSelectableChannel
13923 * java/nio/channels/ServerSocketChannel.java:
13924 extends AbstractSelectableChannel
13925 * java/nio/channels/SocketChannel.java:
13926 extends AbstractSelectableChannel
13927 * Makefile.am (ordinary_java_source_files):
13928 java/nio/channels/spi/AbstractSelectableChannel.java added.
13929 * Makefile.in: Regenerated.
13931 2002-09-25 Michael Koch <konqueror@gmx.de>
13933 * java/net/DatagramSocket.java
13934 (DatagramSocket): Exception documentation added.
13935 (bind): Exception documentation added, addded SecurityManager check,
13936 added SocketAddress type check.
13937 (getSoTimeout): Check impl.
13938 (receive): Fix SecurityManager check, check impl, documentation added.
13939 (send): Check channel mode, documentation added.
13940 (connect): New method.
13941 (disconnect): Implemented.
13942 (getLocalSocketAddress): New method.
13943 (getReceiveBufferSize): Check impl.
13944 (setReuseAddress): Check impl.
13945 (getReuseAddress): Check impl.
13946 (setBroadcast): Check impl.
13947 (getBroadcast): Check impl.
13948 (setTrafficClass): Check impl, Documentation cleared.
13949 (getTrafficClass): Check impl.
13950 (getSendBufferSize): Check impl.
13951 (setReceiveBufferSize): Check impl, documentation added.
13952 (setSendBufferSize): Documentation added.
13953 (setDatagramSocketImplFactory): New method.
13954 * java/net/HttpURLConnection.java
13955 (HTTP_INTERNAL_ERROR): The correct code is 500.
13956 (HTTP_NOT_IMPLEMENTED): Added new constant.
13957 (setFollowRedirects): Documentation added.
13958 (getInstanceFollowRedirects): New method.
13959 (setInstanceFollowRedirects): New method.
13960 (setRequestMethod): Documentation added.
13961 (getResponseCode): Documentation added.
13962 (getResponseMessage): Documentation added.
13963 * java/net/JarURLConnection.java
13964 (JarURLConnection): protected since JDK 1.4.
13965 (getJarEntry): java.io.IOException to IOException, documentation added.
13966 (getJarFile): Documentation added.
13967 * java/net/ServerSocket.java
13968 (ServerSocket): Private to public, exception added.
13969 (ServerSocket): java.io.IOException to IOException, documentation added.
13970 (bind): Check socket address type, documentation added.
13971 (bind): java.io.IOException to IOException, documentation added.
13972 (accept): Documentation added.
13973 (implAccept): Check ch is not non-blocking, documentation added.
13974 (setSoTimeout): Documentation fixed.
13975 (setReceiveBufferSize): Documentation added.
13976 * java/net/Socket.java
13977 (Socket): Documentation added.
13978 (bind): Documentation added.
13979 (connect): Check socket address type, documentation added.
13980 (getRemoteSocketAddress): New method.
13981 (getLocalSocketAddress): New method.
13982 (setSoLinger): Documentation added.
13983 (getReuseAddress): New method.
13984 (setReuseAddress): New method.
13985 (getTrafficClass): New method.
13986 (setTrafficClass): New method.
13987 * java/net/URLStreamHandler.java
13988 (openConnection): java.io.IOException to IOException.
13989 (parseURL): Documentation added.
13990 (sameFile): public to protected, documentation added.
13991 (setURL): Documentation added.
13992 * java/nio/IllegalBlockingModeException.java: New file.
13993 * Makefile.am (ordinary_java_source_files):
13994 added java/nio/IllegalBlockingModeException.java
13995 * Makefile.in: Regenerated.
13997 2002-09-25 Michael Koch <konqueror@gmx.de>
13999 * java/net/DatagramPacket
14000 (DatagramPacket): Exception documentation added.
14001 (setData): Likewise.
14002 (setSocketAddress): Likewise.
14003 * java/net/DatagramSocketImpl.java
14004 (peek): Documentation addded.
14005 (peekData): Documentation addded.
14006 (send): Documentation addded.
14007 (receive): Documentation addded.
14008 (connect): New method.
14009 (disconnect): New method.
14010 (joinGroup): New abstract method.
14011 (leaveGroup): New abstract method.
14012 * java/net/InetSocketAddress.java
14013 (InetSocketAddress): Documentation added.
14014 (equals): final keyword added.
14015 (getAddress): final keyword added.
14016 (getHostName): final keyword added.
14017 (getPort): final keyword added.
14018 (hashCode): final keyword added.
14019 (isUnresolved): final keyword added.
14020 * java/net/MulticastSocket.java
14021 (MulticastSocket): Documentation added.
14022 (MulticastSocket): New method.
14023 (joinGroup): Documentation added.
14024 (joinGroup): New method.
14025 (leaveGroup): Documentation added.
14026 (leaveGroup): New method.
14027 (send): Documentation added.
14028 * java/net/NetworkInterface.java
14029 (getByName): Documentation added.
14030 (getByInetAddress): Documentation added.
14031 (getNetworkInterfaces): Documentation added.
14032 * java/net/PlainDatagramSocketImpl.java
14033 (connect): New method.
14034 (disconnect): New method.
14035 * java/net/SocketImpl.java
14036 (create): Documentation added.
14037 (shutdownInput): Convert public to protected, as it always was.
14038 (shutdownOutput): Convert public to protected, as it always was.
14039 * java/net/SocketOptions.java
14040 (whole file): Reintented.
14041 * java/net/URLClassLoader.java
14042 (URLClassLoader): SecurityManager check added, documentation added.
14043 (findResources): Documentation added.
14044 (findClass): Documentation added.
14045 (newInstance): More correct method arguments.
14046 * java/net/URLConnection.java
14047 (connect): Documentation added.
14048 (getContent): Documentation added.
14049 (getPermission): Documentation added.
14050 (getInputStream): Documentation added.
14051 (getOutputStream): Documentation added.
14052 (setDoInput): Throw correct exception, documentation added.
14053 (setDoOutput): Throw correct exception, documentation added.
14054 (setAllowUserInteraction): Throw correct exception, documentation added.
14055 (setUseCaches): Throw correct exception, documentation added.
14056 (setIfModifiedSince): Throw correct exception, documentation added.
14057 (setRequestProperty): Throw exception, documentation added.
14058 (addRequestProperty): Throw exception, documentation added.
14059 (getRequestProperty): Throw exception, documentation added.
14060 (getRequestProperties): Documentation added.
14061 (setContentHandlerFactory): Documentation added.
14062 (guessContentTypeFromName): protected to public.
14063 (setFileNameMap): Documentation added.
14064 * java/net/URLDecoder.java
14065 (URLDecoder): New method.
14066 (decode): Documentation added.
14067 (whole file): Reindented.
14068 * java/net/URLEncoder.java
14069 (encode): Documentation added.
14070 * java/net/natPlainDatagramSocketImpl.cc
14071 (connect): New method.
14072 (disconnect): New method.
14073 * javax/naming/RefAddr:
14074 (addrType): addrType was never final.
14075 (equals): Fix typo in method name.
14076 * javax/naming/BinaryRefAddr:
14077 (equals): Fix typo in method name.
14079 2002-09-22 Tom Tromey <tromey@redhat.com>
14081 Fix for PR libgcj/6576:
14082 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
14083 didn't find a given bundle.
14084 (getBundle): Don't require base bundle.
14085 (setParent): Removed old comment.
14086 (tryLocalBundle): Try components even if preceding components were
14089 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14091 * Makefile.am (all-multi): Fix multilib parallel build.
14093 2002-09-21 Michael Koch <konqueror@gmx.de>
14095 * java/net/Socket.java
14096 (sendUrgentData): New method.
14097 (getChannel): New method.
14098 * java/net/ServerSocket.java
14099 (getChannel): New method.
14100 (isBound): New method.
14101 * java/net/DatagramSocket.java
14102 (DatagramSocket): Two new methods.
14103 (bind): New method.
14104 (getChannel): New method.
14105 (isBound): New method.
14106 (send): Added newline to to make shorter lines.
14107 * java/net/PlainDatagramSocketImpl.java
14108 (mcastGrp): Added argument.
14109 (join): Use new mcastGrp.
14110 (leave): Use new mcastGrp.
14111 (joinGroup): New method.
14112 (leaveGroup): New method.
14113 * java/net/natPlainDatagramSocketImpl.cc
14114 (mcastGrp): Added argument, no yet really implemented.
14115 (getOption): Added newline for shorter lines.
14116 * java/net/natPlainSocketImpl.cc
14117 (read, setOption, getOption): Added newline for shorter lines.
14119 2002-09-19 Tom Tromey <tromey@redhat.com>
14121 * java/lang/ClassLoader.java (resolveClass0): Set cause for
14122 newly-created exception.
14124 2002-09-18 Michael Koch <konqueror@gmx.de>
14126 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14127 java/util/regex/PatternSyntaxException.java:
14128 Merge with classpath, new files.
14129 * Makefile.am (core_java_source_files):
14130 Added java/util/regex/Matcher.java,
14131 java/util/regex/Pattern.java,
14132 java/util/regex/PatternSyntaxException.java
14133 * Makefile.in: Regenerated.
14134 * include/config.h.in: Added HAVE_NET_IF_H.
14135 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
14136 Removed #if 0 ... #endif.
14138 2002-09-17 Michael Koch <konqueror@gmx.de>
14140 * java/net/natNetworkInterface.cc:
14141 Removed unneed and yet wrong includes.
14143 2002-09-17 Michael Koch <konqueror@gmx.de>
14145 * java/net/NetworkInterface.java: New file.
14146 * java/net/natNetworkInterface.java: New file.
14147 * configure.in: Added check for net/if.h.
14148 * configure: Regenerated.
14150 (ordinary_java_source_files): Added NetworkInterface.java.
14151 (nat_source_files): Added natNetworkInterface.cc.
14152 * Makefile.in: Regenerated.
14154 2002-09-16 Tom Tromey <tromey@redhat.com>
14156 * java/net/URLClassLoader.java (findClass): Code source for a
14157 class from a jar is not necessarily a jar: URL.
14159 2002-09-16 Michael Koch <konqueror@gmx.de>
14161 * java/lang/AssertionError.java:
14162 Merge with classpath, fixes HTML.
14163 * java/rmi/server/LogStream.java:
14164 Merge with classpath, fixes some constants.
14165 * java/net/server/RemoteServer.java:
14166 Merge with classpath, adds serialVersionUID.
14167 * javax/naming/BinaryRefAddr.java:
14168 Merge with classpath, s/equal/equals/.
14169 * javax/naming/NamingException.java:
14170 Merge with classpath, fixed typo.
14171 * javax/naming/RefAddr.java:
14172 Merge with classpath, s/equal/equals/.
14173 * java/awt/Toolkit.java:
14174 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
14177 2002-09-15 Adam Megacz <adam@xwt.org>
14179 * java/net/natPlainSocketImpl.cc: fixed typo.
14181 2002-09-15 Adam Megacz <adam@xwt.org>
14183 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
14184 which don't work on Win32 (yet).
14186 2002-09-14 Adam Megacz <adam@xwt.org>
14188 * java/net/natPlainDatagramSocket.cc: removed #include
14189 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
14190 * include/win32.h: included definition for IP_TOS to satisfy
14191 natPlainDatagramSocket.cc
14193 2002-09-13 Michael Koch <konqueror@gmx.de>
14195 * java/net/DatagramPacket.java (DatagramPacket):
14196 Added linebreak for 80 chars per line.
14197 * java/net/JarURLConection.java
14198 (getInputStreami, getJarEntry): Likewise.
14199 * java/net/SocketPErmission.java
14200 (SocketPermission class docu, implies): Likewise.
14201 * java/net/URLClassLoader.java (findResources): Likewise.
14202 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
14204 2002-09-13 Michael Koch <konqueror@gmx.de>
14206 * java/nio/channels/DatagramChannel.java,
14207 java/nio/channels/ServerSocketChannel.java
14208 java/nio/channels/SocketChannel.java:
14209 New dummy files to make java.net fully JDK 1.4 compatible
14210 * Makefile.am (ordinary_java_source_files): Added
14211 java/net/DatagramSocketImplFactory.java (long forgotten),
14212 java/nio/SocketChannel.java,
14213 java/nio/ServerSocketChannel.java,
14214 java/nio/DatagramChannel.java
14215 * Makefile.in: Regenrated.
14217 2002-09-12 Michael Koch <konqueror@gmx.de>
14219 * java/net/DatagramSocketImpl.java
14220 (peekData): New method.
14221 * java/net/PlainDatagramSocketImpl.java
14222 (peekData): New method.
14223 * java/net/natPlainDatagramSocketImpl.cc
14224 (peekData): New method.
14225 * java/net/URLConnection
14226 (getPermission): New method.
14227 (addRequestProperty): New method.
14228 (getRequestProperties): New method.
14229 (guessContentTypeFromStream): New method, not really implemented.
14230 (URLConnection): Added/updated documentation.
14231 (connect): Added/updated documentation.
14232 (getURL): Added/updated documentation.
14233 (getContentLength): Added/updated documentation.
14234 (getContentType: Added/updated documentation.
14235 (getContentEncoding): Added/updated documentation.
14236 (getExpiration): Added/updated documentation.
14237 (getDate): Added/updated documentation.
14238 (getLastModified): Added/updated documentation.
14239 (getHeaderField): Added/updated documentation.
14240 (getHeaderFields): Added/updated documentation.
14241 (getHeaderFieldInt): Added/updated documentation.
14242 (getHeaderFieldDate): Added/updated documentation.
14243 (getHeaderFieldKey): Added/updated documentation.
14244 (getContent): Added/updated documentation.
14245 (getInputStream): Added/updated documentation.
14246 (getOutputStream): Added/updated documentation.
14247 (toString): Added/updated documentation.
14248 (setDoInput): Added/updated documentation.
14249 (getDoInput): Added/updated documentation.
14250 (setDoOutput): Added/updated documentation.
14251 (getDoOutput): Added/updated documentation.
14252 (setAllowUserInteraction): Added/updated documentation.
14253 (getAllowUserInteraction): Added/updated documentation.
14254 (setDefaultAllowUserInteraction): Added/updated documentation.
14255 (getDefaultAllowUserInteraction): Added/updated documentation.
14256 (setUseCaches): Added/updated documentation.
14257 (getUseCaches): Added/updated documentation.
14258 (setIfModifiedSince): Added/updated documentation.
14259 (getIfModifiedSince): Added/updated documentation.
14260 (getDefaultUseCaches): Added/updated documentation.
14261 (setDefaultUseCaches): Added/updated documentation.
14262 (setRequestProperty): Added/updated documentation.
14263 (getRequestProperty): Added/updated documentation.
14264 (setDefaultRequestProperty): Added/updated documentation.
14265 (getDefaultRequestProperty): Added/updated documentation.
14266 (setContentHandlerFactory): Added/updated documentation.
14267 (guessContentTypeFromName): Added/updated documentation.
14268 (getFileNameMap): Added/updated documentation.
14269 (setFileNameMap): Added/updated documentation.
14271 2002-09-11 Michael Koch <konqueror@gmx.de>
14273 * java/net/Socket.java
14274 (Socket): protected to public (since JDK 1.4). Added @specnote.
14275 (bind): New method.
14276 (connect): Two new methods.
14277 (getKeepalive): Get correct socket option.
14278 (setKeepalive): Set correct socket option.
14279 (getOOBInline): New method.
14280 (setOOBInline): New method.
14281 * java/net/ServerSocket.java
14282 (bind): Two new methods.
14283 (getInetAddress): Reimplemented, catch exception.
14284 (getLocalSocketAddress): New method.
14285 (setReuseAddress): New method.
14286 (getReuseAdress): New method.
14287 (setReceiveBufferSize): New method.
14288 (getReceiveBufferSize): New method.
14289 (toString): Made string JDK 1.4 compliant.
14291 2002-09-10 Michael Koch <konqueror@gmx.de>
14293 * java/net/SocketImpl.java
14294 (connect): New method.
14295 (supportsUrgentData): New method.
14296 (sendUrgentData): New method.
14297 * java/net/PlainSocketImpl.java
14298 (connect): One new method and two new implementation.
14299 (sendUrgentData): New method.
14300 * java/natPlainSocketImpl.cc
14301 (connect): Arguments changed, added support for timeouts.
14302 (getOption): Another __java_boolean to jboolean.
14304 2002-09-07 Adam Megacz <adam@xwt.org>
14306 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14307 definition of IP_TOS.
14309 2002-09-04 Michael Koch <konqueror@gmx.de>
14311 * java/net/DatagramSocket.java
14312 (DatagramSocket): Added documentation.
14314 (getLocalAddress): Likewise.
14315 (getLocalPort): Likewise.
14316 (receive): Likewise.
14318 (setSoTimeout): Likewise.
14319 (connect): New method.
14320 (disconnect): New method.
14321 (getInetAddress): New method (FIXME)
14322 (getPort): New method.
14323 (setReuseAddress): New method.
14324 (getReuseAddress): New method.
14325 (setBroadcast): New method.
14326 (getBroadcast): New method.
14327 (setTrafficClass): New method.
14328 (getTrafficClass): New method.
14329 * java/net/MulticastSocket.java):
14330 (getTTL): Added @see in documentation.
14331 (setTTL): Added @see in documentation.
14332 (setLoopbackMode): New method.
14333 (getLoopbackMode): New method.
14334 * java/net/PlainSocketImpl.java:
14335 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14336 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14337 * java/net/PlainDatagramSocketImpl.java
14338 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14339 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14340 * java/net/natPlainSocketImpl.cc
14341 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14342 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14343 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14344 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14345 This should also fix SO_KEEPALIVE
14346 * java/net/natPlainDatagramSocketImpl.cc
14347 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14348 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14349 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14350 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14352 2002-09-04 Michael Koch <konqueror@gmx.de>
14354 * java/net/SocketOptions.java: added static variables to be JDK 1.4
14355 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14356 IP_MULTICAST_LOOP, IP_TOS
14358 2002-09-03 Tom Tromey <tromey@redhat.com>
14360 * java/lang/Class.h (_getDeclaredMethod): Declare.
14361 (_getMethod): Now private.
14362 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14363 getDeclaredMethod. Now returns NULL on failure.
14364 * java/lang/Class.java (_getDeclaredMethod): Declare.
14365 (getDeclaredMethod): No longer native; implements access checks.
14367 2002-09-01 Mark Wielaard <mark@klomp.org>
14369 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14370 (sanitizeStack): Correctly reset unknown and interpreter counters,
14371 detect interpreter runtime frames.
14372 (demangleInterpreterMethod): New method.
14373 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14374 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14375 filling in addrs[].
14377 2002-09-02 Michael Koch <konqueror@gmx.de>
14379 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14380 re-indented documentation.
14382 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14384 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14385 public, per 1.4 spec. Fixes PR libgcj/7785.
14387 2002-08-30 Jeff Sturm <jsturm@one-point.com>
14389 * Makefile.in: Rebuilt.
14390 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14392 2002-08-29 Tom Tromey <tromey@redhat.com>
14394 * java/net/JarURLConnection.java (getCertificates): New method
14396 * java/net/URLClassLoader.java (URLClassLoader): Extends
14398 (definePackage): New method from Classpath.
14399 (getPermissions): Likewise.
14400 (newInstance): Likewise.
14401 (findClass): Construct CodeSource for new class (from Classpath).
14402 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14404 * java/net/URL.java (getUserInfo): New method.
14405 (set(String,String,int,String,String,String,String,String)): New
14407 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14408 (shutdownInput, shutdownOutput): Declare.
14409 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14411 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14412 (getOption): Likewise.
14413 (shutdownInput): New method.
14414 (shutdownOutput): Likewise.
14415 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14417 (getOption): Likewise.
14418 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14419 * java/net/Socket.java (setKeepAlive): New method.
14420 (getKeepAlive): Likewise.
14421 (shutdownInput, shutdownOutput): New methods.
14423 2002-08-29 Michael Koch <konqueror@gmx.de>
14425 * java/net/DatagramPacket.java: updated to JDK 1.4 API
14427 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14429 DatagramPacket(byte[] buf, int length, SocketAddress address),
14430 void setSocketAddress(SocketAddress address)
14431 public SocketAddress getSocketAddress()
14433 2002-08-29 Tom Tromey <tromey@redhat.com>
14435 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14436 ftruncate is missing.
14437 * configure, include/config.h.in: Rebuilt.
14438 * acconfig.h (HAVE_FTRUNCATE): Mention.
14439 * configure.in: Check for ftruncate.
14441 2002-08-29 Tom Tromey <tromey@redhat.com>
14443 * include/jvm.h (struct _Jv_frame_info): New structure.
14444 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14446 (lookupInterp): New method.
14447 (getAddrAsString): Use _Jv_frame_info.
14448 (dladdrLookup): Likewise.
14449 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14451 (lookupInterp): Declare.
14452 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14453 (fillInStackTrace): Collect information on interpreted frames.
14454 Use _Jv_frame_info.
14455 * interpret.cc: Include Thread.h.
14456 (run): Create and push _Jv_MethodChain object.
14457 (_Jv_EndOfInterpreter): New global.
14458 * java/lang/Thread.java (interp_frame): New field.
14459 * include/java-interp.h (struct _Jv_MethodChain): New structure.
14460 Include NameFinder.h.
14462 2002-08-28 Tom Tromey <tromey@redhat.com>
14464 * java/lang/Class.h: Include Package.h.
14465 (Class::getProtectionDomain): Declare.
14466 (Class::getPackage): Declare.
14468 2002-08-28 Michael Koch <konqueror@gmx.de>
14470 * java/net/InetSocketAddress.java: Added some documentation and argument
14471 checks for the port numbers.
14472 * java/net/DatagramSocketImplFactory.java: New file.
14474 2002-08-28 Michael Koch <konqueror@gmx.de>
14476 * java/net/Authenticator.java: added some documentation.
14478 2002-08-27 Tom Tromey <tromey@redhat.com>
14480 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14482 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14484 2002-08-27 Michael Koch <konqueror@gmx.de>
14486 * java/net/BindException.java,
14487 java/net/JarURLConnection.java,
14488 java/net/FileNameMap.java,
14489 java/net/HttpURLConnection.java,
14490 java/net/InetSocketAddress.java,
14491 java/net/DatagramPacket.java,
14492 java/net/DatagramSocket.java,
14493 java/net/DatagramSocketImpl.java,
14494 java/net/MulticastSocket.java,
14495 java/net/PasswordAuthentication.java,
14496 java/net/ServerSocket.java,
14497 java/net/Socket.java,
14498 java/net/URLClassLoader.java,
14499 java/net/URLConnection.java: add/update of some @since/@deprecated
14501 2002-08-27 Tony Kimball <alk@pobox.com>
14502 Tom Tromey <tromey@redhat.com>
14504 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14506 (::close): Removed.
14507 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14508 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14509 (::close): Removed.
14510 (PlainSocketImpl::close): Use NATIVE_CLOSE.
14511 * include/win32.h (getcwd): Removed declaration. Include io.h.
14513 2002-08-25 Adam Megacz <adam@xwt.org>
14515 * include/win32.h (getcwd): copied function declaration as
14516 temporary fix for header confusion.
14518 2002-08-24 Mark Wielaard <mark@klomp.org>
14520 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14521 (core_java_source_files): Add VMThrowable.java and NameFinder.java
14522 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14523 and natNameFinder.cc.
14524 * Makefile.in: Regenerate.
14525 * prims.cc: Use trace_enabled from VMThrowable.
14526 * name-finder.cc: Removed.
14527 * gcj/javaprims.h: Add class VMThrowable.
14528 * gnu/gcj/runtime/NameFinder.java: New file.
14529 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14530 * include/name-finder.h: Removed.
14531 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14532 method stackTraceString().
14533 (printStackTrace (PrintWriter)): Likewise.
14534 (stackTraceString): Complete rewrite of old printStackTrace using
14536 (stackTraceStringBuffer): New helper method for stackTraceString().
14537 (fillInStackTrace): Delegate to VMTrowable.
14538 (getStackTrace): Likewise.
14539 (getStackTrace0): Removed.
14540 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14541 (setStackTrace): Copy given array.
14542 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14543 * java/lang/VMThrowable.java: New class.
14544 * java/lang/natVMThrowable.cc: New file.
14546 2003-08-23 Michael Koch <konqueror@gmx.de>
14548 * java/net/URLConnection.java,
14549 java/netJarURLConnection.java,
14550 gnu/gcj/protocol/core/Connection.java,
14551 gnu/gcj/protocol/file/Connection.java,
14552 gnu/gcj/protocol/http/Connection.java: Added implementation of
14555 2002-08-22 Tom Tromey <tromey@redhat.com>
14557 * gij.cc (help): Document -cp and -classpath.
14558 (main): Handle -classpath.
14560 2002-08-21 Tom Tromey <tromey@redhat.com>
14562 * Makefile.in: Rebuilt.
14563 * Makefile.am (ordinary_java_source_files): Added
14564 SocketAddress.java, InetSocketAddress.java.
14565 * java/net/PortUnreachableException.java: Merged with Classpath.
14566 * java/net/SocketTimeoutException.java: Likewise.
14567 * java/net/URISyntaxException.java: Likewise.
14568 * java/net/SocketAddress.java: New class from Classpath.
14569 * java/net/InetSocketAddress.java: Likewise.
14571 2003-08-21 Michael Koch <konqueror@gmx.de>
14573 * java/net/Authenticator.java: updated JDK 1.4
14574 * java/net/ContentHandler.java: updated JDK 1.4
14576 2002-08-20 Michael Koch <konqueror@gmx.de>
14578 * java/net/URISyntaxException.java: New file.
14579 * java/net/SocketTimeoutException.java: New file.
14580 * java/net/PortUnreachableException.java: New file.
14581 * Makefile.am: Updated.
14582 * Makefile.in: Rebuilt.
14584 2002-08-18 Mark Wielaard <mark@klomp.org>
14586 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14587 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14588 MessageDigestSpi (fixes Classpath bug #783).
14590 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14592 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14593 (startProcess): Allocate path for chdir in async-signal-safe way.
14595 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14597 Fix for PR libgcj/7570 and PR libgcj/7578:
14598 * java/lang/natPosixProcess.cc: Include java/io/File.h.
14599 (startProcess): Handle new `dir' argument.
14600 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14602 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14604 (startProcess): Likewise.
14605 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14607 * java/lang/Runtime.java (execInternal): Added `dir' argument.
14608 (exec): Don't create new environment if ENV==null. Pass DIR to
14610 * java/lang/natRuntime.cc: Include java/io/File.h.
14611 (execInternal): Added `dir' argument.
14613 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
14615 * java/io/RandomAccessFile.java (skipBytes): Return number of
14618 2002-08-01 Mark Wielaard <mark@klomp.org>
14620 Reenable patch since shared library troubles on powerpc are solved:
14621 * gnu/java/security/provider/Gnu.java: Reference all implementation
14622 classes by using Class.getName().
14623 * gnu/java/security/der/DEREncodingException.java,
14624 gnu/java/security/provider/DERReader.java,
14625 gnu/java/security/provider/DERWriter.java,
14626 gnu/java/security/provider/DSAKeyPairGenerator.java,
14627 gnu/java/security/provider/DSAParameterGenerator.java,
14628 gnu/java/security/provider/DSAParameters.java,
14629 gnu/java/security/provider/DSASignature.java,
14630 gnu/java/security/provider/GnuDSAPrivateKey.java,
14631 gnu/java/security/provider/GnuDSAPublicKey.java,
14632 gnu/java/security/provider/MD5.java,
14633 gnu/java/security/util/Prime.java: New classes
14634 * Makefile.am (ordinary_java_source_files): Add above files.
14635 * Makefile.in: Regenerate.
14636 * gnu/java/security/provider/DefaultPolicy.java
14637 (getPermissions): Don't maintain static class variable of Permissions.
14638 * gnu/java/security/provider/SHA.java
14639 (engineUpdate): algorithm change.
14640 (engineDigest): algorithm change.
14642 2002-08-09 Mark Wielaard <mark@klomp.org>
14644 * java/awt/image/MemoryImageSource.java: Change constructor to take
14646 * java/awt/Graphics2D.java: Uncomment methods that can now be
14648 * java/awt/GridBagLayout.java: New stub implementation.
14649 * javax/swing/text/html/HTML.java: Stub implementation.
14650 * javax/swing/text/html/parser/ParserDelegator.java: New stub
14653 * Makefile.am: Add new files.
14654 * Makefile.in: Rebuilt.
14656 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14658 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14659 methods in Graphics2D.
14661 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14663 AWT/Swing merge from GNU Classpath.
14665 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14666 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14667 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14668 java/awt/color/ProfileDataException.java,
14669 java/awt/CompositeContext.java, java/awt/Composite.java,
14670 java/awt/ContainerOrderFocusTraversalPolicy.java,
14671 java/awt/datatransfer/FlavorTable.java,
14672 java/awt/DefaultFocusTraversalPolicy.java,
14673 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14674 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14675 java/awt/dnd/DragGestureListener.java,
14676 java/awt/dnd/DragGestureRecognizer.java,
14677 java/awt/dnd/DragSourceAdapter.java,
14678 java/awt/dnd/DragSourceContext.java,
14679 java/awt/dnd/DragSourceDragEvent.java,
14680 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14681 java/awt/dnd/DragSourceListener.java,
14682 java/awt/dnd/DragSourceMotionListener.java,
14683 java/awt/dnd/DropTarget.java,
14684 java/awt/dnd/InvalidDnDOperationException.java,
14685 java/awt/dnd/peer/DragSourceContextPeer.java,
14686 java/awt/event/AWTEventListenerProxy.java,
14687 java/awt/event/MouseWheelEvent.java,
14688 java/awt/event/MouseWheelListener.java,
14689 java/awt/event/WindowFocusListener.java,
14690 java/awt/event/WindowStateListener.java,
14691 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14692 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14693 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14694 java/awt/geom/FlatteningPathIterator.java,
14695 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14696 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14697 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14698 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14699 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14700 java/awt/image/ImagingOpException.java,
14701 java/awt/image/RasterFormatException.java,
14702 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14703 java/awt/image/VolatileImage.java,
14704 java/awt/image/WritableRenderedImage.java,
14705 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14706 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14707 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14708 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14709 java/awt/PageAttributes.java, java/awt/print/Book.java,
14710 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14711 java/awt/print/Paper.java, java/awt/print/Printable.java,
14712 java/awt/print/PrinterAbortException.java,
14713 java/awt/print/PrinterException.java,
14714 java/awt/print/PrinterGraphics.java,
14715 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14716 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14717 java/awt/Stroke.java, java/awt/TexturePaint.java,
14718 javax/accessibility/AccessibleAction.java,
14719 javax/accessibility/AccessibleBundle.java,
14720 javax/accessibility/AccessibleComponent.java,
14721 javax/accessibility/AccessibleContext.java,
14722 javax/accessibility/AccessibleEditableText.java,
14723 javax/accessibility/AccessibleExtendedComponent.java,
14724 javax/accessibility/AccessibleExtendedTable.java,
14725 javax/accessibility/AccessibleHyperlink.java,
14726 javax/accessibility/AccessibleHypertext.java,
14727 javax/accessibility/AccessibleIcon.java,
14728 javax/accessibility/Accessible.java,
14729 javax/accessibility/AccessibleKeyBinding.java,
14730 javax/accessibility/AccessibleRelation.java,
14731 javax/accessibility/AccessibleRelationSet.java,
14732 javax/accessibility/AccessibleResourceBundle.java,
14733 javax/accessibility/AccessibleRole.java,
14734 javax/accessibility/AccessibleSelection.java,
14735 javax/accessibility/AccessibleState.java,
14736 javax/accessibility/AccessibleStateSet.java,
14737 javax/accessibility/AccessibleTable.java,
14738 javax/accessibility/AccessibleTableModelChange.java,
14739 javax/accessibility/AccessibleText.java,
14740 javax/accessibility/AccessibleValue.java,
14741 javax/swing/AbstractAction.java,
14742 javax/swing/AbstractButton.java,
14743 javax/swing/AbstractCellEditor.java,
14744 javax/swing/AbstractListModel.java,
14745 javax/swing/AbstractSet.java, javax/swing/Action.java,
14746 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14747 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14748 javax/swing/border/CompoundBorder.java,
14749 javax/swing/border/EmptyBorder.java,
14750 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14751 javax/swing/border/LineBorder.java,
14752 javax/swing/border/MatteBorder.java,
14753 javax/swing/border/TitledBorder.java,
14754 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14755 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14756 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14757 javax/swing/CellRendererPane.java,
14758 javax/swing/colorchooser/AbstractColorChooserPanel.java,
14759 javax/swing/colorchooser/ColorChooserComponentFactory.java,
14760 javax/swing/colorchooser/ColorSelectionModel.java,
14761 javax/swing/colorchooser/DefaultColorSelectionModel.java,
14762 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14763 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14764 javax/swing/DefaultBoundedRangeModel.java,
14765 javax/swing/DefaultButtonModel.java,
14766 javax/swing/DefaultCellEditor.java,
14767 javax/swing/DefaultCellRenderer.java,
14768 javax/swing/DefaultComboBoxModel.java,
14769 javax/swing/DefaultDesktopManager.java,
14770 javax/swing/DefaultFocusManager.java,
14771 javax/swing/DefaultListCellRenderer.java,
14772 javax/swing/DefaultListModel.java,
14773 javax/swing/DefaultListSelectionModel.java,
14774 javax/swing/DefaultSingleSelectionModel.java,
14775 javax/swing/DesktopManager.java,
14776 javax/swing/event/AncestorEvent.java,
14777 javax/swing/event/AncestorListener.java,
14778 javax/swing/event/CaretEvent.java,
14779 javax/swing/event/CaretListener.java,
14780 javax/swing/event/CellEditorListener.java,
14781 javax/swing/event/ChangeEvent.java,
14782 javax/swing/event/ChangeListener.java,
14783 javax/swing/event/DocumentEvent.java,
14784 javax/swing/event/DocumentListener.java,
14785 javax/swing/event/EventListenerList.java,
14786 javax/swing/event/HyperlinkEvent.java,
14787 javax/swing/event/HyperlinkListener.java,
14788 javax/swing/event/InternalFrameAdapter.java,
14789 javax/swing/event/InternalFrameEvent.java,
14790 javax/swing/event/InternalFrameListener.java,
14791 javax/swing/event/ListDataEvent.java,
14792 javax/swing/event/ListDataListener.java,
14793 javax/swing/event/ListSelectionEvent.java,
14794 javax/swing/event/ListSelectionListener.java,
14795 javax/swing/event/MenuDragMouseEvent.java,
14796 javax/swing/event/MenuDragMouseListener.java,
14797 javax/swing/event/MenuEvent.java,
14798 javax/swing/event/MenuKeyEvent.java,
14799 javax/swing/event/MenuKeyListener.java,
14800 javax/swing/event/MenuListener.java,
14801 javax/swing/event/MouseInputAdapter.java,
14802 javax/swing/event/MouseInputListener.java,
14803 javax/swing/event/PopupMenuEvent.java,
14804 javax/swing/event/PopupMenuListener.java,
14805 javax/swing/event/SwingPropertyChangeSupport.java,
14806 javax/swing/event/TableColumnModelEvent.java,
14807 javax/swing/event/TableColumnModelListener.java,
14808 javax/swing/event/TableModelEvent.java,
14809 javax/swing/event/TableModelListener.java,
14810 javax/swing/event/TreeExpansionEvent.java,
14811 javax/swing/event/TreeExpansionListener.java,
14812 javax/swing/event/TreeModelEvent.java,
14813 javax/swing/event/TreeModelListener.java,
14814 javax/swing/event/TreeSelectionEvent.java,
14815 javax/swing/event/TreeSelectionListener.java,
14816 javax/swing/event/TreeWillExpandListener.java,
14817 javax/swing/event/UndoableEditEvent.java,
14818 javax/swing/event/UndoableEditListener.java,
14819 javax/swing/filechooser/FileFilter.java,
14820 javax/swing/filechooser/FileSystemView.java,
14821 javax/swing/filechooser/FileView.java,
14822 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14823 javax/swing/Icon.java, javax/swing/ImageIcon.java,
14824 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14825 javax/swing/JApplet.java, javax/swing/JButton.java,
14826 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14827 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14828 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14829 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14830 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14831 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14832 javax/swing/JLayeredPane.java, javax/swing/JList.java,
14833 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14834 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14835 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14836 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14837 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14838 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14839 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14840 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14841 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14842 javax/swing/JTextField.java, javax/swing/JTextPane.java,
14843 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14844 javax/swing/JToolTip.java, javax/swing/JTree.java,
14845 javax/swing/JViewport.java, javax/swing/JWindow.java,
14846 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14847 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14848 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14849 javax/swing/MenuSelectionManager.java,
14850 javax/swing/MutableComboBoxModel.java,
14851 javax/swing/OverlayLayout.java,
14852 javax/swing/plaf/ActionMapUIResource.java,
14853 javax/swing/plaf/basic/BasicBorders.java,
14854 javax/swing/plaf/basic/BasicButtonUI.java,
14855 javax/swing/plaf/basic/BasicCheckBoxUI.java,
14856 javax/swing/plaf/basic/BasicDefaults.java,
14857 javax/swing/plaf/basic/BasicGraphicsUtils.java,
14858 javax/swing/plaf/basic/BasicIconFactory.java,
14859 javax/swing/plaf/basic/BasicLabelUI.java,
14860 javax/swing/plaf/basic/BasicListUI.java,
14861 javax/swing/plaf/basic/BasicLookAndFeel.java,
14862 javax/swing/plaf/basic/BasicOptionPaneUI.java,
14863 javax/swing/plaf/basic/BasicPanelUI.java,
14864 javax/swing/plaf/basic/BasicRadioButtonUI.java,
14865 javax/swing/plaf/basic/BasicScrollPaneUI.java,
14866 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14867 javax/swing/plaf/basic/BasicTextUI.java,
14868 javax/swing/plaf/basic/BasicToggleButtonUI.java,
14869 javax/swing/plaf/basic/BasicTreeUI.java,
14870 javax/swing/plaf/basic/BasicViewportUI.java,
14871 javax/swing/plaf/BorderUIResource.java,
14872 javax/swing/plaf/ButtonUI.java,
14873 javax/swing/plaf/ColorChooserUI.java,
14874 javax/swing/plaf/ColorUIResource.java,
14875 javax/swing/plaf/ComboBoxUI.java,
14876 javax/swing/plaf/ComponentInputMapUIResource.java,
14877 javax/swing/plaf/ComponentUI.java,
14878 javax/swing/plaf/DesktopIconUI.java,
14879 javax/swing/plaf/DesktopPaneUI.java,
14880 javax/swing/plaf/DimensionUIResource.java,
14881 javax/swing/plaf/FileChooserUI.java,
14882 javax/swing/plaf/FontUIResource.java,
14883 javax/swing/plaf/IconUIResource.java,
14884 javax/swing/plaf/InputMapUIResource.java,
14885 javax/swing/plaf/InsetsUIResource.java,
14886 javax/swing/plaf/InternalFrameUI.java,
14887 javax/swing/plaf/LabelUI.java,
14888 javax/swing/plaf/ListUI.java,
14889 javax/swing/plaf/MenuBarUI.java,
14890 javax/swing/plaf/MenuItemUI.java,
14891 javax/swing/plaf/OptionPaneUI.java,
14892 javax/swing/plaf/PanelUI.java,
14893 javax/swing/plaf/PopupMenuUI.java,
14894 javax/swing/plaf/ProgressBarUI.java,
14895 javax/swing/plaf/RootPaneUI.java,
14896 javax/swing/plaf/ScrollBarUI.java,
14897 javax/swing/plaf/ScrollPaneUI.java,
14898 javax/swing/plaf/SeparatorUI.java,
14899 javax/swing/plaf/SliderUI.java,
14900 javax/swing/plaf/SplitPaneUI.java,
14901 javax/swing/plaf/TabbedPaneUI.java,
14902 javax/swing/plaf/TableHeaderUI.java,
14903 javax/swing/plaf/TableUI.java,
14904 javax/swing/plaf/TextUI.java,
14905 javax/swing/plaf/ToolBarUI.java,
14906 javax/swing/plaf/ToolTipUI.java,
14907 javax/swing/plaf/TreeUI.java,
14908 javax/swing/plaf/UIResource.java,
14909 javax/swing/plaf/ViewportUI.java,
14910 javax/swing/ProgressMonitorInputStream.java,
14911 javax/swing/ProgressMonitor.java,
14912 javax/swing/Renderer.java,
14913 javax/swing/RepaintManager.java,
14914 javax/swing/RootPaneContainer.java,
14915 javax/swing/Scrollable.java,
14916 javax/swing/ScrollPaneConstants.java,
14917 javax/swing/ScrollPaneLayout.java,
14918 javax/swing/SingleSelectionModel.java,
14919 javax/swing/SizeRequirements.java,
14920 javax/swing/SizeSequence.java,
14921 javax/swing/SwingConstants.java,
14922 javax/swing/SwingUtilities.java,
14923 javax/swing/table/AbstractTableModel.java,
14924 javax/swing/table/DefaultTableCellRenderer.java,
14925 javax/swing/table/DefaultTableColumnModel.java,
14926 javax/swing/table/DefaultTableModel.java,
14927 javax/swing/table/TableCellEditor.java,
14928 javax/swing/table/TableCellRenderer.java,
14929 javax/swing/table/TableColumn.java,
14930 javax/swing/table/TableColumnModel.java,
14931 javax/swing/table/TableModel.java,
14932 javax/swing/text/AbstractDocument.java,
14933 javax/swing/text/AttributeSet.java,
14934 javax/swing/text/BadLocationException.java,
14935 javax/swing/text/Caret.java,
14936 javax/swing/text/CharacterIterator.java,
14937 javax/swing/text/ComponentView.java,
14938 javax/swing/text/DefaultCaret.java,
14939 javax/swing/text/DefaultEditorKit.java,
14940 javax/swing/text/Document.java,
14941 javax/swing/text/EditorKit.java,
14942 javax/swing/text/Element.java,
14943 javax/swing/text/GapContent.java,
14944 javax/swing/text/JTextComponent.java,
14945 javax/swing/text/Keymap.java,
14946 javax/swing/text/MutableAttributeSet.java,
14947 javax/swing/text/PlainDocument.java,
14948 javax/swing/text/PlainEditorKit.java,
14949 javax/swing/text/Position.java,
14950 javax/swing/text/Segment.java,
14951 javax/swing/text/StyledDocument.java,
14952 javax/swing/text/StyledEditorKit.java,
14953 javax/swing/text/Style.java,
14954 javax/swing/text/TextAction.java,
14955 javax/swing/text/ViewFactory.java,
14956 javax/swing/text/View.java,
14957 javax/swing/Timer.java,
14958 javax/swing/ToggleButtonModel.java,
14959 javax/swing/ToolTipManager.java,
14960 javax/swing/tree/AbstractLayoutCache.java,
14961 javax/swing/tree/DefaultMutableTreeNode.java,
14962 javax/swing/tree/DefaultTreeCellEditor.java,
14963 javax/swing/tree/DefaultTreeCellRenderer.java,
14964 javax/swing/tree/DefaultTreeModel.java,
14965 javax/swing/tree/DefaultTreeSelectionModel.java,
14966 javax/swing/tree/ExpandVetoException.java,
14967 javax/swing/tree/FixedHeightLayoutCache.java,
14968 javax/swing/tree/MutableTreeNode.java,
14969 javax/swing/tree/RowMapper.java,
14970 javax/swing/tree/TreeCellEditor.java,
14971 javax/swing/tree/TreeCellRenderer.java,
14972 javax/swing/tree/TreeModel.java,
14973 javax/swing/tree/TreeNode.java,
14974 javax/swing/tree/TreePath.java,
14975 javax/swing/tree/TreeSelectionModel.java,
14976 javax/swing/tree/VariableHeightLayoutCache.java,
14977 javax/swing/UIDefaults.java,
14978 javax/swing/UIManager.java,
14979 javax/swing/undo/AbstractUndoableEdit.java,
14980 javax/swing/undo/CannotRedoException.java,
14981 javax/swing/undo/CannotUndoException.java,
14982 javax/swing/undo/CompoundEdit.java,
14983 javax/swing/undo/StateEditable.java,
14984 javax/swing/undo/StateEdit.java,
14985 javax/swing/undo/UndoableEdit.java,
14986 javax/swing/undo/UndoableEditSupport.java,
14987 javax/swing/undo/UndoManager.java,
14988 javax/swing/UnsupportedLookAndFeelException.java,
14989 javax/swing/ViewportLayout.java,
14990 javax/swing/WindowConstants.java: New files, from GNU Classpath.
14992 * java/awt/ActiveEvent.java,
14993 java/awt/Adjustable.java, java/awt/AWTError.java,
14994 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14995 java/awt/AWTException.java, java/awt/AWTPermission.java,
14996 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14997 java/awt/Color.java, java/awt/Component.java,
14998 java/awt/ComponentOrientation.java, java/awt/Container.java,
14999 java/awt/datatransfer/MimeTypeParseException.java,
15000 java/awt/datatransfer/Transferable.java,
15001 java/awt/datatransfer/UnsupportedFlavorException.java,
15002 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
15003 java/awt/event/ActionListener.java,
15004 java/awt/event/AdjustmentEvent.java,
15005 java/awt/event/AdjustmentListener.java,
15006 java/awt/event/AWTEventListener.java,
15007 java/awt/event/ComponentAdapter.java,
15008 java/awt/event/ComponentEvent.java,
15009 java/awt/event/ComponentListener.java,
15010 java/awt/event/ContainerAdapter.java,
15011 java/awt/event/ContainerEvent.java,
15012 java/awt/event/ContainerListener.java,
15013 java/awt/event/FocusAdapter.java,
15014 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
15015 java/awt/event/HierarchyBoundsAdapter.java,
15016 java/awt/event/HierarchyBoundsListener.java,
15017 java/awt/event/HierarchyEvent.java,
15018 java/awt/event/HierarchyListener.java,
15019 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
15020 java/awt/event/InputMethodListener.java,
15021 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
15022 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
15023 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
15024 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
15025 java/awt/event/MouseListener.java,
15026 java/awt/event/MouseMotionAdapter.java,
15027 java/awt/event/MouseMotionListener.java,
15028 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
15029 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
15030 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
15031 java/awt/event/WindowListener.java, java/awt/Font.java,
15032 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
15033 java/awt/geom/Ellipse2D.java,
15034 java/awt/geom/IllegalPathStateException.java,
15035 java/awt/geom/Line2D.java,
15036 java/awt/geom/NoninvertibleTransformException.java,
15037 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
15038 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
15039 java/awt/geom/RoundRectangle2D.java,
15040 java/awt/GraphicsConfiguration.java,
15041 java/awt/IllegalComponentStateException.java,
15042 java/awt/image/IndexColorModel.java,
15043 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
15044 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
15045 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
15046 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
15047 java/awt/MenuItem.java, java/awt/PaintContext.java,
15048 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
15049 java/awt/Polygon.java, java/awt/PrintGraphics.java,
15050 java/awt/PrintJob.java, java/awt/Rectangle.java,
15051 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
15052 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
15053 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
15055 * java/awt/im/spi/InputMethod.java,
15056 java/awt/im/spi/InputMethodContext.java,
15057 java/awt/im/spi/InputMethodDescriptor.java,
15058 java/awt/image/renderable/ContextualRenderedImageFactory.java,
15059 java/awt/image/renderable/ParameterBlock.java,
15060 java/awt/image/renderable/RenderContext.java,
15061 java/awt/image/renderable/RenderableImage.java,
15062 java/awt/image/renderable/RenderableImageOp.java,
15063 java/awt/image/renderable/RenderableImageProducer.java,
15064 java/awt/image/renderable/RenderedImageFactory.java: New files from
15067 * gnu/java/awt/EventModifier.java,
15068 gnu/java/awt/image/ImageDecoder.java,
15069 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
15071 * gnu/awt/xlib/XGraphicsConfiguration.java,
15072 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
15075 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
15078 * Makefile.am: Add new files.
15079 * Makefile.in: Rebuilt.
15081 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15083 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
15084 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
15085 findResource, getResources, findResources): Add javadoc from classpath.
15086 (getSystemResources): Implemented.
15088 2002-08-01 Mark Wielaard <mark@klomp.org>
15090 Revert patch that breaks libgcj shared library on powerpc:
15091 * gnu/java/security/provider/Gnu.java: Reverse referencing all
15092 implementation classes by using Class.getName(). Uses Strings again.
15093 * gnu/java/security/der/DEREncodingException.java,
15094 gnu/java/security/provider/DERReader.java,
15095 gnu/java/security/provider/DERWriter.java,
15096 gnu/java/security/provider/DSAKeyPairGenerator.java,
15097 gnu/java/security/provider/DSAParameterGenerator.java,
15098 gnu/java/security/provider/DSAParameters.java,
15099 gnu/java/security/provider/DSASignature.java,
15100 gnu/java/security/provider/GnuDSAPrivateKey.java,
15101 gnu/java/security/provider/GnuDSAPublicKey.java,
15102 gnu/java/security/provider/MD5.java,
15103 gnu/java/security/util/Prime.java: Removed.
15104 * Makefile.am (ordinary_java_source_files): Remove above files.
15105 * Makefile.in: Regenerate.
15106 * gnu/java/security/provider/DefaultPolicy.java
15107 (getPermissions): Revert to maintaining static class variable of
15109 * gnu/java/security/provider/SHA.java
15110 (engineUpdate): Revert algorithm change.
15111 (engineDigest): Revert algorithm change.
15113 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
15115 * configure.host: Add SH support.
15116 * sysdep/sh/locks.h: New file.
15118 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15120 * java/awt/Frame.java (Frame): Remove println calls.
15122 2002-07-30 Jeff Sturm <jsturm@one-point.com>
15124 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
15125 * configure: Rebuilt.
15127 2002-07-27 Alan Modra <amodra@bigpond.net.au>
15129 * sysdep/powerpc/locks.h: Formatting.
15132 (compare_and_swap): Use _LARX and _STCX.
15133 (compare_and_swap_release): Likewise.
15135 2002-07-26 Tom Tromey <tromey@redhat.com>
15137 * java/net/Authenticator.java: New version from Classpath.
15138 * java/net/DatagramSocketImpl.java: New version from Classpath.
15140 2002-07-27 Alan Modra <amodra@bigpond.net.au>
15142 * configure.host: Add powerpc64*-* entry.
15144 2002-07-26 Tom Tromey <tromey@redhat.com>
15146 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
15149 2002-07-24 Tom Tromey <tromey@redhat.com>
15151 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
15154 2002-07-24 Tom Tromey <tromey@redhat.com>
15155 Tony Kimball <alk@pobox.com>
15157 * java/io/natFileDescriptorWin32.cc (setLength): New method.
15158 * java/io/natFileDescriptorPosix.cc (setLength): New method.
15159 * java/io/RandomAccessFile.java (setLength): New method.
15160 * java/io/natFileDescriptorEcos.cc (setLength): New method.
15161 * java/io/FileDescriptor.java (setLength): New method.
15163 2002-07-24 Mark Wielaard <mark@klomp.org>
15165 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
15166 * java/io/ObjectInputStream.java (setBooleanField): Before setting
15167 field call setAccessible(true).
15168 (setByteField): Likewise.
15169 (setCharField): Likewise.
15170 (setDoubleField): Likewise.
15171 (setFloatField): Likewise.
15172 (setIntField): Likewise.
15173 (setLongField): Likewise.
15174 (setShortField): Likewise.
15175 (setObjectField): Likewise.
15177 2002-07-24 Tom Tromey <tromey@redhat.com>
15179 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
15180 use toString() to format array element.
15182 2002-07-23 Mark Wielaard <mark@klomp.org>
15184 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
15185 MessageDigestSpi (fixes Classpath bug #783).
15187 2002-07-21 Mark Wielaard <mark@klomp.org>
15189 * gnu/java/security/provider/Gnu.java: Reference all implementation
15190 classes by using Class.getName().
15192 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
15194 * java/lang/ieeefp.h: Add x86-64 support.
15195 * configure.in: Likewise.
15196 * configure.host: Likewise.
15197 * configure: Regenerated.
15198 * sysdep/x86-64/locks.h: New file with x86-64 locks.
15200 2002-07-16 Mark Wielaard <mark@klomp.org>
15202 * java/io/StreamTokenizer.java (pushBack): Update documentation.
15203 (whitespaceChars): call resetChar().
15205 2002-07-15 Tom Tromey <tromey@redhat.com>
15207 * Makefile.in: Rebuilt.
15208 * Makefile.am (awt_java_source_files): Added new files.
15209 * java/beans/ExceptionListener.java: Merged with Classpath.
15210 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
15211 * java/beans/PropertyChangeListener.java: Merged with Classpath.
15212 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
15213 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
15214 * java/beans/VetoableChangeListener.java: Merged with Classpath.
15215 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
15216 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
15218 2002-07-14 Mark Wielaard <mark@klomp.org>
15220 * gnu/java/security/der/DEREncodingException.java,
15221 gnu/java/security/provider/DERReader.java,
15222 gnu/java/security/provider/DERWriter.java,
15223 gnu/java/security/provider/DSAKeyPairGenerator.java,
15224 gnu/java/security/provider/DSAParameterGenerator.java,
15225 gnu/java/security/provider/DSAParameters.java,
15226 gnu/java/security/provider/DSASignature.java,
15227 gnu/java/security/provider/GnuDSAPrivateKey.java,
15228 gnu/java/security/provider/GnuDSAPublicKey.java,
15229 gnu/java/security/provider/MD5.java,
15230 gnu/java/security/util/Prime.java: New files from Classpath.
15231 * Makefile.am (ordinary_java_source_files): Add new files.
15232 * Makefile.in: Regenerate.
15234 2002-07-14 C. Brian Jones <cbj@gnu.org>
15236 * gnu/java/security/provider/DefaultPolicy.java
15237 (getPermissions): do not maintain static class variable of
15239 * gnu/java/security/provider/SHA.java
15240 (engineUpdate): algorithm change
15241 (engineDigest): algorithm change
15243 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
15245 For PR libgcj/7292:
15246 * java/lang/Character.java (toString(char)): Now static.
15248 2002-07-12 Mark Wielaard <mark@klomp.org>
15250 * java/lang/natThrowable.cc (printRawStackTrace): removed.
15251 (getStackTrace0): new method.
15252 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
15253 (printStackTrace(PrintWriter)): replace with pure java implementation.
15254 (printRawStackTrace): removed.
15255 (getStackTrace0): new method.
15256 * java/lang/StackTraceElement.java (toString): add extra whitespace.
15257 * gcj/javaprims.h: regenerate class list.
15258 * include/name-finder.h (lookup): new returns StackTraceElement*.
15259 (method_name, file_name): fields removed.
15260 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
15261 (~_Jv_name_finder): close new descriptors.
15262 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
15263 (createStackTraceElement): new method.
15264 (lookup): returns StackTraceElement*, uses createStackTraceElement().
15266 2002-07-10 Tom Tromey <tromey@redhat.com>
15268 * configure: Rebuilt.
15269 * configure.in: Use `test' after `&&'. From Chris Faylor.
15271 2002-07-08 Mark Wielaard <mark@klomp.org>
15273 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
15274 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
15275 java.sql.DatabaseMetaData.TestJdbc20
15277 2002-07-05 Tony Kimball <alk@pobox.com>
15279 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15281 2002-07-04 Tom Tromey <tromey@redhat.com>
15282 Jeff Sturm <jsturm@one-point.com>
15284 Fix for PR libgcj/7060:
15285 * java/lang/Class.h (_getMethod): Renamed from getMethod.
15286 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15287 Recurse into superinterfaces. Don't throw NoSuchMethodException.
15288 * java/lang/Class.java (getMethod): New Java implementation;
15289 complies with spec.
15290 (_getMethod): New native method.
15292 2002-07-02 Tom Tromey <tromey@redhat.com>
15293 David Hovemeyer <daveho@cs.umd.edu>
15295 * java/text/ChoiceFormat.java
15296 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15298 * java/text/MessageFormat.java
15299 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15302 2002-07-01 Tom Tromey <tromey@redhat.com>
15304 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15305 StringTokenizer on null string. For PR libgcj/7180.
15306 From daveho@cs.umd.edu.
15308 2002-06-24 Tom Tromey <tromey@redhat.com>
15310 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15311 (IntegerClass): Likewise.
15312 * java/lang/natClass.cc (CloneableClass): Removed.
15313 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15314 ConstructorClass): Likewise.
15315 * java/lang/natClassLoader.cc (CloneableClass): Removed.
15316 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15317 SerializableClass): Likewise.
15318 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15319 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15320 LongClass, FloatClass, DoubleClass): Likewise.
15322 * verify.cc (branch_prepass): Updated for change to exception
15324 (verify_instructions_0): Likewise.
15325 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15326 (handleExceptionTableEntry): Updated for change to exception
15328 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15329 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15330 (union _Jv_InterpPC): New.
15331 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15332 (class _Jv_InterpMethod): Added new `prepared' field.
15333 (class _Jv_InterpMethod): Added `compile' method. Removed
15334 `continue1' and `find_exception'. Changed arguments to `run'.
15335 * interpret.cc (union insn_slot): New.
15336 (find_exception): Removed.
15337 (run_normal): Removed most logic.
15338 (run_synch_object): Likewise; also, use JvSynchronize.
15339 (run_synch_class): Likewise.
15341 (continue1): Renamed as `run'. Compile bytecode if required.
15342 Add new code to allow refinement of direct-threaded code at
15343 runtime. Handle exceptions.
15344 (SAVE_PC): Removed.
15345 (compile): New method.
15346 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15347 (NULLARRAYCHECK): Don't use SAVE_PC.
15348 (pc_t): New typedef.
15349 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15350 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15352 2002-06-23 Tom Tromey <tromey@redhat.com>
15354 * configure: Rebuilt.
15355 * configure.in (INTERPRETER): New subst.
15356 (AM_RUNTESTFLAGS): Don't subst.
15358 * Makefile.in: Rebuilt.
15359 * Makefile.am ($(srcdir)/java/lang/Object.h,
15360 $(srcdir)/java/lang/Class.h): Added dummy targets.
15362 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15364 Reformat JDBC classes and add new JDK 1.4 classes and methods.
15366 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15367 java/sql/Savepoint.java: New files.
15368 * java/sql/Array.java, java/sql/BatchUpdateException.java,
15369 java/sql/Blob.java, java/sql/CallableStatement.java,
15370 java/sql/Clob.java, java/sql/Connection.java,
15371 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15372 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15373 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15374 java/sql/Ref.java, java/sql/ResultSet.java,
15375 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15376 java/sql/SQLException.java, java/sql/SQLInput.java,
15377 java/sql/SQLOutput.java, java/sql/SQLWarning.java
15378 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15379 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15380 (JDK 1.4) specification.
15381 * javax/sql/ConnectionEvent.java,
15382 javax/sql/ConnectionEventListener.java,
15383 javax/sql/ConnectionPoolDataSource.java,
15384 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15385 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15386 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15387 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15388 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15389 javax/sql/XADataSource.java: New files.
15390 * Makefile.am: Add new files.
15391 * Makefile.in: Rebuilt.
15393 2002-06-20 Tom Tromey <tromey@redhat.com>
15395 For PR libgcj/7073:
15396 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15398 * defineclass.cc (handleClassBegin): Superclass for interface is
15401 2002-06-18 Tom Tromey <tromey@redhat.com>
15403 * gcj/javaprims.h: Updated class declaration list.
15404 * Makefile.in: Rebuilt.
15405 * Makefile.am (core_java_source_files): Removed
15406 BasicMapEntry.java.
15407 * java/util/BasicMapEntry.java: Removed.
15409 2002-06-18 Jeff Sturm <jsturm@one-point.com>
15411 * java/net/natPlainDatagramSocketImpl.cc (receive):
15412 Check bounds of argument to FD_SET.
15413 (setOption): Throw exception if socket is closed.
15415 * java/net/natPlainSocketImpl.cc (accept, read):
15416 Check bounds of argument to FD_SET.
15417 (setOption): Throw exception if socket is closed.
15419 2002-06-18 Tom Tromey <tromey@redhat.com>
15421 * gcj/javaprims.h: Updated class declaration list.
15422 * Makefile.in: Rebuilt.
15423 * Makefile.am (core_java_source_files): Added
15424 PropertyPermissionCollection.java.
15425 * java/lang/Thread.java (group, name): Now package-private.
15426 * java/lang/ThreadGroup.java: Re-merge with Classpath.
15427 * java/util/AbstractList.java: Likewise.
15428 * java/util/AbstractMap.java: Likewise.
15429 * java/util/Calendar.java: Likewise.
15430 * java/util/Collections.java: Likewise.
15431 * java/util/HashMap.java: Likewise.
15432 * java/util/Hashtable.java: Likewise.
15433 * java/util/LinkedHashMap.java: Likewise.
15434 * java/util/LinkedList.java: Likewise.
15435 * java/util/List.java: Likewise.
15436 * java/util/ListResourceBundle.java: Likewise.
15437 * java/util/Map.java: Likewise.
15438 * java/util/Observable.java: Likewise.
15439 * java/util/Properties.java: Likewise.
15440 * java/util/PropertyPermission.java: Likewise.
15441 * java/util/PropertyPermissionCollection.java: Likewise.
15442 * java/util/PropertyResourceBundle.java: Likewise.
15443 * java/util/Random.java: Likewise.
15444 * java/util/SimpleTimeZone.java: Likewise.
15445 * java/util/StringTokenizer.java: Likewise.
15446 * java/util/TimerTask.java: Likewise.
15447 * java/util/TreeMap.java: Likewise.
15448 * java/util/WeakHashMap.java: Likewise.
15449 * java/util/jar/Attributes.java: Likewise.
15450 * java/util/jar/JarException.java: Likewise.
15451 * java/util/jar/Manifest.java: Likewise.
15453 2002-06-17 Tom Tromey <tromey@redhat.com>
15455 * gcj/javaprims.h: Updated class declaration list.
15456 * Makefile.in: Rebuilt.
15457 * Makefile.am (core_java_source_files): Added new file.
15458 * java/util/EventListenerProxy.java: New file.
15459 * java/util/EventListener.java: Re-merge with Classpath.
15460 * java/util/EventObject.java: Re-merge with Classpath.
15462 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
15464 * java/lang/ClassNotFoundException.java: New Classpath version.
15466 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
15468 * java/rmi/activation/ActivateFailedException.java: Remerge from
15470 * java/rmi/activation/ActivationException.java: Ditto.
15471 * java/rmi/activation/UnknownGroupException.java: Ditto.
15472 * java/rmi/activation/UnknownObjectException.java: Ditto.
15473 * java/rmi/server/ExportException: Ditto.
15474 * java/rmi/server/ServerCloneException: Ditto.
15475 * java/rmi/server/ServerNotActiveException: Ditto.
15476 * java/rmi/server/SkeletonMismatchException: Ditto.
15477 * java/rmi/server/SkeletonNotFoundException: Ditto.
15478 * java/rmi/server/SocketSecurityException: Ditto.
15480 2002-06-16 Tom Tromey <tromey@redhat.com>
15482 * gcj/javaprims.h: Updated class declaration list.
15484 * java/io/LineNumberInputStream.java: Merged with Classpath.
15486 * java/lang/RuntimeException.java: Re-merge with Classpath.
15487 * java/util/ArrayList.java: Likewise.
15488 * java/util/Arrays.java: Likewise.
15489 * java/util/BitSet.java: Likewise.
15490 * java/util/Dictionary.java: Likewise.
15491 * java/util/IdentityHashMap.java: Likewise.
15492 * java/util/MissingResourceException.java: Likewise.
15493 * java/util/Observer.java: Likewise.
15494 * java/util/TooManyListenersException.java: Likewise.
15495 * java/util/zip/DataFormatException.java: Likewise.
15496 * java/util/zip/ZipException.java: Likewise.
15498 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
15500 * java/rmi/AccessException.java: Remerge from Classpath.
15501 * java/rmi/AlreadyBoundException.java: Ditto.
15502 * java/rmi/ConnectException.java: Ditto.
15503 * java/rmi/ConnectIOException.java: Ditto.
15504 * java/rmi/MarshalException.java: Ditto.
15505 * java/rmi/NoSuchObjectException.java: Ditto.
15506 * java/rmi/NotBoundException.java: Ditto.
15507 * java/rmi/RemoteException.java: Ditto.
15508 * java/rmi/RMISecurityException.java: Ditto.
15509 * java/rmi/ServerError.java: Ditto.
15510 * java/rmi/ServerException.java: Ditto.
15511 * java/rmi/ServerRuntimeException.java: Ditto.
15512 * java/rmi/StubNotFoundException.java: Ditto.
15513 * java/rmi/UnexpectedExcpetion.java: Ditto.
15514 * java/rmi/UnknownHostException.java: Ditto.
15515 * java/rmi/UnmarshalException.java: Ditto.
15517 2002-06-15 Tom Tromey <tromey@redhat.com>
15519 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15520 * java/lang/ArithmeticException.java: Likewise.
15521 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15522 * java/lang/ArrayStoreException.java: Likewise.
15523 * java/lang/Byte.java: Likewise.
15524 * java/lang/CharSequence.java: Likewise.
15525 * java/lang/ClassCastException.java: Likewise.
15526 * java/lang/ClassCircularityError.java: Likewise.
15527 * java/lang/ClassFormatError.java: Likewise.
15528 * java/lang/CloneNotSupportedException.java: Likewise.
15529 * java/lang/Cloneable.java: Likewise.
15530 * java/lang/Comparable.java: Likewise.
15531 * java/lang/Compiler.java: Likewise.
15532 * java/lang/Error.java: Likewise.
15533 * java/lang/ExceptionInInitializerError.java: Likewise.
15534 * java/lang/IllegalAccessError.java: Likewise.
15535 * java/lang/IllegalAccessException.java: Likewise.
15536 * java/lang/IllegalArgumentException.java: Likewise.
15537 * java/lang/IllegalMonitorStateException.java: Likewise.
15538 * java/lang/IllegalStateException.java: Likewise.
15539 * java/lang/IllegalThreadStateException.java: Likewise.
15540 * java/lang/IncompatibleClassChangeError.java: Likewise.
15541 * java/lang/IndexOutOfBoundsException.java: Likewise.
15542 * java/lang/InheritableThreadLocal.java: Likewise.
15543 * java/lang/InstantiationError.java: Likewise.
15544 * java/lang/InstantiationException.java: Likewise.
15545 * java/lang/InternalError.java: Likewise.
15546 * java/lang/InterruptedException.java: Likewise.
15547 * java/lang/LinkageError.java: Likewise.
15548 * java/lang/NegativeArraySizeException.java: Likewise.
15549 * java/lang/NoClassDefFoundError.java: Likewise.
15550 * java/lang/NoSuchFieldError.java: Likewise.
15551 * java/lang/NoSuchFieldException.java: Likewise.
15552 * java/lang/NoSuchMethodError.java: Likewise.
15553 * java/lang/NoSuchMethodException.java: Likewise.
15554 * java/lang/NullPointerException.java: Likewise.
15555 * java/lang/NumberFormatException.java: Likewise.
15556 * java/lang/OutOfMemoryError.java: Likewise.
15557 * java/lang/Process.java: Likewise.
15558 * java/lang/Runnable.java: Likewise.
15559 * java/lang/RuntimePermission.java: Likewise.
15560 * java/lang/SecurityException.java: Likewise.
15561 * java/lang/Short.java: Likewise.
15562 * java/lang/StackOverflowError.java: Likewise.
15563 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15564 * java/lang/ThreadDeath.java: Likewise.
15565 * java/lang/ThreadLocal.java: Likewise.
15566 * java/lang/UnknownError.java: Likewise.
15567 * java/lang/UnsatisfiedLinkError.java: Likewise.
15568 * java/lang/UnsupportedClassVersionError.java: Likewise.
15569 * java/lang/UnsupportedOperationException.java: Likewise.
15570 * java/lang/VerifyError.java: Likewise.
15571 * java/lang/VirtualMachineError.java: Likewise.
15572 * java/lang/reflect/InvocationTargetException.java: Likewise.
15573 * java/net/BindException.java: Likewise.
15574 * java/net/ConnectException.java: Likewise.
15575 * java/net/MalformedURLException.java: Likewise.
15576 * java/net/NoRouteToHostException.java: Likewise.
15577 * java/net/ProtocolException.java: Likewise.
15578 * java/net/SocketException.java: Likewise.
15579 * java/net/UnknownHostException.java: Likewise.
15580 * java/net/UnknownServiceException.java: Likewise.
15582 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15583 * java/io/CharConversionException.java: Likewise.
15584 * java/io/EOFException.java: Likewise.
15585 * java/io/FileNotFoundException.java: Likewise.
15586 * java/io/IOException.java: Likewise.
15587 * java/io/InterruptedIOException.java: Likewise.
15588 * java/io/InvalidClassException.java: Likewise.
15589 * java/io/InvalidObjectException.java: Likewise.
15590 * java/io/NotActiveException.java: Likewise.
15591 * java/io/NotSerializableException.java: Likewise.
15592 * java/io/ObjectStreamException.java: Likewise.
15593 * java/io/ObjectStreamConstants.java: Likewise.
15594 * java/io/OptionalDataException.java: Likewise.
15595 * java/io/PipedInputStream.java: Likewise.
15596 * java/io/PushbackInputStream.java: Likewise.
15597 * java/io/StreamCorruptedException.java: Likewise.
15598 * java/io/SyncFailedException.java: Likewise.
15599 * java/io/UTFDataFormatException.java: Likewise.
15600 * java/io/UnsupportedEncodingException.java: Likewise.
15601 * java/io/WriteAbortedException.java: Likewise.
15603 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
15605 * java/text/ChoiceFormat.java: Update comments from Classpath.
15606 * java/text/ParseException.java (serialVersionUID): New
15607 field from Classpath.
15608 * java/text/ParseException.java: Update formatting & comments
15611 2002-06-15 Tom Tromey <tromey@redhat.com>
15613 * java/util/zip/InflaterInputStream.java (read): Loop if data has
15614 been read but none output by inflater.
15615 * java/util/zip/natDeflater.cc (reset): Set is_finished.
15616 * java/util/zip/natInflater.cc (reset): Set dist_needed and
15618 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15620 * java/util/zip/ZipFile.java: Replaced with Classpath version.
15621 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15622 * java/util/zip/ZipInputStream.java: Replaced with Classpath
15624 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15626 2002-06-13 Tom Tromey <tromey@redhat.com>
15628 * java/lang/natString.cc (init): Handle case where DONT_COPY is
15629 true and OFFSET!=0.
15630 * java/lang/String.java (String(char[],int,int,boolean): New
15632 * java/lang/Long.java: Imported new version from Classpath.
15633 * java/lang/Number.java: Likewise.
15634 * java/lang/Integer.java: Likewise.
15635 * java/lang/Long.java: Likewise.
15636 * java/lang/Float.java: Likewise.
15637 * java/lang/Boolean.java: Likewise.
15638 * java/lang/Double.java: Likewise.
15639 * java/lang/Void.java: Likewise.
15641 2002-06-12 Tom Tromey <tromey@redhat.com>
15643 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15644 Fixes PR libgcj/6652.
15646 2002-06-10 Tom Tromey <tromey@redhat.com>
15648 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15649 (Class::getPackagePortion): Likewise.
15650 * java/lang/Class.java (desiredAssertionStatus): New method from
15652 (getPackagePortion): Likewise.
15653 * java/lang/VMClassLoader.java (defaultAssertionStatus,
15654 packageAssertionStatus, classAssertionStatus): New methods from
15656 * java/lang/ClassLoader.java (defaultAssertionStatus,
15657 systemPackageAssertionStatus, packageAssertionStatus,
15658 systemClassAssertionStatus, classAssertionStatus): New fields from
15660 (setDefaultAssertionStatus, setPackageAssertionStatus,
15661 setClassAssertionStatus, clearAssertionStatus): New methods from
15663 * Makefile.in: Rebuilt.
15664 * Makefile.am (core_java_source_files): Added AssertionError.java.
15665 * java/lang/AssertionError.java: New from Classpath.
15667 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15669 * configure.host: Disable hash synchronization and slow_pthread_self
15672 2002-06-06 Adam Megacz <adam@xwt.org>
15674 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15675 locking, just like the Sun JVM does.
15677 2002-06-05 H.J. Lu (hjl@gnu.org)
15679 * Makefile.am (libgcj_convenience.la): Revert the last change.
15680 (libgcj.la): Likewise.
15681 * Makefile.in: Regenerated.
15683 2002-06-04 H.J. Lu (hjl@gnu.org)
15685 * Makefile.am (libgcj_convenience.la): New target.
15686 (libgcj.la): Depend on libgcj_convenience.la.
15687 * Makefile.in: Regenerated.
15689 2002-06-04 H.J. Lu (hjl@gnu.org)
15691 * configure.in (--with-newlib): New option:
15692 Check ${with_newlib} instead of ${with_cross_host} for newlib.
15693 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15695 * configure: Regenerated.
15697 2002-06-04 Tom Tromey <tromey@redhat.com>
15699 * java/util/natTimeZone.cc: Include <stdio.h>.
15701 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
15703 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15704 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15705 Set SIGNAL_HANDLER=include/s390-linux.h.
15706 * configure: Regenerate.
15707 * include/s390-linux.h: New file.
15709 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15711 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15714 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15716 Merge JDK 1.4 java.security changes from classpath.
15718 * java/security/AccessControlException.java: Merge from Classpath.
15719 * java/security/AccessController.java: Likewise.
15720 * java/security/AllPermission.java: Likewise.
15721 * java/security/BasicPermission.java: Likewise.
15722 * java/security/Certificate.java: Likewise.
15723 * java/security/CodeSource.java: Likewise.
15724 * java/security/DigestException.java: Likewise.
15725 * java/security/DigestOutputStream.java: Likewise.
15726 * java/security/DomainCombiner.java: Likewise.
15727 * java/security/GeneralSecurityException.java: Likewise.
15728 * java/security/Guard.java: Likewise.
15729 * java/security/GuardedObject.java: Likewise.
15730 * java/security/InvalidAlgorithmParameterException.java: Likewise.
15731 * java/security/InvalidKeyException.java: Likewise.
15732 * java/security/InvalidParameterException.java: Likewise.
15733 * java/security/Key.java: Likewise.
15734 * java/security/KeyException.java: Likewise.
15735 * java/security/KeyManagementException.java: Likewise.
15736 * java/security/KeyStoreException.java: Likewise.
15737 * java/security/MessageDigest.java: Likewise.
15738 * java/security/NoSuchAlgorithmException.java: Likewise.
15739 * java/security/NoSuchProviderException.java: Likewise.
15740 * java/security/Permission.java: Likewise.
15741 * java/security/PermissionCollection.java: Likewise.
15742 * java/security/Permissions.java: Likewise.
15743 * java/security/Policy.java: Likewise.
15744 * java/security/Principal.java: Likewise.
15745 * java/security/PrivateKey.java: Likewise.
15746 * java/security/PrivilegedAction.java: Likewise.
15747 * java/security/PrivilegedActionException.java: Likewise.
15748 * java/security/PrivilegedExceptionAction.java: Likewise.
15749 * java/security/ProtectionDomain.java: Likewise.
15750 * java/security/ProviderException.java: Likewise.
15751 * java/security/PublicKey.java: Likewise.
15752 * java/security/SecureClassLoader.java: Likewise.
15753 * java/security/SecurityPermission.java: Likewise.
15754 * java/security/SignatureException.java: Likewise.
15755 * java/security/UnrecoverableKeyException.java: Likewise.
15756 * java/security/UnresolvedPermission.java: Likewise.
15757 * java/security/acl/AclNotFoundException.java: Likewise.
15758 * java/security/acl/LastOwnerException.java: Likewise.
15759 * java/security/acl/NotOwnerException.java: Likewise.
15760 * java/security/cert/CRLException.java: Likewise.
15761 * java/security/cert/CertificateEncodingException.java: Likewise.
15762 * java/security/cert/CertificateException.java: Likewise.
15763 * java/security/cert/CertificateExpiredException.java: Likewise.
15764 * java/security/cert/CertificateFactory.java: Likewise.
15765 * java/security/cert/CertificateNotYetValidException.java: Likewise.
15766 * java/security/cert/CertificateParsingException.java: Likewise.
15767 * java/security/spec/InvalidKeySpecException.java: Likewise.
15768 * java/security/spec/InvalidParameterSpecException.java: Likewise.
15770 * java/security/cert/CertPath.java: New file.
15771 * java/security/cert/CertPathBuilderException.java: New file.
15772 * java/security/cert/CertPathValidatorException.java: New file.
15773 * java/security/cert/CertStoreException.java: New file.
15775 * Makefile.am: Add new CertPath classes.
15776 * Makefile.in: Rebuilt.
15778 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15780 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15782 Merge JDK 1.4 exception chaining support from classpath.
15784 * java/lang/Throwable.java: Merge 1.4 support from classpath.
15785 (stackTraceBytes): Rename from stackTrace.
15786 * java/lang/Exception.java: Merge from classpath.
15787 * java/lang/StackTraceElement: New file from classpath.
15788 * gcj/javaprims.h: Rebuild CNI namespace declarations.
15789 * Makefile.am: Add StackTraceElement.
15790 * Makefile.in: Rebuilt.
15792 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15794 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15796 * Makefile.in: Rebuilt.
15798 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15800 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15801 * configure.in: Likewise.
15802 * aclocal.m4: Regenerate.
15803 * configure: Regenerate.
15805 2002-05-13 Tom Tromey <tromey@redhat.com>
15807 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15808 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15809 Include platform.h.
15811 Fixes PR libgcj/6389:
15812 * Makefile.in: Rebuilt.
15813 * Makefile.am (nat_source_files): Added natTimeZone.cc.
15814 * java/util/natTimeZone.cc: New file.
15815 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15816 * java/lang/System.java: Merged with Classpath.
15817 * java/lang/Runtime.java: Merged with Classpath.
15818 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15820 (setIn0): Renamed from setIn; don't run security check.
15821 (setOut0): Renamed from setOut; don't run security check.
15822 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15823 init_properties): Moved to natRuntime.cc.
15824 Moved many includes to natRuntime.cc.
15825 (isWordsBigEndian): New method.
15826 * java/lang/natRuntime.cc: Include Long.h, also other includes
15827 previously in natSystem.cc.
15828 (maxMemory): New function.
15829 (exitInternal): Renamed from `_exit'.
15831 (init): Don't set finalize_on_exit.
15832 (exitInternal): Use `finalizeOnExit'.
15833 (file_encoding, getpwuid_adaptor): New functions from
15835 (insertSystemProperties): New method, renamed from
15836 System::init_properties. Don't set user.timezone.
15837 (_load): Don't call checkLink.
15838 (execInternal): New method.
15839 (availableProcessors): Likewise.
15840 (nativeGetLibname): Likewise.
15842 2002-05-11 Mark Wielaard <mark@klomp.org>
15844 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15846 (previous_internal): Likewise.
15848 2002-05-09 Tom Tromey <tromey@redhat.com>
15850 * jni.cc (_Jv_JNIFunctions): Fixed typo.
15852 * java/util/ResourceBundle.java: New version from Classpath.
15853 * java/util/Locale.java: Likewise.
15855 2002-05-09 Jakub Jelinek <jakub@redhat.com>
15857 * testsuite/lib/libjava.exp (libjava_arguments): Append all
15858 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15861 2002-05-08 Mark Mitchell <mark@codesourcery.com>
15863 * libjava/Makefile.am (all_java_source_files): New variable.
15864 (all_java_class_files): Likewise.
15865 .java.class: New rule.
15866 (CLEANFILES): Remove tmp-list.
15867 * libjava/Makefile.in: Regenerated.
15869 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
15871 * testsuite/lib/libjava.exp (test_libjava_from_javac):
15872 Append .exe to executable names. Fix for cygwin.
15874 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
15876 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15877 script entry, and set LD to it when configuring multilibs.
15878 * configure: Rebuilt.
15880 2002-05-07 Tom Tromey <tromey@redhat.com>
15882 * java/lang/natString.cc (unintern): Fixed typo.
15884 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15886 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15887 with -no-install on *-*-cygwin*.
15889 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15891 * testsuite/lib/libjava.exp (test_libjava_from_source):
15892 Add comment explaining last patch
15894 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
15896 * testsuite/lib/libjava.exp (test_libjava_from_source):
15897 Append .exe to executable names. If no suffix is present,
15898 then ".exe" is added by default on win32. Harmless
15899 elsewhere so always do it.
15901 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
15902 Tom Tromey <tromey@redhat.com>
15904 * java/lang/natSystem.cc (getSystemTimeZone): Use
15905 HAVE_UNDERSCORE_TIMEZONE.
15906 * include/config.h.in: Rebuilt.
15907 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15908 * aclocal.m4, configure: Rebuilt.
15909 * acinclude.m4: Run AC_EXEEXT.
15910 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15911 Add test for `_timezone'.
15913 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
15915 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15916 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15917 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15918 * Makefile.in: Rebuilt.
15920 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
15922 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15923 use sigaction instead of __libc_sigaction.
15925 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15927 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15928 (libjava_init): Use it to find libgcj.spec.
15929 (libjava_arguments): Likewise.
15931 2002-05-02 David S. Miller <davem@redhat.com>
15934 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15935 __libc_sigaction on Sparc.
15937 2002-05-02 Jerome Marc <marcjero@yahoo.com>
15939 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15940 sys/filio.h, if present.
15942 2002-04-30 Tom Tromey <tromey@redhat.com>
15944 * java/io/BufferedReader.java (fill): Handle case where markPos
15945 point to ignored \n. Fixes PR libgcj/6301.
15947 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
15949 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15951 2002-04-29 Adam King <aking@dreammechanics.com>
15953 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15954 of file in APPEND mode.
15956 2002-04-25 David S. Miller <davem@redhat.com>
15959 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15960 program counter to next program counter minus 8. Update
15961 comments in this macro to explain why.
15963 2002-04-26 Tom Tromey <tromey@redhat.com>
15965 * verify.cc (construct_primitive_array_type) [void_type]: New
15967 (branch_prepass): Added dummy entries for unused instruction
15969 (verify_instructions_0): Likewise.
15970 * interpret.cc (continue1): Comment fix.
15971 * include/java-insns.h (op_xxxunusedxxx1): Removed.
15972 * Makefile.in: Rebuilt.
15973 * Makefile.am: Added -Wswitch-enum.
15975 2002-04-24 Tom Tromey <tromey@redhat.com>
15977 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15978 correct length of UTF-8 encoded name. Strip leading `/'.
15979 (_Jv_RegisterResource): Use _Jv_Malloc.
15981 2002-04-23 Adam Megacz <adam@xwt.org>
15983 * win32.cc, include/win32.cc (backtrace): Added this function
15984 because Win32 does not supply it.
15986 2002-04-21 David S. Miller <davem@redhat.com>
15988 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15989 magic instruction reading sequence.
15991 2002-04-21 Mark Wielaard <mark@klomp.org>
15993 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15995 2002-04-19 David S. Miller <davem@redhat.com>
15997 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15999 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
16000 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
16002 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
16004 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
16005 * sysdeps/sparc/locks.h: New file.
16006 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
16007 on all sparc Solaris configurations. Set to
16008 include/dwarf2-signal.h on sparc Linux.
16009 * configure: Regenerate
16010 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
16012 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
16014 * configure: Rebuilt.
16015 * configure.in (backtrace): Function doesn't work on IA-64.
16017 2002-04-17 Adam King <aking@dreammechanics.com>
16019 * java/io/File.java (normalizePath): Add Win32 support for auto
16020 conversion of a '/' path separator to Win32's '\' separator.
16022 2002-04-16 Tom Tromey <tromey@redhat.com>
16024 Fix for PR libgcj/6081:
16025 * Makefile.in: Rebuilt.
16026 * Makefile.am (install-data-local): Use GNU make trick to avoid
16029 2002-04-16 Adam King <aking@dreammechanics.com>
16030 Tom Tromey <tromey@redhat.com>
16032 * java/io/natFileWin32.cc (performList): Return the correct array
16033 type. Don't duplicate the creation of a File since it's already
16034 done earlier in the method and the existing code would cause a
16035 ArrayStoreException. Don't use fixed-size array.
16036 (_access, _stat, attr, getCanonicalPath, performMkdir,
16037 performRenameTo): Don't use fixed-size array.
16038 (getCanonicalPath): Use throw, not _Jv_Throw.
16040 2002-04-15 DJ Delorie <dj@redhat.com>
16042 * configure.in: Allow building in $srcdir.
16043 * configure: Regenerated.
16045 2002-04-14 Mark Wielaard <mark@klomp.org>
16047 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
16048 * java/net/natSocketImpl.cc (close): Likewise.
16050 2002-04-14 Mark Wielaard <mark@klomp.org>
16052 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
16054 2002-04-13 Adam King <aking@dreammechanics.com>
16056 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
16057 the f/F/d/D modifiers.
16059 2002-04-12 Anthony Green <green@redhat.com>
16061 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
16062 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
16063 * Makefile.in: Rebuilt.
16064 * configure.in: Substitute gcc_version.
16065 * configure: Rebuilt.
16067 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16069 * configure.host: Set can_unwind_signal on hosts which support it.
16070 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
16071 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
16072 exceptions and can_unwind_signal isn't set.
16073 * configure: Rebuilt.
16075 2002-04-11 Tom Tromey <tromey@redhat.com>
16077 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
16079 2002-04-11 Adam King <aking@dreammechanics.com>
16080 Tom Tromey <tromey@redhat.com>
16082 * include/jvm.h (_Jv_ThrowBadArrayIndex,
16083 _Jv_ThrowNullPointerException): Mark as noreturn.
16084 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
16085 and _Jv_free. Correctly invoke GetTempPath(). Indentation
16088 2002-04-10 Tom Tromey <tromey@redhat.com>
16090 * Makefile.in: Rebuilt.
16091 * Makefile.am (java/lang/Thread.h): Mark
16092 _Jv_AttachCurrentThreadAsDaemon as friend.
16093 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
16094 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
16095 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
16097 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
16098 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
16099 (_Jv_JNI_InvokeFunctions): Added
16100 _Jv_JNI_AttachCurrentThreadAsDaemon.
16101 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
16102 (JNI_GetDefaultJavaVMInitArgs): Likewise.
16103 (JNI_CreateJavaVM): Likewise.
16104 (_Jv_JNI_AttachCurrentThread): Likewise.
16105 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
16106 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
16107 (_Jv_JNIFunctions): Initialize new fields.
16108 (_Jv_JNI_NewDirectByteBuffer): New function.
16109 (_Jv_JNI_GetDirectBufferAddress): Likewise.
16110 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
16111 * include/jni.h (JNI_VERSION_1_4): New macro.
16112 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
16113 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
16114 (JNINativeInterface::NewDirectByteBuffer): New field.
16115 (JNINativeInterface::GetDirectBufferAddress): New field.
16116 (JNINativeInterface::GetDirectBufferCapacity): New field.
16117 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
16118 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
16119 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
16121 2002-04-09 Tom Tromey <tromey@redhat.com>
16123 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
16125 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
16127 Fix for PR libgcj/6187:
16128 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
16131 2002-04-07 Mark Wielaard <mark@klomp.org>
16133 * java/util/AbstractMap.java (putAll): Use entrySet size.
16134 (toString): Explicitly use getKey() and getValue().
16136 2002-04-07 Mark Wielaard <mark@klomp.org>
16138 * java/util/Hashtable.java (contains): Remove NullPointer check.
16139 (containsValue): Add NullPointer check.
16140 (remove): Always throw NullPointerException when key
16143 2002-04-07 Adam King <aking@dreammechanics.com>
16145 * java/lang/natSystem.cc (init_properties): Call new function
16146 _Jv_platform_initProperties.
16147 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
16148 support for the System properties os.name, os.arch, os.version,
16149 user.name, user.home, and user.dir.
16150 * include/posix.h, include/win32.h, posix.cc: New function
16151 _Jv_platform_initProperties.
16153 2002-04-06 Mark Wielaard <mark@klomp.org>
16155 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
16157 2002-04-06 Mark Wielaard <mark@klomp.org>
16159 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
16160 all of the remaining elements.
16161 * java/util/Vector.java (addAll(int,Collection)): Likewise.
16162 (removeRange): If toIndex == fromIndex do
16163 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16164 (removeAll): Always throw NullPointerException when collection is
16166 (retrainAll): Likewise.
16168 2002-04-05 Mark Wielaard <mark@klomp.org>
16170 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
16171 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16173 2002-04-05 Adam Megacz <adam@xwt.org>
16175 * exception.cc (abort): added static modifier
16177 2002-04-04 Adam Megacz <adam@xwt.org>
16179 * include/win32.h (_Jv_platform_close_on_exec): added inline
16182 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
16184 * configure.host: Add case statement to support generic port
16185 properties. Add *-*-freebsd* section.
16187 2002-04-04 Mark Wielaard <mark@klomp.org>
16189 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
16191 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
16192 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
16193 that depend on awt code and BufferedByteOutputStream.interrupt.
16195 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16197 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
16198 incorrect "hi" value when count > 40.
16200 2002-04-03 Mark Wielaard <mark@klomp.org>
16202 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
16205 2002-04-02 Tom Tromey <tromey@redhat.com>
16207 * java/lang/natClassLoader.cc (findClass): Compare against `3',
16210 2002-04-02 Mark Wielaard <mark@klomp.org>
16212 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
16213 list of testsuite crashers.
16215 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16217 * java/util/IdentityHashMap.java (put): Set new threshold correctly
16218 when resizing table.
16220 2002-04-01 Mark Wielaard <mark@klomp.org>
16222 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
16223 NegativeArraySizeException
16224 (clear(int)): Use sign extended shift.
16225 (flip(int)): Likewise.
16226 (get(int)): Likewise.
16227 (nextClearBit(int)): Likewise.
16228 (nextSetBit(int)): Likewise.
16229 (set(int)): Likewise.
16231 2002-04-01 Mark Wielaard <mark@klomp.org>
16233 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
16234 that can be compiled now and add testsuite crashers to ignore list.
16236 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
16238 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
16240 * libgcj.spec.in: Override libgcc, not lib.
16241 * libgcj-test.spec.in: Likewise.
16243 2002-03-29 Tom Tromey <tromey@redhat.com>
16245 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
16246 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
16248 2002-03-27 Jeff Sturm <jsturm@one-point.com>
16250 * java/net/PlainDatagramSocketImpl.java
16251 (close): Use native implementation.
16252 (finalize): New method.
16254 * java/net/PlainSocketImpl.java (finalize): New method.
16256 * java/net/natPlainDatagramSocketImpl.cc
16257 (java/io/FileDescriptor.h): Don't include.
16258 (close): Implement method here.
16259 (create): Don't assign fd.
16261 * java/net/natPlainSocketImpl.cc
16262 (java/io/FileDescriptor.h): Don't include.
16263 (create): Don't assign fd.
16264 (accept): Likewise.
16265 (close): Synchronize.
16267 2002-03-27 Richard Henderson <rth@redhat.com>
16269 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
16271 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16273 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16274 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
16275 instead of syscall on IA-64.
16278 2002-03-27 Anthony Green <green@redhat.com>
16280 * libgcj.spec.in: Add CHECKREFSPEC.
16281 * configure.in: Ditto.
16282 * configure.host: Ditto. Check references for xscale-elf.
16283 * configure: Rebuilt.
16285 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
16287 * include/dwarf2-signal.h: Temporarily back out last change.
16289 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
16291 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16293 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16295 * configure.in, configure: enable dwarf2-exception-style
16296 exception handling on IA-64.
16297 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16298 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16301 2002-03-25 Tom Tromey <tromey@redhat.com>
16303 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16304 (jv_convert_LDFLAGS): Likewise.
16305 (gij_LDFLAGS): Likewise.
16306 (rmic_LDFLAGS): Likewise.
16307 (rmiregistry_LDFLAGS): Likewise.
16308 * configure.in (THREADLDFLAGS): New subst; set correctly for
16311 2002-03-25 Tom Tromey <tromey@redhat.com>
16313 For PR libgcj/5303:
16314 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16316 (help): New method.
16317 (version): Likewise.
16318 * gnu/gcj/convert/Convert.java (version): Removed extraneous
16320 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16323 2002-03-25 Tom Tromey <tromey@redhat.com>
16325 * java/awt/Component.java (processEvent): Check ComponentEvent
16328 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16330 * java/io/PushbackReader.java: Reformat.
16332 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16333 calculate correct number of bytes skipped.
16335 Based on patch from Intel's ORP team:
16336 * java/io/PushbackInputStream.java (available): Calculate correct
16337 number of bytes in buffer.
16338 (read): Remove redundant bound check. Return bytes from both the
16339 buffer and the stream.
16341 2002-03-24 Tom Tromey <tromey@redhat.com>
16343 * java/awt/TextComponent.java (TextComponent): Editable by
16346 * java/awt/MenuItem.java (eventMask): No longer private.
16347 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16348 superclass if we didn't handle event.
16349 * java/awt/Checkbox.java (dispatchEventImpl): New method.
16350 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16351 * java/awt/Choice.java (dispatchEventImpl): New method.
16352 * java/awt/List.java (dispatchEventImpl): New method.
16353 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16354 * java/awt/TextComponent.java (dispatchEventImpl): New method.
16355 * java/awt/TextField.java (dispatchEventImpl): New method.
16357 2002-03-24 Eric Blake <ebb9@email.byu.edu>
16359 * java/beans/IntrospectionException.java: Update to 1.4.
16360 * java/beans/PropertyVetoException.java: Ditto.
16362 2002-03-24 Eric Blake <ebb9@email.byu.edu>
16364 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16365 Arrays.equals instead of ArrayHelper.equalsArray.
16367 2002-03-24 C. Brian Jones <cbj@gnu.org>
16369 * java/beans/Introspector.java: added new static final fields
16370 introduced in 1.2, lots of other updates remain to be done
16372 2002-03-24 C. Brian Jones <cbj@gnu.org>
16374 * java/beans/Introspector.java: reformatting
16376 2002-03-24 C. Brian Jones <cbj@gnu.org>
16378 * java/beans/Introspector.java: default beanInfoSearchPath will
16379 not include sun.beans.infos given we provide no such package and
16380 the API doesn't really require it; gnu.java.beans.info is the
16383 2002-03-24 Mark Wielaard <mark@klomp.org>
16385 Thanks to Orp developers
16386 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16387 switch TRUE and FALSE return values.
16389 2002-03-23 Tom Tromey <tromey@redhat.com>
16391 * include/name-finder.h (_Jv_name_finder::myclose): New method.
16392 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16394 2002-03-23 Michael Smith <msmith@spinnakernet.com>
16396 * java/util/GregorianCalendar.java (minimums, maximums): Correct
16397 MONTH entry. Fixes PR libgcj/6045.
16399 2002-03-23 Jeff Sturm <jsturm@one-point.com>
16401 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16403 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16405 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16407 * sysdep/powerpc/locks.h (write_barrier): New function.
16408 * sysdep/i386/locks.h (write_barrier): New function.
16410 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
16412 * include/jni.h Use correct C comments.
16414 2002-03-18 Tom Tromey <tromey@redhat.com>
16416 * include/jni.h (JNIIMPORT): New macro.
16417 (JNIEXPORT): Likewise.
16418 (JNICALL): Likewise.
16420 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16422 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16425 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
16427 * include/i386-signal.h (old_i386_kernel_sigaction): New.
16428 INIT_SEGV: Use old_i386_kernel_sigaction.
16431 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16433 * java/lang/natSystem.cc (init_properties): Update VM version
16435 * configure.in: Set GCJVERSION.
16436 * acconfig.h: Add GCJVERSION.
16437 * configure: Rebuilt.
16438 * include/config.h.in: Rebuilt.
16440 2002-03-17 Anthony Green <green@redhat.com>
16442 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16444 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16446 Build a single libgcj.so, without separate gc and zlib libraries.
16447 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16448 SYS_ZLIBS if system zlib is used.
16449 * configure: Rebuilt.
16450 * Makefile.am: Use boehm-gc and zlib convenience libraries.
16451 * Makefile.in: Rebuilt.
16452 * libtool-version: Increment .so version number.
16454 * Makefile.am: Escape quotes in echo.
16455 * Makefile.in: Rebuilt.
16457 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16459 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16460 * Makefile.in: Rebuilt.
16462 2002-03-15 Anthony Green <green@redhat.com>
16464 * configure.host (FILE): New macro for specifing File
16466 * configure: Rebuilt.
16467 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
16469 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
16471 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16472 already implicitly brought in from libgcj.la.
16473 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16474 * Makefile.in: Rebuilt.
16476 2002-03-15 Eric Blake <ebb9@email.byu.edu>
16478 * THANKS: Fix punctuation, alphabetization.
16480 2002-03-15 Tom Tromey <tromey@redhat.com>
16481 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16483 Fix for PR libgcj/5944.
16484 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16486 2002-03-15 Anthony Green <green@redhat.com>
16488 * configure.in (tool_include_dir): Define.
16489 * configure: Rebuilt.
16490 * gcj/Makefile.am: Install libgcj-config.h relative to
16492 * gcj/Makefile: Rebuilt.
16493 * gcj/libgcj-config.h: Add warning comment.
16495 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
16497 * configure.host (powerpc*-darwin*): Enable interpreter.
16499 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16501 * include/posix.h: Add multiple include header protection.
16502 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16504 2002-03-10 Adam Megacz <adam@xwt.org>
16506 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16508 2002-03-10 Tom Tromey <tromey@redhat.com>
16510 * java/awt/GridLayout.java (layoutContainer): Handle case where
16511 there are no items in container.
16513 * java/lang/Win32Process.java: Added comment.
16514 * include/posix.h (_Jv_platform_close_on_exec): New function.
16516 * include/win32.h (_Jv_platform_close_on_exec): New function.
16517 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16519 (accept): Likewise.
16520 * java/net/natPlainDatagramSocketImpl.cc (create): Set
16521 close-on-exec flag.
16522 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16525 2002-03-09 Tom Tromey <tromey@redhat.com>
16527 * verify.cc (state::NO_STACK): New constant.
16528 (state::is_unmerged_ret_state): Handle case where stacktop is
16530 (state::merge): Handle NO_STACK merges.
16531 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16532 for instruction following jsr.
16533 (stacktop, stackdepth): Removed unused variables.
16534 (pop_jump): Ignore case where all remaining states are skipped.
16536 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16538 * java/awt/ImageMediaEntry: Removed.
16539 * java/awt/MediaEntry: Removed.
16541 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16543 Hashtable synchronization for PowerPC.
16544 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16545 slow_pthread_self. Set up symlink for sysdeps directory.
16546 * configure: Rebuild.
16547 * configure.host: Document more shell variables. Set sysdeps_dir
16548 for most platforms. Set slow_pthread_self for i686. Set
16549 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16550 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16551 that memory barrier is emitted where required.
16552 * prims.cc: 64-bit align static primitive class instances.
16553 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16554 read_barrier() to enforce ordering of reads.
16555 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16556 primitives for PowerPC.
16557 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16558 moved from natObject.cc.
16559 * sysdep/alpha/locks.h: Likewise.
16560 * sysdep/ia64/locks.h: Likewise.
16561 * sysdep/generic/locks.h: Likewise.
16562 * java/lang/natObject.cc: Move thread synchronization primitives to
16563 system-dependent headers.
16565 2002-03-09 Adam Megacz <adam@xwt.org>
16567 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16568 bytes read and no failure code returned.
16570 2002-03-09 Adam Megacz <adam@xwt.org>
16572 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16573 definitions to simulate -mthreads.
16575 2002-03-09 Adam Megacz <adam@xwt.org>
16577 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16578 avoid precision loss.
16580 2002-03-09 Per Bothner <per@bothner.com>
16582 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
16583 * gnu/gcj/xlib/XImage.java: Likewise.
16584 * gnu/gcj/xlib/XColor.java: Likewise.
16586 2002-03-09 Adam Megacz <adam@xwt.org>
16588 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16589 IOException so that Throwable.printStackTrace fails correctly.
16591 2002-03-08 Adam Megacz <adam@xwt.org>
16593 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16596 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16598 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16601 2002-03-08 Tom Tromey <tromey@redhat.com>
16603 * include/jni.h: Include stdio.h.
16605 2002-03-08 Tom Tromey <tromey@redhat.com>
16607 * posix.cc (internal_gettimeofday): New function.
16608 (_Jv_select): Use it.
16610 2002-03-07 Adam Megacz <adam@xwt.org>
16612 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16613 WIN32, and added thunks for read(), write(), and close().
16614 * java/net/natPlainSocketImpl.cc (accept, read, read):
16615 Disabled timeouts on WIN32 pending discussion.
16617 2002-03-07 Adam Megacz <adam@xwt.org>
16619 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16620 returns jlong. Added implementation
16621 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16623 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16625 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16627 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16628 _Jv_platform_gettimeofday signature.
16630 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16632 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16633 (read): Call recv() directly, not _Jv_recv().
16635 2002-03-06 Tom Tromey <tromey@redhat.com>
16637 * java/io/natFileDescriptorEcos.cc (init): Don't use
16639 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16641 (init): Don't use GetStdHandle.
16643 * include/config.h.in: Rebuilt.
16644 * configure: Rebuilt.
16645 * Makefile.in: Rebuilt.
16647 2002-03-06 Adam Megacz <adam@xwt.org>
16649 * java/io/FileDescriptor.java: Initialize in/out/err in init().
16650 * java/io/natFileDescriptorWin32.cc (init()): Added function.
16651 * java/io/natFileDescriptorPosix.cc (init()): Added function.
16652 * java/io/natFileDescriptorEcos.cc (init()): Added function.
16654 2002-03-06 Eric Blake <ebb9@email.byu.edu>
16656 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16657 the code for generating include/java-chartables.h.
16658 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16659 merge with Classpath.
16660 * scripts/unicode-muncher.pl: Copy from Classpath.
16661 * scritps/MakeCharTables.java: New file.
16662 * gnu/gcj/convert/Blocks-3.txt: New file.
16663 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16664 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16665 * gnu/java/lang/CharData.java: Copy from Classpath.
16666 * Makefile.am (ordinary_java_source_files): Add
16667 gnu/java/lang/CharData.java.
16668 * configure.in: Remove --enable-fast-character option.
16669 * java/lang/Character.java: Merge algorithms and Javadoc with
16671 * java/lang/natCharacter.cc: Implement Unicode lookup table more
16673 * include/java-chardecomp.h: Regenerate.
16674 * include/java-chartables.h: Regenerate.
16676 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16678 * java/awt/MediaTracker.java: Implemented.
16679 * Makefile.am: Add MediaTracker.
16680 * Makefile.in: Rebuilt.
16682 2002-03-05 Tom Tromey <tromey@redhat.com>
16684 * java/lang/natPosixProcess.cc (fail): Removed.
16685 (startProcess): Simplified error-handling. Preserve
16686 LD_LIBRARY_PATH across exec.
16688 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16689 AbstractMethodError.
16691 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16693 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16694 * Makefile.in: Rebuilt.
16696 2002-03-03 Mark Wielaard <mark@klomp.org>
16698 * java/util/Timer (TaskQueue.stop): set elements to zero.
16700 2002-02-28 Anthony Green <green@redhat.com>
16702 * java/lang/reflect/natMethod.cc (result): Add void* element.
16703 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
16706 2002-02-27 Adam Megacz <adam@xwt.org>
16708 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16711 2002-02-26 Tom Tromey <tromey@redhat.com>
16713 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16714 * gij.cc (version): Use __VERSION__.
16715 * include/config.h.in: Rebuilt.
16716 * acconfig.h (GCJVERSION): Removed.
16717 * configure: Rebuilt.
16718 * configure.in (GCJVERSION): Removed.
16720 2002-02-26 Andreas Schwab <schwab@suse.de>
16722 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16723 glibcpp_CXX, since libjava uses even another CXX.
16724 * aclocal.m4, configure: Regenerated.
16726 2002-02-26 Tom Tromey <tromey@redhat.com>
16728 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16731 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16733 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16734 dependency tracking for .java files.
16735 * Makefile.in: Rebuilt.
16737 2002-02-24 Adam Megacz <adam@xwt.org>
16739 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16742 2002-02-24 Adam Megacz <adam@xwt.org>
16744 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16745 for Win32, changed #ifdefs to check WIN32 instead of the
16746 (now-obsolete) USE_WINSOCK, and removed support for socket
16747 timeouts on Win32 pending further discussion.
16749 2002-02-24 Adam Megacz <adam@xwt.org>
16751 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16752 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16755 2002-02-24 Adam Megacz <adam@xwt.org>
16757 * java/lang/Win32Process.java: Created a dummy class to allow
16758 build process to run to completion.
16760 2002-02-24 Jeff Sturm <jsturm@one-point.com>
16762 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16763 Define ffi_result union for ffi_call result. Cast
16764 ffi_result members to jvalue.
16766 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
16768 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16769 * testsuite/Makefile.in: Likewise.
16771 2002-02-20 Per Bothner <per@bothner.com>
16773 * java/net/URL.java (getPath): New JDK 1.3 method.
16775 * java/net/URLStreamHandler.java (parseURL):
16776 It is wrong to prepend '/' to the file part of a relative url.
16778 * java/net/URLStreamHandler.java (parseURL):
16779 Minor optizations - append '/' rather than "/".
16781 * java/net/URLStreamHandler.java (parseURL):
16782 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16783 We probably should canonicalize for a context-relative url, though.
16784 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
16785 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
16786 (sameFile): New method. Uses canonicalizeFilename.
16788 2002-02-22 Tom Tromey <tromey@redhat.com>
16790 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16791 java.vendor and java.vm.vendor.
16792 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16793 recent copyright date.
16794 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16795 * gij.cc (version): Print `Inc'.
16797 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
16799 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16800 * aclocal.m4, configure: Rebuilt.
16802 2002-02-20 Per Bothner <per@bothner.com>
16804 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
16805 and/or output streams immediately here, instead of using File.exists.
16806 (inputStream, outputStream): New fields to save open streams.
16807 (getInputStream, getOutputStream): Use already-opened streams.
16809 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
16811 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16813 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16814 * aclocal.m4, configure, Makefile.in: Rebuilt.
16816 2002-02-19 Tom Tromey <tromey@redhat.com>
16818 Fix for PR libgcj/5696:
16819 * verify.cc (is_assignable_from_slow): Never call
16820 _Jv_IsAssignableFrom.
16821 (verify_instructions_0): Added new debug statement.
16822 (state::print): Print information about whether local has
16824 (state::merge): Don't call note_variable when merging locals.
16825 (state::set_exception): Removed old FIXME comment.
16827 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16829 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16830 enable SO_BROADCAST.
16832 2002-02-18 Jason Merrill <jason@redhat.com>
16834 * name-finder.cc (toHex): Use word mode, not long long.
16836 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16838 2002-02-15 Tom Tromey <tromey@redhat.com>
16840 Fix for PR libgcj/5695:
16841 * verify.cc (is_assignable_from_slow): Check to see if target is
16842 an Object before checking to see if source is an interface.
16843 (verify_instructions_0) [op_invokeinterface]: Handle case where
16844 we're making an interface call on Object.
16846 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16848 * Makefile.in: Rebuilt with Eric's change below.
16850 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16851 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16852 Removed functions which are now implemented in Math.java.
16854 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16856 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16857 * Makefile.am (core_java_source_files): Add
16858 java/lang/StrictMath.java.
16859 * java/lang/Math.java: Merge with Classpath.
16860 * java/lang/StrictMath.java: New file - merge with Classpath.
16862 2002-02-14 Mark Wielaard <mark@klomp.org>
16864 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16865 package as a workaround for gcj 3.0.x
16867 2002-02-14 Mark Wielaard <mark@klomp.org>
16869 * java/security/BasicPermission.java: extends with fully qualified
16870 classname as workaround for gcj 3.0.4.
16872 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16874 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16875 around gcj bug of wrong emitted qualifier for inherited method.
16876 * java/net/SocketImpl.java (setOption, getOption): Ditto.
16877 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16878 constructor to reduce amount of emitted bytecode. While this
16879 happens to work around a jikes 1.15 bug, it is still a useful
16880 patch even for correct compilers.
16881 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16882 * gnu/java/rmi/server/UnicastRemoteCall.java
16883 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16885 2002-02-14 Eric Blake <ebb9@email.byu.edu>
16887 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16888 * java/net/SocketImpl.java: Ditto.
16889 * java/rmi/server/RMIClassLoader.java: Ditto.
16890 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16892 2002-02-14 Mark Wielaard <mark@klomp.org>
16894 Thanks to Takashi Okamoto
16895 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16896 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16897 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16899 2002-02-13 Todd Stock <toddastock@yahoo.com>
16901 Fix for PR libgcj/5670:
16902 * verify.cc (is_assignable_from_slow): If `source' is interface,
16903 recursively look for merge with `target'.
16905 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
16907 * include/jni.h: Fix typo.
16909 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
16911 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16914 2002-02-13 Todd Stock <toddastock@yahoo.com>
16916 Fix for PR libgcj/5671:
16917 * verify.cc (state::merge): Handle case where we're merging
16918 against an interface.
16920 2002-02-12 Tom Tromey <tromey@redhat.com>
16922 * exception.cc (std::abort): Mark as noreturn.
16924 2002-02-12 Adam Megacz <adam@xwt.org>
16926 * java/lang/Win32Process.java: Filled in a placeholder
16927 implementation so Win32 will build.
16929 2002-02-12 Adam Megacz <adam@xwt.org>
16931 * java/io/natFilePosix.cc: Copied this from natFile.cc.
16932 * java/io/natFile.cc: Removed from repository.
16933 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16935 2002-02-12 Adam Megacz <adam@xwt.org>
16937 * win32.cc: Added two #includes to make win32.cc compile.
16939 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16941 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16943 (_Jv_InitGC): Don't bother locking, as this is always called from a
16944 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16946 2002-02-11 Adam Megacz <adam@xwt.org>
16948 * include/win32.h: Added _Jv_platform_gettimeofday.
16949 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16951 2002-02-11 Adam Megacz <adam@xwt.org>
16953 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16954 Added #undef STRICT to make windows.h and
16955 java/lang/reflect/Modifier.h cooperate.
16957 2002-02-11 Adam Megacz <adam@xwt.org>
16959 * java/io/natFileWin32.cc: Created a placeholder class with lots
16962 2002-02-11 Adam Megacz <adam@xwt.org>
16964 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16965 std::abort() to simply abort(). Also added "fake" std::abort() so
16966 we can #include unwind-pe.h without having to link against
16969 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
16971 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16973 2002-02-08 Tom Tromey <tromey@redhat.com>
16975 * interpret.cc (convert): New function.
16976 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16980 2002-02-08 Anthony Green <green@redhat.com>
16982 * configure.host: Add support for xscale-elf embedded target.
16984 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
16986 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16988 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16991 2002-02-07 Tom Tromey <tromey@redhat.com>
16993 * java/io/natFile.cc (_access): Use __builtin_alloca.
16996 (getCanonicalPath): Likewise.
16997 (performList): Likewise.
16998 (performMkdir): Likewise.
16999 (performSetReadOnly): Likewise.
17000 (performRenameTo): Likewise.
17001 (performSetLastModified): Likewise.
17002 (performCreate): Likewise.
17003 (performDelete): Likewise.
17005 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17007 * HACKING: Fix URL for the automake-gcj.
17009 2002-02-07 Tom Tromey <tromey@redhat.com>
17011 * java/lang/natThrowable.cc: Updated copyright.
17012 * java/io/natFileWin32.cc: Updated copyright.
17013 * java/io/natFileDescriptorWin32.cc: Updated copyright.
17014 * win32-threads.cc: Updated copyright.
17015 * name-finder.cc: Updated copyright.
17016 * include/name-finder.h: Updated copyright.
17018 * include/name-finder.h: Conditionally include sys/wait.h.
17019 * include/config.h.in: Rebuilt.
17021 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
17022 Size buffer based on real size of string.
17025 (getCanonicalPath): Likewise.
17026 (performList): Likewise.
17027 (performMkdir): Likewise.
17028 (performSetReadOnly): Likewise.
17029 (unixroot): Removed.
17030 (performRenameTo): Likewise.
17031 (performSetLastModified): Likewise.
17032 (performCreate): Likewise.
17033 (performDelete): Likewise.
17034 (performListRoots): Always return new array.
17036 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
17037 * win32.cc (win32_exception_handler): Now static.
17038 * include/win32.h (_Jv_platform_initialize): Declare.
17039 (win32_exception_handler): Don't declare.
17040 * java/lang/natSystem.cc (currentTimeMillis): Use
17041 _Jv_platform_gettimeofday.
17042 * posix.cc (_Jv_platform_gettimeofday): Renamed.
17043 (_Jv_select): Use new name.
17044 (_Jv_platform_initialize): New function.
17045 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
17047 (_Jv_platform_initialize): Declare.
17049 * configure: Rebuilt.
17050 * configure.in: Removed unnecessary parens.
17052 2002-02-06 Adam Megacz <adam@xwt.org>
17054 * configure.in: Changed mingw) to *mingw*).
17055 * win32.cc: Created this file.
17056 * win32.h: Created this file.
17057 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
17058 win32_exception_handler from prims.cc to win32.cc, added
17060 * prims.cc: removed some #ifdef-WIN32'd headers which are no
17061 longer needed now that we have platform.h
17063 2002-02-06 Adam Megacz <adam@xwt.org>
17065 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
17066 use uint<n>_t instead of LONG and BYTE
17068 2002-02-06 Adam Megacz <adam@xwt.org>
17070 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
17072 2002-02-06 Anthony Green <green@redhat.com>
17074 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
17075 Implement missing method stubs.
17076 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
17078 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
17079 concept of timezones.
17080 (init_properties): Don't refer to _Jv_Environment_Properties
17081 when this feature is not available.
17082 * include/config.h.in: Rebuilt.
17083 * acconfig.h: Add DISABLE_MAIN_ARGS.
17084 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
17085 * configure: Rebuilt.
17086 * configure.in: Add --disable-main-args option. Test for
17087 opendir function. Replace AC_CHECK_SIZEOF with
17088 AC_COMPILE_CHECK_SIZEOF.
17089 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
17090 * aclocal.m4: Rebuilt.
17091 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
17093 2002-02-06 Tom Tromey <tromey@redhat.com>
17095 * verify.cc (require_array_type): If argument is a null array of
17096 references, return null as the element type.
17098 2002-02-06 Mark Wielaard <mark@klomp.org>
17100 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
17101 duplicate of a wide type.
17103 2002-02-06 Tom Tromey <tromey@redhat.com>
17105 * verify.cc (type::isnull): New method.
17106 (require_array_type): Handle case where array is null.
17107 (verify_instructions_0) [op_arraylength]: Likewise.
17109 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17111 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
17112 Symlink PLATFORMH to platform.h.
17113 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
17115 * java/lang/natSystem.cc: #include platform.h not posix.h.
17116 * Makefile.in: Rebuilt with libgcj automake.
17117 * configure: Rebuilt.
17119 2002-02-05 Richard Henderson <rth@redhat.com>
17121 * Makefile.in: Undo munging last change.
17123 2002-02-04 Adam Megacz <adam@xwt.org>
17125 * win32.cc: Created it.
17126 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
17127 which is set to posix.cc or win32.cc.
17128 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
17130 2002-02-04 Adam Megacz <adam@xwt.org>
17132 * configure.in: Corrected mingw case branches; added * before
17135 2002-02-04 Adam Megacz <adam@xwt.org>
17137 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
17138 if compiling for win32
17140 2002-02-04 Adam Megacz <adam@xwt.org>
17142 * win32-threads.cc: #undef STRICT after gc.h inclusion
17144 2002-02-02 Tom Tromey <tromey@redhat.com>
17146 * Makefile.in: Rebuilt.
17148 2002-02-02 Jason Merrill <jason@redhat.com>
17150 * Makefile.am (clean-nat): New target.
17152 2002-02-02 Tom Tromey <tromey@redhat.com>
17154 * java/io/natFile.cc: Removed old "FIXME" comments.
17156 2002-02-01 Tom Tromey <tromey@redhat.com>
17158 * java/lang/natPosixProcess.cc (myclose): New function.
17160 (startProcess): Likewise.
17162 2002-02-01 Adam Megacz <adam@xwt.org>
17164 * prims.cc: Added #undef STRICT after #include<windows.h>.
17166 2002-02-01 Adam Megacz <adam@xwt.org>
17169 (_Jv_CreateJavaVM): We now use WIN32 instead of
17170 USE_WIN32_SIGNALLING and USE_WINSOCK.
17171 (win32_exception_handler): Now throws an exception out of
17172 the signal handler; assumes SJLJ.
17174 2002-02-01 Adam Megacz <adam@xwt.org>
17176 * win32-threads.cc:
17177 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
17178 wait() algorithm to make it safe.
17179 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
17180 Added lazy creation of Win32 Events for better performance
17181 (really_start): This now uses GC_CreateThread so boehm-gc
17182 knows about new threads even when statically linked.
17184 2002-02-01 Adam Megacz <adam@xwt.org>
17186 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
17187 enable safer wait() algorithm.
17188 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
17189 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
17190 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
17191 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
17193 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
17195 2002-02-01 Adam Megacz <adam@xwt.org>
17197 * configure.in: Added support for mingw.
17198 * java/lang/Win32Process.java: Created as empty file.
17199 * java/lang/natWin32Process.cc: Created as empty file.
17201 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
17204 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
17205 for libiconv in LIBICONV variable.
17206 * configure: Regenerated.
17208 2002-01-31 Tom Tromey <tromey@redhat.com>
17210 * verify.cc (state::enter_subroutine): New method.
17211 (handle_jsr_insn): Use it.
17212 (state::merge): When processing a `ret', correctly use
17213 subroutine's state to determine which local variables have
17215 (push_exception_jump): Don't let stack overflow.
17217 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
17219 * gnu/gcj/convert/Convert.java: Only include one copyright year in
17222 2002-01-30 Tom Tromey <tromey@redhat.com>
17224 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
17225 parameter for `recv' return type.
17227 * verify.cc (handle_ret_insn): Check for subroutine merge here...
17228 (state::merge): ... not here.
17229 (subr_entry_info): New structure.
17230 (entry_points): New field.
17231 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
17234 2002-01-29 Tom Tromey <tromey@redhat.com>
17236 * java/awt/List.java (addNotify): Correctly check to see if peer
17239 * java/awt/GridLayout.java (layoutContainer): Use number of rows
17240 to compute height of each cell, and number of columns to compute
17241 width of each cell.
17242 * java/awt/Window.java (getOwnedWindows): Don't return null.
17243 * java/awt/FlowLayout.java (layoutContainer): Set width and height
17244 of component. Increment x using horizontal gap, not vertical
17247 2002-01-28 Tom Tromey <tromey@redhat.com>
17249 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
17250 `nargs' byte is number of words, not number of arguments.
17252 2002-01-27 Tom Tromey <tromey@redhat.com>
17254 * java/awt/event/MouseEvent.java (modifiers): Removed field.
17256 * java/awt/event/InputEvent.java (modifiers, when): Now
17259 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
17261 (state::merge): Use current class' class loader.
17262 (state::print): Print subroutine.
17263 (state::merge): Don't look at subroutine of unmerged `ret'.
17265 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
17267 * nogc.cc: Remove warnings.
17268 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
17271 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17273 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
17274 int, int): Remove empty "if" statement to work around compiler bug.
17275 (newPixels(int[], ColorModel, int, int): Likewise.
17277 2002-01-25 Per Bothner <per@bothner.com>
17279 * verify.cc (verify_fail): Change from being a top-level function
17280 to e method of _Jv_BytecodeVerifier. Emit current method name.
17281 Pass the current verifier to type: and state: methods as needed,
17282 for better error messages, and for resolve.
17283 (resolve): Pass current class's loader for Class.forName and
17284 _Jv_FindClassFromSignature, rather than using the default loader.
17285 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
17286 (get_type_val_for_signature): Make non-static.
17287 (various methods): Pass start_PC implicitly, not explicitly.
17289 2002-01-25 Tom Tromey <tromey@redhat.com>
17291 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17292 loop termination condition.
17293 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17296 2002-01-24 Tom Tromey <tromey@redhat.com>
17298 * java/awt/Shape.java: Merged with Classpath.
17299 * java/awt/Scrollbar.java: Merged with Classpath.
17301 * java/awt/Container.java (addNotify): Unconditionally call
17302 addNotifyContainerChildren and superclass addNotify.
17304 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17305 getAlpha, not getBlue.
17307 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17309 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17311 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17312 (grabPixels(long)): Wait to be notified that the ImageProducer has
17315 2002-01-24 Per Bothner <per@bothner.com>
17317 * verify.cc (is_assignable_from_slow): If target is an interface,
17318 we must still check the source's superclass before giving up.
17320 2002-01-24 Tom Tromey <tromey@redhat.com>
17322 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17324 2002-01-23 Tom Tromey <tromey@redhat.com>
17326 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17329 * Makefile.in: Rebuilt.
17330 * Makefile.am (awt_java_source_files): Added new files.
17331 * java/awt/Toolkit.java: Merged with Classpath.
17332 * java/awt/PrintGraphics.java: New file from Classpath.
17333 * java/awt/PrintJob.java: New file from Classpath.
17334 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17335 * java/awt/datatransfer/ClipboardOwner.java: New file from
17337 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17338 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17339 * java/awt/datatransfer/MimeTypeParseException.java: New file from
17341 * java/awt/datatransfer/StringSelection.java: New file from
17343 * java/awt/datatransfer/SystemFlavorMap.java: New file from
17345 * java/awt/datatransfer/Transferable.java: New file from
17347 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17350 * Makefile.in: Rebuilt.
17351 * Makefile.am (awt_java_source_files): Added new files.
17352 * java/awt/image/AreaAveragingScaleFilter.java: New file from
17354 * java/awt/image/CropImageFilter.java: New file from Classpath.
17355 * java/awt/image/FilteredImageSource.java: New file from
17357 * java/awt/image/ImageFilter.java: New file from Classpath.
17358 * java/awt/image/MemoryImageSource.java: New file from Classpath.
17359 * java/awt/image/PixelGrabber.java: New file from Classpath.
17360 * java/awt/image/RGBImageFilter.java: New file from Classpath.
17361 * java/awt/image/ReplicateScaleFilter.java: New file from
17363 * java/awt/image/ImageProducer.java: Replaced with Classpath
17365 * java/awt/image/ImageObserver.java: Replaced with Classpath
17367 * java/awt/image/ImageConsumer.java: Replaced with Classpath
17369 * java/awt/GridBagConstraints.java (clone): Catch
17370 CloneNotSupportedException.
17372 2002-01-23 Per Bothner <per@bothner.com>
17374 * java/lang/reflect/natField.cc (setAddr): New function.
17375 Calls getAddr and then checks that the field isn't final.
17376 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17377 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
17378 (set): Call setAddr before check that new value has right type,
17379 to better match specified semantics.
17381 2002-01-22 Tom Tromey <tromey@redhat.com>
17383 * java/awt/TextField.java: Replaced with Classpath version.
17384 * java/awt/TextArea.java: Replaced with Classpath version.
17385 * java/awt/TextComponent.java: Replaced with Classpath version.
17387 * java/awt/GridBagConstraints.java: Updated copyright.
17389 2002-01-22 Mark Wielaard <mark@klomp.org>
17391 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17392 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17393 java/awt/Dialog.java java/awt/FileDialog.java
17394 java/awt/Font.java java/awt/FontMetrics.java
17395 java/awt/Image.java java/awt/ImageMediaEntry.java
17396 java/awt/Insets.java java/awt/List.java
17397 java/awt/MediaEntry.java java/awt/MediaTracker.java
17398 java/awt/Menu.java java/awt/MenuBar.java
17399 java/awt/MenuContainer.java java/awt/MenuShortcut.java
17400 java/awt/PaintContext.java java/awt/Panel.java
17401 java/awt/PopupMenu.java java/awt/SystemColor.java
17402 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17403 java/awt/peer/CheckboxMenuItemPeer.java
17404 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17405 java/awt/peer/ComponentPeer.java
17406 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17407 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17408 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17409 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17410 java/awt/peer/MenuBarPeer.java
17411 java/awt/peer/MenuComponentPeer.java
17412 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17413 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17414 java/awt/peer/ScrollPanePeer.java
17415 java/awt/peer/ScrollbarPeer.java
17416 java/awt/peer/TextAreaPeer.java
17417 java/awt/peer/TextComponentPeer.java
17418 java/awt/peer/TextFieldPeer.java
17419 java/awt/peer/WindowPeer.java: Add license clarification.
17421 2002-01-22 Mark Wielaard <mark@klomp.org>
17423 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17424 gnu/gcj/runtime/StringBuffer.java
17425 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17426 gnu/java/awt/ComponentDataBlitOp.java
17427 gnu/java/awt/GLightweightPeer.java
17428 gnu/java/beans/BeanInfoEmbryo.java
17429 gnu/java/beans/EmptyBeanInfo.java
17430 gnu/java/beans/ExplicitBeanInfo.java
17431 gnu/java/beans/IntrospectionIncubator.java
17432 gnu/java/beans/editors/ColorEditor.java
17433 gnu/java/beans/editors/FontEditor.java
17434 gnu/java/beans/editors/NativeBooleanEditor.java
17435 gnu/java/beans/editors/NativeByteEditor.java
17436 gnu/java/beans/editors/NativeDoubleEditor.java
17437 gnu/java/beans/editors/NativeFloatEditor.java
17438 gnu/java/beans/editors/NativeIntEditor.java
17439 gnu/java/beans/editors/NativeLongEditor.java
17440 gnu/java/beans/editors/NativeShortEditor.java
17441 gnu/java/beans/editors/StringEditor.java
17442 gnu/java/beans/info/ComponentBeanInfo.java
17443 gnu/java/io/ClassLoaderObjectInputStream.java
17444 gnu/java/io/NullOutputStream.java
17445 gnu/java/io/ObjectIdentityWrapper.java
17446 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17447 gnu/java/lang/reflect/TypeSignature.java
17448 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17449 gnu/java/locale/Calendar_en.java
17450 gnu/java/locale/Calendar_nl.java
17451 gnu/java/locale/LocaleInformation.java
17452 gnu/java/locale/LocaleInformation_de.java
17453 gnu/java/locale/LocaleInformation_en.java
17454 gnu/java/locale/LocaleInformation_nl.java
17455 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17456 gnu/java/rmi/registry/RegistryImpl.java
17457 gnu/java/rmi/rmic/Compile_gcj.java
17458 gnu/java/rmi/rmic/Compiler.java
17459 gnu/java/rmi/rmic/CompilerProcess.java
17460 gnu/java/rmi/rmic/RMIC.java
17461 gnu/java/rmi/rmic/TabbedWriter.java
17462 gnu/java/rmi/server/ProtocolConstants.java
17463 gnu/java/rmi/server/RMIDefaultSocketFactory.java
17464 gnu/java/rmi/server/RMIHashes.java
17465 gnu/java/rmi/server/RMIObjectInputStream.java
17466 gnu/java/rmi/server/RMIObjectOutputStream.java
17467 gnu/java/rmi/server/UnicastConnection.java
17468 gnu/java/rmi/server/UnicastConnectionManager.java
17469 gnu/java/rmi/server/UnicastRef.java
17470 gnu/java/rmi/server/UnicastRemoteCall.java
17471 gnu/java/rmi/server/UnicastRemoteStub.java
17472 gnu/java/rmi/server/UnicastServer.java
17473 gnu/java/rmi/server/UnicastServerRef.java
17474 gnu/java/security/provider/DefaultPolicy.java
17475 gnu/java/security/provider/Gnu.java
17476 gnu/java/security/provider/SHA.java
17477 gnu/java/security/provider/SHA1PRNG.java
17478 gnu/java/text/BaseBreakIterator.java
17479 gnu/java/text/CharacterBreakIterator.java
17480 gnu/java/text/LineBreakIterator.java
17481 gnu/java/text/SentenceBreakIterator.java
17482 gnu/java/text/WordBreakIterator.java
17483 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17484 java/applet/AppletContext.java java/applet/AppletStub.java
17485 java/applet/AudioClip.java java/awt/AWTError.java
17486 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17487 java/awt/AWTException.java java/awt/AWTPermission.java
17488 java/awt/ActiveEvent.java java/awt/BorderLayout.java
17489 java/awt/Button.java java/awt/Canvas.java
17490 java/awt/CardLayout.java java/awt/Checkbox.java
17491 java/awt/CheckboxGroup.java java/awt/Component.java
17492 java/awt/ComponentOrientation.java java/awt/Container.java
17493 java/awt/Dimension.java java/awt/Event.java
17494 java/awt/EventDispatchThread.java java/awt/EventQueue.java
17495 java/awt/FlowLayout.java java/awt/Frame.java
17496 java/awt/Graphics.java java/awt/Graphics2D.java
17497 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17498 java/awt/IllegalComponentStateException.java
17499 java/awt/ItemSelectable.java java/awt/Label.java
17500 java/awt/LayoutManager.java java/awt/LayoutManager2.java
17501 java/awt/MenuComponent.java java/awt/MenuItem.java
17502 java/awt/Paint.java java/awt/Point.java
17503 java/awt/Rectangle.java java/awt/RenderingHints.java
17504 java/awt/Transparency.java java/awt/Window.java
17505 java/awt/color/ColorSpace.java
17506 java/awt/color/ICC_ColorSpace.java
17507 java/awt/color/ICC_Profile.java
17508 java/awt/event/HierarchyBoundsAdapter.java
17509 java/awt/event/HierarchyBoundsListener.java
17510 java/awt/event/HierarchyEvent.java
17511 java/awt/event/HierarchyListener.java
17512 java/awt/geom/AffineTransform.java
17513 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17514 java/awt/geom/IllegalPathStateException.java
17515 java/awt/geom/Line2D.java
17516 java/awt/geom/NoninvertibleTransformException.java
17517 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17518 java/awt/geom/Rectangle2D.java
17519 java/awt/geom/RectangularShape.java
17520 java/awt/geom/RoundRectangle2D.java
17521 java/awt/image/BufferedImage.java
17522 java/awt/image/ColorModel.java
17523 java/awt/image/ComponentColorModel.java
17524 java/awt/image/ComponentSampleModel.java
17525 java/awt/image/DataBuffer.java
17526 java/awt/image/DataBufferByte.java
17527 java/awt/image/DataBufferInt.java
17528 java/awt/image/DataBufferUShort.java
17529 java/awt/image/DirectColorModel.java
17530 java/awt/image/PackedColorModel.java
17531 java/awt/image/Raster.java java/awt/image/RasterOp.java
17532 java/awt/image/SampleModel.java
17533 java/awt/image/SinglePixelPackedSampleModel.java
17534 java/awt/image/WritableRaster.java
17535 java/beans/AppletInitializer.java
17536 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17537 java/beans/Beans.java java/beans/Customizer.java
17538 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17539 java/beans/FeatureDescriptor.java
17540 java/beans/IndexedPropertyDescriptor.java
17541 java/beans/IntrospectionException.java
17542 java/beans/Introspector.java java/beans/MethodDescriptor.java
17543 java/beans/ParameterDescriptor.java
17544 java/beans/PropertyChangeEvent.java
17545 java/beans/PropertyChangeListener.java
17546 java/beans/PropertyChangeSupport.java
17547 java/beans/PropertyDescriptor.java
17548 java/beans/PropertyEditor.java
17549 java/beans/PropertyEditorManager.java
17550 java/beans/PropertyEditorSupport.java
17551 java/beans/PropertyVetoException.java
17552 java/beans/SimpleBeanInfo.java
17553 java/beans/VetoableChangeListener.java
17554 java/beans/VetoableChangeSupport.java
17555 java/beans/Visibility.java
17556 java/beans/beancontext/BeanContext.java
17557 java/beans/beancontext/BeanContextChild.java
17558 java/beans/beancontext/BeanContextChildComponentProxy.java
17559 java/beans/beancontext/BeanContextChildSupport.java
17560 java/beans/beancontext/BeanContextContainerProxy.java
17561 java/beans/beancontext/BeanContextEvent.java
17562 java/beans/beancontext/BeanContextMembershipEvent.java
17563 java/beans/beancontext/BeanContextMembershipListener.java
17564 java/beans/beancontext/BeanContextProxy.java
17565 java/beans/beancontext/BeanContextServiceAvailableEvent.java
17566 java/beans/beancontext/BeanContextServiceProvider.java
17567 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17568 java/beans/beancontext/BeanContextServiceRevokedEvent.java
17569 java/beans/beancontext/BeanContextServiceRevokedListener.java
17570 java/beans/beancontext/BeanContextServices.java
17571 java/beans/beancontext/BeanContextServicesListener.java
17572 java/io/BufferedInputStream.java
17573 java/io/BufferedOutputStream.java java/io/BufferedReader.java
17574 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17575 java/io/ByteArrayOutputStream.java
17576 java/io/CharArrayReader.java java/io/CharArrayWriter.java
17577 java/io/CharConversionException.java java/io/DataInput.java
17578 java/io/DataInputStream.java java/io/DataOutput.java
17579 java/io/EOFException.java java/io/Externalizable.java
17580 java/io/FileFilter.java java/io/FileNotFoundException.java
17581 java/io/FilePermission.java java/io/FileReader.java
17582 java/io/FileWriter.java java/io/FilenameFilter.java
17583 java/io/FilterInputStream.java java/io/FilterOutputStream.java
17584 java/io/FilterReader.java java/io/FilterWriter.java
17585 java/io/IOException.java java/io/InputStream.java
17586 java/io/InterruptedIOException.java
17587 java/io/InvalidClassException.java
17588 java/io/InvalidObjectException.java
17589 java/io/NotActiveException.java
17590 java/io/NotSerializableException.java java/io/ObjectInput.java
17591 java/io/ObjectInputStream.java
17592 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17593 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17594 java/io/ObjectStreamConstants.java
17595 java/io/ObjectStreamException.java
17596 java/io/ObjectStreamField.java
17597 java/io/OptionalDataException.java java/io/OutputStream.java
17598 java/io/PipedInputStream.java java/io/PipedOutputStream.java
17599 java/io/PipedReader.java java/io/PipedWriter.java
17600 java/io/PrintWriter.java java/io/PushbackInputStream.java
17601 java/io/PushbackReader.java java/io/Reader.java
17602 java/io/SequenceInputStream.java java/io/Serializable.java
17603 java/io/SerializablePermission.java
17604 java/io/StreamCorruptedException.java
17605 java/io/StreamTokenizer.java
17606 java/io/StringBufferInputStream.java java/io/StringReader.java
17607 java/io/StringWriter.java java/io/SyncFailedException.java
17608 java/io/UTFDataFormatException.java
17609 java/io/UnsupportedEncodingException.java
17610 java/io/WriteAbortedException.java java/io/Writer.java
17611 java/lang/AbstractMethodError.java
17612 java/lang/ArithmeticException.java
17613 java/lang/ArrayIndexOutOfBoundsException.java
17614 java/lang/ArrayStoreException.java java/lang/Boolean.java
17615 java/lang/Byte.java java/lang/CharSequence.java
17616 java/lang/ClassCastException.java
17617 java/lang/ClassCircularityError.java
17618 java/lang/ClassFormatError.java
17619 java/lang/ClassNotFoundException.java
17620 java/lang/CloneNotSupportedException.java
17621 java/lang/Cloneable.java java/lang/Comparable.java
17622 java/lang/Compiler.java java/lang/Double.java
17623 java/lang/Error.java java/lang/Exception.java
17624 java/lang/ExceptionInInitializerError.java
17625 java/lang/Float.java java/lang/IllegalAccessError.java
17626 java/lang/IllegalAccessException.java
17627 java/lang/IllegalArgumentException.java
17628 java/lang/IllegalMonitorStateException.java
17629 java/lang/IllegalStateException.java
17630 java/lang/IllegalThreadStateException.java
17631 java/lang/IncompatibleClassChangeError.java
17632 java/lang/IndexOutOfBoundsException.java
17633 java/lang/InheritableThreadLocal.java
17634 java/lang/InstantiationError.java
17635 java/lang/InstantiationException.java java/lang/Integer.java
17636 java/lang/InternalError.java
17637 java/lang/InterruptedException.java
17638 java/lang/LinkageError.java java/lang/Long.java
17639 java/lang/NegativeArraySizeException.java
17640 java/lang/NoClassDefFoundError.java
17641 java/lang/NoSuchFieldError.java
17642 java/lang/NoSuchFieldException.java
17643 java/lang/NoSuchMethodError.java
17644 java/lang/NoSuchMethodException.java
17645 java/lang/NullPointerException.java java/lang/Number.java
17646 java/lang/NumberFormatException.java
17647 java/lang/OutOfMemoryError.java java/lang/Package.java
17648 java/lang/Process.java java/lang/Runnable.java
17649 java/lang/RuntimeException.java
17650 java/lang/RuntimePermission.java
17651 java/lang/SecurityException.java
17652 java/lang/SecurityManager.java java/lang/Short.java
17653 java/lang/StackOverflowError.java java/lang/StringBuffer.java
17654 java/lang/StringIndexOutOfBoundsException.java
17655 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17656 java/lang/ThreadLocal.java java/lang/UnknownError.java
17657 java/lang/UnsatisfiedLinkError.java
17658 java/lang/UnsupportedClassVersionError.java
17659 java/lang/UnsupportedOperationException.java
17660 java/lang/VerifyError.java java/lang/VirtualMachineError.java
17661 java/lang/Void.java java/lang/ref/PhantomReference.java
17662 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17663 java/lang/ref/SoftReference.java
17664 java/lang/ref/WeakReference.java
17665 java/lang/reflect/AccessibleObject.java
17666 java/lang/reflect/InvocationTargetException.java
17667 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17668 java/lang/reflect/ReflectPermission.java
17669 java/math/BigDecimal.java java/math/BigInteger.java
17670 java/net/Authenticator.java java/net/BindException.java
17671 java/net/ConnectException.java java/net/ContentHandler.java
17672 java/net/ContentHandlerFactory.java
17673 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17674 java/net/FileNameMap.java java/net/MalformedURLException.java
17675 java/net/MulticastSocket.java java/net/NetPermission.java
17676 java/net/NoRouteToHostException.java
17677 java/net/PasswordAuthentication.java
17678 java/net/ProtocolException.java java/net/ServerSocket.java
17679 java/net/Socket.java java/net/SocketException.java
17680 java/net/SocketImpl.java java/net/SocketImplFactory.java
17681 java/net/SocketOptions.java java/net/SocketPermission.java
17682 java/net/URLDecoder.java java/net/URLEncoder.java
17683 java/net/URLStreamHandlerFactory.java
17684 java/net/UnknownHostException.java
17685 java/net/UnknownServiceException.java
17686 java/rmi/AccessException.java
17687 java/rmi/AlreadyBoundException.java
17688 java/rmi/ConnectException.java
17689 java/rmi/ConnectIOException.java
17690 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17691 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17692 java/rmi/NotBoundException.java
17693 java/rmi/RMISecurityException.java
17694 java/rmi/RMISecurityManager.java java/rmi/Remote.java
17695 java/rmi/RemoteException.java java/rmi/ServerError.java
17696 java/rmi/ServerException.java
17697 java/rmi/ServerRuntimeException.java
17698 java/rmi/StubNotFoundException.java
17699 java/rmi/UnexpectedException.java
17700 java/rmi/UnknownHostException.java
17701 java/rmi/UnmarshalException.java
17702 java/rmi/activation/Activatable.java
17703 java/rmi/activation/ActivateFailedException.java
17704 java/rmi/activation/ActivationDesc.java
17705 java/rmi/activation/ActivationException.java
17706 java/rmi/activation/ActivationGroup.java
17707 java/rmi/activation/ActivationGroupDesc.java
17708 java/rmi/activation/ActivationGroupID.java
17709 java/rmi/activation/ActivationID.java
17710 java/rmi/activation/ActivationInstantiator.java
17711 java/rmi/activation/ActivationMonitor.java
17712 java/rmi/activation/ActivationSystem.java
17713 java/rmi/activation/Activator.java
17714 java/rmi/activation/UnknownGroupException.java
17715 java/rmi/activation/UnknownObjectException.java
17716 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17717 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17718 java/rmi/registry/Registry.java
17719 java/rmi/registry/RegistryHandler.java
17720 java/rmi/server/ExportException.java
17721 java/rmi/server/LoaderHandler.java
17722 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17723 java/rmi/server/Operation.java
17724 java/rmi/server/RMIClassLoader.java
17725 java/rmi/server/RMIClientSocketFactory.java
17726 java/rmi/server/RMIFailureHandler.java
17727 java/rmi/server/RMIServerSocketFactory.java
17728 java/rmi/server/RMISocketFactory.java
17729 java/rmi/server/RemoteCall.java
17730 java/rmi/server/RemoteObject.java
17731 java/rmi/server/RemoteRef.java
17732 java/rmi/server/RemoteServer.java
17733 java/rmi/server/RemoteStub.java
17734 java/rmi/server/ServerCloneException.java
17735 java/rmi/server/ServerNotActiveException.java
17736 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17737 java/rmi/server/SkeletonMismatchException.java
17738 java/rmi/server/SkeletonNotFoundException.java
17739 java/rmi/server/SocketSecurityException.java
17740 java/rmi/server/UID.java
17741 java/rmi/server/UnicastRemoteObject.java
17742 java/rmi/server/Unreferenced.java
17743 java/security/AccessControlContext.java
17744 java/security/AccessControlException.java
17745 java/security/AccessController.java
17746 java/security/AlgorithmParameterGenerator.java
17747 java/security/AlgorithmParameterGeneratorSpi.java
17748 java/security/AlgorithmParameters.java
17749 java/security/AlgorithmParametersSpi.java
17750 java/security/AllPermission.java
17751 java/security/BasicPermission.java
17752 java/security/Certificate.java java/security/CodeSource.java
17753 java/security/DigestException.java
17754 java/security/DigestInputStream.java
17755 java/security/DigestOutputStream.java
17756 java/security/DomainCombiner.java
17757 java/security/DummyKeyPairGenerator.java
17758 java/security/DummyMessageDigest.java
17759 java/security/DummySignature.java
17760 java/security/GeneralSecurityException.java
17761 java/security/Guard.java java/security/GuardedObject.java
17762 java/security/Identity.java java/security/IdentityScope.java
17763 java/security/InvalidAlgorithmParameterException.java
17764 java/security/InvalidKeyException.java
17765 java/security/InvalidParameterException.java
17766 java/security/Key.java java/security/KeyException.java
17767 java/security/KeyFactory.java java/security/KeyFactorySpi.java
17768 java/security/KeyManagementException.java
17769 java/security/KeyPair.java java/security/KeyPairGenerator.java
17770 java/security/KeyPairGeneratorSpi.java
17771 java/security/KeyStore.java
17772 java/security/KeyStoreException.java
17773 java/security/KeyStoreSpi.java
17774 java/security/MessageDigest.java
17775 java/security/MessageDigestSpi.java
17776 java/security/NoSuchAlgorithmException.java
17777 java/security/NoSuchProviderException.java
17778 java/security/Permission.java
17779 java/security/PermissionCollection.java
17780 java/security/Permissions.java java/security/Policy.java
17781 java/security/Principal.java java/security/PrivateKey.java
17782 java/security/PrivilegedAction.java
17783 java/security/PrivilegedActionException.java
17784 java/security/PrivilegedExceptionAction.java
17785 java/security/ProtectionDomain.java
17786 java/security/Provider.java
17787 java/security/ProviderException.java
17788 java/security/PublicKey.java
17789 java/security/SecureClassLoader.java
17790 java/security/SecureRandom.java
17791 java/security/SecureRandomSpi.java java/security/Security.java
17792 java/security/SecurityPermission.java
17793 java/security/Signature.java
17794 java/security/SignatureException.java
17795 java/security/SignatureSpi.java
17796 java/security/SignedObject.java java/security/Signer.java
17797 java/security/UnrecoverableKeyException.java
17798 java/security/UnresolvedPermission.java
17799 java/security/acl/Acl.java java/security/acl/AclEntry.java
17800 java/security/acl/AclNotFoundException.java
17801 java/security/acl/Group.java
17802 java/security/acl/LastOwnerException.java
17803 java/security/acl/NotOwnerException.java
17804 java/security/acl/Owner.java java/security/acl/Permission.java
17805 java/security/cert/CRL.java
17806 java/security/cert/CRLException.java
17807 java/security/cert/Certificate.java
17808 java/security/cert/CertificateEncodingException.java
17809 java/security/cert/CertificateException.java
17810 java/security/cert/CertificateExpiredException.java
17811 java/security/cert/CertificateFactory.java
17812 java/security/cert/CertificateFactorySpi.java
17813 java/security/cert/CertificateNotYetValidException.java
17814 java/security/cert/CertificateParsingException.java
17815 java/security/cert/X509CRL.java
17816 java/security/cert/X509CRLEntry.java
17817 java/security/cert/X509Certificate.java
17818 java/security/cert/X509Extension.java
17819 java/security/interfaces/DSAKey.java
17820 java/security/interfaces/DSAKeyPairGenerator.java
17821 java/security/interfaces/DSAParams.java
17822 java/security/interfaces/DSAPrivateKey.java
17823 java/security/interfaces/DSAPublicKey.java
17824 java/security/interfaces/RSAKey.java
17825 java/security/interfaces/RSAPrivateCrtKey.java
17826 java/security/interfaces/RSAPrivateKey.java
17827 java/security/interfaces/RSAPublicKey.java
17828 java/security/spec/AlgorithmParameterSpec.java
17829 java/security/spec/DSAParameterSpec.java
17830 java/security/spec/DSAPrivateKeySpec.java
17831 java/security/spec/DSAPublicKeySpec.java
17832 java/security/spec/EncodedKeySpec.java
17833 java/security/spec/InvalidKeySpecException.java
17834 java/security/spec/InvalidParameterSpecException.java
17835 java/security/spec/KeySpec.java
17836 java/security/spec/PKCS8EncodedKeySpec.java
17837 java/security/spec/RSAKeyGenParameterSpec.java
17838 java/security/spec/RSAPrivateCrtKeySpec.java
17839 java/security/spec/RSAPrivateKeySpec.java
17840 java/security/spec/RSAPublicKeySpec.java
17841 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17842 java/sql/BatchUpdateException.java java/sql/Blob.java
17843 java/sql/CallableStatement.java java/sql/Clob.java
17844 java/sql/Connection.java java/sql/DataTruncation.java
17845 java/sql/DatabaseMetaData.java java/sql/Date.java
17846 java/sql/Driver.java java/sql/DriverManager.java
17847 java/sql/DriverPropertyInfo.java
17848 java/sql/PreparedStatement.java java/sql/Ref.java
17849 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17850 java/sql/SQLData.java java/sql/SQLException.java
17851 java/sql/SQLInput.java java/sql/SQLOutput.java
17852 java/sql/SQLWarning.java java/sql/Statement.java
17853 java/sql/Struct.java java/sql/Time.java
17854 java/sql/Timestamp.java java/sql/Types.java
17855 java/text/Annotation.java
17856 java/text/AttributedCharacterIterator.java
17857 java/text/AttributedString.java
17858 java/text/AttributedStringIterator.java
17859 java/text/BreakIterator.java java/text/CharacterIterator.java
17860 java/text/ChoiceFormat.java java/text/Collator.java
17861 java/text/DateFormat.java java/text/DateFormatSymbols.java
17862 java/text/DecimalFormat.java
17863 java/text/DecimalFormatSymbols.java
17864 java/text/FieldPosition.java java/text/Format.java
17865 java/text/MessageFormat.java java/text/NumberFormat.java
17866 java/text/ParseException.java java/text/ParsePosition.java
17867 java/text/SimpleDateFormat.java
17868 java/text/StringCharacterIterator.java
17869 java/util/AbstractCollection.java java/util/AbstractList.java
17870 java/util/AbstractMap.java
17871 java/util/AbstractSequentialList.java
17872 java/util/AbstractSet.java java/util/ArrayList.java
17873 java/util/Arrays.java java/util/BasicMapEntry.java
17874 java/util/BitSet.java java/util/Calendar.java
17875 java/util/Collection.java java/util/Collections.java
17876 java/util/Comparator.java
17877 java/util/ConcurrentModificationException.java
17878 java/util/Date.java java/util/Dictionary.java
17879 java/util/EmptyStackException.java java/util/Enumeration.java
17880 java/util/EventListener.java java/util/EventObject.java
17881 java/util/GregorianCalendar.java java/util/HashMap.java
17882 java/util/HashSet.java java/util/Hashtable.java
17883 java/util/IdentityHashMap.java java/util/Iterator.java
17884 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17885 java/util/LinkedList.java java/util/List.java
17886 java/util/ListIterator.java java/util/ListResourceBundle.java
17887 java/util/Locale.java java/util/Map.java
17888 java/util/MissingResourceException.java
17889 java/util/NoSuchElementException.java
17890 java/util/Observable.java java/util/Observer.java
17891 java/util/Properties.java java/util/PropertyPermission.java
17892 java/util/PropertyResourceBundle.java java/util/Random.java
17893 java/util/RandomAccess.java java/util/ResourceBundle.java
17894 java/util/Set.java java/util/SimpleTimeZone.java
17895 java/util/SortedMap.java java/util/SortedSet.java
17896 java/util/Stack.java java/util/StringTokenizer.java
17897 java/util/TimeZone.java java/util/Timer.java
17898 java/util/TimerTask.java
17899 java/util/TooManyListenersException.java
17900 java/util/TreeMap.java java/util/TreeSet.java
17901 java/util/Vector.java java/util/WeakHashMap.java
17902 java/util/jar/Attributes.java java/util/jar/JarEntry.java
17903 java/util/jar/JarException.java java/util/jar/JarFile.java
17904 java/util/jar/JarInputStream.java
17905 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17906 java/util/zip/Adler32.java java/util/zip/CRC32.java
17907 java/util/zip/CheckedInputStream.java
17908 java/util/zip/CheckedOutputStream.java
17909 java/util/zip/Checksum.java
17910 java/util/zip/DataFormatException.java
17911 java/util/zip/Deflater.java
17912 java/util/zip/DeflaterOutputStream.java
17913 java/util/zip/GZIPInputStream.java
17914 java/util/zip/GZIPOutputStream.java
17915 java/util/zip/Inflater.java
17916 java/util/zip/InflaterInputStream.java
17917 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17918 java/util/zip/ZipException.java java/util/zip/ZipFile.java
17919 java/util/zip/ZipInputStream.java
17920 java/util/zip/ZipOutputStream.java
17921 javax/naming/BinaryRefAddr.java
17922 javax/naming/InvalidNameException.java javax/naming/Name.java
17923 javax/naming/NamingException.java javax/naming/RefAddr.java
17924 javax/naming/StringRefAddr.java: Add license clarification.
17926 2002-01-22 Tom Tromey <tromey@redhat.com>
17928 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17929 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17930 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17932 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17933 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17934 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17935 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17936 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17937 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17938 * java/awt/peer/FontPeer.java: Replace with Classpath version.
17939 * java/awt/peer/FramePeer.java: Replace with Classpath version.
17940 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17941 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17942 * java/awt/peer/ListPeer.java: Replace with Classpath version.
17943 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17944 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17945 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17946 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17947 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17948 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17949 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17950 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17951 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17952 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17953 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17954 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17955 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17956 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17957 (minimumSize, preferredSize, reshape): Likewise.
17958 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17959 getColorModel): New methods.
17960 * java/awt/PopupMenu.java: Merged with Classpath.
17961 * java/awt/MenuBar.java: Merged with Classpath.
17962 * java/awt/SystemColor.java: Replace with Classpath version.
17963 * java/awt/Panel.java: Merged with Classpath.
17964 * java/awt/PaintContext.java: Updated copyright.
17965 * java/awt/MenuShortcut.java: Merged with Classpath.
17966 * java/awt/MenuContainer.java: Merged with Classpath.
17967 * java/awt/Menu.java: Merged with Classpath.
17968 * java/awt/MediaEntry.java: New file from Classpath.
17969 * java/awt/MediaTracker.java: New file from Classpath.
17970 * java/awt/List.java: Merged with Classpath version.
17971 * java/awt/Insets.java: Merged with Classpath version.
17972 * java/awt/ImageMediaEntry.java: New file from Classpath.
17973 * java/awt/Image.java: Replaced with Classpath version.
17974 * java/awt/FontMetrics.java: Merged with Classpath version.
17975 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17977 * java/awt/Font.java: Merged with Classpath version.
17978 * java/awt/Dialog.java: Merged with Classpath version.
17979 * java/awt/Color.java: Merged with Classpath version.
17980 * java/awt/Choice.java: Merged with Classpath version.
17981 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17982 * java/awt/Adjustable.java: Replace with Classpath version.
17983 * java/awt/MenuItem.java (paramString): Don't include class name
17984 or brackets. Call superclass paramString.
17985 * java/awt/MenuComponent.java (toString): Call paramString.
17986 (paramString): Compute string; don't call toString.
17987 * java/awt/Label.java (paramString): Don't include class name
17988 or brackets. Call superclass paramString.
17989 * java/awt/Checkbox.java (paramString): Don't include class name
17990 or brackets. Call superclass paramString.
17991 * java/awt/Button.java (paramString): Don't include class name or
17992 brackets. Call superclass paramString.
17993 * java/awt/MenuComponent.java (getTreeLock): Now protected.
17995 2002-01-20 Andreas Schwab <schwab@suse.de>
17997 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17998 function and of parameter recv_func to ssize_t, as specified by
18001 2002-01-19 Per Bothner <per@bothner.com>
18003 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
18004 uncompressed_size in readiness for next entry.
18006 2002-01-18 Tom Tromey <tromey@redhat.com>
18008 * java/net/natPlainSocketImpl.cc: Include
18009 IllegalArgumentException.h.
18010 (_Jv_recv): New template function.
18011 (BooleanClass): Removed.
18012 (read): Use _Jv_recv.
18013 (setOption): Use Boolean::class$. Throw exception if object is
18014 not Boolean or Integer.
18016 2002-01-17 Tom Tromey <tromey@redhat.com>
18018 * java/awt/MenuComponent.java: Merged with Classpath.
18019 * java/awt/MenuItem.java: Merged with Classpath.
18020 * java/awt/Button.java: Merged with Classpath.
18022 * java/awt/ActiveEvent.java: Updated copyright.
18024 * java/awt/AWTError.java: Replaced with Classpath version.
18025 * java/awt/AWTException.java: Replaced with Classpath version.
18026 * java/awt/IllegalComponentStateException.java: Replaced with
18029 2002-01-16 Tom Tromey <tromey@redhat.com>
18031 * java/awt/Canvas.java (serialVersionUID): New constant.
18032 Updated copyright. Added javadoc from Classpath.
18033 * java/awt/ItemSelectable.java: Replaced with Classpath version.
18035 * java/awt/CheckboxGroup.java: Merged with Classpath.
18036 * java/awt/Checkbox.java: Merged with Classpath.
18038 * java/awt/Dimension.java: Updated copyright. Added javadoc from
18040 * java/awt/Point.java: Updated copyright.
18042 * java/awt/Point.java (toString): Use getClass().getName().
18045 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
18047 (hash): Correctly compute initial value for `h'.
18049 * java/awt/Label.java: Merged with Classpath.
18051 2002-01-15 Tom Tromey <tromey@redhat.com>
18053 * java/awt/AWTPermission.java: Updated copyright.
18055 * java/awt/LayoutManager2.java: Merged with Classpath.
18056 * java/awt/LayoutManager.java: Merged with Classpath.
18057 * java/awt/GridLayout.java: Updated copyright and javadoc.
18058 (getSize): Use `parent.ncomponents'. Handle insets.
18059 (layoutContainer): Use `parent.ncomponents'. Handle case where
18060 there are fewer children than columns. Correctly compute size of
18061 each cell in the grid. Handle case where there isn't enough
18063 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
18065 (gotoComponent): Use parent.ncomponents. Ensure child exists
18066 before calling setVisible() on it. Last item is `num - 1', not
18068 (layoutContainer): Hoist invariants out of loop.
18070 Start of AWT merge with Classpath:
18071 * Makefile.in: Rebuilt.
18072 * Makefile.am (awt_java_source_files): Reference files in
18073 gnu/java/awt, not gnu/gcj/awt.
18074 * java/awt/image/BufferedImage.java: Updated copyright.
18075 * java/awt/image/ComponentColorModel.java: Updated copyright.
18076 * java/awt/image/ComponentSampleModel.java: Updated copyright.
18077 * java/awt/image/DataBuffer.java: Updated copyright.
18078 * java/awt/image/DataBufferByte.java: Updated copyright.
18079 * java/awt/image/DataBufferInt.java: Updated copyright.
18080 * java/awt/image/DataBufferUShort.java: Updated copyright.
18081 * java/awt/image/IndexColorModel.java: Updated copyright.
18082 * java/awt/image/PackedColorModel.java: Updated copyright.
18083 * java/awt/image/Raster.java: Updated copyright.
18084 * java/awt/image/RasterOp.java: Updated copyright.
18085 * java/awt/image/SampleModel.java: Updated copyright.
18086 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
18087 * java/awt/image/WritableRaster.java: Updated copyright.
18088 * java/awt/color/ColorSpace.java: Updated copyright.
18089 * java/awt/color/ICC_ColorSpace.java: Updated copyright
18090 * java/awt/color/ICC_Profile.java: Updated copyright.
18091 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
18092 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
18093 * java/awt/event/HierarchyEvent.java: Updated copyright.
18094 * java/awt/event/HierarchyListener.java: Updated copyright.
18095 * java/awt/geom/AffineTransform.java: Updated copyright.
18096 * java/awt/geom/Dimension2D.java: Updated copyright.
18097 * java/awt/geom/Ellipse2D.java: Updated copyright.
18098 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
18099 * java/awt/geom/Line2D.java: Updated copyright.
18100 * java/awt/geom/NoninvertibleTransformException.java: Updated
18102 * java/awt/geom/PathIterator.java: Updated copyright.
18103 * java/awt/geom/Point2D.java: Updated copyright.
18104 * java/awt/geom/Rectangle2D.java: Updated copyright.
18105 * java/awt/geom/RectangularShape.java: Updated copyright.
18106 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
18107 * java/awt/Toolkit.java: Updated import for file moves.
18108 * java/awt/Rectangle.java: Updated copyright; added javadoc from
18110 (hashCode): New method from Classpath.
18111 * java/awt/Graphics2D.java: Updated copyright.
18112 * java/awt/Transparency.java: Updated copyright.
18113 * java/awt/Paint.java: Updated copyright.
18114 * java/awt/Graphics.java: New version from Classpath.
18115 * java/awt/EventDispatchThread.java: Updated copyright.
18116 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
18118 (gotoComponent): Wrap around on next/previous.
18119 * gnu/gcj/awt/BitMaskExtent.java: Removed.
18120 * gnu/gcj/awt/Buffers.java: Removed.
18121 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
18122 * gnu/gcj/awt/GLightweightPeer.java: Removed.
18123 * gnu/java/awt/BitMaskExtent.java: Added.
18124 * gnu/java/awt/Buffers.java: Added.
18125 * gnu/java/awt/ComponentDataBlitOp.java: Added.
18126 * gnu/java/awt/GLightweightPeer.java: Added.
18127 * java/awt/geom/Line2D.java (clone): Ignore
18128 CloneNotSupportedException.
18129 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
18130 * java/awt/Frame.java: Merged with Classpath.
18131 * java/awt/RenderingHints.java: Copyright update.
18132 * java/awt/Paint.java: Copyright update.
18133 * java/awt/image/DirectColorModel.java: Merged with Classpath.
18134 * java/awt/image/ColorModel.java: Merged with Classpath.
18135 * java/awt/Window.java (show): New Implementation from Classpath.
18136 (isShowing): Use super.isShowing().
18137 * java/awt/EventQueue.java: Merged with Classpath.
18138 * java/awt/AWTEventMulticaster.java (save): Throw
18140 (saveInternal): Likewise.
18141 * java/awt/AWTEvent.java: Now implements Serializable.
18142 * java/awt/Event.java: Copyright update.
18143 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
18144 * java/awt/image/BufferedImage.java: Copyright update.
18145 * java/awt/GraphicsConfiguration.java: Copyright update.
18146 * java/awt/Component.java: (addNotify): Don't call
18147 addNotifyContainerChildren().
18148 (addNotifyContainerChildren): Removed.
18149 (setPeer): New method from Classpath.
18150 (setTreeLock): Likewise.
18151 (setVisible): Rewrote.
18154 (validate): Set `valid'.
18155 (checkImage(Image,ImageObserver)): Implementation from Classpath.
18156 (createImage(ImageProducer)): Likewise.
18157 (prepareImage): Likewise.
18158 * java/awt/Container.java (addImpl): Handle case where constraint
18159 is not a String. Post event via system event queue.
18160 (remove): Post event via system event queue.
18161 (validateTree): Only validate child if it is invalid.
18162 (getAlignmentX): Call super method as default.
18163 (getAlignmentY): Likewise.
18164 (addContainerListener): Now synchronized.
18165 (removeContainerListener): Likewise.
18166 (addNotifyContainerChildren): Now private.
18167 * java/awt/ComponentOrientation.java: Updated copyright. Added
18169 * java/awt/FlowLayout.java (serialVersionUID): New field.
18170 (setAlignment): Better exception message.
18171 (layoutContainer): Don't compute component's preferred size unless
18172 we're going to use it.
18173 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
18174 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
18175 (firstLine, lastLine, firstItem, lastItem): New fields.
18176 (addLayoutComponent): Handle case where constraints is null.
18177 Also, handle relative locations.
18178 (removeLayoutComponent): Handle relative locations.
18179 (MIN, MAX, PREF): New constants.
18180 (calcCompSize): New method.
18181 (calcSize): New method.
18182 (minimumLayoutSize): Use it.
18183 (preferredLayoutSize): Likewise.
18184 (maximumLayoutSize): Likewise.
18185 (toString): Include more information.
18186 (setBounds): New method.
18187 (layoutContainer): Use libgcj implementation; extended to handle
18188 relative locations.
18190 2002-01-15 Tom Tromey <tromey@redhat.com>
18192 * java/lang/Float.java (equals): Preserve old code.
18193 * java/lang/Double.java (equals): Preserve old code.
18195 2002-01-15 Eric Blake <ebb9@email.byu.edu>
18197 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
18198 * java/lang/Float.java (equals, compare): Ditto.
18200 2002-01-13 Mark Wielaard <mark@klomp.org>
18202 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
18203 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
18204 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
18205 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
18207 2002-01-11 Mark Wielaard <mark@klomp.org>
18209 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
18210 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
18212 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
18213 * java/net/Socket.java: Merge with Classpath.
18214 * java/net/ServerSocket.java: Likewise.
18216 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
18218 * interpret.cc (NULLARRAYCHECK): New macro.
18219 (SAVE_PC): Just store `pc'.
18220 (find_exception): Subtract one from `pc' here.
18221 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18222 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18223 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18224 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
18225 don't call SAVE_PC.
18226 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
18229 2002-01-11 Tom Tromey <tromey@redhat.com>
18231 * java/lang/natSystem.cc (init_properties): Only look for default
18232 locale if LC_MESSAGES is defined.
18233 * aclocal.m4, configure, include/config.h.in: Rebuilt.
18234 * configure.in: Call AM_LC_MESSAGES.
18235 * acinclude.m4 (AM_LC_MESSAGES): New macro.
18237 2002-01-10 Tom Tromey <tromey@redhat.com>
18239 For PR libgcj/5303:
18240 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
18241 --version. Recognize GNU-style long options. Print GNU-style
18243 (usage): Print GNU-style help. Exit with status 0.
18244 (error): New method.
18245 (run): Print error message if no class names found.
18246 (main): Don't print usage on error.
18248 2002-01-09 Tom Tromey <tromey@redhat.com>
18250 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
18252 (help, version): Use println(), not println("").
18254 For PR libgcj/5303:
18255 * gnu/gcj/convert/Convert.java (error): Program is called
18256 `jv-convert'. Print GNU-style message. Exit with status 1, not
18258 (main): Handle --help and --version.
18259 (help): New method.
18260 (version): Likewise.
18262 2002-01-08 Tom Tromey <tromey@redhat.com>
18264 * Makefile.in: Rebuilt.
18265 * Makefile.am (ordinary_java_source_files): Added new files.
18266 * gnu/java/locale/LocaleInformation.java: Extend
18267 LocaleInformation_en.
18268 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
18269 and time/date formats.
18270 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
18272 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
18273 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
18274 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
18275 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
18276 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18277 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18278 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18279 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18280 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18281 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18282 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18283 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18284 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18285 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18286 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18287 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18288 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18289 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18290 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18291 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18292 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18293 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18294 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18295 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18296 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18297 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18298 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18299 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18300 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18301 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18302 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18303 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18304 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18305 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18306 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18307 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18308 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18309 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18310 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18311 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18312 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18313 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18314 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18315 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18316 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18317 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18318 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18319 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18320 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18321 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18322 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18323 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18324 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18325 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18326 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18327 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18328 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18329 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18330 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18331 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18332 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18333 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18334 * gnu/java/locale/LocaleInformation_es_US.java: New file.
18335 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18336 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18337 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18338 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18339 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18340 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18341 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18342 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18343 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18344 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18345 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18346 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18347 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18348 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18349 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18350 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18351 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18352 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18353 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18354 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18355 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18356 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18357 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18358 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18359 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18360 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18361 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18362 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18363 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18364 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18365 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18366 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18367 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18368 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18369 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18370 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18371 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18372 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18373 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18374 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18375 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18376 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18377 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18378 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18379 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18380 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18381 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18382 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18383 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18384 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18385 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18386 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18387 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18388 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18389 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18390 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18391 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18392 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18393 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18394 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18395 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18396 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18397 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18398 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18399 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18400 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18401 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18403 For PR libgcj/5031:
18404 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18405 choose default locale.
18407 * Makefile.in: Rebuilt.
18408 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18410 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
18412 * java/net/natPlainSocketImpl.cc: Added timeout handling for
18414 (close): New function closes the socket.
18415 (write): New functions for output to socket.
18416 (read): New functions for reading from socket.
18417 * java/net/PlainSocketImpl.java: Glue for new timeout
18419 (write): Call the native impl.
18421 (getInputStream): Get a stream to read from the socket.
18422 (getOutputStream): Get a stream to write to the socket.
18424 2002-01-08 Tom Tromey <tromey@redhat.com>
18426 * resolve.cc (_Jv_PrepareClass): Enable verifier.
18428 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
18430 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18431 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18433 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
18435 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18436 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18437 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18438 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18439 insn_bastore, insn_castore, insn_sastore]: Use it.
18440 (continue1) [insn_arraylength]: Check for null array.
18442 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18444 * configure, include/config.h.in: Rebuilt.
18445 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18446 * configure.in: Call AC_STRUCT_TIMEZONE.
18448 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18450 * configure.host: Disable the interpreter for Darwin.
18452 2002-01-04 Tom Tromey <tromey@redhat.com>
18454 * java/lang/Thread.java (stop): No longer synchronized.
18457 2002-01-02 Tom Tromey <tromey@redhat.com>
18459 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18462 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
18464 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18465 PPC Darwin, not for all of Darwin.