]> gcc.gnu.org Git - gcc.git/blame - libjava/ChangeLog
Add bugzilla reference:
[gcc.git] / libjava / ChangeLog
CommitLineData
f30dbd20
OR
12004-01-16  Olga Rodimina <rodimina@redhat.com>
2
3 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
4 (doPolygon): set fill rule of polygon to
5 WIND_EVEN_ODD by default.
6
b1231017
OR
72004-01-15 Olga Rodimina <rodimina@redhat.com>
8
9 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10 Implemented rendering hints related methods.
11 (getDefaultHints): New helper method. Returns
12 default rendering hints.
13 (walkPath): changed to normalize path if
14 the KEY_STROKE_CONTROL key is in "normalize" mode.
15 (draw3DRect): changed coordinates of rectangle by +0.5
16 if in "normalize" mode.
17
e18243dd
TT
182004-01-15 Tom Tromey <tromey@redhat.com>
19
20 * Makefile.in: Rebuilt.
21 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
22 (%.lo: %.java) Filter out StackTrace.lo.
23
d5b2f1be
KC
242004-01-14 Kelley Cook <kcook@gcc.gnu.org>
25
26 * configure.in: Add in AC_PREREQ(2.13)
27 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
28 FIXME comment.
29
092b50e2
NB
302004-01-14 Nathan Bryant <nbryant@optonline.net>
31 Tom Tromey <tromey@redhat.com>
32
33 PR libgcj/12001:
34 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
35 array to superclass.
36 (init): Changed interface; add URLs here.
37 (initialize): New static method.
38 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
39 (_Jv_RunMain): ... not here.
40
b3e5b452
MK
412004-01-14 Michael Koch <konqueror@gmx.de>
42
43 * java/text/MessageFormat.java:
44 Added descriptions to exceptions.
45 This fixes PR libgcj/2429.
46
25c3f7c8
FN
472004-01-13 Fernando Nasser <fnasser@redhat.com>
48
49 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
50 (push): Make sure push is performed at the top of the thread stack.
092b50e2 51
9e2c04c5
TF
522004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
53
54 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
55 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
56 (native create): Add width and height parameters. Set text
57 view's size request according to new parameters.
58 (create): Calculate text view size based on current font's
59 metrics and number of rows and columns. Set TextArea's font if
60 not already set. Call native create.
61 (getMinimumSize): Call minimumSize.
62 (getPreferredSize): Call preferredSize.
63 (getHScrollbarHeight): New method.
64 (getVScrollbarWidth): New method.
65 (minimumSize): Calculate minimum size based on scrollbar
66 visibility, scrollbar sizes, font metrics and number of rows and
67 columns.
68 (preferredSize): Likewise for preferred size.
69 (gtkTextGetSize): Remove method.
70
db19e39b
TF
712004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
72
73 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
74 (initializeInsets): Remove method.
75 (GtkComponentPeer): Initialize insets field. Remove call to
76 initializeInsets.
77 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
78 Remove method.
79 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
80 Remove method.
81 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
82 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
83 (latestInsets): Remove field.
84 (native create): Add insets parameter. Call
85 window_get_frame_extents. Set the window's default size and
86 size request based on its frame extents.
87 (create): Initialize insets.
88 (postInsetsChangedEvent): New method.
89 (postConfigureEvent): Remove parameters top, left, bottom,
90 right. Remove insets-related logic.
91 (connectJObject): Handle property-notify-event.
92 (window_get_frame_extents, request_frame_extents,
93 property_notify_predicate, window_property_changed_cb): New
94 static functions.
95 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
96 (pre_event_handler): Remove insets-related logic for configure
97 events.
98 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
99 Update postConfigureEvent signature.
100
25c3f7c8 1012004-01-13 Fernando Nasser <fnasser@redhat.com>
81c740ba
FN
102
103 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
104 to handle Window "Closing" events.
105
e6cca488
DJ
1062004-01-13  David Jee  <djee@redhat.com>
107
108 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
109 (setBackground): New method. Children with no explicitly-set
110 background will be repainted with the parent container's new
111 background color.
112
1132004-01-13  David Jee  <djee@redhat.com>
114
115 * Makefile.am: Add BitwiseXORComposite.java.
116 * Makefile.in: Regenerated.
117 * gcj/Makefile.in: Regenerated.
118 * include/Makefile.in: Regenerated.
119 * testsuite/Makefile.in: Regenerated.
120
e5baf3bd
FN
1212004-01-12 Fernando Nasser <fnasser@redhat.com>
122
123 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
124 not show modal dialogs twice and so that it allows showing a modal
125 dialog from another modal dialog.
126
cc11dca9
FN
1272004-01-12 Fernando Nasser <fnasser@redhat.com>
128
129 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
130 and run secondary dispatch thread to process event queue while this
131 thread is blocked.
132
55db8fa9
GH
1332004-01-12 Graydon Hoare <graydon@redhat.com>
134
135 * gnu/java/awt/gtk/GdkGraphics2D.java
136 (static): Check GtkToolkit before initializing static state.
137 (Graphics2D): Don't construct transform with 0.5 unit offset.
138
1392003-11-06 Sascha Brawer <brawer@dandelis.ch>
140
141 * gnu/java/awt/BitwiseXORComposite.java: Add.
142 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
143 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
144 (BitwiseXORComposite): Remove inner class.
145
df9bad81
MK
1462004-01-11 Michael Koch <konqueror@gmx.de>
147
148 * gnu/java/lang/reflect/TypeSignature.java
149 (getEncodingOfClass): Documentation fixed.
150 (getClassForEncoding): Give class loader to Class.forName().
151 Documentation fixed.
152
fc58328a
SB
1532004-01-11 Sascha Brawer <brawer@dandelis.ch>
154
155 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
156
6a425fbe
MK
1572004-01-11 Michael Koch <konqueror@gmx.de>
158
159 * javax/swing/undo/StateEditable.java
160 (RCSID): Removed redundant modifiers.
161
162fd675
MK
1622004-01-10 Michael Koch <konqueror@gmx.de>
163
164 * javax/print/attribute/EnumSyntax.java
165 (getStringTable): Made protected.
166 (getEnumValueTable): Likewise.
167 * javax/print/attribute/standard/JobKOctetsProcessed.java
168 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
169 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
170 (JobMediaSheetsCompleted): Made class final.
171 * javax/print/attribute/standard/OutputDeviceAssigned.java
172 (getName): Fixed typo.
173 * javax/print/attribute/standard/RequestingUserName.java
174 (serialVersionUID): Fixed value.
175
12e978c5
MK
1762004-01-10 Michael Koch <konqueror@gmx.de>
177
178 * javax/swing/plaf/basic/BasicButtonUI.java,
179 javax/swing/plaf/basic/BasicCheckBoxUI.java,
180 javax/swing/plaf/basic/BasicListUI.java,
181 javax/swing/plaf/basic/BasicOptionPaneUI.java,
182 javax/swing/plaf/basic/BasicPanelUI.java,
183 javax/swing/plaf/basic/BasicRadioButtonUI.java,
184 javax/swing/plaf/basic/BasicScrollPaneUI.java,
185 javax/swing/plaf/basic/BasicToggleButtonUI.java,
186 javax/swing/plaf/basic/BasicViewportUI.java:
187 Fixed import statements.
188
4a8e7041
MK
1892004-01-10 Michael Koch <konqueror@gmx.de>
190
191 * gnu/java/awt/image/ImageDecoder.java
192 (produce): Made public.
193 * gnu/java/awt/peer/GLightweightPeer.java,
194 gnu/java/awt/peer/gtk/GtkToolkit.java:
195 Reformated.
196
5c9092a7
MK
1972004-01-10 Michael Koch <konqueror@gmx.de>
198
199 * javax/swing/JRadioButtonMenuItem.java,
200 javax/swing/JSeparator.java,
201 javax/swing/JSplitPane.java,
202 javax/swing/JTextPane.java,
203 javax/swing/JToolBar.java,
204 javax/swing/ListCellRenderer.java,
205 javax/swing/ListModel.java,
206 javax/swing/MenuElement.java,
207 javax/swing/OverlayLayout.java,
208 javax/swing/ProgressMonitor.java,
209 javax/swing/ProgressMonitorInputStream.java,
210 javax/swing/Renderer.java,
211 javax/swing/RootPaneContainer.java,
212 javax/swing/Scrollable.java,
213 javax/swing/SingleSelectionModel.java,
214 javax/swing/ToolTipManager.java,
215 javax/swing/ViewportLayout.java,
216 javax/swing/event/DocumentEvent.java,
217 javax/swing/event/SwingPropertyChangeSupport.java,
218 javax/swing/event/TreeSelectionEvent.java,
219 javax/swing/event/UndoableEditEvent.java,
220 javax/swing/text/AbstractDocument.java,
221 javax/swing/text/AttributeSet.java,
222 javax/swing/text/Caret.java,
223 javax/swing/text/ComponentView.java,
224 javax/swing/text/DefaultCaret.java,
225 javax/swing/text/DefaultEditorKit.java,
226 javax/swing/text/Document.java,
227 javax/swing/text/EditorKit.java,
228 javax/swing/text/GapContent.java,
229 javax/swing/text/Keymap.java,
230 javax/swing/text/MutableAttributeSet.java,
231 javax/swing/text/PlainEditorKit.java,
232 javax/swing/text/Segment.java,
233 javax/swing/text/Style.java,
234 javax/swing/text/StyledDocument.java,
235 javax/swing/text/StyledEditorKit.java,
236 javax/swing/text/TextAction.java,
237 javax/swing/text/View.java: Fixed import statements.
238
27c99ffe
GH
2392004-01-08 Graydon Hoare <graydon@redhat.com>
240
241 * javax/swing/JLayeredPane.java: Rewrite to accomodate
242 djee@redhat.com's recent inverse ordering of Container elements.
243
e6f82998
MK
2442004-01-09 Michael Koch <konqueror@gmx.de>
245
246 * gnu/java/lang/ArrayHelper.java
247 (equalsArray): Removed.
248
d55d97f1
AH
2492004-01-09 Andrew Haley <aph@redhat.com>
250
251 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
252 a Utf8Const field before looking at its class.
253
41b19a2d
MK
2542004-01-09 Michael Koch <konqueror@gmx.de>
255
256 * javax/print/attribute/standard/DocumentName.java,
257 javax/print/attribute/standard/JobHoldUntil.java,
258 javax/print/attribute/standard/JobMessageFromOperator.java,
259 javax/print/attribute/standard/JobName.java,
260 javax/print/attribute/standard/JobOriginatingUserName.java,
261 javax/print/attribute/standard/OutputDeviceAssigned.java,
262 javax/print/attribute/standard/PrinterInfo.java,
263 javax/print/attribute/standard/PrinterLocation.java,
264 javax/print/attribute/standard/PrinterMakeAndModel.java,
265 javax/print/attribute/standard/PrinterMessageFromOperator.java,
266 javax/print/attribute/standard/PrinterName.java,
267 javax/print/attribute/standard/RequestingUserName.java: New files.
268 * Makefile.am (javax_source_files): Added new files.
269 * Makefile.in: Regenerated.
270
af008858
MK
2712004-01-09 Michael Koch <konqueror@gmx.de>
272
273 * javax/swing/AbstractAction.java,
274 javax/swing/AbstractSet.java,
275 javax/swing/Action.java,
276 javax/swing/ActionMap.java,
277 javax/swing/BoundedRangeModel.java,
278 javax/swing/ButtonModel.java,
279 javax/swing/CellEditor.java,
280 javax/swing/CellRendererPane.java,
281 javax/swing/ComboBoxEditor.java,
282 javax/swing/DebugGraphics.java,
283 javax/swing/DefaultCellEditor.java,
284 javax/swing/DefaultCellRenderer.java,
285 javax/swing/DefaultComboBoxModel.java,
286 javax/swing/DefaultDesktopManager.java,
287 javax/swing/DefaultFocusManager.java,
288 javax/swing/DefaultListCellRenderer.java,
289 javax/swing/Icon.java,
290 javax/swing/JButton.java,
291 javax/swing/JCheckBoxMenuItem.java,
292 javax/swing/JDesktopPane.java,
293 javax/swing/JEditorPane.java,
294 javax/swing/JMenu.java,
295 javax/swing/JPanel.java,
296 javax/swing/JPasswordField.java,
297 javax/swing/JPopupMenu.java,
298 javax/swing/JProgressBar.java: Reworked imports.
299
bbe4ef89
MK
3002004-01-09 Michael Koch <konqueror@gmx.de>
301
302 * java/awt/geom/PathIterator.java
303 (WIND_EVEN_ODD): Removed redundant modifiers.
304 (WIND_NON_ZERO): Likewise.
305 (SEG_MOVETO): Likewise.
306 (SEG_LINETO): Likewise.
307 (SEG_QUADTO): Likewise.
308 (SEG_CUBICTO): Likewise.
309 (SEG_CLOSE): Likewise.
310 * java/awt/image/SinglePixelPackedSampleModel.java:
311 Removed redundant semicolon.
312 * java/io/ObjectInputStream.java
313 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
314 * java/util/logging/Filter.java
315 (isLoggable): Removed redundant modifier.
316 * java/util/logging/LogManager.java:
317 Removed redundant semicolon.
318 * java/util/logging/XMLFormatter.java
319 (format): Removed unused variable "key".
320
06fe3d7d
FN
3212004-01-08 Fernando Nasser <fnasser@redhat.com>
322
323 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
324 New name for the former setFile native method.
325 (setFile): New method.
326 (setDirectory): Implemented.
327 (connectSignals): New native method.
328 (setFilenameFilter): Improve comment.
329 (getGraphics): Comment.
330 (gtkHideFileDialog): New method.
331 (gtkDisposeFileDialog): New method.
332 (gtkSetFilename): New method.
333 * java/awt/Dialog.java (show): Block on modal dialogs, but only
334 for FileDialog for now.
335 (hide): New method.
336 (dispose): New method.
337 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
338 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
339 deprecated creation functions. Make dialog modal. Add it to the
340 window group.
341 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
342 function.
343 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
344 Rename to...
345 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
346 name.
347 (window_closed): New function.
348 (ok_clicked): New function.
349 (cancel_clicked): New function.
350
bafa7fed
MK
3512004-01-08 Michael Koch <konqueror@gmx.de>
352
353 * javax/swing/JLayeredPane.java: Revert changes to standard
354 boilerplate, reworked imports.
355
11e584ed
TT
3562004-01-07 Tom Tromey <tromey@redhat.com>
357
358 PR libgcj/13439:
359 * verify.cc (state::merge): Copy changed locals out of subroutine
360 in NO_STACK case.
361 (state::FLAG_CHANGED): New const.
362 (state::FLAG_UNUSED): Likewise.
363 (state::local_changed): Removed. Updated all users.
364 (state::flags): New field.
365 (state::merge): Added jsr_semantics argument, more logic.
366 (push_jump_merge): Added jsr_semantics argument.
367 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
368 merging through the jsr instruction.
369
ce972ee8
TT
3702004-01-07 Tom Tromey <tromey@redhat.com>
371
372 * scripts/MakeDefaultMimeTypes.java: Use \n, not
373 backslash-newline.
374
fbea267f
GH
3752004-01-07 Graydon Hoare <graydon@redhat.com>
376
377 * java/awt/Container.java (LightweightDispatcher): Implement.
378 (visitChild): Reuse graphics object.
379 (dispatchEventImpl): Optionally dispatch to lightweight.
380 (addNotifyContainerChildren): Build LightweightDispatcher.
381
627e4e5f
DJ
3822004-01-07 David Jee <djee@redhat.com>
383
384 * java/awt/Container.java
385 (update): Clear only the clipped region, instead of clearing the
386 entire Container.
387 (visitChildren): Visit children in descending order.
388
40f8ee2d
MK
3892004-01-07 Michael Koch <konqueror@gmx.de>
390
391 * java/lang/reflect/Array.java: Merged documentation with classpath.
392
9b773289
MK
3932004-01-07 Michael Koch <konqueror@gmx.de>
394
395 * java/text/CollationElementIterator.java
396 (textIndex): Renamed from index.
397 * java/text/CollationKey.java
398 (collator): New member.
399 (CollationKey): New argument for parent collator.
400 (equals): Check for same collator, source string and key array.
401 * java/text/RuleBasedCollator.java:
402 Reformated.
403 (RuleBasedCollator): Don't re-initialize frenchAccents with default
404 value.
405 (getCollationElementIterator): Rewritten.
406 (getCollationKey): Added new argument to CollationKey constructor.
407
26067b8b
MK
4082004-01-07 Michael Koch <konqueror@gmx.de>
409
410 * gnu/java/nio/DatagramChannelImpl.java
411 (blocking): Removed.
412 (DatagramChannelImpl): Call configureBlocking().
413 (implConfigureBlocking): Dont initialize blocking.
414 * gnu/java/nio/ServerSocketChannelImpl.java
415 (blocking): Removed.
416 (ServerSocketChannelImpl): Call configureBlocking().
417 (implConfigureBlocking): Dont initialize blocking.
418 * gnu/java/nio/SocketChannelImpl.java
419 (blocking): Removed.
420 (SocketChannelImpl): Call configureBlocking().
421 (implConfigureBlocking): Dont initialize blocking.
422 (connect): Use isBlocking().
423 * java/nio/channels/spi/AbstractSelectableChannel.java
424 (configureBlocking): Use blockingLock() instead of LOCK.
425 Set blocking after successfully called implConfigureBlocking().
426 (register): Use blockingLock() instead of LOCK.
427
89e4eb2a
MK
4282004-01-07 Michael Koch <konqueror@gmx.de>
429
430 * java/net/ServerSocket.java (isBound): Fixed documentation.
431
b3db7ef1
SB
4322004-01-07 Sascha Brawer <brawer@dandelis.ch>
433
434 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
435 (changeEvent): Create event object on demand.
436 (DefaultBoundedRangeModel, toString, setValue, setExtent,
437 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
438 fireStateChanged): Re-written.
439 * javax/swing/event/EventListenerList.java: Reformatted, document
440 typical usage.
441 (toString): Implemented.
442 (getListeners): Re-written.
443 (remove): Re-written.
444 (add): Re-written.
445 (NO_LISTENERS): New singleton field.
446 (listenerList): Declare as transient; document.
447 (serialVersionUID): Document.
448 (getListenerCount(Class)): More efficient implementation,
449 also accepts null argument. Improve Javadoc.
450 (getListenerCount()): Remove unnecessary cast; docfix.
451 * javax/swing/undo/UndoableEditSupport.java:
452 Re-format, document.
453 (UndoableEditSupport): Set realSource field. Improve documentation.
454 (_postEdit): Iterate over cloned listener vector.
455 (toString): Don't emit realSource.
456 (beginUpdate, endUpdate): Support nested updates.
457 (postEdit): Use compound edit if present.
458
257dd280
GH
4592004-01-06 Graydon Hoare <graydon@redhat.com>
460
461 * java/awt/Container.java (swapComponents): Add forgotten
462 function, required for JLayeredPane change.
463
5f383ba5
MK
4642004-01-06 Michael Koch <konqueror@gmx.de>
465
466 * java/text/CollationElementIterator.java: Reformated.
467 (CollationElementIterator): Changed order of arguments.
468 * java/text/RuleBasedCollator.java
469 (RuleBasedCollator): Merged class documentation.
470 (CollationElement): Added documentation.
471 (compare): Reformated, renamed arguments.
472 (equals): Likewise.
473 (getCollationElementIterator): Likewise.
474 (getCollationKey): Likewise.
475
68f14fb0
GH
4762004-01-06 Graydon Hoare <graydon@redhat.com>
477
478 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
479
a023ec34
MK
4802004-01-06 Michael Koch <konqueror@gmx.de>
481
482 * gnu/java/net/protocol/file/Connection.java:
483 Reformated copyright.
484 (hdrHash): Removed.
485 (hdrVec): Removed.
486 (gotHeaders): Removed.
487 (getHeaderField): Removed.
488 (getHeaderField): Removed.
489 (getHeaderFieldKey): Removed.
490 (getKey): Removed.
491 (getField): Removed.
492 (getHeaders): Removed.
493
a67e295f
MK
4942004-01-06 Michael Koch <konqueror@gmx.de>
495
9ba6f952
MK
496 * javax/print/attribute/standard/DateTimeAtCompleted.java,
497 javax/print/attribute/standard/DateTimeAtCreation.java,
498 javax/print/attribute/standard/DateTimeAtProcessing.java,
499 javax/print/attribute/standard/JobImpressionsCompleted.java,
500 javax/print/attribute/standard/JobKOctets.java,
501 javax/print/attribute/standard/JobKOctetsProcessed.java,
502 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
503 javax/print/attribute/standard/JobPrioritySupported.java: New files.
504 * Makefile.am (javax_source_files): Added new files.
505 * Makefile.in: Regenerated.
68dad687 506
9ba6f952
MK
5072004-01-06 Michael Koch <konqueror@gmx.de>
508
a67e295f
MK
509 * java/net/URLConnection.java
510 (contentHandler): Removed.
511 (locale): Removed.
512 (getHeaderFields): Return an empty map instead of null.
513 (getContent): Connect if needed, renamed "cType" to "type" and
514 "contentHandler" to "ch" and made it a local variable.
515 (getPermission): Don't use package in class name.
516 (setDefaultRequestProperty): Fixed typo in documentation.
517 (initializeDateFormats): Made locale a local variable.
518
907cdc7f
MK
5192004-01-06 Michael Koch <konqueror@gmx.de>
520
521 * java/lang/Package.java
522 (getPackage): Get the current class loader directly.
523 * java/lang/SecurityManager.java
524 (currentLoadedClass): Dont iterate over class contexts.
525 (classLoaderDepth): Don't check class loaders if everything is allowed.
526
6037221c
TF
5272004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
528
a8c2775c
TF
529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
530 (pre_event_handler): Set all insets to 0 when a Configure event
531 is received for a GtkPlug.
532 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
533 Make handle long, not int.
534 (EmbeddedWindow()): New constructor.
535 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
536 long, not int.
537 (setHandle): New method.
538 (getHandle): Return long, not int.
539 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
540 declaration.
541 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
542 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
543 (create(long)): Take long parameter, not int. Cast gtk_plug_new
544 argument to GdkNativeWindow.
545 (construct): New method.
546 (embed): New method.
547
6037221c
TF
548 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
549 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
550 (create(int, int)): New method.
551 (create): Call new create method.
552 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
553 methods.
554 (childResized): Remove native implementation. Implement in
555 Java.
556 (getHScrollbarHeight, getVScrollbarWidth): Call
557 gtk_widget_size_request to get scrollbar dimensions.
558 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
559 call getVScrollbarWidth and getHScrollbarHeight when vertical
560 and horizontal scrollbars respectively are needed.
561 (doLayout): Enlarge child if it is smaller than the viewport.
562
975fde59
FN
5632004-01-05 Fernando Nasser <fnasser@redhat.com>
564
565 * java/awt/Dialog.java (constructor): Accept null title as per spec.
566 * java/awt/FileDialog.java (constructor): Throw exception on invalid
567 argument as per spec.
568
b7a9b4af
FN
5692004-01-05 Fernando Nasser <fnasser@redhat.com>
570
571 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
572 (insert): Ditto.
573 (remove): Ditto. Also, Check for valid argument.
574 (removeAll): Use peer interface method.
575 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
576 native add function.
577 (nativeRemove): New name for native remove function.
578 (getHistory): New native function.
579 (constructor): Generate ItemEvent.
580 (add): Ditto, if selection is changed.
581 (remove): Ditto, ditto.
582 (removeAll): Add implementation.
583 (handleEvent): Remove. Dead code.
584 (choicePostItemEvent): Add comment.
585 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
586 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
587 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
588 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
589 comments and fix condition to change selection.
590 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
591 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
592 remove all capability.
593 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
594 (item_activate): Add cast to remove compiler warning.
595
b17fc9eb
TF
5962004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
597
598 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
599 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
600 (getPreferredSize): Call preferredSize.
601 (preferredSize): Call gtkWidgetGetPreferredDimensions.
602 (getMinimumSize): Call minimumSize.
603 (minimumSize): Call gtkWidgetGetPreferredDimensions.
604 (gtkWidgetGetDimensions): Return the peer widget's current size
605 request.
606 (gtkWidgetGetPreferredDimensions): Return the peer widget's
607 natural size request.
608
ab22bc91
SB
6092004-01-05 Sascha Brawer <brawer@dandelis.ch>
610
611 Thanks to Brian Gough <bjg@network-theory.com>
612 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
613 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
614
e44b879c
MK
6152004-01-04 Matthias Klose <doko@debian.org>
616
617 * aclocal.m4: Rebuilt using "aclocal -I .".
618 * configure: Rebuilt.
619
5814ecc2
PB
6202004-01-03 Per Bothner <per@bothner.com>
621
622 * java/util/Date.java (parse): Fix a number of problems.
623 (skipParens): Remove no-longer-needed method.
624
24ce9c2d
MK
6252003-12-31 Michael Koch <konqueror@gmx.de>
626
627 * gnu/java/net/protocol/http/Connection.java
628 (sendRequest): Dont encode output in default character encoding,
629 add correct version number to HTTP user agent string.
630
68dad687
GH
6312003-12-31 Graydon Hoare <graydon@redhat.com>
632
633 * configure.in: Add --enable-gtk-cairo check.
634 * configure: Regenerate.
635 * Makefile.am: Conditionally link against cairo.
636 * Makefile.in: Regenerate.
637 * acinclude.m4: Include PKG_CHECK_MODULES.
638 * aclocal.m4: Regenerate.
639 * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
640 (getFontMetrics, getClasspathFontPeer):
641 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
642 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
643 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
644 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
645 Switch behavior depending on GtkToolkit.useGraphics2D().
646 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
647 * java/awt/Font.java: Switch to peer model.
648 * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
649 * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h.
652
eb813adf
GL
6532003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
654
655 * java/io/ObjectOutputStream.java
656 (putFields): Reindented. Fixed behaviour: currentPutField should be
657 null
658 before calling this method.
659 (writeFields): Likewise.
660 (markFieldsWritten): Fixed the exception message.
661 (callWriteMethod): Ensure currentPutField is null.
662 (getBooleanField): Translate IllegalArgumentException into
663 InvalidClassException.
664 (getByteField): Likewise.
665 (getCharField): Likewise.
666 (getDoubleField): Likewise.
667 (getFloatField): Likewise.
668 (getIntField): Likewise.
669 (getLongField): Likewise.
670 (getShortField): Likewise.
671 (getObjectField): Check the type code before returning the object.
672 (getField): Translate NoSuchFieldException into InvalidClassException
673 directly.
674
d4158659
GL
6752003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
676
677 * java/net/URL.java
678 (URL): Change context path to "/" if it is empty.
679
04d1e6e2
MK
6802003-12-31 Michael Koch <konqueror@gmx.de>
681
682 * testsuite/libjava.mauve/xfails: Removed tests that pass now:
683 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
684 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
685 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
686 (number 26)
687 XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
688 (number 54)
689
690
cca9b4b5
MK
6912003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
692
693 * java/util/GregorianCalendar.java
694 (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
695 Fixed the computation of DAY_OF_WEEK_IN_MONTH.
696 (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
697
6982003-12-30 Michael Koch <konqueror@gmx.de>
699
700 * testsuite/libjava.mauve/xfails: Removed the following testcase
701 because it passes now:
702 FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
703 (number 1)
704
34998d6b
MK
7052003-12-30 Michael Koch <konqueror@gmx.de>
706
707 * java/io/ObjectInputStream.java,
708 java/io/ObjectOutputStream.java,
709 java/io/ObjectStreamClass.java:
710 Reformated, no functional code changes.
711
f04f5b1f
MK
7122003-12-30 Michael Koch <konqueror@gmx.de>
713
714 * gnu/java/net/protocol/http/Connection.java
715 (outputStream): New field.
716 (bufferedOutputStream): New field.
717 (connect): Initialize outputStream and bufferedOutputStream.
718 (sendRequest): Create PrintWriter object from outputStream,
719 support HTTP 1.1, send missing HTTP headers and buffered output data
720 for POST method.
721 (getOutputStream): Set request method to POST if output stream is
722 used, return bufferedOutputStream.
723 (setRequestMethod): Allow HEAD and POST methods.
724 This fixes libgcj PR/6302 and libgcj PR/7752.
725
50e8c419
GL
7262003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
727
728 * java/io/LineNumberReader.java
729 (countLines): Removed.
730 (fill): New private method.
731 (mark): Changed logic to use and matchedNewLine.
732 (reset): Likewise.
733 (read): Likewise.
734 (skipRedundantLF): Likewise.
735
b976c2fc
MK
7362003-12-30 Michael Koch <konqueror@gmx.de>
737
738 * gnu/java/net/protocol/http/Connection.java
739 (requestProperties): New field.
740 (addRequestProperty): New method.
741 (getRequestProperty): New method.
742 (setRequestProperty): New method.
743 (getRequestProperties): New method.
744
9f88b919
MK
7452003-12-28 Michael Koch <konqueror@gmx.de>
746
747 * gnu/java/net/protocol/http/Connection.java
748 (inputStream): Made it a DataInputStream.
749 (requestProperties): Removed.
750 (hdrHash): Removed.
751 (hdrVec): Removed.
752 (headers): New field to store headers.
753 (connect): Initialize inputStream.
754 (receiveReply): Merged from classpath. The new algorithm is line based
755 instead of character based.
756 (getHeaderField): Use headers.
757 (getHeaderFields): Use headers.
758 (getKey): Removed.
759 (getField): Removed.
760 * gnu/java/net/HeaderFieldHelper.java: New file.
761 * Makefile.am (ordinary_java_source_files):
762 Added gnu/java/net/HeaderFieldHelper.java.
763 * Makefile.in: Regenerated.
764
920be544
GL
7652003-12-28 Guilhem Lavaux <guilhem@kaffe.org>
766
767 * java/io/LineNumberReader.java
768 (mark): Improved error checking.
769 (read): Likewise.
770 (skip): Likewise. Skip is now really eating the specified number of
771 characters.
772 * java/io/CharArrayReader.java (read): It should throw
773 IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
774 mauve).
775 * java/io/BufferedReader.java (readLine): Make readLine() really block
776 until either EOF is reached or a true error happens.
777
bb6d84f3
MK
7782003-12-27 Michael Koch <konqueror@gmx.de>
779
780 * gnu/java/net/protocol/http/Connection.java
781 (getRequestProperty): Removed.
782 (setRequestProperty): Removed.
783
82ebe78b
MK
7842003-12-27 Michael Koch <konqueror@gmx.de>
785
786 * gnu/java/net/protocol/http/Connection.java
787 (connect): Call receiveReply().
788 (receiveReply): Renamed from getHttpHeaders().
789 (getOutputStream): Moved check on doOutput before check for connection
790 state.
791
5bd1d00e
MK
7922003-12-27 Michael Koch <konqueror@gmx.de>
793
794 * javax/print/attribute/ResolutionSyntax.java,
795 javax/print/attribute/SetOfIntegerSyntax.java,
796 javax/print/attribute/Size2DSyntax.java,
797 javax/print/attribute/standard/Copies.java,
798 javax/print/attribute/standard/JobImpressions.java,
799 javax/print/attribute/standard/JobMediaSheets.java,
800 javax/print/attribute/standard/NumberOfDocuments.java,
801 javax/print/attribute/standard/NumberOfInterveningJobs.java,
802 javax/print/attribute/standard/PagesPerMinute.java,
803 javax/print/attribute/standard/PagesPerMinuteColor.java,
804 javax/print/attribute/standard/QueuedJobCount.java:
805 Fixed typo (s/then/than/).
806
a4dc20a9
GL
8072003-12-27 Guilhem Lavaux <guilhem@kaffe.org>
808
809 * java/rmi/Naming.java (lookup): Check if the first character of the
810 filename returned by URL.getFile() is a '/', only if it is the case
811 we cut this first character and call the registry with the good name.
812 (bind): Likewise.
813 (rebind): Likewise.
814
45d51d7e
GL
8152003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
816 Mark Wielaard <mark@klomp.org>
817
818 * java/io/BufferedReader.java (BufferedReader):
819 Throw IllegalArgumentException when size <= 0.
820 (mark): Document and better exception message for negative
821 readLimit IllegalArgumentException.
822 (read(char[],int,int)): Throw IndexOutOfBoundsException
823 if offset and count are not valid regarding buf.
824 (skip): Throw IllegalArgumentException when count is negative.
825
88f2e103
GL
8262003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
827
828 * java/io/FileInputStream.java
829 (FileInputStream(String)): Call FileInputStream(File).
830 (FileInputStream(File)): Check whether the argument is a directory.
831
65ae2666
MK
8322003-12-26 Michael Koch <konqueror@gmx.de>
833
834 * Makefile.am (rmi_java_source_files):
835 Added gnu/java/rmi/server/RMIVoidValue.java.
836 * Makefile.in: Regenerated.
837
38910ebb
GL
8382003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
839 Mark Wielaard <mark@klomp.org>
840
841 * gnu/java/rmi/server/UnicastConnectionManager.java
842 (startScavenger): Set the client connection manager to daemon
843 state because it may block clients until TIMEOUT is reached
844 when they are exiting.
845
846 * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
847 a void return.
848
849 * gnu/java/rmi/server/UnicastRemoteCall.java
850 (DummyOutputStream): Add a boolean before each written field to
851 know whether it is a primitive.
852 (releaseOutputStream): Flush parameters at write time.
853
854 * gnu/java/rmi/server/UnicastServerRef.java
855 (incomingMessageCall): Return a RMIVoidValue if no value is to be
856 returned.
857
858 * gnu/java/rmi/server/UnicastServer.java
859 (incomingMessageCall): Do not write a returned object if it is
860 a RMIVoidValue.
861
365fc276
AT
8622003-12-25 Andreas Tobler <a.tobler@schweiz.ch>
863
864 * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for
865 darwin. Fixed by fixinclude now.
866
d9a81e87
MK
8672003-12-25 Michael Koch <konqueror@gmx.de>
868
869 * java/net/ServerSocket.java bind():
870 If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
871 address to bind to.
872
692fb023
GL
8732003-12-23 Guilhem Lavaux <guilhem@kaffe.org>
874
875 * java/io/ObjectInputStream.java
876 (getField): Handle transient and non persistent fields.
877 (readClassDescriptor): Better error handling, use the right
878 class loader.
879 (readFields): Fields marked as not present in the stream
880 or not to be set are not read and set.
881 * java/io/ObjectInputStream.java
882 (readFields): Changed implementation of GetField.
883 (readClassDescriptor): Documented.
884 * java/io/ObjectOutputStream.java
885 (writeClassDescriptor): Added condition when to write class super
886 class information.
887
baba70d0
FN
8882003-12-22 Fernando Nasser <fnasser@redhat.com>
889
890 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
891 (choicePostItemEvent): Change signature to more specific String object.
892 * java/awt/Choice.java (add): Generate ItemEvent for the first item
893 added.
894 (insert): Generate ItemEvent if insertion caused
895 selection to change.
896 (remove): Generate ItemEvent if removal cause selection to change.
897 (removeAll): Change algorithm to prevent generation of ItemEvents.
898 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
899 (connect_choice_item_selectable_hook): Change argument type.
900 Fix argument value.
901 Make sure resources are feed by registering callback.
902 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
903 above function.
904 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
905 (item_activate): Ditto.
906 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
907 menuitem.
908 (item_removed): New function. Free resources.
909 * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
910 name.
911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
912 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
913 choicePostItemEvent.
914
32a2571b
MK
9152003-12-23 Michael Koch <konqueror@gmx.de>
916
917 * javax/print/attribute/standard/Copies.java,
918 javax/print/attribute/standard/JobImpressions.java,
919 javax/print/attribute/standard/JobMediaSheets.java,
920 javax/print/attribute/standard/JobPriority.java,
921 javax/print/attribute/standard/NumberOfDocuments.java,
922 javax/print/attribute/standard/NumberOfInterveningJobs.java,
923 javax/print/attribute/standard/NumberUp.java,
924 javax/print/attribute/standard/PagesPerMinuteColor.java,
925 javax/print/attribute/standard/PagesPerMinute.java,
926 javax/print/attribute/standard/QueuedJobCount.java: New files.
927 * Makefile.am (ordinary_java_source_files): Added new files.
928 * Makefile.in: Regenerated.
929
c36d5c04
MK
9302003-12-23 Michael Koch <konqueror@gmx.de>
931
932 * javax/print/attribute/AttributeSetUtilities.java
933 (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
934 * javax/print/attribute/HashAttributeSet.java
935 (HashAttributeSet): Call internal add methods, added missing
936 exceptions.
937 (add): Call addInternal, added exceptions to documentation.
938 (addInternal): New method.
939 (addAll): Call addAllInternal, added exception to documentation.
940 (addAllInternal): New method.
941 (clear): Added exception to documentation.
942 (remove): Likewise.
943 * javax/print/attribute/URISyntax.java
944 (serialVersionUID): Fixed value.
945
a6444561
TF
9462003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com>
947
948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
949 (pre_event_handler): Don't dereference NULL focus_obj_ptr.
950
90f107de
MK
9512003-12-21 Michael Koch <konqueror@gmx.de>
952
953 * javax/print/attribute/AttributeSetUtilities.java,
954 javax/print/attribute/HashAttributeSet.java,
955 javax/print/attribute/HashDocAttributeSet.java,
956 javax/print/attribute/HashPrintJobAttributeSet.java,
957 javax/print/attribute/HashPrintRequestAttributeSet.java,
958 javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
959 * Makefile.am (ordinary_java_source_files): Added new files.
960 * Makefile.in: Regenerated.
961
eb77256b
MK
9622003-12-21 Michael Koch <konqueror@gmx.de>
963
964 * javax/print/attribute/EnumSyntax.java,
965 javax/print/attribute/SetOfIntegerSyntax.java: New files.
966 * Makefile.am (ordinary_java_source_files):
967 Added javax/print/attribute/EnumSyntax.java
968 and javax/print/attribute/SetOfIntegerSyntax.java.
969 * Makefile.in: Regenerated.
970
5b24813d
MK
9712003-12-21 Michael Koch <konqueror@gmx.de>
972
973 * javax/print/attribute/PrintJobAttribute.java,
974 javax/print/attribute/PrintJobAttributeSet.java,
975 javax/print/attribute/PrintRequestAttribute.java,
976 javax/print/attribute/PrintServiceAttribute.java,
977 javax/print/attribute/PrintServiceAttributeSet.java,
978 javax/print/attribute/SupportedValuesAttribute.java: New files.
979 * Makefile.am (ordinary_java_source_files): Added new files.
980 * Makefile.in: Regenerated.
981
b8ddbd2d
MK
9822003-12-21 Michael Koch <konqueror@gmx.de>
983
984 * javax/print/attribute/DateTimeSyntax.java,
985 javax/print/attribute/DocAttribute.java,
986 javax/print/attribute/DocAttributeSet.java,
987 javax/print/attribute/IntegerSyntax.java,
988 javax/print/attribute/ResolutionSyntax.java,
989 javax/print/attribute/Size2DSyntax.java,
990 javax/print/attribute/TextSyntax.java,
991 javax/print/attribute/URISyntax.java,
992 javax/print/attribute/UnmodifiableSetException.java: New files.
993 * Makefile.am (ordinary_java_source_files): Added new files.
994 * Makefile.in: Regenerated.
995
59bed4ca
MK
9962003-12-21 Michael Koch <konqueror@gmx.de>
997
998 * gnu/java/net/PlainDatagramSocketImpl.java
999 (mcastGrp): Added documentation.
1000
4e24f937
MK
10012003-12-20 Michael Koch <konqueror@gmx.de>
1002
1003 * gnu/java/net/protocol/jar/Connection.java
1004 (connectionCache): New field.
1005 (connect): New method.
1006 (getInputStream): New method.
1007 (hdrHash): New field.
1008 (hdrVec): New field.
1009 (gotHeaders): New field.
1010 (getHeaderField): New method.
1011 (getHeaderFields): New method.
1012 (getHeaderFieldKey): New method.
1013 (getKey): New method.
1014 (getField): New method.
1015 (getHeaders): New method.
1016 * java/net/JarURLConnection.java
1017 (connectionCache): Removed.
1018 (connect): Removed.
1019 (getInputStream): Removed.
1020 (hdrHash): Removed.
1021 (hdrVec): Removed.
1022 (gotHeaders): Removed.
1023 (getHeaderField): Removed.
1024 (getHeaderFields): Removed.
1025 (getHeaderFieldKey): Removed.
1026 (getKey): Removed.
1027 (getField): Removed.
1028 (getHeaders): Removed.
1029
70d26e81
MK
10302003-12-20 Michael Koch <konqueror@gmx.de>
1031
1032 * java/io/ObjectStreamField.java (isUnshared): Added documentation.
1033
677f99cc
ME
10342003-12-20 Mohan Embar <gnustuff@thisiscool.com>
1035
1036 * gnu/java/nio/SelectorImpl.java
1037 (selectThreadMutex): New field.
1038 (selectThread): New field.
1039 (unhandledWakeup): New field.
1040 (implCloseSelector): Added skeleton code which
1041 synchronizes as per Sun JRE JavaDoc.
1042 (keys): Throw ClosedSelectorException if selector
1043 is closed.
1044 (selectNow): Added comment that we're faking out
1045 an immediate select with a one-microsecond-timeout one.
1046 (select): Use 0 instead of -1 for infinite timeout.
1047 (implSelect): Changed comment in declaration.
1048 (select): Added synchronized to method declaration.
1049 Added synchronization and wakeup support as per Sun
1050 JRE JavaDoc.
1051 (selectedKeys): Throw ClosedSelectorException if selector
1052 is closed.
1053 (wakeup): Implemented.
1054 (deregisterCancelledKeys): Synchronize on cancelled key
1055 set before deregistering.
1056 (register): Synchronize on key set before registering.
1057 * java/nio/channels/spi/AbstractSelector.java
1058 Added import for java.nio.channels.ClosedSelectorException.
1059 (close): Added synchronized to method declaration.
1060 (cancelledKeys): Throw ClosedSelectorException if selector
1061 is closed.
1062 (cancelKey): Synchronize on cancelled key set before key.
1063
59687e18
MK
10642003-12-20 Michael Koch <konqueror@gmx.de>
1065
1066 * Makefile.am (ordinary_java_source_files):
1067 Added gnu.java.net.URLParseError.java.
1068 * Makefile.in: Regenerated.
1069
32ab41ed
GL
10702003-12-20 Guilhem Lavaux <guilhem@kaffe.org>
1071
1072 * gnu/java/net/URLParseError.java: New file.
1073 * gnu/java/net/protocol/jar/Handler.java
1074 (parseURL): Throw URLParseError if needed, fix '/' handling.
1075 * java/net/URL.java (URL): Catch URLParseError and
1076 transform it into a MalformedURLException.
1077
01da2667
MK
10782003-12-19 Michael Koch <konqueror@gmx.de>
1079
1080 * gnu/java/nio/ChannelOutputStream.java: New file.
1081 * java/nio/channels/Channels.java
1082 (newOutputStream): Implemented.
1083 * Makefile.am (ordinary_java_source_files)
1084 Added gnu/java/nio/ChannelOutputStream.java.
1085 * Makefile.in: Regenerated.
1086
a0687c1f
TF
10872003-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1088
1089 * java/awt/FlowLayout.java (layoutContainer): Let components
1090 assume their preferred height. Centre components vertically.
1091
26392535
MK
10922003-12-19 Michael Koch <konqueror@gmx.de>
1093
1094 * gnu/java/nio/ChannelInputStream.java: New file.
1095 * java/nio/channels/Channels.java (newInputStream): Implemented.
1096 * java/nio/channels/FileChannelImpl.java
1097 (readImpl): Only put data into buffer if something was read.
1098 * Makefile.am (ordinary_java_source_files):
1099 Added gnu/java/nio/ChannelInputStream.java.
1100 * Makefile.in: Regenerated.
1101
9175d628
MK
11022003-12-19 Michael Koch <konqueror@gmx.de>
1103
1104 * gnu/java/nio/OutputStreamChannel.java: New file.
1105 * java/nio/channels/Channels.java (newChannel): Implemented.
1106 * Makefile.am (ordinary_java_source_files):
1107 Added gnu/java/nio/OutputStreamChannel.java.
1108 * Makefile.in: Regenerated.
1109
71646cb7
MK
11102003-12-19 Michael Koch <konqueror@gmx.de>
1111
1112 * Makefile.am (ordinary_java_source_files):
1113 Added gnu.java.nio.InputStreamChannel.
1114 * Makefile.in: Regenerated.
1115
b8362a23
MK
11162003-12-19 Michael Koch <konqueror@gmx.de>
1117
1118 * gnu/java/nio/InputStreamChannel.java: New file.
1119 * java/nio/channels/Channels.java (newChannel): Implemented.
1120
c05fc0c2
MK
11212003-12-19 Michael Koch <konqueror@gmx.de>
1122
1123 * java/util/SimpleTimeZone.java
1124 (setStartRule): Reformated documentation.
1125 (setEndRule): Reworked documentation.
1126 (getDSTSavings): Fixed @since tag.
1127 (setDSTSavings): New method.
1128
b2fbbf56
MK
11292003-12-19 Michael Koch <konqueror@gmx.de>
1130
1131 * java/text/NumberFormat.java: Sorted imports.
1132 (getCurrency): New method.
1133 (setCurrency): New method.
1134
1135
f1af10c2
MK
11362003-12-19 Michael Koch <konqueror@gmx.de>
1137
1138 * java/text/MessageFormat.java
1139 (MessageFormat): New constructor.
1140
177dcc4b
MK
11412003-12-19 Michael Koch <konqueror@gmx.de>
1142
1143 * gnu/java/net/protocol/jar/Handler.java
1144 (parseURL): New method.
1145 (toExternalForm): New method.
1146
d416de05
FN
11472003-12-18 Fernando Nasser <fnasser@redhat.com>
1148
1149 * java/awt/List.java (replaceItem): Prevent selection to move with
1150 replace and minimize flickering.
1151
f37d2ca6
MK
11522003-12-18 Michael Koch <konqueror@gmx.de>
1153
1154 * libltdl/ltdl.c: Define __private_extern__ if needed.
1155
c09f797a
MK
11562003-12-18 Michael Koch <konqueror@gmx.de>
1157
1158 * libltdl/.cvsignore: Ignore autom4te.cache
1159 * libltdl/Makefile.in: Regenerated.
1160 * libltdl/aclocal.m4: Regenerated.
1161 * libltdl/acconfig.h: Removed (obsolete).
1162 * libltdl/config-h.in: Regenerated.
1163 * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
1164 * libltdl/configure: Regenerated.
1165
28e4696c
MK
11662003-12-18 Michael Koch <konqueror@gmx.de>
1167
1168 * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
1169 java.text.CollationElementIterator tests as they compile again.
1170 * testsuite/libjava.mauve/xfails: Added failing
1171 java.text.CollationElementIterator tests.
1172
a7296ae1
MK
11732003-12-18 Michael Koch <konqueror@gmx.de>
1174
1175 * java/util/prefs/AbstractPreferences.java
1176 (cachedChildren): New method.
1177
e969bcdb
MK
11782003-12-18 Michael Koch <konqueror@gmx.de>
1179
1180 * java/util/TimeZone.java (getOffset): New method.
1181
f84241ba
FN
11822003-12-17 Fernando Nasser <fnasser@redhat.com>
1183
1184 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1185 of ActionEvents for mouse double-clicks.
1186
11872003-12-17 Fernando Nasser <fnasser@redhat.com>
310b075b
FN
1188
1189 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
1190 null Graphics pointer returned by FileDialogPeer.
1191
8f0f6aa1
MK
11922003-12-17 Michael Koch <konqueror@gmx.de>
1193
1194 * libltdl/stamp-h.in: Removed, not used anymore.
1195
89c57110
ME
11962003-12-16 Mohan Embar <gnustuff@thisiscool.com>
1197
1198 * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
1199 Removed unused InterruptedIOException.h include.
1200 * gnu/java/net/natPlainSocketImplWin32.cc
1201 (connect): Reset and ignore our thread's interrupted
1202 flag instead of testing and throwing an InterruptedIOException
1203 if set.
1204 (accept): Likewise + changed case of SocketTimeoutException
1205 text.
1206 (write): Likewise (for both overloads).
1207 (doRead): Likewise.
1208
5cd4d463
ME
12092003-12-16 Mohan Embar <gnustuff@thisiscool.com>
1210
1211 * win32.cc (WSAEventWrapper): Implemented default
1212 constructor and init() methods.
1213 (_Jv_select): Removed.
1214 * gnu/java/nio/natSelectorImplWin32.cc
1215 (helper_put_filedescriptors): Removed.
1216 (helper_get_filedescriptors): Removed.
1217 (implSelect): Implemented in terms of WSAEventWrapper
1218 and WSAWaitForMultipleEvents instead of _Jv_select().
1219 Added support for thread interruption.
1220 * include/win32.h (WSAEventWrapper): Minor formatting
1221 changes; added default constructor declaration, init(),
1222 getFD() and getEventHandle() methods.
1223 (_Jv_select): Removed.
1224
027e655b
ME
12252003-12-16 Mohan Embar <gnustuff@thisiscool.com>
1226
1227 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1228 (peekData): Throw SocketTimeoutException instead of
1229 InterruptedIOException on timeout.
1230 (receive): Likewise.
1231 * gnu/java/net/natPlainSocketImplPosix.cc
1232 (read): Made a minor exception text case change.
1233
9e129d90
MK
12342003-12-16 Michael Koch <konqueror@gmx.de>
1235
1236 Fix for PR libgcj/13056.
1237 * libltdl/configure.in,
1238 libltdl/config.h.in: Removed.
1239 * libltdl/configure.ac,
1240 libltdl/config-h.in,
1241 libltdl/install-sh,
1242 libltdl/config.guess,
1243 libltdl/config.sub,
1244 libltdl/missing,
1245 libltdl/mkinstalldirs,
1246 libltdl/ltmain.sh: New files.
1247 * libltdl/Makefile.am,
1248 libltdl/acinclude.m4,
1249 libltdl/aclocal.m4,
1250 libltdl/ltdl.c,
1251 libltdl/ltdl.h,
1252 libltdl/README: Update to versions from libtool 1.5.
1253 libltdl/configure,
1254 * libltdl/Makefile.in: Regenerated.
1255 * java/lang/natRuntime.cc (find_symbol):
1256 Use type 'lt_ptr' instead of 'lt_ptr_t'.
1257
08a5a9a6
MK
12582003-12-16 Michael Koch <konqueror@gmx.de>
1259
1260 * java/awt/MenuComponent.java
1261 (serialVersionUID): Fixed value.
1262
aeb54188
FN
12632003-12-16 Fernando Nasser <fnasser@redhat.com>
1264
1265 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1266 (pre_event_handler): Handle GtkButton widgets differently as events
1267 go to its event_window.
1268 (connect_awt_hook): Remove compiler warning.
1269
649a1a47
GL
1270i2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1271
1272 * java/io/ObjectInputStream.java
1273 (lookupClass): New method.
1274 (currentLoader): New method.
1275 (inputGetObjectStreamClasses): New method.
1276 (assignNewHandle): Documented.
1277 (currentClassLoader): Documented.
1278 * java/io/ObjectStreamClass.java
1279 (setClass): Changed API. Better handling of the imported/exported
1280 fields.
1281 (getSerialPersistentFields): Make it throw previously caught exceptions
1282 so they can handled in setClass.
1283
7110657e
GL
12842003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1285
1286 * java/io/ObjectStreamField.java: A few methods were added in prevision
1287 of the upcoming upgrade of the serialization code. This also adds
1288 some missing documentation.
1289 (ObjectStreamField): We should throw a NullPointerException when 'name'
1290 is null.
1291
9a3a96d0
GL
1292 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1293
1294 * java/io/ObjectInputStream.java (setBooleanField):
1295 Throw an InvalidClassException if the field hasn't the required type,
1296 documentation added.
1297 (setByteField) Likewise.
1298 (setCharField) Likewise.
1299 (setDoubleField) Likewise.
1300 (setFloatField) Likewise.
1301 (setIntField) Likewise.
1302 (setShortField) Likewise.
1303 (setLongField) Likewise.
1304 (setObjectField) Likewise.
1305
5ecc3a76
GL
13062003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1307 Helmer Kraemer <hkraemer@freenet.de>
1308
1309 * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1310 Splitted the method so we can specify an explicit boot loader.
1311
61a8f1ed
GH
13122003-12-15 Graydon Hoare <graydon@redhat.com>
1313
1314 * jni/gtk-peer/gdkfont.h: New file.
1315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1316 include of cairo-xlib.h, add extra gdk_flush().
1317
7ecd4576
FN
13182003-12-12 Fernando Nasser <fnasser@redhat.com>
1319
1320 * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1321 native state table -- native_global_ref_table.
1322 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1323 native_global_ref_table pointer.
1324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1325 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1326 global reference is deleted and memory allocated for pointer freed.
1327 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1328 JNI global reference instead of JNI local reference.
1329 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1330 (pre_event_handler): Remove compilation warning.
1331 (connect_awt_hook): Use saved JNI global reference instead of creating
1332 a new one.
1333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1334 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1335 reference to the Java object.
1336 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1337 unused variable declaration and add comment.
1338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1339 (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1340 reference to the Java object.
1341 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1342 (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1344 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1345 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1346 JNI global reference instead of JNI local reference.
1347 (item_toggled): Add debug statement.
1348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1349 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1350 reference to the Java object.
1351 (connect_choice_item_selectable_hook): Use saved JNI global references
1352 instead of JNI local reference.
1353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1354 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1355 global reference to the Java object.
1356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1357 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1358 reference to the Java object.
1359 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1360 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1362 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1364 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1365 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1366 (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1367 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1368 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1369 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1370 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1372 (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1373 (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1374 JNI global reference instead of JNI local reference.
1375 (item_selected): Add debug statement.
1376 (item_unselected): Add debug statement.
1377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1378 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1379 reference to the Java object.
1380 Connect "activate" signal handler using global JNI reference.
1381 (connect_activate_hook): Removed in favor of inline code.
1382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1383 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1384 reference to the Java object.
1385 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1386 JNI global reference instead of JNI local reference. Add FIXME comment.
1387 (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1388 reference to the Java object. Add FIXME comment.
1389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1390 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1391 reference to the Java object.
1392 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1393 JNI global reference instead of JNI local reference.
1394 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1395 (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1396 saved JNI global reference instead of JNI local reference.
1397 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1398 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1399 reference to the Java object.
1400 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1401 JNI global reference instead of JNI local reference.
1402
226c4112
MK
14032003-12-11 Michael Koch <konqueror@gmx.de>
1404
1405 * java/text/Format.java (serialVersionUID): Fixed value.
1406
7b9b3ed3
MK
14072003-12-11 Michael Koch <konqueror@gmx.de>
1408
1409 * javax/naming/event/EventDirContext.java: Jalopied.
1410 (addNamingListener): Fixed typo in method name.
1411
1412
c1fb3625
ME
14132003-12-11 Mohan Embar <gnustuff@thisiscool.com>
1414
1415 * gnu/java/nio/SocketChannelImpl.java
1416 (write): Removed diagnostic trace.
1417 * gnu/java/nio/natSelectorImplPosix.cc: Added
1418 includes for java.lang.Thread and java.io.InterruptedIOException.
1419 (helper_put_filedescriptors): Don't put invalid file descriptors
1420 in select set.
1421 (helper_get_filedescriptors): Clear invalid file descriptors
1422 from select set.
1423 (helper_reset): New method for clearing our file descriptor
1424 array.
1425 (implSelect): Correctly calculate timeout if specified and
1426 legal.
1427 Intercept and deal with any java.io.InterruptedIOException
1428 thrown by _Jv_select().
1429
834b1209
FN
14302003-12-08 Fernando Nasser <fnasser@redhat.com>
1431
1432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1433 Most coded moved to pre_event_handler, with the modifications
1434 mentioned below.
1435 (pre_event_handler): New function. Called on the Gtk "event" signal.
1436 Do not retrieve the jobject from the window property as it is already
1437 available as user data in the signal.
1438 Do not try and find the grab widget as it is already done by Gtk at
1439 this point.
1440 Do not search for Window ancestor as Gtk already sends the signal to it.
1441 Do not meddle with the activation state of peer widgets on each
1442 key press or release.
1443 Add CList to the special handling when looking for the focused widget.
1444 * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1445 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1446 New function.
1447 (connectSignals): New function.
1448 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1449 Rename to...
1450 (connectSignals): New name. Get rid of NewGlobalRef call.
1451 Use g_signal_connect instead of deprecated gtk_signal_connect.
1452 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1453 (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1454 deprecated gtk_signal_connect.
1455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1457 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1458 (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1459 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1460 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1461 function.
1462 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1463 function.
1464 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1465 function.
1466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1467 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1468 function.
1469 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1470 function.
1471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1472 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1473 function.
1474 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1475 function.
1476 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1477 function.
1478 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1479 code.
1480 (item_select): Remove indirection.
1481 (item_unselect): Ditto.
1482 (connect_selectable_hook): Folded into connectSignals.
1483 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1484 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1485 function.
1486 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1487 function.
1488 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1489 function.
1490 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1491 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1493 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1494 function.
1495 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1496 function.
1497 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare and call
1498 connectJObject and connectSignals instead of connectHooks.
1499 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1500 connectSignals.
1501 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1502 and not connectHooks.
1503 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1504 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1505 and not connectHooks.
1506 * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1507 connectSignals instead of connectHooks.
1508 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1509 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1510 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto.
1511
579ed987
MK
15122003-12-09 Michael Koch <konqueror@gmx.de>
1513
1514 * Makefile.am (nat_headers_install): New variable with header files to
1515 install automatically.
1516 (install-data-local): Install all headers listed in
1517 nat_headers_install. Install innert nat headers explicitely.
1518 * Makefile.in: Regenerated.
1519
3a7ab7e8
MK
15202003-12-09 Michael Koch <konqueror@gmx.de>
1521
1522 * java/util/Calendar.java,
1523 java/util/IdentityHashMap.java,
1524 java/util/prefs/Preferences.java:
1525 Import used classes explicitely.
1526
defd7921
MK
15272003-12-09 Michael Koch <konqueror@gmx.de>
1528
1529 * java/net/DatagramSocket.java
1530 (close): Directly return if socket is closed.
1531 * java/net/ServerSocket.java
1532 (close): Directly return if socket is closed.
1533 * java/net/Socket.java
1534 (close): Directly return if socket is closed.
1535
25a23f3b
MK
15362003-12-09 Michael Koch <konqueror@gmx.de>
1537
1538 * gnu/java/nio/SelectorImpl.java
1539 (implSelect): Throws IOException.
1540 (select): Likewise.
1541
bc67c73d
KH
15422003-12-08 Kim Ho <kho@redhat.com>
1543
1544 Fix for Checkbox states.
1545 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1546 (currentState): New field.
1547 (nativeCreate): Add initial state parameter.
1548 (create): Changed to reflect new parameter.
1549 (setState): Fire only on changed states.
1550 (postItemEvent): Fire only on changed states. Also change the
1551 Java Checkbox to reflect new state.
1552 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1553 (nativeCreate): Add parameter and set active state.
1554
82650cb7
FN
15552003-12-08 Fernando Nasser <fnasser@redhat.com>
1556
1557 * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1558 object of type expected by specified DataFlavor.
1559
453d6cba
FN
15602003-12-08 Fernando Nasser <fnasser@redhat.com>
1561
1562 * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1563 error which was clipping off the first character of a parameter value.
1564
1616b0d5
OR
15652003-12-08 Olga Rodimina <rodimina@redhat.com>
1566
1567 * java/awt/Polygon.java
1568 (translate): Fixed error that caused polygon
1569 to move right/left when up/down translation was required.
1570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1571 (getSelectionStart): Initialized start position to 0.
1572 (getSelectionEnd): Initialized end position to 0.
1573 (getCaretPosition): Initialized caret position to 0.
1574 (getText): Initialized selected text to NULL
1575
cfeb18db
MK
15762003-12-08 Michael Koch <konqueror@gmx.de>
1577
1578 Fix for PR libgcj/13176.
1579 * java/io/PrintStream.java: Partly revert my previous patches to get
1580 (line_separator): New field.
1581 (converter): New field.
1582 (work): New field.
1583 (work_bytes): New field.
1584 (pw): Removed.
1585 (closed): Removed.
1586 (PrintStrean): Initialize converter and not pw.
1587 (checkError): Flush always, pw doesn't exist anymore.
1588 (close): Close underlying out stream.
1589 (print): New method.
1590 (writeChars): New method.
1591 (print): Use new internal print method.
1592 (println): Likewise.
1593
0f46e428
BM
15942002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
1595
4e8537ae
BM
1596 * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1597 putAllInternal.
0f46e428
BM
1598 (putAllInternal): Correct comment.
1599 * java/util/HashMap.java (HashMap(Map)): As above.
1600 (putAllInternal): As above.
1601
eb1e64ef
BM
16022002-12-08 Bryce McKinlay <bryce@mckinlay.net.nz>
1603
1604 * java/util/Hashtable.java (internalContainsValue): Removed.
1605 (containsValue): Don't delegate to internalContainsValue.
1606
929a3294
MK
16072003-12-06 Michael Koch <konqueror@gmx.de>
1608
1609 * javax/naming/directory/Attribute.java,
1610 javax/naming/directory/Attributes.java,
1611 javax/naming/directory/DirContext.java,
1612 javax/naming/directory/InitialDirContext.java,
1613 javax/naming/directory/SearchResult.java,
1614 javax/naming/event/EventContext.java,
1615 javax/naming/event/NamingEvent.java,
1616 javax/naming/event/NamingExceptionEvent.java,
1617 javax/naming/ldap/ControlFactory.java,
1618 javax/naming/ldap/ExtendedRequest.java,
1619 javax/naming/ldap/HasControls.java,
1620 javax/naming/ldap/InitialLdapContext.java,
1621 javax/naming/ldap/LdapContext.java,
1622 javax/naming/ldap/LdapReferralException.java,
1623 javax/naming/ldap/UnsolicitedNotification.java,
1624 javax/naming/ldap/UnsolicitedNotificationListener.java,
1625 javax/naming/spi/DirObjectFactory.java,
1626 javax/naming/spi/DirStateFactory.java,
1627 javax/naming/spi/DirectoryManager.java,
1628 javax/naming/spi/NamingManager.java,
1629 javax/naming/spi/ObjectFactoryBuilder.java,
1630 javax/naming/spi/ResolveResult.java,
1631 javax/naming/spi/Resolver.java,
1632 javax/naming/spi/StateFactory.java:
1633 Import used classes explicitely.
1634
b3e4bb03
SG
16352003-12-05 Scott Gilbertson <scottg@mantatest.com>
1636
1637 * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1638 (clip): Removed field
1639 (clipRectangles): New field.
1640 (clone): Use new updateClip.
1641 (setClipRectangles): Use new updateClip.
1642 * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1643
a0a8f530
MK
16442003-12-04 Michael Koch <konqueror@gmx.de>
1645
1646 * java/io/FilePermission.java:
1647 Import used classes explicitely.
1648
cb611e3e
MK
16492003-12-04 Michael Koch <konqueror@gmx.de>
1650
1651 * java/beans/BeanDescriptor.java,
1652 java/beans/EventSetDescriptor.java,
1653 java/beans/FeatureDescriptor.java,
1654 java/beans/IndexedPropertyDescriptor.java,
1655 java/beans/Introspector.java,
1656 java/beans/MethodDescriptor.java,
1657 java/beans/PropertyDescriptor.java,
1658 java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1659 * java/beans/beancontext/BeanContextServicesSupport.java
1660 (serialVersionUID): New field.
1661
02bec8cb
MK
16622003-12-04 Michael Koch <konqueror@gmx.de>
1663
1664 * java/awt/MenuComponent.java: Import java.io.Serialization.
1665 * java/awt/MenuItem.java: Likewise.
1666 * java/awt/TextComponent.java: Likewise.
1667 * java/awt/image/ImagingOpException.java
1668 (serialVersionUID): Fixed.
1669
89231ff0
MK
16702003-12-04 Michael Koch <konqueror@gmx.de>
1671
1672 * gnu/java/net/protocol/http/Connection.java
1673 (sendRequest): Merged writing http headers with classpath.
1674 (getInputStream): Merged documentation from classpath.
1675 (getHeaderField): Likewise.
1676 (getHeaderFieldKey): Likewise.
1677
a9f8f33a
MK
16782003-12-04 Michael Koch <konqueror@gmx.de>
1679
1680 * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1681
47791352
MK
16822003-12-04 Michael Koch <konqueror@gmx.de>
1683
1684 * java/net/DatagramPacket.java
1685 (length): Made packge-private to make it accessible via CNI.
1686 (maxlen): New field.
1687 (DatagramPacket): Cleaned up.
1688 (setSocketAddress): Add message to exception.
1689 (setData): Call other setData().
1690 (setData): Call setLength().
1691 (setLength): Initialize maxlen too.
1692 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1693 Get maximal length from maxlen field, set length field directly.
1694 (receive): Likewise.
1695 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1696 Get maximal length from maxlen field, set length field directly.
1697 (receive): Likewise.
1698
148c8e7b
ME
16992003-12-03 Mohan Embar <gnustuff@thisiscool.com>
1700
1701 * gnu/java/nio/natSelectorImplPosix.cc
1702 (implSelect): A timeout of 0 means an infinite
1703 timeout.
1704
26d86d94
FN
17052003-12-02 Fernando Nasser <fnasser@redhat.com>
1706
1707 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1708 of ActionEvents.
1709
b7e0ff45
MK
17102003-12-03 Michael Koch <konqueror@gmx.de>
1711
1712 * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1713 * java/lang/natClass.cc (getSigners): Likewise.
1714 (setSigners): Likewise.
1715
83c02e38
ME
17162003-12-02 Mohan Embar <gnustuff@thisiscool.com>
1717
1718 * configure.in: Added new MinGW-specific configure flag
1719 --with-win32-nlsapi.
1720 Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1721 Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1722 is set to unicows.
1723 * configure: Rebuilt.
1724 * include/config.h.in: Rebuilt.
1725 * win32.cc (_Jv_Win32NewString): Implemented.
1726 (nativeToUnicode): New helper function defined only for
1727 non-UNICODE builds.
1728 (unicodeToNative): Likewise.
1729 (_Jv_Win32TempString): Implemented.
1730 (lots): Refactored using tchar.h macros.
1731 (WSAEventWrapper): Use _Jv_Win32NewString.
1732 (_Jv_platform_initialize): Use GetModuleFileNameA instead
1733 of GetModuleFileName.
1734 (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1735 Use temporary stack buffer instead of a heap buffer.
1736 * include/win32.h
1737 Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1738 defined; added tchar.h include.
1739 (_Jv_Win32TempString): Declared new helper class.
1740 (JV_TEMP_STRING_WIN32): New helper macro.
1741 (_Jv_Win32NewString): Declared new helper method.
1742 * java/io/natFileDescriptorWin32.cc (open): Use
1743 JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1744 (write): Reformatted slightly.
1745 * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1746 use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1747 (getCanonicalPath): Use _Jv_Win32NewString instead of
1748 JvNewStringUTF.
1749 (performList): Likewise.
1750 * java/lang/natWin32Process.cc (ChildProcessPipe):
1751 Use tchar.h macros.
1752 (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1753 and UNICODE environment flag for CreateProcess.
1754 * java/net/natNetworkInterfaceWin32.cc
1755 (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1756 _Jv_Win32NewString.
1757
49246a52
TF
17582003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1759
5f8a45f7
TF
1760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1761 (initState): Mark obj parameter as unused.
1762 (stringWidth): Mark obj parameter as unused. Initialize
1763 font_name properly.
1764
49246a52
TF
1765 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1766 BufferedImageBuilder class static.
1767
0548bb4a
MW
17682003-12-02 Mark Wielaard <mark@klomp.org>
1769
1770 * java/security/Security.java: Don't use &nbsp; in the api doc.
1771
23757fa5
DT
17722003-12-02 Dalibor Topic <robilad@kaffe.org>
1773
1774 Reported by: Jim Pick <jim@kaffe.org>
1775 * libraries/javalib/java/util/Hashtable.java
1776 (internalcontainsValue): New method.
1777 (contains): Delegate to internalContainsValue.
1778
1779 Reported by: Mark Wielaard <mark@klomp.org>
1780 * libraries/javalib/java/util/Hashtable.java
1781 (contains): Improved comment.
1782
1783 Reported by: Jeroen Frijters <jeroen@frijters.net>
1784 * libraries/javalib/java/util/Hashtable.java
1785 (containsValue): Delegate to contains(Object) to make sure older
1786 code overwriting it continues to work.
1787
a1045386
FN
17882003-12-02 Fernando Nasser <fnasser@redhat.com>
1789
1790 * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1791 method. Handle mouse and key events that must generate
1792 ActionEvents.
1793 * java/awt/List.java (getSelectedIndex): Return -1
1794 if no list element is selected.
1795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1796 Correct handling of mouse and key events so that List receives them.
1797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1798 (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1799 multiple list elements.
1800
10590d37
IK
18012003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
1802
1803 * java/text/SimpleDateFormat.java (compileFormat):
1804 isLowerCase() and isUpperCase() allow too many characters.
1805 Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1806
3c22b666
DT
18072003-12-02 Dalibor Topic <robilad@kaffe.org>
1808
1809 * java/text/FieldPosition.java (equals): Fixed comment.
1810
54cfd519
MW
18112003-12-02 Mark Wielaard <mark@klomp.org>
1812
1813 Reported by Archie Cobbs:
1814 * java/security/DigestInputStream.java (read(byte[], int, int): Call
1815 digest.update() with temp, not len as lenght.
1816
c531dd01
MK
18172003-12-02 Michael Koch <konqueror@gmx.de>
1818
1819 * java/net/DatagramSocket.java
1820 (close): Close associated DatagramChannel object.
1821 * java/net/ServerSocket.java
1822 * java/net/Socket.java
1823 (close): Reset impl and bound before calling getChannel().close() to
1824 prevent from loops.
1825
d9b526cc
MK
18262003-12-02 Michael Koch <konqueror@gmx.de>
1827
1828 * java/nio/channels/spi/AbstractInterruptibleChannel.java
1829 (opened): Removed.
1830 (closed): New field.
1831 (close): Check of channel is closed already.
1832 (isOpen): Return !closed.
1833
598e749d
MK
18342003-12-02 Michael Koch <konqueror@gmx.de>
1835
1836 * gnu/java/nio/DatagramChannelImpl.java
1837 (blocking): Initialize with true by default.
1838 * gnu/java/nio/ServerSocketChannelImpl.java
1839 (serverSocket): Made private.
1840 (blocking): Likewise.
1841 (connected): Likewise.
1842 * gnu/java/nio/SocketChannelImpl.java
1843 (connectionPending): Made private.
1844 * gnu/java/nio/FileLockImpl.java
1845 (static): Load native library (needed for classpath).
1846 * gnu/java/nio/SelectorImpl.java
1847 (static): Load native library (needed for classpath).
1848
a74e3b77
MK
18492003-12-02 Michael Koch <konqueror@gmx.de>
1850
1851 * gnu/java/net/protocol/file/Connection.java
1852 (getLastModified): Implement for file connections.
1853 (getContentLength): Likewise.
1854
84ebbc67
MK
18552003-12-02 Michael Koch <konqueror@gmx.de>
1856
1857 * gnu/java/net/protocol/file/Connection.java:
1858 Some reformating.
1859 (file): Renamed from fileIn.
1860 (getPermission): Moved around.
1861
83f85f9c
MK
18622003-12-02 Michael Koch <konqueror@gmx.de>
1863
1864 * gnu/java/net/protocol/jar/Connection.java
1865 (Connection): Made class final, merged documentation with classpath.
1866 (file_cache): Made private.
1867 (jar_file): Renamed from jarfile.
1868
91305a1d
MK
18692003-12-02 Michael Koch <konqueror@gmx.de>
1870
1871 * gnu/java/net/protocol/http/Connection.java
1872 (Connection): Initialize doOutput to false;
1873 (connect): Initialize inputStream, moved "send request" code to new
1874 method.
1875 (sendRequest): New method.
1876 (getHttpHeaders): Don't reinitialize inputStream.
1877
2b95402c
MK
18782003-12-02 Michael Koch <konqueror@gmx.de>
1879
1880 * gnu/java/net/protocol//http/Connection.java
1881 (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1882 (requestProperties): Initialize, documentation added.
1883 (inputStream): Renamed from bufferedIn.
1884 (Connection): Dont initialize requestProperties.
1885 (setDefaultRequestProperty): Removed.
1886 (getDefaultRequestProperty): Removed.
1887 (usingProxy): Documentation added.
1888 (getHttpHeaders): Likewise.
1889
920ca197
MK
18902003-12-02 Michael Koch <konqueror@gmx.de>
1891
1892 * java/text/DateFormat.java:
1893 Explicitely import used classes.
1894
c353d6a4
JS
18952003-12-01 Jeff Sturm <jsturm@one-point.com>
1896
1897 * verify.cc (state::clean_subrs): Clear seen_subrs.
1898 (state::copy): Walk seen_subrs from copy, not `this'.
1899 Don't clear seen_subrs.
1900
85fa3bde
KH
19012003-12-01 Kim Ho <kho@redhat.com>
1902
1903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1904 Disable wrapping if TextArea has horizontal scroll bars.
1905
bebae710
TF
19062003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1907
bb9cfd00
TF
1908 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1909 (awt_event_handler): Hard-code inset values.
1910
bebae710
TF
1911 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1912 Pass font name, not XLFD, to initState.
1913 (stringWidth(String, int, String)): New method.
1914 (stringWidth(String)): Call new stringWidth.
1915 (getLeading): Always return 0.
1916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1917 (initState): New Pango implementation.
1918 (stringWidth): Likewise.
1919
ea91ed09
OR
19202003-12-01 Olga Rodimina <rodimina@redhat.com>
1921
1922 * java/awt/TextComponent.java:
1923 (getSelectionStart): Updated javadocs.
1924 (getSelectionEnd): Ditto.
1925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1926 (getSelectionStart): Changed to return caret position if no
1927 text is selected
1928 (getSelectionEnd): Ditto.
1929
24fb8b78
TF
19302003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1931
aa66a642
TF
1932 * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1933 gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1934 gnu/awt/gtk/GtkContainerPeer.java,
1935 gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1936 gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1937 gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1938 gnu/awt/gtk/natGtkComponentPeer.cc,
1939 gnu/awt/gtk/natGtkContainerPeer.cc,
1940 gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1941 gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1942 gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1943
24fb8b78
TF
1944 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1945 (closed): Mark loader parameter as unused.
1946
8325a4ec
MK
19472003-12-01 Michael Koch <konqueror@gmx.de>
1948
1949 * gnu/java/net/protocol/http/Connection.java
1950 (Connection): Merged class documentation.
1951 (socket): Renamed from sock.
1952 (Connection): Made protected, documentation added.
1953 (connect): Give URL'S host instead of InetAddress to Socket
1954 constructor.
1955 (disconnect): Documentation added.
1956 (getOutputStream): Rewrapped.
1957
1fa7e0fd
MK
19582003-12-01 Michael Koch <konqueror@gmx.de>
1959
1960 * gnu/java/net/protocol/file/Connection.java
1961 (fileIn): Documentation added.
1962 (inputStream): Likewise.
1963 (outputStream): Likewise.
1964 (Connection): Likewise.
1965 (connect): Simplified.
1966
ec22cdf1
TF
19672003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1968
1969 * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1970 setProperties): Check that io is not null before calling
1971 io.imageUpdate.
1972 * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1973 Update javadocs.
1974 * java/awt/image/PixelGrabber.java: Fix implementation and
1975 update javadocs.
1976
a1ff4c64
MK
19772003-12-01 Michael Koch <konqueror@gmx.de>
1978
1979 * gnu/java/net/natPlainSocketImplPosix.cc
1980 bind(): Dont set SockedImpl.address field on succesful bind.
1981 * gnu/java/net/natPlainSocketImplWin32.cc
1982 bind(): Likewise.
1983
d7f16c2b
MK
19842003-11-30 Jeff Sturm <jsturm@one-point.com>
1985
1986 * java/net/InetAddress.java:
1987 (static): Don'f force DNS request for ANY_IF address.
1988
19892003-11-30 Michael Koch <konqueror@gmx.de>
1990
1991 * java/net/InetAddress.java,
1992 java/net/natInetAddressNoNet.cc,
1993 java/net/natInetAddressPosix.cc,
1994 java/net/natInetAddressWin32.cc:
1995 Reverted my last patch.
1996
c3f322d8
MK
19972003-11-28 Michael Koch <konqueror@gmx.de>
1998
1999 * java/net/InetAddress.java
2000 (lookup): New method that doesnt lookup "0.0.0.0".
2001 (ImplLookup): Renamed from lookup.
2002 * java/net/natInetAddressNoNet.cc
2003 (ImplLookup): Renamed from lookup.
2004 * java/net/natInetAddressPosix.cc
2005 (ImplLookup): Renamed from lookup.
2006 * java/net/natInetAddressWin32.cc
2007 (ImplLookup): Renamed from lookup.
2008
bb6ed2ac
BM
20092003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2010
2011 * configure: Rebuilt.
2012 * configure.in: Require gtk and glib 2.2.0.
2013
4eec34e5
MK
20142003-11-27 Dalibor Topic <robilad@kaffe.org>
2015
2016 * java/text/FieldPosition.java (equals): Adapted to handle
2017 field_attribute. Added fast-circuit check for comparison to self.
2018 Replaced use of instanceof by getClass to fix symmetry for derived
2019 types.
2020 (toString): Adapted to handle field_attribute. Improved readability.
2021 (hashCode): New method.
2022
20232003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2024
2025 * java/text/FieldPosition.java (field_attribute): New field.
2026 (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
2027 getFieldAttribute): New methods.
2028
95f5c6a2
GL
20292003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2030
2031 * java/text/DecimalFormatSymbols.java (locale): New field.
2032 (DecimalFormatSymbols (Locale)): Set locale.
2033 (serialVersionOnStream): Upgraded to number 2.
2034 (readObject): Assign locale if it wasn't by the serializer.
2035
76167dc0
GL
20362003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2037
2038 * java/text/FormatCharacterIterator.java: Documented the class and
2039
20402003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2041
2042 * java/text/FormatCharacterIterator.java: Fixed some typos.
2043
a01387dd
MK
20442003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2045
2046 * java/text/NumberFormat.java:
2047 (getIntegerInstance) Added the java version in the comments.
2048
20492003-11-27 Mark Wielaard <mark@klomp.org>
2050
2051 * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
2052 (readResolve): Reformat.
2053
20542003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
2055
2056 * java/text/NumberFormat.java
2057 (NumberFormat.Field): New implemented class to match Java 1.4.
2058 (getIntegerInstance): Two new Java 1.4 methods.o
2059
33ebe68e
IK
20602003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
2061
2062 * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
2063 the leap day of the leap year twice.
2064 (computeFields): First week of month is 1 not 0.
2065
0e8c0c22
MW
20662003-11-27 Mark Wielaard <mark@klomp.org>
2067
2068 * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
2069 AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
2070
ad91feff
MK
20712003-11-27 Michael Koch <konqueror@gmx.de>
2072
2073 * javax/swing/UIDefaults.java:
2074 Reformated to match classpath's version.
2075
9121d16b
SB
20762003-11-27 Sascha Brawer <brawer@dandelis.ch>
2077
2078 * javax/swing/UIManager.java (getDefaults, getDimension,
2079 getIcon, getInsets, getInstalledLookAndFeels, getInt,
2080 getLookAndFeel, getString, getSystemLookAndFeelClassName):
2081 Declare as public.
2082
aef81a9a
SB
20832003-11-26 Sascha Brawer <brawer@dandelis.ch>
2084
2085 * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
2086 * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
2087 isSignificant): Likewise.
2088
20892003-11-26 Sascha Brawer <brawer@dandelis.ch>
2090
2091 * javax/swing/undo/CompoundEdit.java: Re-format, document.
2092 (inProgress): Set initial value to true.
2093 (undo, redo, die, canUndo, canRedo): Also call inherited
2094 implementation; simplify code structure.
2095 (getPresentationName, getUndoPresentationName,
2096 getRedoPresentationName): Make behavior dependent on lastEdit.
2097 (addEdit, isSignificant): Completely re-written.
2098
20992003-11-26 Sascha Brawer <brawer@dandelis.ch>
2100
2101 * javax/swing/undo/StateEdit.java: Re-format, document.
2102 (undo, redo): Also call inherited implementation.
2103
21042003-11-26 Sascha Brawer <brawer@dandelis.ch>
2105
2106 * javax/swing/undo/StateEditable.java: Re-format, document.
2107
21082003-11-26 Sascha Brawer <brawer@dandelis.ch>
2109
2110 * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
2111 (AbstractUndoableEdit): Initialize hasBeenDone to true.
2112 (canUndo, canRedo): Simplify.
2113 (getUndoPresentationName, getRedoPresentationName): Support
2114 localized message; call getPresentationName() only once.
2115
03e52420
DB
21162003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
2117
2118 * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
2119 (ZipFile(File,int)): Likewise.
2120
32ffbe92
SB
21212003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
2122
2123 * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
2124 (putAllInternal): Likewise.
2125 * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
2126 (putAllInternal): Likewise.
2127
cb5599c7
MK
21282003-11-26 Michael Koch <konqueror@gmx.de>
2129
2130 * java/net/URLStreamHandler.java
2131 (parseURL): Added comment in catch statement.
2132 (canonicalizeFilename): Add documentation.
2133 (sameURL): Completed documentation.
2134 (equals): Likewise.
2135 (hostsEqual): Likewise.
2136 (getDefaulPort): Likewise.
2137 (hashCode): Likewise.
2138 (toExternalForm): Likewise.
2139 (getHostName): Fix empty hostname check, completed documentation.
2140
f627fd15
TT
21412003-11-26 Tom Tromey <tromey@redhat.com>
2142
2143 * java/lang/natDouble.cc (parseDouble): Reverted patch of
2144 2003-11-13.
2145
6796826c
GL
21462003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
2147 Mark Wielaard <mark@klomp.org>
2148
2149 * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
2150 ('@' should be checked to distinguish port from userinfo).
2151 (toExternalForm): Add @ userInfo if necessary.
2152
2153
dddfde5f
MK
21542003-11-26 Michael Koch <konqueror@gmx.de>
2155
2156 * java/net/DatagramSocket.java
2157 (DategramSocket, bind): Moved binding code from DatagramSocket
2158 constructor to bind method.
2159
4aa74bd3
MK
21602003-11-26 Michael Koch <konqueror@gmx.de>
2161
2162 * java/net/DatagramSocket.java
2163 (impl): Made private.
2164 (bound): New private member variable.
2165 (DatagramSocket): Fixed documentation, use getImpl().
2166 (getImpl): New package-private method.
2167 (isClosed): Use getImpl().
2168 (getLocalAddress): Completed documentation, use getImpl().
2169 (getLocalPort): Use getImpl().
2170 (getSoTimeout): Likewise.
2171 (setSoTimeout): Likewise.
2172 (getSendBufferSize): Likewise.
2173 (setSendBufferSize): Likewise.
2174 (getReceiveBufferSize): Likewise.
2175 (setReceiveBufferSize): Likewise.
2176 (connect): Likewise.
2177 (disconnect): Likewise.
2178 (receive): Likewise.
2179 (send): Likewise.
2180 (setReuseAddress): Likewise.
2181 (setTrafficClass): Likewise.
2182 (bind): Added message to exception.
2183 (isClosed): Completed documentation.
2184 (getChannel): Likewise.
2185 (connect): Added missing exception, refined exception message.
2186 (isBound): Completed documentation, just return bound.
2187 (isConnected): Completed documentation.
2188 (getRemoteSocketAddress): Likewise.
2189 (getReuseAddress): Completed documentation, use getImpl().
2190 (setSoBroadcast): Likewise.
2191 (getSoBroadcast): Likewise.
2192 (getTrafficClass): Likewise.
2193 (getLocalSocketAddress): Simplified.
2194 * java/net/MulticastSocket.java
2195 (MulticastSocket): Removed comment not applying anymore.
2196 (getInterface): Use getImpl().
2197 (getTTL): Likewise.
2198 (getTimeToLive): Likewise.
2199 (setInterface): Likewise.
2200 (setNetworkInterface): Likewise.
2201 (getNetworkInterface): Likewise.
2202 (setLoopback): Likewise.
2203 (getLoopback): Likewise.
2204 (setTTL): Likewise.
2205 (setTimeToLive): Likewise.
2206 (joinGroup): Likewise.
2207 (leaveGroup): Likewise.
2208 (send): Likewise.
2209
948888e1
MK
22102003-11-26 Michael Koch <konqueror@gmx.de>
2211
2212 * java/net/Socket.java
2213 (implCreated): Dont set default value explicitely, added
2214 documentation.
2215 (inputShutdown): Likewise.
2216 (outputShutdown): Likewise.
2217 (bound): New private member variable.
2218 (bind): Set bound to true.
2219 (close): Set bound to false.
2220 (isBound): Return bound.
2221 * java/net/ServerSocket.java
2222 (bound): New private member variable.
2223 (bind): Set bound to true.
2224 (close): Set bound to false.
2225 (isBound): Return bound.
2226
a7c084ac
MK
22272003-11-26 Michael Koch <konqueror@gmx.de>
2228
2229 * java/net/URL.java
2230 (URL): Fixed documentation to be HTML compliant.
2231 (getContent): Completed documentation.
2232 (getFile): Likewise.
2233 (getPath): Likewise.
2234 (getAuthority): Likewise.
2235 (getHost): Likewise.
2236 (getDefaultPort): Likewise.
2237 (getProtocol): Likewise.
2238 (hashCode): Likewise.
2239 (openConnection): Likewise.
2240 (openStream): Likewise.
2241 (set): Likewise.
2242 (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2243
57a5c93b
MK
22442003-11-26 Michael Koch <konqueror@gmx.de>
2245
2246 * java/net/InetSocketAddress.java
2247 (hostname): Made private, added documentation.
2248 (addr): Likewise.
2249 (port): Likewise.
2250 (equals): Completed documentation.
2251 (getAddress): Likewise.
2252 (getHostName): Likewise.
2253 (getPort): Likewise.
2254 (hashCode): Likewise.
2255 (isUnresolved): Likewise.
2256 (toString): Likewise.
2257
6cf0ea4b
MK
22582003-11-26 Michael Koch <konqueror@gmx.de>
2259
2260 * gnu/java/net/protocol/file/Handler.java
2261 (Handler): New explicit constructor.
2262 (openConnection): Added documentation.
2263 * gnu/java/net/protocol/jar/Handler.java
2264 (Handler): New explicit constructor.
2265 (openConnection): Added documentation.
2266
e08932b2
MK
22672003-11-26 Michael Koch <konqueror@gmx.de>
2268
2269 * java/net/DatagramPacket.java
2270 (DatagramPacket): Fixed documentation to become legal HTML.
2271
3366ae36
MK
22722003-11-25 Michael Koch <konqueror@gmx.de>
2273
2274 * gcj/javaprims.h: Added missing java.util.Currency.
2275
7d9c11e5
MK
22762003-11-25 Michael Koch <konqueror@gmx.de>
2277
2278 * testsuite/libjava.mauve/xfails:
2279 Removed these two tests, they mystically pass now:
2280 -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2281 test_params failed - 5getInetAddress did not return proper values
2282 (number 1)
2283 -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2284 test_BasicServer failed - 11 exception was thrown :Illegal seek
2285 (number 1)
2286
66e5d61f
MK
22872003-11-25 Michael Koch <konqueror@gmx.de>
2288
2289 * java/net/DatagramSocket.java
2290 (factory): Made private.
2291 (closed): Removed.
2292 (DatagramSocket): Check impl argument, use constructor with
2293 SocketAddress argument.
2294 (close): Set impl to null, use isClosed().
2295 (isClosed): Check for impl == null.
2296 (getLocalAddress): Use isClosed().
2297 (getLocalPort): Check if socket is closed.
2298 (getSoTimeout): Likewise.
2299 (setSoTimeout): Likewise.
2300 (getSendBufferSize): Likewise.
2301 (setSendBufferSize): Likewise.
2302 (getReceiveBufferSize): Likewise.
2303 (setReceiveBufferSize): Likewise.
2304 (receive): Likewise.
2305 (send): Likewise.
2306 (bind): Likewise.
2307 (connect): Likewise.
2308 (setReuseAddress): Likewise.
2309 (getReuseAddress): Likewise.
2310 (setBroadcast): Likewise.
2311 (getBroadcast): Likewise.
2312 (setTrafficClass): Likewise.
2313 (getTrafficClass): Likewise.
2314 * java/net/MulticastSocket.java
2315 (getInterface): Check if socket is closed.
2316 (getTTL): Likewise.
2317 (getTimeToLive): Likewise.
2318 (setInterface): Likewise.
2319 (setNetworkInterface): Likewise.
2320 (getNetworkInterface): Likewise.
2321 (setLoopbackMode): Likewise.
2322 (setTTL): Likewise.
2323 (setTimeToLive): Likewise.
2324 (joinGroup): Likewise.
2325 (leaveGroup): Likewise.
2326 (send): Likewise.
2327 * java/net/ServerSocket.java
2328 (closed): Removed.
2329 (close): Check if socket is closed, set impl to null.
2330 (isClosed): Check impl == null;
2331 (ServerSocket): Check impl argument.
2332 (getInetAddress): Check if socket is bound.
2333 (getLocalPort): Likewise.
2334 (getLocalSocketAddress): Likewise.
2335 (bind): Check if socket is closed.
2336 (implAccept): Likewise.
2337 (setSoTimeout): Likewise.
2338 (getSoTimeout): Likewise.
2339 (setReuseAddress): Likewise.
2340 (getReuseAddress): Likewise.
2341 (setReceiveBufferSize): Likewise.
2342 (getReceiveBufferSize): Likewise.
2343 (toString): Make output compliant to JDK 1.4.2.
2344 * java/net/Socket.java
2345 (closed): Removed.
2346 (Socket): Fixed documentation.
2347 (connect): Check if socket is closed, changed exception text,
2348 fixed documentation.
2349 (getInputStream): Check of socket is closed and connected.
2350 (getOutputStream): Likewise.
2351 (bind): Check if socket is closed.
2352 (setTcpNoDelay): Likewise.
2353 (getTcpNoDelay): Likewise.
2354 (setSoLinger): Likewise.
2355 (getSoLinger): Likewise.
2356 (sendUrgentData): Likewise.
2357 (setOOBInline): Likewise.
2358 (getOOBInline): Likewise.
2359 (setSoTimeout): Likewise.
2360 (getSoTimeout): Likewise.
2361 (setSendBufferSize): Likewise.
2362 (getSendBufferSize): Likewise.
2363 (setReceiveBufferSize): Likewise.
2364 (getReceiveBufferSize): Likewise.
2365 (setKeepAlive): Likewise.
2366 (getKeepAlive): Likewise.
2367 (close): Likewise.
2368 (shutdownInput): Likewise.
2369 (shutdownOutput): Likewise.
2370 (getReuseAddress): Likewise.
2371 (getTrafficClass): Likewise.
2372 (setTrafficClass): Likewise.
2373 (isClosed): Check impl == null.
2374 (toString): Added missing ']'.
2375
2758ce13
TT
23762003-11-24 Tom Tromey <tromey@redhat.com>
2377
2378 * Makefile.in: Rebuilt.
2379 * Makefile.am (propdir): New macro.
2380 (install-data-local): Install logging.properties.
2381 (core_java_source_files): Added java.util.logging.*.
2382 * java/util/logging/logging.properties: New file.
2383
473432eb
MK
23842003-11-25 Michael Koch <konqueror@gmx.de>
2385
2386 * java/net/DatagramSocket.java
2387 (DatagramSocket): Move binding code to bind(), simplify constructors.
2388 * java/net/MulticastSocket.java
2389 (MulticastSocket): Call parent constructor with null argument,
2390 bind socket after setReuseAddress is called, simplify constructors.
2391
3f047028
MK
23922003-11-24 Michael Koch <konqueror@gmx.de>
2393
2394 * javax/swing/BoxLayout.java
2395 (serialVersionUIR): New member variable.
2396 (X_AXIS, Y_AXIS): Documentation added.
2397 (LINE_AXIS, PAGE_AXIS): New constants.
2398 (grid): Renamed from gridbag.
2399 (BoxLayout): Use new constants, throw exception if invalid value for
2400 way, added documentation.
2401 (BoxLayout): Removed.
2402 (addLayoutComponent): Use new constants, added documentation.
2403 (removeLayoutComponent): Likewise.
2404 (addLayoutContainer): Added documentation.
2405 (preferredLayoutSize): Added documentation, check given argument.
2406 (minimumLayoutSize): Likewise.
2407 (layoutContainer): Likewise.
2408 (getLayoutAlignmentX): Likewise.
2409 (getLayoutAlignmentY): Likewise.
2410 (invalidateLayout): Likewise.
2411 (maximumLayoutSize): Likewise.
2412
539edbe0
MK
24132003-11-22 Michael Koch <konqueror@gmx.de>
2414
2415 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2416 (peekData): Use offset and maximal free space in datagram packet.
2417 (receive): Likewise.
2418 (send): Use offset in datagram packet.
2419
343c49ce
MK
24202003-11-22 Michael Koch <konqueror@gmx.de>
2421
2422 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2423 (peekData): Use offset and maximal free space in datagram packet.
2424 (receive): Likewise.
2425 (send): Use offset in datagram packet.
2426
d3f010ec
MK
24272003-11-22 Michael Koch <konqueror@gmx.de>
2428
2429 * gnu/java/nio/DatagramChannelImpl.java
2430 (getNativeFD): Use getPlainDatagramSocketImpl().
2431 * gnu/java/nio/NIODatagramSocket.java
2432 (getPlainDatagramSocketImpl): Renamed from getImpl().
2433 * gnu/java/nio/NIOSocket.java
2434 (getPlainSocketImpl): Renamed from getImpl().
2435 (setChannel): Use getPlainSocketImpl().
2436 * gnu/java/nio/SocketChannelImpl.java
2437 (SocketChannelImpl): Use getPlainSocketImpl().
2438 (getPlainSocketImpl): Renamed from getImpl().
2439 (getNativeFD): Use getPlainSocketImpl().
2440
875a15d0
GH
24412003-11-18 Graydon Hoare <graydon@redhat.com>
2442
2443 * javax/swing/JLayeredPane.java: Implement.
2444 * javax/swing/JFrame.java (getContentPane): Make public
2445 * javax/swing/javax/swing/JRootPane.java (setContentPane):
2446 Use JLayeredPane.FRAME_CONTENT_LAYER.
2447
4716418f
MW
24482003-11-21 Mark Wielaard <mark@klomp.org>
2449
2450 * java/lang/Float.java (static): Removed.
2451
0bceb051
GH
24522003-11-18 Graydon Hoare <graydon@redhat.com>
2453
2454 * java/awt/font/TextLayout.java: Implement simple layouts
2455 using attributed strings and glyph vectors.
2456
146a1ecb
GH
24572003-11-17 Graydon Hoare <graydon@redhat.com>
2458
2459 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2460 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
2461 (GdkFontLineMetrics): New inner class.
2462 (getLineMetrics): Return new GdkFontLineMetrics.
2463 (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2464 (layoutGlyphVector): Create GdkGlyphVector.
2465 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2466 (GdkGraphics2D): Initialize state via mathod calls.
2467 (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2468 (cairoTranslate, cairoScale, cairoRotate): Remove.
2469 (various methods): use setTransform for special transform cases.
2470 (DrawState): New inner class.
2471 (stateSave): New method.
2472 (stateRestore): New method.
2473 (various methods): use stateSave, stateRestore.
2474 (getClipInDevSpace): New method.
2475 (clip, clipRect, setClip, getClip, getClipBounds):
2476 Follow spec more closely.
2477 (getTransform): Return clone of transform.
2478 (setStroke): Set linewidth to passed width / 2.0.
2479 (setPaintMode): Set SrcOver rather than Xor.
2480 (setColor): Set paint to passed color.
2481 (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2482 transform from image to user space.
2483 (drawRenderedImage, drawRenderableImage): Implement.
2484 (getFontRenderContext, getFontMetrics, drawString, getFont):
2485 Implement
2486 (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
2487 Implement.
2488 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2489 Match changes to java side.
2490 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2491 Release resources.
2492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2493 Don't use pango for metrics.
2494 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2495 New file.
2496
c618b5f8
GL
24972003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
2498 Jim Pick <jim@kaffe.org>
2499
2500 * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2501 methods.
2502
25032003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
2504
2505 * java/text/DecimalFormatSymbols.java (getCurrency,
2506 setCurrency): New methods.
2507
b6b8f690
SB
25082003-11-19 Sascha Brawer <brawer@dandelis.ch>
2509
2510 * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2511 * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2512 Describe how the implementation works.
2513
edfe1ac7
MK
25142003-11-19 Michael Koch <konqueror@gmx.de>
2515
2516 * java/net/Socket.java
2517 (implCreated): New variable that indicates created impl.
2518 (getImpl): New method.
2519 (toString): Return more SUN compliant string representation.
2520 (various): Use getImpl() instead of impl.
2521
d6fcadb2
AT
25222003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
2523
2524 * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2525 the right libgcc. Add -multiply_defined suppress and -bind_at_load
2526 flags.
2527
6c363de7
TT
25282003-11-18 Tom Tromey <tromey@redhat.com>
2529
e2534315
TT
2530 PR libgcj/13026:
2531 * verify.cc (state::copy): Only set local_changed if we're in a
2532 subroutine. Correctly copy local variables which were modified
2533 by the subroutine.
2534 (push_jump_merge): Added more debugging output.
2535
6c363de7
TT
2536 * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2537 is null.
2538
ccdf1a46
GH
25392003-11-17 Graydon Hoare <graydon@redhat.com>
2540
2541 * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2542 * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2543
edc6a9c4
TT
25442003-11-16 Tom Tromey <tromey@redhat.com>
2545
2546 PR libgcj/13062:
2547 * java/io/StreamTokenizer.java (commentChar): Clear other
2548 attributes for character.
2549 (quoteChar): Likewise.
2550
ec22cdf1 25512003-11-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5c859e10
TF
2552
2553 * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2554 zero-length int arrays when layoutInfo is null.
2555 (getLayoutWeights): Return array of two zero-length double arrays when
2556 layoutInfo is null.
2557
b86ca9a2
TT
25582003-11-13 Tom Tromey <tromey@redhat.com>
2559
2560 * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2561 JvGetStringUTFRegion.
2562 * java/lang/natPosixProcess.cc (new_string): Pass length of string
2563 to JvGetStringUTFRegion.
2564 * java/lang/natDouble.cc (parseDouble): Pass length of string to
2565 JvGetStringUTFRegion.
2566 * java/lang/natWin32Process.cc (startProcess): Pass length of
2567 string to JvGetStringUTFRegion.
2568 * java/lang/natClass.cc (forName): Pass length of string to
2569 JvGetStringUTFRegion.
2570 * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2571 of string to JvGetStringUTFRegion.
2572 * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2573 JvGetStringUTFRegion.
2574 * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2575 to JvGetStringUTFRegion.
2576 * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2577 string to JvGetStringUTFRegion.
2578
650dc9b3
ME
25792003-11-13 Mohan Embar <gnustuff@thisiscool.com>
2580
2581 * gnu/java/nio/natSelectorImplPosix.cc
2582 (helper_put_filedescriptors): Change to static linkage.
2583 (helper_get_filedescriptors): Likewise.
2584
ec22cdf1 25852003-11-12 Thomas Fitzsimmons <fitzsim@redhat.com>
94f77399 2586
2860518a
TF
2587 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2588 null check.
2589 * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2590 * java/awt/Component.java (prepareImage): Likewise.
2591
94f77399
TF
2592 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2593 Rename to nativeSetAlignment.
2594
2fe6fc52
DS
25952003-11-11 Danny Smith <dannysmith@users.sourceforge.net>
2596
2597 * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2598 (JNI_GetCreatedJavaVMs): Likewise.
2599 (JNI_GetDefaultJavaVMInitArgs): Likewise.
2600 * include/jni.h (JNIIMPEXP): Remove definition
2601 and replace with...
2602 (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2603 symbols,
2604 (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2605
a5966c9e
TF
26062003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2607
2608 * Makefile.am: Add GdkPixbufDecoder.java and
2609 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2610 * Makefile.in: Regenerate.
2611 * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2612 New constructor.
2613 (startProduction): Create ByteArrayInputStream when url and filename are
2614 null.
2615 (produce): Declare stream parameter as InputStream.
2616 * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2617 as InputStream.
2618 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2619 (GdkPixbufDecoder(byte[],int,int)): New constructor.
2620 (produce): Declare stream parameter as InputStream.
2621 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2622 if image is null. Set image's observer before running PrepareImage
2623 thread. Pass image to startProduction.
2624 * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2625 source's member functions.
2626 (observer): New field.
2627 (setObserver): New method.
2628 (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2629 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2630 new GtkImage.
2631 (prepareImage): Implement.
2632 * java/awt/Component.java: Add static fields incrementalDraw and
2633 redrawRate.
2634 (imageUpdate): Implement.
2635 (createImage): Call Toolkit's createImage if peer is null.
2636 (prepareImage): Throw NPE if image is null.
2637 * java/awt/MediaTracker.java: Fix return value.
2638
009ed5cc
TF
26392003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
2640
2641 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2642 (create(String, float)): New method.
2643 (setText): Make native.
2644 (nativeSetAlignment): New method.
2645 (setAlignment): Call nativeSetAlignment.
2646 (getArgs): Remove method.
2647 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2648 (find_fg_color_widget, find_bg_color_widget): New functions.
2649 (gtkWidgetSetForeground): Call find_fg_color_widget.
2650 (gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and
2651 prelight colors.
2652 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2653 widget in event box.
2654 (setText, setAlignment): Implement new native methods.
2655
5237cd77
MK
26562003-11-11 Michael Koch <konqueror@gmx.de>
2657
2658 * java/awt/Font.java,
2659 java/awt/datatransfer/DataFlavor.java,
2660 java/math/BigInteger.java,
2661 java/net/Inet4Address.java,
2662 java/net/Inet6Address.java,
2663 java/rmi/MarshalledObject.java,
2664 java/rmi/server/RMIClassLoader.java,
2665 java/security/cert/CertStore.java,
2666 java/sql/Timestamp.java,
2667 java/text/SimpleDateFormat.java,
2668 javax/naming/CompoundName.java:
2669 Removed some redundant obj == null checks.
2670
c824ce21
MK
26712003-11-11 Michael Koch <konqueror@gmx.de>
2672
2673 * java/nio/ByteBuffer.java
2674 (equals): Remove redundant obj == null check.
2675
4ba6d1c3
MK
26762003-11-11 Michael Koch <konqueror@gmx.de>
2677
2678 * gnu/java/nio/natPipeImpl.cc,
2679 gnu/java/nio/natSelectorImpl.cc: Removed
2680 * gnu/java/nio/natPipeImplEcos.cc,
2681 gnu/java/nio/natPipeImplPosix.cc,
2682 gnu/java/nio/natPipeImplWin32.cc,
2683 gnu/java/nio/natSelectorImplEcos.cc,
2684 gnu/java/nio/natSelectorImplPosix.cc,
2685 gnu/java/nio/natSelectorImplWin32.cc: New files
2686 * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2687 gnu/java/nio/natSelectorImpl.cc
2688 * configure: Regenerated.
2689
e055c067
MK
26902003-11-11 Micheal Koch <konqueror@gmx.de>
2691
2692 * java/net/URLStreamHandler.java (toExternalForm): Print port only
2693 if host is printed too and port was really given to URL.
b86ca9a2 2694
84083f51
GB
26952003-11-10 Gary Benson <gbenson@redhat.com>
2696
2697 * java/sql/Timestamp.java (valueOf): Correctly handle
2698 nanoseconds.
2699
b425ed52
TT
27002003-11-09 Tom Tromey <tromey@redhat.com>
2701
2702 * java/net/Inet4Address.java (serialVersionUID): Updated.
2703
edf6d50b
JS
27042003-11-08 Jeff Sturm <jsturm@one-point.com>
2705
2706 * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2707 New fields.
2708
773d424b
JS
27092003-11-08 Jeff Sturm <jsturm@one-point.com>
2710
2711 * java/io/ByteArrayOutputStream.java (resize):
2712 Fix off-by-one error.
2713
9b574a77
BM
27142003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz>
2715
2716 * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2717 public.
2718
cafa5032
ME
27192003-11-06 Mohan Embar <gnustuff@thisiscool.com>
2720
2721 PR libgcj/12231
2722 * java/lang/Win32Process.java (hasExited) Changed from
2723 public to private.
2724 (startProcess): Likewise.
2725 (cleanup): Likewise.
2726 * java/lang/natWin32Process.cc (cleanup) Don't close
2727 input, output and error streams.
2728 (ChildProcessPipe): New helper class.
2729 (startProcess): Refactored to use ChildProcessPipe.
2730 Use CREATE_NO_WINDOW when launching child process.
2731
bbf76ec0
ME
27322003-11-06 Mohan Embar <gnustuff@thisiscool.com>
2733
2734 * include/win32.h (_Jv_platform_close_on_exec): Changed
2735 signature and declared extern.
2736 * win32.cc (_Jv_platform_close_on_exec): Implemented.
2737 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2738 (create): Use new signature of _Jv_platform_close_on_exec.
2739 * gnu/java/net/natPlainSocketImplWin32.cc
2740 (create): Eliminated a few typecasts
2741 Use new signature of _Jv_platform_close_on_exec.
2742 (accept): Eliminated a few typecasts
2743 Use new signature of _Jv_platform_close_on_exec.
2744 * java/io/natFileDescriptorWin32.cc (open): Use
2745 _Jv_platform_close_on_exec.
2746
99f8b250
BM
27472003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz>
2748
2749 * java/lang/natClass.cc (newInstance): Throw InstantiationException
2750 if class has no null-argument constructor.
2751
d6bc9793
ME
27522003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2753
2754 PR libgcj/12647:
2755 * win32-threads.cc (_Jv_CondWait): Respect mutex's
2756 refcount when releasing and reacquiring it.
2757
748e241e
ME
27582003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2759
2760 * win32.cc: (dirExists) Internal helper function to
2761 test for directory existence.
2762 (getUserHome) New helper function refactored out
2763 of _Jv_platform_initProperties. Uses USERPROFILE
2764 instead of HOMEDIR and attempts to support Win9X and NT.
2765 (_Jv_platform_initProperties) Use getUserHome.
2766
76506a3e
ME
27672003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2768
2769 PR libgcj/11521:
2770 * gnu/java/net/natPlainSocketImplWin32.cc
2771 (bind): Don't use SO_REUSEADDR
2772
b82183ab
ME
27732003-10-30 Mohan Embar <gnustuff@thisiscool.com>
2774
2775 PR libgcj/6652:
2776 * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2777
f56228e7
BM
27782003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz>
2779
2780 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2781 dispatch for final methods.
2782
54ab3303
TF
27832003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2784
2785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2786 word wrapping.
2787
12d104a2
TF
27882003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2789
2790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2791 scrolled window's size request.
2792
45967a8a
SB
27932003-10-29 Sascha Brawer <brawer@dandelis.ch>
2794
2795 * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2796 * java/awt/geom/QuadCurve2D.java: Likewise.
2797
27982003-10-29 Sascha Brawer <brawer@dandelis.ch>
2799
2800 * java/awt/geom/CubicCurve2D.java: Added documentation.
2801 * java/awt/geom/QuadCurve2D.java: Likewise.
2802
2803 * java/awt/geom/doc-files/QuadCurve2D-4.png,
2804 java/awt/geom/doc-files/QuadCurve2D-5.png,
2805 java/awt/geom/doc-files/CubicCurve2D-4.png,
2806 java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2807
28082003-10-29 Sascha Brawer <brawer@dandelis.ch>
2809
2810 * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2811 (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2812 (subdivide(double[],int,double[],int,double[],int)): Implement.
2813
28142003-10-29 Sascha Brawer <brawer@dandelis.ch>
2815
2816 * java/awt/geom/doc-files/CubicCurve2D-1.png,
2817 java/awt/geom/doc-files/CubicCurve2D-2.png,
2818 java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2819
4b6be8de
IK
28202003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
2821
2822 * java/text/DecimalFormat.java
2823 (scanFormat) corrected so that '%' may appear in a pattern.
2824
8b941eec
MK
28252003-10-29 Mark Wielaard <mark@klomp.org>
2826
2827 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2828 * java/text/DateFormat.java (Field): New public static inner class.
2829 * java/text/Format.java (Field): Likewise.
2830 (formatToCharacterIterator): New method.
2831 * java/text/FormatCharacterIterator.java: New file.
2832
28332003-10-29 Mark Wielaard <mark@klomp.org>
2834
2835 From Guilhem Lavaux <guilhem.lavaux@free.fr>
2836 * java/util/Currency.java: New file.
2837
28382003-10-29 Michael Koch <konqueror@gmx.de>
2839
2840 * Makefile.am (ordinary_java_source_files): Added
2841 java/text/FormatCharacterIterator.java and java/util/Currency.java.
2842 * Makefile.in: Regenerated.
2843
2035efe7
DT
28442003-10-29 Dalibor Topic <robilad@kaffe.org>
2845
2846 * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2847 static methods.
2848
f0dc1efa
JD
28492003-10-29 Julian Dolby <dolby@us.ibm.com>
2850
2851 * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2852 getObjectInstance() with Object, Name, Context and environment
2853 Hashtable from exception. Call fillInStackTrace() on exception when
2854 rethrown.
2855 * javax/naming/InitialContext.java (lookup(Name)): When a
2856 CannotProceedException is thrown use the ContinuationContext.
2857 (lookup(String)): Likewise.
2858 (close): Clear myProps and defaultInitCtx.
2859
9c9081ae
MK
28602003-10-29 Michael Koch <konqueror@gmx.de>
2861
2862 * java/net/InetAddress.java
2863 (equals): Remove redundant obj == null check.
2864 * java/net/SocketPermission.java
2865 (equals): Likewise.
2866 * java/net/URL.java
2867 (equals): Likewise.
2868 (getURLStreamHandler): Likewise.
2869
1d749ee0
MK
28702003-10-29 Michael Koch <konqueror@gmx.de>
2871
2872 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2873 (setOption): Directly return if no error occured.
2874 * gnu/java/net/natPlainSocketImplPosix.cc
2875 (setOption): Likewise.
2876
6ac8b2b1
BM
28772003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2878
2879 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2880 vtable slot for final methods. Add FIXME comment.
2881
afa58437
DM
28822003-10-28 David S. Miller <davem@redhat.com>
2883
2884 * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2885
57b4edef
MW
28862003-10-26 Mark Wielaard <mark@klomp.org>
2887
2888 Reported by Helmer Kraemer <hkraemer@freenet.de>
2889 * java/util/jar/JarInputStream.java (readManifest): Don't call
2890 closeEntry().
2891
2892 * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2893 (finish): Use inbufWrite().
2894 (write(int)): Likewise.
2895 (write(byte[],int,int)): Likewise.
2896
e0f23fcd
BM
28972003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2898
2899 * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2900 Don't check for AccessibleObject. Update javadocs.
12afcb31
BM
2901
2902 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
e0f23fcd 2903
b9b5672b
BM
29042003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2905
2906 * java/lang/reflect/Constructor.java (toString): Avoid extra
2907 whitespace on constructor with no modifiers.
2908 * java/lang/reflect/natConstructor.java (newInstance): Look up
2909 caller and perform accessibility check only if constructor is
2910 non-public and accessible flag is not set.
2911
29122003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
2913
2914 * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2915 _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2916 use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
2917 is_virtual_call argument.
2918 * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
2919 natClass.cc.
2920 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
2921 _Jv_isVirtualMethod.
2922 * java/lang/reflect/natMethod.cc (invoke): Don't use
2923 _Jv_LookupDeclaredMethod.
2924 (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2925 look up method in target object's vtable.
2926
c4bcf141
GH
29272003-10-25 Graydon Hoare <graydon@redhat.com>
2928
2929 * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2930 * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2931 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2932 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2933 New concrete implementation of ClasspathFontPeer, with native part.
2934 * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2935 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2936 New class, with native part.
2937 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2938 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2939 implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2940
8822f4aa
BM
29412003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2942
2943 * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2944 on method with no modifiers.
2945
a10fd356
BM
29462003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2947
2948 PR libgcj/11780:
2949 * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2950 accessibility check only if target is non-public and accessible flag
2951 is not set.
2952 * java/lang/reflect/natField.cc (getAddr): Likewise.
2953
f2d0e05d
TF
29542003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2955
2956 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2957 Remove method.
2958 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2959 New method.
2960 * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2961 show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2962 (dispose): Post WINDOW_CLOSED event.
2963 (addWindowFocusListener, addWindowStateListener): Assign result
2964 of multicaster add back to window listener.
2965 (removeWindowFocusListener, removeWindowStateListener): Assign
2966 result of multicaster remove back to window listener.
2967 (dispatchEventImpl): Add null checks for focus and state
2968 listeners.
2969 (processWindowEvent): Handle case where windowListener is null
2970 but state or focus listeners exist.
2971 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2972 glue for postWindowEvent.
2973 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2974 (window_delete_cb, window_destroy_cb, window_show_cb,
2975 window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2976 window_get_new_state): New functions.
2977 * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2978 macros. Declare postWindowEventID.
2979
fe873898
AG
29802003-10-24 Anthony Green <green@redhat.com>
2981
2982 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2983 we have no interpreter.
2984
90471585
AH
29852003-10-22 Andrew Haley <aph@redhat.com>
2986
2987 * java/lang/natClass.cc (initializeClass): Call
2988 _Jv_linkExceptionClassTable.
2989 (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
2990 _Jv_Defer_Resolution on a method whose ncode is NULL.
2991 (_Jv_linkExceptionClassTable): New function.
2992 (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2993 entry, look it up.
2994 * java/lang/Class.h (struct _Jv_CatchClass): New.
2995 (_Jv_linkExceptionClassTable): New friend.
2996 (_Jv_Defer_Resolution): New friend.
2997 (class Class.catch_classes): New field.
2998 * include/java-interp.h (Jv_Defer_Resolution): New method.
2999 (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
3000 (_Jv_MethodBase.deferred): New field.
3001 (_Jv_Defer_Resolution): New function.
3002 * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
3003 * exception.cc (get_ttype_entry): Change return type to void**.
3004 (PERSONALITY_FUNCTION): Remove all code related to using a
3005 Utf8Const* for a match type. Change match type to be a pointer to
3006 a pointer, rather than a pointer to a Class.
3007 * defineclass.cc (handleCodeAttribute): Initialize
3008 method->deferred.
3009 (handleMethodsEnd): Likewise.
3010
59407b83
RO
30112003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3012
3013 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
3014 _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
3015
4badbfa2
TT
30162003-10-22 Tom Tromey <tromey@redhat.com>
3017
eab09cdf
TT
3018 PR libgcj/12416:
3019 * java/lang/Class.h: Updated.
3020 * java/lang/natClass.cc (_getFields): Removed.
3021 (getFields): Likewise.
3022 (getDeclaredFields): Added `public_only' parameter.
3023 * java/lang/Class.java (getFields): Now implemented in java; from
3024 Classpath.
3025 (getDeclaredFields): Likewise.
3026 (getDeclaredFields(boolean)): Declare.
3027 (_getFields): Removed.
3028 (internalGetFields): New method, from Classpath.
3029
4badbfa2
TT
3030 PR libgcj/12656:
3031 * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
3032 _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
3033
13229468
DD
30342003-10-22 David Daney <ddaney@avtrex.com)
3035
3036 * include/mips-signal.h: New file.
3037 * sysdep/dwarf2-backtrace.cc: New file.
3038 * sysdep/mips: New directory.
3039 * sysdep/mips/locks.h: New file.
3040 * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
3041 added to libgcj.
3042 (extra_cc_source_files): Ditto.
3043 * configure.host(disable_dladdr): New shell variable passed to
3044 configure.
3045 (mips*-*-linux*): sysdeps_dir=mips,
3046 can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
3047 (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
3048 * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
3049 generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
3050 (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
3051 (EXTRA_CC_FILES): New, to support conditional addition of
3052 sysdep/dwarf2-backtrace.cc.
3053 * configure: Regenerated.
3054 * Makefile.in: Regenerated.
3055 * gcj/Makefile.in: Regenerated.
3056 * include/config.h.in: Regenerated.
3057 * include/Makefile.in: Regenerated.
3058 * testsuite/Makefile.in: Regenerated.
3059
12be91a7
SB
30602003-10-22 Sascha Brawer <brawer@dandelis.ch>
3061
3062 * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
3063 java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
3064
30652003-10-22 Sascha Brawer <brawer@dandelis.ch>
3066
3067 * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
3068 * java/awt/geom/doc-files: New directory.
3069 * java/awt/geom/doc-files/QuadCurve2D-1.png,
3070 java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
3071
30722003-10-22 Sascha Brawer <brawer@dandelis.ch>
3073
3074 * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
3075
30762003-10-22 Sascha Brawer <brawer@dandelis.ch>
3077
3078 * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
3079
8c754b91
MK
30802003-10-22 Michael Koch <konqueror@gmx.de>
3081
3082 * java/io/File.java
3083 (equals): Removed redundant obj == null check.
3084 (createTempFile): Merged comments from classpath.
3085
75a5a481
SB
30862003-10-21 Sascha Brawer <brawer@dandelis.ch>
3087
3088 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
3089 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
3090 (error): Synchronize on instance, not class.
3091
63d83744
MW
30922003-10-21 Mark Wielaard <mark@klomp.org>
3093
3094 Reported by M.Negovanovic
3095 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
3096 method.
3097 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
3098
e62e96e2
SB
30992003-10-21 Sascha Brawer <brawer@dandelis.ch>
3100
3101 Fix for Classpath bug #6076.
3102 * java/awt/geom/GeneralPath.java (append): Re-written.
3103
31042003-10-21 Sascha Brawer <brawer@dandelis.ch>
3105
3106 Fix for Classpath bug #6089.
3107 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
3108 (getPathIterator, GeneralPathIterator): Re-written from scratch.
3109
31102003-10-21 Sascha Brawer <brawer@dandelis.ch>
3111
3112 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
3113 point, not start of subpath. Fixes Classpath bug #6075.
3114
c4ff410a
MK
31152003-10-21 Michael Koch <konqueror@gmx.de>
3116
3117 * java/nio/ByteOrder.java,
3118 java/nio/DirectByteBufferImpl.java,
3119 java/nio/channels/FileChannelImpl.java:
3120 Add code to load library with code for native methods if needed.
3121
7c54b003
MK
31222003-10-21 Michael Koch <konqueror@gmx.de>
3123
3124 * gnu/java/net/PlainDatagramSocketImpl.java,
3125 gnu/java/net/PlainSocketImpl.java,
3126 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3127 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3128 gnu/java/net/natPlainSocketImplPosix.cc,
3129 gnu/java/net/natPlainSocketImplWin32.cc:
3130 Renamed fnum to native_fd to match classpath more.
3131
16a10fb6
JQ
31322003-10-21 Jerry Quinn <jlquinn@optonline.net>
3133
3134 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
3135 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
3136 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
3137 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
3138 _Jv_PthreadCheckMonitor. Simplify code.
3139 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
3140 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
3141 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
3142 * java/lang/Thread.java (holdsLock): New.
3143 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
3144 without JV_HASH_SYNCHRONIZATION.
3145 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
3146
c7560266
MK
31472003-10-20 Michael Koch <konqueror@gmx.de>
3148
3149 * java/text/RuleBasedCollator.java
3150 (RuleBasedCollator): Check rules not empty, fixed search in already
3151 existing collation elements.
3152 (is_special): Removed common whitespace characters.
3153 (text_argument): Dont return on whitespaces, add characters between
3154 two ' to string buffer.
3155
807a4cfd
MK
31562003-10-18 Michael Koch <konqueror@gmx.de>
3157
3158 * gnu/java/net/protocol/file/Connection.java,
3159 gnu/java/net/protocol/file/Handler.java,
3160 gnu/java/net/protocol/http/Connection.java,
3161 gnu/java/net/protocol/http/Handler.java,
3162 gnu/java/net/protocol/jar/Connection.java,
3163 gnu/java/net/protocol/jar/Handler.java:
3164 Merged copyright text from classpath to make
3165 it possible to merge the classes.
3166
490ee176
MW
31672003-10-18 Mark Wielaard <mark@klomp.org>
3168
3169 Reported by M.Negovanovic
3170 * java/beans/IndexedPropertyDescriptor.java
3171 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
3172
ef050c9e
ME
31732003-10-17 Mohan Embar <gnustuff@thisiscool.com>
3174
3175 * win32.cc (_Jv_pipe): Implemented.
3176 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
3177 _Jv_pipe instead of ::pipe.
3178 * include/posix.h (_Jv_pipe): New inline.
3179 * include/win32.h (_Jv_pipe): New declaration.
3180
35e1369c
RL
31812003-10-17 Ralph Loader <rcl@ihug.co.nz>
3182
3183 * java/lang/StringBuffer.java (getChars): Fix array index checks.
3184 (append, substring, insert): Likewise.
3185 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
3186 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
3187
2488a51e
RL
31882003-10-17 Ralph Loader <rcl@ihug.co.nz>
3189
3190 * java/lang/natString.cc (getChars):
3191 Fix validation of array indexes.
3192 (getBytes, regionMatches, startsWith, valueOf): Likewise.
3193 * testsuite/libjava.lang/String_overflow.java: New file.
3194 * testsuite/libjava.lang/String_overflow.out: New file.
3195
bf1b388d
RL
31962003-10-17 Ralph Loader <rcl@ihug.co.nz>
3197
3198 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
3199 overflow a jint.
3200 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
3201 check for overflowing size_t, since the lower level functions
3202 take a jint.
3203 * testsuite/libjava.lang/newarray_overflow.java: New file.
3204 * testsuite/libjava.lang/newarray_overflow.out: New file.
3205
55741da6
MK
32062003-10-15 Michael Koch <konqueror@gmx.de>
3207
3208 * java/text/RuleBasedCollator.java
3209 (RuleBasedCollator): Moved around, documentation added.
3210 (compare): Documentation added.
3211 (equals): Likewise.
3212 (getCollationElementIterator): Likewise.
3213 (getCollationKey): Likewise.
3214 (getRules): Likewise.
3215 (hashCode): Likewise.
3216
684cab7d
MK
32172003-10-15 Michael Koch <konqueror@gmx.de>
3218
3219 * java/text/RuleBasedCollator.java
3220 (CollationElement): Renamed from RBCElement and moved into
3221 RuledBasedCollator as inner class.
3222
12dc3f75
MK
32232003-10-15 Michael Koch <konqueror@gmx.de>
3224
3225 * java/text/CollationElementIterator.java
3226 (CollationElementIterator): Moved, documenatation added, call setText.
3227 (next): Reformated.
3228 (reset): Reformated.
3229 (setText): New method.
3230 (getOffset): New method.
3231 * java/text/CollationKey.java
3232 (getSourceString): Reformated.
3233 (hashCode): Reformated.
3234 (toByteArray): Reformated.
3235
6c73e9f7
MK
32362003-10-15 Michael Koch <konqueror@gmx.de>
3237
3238 * java/util/zip/InflaterInputStream.java
3239 (InflaterInputStream): Renamed infl to inf and bufsize to size,
3240 added description to exception, check for inf == null and size < 0.
3241
6d98f7a8
MK
32422003-10-15 Michael Koch <konqueror@gmx.de>
3243
3244 * java/text/AttributedCharacterIterator.java,
3245 java/text/CharacterIterator.java: Reformated.
3246
c191caf2
MK
32472003-10-15 Michael Koch <konqueror@gmx.de>
3248
3249 * javax/swing/UIDefaults.java (putDefaults):
3250 Readded accidently removed "public" modifier.
3251
415c96ca
PB
32522003-10-14 Paolo Bonzini <bonzini@gnu.org>
3253
3254 * interpret.cc (_Jv_InterpMethod::run): Don't
3255 use libffi types, they were meant to be internal.
3256 * gcj/javaprims.h (_Jv_ulong): New typedef.
3257
b71d486c
TT
32582003-10-13 Tom Tromey <tromey@redhat.com>
3259
3260 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3261 (defineClass): Updated.
3262 (_Jv_NewClass): Likewise.
3263 * prims.cc (_Jv_InitPrimClass): Don't call
3264 _Jv_InitNewClassFields.
3265
77a325a2 32662003-10-13 Taras Glek <taras.judge@shaw.ca>
c1783330
TG
3267
3268 PR libgcj/12592
3269 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3270 not just \n.
3271
3c94ac35
MK
32722003-10-13 Michael Koch <konqueror@gmx.de>
3273
3274 * java/io/File.java: Reformated.
3275 (equals): Check for obj == null.
3276
94f41586
MK
32772003-10-13 Michael Koch <konqueror@gmx.de>
3278
3279 * java/net/JarURLConnection.java
3280 (jarFileURL): Added dcoumentation.
3281 (jarFileURLConnection): Reformated documentation.
3282 (entryName): Renamed from "element", documentation rewritten.
3283 (connectionCache): Renamed from "conn_cache", documentation
3284 reformated.
3285 (JarURLConnection): Check URL protocol.
3286 (getEntryName): Use entryName.
3287 (connect): Use connectionCache.
3288 (getInputStream): Use entryName, fixed comment.
3289 (getJarEntry): Use entryName.
3290 (getHeaders): Use entryName.
3291 * java/net/URLConnection.java
3292 (addRequestProperty): Fixed documentation.
3293 (setDefaultRequestProptery): Added comment that it does nothing since
3294 JDK 1.3.
3295 (getDefaultRequestProperty): Likewise.
3296
9917dcba
MK
32972003-10-13 Michael Koch <konqueror@gmx.de>
3298
3299 * java/net/java/net/URLStreamHandlerFactory.java
3300 (createURLStreamHandler): Removed redundant "public" modifier.
3301 * java/sql/DatabaseMetaData.java:
3302 (DatabaseMetaData): Readded accidently removed "public" modifier.
3303 * java/sql/ParameterMetaData.java:
3304 (ParameterMetaData): Readded accidently removed "public" modifier.
3305 * java/sql/PreparedStatement.java:
3306 (PreparedStatement): Readded accidently removed "public" modifier.
3307 * java/sql/Ref.java:
3308 (Ref): Readded accidently removed "public" modifier.
3309
1adef668
MK
33102003-10-13 Michael Koch <konqueror@gmx.de>
3311
3312 * java/nio/Buffer.java
3313 (hasRemaining): Made implementation more clear.
3314 * java/nio/MappedByteBuffer.java
3315 (loaded): New member variable.
3316 (force): Added comment.
3317 (isLoaded): Return value of loaded.
3318 (load): Set loaded to true, added comment.
3319
81bc077a
MK
33202003-10-12 Michael Koch <konqueror@gmx.de>
3321
3322 * gnu/java/nio/PipeImpl.java
3323 (SourceChannelImpl): New inner class.
3324 (SinkChannelImpl): New inner class.
3325 (sink): New member variable.
3326 (source): New member variable.
3327 (PipeImpl): Add SelectorProvider argument, implemented.
3328 (nativeInit): New method.
3329 (sink): Return sink channel.
3330 (source): Return source channel.
3331 * gnu/java/nio/SelectorProviderImpl.java
3332 (openPipe): Give provider as argument to PipeImpl constructor.
3333 * java/nio/channels/spi/SelectorProvider.java
3334 (pr): Removed.
3335 (systemDefaultProvider): New member variable.
3336 (provider): Made it synchronized, use property
3337 java.nio.channels.spi.SelectorProvider.
3338 * gnu/java/nio/natPipeImpl.cc: New file.
3339 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3340 * Makefile.in: Regenerated.
3341
b77d1698
MK
33422003-10-12 Michael Koch <konqueror@gmx.de>
3343
3344 * javax/swing/table/DefaultTableModel.java,
3345 javax/swing/table/TableCellEditor.java,
3346 javax/swing/table/TableCellRenderer.java,
3347 javax/swing/table/TableColumnModel.java,
3348 javax/swing/table/TableModel.java,
3349 javax/swing/text/AbstractDocument.java,
3350 javax/swing/text/Document.java,
3351 javax/swing/text/MutableAttributeSet.java,
3352 javax/swing/text/StyledDocument.java,
3353 javax/swing/text/ViewFactory.java,
3354 javax/swing/tree/DefaultMutableTreeNode.java,
3355 javax/swing/tree/MutableTreeNode.java,
3356 javax/swing/tree/RowMapper.java,
3357 javax/swing/tree/TreeCellEditor.java,
3358 javax/swing/tree/TreeCellRenderer.java,
3359 javax/swing/tree/TreeModel.java,
3360 javax/swing/tree/TreeNode.java,
3361 javax/swing/tree/TreeSelectionModel.java,
3362 javax/swing/undo/StateEditable.java,
3363 javax/swing/undo/UndoableEdit.java:
3364 Removed redundant modifiers.
3365
463bc6af
MK
33662003-10-12 Michael Koch <konqueror@gmx.de>
3367
3368 * javax/swing/event/AncestorListener.java,
3369 javax/swing/event/CaretListener.java,
3370 javax/swing/event/CellEditorListener.java,
3371 javax/swing/event/ChangeListener.java,
3372 javax/swing/event/DocumentEvent.java,
3373 javax/swing/event/DocumentListener.java,
3374 javax/swing/event/HyperlinkListener.java,
3375 javax/swing/event/InternalFrameListener.java,
3376 javax/swing/event/ListDataListener.java,
3377 javax/swing/event/ListSelectionListener.java,
3378 javax/swing/event/MenuDragMouseListener.java,
3379 javax/swing/event/MenuKeyListener.java,
3380 javax/swing/event/MenuListener.java,
3381 javax/swing/event/MouseInputListener.java,
3382 javax/swing/event/PopupMenuListener.java,
3383 javax/swing/event/TableColumnModelListener.java,
3384 javax/swing/event/TableModelListener.java,
3385 javax/swing/event/TreeExpansionListener.java,
3386 javax/swing/event/TreeModelListener.java,
3387 javax/swing/event/TreeSelectionListener.java,
3388 javax/swing/event/TreeWillExpandListener.java,
3389 javax/swing/event/UndoableEditListener.java,
3390 javax/swing/plaf/UIResource.java,
3391 javax/swing/plaf/metal/MetalLookAndFeel.java:
3392 Removed redundant modifiers.
3393
134fee65
MK
33942003-10-12 Michael Koch <konqueror@gmx.de>
3395
3396 * javax/swing/Action.java,
3397 javax/swing/BoundedRangeModel.java,
3398 javax/swing/CellEditor.java,
3399 javax/swing/ComboBoxEditor.java,
3400 javax/swing/ComboBoxModel.java,
3401 javax/swing/DesktopManager.java,
3402 javax/swing/JComboBox.java,
3403 javax/swing/ListCellRenderer.java,
3404 javax/swing/ListSelectionModel.java,
3405 javax/swing/MenuElement.java,
3406 javax/swing/MutableComboBoxModel.java,
3407 javax/swing/Renderer.java,
3408 javax/swing/RootPaneContainer.java,
3409 javax/swing/ScrollPaneConstants.java,
3410 javax/swing/SingleSelectionModel.java,
3411 javax/swing/SpinnerModel.java,
3412 javax/swing/SwingConstants.java,
3413 javax/swing/UIDefaults.java,
3414 javax/swing/WindowConstants.java,
3415 javax/swing/border/Border.java,
3416 javax/swing/colorchooser/ColorSelectionModel.java:
3417 Removed redundant modifiers.
3418
9d82a4b3
MK
34192003-10-11 Michael Koch <konqueror@gmx.de>
3420
3421 * javax/transaction/Status.java,
3422 javax/transaction/Synchronization.java,
3423 javax/transaction/Transaction.java,
3424 javax/transaction/TransactionManager.java,
3425 javax/transaction/UserTransaction.java,
3426 javax/transaction/xa/XAResource.java,
3427 javax/transaction/xa/Xid.java:
3428 Removing redundant modifiers.
3429
89889f24
MK
34302003-10-11 Michael Koch <konqueror@gmx.de>
3431
3432 * javax/print/attribute/Attribute.java,
3433 javax/print/attribute/AttributeSet.java,
3434 javax/print/attribute/PrintRequestAttributeSet.java:
3435 Removing redundant modifiers.
3436
e1feb64f
MK
34372003-10-11 Michael Koch <konqueror@gmx.de>
3438
3439 * javax/sql/ConnectionEventListener.java,
3440 javax/sql/ConnectionPoolDataSource.java,
3441 javax/sql/DataSource.java,
3442 javax/sql/PooledConnection.java,
3443 javax/sql/RowSet.java,
3444 javax/sql/RowSetInternal.java,
3445 javax/sql/RowSetListener.java,
3446 javax/sql/RowSetMetaData.java,
3447 javax/sql/RowSetReader.java,
3448 javax/sql/RowSetWriter.java,
3449 javax/sql/XAConnection.java,
3450 javax/sql/XADataSource.java:
3451 Removing redundant modifiers.
3452
547f7f8b
MK
34532003-10-11 Michael Koch <konqueror@gmx.de>
3454
3455 * javax/naming/Context.java,
3456 javax/naming/Name.java,
3457 javax/naming/NameParser.java,
3458 javax/naming/NamingEnumeration.java,
3459 javax/naming/Referenceable.java,
3460 javax/naming/directory/Attribute.java,
3461 javax/naming/directory/Attributes.java,
3462 javax/naming/directory/DirContext.java,
3463 javax/naming/event/EventContext.java,
3464 javax/naming/event/EventDirContext.java,
3465 javax/naming/event/NamespaceChangeListener.java,
3466 javax/naming/event/NamingListener.java,
3467 javax/naming/event/ObjectChangeListener.java,
3468 javax/naming/ldap/Control.java,
3469 javax/naming/ldap/ExtendedRequest.java,
3470 javax/naming/ldap/ExtendedResponse.java,
3471 javax/naming/ldap/HasControls.java,
3472 javax/naming/ldap/LdapContext.java,
3473 javax/naming/ldap/UnsolicitedNotification.java,
3474 javax/naming/ldap/UnsolicitedNotificationListener.java,
3475 javax/naming/spi/DirObjectFactory.java,
3476 javax/naming/spi/DirStateFactory.java,
3477 javax/naming/spi/InitialContextFactory.java,
3478 javax/naming/spi/InitialContextFactoryBuilder.java,
3479 javax/naming/spi/ObjectFactory.java,
3480 javax/naming/spi/ObjectFactoryBuilder.java,
3481 javax/naming/spi/Resolver.java,
3482 javax/naming/spi/StateFactory.java:
3483 Removing redundant modifiers.
3484
e3ff2b2b
MK
34852003-10-11 Michael Koch <konqueror@gmx.de>
3486
3487 * java/security/Key.java,
3488 * java/security/PrivateKey.java,
3489 * java/security/PublicKey.java,
3490 * java/security/acl/Acl.java,
3491 * java/security/acl/AclEntry.java,
3492 * java/security/acl/Group.java,
3493 * java/security/acl/Owner.java,
3494 * java/security/acl/Permission.java,
3495 * java/security/cert/X509Extension.java,
3496 * java/security/interfaces/DSAKey.java,
3497 * java/security/interfaces/DSAKeyPairGenerator.java,
3498 * java/security/interfaces/DSAParams.java,
3499 * java/security/interfaces/DSAPrivateKey.java,
3500 * java/security/interfaces/DSAPublicKey.java,
3501 * java/security/interfaces/RSAKey.java,
3502 * java/security/interfaces/RSAPrivateCrtKey.java,
3503 * java/security/interfaces/RSAPrivateKey.java,
3504 * java/security/interfaces/RSAPublicKey.java:
3505 Removed redundant modifiers.
3506
6233cbbc
MK
35072003-10-11 Michael Koch <konqueror@gmx.de>
3508
3509 * gnu/java/rmi/server/ProtocolConstants.java,
3510 gnu/java/security/der/DER.java:
3511 Removing redundant modifiers.
3512
9440ae0c
MK
35132003-10-11 Michael Koch <konqueror@gmx.de>
3514
3515 * java/util/Map.java,
3516 java/util/Observer.java,
3517 java/util/zip/Checksum.java,
3518 java/util/zip/ZipConstants.java:
3519 Removed redundant modifiers.
3520
af6b79a6
MK
35212003-10-11 Michael Koch <konqueror@gmx.de>
3522
3523 * java/text/AttributedCharacterIterator.java,
3524 java/text/CharacterIterator.java:
3525 Removed redundant modifiers.
3526
afe60169
MK
35272003-10-11 Michael Koch <konqueror@gmx.de>
3528
3529 * java/sql/Array.java,
3530 java/sql/Blob.java,
3531 java/sql/CallableStatement.java,
3532 java/sql/Clob.java,
3533 java/sql/Connection.java,
3534 java/sql/DatabaseMetaData.java,
3535 java/sql/Driver.java,
3536 java/sql/ParameterMetaData.java,
3537 java/sql/PreparedStatement.java,
3538 java/sql/Ref.java,
3539 java/sql/ResultSet.java,
3540 java/sql/ResultSetMetaData.java,
3541 java/sql/SQLData.java,
3542 java/sql/SQLInput.java,
3543 java/sql/SQLOutput.java,
3544 java/sql/Savepoint.java,
3545 java/sql/Statement.java,
3546 java/sql/Struct.java:
3547 Removed redundant modifiers.
3548
eb0043a0
MK
35492003-10-11 Michael Koch <konqueror@gmx.de>
3550
3551 * java/nio/channels/Channel.java,
3552 java/nio/channels/GatheringByteChannel.java,
3553 java/nio/channels/ReadableByteChannel.java,
3554 java/nio/channels/ScatteringByteChannel.java,
3555 java/nio/channels/WritableByteChannel.java:
3556 Removed redundant modifiers.
3557
d5a87c2b
MK
35582003-10-11 Michael Koch <konqueror@gmx.de>
3559
3560 * java/rmi/activation/ActivationInstantiator.java,
3561 java/rmi/activation/ActivationMonitor.java,
3562 java/rmi/activation/ActivationSystem.java,
3563 java/rmi/activation/Activator.java,
3564 java/rmi/dgc/DGC.java,
3565 java/rmi/registry/Registry.java,
3566 java/rmi/registry/RegistryHandler.java,
3567 java/rmi/server/LoaderHandler.java,
3568 java/rmi/server/RMIClientSocketFactory.java,
3569 java/rmi/server/RMIFailureHandler.java,
3570 java/rmi/server/RMIServerSocketFactory.java,
3571 java/rmi/server/RemoteCall.java,
3572 java/rmi/server/RemoteRef.java,
3573 java/rmi/server/ServerRef.java,
3574 java/rmi/server/Skeleton.java,
3575 java/rmi/server/Unreferenced.java:
3576 Removed redundant modifiers.
3577
7afb0eea
MK
35782003-10-11 Michael Koch <konqueror@gmx.de>
3579
3580 * java/net/ContentHandlerFactory.java,
3581 java/net/DatagramSocketImplFactory.java,
3582 java/net/FileNameMap.java,
3583 java/net/SocketImplFactory.java,
3584 java/net/SocketOptions.java,
3585 java/net/URLStreamHandlerFactory.java:
3586 Removed redundant modifiers.
3587
cb244683
MK
35882003-10-11 Michael Koch <konqueror@gmx.de>
3589
3590 * java/io/Externalizable.java,
3591 java/io/FileFilter.java,
3592 java/io/FilePermission.java,
3593 java/io/ObjectInput.java,
3594 java/io/ObjectInputValidation.java,
3595 java/io/ObjectOutput.java,
3596 java/io/ObjectStreamClass.java,
3597 java/io/ObjectStreamConstants.java,
3598 java/io/Serializable.java:
3599 Removed redundant modifiers.
3600
6a12e65c
IP
36012003-10-11 Ingo Proetel <proetel@aicas.com>
3602
3603 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
3604 codebase and context classloader.
3605
c7bcb09d
MK
36062003-10-11 Michael Koch <konqueror@gmx.de>
3607
3608 * java/beans/beancontext/BeanContext.java,
3609 java/beans/beancontext/BeanContextChild.java,
3610 java/beans/beancontext/BeanContextChildComponentProxy.java,
3611 java/beans/beancontext/BeanContextChildSupport.java,
3612 java/beans/beancontext/BeanContextContainerProxy.java,
3613 java/beans/beancontext/BeanContextMembershipListener.java,
3614 java/beans/beancontext/BeanContextProxy.java,
3615 java/beans/beancontext/BeanContextServiceProvider.java,
3616 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3617 java/beans/beancontext/BeanContextServiceRevokedListener.java,
3618 java/beans/beancontext/BeanContextServices.java,
3619 java/beans/beancontext/BeanContextServicesListener.java:
3620 Removed redundant modifiers.
3621
928366f0
MK
36222003-10-11 Michael Koch <konqueror@gmx.de>
3623
3624 * java/beans/AppletInitializer.java,
3625 java/beans/BeanInfo.java,
3626 java/beans/Customizer.java,
3627 java/beans/DesignMode.java,
3628 java/beans/PropertyEditor.java,
3629 java/beans/Visibility.java:
3630 Removed redundant modifiers.
3631
e1a5ed6c
MK
36322003-10-11 Michael Koch <konqueror@gmx.de>
3633
3634 * java/awt/print/Pageable.java,
3635 * java/awt/print/Printable.java,
3636 java/awt/print/PrinterGraphics.java:
3637 Removed redundant modifiers.
3638
4581f1bc
MK
36392003-10-11 Michael Koch <konqueror@gmx.de>
3640
3641 * java/awt/peer/ButtonPeer.java,
3642 java/awt/peer/CheckboxMenuItemPeer.java,
3643 java/awt/peer/CheckboxPeer.java,
3644 java/awt/peer/ChoicePeer.java,
3645 java/awt/peer/ComponentPeer.java,
3646 java/awt/peer/ContainerPeer.java,
3647 java/awt/peer/DialogPeer.java,
3648 java/awt/peer/FileDialogPeer.java,
3649 java/awt/peer/FramePeer.java,
3650 java/awt/peer/LabelPeer.java,
3651 java/awt/peer/ListPeer.java,
3652 java/awt/peer/MenuBarPeer.java,
3653 java/awt/peer/MenuComponentPeer.java,
3654 java/awt/peer/MenuItemPeer.java,
3655 java/awt/peer/MenuPeer.java,
3656 java/awt/peer/PopupMenuPeer.java,
3657 java/awt/peer/RobotPeer.java,
3658 java/awt/peer/ScrollPanePeer.java,
3659 java/awt/peer/ScrollbarPeer.java,
3660 java/awt/peer/TextAreaPeer.java,
3661 java/awt/peer/TextComponentPeer.java,
3662 java/awt/peer/TextFieldPeer.java,
3663 java/awt/peer/WindowPeer.java:
3664 Removed redundant modifiers.
3665
51914674
MK
36662003-10-11 Michael Koch <konqueror@gmx.de>
3667
3668 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3669 * gnu/java/nio/ServerSocketChannelImpl.java
3670 (serverSocket): Made it a NIOServerSocket.
3671 (impl): Removed.
3672 (ServerSocketChannelImpl): Initialize only serverSocket.
3673 (initServerSocket): Removed.
3674 (getNativeFD): Rewritten.
3675 (implConfigureBlocking): Set socket timeout and removed comment.
3676 (accept): Rewritten.
3677 * gnu/java/nio/SocketChannelImpl.java
3678 (impl): New variable.
3679 (connected): Removed.
3680 (SocketChannelImpl): Initialize impl too.
3681 (getImpl): New method.
3682 (isConnected): Rewritten.
3683 (read): Rewritten, set position in buffer correctly.
3684 (write): Set position in buffer correctly.
3685 * java/net/ServerSocket.java (getImpl): New method.
3686 * gnu/java/nio/NIOServerSocket.java,
3687 gnu/java/nio/natNIOServerSocket.cc: New files.
3688 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3689 * Makefile.am
3690 (ordinary_java_source_files):
3691 Added gnu/java/nio/NIOServerSocket.java.
3692 (nat_source_files):
3693 Removed gnu/java/nio/natServerSocketChannelImpl.cc
3694 and added gnu/java/nio/natNIOServerSocket.cc.
3695 * Makefile.in: Regenerated.
3696
00f4a3fb
MK
36972003-10-11 Michael Koch <konqueror@gmx.de>
3698
a28e846b
MK
3699 * java/awt/ActiveEvent.java,
3700 java/awt/datatransfer/ClipboardOwner.java,
3701 java/awt/datatransfer/FlavorMap.java,
3702 java/awt/datatransfer/Transferable.java,
3703 java/awt/dnd/Autoscroll.java,
3704 java/awt/dnd/peer/DragSourceContextPeer.java,
3705 java/awt/dnd/peer/DropTargetContextPeer.java,
3706 java/awt/dnd/peer/DropTargetPeer.java,
3707 java/awt/font/MultipleMaster.java,
3708 java/awt/font/OpenType.java,
3709 java/awt/im/spi/InputMethodDescriptor.java,
3710 java/awt/image/ImageObserver.java,
3711 java/awt/image/ImageConsumer.java,
3712 java/awt/image/ImageProducer.java,
3713 java/awt/image/RGBImageFilter.java,
3714 java/awt/image/RasterOp.java,
3715 java/awt/image/renderable/RenderableImage.java:
3716 Removed redundant modifiers.
00f4a3fb 3717
31f28689
MK
37182003-10-11 Michael Koch <konqueror@gmx.de>
3719
b46f35f3
MK
3720 * gnu/awt/j2d/DirectRasterGraphics.java,
3721 gnu/java/awt/EmbeddedWindowSupport.java:
3722 Removed redundant modifiers.
31f28689 3723
137f5e84
MK
37242003-10-09 Michael Koch <konqueror@gmx.de>
3725
3726 * gnu/java/nio/SelectorImpl.java (register):
3727 Use ServerSocketChannelSelectionKey for server socket channels,
3728 removed unneeded comments.
3729 * gnu/java/nio/ServerSocketChannelImpl.java
3730 (ServerSocketChannelImpl): Made class public final.
3731 (impl): New member variable.
3732 (ServerSocketChannelImpl): Initialize member variables correctly.
3733 (initServerSocket): New method.
3734 (getNativeFD): Likewise.
3735 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3736 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3737 * Makefile.am (ordinary_java_source_files):
3738 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3739 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3740 * Makefile.in: Regenrated.
3741
4e3cb200
MK
37422003-10-09 Michael Koch <konqueror@gmx.de>
3743
3744 * java/nio/channels/spi/AbstractSelectableChannel.java
3745 (registered): Made private.
3746 (blocking): Likewise.
3747 (LOCK): Likewise.
3748 (provider): Likewise.
3749 (keys): Made it a private LinkedList.
3750 (AbstractSelectableChannel): Initialize keys.
3751 (isRegistered): New implementation.
3752 (locate): Rewritten.
3753 (register): Rewritten.
3754 * java/nio/channels/spi/AbstractSelectionKey.java
3755 (ok): Removed.
3756 (cancelled): New member variable.
3757 (cancel): Rewritten.
3758 (isValid): Rewritten.
3759 * java/nio/channels/spi/AbstractSelector.java:
3760 Some methods moved.
3761 (closed): Make private.
3762 (provider): Likewise.
3763 (cancelledKeys): New member variable.
3764 (AbstractSelector): Initialize cancelledKeys.
3765 (cancelKey): New method.
3766
b379e7b0
TT
37672003-10-09 Tom Tromey <tromey@redhat.com>
3768
3769 * java/lang/ClassLoader.java (setSigners): Implemented.
3770 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3771 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3772 Initialize new fields.
3773 * java/lang/Class.java (getSigners): Now native.
3774 (setSigners): Declare.
3775 * java/lang/natClass.cc (getSigners): New method.
3776 (getSigners): Likewise.
3777 * java/lang/Class.h (Class::signers): New field.
3778 (Class::setSigners): New method.
3779
69c7b827
MK
37802003-10-09 Michael Koch <konqueror@gmx.de>
3781
3782 * java/rmi/server/RMIClassLoader.java:
3783 Removed unused imports, little reformatings.
3784 (getClassLoader): New method, implementation was part of old loadCLass
3785 method.
3786 (loadClass): Simplified by moving functionality to new method and
3787 reworking the code a bit.
3788 (getClassAnnotation): Merged documentation from classpath.
3789
a6d6455e
MK
37902003-10-09 Michael Koch <konqueror@gmx.de>
3791
3792 * java/math/BigInteger.java
3793 (add): Removed unused local variable len.
3794
a5586c38
TF
37952003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3796
23a555b0
TF
3797 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3798 modality check.
3799 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3800 Initialize insets to use latest insets.
3801 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3802 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3803 field.
3804 (postConfigureEvent): Update latestInsets field when insets
3805 change. Remove call to setSize. Move validate call outside of
3806 if blocks.
3807 (setVisible): Call setBounds before showing window.
3808 (nativeSetVisible): New native method.
3809 * java/awt/Window.java (show): Show visible owned windows.
3810 (hide): Hide visible owned windows.
3811 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3812 (awt_event_handler): Implement modality using GTK grabs.
3813 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3814 (global_gtk_window_group): New global variable.
3815 (gtkInit): Initialize global_gtk_window_group.
3816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3817 Clamp width and height values to at least 1. Add this window to
3818 the global GTK window group.
3819 (setVisible): Rename to nativeSetVisible.
3820 (setup_window): Remove function.
3821 (setSize): Clamp width and height values to at least 1.
3822 (nativeSetBounds): Likewise.
3823 (gdk_window_get_root_geometry): Remove function.
3824 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3825 and setup_window declarations. Declare global_gtk_window_group.
3826
a5586c38
TF
3827 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3828 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3829 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3830 (gtkWidgetSetForeground): New method.
3831 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3832 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3833 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3834 (setBackground, setForeground): Implement.
3835 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3836 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3837 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3838 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3839 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3840 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3841 Position PangoLayout relative to text's baseline.
3842 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3843
3844 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3845 for CENTER and RIGHT alignments.
3846
c0815127
MK
38472003-10-08 Michael Koch <konqueror@gmx.de>
3848
3849 * java/security/Security.java: Reformated.
3850
a498cba5
MK
38512003-10-08 Michael Koch <konqueror@gmx.de>
3852
3853 * java/text/SimpleDateFormat.java
3854 (compileFormat): Replace Character.isLetter() test with
3855 Character.isLowerCase() || Character.isUpperCase().
3856
d7912744
TT
38572003-10-08 Tom Tromey <tromey@redhat.com>
3858
3859 * java/lang/StrictMath.java (toDegrees): Multiply before
3860 dividing.
3861 (toRadians): Likewise.
3862
38632003-10-08 C. Brian Jones <cbj@gnu.org>
3864
3865 * java/lang/Math.java
3866 (toRadians): multiply before dividing to reduce decimal error
3867 (toDegrees): ditto
3868
85aa13b2
MK
38692003-10-08 Michael Koch <konqueror@gmx.de>
3870
3871 * gnu/gcj/protocol/core/Connection.java,
3872 gnu/gcj/protocol/core/CoreInputStream.java,
3873 gnu/gcj/protocol/core/Handler.java,
3874 gnu/gcj/protocol/core/natCoreInputStream.cc,
3875 gnu/gcj/protocol/file/Connection.java,
3876 gnu/gcj/protocol/file/Handler.java,
3877 gnu/gcj/protocol/gcjlib/Connection.java,
3878 gnu/gcj/protocol/gcjlib/Handler.java,
3879 gnu/gcj/protocol/http/Connection.java,
3880 gnu/gcj/protocol/http/Handler.java,
3881 gnu/gcj/protocol/jar/Connection.java,
3882 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3883 * gnu/java/net/protocol/core/Connection.java,
3884 gnu/java/net/protocol/core/CoreInputStream.java,
3885 gnu/java/net/protocol/core/Handler.java,
3886 gnu/java/net/protocol/core/natCoreInputStream.cc,
3887 gnu/java/net/protocol/file/Connection.java,
3888 gnu/java/net/protocol/file/Handler.java,
3889 gnu/java/net/protocol/gcjlib/Connection.java,
3890 gnu/java/net/protocol/gcjlib/Handler.java,
3891 gnu/java/net/protocol/http/Connection.java,
3892 gnu/java/net/protocol/http/Handler.java,
3893 gnu/java/net/protocol/jar/Connection.java,
3894 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3895 * gnu/gcj/runtime/FirstThread.java,
3896 java/net/URL.java: Use moved protocol handlers.
3897 * Makefile.am
3898 (ordinary_java_source_files): Moved files.
3899 (nat_source_files): Likewise.
3900 * Makefile.in: Regenerated.
3901
36805693
MK
39022003-10-08 Michael Koch <konqueror@gmx.de>
3903
3904 * gnu/java/nio/SocketChannelImpl.java
3905 (read): Write only read data to buffer.
3906
ce7a72c8
TF
39072003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3908
3909 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3910 out.
3911 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3912 (JCL_free): Attach "unused" attribute to env parameter.
3913 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3914 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3915 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3916 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3917 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3918 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3919 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3920 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3921 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3922 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3923 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3924 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3925 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3926 parameters.
3927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3928 (initNativeState): Pass 0 as info argument to
3929 gtk_selection_add_target.
3930 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3931 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3932 unused method implementations.
3933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3934 (awt_event_handler): Add break statement after default label.
3935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3936 (drawPixels): Remove unused variable i.
3937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3938 (setEnabled): Remove method implementation.
3939 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3940 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3941 argument.
3942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3943 unused function.
3944 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3945 (menu_pos): Assign TRUE to push_in.
3946 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3947 argument.
3948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3949 (create): Remove unused variable layout.
3950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3951 Pass window_widget, rather than window, to
3952 gtk_widget_set_size_request.
3953 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3954 structure initialization with NULL values.
3955 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3956
51a398a0
MK
39572003-10-08 Michael Koch <konqueror@gmx.de>
3958
3959 * java/util/LinkedList.java:
3960 Removed whitespace to match classpath's version again.
3961
f4758678
MK
39622003-10-08 Michael Koch <konqueror@gmx.de>
3963
3964 * java/util/prefs/Preferences.java
3965 (defaultFactoryClass): Fixed class name.
3966 (getFactory): Create instance of class returned by Class.forName(),
3967 reformated code.
3968
e55f4a34
AV
39692003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3970
3971 * javax/swing/table/AbstractTableModel.java
3972 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3973 helped stop pulling my hair on this +1 then -1 tricky thing!
3974
ff4cc28b
TF
39752003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3976
3977 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3978 Remove unused parameters.
3979 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3980 Likewise.
3981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3982 (keyevent_state_to_awt_mods): Export function.
3983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3984 (getCaretPosition): Fix TextArea case.
3985 (textcomponent_commit_cb): Get exact event time and modifier
3986 state.
3987 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3988
d1aa4795
GL
39892003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
3990
3991 * java/net/InetSocketAddress.java
3992 (InetSocketAddress): Made exception more clear.
3993 (equals): Handle case when addr is null.
3994 (toString): Likewise.
3995 * java/net/NetworkInterface.java
3996 (static): Load native library.
3997 (getNetworkInterfaces): Rewritten.
3998
b59b5081
TF
39992003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4000
4001 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
4002 field.
4003 (initializeInsets): New method.
4004 (GtkComponentPeer): Call initializeInsets. Call setCursor and
4005 setBounds unconditionally.
4006 (setBounds): Convert coordinates if parent is a Window.
4007 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
4008 field to GtkComponentPeer.
4009 (GtkContainerPeer): Don't initialize insets.
4010 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
4011 New method.
4012 (create): Call new GtkWindowPeer create method.
4013 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
4014 New method.
4015 (create): Call new GtkWindowPeer create method.
4016 (setBounds): Remove method.
4017 (postConfigureEvent): Likewise.
4018 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
4019 type constants with GDK window type constants.
4020 (create(int,boolean,int,int,GtkWindowPeer)): New method.
4021 (create(int,boolean)): Likewise.
4022 (create()): Call create(int,boolean).
4023 (nativeSetBounds): New native method declaration.
4024 (setBounds): Call native method declaration.
4025 (setSize): New native method declaration.
4026 (setBoundsCallback): Likewise.
4027 (postConfigureEvent): Handle change in insets. Call setSize and
4028 setBoundsCallback methods.
4029 * java/awt/Window.java (Window): Set visible to false.
4030 (setBoundsCallback): New method.
4031 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4032 (gtkWidgetGetLocationOnScreen): If this component is not a
4033 container, adjust the location returned based on the peer's
4034 allocation.
4035 (set(String,boolean)): Revert change from 2003-09-19.
4036 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4037 (awt_event_handler): Fix inset calculation.
4038 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
4039 glue for Window.setBoundsCallback.
4040 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4041 Set up stacking order, window decorations and window manager
4042 hints.
4043 (setBoundsCallback): New method.
4044 (setSize): New method.
4045 (nativeSetBounds): New method.
4046 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
4047
d801e245
TT
40482003-10-02 Tom Tromey <tromey@redhat.com>
4049
4050 * java/lang/VMClassLoader.java (loadClass): Now native.
4051 * java/lang/natClassLoader.cc (loadClass): Implement.
4052 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
4053
484fe3bf
MK
40542003-10-02 Michael Koch <konqueror@gmx.de>
4055
4056 * java/net/InetAddress.java
4057 (zeros): Removed.
4058 (ANY_IF): Initalizie in static block.
4059 (static): Load library with native methods here and initialize ANY_IF.
4060 (isAnyLocalAddress): Check if equal to ANY_IF.
4061 (equals): Use addr directly instead of addr1. Simplify for loop.
4062 (toString): Rename "result" to "host" and add IP address allways.
4063 (getLocalHost): Merged documentation from classpath.
4064 * java/net/ServerSocket.java
4065 (ServerSocket): New package-private constructor used by java.nio.
4066 * java/net/URLConnection.java
4067 (getRequestProperties): Check if already connected.
4068
a08a2b75
MK
40692003-10-02 Michael Koch <konqueror@gmx.de>
4070
4071 * java/nio/ByteBufferHelper.java:
4072 Rewrote all methods by suggestions from Eric Blake.
4073
cb9b7827
MK
40742003-10-02 Michael Koch <konqueror@gmx.de>
4075
4076 * java/net/URL.java
4077 (DEFAULT_SEARCH_PATH): New static variable.
4078 (ph_cache): Made it a HashMap.
4079 (getURLStreamHandler): Rename propVal to ph_search_path and use
4080 DEFAULT_SEARCH_PATH.
4081
16aae3d2
MK
40822003-10-02 Michael Koch <konqueror@gmx.de>
4083
4084 * javax/swing/table/AbstractTableModel.java
4085 (findColumnName): Prevent from NullPointerException if argument
4086 columnName is null.
4087
40882003-10-02 Michael Koch <konqueror@gmx.de>
4089
4090 * javax/swing/table/AbstractTableModel.java:
4091 This patch is based on a patch done by Arnaud Vandyck
4092 <arnaud.vandyck@ulg.ac.be>.
4093 (getColumnName): Fixed method documentation.
4094 (findColumn): Likewise.
4095 (getColumnClass): Likewise.
4096 (isCellEditable): Likewise.
4097 (setValueAt): Likewise.
4098 (addTableModelListener): Likewise.
4099 (removeTableModelListener): Likewise.
4100 (getTableModelListeners): New method.
4101
41022003-10-02 Michael Koch <konqueror@gmx.de>
4103
4104 * javax/swing/table/AbstractTableModel.java:
4105 Reformated.
4106
fddb33d2
BM
41072003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
4108
4109 Fix PR libgcj/12475
4110 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
4111 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
4112
d6383631
TT
41132003-10-01 Tom Tromey <tromey@redhat.com>
4114
4115 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
4116
9dfc2ec2
AH
41172003-10-01 Andrew Haley <aph@redhat.com>
4118
4119 * java/lang/natClass.cc (initializeClass): Check for otable and
4120 atable.
4121 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
4122 loops using for(). Search superinterfaces. Check for fields as
4123 well as methods. Initialize atable as well as otable: check for
4124 static methods as well as virtual methods.
4125 * java/lang/Class.h (struct _Jv_AddressTable): New.
4126 (atable): New.
4127 (atable_syms): New.
4128 * include/jvm.h (_Jv_equalUtf8Consts): constify.
4129 * prims.cc (_Jv_equalUtf8Consts): constify.
4130
2cd56142
TT
41312003-09-29 Tom Tromey <tromey@redhat.com>
4132
4133 PR libgcj/10596:
4134 * include/jvm.h (_Jv_FinalizeString,
4135 _Jv_RegisterStringFinalizer): Declare.
4136 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
4137 unintern.
4138 (intern): Updated.
4139 (_Jv_NewStringUtf8Const): Likewise.
4140 * java/lang/ref/natReference.cc (finalize_referred_to_object):
4141 Add special case when finalizing a String.
4142 (in_hash): New function.
4143 (_Jv_RegisterStringFinalizer): Likewise.
4144 (maybe_add_finalize): Likewise.
4145
b47ea0e8
MK
41462003-09-29 Michael Koch <konqueror@gmx.de>
4147
4148 * java/net/InetAddress.java:
4149 (isMulticastAddress): Dont use local variable to store address length.
4150 Let the compiler optimize this.
4151 (getHostName): Merged dcoumentation from classpath.
4152 (getAddress): Likewise.
4153 (getHostAddress): Likewise.
4154 (hashCode): Likewise.
4155 (equals): Likewise.
4156 (toString): Likewise.
4157 (getByName): Likewise.
4158 (getAllByName): Likewise.
4159
38878195
MK
41602003-09-29 Michael Koch <konqueror@gmx.de>
4161
4162 * java/awt/image/IndexColorModel.java: Reformated.
4163
7da1da83
MK
41642003-09-29 Michael Koch <konqueror@gmx.de>
4165
4166 * java/net/InetAddress.java,
4167 java/net/URL.java: Reformated.
4168
e7c4333b
BM
41692003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
4170
4171 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
4172 significant bit of descriptor. Include the vtable and sync_info
4173 fields.
4174
f6b17867
BM
41752003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
4176
6fb70863
BM
4177 * java/text/DateFormat.java (format): Throw IllegalArgumentException
4178 if `obj' is not a Number or Date instance.
4179 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
4180 instead of Vector.
4181
41822003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
4183
4184 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
f6b17867
BM
4185 Don't call setTimeZone on calendar.
4186
d485d933
MK
41872003-09-27 Michael Koch <konqueror@gmx.de>
4188
4189 * java/net/URL.java (getURLStreamHandler): Compile fixes.
4190
4ada1976
MK
41912003-09-27 Michael Koch <konqueror@gmx.de>
4192
4193 * java/net/URL.java (getURLStreamHandler):
4194 Check if we have to use cache before trying to retrieve handler from
4195 cache. Rename facName to clsName to match classpath more. Reformated
4196 some little pieces.
4197
fc40b902
MK
41982003-09-27 Michael Koch <konqueror@gmx.de>
4199
4200 * gnu/java/nio/SelectionKeyImpl.java
4201 (ch): Make package-private again. Jikes found this bug.
4202 Jeff Sturm submitted PR12426 for this to bugzilla
4203 to fix this bug in gcj.
4204
6634a0e9
MK
42052003-09-26 Michael Koch <konqueror@gmx.de>
4206
4207 * java/rmi/server/RMIClassLoader.java:
4208 Reformatted file, no functional code changes.
4209
fc56f7ac
MK
42102003-09-26 Sascha Brawer <brawer@dandelis.ch>
4211
4212 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
4213 Save space for some pixels at the buffer end. Added Javadoc.
4214
42152003-09-26 Tom Tromey <tromey@redhat.com>
4216
4217 * java/io/ObjectOutputStream.java (writeFields): Fixed
4218 indentation.
4219 (putFields): Likewise.
4220
853ca657
MK
42212003-09-26 Michael Koch <konqueror@gmx.de>
4222
4223 * java/nio/ByteBufferHelper.java:
4224 Totally reworked with help from Eric Blake.
4225
a366f4aa
TT
42262003-09-26 Tom Tromey <tromey@redhat.com>
4227
4228 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
4229 * java/awt/geom/PathIterator.java: Documentation fixes.
4230
eac559b6
JS
42312003-09-25 Jeff Sturm <jsturm@one-point.com>
4232
4233 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
4234 (select): Likewise.
4235 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
4236
1bfb64ff
MK
42372003-09-25 Michael Koch <konqueror@gmx.de>
4238
4239 * gnu/java/nio/DatagramChannelImpl.java
4240 (getNativeFD): New method.
4241 * gnu/java/nio/SelectionKeyImpl.java
4242 (SelectionKeyImpl): Class made abstract.
4243 (fd): Removed.
4244 (SelectionKeyImpl): Remove fd argument.
4245 (getNativeFD): New method.
4246 * gnu/java/nio/SocketChannelImpl.java
4247 (getNativeFD): New method.
4248 gnu/java/nio/DatagramChannelSelectionKey.java,
4249 * gnu/java/nio/SocketChannelSelectionKey.java:
4250 New files.
4251 * Makefile.am (ordinary_java_source_files):
4252 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4253 gnu/java/nio/SocketChannelSelectionKey.java.
4254 * Makefile.in: Regenerated.
4255
73a1415e
MK
42562003-09-25 Michael Koch <konqueror@gmx.de>
4257
4258 * java/lang/reflect/Proxy.java
4259 (getProxyClass): Remove workaround for gcj 3.0.x.
4260
bf172f54
MK
42612003-09-25 Michael Koch <konqueror@gmx.de>
4262
4263 * gnu/java/net/PlainDatagramSocketImpl.java
4264 (finalize): Moved to directly after constructor.
4265 (getNativeFD): New method.
4266 * gnu/java/net/PlainSocketImpl.java
4267 (getNativeFD): New method.
4268
9481d818
IP
42692003-09-25 Ingo Proetel <proetel@aicas.com>
4270
4271 * java/io/ObjectOutputStream.java:
4272 Allow putFields be called more than once.
4273
2ccba5f0
SB
42742003-09-25 Sascha Brawer <brawer@dandelis.ch>
4275
4276 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4277 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4278 * java/awt/image/BufferedImage.java (toString): Implement.
4279
0d9c8a12
JS
42802003-09-25 Jeff Sturm <jsturm@one-point.com>
4281
4282 * aclocal.m4: Rebuilt.
4283 * configure: Rebuilt.
4284
cc9556b9
GL
42852003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
4286
4287 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4288 field.
4289
c5fd8041
MK
42902003-09-25 Michael Koch <konqueror@gmx.de>
4291
4292 * gnu/java/nio/SelectorImpl.java
4293 (implSelect): Renamed from java_do_select.
4294 (select): Call native implSelect() and add support for Thread
4295 interruption.
4296 * gnu/java/nio/natSelectorImpl.cc
4297 (implSelect): Renamed from java_do_select.
4298
6cbaf038
MK
42992003-09-25 Michael Koch <konqueror@gmx.de>
4300
4301 * gnu/java/nio/SelectorImpl.java
4302 (selectNow): Made final, throws IOException.
4303 (select): Likewise.
4304 (getFDsAsArray): Made final.
4305 (selectedKeys): Likewise.
4306 (wakeup): Likewise.
4307 (deregisterCancelledKeys): Likewise.
4308 (register): Likewise.
4309 (ass): Removed.
4310 (add_selected): Removed.
4311 * gnu/java/nio/natSelectorImpl.cc:
4312 No need to include bstring.h or gcj/cni.h.
4313 (helper_put_filedescriptors): Rewritten.
4314 (helper_get_filedescriptors): Rewritten.
4315
bc7ac0d8
MK
43162003-09-25 Sascha Brawer <brawer@dandelis.ch>
4317
4318 * java/awt/font/FontRenderContext.java (getTransform): Return
4319 copy of internal transform object. Add Javadoc.
4320 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4321 winding rule as Sun J2SE.
4322 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4323
43242003-09-25 Ingo Proetel <proetel@aicas.com>
4325
4326 * java/rmi/Naming.java:
4327 Added comments, now accepts pseudo protocol "rmi".
4328
eaaad728
GL
43292003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
4330
4331 * java/text/DecimalFormat.java (format): Don't immediatly round
4332 baseNumber to long.
4333 (setMinimumIntegerDigits): Call super.
4334 (setMinimumFractionDigits): Likewise.
4335 (setMaximumIntegerDigits): Likewise.
4336 (setMaximumFractionDigits): Likewise.
4337
21e69789
MK
43382003-09-25 Michael Koch <konqueror@gmx.de>
4339
4340 * gnu/java/nio/DatagramChannelImpl.java
4341 (DatagramChannelImpl): Made class final.
4342 (blocking): Made private.
4343 (socket): Made it a NIODatagramSocket and private.
4344 (DatagramChannelImpl): create NIODatagramSocket instead of
4345 DatagramSocket.
4346 (implConfigureBlocking): Set socket timeout.
4347 (connect): Check that channel is not closed.
4348 (write): Implemented.
4349 (write): Rewritten.
4350 (read): Implemented.
4351 (read): Rewritten.
4352 (receive): Implemented.
4353 (send): Implemented.
4354 * gnu/java/nio/SelectionKeyImpl.java
4355 (readyOps): Made private.
4356 (interestOps): Made private.
4357 (impl): Made private.
4358 (ch): Made private.
4359 (readyOps): Check if selection key is valid.
4360 (interestOps): Likewise.
4361 * gnu/java/nio/SelectorImpl.java
4362 (closed): Removed.
4363 (keys): Made private.
4364 (selected): Made private.
4365 (finalize): New method.
4366 (implCloseSelector): Rewritten.
4367 (keys): Return unmodifiable Set.
4368 (deregisterCancelledKeys): Fixed typo in method name.
4369 * gnu/java/nio/SocketChannelImpl.java
4370 (SocketChannelImpl): Made class final.
4371 (socket): Made it a NIOSocket and private.
4372 (blocking): Made private.
4373 (connected): Made private.
4374 (connectionPending): New member variable.
4375 (SocketChannelImpl): New implementation.
4376 (finalizer): Use isConnected().
4377 (connect): Rewritten.
4378 (finishConnect): Throws IOException, implemented.
4379 (isConnectionPending): Return connectionPending.
4380 (read): Rewritten.
4381 (write): Rewritten.
4382 * gnu/java/nio/NIOConstants.java: New file.
4383 * Makefile.am (ordinary_java_source_files):
4384 Added gnu/java/nio/NIOConstants.java.
4385 * Makefile.in: Regenerated.
4386
194c91ec
MK
43872003-09-25 Michael Koch <konqueror@gmx.de>
4388
4389 * java/net/InetAddress.java:
4390 Reorder imports, remove implementation comment.
4391 (isMulticastAddress): Merged documentation from classpath.
4392 * java/net/URLConnection.java
4393 (setRequestProperty): Check key for null, fix documentation.
4394 (adREquestProperty): Check key for null, remove wrong implementation
4395 and replace it with comment to overwrite this method in subclasses,
4396 fix documentation.
4397
b9f42bb0
TT
43982003-09-25 Tom Tromey <tromey@redhat.com>
4399
4400 * java/lang/reflect/Proxy.java (generate): Uncomment protection
4401 domain code.
4402 * java/lang/natClassLoader.cc (defineClass): Added `loader'
4403 argument.
4404 (linkClass0): Now in VMClassLoader.
4405 (markClassErrorState0): Likewise.
4406 (getSystemClassLoaderInternal): New method.
4407 * java/lang/natClass.cc (initializeClass): Use
4408 VMClassLoader::resolveClass.
4409 * java/lang/ClassLoader.java: New version, from Classpath.
4410 * java/lang/Class.java (getProtectionDomain):
4411 protectionDomainPermission and unknownProtectionDomain now in
4412 VMClassLoader.
4413 * java/lang/Class.h: VMClassLoader now a friend class.
4414 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4415 package-private.
4416 * gcj/javaprims.h: Regenerated class list.
4417 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4418 * java/lang/VMClassLoader.java: New version from Classpath;
4419 modified for libgcj use.
4420
5e2ba18b
MK
44212003-09-25 Michael Koch <konqueror@gmx.de>
4422
4423 * java/nio/ByteBufferHelper.java:
4424 New file.
4425 * java/nio/ByteBufferImpl.java,
4426 java/nio/DirectByteBufferImpl.java,
4427 java/nio/MappedByteBufferImpl.java
4428 (getType,putType): Use new helper class ByteBufferHelper.
4429 * Makefile.am (ordinary_java_source_files):
4430 Added java/nio/ByteBufferHelper.java.
4431 * Makefile.in: Regenerated.
4432
3d5cd600
BM
44332003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
4434
4435 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4436 PR libgcj/12388.
4437
afa1ee5e
BM
44382003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
4439
4440 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4441 Strings, even if buffer is already shared.
4442
4112c7bd
MK
44432003-09-24 Michael Koch <konqueror@gmx.de>
4444
4445 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4446
9b7fe786
BM
44472003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
4448
4449 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4450 (write): Likewise.
4451 (SocketInputStream): Declare `read' and `write' methods native.
4452 Remove implementations which called back into PlainSocketImpl.
4453 Remove unneccessary overridden methods.
4454 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
4455 to inner class PlainSocketImpl.SocketInputStream.
4456 (write): Likewise.
4457 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4458 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4459 * gnu/java/net/SocketInputStream.java: Remove unused file.
4460 * gnu/java/net/SocketOutputStream.java: Likewise.
4461 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4462 and SocketOutputStream.
4463 * Makefile.in: Rebuilt.
4464
da64f72e
NN
44652003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
4466
d0010eed
NN
4467 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4468
da64f72e
NN
4469 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4470 markers.
4471
5463a4f3
AG
44722003-09-22 Anthony Green <green@redhat.com>
4473
4474 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4475 * configure: Rebuilt.
4476
88962108
RL
44772003-09-21 Ralph Loader <suckfish@ihug.co.nz>
4478
4479 PR java/12350:
4480 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4481
b5bb72ec
MK
44822003-09-22 Michael Koch <konqueror@gmx.de>
4483
4484 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4485 compiler warning but produces a different one now.
4486
7cdc862e
MK
44872003-09-22 Michael Koch <konqueror@gmx.de>
4488
4489 * java/net/InetAddress.java:
4490 Moves around some code, reformats and adds documentation.
4491 No functional changes.
4492
316b38c8
MK
44932003-09-22 Michael Koch <konqueror@gmx.de>
4494
4495 * java/net/JarURLConnection.java
4496 (JarURLConnection): Modifed code to match classpath more, fixed comment.
4497 (getCertificates): Made it more error prone.
4498 (getMainAttributes): Likewise.
4499 (getAttributes): Implemented.
4500 (getManifest): Reformatted code.
4501
a8cc9af3
TT
45022003-09-20 Tom Tromey <tromey@redhat.com>
4503
4504 * java/awt/Component.java: Indentation cleanup from Classpath.
4505
45062003-09-20 Dalibor Topic <robilad@kaffe.org>
4507
4508 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4509 checking to follow 1.4.2 spec.
4510
21cf98f6
IP
45112003-08-11 Ingo Proetel <proetel@aicas.com>
4512
4513 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
4514 is compatible in case client and server are running in the same VM
4515 (remerged from Classpath on 2003-09-20)
4516
2f54a73f
DD
45172003-09-19 David Daney <ddaney@avtrex.com>
4518
4519 * java/lang/ref/Reference.java (clear): Set referent to null and
4520 synchronize.
4521
309cecc6
MK
45222003-09-19 Michael Koch <konqueror@gmx.de>
4523
4524 * gnu/java/nio/NIODatagramSocket.java,
4525 gnu/java/nio/NIOSocket.java: New files.
4526 * Makefile.am (ordinary_java_source_files):
4527 Added gnu/java/nio/NIODatagramSocket.java and
4528 gnu/java/nio/NIOSocket.java.
4529 * Makefile.in: Regenerated.
4530
5ec47f60
TF
45312003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4532
4533 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4534 top-level GTK window.
4535 (getArgs): Add "title" property.
4536 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4537 "allow_shrink" and "allow_grow" properties.
4538 * java/awt/Dialog.java: Initialize resizable to true and change
4539 comments accordingly. Initialize visible to false in
4540 constructors.
4541 * java/awt/Frame.java (dispose): Remove method.
4542 * java/awt/Window.java (ownedWindows): New field.
4543 (Window(Window,GraphicsConfiguration)): Add a weak reference to
4544 owner's ownedWindows vector.
4545 (finalize): Remove method.
4546 (hide): Hide owned windows.
4547 (dispose): Dispose of owned windows.
4548 (getOwnedWindows): Implement.
4549 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4550 unused GtkArg code.
4551 (set(String,boolean)): Clamp gboolean parameter to g_object_set
4552 to TRUE or FALSE.
4553 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4554 (create): Set window's size requisition.
4555 (connectHooks): Fix indentation.
4556 (setResizable): Remove function.
4557 (static setBounds): Likewise.
4558 (setBounds): Replace call to setBounds with GTK size requisition
4559 and resize calls.
4560
b90e0e3c
ME
45612003-09-19 Mohan Embar <gnustuff@thisiscool.com>
4562
4563 * win32-threads.cc: (ensure_interrupt_event_initialized) New
4564 function for lazy initialization of an auto-reset event.
4565 (_Jv_CondWait) Added thread interrupt support.
4566 (_Jv_ThreadInitData) Added initialization of interrupt support
4567 members.
4568 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4569 (_Jv_ThreadStart) Removed unused code.
4570 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4571 to an external caller.
4572 (_Jv_ThreadInterrupt) Implemented.
4573 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4574 event for interrupt support as well as a mutex which regulates
4575 access to this.
4576 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4577 event to an external caller.
4578 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4579 process.
4580 (waitFor) Added interrupt support.
4581
65f07024
MK
45822003-09-19 Michael Koch <konqueror@gmx.de>
4583
4584 * java/net/DatagramSocket.java (getLocalAddress):
4585 Renamed result variable to localAddr.
4586 * java/net/MulticastSocket.java:
4587 No need to import gnu.java.net.PlainDatagramSocketImpl.
4588
de6b956c
SB
45892003-09-18 Sascha Brawer <brawer@dandelis.ch>
4590
4591 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4592 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4593
63c5d91a
TT
45942003-09-18 Tom Tromey <tromey@redhat.com>
4595
4596 * javax/naming/InitialContext.java: Reindented.
4597
1eeae5c1
DT
45982003-09-18 Dalibor Topic <robilad@kaffe.org>,
4599 Helmer Kraemer <hkraemer@freenet.de>
4600
4601 * javax/naming/spi/NamingManager.java (getURLContext,
4602 getObjectInstance, getStateToBind): Always use current thread's
4603 context class loader when calling Class.forName.
4604
f27fd64e
MK
46052003-09-18 Michael Koch <konqueror@gmx.de>
4606
4607 * java/util/Timer.java (finalize): Added "throws Throwable".
4608
9fd64790
MK
46092003-09-18 Michael Koch <konqueror@gmx.de>
4610
4611 * java/net/DatagramSocket.java
4612 (ch): Removed.
4613 (receive): Use getChannel() instead of ch.
4614 (send): Likewise.
4615 (getChannel): Return null.
4616 * java/net/ServerSocket.java
4617 (ch): Removed.
4618 (setChannel): Removed.
4619 (implAccept): Use getChannel() instead of ch.
4620 (close): Likewise.
4621 (getChannel): Return null.
4622 * java/net/Socket.java
4623 (ch): Removed.
4624 (connect): Use getChannel() instead of ch.
4625 (setChannel): Removed.
4626 (getChannel): Return null.
4627
780071b5
MW
46282003-09-18 Mark Wielaard <mark@klomp.org>
4629
4630 Reported by Guilhem Lavaux and Julian Dolby
4631 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4632 field "serialPersistentFields", not "getSerialPersistentFields".
4633
1ea8e73b
IP
46342003-09-18 Ingo Proetel <proetel@aicas.com>
4635
4636 * java/util/TimeZone.java: Initialize lazily.
4637 * java/util/Locale.java (readManifest): Fix check for country.
4638 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4639 traceable
4640 * java/util/Calendar.java: Make use of ResourceBundle better
4641 traceable.
4642
fc08ad28
JF
46432003-09-18 Jeroen Frijters <jeroen@frijters.net>
4644
4645 * java/sql/Timestamp.java
4646 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4647
f5e2e1ad
DG
46482003-09-18 David P Grove <groved@us.ibm.com>
4649
4650 * java/io/LineNumberReader (read): Don't reset pos & limit when
4651 markPos is 0.
4652
1216e03b
MK
46532003-09-18 Dalibor Topic <robilad@kaffe.org>
4654
4655 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4656 constant.
4657 (computeArguments): use computeTypicalArguments.
4658
4659 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4660 Compile_jikes.java and RMICException.java.
4661 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4662 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4663 * gnu/java/rmi/rmic/RMICException.java: Likewise.
4664
4665 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4666
4667 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4668 (computeTypicalArguments): New method.
4669 (compile): Print compiler output to System.out. Collect compiler
4670 error output and use it in exception message.
4671
4672 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4673 (destination): Initialize to null.
4674 (run): Replace file separator with '.' when processing class.
4675 (processClass): Replace '.' with file separator when compiling
4676 classes.
4677 (findClass): Use SystemClassLoader to load class.
4678 (generateStub): Use full class name for generated stub, that puts
4679 it in right path. Replace '.' with file separator when generating
4680 stub file name. Write just the stub class name without package
4681 information as class name, and constructor name. Write only
4682 interface names for interfaces extending java.rmi.Remote as
4683 implemented.
4684 (generateSkel): Use full class name for generated skel, that puts
4685 it in right path. Replace '.' with file separator when generating
4686 stub file name. Write just the stub class name without package
4687 information as class name.
4688
46892003-09-18 Michael Koch <konqueror@gmx.de>
4690
4691 * Makefile.am (rmi_java_source_files):
4692 Added gnu/java/rmi/rmic/Compile_kjc.java,
4693 gnu/java/rmi/rmic/Compile_jikes.java and
4694 gnu/java/rmi/rmic/RMICException.java
4695 * Makefile.in: Regenerated.
4696
1fe2d5fb
GH
46972003-09-17 Graydon Hoare <graydon@redhat.com>
4698
4699 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4700 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4701 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4702 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
4703 New files.
4704
3b2d7c47
GH
47052003-09-16 Graydon Hoare <graydon@redhat.com>
4706
4707 * java/awt/BufferedImage.java (setData): Support non-component
4708 sample models.
4709 (getData): Same.
4710
47112003-09-10 Graydon Hoare <graydon@redhat.com>
4712
4713 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4714 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4715
a28400bb
ME
47162003-09-17 Mohan Embar <gnustuff@thisiscool.com>
4717
4718 * configure.in: Standardized help text case of
4719 --enable-hash-synchronization
4720 New configure switch --enable-libgcj-multifile and corresponding
4721 automake conditional ONESTEP.
4722 * configure: Rebuilt.
4723 * Makefile.am: Use automake conditional ONESTEP to determine
4724 whether classfiles should be compiled individually or all
4725 at once.
4726 * Makefile.in: Rebuilt.
4727
cc16baeb
TF
47282003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4729
4730 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4731 Remove method declaration.
4732 (create()): Call native create.
4733 (create(int)): New method.
4734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4735 (create): Add window_id parameter. Call gtk_plug_new with
4736 window_id parameter.
4737 (construct): Remove method implementation.
4738
2db99d05
ME
47392003-09-16 Mohan Embar <gnustuff@thisiscool.com>
4740
4741 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4742 (mostlyclean-local): New target patterned after clean-local
4743 which recursively deletes all libtool objects using 'libtool rm'.
4744 (clean-local): Slightly modified comment to alleviate monotony.
4745 (distclean-local): New target patterned after clean-local
4746 which recursively deletes all .d files.
4747 * Makefile.in: Rebuilt.
4748
030612a1
TT
47492003-09-11 Tom Tromey <tromey@redhat.com>
4750
4751 * java/net/URLStreamHandler.java (parseURL): If original file
4752 ends with "/", so must canonical result.
4753 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4754 with nul-termination and finding previous "/".
4755
e1a3a7d0
MK
47562003-09-11 Michael Koch <konqueror@gmx.de>
4757
4758 * acconfig.h: Removed most items.
4759 * configure.in: Added descriptions to AC_DEFINE macros that where in
4760 acconfig.h before.
4761 * include/config.h.in: Regenerated.
4762
130de160
SB
47632003-09-11 Sascha Brawer <brawer@dandelis.ch>
4764
4765 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4766 if one is installed. Improve Javadoc.
4767 (getSystemEventQueueImpl): Improve Javadoc.
4768
c203255a
TT
47692003-09-11 Tom Tromey <tromey@redhat.com>
4770
4771 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4772 file does not exist.
4773
cda85569
AG
47742003-09-10 Anthony Green <green@redhat.com>
4775
4776 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4777 Specify full name when referencing ::java::net::InetAddress.
4778 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4779 Fix argument type.
4780
707691d8
MK
47812003-09-10 Michael Koch <konqueror@gmx.de>
4782
4783 * acconfig.h (__NO_MATH_INLINES): Removed.
4784 * configure.in: Removed check for g++ math inlining bug from 2000.
4785 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4786 libgcj_cxxflags.
4787 * configure: Regenerated.
4788
9c9d2cce
DD
47892003-09-10 David Daney <ddaney@avtrex.com>
4790
4791 * java/util/Arrays.java (equals(all variants)): Quit using
4792 NullPointerException catching to detect null valued parameters.
4793
4a503716
MK
47942003-09-10 Michael Koch <konqueror@gmx.de>
4795
4796 * java/net/DatagramSocket.java,
4797 java/net/MulticastSocket.java,
4798 java/net/ServerSocket.java,
4799 java/net/Socket.java:
4800 Use gnu.java.net.Plain*SocketImpl instead of
4801 java.net.PlainSocketImpl.
4802 * java/net/PlainDatagramSocketImpl.java,
4803 java/net/PlainSocketImpl.java,
4804 java/net/SocketInputStream.java,
4805 java/net/SocketOutputStream.java,
4806 java/net/natPlainDatagramSocketImplNoNet.cc,
4807 java/net/natPlainDatagramSocketImplPosix.cc,
4808 java/net/natPlainDatagramSocketImplWin32.cc,
4809 java/net/natPlainSocketImplNoNet.cc,
4810 java/net/natPlainSocketImplPosix.cc,
4811 java/net/natPlainSocketImplWin32.cc:
4812 Removed.
4813 * gnu/java/net/PlainDatagramSocketImpl.java,
4814 gnu/java/net/PlainSocketImpl.java,
4815 gnu/java/net/SocketInputStream.java,
4816 gnu/java/net/SocketOutputStream.java,
4817 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4818 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4819 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4820 gnu/java/net/natPlainSocketImplNoNet.cc,
4821 gnu/java/net/natPlainSocketImplPosix.cc,
4822 gnu/java/net/natPlainSocketImplWin32.cc:
4823 New files (moved from java/net).
4824 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4825 instead of java/net/natPlain*SocketImpl.cc.
4826 * configure: Regenerated.
4827 * Makefile.am: Moved files from java/net to gnu/java/net.
4828 * Makefile.in: Regenerated.
4829
e517f636
AM
48302003-09-09 Alan Modra <amodra@bigpond.net.au>
4831
4832 * configure: Regenerate.
4833
7f09034f
TT
48342003-09-04 Tom Tromey <tromey@redhat.com>
4835
2e71d809
TT
4836 * configure.host: Removed erroneous comment.
4837
7f09034f
TT
4838 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4839 lvalue cast; use correct rvalue cast.
4840
48c2d88a
TF
48412003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4842
4843 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4844 and height arguments to GtkWindowPeer.create method call.
4845 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4846 (create(int,int,int)): New method.
4847 (create(int)): Add call to new create method.
4848 (create()): Add width and height arguments to create method
4849 call.
4850 (GtkWindowPeer): Remove call to setBounds.
4851 * java/awt/Frame.java (Frame(String)): Initialize visible field
4852 to false.
4853 (Frame(GraphicsConfiguration)): Likewise.
4854 (Frame(String,GraphicsConfiguration)): Likewise.
4855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4856 Add width and height parameters. Call
4857 gtk_window_set_default_size.
4858 (connectHooks): Remove unused name variable.
4859 (static setBounds): Call gtk_window_resize not
4860 gtk_widget_set_usize.
4861 (setBounds): Remove unused nchildren variable.
4862
d9e27aed
IP
48632003-08-31 Ingo Proetel <proetel@aicas.com>
4864
4865 * java/util/logging/Logger.java: provide class and method information
4866 * java/util/logging/LogManager.java: create handlers
4867 * java/util/logging/SimpleFormatter.java: print souceClassName and
4868 sourceMethodName
7f09034f 4869
5c144158
ME
48702003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4871
4872 * win32.cc: fixed tab, indentation and whitespace
4873 inconsistencies
4874 removed jvm.h include
4875 added includes java/lang/UnsupportedOperationException.h,
4876 java/io/IOException.h, java/net/SocketException.h
4877 (WSAEventWrapper): class implementation
4878 (_Jv_WinStrError): implemented both overloads
4879 (_Jv_ThrowIOException): implemented both overloads
4880 (_Jv_ThrowSocketException): implemented both overloads
4881 (_Jv_select): implemented
4882 * include/win32.h: fixed tab, indentation and whitespace
4883 inconsistencies
4884 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
4885 added jvm.h include
4886 (WSAEventWrapper): added class declaration
4887 (_Jv_WinStrError): added both overload declarations
4888 (_Jv_ThrowIOException): added both overload declarations
4889 (_Jv_ThrowSocketException): added both overload declarations
4890 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4891 (_Jv_select): added declaration
4892 (_Jv_socket): removed
4893 (_Jv_connect): removed
4894 (_Jv_close): removed
4895 (_Jv_bind): removed
4896 (_Jv_accept): removed
4897 (_Jv_listen): removed
4898 (_Jv_write): removed
4899 (_Jv_read): removed
4900 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4901 whitespace inconsistencies
4902 replaced <windows.h> #include with <platform.h>
4903 removed jvm.h include
4904 (testCanUseGetHandleInfo): new function which tests whether Win32
4905 GetHandleInformation() call can be used with console buffer handles
4906 (only supported on >=WinNT 5.0)
4907 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4908 (valid): rewrote implementation using GetHandleInformation()
4909 (sync): changed exception throwing to use error string and exception
4910 helper methods declared in include/win32.h
4911 (open): likewise
4912 (write): likewise
4913 (setLength): likewise
4914 (close): likewise
4915 (seek): likewise
4916 (getFilePointer): likewise
4917 (read): likewise
4918 * java/io/natFileWin32.cc: fixed tab, indentation and
4919 whitespace inconsistencies
4920 replaced <windows.h> #include with <platform.h>
4921 removed jvm.h include
4922 (_access): use JV_TEMP_UTF_STRING
4923 (_stat): likewise
4924 (performMkDir): use JV_TEMP_UTF_STRING
4925 (performRenameTo): likewise
4926 (performDelete): likewise
4927 (performCreate): likewise
4928 (performSetReadOnly): likewise
4929 (performSetLastModified): likewise
4930 * java/lang/natWin32Process.cc: fixed tab, indentation and
4931 whitespace inconsistencies
4932 replaced <windows.h> #include with <platform.h>
4933 removed includes gcj/cni.h, jvm.h
4934 (new_string): removed
4935 (startProcess): use JV_TEMP_UTF_STRING,
4936 changed exception throwing to use error string and exception
4937 helper methods declared in include/win32.h
4938 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4939 whitespace inconsistencies
4940 replaced <windows.h> #include with <platform.h>
4941 removed jvm.h include
4942 removed DISABLE_JAVA_NET conditional code
4943 removed POSIX conditional code not relevant to Win32
4944 (aton): use JV_TEMP_UTF_STRING
4945 removed POSIX conditional code not relevant to Win32
4946 (lookup): likewise
4947 (getLocalHostName): likewise
4948 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4949 whitespace inconsistencies
4950 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4951 removed DISABLE_JAVA_NET conditional code
4952 removed POSIX conditional code not relevant to Win32
4953 (winsock2GetRealNetworkInterfaces): new function to compute network
4954 interfaces via Winsock2 API
4955 (determineGetRealNetworkInterfacesFN): new function for returning
4956 a function pointer to the function used to compute network interfaces.
4957 (getRealNetworkInterfaces): implemented
4958 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4959 whitespace inconsistencies
4960 removed gcj/cni.h include
4961 removed DISABLE_JAVA_NET conditional code
4962 removed POSIX conditional code not relevant to Win32
4963 changed net POSIXisms to Win32isms
4964 replaced _Jv socket-related calls with their real Win32 equivalents
4965 changed exception throwing to use error string and exception
4966 helper methods declared in include/win32.h
4967 (peekData): implemented timeout support
4968 (receive): likewise
4969 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4970 whitespace inconsistencies
4971 removed gcj/cni.h and gcj/javaprims.h includes
4972 removed DISABLE_JAVA_NET conditional code
4973 removed POSIX conditional code not relevant to Win32
4974 changed net POSIXisms to Win32isms
4975 replaced _Jv socket-related calls with their real Win32
4976 equivalents
4977 changed exception throwing to use error string and exception
4978 helper methods declared in include/win32.h
4979 (throwConnectException): helper function for connect()
4980 (connect): implemented timeout support
4981 (accept): likewise
4982 (doRead): new helper function common to both read() method overloads,
4983 includes timeout support
4984 (read): implemented both overloads in terms of doRead()
4985 (available): implemented using ioctlsocket()
4986
a1d6cdc2
ME
49872003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4988
4989 * java/net/natInetAddressWin32.cc,
4990 java/net/natNetworkInterfaceWin32.cc,
4991 java/net/natPlainDatagramSocketImplWin32.cc,
4992 java/net/natPlainSocketImplWin32.cc:
4993 Readded code enclosed in DISABLE_JAVA_NET defines
4994 in preparation for MinGW cleanup / networking
4995 patch
4996
165d9b9c
ME
49972003-08-28 Mohan Embar <gnustuff@thisiscool.com>
4998
4999 * Makefile.am: Fixed problems with parallel makes.
5000 (all_java_class_files): Readded definition.
5001 (all_java_class_files): New target which depends on
5002 libgcj-@gcc_version@.jar
5003 * Makefile.in: Rebuilt
5004
91edd042
TT
50052003-08-28 Tom Tromey <tromey@redhat.com>
5006
5007 * Makefile.in: Rebuilt.
5008 * Makefile.am (ordinary_java_source_files): Added new files.
5009 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
5010 friend.
5011 * java/net/URLClassLoader.java (findClass): Don't use
5012 findURLResource. Use loader's getClass method.
5013 (URLLoader.getClass): New method.
5014 (addURL): Handle `gcjlib' URLs.
5015 (SoURLLoader): New class.
5016 (SoResource): Likewise.
5017 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
5018 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
5019 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
5020 (_Jv_RegisterCoreHook): Declare.
5021 (_Jv_FindCore): Declare.
5022 * gnu/gcj/runtime/SharedLibHelper.java: New file.
5023 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
5024 typedef.
5025 (core_hook): New function.
5026 (struct SharedLibDummy) [saved_core]: New field.
5027 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
5028 (register_hook): Set protection domain and class loader on new
5029 class.
5030 (finalize): Free core chain.
5031 * gnu/gcj/Core.java (Core): New constructor.
5032 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
5033 SharedLibHelper.
5034 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
5035 (_Jv_create_core): New function.
5036 (create): Use it.
5037 (default_register_resource): New function.
5038 (_Jv_RegisterCoreHook): New global.
5039 (_Jv_RegisterResource): Use it.
5040 (core_chain_struct): Removed.
5041 (_Jv_FindCore): New function.
5042 (_Jv_FreeCoreChain): New function.
5043
0239631a
MK
50442003-08-29 Michael Koch <konqueror@gmx.de>
5045
5046 * java/net/natInetAddressWin32.cc,
5047 java/net/natNetworkInterfaceWin32.cc,
5048 java/net/natPlainDatagramSocketImplWin32.cc,
5049 java/net/natPlainSocketImplWin32.cc:
5050 Removed code enclosed in DISABLE_JAVA_NET defines.
5051
0c7829a9
ME
50522003-08-26 Mohan Embar <gnustuff@thisiscool.com>
5053
5054 * Makefile.am: (write_entries_to_file) New parameterized
5055 function for writing entries to a file one line at a time.
5056 (all_java_class_files): Removed definition.
5057 (.java.class) Removed.target.
5058 (libgcj-@gcc_version@.jar): Changed dependency to
5059 $(all_java_source_files); added compilation step which compiles
5060 all changed source files in one pass.
5061 (libgcj.la) Refactored to use write_entries_to_file.
5062 (lib-gnu-awt-xlib.la) Likewise.
5063 (install-data-local) Likewise.
5064 (write-entries-to-file-check) New target which tests write_entries_to_file.
5065 (all-recursive): Changed dependency from $(all_java_class_files)
5066 to libgcj-@gcc_version@.jar
5067 * Makefile.in: Rebuilt.
5068
777bb1d4
TT
50692003-08-26 Tom Tromey <tromey@redhat.com>
5070
5071 * java/lang/StrictMath.java: Typo fix.
5072 * java/lang/Math.java: Typo fix.
5073
50742003-08-26 Stephen Crawley <crawley@dstc.edu.au>
5075
5076 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
5077 of the removed Thread.
5078
50792003-08-26 Mark Wielaard <mark@klomp.org>
5080
5081 Reported by David Holmes <dholmes@dltech.com.au>.
5082 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
5083 Collections.synchronizedMap.
5084 * java/lang/ThreadLocal.java (valueMap): Likewise.
5085
a8599378
MW
50862003-08-26 Mark Wielaard <mark@klomp.org>
5087
5088 * java/security/acl/Acl.java: Fix broken p tag.
5089 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
5090 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
5091 * javax/swing/plaf/TreeUI.java: Likewise.
5092 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
5093 * java/util/Properties.java: Use the word umlaut, not &auml; in api
5094 documentation.
5095 * java/util/PropertyResourceBundle.java: Likewise and add closing code
5096 tag.
5097
a638cfb0
TT
50982003-08-26 Tom Tromey <tromey@redhat.com>
5099
18b3501e
TT
5100 * Makefile.in: Rebuilt.
5101 * Makefile.am: Removed all GNU-make-specific FIXME comments.
5102
a638cfb0
TT
5103 * java/lang/ref/Reference.java (get): Indentation fix.
5104 (clear): Comment fix.
5105 (enqueue): Likewise.
5106 (lock): Likewise.
5107 (referent): Likewise.
5108
6077db91
TT
51092003-08-26 Tom Tromey <tromey@redhat.com>
5110
0f56e0cc
TT
5111 PR java/12058:
5112 * java/lang/reflect/natArray.cc (set): Allow null as argument.
5113
6077db91
TT
5114 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
5115 (ProxyData.getPackage): New method.
5116 (ProxyData.getProxyData): Use package name, not Package.
5117 (ClassFactory.ClassFactory): Updated.
5118
81f7282f
SG
51192003-08-25 Scott Gilbertson <scottg@mantatest.com>
5120 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
5121 * Makefile.in: re-generated.
5122 * gnu/awt/j2d/IntegerGraphicsState.java
5123 (ScreenCoupledImage): new interface.
5124 (drawImage): detect ScreenCoupledImage instances.
5125 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
5126 * gnu/awt/xlib/XEventLoop.java
5127 (createEvent): re-formatted, and rearranged to avoid null pointer.
5128 * gnu/awt/xlib/XGraphics.java
5129 (drawImage): added XOffScreenImage handling.
5130 * gnu/awt/xlib/XOffScreenImage.java: new file.
5131 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
5132 * gnu/gcj/xlib/GC.java (copyArea): new native method.
5133 * gnu/gcj/xlib/XAnyEvent.java
5134 (TYPE_KEY_PRESS): new constant.
5135 (TYPE_KEY_RELEASE): new constant.
5136 (TYPE_MOTION_NOTIFY): new constant.
5137 (TYPE_ENTER_NOTIFY): new constant.
5138 (TYPE_LEAVE_NOTIFY): new constant.
5139 (TYPE_FOCUS_IN): new constant.
5140 (TYPE_FOCUS_OUT): new constant.
5141 (TYPE_KEYMAP_NOTIFY): new constant.
5142 (TYPE_GRAPHICS_EXPOSE): new constant.
5143 (TYPE_NO_EXPOSE): new constant.
5144 (TYPE_VISIBILITY_NOTIFY): new constant.
5145 (TYPE_CREATE_NOTIFY): new constant.
5146 (TYPE_DESTROY_NOTIFY): new constant.
5147 (TYPE_MAP_REQUEST): new constant.
5148 (TYPE_CONFIGURE_REQUEST): new constant.
5149 (TYPE_GRAVITY_NOTIFY): new constant.
5150 (TYPE_RESIZE_REQUEST): new constant.
5151 (TYPE_CIRCULATE_NOTIFY): new constant.
5152 (TYPE_CIRCULATE_REQUEST): new constant.
5153 (TYPE_PROPERTY_NOTIFY): new constant.
5154 (TYPE_SELECTION_CLEAR): new constant.
5155 (TYPE_SELECTION_REQUEST): new constant.
5156 (TYPE_SELECTION_NOTIFY): new constant.
5157 (TYPE_COLORMAP_NOTIFY): new constant.
5158 (TYPE_MAPPING_NOTIFY): new constant.
5159 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
5160 * gnu/gcj/xlib/natGC.cc (copyArea): new method
5161 * java/awt/Component.java (createImage): changed to use peer method.
5162
50fe737a
TF
51632003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5164
5165 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
5166 name, not XLFD, to native drawString.
5167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5168 Replace XLFD-based implementation with Pango-based
5169 implementation.
5170
eb2a5f91
TF
51712003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5172
5173 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
5174 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
5175
c9a61d5a
DD
51762003-08-21 David Daney <ddaney@avtrex.com>
5177
5178 Fix for PR libgcj/12013:
5179 * java/lang/ref/natReference.cc (finalize_referred_to_object):
5180 Check `cleared' field.
5181 * java/lang/ref/Reference.java (copy): Updated comments.
5182 (cleared): New field.
5183 (clear): Rewrote.
5184
c79c6c5b
SG
51852003-08-21 Scott Gilbertson <scottg@mantatest.com>
5186 Thomas Fitzsimmons <fitzsim@redhat.com>
5187
5188 * Makefile.am (gtk_awt_peer_sources): Add
5189 gnu/java/awt/peer/GLightweightPeer.java. Remove
5190 gnu/java/awt/GLightweightPeer.java.
5191 * gnu/java/awt/GLightweightPeer.java: Remove file.
5192 * gnu/java/awt/peer/GLightweightPeer.java: New file.
5193 * java/awt/Component.java (getToolkit): Add comment about
5194 lightweight components.
5195 * java/awt/Toolkit.java (createComponent): Return
5196 gnu.java.awt.peer.GLightweightPeer.
5197
17fdfd9f
RE
51982003-08-21 Richard Earnshaw <rearnsha@arm.com>
5199
5200 * configure.in: Fix detection of gcj when building with newlib.
5201 * configure: Regenerated.
5202
4d6a988a
GH
52032003-08-20 Graydon Hoare <graydon@redhat.com>
5204
5205 * jni.cc: Replace "cheating" pointer-casting code with
5206 extract_from_jvalue<> template.
5207
f2f3f409
AH
52082003-08-20 Andrew Haley <aph@redhat.com>
5209
5210 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
5211 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
5212 (classAt): Break out class lookup function into getClass().
5213 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
5214 handlers when using -fno-assume-compiled.
5215
9c6f74cd
TT
52162003-08-20 Tom Tromey <tromey@redhat.com>
5217
3f1923dc
TT
5218 Fix for PR libgcj/9125:
5219 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5220 object outside of loop. Respect lib_control setting.
5221 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
5222 field.
5223 (lib_control): New field.
5224 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
5225 (VMClassLoader): Initialize new field.
5226
9c6f74cd
TT
5227 * java/lang/ref/natReference.cc (finalize_referred_to_object):
5228 Set `list->reference' to DELETED_REFERENCE when removing dead
5229 object.
5230 (find_slot): Added an assert.
5231 (DELETED_REFERENCE): New define.
5232 (add_to_hash): Check for DELETED_REFERENCE.
5233 (remove_from_hash): Just return if found slot isn't ours.
5234
2510de8d
AH
52352003-08-19 Andrew Haley <aph@redhat.com>
5236
5237 * prims.cc (unblock_signal): New function.
3e6d83ec
AH
5238 (catch_segv): Use it.
5239 (catch_fpe): Likewise.
2510de8d 5240
3ab37c7d
DS
52412003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
5242
5243 PR libgcj/11575
5244 * java/io/natFileDescriptorWin32.cc (open): Set create
5245 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5246 Honor EXCL when openning with WRITE flag.
5247
dca5e0e8
ME
52482003-08-19 Mohan Embar <gnustuff@thisiscool.com>
5249
5250 * include/jvm.h: New class _Jv_TempUTFString (helper class for
5251 getting a temporary C string from a jstring)
5252 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5253 but uses a stack buffer if the string length is less than 256
5254 bytes.
5255
0da021f5
TT
52562003-08-18 Tom Tromey <tromey@redhat.com>
5257
5258 PR libgcj/11951:
5259 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5260 void. Throw VirtualMachineError if ffi fails. Initialize return
5261 value. Added is_jni_call argument; only wrap exception if not a
5262 JNI call. Use descriptive message if operation not supported.
5263 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5264 array class.
5265 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5266 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5267 _Jv_CallAnyMethodA.
5268 (_Jv_JNI_CallAnyMethodA): Likewise.
5269 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5270 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5271
bc5ad3e6
TT
52722003-08-13 Tom Tromey <tromey@redhat.com>
5273
5274 * gij.cc (help): Document -? and -X.
5275
38e46bff
GH
52762003-08-12 Graydon Hoare <graydon@redhat.com>
5277
5278 * java/awt/Font.java:
5279 Stub out more recent API.
5280
479f4325
GH
52812003-08-12 Graydon Hoare <graydon@redhat.com>
5282
5283 * java/awt/Color.java (getAlpha):
5284 Prevent sign-extended alpha values.
5285
35e6511a
TT
52862003-08-12 Tom Tromey <tromey@redhat.com>
5287
5288 * gij.cc (main): Handle -? and -X.
5289
dc9a7373
JF
52902003-08-10 Jeroen Frijters <jeroen@frijters.net>
5291
5292 * java/awt/Container.java
5293 (getPreferredSize): Call preferredSize.
5294 (preferredSize): Moved body of getPreferredSize here.
5295 (getMinimumSize): Call minimumSize.
5296 (minimumSize): Moved body of getMinimumSize here.
5297
1705e37d
TT
52982003-08-11 Tom Tromey <tromey@redhat.com>
5299
5300 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5301 (postEvent): Removed FIXME comment.
5302 (isDispatchThread): Documented.
5303 (getCurrentEvent): New method.
5304 (dispatchEvent): Set currentEvent and lastWhen.
5305 (getMostRecentEventTime): Rewrote.
5306 (invokeLater): Documented.
5307
b63853f9
BM
53082003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
5309
5310 * java/io/PrintStream.java (print): Always flush if auto_flush is
5311 set. Don't check for newline characters.
5312 (write (int)): Implement without using a temporary array.
5313 (write (byte[], int, int): Always flush if auto_flush is set. Don't
5314 check for newline characters.
5315 Fixes PR libgcj/11778.
5316
fcbe85cd
AH
53172003-08-08 Andrew Haley <aph@redhat.com>
5318
5319 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5320 * Makefile.in: Rebuild.
5321 * java/lang/natRuntime.cc (insertSystemProperties): Add
5322 "sun.boot.class.path".
5323
53242003-08-07 Andrew Haley <aph@redhat.com>
5325
5326 * java/io/PrintStream.java: Don't crash on a null string.
5327
7160c99d
RO
53282003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5329
5330 * configure.in: Don't initialize GCINCS to boehm-gc/include.
5331 * configure: Regenerate.
5332
62ad7de1
BM
53332003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
5334
5335 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5336 SocketImpl. Update Javadoc.
5337 (bind): Call close() not impl.close() in event of exception.
5338 (connect): Likewise.
5339 Remove superfluous null checks throughout.
5340 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5341 Don't create an extra socket. Fix for PR libgcj/10868.
5342 (bind): Clean up exception handling.
5343 Remove superfluous null checks throughout.
5344
7c6e9255
JG
53452003-08-07 Jacob Gladish <gladish@spinnakernet.com>
5346 Bryce McKinlay <bryce@mckinlay.net.nz>
5347
5348 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5349 ready-to-write argument to _Jv_Select. Reset the socket back to
5350 non-blocking state after connecting.
5351 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5352 Throw SocketTimeoutException not InterruptedIOException.
5353 (read): Throw SocketTimeoutException not InterruptedIOException.
5354
6eac0ef5
BM
53552003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
5356
5357 * java/lang/Thread.java (Thread): Check for null "name" from
5358 start of private constructor, not after calling the private
5359 constructor.
5360
333384df
TT
53612003-08-06 Tom Tromey <tromey@redhat.com>
5362
5363 * java/io/FilePermission.java (equals): Use correct index for
5364 last character of path.
5365
e7cca7f4
AM
53662003-08-06 Alan Modra <amodra@bigpond.net.au>
5367
5368 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5369 * configure.in: Compare with_cross_host to build_alias, not build.
5370 * aclocal.m4: Regenerate.
5371 * configure: Regenerate.
5372
0d4d2279
TT
53732003-08-05 Tom Tromey <tromey@redhat.com>
5374
0196f4e0
TT
5375 Fix for PR libgcj/11779:
5376 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5377 class.
5378
0d4d2279
TT
5379 * java/lang/reflect/Method.java: Updated status comment.
5380 Imported javadoc from Classpath and re-ordered methods.
5381 * java/lang/reflect/Constructor.java: Reindented. Updated
5382 status comment. Imported javadoc from Classpath and re-ordered
5383 methods.
5384
d0b8b6fb
TF
53852003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
5386
5387 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5388 Add keyLocation parameter.
5389 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5390 string.
5391 (paramString): Generate keyChar string according to keyChar, not
5392 keyCode.
5393 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5394 (state_to_awt_mods): Handle ALT key.
5395 (keyevent_state_to_awt_mods): New function.
5396 (get_first_keyval_from_keymap): New function.
5397 (keysym_to_awt_keycode): Get virtual key code from keymap.
5398 Handle missing VK_ values.
5399 (keysym_to_awt_keylocation): New function.
5400 (keyevent_to_awt_keychar): New function.
5401 (generates_key_typed_event): Handle non-text-component case.
5402 Handle GDK_KP_Delete and GDK_KP_Enter.
5403 (awt_event_handler): Call new functions to get postKeyEvent
5404 parameters.
5405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5406 Update postKeyEvent method signature.
5407 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
5408 VK_ defines.
5409
158aa0f7
MK
54102003-08-05 Matthias Klose <doko@debian.org>
5411
5412 * aclocal.m4: check for libart-config binary
5413 under the name libart2-config as well.
5414 * configure: regenerated.
5415
66fe55d1
DG
54162003-08-04 David P Grove <groved@us.ibm.com>
5417
5418 * java/text/DecimalFormat.java (format): avoid ArithmeticException
5419 when groupingSize is 0.
5420 (parse): Likewise.
5421
27a6ded9
MK
54222003-08-04 Matthias Klose <doko@debian.org>
5423
5424 * libart.m4: check for libart-config binary
5425 under the name libart2-config as well.
5426 * configure, aclocal.m4: regenerated.
5427
7318eb21
MK
54282003-08-02 Michael Koch <konqueror@gmx.de>
5429
5430 * java/nio/ByteBufferImpl.java
5431 (getChar): Check remaining bytes, fixed comment about endianess.
5432 (putChar): Likewise.
5433 (getShort): Likewise.
5434 (putShort): Likewise.
5435 (getInt): Check remaining bytes, fixed conversion, fixed comment about
5436 endianess.
5437 (putInt): Likewise.
5438 (getLong): Likewise.
5439 (putLong): Likewise.
5440 (getFloat): Likewise.
5441 (putFloat): Likewise.
5442 (getDouble): Likewise.
5443 (putDouble): Likewise.
5444 * java/nio/DirectByteBufferImpl.java
5445 (getChar): Wrapped code, fixed comment about endianess.
5446 (putchar): Likewise.
5447 (getShort): Likewise.
5448 (putShort): Likewise.
5449 (getInt): Fixed conversion, fixed comment about endianess.
5450 (putInt): Likewise.
5451 (getLong): Likewise.
5452 (putLong): Likewise.
5453 (getFloat): Likewise.
5454 (putFloat): Likewise.
5455 (getDouble): Likewise.
5456 (putDouble): Likewise.
5457 * java/nio/MappedByteBufferImpl.java
5458 (compact): Implemented.
5459 (getChar): Implemented.
5460 (putChar): Implemented.
5461 (getDouble): Implemented.
5462 (putdouble): Implemented.
5463 (getFloat): Implemented.
5464 (putFloat): Implemented.
5465 (getInt): Implemented.
5466 (putInt): Implemented.
5467 (getLong): Implemented.
5468 (putLong): Implemented.
5469 (getShort): Implemented.
5470 (putShort): Implemented.
5471 * java/nio/channels/FileChannelImpl.java
5472 (read): Set position where to access file.
5473 (write): Likewise.
5474 (transferTo): Flip buffer after read and before write.
5475 (transferFrom): Likewise.
5476
7575931c
MK
54772003-08-02 Michael Koch <konqueror@gmx.de>
5478
5479 * gnu/java/lang/ArrayHelper.java
5480 (equalsArray): Reformated, added method documentation.
5481
15b68e02
MK
54822003-08-02 Michael Koch <konqueror@gmx.de>
5483
5484 * java/net/URL.java
5485 (URL): Added paragraph about the
5486 gnu.java.net.nocache_protocol_handlers property.
5487 (ph_cache): Renamed from handlers to match classpath's implementation.
5488 Reordered it with factory and serialVersionUID member variables.
5489 (cache_handlers): New member variable.
5490 (static): New static initializer to initialize cache_handlers from
5491 gnu.java.net.nocache_protocol_handlers property.
5492 (URL): Use ph_cache instead of handlers, reformatted some code to
5493 match classpath's implementation.
5494
a04045d0
TT
54952003-08-01 Tom Tromey <tromey@redhat.com>
5496
5497 Fix for PR libgcj/11241:
5498 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5499 initialCapacity is 0, set it to 1.
5500
6e42faef
SC
55012003-08-01 Stephen Crawley <crawley@dstc.edu.au>
5502
5503 * java/net/SocketImpl.java (toString): Display the remote address
5504 of an unconnected server socket as "0.0.0.0/0.0.0.0".
5505
1ce4e666
SB
55062003-08-01 Sascha Brawer <brawer@dandelis.ch>
5507
5508 * javax/swing/border/BevelBorder.java,
5509 javax/swing/border/EtchedBorder.java,
5510 javax/swing/border/LineBorder.java,
5511 javax/swing/border/MatteBorder.java,
5512 javax/swing/border/SoftBevelBorder.java,
5513 javax/swing/plaf/BorderUIResource.java,
5514 javax/swing/plaf/ComponentUI.java,
5515 javax/swing/plaf/TreeUI.java,
5516 javax/swing/plaf/basic/BasicBorders.java,
5517 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5518 javax/swing/plaf/basic/BasicTreeUI.java:
5519 Prepend "doc-files" to all paths to embedded Javadoc images, so
5520 that the generated documentation contains the correct URL.
5521
6ab37e1e
TT
55222003-08-01 Tom Tromey <tromey@redhat.com>
5523
5524 * configure: Rebuilt.
5525 * configure.in (tool_include_dir): Redefine to match gcc.
5526
2f18d7a1
JQ
55272003-08-01 Jerry Quinn <jlquinn@optonline.net>
5528 Mark Wielaard <mark@klomp.org>
5529
5530 * java/math/BigDecimal (divide): Correctly handle
5531 ROUND_HALF_EVEN when amount is greater than 0.5.
5532 Simplify and optimize code.
5533
e9c00e62
TT
55342003-07-31 Tom Tromey <tromey@redhat.com>
5535
5536 More for PR libgcj/11737:
5537 * java/io/ObjectInputStream.java (processResolution): Use
5538 getMethod.
5539 (getMethod): Make method accessible.
5540 (getField): Make field accessible.
5541 (setBooleanField): Don't call setAccessible here.
5542 (setByteField, setCharField, setDoubleField, setFloatField,
5543 setIntField, setLongField, setShortField, setObjectField):
5544 Likewise.
5545 (callReadMethod): Don't check whether method is null. Catch
5546 NoSuchMethodException.
5547 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5548 cause on thrown exceptions.
5549
e14c33e5
SK
55502003-07-31 Stepan Koltsov <yozh@mx1.ru>
5551
5552 Fix for PR libgcj/11728:
5553 * java/util/HashMap.java (readObject): Set size.
5554
46b6ccc8
TT
55552003-07-31 Tom Tromey <tromey@redhat.com>
5556
f7fe97da
TT
5557 Fix for PR libgcj/11737:
5558 * java/io/ObjectOutputStream.java (getMethod): Make method
5559 accessible.
5560 (getField): Likewise.
5561 (writeObject): Use getMethod.
5562 Import PrivilegedAction and AccessController.
5563 (callWriteMethod): Don't check whether m is null. Catch
5564 NoSuchMethodException.
5565
46b6ccc8
TT
5566 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5567 (containsAngle): Likewise.
5568 (getStartPoint): Rewrote.
5569 (getEndPoint): Likewise.
5570 (setAngleStart(Point2D)): Likewise.
5571
620a329b
RS
55722003-07-31 Roger Sayle <roger@eyesopen.com>
5573 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5574
5575 * configure.in: Add new THREADCXXFLAGS variable.
5576 Handle POSIX threads on alpha*-dec-osf*.
5577 * configure: Regenerate.
5578 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5579 * Makefile.in: Regenerate.
5580
cf68fdb1
AH
55812003-07-08 Andrew Haley <aph@redhat.com>
5582
5583 * include/i386-signal.h (RESTORE): New.
5584 (INIT_SEGV): Set restorer.
5585 (INIT_FPE): Likewise.
5586
5596e92f
TF
55872003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
5588
5589 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5590 than getXLFD.
5591 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5592 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5594 (gtkSetFont): Scale size parameter by PANGO_SCALE.
5595 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5596 Likewise.
5597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5598 Likewise.
5599
a47c20a7
TT
56002003-07-29 Tom Tromey <tromey@redhat.com>
5601
5602 * defineclass.cc (handleField): Throw exception if field name is
5603 duplicated.
5604 (handleMethod): Throw exception for duplicate method.
5605
b33ab7a9
TT
56062003-07-29 Tom Tromey <tromey@redhat.com>
5607
5608 * gnu/gcj/convert/natIconv.cc (write): Handle case where
5609 output buffer is too small.
5610
651bed36
TT
56112003-07-28 Tom Tromey <tromey@redhat.com>
5612
5613 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5614 New method.
5615 Include gnu/gcj/runtime/StringBuffer.h.
5616 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5617 native method.
5618 (String(gnu.gcj.runtime.StringBuffer)): Use it.
5619
2d29f3a1
AG
56202003-07-27 Anthony Green <green@redhat.com>
5621
5622 * configure.in: Fix newlib check.
5623 * configure: Rebuilt.
5624
f1716368
TF
56252003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5626
5627 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5628 Create vbox and layout for GtkPlug.
5629
b528910d
MK
56302003-07-27 Michael Koch <konqueror@gmx.de>
5631
5632 * java/awt/Window.java
5633 (Window): Removed now unused constructor. It became oboslete with the
5634 new embedded window patch.
5635
09638081
TF
56362003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
5637 Michael Koch <konqueror@gmx.de>
5638
5639 * gnu/java/awt/EmbeddedWindow.java
5640 (EmbeddedWindow): Extends Frame instead of Window.
5641 (window_id): New member variable to store the native window handle.
5642 (create): Removed.
5643 (EmbeddedWindow): New constructor.
5644 (addNotify): New method.
5645 (getHandler): Likewise.
5646 (setWindowPeer): New native method.
5647 * gnu/java/awt/EmbeddedWindowSupport.java
5648 (EmbeddedWindowSupport): Fixed documentation.
5649 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5650 WindowPeer, give it an EmbeddedWindow instance instead of the raw
5651 window data.
5652 * gnu/java/awt/natEmbeddedWindow.cc
5653 (create): Removed.
5654 (setWindowPeer): New method.
5655 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5656 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5657 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5658 New files
5659 * gnu/java/awt/peer/gtk/GtkToolkit.java
5660 (GtkToolkit): Implements EmbeddedWindowSupport.
5661 (createEmbeddedWindow): New method.
5662 * java/awt/Window.java
5663 (Window): Removed.
5664 * Makefile.am
5665 (java_source_files): Added EmbeddedWindowPeer.java.
5666 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5667 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5668 * Makefile.in: Regenerated.
5669
14a5a676
RM
56702003-07-26 Ranjit Mathew <rmathew@hotmail.com>
5671
cc33095c
RM
5672 * java/lang/Win32Process.java (ConcreteProcess): Surround
5673 a command line element with quotes if it contains an
5674 embedded space or tab.
5675 * java/lang/natWin32Process.cc (startProcess): Do not
5676 surround command line elements with quotes here.
5677
6eb08535
RM
5678 * configure.host: Use -fcheck-references and
5679 -fuse-divide-subroutine for MinGW until we fix
5680 win32_exception_handler( ) in win32.cc w.r.t. Win32
5681 Structured Exception Handling (SEH).
5682
14a5a676
RM
5683 * win32.cc (_Jv_platform_initProperties): Use generic names
5684 like "x86" for the "os.arch" property to be consistent with
5685 what Sun's JDK produces. Use the wProcessorArchitecture
5686 member of the Win32 SYSTEM_INFO structure, filled in a call
5687 to GetSystemInfo( ), instead of dwProcessorType.
5688
d6f6aaf6
ME
56892003-07-26 Mohan Embar <gnustuff@thisiscool.com>
5690 Ranjit Mathew <rmathew@hotmail.com>
5691
5692 * Makefile.am: Use cross-compiling gcjh from the path for
5693 a crossed-native build.
5694 * Makefile.in: Rebuilt.
5695 * configure.in: Include libltdl in non-newlib builds.
5696 Moved determination of gcj used to build libraries to
5697 its own section. Fixed cross-compilation issues for
5698 non-newlib builds.
5699 * configure: Rebuilt.
5700
49f60a1a
TT
57012003-07-25 Tom Tromey <tromey@redhat.com>
5702
5703 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5704 (write): Likewise.
5705 (read): Likewise.
5706 (read): Likewise.
5707
337ecadf
MW
57082003-07-25 Mark Wielaard <mark@klomp.org>
5709
5710 * java/lang/natRuntime.cc (_load): Add library name to
5711 UnsatisfiedLinkError when thrown.
5712
ec8a1dd5
MW
57132003-07-25 Mark Wielaard <mark@klomp.org>
5714
5715 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5716 added.
5717 * Makefile.in: Likewise.
5718
57192003-07-25 Jeroen Frijters <jeroen@frijters.net>
5720
5721 * java/awt/Component.java
5722 (getPreferredSize): Call preferredSize.
5723 (preferredSize): Moved body of getPreferredSize here.
5724 (getMinimumSize): Call minimumSize.
5725 (minimumSize): Moved body of getMinimumSize here.
5726 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5727 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5728 pass -1
5729 * java/awt/Container.java
5730 (validate): Don't validate if there is no peer.
5731 (update): Clear background before calling paint.
5732 * java/awt/GridBagLayout.java
5733 Completed the implementation and fixed several bugs.
5734 * java/awt/MediaTracker.java
5735 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5736 combine flags.
5737 * java/awt/Window.java
5738 (Window): Don't call setVisible(false). Windows are invisible by
5739 default and calling virtual methods from constructor causes
5740 compatibility problems (e.g. subclasses may assume that the peer
5741 already exists).
5742
57432003-07-25 Michael Koch <konqueror@gmx.de>
5744
5745 * java/awt/GridBagLayout.java:
5746 Totally reworked and partly implemented.
5747 * java/awt/GridBagLayoutInfo.java:
5748 New file.
5749
dbe4baf5
TF
57502003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5751
5752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5753 Don't pack label in an event box.
5754
b6d2b0f7
TT
57552003-07-24 Tom Tromey <tromey@redhat.com>
5756
5757 For PR libgcj/7482:
5758 * verify.cc (ref_intersection): New class.
5759 (type_val): Removed unresolved_reference_type,
5760 uninitialized_unresolved_reference_type.
5761 (is_assignable_from_slow): Rewrote.
5762 (type::data): Removed.
5763 (type::klass): New field.
5764 (type::type): Added verifier argument.
5765 (type::resolve): Removed.
5766 (type::set_uninitialized): Updated for change to type_val.
5767 (type::set_initialized): Likewise.
5768 (type::isinitialized): Likewise.
5769 (type::print): Likewise.
5770 (construct_primitive_array_type): Likewise.
5771 (type::compatible): Updated for change to type_val and to use
5772 ref_intersection.
5773 (type::isarray): Updated to use ref_intersection.
5774 (type::isinterface): Likewise.
5775 (type::element_type): Likewise.
5776 (type::to_array): Likewise.
5777 (type::verify_dimensions): Rewrote.
5778 (type::merge): Likewise.
5779 (check_class_constant): Updated for type constructor change.
5780 (check_constant): Likewise.
5781 (check_field_constant): Likewise.
5782 (get_one_type): Likewise.
5783 (initialize_stack): Likewise.
5784 (verify_instructions_0): Likewise.
5785 (verify_instructions_0) [op_invokeinterface]: Removed special
5786 case.
5787 (isect_list): New field.
5788 (_Jv_BytecodeVerifier): Initialize it.
5789 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
5790
b3e4bb03 57912003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
bb477ffa
V
5792
5793 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5794 unless field size is 2.
5795
434566e7
TF
57962003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5797
5798 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5799 (connectHooks): New method.
5800 (handleEvent): Remove.
5801 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5802 (createHooks): Remove declaration.
5803 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5804 (generates_key_typed_event): Change to handle only certain
5805 keyvals.
5806 (awt_event_handler): Add special handling for GtkTextView.
5807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5808 (textcomponent_commit_cb): New function.
5809 (textcomponent_changed_cb): Likewise.
5810 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5811 (connectHooks): Remove.
5812
20da8c21
TT
58132003-07-23 Tom Tromey <tromey@redhat.com>
5814
ed6d7413
TT
5815 * java/lang/natSystem.cc (arraycopy): Check for overflow.
5816
20da8c21
TT
5817 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5818
e1a4d10f
TT
58192003-07-22 Tom Tromey <tromey@redhat.com>
5820
5821 * boehm.cc (_Jv_BuildGCDescr): Wrote.
5822 Include limits.h.
5823
5c798f92
TT
58242003-07-22 Tom Tromey <tromey@redhat.com>
5825
5826 * java/awt/Window.java (getWarningString): Just return the
5827 string.
5828 (Window): Set warningString; check with security manager.
5829
e81f8786
SG
58302003-07-22 Scott Gilbertson <scottg@mantatest.com>
5831
5832 * gnu/awt/xlib/XGraphicsConfiguration.java
5833 (FontMetricsCache): Made static.
5834
c3960338
TT
58352003-07-22 Tom Tromey <tromey@redhat.com>
5836
5837 * java/net/URLEncoder.java (encode(String)): Use platform default
5838 encoding.
5839 (encode(String,String)): Convert to 2-digit upper-case hex
5840 number.
5841 (hex): New field.
5842
9ef2dd1f
TF
58432003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5844
5845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5846 (create): Remove unused method implementation.
5847 (connectHooks): Remove debug messages.
5848
49e58846
AG
58492003-07-20 Anthony Green <green@redhat.com>
5850
5851 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5852 CloneNotSupportedException.
5853 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5854 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5855 * gnu/gcj/xlib/GC.java (clone): Ditto.
5856 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5857 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5858
5859 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5860 handler.
5861 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5862
8ec88074
SP
58632003-07-20 Steve Pribyl <steve@netfuel.com.>
5864
5865 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5866 String. Put dlerror() message into exception.
5867 Include UnsatisfiedLinkError.
5868 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5869 String. Now native.
5870
ffd94572
TT
58712003-07-20 Tom Tromey <tromey@redhat.com>
5872
5873 * java/lang/Runtime.java: Comment fix.
5874 * java/lang/ClassLoader.java (isAncestorOf): New method.
5875 (getParent): Uncommented security check. Use isAncestorOf.
5876 * include/jvm.h (_Jv_CheckAccess): Declare.
5877 * java/lang/reflect/natConstructor.cc (newInstance): Perform
5878 access check.
5879 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5880 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5881 class loader to _Jv_GetArrayClass.
5882 Include ArrayIndexOutOfBoundsException.h.
5883 * java/lang/reflect/Field.java: Update comment to reflect status.
5884 (equals): Fixed indentation.
5885 * java/lang/Class.h (Class): Declare memberAccessCheck, not
5886 checkMemberAccess. Make _Jv_CheckAccess a friend.
5887 * java/lang/Class.java (memberAccessCheck): New method from
5888 Classpath.
5889 (checkMemberAccess): Removed.
5890 (getDeclaredMethod): Use memberAccessCheck.
5891 (getField): Likewise.
5892 (getMethod): Likewise.
5893 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5894 (_Jv_SearchMethodInClass): Likewise.
5895 * prims.cc (_Jv_CheckAccess): New function.
5896 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5897 (_Jv_JNI_GetAnyFieldID): Likewise.
5898 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5899 (getClassLoader): Added security check.
5900 (getConstructor): Call memberAccessCheck.
5901 (getDeclaredClasses): Likewise.
5902 (getDeclaredField): Likewise.
5903 (getDeclaredFields): Likewise.
5904 (_getConstructors): Likewise.
5905 (getDeclaredConstructor): Likewise.
5906 (getDeclaredMethods): Likewise.
5907 (getFields): Likewise.
5908 (getMethods): Likewise.
5909 (newInstance): Likewise.
5910 (_Jv_MakeVTable): Put method name in exception.
5911 * java/lang/reflect/natMethod.cc (getType): Use
5912 getClassLoaderInternal.
5913 (_Jv_GetTypesFromSignature): Likewise.
5914 (invoke): Perform access check.
5915 (_Jv_CallAnyMethodA): Removed old FIXME comments.
5916 Include ArrayIndexOutOfBoundsException.h.
5917 * java/lang/reflect/natField.cc (getType): Use
5918 getClassLoaderInternal.
5919 (_Jv_CheckFieldAccessibility): Removed.
5920 (getAddr): Use _Jv_CheckAccess; find caller.
5921 Include ArrayIndexOutOfBoundsException.h.
5922
13cb8e55
MK
59232003-07-20 Michael Koch <konqueror@gmx.de>
5924
5925 * java/net/URL.java
5926 (URL): Fixed documentation to name an argument correcty, Reformatted
5927 one method declaration.
5928 (getURLStreamHandler): Added documentation from classpath.
ffd94572 5929
1b339d86
TT
59302003-07-19 Tom Tromey <tromey@redhat.com>
5931
5932 * mauve-libgcj: Don't run CollationElementIterator tests.
5933
35a6c873
JF
59342003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
5935
5936 * java/net/URLClassLoader.java (addURL): Moved implementation to
5937 private addURLImpl() to avoid calling addURL from the constructor.
5938 (addURLImpl): Contains the code that was previously in addURL.
5939 (addURLs): Call addURLImpl(), not addURL().
5940
cecc892a
GH
59412003-07-18 Graydon Hoare <graydon@redhat.com>
5942
5943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5944 Handle missing event cases, connect to "value-changed" signal.
5945
9e508cc4
GH
59462003-07-18 Graydon Hoare <graydon@redhat.com>
5947
5948 * java/awt/geom/CubicCurve2D.java,
5949 java/awt/geom/Line2D.java,
5950 java/awt/geom/QuadCurve2D.java,
5951 java/awt/geom/Rectangle2D.java:
5952 Fix path some calculations, make path iterators follow
5953 a consistent style.
5954
c26052b0
MW
59552003-07-18 Mark Wielaard <mark@klomp.org>
5956
5957 * java/util/logging/Handler.java (isLoggable): Check record level
5958 smaller or equal.
5959
3aefaf22
MK
59602003-07-17 Michael Koch <konqueror@gmx.de>
5961
5962 * gnu/java/awt/peer/gtk/GtkToolkit.java:
5963 Reworked imports.
5964
3a009999
MK
59652003-07-14 Michael Koch <konqueror@gmx.de>
5966
5967 * gnu/java/rmi/server/UnicastServerRef.java:
5968 New version from classpath.
5969
6a716777
MK
59702003-07-14 Michael Koch <konqueror@gmx.de>
5971
5972 * java/awt/image/MemoryImageSource.java,
5973 java/beans/PropertyEditorManager.java,
5974 javax/naming/CompoundName.java,
5975 javax/naming/spi/NamingManager.java,
5976 javax/swing/AbstractButton.java,
5977 javax/swing/ButtonModel.java,
5978 javax/swing/SwingUtilities.java,
5979 javax/swing/UIManager.java,
5980 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5981 javax/swing/event/AncestorEvent.java,
5982 javax/swing/event/InternalFrameEvent.java,
5983 java/util/zip/ZipFile.java:
5984 New versions from classpath.
5985
ae26c8e2
MK
59862003-07-13 Michael Koch <konqueror@gmx.de>
5987
5988 * gnu/java/nio/FileChannelImpl.java,
5989 gnu/java/nio/natFileChannelImpl.cc: Removed.
5990 * java/io/FileInputStream.java,
5991 java/io/FileOutputStream.java,
5992 java/io/RandomAccessFile.java,
5993 java/nio/MappedByteBufferImpl.java:
5994 Import java.nio.channels.FileChannelImpl instead of
5995 gnu.java.nio.FileChannelImpl.
5996 * java/nio/channels/FileChannelImpl.java,
5997 java/nio/channels/natFileChannelImpl.cc:
5998 New files.
5999 * Makefile.am
6000 (ordinary_java_source_files):
6001 Removed gnu/java/nio/FileChannelImpl.java and added
6002 java/nio/channels/FileChannelImpl.java.
6003 (nat source_files):
6004 Removed gnu/java/nio/natFileChannelImpl.cc and added
6005 java/nio/channels/natFileChannelImpl.cc.
6006 * Makefile.in: Regenerated.
6007
65278df2
MK
60082003-07-13 Michael Koch <konqueror@gmx.de>
6009
6010 * javax/swing/plaf/basic/BasicBorders.java,
6011 javax/swing/plaf/basic/BasicLabelUI.java,
6012 javax/swing/plaf/basic/BasicLookAndFeel.java,
6013 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6014 javax/swing/plaf/basic/BasicTextUI.java,
6015 javax/swing/plaf/metal/MetalLookAndFeel.java:
6016 New versions from classpath.
6017
5245ad0c
MK
60182003-07-13 Michael Koch <konqueror@gmx.de>
6019
6020 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
6021 * gnu/java/awt/peer/gtk/GdkGraphics.java
6022 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6023 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
6024 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
6025 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
6026 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6027 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6028 * gnu/java/awt/peer/gtk/GtkClipboard.java
6029 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
6030 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6031 * gnu/java/awt/peer/gtk/GtkFramePeer.java
6032 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
6033 * gnu/java/awt/peer/gtk/GtkImage.java
6034 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6035 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
6036 * gnu/java/awt/peer/gtk/GtkListPeer.java
6037 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6038 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
6039 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6040 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
6041 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
6042 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
6043 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
6044 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
6045 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
6046 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
6047 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6048 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
6049
c035ecda
MK
60502003-07-13 Michael Koch <konqueror@gmx.de>
6051
6052 * gnu/java/locale/LocaleInformation_de.java
6053 * gnu/java/locale/LocaleInformation_en.java
6054 * gnu/java/locale/LocaleInformation_nl.java
6055
754a9012
MK
60562003-07-13 Michael Koch <konqueror@gmx.de>
6057
6058 * gnu/java/awt/EmbeddedWindow.java,
6059 gnu/java/awt/EmbeddedWindowSupport.java,
6060 gnu/java/awt/natEmbeddedWindow.cc:
6061 New files.
6062 * java/awt/Window.java
6063 (Window): New constructor to support embedded windows.
6064 * Makefile.am
6065 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
6066 gnu/java/awt/EmbeddedWindowSupport.java.
6067 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
6068 * Makefile.in: Regenerated.
6069
d3276d35
MK
60702003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
6071
6072 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
6073 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
6074 * java/awt/im/InputContext.java: Remove a redundant
6075 partial line.
6076
4a2e2916
TT
60772003-07-09 Tom Tromey <tromey@redhat.com>
6078
6079 * Makefile.in: Rebuilt.
6080 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
6081
9ef68029
MW
60822003-07-09 Mark Wielaard <mark@klomp.org>
6083
6084 * java/io/ObjectOutputStream.java (writeObject): break after
6085 calling writeClassDescriptor().
6086
d17811fd
MM
60872003-07-09 Mark Mitchell <mark@codesourcery.com>
6088
6089 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
6090
844c00ed
MK
60912003-07-09 Michael Koch <konqueror@gmx.de>
6092
6093 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6094 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6095 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6096 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
6097 Explicitly import used classes.
6098 * java/awt/Container.java: New version from classpath.
6099
7fbbd122
MK
61002003-07-09 Michael Koch <konqueror@gmx.de>
6101
f9d232c3
MK
6102 * libgcj.pc.in: New file.
6103 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
6104 * Makefile.in: Regenerated.
6105 * configure: Regenrated.
6106 * configure.in: Create libgcj.pc from libgcj.pc.in.
7fbbd122 6107
5be0088e
MW
61082003-07-08 Mark Wielaard <mark@klomp.org>
6109
6110 * gcj/cni.h: CNI now expands to Compiled Native Interface.
6111
6112 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
6113 * java/lang/fdlibm.h: Likewise.
6114
690e3ffd
AM
61152003-07-07 Adam Megacz <adam@xwt.org>
6116
6117 * posix.cc: added #include<stdio.h>
6118
b6fa901b
TF
61192003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6120
aeb3535d
TF
6121 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
6122 formatting.
6123
b6fa901b
TF
6124 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6125 (setCaretPosition, setEditable): Rely entirely on native
6126 implementation.
6127 (getArgs): Remove.
6128 (postTextEvent): New method.
6129 (handleEvent): New method.
6130 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
6131 method.
6132 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
6133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6134 (keysym_to_awt_keycode): Fix range checks.
6135 (generates_key_typed_event): New function.
6136 (awt_event_handler): Post AWT_KEY_RELEASED events to event
6137 queue.
6138 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6139 (gtkInit): Store TextComponent's postTextEvent method ID.
6140 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6141 (setText): Post TEXT_VALUE_CHANGED event to event queue.
6142
6b3517ea
RO
61432003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6144
6145 * configure.in: Check for usleep declaration.
6146 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
6147 * configure: Regenerate.
6148 * include/config.h.in: Likewise.
6149 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
6150
3d8daef2
MK
61512003-07-01 Michael Koch <konqueror@gmx.de>
6152
6153 * gnu/gcj/convert/natIconv.cc
6154 (iconv_init): Fixed possible memory leak by releasing allocated iconv
6155 handle.
6156
29e531ff
TF
61572003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6158
6159 * glib-2.0.m4: New file.
6160 * gtk-2.0.m4: New file.
6161 * glib.m4: Remove.
6162 * gtk.m4: Remove.
6163 * configure.in: Update AM_PATH_GTK macro call to
6164 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
6165 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6166 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6167 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6168 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6169 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6170 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6171 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6172 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6173 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6174 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6175 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6176 jni/gtk-peer/gthread-jni.c,
6177 jni/gtk-peer/gthread-jni.h:
6178 New versions from classpath.
6179 * aclocal.m4: Regenerate.
6180 * configure: Regenerate.
6181 * Makefile.in: Regenerate.
6182 * gcj/Makefile.in: Regenerate.
6183 * include/Makefile.in: Regenerate.
6184 * testsuite/Makefile.in: Regenerate.
6185
27758dc0
GB
61862003-06-30 Gary Benson <gbenson@redhat.com>
6187
6188 For PR libgcj/11349:
6189 * javax/naming/spi/NamingManager.java (getURLContext): Use
6190 correct name for factory class.
6191
1af3e06b
MK
61922003-06-28 Michael Koch <konqueror@gmx.de>
6193
6194 * java/io/PrintStream.java
6195 (checkError): Call flush() instead of direct flushing of the Writer
6196 object.
6197 (print): Call print(String) instead of direct print method of the
6198 Writer Object.
6199 (println): Call println(String) instead of direct println method of the
6200 Writer Object.
6201 (write): Simplified.
6202
c5b49e89
MK
62032003-06-28 Michael Koch <konqueror@gmx.de>
6204
6205 * java/net/ServerSocket.java
6206 (setChannel): New method.
6207 * java/net/Socket.java
6208 (setChannel): New method.
6209
5bbd6c3e
MK
62102003-06-27 Michael Koch <konqueror@gmx.de>
6211
6212 * java/beans/beancontext/BeanContextSupport.java:
6213 New version from classpath.
6214
2f161fa8
MK
62152003-06-27 Michael Koch <konqueror@gmx.de>
6216
6217 * java/awt/Window.java,
6218 java/awt/font/GraphicAttribute.java,
6219 java/awt/font/ImageGraphicAttribute.java,
6220 java/awt/image/DataBufferByte.java,
6221 java/awt/image/DataBufferInt.java,
6222 java/awt/image/DataBufferUShort.java,
6223 java/awt/image/DirectColorModel.java,
6224 java/awt/image/PixelGrabber.java:
6225 New versions from classpath.
6226
24ce2fe6
MK
62272003-06-27 Michael Koch <konqueror@gmx.de>
6228
560d4c59
MK
6229 * java/security/Certificate.java
6230 (getGuarantor): Removed wrong @deprecated tag.
6231 (getPrincipal): Likewise.
6232 (getPublicKey): Likewise.
6233 (encode): Likewise.
6234 (decode): Likewise.
6235 (getFormat): Likewise.
6236 (toString): Likewise.
6237 * java/security/cert/PolicyQualifierInfo.java
6238 (PolicyQualifierInfo): Made final.
6239 * javax/security/auth/x500/X500Principal.java
6240 (serialVersionUID): New member variable.
24ce2fe6 6241
7e6ec0d8
MK
62422003-06-27 Michael Koch <konqueror@gmx.de>
6243
6244 * java/text/Format.java
6245 (serialVersionUID): Fixed value.
6246
6ced3f39
MK
62472003-06-27 Michael Koch <konqueror@gmx.de>
6248
6249 * java/net/Inet4Address.java
6250 (Inet4Address): Made package-private.
6251 * java/net/Inet6Address.java
6252 (Inet4Address): Made package-private.
6253
824d4a10
MK
62542003-06-27 Michael Koch <konqueror@gmx.de>
6255
6256 * java/io/RandomAccessFile.java
6257 (readLine): Removed wrong @deprecated tag.
6258 (getChannel): Made final.
6259
c938cb68
MK
62602003-06-27 Michael Koch <konqueror@gmx.de>
6261
6262 * gnu/java/nio/FileChannelImpl.java
6263 (write): Removed.
6264
1226b900
MK
62652003-06-27 Michael Koch <konqueror@gmx.de>
6266
6267 * java/nio/ByteBufferImpl.java
6268 (ByteBufferImpl): Made it a package-private class
6269 * java/nio/CharBufferImpl.java
6270 (CharBufferImpl): Made it a package-private class
6271 * java/nio/DirectByteBufferImpl.java
6272 (DirectByteBufferImpl): Made it a package-private class
6273 * java/nio/DoubleBufferImpl.java
6274 (DoubleBufferImpl): Made it a package-private class
6275 * java/nio/FloatBufferImpl.java
6276 (FloatBufferImpl): Made it a package-private class
6277 * java/nio/IntBufferImpl.java
6278 (IntBufferImpl): Made it a package-private class
6279 * java/nio/LongBufferImpl.java
6280 (LongBufferImpl): Made it a package-private class
6281 * java/nio/ShortBufferImpl.java
6282 (ShortBufferImpl): Made it a package-private class
6283 * java/nio/channels/FileChannel.java
6284 (write): Made final.
6285 * java/nio/channels/ServerSocketChannel.java
6286 (ServerSocketChanne): Made protected.
6287
7fc600fc
MK
62882003-06-27 Michael Koch <konqueror@gmx.de>
6289
6290 * javax/naming/CompositeName.java
6291 (serialVersionUID): New member variable.
6292 * javax/naming/CompoundName.java
6293 (serialVersionUID): New member variable.
6294 * javax/naming/InitialContext.java
6295 (InitialContext): Throws NamingException.
6296 (init): Likewise.
6297 * javax/naming/LinkRef.java
6298 (serialVersionUID): New member variable.
6299 (gteLinkName): Throws NamingException.
6300 * javax/naming/NamingException.java
6301 (serialVersionUID): New member variable.
6302 * javax/naming/NamingSecurityException.java
6303 (NamingSecurityException): Made abstract.
6304 (serialVersionUID): New member variable.
6305 * javax/naming/ReferralException.java
6306 (serialVersionUID): New member variable.
6307 * javax/naming/StringRefAddr.java
6308 (serialVersionUID): New member variable.
6309 * javax/naming/directory/BasicAttribute.java:
6310 Reworked imports.
6311 (serialVersionUID): New member variable.
6312 (get): Throws NamingException.
6313 (getAll): Throws NamingException.
6314 * javax/naming/directory/BasicAttributes.java:
6315 Reworked imports.
6316 (serialVersionUID): New member variable.
6317 * javax/naming/ldap/UnsolicitedNotificationEvent.java
6318 (serialVersionUID): New member variable.
6319
3556d877
MK
63202003-06-27 Michael Koch <konqueror@gmx.de>
6321
6322 * Makefile.am
6323 (awt_java_source_files): Added new files:
6324 javax/swing/Popup.java,
6325 javax/swing/PopupFactory.java
6326 * Makefile.in: Regenerated.
6327
1c9d1c5b
MK
63282003-06-27 Michael Koch <konqueror@gmx.de>
6329
6330 * javax/swing/JWindow.java,
6331 javax/swing/event/AncestorEvent.java,
6332 javax/swing/event/HyperlinkEvent.java,
6333 javax/swing/event/InternalFrameEvent.java,
6334 javax/swing/event/ListDataEvent.java,
6335 javax/swing/event/TableModelEvent.java,
6336 javax/swing/plaf/PopupMenuUI.java,
6337 javax/swing/plaf/SplitPaneUI.java,
6338 javax/swing/plaf/TabbedPaneUI.java,
6339 javax/swing/plaf/TextUI.java,
6340 javax/swing/plaf/TreeUI.java,
6341 javax/swing/plaf/basic/BasicTextUI.java,
6342 javax/swing/plaf/basic/BasicTreeUI.java:
6343 New versions from classpath.
6344 * javax/swing/Popup.java,
6345 javax/swing/PopupFactory.jav:
6346 New source files from classpath.
6347 * javax/swing/plaf/doc-files/TreeUI-1.png:
6348 New binary files from classpath.
6349
534e254b
MK
63502003-06-25 Michael Koch <konqueror@gmx.de>
6351
6352 * Makefile.am
6353 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6354 * Makefile.in: Regenerated.
6355
55060f0e
MK
63562003-06-25 Michael Koch <konqueror@gmx.de>
6357
6358 * javax/swing/plaf/ActionMapUIResource.java,
6359 javax/swing/plaf/BorderUIResource.java,
6360 javax/swing/plaf/ButtonUI.java,
6361 javax/swing/plaf/ColorChooserUI.java,
6362 javax/swing/plaf/ColorUIResource.java,
6363 javax/swing/plaf/ComboBoxUI.java,
6364 javax/swing/plaf/ComponentInputMapUIResource.java,
6365 javax/swing/plaf/ComponentUI.java,
6366 javax/swing/plaf/DesktopIconUI.java,
6367 javax/swing/plaf/DesktopPaneUI.java,
6368 javax/swing/plaf/DimensionUIResource.java,
6369 javax/swing/plaf/FileChooserUI.java,
6370 javax/swing/plaf/FontUIResource.java,
6371 javax/swing/plaf/IconUIResource.java,
6372 javax/swing/plaf/InputMapUIResource.java,
6373 javax/swing/plaf/InsetsUIResource.java,
6374 javax/swing/plaf/InternalFrameUI.java,
6375 javax/swing/plaf/LabelUI.java,
6376 javax/swing/plaf/ListUI.java,
6377 javax/swing/plaf/MenuBarUI.java,
6378 javax/swing/plaf/MenuItemUI.java,
6379 javax/swing/plaf/OptionPaneUI.java,
6380 javax/swing/plaf/PanelUI.java,
6381 javax/swing/plaf/ProgressBarUI.java,
6382 javax/swing/plaf/RootPaneUI.java,
6383 javax/swing/plaf/ScrollBarUI.java,
6384 javax/swing/plaf/ScrollPaneUI.java,
6385 javax/swing/plaf/SeparatorUI.java,
6386 javax/swing/plaf/SliderUI.java,
6387 javax/swing/plaf/TableHeaderUI.java,
6388 javax/swing/plaf/TableUI.java,
6389 javax/swing/plaf/ToolBarUI.java,
6390 javax/swing/plaf/ToolTipUI.java,
6391 javax/swing/plaf/ViewportUI.java:
6392 New versions from classpath.
6393 * javax/swing/plaf/SpinnerUI.java:
6394 New file from classpath
6395
7099616c
MK
63962003-06-25 Michael Koch <konqueror@gmx.de>
6397
6398 * java/awt/image/ColorModel.java:
6399 New version from classpath.
6400
d0e029d8
MK
64012003-06-25 Michael Koch <konqueror@gmx.de>
6402
6403 * java/net/PlainDatagramSocketImpl.java:
6404 Partly merged with classpath, this mainly adds documentation.
6405
3cc9a95d
MK
64062003-06-25 Michael Koch <konqueror@gmx.de>
6407
6408 * java/io/ObjectInputStream.java
6409 (readClassDescriptor): New method.
6410 (readObject): Moved functionality to readClassDescriptor().
6411 * java/io/ObjectOutputStream.java
6412 (writeClassDescriptor): New method.
6413 (writeObject): Moved functionality to writeClassDescriptor().
6414
a7c0a442
MK
64152003-06-25 Michael Koch <konqueror@gmx.de>
6416
6417 * javax/swing/plaf/basic/BasicListUI.java,
6418 javax/swing/plaf/basic/BasicOptionPaneUI.java:
6419 Added missing methods.
6420
b9901162
MK
64212003-06-25 Michael Koch <konqueror@gmx.de>
6422
6423 * javax/swing/event/AncestorEvent.java
6424 javax/swing/event/HyperlinkEvent.java
6425 javax/swing/event/InternalFrameEvent.java
6426 javax/swing/event/ListDataEvent.java
6427 javax/swing/event/TableModelEvent.java:
6428 Compile fixes.
6429
cb64c638
MK
64302003-06-24 Michael Koch <konqueror@gmx.de>
6431
6432 * java/net/URL.java:
6433 Renamed "handler" to "ph" in the whole file to match classpaths
6434 version.
6435 * java/net/URLStreamHandler.java:
6436 (equals): Renamed "handler" to "ph".
6437
bbe53f03
MK
64382003-06-24 Michael Koch <konqueror@gmx.de>
6439
6440 * javax/swing/event/AncestorEvent.java,
6441 javax/swing/event/HyperlinkEvent.java,
6442 javax/swing/event/InternalFrameEvent.java,
6443 javax/swing/event/ListDataEvent.java,
6444 javax/swing/event/TableModelEvent.java,
6445 javax/swing/event/TreeWillExpandListener.java,
6446 javax/swing/plaf/ComponentUI.java,
6447 javax/swing/plaf/DesktopIconUI.java,
6448 javax/swing/plaf/DesktopPaneUI.java,
6449 javax/swing/plaf/DimensionUIResource.java,
6450 javax/swing/plaf/FileChooserUI.java,
6451 javax/swing/plaf/FontUIResource.java,
6452 javax/swing/plaf/IconUIResource.java,
6453 javax/swing/plaf/InputMapUIResource.java,
6454 javax/swing/plaf/InsetsUIResource.java,
6455 javax/swing/plaf/InternalFrameUI.java,
6456 javax/swing/plaf/LabelUI.java,
6457 javax/swing/plaf/ListUI.java,
6458 javax/swing/plaf/MenuBarUI.java,
6459 javax/swing/plaf/MenuItemUI.java,
6460 javax/swing/plaf/OptionPaneUI.java,
6461 javax/swing/plaf/PanelUI.java,
6462 javax/swing/plaf/ProgressBarUI.java,
6463 javax/swing/plaf/doc-files/ComponentUI-1.dia,
6464 javax/swing/plaf/doc-files/ComponentUI-1.png:
6465 New versions from classpath.
6466
3a63ab40
MK
64672003-06-24 Michael Koch <konqueror@gmx.de>
6468
6469 * java/nio/Buffer.java
6470 (cap): Made package-private.
6471 (pos): Likewise.
6472 (limit): Likewise.
6473 (mark): Likewise.
6474
ed1f9b7c
MK
64752003-06-24 Michael Koch <konqueror@gmx.de>
6476
6477 * java/net/SocketImpl.java
6478 (shutdownInput): Made it non-abstract method throwing an exception
6479 like in SUNs JRE.
6480 (shutdownOutput): Likewise.
6481 * java/net/SocketInputStream.java,
6482 java/net/SocketOutputStream.java:
6483 New files from classpath.
6484
59b8aa7e
MK
64852003-06-24 Michael Koch <konqueror@gmx.de>
6486
6487 * java/awt/Font.java,
6488 java/awt/Window.java,
6489 java/awt/color/ColorSpace.java,
6490 java/awt/datatransfer/StringSelection.java,
6491 java/awt/image/ColorModel.java:
6492 New versions from classpath.
6493
5d09ad73
MK
64942003-06-24 Michael Koch <konqueror@gmx.de>
6495
6496 * Makefile.am
6497 (awt_java_source_files): Added new files:
6498 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6499 javax/swing/plaf/basic/BasicSplitPaneUI.java
6500 * Makefile.in: Regenerated.
6501
92c268fa
MK
65022003-06-24 Michael Koch <konqueror@gmx.de>
6503
6504 * javax/swing/text/JTextComponent.java:
6505 New version from classpath.
6506
a0ea8550
MK
65072003-06-24 Michael Koch <konqueror@gmx.de>
6508
6509 * javax/swing/Timer.java,
6510 javax/swing/plaf/ActionMapUIResource.java,
6511 javax/swing/plaf/ButtonUI.java,
6512 javax/swing/plaf/ColorChooserUI.java,
6513 javax/swing/plaf/ColorUIResource.java,
6514 javax/swing/plaf/ComboBoxUI.java,
6515 javax/swing/plaf/ComponentInputMapUIResource.java,
6516 javax/swing/plaf/basic/BasicBorders.java:
6517 New versions from classpath.
6518 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6519 javax/swing/plaf/basic/BasicSplitPaneUI.java:
6520 New file from classpath.
6521 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6522 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6523 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6524 javax/swing/plaf/doc-files/ComponentUI-1.dia,
6525 javax/swing/plaf/doc-files/ComponentUI-1.png:
6526 New binary files from classpath.
6527
20afd475
MK
65282003-06-24 Michael Koch <konqueror@gmx.de>
6529
6530 * java/io/LineNumberReader.java
6531 (skip): Dont do line number accounting here as this is already done in
6532 read(), simplified.
6533
cff5cdc8
MK
65342003-06-21 Michael Koch <konqueror@gmx.de>
6535
6536 * java/io/File.java
6537 (static): Load javaio lib if existing (only in classpath).
6538 (File): Revised documentation to show the correct argument name.
6539 (createTempFile): Partly merged with classpath.
6540 (compareTo): Simplified.
6541 (lastModified): Throw exception if time < 0.
6542 (deleteOnExit): Revised documentation.
6543
6ecaa270
MK
65442003-06-21 Michael Koch <konqueror@gmx.de>
6545
6546 * java/net/PlainSocketImpl.java:
6547 Reformatted.
6548 (PlainSocketImpl): Merged class documentaion with classpath.
6549 (in): Moved.
6550 (out): Moved.
6551 (PlainSocketImpl): New empty constructor.
6552 (finalize): Moved.
6553 (setOption): Merged documentation from classpath.
6554 (getOption): Likewise.
6555 (create): Likewise.
6556 (connect): Likewise.
6557 (bind): Likewise.
6558 (listen): Likewise.
6559 (accept): Likewise.
6560 (available): Likewise.
6561 (close): Likewise.
6562 (read): Likewise.
6563 (write): Likewise.
6564 (getInputStream): Made synchronozed to get sure that only one stream
6565 object can be created for this socket, merged documentation from
6566 classpath.
6567 (getOutputStream): Likewise.
6568
5d938b1a
MK
65692003-06-21 Michael Koch <konqueror@gmx.de>
6570
6571 * java/net/PlainSocketImpl.java:
6572 Reformatting.
6573 (static): New implicit method.
6574 (read): Made package private.
6575 (write): Likewise.
6576
6f705fc7
MK
65772003-06-21 Michael Koch <konqueror@gmx.de>
6578
6579 * java/util/SimpleTimeZone.java:
6580 Removed unneeded import, reformatting.
6581
73c7dd50
MK
65822003-06-21 Michael Koch <konqueror@gmx.de>
6583
6584 * java/text/DateFormat.java,
6585 java/text/SimpleDateFormat.java,
6586 java/util/Locale.java:
6587 New versions from classpath.
6588
5ee8128f
MK
65892003-06-21 Michael Koch <konqueror@gmx.de>
6590
6591 * javax/swing/SpinnerModel.java:
6592 New file from classpath.
6593 * javax/swing/border/LineBorder.java,
6594 javax/swing/border/SoftBevelBorder.java,
6595 javax/swing/plaf/BorderUIResource.java,
6596 javax/swing/plaf/basic/BasicBorders.java:
6597 New versions from classpath.
6598 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6599 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6600 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6601 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6602 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6603 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6604 New binary files from classpath.
6605
2d0c9050
MK
66062003-06-21 Michael Koch <konqueror@gmx.de>
6607
6608 * java/util/logging/LogRecord.java,
6609 java/util/logging/Logger.java,
6610 java/util/logging/SocketHandler.java,
6611 java/util/logging/SimpleFormatter.java,
6612 java/util/logging/Formatter.java,
6613 java/util/logging/ErrorManager.java,
6614 java/util/logging/Handler.java,
6615 java/util/logging/FileHandler.java,
6616 java/util/logging/LogManager.java,
6617 java/util/logging/Level.java,
6618 java/util/logging/ConsoleHandler.java,
6619 java/util/logging/StreamHandler.java,
6620 java/util/logging/LoggingPermission.java,
6621 java/util/logging/Filter.java,
6622 java/util/logging/MemoryHandler.java,
6623 java/util/logging/XMLFormatter.java:
6624 New files from classpath.
6625
319d7645
MK
66262003-06-20 Michael Koch <konqueror@gmx.de>
6627
6628 * java/io/ObjectStreamField.java
6629 (unshared): new member variable.
6630 (ObjectStreamField): New constructor.
6631 (isUnshared): New method.
6632
f8b7363e
MK
66332003-06-20 Michael Koch <konqueror@gmx.de>
6634
6635 * java/net/URLStreamHandler.java
6636 (hostsEqual): Rewritten.
6637
c52c9fec
MK
66382003-06-20 Michael Koch <konqueror@gmx.de>
6639
6640 * gnu/java/nio/MappedByteFileBuffer.java,
6641 gnu/java/nio/natMappedByteFileBuffer.cc:
6642 Removed
6643 * java/nio/MappedByteBufferImpl.java:
6644 New file.
6645 * gnu/java/nio/FileChannelImpl.java:
6646 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6647 * Makefile.am
6648 (ordinary_java_source_files): Removed
6649 gnu/java/nio/MappedByteFileBuffer.java and added
6650 java/nio/MappedByteBufferImpl.java.
6651 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6652 * Makefile.in: Regenerated.
6653
98a91a72
MK
66542003-06-19 Michael Koch <konqueror@gmx.de>
6655
6656 * gnu/java/nio/DatagramChannelImpl.java
6657 (fd): Removed.
6658 (blocking): New member variable.
6659 (socket): Likewise.
6660 (DatagramChannelImpl): Throws IOException, initialize socket.
6661 (socket):Implemented.
6662 (implCloseSelectableChannel): Throws IOException, implemented.
6663 (implConfigureBlocking): Likewise.
6664 (connect): Likewise.
6665 (disconnect): Likewise.
6666 (isConnected): Likewise.
6667 (write): Likewise.
6668 (read): Likewise.
6669 (receive): Throws IOException.
6670 (send): Likewise.
6671 * gnu/java/nio/SocketChannelImpl.java
6672 (read): Implemented.
6673 (write): Implemented.
6674
536a695f
MK
66752003-06-19 Michael Koch <konqueror@gmx.de>
6676
6677 * javax/swing/JComponent.java,
6678 javax/swing/JInternalFrame.java,
6679 javax/swing/MenuSelectionManager.java,
6680 javax/swing/SwingUtilities.java,
6681 javax/swing/ToggleButtonModel.java:
6682 New versions from classpath.
6683
2e5d98ce
MK
66842003-06-19 Michael Koch <konqueror@gmx.de>
6685
6686 * java/text/CollationElementIterator.java
6687 (NULLORDER): Initialize with -1 as JDK documentation says.
6688
a05f6447
MK
66892003-06-19 Michael Koch <konqueror@gmx.de>
6690
6691 * java/net/HttpURLConnection.java,
6692 java/net/Inet4Address.java,
6693 java/net/Inet6Address.java,
6694 java/net/SocketImpl.java,
6695 java/net/URLClassLoader.java:
6696 Reworked import statements.
6697 * java/net/InetAddress.java
6698 (getByAddress): Simplified.
6699 * java/net/ServerSocket.java
6700 (ServerSocket): Moved special handling during bind operation to
6701 bind().
6702 (bind): Handle different cases when trying to bind a socket.
6703 * java/net/URLConnection.java
6704 (getHeaderFieldDate): Merged with classpath.
6705 (getHeaderFieldInt): Likewise.
6706
3580a7d5
MK
67072003-06-19 Michael Koch <konqueror@gmx.de>
6708
6709 * java/util/zip/InflaterInputStream.java
6710 (InflaterInputStream): Throw NullPointerException if in is null (as
6711 JDK does).
6712
8993c12b
MK
67132003-06-19 Michael Koch <konqueror@gmx.de>
6714
6715 * java/awt/Font.java
6716 javax/swing/UIManager.java
6717 javax/swing/border/AbstractBorder.java
6718 javax/swing/border/BevelBorder.java
6719 javax/swing/border/Border.java
6720 javax/swing/border/CompoundBorder.java
6721 javax/swing/border/EmptyBorder.java
6722 javax/swing/border/EtchedBorder.java
6723 javax/swing/border/LineBorder.java
6724 javax/swing/border/MatteBorder.java
6725 javax/swing/border/TitledBorder.java
6726 javax/swing/plaf/BorderUIResource.java
6727 javax/swing/plaf/basic/BasicBorders.java
6728 javax/swing/plaf/basic/BasicButtonUI.java
6729 javax/swing/plaf/basic/BasicCheckBoxUI.java
6730 javax/swing/plaf/basic/BasicGraphicsUtils.java
6731 javax/swing/plaf/basic/BasicLabelUI.java
6732 javax/swing/plaf/basic/BasicRadioButtonUI.java
6733 javax/swing/plaf/basic/BasicToggleButtonUI.java:
6734 New versions from classpath.
6735 * javax/swing/border/SoftBevelBorder.java:
6736 New file from classpath.
6737 * javax/swing/border/doc-files/LineBorder-1.png,
6738 javax/swing/border/doc-files/BevelBorder-1.png,
6739 javax/swing/border/doc-files/BevelBorder-2.png,
6740 javax/swing/border/doc-files/BevelBorder-3.png,
6741 javax/swing/border/doc-files/EmptyBorder-1.png,
6742 javax/swing/border/doc-files/EtchedBorder-1.png,
6743 javax/swing/border/doc-files/EtchedBorder-2.png,
6744 javax/swing/border/doc-files/MatteBorder-1.png,
6745 javax/swing/border/doc-files/MatteBorder-2.png,
6746 javax/swing/border/doc-files/MatteBorder-3.png,
6747 javax/swing/border/doc-files/MatteBorder-4.png,
6748 javax/swing/border/doc-files/MatteBorder-5.png,
6749 javax/swing/border/doc-files/MatteBorder-6.png,
6750 javax/swing/border/doc-files/SoftBevelBorder-1.png,
6751 javax/swing/border/doc-files/SoftBevelBorder-2.png,
6752 javax/swing/border/doc-files/SoftBevelBorder-3.png,
6753 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6754 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6755 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6756 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6757 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6758 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6759 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6760 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6761 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6762 New binary files from classpath.
6763 * Makefile.am
6764 (awt_java_source_files): Added
6765 javax/swing/border/SoftBevelBorder.java.
6766 * Makefile.in: Regenerated.
6767
d5b73c26
MK
67682003-06-19 Michael Koch <konqueror@gmx.de>
6769
6770 * gnu/java/security/x509/X509Certificate.java
6771 (writeReplace): Merged from classpath.
6772
b7a793af
MK
67732003-06-19 Michael Koch <konqueror@gmx.de>
6774
6775 * gnu/java/nio/FileChannelImpl.java
6776 (map_address): Made public.
6777 (FileChannelImpl): Merged with classpath.
6778 * gnu/java/nio/natFileChannelImpl.cc
6779 (nio_mmap_file): Commented out unused arguments.
6780 (nio_unmmap_file): Likewise.
6781 (niu_msync): Likewise.
6782
16e4b777
MK
67832003-06-19 Michael Koch <konqueror@gmx.de>
6784
6785 * java/awt/image/IndexColorModel.java:
6786 New version from classpath.
6787
7cbd1918
TT
67882003-06-18 Tom Tromey <tromey@redhat.com>
6789
6790 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6791 on arrays.
6792 (isLoopbackAddress): Likewise.
6793 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6794 on arrays.
6795
7b4a4fce
MK
67962003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
6797
6798 * java/lang/natVMSecurityManager.cc (getClassContext):
6799 Use maxlen instead of len for loop bound.
6800
299f5809
MK
68012003-06-18 Michael Koch <konqueror@gmx.de>
6802
6803 * gnu/java/nio/SelectorImpl.java
6804 (register): Use fd with value 0 for now, will be fixed later.
6805 * gnu/java/nio/ServerSocketChannelImpl.java
6806 (fd): Removed.
6807 (local_port): Removed.
6808 (InetSocketAddress): Removed.
6809 (ServerSocketChannelImpl): Just initialize internal socket object.
6810 (implCloseSelectableChannel): Close internal socket object.
6811 (implConfigureBlocking): Added comment.
6812 (accept): Use jaba.net stuff to accept socket.
6813 * gnu/java/nio/SocketChannelImpl.java
6814 (fd): Removed.
6815 (local_port): Removed.
6816 (InetSocketAddress): Removed.
6817 (SocketCreate): Removed.
6818 (SocketConnect): Removed.
6819 (SocketBind): Removed.
6820 (SocketListen): Removed.
6821 (SocketAvailable): Removed.
6822 (SocketClose): Removed.
6823 (SocketRead): Removed.
6824 (SocketWrite): Removed.
6825 (SocketChannelImpl): Just initialize internal socket object.
6826 (implCloseSelectableChannel): Close internal socket object.
6827 (implConfigureBlocking): Fixed implementation, added comment.
6828 (connect): Use internal socket object to connect.
6829 (socket): No need for sanity checks.
6830 (read): Comment out some stuff, this will be reimplemented in the next
6831 commit.
6832 (write): Likewise.
6833 * gnu/java/nio/natFileChannelImpl.cc
6834 (nio_mmap_file): Line wrapped.
6835 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6836 * Makefile.am
6837 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6838 * Makefile.in: Regenerated.
6839
20d513ff
MK
68402003-06-18 Michael Koch <konqueror@gmx.de>
6841
6842 * java/util/Locale.java
6843 (equals): Merged from classpath.
6844
75da2103
MK
68452003-06-18 Michael Koch <konqueror@gmx.de>
6846
6847 * java/net/InetAddress.java:
6848 Reformatted to better match classpath's version.
6849 * java/net/URL.java
6850 (equals): Simplified.
6851 * java/net/URLConnection.java
6852 (setDoInput): Revised documentation.
6853 (getDefaultUseCaches): Likewise.
6854 (setRequestProperty): Added @since tag.
6855
7d8f4ff9
MK
68562003-06-17 Michael Koch <konqueror@gmx.de>
6857
6858 * java/net/InetSocketAddress.java
6859 (InetSocketAddress): Use wildcard address if addr is null.
6860 (InetSocketAddress): Dont duplicate implementation.
6861 (InetSocketAddress): Throw exception when hostname is null.
6862 * java/net/Socket.java:
6863 Reworked imports.
6864 (Socket): Throw exception when raddr is null, handle case when laddr
6865 is null.
6866
6f3aed57
MK
68672003-06-17 Michael Koch <konqueror@gmx.de>
6868
6869 * java/nio/DirectByteBufferImpl.java
6870 (address): Made package private.
6871 (DirectByteBufferImpl): New constructor.
6872 * java/nio/natDirectByteBufferImpl.cc
6873 (allocateImpl): Moved to java.nio namespace, implemented.
6874 (freeImpl): Likewise.
6875 (getImpl): Likewise.
6876 (putImpl): Likewise.
6877 * jni.cc
6878 (_Jv_JNI_NewDirectByteBuffer): Implemented.
6879 (_Jv_JNI_GetDirectBufferAddress): Implemented.
6880 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6881
beea2324
FS
68822003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6883
6884 * include/powerpc-signal.h: New File.
6885 * configure.in: Use it.
6886 * configure: Regenerated.
6887
b98cf059
MK
68882003-06-17 Michael Koch <konqueror@gmx.de>
6889
6890 * java/util/Locale.java
6891 (getDisplayLanguage): Made it final.
6892 (getDisplayCountry): Likewise.
6893 (getDisplayVariant): Likewise.
6894 (getDisplayName): Likewise.
6895
99657762
MK
68962003-06-17 Michael Koch <konqueror@gmx.de>
6897
6898 * java/util/PropertyResourceBundle.java:
6899 Removed unneeded import.
6900
2a352ff1
MK
69012003-06-17 Michael Koch <konqueror@gmx.de>
6902
6903 * java/util/prefs/AbstractPreferences.java,
6904 java/util/prefs/PreferencesFactory.java:
6905 Reworked imports, removed unused imports.
6906 * java/util/prefs/Preferences.java
6907 (systemNodeForPackage): Method takes a Class not an Object.
6908 (userNodeForPackage): Likewise.
6909 (nodeForPackage): Likewise.
6910
12d08f3a
MK
69112003-06-17 Michael Koch <konqueror@gmx.de>
6912
6913 * gnu/java/security/x509/X509Certificate.java:
6914 Explicitely import used classes.
6915
efc5eec6
MK
69162003-06-17 Michael Koch <konqueror@gmx.de>
6917
6918 * java/util/zip/ZipEntry.java,
6919 java/util/zip/ZipFile.java,
6920 java/util/zip/ZipInputStream.java,
6921 java/util/zip/ZipOutputStream.java:
6922 Reworked imports, only import used classes.
6923
cea5ca6a
MK
69242003-06-17 Michael Koch <konqueror@gmx.de>
6925
6926 * gnu/java/lang/ArrayHelper.java,
6927 gnu/java/lang/ClassHelper.java:
6928 Reformatted to match classpath's versions.
6929
e8fb93c9
MK
69302003-06-14 Michael Koch <konqueror@gmx.de>
6931
81d2d258
MK
6932 * gnu/java/nio/FileChannelImpl.java
6933 (map_address): Removed incorrect comment.
6934 * gnu/java/nio/SelectorImpl.java
6935 (register): Remove code duplication and code for file channel handling.
6936 * gnu/java/nio/ServerSocketChannelImpl.java
6937 (serverSocket): Renamed from sock_object.
6938 (ServerSocketChannel): Initialize serverSocket.
6939 (socket): Return serverSocket.
6940 * gnu/java/nio/SocketChannelImpl.java
6941 (socket): Renamed from sock_object.
6942 (isConnectionPenging): Simplified.
6943 (socket): Return socket.
69442003-06-14 Michael Koch <konqueror@gmx.de>
6945
e8fb93c9
MK
6946 * java/security/BasicPermission.java:
6947 New version from classpath.
6948
d10341ea
MK
69492003-06-14 Michael Koch <konqueror@gmx.de>
6950
6951 * javax/naming/directory/Attribute.java:
6952 New version from classpath.
6953
6b4683e2
MK
69542003-06-14 Michael Koch <konqueror@gmx.de>
6955
6956 * java/io/BufferedReader.java,
6957 java/io/FileOutputStream.java:
6958 New versions from classpath.
6959
bec3e66d
AH
69602003-06-12 Andrew Haley <aph@redhat.com>
6961
6962 * prims.cc (catch_segv): Create exception in handler.
6963 (catch_fpe): Likewise.
6964 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6965 (_Jv_ThrowSignal): Remove.
6966
6967 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6968 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6969 to nullp and arithexception.
6970 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6971 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6972 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6973 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6974 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6975
e976ed37
AH
69762003-06-11 Andrew Haley <aph@redhat.com>
6977
6978 * jni.cc (_Jv_JNI_check_types): New.
6979 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6980 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6981 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6982 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6983
6984 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6985 infinite loop.
6986
3ad93a34
TT
69872003-06-11 Tom Tromey <tromey@redhat.com>
6988
6989 * java/lang/ClassLoader.java (loadClass): Not deprecated.
6990 * java/io/PrintStream.java: Not deprecated.
6991
a28853b0
SG
69922003-06-11 Scott Gilbertson <scottg@mantatest.com>
6993
6994 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6995 (fillOval): implemented
6996 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6997 (fillArc): implemented.
6998 * gnu/gcj/xlib/GC.java (drawArc): added native method.
6999 (fillArc): added native method.
7000 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
7001 (fillArc): added native method.
7002
1d5d594d
MK
70032003-06-11 Michael Koch <konqueror@gmx.de>
7004
7005 * java/awt/im/InputSubset.java:
7006 New version from classpath.
7007
d6c2458f
MK
70082003-06-11 Michael Koch <konqueror@gmx.de>
7009
7010 * javax/swing/AbstractAction.java,
7011 javax/swing/AbstractButton.java,
7012 javax/swing/AbstractCellEditor.java,
7013 javax/swing/AbstractListModel.java,
7014 javax/swing/BorderFactory.java,
7015 javax/swing/Box.java,
7016 javax/swing/BoxLayout.java,
7017 javax/swing/ButtonGroup.java,
7018 javax/swing/DefaultButtonModel.java,
7019 javax/swing/DefaultListModel.java,
7020 javax/swing/DefaultListSelectionModel.java,
7021 javax/swing/FocusManager.java,
7022 javax/swing/ImageIcon.java,
7023 javax/swing/InputMap.java,
7024 javax/swing/JApplet.java,
7025 javax/swing/JButton.java,
7026 javax/swing/JCheckBox.java,
7027 javax/swing/JCheckBoxMenuItem.java,
7028 javax/swing/JColorChooser.java,
7029 javax/swing/JComboBox.java,
7030 javax/swing/JComponent.java,
7031 javax/swing/JDesktopPane.java,
7032 javax/swing/JDialog.java,
7033 javax/swing/JEditorPane.java,
7034 javax/swing/JFileChooser.java,
7035 javax/swing/JFormattedTextField.java,
7036 javax/swing/JFrame.java,
7037 javax/swing/JLabel.java,
7038 javax/swing/JLayeredPane.java,
7039 javax/swing/JList.java,
7040 javax/swing/JMenuBar.java,
7041 javax/swing/JMenuItem.java,
7042 javax/swing/JOptionPane.java,
7043 javax/swing/JPanel.java,
7044 javax/swing/JPasswordField.java,
7045 javax/swing/JPopupMenu.java,
7046 javax/swing/JProgressBar.java,
7047 javax/swing/JRadioButton.java,
7048 javax/swing/JRadioButtonMenuItem.java,
7049 javax/swing/JRootPane.java,
7050 javax/swing/JScrollBar.java,
7051 javax/swing/JScrollPane.java,
7052 javax/swing/JSeparator.java,
7053 javax/swing/JSlider.java,
7054 javax/swing/JTabbedPane.java,
7055 javax/swing/JTable.java,
7056 javax/swing/JTextField.java,
7057 javax/swing/JToggleButton.java,
7058 javax/swing/JToolBar.java,
7059 javax/swing/JToolTip.java,
7060 javax/swing/JTree.java,
7061 javax/swing/JViewport.java,
7062 javax/swing/JWindow.java,
7063 javax/swing/KeyStroke.java,
7064 javax/swing/ListSelectionModel.java,
7065 javax/swing/LookAndFeel.java,
7066 javax/swing/RepaintManager.java,
7067 javax/swing/ScrollPaneLayout.java,
7068 javax/swing/SizeRequirements.java,
7069 javax/swing/SwingConstants.java,
7070 javax/swing/Timer.java,
7071 javax/swing/UIDefaults.java,
7072 javax/swing/UIManager.java,
7073 javax/swing/border/AbstractBorder.java,
7074 javax/swing/border/CompoundBorder.java,
7075 javax/swing/colorchooser/AbstractColorChooserPanel.java,
7076 javax/swing/colorchooser/ColorChooserComponentFactory.java,
7077 javax/swing/colorchooser/ColorSelectionModel.java,
7078 javax/swing/colorchooser/DefaultColorSelectionModel.java,
7079 javax/swing/event/AncestorEvent.java,
7080 javax/swing/event/HyperlinkEvent.java,
7081 javax/swing/event/InternalFrameAdapter.java,
7082 javax/swing/event/InternalFrameEvent.java,
7083 javax/swing/event/ListDataEvent.java,
7084 javax/swing/event/MouseInputAdapter.java,
7085 javax/swing/event/SwingPropertyChangeSupport.java,
7086 javax/swing/event/TableModelEvent.java,
7087 javax/swing/event/TreeWillExpandListener.java,
7088 javax/swing/event/UndoableEditEvent.java,
7089 javax/swing/filechooser/FileFilter.java,
7090 javax/swing/filechooser/FileSystemView.java,
7091 javax/swing/filechooser/FileView.java,
7092 javax/swing/plaf/BorderUIResource.java,
7093 javax/swing/plaf/basic/BasicDefaults.java,
7094 javax/swing/table/AbstractTableModel.java,
7095 javax/swing/table/DefaultTableCellRenderer.java,
7096 javax/swing/table/DefaultTableColumnModel.java,
7097 javax/swing/table/DefaultTableModel.java,
7098 javax/swing/table/TableColumn.java,
7099 javax/swing/text/JTextComponent.java,
7100 javax/swing/tree/AbstractLayoutCache.java,
7101 javax/swing/tree/DefaultMutableTreeNode.java,
7102 javax/swing/tree/DefaultTreeCellEditor.java,
7103 javax/swing/tree/DefaultTreeCellRenderer.java,
7104 javax/swing/tree/DefaultTreeModel.java,
7105 javax/swing/tree/DefaultTreeSelectionModel.java,
7106 javax/swing/tree/FixedHeightLayoutCache.java,
7107 javax/swing/tree/TreeCellEditor.java,
7108 javax/swing/tree/TreeModel.java,
7109 javax/swing/tree/TreeNode.java,
7110 javax/swing/tree/TreePath.java,
7111 javax/swing/tree/TreeSelectionModel.java,
7112 javax/swing/tree/VariableHeightLayoutCache.java,
7113 javax/swing/undo/AbstractUndoableEdit.java,
7114 javax/swing/undo/CompoundEdit.java,
7115 javax/swing/undo/StateEdit.java,
7116 javax/swing/undo/UndoManager.java,
7117 javax/swing/undo/UndoableEditSupport.java:
7118 New versions from classpath.
7119 * javax/swing/table/JTableHeader.java:
7120 New file from classpath.
7121 * Makefile.am
7122 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
7123 * Makefile.in: Regenerated.
7124
6bd88329
MK
71252003-06-11 Michael Koch <konqueror@gmx.de>
7126
7127 * java/nio/MappedByteBuffer.java,
7128 java/nio/channels/Channels.java,
7129 java/nio/channels/ServerSocketChannel.java,
7130 java/nio/channels/spi/AbstractSelector.java:
7131 Removed unneeded imports.
7132
39b3cece
MK
71332003-06-11 Michael Koch <konqueror@gmx.de>
7134
7135 * java/net/DatagramSocket.java:
7136 Partly merged with classpath.
7137
37f3981f
MK
71382003-06-11 Michael Koch <konqueror@gmx.de>
7139
7140 * java/awt/Frame.java,
7141 java/awt/Graphics.java,
7142 java/awt/Menu.java,
7143 java/awt/Robot.java,
7144 java/awt/image/ColorModel.java:
7145 New versions from classpath.
7146
fbd98522
MK
71472003-06-10 Michael Koch <konqueror@gmx.de>
7148
7149 * java/io/PrintStream.java:
7150 Merged version from classpath.
7151 (close): Removed sychronized keyword. This class is not garantied to
7152 be thread-safe.
7153 (write): Likewise.
7154
4982b638
TT
71552003-06-09 Tom Tromey <tromey@redhat.com>
7156
7157 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
7158 field.
7159 (getDescent): Likewise, for "descent".
7160
0940ed88
SG
71612003-06-09 Scott Gilbertson <scottg@mantatest.com>
7162
7163 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
7164 (getMaxDescent): adjusted return value.
7165 (getAscent): modified to use metrics for 'O'.
7166 (getDescent): modified to use metrics for 'y'.
7167
a8a8de48
AG
71682003-06-08 Anthony Green <green@redhat.com>
7169
7170 * java/net/URLStreamHandler.java (sameFile): Fix port value
7171 comparison.
7172 * java/net/URL.java (handler): Make package private.
7173 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
7174
0a56537c
TT
71752003-06-07 Tom Tromey <tromey@redhat.com>
7176
7177 For PR libgcj/11085:
7178 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
7179 Limit number of characters in numeric field when required.
7180 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
7181 Respect maximumIntegerDigits.
7182
742ed2f3
MK
71832003-06-08 Michael Koch <konqueror@gmx.de>
7184
7185 * java/net/Socket.java
7186 (Socket): Dont initialize inputShutdown and outputShutdown twice,
7187 call bind() and connect() to actually do the bind and connect tasks.
7188 (bind): Connect to canonical address if bindpoint is null, create
7189 socket and bind it to bindpoint.
7190 (connect): Check for exceptions.
7191
f61e2125
MK
71922003-06-08 Michael Koch <konqueror@gmx.de>
7193
7194 * java/net/DatagramSocket.java
7195 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
7196 into the Multicast constructors.
7197 * java/net/DatagramSocketImpl.java
7198 (getOption): Removed.
7199 (setOption): Removed.
7200 * java/net/MulticastSocket.java
7201 (MulticastSocket): Call setReuseAddress (true).
7202 * java/net/SocketImpl.java
7203 (getOption): Removed.
7204 (setOption): Removed.
7205
31de261d
JS
72062003-06-07 Jeff Sturm <jsturm@one-point.com>
7207
7208 PR libgcj/10886:
7209 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
7210 Test for empty vector.
7211
39072dc8
MW
72122003-06-06 Mark Wielaard <mark@klomp.org>
7213
7214 * java/security/Security.java (secprops): Initialize.
7215 (loadProviders): Return boolean.
7216 (static): Check result of loadProvider calls. If necessary
7217 display WARNING and fallback to Gnu provider.
7218
60e9f0d7
MW
72192002-06-06 James Clark <jjc@jclark.com>
7220
7221 Fix for PR libgcj/8738:
7222 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
7223 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
7224 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
7225 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
7226 (write): Always decrease avail when count is increased.
7227 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
7228 and whether output buffer is full before increasing size.
7229
72302002-06-06 Mark Wielaard <mark@klomp dot org>
7231
7232 * java/io/PrintStream.java (writeChars(char[],int, int)):
7233 Check converter.havePendingBytes().
7234 (writeChars(String,int,int)): Likewise.
7235 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
7236 Check converter.havePendingBytes() and flush buffer when stalled.
7237
248e983e
MK
72382003-06-07 Michael Koch <konqueror@gmx.de>
7239
7240 * include/posix.h
7241 (O_DSYNC): Define O_DSYNC on platforms not
7242 supporting O_FSYNC (newlib).
7243
6d8176f0
MW
72442003-06-06 Mark Wielaard <mark@klomp.org>
7245
7246 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7247 AWTError.
7248
b82a670a
MK
72492003-06-06 Michael Koch <konqueror@gmx.de>
7250
7251 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7252 More compile fixes from my stupid work yesterday.
7253
86fb951d
MK
72542003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
7255
7256 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7257 if _IEEE_LIBM is undefined.
7258
49c72d22
LR
72592002-06-05 Loren J. Rittle <ljrittle@acm.org>
7260
7261 * libjava/include/posix.h (O_SYNC): Define if not available
7262 and a reasonable, perhaps more conservative, replacement exists.
7263 (O_DSYNC): Likewise.
7264 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7265
7786a3e4
MK
72662003-06-05 Michael Koch <konqueror@gmx.de>
7267
7268 * javax/swing/plaf/BorderUIResource.java,
7269 javax/swing/plaf/basic/BasicDefaults.java,
7270 javax/swing/plaf/basic/BasicOptionPaneUI.java:
7271 More compile fixes for latest Border commit. I should not commit
7272 something in this heat here ...
7273
486f6e5f
MK
72742003-06-05 Michael Koch <konqueror@gmx.de>
7275
7276 * javax/swing/border/BevelBorder.java
7277 (BevelBorder): Removed.
7278 * javax/swing/border/EmptyBorder.java:
7279 Reformatted.
7280 (EmptyBorder): Removed.
7281 (getBorderInsets): Dont use l, r, t and b.
7282 * javax/swing/border/EtchedBorder.java
7283 (EtchedBorder): Removed.
7284 * javax/swing/border/LineBorder.java
7285 (LineBorder): Removed.
7286 * javax/swing/border/MatteBorder.java
7287 (MatteBorder): Removed.
7288 * javax/swing/border/TitledBorder.java
7289 (defaultBorder): Use other default for now.
7290 (defaultFont): Likewise.
7291 (defaultColor): Likewise.
7292
48243c88
MK
72932003-06-05 Michael Koch <konqueror@gmx.de>
7294
7295 * javax/swing/border/Border.java:
7296 New version from classpath.
7297
93152c2f
MK
72982003-06-05 Michael Koch <konqueror@gmx.de>
7299
7300 * javax/swing/border/AbstractBorder.java,
7301 javax/swing/border/BevelBorder.java,
7302 javax/swing/border/CompoundBorder.java,
7303 javax/swing/border/EmptyBorder.java,
7304 javax/swing/border/EtchedBorder.java,
7305 javax/swing/border/LineBorder.java,
7306 javax/swing/border/MatteBorder.java,
7307 javax/swing/border/TitledBorder.java:
7308 New versions from Classpath.
7309
fe7f8a4e
MK
73102003-06-05 Michael Koch <konqueror@gmx.de>
7311
7312 * java/awt/Button.java,
7313 java/awt/Checkbox.java,
7314 java/awt/CheckboxMenuItem.java,
7315 java/awt/Choice.java,
7316 java/awt/Container.java,
7317 java/awt/Dialog.java,
7318 java/awt/EventQueue.java,
7319 java/awt/FileDialog.java,
7320 java/awt/Frame.java,
7321 java/awt/Label.java,
7322 java/awt/List.java,
7323 java/awt/Menu.java,
7324 java/awt/MenuItem.java,
7325 java/awt/Panel.java,
7326 java/awt/PopupMenu.java,
7327 java/awt/Rectangle.java,
7328 java/awt/ScrollPane.java,
7329 java/awt/Scrollbar.java,
7330 java/awt/TextArea.java,
7331 java/awt/TextField.java,
7332 java/awt/Window.java,
7333 java/awt/datatransfer/DataFlavor.java,
7334 java/awt/dnd/DragSource.java,
7335 java/awt/dnd/DragSourceContext.java,
7336 java/awt/event/HierarchyEvent.java,
7337 java/awt/event/MouseWheelEvent.java,
7338 java/awt/im/InputContext.java,
7339 java/awt/image/BufferedImage.java,
7340 java/awt/image/ComponentColorModel.java,
7341 java/awt/image/Raster.java,
7342 java/awt/image/WritableRaster.java,
7343 java/awt/peer/ComponentPeer.java,
7344 java/awt/print/PageFormat.java,
7345 java/awt/print/PrinterJob.java:
7346 New versions from Classpath.
7347
9faf4458
SG
73482003-06-05 Scott Gilbertson <scottg@mantatest.com>
7349
7350 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7351 numberFormat.setParseIntegerOnly(true).
7352
ad23ad2c
BD
73532003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
7354
7355 * include/posix-threads.h: Include <machine/pal.h> on OSF.
7356
9f470313
AH
73572003-06-03 Andrew Haley <aph@redhat.com>
7358
7359 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7360 stack volatile to prevent optimization from removing it.
7361
98ad5807
MK
73622003-05-27 Michael Koch <konqueror@gmx.de>
7363
7364 * java/util/zip/Deflater.java
7365 (FILTERED): Merged documentation from classpath.
7366 * java/util/zip/DeflaterOutputStream.java
7367 (DeflaterOutputStream): Merged documentation and argument validity
7368 check from classpath.
7369 (deflate): Merged documentation from classpath.
7370 (finish): Likewise.
7371 * java/util/zip/Inflater.java
7372 (Inflater): Merged class documentation from classpath.
7373 (zstream): Reordered.
7374 (is_finished): Reordered.
7375 (dict_needed): Reordered.
7376 (Inflater): Reordered, merged documentation from classpath.
7377 (end): Likewise.
7378 (finalize): Merged documentation from classpath.
7379 (finished): Likewise.
7380 (getAdler): Likewise.
7381 (getRemaining): Likewise.
7382 (getTotalIn): Likewise.
7383 (getTotalOut): Likewise.
7384 (inflate): Likewise.
7385 (needsDictionary): Likewise.
7386 (needsInput): Likewise.
7387 (reset): Likewise.
7388 (setDictionary): Likewise.
7389 (setInput): Likewise.
7390
5191f392
MK
73912003-05-27 Michael Koch <konqueror@gmx.de>
7392
7393 * java/net/URLConnection.java
7394 (getHeaderFieldInt): Merged with classpath.
7395
c414a2c3
MK
73962003-05-27 Michael Koch <konqueror@gmx.de>
7397
7398 * java/io/PrintStream.java
7399 (PrintStream): Reformatted.
7400 (PrintStream): New method, merged from classpath.
7401 (write): Reformatted.
7402
91adbcf7
MK
74032003-05-27 Michael Koch <konqueror@gmx.de>
7404
7405 * java/lang/System.java:
7406 Explicitely import needed classes.
7407
b91c701d
MK
74082003-05-26 Michael Koch <konqueror@gmx.de>
7409
7410 * java/net/NetPermission.java,
7411 java/net/NetworkInterface.java,
7412 java/net/PasswordAuthentication.java,
7413 java/net/SocketPermission.java:
7414 New versions from classpath.
7415
c7684ffe
MK
74162003-05-25 Michael Koch <konqueror@gmx.de>
7417
7418 * java/io/PushbackInputStream.java,
7419 java/net/Authenticator.java,
7420 java/net/ContentHandler.java,
7421 java/net/ContentHandlerFactory.java,
7422 java/net/DatagramSocket.java,
7423 java/net/DatagramSocketImpl.java,
7424 java/net/DatagramSocketImplFactory.java,
7425 java/net/FileNameMap.java,
7426 java/net/SocketImplFactory.java,
7427 java/net/SocketOptions.java,
7428 java/net/URLStreamHandlerFactory.java:
7429 Merged new versions from classpath.
7430
eceea301
MK
74312003-05-25 Michael Koch <konqueror@gmx.de>
7432
7433 * java/awt/Checkbox.java,
7434 java/awt/Dialog.java,
7435 java/awt/Font.java,
7436 java/awt/Frame.java,
7437 java/awt/ScrollPaneAdjustable.java,
7438 java/awt/Scrollbar.java,
7439 java/awt/Window.java:
7440 New versions from classpath.
7441
a8e097d6
JS
74422003-05-22 Jeff Sturm <jsturm@one-point.com>
7443
7444 PR libgcj/10838:
7445 * java/io/ObjectInputStream (enableResolveObject):
7446 Fixed spelling of permission name.
7447
669e91ab
MK
74482003-05-20 Michael Koch <konqueror@gmx.de>
7449
7450 * java/io/DataInputStream.java
7451 (convertFromUTF): Merged comment from classpath.
7452 * java/io/PrintStream.java
7453 (error_occured): Renamed from error, merged comment from classpath.
7454 (PrintStream): No need to initialized error.
7455 (checkError): Replace error with error_occurred.
7456 (setError): Likewise.
7457
c93aa804
MK
74582003-05-20 Michael Koch <konqueror@gmx.de>
7459
7460 * java/io/DataInputStream.java:
7461 Reformatted, Replaced < and & with html entitites in documentation.
7462 * java/io/File.java:
7463 Reformatted.
7464 * java/io/PrintWriter.java:
7465 Moved class documentation.
7466
3a5eb283
MK
74672003-05-20 Michael Koch <konqueror@gmx.de>
7468
7469 * gnu/java/nio/ByteBufferImpl.java,
7470 gnu/java/nio/CharBufferImpl.java,
7471 gnu/java/nio/CharViewBufferImpl.java,
7472 gnu/java/nio/DirectByteBufferImpl.java,
7473 gnu/java/nio/DoubleBufferImpl.java,
7474 gnu/java/nio/DoubleViewBufferImpl.java,
7475 gnu/java/nio/FloatBufferImpl.java,
7476 gnu/java/nio/FloatViewBufferImpl.java,
7477 gnu/java/nio/IntBufferImpl.java,
7478 gnu/java/nio/IntViewBufferImpl.java,
7479 gnu/java/nio/LongBufferImpl.java,
7480 gnu/java/nio/LongViewBufferImpl.java,
7481 gnu/java/nio/natDirectByteBufferImpl.cc,
7482 gnu/java/nio/ShortBufferImpl.java,
7483 gnu/java/nio/ShortViewBufferImpl.java:
7484 Moved files to java/nio.
7485 * gnu/java/nio/SocketChannelImpl.java
7486
7487 * java/nio/ByteBuffer.java,
7488 java/nio/CharBuffer.java,
7489 java/nio/DoubleBuffer.java,
7490 java/nio/FloatBuffer.java,
7491 java/nio/IntBuffer.java,
7492 java/nio/LongBuffer.java,
7493 java/nio/ShortBuffer.java:
7494 Dont import anything.
7495 * java/nio/ByteBufferImpl.java,
7496 java/nio/CharBufferImpl.java,
7497 java/nio/CharViewBufferImpl.java,
7498 java/nio/DirectByteBufferImpl.java,
7499 java/nio/DoubleBufferImpl.java,
7500 java/nio/DoubleViewBufferImpl.java,
7501 java/nio/FloatBufferImpl.java,
7502 java/nio/FloatViewBufferImpl.java,
7503 java/nio/IntBufferImpl.java,
7504 java/nio/IntViewBufferImpl.java,
7505 java/nio/LongBufferImpl.java,
7506 java/nio/LongViewBufferImpl.java,
7507 java/nio/natDirectByteBufferImpl.cc,
7508 java/nio/ShortBufferImpl.java,
7509 java/nio/ShortViewBufferImpl.java:
7510 Moved from gnu/java/nio.
7511 * Makefile.am
7512 (ordinary_java_source_files): Moved files from gnu/java/nio to
7513 java/nio.
7514 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7515 to java/nio.
7516 * Makefile.in: Regenerated.
7517
336931c1
MK
75182003-05-19 Michael Koch <konqueror@gmx.de>
7519
7520 * java/util/Calendar.java
7521 (get): Not final anymore since JDK 1.4
7522 (set): Likewise.
7523
66852893
MK
75242003-05-19 Michael Koch <konqueror@gmx.de>
7525
7526 * java/text/CollationKey.java:
7527 Merged copyright and dat from classpath.
7528 * java/text/RuleBasedCollator.java:
7529 Merged class documentation from classpath.
7530
27d645f7
MK
75312003-05-19 Michael Koch <konqueror@gmx.de>
7532
7533 * java/nio/CharBuffer.java
7534 (toString): Compile fix.
7535
10832fce
MK
75362003-05-19 Michael Koch <konqueror@gmx.de>
7537
7538 * gnu/java/nio/ByteBufferImpl.java
7539 (putLong): Fixed conversion to bytes.
7540 (putDouble): Fixed conversion to bytes.
7541 * gnu/java/nio/DirectByteBufferImpl.java
7542 (putLong): Fixed conversion to bytes.
7543 (putDouble): Fixed conversion to bytes.
7544 * gnu/java/nio/FileLockImpl.java
7545 (isValid): Reformatted.
7546 * java/nio/Buffer.java
7547 (Buffer): Fixed off-by-one bug in handling mark.
7548 * java/nio/ByteBuffer.java:
7549 Added newline.
7550 * java/nio/CharBuffer.java
7551 (toString): Don't use relative get to get string data.
7552
18abc5e1
MK
75532003-05-16 Michael Koch <konqueror@gmx.de>
7554
7555 * java/io/natFileDescriptorPosix.cc
7556 (open): Commented out the O_SYNC and O_DSYNC usage until its better
7557 tested.
7558
cc1b3d6b
MK
75592003-05-14 Michael Koch <konqueror@gmx.de>
7560
7561 * gnu/java/nio/FileLockImpl.java
7562 (released): New member variable.
7563 (FileLockImpl): Initialize released.
7564 (releaseImpl): New native method.
7565 (release): Implemented.
7566 * gnu/java/nio/SelectorImpl.java: Reformatted.
7567 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7568 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7569 (accept): Throws IOException.
7570 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7571 (implConfigureBlocking): Throws IOException.
7572 (connect): Likewise.
7573 (read): Likewise.
7574 (write): Likewise.
7575 * gnu/java/nio/natFileLockImpl.cc: New file.
7576 * java/nio/channels/FileLock.java: Reformatted.
7577 * Makefile.am:
7578 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7579 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7580 * Makefile.in: Regenerated.
7581
d24273ab
MK
75822003-05-13 Michael Koch <konqueror@gmx.de>
7583
7584 * gnu/java/nio/CharViewBufferImpl.java
7585 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7586 (get): Shift bits to the right direction.
7587 (put): Likewise.
7588 * gnu/java/nio/DoubleViewBufferImpl.java
7589 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7590 (get): Shift bits to the right direction.
7591 (put): Likewise.
7592 * gnu/java/nio/FloatViewBufferImpl.java
7593 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7594 (get): Shift bits to the right direction.
7595 (put): Likewise.
7596 * gnu/java/nio/IntViewBufferImpl.java
7597 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7598 (get): Shift bits to the right direction.
7599 (put): Likewise.
7600 * gnu/java/nio/LongViewBufferImpl.java
7601 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7602 (get): Shift bits to the right direction.
7603 (put): Likewise.
7604 * gnu/java/nio/ShortViewBufferImpl.java
7605 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7606 (get): Shift bits to the right direction.
7607 (put): Likewise.
7608
c484a5fb
MK
76092003-05-13 Michael Koch <konqueror@gmx.de>
7610
7611 * gnu/java/nio/natDirectByteBufferImpl.cc
7612 (allocateImpl): jlong -> RawData*.
7613 (freeImpl): Likewise.
7614
c6f824e2
MK
76152003-05-13 Michael Koch <konqueror@gmx.de>
7616
7617 * java/nio/channels/FileChannel.java
7618 (MapMode.m): Made it package-private to match JDK 1.4.
7619 * java/nio/charset/Charset.java
7620 (decode): Made it final to match JDK 1.4.
7621
e48d8b88
MK
76222003-05-13 Michael Koch <konqueror@gmx.de>
7623
7624 * java/io/FileDescriptor.java
7625 (SYNC): New constant.
7626 (DSYNC): Likewise.
7627 (getLength): Renamed from lenght() to match classpath's
7628 FileDescriptor.java.
7629 * java/io/RandomAccessFile.java
7630 (RandomAccessFile): Removed unneeded mode check, implemented mode
7631 "rws" and "rwd", merged documentation from classpath.
7632 (setLength): Reformatted.
7633 (length): Use new getLength() of FileDescriptor.
7634 * java/io/natFileDescriptorEcos.cc
7635 (getLength): Renamed from length().
7636 * java/io/natFileDescriptorPosix.cc
7637 (open): Implemented support for SYNC and DSYNC.
7638 (seek): Use getLength() instead of length().
7639 (getLength): Renamed from length().
7640 * java/io/natFileDescriptorWin32.cc
7641 (getLength): Renamed from length().
7642 (seek): Use getLength() instead of length().
7643 (available): Likewise.
7644 * gnu/java/nio/natFileChannelImpl.cc
7645 (size): Use getLength() instead of length().
7646
3b6b673d
MK
76472003-05-13 Michael Koch <konqueror@gmx.de>
7648
7649 * gnu/java/nio/ByteBufferImpl.java
7650 (ByteBufferImpl): All constructors revised.
7651 (slice): Reimplemented.
7652 (duplicate): Reimplemented.
7653 (asReadOnlyBuffer): Reimplemented.
7654 * java/nio/ByteBuffer.java:
7655 Reformatted.
7656 (array_offset): Renamed from "offset" to match all other buffer
7657 classes.
7658 (ByteBuffer): All constructors revised.
7659 (allocateDirect): Implemented.
7660 (allocate): New implementation, documentation reworked.
7661 (wrap): Likewise.
7662 (get): Documentation reworked.
7663 (put): New implementation, documentation reworked.
7664 (hasArray): Documentation reworked.
7665 (arrayOffset): Likewise.
7666 (hashCode): Likewise.
7667 (equals): Likewise.
7668 (compareTo): Likewise.
7669 (order): Likewise.
7670 (compact): Likewise.
7671 (isDirect): Likewise.
7672 (slice): Likewise.
7673 (duplicate): Likewise.
7674 (asReadOnlyBuffer): Likewise.
7675 * Makefile.am
7676 (ordinary_java_source_files):
7677 Added gnu/java/nio/DirectByteBufferImpl.java.
7678 (nat_source_files):
7679 Added gnu/java/nio/natDirectByteBufferImpl.cc.
7680 * Makefile.in: Regenerated.
7681
36d4669b
MK
76822003-05-12 Michael Koch <konqueror@gmx.de>
7683
7684 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7685 (nio_get_*): Removed.
7686 (nio_put_*): Removed.
7687 (as*Buffer): Implemented.
7688 (compact): Implemented.
7689 (get): Documentation added.
7690 (put): Documentation added.
7691 (get*): Newly implemented.
7692 (put*): Newly implemented.
7693 * gnu/java/nio/CharBufferImpl.java: Reformatted.
7694 (CharBufferImpl): Revised.
7695 (slice): New implementation.
7696 (duplicate): New implementation.
7697 (compact): New implementation.
7698 (asReadOnlyBuffer): New implementation.
7699 (get): Documentation revised.
7700 (order): Return native byte order.
7701 * gnu/java/nio/DirectByteBufferImpl.java
7702 (allocateDirect): objects can be null not 0.
7703 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7704 (DoubleBufferImpl): Revised.
7705 (slice): New implementation.
7706 (duplicate): New implementation.
7707 (compact): New implementation.
7708 (asReadOnlyBuffer): New implementation.
7709 (get): Documentation revised.
7710 (order): Return native byte order.
7711 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7712 (FloatBufferImpl): Revised.
7713 (slice): New implementation.
7714 (duplicate): New implementation.
7715 (compact): New implementation.
7716 (asReadOnlyBuffer): New implementation.
7717 (get): Documentation revised.
7718 (order): Return native byte order.
7719 * gnu/java/nio/IntBufferImpl.java: Reformatted.
7720 (IntBufferImpl): Revised.
7721 (slice): New implementation.
7722 (duplicate): New implementation.
7723 (compact): New implementation.
7724 (asReadOnlyBuffer): New implementation.
7725 (get): Documentation revised.
7726 (order): Return native byte order.
7727 * gnu/java/nio/LongBufferImpl.java: Reformatted.
7728 (LongBufferImpl): 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/ShortBufferImpl.java: Reformatted.
7736 (ShortBufferImpl): Revised.
7737 (slice): New implementation.
7738 (duplicate): New implementation.
7739 (compact): New implementation.
7740 (asReadOnlyBuffer): New implementation.
7741 (get): Documentation revised.
7742 (order): Return native byte order.
7743 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7744 (CharBuffer): Revised.
7745 (order): Removed.
7746 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7747 (DoubleBuffer): Revised.
7748 (allocateDirect): Removed.
7749 (order): Removed.
7750 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7751 (FloatBuffer): Revised.
7752 (allocateDirect): Removed.
7753 (order): Removed.
7754 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7755 (IntBuffer): Revised.
7756 (allocateDirect): Removed.
7757 (order): Removed.
7758 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7759 (LongBuffer): Revised.
7760 (allocateDirect): Removed.
7761 (order): Removed.
7762 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7763 (ShortBuffer): Revised.
7764 (allocateDirect): Removed.
7765 (order): Removed.
7766 * gnu/java/nio/natByteBufferImpl.cc: Removed.
7767 * gnu/java/nio/natCharBufferImpl.cc: Removed.
7768 * Makefile.am
7769 (ordinary_java_source_files): Added the following files:
7770 gnu/java/nio/CharViewBufferImpl.java,
7771 gnu/java/nio/DoubleViewBufferImpl.java,
7772 gnu/java/nio/FloatViewBufferImpl.java,
7773 gnu/java/nio/IntViewBufferImpl.java,
7774 gnu/java/nio/LongViewBufferImpl.java,
7775 gnu/java/nio/ShortViewBufferImpl.java
7776 (nat_source_files): Removed the following files:
7777 gnu/java/nio/natByteBufferImpl.cc,
7778 gnu/java/nio/natCharBufferImpl.cc
7779 * Makefile.in: Regenerated.
7780
5560b019
MK
77812003-05-12 Michael Koch <konqueror@gmx.de>
7782
7783 * gnu/java/nio/CharViewBufferImpl.java,
7784 gnu/java/nio/DirectByteBufferImpl.java,
7785 gnu/java/nio/DoubleViewBufferImpl.java,
7786 gnu/java/nio/FloatViewBufferImpl.java,
7787 gnu/java/nio/IntViewBufferImpl.java,
7788 gnu/java/nio/LongViewBufferImpl.java,
7789 gnu/java/nio/ShortViewBufferImpl.java,
7790 gnu/java/nio/natDirectByteBufferImpl.cc:
7791 New files, not yet to be compiled.
7792
9ca5e694
MK
77932003-05-10 Michael Koch <konqueror@gmx.de>
7794
7795 * javax/swing/plaf/ButtonUI.java,
7796 javax/swing/plaf/ColorUIResource.java,
7797 javax/swing/plaf/ComponentUI.java,
7798 javax/swing/plaf/DimensionUIResource.java,
7799 javax/swing/plaf/FontUIResource.java,
7800 javax/swing/plaf/IconUIResource.java,
7801 javax/swing/plaf/InsetsUIResource.java,
7802 javax/swing/plaf/LabelUI.java,
7803 javax/swing/plaf/ListUI.java,
7804 javax/swing/plaf/OptionPaneUI.java,
7805 javax/swing/plaf/PanelUI.java,
7806 javax/swing/plaf/TabbedPaneUI.java,
7807 javax/swing/plaf/TextUI.java,
7808 javax/swing/plaf/TreeUI.java,
7809 javax/swing/plaf/ViewportUI.java,
7810 javax/swing/plaf/basic/BasicBorders.java,
7811 javax/swing/plaf/basic/BasicButtonUI.java,
7812 javax/swing/plaf/basic/BasicCheckBoxUI.java,
7813 javax/swing/plaf/basic/BasicDefaults.java,
7814 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7815 javax/swing/plaf/basic/BasicIconFactory.java,
7816 javax/swing/plaf/basic/BasicLabelUI.java,
7817 javax/swing/plaf/basic/BasicListUI.java,
7818 javax/swing/plaf/basic/BasicOptionPaneUI.java,
7819 javax/swing/plaf/basic/BasicPanelUI.java,
7820 javax/swing/plaf/basic/BasicRadioButtonUI.java,
7821 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7822 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7823 javax/swing/plaf/basic/BasicTextUI.java,
7824 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7825 javax/swing/plaf/basic/BasicTreeUI.java,
7826 javax/swing/plaf/basic/BasicViewportUI.java,
7827 javax/swing/plaf/metal/MetalLookAndFeel.java:
7828 New versions from classpath. This adds copyrights to all files and
7829 some serialVersionUIDs.
7830
ddf87cfa
MK
78312003-05-10 Michael Koch <konqueror@gmx.de>
7832
7833 * java/nio/CharBuffer.java
7834 (offset): Make it package-private.
7835 (backing_buffer): Likewise.
7836 * java/nio/DoubleBuffer.java
7837 (offset): Make it package-private.
7838 (backing_buffer): Likewise.
7839 (put): Reformatted.
7840 * java/nio/FloatBuffer.java
7841 (offset): Make it package-private.
7842 (backing_buffer): Likewise.
7843 * java/nio/IntBuffer.java
7844 (offset): Make it package-private.
7845 (backing_buffer): Likewise.
7846 * java/nio/LongBuffer.java
7847 (offset): Make it package-private.
7848 (backing_buffer): Likewise.
7849 * java/nio/ShortBuffer.java
7850 (offset): Make it package-private.
7851 (backing_buffer): Likewise.
7852
c363e02d
MK
78532003-05-10 Michael Koch <konqueror@gmx.de>
7854
7855 * java/nio/CharBuffer.java
7856 (put): Fixed precondtion check.
7857 (toString): Make it work without backing array.
7858 (put): Skip one level of method calling.
7859
2d133a9f
MK
78602003-05-10 Michael Koch <konqueror@gmx.de>
7861
7862 * java/security/Identity.java,
7863 java/security/IdentityScope.java,
7864 java/security/Key.java,
7865 java/security/KeyPair.java,
7866 java/security/PrivateKey.java,
7867 java/security/Provider.java,
7868 java/security/PublicKey.java,
7869 java/security/SecureRandom.java,
7870 java/security/SecureRandomSpi.java,
7871 java/security/SignedObject.java,
7872 java/security/Signer.java,
7873 java/security/cert/Certificate.java,
7874 java/security/cert/PKIXCertPathBuilderResult.java,
7875 java/security/cert/X509Certificate.java:
7876 New versions from classpath.
7877
553ada10
TT
78782003-05-09 Tom Tromey <tromey@redhat.com>
7879
7880 * Makefile.in: Rebuilt.
7881 * Makefile.am (nat_source_files): Removed old files.
7882 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7883 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7884 * gnu/java/nio/natIntBufferImpl.cc: Removed.
7885 * gnu/java/nio/natLongBufferImpl.cc: Removed.
7886 * gnu/java/nio/natShortBufferImpl.cc: Removed.
7887
2c478ce3
MK
78882003-05-09 Michael Koch <konqueror@gmx.de>
7889
7890 * gnu/java/nio/ByteBufferImpl.java
7891 (nio_cast): Removed.
7892 (ByteBufferImpl): Removed.
7893 (nio_get_Byte): Removed.
7894 (nio_put_Byte): Removed.
7895 (asByteBuffer): Removed.
7896 (asCharBuffer): Removed implementation and throw exception.
7897 (asShortBuffer): Likewise.
7898 (asIntBuffer): Likewise.
7899 (asLongBuffer): Likewise.
7900 (asFloatBuffer): Likewise.
7901 (asDoubleBuffer): Likewise.
7902 * gnu/java/nio/CharBufferImpl.java
7903 (CharBufferImpl): Removed.
7904 (nio_get_Byte): Removed.
7905 (nio_put_Byte): Removed.
7906 (asByteBuffer): Removed.
7907 * gnu/java/nio/DoubleBufferImpl.java
7908 (DoubleBufferImpl): Removed.
7909 (nio_get_Byte): Removed.
7910 (nio_put_Byte): Removed.
7911 (asByteBuffer): Removed.
7912 * gnu/java/nio/FloatBufferImpl.java
7913 (FloatBufferImpl): Removed.
7914 (nio_get_Byte): Removed.
7915 (nio_put_Byte): Removed.
7916 (asByteBuffer): Removed.
7917 * gnu/java/nio/IntBufferImpl.java
7918 (IntBufferImpl): Removed.
7919 (nio_get_Byte): Removed.
7920 (nio_put_Byte): Removed.
7921 (asByteBuffer): Removed.
7922 * gnu/java/nio/LongBufferImpl.java
7923 (LongBufferImpl): Removed.
7924 (nio_get_Byte): Removed.
7925 (nio_put_Byte): Removed.
7926 (asByteBuffer): Removed.
7927 * gnu/java/nio/ShortBufferImpl.java
7928 (ShortBufferImpl): Removed.
7929 (nio_get_Byte): Removed.
7930 (nio_put_Byte): Removed.
7931 (asByteBuffer): Removed.
7932 * gnu/java/nio/natByteBufferImpl.cc
7933 (nio_cast): Removed.
7934 (nio_get_Byte): Removed.
7935 (nio_put_Byte): Removed.
7936 * gnu/java/nio/natCharBufferImpl.cc
7937 (nio_get_Byte): Removed.
7938 (nio_put_Byte): Removed.
7939
44db872c
MK
79402003-05-09 Michael Koch <konqueror@gmx.de>
7941
7942 * java/net/JarURLConnection.java
7943 (getJarEntry): Merged documentation from classpath.
7944 (getJarFile): Likewise.
7945 (getMainAttributes): Likewise.
7946 (getAttributes): Likewise.
7947 (getManifest): Likewise.
7948 (getCertificates): Reformatted.
7949 * java/net/URLConnection.java:
7950 Little classpath merge.
7951
d8048dc2
MK
79522003-05-09 Michael Koch <konqueror@gmx.de>
7953
7954 * java/io/DataOutputStream.java
7955 (writeShort): Made it synchronized.
7956 (writeChar): Likewise.
7957 (writeInt): Likewise.
7958 (writeLong): Liekwise.
7959 (writeUTF): Made it synchronized, renamed argument to match classpath.
7960 * java/io/InputStreamReader.java
7961 (converter): Added documentation.
7962 (read): Merged documentation from classpath.
7963 * java/io/OutputStreamWriter.java
7964 (OutputStreamWriter): Merged documentation from classpath.
7965 (close): Reformatted.
7966 (getEncoding): Likewise.
7967 (flush): Likewise.
7968 (write): Merged documentation from classpath, reformatted.
7969
b8e61e1e
TT
79702003-05-08 Tom Tromey <tromey@redhat.com>
7971
7972 * configure.host <powerpc64*-*>: Set with_libffi_default and
7973 libgcj_interpreter to "yes".
7974
146b8675
SG
79752003-05-08 Scott Gilbertson <scottg@mantatest.com>
7976
7977 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7978
b5f3edcf
TT
79792003-05-06 Tom Tromey <tromey@redhat.com>
7980
7981 * verify.cc: Reverted previous patch.
7982
83f564f7
MK
79832003-05-06 Michael Koch <konqueror@gmx.de>
7984
7985 * java/io/DataOutputStream.java
7986 (write): Renamed argument to "value", merged documentation from
7987 classpath.
7988 (writeBoolean): Likewise.
7989 (writeByte): Likewise.
7990 (writeShort): Likewise.
7991 (writeChar): Likewise.
7992 (writeInt): Likewise.
7993 (writeLong): Likewise.
7994 (writeFloat): Likewise.
7995 (writeDouble): Likewise.
7996 (writeBytes): Likewise.
7997 (writeChars): Likewise.
7998 (writeUTF): Likewise.
7999 * java/io/File.java
8000 (performDelete): Added documentation.
8001 (performList): Likewise.
8002 (performMkdir): Likewise.
8003 (performSetReadOnly): Likewise.
8004 (performRenameTo): Likewise.
8005 (performSetLastModified): Likewise.
8006 (delete): Made it sychronized.
8007 (renameTo): Made it sychronized.
8008 (equals): Reformatted.
8009 (isHidden): Likewise.
8010 (listFiles): Likewise.
8011 (setReadOnly): Likewise.
8012 (listRoots): Likewise.
8013 (setLastModified): Likewise.
8014 (checkRead): Likewise.
8015 (checkWrite): Likewise.
8016 * java/io/FileInputStream.java
8017 (skip): Made it sychronized, merged from classpath.
8018 * java/io/FileOutputStream.java
8019 (write): Merged from classpath.
8020 * java/io/InputStreamReader.java:
8021 (InputStreamReader): Merged documentation from classpath.
8022
e5f3cd6b
MK
80232003-05-05 Michael Koch <konqueror@gmx.de>
8024
8025 * java/net/NetworkInterface.java
8026 (networkInterfaces): Removed.
8027 (getByName): Use getRealNetworkInterfaces() instead of
8028 networkInterfaces.
8029 (getByInetAddress): Likewise.
8030 (getNetworkInterfaces): Likewise.
8031 (toString): Fix output of addresses of an interface.
8032
ee632773 80332003-05-05 Michael Koch <konqueror@gmx.de>
f7529e02
MK
8034
8035 * java/io/DataInputStream.java:
ee632773 8036 Merged new documentation from classpath.
f7529e02 8037
51747541
MK
80382003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
8039
8040 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
8041 "version".
8042 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
8043 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
8044 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
8045 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
8046 * gnu/awt/gtk/GtkMainThread.java: Likewise.
8047 * gnu/awt/gtk/GtkToolkit.java: Likewise.
8048 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
8049 * java/security/Key.java: Likewise.
8050 * java/security/PrivateKey.java: Likewise.
8051 * java/security/Provider.java: Likewise.
8052 * java/security/PublicKey.java: Likewise.
8053
13a564b3
MK
80542003-05-02 Michael Koch <konqueror@gmx.de>
8055
8056 * java/net/URI.java
8057 (create): Doesnt throws any exceptions.
8058 * java/net/URLConnection.java
8059 (URLConnection): Commend added.
8060 (getExpiration): The header field is called "expires" not
8061 "expiration".
8062 (getHeaderField): Merged documentation with classpath.
8063 (getHeaderFieldInt): Likewise.
8064 (getHeaderFieldDate): Likewise.
8065 (getHeaderFieldKey): Likewise.
8066 (getPermission): Likewise.
8067 (setDefaultUseCaches): Likewise.
8068 (setRequestProperty): Likewise.
8069 (addRequestProperty): Likewise.
8070 (getRequestProperty): Likewise.
8071 (getRequestProperties): Likewise.
8072 (setDefaultRequestProperty): Likewise.
8073 (getDefaultRequestProperty): Likewise.
8074 (guessContentTypeFromStream): Likewise.
8075 (getFileNameMap): Likewise.
8076 (setFileNameMap): Likewise.
8077 (setDoInput): Merged implementation and documentation with classpath.
8078 (setDoOutput): Likewise.
8079 (setAllowUserInteraction): Likewise.
8080 (setDefaultAllowUserInteraction): Likewise.
8081 (setContentHandlerFactory): Made it synchronized, merged documentation
8082 with classpath.
8083 (guessContentTypeFromName): Renamed argument fname to filename to
8084 match classpath, merged documentation with classpath.
8085
e23c953a
MK
80862003-05-02 Michael Koch <konqueror@gmx.de>
8087
8088 * java/net/JarURLConnection.java
8089 (JarURLConnection): Class documentation merged with classpath.
8090 (getJarFileURL): Moved and documentation merged with classpath.
8091 (getEntryName): Likewise.
8092 (JarURLConnection): Documentation merged with classpath.
8093 (getJarEntry): Likewise.
8094 (getJarFile): Likewise.
8095 * java/net/PlainDatagramSocketImpl.java:
8096 Class documentation moved.
8097 * java/net/URLConnection.java
8098 (fileNameMap): Moved and documentation merged with classpath.
8099 (factory): Likewise.
8100 (defaultAllowUserInteraction): Likewis.
8101 (defaultUseCaches): Likewise.
8102 (allowUserInteraction): Likewise.
8103 (connected): Likewise.
8104 (url): Likewise.
8105 (connect): Documentation merged with classpath.
8106 (getURL): Likewise.
8107 (getContentLength): Likewise.
8108 (getContentType): Likewise.
8109 (getContentEncoding): Likewise.
8110 (getExpiration): Likewise.
8111 (getDate): Likewise.
8112 (getLastModified): Likewise.
8113 (getHeaderField): Likewise.
8114 (getContent): Likewise.
8115 (getPermission): Likewise.
8116 (getInputStream): Likewise.
8117 (getOutputStream): Likewise.
8118 (toString): Likewise.
8119 (getDoInput): Likewise.
8120 (getDoOutput): Likewise.
8121 (setAllowUserInteraction): Likewise.
8122 (getAllowUserInteraction): Likewise.
8123 (setDefaultAllowUserInteraction): Likewise.
8124 (getDefaultAllowUserInteraction): Likewise.
8125 (setUseCaches): Likewise.
8126 (getUseCaches): Likewise.
8127 (setIfModifiedSince): Likewise.
8128 (getIfModifiedSince): Likewise.
8129 (setDefaultRequestProperty): Likewise.
8130 (getDefaultRequestProperty): Likewise.
8131 (setContentHandlerFactory): Likewise.
8132 (setFileNameMap): Likewise.
8133
143f596a
MK
81342003-05-02 Michael Koch <konqueror@gmx.de>
8135
8136 * java/net/InetAddress.java:
8137 Merged class documentation with classpath.
8138 * java/net/JarURLConnection.java:
8139 Explicitely import all used classes.
8140 * java/net/URL.java:
8141 Reformatting.
8142 * java/net/ServerSocket.java,
8143 java/net/Socket.java:
8144 New versions from classpath.
8145
4b6eac52
MK
81462003-05-02 Michael Koch <konqueror@gmx.de>
8147
8148 * gnu/java/nio/FileChannelImpl.java
8149 (read): New implementation.
8150 (implRead): New methods.
8151 (write): New implementation, call other write insteal of read method.
8152 (implWrite): New methods.
8153 (map): Added comment.
8154 (transferFrom): Implemented.
8155 (transferTo): Implemented.
8156 (lock): Added checks to throw exceptions.
8157 (truncate): Added check to throw exception.
8158 * gnu/java/nio/natFileChannelImpl.cc
8159 (implRead): New method.
8160 (implWrite): New method.
8161 * java/nio/ByteBuffer.java
8162 (hashCode): Fixed comment.
8163 (get): Fixed exception documentation.
8164 (put): Fixed exception documentation.
8165 * java/nio/CharBuffer.java:
8166 Added comment for later optimizations.
8167
06b021af
TT
81682003-04-30 Tom Tromey <tromey@redhat.com>
8169
8170 PR libgcj/10582:
8171 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
8172 Removed.
8173 (type::compatible): Use _Jv_IsAssignableFrom.
8174 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
8175 (_Jv_IsAssignableFrom): Work even when source or target class is
8176 not prepared.
8177
d3d40e23
MK
81782003-04-30 Michael Koch <konqueror@gmx.de>
8179
8180 * java/text/BreakIterator.java
8181 (clone): New method.
8182
70ff9d90
MK
81832003-04-30 Michael Koch <konqueror@gmx.de>
8184
8185 * java/text/CollationElementIterator.java,
8186 java/text/CollationKey.java,
8187 java/text/RuleBasedCollator.java:
8188 Merged copyright and documentation from classpath and
8189 rearranged some code. No code changes done.
8190
ad03daf0
MK
81912003-04-30 Michael Koch <konqueror@gmx.de>
8192
8193 * java/util/regex/Matcher.java
8194 (pattern): New member variable.
8195 (appendReplacement): New method.
8196 (appendTail): New method.
8197 (end): New method.
8198 (find): New method.
8199 (group): New method.
8200 (replaceFirst): Added documentation.
8201 (replaceAll): Added documentation.
8202 (groupCount): New method.
8203 (lookingAt): New method.
8204 (matches): New method.
8205 (reset): New method.
8206 (start): New method.
8207 * java/util/regex/Pattern.java
8208 (serialVersionUID): New constant.
8209 (CANON_EQ): New constant.
8210 (CASE_INSENSITIVE): New constant.
8211 (COMMENTS): New constant.
8212 (DOTALL): New constant.
8213 (MULTILINE): New constant.
8214 (UNICODE_CASE): New constant.
8215 (UNIX_LINES): New constant.
8216 (regex): New member variable.
8217 (flags): New member variable.
8218 (Pattern): New method.
8219 (compile): Documentation added.
8220 (flags): New method.
8221 (matches): Documentation added.
8222 (matcher): Documentation added.
8223 (split): Documentation added.
8224 (pattern): New method.
8225
43905ff3
MK
82262003-04-30 Michael Koch <konqueror@gmx.de>
8227
8228 * gnu/java/security/Engine.java,
8229 gnu/java/security/OID.java,
8230 gnu/java/security/der/BitString.java,
8231 gnu/java/security/der/DER.java,
8232 gnu/java/security/der/DERReader.java,
8233 gnu/java/security/der/DERValue.java,
8234 gnu/java/security/der/DERWriter.java,
8235 gnu/java/security/provider/DSAKeyFactory.java,
8236 gnu/java/security/provider/X509CertificateFactory.java,
8237 gnu/java/security/x509/X500DistinguishedName.java,
8238 gnu/java/security/x509/X509CRL.java,
8239 gnu/java/security/x509/X509CRLEntry.java,
8240 gnu/java/security/x509/X509Certificate.java,
8241 java/security/cert/CRLSelector.java,
8242 java/security/cert/CertPathBuilder.java,
8243 java/security/cert/CertPathBuilderResult.java,
8244 java/security/cert/CertPathBuilderSpi.java,
8245 java/security/cert/CertPathParameters.java,
8246 java/security/cert/CertPathValidator.java,
8247 java/security/cert/CertPathValidatorResult.java,
8248 java/security/cert/CertPathValidatorSpi.java,
8249 java/security/cert/CertSelector.java,
8250 java/security/cert/CertStore.java,
8251 java/security/cert/CertStoreParameters.java,
8252 java/security/cert/CertStoreSpi.java,
8253 java/security/cert/CollectionCertStoreParameters.java,
8254 java/security/cert/LDAPCertStoreParameters.java,
8255 java/security/cert/PKIXBuilderParameters.java,
8256 java/security/cert/PKIXCertPathBuilderResult.java,
8257 java/security/cert/PKIXCertPathChecker.java,
8258 java/security/cert/PKIXCertPathValidatorResult.java,
8259 java/security/cert/PKIXParameters.java,
8260 java/security/cert/PolicyNode.java,
8261 java/security/cert/PolicyQualifierInfo.java,
8262 java/security/cert/TrustAnchor.java,
8263 javax/security/auth/x500/X500Principal.java:
8264 New files from classpath.
8265 * gnu/java/io/ASN1ParsingException.java,
8266 gnu/java/io/Base64InputStream.java,
8267 gnu/java/security/der/DEREncodingException.java,
8268 gnu/java/security/provider/DSAParameters.java,
8269 gnu/java/security/provider/DSASignature.java,
8270 gnu/java/security/provider/Gnu.java,
8271 gnu/java/security/provider/GnuDSAPrivateKey.java,
8272 gnu/java/security/provider/GnuDSAPublicKey.java,
8273 java/security/AlgorithmParameterGenerator.java,
8274 java/security/AlgorithmParameters.java,
8275 java/security/KeyFactory.java,
8276 java/security/KeyPairGenerator.java,
8277 java/security/KeyStore.java,
8278 java/security/MessageDigest.java,
8279 java/security/SecureClassLoader.java,
8280 java/security/SecureRandom.java,
8281 java/security/Security.java,
8282 java/security/Signature.java,
8283 java/security/cert/Certificate.java,
8284 java/security/cert/CertificateFactory.java,
8285 java/security/cert/CertificateFactorySpi.java,
8286 java/security/cert/X509CRL.java,
8287 java/security/cert/X509Certificate.java,
8288 java/security/spec/DSAPublicKeySpec.java:
8289 New versions from classpath.
8290 * gnu/java/security/provider/DERReader.java,
8291 gnu/java/security/provider/DERWriter.java,
8292 java/security/Engine.java: Removed.
8293 * Makefile.am
8294 (java_source_files, javax_source_files): Added new files.
8295 * Makefile.in: Regenerated.
8296
ca55ba49
MK
82972003-04-29 Michael Koch <konqueror@gmx.de>
8298
8299 * javax/swing/JTable.java
8300 (AUTO_RESIZE_ALL_COLUMNS): New constant.
8301 (AUTO_RESIZE_LAST_COLUMN): New constant.
8302 (AUTO_RESIZE_NEXT_COLUMN): New constant.
8303 (AUTO_RESIZE_OFF): New constant.
8304 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8305 (JTable): New method.
8306 (columnAdded): New method.
8307 (columnMarginChanged): New method.
8308 (columnMoved): New method.
8309 (columnRemoved): New method.
8310 (columnSelectionChanged): New method.
8311 (editingCanceled): New method.
8312 (editingStopped): New method.
8313 (getColumnModel): New method.
8314 (getPreferredScrollableViewportSize): New method.
8315 (getScrollableBlockIncrement): New method.
8316 (getScrollableTracksViewportHeight): New method.
8317 (getScrollableTracksViewportWidth): New method.
8318 (getScrollableUnitIncrement): New method.
8319 (getSelectedRow): New method.
8320 (getSelectionModel): New method.
8321 (tableChanged): New method.
8322 (setModel): New method.
8323 (setSelectionMode): New method.
8324 (setSelectionModel): New method.
8325 (setShowGrid): New method.
8326 (valueChanged): New method.
8327 * javax/swing/text/DefaultEditorKit.java
8328 (backwardAction): New constant.
8329 (beepAction): New constant.
8330 (beginAction): New constant.
8331 (beginLineAction): New constant.
8332 (beginParagraphAction): New constant.
8333 (beginWordAction): New constant.
8334 (copyAction): New constant.
8335 (cutAction): New constant.
8336 (defaultKeyTypedAction): New constant.
8337 (deleteNextCharAction): New constant.
8338 (deletePrevCharAction): New constant.
8339 (downAction): New constant.
8340 (endAction): New constant.
8341 (endLineAction): New constant.
8342 (endOfLineStringProperty): New constant.
8343 (endParagraphAction): New constant.
8344 (endWordAction): New constant.
8345 (forwardAction): New constant.
8346 (insertBreakAction): New constant.
8347 (insertContentAction): New constant.
8348 (insertTabAction): New constant.
8349 (nextWordAction): New constant.
8350 (pageDownAction): New constant.
8351 (pageUpAction): New constant.
8352 (pasteAction): New constant.
8353 (previousWordAction): New constant.
8354 (readOnlyAction): New constant.
8355 (selectAllAction): New constant.
8356 (selectionBackwardAction): New constant.
8357 (selectionBeginAction): New constant.
8358 (selectionBeginLineAction): New constant.
8359 (selectionBeginParagraphAction): New constant.
8360 (selectionBeginWordAction): New constant.
8361 (selectionDownAction): New constant.
8362 (selectionEndAction): New constant.
8363 (selectionEndLineAction): New constant.
8364 (selectionEndParagraphAction): New constant.
8365 (selectionEndWordAction): New constant.
8366 (selectionForwardAction): New constant.
8367 (selectionNextWordAction): New constant.
8368 (selectionPreviousWordAction): New constant.
8369 (selectionUpAction): New constant.
8370 (selectLineAction): New constant.
8371 (selectParagraphAction): New constant.
8372 (selectWordAction): New constant.
8373 (upAction): New constant.
8374 (writableAction): New constant.
8375
fbba7d68
MK
83762003-04-29 Michael Koch <konqueror@gmx.de>
8377
8378 * java/util/PropertyPermission.java:
8379 New version from classpath
8380 * java/util/ResourceBundle.java:
8381 Partly merged from classpath
8382 (getObject): Reformated.
8383 (tryBundle): Set foundBundle = null if no bundle found.
8384
cac9b0bc
MK
83852003-04-29 Michael Koch <konqueror@gmx.de>
8386
8387 * javax/swing/AbstractListModel.java,
8388 javax/swing/DefaultBoundedRangeModel.java,
8389 javax/swing/DefaultSingleSelectionModel.java:
8390 New Versions from classpath.
8391
7e89296c
MK
83922003-04-29 Michael Koch <konqueror@gmx.de>
8393
8394 * java/awt/Window.java
8395 (show): Call super.show() instead of setVisible() to avoid endless
8396 loop.
8397 (hide): Call super.hide() instead of setVisible() to avoid endless
8398 loop.
8399
8efaad21
MK
84002003-04-29 Michael Koch <konqueror@gmx.de>
8401
8402 * java/util/zip/Deflater.java,
8403 java/util/zip/DeflaterOutputStream.java:
8404 Partly merged with classpath.
8405
62a3446b
TT
84062003-04-27 Tom Tromey <tromey@redhat.com>
8407
8408 * java/lang/natString.cc (_Jv_AllocString): Initialize
8409 cachedHashCode.
8410 (init): Likewise.
8411 (_Jv_NewStringUtf8Const): Likewise.
8412
c4519773
ME
84132003-03-29 Mohan Embar <gnustuff@thisiscool.com>
8414
8415 * include/jvm.h: (_Jv_GetNbArgs) added
8416 (_Jv_GetSafeArg) added
8417 (_Jv_SetArgs) added
8418 * prims.cc: (_Jv_GetNbArgs) implemented
8419 (_Jv_GetSafeArg) implemented
8420 (_Jv_SetArgs) implemented
8421 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8422 setting _Jv_argc and _Jv_argv
8423 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8424 instead of _Jv_argv
8425 * java/lang/natRuntime.cc: (insertSystemProperties) use
8426 _Jv_GetSafeArg() instead of _Jv_argv
8427
5940c2b7
TT
84282003-04-23 Tom Tromey <tromey@redhat.com>
8429
8430 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8431 required by this object. Search superclasses to find required
8432 alignment.
8433 (get_alignment_from_class): Use alignment of type as it appears
8434 in a struct.
8435 (ALIGNOF): New macro.
8436 (struct aligner): New helper structure.
8437
ebf96c13
SG
84382003-04-20 Scott Gilbertson <scottg@mantatest.com>
8439
8440 * java/awt/Container.java (addImpl): Enable paint events if adding
8441 a lightweight to a heavyweight.
8442 (addNotify): Ensure that peer is created before
8443 addNotifyContainerChildren.
8444 (addNotifyContainerChildren): Enable paint events if a heavyweight
8445 container contains a lightweight.
8446
3bd417a7
TT
84472003-04-20 Tom Tromey <tromey@redhat.com>
8448
8449 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8450 java/io/DataInput.java, java/io/DataOutput.java: Imports from
8451 Classpath.
8452
7451c155
TT
84532003-04-19 Tom Tromey <tromey@redhat.com>
8454
a8ada986
TT
8455 * java/sql/Date.java, java/sql/DriverManager.java,
8456 java/sql/Time.java, java/sql/Timestamp.java: New versions from
8457 Classpath.
8458
7451c155
TT
8459 * Makefile.in: Rebuilt.
8460 * Makefile.am (ordinary_java_source_files): Added new files.
8461 * java/security/AlgorithmParameterGenerator.java,
8462 java/security/AlgorithmParameters.java, java/security/Engine.java,
8463 java/security/Identity.java, java/security/IdentityScope.java,
8464 java/security/KeyFactory.java,
8465 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8466 java/security/MessageDigest.java, java/security/Policy.java,
8467 java/security/ProtectionDomain.java,
8468 java/security/SecureRandom.java, java/security/Security.java,
8469 java/security/Signature.java, java/security/SignatureSpi.java,
8470 java/security/SignedObject.java, java/security/Signer.java,
8471 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8472 java/security/spec/PSSParameterSpec.java,
8473 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8474 java/security/spec/RSAOtherPrimeInfo.java: New versions from
8475 Classpath.
8476
9e9e2042
SG
84772003-04-19 Scott Gilbertson <scottg@mantatest.com>
8478
8479 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8480 (dispose): Null metrics.
8481 * gnu/awt/xlib/XToolkit.java (sync): Implement.
8482 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8483 finalize.
8484 (finalize): Call dispose.
8485 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8486 (gcCachedCount): New field.
8487 (finalize): New method.
8488 (putGCInCache): New method.
8489 (getGCFromCache): New method.
8490 * gnu/gcj/xlib/GC.java (GC): Make protected.
8491 (clone): Get new GC from cache if possible.
8492 (create): New static method.
8493 (dispose): Save old GC in cache.
8494 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8495 deleting.
8496 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8497 is null.
8498 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8499 * java/awt/Container.java (visitChild): Dispose gfx2 when
8500 finished.
8501
afd4910a
JQ
85022003-04-19 Jerry Quinn <jlquinn@optonline.net>
8503
8504 * java/math/BigInteger.java (probablePrime): New.
8505 * java/math/BigDecimal.java (unscaledValue): New.
8506
f1a1591b
RM
85072003-04-19 Ranjit Mathew <rmathew@hotmail.com>
8508
8509 * java/io/File.java (getAbsolutePath): On Windows, take care
8510 of paths like "C:", "G:foo\bar", etc.
8511 (getName): Make it work correctly on Windows.
8512 (getParent): Make it work correctly on Windows. For UNIX,
8513 fix bug that causes "/" to be returned as the parent of "/",
8514 instead of null as returned by Sun's JRE.
8515
8516 * java/io/natFileWin32.cc: Change copyright owner to FSF.
8517
1230b94d
SG
85182003-04-19 Scott Gilbertson <scottg@mantatest.com>
8519
8520 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8521 inner class.
8522 (CACHE_SIZE_PER_DISPLAY): New field
8523 (fontMetricsCache): New field
8524 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8525 loading ISO10646-1 fonts.
8526
3b228805
SG
85272003-04-19 Scott Gilbertson <scottg@mantatest.com>
8528
8529 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8530 characters.
8531 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8532 characters.
8533
bc617f8a
RE
85342003-04-16 Richard Earnshaw <rearnsha@arm.com>
8535
8536 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8537 floating point.
8538
ba39351e
JJ
85392003-04-15 Jakub Jelinek <jakub@redhat.com>
8540
8541 * configure.host (*-linux*): Don't set slow_pthread_self if primary
8542 installed libpthread is either linuxthreads with floating stacks or
8543 NPTL.
8544
355d8993
TT
85452003-04-14 Tom Tromey <tromey@redhat.com>
8546
8547 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8548 of alignment.
8549
bc9150d3
TT
85502003-04-10 Tom Tromey <tromey@redhat.com>
8551
8552 * verify.cc (pop64): Removed.
8553 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
8554 exception if top-of-stack is narrow.
8555 (initialize_stack): Check to ensure that <init> is not static and
8556 <clinit> is.
8557
30da0969
AR
85582003-04-07 Aaron M. Renn (arenn@urbanophile.com)
8559
8560 * java/io/ObjectStreamException
8561 * java/io/FileFilter
8562 * java/io/FilenameFilter
8563 * java/io/ObjectInput
8564 * java/io/ObjectOutput
8565 * java/io/ObjectStreamConstants
8566 Minor doc fixes, format fixes, spelling corrections, etc.
8567 * java/io/DataInput
8568 Corrected code samples in Javadocs to match reality
8569 * java/io/DataOutput
8570 * java/io/ObjectInputValidation
8571 Major documentation fixes - all Javadocs re-written or updated
8572
ce7e3936
MK
85732003-04-06 Michael Koch <konqueror@gmx.de>
8574
8575 * java/net/URLConnection.java:
8576 Import classes directly.
8577 (URLConnection): Merged class documentation with classpath.
8578 (url): Moved, documentation from classpath added.
8579 (doInput): Moved, documentation from classpath added.
8580 (doOutput): Moved, documentation from classpath added.
8581 (allowUserInteraction): Moved.
8582 (useCaches): Moved, documentation from classpath added.
8583 (ifModifiedSince): Moved, documentation from classpath added.
8584 (connected): Moved, documentation from classpath added.
8585
af5fcbd0
MK
85862003-04-06 Michael Koch <konqueror@gmx.de>
8587
8588 * java/io/FileInputStream.java
8589 (skip): Renamed some variables to match classpath, added
8590 checks from classpath.
8591
8c1e9e34
MK
85922003-03-31 Michael Koch <konqueror@gmx.de>
8593
8594 * javax/swing/AbstractAction.java
8595 (AbstractAction): Reformatted.
8596 (serialVersionUID): New private member variable.
8597 * javax/swing/plaf/BorderUIResource.java
8598 (serialVersionUID): New private member variable.
8599 * javax/swing/plaf/basic/BasicLookAndFeel.java
8600 (serialVersionUID): New private member variable.
8601
75160ca7
MK
86022003-03-31 Michael Koch <konqueror@gmx.de>
8603
8604 * java/sql/Date.java
8605 (valueOf): Deprecated, reformatted.
8606 (toString): Deprecated, reformatted.
8607 * java/sql/Time.java
8608 (valueOf): Deprecated, reformatted.
8609 (toString): Deprecated, reformatted.
8610
aa7f7531
MK
86112003-03-31 Michael Koch <konqueror@gmx.de>
8612
8613 * java/rmi/dgc/VMID.java
8614 (isUnique): Deprecated.
8615
da557ab8
MK
86162003-03-31 Michael Koch <konqueror@gmx.de>
8617
8618 * java/io/File.java
8619 (separator): Merged documentation from classpath.
8620 (separatorChar): Merged documentation from classpath.
8621 (pathSeparator): Merged documentation from classpath.
8622 (pathSeparatorChar): Merged documentation from classpath.
8623 (path): Merged documentation from classpath.
8624 (canRead): Merged documentation from classpath.
8625 (canWrite): Merged documentation from classpath.
8626 (createNewFile): Merged documentation from classpath.
8627 (delete): Merged documentation from classpath.
8628 (equals): Merged documentation from classpath.
8629 (exists): Merged documentation from classpath.
8630 (File): Renamed p to name to match classpath, merged documentation
8631 from classpath.
8632 (getAbsolutePath): Merged documentation from classpath.
8633 (getCanonicalPath): Merged documentation from classpath.
8634 (getCanonicalFile): Merged documentation from classpath.
8635 (getName): Merged documentation from classpath.
8636 (getParent): Merged documentation from classpath.
8637 (getParentFile): Merged documentation from classpath.
8638 (getPath): Merged documentation from classpath.
8639 (hashCode): Merged documentation from classpath.
8640 (isAbsolute): Merged documentation from classpath.
8641 (isDirectory): Merged documentation from classpath.
8642 (isFile): Merged documentation from classpath.
8643 (isHidden): Merged documentation from classpath.
8644 (lastModified): Merged documentation from classpath.
8645 (length): Merged documentation from classpath.
8646 (list): Merged documentation from classpath.
8647 (listFiles): Merged documentation from classpath.
8648 (toString): Merged documentation from classpath.
8649 (toURL): Merged documentation from classpath.
8650 (mkdir): Merged documentation from classpath.
8651 (mkdirs): Merged documentation from classpath.
8652 (createTempFile): Merged documentation from classpath.
8653 (setReadOnly): Merged documentation from classpath.
8654 (listRoots): Merged documentation from classpath.
8655 (compareTo): Merged documentation from classpath.
8656 (renameTo): Merged documentation from classpath.
8657 (setLastModified): Merged documentation from classpath.
8658 * java/io/PrintStream.java
8659 (auto_flush): Merged documentation from classpath.
8660 (PrintStream): Merged documentation from classpath.
8661 (checkError): Merged documentation from classpath.
8662 (setError): Merged documentation from classpath.
8663 (close): Merged documentation from classpath.
8664 (flush): Merged documentation from classpath.
8665 (print): Merged documentation from classpath.
8666 (println): Merged documentation from classpath.
8667 (write): Renamed count to len to match classpath,
8668 merged documentation from classpath.
8669 * java/io/RandomAccessFile.java
8670 (readShort): Merged documentation from classpath.
8671 (readUnsignedByte): Merged documentation from classpath.
8672 (readUnsignedShort): Merged documentation from classpath.
8673 (readUTF): Merged documentation from classpath.
8674 (seek): Reformatted, merged documentation from classpath.
8675 (skipBytes): Renamed some variables to match classpath, reformatted,
8676 merged documentation from classpath.
8677 (write): Merged documentation from classpath.
8678 (writeBoolean): Merged documentation from classpath.
8679 (writeByte): Merged documentation from classpath.
8680 (writeShort): Merged documentation from classpath.
8681 (writeChar): Merged documentation from classpath.
8682 (writeInt): Merged documentation from classpath.
8683 (writeLong): Merged documentation from classpath.
8684 (writeFloat): Merged documentation from classpath.
8685 (writeDouble): Merged documentation from classpath.
8686 (writeBytes): Merged documentation from classpath.
8687 (writeChars): Merged documentation from classpath.
8688 (writeUTF): Reformatted.
8689 (getChannel): Reformatted.
8690
c32130d9
MK
86912003-03-31 Michael Koch <konqueror@gmx.de>
8692
8693 * java/awt/font/TextAttribute.java
8694 (readResolve): Throws java.io.InvalidObjectException.
8695
a1bda993
MK
86962003-03-31 Michael Koch <konqueror@gmx.de>
8697
8698 * java/rmi/server/LoaderHandler.java
8699 (loadClass): Deprecated.
8700 (getSecurityContext): Deprecated.
8701 * java/rmi/server/LogStream.java
8702 (getDefaultStream): Deprecated.
8703 (setDefaultStream): Deprecated.
8704 (getOutputStream): Deprecated.
8705 (setOutputStream): Deprecated.
8706 (write): Deprecated.
8707 (toString): Deprecated.
8708 (parseLevel): Deprecated.
8709 * java/rmi/server/Operation.java
8710 (Operation): Deprecated.
8711 (getOperation): Deprecated.
8712 (toString): Deprecated.
8713 * java/rmi/server/RemoteCall.java
8714 (getOutputStream): Deprecated.
8715 (releaseOutputStream): Deprecated.
8716 (getInputStream): Deprecated.
8717 (releaseInputStream): Deprecated.
8718 (getResultStream): Deprecated.
8719 (executeCall): Deprecated.
8720 (done): Deprecated.
8721 * java/rmi/server/RemoteRef.java
8722 (invoke): Deprecated.
8723 (newCall): Deprecated.
8724 (done): Deprecated.
8725 * java/rmi/server/RemoteStub.java
8726 (setRef): Deprecated.
8727 * java/rmi/server/Skeleton.java:
8728 No need to import java.lang.Exception explicitly.
8729 (dispatch): Deprecated.
8730 (getOperations): Deprecated.
8731
60c98fd6
MK
87322003-03-31 Michael Koch <konqueror@gmx.de>
8733
8734 * java/rmi/dgc/VMID.java,
8735 java/rmi/registry/RegistryHandler.java,
8736 java/rmi/server/LogStream.java,
8737 java/rmi/server/Operation.java,
8738 java/rmi/server/RemoteCall.java,
8739 java/rmi/server/RemoteRef.java,
8740 java/rmi/server/RemoteStub.java:
8741 Reformatted.
8742
2ce0d0b0
MK
87432003-03-31 Michael Koch <konqueror@gmx.de>
8744
8745 * javax/swing/AbstractCellEditor.java,
8746 javax/swing/AbstractListModel.java,
8747 javax/swing/ActionMap.java,
8748 javax/swing/BorderFactory.java,
8749 javax/swing/ButtonGroup.java,
8750 javax/swing/DefaultBoundedRangeModel.java,
8751 javax/swing/DefaultButtonModel.java,
8752 javax/swing/DefaultCellEditor.java,
8753 javax/swing/DefaultComboBoxModel.java,
8754 javax/swing/DefaultDesktopManager.java,
8755 javax/swing/DefaultListCellRenderer.java,
8756 javax/swing/DefaultSingleSelectionModel.java,
8757 javax/swing/InputMap.java,
8758 javax/swing/JComponent.java,
8759 javax/swing/JMenu.java,
8760 javax/swing/JSlider.java,
8761 javax/swing/KeyStroke.java,
8762 javax/swing/OverlayLayout.java,
8763 javax/swing/ScrollPaneLayout.java,
8764 javax/swing/SizeRequirements.java,
8765 javax/swing/UIManager.java,
8766 javax/swing/ViewportLayout.java,
8767 javax/swing/border/AbstractBorder.java,
8768 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8769 javax/swing/event/EventListenerList.java,
8770 javax/swing/table/AbstractTableModel.java,
8771 javax/swing/table/DefaultTableCellRenderer.java,
8772 javax/swing/table/DefaultTableColumnModel.java,
8773 javax/swing/table/DefaultTableModel.java,
8774 javax/swing/table/TableColumn.java,
8775 javax/swing/text/StyledEditorKit.java,
8776 javax/swing/tree/DefaultMutableTreeNode.java,
8777 javax/swing/tree/DefaultTreeModel.java,
8778 javax/swing/tree/DefaultTreeSelectionModel.java,
8779 javax/swing/tree/TreePath.java,
8780 javax/swing/undo/AbstractUndoableEdit.java,
8781 javax/swing/undo/StateEdit.java,
8782 javax/swing/undo/StateEditable.java,
8783 javax/swing/undo/UndoableEditSupport.java:
8784 Merges from classpath.
8785
6a8873a7
TT
87862003-03-30 Tom Tromey <tromey@redhat.com>
8787
6a76da08
TT
8788 * java/lang/String.java (data, boffset, count): Documented.
8789 (String(byte[],String)): Reformatted.
8790 (String(byte[])): Likewise.
8791 (lastIndexOf(int)): Likewise.
8792 (lastIndexOf(String)): Likewise.
8793 (substring(int)): Renamed argument to match Classpath.
8794 (String(StringBuffer)): Don't share buffer if it is nearly empty.
8795
6a8873a7
TT
8796 * java/lang/String.java: Miscellaneous minor formatting changes
8797 to match Classpath more closely.
8798
7270451f
EB
87992003-03-29 Eric Blake <ebb9@email.byu.edu>
8800 Tom Tromey <tromey@redhat.com>
8801
8802 * java/lang/natString.cc (hashCode): Use cachedHashCode.
8803 (init()): Removed.
8804 (charAt): Put index in exception.
8805 (contentEquals): New method.
8806 Include StringBuffer.h.
8807 * java/lang/String.java (cachedHashCode): New field.
8808 (String()): Follow classpath implementation.
8809 (init()): Removed.
8810 (contentEquals): Declare.
8811 (subSequence): Don't declare IndexOutIfBoundsException in throws
8812 clause.
8813 (matches, replaceFirst, replaceAll, split): New methods from
8814 Classpath.
8815
44fc3a6f
TT
88162003-03-29 Tom Tromey <tromey@redhat.com>
8817
9ba99c63
TT
8818 * java/lang/String.java: Reordered to follow Classpath; merged in
8819 javadoc.
8820
20ba0464
TT
8821 * java/text/MessageFormat.java: Removed some whitespace.
8822
8823 * Makefile.in: Rebuilt.
8824 * Makefile.am (awt_java_source_files): Added new files.
8825 * gnu/javax/rmi/PortableServer.java,
8826 gnu/javax/rmi/CORBA/DelegateFactory.java,
8827 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8828 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8829 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8830 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8831 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8832 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8833 javax/rmi/PortableRemoteObject.java,
8834 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8835 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8836 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8837 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8838 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8839 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8840
44fc3a6f
TT
8841 * java/lang/natClass.cc (newInstance): Put method name in
8842 exception.
8843 (getConstructor): Likewise.
8844 (getDeclaredConstructor): Likewise.
8845 (getPrivateMethod): Likewise.
8846
4544c3f3
TT
88472003-03-28 Tom Tromey <tromey@redhat.com>
8848
8849 * java/lang/reflect/Proxy.java: New version from Classpath.
8850 * java/lang/Package.java: New version from Classpath.
8851
7d798969
UW
88522003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
8853
8854 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8855 * configure: Regenerate.
8856
01312d12
MK
88572003-03-28 Michael Koch <konqueror@gmx.de>
8858
8859 * java/io/File.java:
8860 Import needed classes instead of whole packages, merged class
8861 documentation with classpath, moved constants and variables to top of
8862 class.
8863 * java/io/PrintStream.java:
8864 Merged class documentation with classpath, moved constants and
8865 variables to top of class.
8866 * java/io/RandomAccessFile.java
8867 (RandomAccessFile): Merged with classpath.
8868 (read): Merged with classpath).
8869 (read*): Reformatted.
8870
bcfaead0
MK
88712003-03-28 Michael Koch <konqueror@gmx.de>
8872
8873 * java/io/FileDescriptor.java
8874 (finalize): Throws Throwable, not IOException.
8875 * java/io/ObjectOutputStream.java
8876 (PutField.put): Doesnt throws anything.
8877
b3e4bb03 88782003­03-28 Michael Koch <konqueror@gmx.de>
c54390c5
MK
8879
8880 * java/io/FileOutputStream.java:
8881 Merged class documentation and authors with classpath.
8882 (FileOutputStream): Partly merged with classpath.
8883 (write): Merged with classpath.
8884 (getChannel): Make it synchronized instead of explicit block in this
8885 method.
8886 * java/io/RandomAccessFile.java:
8887 Merged class documentation and authors with classpath.
8888
1c81e343
TT
88892003-03-26 Tom Tromey <tromey@redhat.com>
8890
8891 * java/lang/natRuntime.cc (insertSystemProperties): Set
8892 gnu.classpath.home.url.
8893 * Makefile.in: Rebuilt.
8894 * Makefile.am: Define LIBDIR.
8895
a62abb91
MK
88962003-03-25 Michael Koch <konqueror@gmx.de>
8897
8898 * java/io/FileInputStream.java
8899 (read): Renamed b to buf and off to offset.
8900 * java/io/FileOutputStream.java
8901 (ch): Documentation added.
8902 (FileOutputStream): Documentation added.
8903 (getFD): Documentation added.
8904 (write): Documentation added.
8905 (close): Documentation added.
8906 (getChannel): Documentation added.
8907
950ebbea
MK
89082003-03-24 Michael Koch <konqueror@gmx.de>
8909
8910 * java/io/DataOutputStream.java
8911 (write): Merged from classpath.
8912 * java/io/File.java:
8913 Merged copyrigth with classpath.
8914 * java/io/FileInputStream.java
8915 (getChannel): Made it synchronized instead of using a synchronized
8916 block.
8917 * java/io/FileOutputStream.java: Reformatted.
8918 * java/io/InputStreamReader.java
8919 (InputStreamReader): Renamed enc to encoding_name.
8920 (close): Merged documentation from classpath.
8921 (getEncoding): Merged documentation from classpath.
8922 (ready): Merged documentation from classpath.
8923 (read): Merged documentation from classpath.
8924 * java/io/LineNumberReader.java
8925 (lineNumber): Made it private.
8926 (LineNumberReader): Use Constant instead of a direct value.
8927 * java/io/OutputStreamWriter.java
8928 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8929 documentation from classpath.
8930 (close): Merged documentation from classpath.
8931 (flush): Merged documentation from classpath.
8932 (write): Merged documentation from classpath.
8933 * java/io/PrintStream.java: Reformatted.
8934
fba5a74a
MK
89352003-03-24 Michael Koch <konqueror@gmx.de>
8936
8937 * javax/swing/text/ComponentView.java
8938 (getComponent): Must be final.
8939 * javax/swing/tree/DefaultTreeCellRenderer.java:
8940 Reformatted.
8941 * javax/swing/undo/StateEditable.java:
8942 Reformatted.
8943
3bc8a4e3
MK
89442003-03-24 Michael Koch <konqueror@gmx.de>
8945
8946 * java/rmi/activation/ActivationInstantiator.java:
8947 Reformatted.
8948 * java/rmi/activation/Activator.java:
8949 Reformatted.
8950 * java/rmi/registry/RegistryHandler.java:
8951 Remerged from classpath.
8952
1ab1cf4e
MK
89532003-03-24 Michael Koch <konqueror@gmx.de>
8954
8955 * java/util/Date.java:
8956 Fixed documentation starting tag to make javadoc happy.
8957 * java/util/regex/Pattern.java
8958 (Pattern): Implements Serializable.
8959 * java/util/PatternSyntaxException.java
8960 (serialVersionUID): New member variable.
8961
050d3e13
MK
89622003-03-24 Michael Koch <koqnueror@gmx.de>
8963
8964 * java/awt/ContainerOrderFocusTraversalPolicy.java
8965 (getFirstComponent): Implemented.
8966 (getLastComponent): Implemented.
8967 (getDefaultComponent): Implemented.
8968 (setImplicitDownCycleTraversal): Fixed implementation.
8969 * java/awt/Robot.java
8970 (Robot): Added documentation.
8971 * java/awt/Toolkit.java
8972 (getFontList): Deprecated.
8973 (getFontMetrics): Deprecated.
8974 (getPrintJob): Added documentation.
8975 (getSystemSelection): Added documentation.
8976 (getLockingKeyState): Added documentation.
8977 (setLockingKeyState): Added documentation.
8978 (createCustomCursor): Added documentation.
8979 (getBestCursorSize): Added documentation.
8980 (getMaximumCursorColors): Added documentation.
8981 (isFrameStateSupported): Added documentation.
8982
7e7ed852
MK
89832003-03-24 Michael Koch <konqueror@gmx.de>
8984
8985 * java/io/RandomAccessFile.java:
3d6431d7 8986 More little merges with classpath. No code changes.
7e7ed852 8987
24a3f7ac
MK
89882003-03-24 Michael Koch <konqueror@gmx.de>
8989
8990 * java/net/natInetAddressNoNet.cc:
8991 Include stddef.h.
8992 * java/net/natPlainDatagramSocketImplNoNet.cc:
8993 Fixed inlcude of java/net/DatagramPacket.h.
8994 * java/net/natPlainSocketImplNoNet.cc:
8995 Include some missing classes.
8996
5eec7c8c
MK
89972003-03-24 Michael Koch <konqueror@gmx.de>
8998
8999 * java/awt/dnd/DropTarget.java
9000 (DropTargetAutoScroller): According to the online documentation, this
9001 is protected, but in reality it is public.
9002 * java/awt/dnd/DropTargetContext.java
9003 (TransferableProxy): According to the online documentation, this
9004 is protected, but in reality it is public.
9005
ffe4ebba
MK
90062003-03-24 Michael Koch <konqueror@gmx.de>
9007
9008 * java/io/DataInputStream.java
9009 (): Wrapped documentation line.
9010 (): Fixed @return tag.
9011 * java/io/DataOutputStream.java
9012 (written): Moved to top of class.
9013 (all methods): Merged documentation from classpath.
9014 * java/io/File.java:
9015 Merged copyright year with classpath.
9016 * java/io/FileInputStream.java
9017 (all methods): Merged documentation from classpath.
9018 * java/io/LineNumberReader.java
9019 (getLineNumber): Fixed @return tag.
9020 * java/io/ObjectInputStream.java.
9021 Reformatted.
9022 * java/io/ObjectOutputStream.java:
9023 Reformatted, fixed some @see tags.
9024 * java/io/OutputStreamWriter.java:
9025 Deleted empty line.
9026 * java/io/Writer.java:
9027 Reformatted.
9028
228115ac
MK
90292003-03-24 Michael Koch <konqueror@gmx.de>
9030
9031 * java/awt/Frame.java
9032 (DEFAULT_CURSOR): Fixed @deprecated tag.
9033 (setCursor): Fixed @deprecated tag.
9034
99010ccb
MK
90352003-03-24 Michael Koch <konqueror@gmx.de>
9036
9037 * java/beans/beancontext/BeanContextEvent.java:
9038 Reformated.
9039
ce1bb3bb
EB
90402003-03-23 Eric Blake <ebb9@email.byu.edu>
9041
9042 * java/lang/natStringBuffer.cc (regionMatches): New function.
9043 * java/lang/String.java (count): Now package-private.
9044 * java/lang/StringBuffer.java: Merged with Classpath.
9045
93b3986a
MK
90462003-03-23 Michael Koch <konqueror@gmx.de>
9047
9048 * java/io/BufferedOutputStream.java:
9049 Reformated.
9050 * java/io/BufferedReader.java:
9051 Reformated.
9052 * java/io/ByteArrayOutputStream.java
9053 (size): Fixed @see tag.
9054 * java/io/CharArrayWriter.java
9055 (size): Fixed @see tag.
9056 * java/io/DataInput.java:
9057 Reformated.
9058 * java/io/DataOutput.java:
9059 Reformated.
9060 * java/io/DataOutputStream.java:
9061 Merged copyright years with classpath.
9062 * java/io/Externalizable.java:
9063 Reformated.
9064 * java/io/FileFilter.java:
9065 Reformated.
9066 * java/io/FileInputStream.java:
9067 Merged copyright years with classpath.
9068 * java/io/FileOutputStream.java:
9069 Merged copyright years with classpath.
9070 * java/io/FilePermission.java
9071 (FilePermission): Replaced @XXX with FIXME:.
9072 * java/io/FileWriter.java:
9073 Reformated.
9074 * java/io/FilenameFilter.java:
9075 Reformated.
9076 * java/io/FilterInputStream.java:
9077 Reformated.
9078 * java/io/FilterOutputStream.java:
9079 Reformated.
9080 * java/io/FilterReader.java:
9081 Reformated.
9082 * java/io/FilterWriter.java:
9083 Reformated.
9084 * java/io/LineNumberInputStream.java
9085 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
9086 happy.
9087 (getLineNumber): Fixed @return tag.
9088 * java/io/ObjectInput.java:
9089 Reformated.
9090 * java/io/ObjectOutput.java:
9091 Reformated.
9092 * java/io/ObjectStreamClass.java:
9093 Reformated.
9094 * java/io/PrintStream.java:
9095 Merged copyright years with classpath.
9096 * java/io/PushbackReader.java
9097 (PushbackReader): Replaced @code with @param.
9098 * java/io/SerializablePermission.java:
9099 Reformated.
9100 * java/io/StreamTokenizer.java
9101 (resetSyntax): Fixed @see tag.
9102
de32716c
RH
91032003-03-22 Richard Henderson <rth@redhat.com>
9104
9105 * sysdep/ia64/locks.h: Include ia64intrin.h.
9106 (compare_and_swap): Use __sync_bool_compare_and_swap.
9107 (compare_and_swap_release): Expose ar.ccv assignment.
9108
dcde9775
AT
91092003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
9110
9111 * include/posix.h: Add suffix for darwin dynamic libraries.
9112
30b3f142
MK
91132003-03-21 Michael Koch <konqueror@gmx.de>
9114
9115 * javax/swing/Action.java
9116 (ACCELERATOR_KEY): New constant.
9117 (ACTION_COMMAND_KEY): Likewise.
9118 (MNEMONIC_KEY): Likewise.
9119 * javax/swing/UnsupportedLookAndFeelException.java
9120 (UnsupportedLookAndFeelException): Must be public.
9121 * javax/swing/WindowConstants.java
9122 (EXIT_ON_CLOSE): New constant.
9123 * javax/swing/text/BadLocationException.java
9124 (offset): New member variable.
9125 (BadLocationException): New implementation, documentation added.
9126 (offsetRequested): New method.
9127 * javax/swing/text/Caret.java:
9128 Reformated.
9129 * javax/swing/text/Document.java:
9130 Reformated.
9131
15596d40
MK
91322003-03-21 Michael Koch <konqueror@gmx.de>
9133
9134 * java/rmi/activation/Activatable.java
9135 (serialVersionUID): New member variable.
9136 * java/rmi/activation/ActivationGroup.java
9137 (serialVersionUID): New member variable.
9138 * java/rmi/activation/ActivationGroupDesc.java
9139 (serialVersionUID): New member variable.
9140 * java/rmi/registry/Registry.java:
9141 Reformated.
9142 (Registry): Deprecated.
9143 * java/rmi/server/LoaderHandler.java
9144 Reformated.
9145 (LoaderHandler): Deprecated.
9146 * java/rmi/server/LogStream.java
9147 Reformated.
9148 (LogStream): Deprecated.
9149 * java/rmi/server/Operation.java
9150 (Operation): Deprecated.
9151 * java/rmi/server/RMIFailureHandler.java:
9152 Reformated.
9153 * java/rmi/server/RMISocketFactory.java:
9154 Reformated.
9155 * java/rmi/server/RemoteCall.java
9156 (RemoteCall): Deprecated.
9157 * java/rmi/server/RemoteStub.java:
9158 Reformated.
9159 * java/rmi/server/Skeleton.java
9160 Reformated.
9161 (Skeleton): Deprecated.
9162
ae429eab
MK
91632003-03-21 Michael Koch <konqueror@gmx.de>
9164
9165 * java/io/LineNumberReader.java
9166 (LineNumberReader): Merged documentation with classpath.
9167 (getLineNumber): Likewise.
9168 (setLineNumber): Likewise.
9169 (mark): Likewise.
9170 (reset): Likewise.
9171 (read): Likewise.
9172 (readLine): Likewise.
9173 (skip): Likewise.
9174
025f5843
MK
91752003-03-21 Michael Koch <konqueror@gmx.de>
9176
9177 * java/rmi/RMISecurityManager.java
9178 (checkAccept): Removed.
9179 (checkAccess): Likewise.
9180 (checkAccess): Likewise.
9181 (checkAwtEventQueueAccess): Likewise.
9182 (checkConnect): Likewise.
9183 (checkCreateClassLoader): Likewise.
9184 (checkDelete): Likewise.
9185 (checkExec): Likewise.
9186 (checkExit): Likewise.
9187 (checkLink): Likewise.
9188 (checkListen): Likewise.
9189 (checkMemberAccess): Likewise.
9190 (checkMulticast): Likewise.
9191 (checkPackageAccess): Likewise.
9192 (checkPackageDefinition): Likewise.
9193 (checkPermission): Likewise.
9194 (checkPrintJobAccess): Likewise.
9195 (checkPropertiesAccess): Likewise.
9196 (checkPropertyAccess): Likewise.
9197 (checkRead): Likewise.
9198 (checkSecurityAccess): Likewise.
9199 (checkSetFactory): Likewise.
9200 (checkSystemClipboardAccess): Likewise.
9201 (checkTopLevelWindow): Likewise.
9202 (checkWrite): Likewise.
9203
54c99af1
MK
92042003-03-20 Michael Koch <konqueror@gmx.de>
9205
9206 * gnu/java/nio/FileChannelImpl.java
9207 (address): Removed.
9208 (map_address): New member variable.
9209 (length): Make it package private.
9210 (fd): Make it package private.
9211 (buf): Make it package private.
9212 (file_obj): Make it package private.
9213 (FileChannelImpl): New constructor.
9214 (nio_mmap_file): Use RawData instead of long.
9215 (nio_munmap_file): Use RawData instead of long.
9216 (nio_msync): Use RawData instead of long.
9217 (implCloseChannel): New implementation using map_address.
9218 (read): Reformated.
9219 (map): Implemented.
9220 (create_direct_mapped_buffer): Implemented, use RawData, throws
9221 IOException.
9222 (force): Use map_address instead of address.
9223 * gnu/java/nio/MappedByteFileBuffer.java
9224 (address): Removed.
9225 (map_address): New member variable.
9226 (MappedByteFileBuffer): Use map_address instead of address, reformated.
9227 (several methods): Use map_address instead of address, replaced long
9228 with RawData where appropriate.
9229 * gnu/java/nio/natFileChannelImpl.cc
9230 (nio_mmap_file): Replaced long with RawData.
9231 (nio_munmap_file): Replaced long with RawData.
9232 (nio_msync): Replaced long with RawData.
9233 * gnu/java/nio/natMappedByteFileBuffer.cc
9234 (several methods): Replaced long with RawData where appropriate.
9235
111a007d
MK
92362003-03-20 Michael Koch <konqueror@gmx.de>
9237
9238 * java/net/InetAddress.java,
9239 java/net/JarURLConnection.java,
9240 java/net/PlainDatagramSocketImpl.java,
9241 java/net/PlainSocketImpl.java,
9242 java/net/URLConnection.java:
9243 Merged copyright statements with classpath for easier merging.
9244
10b33028
MK
92452003-03-20 Michael Koch <konqueror@gmx.de>
9246
9247 * java/io/FileInputStream.java
9248 (getChannel): New implementation.
9249 * java/io/FileOutputStream.java
9250 (ch): New member variable.
9251 (getChannel): Implemented.
9252 * java/io/RandomAccessFile.java
9253 (RandomAccessFile): Throws FileNotFoundException instead of
9254 IOException.
9255 (getChannel): New method.
9256 (ch): New member variable.
9257
04b3370b
MK
92582003-03-20 Michael Koch <konqueror@gmx.de>
9259
9260 * java/io/DataOutputStream.java,
9261 java/io/File.java,
9262 java/io/FileInputStream.java,
9263 java/io/FileOutputStream.java,
9264 java/io/InputStreamReader.java,
9265 java/io/LineNumberReader.java,
9266 java/io/OutputStreamWriter.java,
9267 java/io/PrintStream.java,
9268 java/io/RandomAccessFile.java:
9269 Merged copyright statements with classpath for easier merging.
9270
a37f8219
MK
92712003-03-19 Michael Koch <konqueror@gmx.de>
9272
9273 * java/lang/Process.java:
9274 Merged from classpath.
9275
f6eb259f
MK
92762003-03-19 Michael Koch <konqueror@gmx.de>
9277
9278 * java/io/FileOutputStream.java
9279 (FileOutputStream): New constructor, merged from classpath.
9280 * java/io/FileWriter.java
9281 (FileWriter): New constructor, merged from classpath.
9282
897db4af
MK
92832003-03-18 Michael Koch <konqueror@gmx.de>
9284
9285 * java/awt/ScrollPane.java
9286 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9287 (getViewportSize): Likewise.
9288 (addNotify): Likewise.
9289 (removeNotify): Likewise.
9290 * java/awt/ScrollPaneAdjustable.java
9291 (ScrollPaneAdjustable): No longer extends Scrollbar.
9292 * java/beans/beancontext/BeanContextServices.java:
9293 Reformated.
9294 (getService): Added throws TooManyListenersException;
9295 * java/beans/beancontext/BeanContextServicesSupport.java:
9296 Reformated.
9297
fddab7dc
MK
92982003-03-18 Michael Koch <konqueror@gmx.de>
9299
9300 * java/io/BufferedOutputStream.java,
9301 java/io/DataInput.java,
9302 java/io/DataInputStream.java,
9303 java/io/DataOutput.java,
9304 java/io/Externalizable.java:
9305 More merges from classpath.
9306
71a15b15
MK
93072003-03-18 Michael Koch <konqueror@gmx.de>
9308
9309 * configure.in: Fixed links to platform dependant java.net files.
9310 * configure: Regenerated.
9311 * java/net/natInetAddress.cc,
9312 java/net/natNetworkInterface.cc,
9313 java/net/natPlainDatagramSocketImpl.cc,
9314 java/net/natPlainSocketImpl.cc:
9315 Removed.
9316
9b5f18b1
MK
93172003-03-18 Michael Koch <konqueror@gmx.de>
9318
9319 * configure.in: Create links to architecture dependent files,
9320 introduced PLATFORMNET variable (set to NoNet for newlib usage).
9321 * configure: Regenerated.
9322 * java/net/natInetAddressNoNet.cc,
9323 java/net/natInetAddressPosix.cc,
9324 java/net/natInetAddressWin32.cc,
9325 java/net/natNetworkInterfaceNoNet.cc,
9326 java/net/natNetworkInterfacePosix.cc,
9327 java/net/natNetworkInterfaceWin32.cc,
9328 java/net/natPlainDatagramSocketImplNoNet.cc,
9329 java/net/natPlainDatagramSocketImplPosix.cc,
9330 java/net/natPlainDatagramSocketImplWin32.cc,
9331 java/net/natPlainSocketImplNoNet.cc,
9332 java/net/natPlainSocketImplPosix.cc,
9333 java/net/natPlainSocketImplWin32.cc: New files.
9334
f4f5d1d6
MK
93352003-03-18 Michael Koch <konqueror@gmx.de>
9336
9337 * java/io/BufferedReader.java,
9338 java/io/BufferedWriter.java,
9339 java/io/ByteArrayOutputStream.java,
9340 java/io/FileFilter.java,
9341 java/io/FilePermission.java,
9342 java/io/FileReader.java,
9343 java/io/FileWriter.java,
9344 java/io/FilenameFilter.java,
9345 java/io/FilterInputStream.java,
9346 java/io/FilterOutputStream.java,
9347 java/io/FilterReader.java,
9348 java/io/FilterWriter.java,
9349 java/io/ObjectInput.java,
9350 java/io/ObjectInputValidation.java,
9351 java/io/ObjectOutput.java,
9352 java/io/ObjectStreamField.java,
9353 java/io/PipedInputStream.java,
9354 java/io/PipedReader.java,
9355 java/io/PrintWriter.java,
9356 java/io/PushbackReader.java,
9357 java/io/Reader.java,
9358 java/io/SerializablePermission.java,
9359 java/io/StringReader.java,
9360 java/io/Writer.java:
9361 Merged from classpath.
9362
1f43de92
MK
93632003-03-17 Michael Koch <konqueror@gmx.de>
9364
9365 * java/awt/ScrollPaneAdjustable.java:
9366 Compile fixes.
9367
f1b62339
MK
93682003-03-17 Michael Koch <konqueror@gmx.de>
9369
9370 * java/net/DatagramSocket.java
9371 (connect): Fixed comment.
9372 * java/nio/ByteBuffer.java
9373 (hasArray): Fixed comment.
9374
6d047468
MK
93752003-03-17 Michael Koch <konqueror@gmx.de>
9376
9377 * java/beans/Beans.java:
9378 Explicitely import classes not packages.
9379 * java/beans/FeatureDescriptor.java
9380 (preferred): New member variable.
9381 (isPreferred): New method.
9382 (setPreferred): New method.
9383 * java/beans/PropertyEditorManager.java:
9384 Explicitely import used classes.
9385 * java/beans/beancontext/BeanContextChild.java:
9386 Added line wrapping.
9387 * java/beans/beancontext/BeanContextChildSupport.java:
9388 Reindented.
9389 * java/beans/beancontext/BeanContextEvent.java:
9390 Reindented.
9391
2ff04cc6
MK
93922003-03-17 Michael Koch <konqueror@gmx.de>
9393
9394 * java/awt/Dialog.java
9395 (Dialog): New constructor, changed implementations, added
9396 documentation.
9397 * java/awt/ScrollPaneAdjustable.java
9398 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9399 Serializable.
9400 (serialVersionUID): New member variable.
9401 (sp): New member variable.
9402 (orientation): New member variable.
9403 (value): New member variable.
9404 (minimum): New member variable.
9405 (maximum): New member variable.
9406 (visibleAmount): New member variable.
9407 (unitIncrement): New member variable.
9408 (blockIncrement): New member variable.
9409 (AdjustmentListener): New member variable.
9410 (ScrollPaneAdjustable): New implementation.
9411 (addAdjustmentListener): New method.
9412 (removeAdjustmentListener): New method.
9413 (getAdjustmentListeners): New method.
9414 (getBlockIncrement): New method.
9415 (getMaximum): New method.
9416 (getMinimum): New method.
9417 (getOrientation): New method.
9418 (getUnitIncrement): New method.
9419 (getValue): New method.
9420 (getVisibleAmount): New method.
9421 (setBlockIncrement): New method.
9422 (setMaximum): Implemented.
9423 (setMinimum): Implemented.
9424 (setUnitIncrement): New method.
9425 (setValue): New method.
9426 (setVisibleAmount): Implemented.
9427 (paramString): New stubbed method.
9428 * java/awt/Window.java
9429 (show): Call setVisible().
9430 (hide): Call setVisible().
9431 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9432 and WINDOW_STATE_CHANGED.
9433 (processWindowFocusEvent): New method.
9434 (processWindowStateEvent): New method.
9435 (postEvent): Deprecated.
9436 (applyResourceBundle): Deprecated.
9437 * java/awt/datatransfer/DataFlavor.java
9438 (DataFlavor): Doesn't thow ClassNotFoundException.
9439
90310c23
MK
94402003-03-17 Michael Koch
9441
9442 * javax/print/attribute/Attribute.java,
9443 javax/print/attribute/AttributeSet.java,
9444 javax/print/attribute/PrintRequestAttributeSet.java:
9445 New files.
9446 * Makefile.am
9447 (javax_source_files): Added new files:
9448 javax/print/attribute/Attribute.java
9449 javax/print/attribute/AttributeSet.java
9450 javax/print/attribute/PrintRequestAttributeSet.java
9451 * Makefile.in: Regenerated.
9452
6e827a37
MK
94532003-03-17 Michael Koch
9454
9455 * javax/print/attribute/Attribute.java,
9456 javax/print/attribute/AttributeSet.java,
9457 javax/print/attribute/PrintRequestAttributeSet.java:
9458 New files.
9459 * Makefile.am
9460 (awt_java_source_files): Added new files:
9461 javax/print/attribute/Attribute.java
9462 javax/print/attribute/AttributeSet.java
9463 javax/print/attribute/PrintRequestAttributeSet.java
9464 * Makefile.in: Regenerated.
9465
2b7f1f8f
TT
94662003-03-16 Tom Tromey <tromey@redhat.com>
9467
9468 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9469 Include platform.h.
9470 * java/lang/natRuntime.cc (insertSystemProperties): Use
9471 _Jv_platform_path_separator.
9472 (nativeGetLibname): Use _Jv_platform_file_separator.
9473 (_load): Use _Jv_platform_onload_names.
9474 (onload_names): New global.
9475 * include/win32.h (_Jv_platform_file_separator): New define.
9476 (_Jv_platform_path_separator): Likewise.
9477 (_Jv_platform_onload_names): Likewise.
9478 (_Jv_platform_ffi_abi): Likewise.
9479 * include/posix.h (_Jv_platform_file_separator): New define.
9480 (_Jv_platform_path_separator): Likewise.
9481 (_Jv_platform_onload_names): Likewise.
9482 (_Jv_platform_ffi_abi): Likewise.
9483
adf936a6
HB
94842003-03-14 Hans Boehm <Hans.Boehm@hp.com>
9485
9486 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9487
70e2e8dc
JF
94882003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
9489
9490 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9491 hierarchy loop.
9492 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9493 list to Object,ObjectStreamClass, moved callReadMethod code up into
9494 readObject and added Class argument to all setXxxField calls.
9495 (callReadMethod): Changed Class argument to ObjectStreamClass to be
9496 consistent with ObjectOutputStream and to facilitate caching the
9497 Method in the future.
9498 (setBooleanField): Added Class argument.
9499 (setByteField): Likewise.
9500 (setCharField): Likewise.
9501 (setDoubleField): Likewise.
9502 (setFloatField): Likewise.
9503 (setIntField): Likewise.
9504 (setLongField): Likewise.
9505 (setShortField): Likewise.
9506 (setObjectField): Likewise.
9507 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9508 class hierarchy loop.
9509 (defaultWriteObject): Call writeFields with new argument list.
9510 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9511 list to Object,ObjectStreamClass, moved callWriteMethod up into
9512 writeObject and added Class argument to all getXxxField calls.
9513 (callWriteMethod): Added ObjectStreamClass argument to be able to
9514 get the proper class to call getMethod on (each class can have (or
9515 not have) its own writeObject method).
9516 (getBooleanField): Added Class argument.
9517 (getByteField): Likewise.
9518 (getCharField): Likewise.
9519 (getDoubleField): Likewise.
9520 (getFloatField): Likewise.
9521 (getIntField): Likewise.
9522 (getLongField): Likewise.
9523 (getShortField): Likewise.
9524 (getObjectField): Likewise.
9525 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9526 facilitate caching the Method object in the future.
9527
ff8b9ca8
AS
95282003-03-12 Andreas Schwab <schwab@suse.de>
9529
9530 * configure.in: Avoid trailing /. in toolexeclibdir.
9531 * configure: Rebuilt.
9532
b772d2f5
MK
95332003-03-11 Michael Koch <konqueror@gmx.de>
9534
9535 * gnu/java/nio/ByteBufferImpl.java
9536 (putInt): Use limit() instead of limit.
9537 * gnu/java/nio/CharBufferImpl.java
9538 (slice): Fixed implementation.
9539 (subSequence): Better bounds checking.
9540 * gnu/java/nio/MappedByteFileBuffer.java:
9541 Import all needed classes directly.
9542 * java/nio/ByteBuffer.java
9543 (hashCode): New dummy method.
9544 * java/nio/CharBuffer.java
9545 (array_offset): New member variable.
9546 (hasArray): Fixed documentation.
9547 (arrayOffset): Return array_offset.
9548
c068c638
AH
95492003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
9550
9551 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9552 setter; made return value of getter const char* instead of char*
9553 * prims.cc: removed all references to _Jv_ThisExecutable().
9554 These are in the platform-specific sections now.
9555 * posix.cc: define platform-specific _Jv_ThisExecutable().
9556 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9557 * win32.cc: define platform-specific _Jv_ThisExecutable()
9558 using GetModuleFilename()
9559 * java/lang/natRuntime.cc: set gnu.gcj.progname property
9560 to argv[0] instead of _Jv_ThisExecutable()
9561
95622003-03-10 Ranjit Mathew <rmathew@hotmail.com>
9563
9564 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9565 that is set if we are using addr2name.awk instead of addr2line.
9566 (NameFinder): Set usingAddr2name if using addr2name.awk.
9567 (getExternalLabel): New native method to convert a method
9568 name to an external label.
9569 (lookup): Convert name given by addr2line to an external label
9570 before demangling.
9571
9572 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9573 constant representing the prefix attached to method names to
9574 convert them to an external label.
9575 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
9576 using LABEL_PREFIX.
9577
c94432c5
TT
95782003-03-10 Tom Tromey <tromey@redhat.com>
9579
9580 * Makefile.in: Rebuilt.
9581 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9582 (JC1FLAGS): Removed -Wno-deprecated.
9583
2e65e47e
MK
95842003-03-10 Michael Koch <konqueror@gmx.de>
9585
9586 * java/nio/ByteOrder.java
9587 (nativeOrder): Working implementation, added documentation.
9588 (toString): Added documentation.
9589
1f5f81da
MK
95902003-03-10 Michael Koch <konqueror@gmx.de>
9591
9592 * java/net/DatagramSocket.java,
9593 java/net/MulticastSocket.java,
9594 java/net/Socket.java,
9595 java/net/URL.java,
9596 java/net/URLConnection.java:
9597 Fixed some documentation tags to make javadoc and friends happy.
9598
4c5154c0
MK
95992003-03-10 Michael Koch <koqnueror@gmx.de>
9600
9601 * java/beans/beancontext/BeanContextServicesSupport.java,
9602 java/beans/beancontext/BeanContextSupport.java: New files.
9603 * Makefile.am
9604 (awt_source_files): Added new files.
9605 * Makefile.in: Regenerated.
9606
76c16dd4
MK
96072003-03-10 Michael Koch <konqueror@gmx.de>
9608
9609 * java/awt/FocusTraversalPolicy.java
9610 (FocusTraversalPolicy): Documentation added.
9611 (getComponentAfter): Documentation added.
9612 (getComponentBefore): Documentation added.
9613 (getFirstComponent): Documentation added.
9614 (getLastComponent): Documentation added.
9615 (getDefaultComponent): Documentation added.
9616 (getInitialComponent): Documentation added.
9617 * java/awt/ScrollPaneAdjustable.java
9618 (sp): New member variable.
9619 (orientation): New member variable.
9620 (value): New member variable.
9621 (minimum): New member variable.
9622 (maximum): New member variable.
9623 (visibleAmount): New member variable.
9624 (unitIncrement): New member variable.
9625 (blockIncrement): New member variable.
9626 (adjustmentListener): New member variable.
9627 (ScrollPaneAdjustable): Rewrote.
9628 (addAdjustmentListener): New method.
9629 (removeAdjustmentListener): New method.
9630 (getAdjustmentListeners): New method.
9631 (getBlockIncrement): New method.
9632 (getMaximum): New method.
9633 (getMinimum): New method.
9634 (getOrientation): New method.
9635 (getUnitIncrement): New method.
9636 (getValue): New method.
9637 (getVisibleAmount): New method.
9638 (setBlockIncrement): New method.
9639 (setUnitIncrement): New method.
9640 (setMaximum): Implemented.
9641 (setMinimum): Implemented.
9642 (setValue): New method.
9643 (setVisibleAmount): Implemented.
9644 (paramString): New method.
9645 * java/awt/Window.java
9646 (show): Use setVisible(true) instead of super.show().
9647 (hide): Use sevVisible(false) instead of super.hide().
9648 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9649 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9650 (postEvent): Deprecated.
9651 (applyResourceBundle): Deprecated.
9652 (processWindowFocusEvent): New method.
9653 (processWindowStateEvent): New method.
9654 * java/awt/datatransfer/DataFlavor.java: Reindented.
9655 * java/awt/font/TextHitInfo.java
9656 (charIndex): New member variable.
9657 (leadingEdge): New member variable.
9658 (TextHitInfo): New constructor.
9659 (getCharIndex): Implemented.
9660 (isLeadingEdge): Implemented.
9661 (getInsertionIndex): Implemented.
9662 (hashCode): Access charIndex directly.
9663 (equals): Reformated.
9664 (leading): Implemented.
9665 (trailing): Implemented.
9666 (beforeOffset): Implemented.
9667 (afterOffset): Implemented.
9668 (getOtherHit): Implemented.
9669 (getOffsetHit): Implemented.
9670 (toString): Implemented.
9671 * java/awt/image/BufferedImage.java
9672 (BufferedImage): Implements WritableRenderedImage.
9673 (observers): New member variable.
9674 (addTileObserver): New method.
9675 (removeTileObserver): New method.
9676
5e18b3d6
TT
96772003-03-09 Tom Tromey <tromey@redhat.com>
9678
9679 PR libgcj/9934:
9680 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9681 to lseek. Return 0 if we can't compute the value.
9682
9b23f09d
MK
96832003-03-03 Michael Koch <konqueror@gmx.de>
9684
9685 * java/net/NetworkInterface.java: Merged with classpath.
9686
9b94c8d1
TT
96872003-03-03 Tom Tromey <tromey@redhat.com>
9688
9689 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9690 of bytecode.
9691 (handle_ret_insn): Fail if returning to jsr that appears at end of
9692 bytecode.
9693
0d4de51d
MK
96942003-03-03 Michael Koch <konqueror@gmx.de>
9695
9696 * Makefile.am
9697 (ordinary_java_source_files):
9698 Added gnu/java/nio/MappedByteFileBuffer.java.
9699 (nat_source_files):
9700 Added gnu/java/nio/natMappedByteFileBuffer.cc.
9701 * Makefile.in: Regenerated.
9702
6579ac0c
MK
97032003-03-03 Michael Koch <konqueror@gmx.de>
9704
9705 * java/net/DatagramSocket.java
9706 (connect): Merged comment from classpath.
9707 (receive): Merged documentation from classpath.
9708 * java/net/Socket.java
9709 (setSoTimeout): Clarified documentation.
9710 * java/net/URL.java
9711 (getPath): Merged from classpath.
9712 (getUserInfo): Merged from classpath.
9713 (getQuery): Merged from classpath.
9714 * java/net/URLStreamHandler.java
9715 (toExternalForm): Merged from classpath.
9716
bd3f5371
MW
97172003-03-02 Mark Wielaard <mark@klomp.org>
9718
9719 * java/util/Properties.java (load): Only skip line if the first
9720 character is a comment, whitespaces don't count.
9721
e863ea99
MK
97222003-03-02 Michael Koch <konqueror@gmx.de>
9723
9724 * java/net/NetPermission.java:
9725 Merged copyright with classpath.
9726
40590c52
MK
97272003-03-02 Michael Koch <konqueror@gmx.de>
9728
9729 * java/lang/Package.java:
9730 Remerged from classpath.
9731
68dfecb3
MK
97322003-03-02 Michael Koch <konqueror@gmx.de>
9733
9734 * java/net/HttpURLConnection.java
9735 (HTTP_SERVER_ERROR): Deprecated.
9736 * java/net/MulticastSocket.java
9737 (send): Replaced checkMulticast with appropriate checkPermission call,
9738 deprecated.
9739 * java/net/URLDecoder.java
9740 (decode): Deprecated.
9741 * java/net/URLEncoder.java
9742 (encode): Deprecated.
9743
92d53a9a
MK
97442003-03-02 Michael Koch <konqueror@gmx.de>
9745
9746 * javax/swing/text/Caret.java
9747 (getMagicCaretPosition): Fixed typo in method name.
9748 * javax/swing/text/DefaultCaret.java
9749 (getMagicCaretPosition): Fixed typo in method name.
9750
98461c58
MK
97512003-03-02 Michael Koch <konqueror@gmx.de>
9752
9753 * java/awt/List.java
9754 (setMultipleSelections): Deprecated.
9755 (delItem): Deprecated.
9756 * java/awt/MenuComponent.java
9757 (getPeer): Deprecated.
9758 * java/awt/ScrollPane.java
9759 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9760 * java/awt/dnd/MouseDragGestureRecognizer.java
9761 (mouseClicked): Added comment.
9762 (mousePressed): Added comment.
9763 (mouseReleased): Added comment.
9764 (mouseEntered): Added comment.
9765 (mouseExited): Added comment.
9766 (mouseDragged): Added comment.
9767 (mouseMoved): Added comment.
9768 * java/awt/event/KeyEvent.java
9769 (KeyEvent): Deprecated.
9770 (setModifiers): Deprecated.
9771
a339cb5b
MK
97722003-03-02 Michael Koch <konqueror@gmx.de>
9773
9774 * gnu/java/nio/FileChannelImpl.java
9775 (fd): Type FileDescriptor instead of int.
9776 (lengthInternal): Removed.
9777 (FileChannelImpl): Fixed arguments, check type of file object.
9778 (size): Made it native.
9779 (implPosition): New native method.
9780 (implTruncate): New native method.
9781 (position): Implemented.
9782 (truncate): Implemented.
9783 (nio_mmap_file): Changed arguments.
9784 (nio_munmap_file): Changed arguments.
9785 (nio_msync): Changed arguments.
9786 * gnu/java/nio/natFileChannelImpl.cc
9787 (lengthInternal): Removed.
9788 (size): New method.
9789 (implPosition): New method.
9790 (implTruncate): New method.
9791 (nio_mmap_file): Changed arguments.
9792 (nio_munmap_file): Changed arguments.
9793 (nio_msync): Changed arguments.
9794
05eb3436
MK
97952003-03-02 Michael Koch <konqueror@gmx.de>
9796
9797 * java/awt/dnd/DropTargetContext.java:
9798 Compile fix: Forgot to commit import.
9799
0c0be334
MK
98002003-03-02 Michael Koch <konqueror@gmx.de>
9801
9802 * java/awt/Component.java,
9803 java/awt/ScrollPane.java:
9804 Fixed typos.
9805
b4822ade
MK
98062003-03-02 Michael Koch <konqueror@gmx.de>
9807
9808 * java/awt/dnd/DnDEventMulticaster.java: New file.
9809 * java/awt/dnd/DragSource.java
9810 (flavorMap): New member variable.
9811 (dragSourceListener): New member variable.
9812 (dragSourceMotionListener): New member variable.
9813 (getFlavorMap): Implemented.
9814 (createDragGestureRecognizer): Implemented.
9815 (addDragSourceListener): Implemented.
9816 (removeDragSourceListener): Implemented.
9817 (getDragSourceListeners): Implemented.
9818 (addDragSourceMotionListener): Implemented.
9819 (removeDragSourceMotionListener): Implemented.
9820 (getDragSourceMotionListeners): Implemented.
9821 (getListeners): Implemented.
9822 * java/awt/dnd/DragSourceContext.java
9823 (peer): New member variable.
9824 (cursor): New member variable.
9825 (transferable): New member variable.
9826 (trigger): New member variable.
9827 (dragSourceListener): New member variable.
9828 (image): New member variable.
9829 (offset): New member variable.
9830 (DragSourceContext): Implemented.
9831 (getDragSource): Implemented.
9832 (getComponent): Implemented.
9833 (getTrigger): Implemented.
9834 (getSourceActions): Implemented.
9835 (setCursor): Implemented.
9836 (getCursor): Implemented.
9837 (addDragSourceListener): Implemented.
9838 (removeDragSourceListener): Implemented.
9839 (getTransferable): Implemented.
9840 * java/awt/dnd/DropTarget.java
9841 (DropTargetAutoScroller.component): New member variable.
9842 (DropTargetAutoScroller.point): New member variable.
9843 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9844 (DropTargetAutoScroller.updateLocation): Implemented.
9845 (active): Renamed from isActive, defaults to true now.
9846 (component): New member variable.
9847 (flavorMap): New member variable.
9848 (actions): New member variable.
9849 (dropTargetContext): New member variable.
9850 (dropTargetListener): New member variable.
9851 (DropTarget): Implemented.
9852 (getComponent): Implemented.
9853 (setComponent): Implemented.
9854 (setDefaultActions): Implemented.
9855 (getDefaultActions): Implemented.
9856 (setActive): Use active instead of isActive.
9857 (isActive): Use active instead of isActive.
9858 (addDropTargetListener): Implemented.
9859 (removeDropTargetListener): Implemented.
9860 (getFlavorMap): Implemented.
9861 (setFlavorMap): Implemented.
9862 (getDropTargetContext): Implemented.
9863 (createDropTargetContext): Implemented.
9864 (createDropTargetAutoScroller): Implemented.
9865 * java/awt/dnd/DropTargetContext.java
9866 (TransferableProxy.getTransferDataFlavors): Implemented.
9867 (TransferableProxy.isDataFlavorSupported): Implemented.
9868 (TransferableProxy.getTransferData): Implemented.
9869 (dropTarget): New member variable.
9870 (dtcp): New member variable.
9871 (DropTargetContext): New package private constructor.
9872 (getDropTarget): Implemented.
9873 (getComponent): Implemented.
9874 (addNotify): Implemented.
9875 (removeNotify): Implemented.
9876 (getCurrentDataFlavorsAsList): Implemented.
9877 (isDataFlavorSupported): Implemented.
9878 * java/awt/dnd/MouseDragGestureRecognizer.java
9879 (registerListeners): Implemented.
9880 (unregisterListeners): Implemented.
9881 * Makefile.am
9882 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9883 * Makefile.in: Regenerated.
9884
e589ede6
MK
98852003-03-02 Michael Koch <konqueror@gmx.de>
9886
9887 * java/awt/Component.java
9888 (eventTypeEnabled): New method.
9889 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9890 * java/awt/Container.java
9891 (changeSupport): New member variable.
9892 (addPropertyChangeListener): New methods.
9893 * java/awt/ContainerOrderFocusTraversalPolicy.java
9894 (ContainerOrderFocusTraversalPolicy): Added comment.
9895 (getComponentAfter): Throw exception, documentation added.
9896 (getComponentBefore): Throw exception, documentation added.
9897 (getFirstComponent): Throw exception, documentation added.
9898 (getLastComponent): Throw exception, documentation added.
9899 (getDefaultComponent): Throw exception, documentation added.
9900 * java/awt/EventQueue.java: Reindented.
9901 * java/awt/FocusTraversalPolicy.java:
9902 (FocusTraversalPolicy): Added comment.
9903 (getComponentAfter): Documentation added.
9904 (getComponentBefore): Documentation added.
9905 (getFirstComponent): Documentation added.
9906 (getLastComponent): Documentation added.
9907 (getDefaultComponent): Documentation added.
9908 (getInitialComponent): Documentation added.
9909 * java/awt/ScrollPane.java
9910 (wheelScrollingEnabled): New member variable.
9911 (ScrollPane): Initialize wheelScollingEnabled.
9912 (eventTypeEnabled): New method.
9913 (isWheelScrollingEnabled): New method.
9914 (setWheelScrollingEnabled): New method.
9915
37db829b
MK
99162003-03-02 Michael Koch <konqueror@gmx.de>
9917
9918 * java/net/DatagramSocket.java
9919 (closed): New member variable.
9920 (close): Use closed variable.
9921 (getInetAddress): No need to call isConnected().
9922 (getPort): No need to call isConnected().
9923 (disconnect): Reset remoteAddress and remotePort, fixed typo.
9924 (isClosed): Reimplemented.
9925
c0daa902
MK
99262003-03-02 Michael Koch <konqueror@gmx.de>
9927
9928 * configure.in: Added check for memory mapping of files.
9929 * configure: Regenerated.
9930 * config.h.in: Regenerated.
9931
66c4e258
JT
99322003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
9933
9934 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9935 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9936
3ccd3d70
RM
99372003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9938
9939 * java/io/File.java (normalizePath): Remove trailing separator
9940 on Windows only if path is not of the form "x:\".
9941
9942 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9943 (java::io::File::attr): Change formatting a bit and use
9944 WIN32_EPOCH_MILLIS instead of magic numbers.
9945 (java::io::File::isAbsolute): Path must have at least 3
9946 characters for a UNC network path.
9947 (java::io::File::init_native): Define.
9948 (java::io::File::performCreate): Likewise.
9949 (java::io::File::performSetReadOnly): Likewise.
9950 (java::io::File::performSetLastModified): Likewise.
9951 (java::io::File::performListRoots): Likewise.
9952
5168f1cf
TT
99532003-03-01 Tom Tromey <tromey@redhat.com>
9954
9955 * java/lang/natObject.cc: Don't include assert.h.
9956 (heavy_lock_obj_finalization_proc): Use JvAssert.
9957 (remove_all_heavy): Likewise.
9958 (_Jv_MonitorEnter): Likewise.
9959 (_Jv_MonitorExit): Likewise.
9960 (wait): Likewise.
9961
5bedfc93
RM
99622003-03-01 Ranjit Mathew <rmathew@hotmail.com>
9963
9964 * java/io/File (getAbsolutePath): Prefix drive specifier on
9965 Windows for paths starting with a '\'.
9966 (toURL): Make URL more consistent with what Sun's JDK returns.
9967
9968 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9969 true only if the path is a UNC network path or it starts with a
9970 drive specifier.
9971
9972 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9973 Be prepared to handle either '/' or '\\' in the file path for
9974 Windows if using the "file" protocol.
9975 Canonicalise the file path if using a relative path in the given
9976 context and the "file" protocol.
9977
73058ef6
ME
99782003-03-01 Mohan Embar <gnustuff@thisiscool.com>
9979
9980 * java/lang/natWin32Process.cc (startProcess): Double-quote each
9981 program array element passed to CreateProcess.
9982
f8575098
TT
99832003-03-01 Tom Tromey <tromey@redhat.com>
9984
9985 * java/rmi/registry/RegistryHandler.java: Deprecate.
9986
2759b260
TT
99872003-03-01 Tom Tromey <tromey@redhat.com>
9988
1a8fc8a7
TT
9989 * javax/accessibility/AccessibleEditableText.java,
9990 javax/accessibility/AccessibleHyperlink.java: New versions from
9991 Classpath.
9992
d3c582c3
TT
9993 * gnu/java/locale/LocaleInformation_af_ZA.java,
9994 gnu/java/locale/LocaleInformation_ar_AE.java,
9995 gnu/java/locale/LocaleInformation_ar_BH.java,
9996 gnu/java/locale/LocaleInformation_ar_DZ.java,
9997 gnu/java/locale/LocaleInformation_ar_EG.java,
9998 gnu/java/locale/LocaleInformation_ar_IN.java,
9999 gnu/java/locale/LocaleInformation_ar_IQ.java,
10000 gnu/java/locale/LocaleInformation_ar_JO.java,
10001 gnu/java/locale/LocaleInformation_ar_KW.java,
10002 gnu/java/locale/LocaleInformation_ar_LB.java,
10003 gnu/java/locale/LocaleInformation_ar_LY.java,
10004 gnu/java/locale/LocaleInformation_ar_MA.java,
10005 gnu/java/locale/LocaleInformation_ar_OM.java,
10006 gnu/java/locale/LocaleInformation_ar_QA.java,
10007 gnu/java/locale/LocaleInformation_ar_SD.java,
10008 gnu/java/locale/LocaleInformation_ar_SY.java,
10009 gnu/java/locale/LocaleInformation_ar_TN.java,
10010 gnu/java/locale/LocaleInformation_ar_YE.java,
10011 gnu/java/locale/LocaleInformation_be_BY.java,
10012 gnu/java/locale/LocaleInformation_bn_IN.java,
10013 gnu/java/locale/LocaleInformation_br_FR.java,
10014 gnu/java/locale/LocaleInformation_bs_BA.java,
10015 gnu/java/locale/LocaleInformation_ca_ES.java,
10016 gnu/java/locale/LocaleInformation_cs_CZ.java,
10017 gnu/java/locale/LocaleInformation_cy_GB.java,
10018 gnu/java/locale/LocaleInformation_da_DK.java,
10019 gnu/java/locale/LocaleInformation_de_AT.java,
10020 gnu/java/locale/LocaleInformation_de_BE.java,
10021 gnu/java/locale/LocaleInformation_de_CH.java,
10022 gnu/java/locale/LocaleInformation_de_DE.java,
10023 gnu/java/locale/LocaleInformation_de_LU.java,
10024 gnu/java/locale/LocaleInformation_el_GR.java,
10025 gnu/java/locale/LocaleInformation_en_AU.java,
10026 gnu/java/locale/LocaleInformation_en_BW.java,
10027 gnu/java/locale/LocaleInformation_en_CA.java,
10028 gnu/java/locale/LocaleInformation_en_DK.java,
10029 gnu/java/locale/LocaleInformation_en_GB.java,
10030 gnu/java/locale/LocaleInformation_en_HK.java,
10031 gnu/java/locale/LocaleInformation_en_IE.java,
10032 gnu/java/locale/LocaleInformation_en_IN.java,
10033 gnu/java/locale/LocaleInformation_en_NZ.java,
10034 gnu/java/locale/LocaleInformation_en_PH.java,
10035 gnu/java/locale/LocaleInformation_en_SG.java,
10036 gnu/java/locale/LocaleInformation_en_US.java,
10037 gnu/java/locale/LocaleInformation_en_ZA.java,
10038 gnu/java/locale/LocaleInformation_en_ZW.java,
10039 gnu/java/locale/LocaleInformation_es_AR.java,
10040 gnu/java/locale/LocaleInformation_es_BO.java,
10041 gnu/java/locale/LocaleInformation_es_CL.java,
10042 gnu/java/locale/LocaleInformation_es_CO.java,
10043 gnu/java/locale/LocaleInformation_es_CR.java,
10044 gnu/java/locale/LocaleInformation_es_DO.java,
10045 gnu/java/locale/LocaleInformation_es_EC.java,
10046 gnu/java/locale/LocaleInformation_es_ES.java,
10047 gnu/java/locale/LocaleInformation_es_GT.java,
10048 gnu/java/locale/LocaleInformation_es_HN.java,
10049 gnu/java/locale/LocaleInformation_es_MX.java,
10050 gnu/java/locale/LocaleInformation_es_NI.java,
10051 gnu/java/locale/LocaleInformation_es_PA.java,
10052 gnu/java/locale/LocaleInformation_es_PE.java,
10053 gnu/java/locale/LocaleInformation_es_PR.java,
10054 gnu/java/locale/LocaleInformation_es_PY.java,
10055 gnu/java/locale/LocaleInformation_es_SV.java,
10056 gnu/java/locale/LocaleInformation_es_US.java,
10057 gnu/java/locale/LocaleInformation_es_UY.java,
10058 gnu/java/locale/LocaleInformation_es_VE.java,
10059 gnu/java/locale/LocaleInformation_et_EE.java,
10060 gnu/java/locale/LocaleInformation_eu_ES.java,
10061 gnu/java/locale/LocaleInformation_fa_IR.java,
10062 gnu/java/locale/LocaleInformation_fi_FI.java,
10063 gnu/java/locale/LocaleInformation_fo_FO.java,
10064 gnu/java/locale/LocaleInformation_fr_BE.java,
10065 gnu/java/locale/LocaleInformation_fr_CA.java,
10066 gnu/java/locale/LocaleInformation_fr_CH.java,
10067 gnu/java/locale/LocaleInformation_fr_FR.java,
10068 gnu/java/locale/LocaleInformation_fr_LU.java,
10069 gnu/java/locale/LocaleInformation_ga_IE.java,
10070 gnu/java/locale/LocaleInformation_gd_GB.java,
10071 gnu/java/locale/LocaleInformation_gl_ES.java,
10072 gnu/java/locale/LocaleInformation_gv_GB.java,
10073 gnu/java/locale/LocaleInformation_he_IL.java,
10074 gnu/java/locale/LocaleInformation_hi_IN.java,
10075 gnu/java/locale/LocaleInformation_hr_HR.java,
10076 gnu/java/locale/LocaleInformation_hu_HU.java,
10077 gnu/java/locale/LocaleInformation_id_ID.java,
10078 gnu/java/locale/LocaleInformation_it_CH.java,
10079 gnu/java/locale/LocaleInformation_it_IT.java,
10080 gnu/java/locale/LocaleInformation_iw_IL.java,
10081 gnu/java/locale/LocaleInformation_ja_JP.java,
10082 gnu/java/locale/LocaleInformation_ka_GE.java,
10083 gnu/java/locale/LocaleInformation_kl_GL.java,
10084 gnu/java/locale/LocaleInformation_ko_KR.java,
10085 gnu/java/locale/LocaleInformation_kw_GB.java,
10086 gnu/java/locale/LocaleInformation_lt_LT.java,
10087 gnu/java/locale/LocaleInformation_lv_LV.java,
10088 gnu/java/locale/LocaleInformation_mi_NZ.java,
10089 gnu/java/locale/LocaleInformation_mk_MK.java,
10090 gnu/java/locale/LocaleInformation_mr_IN.java,
10091 gnu/java/locale/LocaleInformation_mt_MT.java,
10092 gnu/java/locale/LocaleInformation_nl_BE.java,
10093 gnu/java/locale/LocaleInformation_nl_NL.java,
10094 gnu/java/locale/LocaleInformation_nn_NO.java,
10095 gnu/java/locale/LocaleInformation_no_NO.java,
10096 gnu/java/locale/LocaleInformation_oc_FR.java,
10097 gnu/java/locale/LocaleInformation_pl_PL.java,
10098 gnu/java/locale/LocaleInformation_pt_BR.java,
10099 gnu/java/locale/LocaleInformation_pt_PT.java,
10100 gnu/java/locale/LocaleInformation_ro_RO.java,
10101 gnu/java/locale/LocaleInformation_ru_RU.java,
10102 gnu/java/locale/LocaleInformation_ru_UA.java,
10103 gnu/java/locale/LocaleInformation_se_NO.java,
10104 gnu/java/locale/LocaleInformation_sk_SK.java,
10105 gnu/java/locale/LocaleInformation_sl_SI.java,
10106 gnu/java/locale/LocaleInformation_sq_AL.java,
10107 gnu/java/locale/LocaleInformation_sr_YU.java,
10108 gnu/java/locale/LocaleInformation_sv_FI.java,
10109 gnu/java/locale/LocaleInformation_sv_SE.java,
10110 gnu/java/locale/LocaleInformation_ta_IN.java,
10111 gnu/java/locale/LocaleInformation_te_IN.java,
10112 gnu/java/locale/LocaleInformation_tg_TJ.java,
10113 gnu/java/locale/LocaleInformation_tl_PH.java,
10114 gnu/java/locale/LocaleInformation_tr_TR.java,
10115 gnu/java/locale/LocaleInformation_uk_UA.java,
10116 gnu/java/locale/LocaleInformation_ur_PK.java,
10117 gnu/java/locale/LocaleInformation_uz_UZ.java,
10118 gnu/java/locale/LocaleInformation_vi_VN.java,
10119 gnu/java/locale/LocaleInformation_yi_US.java,
10120 gnu/java/locale/LocaleInformation_zh_CN.java,
10121 gnu/java/locale/LocaleInformation_zh_HK.java,
10122 gnu/java/locale/LocaleInformation_zh_SG.java,
10123 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
10124 info; from Classpath.
10125
2759b260
TT
10126 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
10127 isPaintPending): New methods.
10128 * gnu/awt/xlib/XFramePeer.java (getState, setState,
10129 setMaximizedBounds): New methods.
10130 (beginLayout, endLayout, isPaintPending): Likewise.
10131 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
10132 (requestFocus): Likewise.
10133 (isObscured): Likewise.
10134 (canDetermineObscurity): Likewise.
10135 (coalescePaintEvent): Likewise.
10136 (updateCursorImmediately): Likewise.
10137 (createVolatileImage): Likewise.
10138 (handlesWheelScrolling): Likewise.
10139 (createBuffers): Likewise.
10140 (getBackBuffer): Likewise.
10141 (flip): Likewise.
10142 (destroyBuffers): Likewise.
10143
10144 * Makefile.in: Rebuilt.
10145 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
10146 RobotPeer.java.
10147 * gnu/java/awt/GLightweightPeer.java,
10148 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10149 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10150 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10151 gnu/java/awt/peer/gtk/GtkFramePeer.java,
10152 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10153 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10154 java/awt/dnd/peer/DragSourceContextPeer.java,
10155 java/awt/dnd/peer/DropTargetContextPeer.java,
10156 java/awt/peer/ButtonPeer.java,
10157 java/awt/peer/CheckboxMenuItemPeer.java,
10158 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
10159 java/awt/peer/ComponentPeer.java,
10160 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
10161 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
10162 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
10163 java/awt/peer/MenuBarPeer.java,
10164 java/awt/peer/MenuComponentPeer.java,
10165 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
10166 java/awt/peer/PopupMenuPeer.java,
10167 java/awt/peer/ScrollPanePeer.java,
10168 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
10169 java/awt/peer/TextComponentPeer.java,
10170 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
10171 New versions from Classpath.
10172 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
10173 * java/awt/peer/RobotPeer.java: Likewise.
10174
d9199663
MW
101752003-03-01 Mark Wielaard <mark@klomp.org>
10176
10177 * java/io/ObjectInputStream.java: Reindent.
10178 * java/io/ObjectOutputStream.java: Likewise.
10179
a6fdf2d3
HB
101802003-02-28 Hans Boehm <Hans.Boehm@hp.com>
10181
10182 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
d9199663 10183 jvalue for each argument. Simplify.
a6fdf2d3
HB
10184 * testsuite/libjava.jni/calls.c (docall),
10185 testsuite/libjava.jni/calls.java (longpb_f): check for argument
10186 misalignment.
10187
4480b3dc
MW
101882003-02-28 Mark Wielaard <mark@klomp.org>
10189
10190 * Makefile.am (nat_source_files): Remove
10191 java/io/natObjectOutputStream.cc.
10192 * Makefile.in: Regenerated.
10193 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
10194 * java/io/ObjectStreamField.java (typename): New field.
10195 (ObjectStreamField(String, Class)): Initialize new field.
10196 (ObjectStreamField(String, String)): New Constructor.
10197 (getTypeCode): Use new field.
10198 (getTypeString): Use new field.
10199 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
10200 ObjectStreamExceptions. Remember and reset old BlockDataMode.
10201 Handle reading of Proxy classes. Never drain(), just write
10202 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
10203 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
10204 (flush): Call flush(), not just drain().
10205 (writeBoolean): Always use blockDataOutput.
10206 (writeByte): Likewise.
10207 (writeShort): Likewise.
10208 (writeChar): Likewise.
10209 (writeInt): Likewise.
10210 (writeLong): Likewise.
10211 (writeFloat): Likewise.
10212 (writeDouble): Likewise.
10213 (writeBytes): Likewise.
10214 (putfield (put(String,Object))): Throw IllegalArgumentException if
10215 field cannot be found.
10216 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
10217 (writeArraySizeAndElements): Write byte[] in one go.
10218 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
10219 set BlockDataMode to false.
10220 (annotateProxyClass): New method.
10221 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
10222 (getField): No longer native.
10223 (getMethod): Likewise.
10224 (setBlockDataMode): Always drain() on switch, return old mode.
10225 (static): New static code block.
10226 * java/io/natObjectOutputStream.cc: Removed.
10227 * java/io/ObjectInputStream.java (getField): No longer native.
10228 (getMethod): Likewise.
10229 (readObject): Remember and reset old BlockDataMode. Track whether
10230 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
10231 TC_LONGSTRING.
10232 (defaultReadObject): Set BlockDataMode to false during readFields.
10233 (resolveClass): Create new SecurityManager if necessary.
10234 Use Class.forName() if null ClassLoader found.
10235 (read(byte[],int,int): Copy remaining bytes to data before calling
10236 readNextBlock().
10237 (readFields): Set and reset BlockDataMode on call_read_method.
10238 Catch NoSuchFieldErrors.
10239 (setBlockDataMode): Return old mode.
10240 (static): New static code block.
10241 * java/io/natObjectInputStream.cc (getField): Removed.
10242 (getMethod): Likewise.
10243
3894fe32
MK
102442003-02-27 Michael Koch <konqueror@gmx.de>
10245
10246 * java/beans/Beans.java,
10247 java/beans/FeatureDescriptor.java
10248 java/beans/PropertyEditorManager.java:
10249 Reformated to GNU style.
10250
9d4c1565
MK
102512003-02-25 Michael Koch <konqueror@gmx.de>
10252
10253 * gnu/java/nio/MappedByteFileBuffer.java,
10254 gnu/java/nio/natMappedByteFileBuffer.cc:
10255 New files, both are not compiled yet to get not noncompiling CVS.
10256
2afced11
TT
102572003-02-24 Tom Tromey <tromey@redhat.com>
10258
10259 * java/util/prefs/AbstractPreferences.java (isUserNode):
10260 Implemented.
10261
d99c7b11
TT
102622003-02-24 Tom Tromey <tromey@redhat.com>
10263
10264 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10265 Deprecate.
10266 * java/lang/Thread.java (resume): Deprecate.
10267 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10268 in @deprecated.
10269
cf88ede3
TT
102702003-02-23 Tom Tromey <tromey@redhat.com>
10271
10272 * Makefile.in: Rebuilt.
10273 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10274
804b2c48
TT
102752003-02-23 Tom Tromey <tromey@redhat.com>
10276
10277 * java/lang/natRuntime.cc (libraries_size, libraries_count,
10278 libraries): Removed.
10279 (add_library): Removed.
10280 (_load): Don't call add_library.
10281 (loadLibraryInternal): Likewise.
10282 (init): Likewise.
10283 (lookup_data): New struct.
10284 (find_symbol): New function.
10285 (_Jv_FindSymbolInExecutable): Use it.
10286
514e19c9
AG
102872002-02-21 Anthony Green <green@redhat.com>
10288
10289 * java/lang/Thread.java (Thread): New constructor taking stack
10290 size parameter (ignored for now).
10291 * Many methods: Merged GNU Classpath documentation.
10292
10293 * java/lang/Class.java (finalize): throws a Throwable.
10294
3a3f137e
MW
102952003-02-21 Mark Wielaard <mark@klomp.org>
10296
10297 * java/util/zip/ZipEntry.java (setComment): Don't check length when
10298 argument is null.
10299
7b540482
MW
103002003-02-21 Mark Wielaard <mark@klomp.org>
10301
10302 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10303 then 65535 chars throw IllegalArgumentException.
10304
fefabda5
MW
103052003-02-21 Mark Wielaard <mark@klomp.org>
10306
10307 * java/util/zip/ZipFile.java (finalize): New method.
10308
2d4fad8e
MK
103092003-02-21 Michael Koch <konqueror@gmx.de>
10310
10311 * gnu/java/nio/natSocketChannelImpl.cc:
10312 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10313 <cato@df.lth.se> for pointing to it.
10314
4c24ac27
RN
103152003-02-20 Raif S. Naffah <raif@fl.net.au>
10316
10317 * java/math/BigInteger.java (euclidInv): Take result array as an
10318 argument. Updated all callers.
10319 (modInverse): Removed unused variables.
10320
3343fdd2
AO
103212003-02-20 Alexandre Oliva <aoliva@redhat.com>
10322
10323 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10324 config.status.
10325 * configure: Rebuilt.
10326
bb7dd383
MK
103272003-02-19 Michael Koch <konqueror@gmx.de>
10328
10329 * gnu/java/nio/natSocketChannelImpl.cc:
10330 Added support for platforms without network support.
10331
a191802c
RO
103322003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10333
10334 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10335 after config.h. Use <> for consistency.
10336 * java/lang/natObject.cc: Likewise.
10337 * java/lang/natRuntime.cc: Likewise.
10338 * java/lang/natSystem.cc: Likewise.
10339 * java/util/natTimeZone.cc: Likewise.
10340 * win32.cc: Likewise.
10341 * include/posix.h (fcntl, socket, connect, close, bind, accept,
10342 listen, write, read): Undef to avoid interference from OS macros.
10343
681979f0
MK
103442003-02-19 Michael Koch <konqueror@gmx.de>
10345
10346 * gnu/java/nio/ByteBufferImpl.java
10347 (ByteBufferImpl): Renamed two variables.
10348 * gnu/java/nio/CharBufferImpl.java
10349 (CharBufferImpl): Renamed two variables.
10350 * gnu/java/nio/DoubleBufferImpl.java
10351 (DoubleBufferImpl): Renamed two variables.
10352 * gnu/java/nio/FloatBufferImpl.java
10353 (FloatBufferImpl): Renamed two variables.
10354 * gnu/java/nio/IntBufferImpl.java
10355 (IntBufferImpl): Renamed two variables.
10356 * gnu/java/nio/LongBufferImpl.java
10357 (LongBufferImpl): Renamed two variables.
10358 * gnu/java/nio/ShortBufferImpl.java
10359 (ShortBufferImpl): Renamed two variables.
10360 * java/nio/CharBuffer.java
10361 (wrap): Fixed arguments to CharBufferImpl constructor.
10362 (hasArray): Only not read-only buffers have backing arrays.
10363 (length): Documentation added.
10364 (subSequence): Documentation added.
10365 * java/nio/DoubleBuffer.java
10366 (hasArray): Only not read-only buffers have backing arrays.
10367 * java/nio/FloatBuffer.java
10368 (hasArray): Only not read-only buffers have backing arrays.
10369 * java/nio/IntBuffer.java
10370 (hasArray): Only not read-only buffers have backing arrays.
10371 * java/nio/LongBuffer.java
10372 (hasArray): Only not read-only buffers have backing arrays.
10373 * java/nio/ShortBuffer.java
10374 (hasArray): Only not read-only buffers have backing arrays.
10375
0887aae1
MK
103762003-02-19 Michael Koch <konqueror@gmx.de>
10377
10378 * javax/accessibility/AccessibleContext.java
10379 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10380
d8193b85
MK
103812003-02-19 Michael Koch <konqueror@gmx.de>
10382
10383 * java/awt/ScrollPaneAdjustable.java: Reformated.
10384
8d928fb1
MK
103852003-02-19 Michael Koch <konqueror@gmx.de>
10386
10387 * gnu/awt/j2d/Graphics2DImpl.java
10388 (getFontRenderContext): New method.
10389 (drawGlyphVector): New method.
10390 * java/awt/Graphics2D.java
10391 (getFontRenderContext): New abstract method.
10392 (drawGlyphVector): New abstract method.
10393
56bba8cf
HB
103942003-02-18 Hans Boehm <Hans.Boehm@hp.com>
10395
10396 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10397 if necessary.
10398
10399 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10400 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10401 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10402 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10403 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10404 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10405 (setFont, gtkSetFont): add.
10406 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10407 Propagate font to peer. (setFont): add FIXME comment.
10408
10409 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10410 (gtkTextGetSize): fix height, width computation.
10411
10412 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10413 Make X font name a bit less bogus.
10414
10415 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10416 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10417
10418 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10419 (processAdjustmentEvent): Adjust value.
10420
10421 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10422 logic errors.
10423
10424 * java/awt/Component.java (setVisible, show, hide): Call show and
10425 hide methods in subclasses.
10426 (getPreferredSize): don't set prefSize before we have peer.
10427
10428 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10429 Guess (0,0) if we don't have peer.
10430
10431
69c107ef
MK
104322003-02-18 Michael Koch <konqueror@gmx.de>
10433
10434 * java/nio/channels/FileChannel.java
10435 (toString): New implementation, added documentation.
10436 (map): Added exception documentation.
10437 (size): Added exception documentation.
10438 (write): New methods, documentation work.
10439 (read): New methods, documentation work.
10440 (implCloseChannel): Rewrote exception documentation.
10441 (force): Throws IOException, added documentation.
10442 (lock): New methods.
10443 (tryLock): New methods.
10444 (position): New methods.
10445 (transferTo): New method.
10446 (transferFrom): New method.
10447 (truncate): New method.
10448 * java/nio/channels/spi/SelectorProvider.java
10449 (provider): Implemented.
10450 * Makefile.am
10451 (ordinary_java_source_files): Added the following files:
10452 gnu/java/nio/DatagramChannelImpl.java
10453 gnu/java/nio/FileChannelImpl.java
10454 gnu/java/nio/PipeImpl.java
10455 gnu/java/nio/SelectionKeyImpl.java
10456 gnu/java/nio/SelectorImpl.java
10457 gnu/java/nio/SelectorProviderImpl.java
10458 gnu/java/nio/ServerSocketChannelImpl.java
10459 gnu/java/nio/SocketChannelImpl.java
10460 java/nio/channels/FileLock.java
10461 (nat_java_source_files): Added the following files:
10462 gnu/java/nio/natFileChannelImpl.cc
10463 gnu/java/nio/natSelectorImpl.cc
10464 gnu/java/nio/natSocketChannelImpl.cc
10465 * Makefile.in: Regenerated.
10466
59ac5a17
TT
104672003-02-17 Tom Tromey <tromey@redhat.com>
10468
10469 * java/awt/image/ColorModel.java: Re-merged with Classpath.
10470 * java/awt/image/ImageFilter.java: Likewise.
10471
b9e16504
RN
104722003-02-17 Raif S. Naffah <raif@fl.net.au>
10473
10474 * java/math/BigInteger.java (euclidInv): Return array of
10475 `BigInteger's. Changed all callers.
10476
bea63b0a
RM
104772003-02-17 Ranjit Mathew <rmathew@hotmail.com>
10478
10479 * java/util/Properties.java (store): Move the code formerly in
10480 list(), into this method.
10481 (list (PrintStream)): Just call list (PrintWriter) with a
10482 PrintWriter object constructed from the given PrintStream object.
10483 (list (PrintWriter)): Emulate the output of Properties.list()
10484 as found in JDK 1.3/1.4.
10485
b0e1d9ae
MK
104862003-02-17 Michael Koch <konqueror@gmx.de>
10487
10488 * java/net/DatagramSocket.java
10489 (connect): Merged with classpath.
10490 (disconnect): Merged documentation with classpath.
10491 (receice): Merged documentation with classpath.
10492 (send): Merged documentation with classpath.
10493
0701e74c
MK
104942003-02-17 Michael Koch <konqueror@gmx.de>
10495
10496 * java/awt/dnd/DragSourceContext.java
10497 (addDragSourceListener): Added documentation.
10498 * java/awt/dnd/DragSourceDragEvent.java
10499 (serialVersionUID): New member variable.
10500 (getDropAction): Reformated.
10501 * java/awt/dnd/DragSourceDropEvent.java
10502 (serialVersionUID): New member variable.
10503 (dropSuccess): Renamed from success for serialization issues.
10504 * java/awt/dnd/DragSourceEvent.java
10505 (serialVersionUID): New member variable.
10506 * java/awt/dnd/DropTarget.java
10507 (serialVersionUID): New member variable.
10508 (DropTarget): Implemented, documentation reworked.
10509 (setComponent): Documentation added.
10510 (getComponent): Documentation added.
10511 (setDefaultActions): Documentation added.
10512 (getDefaultActions): Documentation added.
10513 (addDropTargetListener): Documentation added.
10514 * java/awt/dnd/DropTargetContext.java
10515 (DropTargetContext): Documentation added.
10516 (TransferableProxy.TransferableProxy): New method.
10517 (dropComplete): Fixed documentation.
10518 (getTransferable): Fixed documentation.
10519 (createTransferableProxy): Implemented.
10520 * java/awt/dnd/DropTargetDragEvent.java
10521 (DropTargetDragEvent): Documentation added.
10522 (serialVersionUID): New member variable.
10523 (DropTargetDragEvent): Throw exceptions, documentation added.
10524 (acceptDrag): Implemented.
10525 (getCurrentDataFlavors): Implemented.3yy
10526 (getCurrentDataFlavorsAsList): Implemented.
10527 (isDataFlavorSupported): Implemented.
10528 (rejectDrag): Implemented.
10529 * java/awt/dnd/DropTargetDropEvent.java
10530 (DropTargetDropEvent): Documentation added.
10531 (serialVersionUID): New member variable.
10532 (actions): Renamed from srcActions for serialization issues.
10533 (isLocalTx): Renamed from isLocalTx for serialization issues.
10534 (DropTargetDropEvent): New implementation, throw exceptions,
10535 documentation added.
10536 (getCurrentDataFlavors): Implemented.
10537 (getCurrentDataFlavorsAsList): Implemented.
10538 (isDataFlavorSupported): Implemented.
10539 (getSourceActions): Implemented.
10540 (getDropAction): Implemented.
10541 (getTransferable): Implemented.
10542 (acceptDrop): Implemented.
10543 (rejectDrop): Implemented.
10544 * java/awt/dnd/DropTargetListener.java
10545 (drop): Fixed documentation.
10546 * java/awt/dnd/MouseDragGestureRecognizer.java
10547 (MouseDragGestureRecognizer): Documentation added.
10548
105492003-02-17 Michael Koch <konqueror@gmx.de>
10550
10551 * java/awt/font/FontRenderContext.java,
10552 java/awt/font/ShapeGraphicAttribute.java,
10553 java/awt/font/MultipleMaster.java,
10554 java/awt/font/TransformAttribute.java,
10555 java/awt/font/GlyphJustificationInfo.java,
10556 java/awt/font/LineBreakMeasurer.java,
10557 java/awt/font/TextMeasurer.java,
10558 java/awt/font/TextLayout.java,
10559 java/awt/font/LineMetrics.java,
10560 java/awt/font/TextAttribute.java,
10561 java/awt/font/GlyphMetrics.java,
10562 java/awt/font/OpenType.java,
10563 java/awt/font/GlyphVector.java,
10564 java/awt/font/GraphicAttribute.java,
10565 java/awt/font/ImageGraphicAttribute.java,
10566 java/awt/font/NumericShaper.java: New files.
10567 * Makefile.am
10568 (awt_java_source_files): Added the following files:
10569 java/awt/font/FontRenderContext.java
10570 java/awt/font/ShapeGraphicAttribute.java
10571 java/awt/font/MultipleMaster.java
10572 java/awt/font/TransformAttribute.java
10573 java/awt/font/GlyphJustificationInfo.java
10574 java/awt/font/LineBreakMeasurer.java
10575 java/awt/font/TextMeasurer.java
10576 java/awt/font/TextLayout.java
10577 java/awt/font/LineMetrics.java
10578 java/awt/font/TextAttribute.java
10579 java/awt/font/GlyphMetrics.java
10580 java/awt/font/OpenType.java
10581 java/awt/font/GlyphVector.java
10582 java/awt/font/GraphicAttribute.java
10583 java/awt/font/ImageGraphicAttribute.java
10584 java/awt/font/NumericShaper.java
10585 * Makefile.in: Regenerated.
10586
105872003-02-17 Michael Koch <konqueror@gmx.de>
10588
10589 * java/awt/print/Paper.java
10590 (Paper): Implements Cloneable.
10591 * java/awt/print/PrinterJob.java
10592 (setJobName): Return value must be void.
10593 (print): Throws PrinterException.
10594
97a6e368
TT
105952003-02-16 Tom Tromey <tromey@redhat.com>
10596
10597 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10598 variable.
10599
c68c712e
MK
106002003-02-15 Michael Koch <konqueror@gmx.de>
10601
10602 * java/awt/datatransfer/DataFlavor.java
10603 (isRepresentationClassByteBuffer): Removed try-catch block.
10604 (isRepresentationClassCharBuffer): Removed try-catch block.
10605 (isRepresentationClassReader): Removed try-catch block.
10606
a5915965
JR
106072003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10608
10609 * java/nio/charset/Charset.java
10610 (isRegistered): Fixed method args and implementation.
10611 * java/nio/charset/CharsetEncoder.java
10612 (unmappableCharacterAction): New method.
10613
30df932c
MK
106142003-02-15 Michael Koch <konqueror@gmx.de>
10615
10616 * java/awt/CheckboxMenuItem.java
10617 (CheckBoxMenuItem): Dont implement Serializable.
10618 (getListeners): New method,
10619 (getItemListeners): New method.
10620 * java/awt/Choice.java
10621 (getListeners): New method,
10622 (getItemListeners): New method.
10623 * java/awt/Container.java
10624 (getListeners): Added exception documentation.
10625 (setFocusTraversalKeys): Throw exceptions, added documentattion.
10626 (getFocusTraversalKeys): Added documentation.
10627 (areFocusTraversalKeysSet): Added documentation.
10628 (applyComponentOrientation): Added documentation.
10629 * java/awt/ContainerOrderFocusTraversalPolicy.java
10630 (implicitDownCycleTraversal): Renamed from downCycle for
10631 serialization.
10632 (ContainerOrderFocusTraversalPolicy): Added documentation.
10633 (accept): Reformated.
10634 * java/awt/Dialog.java
10635 (Dialog): Dont implement Serializable.
10636 (Dialog): Added documentation.
10637 * java/awt/Font.java
10638 (Font): Dont use absolute class name.
10639 * java/awt/Frame.java
10640 (Frame): Font implement Serializable.
10641 * java/awt/List.java
10642 (getListeners): New method,
10643 (getActionListeners): New method.
10644 (getItemListeners): New method.
10645 * java/awt/Menu.java
10646 (countItems): New deprecated method.
10647 * java/awt/Scrollbar.java
10648 (getListeners): New method,
10649 (getAdjustmentListeners): New method,
10650 * java/awt/TextComponent.java
10651 (getListeners): New method,
10652 (getTextListeners): New method,
10653 * java/awt/TextField.java
10654 (getListeners): New method,
10655 (getActionListeners): New method.
10656 * java/awt/Window.java
10657 (windowFocusListener): New member variable.
10658 (windowStateListener): New member variable.
10659 (getWindowFocusListeners): New method.
10660 (getWindowStateListeners): New method.
10661 (addWindowFocusListener): New method.
10662 (addWindowStateListener): New method.
10663 (removeWindowFocusListener): New method.
10664 (removeWindowStateListener): New method.
10665 * java/awt/datatransfer/DataFlavor.java
10666 (isRepresentationClassByteBuffer): New method.
10667 (isRepresentationClassCharBuffer): New method.
10668 (isRepresentationClassReader): New method.
10669
ce5b5a5e
MW
106702003-02-14 Mark Wielaard <mark@klomp.org>
10671
10672 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10673 zero when there is an exponent and the significant is zero.
10674 (divide): Always set scale to newScale even in special ZERO case.
10675
b8c86c6d
TT
106762003-02-14 Tom Tromey <tromey@redhat.com>
10677
10678 * java/lang/System.java (properties): Use Properties.clone.
10679 (setProperties): Likewise.
10680
b9799152
MK
106812003-02-14 Michael Koch <konqueror@gmx.de>
10682
10683 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10684 * gnu/java/nio/ServerSocketChannelImpl.java
10685 (SocketAccept): Removed.
10686 (accept): Commented out use of SocketAccept.
10687
6f2ffb37
TT
106882003-02-13 Tom Tromey <tromey@redhat.com>
10689
10690 * verify.cc (state::seen_subrs): New field.
10691 (state::state): Initialize it.
10692 (state::clean_subrs): New method.
10693 (state::~state): Call it.
10694 (state::copy): Copy subroutine list.
10695 (state::add_subr): New method.
10696 (state::merge): Only register a change if the current subroutine
10697 hasn't yet been noted.
10698
11477585
MW
106992003-02-13 Mark Wielaard <mark@klomp.org>
10700
10701 * java/io/InputStreamReader.java (getEncoding): Return null when
10702 closed.
10703 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10704
530ee84d
MW
107052003-02-13 Mark Wielaard <mark@klomp.org>
10706
10707 * java/util/zip/InflaterInputStream.java (read): Return zero when len
10708 is zero.
10709
8ad2b7a2
MW
107102003-02-13 Mark Wielaard <mark@klomp.org>
10711
10712 * java/io/BufferedOutputStream.java (write(int)): Only flush when
10713 next byte cannot be buffered.
10714
659efb32
MK
107152003-02-13 Michael Koch <konqueror@gmx.de>
10716
10717 * java/awt/Label.java
10718 (Label): Don't implement Serializable directly.
10719 (addNotify): Fixed typo in documentation.
10720 * java/awt/List.java
10721 (List): Don't implement Serializable directly.
10722 * java/awt/PopupMenu.java
10723 (PopupMenu): Don't implement Serializable directly.
10724 * java/awt/ScrollPane.java
10725 (ScrollPane): Don't implement Serializable directly.
10726 * java/awt/Scrollbar.java
10727 (Scrollbar): Don't implement Serializable directly.
10728 * java/awt/TextArea.java
10729 (preferredSize): Fixed method arguments.
10730 * java/awt/TextField.java
10731 (TextField): Don't implement Serializable directly.
10732 * java/awt/color/ICC_ColorSpace.java
10733 (fromCIOXYZ): Documentation added.
10734 (getMinValue): Documentation added.
10735 (getMaxValue): Documentation added.
10736 * java/awt/datatransfer/DataFlavor.java
10737 (isMimeTypeEqual): May not be final.
10738 (clone): Throws CloneNotSupportedException.
10739 (getReaderForText): Don't throws UnsupportedEncodingException.
10740
1cb02bdf
MK
107412003-02-13 Michael Koch <konqueror@gmx.de>
10742
10743 * gnu/java/awt/peer/gtk/GdkGraphics.java
10744 (drawString): New stubbed method.
10745 * java/awt/Graphics.java
10746 (drawString): New method.
10747
894c84e4
CM
107482003-02-13 Casey Marshall <rsdio@metastatic.org>
10749
10750 PR libgcj/9271:
10751 * java/security/SecureRandom.java (next): Avoid bias in results.
10752
6b603eb9
MK
107532003-02-13 Michael <konqueror@gmx.de>
10754
10755 * gnu/java/nio/FileChannelImpl.java
10756 (lengthInternal): Must be native.
10757 (size): Check if channel is already closed.
10758 (implCloseChannel): Reformated.
10759 (read): w was unused, removed it.
10760 (read): Removed.
10761 (read): New method.
10762 (write): New method.
10763 (map): Check arguments.
10764 (force): Throws IOException, check if channel is closed.
10765 (transferTo): New method.
10766 (transferFrom): New method.
10767 (lock): New method.
10768 (tryLock): New method.
10769 (position): New method.
10770 (truncate): New method.
10771 (nio_mmap_file): Uncommented.
10772 (nio_munmap_file): Uncommented.
10773 (nio_msync): Uncommented.
10774 * gnu/java/nio/natFileChannelImpl.cc: New file.
10775
8c9c9dfb
MK
107762003-02-13 Michael Koch <konqueror@gmx.de>
10777
10778 * java/nio/ByteBuffer.java
10779 (endian): New member variable.
10780 (get): New methods.
10781 (equals): New method.
10782 (compareTo): New method.
10783 (order): New methods.
10784 (compact): New method.
10785 (isDirect): New method.
10786 (slice): New method.
10787 (duplicate): New method.
10788 (asReadOnlyBuffer): New method.
10789 (asCharBuffer): New method.
10790 (asDoubleBuffer): New method.
10791 (asFloatBuffer): New method.
10792 (asIntBuffer): New method.
10793 (asLongBuffer): New method.
10794 (asShortBuffer): New method.
10795 (get*): New methods.
10796 (put*): New methods.
10797 (toString): New method.
10798 * java/nio/CharBuffer.java
10799 (CharBuffer): Implement Comparable instead of Cloneable.
10800 (get): May not be final.
10801 (put): May not be final.
10802
4cce66c3
RM
108032002-02-13 Ranjit Mathew <rmathew@hotmail.com>
10804
10805 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10806 lastIndexOf( ) instead of indexOf( ) to find the colon before
10807 the line number, because Win32 file names might contain a
10808 drive letter and a colon at the start of an absolute path.
10809
3b95ff5e
MK
108102003-02-13 Michael Koch <konqueror@gmx.de>
10811
10812 * gnu/java/nio/natSocketChannelImpl.cc
10813 (SocketConnect): This is not implemented yet.
10814 (SocketBind): This is not implemented yet.
10815
9038b8b4
MK
108162003-02-13 Michael Koch <konqueror@gmx.de>
10817
10818 * gnu/java/nio/natByteBufferImpl.cc,
10819 gnu/java/nio/natCharBufferImpl.cc,
10820 gnu/java/nio/natDoubleBufferImpl.cc,
10821 gnu/java/nio/natFloatBufferImpl.cc,
10822 gnu/java/nio/natIntBufferImpl.cc,
10823 gnu/java/nio/natLongBufferImpl.cc,
10824 gnu/java/nio/natShortBufferImpl.cc:
10825 Added copyright and license.
10826 * java/nio/DoubleBuffer.java,
10827 java/nio/FloatBuffer.java,
10828 java/nio/IntBuffer.java,
10829 java/nio/LongBuffer.java,
10830 java/nio/ShortBuffer.java
10831 (array): Throw exceptions.
10832 (arrayOffset): Throw exceptions.
10833
63640075
MK
108342003-02-13 Michael Koch <konqueror@gmx.de>
10835
10836 * gnu/java/util/prefs/FileBasedFactory.java,
10837 gnu/java/util/prefs/MemmoryBasedFactory.java,
10838 gnu/java/util/prefs/MemoryBasedPreferences.java,
10839 gnu/java/util/prefs/NodeReader.java,
10840 gnu/java/util/prefs/NodeWriter.java,
10841 java/util/prefs/AbstractPreferences.java,
10842 java/util/prefs/BackingStoreException.java,
10843 java/util/prefs/InvalidPreferencesFormatException.java,
10844 java/util/prefs/NodeChangeEvent.java,
10845 java/util/prefs/NodeChangeListener.java,
10846 java/util/prefs/PreferenceChangeEvent.java,
10847 java/util/prefs/PreferenceChangeListener.java,
10848 java/util/prefs/Preferences.java,
10849 java/util/prefs/PreferencesFactory.java:
10850 New files, all merged from classpath.
10851 * Makefile.am
10852 (ordinary_java_source_files): Added the following files:
10853 gnu/java/util/prefs/FileBasedFactory.java,
10854 gnu/java/util/prefs/MemmoryBasedFactory.java,
10855 gnu/java/util/prefs/MemoryBasedPreferences.java,
10856 gnu/java/util/prefs/NodeReader.java,
10857 gnu/java/util/prefs/NodeWriter.java,
10858 (core_java_source_files): Added the following files:
10859 java/util/prefs/AbstractPreferences.java,
10860 java/util/prefs/BackingStoreException.java,
10861 java/util/prefs/InvalidPreferencesFormatException.java,
10862 java/util/prefs/NodeChangeEvent.java,
10863 java/util/prefs/NodeChangeListener.java,
10864 java/util/prefs/PreferenceChangeEvent.java,
10865 java/util/prefs/PreferenceChangeListener.java,
10866 java/util/prefs/Preferences.java,
10867 java/util/prefs/PreferencesFactory.java
10868 * Makefile.in: Regenerated.
10869
31aef004
MK
108702003-02-13 Michael Koch <konqueror@gmx.de>
10871
10872 * java/net/NetPermission.java
10873 (NetPermission): Make doucmentation match the method declaration.
10874 * java/net/NetworkInterface.java
10875 (equals): Reformated for GNU coding style.
10876 * java/net/ServerSocket.java: Merged with classpath.
10877 * java/net/Socket.java: Partly merged with classpath (Added some @since).
10878 * java/net/SocketImpl.java
10879 (localPort): Merged with classpath (initialize with -1).
10880 * java/net/SocketPermission.java: Merged with classpath (reindented).
10881 * java/net/URLDecoder.java: Merged with classpath (reindented).
10882
4e3243ef
MK
108832003-02-13 Michael Koch <konqueror@gmx.de>
10884
10885 * java/awt/GridBagConstraints.java
10886 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10887 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10888 * java/awt/KeyboardFocusManager.java
10889 (setGlobalCurrentFocusCycleRoot): Must be public.
10890 * java/awt/MenuComponent.java
10891 (MenuComponent): Must be public.
10892 * java/awt/Toolkit.java:
10893 Added some empty lines to make documentation more readable.
10894 (getFontPeer): Added @deprecated.
10895 (getColorModel): Added exception documentation.
10896 (getProperty): Fixed documentation.
10897
c4ebd83d
JS
108982003-02-12 Jeff Sturm <jsturm@one-point.com>
10899
10900 * configure.host (alpha*-*): Default to -mieee.
10901 * configure.in (IEEESPEC): New.
10902 * libgcj.spec.in (jc1): Add IEEESPEC.
10903 * configure: Rebuild.
10904
ea5a63a2
RM
109052003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10906
10907 * include/win32.h: Include ws2tcpip.h instead of
10908 winsock.h to obtain definition of the socklen_t type.
10909 Remove IP_TOS definition - not needed with ws2tcpip.h
10910 (_Jv_connect): Correct slight formatting error.
10911
c79d7702
RM
109122003-02-12 Ranjit Mathew <rmathew@hotmail.com>
10913
10914 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10915 size of the arguments for a JNI function. For Win32,
10916 modify to search for all forms of possible exported
10917 names of an stdcall JNI function.
10918 (_Jv_JNIMethod::call): Modify to calculate the size
10919 of the arguments passed to a JNI function and pass
10920 it to _Jv_LookupJNIMethod.
10921
0e0335e3
MK
109222003-02-12 Michael Koch <konqueror@gmx.de>
10923
10924 * java/nio/channels/Channels.java: New file.
10925 * Makefile.am
10926 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10927 * Makefile.in: Regenerated.
10928
ad2e63d5
MK
109292003-02-12 Michael Koch <konqueror@gmx.de>
10930
10931 * java/nio/ByteBuffer.java
10932 (allocate): Implemented.
10933 (wrap): Implemented.
10934 * java/nio/CharBuffer.java:
10935 Some documentation added and reworked.
10936 (endian): Removed.
10937 (allocate): Implemented.
10938 (wrap): Implemented.
10939 (array): Throw exceptions.
10940 (arrayOffset): Throw exceptions.
10941 (toString): Implemented.
10942 (length): Implemented.
10943 (put): Implemented.
10944 (charAt): Implemented.
10945
8f561af7
JL
109462003-02-11 John Leuner <jewel@debian.org>
10947
cc687dae
TT
10948 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
10949 reads from end of file.
8f561af7 10950
668ec083
RM
109512003-02-11 Ranjit Mathew <rmathew@hotmail.com>
10952
10953 * java/io/natFileDescriptorWin32.cc
10954 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10955 returns with Win32 error code ERROR_BROKEN_PIPE.
10956
68441a3b
MK
109572003-02-11 Michael Koch <konqueror@gmx.de>
10958
10959 * Makefile.in
10960 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10961
248606ee
MK
109622003-02-11 Michael Koch <konqueror@gmx.de>
10963
10964 * gnu/java/nio/ByteBufferImpl.java:
10965 Reformated and removed some code.
10966 (backing_buffer): Removed.
10967 (array_offset): Removed.
10968 (ro): Renamed to readOnly.
10969 (ByteBufferImpl): Use parent constructor, initialize readOnly.
10970 * gnu/java/nio/CharBufferImpl.java:
10971 Reformated and removed some code.
10972 (array_offset): Removed.
10973 (ro): Renamed to readOnly.
10974 (CharBufferImpl): Use parent constructor, initialize readOnly.
10975 (inc_pos): Removed.
10976 (order): New method.
10977 * gnu/java/nio/DoubleBufferImpl.java:
10978 Reformated and removed some code.
10979 (array_offset): Removed.
10980 (ro): Renamed to readOnly.
10981 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10982 (inc_pos): Removed.
10983 (order): New method.
10984 * gnu/java/nio/FloatBufferImpl.java:
10985 Reformated and removed some code.
10986 (array_offset): Removed.
10987 (ro): Renamed to readOnly.
10988 (FloatBufferImpl): Use parent constructor, initialize readOnly.
10989 (inc_pos): Removed.
10990 (order): New method.
10991 * gnu/java/nio/IntBufferImpl.java:
10992 Reformated and removed some code.
10993 (array_offset): Removed.
10994 (ro): Renamed to readOnly.
10995 (IntBufferImpl): Use parent constructor, initialize readOnly.
10996 (inc_pos): Removed.
10997 (order): New method.
10998 * gnu/java/nio/LongBufferImpl.java:
10999 Reformated and removed some code.
11000 (array_offset): Removed.
11001 (ro): Renamed to readOnly.
11002 (LongBufferImpl): Use parent constructor, initialize readOnly.
11003 (inc_pos): Removed.
11004 (order): New method.
11005 * gnu/java/nio/ShortBufferImpl.java:
11006 Reformated and removed some code.
11007 (array_offset): Removed.
11008 (ro): Renamed to readOnly.
11009 (ShortBufferImpl): Use parent constructor, initialize readOnly.
11010 (inc_pos): Removed.
11011 (order): New method.
11012 * Makefile.am
11013 (ordinary_java_source_files): Added the following files:
11014 gnu/java/nio/ByteBufferImpl.java
11015 gnu/java/nio/CharBufferImpl.java
11016 gnu/java/nio/DoubleBufferImpl.java
11017 gnu/java/nio/FloatBufferImpl.java
11018 gnu/java/nio/IntBufferImpl.java
11019 gnu/java/nio/LongBufferImpl.java
11020 gnu/java/nio/ShortBufferImpl.java
11021 java/nio/DoubleBuffer.java
11022 java/nio/FloatBuffer.java
11023 java/nio/IntBuffer.java
11024 java/nio/LongBuffer.java
11025 java/nio/ShortBuffer.java
11026 (nat_source_files): Added the following files:
11027 gnu/java/nio/natByteBufferImpl.cc
11028 gnu/java/nio/natCharBufferImpl.cc
11029 gnu/java/nio/natDoubleBufferImpl.cc
11030 gnu/java/nio/natFloatBufferImpl.cc
11031 gnu/java/nio/natIntBufferImpl.cc
11032 gnu/java/nio/natLongBufferImpl.cc
11033 gnu/java/nio/natShortBufferImpl.cc
11034 * Makefile.in: Regenerated.
11035
194ea9ce
MK
110362003-02-11 Michael Koch <konqueror@gmx.de>
11037
11038 * gnu/java/nio/natCharBufferImpl.cc
11039 (nio_cast): Removed.
11040 (nio_put_*): Removed.
11041 (nio_get_*): Removed.
11042 * gnu/java/nio/natDoubleBufferImpl.cc
11043 (nio_cast): Removed.
11044 (nio_put_*): Removed.
11045 (nio_get_*): Removed.
11046 * gnu/java/nio/natFloatBufferImpl.cc
11047 (nio_cast): Removed.
11048 (nio_put_*): Removed.
11049 (nio_get_*): Removed.
11050 * gnu/java/nio/natIntBufferImpl.cc
11051 (nio_cast): Removed.
11052 (nio_put_*): Removed.
11053 (nio_get_*): Removed.
11054 * gnu/java/nio/natLongBufferImpl.cc
11055 (nio_cast): Removed.
11056 (nio_put_*): Removed.
11057 (nio_get_*): Removed.
11058 * gnu/java/nio/natShortBufferImpl.cc
11059 (nio_cast): Removed.
11060 (nio_put_*): Removed.
11061 (nio_get_*): Removed.
11062 * gnu/java/nio/SelectorProviderImpl.java
11063 (openDatagramChannel): Throws IOException.
11064 (openPipe): Throws IOException.
11065 (openSelector): Throws IOException.
11066 (openServerSocketChannel): Throws IOException.
11067 (openSocketChannel): Throws IOException.
11068 * gnu/java/nio/ServerSocketChannelImpl.java
11069 (ServerSocketChannelImpl): Throws IOException.
11070 (implCloseSelectableChannel): Throws IOException.
11071 (implConfigureBlocking): Throws IOException.
11072 * java/nio/ByteBuffer.java
11073 (readOnly): Removed.
11074 (hasArray): Use isReadOnly() instead of readOnly.
11075 (array): Use isReadOnly() instead of readOnly.
11076 (arrayOffset): Use isReadOnly() instead of readOnly.
11077 * java/nio/CharBuffer.java
11078 (CharBuffer): Implements Cloneable and CharSequence.
11079
c0da2641
MK
110802003-02-11 Michael Koch <konqueror@gmx.de>
11081
11082 * java/nio/DoubleBuffer.java
11083 (DoubleBuffer): Implements Comparable.
11084 (endian): Removed.
11085 (array_offset): New member variable.
11086 (DoubleBuffer): New constuctor.
11087 (get): May not be final.
11088 (put): May not be final.
11089 (arrayOffset): Implemented.
11090 (order): Made abstract.
11091 (order): Removed.
11092 (as*Buffer): Removed.
11093 (get*): Removed.
11094 (put*): Removed.
11095 * java/nio/FloatBuffer.java
11096 (FloatBuffer): Implements Comparable.
11097 (endian): Removed.
11098 (array_offset): New member variable.
11099 (FloatBuffer): New constuctor.
11100 (get): May not be final.
11101 (put): May not be final.
11102 (arrayOffset): Implemented.
11103 (order): Made abstract.
11104 (order): Removed.
11105 (as*Buffer): Removed.
11106 (get*): Removed.
11107 (put*): Removed.
11108 * java/nio/IntBuffer.java
11109 (IntBuffer): Implements Comparable.
11110 (endian): Removed.
11111 (array_offset): New member variable.
11112 (IntBuffer): New constuctor.
11113 (get): May not be final.
11114 (put): May not be final.
11115 (arrayOffset): Implemented.
11116 (order): Made abstract.
11117 (order): Removed.
11118 (as*Buffer): Removed.
11119 (get*): Removed.
11120 (put*): Removed.
11121 * java/nio/LongBuffer.java
11122 (LongBuffer): Implements Comparable.
11123 (endian): Removed.
11124 (array_offset): New member variable.
11125 (LongBuffer): New constuctor.
11126 (get): May not be final.
11127 (put): May not be final.
11128 (arrayOffset): Implemented.
11129 (order): Made abstract.
11130 (order): Removed.
11131 (as*Buffer): Removed.
11132 (get*): Removed.
11133 (put*): Removed.
11134 * java/nio/ShortBuffer.java
11135 (ShortBuffer): Implements Comparable.
11136 (endian): Removed.
11137 (array_offset): New member variable.
11138 (ShortBuffer): New constuctor.
11139 (get): May not be final.
11140 (put): May not be final.
11141 (arrayOffset): Implemented.
11142 (order): Made abstract.
11143 (order): Removed.
11144 (as*Buffer): Removed.
11145 (get*): Removed.
11146 (put*): Removed.
11147
c34ce2a6
MK
111482003-02-11 Michael Koch <konqueror@gmx.de>
11149
11150 * java/nio/channels/SelectionKey.java
11151 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
11152 values.
11153
d62f8f8d
MK
111542003-02-11 Michael Koch <konqueror@gmx.de>
11155
11156 * java/nio/channels/DatagramChannel.java
11157 (write): Throws IOException.
11158 (connect): Throws IOException.
11159 (disconnect): Throws IOException.
11160 (read): Throws IOException.
11161 (receive): Throws IOException.
11162 (send): Throws IOException.
11163 * java/nio/channels/Pipe.java
11164 (open): Throws IOException.
11165 * java/nio/channels/SelectableChannel.java
11166 (configureBlocking): Throws IOException.
11167 * java/nio/channels/ServerSocketChannel.java
11168 (accept): Throws IOException.
11169 * java/nio/channels/SocketChannel.java
11170 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
11171 GatheringByteChannel.
11172 (read): Throws IOException.
11173 (write): Throws IOException.
11174 (finishConnect): Throws IOException.
11175 * java/nio/channels/spi/AbstractInterruptibleChannel.java
11176 (end): Throws AsynchronousCloseException.
11177 * java/nio/channels/spi/AbstractSelectableChannel.java
11178 (configureBlocking): Throws IOException.
11179 (implCloseChannel): Throws IOException.
11180 (implCloseSelectableChannel): Throws IOException.
11181 (implConfigureBlocking): Throws IOException.
11182 * java/nio/channels/spi/SelectorProvider.java
11183 (openDatagramChannel): Throws IOException.
11184 (openPipe): Throws IOException.
11185 (openSelector): Throws IOException.
11186 (openServerSocketChannel): Throws IOException.
11187 (openSocketChannel): Throws IOException.
11188
e3b6a47f
MK
111892003-02-11 Michael Koch <konqueror@gmx.de>
11190
11191 * gnu/java/nio/FileLockImpl.java,
11192 java/nio/channels/FileLock.java: New files.
11193
bde8b581
MK
111942003-02-11 Michael Koch <konqueror@gmx.de>
11195
11196 * java/nio/charset/IllegalCharsetNameException.java
11197 (serialVersionUID): New member variable.
11198 (charsetName): New member variable.
11199 (IllegalCharsetException): New implementation.
11200 (getCharsetName): New implementation.
11201 * java/nio/charset/UnsupportedCharsetException.java
11202 (serialVersionUID): New member variable.
11203 (charsetName): New member variable.
11204 (UnsupportedCharsetException): New implementation.
11205 (getCharsetName): New implementation.
11206
91adf6cf
TT
112072003-02-10 Tom Tromey <tromey@redhat.com>
11208
11209 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
11210 (ex): Renamed from sqlException.
11211
ff23b16c
RN
112122003-02-10 Raif S. Naffah <raif@fl.net.au>
11213
11214 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
11215 method used to ensure seeding has occurred and that a specific
11216 seed can be set and used.
11217
d6a2d36e
RM
112182003-02-10 Ranjit Mathew <rmathew@hotmail.com>
11219
11220 * java/lang/Win32Process.java (destroy): Declare as native.
11221 (hasExited): New native method.
11222 (exitValue): Define.
11223 (getErrorStream): Likewise.
11224 (getInputStream): Likewise.
11225 (getOutputStream): Likewise.
11226 (waitFor): Declare as native.
11227 (startProcess): New native method.
11228 (cleanup): Likewise.
11229 (ConcreteProcess): Define.
11230 (outputStream, inputStream, errorStream): New members.
11231 (procHandle, exitCode): Likewise.
11232
11233 * java/lang/natWin32Process.cc
11234 (java::lang::ConcreteProcess::cleanup): Define.
11235 (java::lang::ConcreteProcess::destroy): Likewise.
11236 (java::lang::ConcreteProcess::hasExited): Likewise.
11237 (java::lang::ConcreteProcess::waitFor): Likewise.
11238 (new_string): Likewise.
11239 (java::lang::ConcreteProcess::startProcess): Likewise.
11240
17e39e5c
RN
112412003-02-10 Raif S. Naffah <raif@fl.net.au>
11242
11243 * java/math/BigInteger.java:
11244 Updated notice to include years 2002 and 3.
11245 Added 2 private (int) arrays with values from the HAC (Handbook of
11246 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11247 and t[] that contains nbr. of tests --used in isProbablePrime().
11248
11249 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11250
11251 * java/math/BigInteger.java (make(int[],int), add(int,int),
11252 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11253 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11254 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11255 make(long).
11256
11257 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11258 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11259 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11260 BIs and returns void.
11261 (modInverse(BI)): Use new signatures of euclidInv().
11262
11263 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11264 static small primes instead of remainder().
11265 Use pre-computed max nbr of trials based on bitlength of BI to test.
11266 Use pre-computed small primes for the trial tests instead of random
11267 numbers.
11268
11269 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11270 not used.
11271
11272 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11273 invoacation of MPN.chars_per_word(). not used.
11274
11275 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11276 local var and used where needed.
11277
11278 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11279 Combined declaration with initialisation of locals.
11280 Removed unused var.
11281
11282 * java/math/BigInteger.java: Style changes
11283 (pow(int)): Removed 'else' keyword.
11284 (toString(int)): idem.
11285 (doubleValue()): idem.
11286 (bitLength()): idem.
11287 (equals(Object)): Use static methods name in same class w/o prepending
11288 class name.
11289 (doubleValue()): idem.
11290 (setNegative(BI)): idem.
11291 (negate()): idem.
11292 (and(BI,int)): idem.
11293 (and(BI)): idem.
11294 (gcd(BI)): idem.
11295 (byteArrayToIntArray()): Removed casting to (int). this is
11296 std. behaviour.
11297 (canonicalize()): idem.
11298 (alloc(int)): Always instantiate a new BI.
11299
848f2ce8
TT
113002003-02-10 Tom Tromey <tromey@redhat.com>
11301
11302 * java/sql/Timestamp.java (compareTo(Object)): New method.
11303 (compareTo(Timestamp)): Likewise.
11304 (serialVersionUID): Updated.
11305
b0b74f37
MW
113062003-02-07 Mark Wielaard <mark@klomp.org>
11307
11308 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11309 when verify is true.
11310 (JarFile(File, boolean)): Likewise.
11311 (manifestRead): Set manifestRead field correctly.
11312
364df9fc
SC
113132003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11314
11315 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11316 tests; see patch #1016 on Savannah.
11317
113182003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11319
11320 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11321 (toString): do not return Strings starting with . and - erroneously.
11322 Improves Mauve results to 12 of 600 instead of 16 of 338 on
11323 DiagBigDecimal.
11324
b20fcd47
SC
113252003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11326
11327 * java/beans/PropertyDescriptor.java
11328 (PropertyDescriptor(String, Class)): Sanity check getter and setter
11329 methods.
11330 (PropertyDescriptor(String, Class, String, String)): Likewise.
11331 (PropertyDescriptor(String, Method, Method): Factor out getter and
11332 setter method sanity checks into new method.
11333 (findMethods): Don't do parameter sanity checking of get method here.
11334 (checkMethods): New method.
11335
113362003-02-07 Stephen Crawley <crawley@dstc.edu.au>
11337
11338 * java/beans/PropertyDescriptor.java: Reformat.
11339
a1db3446
TT
113402003-02-04 Tom Tromey <tromey@redhat.com>
11341
11342 * java/io/PipedOutputStream.java (flush): Declare as throwing
11343 IOException.
11344 (close): Likewise.
11345 * java/io/PipedWriter.java (close): Declare as throwing
11346 IOException.
11347 * java/io/StringWriter.java (close): Declare as throwing
11348 IOException.
11349
d074ed7c
RM
113502003-02-03 Ranjit Mathew <rmathew@hotmail.com>
11351
11352 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11353 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11354 could also have been exported as "JNI_OnLoad@8" (MinGW) or
11355 "_JNI_OnLoad@8" (MSVC).
11356
9762ec76
RM
113572003-02-03 Ranjit Mathew <rmathew@hotmail.com>
11358
11359 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11360 convention on Win32 to invoke native JNI methods.
11361
cea9c57b 113622003-02-03 Andrew Haley <aph@redhat.com>
7b22f8b0
AH
11363
11364 * configure.host (x86_64): Enable interpreter.
11365
4b445d7c
AH
113662003-02-03 Andrew Haley <aph@redhat.com>
11367
11368 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11369 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11370 * configure.in (BACKTRACESPEC): New.
11371 * configure: Regenerate.
11372
5f9cea34
TT
113732003-02-02 Tom Tromey <tromey@redhat.com>
11374
9e8e1bec
TT
11375 * configure: Rebuilt.
11376 * configure.in (TOOLKIT) [xlib]: Set correctly.
11377
5f9cea34
TT
11378 * Makefile.in: Rebuilt.
11379 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11380 libstdc++.
11381
ccbaec26
MW
113822003-01-31 Mark WIelaard <mark@klomp.org>
11383
11384 * Makefile.in: Rebuilt.
11385 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11386
072b0db2
TT
113872003-01-31 Tom Tromey <tromey@redhat.com>
11388
9bc825c4
TT
11389 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11390 cast to element type.
11391 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11392 (_Jv_JNI_GetObjectArrayElement): Likewise.
11393
072b0db2
TT
11394 * Makefile.in: Rebuilt.
11395 * Makefile.am (cond_x_ltlibrary): Renamed library to
11396 lib-gnu-awt-xlib.la.
11397 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11398 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11399 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11400 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11401 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11402 (lib_gnu_awt_xlib_la_LINK): Likewise.
11403 (install-exec-hook): Removed.
11404 (lib-gnu-awt-xlib.la): Renamed.
11405
5aac1dac
TT
114062003-01-31 Tom Tromey <tromey@redhat.com>
11407
60c7f4ef
TT
11408 * aclocal.m4, configure, include/config.h.in: Rebuilt.
11409 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11410 aclocal.m4 and lost in some merge.
11411
5aac1dac
TT
11412 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11413 Don't try to find graphics configuration.
11414 * java/awt/Toolkit.java (default_toolkit_name): Use new
11415 Configuration entry.
11416 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11417 New global.
11418 * configure: Rebuilt.
11419 * configure.in (TOOLKIT): New subst.
11420 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11421 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
11422 directory. Make output directories for .c files.
11423 * Makefile.in: Rebuilt.
11424 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11425 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11426 (all_java_source_files): Added new sources.
11427 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11428 (gtk_c_files): New macro.
11429 (gtk_c_source_files): New macro.
11430 (cond_gtk_ltlibrary): New macro.
11431 ($(gtk_c_files)): New target.
11432 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11433 (gtk_awt_peer_sources): New macro.
11434 (gtk_c_headers): New macro.
11435 ($(gtk_c_headers)): New target.
11436 (ACLOCAL_AMFLAGS): New macro.
11437 * gtk.m4, glib.m4, libart.m4: New files.
11438 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11439 gnu/java/awt/peer/gtk/GdkGraphics.java,
11440 gnu/java/awt/peer/gtk/GtkArg.java,
11441 gnu/java/awt/peer/gtk/GtkArgList.java,
11442 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11443 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11444 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11445 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11446 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11447 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11448 gnu/java/awt/peer/gtk/GtkClipboard.java,
11449 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11450 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11451 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11452 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11453 gnu/java/awt/peer/gtk/GtkFontPeer.java,
11454 gnu/java/awt/peer/gtk/GtkFramePeer.java,
11455 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11456 gnu/java/awt/peer/gtk/GtkImage.java,
11457 gnu/java/awt/peer/gtk/GtkImagePainter.java,
11458 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11459 gnu/java/awt/peer/gtk/GtkListPeer.java,
11460 gnu/java/awt/peer/gtk/GtkMainThread.java,
11461 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11462 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11463 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11464 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11465 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11466 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11467 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11468 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11469 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11470 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11471 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11472 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11473 gnu/java/awt/peer/gtk/GtkToolkit.java,
11474 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11475 gnu/java/awt/peer/gtk/TestAWT.java,
11476 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11478 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11479 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11480 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11481 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11482 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11483 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11484 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11485 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11486 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11487 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11488 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11489 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11490 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11491 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11492 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11493 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11494 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11495 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11496 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11497 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11498 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11499 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11500 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11501 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11502 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11503 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11504 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11505 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11506 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11507 jni/classpath/native_state.c, jni/classpath/native_state.h,
11508 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11509
371ac725
JD
115102003-01-31 Julian Dolby <dolby@us.ibm.com>
11511
11512 * java/util/Properties.java (load): Ignore backslash before EOF.
11513
ae724017
JS
115142003-01-30 Jeff Sturm <jsturm@one-point.com>
11515
11516 * java/lang/natClass.cc (initializeClass): Check tables when
11517 (state == JV_STATE_IN_PROGRESS).
11518 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11519 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11520 interpreted classes.
11521 (linkClass0): Use _Jv_WaitForState.
11522
757e1662
OP
115232003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
11524
11525 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11526 object when finished.
11527
e9e93c8b
AT
115282003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
11529
11530 * libjava/configure.host: Disable can_unwind_signal on darwin.
11531
65b8e874
RM
115322003-01-28 Ranjit Mathew <rmathew@hotmail.com>
11533
11534 Fixes PR java/9254:
11535 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11536 additionally containing id of the owner thread as well as
11537 the number of nested times the thread has acquired the mutex.
11538 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11539 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11540 (_Jv_MutexUnlock): Check if really the owner thread, reset
11541 owner thread id to 0 before leaving, if leaving for the last
11542 time.
11543 (_Jv_MutexLock): Set owner thread id in the mutex and increment
11544 refcount.
11545 (_Jv_ThreadYield): Yield using a call to Sleep(0).
11546 * win32-threads.cc (_Jv_CondWait): Check if really owner of
11547 the passed mutex.
11548 Pass handle of the broadcast event, instead of a pointer to it
11549 in Win32 ResetEvent( ) call.
11550 Remove incorrect return values.
11551 (_Jv_CondDestroy): Close both event handles and delete
11552 critical section.
11553 (_Jv_CondNotify): Check if really the owner thread.
11554 (_Jv_CondNotifyAll): Check if really the owner thread.
11555 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11556 (really_start): Use SetEvent( ) to signal daemon_cond.
11557 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11558 WaitForSingleObject( ) instead to wait for daemon_cond to be
11559 signalled.
11560
e4261ef7
RM
115612003-01-27 Ranjit Mathew <rmathew@hotmail.com>
11562
11563 * configure.in: Specifically define HAVE_BACKTRACE if building
11564 for MinGW.
11565 * include/win32.h: Remove HAVE_BACKTRACE definition.
11566 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11567 * configure: Rebuilt.
11568
dbf45a01
AO
115692003-01-27 Alexandre Oliva <aoliva@redhat.com>
11570
11571 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11572 Set and AC_SUBST. Remove USE_LIBDIR conditional.
11573 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11574 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11575 * Makefile.in, configure: Rebuilt.
11576
0ced4335
RM
115772003-01-24 Ranjit Mathew <rmathew@hotmail.com>
11578
11579 Fixes PR java/9253:
11580 * java/io/natFileWin32.cc (performList): Append only "*.*"
11581 if the canonical file path already has a "\" at the end.
11582
4c98b1b0
TT
115832003-01-24 Tom Tromey <tromey@redhat.com>
11584
11585 * defineclass.cc (handleMethodsEnd): Precompute code for static
11586 method.
11587 (handleCodeAttribute): Likewise.
11588 * resolve.cc (ncode): Use run_class for unsynchronized static
11589 methods.
11590 * include/java-interp.h (class _Jv_InterpMethod): Declare
11591 run_class.
11592 * interpret.cc (run_synch_class): Initialize class.
11593 (run) [insn_invokestatic]: Don't initialize class.
11594 [insn_anewarray]: Likewise.
11595 [insn_multianewarray]: Likewise.
11596 (run_class): New function.
11597
d291503a
TT
115982003-01-24 Tom Tromey <tromey@redhat.com>
11599
11600 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11601 comment.
11602
f8061f6a
AH
116032003-01-22 Andrew Haley <aph@redhat.com>
11604
11605 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11606 * configure.host (CHECKREFSPEC): Define for x86_64.
11607
570168b2
TT
116082003-01-21 Tom Tromey <tromey@redhat.com>
11609
11610 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11611 search at 2, not 3.
11612
691255fb
VP
116132003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
11614
11615 * java/io/natFileWin32.cc (isAbsolute): Check path length before
11616 looking at any characters.
11617 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11618 be used.
11619 (isAbsolute): Check path's length as well.
11620
827452ae
MW
116212003-01-17 Mark Wielaard <mark@klomp.org>
11622
11623 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11624 (nat_source_files): Add natVMObjectStreamClass.cc.
11625 * Makefile.in: Regenerated.
11626 * gcj/javaprims.h (namespace java): Regenerated.
11627 * java/io/ObjectStreamClass.java (getClassUID): Call
11628 VMObjectStreamClass.hasClassInitializer().
11629 (hasClassInitializer): Removed.
11630 * java/io/VMObjectStreamClass.java: New class.
11631 * java/io/natVMObjectStreamClass.cc: New file.
11632 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11633
3afcbc9b
MW
116342003-01-16 Mark Wielaard <mark@klomp.org>
11635
11636 * java/net/SocketImpl.java (toString): Don't explicitly call
11637 toString() on possible null address.
11638
676f46d0
MK
116392003-01-16 Michael Koch <konqueror@gmx.de>
11640
11641 * java/net/MulticastSocket.java
11642 (setInterface): Reindented.
11643
f826d595
SG
116442003-01-15 Scott Gilbertson <scottg@mantatest.com>
11645
11646 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11647 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11648 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11649 translateY arguments. Implement.
11650 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11651 down translation arguments.
11652 (drawPolyline, drawPolygon): Fix incorrect tests.
11653 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11654 translateX and translateY arguments.
11655
2af84af5
SG
116562003-01-15 Scott Gilbertson <scottg@mantatest.com>
11657
11658 * Makefile.in: Rebuilt.
11659 * Makefile.am (xlib_includes): New macro.
11660 (INCLUDES): Use it.
11661
7a968a57
SG
116622003-01-15 Scott Gilbertson <scottg@mantatest.com>
11663
11664 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11665 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11666 16-bit display mode.
11667
09d096a8
SG
116682003-01-15 Scott Gilbertson <scottg@mantatest.com>
11669
11670 * java/awt/CardLayout.java (show): Rewrote.
11671 (gotoComponent): Removed `target' argument. Simplified code.
11672 Don't pre-compute `choice' unless `what' is FIRST or LAST.
11673 Changed all callers.
11674 (NONE): Removed.
11675
8cb5ee71
MK
116762003-01-14 Michael Koch <konqueror@gmx.de>
11677
11678 * java/net/InetSocketAddress.java
11679 (serialVersionUID): New member variable.
11680 * java/net/NetPermission.java
11681 (NetPermission): Dont implement java.io.Serialization directly.
11682 * java/net/SocketAddress.java:
11683 (serialVersionUID): Documentation added.
11684
7365ecf7
MK
116852003-01-14 Michael Koch <konqueror@gmx.de>
11686
11687 * java/awt/Label.java
11688 (Label): Implements javax.accessibility.Accessible;
11689 * java/awt/List.java
11690 (List): Implements javax.accessibility.Accessible;
11691 * java/awt/ScrollPane.java
11692 (ScrollPane): Implements javax.accessibility.Accessible;
11693 * java/awt/Scrollbar.java
11694 (Scrollbar): Implements javax.accessibility.Accessible;
11695 * java/awt/TextComponent.java
11696 (setCaretPosition): Throw exception, documentation added.
11697 * java/awt/Toolkit.java:
11698 Added some newlines in method documentations.
11699 (createButton): Exception documentation added.
11700 (createTextField): Exception documentation added.
11701 (createLabel): Exception documentation added.
11702 (createList): Exception documentation added.
11703 (createCheckbox): Exception documentation added.
11704 (createScrollbar): Exception documentation added.
11705 (createScrollPane): Exception documentation added.
11706 (createTextArea): Exception documentation added.
11707 (createChoice): Exception documentation added.
11708 (createFrame): Exception documentation added.
11709 (createWindow): Exception documentation added.
11710 (createDialog): Exception documentation added.
11711 (createMenuBar): Exception documentation added.
11712 (createMenu): Exception documentation added.
11713 (createMenuItem): Exception documentation added.
11714 (createFileDialog): Exception documentation added.
11715 (createCheckboxMenuItem): Exception documentation added.
11716 (loadSystemColors): Exception documentation added.
11717 (setDynamicLayout): Exception documentation added.
11718 (isDynamicLayoutSet): Exception documentation added.
11719 (isDynamicLayoutActive): Exception documentation added.
11720 (getScreenSize): Exception documentation added.
11721 (getScreenResolution): Exception documentation added.
11722 (getScreenInsets): Exception documentation added.
11723 (getColorModel): Exception documentation added.
11724 (getSystemClipboard): Exception documentation added.
11725 (getSystemSelection): Exception documentation added.
11726 (getMenuShortcutKeyMask): Exception documentation added.
11727 (getSystemEventQueue): Exception documentation added.
11728 * java/awt/Window.java:
11729 Reindented some code.
11730 (Window): Centralized implementation, documentation added.
11731 (finalize): Documentation added.
11732 (hide): Fixed typo in comment.
11733 (getWindowListeners): Documentation added.
11734 * java/awt/color/ColorSpace.java
11735 (toRGB): Documentation added.
11736 * java/awt/color/ICC_ColorSpace.java
11737 (ICC_ColorSpace): Documentation added.
11738 (toRGB): Throw exception, documentation added.
11739 (fromRGB): Throw exception, documentation added.
11740 (toCIEXYZ): Documentation added.
11741 (fromCIEXYZ): Documentation added.
11742 (getMinValue): Documentation added.
11743 (getMaxValue): Documentation added.
11744 * java/awt/geom/Dimension2D.java
11745 (clone): Documentation added.
11746 * java/awt/geom/GeneralPath.java
11747 (clone): Documentation added.
11748 * java/awt/geom/Line2D.java
11749 (clone): Documentation added.
11750 * java/awt/geom/QuadCurve2D.java
11751 (clone): Documentation added.
11752 * java/awt/image/ColorModel.java
11753 (ColorModel): Throw exception, documentation added.
11754 * java/awt/image/ImageFilter.java
11755 (clone): Doesnt throw CloneNotSupportedException.
11756
4cf0d20f
AH
117572003-01-14 Andrew Haley <aph@redhat.com>
11758
11759 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11760 in a try block.
11761
399df6db
AH
117622003-01-10 Andrew Haley <aph@redhat.com>
11763
11764 * include/dwarf2-signal.h: Remove x86_64.
11765 * configure.host (x86_64 DIVIDESPEC): Remove.
11766 * include/x86_64-signal.h: New file.
11767 * configure.in: Regenerate.
11768
927818a5
MK
117692003-01-10 Michael Koch <konqueror@gmx.de>
11770
11771 * java/net/DatagramSocket.java
11772 (ch): Description added.
11773 (remotePort): Initialize with -1.
11774 (connect): Doesnt throws SocketException.
11775 * java/net/MulticastSocket.java
11776 (setInterface): Merge with Classpath.
11777 * java/net/ServerSocket.java
11778 (closed): New member variable.
11779 (bind): Check if socket is closed.
11780 (close): Close an associated channel too, set new value to closed.
11781 (isBound): Reindented.
11782 (isClosed): Implemented.
11783 * java/net/Socket.java
11784 (closed): New member variable.
11785 (bind): Check if socket is closed.
11786 (connect): Check if socket is closed.
11787 (close): Close an associated channel too, set new value to closed.
11788 (isClosed): Implemented.
11789
b1771c6a
MK
117902003-01-10 Michael Koch <konqueror@gmx.de>
11791
11792 * java/awt/DisplayMode.java
11793 (equals): Fixed argument type and implementation.
11794
6ec62897
TT
117952003-01-07 Tom Tromey <tromey@redhat.com>
11796
11797 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11798 JV_HASH_SYNCHRONIZATION.
11799 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11800 JV_HASH_SYNCHRONIZATION.
11801
f2741d5f
MK
118022003-01-07 Michael Koch <konqueror@gmx.de>
11803
11804 * java/net/DatagramSocket.java:
11805 Added classpath license info.
11806 (DatagramSocket): Merged description with classpath.
11807 (close): Merged description with classpath.
11808 (getChannel): Merged description with classpath.
11809 (getInetAddress): Merged description with classpath.
11810 (getPort): Merged description with classpath.
11811 (getLocalAddress): Merged description with classpath.
11812 (getLocalPort): Merged description with classpath.
11813 (getSoTimeout): Merged description with classpath.
11814 (setSoTimeout): Merged description with classpath.
11815 (getSendBufferSize): Merged description with classpath.
11816 (setSendBufferSize): Merged description with classpath.
11817 (getReceiveBufferSize): Merged description with classpath.
11818 (setReceiveBufferSize): Merged description with classpath.
11819
3128dd5c
TT
118202003-01-04 Tom Tromey <tromey@redhat.com>
11821
11822 * java/awt/List.java: Merged with Classpath.
11823
1d5c46dc
MW
118242003-01-03 Mark Wielaard <mark@klomp.org>
11825
11826 * java/io/FileDescriptor.java (position): New private field.
11827 * java/io/natFileDescriptorPosix.cc (write): Up position.
11828 (setLength): Use and set position.
11829 (seek): Set position.
11830 (getFilePointer): Return position.
11831 (read): Up position.
11832
3aa0cc4e
MW
118332003-01-03 Mark Wielaard <mark@klomp.org>
11834
11835 Merge with Classpath:
11836 * java/io/ObjectStreamClass.java (lookup): Split method and call
11837 lookupForClassObject().
11838 (lookupForClassObject): New method.
11839 (isProxyClass): New field.
11840 (setClass): Set isProxyClass, add object to classLookupTable, set
11841 superClass and calculateOffsets.
11842 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11843 and not a proxy class.
11844 (setFields): Set accessible true for serialPersistentFields.
11845 (getClassUID): Same for suid. And check if suid is of type long.
11846 (hasClassInitializer): Don't throw NoSuchMethodError.
11847
2d2d0877
MW
118482003-01-03 Mark Wielaard <mark@klomp.org>
11849
11850 * java/io/FileInputStream.java (finalize): Don't explicitly
11851 finalize FileDescriptor.
11852
2eb1ea83
JS
118532003-01-03 Jeff Sturm <jsturm@one-point.com>
11854
11855 * configure.host (sparc*-*): Enable bytecode interpreter.
11856
5e694fba
DBK
118572003-01-03 Dhek Bhun Kho <bhun@chello.nl>
11858
11859 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11860 Don't throw RemoteException.
11861 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11862 throw RemoteException.
11863
9c91c80b
JB
118642003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
11865
11866 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11867 proxyHost): New static fields.
11868 (<clinit>): Initialize new fields.
11869 (connect): Use proxy if necessary.
11870 (usingProxy): Implement.
11871
29456fb8
EB
118722003-01-03 Eric Blake <ebb9@email.byu.edu>
11873
11874 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11875 (TreeIterator.remove): Prefer IllegalStateException over
11876 ConcurrentModificationException, to match Sun.
11877
7125beea
AG
118782002-12-22 Anthony Green <green@redhat.com>
11879
11880 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11881
3e0cb4ff
MW
118822003-01-02 Mark Wielaard <mark@klomp.org>
11883
11884 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11885 public.
11886 (HTTP_USE_PROXY): Add field.
11887 (getResponseVals): Only set responseCode when not yet explicitly
11888 set by subclass.
11889
1a82c94b
AB
118902003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
11891 Mark Wielaard <mark@klomp.org>
11892
11893 * java/util/zip/ZipFile.java (entries): Now HashMap.
11894 (readLeShort(DataInput, byte[])): Read from given byte array.
11895 (readLeInt(DataInput, byte[]): Likewise.
11896 (readLeShort(byte[] b, int off)): New method.
11897 (readLeInt(byte[] b, int off)): Likewise.
11898 (readEntries): Use byte arrays to read info in bigger chunks.
11899 (getEntries): Return HashMap.
11900 (getEntry): Use HashMap.
11901 (locBuf): New private field.
11902 (checkLocalHeader): Use locBuf to read info in one chunk.
11903 (getInputStream): Use entries HashMap, wrap PartialInputStream
11904 in BufferedInputStream.
11905 (ZipEntryEnumeration): Use HashMap and Interator.
11906
27c687cc
MW
119072003-01-02 Mark Wielaard <mark@klomp.org>
11908 Jeroen Frijters <jeroen@sumatra.nl>
11909
11910 * java/net/URLClassLoader.java (Resource.getCodeSource):
11911 Fix check certs == null.
11912 (getCanonicalFileURL): Removed method.
11913 (JarURLLoader): Don't call removed method.
11914 (FileURLLoader): Likewise.
11915 (FileURLLoader.getResource): Don't canonicalize file name.
11916
62d2eed6
TT
119172003-01-01 Tom Tromey <tromey@redhat.com>
11918
11919 * Makefile.in: Rebuilt.
11920 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11921 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11922 java/awt/BufferCapabilities.java, java/awt/Button.java,
11923 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11924 java/awt/Container.java, java/awt/Cursor.java,
11925 java/awt/EventQueue.java, java/awt/FileDialog.java,
11926 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11927 java/awt/MenuBar.java, java/awt/MenuComponent.java,
11928 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11929 java/awt/Scrollbar.java, java/awt/TextArea.java,
11930 java/awt/TextField.java, java/awt/color/CMMException.java,
11931 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11932 java/awt/color/ProfileDataException.java,
11933 java/awt/datatransfer/Clipboard.java,
11934 java/awt/datatransfer/DataFlavor.java,
11935 java/awt/datatransfer/FlavorMap.java,
11936 java/awt/datatransfer/SystemFlavorMap.java,
11937 java/awt/dnd/DragGestureEvent.java,
11938 java/awt/dnd/DragGestureRecognizer.java,
11939 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11940 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11941 java/awt/im/InputMethodHighlight.java,
11942 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11943 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11944
11945 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11946 `op' to BufferedImageOp.
11947
9f17a7af
TT
119482002-12-31 Tom Tromey <tromey@redhat.com>
11949
11950 Fix for PR libgcj/7416:
11951 * javax/naming/InitialContext.java (init): Use
11952 gnu.classpath.home.url.
11953 * java/security/Security.java: Use new properties.
11954 (loadProviders): Accept base url; use it.
11955 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11956 gnu.classpath.home.url.
11957 (gnu.classpath.home.url): Define.
11958 (gnu.classpath.vm.shortname): Likewise.
11959
35a94bdc
TT
119602002-12-31 Tom Tromey <tromey@redhat.com>
11961 Ranjit Mathew <rmathew@hotmail.com>
11962
11963 Fix for PR libgcj/8997:
11964 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11965 Include platform.h.
11966 * include/posix.h (_Jv_platform_usleep): New function.
11967 * include/win32.h (_Jv_platform_usleep): New function.
11968
9f1cf235
TT
119692002-12-29 Tom Tromey <tromey@redhat.com>
11970
11971 * gcj/javaprims.h: Updated.
11972 * scripts/classes.pl (scan): Removed stray semicolon.
11973
a88c283f
MW
119742002-12-30 Mark Wielaard <mark@klomp.org>
11975
11976 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11977 if zero or smaller.
11978
d2427b1d
MW
119792002-12-30 Mark Wielaard <mark@klomp.org>
11980
11981 * java/util/Properties (formatForOutput): Don't fall through to
11982 default case after escaping character.
11983
de2baf30
MW
119842002-12-30 Mark Wielaard <mark@klomp.org>
11985
11986 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11987 against count.
11988
dfe5a36e
MM
119892002-12-27 Mark Mitchell <mark@codesourcery.com>
11990
11991 * boehm.cc: Remove stray semicolon.
11992 * interpret.cc: Likewise.
11993 * prims.cc: Likewise.
11994 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11995 earlier to ensure default arguments are processed.
11996 * gcj/array.h (JArray): Add forward declaration.
11997 (elements): Likewise.
11998 * gcj/javaprim.h: Remove stray semicolons.
11999 * include/bohm-gc.h: Likewise.
12000 * include/jni.h: Likewise.
12001 * include/jvm.h: Likewise.
12002 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
12003
4017ae6e
JS
120042002-12-23 Jeff Sturm <jsturm@one-point.com>
12005
12006 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
12007 of catch_type.
12008 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
12009 idt tables after initializing superclass.
12010 * java/lang/natClassLoader.cc (uaddr): New typedef.
12011 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
12012 if they are constant pool indicies. Don't link vtable, otable yet.
12013
5e0c4d19
AG
120142002-12-21 Anthony Green <green@redhat.com>
12015
12016 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
12017 libraries.
12018 * Makefile.in: Rebuilt.
12019
7a163ec0
AG
120202002-12-19 Anthony Green <green@redhat.com>
12021
12022 * Makefile.am (ordinary_java_source_files): Add
12023 org/xml/sax/helpers/NewInstance.java.
12024 * Makefile.in: Rebuilt.
12025 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
12026 org/xml/sax/helpers/package.html: New files.
12027 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
12028 http://www.saxproject.org.
12029
51d6eed4
AH
120302002-12-19 Andrew Haley <aph@redhat.com>
12031
12032 * java/util/natResourceBundle.cc: Include
12033 ArrayIndexOutOfBoundsException.h.
12034 (getCallingClassLoader): Don't put upper bound on stack search.
12035 Catch ArrayIndexOutOfBoundsException.
12036
4dfde206
TT
120372002-12-19 Tom Tromey <tromey@redhat.com>
12038
12039 * libtool-version: Increased `current'.
12040
a1aba4f9
TT
120412002-12-19 Tom Tromey <tromey@redhat.com>
12042
12043 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
12044 comment.
12045 * java/lang/ClassLoader.java (defineClass): Use chained
12046 exception when rethrowing.
12047 * defineclass.cc (handleClassBegin): Mark class as interpreted.
12048 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
12049 constants.
12050 * resolve.cc (_Jv_PrepareMissingMethods): New function.
12051 (_Jv_PrepareClass): Use it.
12052 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
12053 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
12054 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
12055 (Class): _Jv_PrepareMissingMethods now friend.
12056 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
12057 Record `NULL' for system class loader.
12058 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
12059 system class loader.
12060 (_Jv_FindClassInCache): Likewise.
12061 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
12062 (_Jv_FindClass): Special case system class loader.
12063 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
12064 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
12065 vtable slots.
12066 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
12067 in a final class.
12068 (_getDeclaredMethod): Don't return synthetic methods.
12069 (getDeclaredMethods): Likewise.
12070 (_getMethod): Likewise.
12071 (_getMethods): Likewise.
12072
a17cf75b
RN
120732002-12-18 Raif Naffah <raif@fl.net.au>
12074
12075 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
12076 canonical form after divide().
12077 (modInverse): Likewise.
12078
b4f145f3
CM
120792002-12-13 Casey Marshall <rsdio@metastatic.org>
12080 Mark Wielaard <mark@klomp.org>
12081
12082 * java/security/SecurityRandom (digest): Removed field.
12083 (SecureRandom): Check all providers for case-insensitive SecureRandom
12084 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
12085 if necessary.
12086 (getInstance(String,Provider,boolean): New method.
12087 (getInstance(String)): Use new method.
12088 (getInstance(String,String)): Likewise.
12089 (getInstance(String,Provider)): Likewise.
12090
120912002-12-13 Casey Marshall <rsdio@metastatic.org>
12092
12093 * java/security/Security.java (loadProviders): Increment i only once.
12094
f0caaa23
MW
120952002-12-12 Mark Wielaard <mark@klomp.org>
12096
12097 * java/lang/ClassLoader.java (resolveClass0): Transform
12098 ClassNotFoundException to NoClassDefFoundError. Transform all other
12099 throwables to LinkageError.
12100
f69bc497
TT
121012002-12-11 Tom Tromey <tromey@redhat.com>
12102
70eec358
TT
12103 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
12104
f69bc497
TT
12105 * java/lang/ClassLoader.java (loadedClasses): New field.
12106 (defineClass): Fixed indentation. Put new class in
12107 loadedClasses.
12108 (findLoadedClass): Implement here.
12109 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
12110
ad1121d1
TT
121112002-12-10 Tom Tromey <tromey@redhat.com>
12112
12113 * Makefile.in: Rebuilt.
12114 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12115 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
12116 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
12117 * java/lang/natClassLoader.cc
12118 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
12119
a7e693d5 121202002-12-10 Mark Wielaard <mark@klomp.org>
4977bab6 12121 Tom Tromey <tromey@redhat.com>
a7e693d5
MW
12122
12123 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
12124 (JarURLLoader): Use it.
12125 (FileURLLoader): Likewise.
12126 (JarURLResource.getURL): Use chained exception.
12127 (FileResource.getURL): Likewise.
12128 (FileURLLoader.getResource): Use canonical file name.
12129 (addURL): Indentation fix.
12130
35cfd291
TT
121312002-12-10 Tom Tromey <tromey@redhat.com>
12132
12133 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
12134 From Laurent Bardet <l.bardet@magic.fr>.
12135
c53be425
TT
121362002-12-09 Tom Tromey <tromey@redhat.com>
12137
78bb0444
TT
12138 * include/win32.h (_Jv_platform_solib_prefix): New define.
12139 (_Jv_platform_solib_suffix): Likewise.
12140 * include/posix.h (_Jv_platform_solib_prefix): New define.
12141 (_Jv_platform_solib_suffix): Likewise.
12142 * java/lang/natRuntime.cc: Include StackTrace.h.
12143 (_load): Use findLibrary and new platform defines.
12144 (nativeGetLibname): Use new platform defines.
12145
c53be425
TT
12146 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
12147 `t' won't be null.
12148
e825ca7f
MW
121492002-12-08 Mark Wielaard <mark@klomp.org>
12150
12151 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
12152 cache remote jar files.
12153 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
12154 add File.separator to URL when it is a directory.
12155 * java/lang/ClassLoader.java: Add Classpath javadoc.
12156 (parent): final.
12157 (getParent): Add (disabled) security check.
12158 (findLibrary): New default method.
12159 * java/net/JarURLConnection.java (getManifest): Implement.
12160 (getInputStream): Only create InputStream when entry exists.
12161 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
12162 when they exist.
12163 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
12164
24632117
MW
121652002-12-08 Mark Wielaard <mark@klomp.org>
12166
12167 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
12168 (lastDefaultLocale): New field.
12169 (getBundle): When Locale.getDefault != lastDefaultLocale reset
12170 resourceBundleCache.
12171
081a777d
MW
121722002-12-06 Mark Wielaard <mark@klomp.org>
12173
12174 * java/net/InetAddress.java (toString): Use hostname when not null,
12175 don't do an explicit reverse getHostName() lookup.
12176 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
12177 NullPointerException.
12178
b4d0051b
TT
121792002-12-06 Tom Tromey <tromey@redhat.com>
12180
12181 * include/java-interp.h (class _Jv_InterpMethod): Added
12182 JV_MARKOBJ_DECL.
12183 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
12184 mark `prepared' field of interpreted method.
12185 * interpret.cc (compile): Use _Jv_AllocBytes.
12186
d8f2e87b
AH
121872002-12-05 Andrew Haley <aph@redhat.com>
12188
12189 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
12190 #ifdef (HAVE_BACKTRACE) around the whole function body.
12191
eaa2834f
TT
121922002-12-05 Tom Tromey <tromey@redhat.com>
12193
12194 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
12195 * resolve.cc: Don't include AbstractMethodError.h.
12196 (_Jv_abstractMethodError): Removed.
12197 * defineclass.cc (handleMethodsBegin): Initialize method index to
12198 -1.
12199 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
12200 method index for "new" final method.
12201 (_Jv_SetVTableEntries): Compare index against -1 instead of using
12202 isVirtualMethod. Added `flags' argument.
12203 (_Jv_MakeVTable): Throw exception for abstract method in concrete
12204 class.
12205
76508852
TT
122062002-12-04 Tom Tromey <tromey@redhat.com>
12207
6d2cf1d8 12208 * java/net/SocketPermission.java (hashCode): Rewrote.
76508852 12209
f4463ce4
TT
122102002-12-04 Tom Tromey <tromey@redhat.com>
12211
12212 * Makefile.in: Rebuilt.
12213 * Makefile.am (nat_source_files): Added natVMSecurityManager,
12214 natResourceBundle.
12215 * java/util/ResourceBundle.java (Security): Removed.
12216 (getCallingClassLoader): Now native.
12217 * java/util/natResourceBundle.cc: New file.
12218 * java/lang/natVMSecurityManager.cc: New file.
12219 * java/lang/VMSecurityManager.java (getClassContext): Now native.
12220
9c1180ea
MW
122212002-12-03 Mark Wielaard <mark@klomp.org>
12222
12223 * java/util/jar/JarFile.java (manifest): Not final.
12224 (manifestRead): New field.
12225 (JarFile): Don't read Manifest in constructor.
12226 (getManifest): New method.
12227 (JarEnumeration.nextElement): Use new method.
12228 (getEntry): Likewise.
12229 * java/util/zip/ZipFile.java (name): Final.
12230 (raf): Likewsie.
12231 (entries): Change type to Hashtable.
12232 (closed): New field.
12233 (ZipFile): Don't read enties in constructor.
12234 (readEntries): Use Hashtable.
12235 (close): Set new close flag and set entries to null inside
12236 synchronized block.
12237 (entries): Contruct enumeration using new getEntries() method and
12238 entries Hashtable.
12239 (getEntryIndex): Removed.
12240 (getEntries): New method.
12241 (getEntry): Use new getEntries() method and entries Hastable.
12242 (getInputStream): Likewise.
12243 (size): Return getEntries().size().
12244 (ZipEntryEnumeration): Wrap entries Hashtable elements.
12245 * java/util/zip/ZipEntry.java (cal): Don't initialize.
12246 (time): Removed
12247 (dostime): New field.
12248 (zipFileIndex): Removed.
12249 (ZipEntry(ZipEntry)): Copy dostime.
12250 (setDOSTime): Now final and doesn't convert dos time.
12251 (getDOSTime): Likewise.
12252 (setTime): Convert dos time.
12253 (getTime): Likewise.
12254 (getCalendar): New method.
12255 (setExtra): Use setTime().
12256 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12257
a50aa799
TT
122582002-12-03 Tom Tromey <tromey@redhat.com>
12259
12260 * java/lang/Character.java (forDigit): Formatting fix.
12261
b3eed2db
RN
122622002-12-03 Raif Naffah <raif@fl.net.au>
12263
4977bab6
ZW
12264 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12265 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12266 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
b3eed2db 12267
765828d5
AH
122682002-12-03 Andrew Haley <aph@redhat.com>
12269
4977bab6 12270 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
765828d5 12271 _Jv_PushClass.
4977bab6
ZW
12272 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12273 (_Jv_PopClass): New.
12274 (_Jv_PushClass): New.
12275 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12276 discover the ClassLoader of our caller.
12277 (_Jv_CheckArrayStore): Don't check that a class is assignment
12278 compatible with Object.
12279 * java/lang/natVMTHrowable.cc: Delete.
12280 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
765828d5 12281 java.lang.VMThrowable.
4977bab6
ZW
12282 (StackTrace(), StackTrace(int)): New constructors.
12283 (classAt, methodAt, update, methodAtAddress): New methods.
12284 (map): New field.
765828d5 12285 * java/lang/VMThrowable.java: Use StackTrace instead of
4977bab6 12286 natVMTHrowable.
765828d5 12287 * java/lang/Class.h (getClassLoaderInternal): New.
4977bab6
ZW
12288 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12289 Be friendly with gnu::gcj::runtime::StackTrace.
12290 (Object.chain): New field.
12291 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12292 gnu::gcj::runtime::StackTrace.
765828d5
AH
12293 * gnu/gcj/runtime/natStackTrace.cc: New file.
12294 * gnu/gcj/runtime/MethodRef.java: New file.
4977bab6
ZW
12295 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12296 instead of getClassLoader().
12297 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12298 java::lang::VMThrowable.
12299 * Makefile.am (core_java_source_files): Add MethodRef.java,
765828d5 12300 StackTrace.java.
4977bab6
ZW
12301 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12302 * Makefile.in: Rebuild.
12303
123042002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
12305
12306 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12307 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12308 yes also for sh-linux* and sh[34]*-linux*.
12309 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12310 set SIGNAL_HANDLER to use DWARF2 exception for them.
12311 * configure: Regenerate.
765828d5 12312
35e058a2
TT
123132002-12-02 Tom Tromey <tromey@redhat.com>
12314
12315 * jni.cc: Added `name' argument.
12316 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12317 `const char *' argument.
12318 (class _Jv_JNIEnv) [DefineClass]: Likewise.
12319
bbc13bf6
TT
123202002-12-01 Tom Tromey <tromey@redhat.com>
12321
12322 Bug compatibility, for PR libgcj/8738:
12323 * java/io/CharArrayWriter.java (close): Do nothing.
12324 (flush): Likewise.
12325 (reset): Don't touch `closed'.
12326 (write(int)): Don't throw IOException.
12327 (write(char[],int,int)): Likewise.
12328 (write(String,int,int)): Likewise.
12329 (closed): Removed.
12330
c2bea6b0
MW
123312002-12-01 Mark Wielaard <mark@klomp.org>
12332
12333 * java/lang/SecurityManager.java: Remerge comments, indenting and
12334 checkXXX methods with Classpath.
12335
8ad3385a
SG
123362002-11-29 Scott Gilbertson <scottg@mantatest.com>
12337
12338 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12339 getNormalizedComponents): Fix calculation which was using one too
12340 many bits in the unnormalized format.
12341
6d6661fe
GB
123422002-11-29 Gary Benson <gbenson@redhat.com>
12343
12344 For PR libgcj/8759:
12345 * java/beans/Introspector.java (flushCaches): New method.
12346 (flushFromCaches): Likewise.
12347
a1cd285d
MK
123482002-11-29 Michael Koch <konqueror@gmx.de>
12349
12350 * java/nio/channels/DatagramChannel.java
12351 (open): Added exception documentation.
12352 (write): Added exception documentation.
12353 (connect): Added exception documentation.
12354 (disconnect): Added exception documentation.
12355 (isConnected): Added exception documentation.
12356 (read): Added exception documentation.
12357 (receive): Added exception documentation.
12358 (send): Added exception documentation.
12359 (validOps): Added exception documentation.
12360 * java/nio/channels/SocketChannel.java
12361 (open): Added exception documentation.
12362 (read): Added exception documentation.
12363 (write): Added exception documentation.
12364 (connect): Added exception documentation.
12365 (finishConnect): Added exception documentation.
4977bab6 12366
a4536c7a
MK
123672002-11-29 Michael Koch <konqueror@gmx.de>
12368
12369 * gnu/java/nio/DatagramChannelImpl:
12370 (fd): New member variable to store file descriptor of socket.
12371 * gnu/java/nio/SelectionKeyImpl.java:
12372 (ops): Removed.
12373 (readyOps): New member variable.
12374 (interestOps): New member variable.
12375 (readyOps): Implemented.
12376 (readyOps): New method to set member variable readyOps.
12377 (interestOps): Replaced ops by interestOps.
12378 * gnu/java/nio/SelectorImpl.java:
12379 (SelectorImpl): Initialize key sets.
12380 (select): Call select with -1 instead of Long.MAX_VALUE).
12381 (java_do_select): Make it a native method.
12382 (getFDsAsArray): New helper method.
12383 (select): Remove canceled keys, give only interested file discriptors
12384 to java_do_select, set ready ops.
12385 (add): No need to initialize keys set here.
12386 (add_selected): No need to initialize selected set here.
12387 (deregisterCanceledKeys): New helper method.
12388 (register): Set interest ops, set attachments, added handling of datagram
12389 channels.
12390 * gnu/java/nio/ServerSocketChannelImpl:
12391 (SocketAccept): Renamed from NioSocketAccept.
12392 (implConfigureBlocking): Implemented.
4977bab6 12393 (accept): Use SocketAccept instead of NioSocketAccept.
a4536c7a
MK
12394 * gnu/java/nio/SocketChannelImpl:
12395 Reactivate native methods.
4977bab6 12396
38a21d46
MK
123972002-11-29 Michael Koch <konqueror@gmx.de>
12398
12399 * gnu/java/nio/natByteBufferImpl.cc,
12400 gnu/java/nio/natCharBufferImpl.cc,
12401 gnu/java/nio/natDoubleBufferImpl.cc,
12402 gnu/java/nio/natFloatBufferImpl.cc,
12403 gnu/java/nio/natIntBufferImpl.cc,
12404 gnu/java/nio/natLongBufferImpl.cc,
12405 gnu/java/nio/natSelectorImpl.cc,
12406 gnu/java/nio/natServerSocketChannelImpl.cc,
12407 gnu/java/nio/natShortBufferImpl.cc,
12408 gnu/java/nio/natSocketChannelImpl.cc:
12409 New files that implement native functionalities.
12410
ac7edc01
MK
124112002-11-29 Michael Koch <konqueror@gmx.de>
12412
12413 * gnu/java/nio/ByteBufferImpl.java
12414 (ByteBufferImpl): Moved position() after limit.
12415 (nio_*): Use native implementation.
12416 * gnu/java/nio/CharBufferImpl.java:
12417 Reformated.
12418 (endian): New member variable string endianess of buffer.
12419 (CharBufferImpl): Moved position() after limit.
12420 (nio_*): Use native implementation.
12421 (subSequence): Implemented.
12422 * gnu/java/nio/DoubleBufferImpl.java
12423 (DoubleBufferImpl): Moved position() after limit.
12424 (nio_*): Use native implementation.
12425 * gnu/java/nio/FloatBufferImpl.java
12426 Reformated.
12427 (FloatBufferImpl): Moved position() after limit.
12428 (nio_*): Use native implementation.
12429 * gnu/java/nio/IntBufferImpl.java
12430 Added needed imports, Reformated.
12431 (IntBufferImpl): Moved position() after limit.
12432 (nio_*): Use native implementation.
12433 * gnu/java/nio/LongBufferImpl.java
12434 Reformated.
12435 (LongBufferImpl): Moved position() after limit.
12436 (nio_*): Use native implementation.
12437 * gnu/java/nio/ShortBufferImpl.java
12438 Reformated.
12439 (ShortBufferImpl): Moved position() after limit.
12440 (nio_*): Use native implementation.
12441
a828c3e1
JD
124422002-11-27 Julian Dolby <dolby@us.ibm.com>
12443
12444 * java/util/Locale.java (toString): Improve efficiency if country
12445 and variant are both empty.
12446
02077425
TT
124472002-11-26 Tom Tromey <tromey@redhat.com>
12448
12449 * verify.cc (pop_init_ref): New method.
12450 (verify_instructions_0) [op_iaload, op_laload, op_faload,
12451 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12452 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12453 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12454 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12455 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12456 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
12457 let `this' argument be uninitialized. Don't let `null' be passed
12458 as `this' to construtor.
12459
0ef08cc4
MW
124602002-11-26 Mark Wielaard <mark@klomp.org>
12461
12462 * javax/transaction/HeuristicCommitException.java: Classpath merge.
12463 * javax/transaction/HeuristicMixedException.java: Likewise.
12464 * javax/transaction/HeuristicRollbackException.java: Likewise.
12465 * javax/transaction/InvalidTransactionException.java: Likewise.
12466 * javax/transaction/NotSupportedException.java: Likewise.
12467 * javax/transaction/RollbackException.java: Likewise.
12468 * javax/transaction/Status.java: Likewise.
12469 * javax/transaction/Synchronization.java: Likewise.
12470 * javax/transaction/SystemException.java: Likewise.
12471 * javax/transaction/Transaction.java: Likewise.
12472 * javax/transaction/TransactionManager.java: Likewise.
12473 * javax/transaction/TransactionRequiredException.java: Likewise.
12474 * javax/transaction/TransactionRolledbackException.java: Likewise.
12475 * javax/transaction/UserTransaction.java: Likewise.
12476 * javax/transaction/xa/XAException.java: Likewise.
12477 * javax/transaction/xa/XAResource.java: Likewise.
12478 * javax/transaction/xa/Xid.java: Likewise.
12479
32e098dd
AT
124802002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
12481
12482 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12483 define.
12484 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12485 * include/posix.h (socklen_t): Define if not already defined.
12486
b0fbe966
TT
124872002-11-25 Tom Tromey <tromey@redhat.com>
12488
cbad89c4
TT
12489 * verify.cc (type::compatible): Backed out broken change.
12490
b0fbe966
TT
12491 * verify.cc (type::compatible): Check initialization status
12492 first.
12493 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12494 Don't use NULLCHECK.
12495
4977bab6
ZW
124962002-11-23 H.J. Lu <hjl@gnu.org>
12497
12498 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12499 Include ../config/accross.m4.
12500 * aclocal.m4; Rebuild.
12501 * configure: Likewise.
12502
84b8f58d
MW
125032002-11-23 Mark Wielaard <mark@klomp.org>
12504
12505 * javax/naming/AuthenticationException.java: Update copyright header.
12506 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12507 * javax/naming/Binding.java: Likewise.
12508 * javax/naming/CannotProceedException.java: Likewise.
12509 * javax/naming/CommunicationException.java: Likewise.
12510 * javax/naming/CompositeName.java: Likewise.
12511 * javax/naming/CompoundName.java: Likewise.
12512 * javax/naming/ConfigurationException.java: Likewise.
12513 * javax/naming/Context.java: Likewise.
12514 * javax/naming/ContextNotEmptyException.java: Likewise.
12515 * javax/naming/InitialContext.java: Likewise.
12516 * javax/naming/InsufficientResourcesException.java: Likewise.
12517 * javax/naming/InterruptedNamingException.java: Likewise.
12518 * javax/naming/LimitExceededException.java: Likewise.
12519 * javax/naming/LinkException.java: Likewise.
12520 * javax/naming/LinkLoopException.java: Likewise.
12521 * javax/naming/LinkRef.java: Likewise.
12522 * javax/naming/MalformedLinkException.java: Likewise.
12523 * javax/naming/NameAlreadyBoundException.java: Likewise.
12524 * javax/naming/NameClassPair.java: Likewise.
12525 * javax/naming/NameNotFoundException.java: Likewise.
12526 * javax/naming/NameParser.java: Likewise.
12527 * javax/naming/NamingEnumeration.java: Likewise.
12528 * javax/naming/NamingSecurityException.java: Likewise.
12529 * javax/naming/NoInitialContextException.java: Likewise.
12530 * javax/naming/NoPermissionException.java: Likewise.
12531 * javax/naming/NotContextException.java: Likewise.
12532 * javax/naming/OperationNotSupportedException.java: Likewise.
12533 * javax/naming/PartialResultException.java: Likewise.
12534 * javax/naming/Reference.java: Likewise.
12535 * javax/naming/Referenceable.java: Likewise.
12536 * javax/naming/ReferralException.java: Likewise.
12537 * javax/naming/ServiceUnavailableException.java: Likewise.
12538 * javax/naming/SizeLimitExceededException.java: Likewise.
12539 * javax/naming/TimeLimitExceededException.java: Likewise.
12540 * javax/naming/directory/Attribute.java: Likewise.
12541 * javax/naming/directory/AttributeInUseException.java: Likewise.
12542 * javax/naming/directory/AttributeModificationException.java: Likewise.
12543 * javax/naming/directory/Attributes.java: Likewise.
12544 * javax/naming/directory/BasicAttribute.java: Likewise.
12545 * javax/naming/directory/BasicAttributes.java: Likewise.
12546 * javax/naming/directory/DirContext.java: Likewise.
12547 * javax/naming/directory/InitialDirContext.java: Likewise.
12548 * javax/naming/directory/InvalidAttributeIdentifierException.java:
12549 Likewise.
12550 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12551 * javax/naming/directory/InvalidAttributesException.java: Likewise.
12552 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12553 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12554 * javax/naming/directory/ModificationItem.java: Likewise.
12555 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12556 * javax/naming/directory/SchemaViolationException.java: Likewise.
12557 * javax/naming/directory/SearchControls.java: Likewise.
12558 * javax/naming/directory/SearchResult.java: Likewise.
12559 * javax/naming/event/EventContext.java: Likewise.
12560 * javax/naming/event/EventDirContext.java: Likewise.
12561 * javax/naming/event/NamespaceChangeListener.java: Likewise.
12562 * javax/naming/event/NamingEvent.java: Likewise.
12563 * javax/naming/event/NamingExceptionEvent.java: Likewise.
12564 * javax/naming/event/NamingListener.java: Likewise.
12565 * javax/naming/event/ObjectChangeListener.java: Likewise.
12566 * javax/naming/ldap/Control.java: Likewise.
12567 * javax/naming/ldap/ControlFactory.java: Likewise.
12568 * javax/naming/ldap/ExtendedRequest.java: Likewise.
12569 * javax/naming/ldap/ExtendedResponse.java: Likewise.
12570 * javax/naming/ldap/HasControls.java: Likewise.
12571 * javax/naming/ldap/InitialLdapContext.java: Likewise.
12572 * javax/naming/ldap/LdapContext.java: Likewise.
12573 * javax/naming/ldap/LdapReferralException.java: Likewise.
12574 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12575 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12576 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12577 * javax/naming/spi/DirObjectFactory.java: Likewise.
12578 * javax/naming/spi/DirStateFactory.java: Likewise.
12579 * javax/naming/spi/DirectoryManager.java: Likewise.
12580 * javax/naming/spi/InitialContextFactory.java: Likewise.
12581 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12582 * javax/naming/spi/NamingManager.java: Likewise.
12583 * javax/naming/spi/ObjectFactory.java: Likewise.
12584 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12585 * javax/naming/spi/ResolveResult.java: Likewise.
12586 * javax/naming/spi/Resolver.java: Likewise.
12587 * javax/naming/spi/StateFactory.java: Likewise.
12588
12589 * javax/naming/spi/NamingManager.java (ofb): Package private.
12590
cfc814d4
MW
125912002-11-21 Mark Wielaard <mark@klomp.org>
12592
12593 * java/net/URL.java: Merge with Classpath (partly).
12594 * java/net/URLStreamHandler: Merge with Classpath.
12595
c6d58c66
MK
125962002-11-22 Michael Koch <konqueror@gmx.de>
12597
12598 * include/posix.h:
12599 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12600 * include/win32.h:
12601 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12602 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12603
e59ff7e9
MK
126042002-11-21 Michael Koch <konqueror@gmx.de>
12605
d1bf262d
MK
12606 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12607 Only the new network functions should be in it.
4977bab6 12608
d1bf262d
MK
126092002-11-21 Michael Koch <konqueror@gmx.de>
12610
12611 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
e59ff7e9 12612 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
4977bab6 12613
6315b6cb
MK
126142002-11-21 Michael Koch <konqueror@gmx.de>
12615
12616 * java/nio/channels/AsynchronousCloseException.java,
12617 java/nio/channels/CancelledKeyException.java,
12618 java/nio/channels/ClosedByInterruptException.java,
12619 java/nio/channels/ConnectionPendingException.java,
12620 java/nio/channels/FileLockInterruptionException.java,
12621 java/nio/channels/IllegalSelectorException.java,
12622 java/nio/channels/NoConnectionPendingException.java,
12623 java/nio/channels/NonReadableChannelException.java,
12624 java/nio/channels/NonWritableChannelException.java,
12625 java/nio/channels/NotYetBoundException.java,
12626 java/nio/channels/NotYetConnectedException.java,
12627 java/nio/channels/OverlappingFileLockException.java,
12628 java/nio/channels/UnresolvedAddressException.java,
12629 java/nio/channels/UnsupportedAddressTypeException.java:
12630 New files.
12631 * Makefile.am (ordinary_java_source_files): Added new files.
12632 * Makefile.in: Regenerated.
12633
c3e0633c
MK
126342002-11-21 Michael Koch <konqueror@gmx.de>
12635
12636 * include/posix.h
12637 (_Jv_socket): New method.
12638 (_Jv_connect): New method.
12639 (_Jv_close): New method.
12640 (_Jv_platform_close_on_exec): Prefixed system function with "::".
12641 (_Jv_bind): New method.
12642 (_Jv_listen): New method.
12643 (_Jv_write): New method.
12644 (_Jv_read): New method.
12645 * include/win32.h
12646 (_Jv_socket): New method.
12647 (_Jv_connect): New method.
12648 (_Jv_close): New method.
12649 (_Jv_bind): New method.
12650 (_Jv_listen): New method.
12651 (_Jv_write): New method.
12652 (_Jv_read): New method.
12653 * java/net/natNetworkInterface.cc:
12654 Include platform.h, removed inclusion of socket.h
12655 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12656 ::close() by _Jv_close().
12657 * java/net/natPlainDatagramSocketImpl.cc:
12658 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12659 added some new lines to make code more readable.
12660 (create): Replaced ::socket() by _Jv_socket().
12661 (close): Replaced NATIVE_CLOSE() by _Jv_close().
12662 * java/net/natPlainSocketImpl.cc:
12663 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12664 removed include of socket.h, removed some windows defines
12665 (now in include/win32.h).
12666 (create): Replaced ::socket() by _Jv_socket().
12667 (close): Replaced NATIVE_CLOSE() by _Jv_close().
12668 (write): Replaced ::read by _Jv_write().
12669 (read): Replaced ::read by _Jv_read().
12670
c6de9c29
MK
126712002-11-20 Michael Koch <konqueror@gmx.de>
12672
12673 * Makefile.am (ordinary_java_source_files):
12674 Added java/nio/channels/FileChannel.java.
12675 * Makefile.in: Regenerated.
4977bab6 12676
3ebb998e
MK
126772002-11-20 Michael Koch <konqueror@gmx.de>
12678
12679 * java/io/FileInputStream.java
12680 (getChannel): New method.
12681 * java/io/FileOutputStream.java
12682 (getChannel): New method.
12683 * java/net/ServerSocket.java
12684 (bind): Removed duplicate code and called another bind method instead.
12685 * java/nio/channels/SelectionKey.java
12686 (isValid): Removed wrong exception documentation.
12687 * java/nio/channels/ServerSocketChannel.java
12688 (accept): Added exception documentation.
12689 (open): Fixed typo, added exception documentation.
12690 * java/nio/channels/spi/AbstractSelectableChannel.java
12691 (implCloseChannel): Added exception documentation.
12692 (add): Reformated.
12693 (register): Added exception documentation.
12694
54d9d34a
AJ
126952002-11-20 Andreas Jaeger <aj@suse.de>
12696
12697 * configure: Regenerated with new libtool.m4.
12698
da98b11a
TT
126992002-11-19 Tom Tromey <tromey@redhat.com>
12700
12701 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12702 `referent'.
12703 (finalize_referred_to_object): Don't modify `referent' or `copy'
12704 fields.
12705 (add_to_hash): Correctly set `n->next' when updating list.
12706 * java/lang/ref/Reference.java (enqueue): Return false if already
12707 enqueued.
12708
93745862
RM
127092002-11-19 Ranjit Mathew <rmathew@hotmail.com>
12710
12711 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12712 to function and function pointer declarations in accordance with
12713 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12714 based on whether __GCJ_JNI_IMPL__ has been defined or not.
12715 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12716 JNI function definitions.
12717
8c9aa0cb
JR
127182002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12719
4977bab6
ZW
12720 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12721 that was causing CoderResults to be cached, not WeakReferences
12722 to CoderResults.
54d9d34a 12723
441c7799
JB
127242002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
12725
12726 * java/security/KeyStore.java (getInstance): Fix
54d9d34a 12727 comment and throw IllegalArgumentException if
441c7799
JB
12728 given provider is null.
12729 (getInstance): New method for jdk1.4 compatibility.
12730
4f13d99e
MK
127312002-11-18 Michael Koch <konqueror@gmx.de>
12732
12733 * java/net/PlainSocketImpl.java: Fix imports.
12734
ecfef45b
MK
127352002-11-18 Michael Koch <konqueror@gmx.de>
12736
12737 * java/nio/channels/SelectionKey.java
12738 (isValid): Added exception documentation.
12739 * java/nio/channels/Selector.java
12740 (open): Declare "throws IOException".
12741
127422002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
54d9d34a 12743
3386451d
JR
12744 * java/nio/charset/Charset.java
12745 (<clinit>): New method.
12746 (encode): Synchronize use of cached encoder object.
12747 (decode): Synchronize use of cached encoder object.
12748
48f5b672
MK
127492002-11-18 Michael Koch <konqueror@gmx.de>
12750
12751 * gnu/java/nio/ByteBufferImpl.java,
12752 gnu/java/nio/CharBufferImpl.java,
12753 gnu/java/nio/DatagramChannelImpl.java,
12754 gnu/java/nio/DoubleBufferImpl.java,
12755 gnu/java/nio/FileChannelImpl.java,
12756 gnu/java/nio/FloatBufferImpl.java,
12757 gnu/java/nio/IntBufferImpl.java,
12758 gnu/java/nio/LongBufferImpl.java,
12759 gnu/java/nio/PipeImpl.java,
12760 gnu/java/nio/SelectionKeyImpl.java,
12761 gnu/java/nio/SelectorImpl.java,
12762 gnu/java/nio/SelectorProviderImpl.java,
12763 gnu/java/nio/ServerSocketChannelImpl.java,
12764 gnu/java/nio/ShortBufferImpl.java,
12765 gnu/java/nio/SocketChannelImpl.java,
12766 java/nio/DoubleBuffer.java,
12767 java/nio/FloatBuffer.java,
12768 java/nio/IntBuffer.java,
12769 java/nio/LongBuffer.java,
12770 java/nio/ShortBuffer.java,
12771 java/nio/channels/FileChannel.java: New files.
12772
d812d821
MK
127732002-11-18 Michael Koch <konqueror@gmx.de>
12774
12775 * Makefile.am (ordinary_java_source_files):
12776 Added java/nio/ReadOnlyBufferException.java and
12777 java/nio/channels/ClosedSelectorException.java.
12778 * Makefile.in: Regenerated.
12779
6602dd4a
MK
127802002-11-18 Michael Koch <konqueror@gmx.de>
12781
12782 * java/net/PlainSocketImpl.java: Reworked imports.
12783 * java/net/ServerSocket.java
12784 (ServerSocket): Create socket.
12785 * java/net/SocketAddress.java: Documentation added.
12786 * java/net/natPlainSocketImpl.cc: Reindented.
12787 * java/nio/ReadOnlyBufferException.java: New file
12788 * java/nio/channels/ClosedChannelException.java: Documentation added.
12789 * java/nio/channels/ClosedSelectorException.java: New file.
12790
b9ad851e
MW
127912002-11-17 Mark Wielaard <mark@klomp.org>
12792
12793 * java/net/HttpURLConnection.java ((getPermission): Take port
12794 into consideration.
12795 (getErrorStream): Implement.
12796
e0c34466
MW
127972002-11-17 Mark Wielaard <mark@klomp.org>
12798
12799 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12800
b0fc5871
MW
128012002-11-16 Mark Wielaard <mark@klomp.org>
12802
12803 Integrate work by Raif S. Naffah (raif@fl.net.au)
12804 * java/security/DummyKeyPairGenerator.java (clone): New method.
12805 * java/security/DummyMessageDigest.java (clone): New method.
12806 (engineUpdate): Now public.
12807 (engineReset): Likewise.
12808 (engineDigest): Likewise.
12809 (engineGetDigestLength): New method.
12810 * java/security/DummySignature.java (clone): New method.
12811 * java/security/KeyPairGenerator.java (provider): Now package private.
12812 (getInstance(String)): Use getInstance(String,Provider).
12813 (getInstance(String,String): Use getInstance(String,Provider)
12814 (getInstance(String,Provider): New method.
12815 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12816 * java/security/KeyPairGeneratorSpi.java (clone): New method.
12817 * java/security/MessageDigest.java (provider): Now package private.
12818 (getInstance(String): Use getInstance(String,Provider).
12819 (getInstance(String,String): Use getInstance(String,Provider)
12820 (getInstance(String,Provider): New method.
12821 * java/security/Provider.java (toCanonicalKey): New method.
12822 (get): New method that uses toCanonicalKey().
12823 (put): Use toCanonicalKey().
12824 (remove): Likewise.
12825 * java/security/Security.java (insertProviderAt): Provider index is one
12826 based, not zero based.
12827 (addProvider): Likewise.
12828 (removeProvider): Likewise.
12829 * java/security/Signature.java (provider): Now package private.
12830 (getInstance(String)): Use getInstance(String,Provider).
12831 (getInstance(String,String): Use getInstance(String,Provider)
12832 (getInstance(String,Provider): New method.
12833 (getInstance(String,String,Provider): Don't cast DummySignature.
12834
401d5362
TT
128352002-11-15 Tom Tromey <tromey@redhat.com>
12836
12837 For PR libgcj/8593:
12838 * java/util/zip/GZIPInputStream.java (read): Check file size.
12839 Look in inflater for remaining input bytes.
12840 (read4): Added buf and offset arguments.
12841
a902a2de
EB
128422002-11-12 Eric Blake <ebb9@email.byu.edu>
12843
12844 * java/applet/AppletContext.java: Fix typo and remove redundant
12845 modifiers.
12846
06fa6442
TT
128472002-11-14 Tom Tromey <tromey@redhat.com>
12848
12849 * java/lang/natRuntime.cc (insertSystemProperties): Set
12850 gnu.classpath.home.
12851
61d31826
MK
128522002-11-13 Michael Koch <konqueror@gmx.de>
12853
12854 * java/nio/ByteBuffer.java
12855 (allocate): New method.
12856 (wrap): New method.
12857 (put): New method.
12858 (get): New method.
54d9d34a 12859
70c73a4d
MK
128602002-11-13 Michael Koch <konqueror@gmx.de>
12861
12862 * java/nio/channels/AlreadyConnectedException.java:
12863 Removed unneeded import.
12864 (AlreadyConnectedException): Documentation added.
12865 * java/nio/channels/Pipe.java
12866 (SinkChannel.SinkChannel): Documentation added.
12867 (SinkChannel.validOps): New method.
12868 (SourceChannel.SourceChannel): Documentation added.
12869 (SourceChannel.validOps): New method.
12870 (Pipe): Documentation added.
12871 (open): Documentation added.
12872 (SinkChannel.channel): Documentation added.
12873 (SourceChannel.channel): Documentation added.
12874 * java/nio/channel/SelectableChannel.java
12875 (SelectableChannel): Documentation added.
12876 (blockingLock): Documentation added.
12877 (configureBlocking):Documentation added.
12878 (isBlocking):Documentation added.
12879 (isRegistered):Documentation added.
12880 (keyFor):Documentation added.
12881 (provider):Documentation added.
12882 (register): Documentation added.
12883 (validOps): Documentation added.
12884 * jaba/nio/channels/SelectionKey.java
12885 (SelectionKey): Documentation added.
12886 (attach): Documentation added.
12887 (attachment): Documentation added.
12888 (isAcceptable): Documentation added.
12889 (isConnetable): Documentation added.
12890 (isReadable): Documentation added.
12891 (isWritable): Documentation added.
12892 (cancel): Documentation added.
12893 (channel): Documentation added.
12894 (interestOps): Documentation added.
12895 (isValid): Documentation added.
12896 (readyOps): Documentation added.
12897 (selector): Documentation added.
12898 * jaba/nio/channels/Selector.java
12899 (Selector): Documentation added.
12900 (open): Documentation added.
12901 (close): Documentation added.
12902 (isOpen): Documentation added.
12903 (keys): Documentation added.
12904 (provider): Documentation added.
12905 (select): Documentation added.
12906 (selectedKeys): Documentation added.
12907 (selectNow): Documentation added.
12908 (wakeup): Documentation added.
12909 * java/nio/channels/spi/AbstractInterruptibleChannel.java
12910 (AbstractInterruptibleChannel): Documentation added.
12911 (opened): Default to true;
12912 (begin): Documentation added.
12913 (close): Set opened to false, documentation added.
12914 (isOpen): Documentation added.
12915 * java/nio/channels/spi/AbstractSelectionKey.java
12916 (AbstractSelectionKey): Documentation added.
12917 (cancel): Documentation added.
12918 (isValid): Documentation added.
12919 * java/nio/channels/spi/AbstractSelector.java
12920 (AbstractSelector): Documentation added.
12921 (begin): Documentation added.
12922 (close): Documentation added.
12923 (isOpen): Documentation added.
12924 (deregister): Documentation added.
12925 (end): Documentation added.
12926 (provider): Documentation added.
12927 (implCloseSelector): Documentation added.
12928 (register): Documentation added.
12929 * java/nio/channels/spi/SelectorProvider.java
12930 (SelectorProvider): Documentation added.
12931 (openDatagramChannel): Documentation added.
12932 (openPipe): Documentation added.
12933 (openSelector): Documentation added.
12934 (openServerSocketChannel): Documentation added.
12935 (openSocketChannel): Documentation added.
12936 (provider): Documentation added.
12937
93f93f9f
MK
129382002-11-12 Michael Koch <konqueror@gmx.de>
12939
12940 * java/nio/Buffer.java: Implemented.
12941 * java/nio/CharBuffer.java: New file.
12942 * java/nio/InvalidMarkException.java: New file.
12943 * java/nio/channels/DatagramChannel.java: Implemented.
12944 * java/nio/channels/ServerSocketChannel.java: Implemented.
12945 * java/nio/channels/SocketChannel.java: Implemented.
12946 * java/nio/channels/spi/AbstractChannel.java: Removed.
12947 * java/nio/channels/spi/AbstractSelectableChannel.java:
12948 Implemented.
12949 * java/nio/charset/Charset.java:
12950 Merge from Classpath.
12951 * java/nio/charset/CharsetDecoder.java: New file.
12952 * java/nio/charset/CharsetEncoder.java: New file.
12953 * java/nio/charset/CoderResult.java: New file.
12954 * Makefile.am (ordinary_java_source_files): Added new files.
12955 * Makefile.in: Regenerated.
54d9d34a 12956
8a423d77
JR
129572002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12958
12959 * gnu/java/nio/charset/ISO_8859_1.java,
12960 gnu/java/nio/charset/Provider.java,
12961 gnu/java/nio/charset/US_ASCII.java,
12962 gnu/java/nio/charset/UTF_16.java,
12963 gnu/java/nio/charset/UTF_16BE.java,
12964 gnu/java/nio/charset/UTF_16Decoder.java,
12965 gnu/java/nio/charset/UTF_16Encoder.java,
12966 gnu/java/nio/charset/UTF_16LE.java,
12967 gnu/java/nio/charset/UTF_8.java: New files.
93f93f9f 12968
ac7bc6bb
MK
129692002-11-11 Michael Koch <konqueror@gmx.de>
12970
12971 * java/nio/charset/CharacterCodingException.java:
12972 This class must be public.
12973 * java/nio/charset/CoderMalfunctionError.java:
12974 This class must be public.
12975 * java/nio/charset/CodingErrorAction.java:
12976 This class must be public.
12977 * java/nio/charset/IllegalCharsetNameException.java:
12978 This class must be public, better implementation.
12979 * java/nio/charset/MalformedInputException.java:
12980 This class must be public, better implementation.
12981 * java/nio/charset/UnmappableCharacterException.java:
12982 This class must be public, better implementation.
12983 * java/nio/charset/UnsupportedCharsetException.java:
12984 This class must be public, better implementation.
54d9d34a 12985
dba90b0c
MK
129862002-11-11 Michael Koch <konqueror@gmx.de>
12987
12988 * java/nio/BufferOverflowException.java,
12989 java/nio/BufferUnderflowException.java: New file.
12990 * Makefile.am (ordinary_java_source_files):
12991 Added new files.
12992 * Makefile.in: Regenerated.
54d9d34a 12993
f18590c6
TT
129942002-11-10 Tom Tromey <tromey@redhat.com>
12995
459c4c51
TT
12996 * java/awt/Container.java (validate): Use tree lock.
12997 (getComponent): Likewise.
12998 (getComponents): Likewise.
12999 (addImpl): Likewise.
13000 (remove): Likewise.
13001 (removeAll): Likewise.
13002 (processEvent): Fixed indentation.
13003 (getComponentAt): Use tree lock.
13004 (findComponentAt): Likewise.
13005 (removeNotify): Likewise.
13006 (isAncestorOf): Likewise.
13007 (list): Likewise.
13008 (visitChildren): Likewise.
13009 (findNextFocusComponent): Likewise.
13010 (addNotifyContainerChildren): Likewise.
13011 (getAccessibleChildrenCount): Likewise.
13012 (getAccessibleChild): Likewise.
13013
924af605
TT
13014 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
13015 (getSize): Likewise.
13016 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
13017 (getSize): Likewise.
13018 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
13019 (calcSize): Likewise.
13020 * java/awt/CardLayout.java (getSize): Use tree lock.
13021 (gotoComponent): Likewise.
13022 (layoutContainer): Likewise.
13023
a6b5bd3b
TT
13024 * java/io/natFileDescriptorWin32.cc (read): Handle case where
13025 count is 0.
13026 * java/io/natFileDescriptorPosix.cc (read): Handle case where
13027 count is 0.
13028
f18590c6
TT
13029 * java/io/Externalizable.java, java/io/FilePermission.java,
13030 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
13031 java/io/SerializablePermission.java, java/text/Format.java,
13032 java/util/AbstractMap.java, java/util/HashMap.java,
13033 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
13034 versions from Classpath.
13035
1323d7a9
AG
130362002-11-10 Anthony Green <green@redhat.com>
13037
13038 * java/util/jar/Attributes.java (Name): Fix name check.
13039
c0cd8f67
MW
130402002-11-10 Mark Wielaard <mark@klomp.org>
13041
13042 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
13043 with getName() as message.
13044 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
13045 type as message.
13046
13047 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
13048 unused.
13049
a2eb270a
RM
130502002-11-08 Ranjit Mathew <rmathew@hotmail.com>
13051
13052 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
13053 for Win32. JNICALL has been defined to __stdcall to be compatible
13054 with Sun's JDKs.
13055
b08122a7
TT
130562002-11-10 Tom Tromey <tromey@redhat.com>
13057
44e8d1f0
TT
13058 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
13059 (setRows): Check newRows, not rows.
13060
b08122a7
TT
13061 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
13062
ad980a7b
TT
130632002-11-09 Tom Tromey <tromey@redhat.com>
13064
f7aa343f
TT
13065 * java/applet/Applet.java, java/applet/AppletContext.java,
13066 java/applet/AppletStub.java, java/applet/AudioClip.java,
13067 java/awt/CardLayout.java,
13068 java/awt/ContainerOrderFocusTraversalPolicy.java,
13069 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
13070 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
13071 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
13072 java/awt/color/ICC_ColorSpace.java,
13073 java/awt/color/ICC_Profile.java,
13074 java/awt/color/ICC_ProfileGray.java,
13075 java/awt/color/ICC_ProfileRGB.java,
13076 java/awt/datatransfer/DataFlavor.java,
13077 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
13078 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
13079 New versions from Classpath.
13080 * Makefile.in: Rebuilt.
13081 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
13082 ICC_ProfileRGB.
13083
adf94cac
TT
13084 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
13085 display policy.
13086
ad980a7b
TT
13087 * java/awt/List.java (processEvent): Added missing `else's.
13088
13089 * java/awt/Window.java (show): validate() before showing. Make
13090 parent displayable.
13091 (isDisplayable): New method.
13092
f150fe3f
MW
130932002-11-07 Mark Wielaard <mark@klomp.org>
13094
4977bab6 13095 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
f150fe3f
MW
13096 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
13097
13098 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
13099 annotation.
13100 (loadClass): Take String as codebases.
13101 (getClassAnnotation): Use MyClassLoader annotations.
13102 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
13103 call exportObject(this).
13104
13105 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
13106 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
13107 (setAnnotation): Don't set locBytesStream and locStream.
13108 (replaceObject): Removed.
13109 (flush): Don't test locStream.
13110 (getLocBytes): LikeWise.
13111 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
13112 (leaseCache): New field.
13113 (dirty): Use leaseCache.
13114 (LeaseRecord): New inner class.
13115 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
13116 explicitly call exportObject().
13117 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
13118 false to communicate with Sun JDK130.
13119 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
13120 * gnu/java/rmi/server/RMIObjectInputStream.java
13121 (UnicastConnectionManager): Removed field.
13122 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
13123 Use UnicastServer.getExportedRef().
13124 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
13125 (expireTime): Likewise.
13126 (CONNECTION_TIMEOUT): Likewise.
13127 (disconnect): Call sock.close().
13128 (isExpired): New method.
13129 (resetTime): Likewise.
13130 (run): Use do while loop and catch Exception for discardConnection().
13131 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
13132 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
13133 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
13134 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
13135 (exportObject): Use refcache.
13136 (unexportObject): Likewise.
13137 (getExportedRef): New method.
13138 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
13139 constructor.
13140 (exportObject): Save manager.serverobj.
13141 (getStub): New method.
13142
396a8043
MW
131432002-11-07 Mark Wielaard <mark@klomp.org>
13144
13145 * java/lang/reflect/natField.cc (getBoolean): Use getType().
13146 (getByte): Likewise.
13147 (getShort): Likewise.
13148 (getInt): Likewise.
13149 (getLong): Likewise.
13150 (getFloat): Likewise.
13151 (getDouble): Likewise.
13152 (get): Likewise.
13153 (setChar): Likewise.
13154 (setByte): Likewise.
13155 (setShort): Likewise.
13156 (setInt): Likewise.
13157 (setLong): Likewise.
13158 (setFloat): Likewise.
13159 (setDouble): Likewise.
13160
82396c2a
MK
131612002-11-07 Michael Koch <konqueror@gmx.de>
13162
13163 * java/awt/Choice.java,
13164 java/awt/Container.java,
13165 java/awt/GridBagLayout.java:
13166 Fixed documentation.
13167 * java/awt/peer/ContainerPeer.java:
13168 Reindented.
13169
3bb5c7a1
MK
131702002-11-07 Michael Koch <konqueror@gmx.de>
13171
13172 * java/awt/color/ICC_Profile.java:
13173 Added missing constants.
13174 * java/awt/color/ICC_ColorSpace.java
13175 (getMinValue): Added dummy implementation.
13176 (getMaxValue): Added dummy implementation.
13177 * java/awt/datatransfer/DataFlavor.java
13178 (imageFlavor): Added.
13179 (isMimeTypeEqual): Must be final.
13180 (getDefaultRepresentationClass): Must be non-static.
13181 (getDefaultRepresentationClassAsString): Must be non-static.
13182 * java/awt/dnd/DragSourceContext.java
13183 (dragExit): Corrected argument.
13184 (dragDropEnd): Corrected argument.
13185 * java/awt/dnd/DragSourceListener.java.java
13186 (dragExit): Corrected argument.
13187 (dragDropEnd): Corrected argument.
13188 * java/awt/font/TextHitInfo.java
13189 (toString): Added stubbed implementation.
13190 * java/awt/geom/PathIterator.java:
13191 The constants must be static.
13192 * java/awt/image/VolatileImage.java
13193 (IMAGE_INCOMPATIBLE): Fixed typo.
13194 * java/awt/image/renderable/RenderableImage.java
13195 (HINTS_OBSERVED): Must be static.
13196 * java/beans/BeanInfo.java:
13197 Constants must be final.
13198
12f256d4
TT
131992002-11-06 Tom Tromey <tromey@redhat.com>
13200
13201 From svens@it.uu.se. For PR libgcj/8481.
13202 * java/util/Random.java (nextInt(int)): Only use 31 bits.
13203
7694d69a
TT
132042002-11-06 Tom Tromey <tromey@redhat.com>
13205
13206 * jni.cc (array_from_valist): Assume that jlong won't be
13207 promoted.
13208
9c31fc1b
RD
132092002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
13210
13211 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
13212 Return 20.
13213 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
13214 Return 16.
13215
957e3aef
TT
132162002-11-03 Tom Tromey <tromey@redhat.com>
13217
13218 * java/lang/ClassLoader.java (loadClass): Call loadClass on
13219 VMClassLoader, not findClass.
13220
a5db0683
JS
132212002-11-03 Jeff Sturm <jsturm@one-point.com>
13222
13223 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
13224 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
13225 _Jv_DetermineVTableIndex, to determine vtable offset.
13226 (_Jv_DetermineVTableIndex): Remove.
13227 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
13228
13229 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
13230
7189ea29
TT
132312002-11-03 Tom Tromey <tromey@redhat.com>
13232
13233 * java/nio/channels/AlreadyConnectedException.java: Extend
13234 IllegalStateException, per spec.
13235
de36f65d
MW
132362002-10-31 Stephen Crawley <crawley@dstc.edu.au>
13237
13238 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
13239
132402002-10-31 Wu Gansha <gansha.wu@intel.com>:
13241
4977bab6
ZW
13242 * java/util/ArrayList.java (readObject, writeObject): Only read/write
13243 size items.
de36f65d
MW
13244
132452002-10-31 Wu Gansha <gansha.wu@intel.com>:
13246
4977bab6
ZW
13247 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13248 initial estimated size to avoid enlarge buffer frequently.
de36f65d
MW
13249
132502002-10-31 Wu Gansha <gansha.wu@intel.com>:
13251
13252 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13253 ClassLoader when null.
13254 (ProxyType.hashCode): Loader null check no longer needed.
13255 (ProxyType.sameTypes): New method.
13256 (ProxyType.equals): Use new method.
13257
132582002-10-31 Mark Wielaard <mark@klomp.org>
13259
4977bab6 13260 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
de36f65d
MW
13261 length of String.
13262 * java/net/URLEncoder.java (encode): Likewise.
13263
132642002-10-31 Mark Wielaard <mark@klomp.org>
13265
13266 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13267 when stream is closed.
13268 (closeEntry): Likewise.
13269 (read): Likewise.
13270 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13271 ZipException when no entry active.
13272 (closeEntry): Likewise.
13273 (write): Likewise.
13274
fead5eb5
TT
132752002-11-02 Tom Tromey <tromey@redhat.com>
13276
afa54b4c
TT
13277 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13278 * java/lang/natClass.cc (initializeClass): Don't return just
13279 because self==thread.
13280
fead5eb5
TT
13281 For PR java/8415:
13282 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13283 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13284
bbf65529
AS
132852002-11-02 Andreas Schwab <schwab@suse.de>
13286
13287 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13288 pass GCJFLAGS.
13289 (FLAGS_TO_PASS): Define.
13290 * Makefile.in: Regenerated.
13291
9dcb1ec8
MK
132922002-11-01 Michael Koch <konqueror@gmx.de>
13293
13294 * java/nio/ByteOrder.java: New file.
13295 * java/nio/channels/DatagramChannel.java:
13296 (DatagramChannel): New constructor.
13297 * java/nio/channels/Pipe.java: New file.
13298 * java/nio/channels/SelectableChannel.java: New file.
13299 * java/nio/channels/SelectionKey.java: New file.
13300 * java/nio/channels/Selector.java: New file.
13301 * java/nio/channels/ServerSocketChannel.java
13302 (ServerSocketChannel): New constructor.
13303 * java/nio/channels/SocketChannel.java
13304 (SocketChannel): New constructor.
13305 * java/nio/channels/Pipe.java: New file.
13306 * java/nio/channels/spi/AbstractChannel.java: New file.
13307 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13308 * java/nio/channels/spi/AbstractSelectableChannel.java:
13309 License added
13310 (AbstractSelectableChannel): New stubbed method.
13311 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13312 * java/nio/channels/spi/AbstractSelector.java: New file.
13313 * java/nio/channels/spi/SelectorProvider.java: New file.
13314 * java/nio/charset/Charset.java: New file.
13315 * java/nio/charset/CoderMalfunctionError.java: New file.
13316 * java/nio/charset/CodingErrorAction.java: New file.
13317 * java/nio/charset/spi/CharsetProvider.java
13318 (charsetForName): Uncommented.
13319 * Makefile.am (java_native_source_files): Added new files.
13320 * Makefile.in: Regenerated.
13321
75fe3383
MK
133222002-11-01 Michael Koch <konqueror@gmx.de>
13323
13324 * java/net/InetAddress.java:
13325 (isAnyLocalAddress): Implemented.
13326 (isLoopbackAddress): Implemented, comment added.
13327 (isLinkLocalAddress): Implemented, documentation added.
13328 (isSiteLocalAddress): Implemented, documentation added.
13329 (isMCGlobal): Implemented, documentation added.
13330 (isMCNodeLocal): Implemented, documentation added.
13331 (isMCLinkLocal): Implemented, documentation added.
13332 (isMCSiteLocal): Implemented, documentation added.
13333 (isMCOrgLocal): Implemented, documentation added.
13334 (getHostName): Documentation added.
13335 (getCanonicalHostName): Implemented, documentation added.
13336 (getAddress): Documentation added.
13337 (hashCode): Documentation added.
13338 (equals): Documentation added.
13339 (toString): Fixed implementation.
13340 (getByAddress): Use Inet4Address and Inet6Address.
13341 (lookup): New linewrap.
13342 (getByName): SecurityManager check added, support Inet4Address and
13343 Inet6address, comments added.
13344 (getAllByName): SecurityManager check added, comments added.
13345 * java/net/Inet6Address.java:
13346 (Inet6Address): Initialize parent class with addr instead of null.
13347 * java/net/URL.java
13348 (equals): Documentation added.
13349 (getFile): Documentation added.
13350 (hashCode): Documentation added.
13351 * java/net/natInetAddress.cc:
13352 (aton): Fix IPv6 support.
13353 * java/net/natPlainDatagramSocketImpl.cc:
13354 (peek): Throw PortUnreachableException when suitable.
13355 (peekData): Throw PortUnreachableException when suitable.
13356 (send): Throw PortUnreachableException when suitable.
13357 (receive): Throw PortUnreachableException when suitable.
13358
5e81d5be
MW
133592002-10-27 Mark Wielaard <mark@klomp.org>
13360
13361 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13362 argument.
13363 (readLeShort): Likewise and use byte[].
13364 (readLeInt): Likewise.
13365 (readEntries): Use new versions of methods and use byte[] for reading
13366 a complete zip entry. Add ZipFile name to exceptions.
13367 (entries): Add ZipFile name to exceptions.
13368 (getEntry): Likewise.
13369 (checkLocalHeader): Use new versions of methods and add ZipFile name
13370 to exceptions.
13371
b8d5baff
MA
133722002-10-31 Mark Anderson <mark@panonet.net>
13373
13374 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13375 added
13376
7deae97a
KW
133772002-10-25 Krister Walfridsson <cato@df.lth.se>
13378
13379 * configure.in: Disable hash sync when not using threads.
13380 * configure: Regenerated.
13381
ca7c2b85
TT
133822002-10-24 Tom Tromey <tromey@redhat.com>
13383
13384 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13385 (_Jv_FindSymbolInExecutable): Removed argument name.
13386 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13387 java.library.path is set.
13388
13389 * gij.cc (help): Document --showversion.
13390 (version): Don't exit.
13391 (main): Handle --showversion. Exit if --version given.
13392
b0af98d7
TT
133932002-10-23 Tom Tromey <tromey@redhat.com>
13394
13395 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13396 (array_from_valist): Correctly handle promotion for jint, jlong,
13397 jfloat, and jdouble.
13398
963f08a9
RM
133992002-10-23 Ranjit Mathew <rmathew@hotmail.com>
13400
13401 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13402 GetFileAttributesEx( ) to find file length and modification times,
13403 as the latter is not present on Windows 95.
13404
a9fe0798 134052002-10-21 Michael Koch <konqueror@gmx.de>
e1caed89
MK
13406
13407 * java/net/URL.java
13408 (URL): Activate SecurityManager checks.
13409 (equals): Use URLStreamHandler implementation instead of doing it
13410 alone. This allows special protocol stream handlers to change default
13411 behaviour.
13412 (hashCode): Use URLStreamHandler implementation instead of doing it
13413 alone. This allows special protocol stream handlers to change default
13414 behaviour.
13415 * java/net/URLStreamHandler.java
13416 (equals): Implemented default URL equality check.
13417 (hostsEqual): Implemented default URL equality check.
13418 (hashCode): Implemented default URL hashCode algorithm.
13419 * java/net/natPlainDatagramSocketImpl.cc:
13420 No lines longer then 80 characters.
54d9d34a 13421
e2a450f6
AM
134222002-10-20 Adam Megacz <adam@xwt.org>
13423
13424 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13425 * configure.in: enabled hash sync on Win32
4977bab6
ZW
13426 * include/win32-threads.h (_Jv_ThreadId_t): added.
13427 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
e2a450f6
AM
13428 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13429 removed some posix-isms, use Thread::sleep() instead of usleep,
13430 added code to clear bottom three bits if platform has a broken
c53be425
TT
13431 linker.
13432 * include/win32-threads.h (_Jv_ThreadId_t): added.
e2a450f6 13433
6d0b22ec
RM
134342002-10-19 Ranjit Mathew <rmathew@hotmail.com>
13435
13436 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13437 runtime property "gnu.gcj.progname" containing the name used to
13438 invoke the current Java program (similar to argv[0] for C
13439 programs).
13440
315b6591
TT
134412002-10-15 Tom Tromey <tromey@redhat.com>
13442
13443 Fix for PR libgcj/8234:
13444 * java/util/zip/natInflater.cc (reset): Reset avail_in.
13445 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13446
8fa7c5af
MW
134472002-10-13 Mark Wielaard <mark@klomp.org>
13448
13449 * mauve-libgcj: Enable Mauve tests that compile now.
13450
9dac6355
MW
134512002-10-11 Mark Wielaard <mark@klomp.org>
13452
13453 Fix for PR libgcj/8142
13454 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13455 loading native modules.
13456
9461e24c
MK
134572002-10-10 Michael Koch <konqueror@gmx.de>
13458
13459 * javax/swing/AbstractListModel.java
13460 (getListDataListeners): New stubbed method.
13461 javax/swing/DefaultBoundedRangeModel.java
13462 (getChangeListeners): New stubbed method.
13463 javax/swing/DefaultSingleSelectionModel.java
13464 (getChangeListeners): New stubbed method.
13465
4d1d2b09
MK
134662002-10-10 Michael Koch <konqueror@gmx.de>
13467
13468 * gcj/.cvsignore: New file to ignore files generated during build.
13469 * include/.cvsignore: New file to ignore files generated during build.
13470
134712002-10-10 Michael Koch <konqueror@gmx.de>
7393decb
MK
13472
13473 * java/net/HttpURLConnection.java
13474 (getPermission): New method.
13475 (getErrorStream): New stub method.
13476 (getHeaderFieldDate): New stub method.
13477 * java/net/Inet4Address.java:
13478 (isLinkLocalAddress): Typo fixed.
13479 * java/net/InetAddress.java:
13480 (readResolve): New stubbed method (for serialization).
13481 (isAnyLocalAddress): New stubbed method.
13482 (isLoopbackAddress): New stubbed method.
13483 (isLinkLocalAddress): New stubbed method.
13484 (isSiteLocalAddress): New stubbed method.
13485 (isMCGlobal): New stubbed method.
13486 (isMCNodeGlobal): New stubbed method.
13487 (isMCLinkLocal): New stubbed method.
13488 (isMCSiteLocal): New stubbed method.
13489 (isMCOrgLocal): New stubbed method.
13490 (getCanonicalHostName): New stubbed method.
13491 (getByAddress): Create instances of Inet4Address/Inet6Address,
13492 instead of InetAddress, documentation added.
13493 * java/net/MulticastSocket.java
13494 (getInterface): Removed FIXME.
13495 (getNetworkInterface): New method.
13496 (setNetworkInterface): New method.
13497 * java/net/NetworkInterface.java:
13498 (toString): Use property "line.separator" instead of "\n".
13499 * java/net/URLConnection.java
13500 (getContent): New stubbed method.
13501 * java/net/URLStreamHandler.java:
13502 (equals): New stubbed method.
13503 (hostsEqual): New stubbed method.
13504 (hashCode): New stubbed method.
13505 * java/net/natNetworkInterface.cc:
13506 (getRealNetworkInterfaces): Create Inet4Address object
13507 instead of InetAddress.
13508
b7932de6
UW
135092002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
13510
13511 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13512 unsigned long temporary to implement insn_iushr shifts.
13513
5404cddb
UW
135142002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
13515
13516 * configure.host [s390*-*]: Enable Java interpreter.
13517 Enable hash synchronization. Add sysdeps dir.
13518 * sysdep/s390/locks.h: New file.
13519
8086481c
MW
135202002-10-06 Mark Wielaard <mark@klomp.org>
13521
13522 * java/lang/Thread.java (setDaemon): Check startable_flag,
13523 not isAlive().
13524
0c59cbfa
MK
135252002-10-07 Michael Koch <konqueror@gmx.de>
13526
13527 * java/nio/Buffer.java: New stub file.
13528 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13529 of class Charset.
13530 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13531 * Makefile.in: Regenerated.
13532
0f31d441
MK
135332002-10-07 Michael Koch <konqueror@gmx.de>
13534
13535 * java/nio/ByteBuffer.java:
13536 removed import of not commited class.
13537
7f73f46f
MK
135382002-10-07 Michael Koch <konqueror@gmx.de>
13539
13540 * java/nio/ByteBuffer.java,
13541 java/nio/MappedByteBuffer.java:
13542 New files, forgot to add these dummies.
13543 * Makefile.am (java_native_source_files): Added new files.
13544 * Makefile.in: Regenerated.
13545
0b6dfe3b
MK
135462002-10-07 Michael Koch <konqueror@gmx.de>
13547
13548 * java/nio/channels/AlreadyConnectedException.java,
13549 java/nio/channels/ClosedChannelException.java,
13550 java/nio/channels/ReadableByteChannel.java,
13551 java/nio/channels/InterruptibleChannel.java,
13552 java/nio/channels/Channel.java,
13553 java/nio/channels/ByteChannel.java,
13554 java/nio/channels/GatheringByteChannel.java,
13555 java/nio/channels/ScatteringByteChannel.java,
13556 java/nio/channels/WritableByteChannel.java,
13557 java/nio/charset/CharacterCodingException.java,
13558 java/nio/charset/IllegalCharsetNameException.java,
13559 java/nio/charset/MalformedInputException.java,
13560 java/nio/charset/UnmappableCharacterException.java,
13561 java/nio/charset/UnsupportedCharsetException.java,
13562 java/nio/charset/spi/CharsetProvider.java: New file.
13563 These files are exceptions or interfaces,
13564 no real or abstract classes.
13565 * Makefile.am (java_native_source_files): Added new files.
13566 * Makefile.in: Regenerated.
13567
f5b63cb6
MK
135682002-10-05 Michael Koch <konqueror@gmx.de>
13569
13570 * java/net/InetAddress.java
13571 (getByAddress): Fixed documentation.
13572 (getByAddress): New method.
13573 * java/net/Inet4Address.java: New file.
13574 * java/net/URL.java
13575 (URL): Documentation added.
13576 (getContent): Documentation added.
13577 (getContent): New stubbed method.
13578 (getQuery): New method.
13579 (openConnection): Documentation added.
13580 (openStream): Documentation added.
13581 (setURLStreamHandlerFactory): Documentation added.
13582 * java/net/URI.java: New stub file.
13583 * Makefile.am
13584 (java_native_source_files): Added java/net/Inet4Address.java,
13585 java/net/Inet6Address.java and java/net/URI.java.
13586 * Makefile.in: Regenerated.
13587
7992cddd 135882002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
54d9d34a 13589
7992cddd
MW
13590 * java/lang/ProtectionDomain.java (linesep): Remove field.
13591 (toString): Use System.getProperty("line.separator").
13592
135932002-10-04 Michael Koch <konqueror@gmx.de>
13594
13595 * java/security/Identity.java: Added serialVersionUID.
13596 * java/security/KeyPair.java: Added serialVersionUID.
13597 * java/security/Provider.java: Added serialVersionUID.
13598 * java/security/SecureRandom.java: Added serialVersionUID.
13599 * java/security/SecureRandomSpi.java: Added serialVersionUID.
13600 * java/security/SignedObject.java: Added serialVersionUID.
13601 * java/security/cert/Certificate.java: Added serialVersionUID.
13602
136032002-10-04 Mark Wielaard <mark@klomp.org>
13604
13605 * java/security/Security.java: Use java.home or gnu.classpath.home
13606 to load providers.
13607 (loadProviders): Extra dir argument.
13608 (getProvider): Return null when not found.
13609
0a3fbe88
MW
136102002-10-04 Mark Wielaard <mark@klomp.org>
13611
13612 * java/lang/Throwable.java: Remerge with Classpath.
13613
cc40c1e1
MK
136142002-10-04 Michael Koch <konqueror@gmx.de>
13615
13616 * java/net/InetAddress.java:
13617 (isMulticastAddress): Added documentation.
13618 (getHostAddress): Added documentation.
13619 (toString): Added documentation.
13620 (getByAddress): Fixed documentation.
13621 (getByName): Added documentation.
13622 (getAllByName): Added documentation.
13623 (getLocalHost): Added documentation.
13624
9c826022
MK
136252002-10-04 Michael Koch <konqueror@gmx.de>
13626
13627 * java/beans/beancontext/BeanContextChildSupport.java:
13628 Added serialVersionUID.
13629 * java/text/Collator.java: (compare): Made documentation HTML-aware.
13630 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13631 * javax/naming/Name.java: Added serialVersionUID.
13632
e662e109
AM
136332002-10-03 Adam Megacz <adam@xwt.org>
13634
13635 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13636 some functionality that isn't supported yet on WIN32.
13637
3db03e43
TT
136382002-10-03 Tom Tromey <tromey@redhat.com>
13639
13640 * Makefile.in: Rebuilt.
13641 * Makefile.am (awt_java_source_files): Added new files.
13642
8e3cce32
MK
136432002-10-03 Michael Koch <konqueror@gmx.de>
13644
13645 * java/net/InetAddress.java
13646 (class InetAddress): Removed final keyword.
13647 (equals): Fixed typo.
13648 (getByAddress): New method.
13649
e3738399
MK
136502002-10-03 Michael Koch <konqueror@gmx.de>
13651
13652 * java/awt/dnd/Autoscroll.java:
13653 New file, merge from Classpath.
13654 * java/awt/dnd/DragSourceAdapter.java:
13655 (dragExit): Fixed typos in argument type.
13656 (dragDropEnd): Fixed typos in argument type.
13657 * java/awt/dnd/DragSourceDropEvent.java:
13658 New file, merge from Classpath.
13659 * java/awt/dnd/DropTarget.java:
13660 Added stubs, merge from Classpath.
13661 * java/awt/dnd/DropTargetAdapter.java:
13662 New file, merge from Classpath.
13663 * java/awt/dnd/DropTargetContext.java:
13664 New file, merge from Classpath.
13665 * java/awt/dnd/DropTargetDragEvent.java:
13666 New file, merge from Classpath.
13667 * java/awt/dnd/DropTargetDropEvent.java:
13668 New file, merge from Classpath.
13669 * java/awt/dnd/DropTargetEvent.java:
13670 New file, merge from Classpath.
13671 * java/awt/dnd/DropTargetListener.java:
13672 New file, merge from Classpath.
13673 * java/awt/dnd/MouseDragGestureRecognizer.java:
13674 New file, merge from Classpath.
13675 * java/awt/dnd/peer/DropTargetContextPeer.java:
13676 New file, merge from Classpath.
13677
a8e8f5c3
MK
136782002-10-03 Michael Koch <konqueror@gmx.de>
13679
13680 * java/net/DatagramPacket.java
13681 (setLength): Fixed typo and be HTML-aware.
13682 * java/net/InetSocketAddress.java
13683 (InetSocketAddress): Correct initialization of hostname, fixed typo.
13684 (equals): Added comment about equality of InetSocketAddress objects.
13685 * java/net/ServerSocket.java
13686 (accept): Added checks.
13687 (isClosed): New stubbed method.
13688 * java/net/SocketOptions.java: Reindention.
13689 * java/net/SocketPermission
13690 (SocketPermission): Documentation fixed.
54d9d34a 13691
a8e8f5c3 136922002-10-03 Michael Koch <konqueror@gmx.de>
e832ab3c
MK
13693
13694 * java/net/DatagramSocket.java
13695 (receive): Check with SecurityManager AFTER the packet is received,
13696 check if connected to multicast address, documentation added.
13697 (send): Only check SecurityManager if connected, check address of
13698 packet to send.
13699 (connect): Implemented, documentation added.
13700 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13701 * java/net/InetSocketAddress.java
13702 (whole file): Reindented.
13703 (hostname): New attribute.
13704 (InetSocketAddress): Initialize new attribute.
13705 (getAddress): Documentation added.
13706 (getHostName): Documentation added.
13707 (getPort): Documentation added.
13708 (hashCode): Documentation added.
13709 (isUnresolved): Documentation added.
13710 (toString): Conform to output of JDK 1.4.1, documentation added.
13711 * java/net/MulticastSocket.java
13712 (joinGroup): Removed FIXME, documentation added.
13713 (leaveGroup): Removed FIXME, documentation added.
13714 (send): Documentation added.
13715 * java/net/Socket.java
13716 (inputShutdown): New variable.
13717 (outputShutdown): New variable.
13718 (Socket): Initialize new variables.
13719 (getRemoteSocketAddress): Check if connected.
13720 (shutdownInput): Set new variable.
13721 (shutdownOutput): Set new variable.
13722 (isConnected): New method.
13723 (isClosed): New method.
13724 (isInputShutdown): New method.
13725 (isOutputShutdown): New method.
13726 * java/net/URLStreamHandler.java
13727 (URLStreamHandler): New method.
13728 (openConnection): Added documentation.
13729 (parseURL): Added documentation.
13730 (getHostAddress): New method.
13731 (getDefaultPort): New method.
13732
593bbdc1
TT
137332002-10-02 Tom Tromey <tromey@redhat.com>
13734
13735 * java/rmi/activation/ActivationDesc.java,
13736 java/rmi/activation/ActivationGroupDesc.java,
13737 java/rmi/activation/ActivationGroupID.java,
13738 java/rmi/activation/ActivationID.java: New versions from
13739 Classpath.
13740
73bff064
BT
137412002-09-30 Bo Thorsen <bo@suse.de>
13742
13743 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13744
d74732f5
TT
137452002-09-30 Tom Tromey <tromey@redhat.com>
13746
13747 * java/io/ObjectInputStream.java (resolveProxyClass): New method
13748 from Classpath.
13749 * Makefile.in: Rebuilt.
13750 * Makefile.am (rmi_java_source_files): Added new files.
13751 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13752 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13753 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13754 Classpath.
13755 * gnu/java/rmi/dgc/DGCImpl.java,
13756 gnu/java/rmi/dgc/DGCImpl_Skel.java,
13757 gnu/java/rmi/dgc/DGCImpl_Stub.java,
13758 gnu/java/rmi/registry/RegistryImpl_Skel.java,
13759 gnu/java/rmi/registry/RegistryImpl_Stub.java,
13760 gnu/java/rmi/server/RMIHashes.java,
13761 gnu/java/rmi/server/RMIObjectInputStream.java,
13762 gnu/java/rmi/server/RMIObjectOutputStream.java,
13763 gnu/java/rmi/server/UnicastConnection.java,
13764 gnu/java/rmi/server/UnicastConnectionManager.java,
13765 gnu/java/rmi/server/UnicastRef.java,
13766 gnu/java/rmi/server/UnicastServer.java,
13767 gnu/java/rmi/server/UnicastServerRef.java,
13768 java/rmi/MarshalledObject.java,
13769 java/rmi/server/RMIClassLoader.java,
13770 java/rmi/server/RemoteObject.java,
13771 java/rmi/server/UnicastRemoteObject.java,
13772 java/security/SecureClassLoader.java: Merged from Classpath.
13773
d3cc3f10
AG
137742002-09-29 Anthony Green <green@redhat.com>
13775
13776 * java/lang/reflect/UndeclaredThrowableException.java: New file.
13777 Imported from GNU Classpath.
13778 * java/lang/reflect/natProxy.cc: New file.
13779 * java/lang/reflect/InvocationHandler.java: New file. Imported
13780 from GNU Classpath.
13781 * java/lang/reflect/Proxy.java: New file. Imported from GNU
13782 Classpath.
13783 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
54d9d34a 13784 Classpath.
d3cc3f10
AG
13785 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13786 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13787 New statics.
13788 * gcj/javaprims.h ("Java"): Add new classes.
13789 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13790 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
54d9d34a 13791 java/lang/reflect/Proxy$$ProxyType.h): And this.
d3cc3f10
AG
13792 (inner_nat_headers): Add these new headers.
13793 (ordinary_java_source_files): Add new files.
13794 (nat_source_files): Add new file.
13795 * Makefile.in: Rebuilt.
13796
841b8360
RE
137972002-09-28 Richard Earnshaw <rearnsha@arm.com>
13798
13799 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13800 a single configuration.
13801
8dc24041
JR
138022002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13803
13804 * java/util/TimeZone.java (getDSTSavings): New method.
13805 Fixes PR libgcj/7786.
13806
8848a766
JR
138072002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13808
13809 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13810 to see if `the_method == 0' before looking up vtable index.
13811 Fixes PR libgcj/7709.
13812
7ea082bb
TT
138132002-09-25 Tom Tromey <tromey@redhat.com>
13814
54d9d34a 13815 * java/lang/natClassLoader.cc:
169f75f3
TT
13816 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13817 * resolve.cc: Include NoClassDefFoundError.h, not
13818 ClassNotFoundException.h.
13819 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
8848a766 13820
169f75f3
TT
13821 * defineclass.cc: Don't include ClassNotFoundException.h.
13822
fd44a92d
TT
13823 * resolve.cc: Include StringBuffer.
13824 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13825
7ea082bb
TT
13826 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13827 allocated but not initialized.
13828
941b08f2
JR
138292002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
13830
13831 Fix for PR libgcj/7766:
13832 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13833 (getNextEntry): Set it.
13834 (closeEntry): Likewise.
13835 (read): Likewise.
13836 (close): Likewise.
13837 (available): Use it.
13838
fc44b85d
MK
138392002-09-25 Michael Koch <konqueror@gmx.de>
13840
13841 * java/net/DatagramSocket.java
13842 (DatagramSocket): Initialize new instance variables.
13843 (close): Reset new instance variables.
13844 (getLocalAddress): Remove unneeded SecurityManager usage.
13845 (getLocalPort): Check if socket is already bound.
13846 (isConnected): New method.
13847 (getInetAddress): Implemented.
13848 (getPort): Better Implementation, documentation fixed.
13849 (getRemoteSocketAddress): New method.
13850 * java/net/JarURLConnection.java
13851 (element): Typo fixed.
13852 (getMainAttributes): New method.
13853 (getAttributes): New method (stub only).
13854 (getManifest): New method (stub only).
13855 * java/net/NetPermission.java: Added serialVersionsUID.
13856 * java/net/Socket.java
13857 (connect): Check blocking mode of associated channel,
13858 documentation added.
13859 (getLocalSocketAddress): Better implementation.
13860 (getRemoteSocketAddress): Implemented.
13861 (isBound): New method.
13862 (setSendBufferSize): Documentation added.
13863 * java/net/SocketAddress.java: Added serialVersionsUID.
13864 * java/net/SocketPermission.java: Added serialVersionsUID.
13865 * java/net/URL.java
13866 (URL): Wrap for shorter lines, initialize new instance variables,
13867 documentation added.
13868 (equals): Check new instance variables too.
13869 (getContent): Documentation added.
13870 (getPath): Documentation added.
13871 (getAuthority): New method.
13872 (getHost): Documentation added.
13873 (getPort): Documentation added.
13874 (getDefaultPort): New method.
13875 (getProtocol): Documentation added.
13876 (getUserInfo): Documentation added.
13877 (set): Initialize new instance variables, documentation added.
13878 * java/net/URLStreamHandler.java
13879 (setURL): New method.
13880 * java/net/natPlainDatagramSocketImpl.cc
13881 (connect): Fix exception name.
13882 (disconnect): Fix exception name.
13883
1754e35c
MK
138842002-09-25 Michael Koch <konqueror@gmx.de>
13885
13886 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13887 * java/nio/channels/DatagramChannel.java:
13888 extends AbstractSelectableChannel
13889 * java/nio/channels/ServerSocketChannel.java:
13890 extends AbstractSelectableChannel
13891 * java/nio/channels/SocketChannel.java:
13892 extends AbstractSelectableChannel
13893 * Makefile.am (ordinary_java_source_files):
13894 java/nio/channels/spi/AbstractSelectableChannel.java added.
13895 * Makefile.in: Regenerated.
13896
df79dc1a
MK
138972002-09-25 Michael Koch <konqueror@gmx.de>
13898
13899 * java/net/DatagramSocket.java
13900 (DatagramSocket): Exception documentation added.
13901 (bind): Exception documentation added, addded SecurityManager check,
13902 added SocketAddress type check.
13903 (getSoTimeout): Check impl.
13904 (receive): Fix SecurityManager check, check impl, documentation added.
13905 (send): Check channel mode, documentation added.
13906 (connect): New method.
13907 (disconnect): Implemented.
13908 (getLocalSocketAddress): New method.
13909 (getReceiveBufferSize): Check impl.
13910 (setReuseAddress): Check impl.
13911 (getReuseAddress): Check impl.
13912 (setBroadcast): Check impl.
13913 (getBroadcast): Check impl.
13914 (setTrafficClass): Check impl, Documentation cleared.
13915 (getTrafficClass): Check impl.
13916 (getSendBufferSize): Check impl.
13917 (setReceiveBufferSize): Check impl, documentation added.
13918 (setSendBufferSize): Documentation added.
13919 (setDatagramSocketImplFactory): New method.
13920 * java/net/HttpURLConnection.java
13921 (HTTP_INTERNAL_ERROR): The correct code is 500.
13922 (HTTP_NOT_IMPLEMENTED): Added new constant.
13923 (setFollowRedirects): Documentation added.
13924 (getInstanceFollowRedirects): New method.
13925 (setInstanceFollowRedirects): New method.
13926 (setRequestMethod): Documentation added.
13927 (getResponseCode): Documentation added.
13928 (getResponseMessage): Documentation added.
13929 * java/net/JarURLConnection.java
13930 (JarURLConnection): protected since JDK 1.4.
13931 (getJarEntry): java.io.IOException to IOException, documentation added.
13932 (getJarFile): Documentation added.
13933 * java/net/ServerSocket.java
13934 (ServerSocket): Private to public, exception added.
13935 (ServerSocket): java.io.IOException to IOException, documentation added.
13936 (bind): Check socket address type, documentation added.
13937 (bind): java.io.IOException to IOException, documentation added.
13938 (accept): Documentation added.
13939 (implAccept): Check ch is not non-blocking, documentation added.
13940 (setSoTimeout): Documentation fixed.
13941 (setReceiveBufferSize): Documentation added.
13942 * java/net/Socket.java
13943 (Socket): Documentation added.
13944 (bind): Documentation added.
13945 (connect): Check socket address type, documentation added.
13946 (getRemoteSocketAddress): New method.
13947 (getLocalSocketAddress): New method.
13948 (setSoLinger): Documentation added.
13949 (getReuseAddress): New method.
13950 (setReuseAddress): New method.
13951 (getTrafficClass): New method.
13952 (setTrafficClass): New method.
13953 * java/net/URLStreamHandler.java
13954 (openConnection): java.io.IOException to IOException.
13955 (parseURL): Documentation added.
13956 (sameFile): public to protected, documentation added.
13957 (setURL): Documentation added.
13958 * java/nio/IllegalBlockingModeException.java: New file.
13959 * Makefile.am (ordinary_java_source_files):
13960 added java/nio/IllegalBlockingModeException.java
13961 * Makefile.in: Regenerated.
13962
ed08cfe4
MK
139632002-09-25 Michael Koch <konqueror@gmx.de>
13964
13965 * java/net/DatagramPacket
13966 (DatagramPacket): Exception documentation added.
13967 (setData): Likewise.
13968 (setSocketAddress): Likewise.
13969 * java/net/DatagramSocketImpl.java
13970 (peek): Documentation addded.
13971 (peekData): Documentation addded.
13972 (send): Documentation addded.
13973 (receive): Documentation addded.
13974 (connect): New method.
13975 (disconnect): New method.
13976 (joinGroup): New abstract method.
13977 (leaveGroup): New abstract method.
13978 * java/net/InetSocketAddress.java
13979 (InetSocketAddress): Documentation added.
13980 (equals): final keyword added.
13981 (getAddress): final keyword added.
13982 (getHostName): final keyword added.
13983 (getPort): final keyword added.
13984 (hashCode): final keyword added.
13985 (isUnresolved): final keyword added.
13986 * java/net/MulticastSocket.java
13987 (MulticastSocket): Documentation added.
13988 (MulticastSocket): New method.
13989 (joinGroup): Documentation added.
13990 (joinGroup): New method.
13991 (leaveGroup): Documentation added.
13992 (leaveGroup): New method.
13993 (send): Documentation added.
13994 * java/net/NetworkInterface.java
13995 (getByName): Documentation added.
13996 (getByInetAddress): Documentation added.
13997 (getNetworkInterfaces): Documentation added.
13998 * java/net/PlainDatagramSocketImpl.java
13999 (connect): New method.
14000 (disconnect): New method.
14001 * java/net/SocketImpl.java
14002 (create): Documentation added.
14003 (shutdownInput): Convert public to protected, as it always was.
14004 (shutdownOutput): Convert public to protected, as it always was.
14005 * java/net/SocketOptions.java
14006 (whole file): Reintented.
14007 * java/net/URLClassLoader.java
14008 (URLClassLoader): SecurityManager check added, documentation added.
14009 (findResources): Documentation added.
14010 (findClass): Documentation added.
14011 (newInstance): More correct method arguments.
14012 * java/net/URLConnection.java
14013 (connect): Documentation added.
14014 (getContent): Documentation added.
14015 (getPermission): Documentation added.
14016 (getInputStream): Documentation added.
14017 (getOutputStream): Documentation added.
14018 (setDoInput): Throw correct exception, documentation added.
14019 (setDoOutput): Throw correct exception, documentation added.
14020 (setAllowUserInteraction): Throw correct exception, documentation added.
14021 (setUseCaches): Throw correct exception, documentation added.
14022 (setIfModifiedSince): Throw correct exception, documentation added.
14023 (setRequestProperty): Throw exception, documentation added.
14024 (addRequestProperty): Throw exception, documentation added.
14025 (getRequestProperty): Throw exception, documentation added.
14026 (getRequestProperties): Documentation added.
14027 (setContentHandlerFactory): Documentation added.
14028 (guessContentTypeFromName): protected to public.
14029 (setFileNameMap): Documentation added.
14030 * java/net/URLDecoder.java
14031 (URLDecoder): New method.
14032 (decode): Documentation added.
14033 (whole file): Reindented.
14034 * java/net/URLEncoder.java
14035 (encode): Documentation added.
14036 * java/net/natPlainDatagramSocketImpl.cc
14037 (connect): New method.
14038 (disconnect): New method.
14039 * javax/naming/RefAddr:
14040 (addrType): addrType was never final.
14041 (equals): Fix typo in method name.
14042 * javax/naming/BinaryRefAddr:
14043 (equals): Fix typo in method name.
14044
8cf35364
TT
140452002-09-22 Tom Tromey <tromey@redhat.com>
14046
14047 Fix for PR libgcj/6576:
14048 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
14049 didn't find a given bundle.
14050 (getBundle): Don't require base bundle.
14051 (setParent): Removed old comment.
14052 (tryLocalBundle): Try components even if preceding components were
14053 empty.
14054
6c5d742e
KG
140552002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14056
14057 * Makefile.am (all-multi): Fix multilib parallel build.
14058
be362a0d
MK
140592002-09-21 Michael Koch <konqueror@gmx.de>
14060
14061 * java/net/Socket.java
14062 (sendUrgentData): New method.
14063 (getChannel): New method.
14064 * java/net/ServerSocket.java
14065 (getChannel): New method.
14066 (isBound): New method.
14067 * java/net/DatagramSocket.java
14068 (DatagramSocket): Two new methods.
14069 (bind): New method.
14070 (getChannel): New method.
14071 (isBound): New method.
14072 (send): Added newline to to make shorter lines.
14073 * java/net/PlainDatagramSocketImpl.java
14074 (mcastGrp): Added argument.
14075 (join): Use new mcastGrp.
14076 (leave): Use new mcastGrp.
14077 (joinGroup): New method.
14078 (leaveGroup): New method.
14079 * java/net/natPlainDatagramSocketImpl.cc
14080 (mcastGrp): Added argument, no yet really implemented.
14081 (getOption): Added newline for shorter lines.
14082 * java/net/natPlainSocketImpl.cc
14083 (read, setOption, getOption): Added newline for shorter lines.
14084
b5f4221e
TT
140852002-09-19 Tom Tromey <tromey@redhat.com>
14086
ed08cfe4
MK
14087 * java/lang/ClassLoader.java (resolveClass0): Set cause for
14088 newly-created exception.
b5f4221e 14089
a2f2457f
MK
140902002-09-18 Michael Koch <konqueror@gmx.de>
14091
14092 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14093 java/util/regex/PatternSyntaxException.java:
14094 Merge with classpath, new files.
14095 * Makefile.am (core_java_source_files):
14096 Added java/util/regex/Matcher.java,
14097 java/util/regex/Pattern.java,
14098 java/util/regex/PatternSyntaxException.java
14099 * Makefile.in: Regenerated.
14100 * include/config.h.in: Added HAVE_NET_IF_H.
14101 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
14102 Removed #if 0 ... #endif.
54d9d34a 14103
17656182
MK
141042002-09-17 Michael Koch <konqueror@gmx.de>
14105
14106 * java/net/natNetworkInterface.cc:
14107 Removed unneed and yet wrong includes.
14108
26ad77f1
MK
141092002-09-17 Michael Koch <konqueror@gmx.de>
14110
14111 * java/net/NetworkInterface.java: New file.
14112 * java/net/natNetworkInterface.java: New file.
14113 * configure.in: Added check for net/if.h.
14114 * configure: Regenerated.
14115 * Makefile.am
14116 (ordinary_java_source_files): Added NetworkInterface.java.
14117 (nat_source_files): Added natNetworkInterface.cc.
14118 * Makefile.in: Regenerated.
14119
e46b54a2
TT
141202002-09-16 Tom Tromey <tromey@redhat.com>
14121
14122 * java/net/URLClassLoader.java (findClass): Code source for a
14123 class from a jar is not necessarily a jar: URL.
14124
cf0f53eb
MK
141252002-09-16 Michael Koch <konqueror@gmx.de>
14126
14127 * java/lang/AssertionError.java:
14128 Merge with classpath, fixes HTML.
14129 * java/rmi/server/LogStream.java:
14130 Merge with classpath, fixes some constants.
14131 * java/net/server/RemoteServer.java:
14132 Merge with classpath, adds serialVersionUID.
14133 * javax/naming/BinaryRefAddr.java:
14134 Merge with classpath, s/equal/equals/.
14135 * javax/naming/NamingException.java:
14136 Merge with classpath, fixed typo.
14137 * javax/naming/RefAddr.java:
14138 Merge with classpath, s/equal/equals/.
14139 * java/awt/Toolkit.java:
14140 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
14141 and typo fixed.
14142
233dad07 141432002-09-15 Adam Megacz <adam@xwt.org>
54d9d34a 14144
233dad07
AM
14145 * java/net/natPlainSocketImpl.cc: fixed typo.
14146
9d436916 141472002-09-15 Adam Megacz <adam@xwt.org>
54d9d34a 14148
9d436916
AM
14149 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
14150 which don't work on Win32 (yet).
14151
981f97c3 141522002-09-14 Adam Megacz <adam@xwt.org>
54d9d34a 14153
981f97c3
AM
14154 * java/net/natPlainDatagramSocket.cc: removed #include
14155 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
14156 * include/win32.h: included definition for IP_TOS to satisfy
14157 natPlainDatagramSocket.cc
54d9d34a 14158
69aeba4e 141592002-09-13 Michael Koch <konqueror@gmx.de>
54d9d34a 14160
69aeba4e
MK
14161 * java/net/DatagramPacket.java (DatagramPacket):
14162 Added linebreak for 80 chars per line.
14163 * java/net/JarURLConection.java
cf0f53eb
MK
14164 (getInputStreami, getJarEntry): Likewise.
14165 * java/net/SocketPErmission.java
69aeba4e
MK
14166 (SocketPermission class docu, implies): Likewise.
14167 * java/net/URLClassLoader.java (findResources): Likewise.
14168 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
14169
8764acde
MK
141702002-09-13 Michael Koch <konqueror@gmx.de>
14171
14172 * java/nio/channels/DatagramChannel.java,
14173 java/nio/channels/ServerSocketChannel.java
14174 java/nio/channels/SocketChannel.java:
14175 New dummy files to make java.net fully JDK 1.4 compatible
14176 * Makefile.am (ordinary_java_source_files): Added
14177 java/net/DatagramSocketImplFactory.java (long forgotten),
14178 java/nio/SocketChannel.java,
14179 java/nio/ServerSocketChannel.java,
14180 java/nio/DatagramChannel.java
14181 * Makefile.in: Regenrated.
14182
d0c97db6
MK
141832002-09-12 Michael Koch <konqueror@gmx.de>
14184
8764acde 14185 * java/net/DatagramSocketImpl.java
d0c97db6
MK
14186 (peekData): New method.
14187 * java/net/PlainDatagramSocketImpl.java
14188 (peekData): New method.
14189 * java/net/natPlainDatagramSocketImpl.cc
14190 (peekData): New method.
14191 * java/net/URLConnection
14192 (getPermission): New method.
14193 (addRequestProperty): New method.
14194 (getRequestProperties): New method.
14195 (guessContentTypeFromStream): New method, not really implemented.
14196 (URLConnection): Added/updated documentation.
14197 (connect): Added/updated documentation.
14198 (getURL): Added/updated documentation.
14199 (getContentLength): Added/updated documentation.
14200 (getContentType: Added/updated documentation.
14201 (getContentEncoding): Added/updated documentation.
14202 (getExpiration): Added/updated documentation.
14203 (getDate): Added/updated documentation.
14204 (getLastModified): Added/updated documentation.
14205 (getHeaderField): Added/updated documentation.
14206 (getHeaderFields): Added/updated documentation.
14207 (getHeaderFieldInt): Added/updated documentation.
14208 (getHeaderFieldDate): Added/updated documentation.
14209 (getHeaderFieldKey): Added/updated documentation.
14210 (getContent): Added/updated documentation.
14211 (getInputStream): Added/updated documentation.
14212 (getOutputStream): Added/updated documentation.
14213 (toString): Added/updated documentation.
14214 (setDoInput): Added/updated documentation.
14215 (getDoInput): Added/updated documentation.
14216 (setDoOutput): Added/updated documentation.
14217 (getDoOutput): Added/updated documentation.
14218 (setAllowUserInteraction): Added/updated documentation.
14219 (getAllowUserInteraction): Added/updated documentation.
14220 (setDefaultAllowUserInteraction): Added/updated documentation.
14221 (getDefaultAllowUserInteraction): Added/updated documentation.
14222 (setUseCaches): Added/updated documentation.
14223 (getUseCaches): Added/updated documentation.
14224 (setIfModifiedSince): Added/updated documentation.
14225 (getIfModifiedSince): Added/updated documentation.
14226 (getDefaultUseCaches): Added/updated documentation.
14227 (setDefaultUseCaches): Added/updated documentation.
14228 (setRequestProperty): Added/updated documentation.
14229 (getRequestProperty): Added/updated documentation.
14230 (setDefaultRequestProperty): Added/updated documentation.
14231 (getDefaultRequestProperty): Added/updated documentation.
14232 (setContentHandlerFactory): Added/updated documentation.
14233 (guessContentTypeFromName): Added/updated documentation.
14234 (getFileNameMap): Added/updated documentation.
14235 (setFileNameMap): Added/updated documentation.
54d9d34a 14236
b7caf8dd
MK
142372002-09-11 Michael Koch <konqueror@gmx.de>
14238
14239 * java/net/Socket.java
14240 (Socket): protected to public (since JDK 1.4). Added @specnote.
14241 (bind): New method.
14242 (connect): Two new methods.
14243 (getKeepalive): Get correct socket option.
14244 (setKeepalive): Set correct socket option.
14245 (getOOBInline): New method.
14246 (setOOBInline): New method.
14247 * java/net/ServerSocket.java
14248 (bind): Two new methods.
14249 (getInetAddress): Reimplemented, catch exception.
14250 (getLocalSocketAddress): New method.
14251 (setReuseAddress): New method.
14252 (getReuseAdress): New method.
14253 (setReceiveBufferSize): New method.
14254 (getReceiveBufferSize): New method.
14255 (toString): Made string JDK 1.4 compliant.
14256
a886956a
MK
142572002-09-10 Michael Koch <konqueror@gmx.de>
14258
14259 * java/net/SocketImpl.java
14260 (connect): New method.
14261 (supportsUrgentData): New method.
14262 (sendUrgentData): New method.
14263 * java/net/PlainSocketImpl.java
14264 (connect): One new method and two new implementation.
14265 (sendUrgentData): New method.
14266 * java/natPlainSocketImpl.cc
14267 (connect): Arguments changed, added support for timeouts.
14268 (getOption): Another __java_boolean to jboolean.
14269
3a357ad1
AM
142702002-09-07 Adam Megacz <adam@xwt.org>
14271
14272 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14273 definition of IP_TOS.
14274
7b98d454
MK
142752002-09-04 Michael Koch <konqueror@gmx.de>
14276
14277 * java/net/DatagramSocket.java
14278 (DatagramSocket): Added documentation.
14279 (close): Likewise.
14280 (getLocalAddress): Likewise.
14281 (getLocalPort): Likewise.
14282 (receive): Likewise.
14283 (send): Likewise.
14284 (setSoTimeout): Likewise.
14285 (connect): New method.
14286 (disconnect): New method.
14287 (getInetAddress): New method (FIXME)
14288 (getPort): New method.
14289 (setReuseAddress): New method.
14290 (getReuseAddress): New method.
14291 (setBroadcast): New method.
14292 (getBroadcast): New method.
14293 (setTrafficClass): New method.
14294 (getTrafficClass): New method.
14295 * java/net/MulticastSocket.java):
14296 (getTTL): Added @see in documentation.
14297 (setTTL): Added @see in documentation.
14298 (setLoopbackMode): New method.
14299 (getLoopbackMode): New method.
14300 * java/net/PlainSocketImpl.java:
14301 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14302 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14303 * java/net/PlainDatagramSocketImpl.java
14304 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14305 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14306 * java/net/natPlainSocketImpl.cc
14307 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14308 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14309 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14310 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14311 This should also fix SO_KEEPALIVE
14312 * java/net/natPlainDatagramSocketImpl.cc
14313 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14314 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14315 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14316 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14317
268cecf9
MK
143182002-09-04 Michael Koch <konqueror@gmx.de>
14319
14320 * java/net/SocketOptions.java: added static variables to be JDK 1.4
14321 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14322 IP_MULTICAST_LOOP, IP_TOS
14323
f4701961
TT
143242002-09-03 Tom Tromey <tromey@redhat.com>
14325
14326 * java/lang/Class.h (_getDeclaredMethod): Declare.
14327 (_getMethod): Now private.
14328 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14329 getDeclaredMethod. Now returns NULL on failure.
14330 * java/lang/Class.java (_getDeclaredMethod): Declare.
14331 (getDeclaredMethod): No longer native; implements access checks.
14332
4d5c703e
MW
143332002-09-01 Mark Wielaard <mark@klomp.org>
14334
14335 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14336 (sanitizeStack): Correctly reset unknown and interpreter counters,
14337 detect interpreter runtime frames.
14338 (demangleInterpreterMethod): New method.
14339 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14340 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14341 filling in addrs[].
14342
603f86d7
MK
143432002-09-02 Michael Koch <konqueror@gmx.de>
14344
14345 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14346 re-indented documentation.
14347
42417be4
JR
143482002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14349
14350 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14351 public, per 1.4 spec. Fixes PR libgcj/7785.
14352
03296d1c
JS
143532002-08-30 Jeff Sturm <jsturm@one-point.com>
14354
14355 * Makefile.in: Rebuilt.
14356 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14357
4c322bff
TT
143582002-08-29 Tom Tromey <tromey@redhat.com>
14359
14360 * java/net/JarURLConnection.java (getCertificates): New method
14361 from Classpath.
14362 * java/net/URLClassLoader.java (URLClassLoader): Extends
14363 SecureClassLoader.
14364 (definePackage): New method from Classpath.
14365 (getPermissions): Likewise.
14366 (newInstance): Likewise.
14367 (findClass): Construct CodeSource for new class (from Classpath).
14368 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14369 methods.
14370 * java/net/URL.java (getUserInfo): New method.
14371 (set(String,String,int,String,String,String,String,String)): New
14372 method.
14373 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14374 (shutdownInput, shutdownOutput): Declare.
14375 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14376 Define.
14377 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14378 (getOption): Likewise.
14379 (shutdownInput): New method.
14380 (shutdownOutput): Likewise.
14381 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14382 keepalive.
14383 (getOption): Likewise.
14384 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14385 * java/net/Socket.java (setKeepAlive): New method.
14386 (getKeepAlive): Likewise.
14387 (shutdownInput, shutdownOutput): New methods.
14388
54f3c60d
MK
143892002-08-29 Michael Koch <konqueror@gmx.de>
14390
14391 * java/net/DatagramPacket.java: updated to JDK 1.4 API
14392 new methods are:
14393 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14394 address),
14395 DatagramPacket(byte[] buf, int length, SocketAddress address),
14396 void setSocketAddress(SocketAddress address)
14397 public SocketAddress getSocketAddress()
14398
0148e1ee
TT
143992002-08-29 Tom Tromey <tromey@redhat.com>
14400
14401 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14402 ftruncate is missing.
14403 * configure, include/config.h.in: Rebuilt.
14404 * acconfig.h (HAVE_FTRUNCATE): Mention.
14405 * configure.in: Check for ftruncate.
14406
3308c46e
TT
144072002-08-29 Tom Tromey <tromey@redhat.com>
14408
14409 * include/jvm.h (struct _Jv_frame_info): New structure.
14410 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14411 java-interp.h.
14412 (lookupInterp): New method.
14413 (getAddrAsString): Use _Jv_frame_info.
14414 (dladdrLookup): Likewise.
14415 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14416 interpreted frame.
14417 (lookupInterp): Declare.
14418 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14419 (fillInStackTrace): Collect information on interpreted frames.
14420 Use _Jv_frame_info.
14421 * interpret.cc: Include Thread.h.
14422 (run): Create and push _Jv_MethodChain object.
14423 (_Jv_EndOfInterpreter): New global.
14424 * java/lang/Thread.java (interp_frame): New field.
14425 * include/java-interp.h (struct _Jv_MethodChain): New structure.
14426 Include NameFinder.h.
14427
97d8f7e7
TT
144282002-08-28 Tom Tromey <tromey@redhat.com>
14429
14430 * java/lang/Class.h: Include Package.h.
14431 (Class::getProtectionDomain): Declare.
14432 (Class::getPackage): Declare.
14433
26fed921
MK
144342002-08-28 Michael Koch <konqueror@gmx.de>
14435
14436 * java/net/InetSocketAddress.java: Added some documentation and argument
14437 checks for the port numbers.
14438 * java/net/DatagramSocketImplFactory.java: New file.
14439
aa5505d0
MK
144402002-08-28 Michael Koch <konqueror@gmx.de>
14441
14442 * java/net/Authenticator.java: added some documentation.
14443
f8799933
TT
144442002-08-27 Tom Tromey <tromey@redhat.com>
14445
14446 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14447 class.
14448 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14449
49c3c980
MK
144502002-08-27 Michael Koch <konqueror@gmx.de>
14451
14452 * java/net/BindException.java,
14453 java/net/JarURLConnection.java,
14454 java/net/FileNameMap.java,
14455 java/net/HttpURLConnection.java,
14456 java/net/InetSocketAddress.java,
14457 java/net/DatagramPacket.java,
14458 java/net/DatagramSocket.java,
14459 java/net/DatagramSocketImpl.java,
14460 java/net/MulticastSocket.java,
14461 java/net/PasswordAuthentication.java,
14462 java/net/ServerSocket.java,
14463 java/net/Socket.java,
14464 java/net/URLClassLoader.java,
14465 java/net/URLConnection.java: add/update of some @since/@deprecated
54d9d34a 14466
835cb22e 144672002-08-27 Tony Kimball <alk@pobox.com>
4977bab6 14468 Tom Tromey <tromey@redhat.com>
835cb22e
TK
14469
14470 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14471 define.
14472 (::close): Removed.
14473 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14474 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14475 (::close): Removed.
14476 (PlainSocketImpl::close): Use NATIVE_CLOSE.
14477 * include/win32.h (getcwd): Removed declaration. Include io.h.
14478
6005baa7
AM
144792002-08-25 Adam Megacz <adam@xwt.org>
14480
14481 * include/win32.h (getcwd): copied function declaration as
14482 temporary fix for header confusion.
54d9d34a 14483
6e0532cd
MW
144842002-08-24 Mark Wielaard <mark@klomp.org>
14485
14486 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14487 (core_java_source_files): Add VMThrowable.java and NameFinder.java
14488 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14489 and natNameFinder.cc.
14490 * Makefile.in: Regenerate.
14491 * prims.cc: Use trace_enabled from VMThrowable.
14492 * name-finder.cc: Removed.
14493 * gcj/javaprims.h: Add class VMThrowable.
14494 * gnu/gcj/runtime/NameFinder.java: New file.
14495 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14496 * include/name-finder.h: Removed.
14497 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14498 method stackTraceString().
14499 (printStackTrace (PrintWriter)): Likewise.
14500 (stackTraceString): Complete rewrite of old printStackTrace using
14501 StringBuffer.
14502 (stackTraceStringBuffer): New helper method for stackTraceString().
14503 (fillInStackTrace): Delegate to VMTrowable.
14504 (getStackTrace): Likewise.
54d9d34a 14505 (getStackTrace0): Removed.
6e0532cd
MW
14506 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14507 (setStackTrace): Copy given array.
14508 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14509 * java/lang/VMThrowable.java: New class.
14510 * java/lang/natVMThrowable.cc: New file.
14511
6347f94c
MK
145122003-08-23 Michael Koch <konqueror@gmx.de>
14513
14514 * java/net/URLConnection.java,
14515 java/netJarURLConnection.java,
14516 gnu/gcj/protocol/core/Connection.java,
14517 gnu/gcj/protocol/file/Connection.java,
14518 gnu/gcj/protocol/http/Connection.java: Added implementation of
14519 getHeaderFields().
14520
2263ca09
TT
145212002-08-22 Tom Tromey <tromey@redhat.com>
14522
14523 * gij.cc (help): Document -cp and -classpath.
14524 (main): Handle -classpath.
14525
75c6e548
TT
145262002-08-21 Tom Tromey <tromey@redhat.com>
14527
14528 * Makefile.in: Rebuilt.
14529 * Makefile.am (ordinary_java_source_files): Added
14530 SocketAddress.java, InetSocketAddress.java.
14531 * java/net/PortUnreachableException.java: Merged with Classpath.
14532 * java/net/SocketTimeoutException.java: Likewise.
14533 * java/net/URISyntaxException.java: Likewise.
14534 * java/net/SocketAddress.java: New class from Classpath.
14535 * java/net/InetSocketAddress.java: Likewise.
14536
386230f0
MK
145372003-08-21 Michael Koch <konqueror@gmx.de>
14538
14539 * java/net/Authenticator.java: updated JDK 1.4
14540 * java/net/ContentHandler.java: updated JDK 1.4
14541
9595a7fe
MK
145422002-08-20 Michael Koch <konqueror@gmx.de>
14543
14544 * java/net/URISyntaxException.java: New file.
14545 * java/net/SocketTimeoutException.java: New file.
54d9d34a 14546 * java/net/PortUnreachableException.java: New file.
9595a7fe
MK
14547 * Makefile.am: Updated.
14548 * Makefile.in: Rebuilt.
14549
b4a12d09
MW
145502002-08-18 Mark Wielaard <mark@klomp.org>
14551
14552 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14553 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14554 MessageDigestSpi (fixes Classpath bug #783).
14555
093f0200
JR
145562002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14557
14558 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14559 (startProcess): Allocate path for chdir in async-signal-safe way.
14560
eb812b2c
JR
145612002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
14562
14563 Fix for PR libgcj/7570 and PR libgcj/7578:
14564 * java/lang/natPosixProcess.cc: Include java/io/File.h.
14565 (startProcess): Handle new `dir' argument.
14566 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14567 argument.
14568 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14569 argument.
14570 (startProcess): Likewise.
14571 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14572 argument.
14573 * java/lang/Runtime.java (execInternal): Added `dir' argument.
14574 (exec): Don't create new environment if ENV==null. Pass DIR to
14575 execInternal.
14576 * java/lang/natRuntime.cc: Include java/io/File.h.
14577 (execInternal): Added `dir' argument.
14578
03496eb1
JR
145792002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
14580
14581 * java/io/RandomAccessFile.java (skipBytes): Return number of
14582 bytes skipped.
14583
caad61a1
MW
145842002-08-01 Mark Wielaard <mark@klomp.org>
14585
14586 Reenable patch since shared library troubles on powerpc are solved:
14587 * gnu/java/security/provider/Gnu.java: Reference all implementation
14588 classes by using Class.getName().
14589 * gnu/java/security/der/DEREncodingException.java,
14590 gnu/java/security/provider/DERReader.java,
14591 gnu/java/security/provider/DERWriter.java,
14592 gnu/java/security/provider/DSAKeyPairGenerator.java,
14593 gnu/java/security/provider/DSAParameterGenerator.java,
14594 gnu/java/security/provider/DSAParameters.java,
14595 gnu/java/security/provider/DSASignature.java,
14596 gnu/java/security/provider/GnuDSAPrivateKey.java,
14597 gnu/java/security/provider/GnuDSAPublicKey.java,
14598 gnu/java/security/provider/MD5.java,
14599 gnu/java/security/util/Prime.java: New classes
14600 * Makefile.am (ordinary_java_source_files): Add above files.
14601 * Makefile.in: Regenerate.
14602 * gnu/java/security/provider/DefaultPolicy.java
14603 (getPermissions): Don't maintain static class variable of Permissions.
54d9d34a 14604 * gnu/java/security/provider/SHA.java
caad61a1
MW
14605 (engineUpdate): algorithm change.
14606 (engineDigest): algorithm change.
14607
55202bee
BM
146082002-08-09 Mark Wielaard <mark@klomp.org>
14609
14610 * java/awt/image/MemoryImageSource.java: Change constructor to take
14611 int[] not byte[].
14612 * java/awt/Graphics2D.java: Uncomment methods that can now be
14613 compiled.
14614 * java/awt/GridBagLayout.java: New stub implementation.
14615 * javax/swing/text/html/HTML.java: Stub implementation.
14616 * javax/swing/text/html/parser/ParserDelegator.java: New stub
14617 implementation.
14618
14619 * Makefile.am: Add new files.
14620 * Makefile.in: Rebuilt.
14621
146222002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14623
14624 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14625 methods in Graphics2D.
54d9d34a 14626
7bde45b2
BM
146272002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14628
14629 AWT/Swing merge from GNU Classpath.
14630
54d9d34a 14631 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
7bde45b2
BM
14632 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14633 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
54d9d34a 14634 java/awt/color/ProfileDataException.java,
7bde45b2
BM
14635 java/awt/CompositeContext.java, java/awt/Composite.java,
14636 java/awt/ContainerOrderFocusTraversalPolicy.java,
14637 java/awt/datatransfer/FlavorTable.java,
14638 java/awt/DefaultFocusTraversalPolicy.java,
14639 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14640 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
54d9d34a 14641 java/awt/dnd/DragGestureListener.java,
7bde45b2
BM
14642 java/awt/dnd/DragGestureRecognizer.java,
14643 java/awt/dnd/DragSourceAdapter.java,
14644 java/awt/dnd/DragSourceContext.java,
14645 java/awt/dnd/DragSourceDragEvent.java,
14646 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14647 java/awt/dnd/DragSourceListener.java,
14648 java/awt/dnd/DragSourceMotionListener.java,
14649 java/awt/dnd/DropTarget.java,
14650 java/awt/dnd/InvalidDnDOperationException.java,
14651 java/awt/dnd/peer/DragSourceContextPeer.java,
14652 java/awt/event/AWTEventListenerProxy.java,
14653 java/awt/event/MouseWheelEvent.java,
14654 java/awt/event/MouseWheelListener.java,
14655 java/awt/event/WindowFocusListener.java,
14656 java/awt/event/WindowStateListener.java,
14657 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14658 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14659 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14660 java/awt/geom/FlatteningPathIterator.java,
14661 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14662 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14663 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14664 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14665 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14666 java/awt/image/ImagingOpException.java,
14667 java/awt/image/RasterFormatException.java,
14668 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14669 java/awt/image/VolatileImage.java,
14670 java/awt/image/WritableRenderedImage.java,
14671 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14672 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14673 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14674 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14675 java/awt/PageAttributes.java, java/awt/print/Book.java,
14676 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14677 java/awt/print/Paper.java, java/awt/print/Printable.java,
14678 java/awt/print/PrinterAbortException.java,
14679 java/awt/print/PrinterException.java,
14680 java/awt/print/PrinterGraphics.java,
14681 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14682 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14683 java/awt/Stroke.java, java/awt/TexturePaint.java,
14684 javax/accessibility/AccessibleAction.java,
14685 javax/accessibility/AccessibleBundle.java,
14686 javax/accessibility/AccessibleComponent.java,
14687 javax/accessibility/AccessibleContext.java,
14688 javax/accessibility/AccessibleEditableText.java,
14689 javax/accessibility/AccessibleExtendedComponent.java,
14690 javax/accessibility/AccessibleExtendedTable.java,
14691 javax/accessibility/AccessibleHyperlink.java,
14692 javax/accessibility/AccessibleHypertext.java,
14693 javax/accessibility/AccessibleIcon.java,
14694 javax/accessibility/Accessible.java,
14695 javax/accessibility/AccessibleKeyBinding.java,
14696 javax/accessibility/AccessibleRelation.java,
14697 javax/accessibility/AccessibleRelationSet.java,
14698 javax/accessibility/AccessibleResourceBundle.java,
14699 javax/accessibility/AccessibleRole.java,
14700 javax/accessibility/AccessibleSelection.java,
14701 javax/accessibility/AccessibleState.java,
14702 javax/accessibility/AccessibleStateSet.java,
14703 javax/accessibility/AccessibleTable.java,
14704 javax/accessibility/AccessibleTableModelChange.java,
14705 javax/accessibility/AccessibleText.java,
14706 javax/accessibility/AccessibleValue.java,
14707 javax/swing/AbstractAction.java,
14708 javax/swing/AbstractButton.java,
14709 javax/swing/AbstractCellEditor.java,
14710 javax/swing/AbstractListModel.java,
14711 javax/swing/AbstractSet.java, javax/swing/Action.java,
14712 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14713 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14714 javax/swing/border/CompoundBorder.java,
14715 javax/swing/border/EmptyBorder.java,
14716 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14717 javax/swing/border/LineBorder.java,
14718 javax/swing/border/MatteBorder.java,
14719 javax/swing/border/TitledBorder.java,
14720 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14721 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14722 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14723 javax/swing/CellRendererPane.java,
14724 javax/swing/colorchooser/AbstractColorChooserPanel.java,
14725 javax/swing/colorchooser/ColorChooserComponentFactory.java,
14726 javax/swing/colorchooser/ColorSelectionModel.java,
14727 javax/swing/colorchooser/DefaultColorSelectionModel.java,
14728 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14729 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14730 javax/swing/DefaultBoundedRangeModel.java,
14731 javax/swing/DefaultButtonModel.java,
14732 javax/swing/DefaultCellEditor.java,
14733 javax/swing/DefaultCellRenderer.java,
14734 javax/swing/DefaultComboBoxModel.java,
14735 javax/swing/DefaultDesktopManager.java,
14736 javax/swing/DefaultFocusManager.java,
14737 javax/swing/DefaultListCellRenderer.java,
14738 javax/swing/DefaultListModel.java,
14739 javax/swing/DefaultListSelectionModel.java,
14740 javax/swing/DefaultSingleSelectionModel.java,
14741 javax/swing/DesktopManager.java,
14742 javax/swing/event/AncestorEvent.java,
14743 javax/swing/event/AncestorListener.java,
14744 javax/swing/event/CaretEvent.java,
14745 javax/swing/event/CaretListener.java,
14746 javax/swing/event/CellEditorListener.java,
14747 javax/swing/event/ChangeEvent.java,
14748 javax/swing/event/ChangeListener.java,
14749 javax/swing/event/DocumentEvent.java,
14750 javax/swing/event/DocumentListener.java,
14751 javax/swing/event/EventListenerList.java,
14752 javax/swing/event/HyperlinkEvent.java,
14753 javax/swing/event/HyperlinkListener.java,
14754 javax/swing/event/InternalFrameAdapter.java,
14755 javax/swing/event/InternalFrameEvent.java,
14756 javax/swing/event/InternalFrameListener.java,
14757 javax/swing/event/ListDataEvent.java,
14758 javax/swing/event/ListDataListener.java,
14759 javax/swing/event/ListSelectionEvent.java,
14760 javax/swing/event/ListSelectionListener.java,
14761 javax/swing/event/MenuDragMouseEvent.java,
14762 javax/swing/event/MenuDragMouseListener.java,
14763 javax/swing/event/MenuEvent.java,
14764 javax/swing/event/MenuKeyEvent.java,
14765 javax/swing/event/MenuKeyListener.java,
14766 javax/swing/event/MenuListener.java,
14767 javax/swing/event/MouseInputAdapter.java,
14768 javax/swing/event/MouseInputListener.java,
14769 javax/swing/event/PopupMenuEvent.java,
14770 javax/swing/event/PopupMenuListener.java,
14771 javax/swing/event/SwingPropertyChangeSupport.java,
14772 javax/swing/event/TableColumnModelEvent.java,
14773 javax/swing/event/TableColumnModelListener.java,
14774 javax/swing/event/TableModelEvent.java,
14775 javax/swing/event/TableModelListener.java,
14776 javax/swing/event/TreeExpansionEvent.java,
14777 javax/swing/event/TreeExpansionListener.java,
14778 javax/swing/event/TreeModelEvent.java,
14779 javax/swing/event/TreeModelListener.java,
14780 javax/swing/event/TreeSelectionEvent.java,
14781 javax/swing/event/TreeSelectionListener.java,
14782 javax/swing/event/TreeWillExpandListener.java,
14783 javax/swing/event/UndoableEditEvent.java,
14784 javax/swing/event/UndoableEditListener.java,
14785 javax/swing/filechooser/FileFilter.java,
14786 javax/swing/filechooser/FileSystemView.java,
14787 javax/swing/filechooser/FileView.java,
14788 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14789 javax/swing/Icon.java, javax/swing/ImageIcon.java,
14790 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14791 javax/swing/JApplet.java, javax/swing/JButton.java,
14792 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14793 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14794 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14795 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14796 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14797 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14798 javax/swing/JLayeredPane.java, javax/swing/JList.java,
14799 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14800 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14801 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14802 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14803 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14804 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14805 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14806 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14807 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14808 javax/swing/JTextField.java, javax/swing/JTextPane.java,
14809 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14810 javax/swing/JToolTip.java, javax/swing/JTree.java,
14811 javax/swing/JViewport.java, javax/swing/JWindow.java,
14812 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14813 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14814 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14815 javax/swing/MenuSelectionManager.java,
14816 javax/swing/MutableComboBoxModel.java,
14817 javax/swing/OverlayLayout.java,
14818 javax/swing/plaf/ActionMapUIResource.java,
14819 javax/swing/plaf/basic/BasicBorders.java,
14820 javax/swing/plaf/basic/BasicButtonUI.java,
14821 javax/swing/plaf/basic/BasicCheckBoxUI.java,
14822 javax/swing/plaf/basic/BasicDefaults.java,
14823 javax/swing/plaf/basic/BasicGraphicsUtils.java,
14824 javax/swing/plaf/basic/BasicIconFactory.java,
14825 javax/swing/plaf/basic/BasicLabelUI.java,
14826 javax/swing/plaf/basic/BasicListUI.java,
14827 javax/swing/plaf/basic/BasicLookAndFeel.java,
14828 javax/swing/plaf/basic/BasicOptionPaneUI.java,
14829 javax/swing/plaf/basic/BasicPanelUI.java,
14830 javax/swing/plaf/basic/BasicRadioButtonUI.java,
14831 javax/swing/plaf/basic/BasicScrollPaneUI.java,
14832 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14833 javax/swing/plaf/basic/BasicTextUI.java,
14834 javax/swing/plaf/basic/BasicToggleButtonUI.java,
14835 javax/swing/plaf/basic/BasicTreeUI.java,
14836 javax/swing/plaf/basic/BasicViewportUI.java,
14837 javax/swing/plaf/BorderUIResource.java,
14838 javax/swing/plaf/ButtonUI.java,
14839 javax/swing/plaf/ColorChooserUI.java,
14840 javax/swing/plaf/ColorUIResource.java,
14841 javax/swing/plaf/ComboBoxUI.java,
14842 javax/swing/plaf/ComponentInputMapUIResource.java,
14843 javax/swing/plaf/ComponentUI.java,
14844 javax/swing/plaf/DesktopIconUI.java,
14845 javax/swing/plaf/DesktopPaneUI.java,
14846 javax/swing/plaf/DimensionUIResource.java,
14847 javax/swing/plaf/FileChooserUI.java,
14848 javax/swing/plaf/FontUIResource.java,
14849 javax/swing/plaf/IconUIResource.java,
14850 javax/swing/plaf/InputMapUIResource.java,
14851 javax/swing/plaf/InsetsUIResource.java,
14852 javax/swing/plaf/InternalFrameUI.java,
14853 javax/swing/plaf/LabelUI.java,
14854 javax/swing/plaf/ListUI.java,
14855 javax/swing/plaf/MenuBarUI.java,
14856 javax/swing/plaf/MenuItemUI.java,
14857 javax/swing/plaf/OptionPaneUI.java,
14858 javax/swing/plaf/PanelUI.java,
14859 javax/swing/plaf/PopupMenuUI.java,
14860 javax/swing/plaf/ProgressBarUI.java,
14861 javax/swing/plaf/RootPaneUI.java,
14862 javax/swing/plaf/ScrollBarUI.java,
14863 javax/swing/plaf/ScrollPaneUI.java,
14864 javax/swing/plaf/SeparatorUI.java,
14865 javax/swing/plaf/SliderUI.java,
14866 javax/swing/plaf/SplitPaneUI.java,
14867 javax/swing/plaf/TabbedPaneUI.java,
14868 javax/swing/plaf/TableHeaderUI.java,
14869 javax/swing/plaf/TableUI.java,
14870 javax/swing/plaf/TextUI.java,
14871 javax/swing/plaf/ToolBarUI.java,
14872 javax/swing/plaf/ToolTipUI.java,
14873 javax/swing/plaf/TreeUI.java,
14874 javax/swing/plaf/UIResource.java,
14875 javax/swing/plaf/ViewportUI.java,
14876 javax/swing/ProgressMonitorInputStream.java,
14877 javax/swing/ProgressMonitor.java,
14878 javax/swing/Renderer.java,
14879 javax/swing/RepaintManager.java,
14880 javax/swing/RootPaneContainer.java,
14881 javax/swing/Scrollable.java,
14882 javax/swing/ScrollPaneConstants.java,
14883 javax/swing/ScrollPaneLayout.java,
14884 javax/swing/SingleSelectionModel.java,
14885 javax/swing/SizeRequirements.java,
14886 javax/swing/SizeSequence.java,
14887 javax/swing/SwingConstants.java,
14888 javax/swing/SwingUtilities.java,
14889 javax/swing/table/AbstractTableModel.java,
14890 javax/swing/table/DefaultTableCellRenderer.java,
14891 javax/swing/table/DefaultTableColumnModel.java,
14892 javax/swing/table/DefaultTableModel.java,
14893 javax/swing/table/TableCellEditor.java,
14894 javax/swing/table/TableCellRenderer.java,
14895 javax/swing/table/TableColumn.java,
14896 javax/swing/table/TableColumnModel.java,
14897 javax/swing/table/TableModel.java,
14898 javax/swing/text/AbstractDocument.java,
14899 javax/swing/text/AttributeSet.java,
14900 javax/swing/text/BadLocationException.java,
14901 javax/swing/text/Caret.java,
14902 javax/swing/text/CharacterIterator.java,
14903 javax/swing/text/ComponentView.java,
14904 javax/swing/text/DefaultCaret.java,
14905 javax/swing/text/DefaultEditorKit.java,
14906 javax/swing/text/Document.java,
14907 javax/swing/text/EditorKit.java,
14908 javax/swing/text/Element.java,
14909 javax/swing/text/GapContent.java,
14910 javax/swing/text/JTextComponent.java,
14911 javax/swing/text/Keymap.java,
14912 javax/swing/text/MutableAttributeSet.java,
14913 javax/swing/text/PlainDocument.java,
14914 javax/swing/text/PlainEditorKit.java,
14915 javax/swing/text/Position.java,
14916 javax/swing/text/Segment.java,
14917 javax/swing/text/StyledDocument.java,
14918 javax/swing/text/StyledEditorKit.java,
14919 javax/swing/text/Style.java,
14920 javax/swing/text/TextAction.java,
14921 javax/swing/text/ViewFactory.java,
14922 javax/swing/text/View.java,
14923 javax/swing/Timer.java,
14924 javax/swing/ToggleButtonModel.java,
14925 javax/swing/ToolTipManager.java,
14926 javax/swing/tree/AbstractLayoutCache.java,
14927 javax/swing/tree/DefaultMutableTreeNode.java,
14928 javax/swing/tree/DefaultTreeCellEditor.java,
14929 javax/swing/tree/DefaultTreeCellRenderer.java,
14930 javax/swing/tree/DefaultTreeModel.java,
14931 javax/swing/tree/DefaultTreeSelectionModel.java,
14932 javax/swing/tree/ExpandVetoException.java,
14933 javax/swing/tree/FixedHeightLayoutCache.java,
14934 javax/swing/tree/MutableTreeNode.java,
14935 javax/swing/tree/RowMapper.java,
14936 javax/swing/tree/TreeCellEditor.java,
14937 javax/swing/tree/TreeCellRenderer.java,
14938 javax/swing/tree/TreeModel.java,
14939 javax/swing/tree/TreeNode.java,
14940 javax/swing/tree/TreePath.java,
14941 javax/swing/tree/TreeSelectionModel.java,
14942 javax/swing/tree/VariableHeightLayoutCache.java,
14943 javax/swing/UIDefaults.java,
14944 javax/swing/UIManager.java,
14945 javax/swing/undo/AbstractUndoableEdit.java,
14946 javax/swing/undo/CannotRedoException.java,
14947 javax/swing/undo/CannotUndoException.java,
14948 javax/swing/undo/CompoundEdit.java,
14949 javax/swing/undo/StateEditable.java,
14950 javax/swing/undo/StateEdit.java,
14951 javax/swing/undo/UndoableEdit.java,
14952 javax/swing/undo/UndoableEditSupport.java,
14953 javax/swing/undo/UndoManager.java,
14954 javax/swing/UnsupportedLookAndFeelException.java,
14955 javax/swing/ViewportLayout.java,
14956 javax/swing/WindowConstants.java: New files, from GNU Classpath.
54d9d34a 14957
df74f077 14958 * java/awt/ActiveEvent.java,
7bde45b2
BM
14959 java/awt/Adjustable.java, java/awt/AWTError.java,
14960 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14961 java/awt/AWTException.java, java/awt/AWTPermission.java,
14962 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14963 java/awt/Color.java, java/awt/Component.java,
14964 java/awt/ComponentOrientation.java, java/awt/Container.java,
14965 java/awt/datatransfer/MimeTypeParseException.java,
14966 java/awt/datatransfer/Transferable.java,
14967 java/awt/datatransfer/UnsupportedFlavorException.java,
14968 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14969 java/awt/event/ActionListener.java,
14970 java/awt/event/AdjustmentEvent.java,
14971 java/awt/event/AdjustmentListener.java,
14972 java/awt/event/AWTEventListener.java,
14973 java/awt/event/ComponentAdapter.java,
14974 java/awt/event/ComponentEvent.java,
14975 java/awt/event/ComponentListener.java,
14976 java/awt/event/ContainerAdapter.java,
14977 java/awt/event/ContainerEvent.java,
14978 java/awt/event/ContainerListener.java,
14979 java/awt/event/FocusAdapter.java,
14980 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14981 java/awt/event/HierarchyBoundsAdapter.java,
14982 java/awt/event/HierarchyBoundsListener.java,
14983 java/awt/event/HierarchyEvent.java,
14984 java/awt/event/HierarchyListener.java,
14985 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14986 java/awt/event/InputMethodListener.java,
14987 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14988 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14989 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14990 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14991 java/awt/event/MouseListener.java,
14992 java/awt/event/MouseMotionAdapter.java,
14993 java/awt/event/MouseMotionListener.java,
14994 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14995 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14996 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14997 java/awt/event/WindowListener.java, java/awt/Font.java,
14998 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14999 java/awt/geom/Ellipse2D.java,
15000 java/awt/geom/IllegalPathStateException.java,
15001 java/awt/geom/Line2D.java,
15002 java/awt/geom/NoninvertibleTransformException.java,
15003 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
15004 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
15005 java/awt/geom/RoundRectangle2D.java,
15006 java/awt/GraphicsConfiguration.java,
15007 java/awt/IllegalComponentStateException.java,
15008 java/awt/image/IndexColorModel.java,
15009 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
15010 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
15011 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
15012 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
15013 java/awt/MenuItem.java, java/awt/PaintContext.java,
15014 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
15015 java/awt/Polygon.java, java/awt/PrintGraphics.java,
54d9d34a 15016 java/awt/PrintJob.java, java/awt/Rectangle.java,
7bde45b2
BM
15017 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
15018 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
15019 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
15020
8f5c92a0
BM
15021 * java/awt/im/spi/InputMethod.java,
15022 java/awt/im/spi/InputMethodContext.java,
15023 java/awt/im/spi/InputMethodDescriptor.java,
15024 java/awt/image/renderable/ContextualRenderedImageFactory.java,
15025 java/awt/image/renderable/ParameterBlock.java,
15026 java/awt/image/renderable/RenderContext.java,
15027 java/awt/image/renderable/RenderableImage.java,
15028 java/awt/image/renderable/RenderableImageOp.java,
15029 java/awt/image/renderable/RenderableImageProducer.java,
15030 java/awt/image/renderable/RenderedImageFactory.java: New files from
15031 classpath.
15032
084ef9cf
BM
15033 * gnu/java/awt/EventModifier.java,
15034 gnu/java/awt/image/ImageDecoder.java,
15035 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
15036
df74f077
BM
15037 * gnu/awt/xlib/XGraphicsConfiguration.java,
15038 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
15039 API.
54d9d34a
AJ
15040
15041 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
ef1c32c6 15042 GNU Classpath.
df74f077 15043
7bde45b2
BM
15044 * Makefile.am: Add new files.
15045 * Makefile.in: Rebuilt.
15046
6ee4402c
BM
150472002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15048
15049 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
54d9d34a 15050 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
6ee4402c
BM
15051 findResource, getResources, findResources): Add javadoc from classpath.
15052 (getSystemResources): Implemented.
15053
fd0ba965
MW
150542002-08-01 Mark Wielaard <mark@klomp.org>
15055
15056 Revert patch that breaks libgcj shared library on powerpc:
15057 * gnu/java/security/provider/Gnu.java: Reverse referencing all
15058 implementation classes by using Class.getName(). Uses Strings again.
15059 * gnu/java/security/der/DEREncodingException.java,
15060 gnu/java/security/provider/DERReader.java,
15061 gnu/java/security/provider/DERWriter.java,
15062 gnu/java/security/provider/DSAKeyPairGenerator.java,
15063 gnu/java/security/provider/DSAParameterGenerator.java,
15064 gnu/java/security/provider/DSAParameters.java,
15065 gnu/java/security/provider/DSASignature.java,
15066 gnu/java/security/provider/GnuDSAPrivateKey.java,
15067 gnu/java/security/provider/GnuDSAPublicKey.java,
15068 gnu/java/security/provider/MD5.java,
15069 gnu/java/security/util/Prime.java: Removed.
15070 * Makefile.am (ordinary_java_source_files): Remove above files.
15071 * Makefile.in: Regenerate.
15072 * gnu/java/security/provider/DefaultPolicy.java
15073 (getPermissions): Revert to maintaining static class variable of
15074 Permissions.
54d9d34a 15075 * gnu/java/security/provider/SHA.java
fd0ba965
MW
15076 (engineUpdate): Revert algorithm change.
15077 (engineDigest): Revert algorithm change.
15078
d8278e27
KK
150792002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
15080
15081 * configure.host: Add SH support.
4977bab6 15082 * sysdep/sh/locks.h: New file.
d8278e27 15083
f6dbe305
BM
150842002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15085
15086 * java/awt/Frame.java (Frame): Remove println calls.
15087
a15e868a
JS
150882002-07-30 Jeff Sturm <jsturm@one-point.com>
15089
15090 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
15091 * configure: Rebuilt.
15092
61fd68b4
AM
150932002-07-27 Alan Modra <amodra@bigpond.net.au>
15094
15095 * sysdep/powerpc/locks.h: Formatting.
15096 (_LARX): Define.
15097 (_STCX): Define.
15098 (compare_and_swap): Use _LARX and _STCX.
15099 (compare_and_swap_release): Likewise.
15100
92847c03
TT
151012002-07-26 Tom Tromey <tromey@redhat.com>
15102
15103 * java/net/Authenticator.java: New version from Classpath.
15104 * java/net/DatagramSocketImpl.java: New version from Classpath.
15105
1d49f58a
AM
151062002-07-27 Alan Modra <amodra@bigpond.net.au>
15107
15108 * configure.host: Add powerpc64*-* entry.
15109
8a7f132d
TT
151102002-07-26 Tom Tromey <tromey@redhat.com>
15111
15112 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
15113 fcntl.h.
15114
1efccea3
TT
151152002-07-24 Tom Tromey <tromey@redhat.com>
15116
15117 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
15118 argument to _load.
15119
ce05139c 151202002-07-24 Tom Tromey <tromey@redhat.com>
4977bab6 15121 Tony Kimball <alk@pobox.com>
ce05139c
TT
15122
15123 * java/io/natFileDescriptorWin32.cc (setLength): New method.
15124 * java/io/natFileDescriptorPosix.cc (setLength): New method.
15125 * java/io/RandomAccessFile.java (setLength): New method.
15126 * java/io/natFileDescriptorEcos.cc (setLength): New method.
15127 * java/io/FileDescriptor.java (setLength): New method.
15128
5526ddf6
MW
151292002-07-24 Mark Wielaard <mark@klomp.org>
15130
15131 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
15132 * java/io/ObjectInputStream.java (setBooleanField): Before setting
15133 field call setAccessible(true).
15134 (setByteField): Likewise.
15135 (setCharField): Likewise.
15136 (setDoubleField): Likewise.
15137 (setFloatField): Likewise.
15138 (setIntField): Likewise.
15139 (setLongField): Likewise.
15140 (setShortField): Likewise.
15141 (setObjectField): Likewise.
15142
151432002-07-24 Tom Tromey <tromey@redhat.com>
15144
15145 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
15146 use toString() to format array element.
15147
f922660b
MW
151482002-07-23 Mark Wielaard <mark@klomp.org>
15149
15150 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
15151 MessageDigestSpi (fixes Classpath bug #783).
15152
31ee1b0e
MW
151532002-07-21 Mark Wielaard <mark@klomp.org>
15154
15155 * gnu/java/security/provider/Gnu.java: Reference all implementation
15156 classes by using Class.getName().
15157
7b204712
BT
151582002-07-19 Bo Thorsen <bo@berlioz.suse.de>
15159
15160 * java/lang/ieeefp.h: Add x86-64 support.
15161 * configure.in: Likewise.
15162 * configure.host: Likewise.
15163 * configure: Regenerated.
15164 * sysdep/x86-64/locks.h: New file with x86-64 locks.
15165
00e0a9e8
MW
151662002-07-16 Mark Wielaard <mark@klomp.org>
15167
15168 * java/io/StreamTokenizer.java (pushBack): Update documentation.
15169 (whitespaceChars): call resetChar().
15170
9698ee33
TT
151712002-07-15 Tom Tromey <tromey@redhat.com>
15172
15173 * Makefile.in: Rebuilt.
15174 * Makefile.am (awt_java_source_files): Added new files.
15175 * java/beans/ExceptionListener.java: Merged with Classpath.
15176 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
15177 * java/beans/PropertyChangeListener.java: Merged with Classpath.
15178 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
15179 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
15180 * java/beans/VetoableChangeListener.java: Merged with Classpath.
15181 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
15182 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
15183
df815141
MW
151842002-07-14 Mark Wielaard <mark@klomp.org>
15185
15186 * gnu/java/security/der/DEREncodingException.java,
15187 gnu/java/security/provider/DERReader.java,
15188 gnu/java/security/provider/DERWriter.java,
15189 gnu/java/security/provider/DSAKeyPairGenerator.java,
15190 gnu/java/security/provider/DSAParameterGenerator.java,
15191 gnu/java/security/provider/DSAParameters.java,
15192 gnu/java/security/provider/DSASignature.java,
15193 gnu/java/security/provider/GnuDSAPrivateKey.java,
15194 gnu/java/security/provider/GnuDSAPublicKey.java,
15195 gnu/java/security/provider/MD5.java,
15196 gnu/java/security/util/Prime.java: New files from Classpath.
15197 * Makefile.am (ordinary_java_source_files): Add new files.
15198 * Makefile.in: Regenerate.
15199
152002002-07-14 C. Brian Jones <cbj@gnu.org>
15201
15202 * gnu/java/security/provider/DefaultPolicy.java
15203 (getPermissions): do not maintain static class variable of
15204 Permissions
54d9d34a 15205 * gnu/java/security/provider/SHA.java
df815141
MW
15206 (engineUpdate): algorithm change
15207 (engineDigest): algorithm change
15208
a5774acd
JR
152092002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
15210
15211 For PR libgcj/7292:
15212 * java/lang/Character.java (toString(char)): Now static.
15213
dc7b1dda
MW
152142002-07-12 Mark Wielaard <mark@klomp.org>
15215
15216 * java/lang/natThrowable.cc (printRawStackTrace): removed.
15217 (getStackTrace0): new method.
15218 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
15219 (printStackTrace(PrintWriter)): replace with pure java implementation.
15220 (printRawStackTrace): removed.
15221 (getStackTrace0): new method.
15222 * java/lang/StackTraceElement.java (toString): add extra whitespace.
15223 * gcj/javaprims.h: regenerate class list.
15224 * include/name-finder.h (lookup): new returns StackTraceElement*.
15225 (method_name, file_name): fields removed.
15226 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
15227 (~_Jv_name_finder): close new descriptors.
15228 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
15229 (createStackTraceElement): new method.
15230 (lookup): returns StackTraceElement*, uses createStackTraceElement().
15231
2e237e37
TT
152322002-07-10 Tom Tromey <tromey@redhat.com>
15233
15234 * configure: Rebuilt.
15235 * configure.in: Use `test' after `&&'. From Chris Faylor.
15236
dde7b83c
MW
152372002-07-08 Mark Wielaard <mark@klomp.org>
15238
15239 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
15240 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
15241 java.sql.DatabaseMetaData.TestJdbc20
15242
16da5ae2
TK
152432002-07-05 Tony Kimball <alk@pobox.com>
15244
15245 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15246
0d49ec11 152472002-07-04 Tom Tromey <tromey@redhat.com>
4977bab6 15248 Jeff Sturm <jsturm@one-point.com>
0d49ec11
TT
15249
15250 Fix for PR libgcj/7060:
15251 * java/lang/Class.h (_getMethod): Renamed from getMethod.
15252 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15253 Recurse into superinterfaces. Don't throw NoSuchMethodException.
15254 * java/lang/Class.java (getMethod): New Java implementation;
15255 complies with spec.
15256 (_getMethod): New native method.
15257
aa5661e6 152582002-07-02 Tom Tromey <tromey@redhat.com>
4977bab6 15259 David Hovemeyer <daveho@cs.umd.edu>
aa5661e6
TT
15260
15261 * java/text/ChoiceFormat.java
15262 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15263 in check loop.
15264 * java/text/MessageFormat.java
15265 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15266 to MessageFormat.
15267
49925aed
TT
152682002-07-01 Tom Tromey <tromey@redhat.com>
15269
15270 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15271 StringTokenizer on null string. For PR libgcj/7180.
15272 From daveho@cs.umd.edu.
15273
fdae83ab
TT
152742002-06-24 Tom Tromey <tromey@redhat.com>
15275
d74bba04
TT
15276 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15277 (IntegerClass): Likewise.
15278 * java/lang/natClass.cc (CloneableClass): Removed.
15279 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15280 ConstructorClass): Likewise.
15281 * java/lang/natClassLoader.cc (CloneableClass): Removed.
15282 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15283 SerializableClass): Likewise.
15284 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15285 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15286 LongClass, FloatClass, DoubleClass): Likewise.
15287
fdae83ab
TT
15288 * verify.cc (branch_prepass): Updated for change to exception
15289 handler type.
15290 (verify_instructions_0): Likewise.
15291 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15292 (handleExceptionTableEntry): Updated for change to exception
15293 handler type.
15294 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15295 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15296 (union _Jv_InterpPC): New.
15297 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15298 (class _Jv_InterpMethod): Added new `prepared' field.
15299 (class _Jv_InterpMethod): Added `compile' method. Removed
15300 `continue1' and `find_exception'. Changed arguments to `run'.
15301 * interpret.cc (union insn_slot): New.
15302 (find_exception): Removed.
15303 (run_normal): Removed most logic.
15304 (run_synch_object): Likewise; also, use JvSynchronize.
15305 (run_synch_class): Likewise.
15306 (run): Removed.
15307 (continue1): Renamed as `run'. Compile bytecode if required.
15308 Add new code to allow refinement of direct-threaded code at
15309 runtime. Handle exceptions.
15310 (SAVE_PC): Removed.
15311 (compile): New method.
15312 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15313 (NULLARRAYCHECK): Don't use SAVE_PC.
15314 (pc_t): New typedef.
15315 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15316 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15317
17ba19fe
TT
153182002-06-23 Tom Tromey <tromey@redhat.com>
15319
b2ae5f70
TT
15320 * configure: Rebuilt.
15321 * configure.in (INTERPRETER): New subst.
15322 (AM_RUNTESTFLAGS): Don't subst.
15323
17ba19fe
TT
15324 * Makefile.in: Rebuilt.
15325 * Makefile.am ($(srcdir)/java/lang/Object.h,
15326 $(srcdir)/java/lang/Class.h): Added dummy targets.
15327
f2390fad
BM
153282002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15329
15330 Reformat JDBC classes and add new JDK 1.4 classes and methods.
15331
15332 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15333 java/sql/Savepoint.java: New files.
15334 * java/sql/Array.java, java/sql/BatchUpdateException.java,
15335 java/sql/Blob.java, java/sql/CallableStatement.java,
15336 java/sql/Clob.java, java/sql/Connection.java,
15337 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15338 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15339 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15340 java/sql/Ref.java, java/sql/ResultSet.java,
15341 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15342 java/sql/SQLException.java, java/sql/SQLInput.java,
15343 java/sql/SQLOutput.java, java/sql/SQLWarning.java
15344 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15345 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15346 (JDK 1.4) specification.
54d9d34a 15347 * javax/sql/ConnectionEvent.java,
f2390fad
BM
15348 javax/sql/ConnectionEventListener.java,
15349 javax/sql/ConnectionPoolDataSource.java,
15350 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15351 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15352 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15353 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15354 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15355 javax/sql/XADataSource.java: New files.
15356 * Makefile.am: Add new files.
15357 * Makefile.in: Rebuilt.
54d9d34a 15358
04a704a4
TT
153592002-06-20 Tom Tromey <tromey@redhat.com>
15360
15361 For PR libgcj/7073:
15362 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15363 exists.
15364 * defineclass.cc (handleClassBegin): Superclass for interface is
15365 `null'.
15366
ab928b32
TT
153672002-06-18 Tom Tromey <tromey@redhat.com>
15368
15369 * gcj/javaprims.h: Updated class declaration list.
15370 * Makefile.in: Rebuilt.
15371 * Makefile.am (core_java_source_files): Removed
15372 BasicMapEntry.java.
15373 * java/util/BasicMapEntry.java: Removed.
15374
347258ae
JS
153752002-06-18 Jeff Sturm <jsturm@one-point.com>
15376
15377 * java/net/natPlainDatagramSocketImpl.cc (receive):
15378 Check bounds of argument to FD_SET.
15379 (setOption): Throw exception if socket is closed.
15380
15381 * java/net/natPlainSocketImpl.cc (accept, read):
15382 Check bounds of argument to FD_SET.
15383 (setOption): Throw exception if socket is closed.
15384
38313817
TT
153852002-06-18 Tom Tromey <tromey@redhat.com>
15386
15387 * gcj/javaprims.h: Updated class declaration list.
15388 * Makefile.in: Rebuilt.
15389 * Makefile.am (core_java_source_files): Added
15390 PropertyPermissionCollection.java.
15391 * java/lang/Thread.java (group, name): Now package-private.
15392 * java/lang/ThreadGroup.java: Re-merge with Classpath.
15393 * java/util/AbstractList.java: Likewise.
15394 * java/util/AbstractMap.java: Likewise.
15395 * java/util/Calendar.java: Likewise.
15396 * java/util/Collections.java: Likewise.
15397 * java/util/HashMap.java: Likewise.
15398 * java/util/Hashtable.java: Likewise.
15399 * java/util/LinkedHashMap.java: Likewise.
15400 * java/util/LinkedList.java: Likewise.
15401 * java/util/List.java: Likewise.
15402 * java/util/ListResourceBundle.java: Likewise.
15403 * java/util/Map.java: Likewise.
15404 * java/util/Observable.java: Likewise.
15405 * java/util/Properties.java: Likewise.
15406 * java/util/PropertyPermission.java: Likewise.
15407 * java/util/PropertyPermissionCollection.java: Likewise.
15408 * java/util/PropertyResourceBundle.java: Likewise.
15409 * java/util/Random.java: Likewise.
15410 * java/util/SimpleTimeZone.java: Likewise.
15411 * java/util/StringTokenizer.java: Likewise.
15412 * java/util/TimerTask.java: Likewise.
15413 * java/util/TreeMap.java: Likewise.
15414 * java/util/WeakHashMap.java: Likewise.
15415 * java/util/jar/Attributes.java: Likewise.
15416 * java/util/jar/JarException.java: Likewise.
15417 * java/util/jar/Manifest.java: Likewise.
15418
82176405
TT
154192002-06-17 Tom Tromey <tromey@redhat.com>
15420
15421 * gcj/javaprims.h: Updated class declaration list.
15422 * Makefile.in: Rebuilt.
15423 * Makefile.am (core_java_source_files): Added new file.
15424 * java/util/EventListenerProxy.java: New file.
15425 * java/util/EventListener.java: Re-merge with Classpath.
15426 * java/util/EventObject.java: Re-merge with Classpath.
15427
8f7dfb53
NN
154282002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
15429
15430 * java/lang/ClassNotFoundException.java: New Classpath version.
15431
1a4b27e8
NN
154322002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
15433
15434 * java/rmi/activation/ActivateFailedException.java: Remerge from
15435 Classpath version.
15436 * java/rmi/activation/ActivationException.java: Ditto.
15437 * java/rmi/activation/UnknownGroupException.java: Ditto.
15438 * java/rmi/activation/UnknownObjectException.java: Ditto.
15439 * java/rmi/server/ExportException: Ditto.
15440 * java/rmi/server/ServerCloneException: Ditto.
15441 * java/rmi/server/ServerNotActiveException: Ditto.
15442 * java/rmi/server/SkeletonMismatchException: Ditto.
15443 * java/rmi/server/SkeletonNotFoundException: Ditto.
15444 * java/rmi/server/SocketSecurityException: Ditto.
15445
548ce8be
TT
154462002-06-16 Tom Tromey <tromey@redhat.com>
15447
c458bd73
TT
15448 * gcj/javaprims.h: Updated class declaration list.
15449
fb3bea1d
TT
15450 * java/io/LineNumberInputStream.java: Merged with Classpath.
15451
548ce8be
TT
15452 * java/lang/RuntimeException.java: Re-merge with Classpath.
15453 * java/util/ArrayList.java: Likewise.
15454 * java/util/Arrays.java: Likewise.
15455 * java/util/BitSet.java: Likewise.
15456 * java/util/Dictionary.java: Likewise.
15457 * java/util/IdentityHashMap.java: Likewise.
15458 * java/util/MissingResourceException.java: Likewise.
15459 * java/util/Observer.java: Likewise.
15460 * java/util/TooManyListenersException.java: Likewise.
15461 * java/util/zip/DataFormatException.java: Likewise.
15462 * java/util/zip/ZipException.java: Likewise.
15463
daefe58e
NN
154642002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
15465
15466 * java/rmi/AccessException.java: Remerge from Classpath.
15467 * java/rmi/AlreadyBoundException.java: Ditto.
15468 * java/rmi/ConnectException.java: Ditto.
15469 * java/rmi/ConnectIOException.java: Ditto.
15470 * java/rmi/MarshalException.java: Ditto.
15471 * java/rmi/NoSuchObjectException.java: Ditto.
15472 * java/rmi/NotBoundException.java: Ditto.
15473 * java/rmi/RemoteException.java: Ditto.
15474 * java/rmi/RMISecurityException.java: Ditto.
15475 * java/rmi/ServerError.java: Ditto.
15476 * java/rmi/ServerException.java: Ditto.
15477 * java/rmi/ServerRuntimeException.java: Ditto.
15478 * java/rmi/StubNotFoundException.java: Ditto.
15479 * java/rmi/UnexpectedExcpetion.java: Ditto.
15480 * java/rmi/UnknownHostException.java: Ditto.
15481 * java/rmi/UnmarshalException.java: Ditto.
15482
34442f32
TT
154832002-06-15 Tom Tromey <tromey@redhat.com>
15484
3e1b181a
TT
15485 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15486 * java/lang/ArithmeticException.java: Likewise.
15487 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15488 * java/lang/ArrayStoreException.java: Likewise.
15489 * java/lang/Byte.java: Likewise.
15490 * java/lang/CharSequence.java: Likewise.
15491 * java/lang/ClassCastException.java: Likewise.
15492 * java/lang/ClassCircularityError.java: Likewise.
15493 * java/lang/ClassFormatError.java: Likewise.
15494 * java/lang/CloneNotSupportedException.java: Likewise.
15495 * java/lang/Cloneable.java: Likewise.
15496 * java/lang/Comparable.java: Likewise.
15497 * java/lang/Compiler.java: Likewise.
15498 * java/lang/Error.java: Likewise.
15499 * java/lang/ExceptionInInitializerError.java: Likewise.
15500 * java/lang/IllegalAccessError.java: Likewise.
15501 * java/lang/IllegalAccessException.java: Likewise.
15502 * java/lang/IllegalArgumentException.java: Likewise.
15503 * java/lang/IllegalMonitorStateException.java: Likewise.
15504 * java/lang/IllegalStateException.java: Likewise.
15505 * java/lang/IllegalThreadStateException.java: Likewise.
15506 * java/lang/IncompatibleClassChangeError.java: Likewise.
15507 * java/lang/IndexOutOfBoundsException.java: Likewise.
15508 * java/lang/InheritableThreadLocal.java: Likewise.
15509 * java/lang/InstantiationError.java: Likewise.
15510 * java/lang/InstantiationException.java: Likewise.
15511 * java/lang/InternalError.java: Likewise.
15512 * java/lang/InterruptedException.java: Likewise.
15513 * java/lang/LinkageError.java: Likewise.
15514 * java/lang/NegativeArraySizeException.java: Likewise.
15515 * java/lang/NoClassDefFoundError.java: Likewise.
15516 * java/lang/NoSuchFieldError.java: Likewise.
15517 * java/lang/NoSuchFieldException.java: Likewise.
15518 * java/lang/NoSuchMethodError.java: Likewise.
15519 * java/lang/NoSuchMethodException.java: Likewise.
15520 * java/lang/NullPointerException.java: Likewise.
15521 * java/lang/NumberFormatException.java: Likewise.
15522 * java/lang/OutOfMemoryError.java: Likewise.
15523 * java/lang/Process.java: Likewise.
15524 * java/lang/Runnable.java: Likewise.
15525 * java/lang/RuntimePermission.java: Likewise.
15526 * java/lang/SecurityException.java: Likewise.
15527 * java/lang/Short.java: Likewise.
15528 * java/lang/StackOverflowError.java: Likewise.
15529 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15530 * java/lang/ThreadDeath.java: Likewise.
15531 * java/lang/ThreadLocal.java: Likewise.
15532 * java/lang/UnknownError.java: Likewise.
15533 * java/lang/UnsatisfiedLinkError.java: Likewise.
15534 * java/lang/UnsupportedClassVersionError.java: Likewise.
15535 * java/lang/UnsupportedOperationException.java: Likewise.
15536 * java/lang/VerifyError.java: Likewise.
15537 * java/lang/VirtualMachineError.java: Likewise.
15538 * java/lang/reflect/InvocationTargetException.java: Likewise.
15539 * java/net/BindException.java: Likewise.
15540 * java/net/ConnectException.java: Likewise.
15541 * java/net/MalformedURLException.java: Likewise.
15542 * java/net/NoRouteToHostException.java: Likewise.
15543 * java/net/ProtocolException.java: Likewise.
15544 * java/net/SocketException.java: Likewise.
15545 * java/net/UnknownHostException.java: Likewise.
15546 * java/net/UnknownServiceException.java: Likewise.
15547
34442f32
TT
15548 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15549 * java/io/CharConversionException.java: Likewise.
15550 * java/io/EOFException.java: Likewise.
15551 * java/io/FileNotFoundException.java: Likewise.
15552 * java/io/IOException.java: Likewise.
15553 * java/io/InterruptedIOException.java: Likewise.
15554 * java/io/InvalidClassException.java: Likewise.
15555 * java/io/InvalidObjectException.java: Likewise.
15556 * java/io/NotActiveException.java: Likewise.
15557 * java/io/NotSerializableException.java: Likewise.
15558 * java/io/ObjectStreamException.java: Likewise.
15559 * java/io/ObjectStreamConstants.java: Likewise.
15560 * java/io/OptionalDataException.java: Likewise.
15561 * java/io/PipedInputStream.java: Likewise.
15562 * java/io/PushbackInputStream.java: Likewise.
15563 * java/io/StreamCorruptedException.java: Likewise.
15564 * java/io/SyncFailedException.java: Likewise.
15565 * java/io/UTFDataFormatException.java: Likewise.
15566 * java/io/UnsupportedEncodingException.java: Likewise.
15567 * java/io/WriteAbortedException.java: Likewise.
15568
945dabcd
NN
155692002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
15570
15571 * java/text/ChoiceFormat.java: Update comments from Classpath.
15572 * java/text/ParseException.java (serialVersionUID): New
15573 field from Classpath.
15574 * java/text/ParseException.java: Update formatting & comments
15575 from Classpath.
15576
5f51b048
TT
155772002-06-15 Tom Tromey <tromey@redhat.com>
15578
15579 * java/util/zip/InflaterInputStream.java (read): Loop if data has
15580 been read but none output by inflater.
15581 * java/util/zip/natDeflater.cc (reset): Set is_finished.
15582 * java/util/zip/natInflater.cc (reset): Set dist_needed and
15583 is_finished.
15584 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15585 version.
15586 * java/util/zip/ZipFile.java: Replaced with Classpath version.
15587 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15588 * java/util/zip/ZipInputStream.java: Replaced with Classpath
15589 version.
15590 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15591
93f7aeea
TT
155922002-06-13 Tom Tromey <tromey@redhat.com>
15593
15594 * java/lang/natString.cc (init): Handle case where DONT_COPY is
15595 true and OFFSET!=0.
15596 * java/lang/String.java (String(char[],int,int,boolean): New
15597 constructor.
15598 * java/lang/Long.java: Imported new version from Classpath.
15599 * java/lang/Number.java: Likewise.
15600 * java/lang/Integer.java: Likewise.
15601 * java/lang/Long.java: Likewise.
15602 * java/lang/Float.java: Likewise.
15603 * java/lang/Boolean.java: Likewise.
15604 * java/lang/Double.java: Likewise.
15605 * java/lang/Void.java: Likewise.
15606
6e32abbf
TT
156072002-06-12 Tom Tromey <tromey@redhat.com>
15608
15609 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15610 Fixes PR libgcj/6652.
15611
41983136
TT
156122002-06-10 Tom Tromey <tromey@redhat.com>
15613
15614 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15615 (Class::getPackagePortion): Likewise.
15616 * java/lang/Class.java (desiredAssertionStatus): New method from
15617 Classpath.
15618 (getPackagePortion): Likewise.
15619 * java/lang/VMClassLoader.java (defaultAssertionStatus,
15620 packageAssertionStatus, classAssertionStatus): New methods from
15621 Classpath.
15622 * java/lang/ClassLoader.java (defaultAssertionStatus,
15623 systemPackageAssertionStatus, packageAssertionStatus,
15624 systemClassAssertionStatus, classAssertionStatus): New fields from
15625 Classpath.
15626 (setDefaultAssertionStatus, setPackageAssertionStatus,
15627 setClassAssertionStatus, clearAssertionStatus): New methods from
15628 Classpath.
15629 * Makefile.in: Rebuilt.
15630 * Makefile.am (core_java_source_files): Added AssertionError.java.
15631 * java/lang/AssertionError.java: New from Classpath.
15632
5f555088
BM
156332002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15634
15635 * configure.host: Disable hash synchronization and slow_pthread_self
15636 for cygwin.
15637
28038fe1
AM
156382002-06-06 Adam Megacz <adam@xwt.org>
15639
4977bab6
ZW
15640 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15641 locking, just like the Sun JVM does.
54d9d34a 15642
5d3dfc3a
L
156432002-06-05 H.J. Lu (hjl@gnu.org)
15644
15645 * Makefile.am (libgcj_convenience.la): Revert the last change.
15646 (libgcj.la): Likewise.
15647 * Makefile.in: Regenerated.
15648
622dc71b
L
156492002-06-04 H.J. Lu (hjl@gnu.org)
15650
15651 * Makefile.am (libgcj_convenience.la): New target.
15652 (libgcj.la): Depend on libgcj_convenience.la.
15653 * Makefile.in: Regenerated.
15654
9e7823cc
L
156552002-06-04 H.J. Lu (hjl@gnu.org)
15656
15657 * configure.in (--with-newlib): New option:
15658 Check ${with_newlib} instead of ${with_cross_host} for newlib.
15659 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15660 Linux.
15661 * configure: Regenerated.
15662
4e176a9b
TT
156632002-06-04 Tom Tromey <tromey@redhat.com>
15664
15665 * java/util/natTimeZone.cc: Include <stdio.h>.
15666
e793a714
UW
156672002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
15668
15669 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15670 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15671 Set SIGNAL_HANDLER=include/s390-linux.h.
15672 * configure: Regenerate.
15673 * include/s390-linux.h: New file.
15674
f5fa9bc1
BM
156752002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15676
15677 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15678 not "stackTrace".
15679
d2f108e2
BM
156802002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15681
15682 Merge JDK 1.4 java.security changes from classpath.
15683
15684 * java/security/AccessControlException.java: Merge from Classpath.
15685 * java/security/AccessController.java: Likewise.
15686 * java/security/AllPermission.java: Likewise.
15687 * java/security/BasicPermission.java: Likewise.
15688 * java/security/Certificate.java: Likewise.
15689 * java/security/CodeSource.java: Likewise.
15690 * java/security/DigestException.java: Likewise.
15691 * java/security/DigestOutputStream.java: Likewise.
15692 * java/security/DomainCombiner.java: Likewise.
15693 * java/security/GeneralSecurityException.java: Likewise.
15694 * java/security/Guard.java: Likewise.
15695 * java/security/GuardedObject.java: Likewise.
15696 * java/security/InvalidAlgorithmParameterException.java: Likewise.
15697 * java/security/InvalidKeyException.java: Likewise.
15698 * java/security/InvalidParameterException.java: Likewise.
15699 * java/security/Key.java: Likewise.
15700 * java/security/KeyException.java: Likewise.
15701 * java/security/KeyManagementException.java: Likewise.
15702 * java/security/KeyStoreException.java: Likewise.
15703 * java/security/MessageDigest.java: Likewise.
15704 * java/security/NoSuchAlgorithmException.java: Likewise.
15705 * java/security/NoSuchProviderException.java: Likewise.
15706 * java/security/Permission.java: Likewise.
15707 * java/security/PermissionCollection.java: Likewise.
15708 * java/security/Permissions.java: Likewise.
15709 * java/security/Policy.java: Likewise.
15710 * java/security/Principal.java: Likewise.
15711 * java/security/PrivateKey.java: Likewise.
15712 * java/security/PrivilegedAction.java: Likewise.
15713 * java/security/PrivilegedActionException.java: Likewise.
15714 * java/security/PrivilegedExceptionAction.java: Likewise.
15715 * java/security/ProtectionDomain.java: Likewise.
15716 * java/security/ProviderException.java: Likewise.
15717 * java/security/PublicKey.java: Likewise.
15718 * java/security/SecureClassLoader.java: Likewise.
15719 * java/security/SecurityPermission.java: Likewise.
15720 * java/security/SignatureException.java: Likewise.
15721 * java/security/UnrecoverableKeyException.java: Likewise.
15722 * java/security/UnresolvedPermission.java: Likewise.
15723 * java/security/acl/AclNotFoundException.java: Likewise.
15724 * java/security/acl/LastOwnerException.java: Likewise.
15725 * java/security/acl/NotOwnerException.java: Likewise.
15726 * java/security/cert/CRLException.java: Likewise.
15727 * java/security/cert/CertificateEncodingException.java: Likewise.
15728 * java/security/cert/CertificateException.java: Likewise.
15729 * java/security/cert/CertificateExpiredException.java: Likewise.
15730 * java/security/cert/CertificateFactory.java: Likewise.
15731 * java/security/cert/CertificateNotYetValidException.java: Likewise.
15732 * java/security/cert/CertificateParsingException.java: Likewise.
15733 * java/security/spec/InvalidKeySpecException.java: Likewise.
15734 * java/security/spec/InvalidParameterSpecException.java: Likewise.
15735
15736 * java/security/cert/CertPath.java: New file.
15737 * java/security/cert/CertPathBuilderException.java: New file.
15738 * java/security/cert/CertPathValidatorException.java: New file.
15739 * java/security/cert/CertStoreException.java: New file.
15740
15741 * Makefile.am: Add new CertPath classes.
15742 * Makefile.in: Rebuilt.
15743
4977bab6 15744 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
d2f108e2 15745
4fbecd29
BM
157462002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15747
15748 Merge JDK 1.4 exception chaining support from classpath.
d2f108e2 15749
4fbecd29
BM
15750 * java/lang/Throwable.java: Merge 1.4 support from classpath.
15751 (stackTraceBytes): Rename from stackTrace.
15752 * java/lang/Exception.java: Merge from classpath.
15753 * java/lang/StackTraceElement: New file from classpath.
15754 * gcj/javaprims.h: Rebuild CNI namespace declarations.
15755 * Makefile.am: Add StackTraceElement.
15756 * Makefile.in: Rebuilt.
15757
a70b54fd
BM
157582002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15759
15760 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15761 they build first.
15762 * Makefile.in: Rebuilt.
15763
1e6347d8
RO
157642002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15765
15766 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15767 * configure.in: Likewise.
15768 * aclocal.m4: Regenerate.
15769 * configure: Regenerate.
15770
86397868
TT
157712002-05-13 Tom Tromey <tromey@redhat.com>
15772
e86c533b
TT
15773 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15774 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15775 Include platform.h.
15776
86397868
TT
15777 Fixes PR libgcj/6389:
15778 * Makefile.in: Rebuilt.
15779 * Makefile.am (nat_source_files): Added natTimeZone.cc.
15780 * java/util/natTimeZone.cc: New file.
15781 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15782 * java/lang/System.java: Merged with Classpath.
15783 * java/lang/Runtime.java: Merged with Classpath.
15784 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15785 security check.
15786 (setIn0): Renamed from setIn; don't run security check.
15787 (setOut0): Renamed from setOut; don't run security check.
15788 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15789 init_properties): Moved to natRuntime.cc.
15790 Moved many includes to natRuntime.cc.
15791 (isWordsBigEndian): New method.
15792 * java/lang/natRuntime.cc: Include Long.h, also other includes
15793 previously in natSystem.cc.
15794 (maxMemory): New function.
15795 (exitInternal): Renamed from `_exit'.
15796 (exit): Removed.
15797 (init): Don't set finalize_on_exit.
15798 (exitInternal): Use `finalizeOnExit'.
15799 (file_encoding, getpwuid_adaptor): New functions from
15800 natSystem.cc.
15801 (insertSystemProperties): New method, renamed from
15802 System::init_properties. Don't set user.timezone.
15803 (_load): Don't call checkLink.
15804 (execInternal): New method.
15805 (availableProcessors): Likewise.
15806 (nativeGetLibname): Likewise.
15807
c1acbb7a
MW
158082002-05-11 Mark Wielaard <mark@klomp.org>
15809
15810 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15811 space characters.
15812 (previous_internal): Likewise.
15813
95258917
TT
158142002-05-09 Tom Tromey <tromey@redhat.com>
15815
370b2564
TT
15816 * jni.cc (_Jv_JNIFunctions): Fixed typo.
15817
95258917
TT
15818 * java/util/ResourceBundle.java: New version from Classpath.
15819 * java/util/Locale.java: Likewise.
15820
2937267b
JJ
158212002-05-09 Jakub Jelinek <jakub@redhat.com>
15822
15823 * testsuite/lib/libjava.exp (libjava_arguments): Append all
15824 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15825 LD_LIBRARY_PATH.
15826
281524f4
MM
158272002-05-08 Mark Mitchell <mark@codesourcery.com>
15828
15829 * libjava/Makefile.am (all_java_source_files): New variable.
15830 (all_java_class_files): Likewise.
15831 .java.class: New rule.
15832 (CLEANFILES): Remove tmp-list.
15833 * libjava/Makefile.in: Regenerated.
54d9d34a 15834
61b8fbec
DB
158352002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
15836
15837 * testsuite/lib/libjava.exp (test_libjava_from_javac):
15838 Append .exe to executable names. Fix for cygwin.
15839
6706f116
AO
158402002-05-08 Alexandre Oliva <aoliva@redhat.com>
15841
15842 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15843 script entry, and set LD to it when configuring multilibs.
15844 * configure: Rebuilt.
15845
5d243e08
TT
158462002-05-07 Tom Tromey <tromey@redhat.com>
15847
15848 * java/lang/natString.cc (unintern): Fixed typo.
15849
736a57de
DB
158502002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15851
15852 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15853 with -no-install on *-*-cygwin*.
15854
49f8e94b
DB
158552002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
15856
15857 * testsuite/lib/libjava.exp (test_libjava_from_source):
15858 Add comment explaining last patch
15859
1c177c18
DB
158602002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
15861
15862 * testsuite/lib/libjava.exp (test_libjava_from_source):
15863 Append .exe to executable names. If no suffix is present,
15864 then ".exe" is added by default on win32. Harmless
15865 elsewhere so always do it.
15866
0659e0e3
DB
158672002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
15868 Tom Tromey <tromey@redhat.com>
15869
15870 * java/lang/natSystem.cc (getSystemTimeZone): Use
15871 HAVE_UNDERSCORE_TIMEZONE.
15872 * include/config.h.in: Rebuilt.
15873 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15874 * aclocal.m4, configure: Rebuilt.
15875 * acinclude.m4: Run AC_EXEEXT.
15876 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15877 Add test for `_timezone'.
15878
eb9c4fdf
AO
158792002-05-03 Alexandre Oliva <aoliva@redhat.com>
15880
15881 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15882 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15883 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15884 * Makefile.in: Rebuilt.
15885
ce4b2ca6
HB
158862002-05-02 Hans Boehm <Hans_Boehm@hp.com>
15887
15888 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15889 use sigaction instead of __libc_sigaction.
15890
b651af86
RO
158912002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15892
15893 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15894 (libjava_init): Use it to find libgcj.spec.
15895 (libjava_arguments): Likewise.
15896
fd84ba84
DM
158972002-05-02 David S. Miller <davem@redhat.com>
15898
15899 PR bootstrap/6525
15900 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15901 __libc_sigaction on Sparc.
15902
16034e4b
JM
159032002-05-02 Jerome Marc <marcjero@yahoo.com>
15904
15905 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15906 sys/filio.h, if present.
15907
47906032
TT
159082002-04-30 Tom Tromey <tromey@redhat.com>
15909
15910 * java/io/BufferedReader.java (fill): Handle case where markPos
15911 point to ignored \n. Fixes PR libgcj/6301.
15912
f736fd67
GT
159132002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
15914
15915 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15916
f81c23cd
AK
159172002-04-29 Adam King <aking@dreammechanics.com>
15918
15919 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15920 of file in APPEND mode.
15921
6ea53170
DM
159222002-04-25 David S. Miller <davem@redhat.com>
15923
15924 PR target/6422
15925 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15926 program counter to next program counter minus 8. Update
15927 comments in this macro to explain why.
15928
b446a5f1
TT
159292002-04-26 Tom Tromey <tromey@redhat.com>
15930
15931 * verify.cc (construct_primitive_array_type) [void_type]: New
15932 case.
15933 (branch_prepass): Added dummy entries for unused instruction
15934 values.
15935 (verify_instructions_0): Likewise.
15936 * interpret.cc (continue1): Comment fix.
15937 * include/java-insns.h (op_xxxunusedxxx1): Removed.
15938 * Makefile.in: Rebuilt.
15939 * Makefile.am: Added -Wswitch-enum.
15940
0df9cfc7
TT
159412002-04-24 Tom Tromey <tromey@redhat.com>
15942
15943 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15944 correct length of UTF-8 encoded name. Strip leading `/'.
15945 (_Jv_RegisterResource): Use _Jv_Malloc.
15946
c2a6704f
AM
159472002-04-23 Adam Megacz <adam@xwt.org>
15948
15949 * win32.cc, include/win32.cc (backtrace): Added this function
15950 because Win32 does not supply it.
15951
4bf01445
DM
159522002-04-21 David S. Miller <davem@redhat.com>
15953
15954 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15955 magic instruction reading sequence.
15956
da3c5444
MW
159572002-04-21 Mark Wielaard <mark@klomp.org>
15958
15959 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15960
714708c8
DM
159612002-04-19 David S. Miller <davem@redhat.com>
15962
15963 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15964 arg.
15965 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15966 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15967 on Sparc too.
15968 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15969 for 64-bit sparc.
15970 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15971 * sysdeps/sparc/locks.h: New file.
15972 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15973 on all sparc Solaris configurations. Set to
15974 include/dwarf2-signal.h on sparc Linux.
15975 * configure: Regenerate
15976 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15977
19367215
HB
159782002-04-19 Hans Boehm <Hans_Boehm@hp.com>
15979
15980 * configure: Rebuilt.
15981 * configure.in (backtrace): Function doesn't work on IA-64.
15982
b7403f10
AK
159832002-04-17 Adam King <aking@dreammechanics.com>
15984
54d9d34a 15985 * java/io/File.java (normalizePath): Add Win32 support for auto
b7403f10
AK
15986 conversion of a '/' path separator to Win32's '\' separator.
15987
ab847133
TT
159882002-04-16 Tom Tromey <tromey@redhat.com>
15989
15990 Fix for PR libgcj/6081:
15991 * Makefile.in: Rebuilt.
15992 * Makefile.am (install-data-local): Use GNU make trick to avoid
15993 shell limit.
15994
6344da6f
AK
159952002-04-16 Adam King <aking@dreammechanics.com>
15996 Tom Tromey <tromey@redhat.com>
15997
15998 * java/io/natFileWin32.cc (performList): Return the correct array
15999 type. Don't duplicate the creation of a File since it's already
16000 done earlier in the method and the existing code would cause a
16001 ArrayStoreException. Don't use fixed-size array.
16002 (_access, _stat, attr, getCanonicalPath, performMkdir,
16003 performRenameTo): Don't use fixed-size array.
16004 (getCanonicalPath): Use throw, not _Jv_Throw.
54d9d34a 16005
902c431d
DD
160062002-04-15 DJ Delorie <dj@redhat.com>
16007
16008 * configure.in: Allow building in $srcdir.
16009 * configure: Regenerated.
16010
8be46a7d
MW
160112002-04-14 Mark Wielaard <mark@klomp.org>
16012
16013 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
16014 * java/net/natSocketImpl.cc (close): Likewise.
16015
ad8849af
MW
160162002-04-14 Mark Wielaard <mark@klomp.org>
16017
16018 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
16019
ddfb5e0b
AK
160202002-04-13 Adam King <aking@dreammechanics.com>
16021
16022 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
16023 the f/F/d/D modifiers.
16024
395cb211
AG
160252002-04-12 Anthony Green <green@redhat.com>
16026
16027 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
16028 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
16029 * Makefile.in: Rebuilt.
16030 * configure.in: Substitute gcc_version.
16031 * configure: Rebuilt.
16032
605dc89b
BM
160332002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16034
16035 * configure.host: Set can_unwind_signal on hosts which support it.
16036 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
16037 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
16038 exceptions and can_unwind_signal isn't set.
16039 * configure: Rebuilt.
16040
c646bade
TT
160412002-04-11 Tom Tromey <tromey@redhat.com>
16042
16043 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
16044
94ed0002
AK
160452002-04-11 Adam King <aking@dreammechanics.com>
16046 Tom Tromey <tromey@redhat.com>
16047
16048 * include/jvm.h (_Jv_ThrowBadArrayIndex,
16049 _Jv_ThrowNullPointerException): Mark as noreturn.
16050 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
16051 and _Jv_free. Correctly invoke GetTempPath(). Indentation
16052 fixes.
16053
880f8c16
TT
160542002-04-10 Tom Tromey <tromey@redhat.com>
16055
16056 * Makefile.in: Rebuilt.
16057 * Makefile.am (java/lang/Thread.h): Mark
16058 _Jv_AttachCurrentThreadAsDaemon as friend.
16059 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
16060 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
16061 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
16062 function.
16063 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
16064 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
16065 (_Jv_JNI_InvokeFunctions): Added
16066 _Jv_JNI_AttachCurrentThreadAsDaemon.
16067 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
16068 (JNI_GetDefaultJavaVMInitArgs): Likewise.
16069 (JNI_CreateJavaVM): Likewise.
16070 (_Jv_JNI_AttachCurrentThread): Likewise.
16071 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
16072 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
16073 (_Jv_JNIFunctions): Initialize new fields.
16074 (_Jv_JNI_NewDirectByteBuffer): New function.
16075 (_Jv_JNI_GetDirectBufferAddress): Likewise.
16076 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
16077 * include/jni.h (JNI_VERSION_1_4): New macro.
16078 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
16079 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
16080 (JNINativeInterface::NewDirectByteBuffer): New field.
16081 (JNINativeInterface::GetDirectBufferAddress): New field.
16082 (JNINativeInterface::GetDirectBufferCapacity): New field.
16083 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
16084 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
16085 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
16086
42aacdfb
TT
160872002-04-09 Tom Tromey <tromey@redhat.com>
16088
16089 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
16090
62afca26
AB
160912002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
16092
16093 Fix for PR libgcj/6187:
16094 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
16095 distance.
16096
ecc23375
MW
160972002-04-07 Mark Wielaard <mark@klomp.org>
16098
4977bab6
ZW
16099 * java/util/AbstractMap.java (putAll): Use entrySet size.
16100 (toString): Explicitly use getKey() and getValue().
ecc23375 16101
0dccd146
MW
161022002-04-07 Mark Wielaard <mark@klomp.org>
16103
16104 * java/util/Hashtable.java (contains): Remove NullPointer check.
16105 (containsValue): Add NullPointer check.
16106 (remove): Always throw NullPointerException when key
16107 is null.
16108
455cd615
AK
161092002-04-07 Adam King <aking@dreammechanics.com>
16110
16111 * java/lang/natSystem.cc (init_properties): Call new function
16112 _Jv_platform_initProperties.
54d9d34a
AJ
16113 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
16114 support for the System properties os.name, os.arch, os.version,
455cd615
AK
16115 user.name, user.home, and user.dir.
16116 * include/posix.h, include/win32.h, posix.cc: New function
16117 _Jv_platform_initProperties.
16118
e45a3a59
MW
161192002-04-06 Mark Wielaard <mark@klomp.org>
16120
16121 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
16122
236fc6a0
MW
161232002-04-06 Mark Wielaard <mark@klomp.org>
16124
16125 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
16126 all of the remaining elements.
16127 * java/util/Vector.java (addAll(int,Collection)): Likewise.
16128 (removeRange): If toIndex == fromIndex do
16129 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16130 (removeAll): Always throw NullPointerException when collection is
16131 null.
16132 (retrainAll): Likewise.
16133
8e9603b0
MW
161342002-04-05 Mark Wielaard <mark@klomp.org>
16135
0dccd146 16136 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
8e9603b0
MW
16137 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16138
9df22479
AM
161392002-04-05 Adam Megacz <adam@xwt.org>
16140
4977bab6 16141 * exception.cc (abort): added static modifier
9df22479 16142
c7756779
AM
161432002-04-04 Adam Megacz <adam@xwt.org>
16144
16145 * include/win32.h (_Jv_platform_close_on_exec): added inline
16146 modifier.
16147
ef3d3c96 161482002-04-04 Loren J. Rittle <ljrittle@acm.org>
c0904887
LR
16149
16150 * configure.host: Add case statement to support generic port
16151 properties. Add *-*-freebsd* section.
16152
f74761cd
MW
161532002-04-04 Mark Wielaard <mark@klomp.org>
16154
16155 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
16156 test.
16157 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
16158 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
16159 that depend on awt code and BufferedByteOutputStream.interrupt.
16160
1d8f2fd8
BM
161612002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16162
16163 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
16164 incorrect "hi" value when count > 40.
16165
2801df0e
MW
161662002-04-03 Mark Wielaard <mark@klomp.org>
16167
16168 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
16169 ordering.
16170
c544921c
TT
161712002-04-02 Tom Tromey <tromey@redhat.com>
16172
16173 * java/lang/natClassLoader.cc (findClass): Compare against `3',
16174 not `0'.
16175
36aadc29
MW
161762002-04-02 Mark Wielaard <mark@klomp.org>
16177
16178 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
16179 list of testsuite crashers.
16180
df88ca6f
BM
161812002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16182
16183 * java/util/IdentityHashMap.java (put): Set new threshold correctly
16184 when resizing table.
16185
29123a37
MW
161862002-04-01 Mark Wielaard <mark@klomp.org>
16187
4977bab6
ZW
16188 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
16189 NegativeArraySizeException
16190 (clear(int)): Use sign extended shift.
16191 (flip(int)): Likewise.
16192 (get(int)): Likewise.
16193 (nextClearBit(int)): Likewise.
16194 (nextSetBit(int)): Likewise.
16195 (set(int)): Likewise.
29123a37 16196
55173836
MW
161972002-04-01 Mark Wielaard <mark@klomp.org>
16198
16199 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
16200 that can be compiled now and add testsuite crashers to ignore list.
16201
b56bc85a
AO
162022002-03-31 Alexandre Oliva <aoliva@redhat.com>
16203
d05972d2
AO
16204 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
16205
b56bc85a
AO
16206 * libgcj.spec.in: Override libgcc, not lib.
16207 * libgcj-test.spec.in: Likewise.
16208
6676c77f
TT
162092002-03-29 Tom Tromey <tromey@redhat.com>
16210
16211 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
16212 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
16213
47d0866c
JS
162142002-03-27 Jeff Sturm <jsturm@one-point.com>
16215
16216 * java/net/PlainDatagramSocketImpl.java
16217 (close): Use native implementation.
16218 (finalize): New method.
16219
16220 * java/net/PlainSocketImpl.java (finalize): New method.
16221
16222 * java/net/natPlainDatagramSocketImpl.cc
16223 (java/io/FileDescriptor.h): Don't include.
16224 (close): Implement method here.
16225 (create): Don't assign fd.
16226
16227 * java/net/natPlainSocketImpl.cc
16228 (java/io/FileDescriptor.h): Don't include.
16229 (create): Don't assign fd.
16230 (accept): Likewise.
16231 (close): Synchronize.
16232
6ad46397
RH
162332002-03-27 Richard Henderson <rth@redhat.com>
16234
16235 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
16236
3cb20545
AH
162372002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16238
4977bab6
ZW
16239 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16240 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
16241 instead of syscall on IA-64.
16242 Add FIXME comment.
3cb20545 16243
5cb27a46
AG
162442002-03-27 Anthony Green <green@redhat.com>
16245
16246 * libgcj.spec.in: Add CHECKREFSPEC.
16247 * configure.in: Ditto.
16248 * configure.host: Ditto. Check references for xscale-elf.
16249 * configure: Rebuilt.
16250
d6220b3a
HB
162512002-03-26 Hans Boehm <Hans_Boehm@hp.com>
16252
16253 * include/dwarf2-signal.h: Temporarily back out last change.
16254
b4a19310
LR
162552002-03-26 Loren J. Rittle <ljrittle@acm.org>
16256
16257 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16258
90b2d2af
AH
162592002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16260
16261 * configure.in, configure: enable dwarf2-exception-style
16262 exception handling on IA-64.
16263 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16264 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16265 Add FIXME comment.
54d9d34a 16266
5c009209
TT
162672002-03-25 Tom Tromey <tromey@redhat.com>
16268
16269 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16270 (jv_convert_LDFLAGS): Likewise.
16271 (gij_LDFLAGS): Likewise.
16272 (rmic_LDFLAGS): Likewise.
16273 (rmiregistry_LDFLAGS): Likewise.
16274 * configure.in (THREADLDFLAGS): New subst; set correctly for
16275 *BSD.
16276
f695acf6
TT
162772002-03-25 Tom Tromey <tromey@redhat.com>
16278
16279 For PR libgcj/5303:
16280 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16281 and --version.
16282 (help): New method.
16283 (version): Likewise.
16284 * gnu/gcj/convert/Convert.java (version): Removed extraneous
16285 "GNU".
16286 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16287 "GNU".
16288
9b95cee6
TT
162892002-03-25 Tom Tromey <tromey@redhat.com>
16290
16291 * java/awt/Component.java (processEvent): Check ComponentEvent
16292 after KeyEvent.
16293
e89268b6
BM
162942002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16295
16296 * java/io/PushbackReader.java: Reformat.
16297
acf9549e
BM
16298 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16299 calculate correct number of bytes skipped.
54d9d34a 16300
8cf29a47 16301 Based on patch from Intel's ORP team:
54d9d34a 16302 * java/io/PushbackInputStream.java (available): Calculate correct
8cf29a47
BM
16303 number of bytes in buffer.
16304 (read): Remove redundant bound check. Return bytes from both the
16305 buffer and the stream.
acf9549e 16306
64165b30
TT
163072002-03-24 Tom Tromey <tromey@redhat.com>
16308
e1a0d743
TT
16309 * java/awt/TextComponent.java (TextComponent): Editable by
16310 default.
16311
64165b30
TT
16312 * java/awt/MenuItem.java (eventMask): No longer private.
16313 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16314 superclass if we didn't handle event.
16315 * java/awt/Checkbox.java (dispatchEventImpl): New method.
16316 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16317 * java/awt/Choice.java (dispatchEventImpl): New method.
16318 * java/awt/List.java (dispatchEventImpl): New method.
16319 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16320 * java/awt/TextComponent.java (dispatchEventImpl): New method.
16321 * java/awt/TextField.java (dispatchEventImpl): New method.
16322
c9be3825
MW
163232002-03-24 Eric Blake <ebb9@email.byu.edu>
16324
16325 * java/beans/IntrospectionException.java: Update to 1.4.
16326 * java/beans/PropertyVetoException.java: Ditto.
16327
163282002-03-24 Eric Blake <ebb9@email.byu.edu>
16329
16330 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16331 Arrays.equals instead of ArrayHelper.equalsArray.
16332
163332002-03-24 C. Brian Jones <cbj@gnu.org>
16334
16335 * java/beans/Introspector.java: added new static final fields
16336 introduced in 1.2, lots of other updates remain to be done
16337
163382002-03-24 C. Brian Jones <cbj@gnu.org>
16339
16340 * java/beans/Introspector.java: reformatting
16341
163422002-03-24 C. Brian Jones <cbj@gnu.org>
16343
16344 * java/beans/Introspector.java: default beanInfoSearchPath will
16345 not include sun.beans.infos given we provide no such package and
16346 the API doesn't really require it; gnu.java.beans.info is the
16347 default.
16348
163492002-03-24 Mark Wielaard <mark@klomp.org>
16350
16351 Thanks to Orp developers
16352 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16353 switch TRUE and FALSE return values.
16354
f5c5a4e9
TT
163552002-03-23 Tom Tromey <tromey@redhat.com>
16356
16357 * include/name-finder.h (_Jv_name_finder::myclose): New method.
16358 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16359
9817ad77
MS
163602002-03-23 Michael Smith <msmith@spinnakernet.com>
16361
16362 * java/util/GregorianCalendar.java (minimums, maximums): Correct
16363 MONTH entry. Fixes PR libgcj/6045.
16364
a641514d
JS
163652002-03-23 Jeff Sturm <jsturm@one-point.com>
16366
16367 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16368
1de21d0e
BM
163692002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16370
16371 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16372 not release_set.
16373 * sysdep/powerpc/locks.h (write_barrier): New function.
16374 * sysdep/i386/locks.h (write_barrier): New function.
16375
c6ef94c5
MK
163762002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
16377
1de21d0e 16378 * include/jni.h Use correct C comments.
c6ef94c5 16379
9d5e46be
TT
163802002-03-18 Tom Tromey <tromey@redhat.com>
16381
16382 * include/jni.h (JNIIMPORT): New macro.
16383 (JNIEXPORT): Likewise.
16384 (JNICALL): Likewise.
16385
163862002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16387
16388 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16389 systems.
16390
71c6877d
AH
163912002-03-18 Andrew Haley <aph@cambridge.redhat.com>
16392
16393 * include/i386-signal.h (old_i386_kernel_sigaction): New.
16394 INIT_SEGV: Use old_i386_kernel_sigaction.
16395 INIT_FP: Likewise.
16396
1b5a2139
BM
163972002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16398
16399 * java/lang/natSystem.cc (init_properties): Update VM version
16400 properties.
16401 * configure.in: Set GCJVERSION.
16402 * acconfig.h: Add GCJVERSION.
16403 * configure: Rebuilt.
16404 * include/config.h.in: Rebuilt.
16405
a46ccd1b
AG
164062002-03-17 Anthony Green <green@redhat.com>
16407
16408 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16409
ce3b24a7
BM
164102002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16411
16412 Build a single libgcj.so, without separate gc and zlib libraries.
16413 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16414 SYS_ZLIBS if system zlib is used.
16415 * configure: Rebuilt.
16416 * Makefile.am: Use boehm-gc and zlib convenience libraries.
16417 * Makefile.in: Rebuilt.
16418 * libtool-version: Increment .so version number.
16419
f9ad9ecf
BM
16420 * Makefile.am: Escape quotes in echo.
16421 * Makefile.in: Rebuilt.
16422
3bb65672
BM
164232002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16424
16425 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16426 * Makefile.in: Rebuilt.
16427
2d933a0b
AG
164282002-03-15 Anthony Green <green@redhat.com>
16429
16430 * configure.host (FILE): New macro for specifing File
16431 implementation.
16432 * configure: Rebuilt.
16433 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
16434
201d203b
AO
164352002-03-15 Alexandre Oliva <aoliva@redhat.com>
16436
16437 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16438 already implicitly brought in from libgcj.la.
16439 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16440 * Makefile.in: Rebuilt.
16441
89a1ba6d
EB
164422002-03-15 Eric Blake <ebb9@email.byu.edu>
16443
16444 * THANKS: Fix punctuation, alphabetization.
16445
60f32585
TT
164462002-03-15 Tom Tromey <tromey@redhat.com>
16447 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
54d9d34a 16448
60f32585
TT
16449 Fix for PR libgcj/5944.
16450 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16451
e2ea015c
AG
164522002-03-15 Anthony Green <green@redhat.com>
16453
16454 * configure.in (tool_include_dir): Define.
16455 * configure: Rebuilt.
16456 * gcj/Makefile.am: Install libgcj-config.h relative to
16457 tool_include_dir.
16458 * gcj/Makefile: Rebuilt.
16459 * gcj/libgcj-config.h: Add warning comment.
16460
46f56f54
AT
164612002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
16462
16463 * configure.host (powerpc*-darwin*): Enable interpreter.
16464
60678e47
BM
164652002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16466
16467 * include/posix.h: Add multiple include header protection.
16468 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16469
72da3c3e
AM
164702002-03-10 Adam Megacz <adam@xwt.org>
16471
4977bab6 16472 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
54d9d34a 16473
0c1fcb02
TT
164742002-03-10 Tom Tromey <tromey@redhat.com>
16475
22d5af9a
TT
16476 * java/awt/GridLayout.java (layoutContainer): Handle case where
16477 there are no items in container.
16478
0c1fcb02
TT
16479 * java/lang/Win32Process.java: Added comment.
16480 * include/posix.h (_Jv_platform_close_on_exec): New function.
16481 Include fcntl.h.
16482 * include/win32.h (_Jv_platform_close_on_exec): New function.
16483 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16484 flag.
16485 (accept): Likewise.
16486 * java/net/natPlainDatagramSocketImpl.cc (create): Set
16487 close-on-exec flag.
16488 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16489 flag.
16490
621fba99
TT
164912002-03-09 Tom Tromey <tromey@redhat.com>
16492
16493 * verify.cc (state::NO_STACK): New constant.
16494 (state::is_unmerged_ret_state): Handle case where stacktop is
16495 NO_STACK.
16496 (state::merge): Handle NO_STACK merges.
16497 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16498 for instruction following jsr.
16499 (stacktop, stackdepth): Removed unused variables.
16500 (pop_jump): Ignore case where all remaining states are skipped.
16501
2c59df99
BM
165022002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16503
16504 * java/awt/ImageMediaEntry: Removed.
16505 * java/awt/MediaEntry: Removed.
16506
45597167
BM
165072002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16508
16509 Hashtable synchronization for PowerPC.
16510 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16511 slow_pthread_self. Set up symlink for sysdeps directory.
16512 * configure: Rebuild.
16513 * configure.host: Document more shell variables. Set sysdeps_dir
54d9d34a
AJ
16514 for most platforms. Set slow_pthread_self for i686. Set
16515 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
45597167
BM
16516 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16517 that memory barrier is emitted where required.
16518 * prims.cc: 64-bit align static primitive class instances.
16519 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16520 read_barrier() to enforce ordering of reads.
16521 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16522 primitives for PowerPC.
54d9d34a 16523 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
45597167
BM
16524 moved from natObject.cc.
16525 * sysdep/alpha/locks.h: Likewise.
16526 * sysdep/ia64/locks.h: Likewise.
16527 * sysdep/generic/locks.h: Likewise.
16528 * java/lang/natObject.cc: Move thread synchronization primitives to
16529 system-dependent headers.
16530
828c1ddc
AM
165312002-03-09 Adam Megacz <adam@xwt.org>
16532
4977bab6
ZW
16533 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16534 bytes read and no failure code returned.
828c1ddc 16535
9268f1c0
AM
165362002-03-09 Adam Megacz <adam@xwt.org>
16537
4977bab6
ZW
16538 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16539 definitions to simulate -mthreads.
54d9d34a 16540
bb0774f3
AM
165412002-03-09 Adam Megacz <adam@xwt.org>
16542
4977bab6 16543 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
bb0774f3
AM
16544 avoid precision loss.
16545
c314ee35
PB
165462002-03-09 Per Bothner <per@bothner.com>
16547
16548 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
16549 * gnu/gcj/xlib/XImage.java: Likewise.
16550 * gnu/gcj/xlib/XColor.java: Likewise.
16551
abfabb98
AM
165522002-03-09 Adam Megacz <adam@xwt.org>
16553
4977bab6
ZW
16554 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16555 IOException so that Throwable.printStackTrace fails correctly.
abfabb98 16556
0bf93ed4
AM
165572002-03-08 Adam Megacz <adam@xwt.org>
16558
4977bab6
ZW
16559 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16560 fixed.
0bf93ed4 16561
f1148658
BM
165622002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16563
16564 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16565 truncated to int.
16566
de3adb3d
TT
165672002-03-08 Tom Tromey <tromey@redhat.com>
16568
16569 * include/jni.h: Include stdio.h.
16570
7258310a
TT
165712002-03-08 Tom Tromey <tromey@redhat.com>
16572
16573 * posix.cc (internal_gettimeofday): New function.
16574 (_Jv_select): Use it.
16575
4e002027
AM
165762002-03-07 Adam Megacz <adam@xwt.org>
16577
4977bab6
ZW
16578 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16579 WIN32, and added thunks for read(), write(), and close().
16580 * java/net/natPlainSocketImpl.cc (accept, read, read):
16581 Disabled timeouts on WIN32 pending discussion.
4e002027 16582
8eeda6e0
AM
165832002-03-07 Adam Megacz <adam@xwt.org>
16584
4977bab6
ZW
16585 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16586 returns jlong. Added implementation
16587 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16588 returns jlong.
16589 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16590 returns jlong.
16591 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16592 returns jlong.
16593 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16594 _Jv_platform_gettimeofday signature.
54d9d34a 16595
a72f7227
BM
165962002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16597
16598 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16599 (read): Call recv() directly, not _Jv_recv().
16600
fd7852b3
TT
166012002-03-06 Tom Tromey <tromey@redhat.com>
16602
51532731
TT
16603 * java/io/natFileDescriptorEcos.cc (init): Don't use
16604 GetStdHandle.
16605 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16606 is negative.
16607 (init): Don't use GetStdHandle.
16608
fd7852b3
TT
16609 * include/config.h.in: Rebuilt.
16610 * configure: Rebuilt.
16611 * Makefile.in: Rebuilt.
16612
348c9efc
AM
166132002-03-06 Adam Megacz <adam@xwt.org>
16614
4977bab6
ZW
16615 * java/io/FileDescriptor.java: Initialize in/out/err in init().
16616 * java/io/natFileDescriptorWin32.cc (init()): Added function.
16617 * java/io/natFileDescriptorPosix.cc (init()): Added function.
16618 * java/io/natFileDescriptorEcos.cc (init()): Added function.
348c9efc 16619
380ff1ef 166202002-03-06 Eric Blake <ebb9@email.byu.edu>
1fa78272
EB
16621
16622 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16623 the code for generating include/java-chartables.h.
16624 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16625 merge with Classpath.
16626 * scripts/unicode-muncher.pl: Copy from Classpath.
16627 * scritps/MakeCharTables.java: New file.
16628 * gnu/gcj/convert/Blocks-3.txt: New file.
16629 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16630 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16631 * gnu/java/lang/CharData.java: Copy from Classpath.
16632 * Makefile.am (ordinary_java_source_files): Add
16633 gnu/java/lang/CharData.java.
16634 * configure.in: Remove --enable-fast-character option.
16635 * java/lang/Character.java: Merge algorithms and Javadoc with
16636 Classpath.
16637 * java/lang/natCharacter.cc: Implement Unicode lookup table more
16638 efficiently.
16639 * include/java-chardecomp.h: Regenerate.
16640 * include/java-chartables.h: Regenerate.
16641
f095bbfc
BM
166422002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16643
16644 * java/awt/MediaTracker.java: Implemented.
16645 * Makefile.am: Add MediaTracker.
16646 * Makefile.in: Rebuilt.
16647
6901a009
TT
166482002-03-05 Tom Tromey <tromey@redhat.com>
16649
355526af
TT
16650 * java/lang/natPosixProcess.cc (fail): Removed.
16651 (startProcess): Simplified error-handling. Preserve
16652 LD_LIBRARY_PATH across exec.
16653
6901a009
TT
16654 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16655 AbstractMethodError.
16656
bc24faf8
BM
166572002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16658
16659 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16660 * Makefile.in: Rebuilt.
16661
de246753
MW
166622002-03-03 Mark Wielaard <mark@klomp.org>
16663
16664 * java/util/Timer (TaskQueue.stop): set elements to zero.
16665
562ff163
AG
166662002-02-28 Anthony Green <green@redhat.com>
16667
16668 * java/lang/reflect/natMethod.cc (result): Add void* element.
16669 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
16670 constructor test.
16671
d6275471
AM
166722002-02-27 Adam Megacz <adam@xwt.org>
16673
16674 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16675 '#undef STRICT'.
16676
fc04b455
TT
166772002-02-26 Tom Tromey <tromey@redhat.com>
16678
16679 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16680 * gij.cc (version): Use __VERSION__.
16681 * include/config.h.in: Rebuilt.
16682 * acconfig.h (GCJVERSION): Removed.
16683 * configure: Rebuilt.
16684 * configure.in (GCJVERSION): Removed.
16685
7d2c4fe1
AS
166862002-02-26 Andreas Schwab <schwab@suse.de>
16687
16688 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16689 glibcpp_CXX, since libjava uses even another CXX.
16690 * aclocal.m4, configure: Regenerated.
16691
7fe4a89a
TT
166922002-02-26 Tom Tromey <tromey@redhat.com>
16693
16694 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16695 `1'.
16696
f36bcb2d
BM
166972002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16698
16699 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16700 dependency tracking for .java files.
16701 * Makefile.in: Rebuilt.
16702
bbe7f269
AM
167032002-02-24 Adam Megacz <adam@xwt.org>
16704
16705 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16706 typo. Sorry.
16707
77da08b0
AM
167082002-02-24 Adam Megacz <adam@xwt.org>
16709
16710 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16711 for Win32, changed #ifdefs to check WIN32 instead of the
16712 (now-obsolete) USE_WINSOCK, and removed support for socket
16713 timeouts on Win32 pending further discussion.
16714
2e8f5b2d
AM
167152002-02-24 Adam Megacz <adam@xwt.org>
16716
16717 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16718 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16719 delete
16720
f5d8c660
AM
167212002-02-24 Adam Megacz <adam@xwt.org>
16722
16723 * java/lang/Win32Process.java: Created a dummy class to allow
16724 build process to run to completion.
16725
a7261b2d
JS
167262002-02-24 Jeff Sturm <jsturm@one-point.com>
16727
16728 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16729 Define ffi_result union for ffi_call result. Cast
16730 ffi_result members to jvalue.
54d9d34a 16731
d6e671fa
AO
167322002-02-23 Alexandre Oliva <aoliva@redhat.com>
16733
16734 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16735 * testsuite/Makefile.in: Likewise.
16736
9abe2e29
PB
167372002-02-20 Per Bothner <per@bothner.com>
16738
16739 * java/net/URL.java (getPath): New JDK 1.3 method.
16740
16741 * java/net/URLStreamHandler.java (parseURL):
16742 It is wrong to prepend '/' to the file part of a relative url.
16743
16744 * java/net/URLStreamHandler.java (parseURL):
16745 Minor optizations - append '/' rather than "/".
16746
16747 * java/net/URLStreamHandler.java (parseURL):
16748 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16749 We probably should canonicalize for a context-relative url, though.
16750 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
16751 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
16752 (sameFile): New method. Uses canonicalizeFilename.
16753
1a77d3ba
TT
167542002-02-22 Tom Tromey <tromey@redhat.com>
16755
16756 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16757 java.vendor and java.vm.vendor.
16758 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16759 recent copyright date.
16760 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16761 * gij.cc (version): Print `Inc'.
16762
eae63c0a
AO
167632002-02-22 Alexandre Oliva <aoliva@redhat.com>
16764
16765 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16766 * aclocal.m4, configure: Rebuilt.
16767
0bf18815
PB
167682002-02-20 Per Bothner <per@bothner.com>
16769
16770 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
16771 and/or output streams immediately here, instead of using File.exists.
16772 (inputStream, outputStream): New fields to save open streams.
16773 (getInputStream, getOutputStream): Use already-opened streams.
16774
a37049c1
AO
167752002-02-22 Alexandre Oliva <aoliva@redhat.com>
16776
16777 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16778 Use it.
16779 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16780 * aclocal.m4, configure, Makefile.in: Rebuilt.
16781
e4e35417
TT
167822002-02-19 Tom Tromey <tromey@redhat.com>
16783
16784 Fix for PR libgcj/5696:
16785 * verify.cc (is_assignable_from_slow): Never call
16786 _Jv_IsAssignableFrom.
16787 (verify_instructions_0): Added new debug statement.
16788 (state::print): Print information about whether local has
16789 changed.
16790 (state::merge): Don't call note_variable when merging locals.
16791 (state::set_exception): Removed old FIXME comment.
16792
95407a28
BM
167932002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16794
16795 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16796 enable SO_BROADCAST.
16797
21fe5f6a
JM
167982002-02-18 Jason Merrill <jason@redhat.com>
16799
16800 * name-finder.cc (toHex): Use word mode, not long long.
16801
16802 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16803
ef9c7b8e
TT
168042002-02-15 Tom Tromey <tromey@redhat.com>
16805
16806 Fix for PR libgcj/5695:
16807 * verify.cc (is_assignable_from_slow): Check to see if target is
16808 an Object before checking to see if source is an interface.
16809 (verify_instructions_0) [op_invokeinterface]: Handle case where
16810 we're making an interface call on Object.
16811
15b28697
BM
168122002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16813
16814 * Makefile.in: Rebuilt with Eric's change below.
16815
16816 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16817 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16818 Removed functions which are now implemented in Math.java.
16819
2f999d0f
EB
168202002-02-14 Eric Blake <ebb9@email.byu.edu>
16821
16822 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16823 * Makefile.am (core_java_source_files): Add
16824 java/lang/StrictMath.java.
16825 * java/lang/Math.java: Merge with Classpath.
16826 * java/lang/StrictMath.java: New file - merge with Classpath.
16827
89428698
MW
168282002-02-14 Mark Wielaard <mark@klomp.org>
16829
16830 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16831 package as a workaround for gcj 3.0.x
16832
168332002-02-14 Mark Wielaard <mark@klomp.org>
16834
16835 * java/security/BasicPermission.java: extends with fully qualified
16836 classname as workaround for gcj 3.0.4.
16837
168382002-02-14 Eric Blake <ebb9@email.byu.edu>
16839
16840 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16841 around gcj bug of wrong emitted qualifier for inherited method.
16842 * java/net/SocketImpl.java (setOption, getOption): Ditto.
16843 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16844 constructor to reduce amount of emitted bytecode. While this
16845 happens to work around a jikes 1.15 bug, it is still a useful
16846 patch even for correct compilers.
16847 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16848 * gnu/java/rmi/server/UnicastRemoteCall.java
16849 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16850
168512002-02-14 Eric Blake <ebb9@email.byu.edu>
16852
16853 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16854 * java/net/SocketImpl.java: Ditto.
16855 * java/rmi/server/RMIClassLoader.java: Ditto.
16856 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16857
168582002-02-14 Mark Wielaard <mark@klomp.org>
16859
16860 Thanks to Takashi Okamoto
16861 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16862 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16863 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16864
30fbb95c
TS
168652002-02-13 Todd Stock <toddastock@yahoo.com>
16866
16867 Fix for PR libgcj/5670:
16868 * verify.cc (is_assignable_from_slow): If `source' is interface,
16869 recursively look for merge with `target'.
16870
aeb4ed46
MK
168712002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
16872
16873 * include/jni.h: Fix typo.
16874
c66b9fd9
MK
168752002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
16876
16877 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16878 correctly.
16879
1eca751e
TS
168802002-02-13 Todd Stock <toddastock@yahoo.com>
16881
16882 Fix for PR libgcj/5671:
16883 * verify.cc (state::merge): Handle case where we're merging
16884 against an interface.
16885
cf3c6c99
TT
168862002-02-12 Tom Tromey <tromey@redhat.com>
16887
16888 * exception.cc (std::abort): Mark as noreturn.
16889
26e9664c
AM
168902002-02-12 Adam Megacz <adam@xwt.org>
16891
4977bab6 16892 * java/lang/Win32Process.java: Filled in a placeholder
26e9664c
AM
16893 implementation so Win32 will build.
16894
8a434a36
AM
168952002-02-12 Adam Megacz <adam@xwt.org>
16896
4977bab6 16897 * java/io/natFilePosix.cc: Copied this from natFile.cc.
8a434a36
AM
16898 * java/io/natFile.cc: Removed from repository.
16899 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16900
1febeb40
AM
169012002-02-12 Adam Megacz <adam@xwt.org>
16902
16903 * win32.cc: Added two #includes to make win32.cc compile.
16904
88c38cc1
BM
169052002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16906
16907 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16908 declarations.
54d9d34a 16909 (_Jv_InitGC): Don't bother locking, as this is always called from a
88c38cc1
BM
16910 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16911
b32d2321
AM
169122002-02-11 Adam Megacz <adam@xwt.org>
16913
16914 * include/win32.h: Added _Jv_platform_gettimeofday.
16915 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16916
30529b03
AM
169172002-02-11 Adam Megacz <adam@xwt.org>
16918
16919 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16920 Added #undef STRICT to make windows.h and
16921 java/lang/reflect/Modifier.h cooperate.
16922
27fa520d
AM
169232002-02-11 Adam Megacz <adam@xwt.org>
16924
16925 * java/io/natFileWin32.cc: Created a placeholder class with lots
16926 of FIXMEs.
16927
1e41e843
AM
169282002-02-11 Adam Megacz <adam@xwt.org>
16929
16930 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16931 std::abort() to simply abort(). Also added "fake" std::abort() so
16932 we can #include unwind-pe.h without having to link against
16933 libstdc++-v3.
16934
1347adff
AT
169352002-02-10 Andreas Tobler <toa@pop.agri.ch>
16936
16937 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16938
30d28794
TT
169392002-02-08 Tom Tromey <tromey@redhat.com>
16940
16941 * interpret.cc (convert): New function.
16942 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16943 convert.
16944 Include Long.h.
16945
9782d8f5
AG
169462002-02-08 Anthony Green <green@redhat.com>
16947
16948 * configure.host: Add support for xscale-elf embedded target.
16949
d3ae0d49
MK
169502002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
16951
16952 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16953 dereferenced.
16954 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16955 frame.
16956
6478d7c9
TT
169572002-02-07 Tom Tromey <tromey@redhat.com>
16958
16959 * java/io/natFile.cc (_access): Use __builtin_alloca.
16960 (_stat): Likewise.
16961 (attr): Likewise.
16962 (getCanonicalPath): Likewise.
16963 (performList): Likewise.
16964 (performMkdir): Likewise.
16965 (performSetReadOnly): Likewise.
16966 (performRenameTo): Likewise.
16967 (performSetLastModified): Likewise.
16968 (performCreate): Likewise.
16969 (performDelete): Likewise.
16970
e291c8db
BM
169712002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
16972
16973 * HACKING: Fix URL for the automake-gcj.
16974
0669d0ed
TT
169752002-02-07 Tom Tromey <tromey@redhat.com>
16976
85ea93b3
TT
16977 * java/lang/natThrowable.cc: Updated copyright.
16978 * java/io/natFileWin32.cc: Updated copyright.
16979 * java/io/natFileDescriptorWin32.cc: Updated copyright.
16980 * win32-threads.cc: Updated copyright.
16981 * name-finder.cc: Updated copyright.
16982 * include/name-finder.h: Updated copyright.
16983
9f2618df
TT
16984 * include/name-finder.h: Conditionally include sys/wait.h.
16985 * include/config.h.in: Rebuilt.
16986
fc7563ec
TT
16987 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16988 Size buffer based on real size of string.
16989 (_stat): Likewise.
16990 (attr): Likewise.
16991 (getCanonicalPath): Likewise.
16992 (performList): Likewise.
16993 (performMkdir): Likewise.
16994 (performSetReadOnly): Likewise.
16995 (unixroot): Removed.
16996 (performRenameTo): Likewise.
16997 (performSetLastModified): Likewise.
16998 (performCreate): Likewise.
16999 (performDelete): Likewise.
17000 (performListRoots): Always return new array.
17001
73272ce6
TT
17002 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
17003 * win32.cc (win32_exception_handler): Now static.
17004 * include/win32.h (_Jv_platform_initialize): Declare.
17005 (win32_exception_handler): Don't declare.
17006 * java/lang/natSystem.cc (currentTimeMillis): Use
17007 _Jv_platform_gettimeofday.
17008 * posix.cc (_Jv_platform_gettimeofday): Renamed.
17009 (_Jv_select): Use new name.
17010 (_Jv_platform_initialize): New function.
17011 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
17012 _Jv_gettimeofday.
17013 (_Jv_platform_initialize): Declare.
17014
0669d0ed
TT
17015 * configure: Rebuilt.
17016 * configure.in: Removed unnecessary parens.
17017
b8fe3c1e
AM
170182002-02-06 Adam Megacz <adam@xwt.org>
17019
17020 * configure.in: Changed mingw) to *mingw*).
17021 * win32.cc: Created this file.
17022 * win32.h: Created this file.
17023 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
17024 win32_exception_handler from prims.cc to win32.cc, added
17025 header in win32.h.
17026 * prims.cc: removed some #ifdef-WIN32'd headers which are no
17027 longer needed now that we have platform.h
17028
df79080e
AM
170292002-02-06 Adam Megacz <adam@xwt.org>
17030
b8d87c36
AM
17031 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
17032 use uint<n>_t instead of LONG and BYTE
54d9d34a 17033
4048d336
AM
170342002-02-06 Adam Megacz <adam@xwt.org>
17035
17036 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
54d9d34a 17037
b5ee195f
AG
170382002-02-06 Anthony Green <green@redhat.com>
17039
17040 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
17041 Implement missing method stubs.
17042 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
17043 targets.
17044 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
17045 concept of timezones.
17046 (init_properties): Don't refer to _Jv_Environment_Properties
17047 when this feature is not available.
17048 * include/config.h.in: Rebuilt.
17049 * acconfig.h: Add DISABLE_MAIN_ARGS.
17050 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
17051 * configure: Rebuilt.
17052 * configure.in: Add --disable-main-args option. Test for
4977bab6
ZW
17053 opendir function. Replace AC_CHECK_SIZEOF with
17054 AC_COMPILE_CHECK_SIZEOF.
b5ee195f
AG
17055 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
17056 * aclocal.m4: Rebuilt.
17057 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
17058
383aa2ef
TT
170592002-02-06 Tom Tromey <tromey@redhat.com>
17060
17061 * verify.cc (require_array_type): If argument is a null array of
17062 references, return null as the element type.
17063
448f456d
MW
170642002-02-06 Mark Wielaard <mark@klomp.org>
17065
17066 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
17067 duplicate of a wide type.
17068
199ecb18
TT
170692002-02-06 Tom Tromey <tromey@redhat.com>
17070
17071 * verify.cc (type::isnull): New method.
17072 (require_array_type): Handle case where array is null.
17073 (verify_instructions_0) [op_arraylength]: Likewise.
17074
8c78e3a3
BM
170752002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17076
17077 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
17078 Symlink PLATFORMH to platform.h.
17079 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
17080 PLATFORMOBJS.
17081 * java/lang/natSystem.cc: #include platform.h not posix.h.
17082 * Makefile.in: Rebuilt with libgcj automake.
17083 * configure: Rebuilt.
17084
7a97f559
RH
170852002-02-05 Richard Henderson <rth@redhat.com>
17086
17087 * Makefile.in: Undo munging last change.
17088
d7799ba1
AM
170892002-02-04 Adam Megacz <adam@xwt.org>
17090
17091 * win32.cc: Created it.
7a97f559
RH
17092 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
17093 which is set to posix.cc or win32.cc.
17094 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
54d9d34a 17095
d08e89a9
AM
170962002-02-04 Adam Megacz <adam@xwt.org>
17097
7a97f559
RH
17098 * configure.in: Corrected mingw case branches; added * before
17099 and after.
d08e89a9 17100
4a8e624f
AM
171012002-02-04 Adam Megacz <adam@xwt.org>
17102
7a97f559
RH
17103 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
17104 if compiling for win32
4a8e624f 17105
1d3efb36
AM
171062002-02-04 Adam Megacz <adam@xwt.org>
17107
7a97f559 17108 * win32-threads.cc: #undef STRICT after gc.h inclusion
1d3efb36 17109
9b8b2fcf
TT
171102002-02-02 Tom Tromey <tromey@redhat.com>
17111
17112 * Makefile.in: Rebuilt.
17113
1acce4c7
JM
171142002-02-02 Jason Merrill <jason@redhat.com>
17115
17116 * Makefile.am (clean-nat): New target.
17117
6c69cbcc
TT
171182002-02-02 Tom Tromey <tromey@redhat.com>
17119
17120 * java/io/natFile.cc: Removed old "FIXME" comments.
17121
0c91936e
TT
171222002-02-01 Tom Tromey <tromey@redhat.com>
17123
17124 * java/lang/natPosixProcess.cc (myclose): New function.
17125 (fail): Use it.
17126 (startProcess): Likewise.
17127
6d829370
AM
171282002-02-01 Adam Megacz <adam@xwt.org>
17129
17130 * prims.cc: Added #undef STRICT after #include<windows.h>.
54d9d34a 17131
a7006428
AM
171322002-02-01 Adam Megacz <adam@xwt.org>
17133
17134 * prims.cc
17135 (_Jv_CreateJavaVM): We now use WIN32 instead of
17136 USE_WIN32_SIGNALLING and USE_WINSOCK.
17137 (win32_exception_handler): Now throws an exception out of
6d829370 17138 the signal handler; assumes SJLJ.
54d9d34a 17139
ce762b4b 171402002-02-01 Adam Megacz <adam@xwt.org>
a70cb11b 17141
7a97f559
RH
17142 * win32-threads.cc:
17143 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
17144 wait() algorithm to make it safe.
17145 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
17146 Added lazy creation of Win32 Events for better performance
17147 (really_start): This now uses GC_CreateThread so boehm-gc
17148 knows about new threads even when statically linked.
a70cb11b 17149
8627cc15
AM
171502002-02-01 Adam Megacz <adam@xwt.org>
17151
7a97f559 17152 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
8627cc15
AM
17153 enable safer wait() algorithm.
17154 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
17155 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
17156 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
17157 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
17158 instead of mutex.
17159 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
17160
54a190dd
AM
171612002-02-01 Adam Megacz <adam@xwt.org>
17162
17163 * configure.in: Added support for mingw.
17164 * java/lang/Win32Process.java: Created as empty file.
17165 * java/lang/natWin32Process.cc: Created as empty file.
17166
1c24f830
CR
171672002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
17168
17169 PR java/4972
54d9d34a 17170 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
1c24f830
CR
17171 for libiconv in LIBICONV variable.
17172 * configure: Regenerated.
17173
de0ed7b6
TT
171742002-01-31 Tom Tromey <tromey@redhat.com>
17175
17176 * verify.cc (state::enter_subroutine): New method.
17177 (handle_jsr_insn): Use it.
17178 (state::merge): When processing a `ret', correctly use
17179 subroutine's state to determine which local variables have
17180 changed.
17181 (push_exception_jump): Don't let stack overflow.
17182
8512bbd7
JM
171832002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
17184
17185 * gnu/gcj/convert/Convert.java: Only include one copyright year in
17186 --version output.
17187
b3de7ff3
TT
171882002-01-30 Tom Tromey <tromey@redhat.com>
17189
1b8337e7
TT
17190 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
17191 parameter for `recv' return type.
17192
b3de7ff3
TT
17193 * verify.cc (handle_ret_insn): Check for subroutine merge here...
17194 (state::merge): ... not here.
17195 (subr_entry_info): New structure.
17196 (entry_points): New field.
17197 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
17198 entry_points.
17199
6c54b16c
TT
172002002-01-29 Tom Tromey <tromey@redhat.com>
17201
7950ed56
TT
17202 * java/awt/List.java (addNotify): Correctly check to see if peer
17203 does not exist.
17204
6c54b16c
TT
17205 * java/awt/GridLayout.java (layoutContainer): Use number of rows
17206 to compute height of each cell, and number of columns to compute
17207 width of each cell.
17208 * java/awt/Window.java (getOwnedWindows): Don't return null.
17209 * java/awt/FlowLayout.java (layoutContainer): Set width and height
17210 of component. Increment x using horizontal gap, not vertical
17211 gap.
17212
8987cc88
TT
172132002-01-28 Tom Tromey <tromey@redhat.com>
17214
17215 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
17216 `nargs' byte is number of words, not number of arguments.
17217
1919a4e7
TT
172182002-01-27 Tom Tromey <tromey@redhat.com>
17219
b5352291
TT
17220 * java/awt/event/MouseEvent.java (modifiers): Removed field.
17221 (when): Likewise.
17222 * java/awt/event/InputEvent.java (modifiers, when): Now
17223 package-private.
17224
1919a4e7
TT
17225 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
17226 and to-do list.
17227 (state::merge): Use current class' class loader.
17228 (state::print): Print subroutine.
17229 (state::merge): Don't look at subroutine of unmerged `ret'.
17230
73068e36
AT
172312002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
17232
17233 * nogc.cc: Remove warnings.
17234 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
17235 New functions.
17236
2198265a
BM
172372002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17238
17239 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
17240 int, int): Remove empty "if" statement to work around compiler bug.
17241 (newPixels(int[], ColorModel, int, int): Likewise.
17242
f24e160a
PB
172432002-01-25 Per Bothner <per@bothner.com>
17244
17245 * verify.cc (verify_fail): Change from being a top-level function
17246 to e method of _Jv_BytecodeVerifier. Emit current method name.
17247 Pass the current verifier to type: and state: methods as needed,
17248 for better error messages, and for resolve.
17249 (resolve): Pass current class's loader for Class.forName and
17250 _Jv_FindClassFromSignature, rather than using the default loader.
17251 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
17252 (get_type_val_for_signature): Make non-static.
17253 (various methods): Pass start_PC implicitly, not explicitly.
17254
2fb4e07f
TT
172552002-01-25 Tom Tromey <tromey@redhat.com>
17256
17257 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17258 loop termination condition.
17259 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17260 width.
17261
8c77cda5
TT
172622002-01-24 Tom Tromey <tromey@redhat.com>
17263
02ad93a6
TT
17264 * java/awt/Shape.java: Merged with Classpath.
17265 * java/awt/Scrollbar.java: Merged with Classpath.
17266
0983da5b
TT
17267 * java/awt/Container.java (addNotify): Unconditionally call
17268 addNotifyContainerChildren and superclass addNotify.
17269
8c77cda5
TT
17270 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17271 getAlpha, not getBlue.
17272
9fa5237c
BM
172732002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
17274
17275 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
54d9d34a 17276
30ed0c45 17277 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
54d9d34a 17278 (grabPixels(long)): Wait to be notified that the ImageProducer has
974bbe9f 17279 completed.
9fa5237c 17280
7ac20fe4
PB
172812002-01-24 Per Bothner <per@bothner.com>
17282
054117f9
PB
17283 * verify.cc (is_assignable_from_slow): If target is an interface,
17284 we must still check the source's superclass before giving up.
7ac20fe4 17285
d6c8012e
TT
172862002-01-24 Tom Tromey <tromey@redhat.com>
17287
17288 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17289
152d4916
TT
172902002-01-23 Tom Tromey <tromey@redhat.com>
17291
619e2b84
TT
17292 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17293 `else'.
17294
92bc8733
TT
17295 * Makefile.in: Rebuilt.
17296 * Makefile.am (awt_java_source_files): Added new files.
17297 * java/awt/Toolkit.java: Merged with Classpath.
17298 * java/awt/PrintGraphics.java: New file from Classpath.
17299 * java/awt/PrintJob.java: New file from Classpath.
17300 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17301 * java/awt/datatransfer/ClipboardOwner.java: New file from
17302 Classpath.
17303 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17304 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17305 * java/awt/datatransfer/MimeTypeParseException.java: New file from
17306 Classpath.
17307 * java/awt/datatransfer/StringSelection.java: New file from
17308 Classpath.
17309 * java/awt/datatransfer/SystemFlavorMap.java: New file from
17310 Classpath.
17311 * java/awt/datatransfer/Transferable.java: New file from
17312 Classpath.
17313 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17314 from Classpath.
17315
152d4916
TT
17316 * Makefile.in: Rebuilt.
17317 * Makefile.am (awt_java_source_files): Added new files.
17318 * java/awt/image/AreaAveragingScaleFilter.java: New file from
17319 Classpath.
17320 * java/awt/image/CropImageFilter.java: New file from Classpath.
17321 * java/awt/image/FilteredImageSource.java: New file from
17322 Classpath.
17323 * java/awt/image/ImageFilter.java: New file from Classpath.
17324 * java/awt/image/MemoryImageSource.java: New file from Classpath.
17325 * java/awt/image/PixelGrabber.java: New file from Classpath.
17326 * java/awt/image/RGBImageFilter.java: New file from Classpath.
17327 * java/awt/image/ReplicateScaleFilter.java: New file from
17328 Classpath.
17329 * java/awt/image/ImageProducer.java: Replaced with Classpath
17330 version.
17331 * java/awt/image/ImageObserver.java: Replaced with Classpath
17332 version.
17333 * java/awt/image/ImageConsumer.java: Replaced with Classpath
17334 version.
17335 * java/awt/GridBagConstraints.java (clone): Catch
17336 CloneNotSupportedException.
17337
033509da
PB
173382002-01-23 Per Bothner <per@bothner.com>
17339
17340 * java/lang/reflect/natField.cc (setAddr): New function.
17341 Calls getAddr and then checks that the field isn't final.
17342 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17343 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
17344 (set): Call setAddr before check that new value has right type,
17345 to better match specified semantics.
17346
7f7cfc73
TT
173472002-01-22 Tom Tromey <tromey@redhat.com>
17348
956e776d
TT
17349 * java/awt/TextField.java: Replaced with Classpath version.
17350 * java/awt/TextArea.java: Replaced with Classpath version.
17351 * java/awt/TextComponent.java: Replaced with Classpath version.
17352
7f7cfc73
TT
17353 * java/awt/GridBagConstraints.java: Updated copyright.
17354
98c3a44f
MW
173552002-01-22 Mark Wielaard <mark@klomp.org>
17356
54d9d34a
AJ
17357 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17358 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17359 java/awt/Dialog.java java/awt/FileDialog.java
17360 java/awt/Font.java java/awt/FontMetrics.java
17361 java/awt/Image.java java/awt/ImageMediaEntry.java
17362 java/awt/Insets.java java/awt/List.java
17363 java/awt/MediaEntry.java java/awt/MediaTracker.java
17364 java/awt/Menu.java java/awt/MenuBar.java
17365 java/awt/MenuContainer.java java/awt/MenuShortcut.java
17366 java/awt/PaintContext.java java/awt/Panel.java
17367 java/awt/PopupMenu.java java/awt/SystemColor.java
17368 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17369 java/awt/peer/CheckboxMenuItemPeer.java
17370 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17371 java/awt/peer/ComponentPeer.java
17372 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17373 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17374 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17375 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17376 java/awt/peer/MenuBarPeer.java
17377 java/awt/peer/MenuComponentPeer.java
17378 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17379 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17380 java/awt/peer/ScrollPanePeer.java
17381 java/awt/peer/ScrollbarPeer.java
17382 java/awt/peer/TextAreaPeer.java
17383 java/awt/peer/TextComponentPeer.java
98c3a44f
MW
17384 java/awt/peer/TextFieldPeer.java
17385 java/awt/peer/WindowPeer.java: Add license clarification.
17386
92aaa246
MW
173872002-01-22 Mark Wielaard <mark@klomp.org>
17388
54d9d34a
AJ
17389 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17390 gnu/gcj/runtime/StringBuffer.java
17391 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17392 gnu/java/awt/ComponentDataBlitOp.java
17393 gnu/java/awt/GLightweightPeer.java
17394 gnu/java/beans/BeanInfoEmbryo.java
17395 gnu/java/beans/EmptyBeanInfo.java
17396 gnu/java/beans/ExplicitBeanInfo.java
17397 gnu/java/beans/IntrospectionIncubator.java
17398 gnu/java/beans/editors/ColorEditor.java
17399 gnu/java/beans/editors/FontEditor.java
17400 gnu/java/beans/editors/NativeBooleanEditor.java
17401 gnu/java/beans/editors/NativeByteEditor.java
17402 gnu/java/beans/editors/NativeDoubleEditor.java
17403 gnu/java/beans/editors/NativeFloatEditor.java
17404 gnu/java/beans/editors/NativeIntEditor.java
17405 gnu/java/beans/editors/NativeLongEditor.java
17406 gnu/java/beans/editors/NativeShortEditor.java
17407 gnu/java/beans/editors/StringEditor.java
17408 gnu/java/beans/info/ComponentBeanInfo.java
17409 gnu/java/io/ClassLoaderObjectInputStream.java
17410 gnu/java/io/NullOutputStream.java
17411 gnu/java/io/ObjectIdentityWrapper.java
17412 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17413 gnu/java/lang/reflect/TypeSignature.java
17414 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17415 gnu/java/locale/Calendar_en.java
17416 gnu/java/locale/Calendar_nl.java
17417 gnu/java/locale/LocaleInformation.java
17418 gnu/java/locale/LocaleInformation_de.java
17419 gnu/java/locale/LocaleInformation_en.java
17420 gnu/java/locale/LocaleInformation_nl.java
17421 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17422 gnu/java/rmi/registry/RegistryImpl.java
17423 gnu/java/rmi/rmic/Compile_gcj.java
17424 gnu/java/rmi/rmic/Compiler.java
17425 gnu/java/rmi/rmic/CompilerProcess.java
17426 gnu/java/rmi/rmic/RMIC.java
17427 gnu/java/rmi/rmic/TabbedWriter.java
17428 gnu/java/rmi/server/ProtocolConstants.java
17429 gnu/java/rmi/server/RMIDefaultSocketFactory.java
17430 gnu/java/rmi/server/RMIHashes.java
17431 gnu/java/rmi/server/RMIObjectInputStream.java
17432 gnu/java/rmi/server/RMIObjectOutputStream.java
17433 gnu/java/rmi/server/UnicastConnection.java
17434 gnu/java/rmi/server/UnicastConnectionManager.java
17435 gnu/java/rmi/server/UnicastRef.java
17436 gnu/java/rmi/server/UnicastRemoteCall.java
17437 gnu/java/rmi/server/UnicastRemoteStub.java
17438 gnu/java/rmi/server/UnicastServer.java
17439 gnu/java/rmi/server/UnicastServerRef.java
17440 gnu/java/security/provider/DefaultPolicy.java
17441 gnu/java/security/provider/Gnu.java
17442 gnu/java/security/provider/SHA.java
17443 gnu/java/security/provider/SHA1PRNG.java
17444 gnu/java/text/BaseBreakIterator.java
17445 gnu/java/text/CharacterBreakIterator.java
17446 gnu/java/text/LineBreakIterator.java
17447 gnu/java/text/SentenceBreakIterator.java
17448 gnu/java/text/WordBreakIterator.java
17449 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17450 java/applet/AppletContext.java java/applet/AppletStub.java
17451 java/applet/AudioClip.java java/awt/AWTError.java
17452 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17453 java/awt/AWTException.java java/awt/AWTPermission.java
17454 java/awt/ActiveEvent.java java/awt/BorderLayout.java
17455 java/awt/Button.java java/awt/Canvas.java
17456 java/awt/CardLayout.java java/awt/Checkbox.java
17457 java/awt/CheckboxGroup.java java/awt/Component.java
17458 java/awt/ComponentOrientation.java java/awt/Container.java
17459 java/awt/Dimension.java java/awt/Event.java
17460 java/awt/EventDispatchThread.java java/awt/EventQueue.java
17461 java/awt/FlowLayout.java java/awt/Frame.java
17462 java/awt/Graphics.java java/awt/Graphics2D.java
17463 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17464 java/awt/IllegalComponentStateException.java
17465 java/awt/ItemSelectable.java java/awt/Label.java
17466 java/awt/LayoutManager.java java/awt/LayoutManager2.java
17467 java/awt/MenuComponent.java java/awt/MenuItem.java
17468 java/awt/Paint.java java/awt/Point.java
17469 java/awt/Rectangle.java java/awt/RenderingHints.java
17470 java/awt/Transparency.java java/awt/Window.java
17471 java/awt/color/ColorSpace.java
17472 java/awt/color/ICC_ColorSpace.java
17473 java/awt/color/ICC_Profile.java
17474 java/awt/event/HierarchyBoundsAdapter.java
17475 java/awt/event/HierarchyBoundsListener.java
17476 java/awt/event/HierarchyEvent.java
17477 java/awt/event/HierarchyListener.java
17478 java/awt/geom/AffineTransform.java
17479 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17480 java/awt/geom/IllegalPathStateException.java
17481 java/awt/geom/Line2D.java
17482 java/awt/geom/NoninvertibleTransformException.java
17483 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17484 java/awt/geom/Rectangle2D.java
17485 java/awt/geom/RectangularShape.java
17486 java/awt/geom/RoundRectangle2D.java
17487 java/awt/image/BufferedImage.java
17488 java/awt/image/ColorModel.java
17489 java/awt/image/ComponentColorModel.java
17490 java/awt/image/ComponentSampleModel.java
17491 java/awt/image/DataBuffer.java
17492 java/awt/image/DataBufferByte.java
17493 java/awt/image/DataBufferInt.java
17494 java/awt/image/DataBufferUShort.java
17495 java/awt/image/DirectColorModel.java
17496 java/awt/image/PackedColorModel.java
17497 java/awt/image/Raster.java java/awt/image/RasterOp.java
17498 java/awt/image/SampleModel.java
17499 java/awt/image/SinglePixelPackedSampleModel.java
17500 java/awt/image/WritableRaster.java
17501 java/beans/AppletInitializer.java
17502 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17503 java/beans/Beans.java java/beans/Customizer.java
17504 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17505 java/beans/FeatureDescriptor.java
17506 java/beans/IndexedPropertyDescriptor.java
17507 java/beans/IntrospectionException.java
17508 java/beans/Introspector.java java/beans/MethodDescriptor.java
17509 java/beans/ParameterDescriptor.java
17510 java/beans/PropertyChangeEvent.java
17511 java/beans/PropertyChangeListener.java
17512 java/beans/PropertyChangeSupport.java
17513 java/beans/PropertyDescriptor.java
17514 java/beans/PropertyEditor.java
17515 java/beans/PropertyEditorManager.java
17516 java/beans/PropertyEditorSupport.java
17517 java/beans/PropertyVetoException.java
17518 java/beans/SimpleBeanInfo.java
17519 java/beans/VetoableChangeListener.java
17520 java/beans/VetoableChangeSupport.java
17521 java/beans/Visibility.java
17522 java/beans/beancontext/BeanContext.java
17523 java/beans/beancontext/BeanContextChild.java
17524 java/beans/beancontext/BeanContextChildComponentProxy.java
17525 java/beans/beancontext/BeanContextChildSupport.java
17526 java/beans/beancontext/BeanContextContainerProxy.java
17527 java/beans/beancontext/BeanContextEvent.java
17528 java/beans/beancontext/BeanContextMembershipEvent.java
17529 java/beans/beancontext/BeanContextMembershipListener.java
17530 java/beans/beancontext/BeanContextProxy.java
17531 java/beans/beancontext/BeanContextServiceAvailableEvent.java
17532 java/beans/beancontext/BeanContextServiceProvider.java
17533 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17534 java/beans/beancontext/BeanContextServiceRevokedEvent.java
17535 java/beans/beancontext/BeanContextServiceRevokedListener.java
17536 java/beans/beancontext/BeanContextServices.java
17537 java/beans/beancontext/BeanContextServicesListener.java
17538 java/io/BufferedInputStream.java
17539 java/io/BufferedOutputStream.java java/io/BufferedReader.java
17540 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17541 java/io/ByteArrayOutputStream.java
17542 java/io/CharArrayReader.java java/io/CharArrayWriter.java
17543 java/io/CharConversionException.java java/io/DataInput.java
17544 java/io/DataInputStream.java java/io/DataOutput.java
17545 java/io/EOFException.java java/io/Externalizable.java
17546 java/io/FileFilter.java java/io/FileNotFoundException.java
17547 java/io/FilePermission.java java/io/FileReader.java
17548 java/io/FileWriter.java java/io/FilenameFilter.java
17549 java/io/FilterInputStream.java java/io/FilterOutputStream.java
17550 java/io/FilterReader.java java/io/FilterWriter.java
17551 java/io/IOException.java java/io/InputStream.java
17552 java/io/InterruptedIOException.java
17553 java/io/InvalidClassException.java
17554 java/io/InvalidObjectException.java
17555 java/io/NotActiveException.java
17556 java/io/NotSerializableException.java java/io/ObjectInput.java
17557 java/io/ObjectInputStream.java
17558 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17559 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17560 java/io/ObjectStreamConstants.java
17561 java/io/ObjectStreamException.java
17562 java/io/ObjectStreamField.java
17563 java/io/OptionalDataException.java java/io/OutputStream.java
17564 java/io/PipedInputStream.java java/io/PipedOutputStream.java
17565 java/io/PipedReader.java java/io/PipedWriter.java
17566 java/io/PrintWriter.java java/io/PushbackInputStream.java
17567 java/io/PushbackReader.java java/io/Reader.java
17568 java/io/SequenceInputStream.java java/io/Serializable.java
17569 java/io/SerializablePermission.java
17570 java/io/StreamCorruptedException.java
17571 java/io/StreamTokenizer.java
17572 java/io/StringBufferInputStream.java java/io/StringReader.java
17573 java/io/StringWriter.java java/io/SyncFailedException.java
17574 java/io/UTFDataFormatException.java
17575 java/io/UnsupportedEncodingException.java
17576 java/io/WriteAbortedException.java java/io/Writer.java
17577 java/lang/AbstractMethodError.java
17578 java/lang/ArithmeticException.java
17579 java/lang/ArrayIndexOutOfBoundsException.java
17580 java/lang/ArrayStoreException.java java/lang/Boolean.java
17581 java/lang/Byte.java java/lang/CharSequence.java
17582 java/lang/ClassCastException.java
17583 java/lang/ClassCircularityError.java
17584 java/lang/ClassFormatError.java
17585 java/lang/ClassNotFoundException.java
17586 java/lang/CloneNotSupportedException.java
17587 java/lang/Cloneable.java java/lang/Comparable.java
17588 java/lang/Compiler.java java/lang/Double.java
17589 java/lang/Error.java java/lang/Exception.java
17590 java/lang/ExceptionInInitializerError.java
17591 java/lang/Float.java java/lang/IllegalAccessError.java
17592 java/lang/IllegalAccessException.java
17593 java/lang/IllegalArgumentException.java
17594 java/lang/IllegalMonitorStateException.java
17595 java/lang/IllegalStateException.java
17596 java/lang/IllegalThreadStateException.java
17597 java/lang/IncompatibleClassChangeError.java
17598 java/lang/IndexOutOfBoundsException.java
17599 java/lang/InheritableThreadLocal.java
17600 java/lang/InstantiationError.java
17601 java/lang/InstantiationException.java java/lang/Integer.java
17602 java/lang/InternalError.java
17603 java/lang/InterruptedException.java
17604 java/lang/LinkageError.java java/lang/Long.java
17605 java/lang/NegativeArraySizeException.java
17606 java/lang/NoClassDefFoundError.java
17607 java/lang/NoSuchFieldError.java
17608 java/lang/NoSuchFieldException.java
17609 java/lang/NoSuchMethodError.java
17610 java/lang/NoSuchMethodException.java
17611 java/lang/NullPointerException.java java/lang/Number.java
17612 java/lang/NumberFormatException.java
17613 java/lang/OutOfMemoryError.java java/lang/Package.java
17614 java/lang/Process.java java/lang/Runnable.java
17615 java/lang/RuntimeException.java
17616 java/lang/RuntimePermission.java
17617 java/lang/SecurityException.java
17618 java/lang/SecurityManager.java java/lang/Short.java
17619 java/lang/StackOverflowError.java java/lang/StringBuffer.java
17620 java/lang/StringIndexOutOfBoundsException.java
17621 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17622 java/lang/ThreadLocal.java java/lang/UnknownError.java
17623 java/lang/UnsatisfiedLinkError.java
17624 java/lang/UnsupportedClassVersionError.java
17625 java/lang/UnsupportedOperationException.java
17626 java/lang/VerifyError.java java/lang/VirtualMachineError.java
17627 java/lang/Void.java java/lang/ref/PhantomReference.java
17628 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17629 java/lang/ref/SoftReference.java
17630 java/lang/ref/WeakReference.java
17631 java/lang/reflect/AccessibleObject.java
17632 java/lang/reflect/InvocationTargetException.java
17633 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17634 java/lang/reflect/ReflectPermission.java
17635 java/math/BigDecimal.java java/math/BigInteger.java
17636 java/net/Authenticator.java java/net/BindException.java
17637 java/net/ConnectException.java java/net/ContentHandler.java
17638 java/net/ContentHandlerFactory.java
17639 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17640 java/net/FileNameMap.java java/net/MalformedURLException.java
17641 java/net/MulticastSocket.java java/net/NetPermission.java
17642 java/net/NoRouteToHostException.java
17643 java/net/PasswordAuthentication.java
17644 java/net/ProtocolException.java java/net/ServerSocket.java
17645 java/net/Socket.java java/net/SocketException.java
17646 java/net/SocketImpl.java java/net/SocketImplFactory.java
17647 java/net/SocketOptions.java java/net/SocketPermission.java
17648 java/net/URLDecoder.java java/net/URLEncoder.java
17649 java/net/URLStreamHandlerFactory.java
17650 java/net/UnknownHostException.java
17651 java/net/UnknownServiceException.java
17652 java/rmi/AccessException.java
17653 java/rmi/AlreadyBoundException.java
17654 java/rmi/ConnectException.java
17655 java/rmi/ConnectIOException.java
17656 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17657 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17658 java/rmi/NotBoundException.java
17659 java/rmi/RMISecurityException.java
17660 java/rmi/RMISecurityManager.java java/rmi/Remote.java
17661 java/rmi/RemoteException.java java/rmi/ServerError.java
17662 java/rmi/ServerException.java
17663 java/rmi/ServerRuntimeException.java
17664 java/rmi/StubNotFoundException.java
17665 java/rmi/UnexpectedException.java
17666 java/rmi/UnknownHostException.java
17667 java/rmi/UnmarshalException.java
17668 java/rmi/activation/Activatable.java
17669 java/rmi/activation/ActivateFailedException.java
17670 java/rmi/activation/ActivationDesc.java
17671 java/rmi/activation/ActivationException.java
17672 java/rmi/activation/ActivationGroup.java
17673 java/rmi/activation/ActivationGroupDesc.java
17674 java/rmi/activation/ActivationGroupID.java
17675 java/rmi/activation/ActivationID.java
17676 java/rmi/activation/ActivationInstantiator.java
17677 java/rmi/activation/ActivationMonitor.java
17678 java/rmi/activation/ActivationSystem.java
17679 java/rmi/activation/Activator.java
17680 java/rmi/activation/UnknownGroupException.java
17681 java/rmi/activation/UnknownObjectException.java
17682 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17683 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17684 java/rmi/registry/Registry.java
17685 java/rmi/registry/RegistryHandler.java
17686 java/rmi/server/ExportException.java
17687 java/rmi/server/LoaderHandler.java
17688 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17689 java/rmi/server/Operation.java
17690 java/rmi/server/RMIClassLoader.java
17691 java/rmi/server/RMIClientSocketFactory.java
17692 java/rmi/server/RMIFailureHandler.java
17693 java/rmi/server/RMIServerSocketFactory.java
17694 java/rmi/server/RMISocketFactory.java
17695 java/rmi/server/RemoteCall.java
17696 java/rmi/server/RemoteObject.java
17697 java/rmi/server/RemoteRef.java
17698 java/rmi/server/RemoteServer.java
17699 java/rmi/server/RemoteStub.java
17700 java/rmi/server/ServerCloneException.java
17701 java/rmi/server/ServerNotActiveException.java
17702 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17703 java/rmi/server/SkeletonMismatchException.java
17704 java/rmi/server/SkeletonNotFoundException.java
17705 java/rmi/server/SocketSecurityException.java
17706 java/rmi/server/UID.java
17707 java/rmi/server/UnicastRemoteObject.java
17708 java/rmi/server/Unreferenced.java
17709 java/security/AccessControlContext.java
17710 java/security/AccessControlException.java
17711 java/security/AccessController.java
17712 java/security/AlgorithmParameterGenerator.java
17713 java/security/AlgorithmParameterGeneratorSpi.java
17714 java/security/AlgorithmParameters.java
17715 java/security/AlgorithmParametersSpi.java
17716 java/security/AllPermission.java
17717 java/security/BasicPermission.java
17718 java/security/Certificate.java java/security/CodeSource.java
17719 java/security/DigestException.java
17720 java/security/DigestInputStream.java
17721 java/security/DigestOutputStream.java
17722 java/security/DomainCombiner.java
17723 java/security/DummyKeyPairGenerator.java
17724 java/security/DummyMessageDigest.java
17725 java/security/DummySignature.java
17726 java/security/GeneralSecurityException.java
17727 java/security/Guard.java java/security/GuardedObject.java
17728 java/security/Identity.java java/security/IdentityScope.java
17729 java/security/InvalidAlgorithmParameterException.java
17730 java/security/InvalidKeyException.java
17731 java/security/InvalidParameterException.java
17732 java/security/Key.java java/security/KeyException.java
17733 java/security/KeyFactory.java java/security/KeyFactorySpi.java
17734 java/security/KeyManagementException.java
17735 java/security/KeyPair.java java/security/KeyPairGenerator.java
17736 java/security/KeyPairGeneratorSpi.java
17737 java/security/KeyStore.java
17738 java/security/KeyStoreException.java
17739 java/security/KeyStoreSpi.java
17740 java/security/MessageDigest.java
17741 java/security/MessageDigestSpi.java
17742 java/security/NoSuchAlgorithmException.java
17743 java/security/NoSuchProviderException.java
17744 java/security/Permission.java
17745 java/security/PermissionCollection.java
17746 java/security/Permissions.java java/security/Policy.java
17747 java/security/Principal.java java/security/PrivateKey.java
17748 java/security/PrivilegedAction.java
17749 java/security/PrivilegedActionException.java
17750 java/security/PrivilegedExceptionAction.java
17751 java/security/ProtectionDomain.java
17752 java/security/Provider.java
17753 java/security/ProviderException.java
17754 java/security/PublicKey.java
17755 java/security/SecureClassLoader.java
17756 java/security/SecureRandom.java
17757 java/security/SecureRandomSpi.java java/security/Security.java
17758 java/security/SecurityPermission.java
17759 java/security/Signature.java
17760 java/security/SignatureException.java
17761 java/security/SignatureSpi.java
17762 java/security/SignedObject.java java/security/Signer.java
17763 java/security/UnrecoverableKeyException.java
17764 java/security/UnresolvedPermission.java
17765 java/security/acl/Acl.java java/security/acl/AclEntry.java
17766 java/security/acl/AclNotFoundException.java
17767 java/security/acl/Group.java
17768 java/security/acl/LastOwnerException.java
17769 java/security/acl/NotOwnerException.java
17770 java/security/acl/Owner.java java/security/acl/Permission.java
17771 java/security/cert/CRL.java
17772 java/security/cert/CRLException.java
17773 java/security/cert/Certificate.java
17774 java/security/cert/CertificateEncodingException.java
17775 java/security/cert/CertificateException.java
17776 java/security/cert/CertificateExpiredException.java
17777 java/security/cert/CertificateFactory.java
17778 java/security/cert/CertificateFactorySpi.java
17779 java/security/cert/CertificateNotYetValidException.java
17780 java/security/cert/CertificateParsingException.java
17781 java/security/cert/X509CRL.java
17782 java/security/cert/X509CRLEntry.java
17783 java/security/cert/X509Certificate.java
17784 java/security/cert/X509Extension.java
17785 java/security/interfaces/DSAKey.java
17786 java/security/interfaces/DSAKeyPairGenerator.java
17787 java/security/interfaces/DSAParams.java
17788 java/security/interfaces/DSAPrivateKey.java
17789 java/security/interfaces/DSAPublicKey.java
17790 java/security/interfaces/RSAKey.java
17791 java/security/interfaces/RSAPrivateCrtKey.java
17792 java/security/interfaces/RSAPrivateKey.java
17793 java/security/interfaces/RSAPublicKey.java
17794 java/security/spec/AlgorithmParameterSpec.java
17795 java/security/spec/DSAParameterSpec.java
17796 java/security/spec/DSAPrivateKeySpec.java
17797 java/security/spec/DSAPublicKeySpec.java
17798 java/security/spec/EncodedKeySpec.java
17799 java/security/spec/InvalidKeySpecException.java
17800 java/security/spec/InvalidParameterSpecException.java
17801 java/security/spec/KeySpec.java
17802 java/security/spec/PKCS8EncodedKeySpec.java
17803 java/security/spec/RSAKeyGenParameterSpec.java
17804 java/security/spec/RSAPrivateCrtKeySpec.java
17805 java/security/spec/RSAPrivateKeySpec.java
17806 java/security/spec/RSAPublicKeySpec.java
17807 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17808 java/sql/BatchUpdateException.java java/sql/Blob.java
17809 java/sql/CallableStatement.java java/sql/Clob.java
17810 java/sql/Connection.java java/sql/DataTruncation.java
17811 java/sql/DatabaseMetaData.java java/sql/Date.java
17812 java/sql/Driver.java java/sql/DriverManager.java
17813 java/sql/DriverPropertyInfo.java
17814 java/sql/PreparedStatement.java java/sql/Ref.java
17815 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17816 java/sql/SQLData.java java/sql/SQLException.java
17817 java/sql/SQLInput.java java/sql/SQLOutput.java
17818 java/sql/SQLWarning.java java/sql/Statement.java
17819 java/sql/Struct.java java/sql/Time.java
17820 java/sql/Timestamp.java java/sql/Types.java
17821 java/text/Annotation.java
17822 java/text/AttributedCharacterIterator.java
17823 java/text/AttributedString.java
17824 java/text/AttributedStringIterator.java
17825 java/text/BreakIterator.java java/text/CharacterIterator.java
17826 java/text/ChoiceFormat.java java/text/Collator.java
17827 java/text/DateFormat.java java/text/DateFormatSymbols.java
17828 java/text/DecimalFormat.java
17829 java/text/DecimalFormatSymbols.java
17830 java/text/FieldPosition.java java/text/Format.java
17831 java/text/MessageFormat.java java/text/NumberFormat.java
17832 java/text/ParseException.java java/text/ParsePosition.java
17833 java/text/SimpleDateFormat.java
17834 java/text/StringCharacterIterator.java
17835 java/util/AbstractCollection.java java/util/AbstractList.java
17836 java/util/AbstractMap.java
17837 java/util/AbstractSequentialList.java
17838 java/util/AbstractSet.java java/util/ArrayList.java
17839 java/util/Arrays.java java/util/BasicMapEntry.java
17840 java/util/BitSet.java java/util/Calendar.java
17841 java/util/Collection.java java/util/Collections.java
17842 java/util/Comparator.java
17843 java/util/ConcurrentModificationException.java
17844 java/util/Date.java java/util/Dictionary.java
17845 java/util/EmptyStackException.java java/util/Enumeration.java
17846 java/util/EventListener.java java/util/EventObject.java
17847 java/util/GregorianCalendar.java java/util/HashMap.java
17848 java/util/HashSet.java java/util/Hashtable.java
17849 java/util/IdentityHashMap.java java/util/Iterator.java
17850 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17851 java/util/LinkedList.java java/util/List.java
17852 java/util/ListIterator.java java/util/ListResourceBundle.java
17853 java/util/Locale.java java/util/Map.java
17854 java/util/MissingResourceException.java
17855 java/util/NoSuchElementException.java
17856 java/util/Observable.java java/util/Observer.java
17857 java/util/Properties.java java/util/PropertyPermission.java
17858 java/util/PropertyResourceBundle.java java/util/Random.java
17859 java/util/RandomAccess.java java/util/ResourceBundle.java
17860 java/util/Set.java java/util/SimpleTimeZone.java
17861 java/util/SortedMap.java java/util/SortedSet.java
17862 java/util/Stack.java java/util/StringTokenizer.java
17863 java/util/TimeZone.java java/util/Timer.java
17864 java/util/TimerTask.java
17865 java/util/TooManyListenersException.java
17866 java/util/TreeMap.java java/util/TreeSet.java
17867 java/util/Vector.java java/util/WeakHashMap.java
17868 java/util/jar/Attributes.java java/util/jar/JarEntry.java
17869 java/util/jar/JarException.java java/util/jar/JarFile.java
17870 java/util/jar/JarInputStream.java
17871 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17872 java/util/zip/Adler32.java java/util/zip/CRC32.java
17873 java/util/zip/CheckedInputStream.java
17874 java/util/zip/CheckedOutputStream.java
17875 java/util/zip/Checksum.java
17876 java/util/zip/DataFormatException.java
17877 java/util/zip/Deflater.java
17878 java/util/zip/DeflaterOutputStream.java
17879 java/util/zip/GZIPInputStream.java
17880 java/util/zip/GZIPOutputStream.java
17881 java/util/zip/Inflater.java
17882 java/util/zip/InflaterInputStream.java
17883 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17884 java/util/zip/ZipException.java java/util/zip/ZipFile.java
17885 java/util/zip/ZipInputStream.java
17886 java/util/zip/ZipOutputStream.java
17887 javax/naming/BinaryRefAddr.java
17888 javax/naming/InvalidNameException.java javax/naming/Name.java
17889 javax/naming/NamingException.java javax/naming/RefAddr.java
92aaa246
MW
17890 javax/naming/StringRefAddr.java: Add license clarification.
17891
bda14505
TT
178922002-01-22 Tom Tromey <tromey@redhat.com>
17893
17894 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17895 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17896 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17897 version.
17898 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17899 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17900 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17901 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17902 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17903 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17904 * java/awt/peer/FontPeer.java: Replace with Classpath version.
17905 * java/awt/peer/FramePeer.java: Replace with Classpath version.
17906 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17907 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17908 * java/awt/peer/ListPeer.java: Replace with Classpath version.
17909 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17910 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17911 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17912 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17913 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17914 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17915 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17916 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17917 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17918 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17919 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17920 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17921 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17922 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17923 (minimumSize, preferredSize, reshape): Likewise.
17924 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17925 getColorModel): New methods.
17926 * java/awt/PopupMenu.java: Merged with Classpath.
17927 * java/awt/MenuBar.java: Merged with Classpath.
17928 * java/awt/SystemColor.java: Replace with Classpath version.
17929 * java/awt/Panel.java: Merged with Classpath.
17930 * java/awt/PaintContext.java: Updated copyright.
17931 * java/awt/MenuShortcut.java: Merged with Classpath.
17932 * java/awt/MenuContainer.java: Merged with Classpath.
17933 * java/awt/Menu.java: Merged with Classpath.
17934 * java/awt/MediaEntry.java: New file from Classpath.
17935 * java/awt/MediaTracker.java: New file from Classpath.
17936 * java/awt/List.java: Merged with Classpath version.
17937 * java/awt/Insets.java: Merged with Classpath version.
17938 * java/awt/ImageMediaEntry.java: New file from Classpath.
17939 * java/awt/Image.java: Replaced with Classpath version.
17940 * java/awt/FontMetrics.java: Merged with Classpath version.
17941 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17942 constant.
17943 * java/awt/Font.java: Merged with Classpath version.
17944 * java/awt/Dialog.java: Merged with Classpath version.
17945 * java/awt/Color.java: Merged with Classpath version.
17946 * java/awt/Choice.java: Merged with Classpath version.
17947 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17948 * java/awt/Adjustable.java: Replace with Classpath version.
17949 * java/awt/MenuItem.java (paramString): Don't include class name
17950 or brackets. Call superclass paramString.
17951 * java/awt/MenuComponent.java (toString): Call paramString.
17952 (paramString): Compute string; don't call toString.
17953 * java/awt/Label.java (paramString): Don't include class name
17954 or brackets. Call superclass paramString.
17955 * java/awt/Checkbox.java (paramString): Don't include class name
17956 or brackets. Call superclass paramString.
17957 * java/awt/Button.java (paramString): Don't include class name or
17958 brackets. Call superclass paramString.
17959 * java/awt/MenuComponent.java (getTreeLock): Now protected.
17960
464115ce
AS
179612002-01-20 Andreas Schwab <schwab@suse.de>
17962
17963 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17964 function and of parameter recv_func to ssize_t, as specified by
17965 POSIX.
17966
e5550355
PB
179672002-01-19 Per Bothner <per@bothner.com>
17968
17969 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
17970 uncompressed_size in readiness for next entry.
17971
80d1ee91
TT
179722002-01-18 Tom Tromey <tromey@redhat.com>
17973
17974 * java/net/natPlainSocketImpl.cc: Include
17975 IllegalArgumentException.h.
17976 (_Jv_recv): New template function.
17977 (BooleanClass): Removed.
17978 (read): Use _Jv_recv.
17979 (setOption): Use Boolean::class$. Throw exception if object is
17980 not Boolean or Integer.
17981
c56664e0
TT
179822002-01-17 Tom Tromey <tromey@redhat.com>
17983
10185e38
TT
17984 * java/awt/MenuComponent.java: Merged with Classpath.
17985 * java/awt/MenuItem.java: Merged with Classpath.
17986 * java/awt/Button.java: Merged with Classpath.
17987
16348d58
TT
17988 * java/awt/ActiveEvent.java: Updated copyright.
17989
c56664e0
TT
17990 * java/awt/AWTError.java: Replaced with Classpath version.
17991 * java/awt/AWTException.java: Replaced with Classpath version.
17992 * java/awt/IllegalComponentStateException.java: Replaced with
17993 Classpath version.
17994
54c5eaff
TT
179952002-01-16 Tom Tromey <tromey@redhat.com>
17996
4cd53341
TT
17997 * java/awt/Canvas.java (serialVersionUID): New constant.
17998 Updated copyright. Added javadoc from Classpath.
17999 * java/awt/ItemSelectable.java: Replaced with Classpath version.
18000
d8d27d73
TT
18001 * java/awt/CheckboxGroup.java: Merged with Classpath.
18002 * java/awt/Checkbox.java: Merged with Classpath.
18003
a82484a6
TT
18004 * java/awt/Dimension.java: Updated copyright. Added javadoc from
18005 Classpath.
18006 * java/awt/Point.java: Updated copyright.
18007
a53c400d
TT
18008 * java/awt/Point.java (toString): Use getClass().getName().
18009 Added javadoc.
18010
510e2832
TT
18011 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
18012 commented code.
18013 (hash): Correctly compute initial value for `h'.
18014
54c5eaff
TT
18015 * java/awt/Label.java: Merged with Classpath.
18016
3bd483f2
TT
180172002-01-15 Tom Tromey <tromey@redhat.com>
18018
7adf7680
TT
18019 * java/awt/AWTPermission.java: Updated copyright.
18020
0e1c7a5f
TT
18021 * java/awt/LayoutManager2.java: Merged with Classpath.
18022 * java/awt/LayoutManager.java: Merged with Classpath.
18023 * java/awt/GridLayout.java: Updated copyright and javadoc.
18024 (getSize): Use `parent.ncomponents'. Handle insets.
18025 (layoutContainer): Use `parent.ncomponents'. Handle case where
18026 there are fewer children than columns. Correctly compute size of
18027 each cell in the grid. Handle case where there isn't enough
18028 space.
18029 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
18030 all users.
18031 (gotoComponent): Use parent.ncomponents. Ensure child exists
18032 before calling setVisible() on it. Last item is `num - 1', not
18033 `num'.
18034 (layoutContainer): Hoist invariants out of loop.
18035
3bd483f2
TT
18036 Start of AWT merge with Classpath:
18037 * Makefile.in: Rebuilt.
18038 * Makefile.am (awt_java_source_files): Reference files in
18039 gnu/java/awt, not gnu/gcj/awt.
18040 * java/awt/image/BufferedImage.java: Updated copyright.
18041 * java/awt/image/ComponentColorModel.java: Updated copyright.
18042 * java/awt/image/ComponentSampleModel.java: Updated copyright.
18043 * java/awt/image/DataBuffer.java: Updated copyright.
18044 * java/awt/image/DataBufferByte.java: Updated copyright.
18045 * java/awt/image/DataBufferInt.java: Updated copyright.
18046 * java/awt/image/DataBufferUShort.java: Updated copyright.
18047 * java/awt/image/IndexColorModel.java: Updated copyright.
18048 * java/awt/image/PackedColorModel.java: Updated copyright.
18049 * java/awt/image/Raster.java: Updated copyright.
18050 * java/awt/image/RasterOp.java: Updated copyright.
18051 * java/awt/image/SampleModel.java: Updated copyright.
18052 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
18053 * java/awt/image/WritableRaster.java: Updated copyright.
18054 * java/awt/color/ColorSpace.java: Updated copyright.
18055 * java/awt/color/ICC_ColorSpace.java: Updated copyright
18056 * java/awt/color/ICC_Profile.java: Updated copyright.
18057 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
18058 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
18059 * java/awt/event/HierarchyEvent.java: Updated copyright.
18060 * java/awt/event/HierarchyListener.java: Updated copyright.
18061 * java/awt/geom/AffineTransform.java: Updated copyright.
18062 * java/awt/geom/Dimension2D.java: Updated copyright.
18063 * java/awt/geom/Ellipse2D.java: Updated copyright.
18064 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
18065 * java/awt/geom/Line2D.java: Updated copyright.
18066 * java/awt/geom/NoninvertibleTransformException.java: Updated
18067 copyright.
18068 * java/awt/geom/PathIterator.java: Updated copyright.
18069 * java/awt/geom/Point2D.java: Updated copyright.
18070 * java/awt/geom/Rectangle2D.java: Updated copyright.
18071 * java/awt/geom/RectangularShape.java: Updated copyright.
18072 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
18073 * java/awt/Toolkit.java: Updated import for file moves.
18074 * java/awt/Rectangle.java: Updated copyright; added javadoc from
18075 Classpath.
18076 (hashCode): New method from Classpath.
18077 * java/awt/Graphics2D.java: Updated copyright.
18078 * java/awt/Transparency.java: Updated copyright.
18079 * java/awt/Paint.java: Updated copyright.
18080 * java/awt/Graphics.java: New version from Classpath.
18081 * java/awt/EventDispatchThread.java: Updated copyright.
18082 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
18083 children.
18084 (gotoComponent): Wrap around on next/previous.
18085 * gnu/gcj/awt/BitMaskExtent.java: Removed.
18086 * gnu/gcj/awt/Buffers.java: Removed.
18087 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
18088 * gnu/gcj/awt/GLightweightPeer.java: Removed.
18089 * gnu/java/awt/BitMaskExtent.java: Added.
18090 * gnu/java/awt/Buffers.java: Added.
18091 * gnu/java/awt/ComponentDataBlitOp.java: Added.
18092 * gnu/java/awt/GLightweightPeer.java: Added.
18093 * java/awt/geom/Line2D.java (clone): Ignore
18094 CloneNotSupportedException.
18095 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
18096 * java/awt/Frame.java: Merged with Classpath.
18097 * java/awt/RenderingHints.java: Copyright update.
18098 * java/awt/Paint.java: Copyright update.
18099 * java/awt/image/DirectColorModel.java: Merged with Classpath.
18100 * java/awt/image/ColorModel.java: Merged with Classpath.
18101 * java/awt/Window.java (show): New Implementation from Classpath.
18102 (isShowing): Use super.isShowing().
18103 * java/awt/EventQueue.java: Merged with Classpath.
18104 * java/awt/AWTEventMulticaster.java (save): Throw
18105 RuntimeException.
18106 (saveInternal): Likewise.
18107 * java/awt/AWTEvent.java: Now implements Serializable.
18108 * java/awt/Event.java: Copyright update.
18109 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
18110 * java/awt/image/BufferedImage.java: Copyright update.
18111 * java/awt/GraphicsConfiguration.java: Copyright update.
18112 * java/awt/Component.java: (addNotify): Don't call
18113 addNotifyContainerChildren().
18114 (addNotifyContainerChildren): Removed.
18115 (setPeer): New method from Classpath.
18116 (setTreeLock): Likewise.
18117 (setVisible): Rewrote.
18118 (show): Use it.
18119 (hide): Likewise.
18120 (validate): Set `valid'.
18121 (checkImage(Image,ImageObserver)): Implementation from Classpath.
18122 (createImage(ImageProducer)): Likewise.
18123 (prepareImage): Likewise.
18124 * java/awt/Container.java (addImpl): Handle case where constraint
18125 is not a String. Post event via system event queue.
18126 (remove): Post event via system event queue.
18127 (validateTree): Only validate child if it is invalid.
18128 (getAlignmentX): Call super method as default.
18129 (getAlignmentY): Likewise.
18130 (addContainerListener): Now synchronized.
18131 (removeContainerListener): Likewise.
18132 (addNotifyContainerChildren): Now private.
18133 * java/awt/ComponentOrientation.java: Updated copyright. Added
18134 @author.
18135 * java/awt/FlowLayout.java (serialVersionUID): New field.
18136 (setAlignment): Better exception message.
18137 (layoutContainer): Don't compute component's preferred size unless
18138 we're going to use it.
18139 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
18140 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
18141 (firstLine, lastLine, firstItem, lastItem): New fields.
18142 (addLayoutComponent): Handle case where constraints is null.
18143 Also, handle relative locations.
18144 (removeLayoutComponent): Handle relative locations.
18145 (MIN, MAX, PREF): New constants.
18146 (calcCompSize): New method.
18147 (calcSize): New method.
18148 (minimumLayoutSize): Use it.
18149 (preferredLayoutSize): Likewise.
18150 (maximumLayoutSize): Likewise.
18151 (toString): Include more information.
18152 (setBounds): New method.
18153 (layoutContainer): Use libgcj implementation; extended to handle
18154 relative locations.
18155
c342f126
TT
181562002-01-15 Tom Tromey <tromey@redhat.com>
18157
18158 * java/lang/Float.java (equals): Preserve old code.
18159 * java/lang/Double.java (equals): Preserve old code.
18160
181612002-01-15 Eric Blake <ebb9@email.byu.edu>
18162
18163 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
18164 * java/lang/Float.java (equals, compare): Ditto.
18165
1536ef88
MW
181662002-01-13 Mark Wielaard <mark@klomp.org>
18167
18168 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
18169 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
18170 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
18171 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
18172
9566a90c
MW
181732002-01-11 Mark Wielaard <mark@klomp.org>
18174
18175 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
18176 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
18177 InetAddress.
18178 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
18179 * java/net/Socket.java: Merge with Classpath.
18180 * java/net/ServerSocket.java: Likewise.
18181
cec71868
CS
181822002-01-11 Chris Sears <cbsears_sf@yahoo.com>
18183
18184 * interpret.cc (NULLARRAYCHECK): New macro.
18185 (SAVE_PC): Just store `pc'.
18186 (find_exception): Subtract one from `pc' here.
18187 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18188 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18189 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18190 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
18191 don't call SAVE_PC.
18192 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
18193 call SAVE_PC.
18194
999825b0
TT
181952002-01-11 Tom Tromey <tromey@redhat.com>
18196
18197 * java/lang/natSystem.cc (init_properties): Only look for default
18198 locale if LC_MESSAGES is defined.
18199 * aclocal.m4, configure, include/config.h.in: Rebuilt.
18200 * configure.in: Call AM_LC_MESSAGES.
18201 * acinclude.m4 (AM_LC_MESSAGES): New macro.
18202
ac2ee9b7
TT
182032002-01-10 Tom Tromey <tromey@redhat.com>
18204
18205 For PR libgcj/5303:
18206 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
18207 --version. Recognize GNU-style long options. Print GNU-style
18208 error messages.
18209 (usage): Print GNU-style help. Exit with status 0.
18210 (error): New method.
18211 (run): Print error message if no class names found.
18212 (main): Don't print usage on error.
18213
54a8a50f
TT
182142002-01-09 Tom Tromey <tromey@redhat.com>
18215
346a81f0
TT
18216 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
18217 property.
18218 (help, version): Use println(), not println("").
18219
54a8a50f
TT
18220 For PR libgcj/5303:
18221 * gnu/gcj/convert/Convert.java (error): Program is called
18222 `jv-convert'. Print GNU-style message. Exit with status 1, not
18223 -1.
18224 (main): Handle --help and --version.
18225 (help): New method.
18226 (version): Likewise.
18227
1e7fcb11
TT
182282002-01-08 Tom Tromey <tromey@redhat.com>
18229
35484f77
TT
18230 * Makefile.in: Rebuilt.
18231 * Makefile.am (ordinary_java_source_files): Added new files.
18232 * gnu/java/locale/LocaleInformation.java: Extend
18233 LocaleInformation_en.
18234 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
18235 and time/date formats.
18236 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
18237 generated.
18238 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
18239 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
18240 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
18241 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
18242 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18243 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18244 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18245 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18246 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18247 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18248 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18249 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18250 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18251 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18252 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18253 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18254 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18255 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18256 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18257 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18258 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18259 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18260 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18261 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18262 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18263 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18264 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18265 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18266 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18267 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18268 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18269 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18270 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18271 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18272 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18273 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18274 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18275 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18276 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18277 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18278 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18279 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18280 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18281 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18282 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18283 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18284 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18285 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18286 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18287 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18288 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18289 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18290 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18291 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18292 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18293 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18294 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18295 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18296 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18297 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18298 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18299 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18300 * gnu/java/locale/LocaleInformation_es_US.java: New file.
18301 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18302 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18303 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18304 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18305 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18306 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18307 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18308 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18309 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18310 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18311 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18312 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18313 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18314 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18315 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18316 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18317 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18318 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18319 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18320 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18321 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18322 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18323 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18324 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18325 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18326 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18327 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18328 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18329 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18330 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18331 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18332 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18333 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18334 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18335 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18336 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18337 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18338 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18339 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18340 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18341 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18342 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18343 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18344 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18345 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18346 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18347 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18348 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18349 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18350 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18351 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18352 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18353 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18354 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18355 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18356 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18357 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18358 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18359 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18360 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18361 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18362 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18363 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18364 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18365 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18366 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18367 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18368
d9df09cc
TT
18369 For PR libgcj/5031:
18370 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18371 choose default locale.
18372
1e7fcb11
TT
18373 * Makefile.in: Rebuilt.
18374 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18375
54d9d34a 183762002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
2b521fa7
NF
18377
18378 * java/net/natPlainSocketImpl.cc: Added timeout handling for
18379 sockets.
18380 (close): New function closes the socket.
18381 (write): New functions for output to socket.
18382 (read): New functions for reading from socket.
18383 * java/net/PlainSocketImpl.java: Glue for new timeout
18384 implementation.
18385 (write): Call the native impl.
18386 (read): Likewise.
18387 (getInputStream): Get a stream to read from the socket.
18388 (getOutputStream): Get a stream to write to the socket.
18389
bd917d3a
TT
183902002-01-08 Tom Tromey <tromey@redhat.com>
18391
18392 * resolve.cc (_Jv_PrepareClass): Enable verifier.
18393
66839ef6
AT
183942002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
18395
18396 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18397 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18398
00cc944d
CS
183992002-01-08 Chris Sears <cbsears_sf@yahoo.com>
18400
18401 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18402 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18403 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18404 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18405 insn_bastore, insn_castore, insn_sastore]: Use it.
18406 (continue1) [insn_arraylength]: Check for null array.
18407
ebecd56d
AT
184082002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18409
18410 * configure, include/config.h.in: Rebuilt.
18411 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18412 * configure.in: Call AC_STRUCT_TIMEZONE.
18413
c6c3221d
AT
184142002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18415
18416 * configure.host: Disable the interpreter for Darwin.
18417
81550d0e
TT
184182002-01-04 Tom Tromey <tromey@redhat.com>
18419
18420 * java/lang/Thread.java (stop): No longer synchronized.
18421 (start): Likewise.
18422
95574a4c
TT
184232002-01-02 Tom Tromey <tromey@redhat.com>
18424
18425 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18426 patch.
18427
0beb74f2
AP
184282002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
18429
18430 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18431 PPC Darwin, not for all of Darwin.
This page took 2.876155 seconds and 5 git commands to generate.