1 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
3 * java/text/DecimalFormat.java
4 (scanFormat) corrected so that '%' may appear in a pattern.
6 2003-10-29 Mark Wielaard <mark@klomp.org>
8 From Guilhem Lavaux <guilhem.lavaux@free.fr>
9 * java/text/DateFormat.java (Field): New public static inner class.
10 * java/text/Format.java (Field): Likewise.
11 (formatToCharacterIterator): New method.
12 * java/text/FormatCharacterIterator.java: New file.
14 2003-10-29 Mark Wielaard <mark@klomp.org>
16 From Guilhem Lavaux <guilhem.lavaux@free.fr>
17 * java/util/Currency.java: New file.
19 2003-10-29 Michael Koch <konqueror@gmx.de>
21 * Makefile.am (ordinary_java_source_files): Added
22 java/text/FormatCharacterIterator.java and java/util/Currency.java.
23 * Makefile.in: Regenerated.
25 2003-10-29 Dalibor Topic <robilad@kaffe.org>
27 * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
30 2003-10-29 Julian Dolby <dolby@us.ibm.com>
32 * javax/naming/spi/NamingManager.java (getContinuationContext): Call
33 getObjectInstance() with Object, Name, Context and environment
34 Hashtable from exception. Call fillInStackTrace() on exception when
36 * javax/naming/InitialContext.java (lookup(Name)): When a
37 CannotProceedException is thrown use the ContinuationContext.
38 (lookup(String)): Likewise.
39 (close): Clear myProps and defaultInitCtx.
41 2003-10-29 Michael Koch <konqueror@gmx.de>
43 * java/net/InetAddress.java
44 (equals): Remove redundant obj == null check.
45 * java/net/SocketPermission.java
49 (getURLStreamHandler): Likewise.
51 2003-10-29 Michael Koch <konqueror@gmx.de>
53 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
54 (setOption): Directly return if no error occured.
55 * gnu/java/net/natPlainSocketImplPosix.cc
56 (setOption): Likewise.
58 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
60 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
61 vtable slot for final methods. Add FIXME comment.
63 2003-10-28 David S. Miller <davem@redhat.com>
65 * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
67 2003-10-26 Mark Wielaard <mark@klomp.org>
69 Reported by Helmer Kraemer <hkraemer@freenet.de>
70 * java/util/jar/JarInputStream.java (readManifest): Don't call
73 * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
74 (finish): Use inbufWrite().
75 (write(int)): Likewise.
76 (write(byte[],int,int)): Likewise.
78 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
80 * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
81 Don't check for AccessibleObject. Update javadocs.
83 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
85 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
87 * java/lang/reflect/Constructor.java (toString): Avoid extra
88 whitespace on constructor with no modifiers.
89 * java/lang/reflect/natConstructor.java (newInstance): Look up
90 caller and perform accessibility check only if constructor is
91 non-public and accessible flag is not set.
93 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
95 * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
96 _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
97 use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
98 is_virtual_call argument.
99 * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
101 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
103 * java/lang/reflect/natMethod.cc (invoke): Don't use
104 _Jv_LookupDeclaredMethod.
105 (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
106 look up method in target object's vtable.
108 2003-10-25 Graydon Hoare <graydon@redhat.com>
110 * gnu/java/awt/ClasspathToolkit.java: New abstract class.
111 * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
112 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
113 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
114 New concrete implementation of ClasspathFontPeer, with native part.
115 * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
116 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
117 New class, with native part.
118 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
119 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
120 implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
122 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
124 * java/lang/reflect/Method.java (toString): Avoid extra whitespace
125 on method with no modifiers.
127 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
130 * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
131 accessibility check only if target is non-public and accessible flag
133 * java/lang/reflect/natField.cc (getAddr): Likewise.
135 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
137 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
139 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
141 * java/awt/Window.java (Window(Window,GraphicsConfiguration),
142 show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
143 (dispose): Post WINDOW_CLOSED event.
144 (addWindowFocusListener, addWindowStateListener): Assign result
145 of multicaster add back to window listener.
146 (removeWindowFocusListener, removeWindowStateListener): Assign
147 result of multicaster remove back to window listener.
148 (dispatchEventImpl): Add null checks for focus and state
150 (processWindowEvent): Handle case where windowListener is null
151 but state or focus listeners exist.
152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
153 glue for postWindowEvent.
154 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
155 (window_delete_cb, window_destroy_cb, window_show_cb,
156 window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
157 window_get_new_state): New functions.
158 * jni/gtk-peer/gtkpeer.h: Define window event and frame state
159 macros. Declare postWindowEventID.
161 2003-10-24 Anthony Green <green@redhat.com>
163 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
164 we have no interpreter.
166 2003-10-22 Andrew Haley <aph@redhat.com>
168 * java/lang/natClass.cc (initializeClass): Call
169 _Jv_linkExceptionClassTable.
170 (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
171 _Jv_Defer_Resolution on a method whose ncode is NULL.
172 (_Jv_linkExceptionClassTable): New function.
173 (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
175 * java/lang/Class.h (struct _Jv_CatchClass): New.
176 (_Jv_linkExceptionClassTable): New friend.
177 (_Jv_Defer_Resolution): New friend.
178 (class Class.catch_classes): New field.
179 * include/java-interp.h (Jv_Defer_Resolution): New method.
180 (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
181 (_Jv_MethodBase.deferred): New field.
182 (_Jv_Defer_Resolution): New function.
183 * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
184 * exception.cc (get_ttype_entry): Change return type to void**.
185 (PERSONALITY_FUNCTION): Remove all code related to using a
186 Utf8Const* for a match type. Change match type to be a pointer to
187 a pointer, rather than a pointer to a Class.
188 * defineclass.cc (handleCodeAttribute): Initialize
190 (handleMethodsEnd): Likewise.
192 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
194 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
195 _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
197 2003-10-22 Tom Tromey <tromey@redhat.com>
200 * java/lang/Class.h: Updated.
201 * java/lang/natClass.cc (_getFields): Removed.
202 (getFields): Likewise.
203 (getDeclaredFields): Added `public_only' parameter.
204 * java/lang/Class.java (getFields): Now implemented in java; from
206 (getDeclaredFields): Likewise.
207 (getDeclaredFields(boolean)): Declare.
208 (_getFields): Removed.
209 (internalGetFields): New method, from Classpath.
212 * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
213 _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
215 2003-10-22 David Daney <ddaney@avtrex.com)
217 * include/mips-signal.h: New file.
218 * sysdep/dwarf2-backtrace.cc: New file.
219 * sysdep/mips: New directory.
220 * sysdep/mips/locks.h: New file.
221 * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
223 (extra_cc_source_files): Ditto.
224 * configure.host(disable_dladdr): New shell variable passed to
226 (mips*-*-linux*): sysdeps_dir=mips,
227 can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
228 (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
229 * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
230 generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
231 (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
232 (EXTRA_CC_FILES): New, to support conditional addition of
233 sysdep/dwarf2-backtrace.cc.
234 * configure: Regenerated.
235 * Makefile.in: Regenerated.
236 * gcj/Makefile.in: Regenerated.
237 * include/config.h.in: Regenerated.
238 * include/Makefile.in: Regenerated.
239 * testsuite/Makefile.in: Regenerated.
241 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
243 * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
244 java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
246 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
248 * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
249 * java/awt/geom/doc-files: New directory.
250 * java/awt/geom/doc-files/QuadCurve2D-1.png,
251 java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
253 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
255 * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
257 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
259 * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
261 2003-10-22 Michael Koch <konqueror@gmx.de>
264 (equals): Removed redundant obj == null check.
265 (createTempFile): Merged comments from classpath.
267 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
269 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
270 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
271 (error): Synchronize on instance, not class.
273 2003-10-21 Mark Wielaard <mark@klomp.org>
275 Reported by M.Negovanovic
276 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
278 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
280 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
282 Fix for Classpath bug #6076.
283 * java/awt/geom/GeneralPath.java (append): Re-written.
285 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
287 Fix for Classpath bug #6089.
288 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
289 (getPathIterator, GeneralPathIterator): Re-written from scratch.
291 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
293 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
294 point, not start of subpath. Fixes Classpath bug #6075.
296 2003-10-21 Michael Koch <konqueror@gmx.de>
298 * java/nio/ByteOrder.java,
299 java/nio/DirectByteBufferImpl.java,
300 java/nio/channels/FileChannelImpl.java:
301 Add code to load library with code for native methods if needed.
303 2003-10-21 Michael Koch <konqueror@gmx.de>
305 * gnu/java/net/PlainDatagramSocketImpl.java,
306 gnu/java/net/PlainSocketImpl.java,
307 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
308 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
309 gnu/java/net/natPlainSocketImplPosix.cc,
310 gnu/java/net/natPlainSocketImplWin32.cc:
311 Renamed fnum to native_fd to match classpath more.
313 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
315 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
316 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
317 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
318 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
319 _Jv_PthreadCheckMonitor. Simplify code.
320 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
321 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
322 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
323 * java/lang/Thread.java (holdsLock): New.
324 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
325 without JV_HASH_SYNCHRONIZATION.
326 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
328 2003-10-20 Michael Koch <konqueror@gmx.de>
330 * java/text/RuleBasedCollator.java
331 (RuleBasedCollator): Check rules not empty, fixed search in already
332 existing collation elements.
333 (is_special): Removed common whitespace characters.
334 (text_argument): Dont return on whitespaces, add characters between
335 two ' to string buffer.
337 2003-10-18 Michael Koch <konqueror@gmx.de>
339 * gnu/java/net/protocol/file/Connection.java,
340 gnu/java/net/protocol/file/Handler.java,
341 gnu/java/net/protocol/http/Connection.java,
342 gnu/java/net/protocol/http/Handler.java,
343 gnu/java/net/protocol/jar/Connection.java,
344 gnu/java/net/protocol/jar/Handler.java:
345 Merged copyright text from classpath to make
346 it possible to merge the classes.
348 2003-10-18 Mark Wielaard <mark@klomp.org>
350 Reported by M.Negovanovic
351 * java/beans/IndexedPropertyDescriptor.java
352 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
354 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
356 * win32.cc (_Jv_pipe): Implemented.
357 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
358 _Jv_pipe instead of ::pipe.
359 * include/posix.h (_Jv_pipe): New inline.
360 * include/win32.h (_Jv_pipe): New declaration.
362 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
364 * java/lang/StringBuffer.java (getChars): Fix array index checks.
365 (append, substring, insert): Likewise.
366 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
367 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
369 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
371 * java/lang/natString.cc (getChars):
372 Fix validation of array indexes.
373 (getBytes, regionMatches, startsWith, valueOf): Likewise.
374 * testsuite/libjava.lang/String_overflow.java: New file.
375 * testsuite/libjava.lang/String_overflow.out: New file.
377 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
379 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
381 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
382 check for overflowing size_t, since the lower level functions
384 * testsuite/libjava.lang/newarray_overflow.java: New file.
385 * testsuite/libjava.lang/newarray_overflow.out: New file.
387 2003-10-15 Michael Koch <konqueror@gmx.de>
389 * java/text/RuleBasedCollator.java
390 (RuleBasedCollator): Moved around, documentation added.
391 (compare): Documentation added.
393 (getCollationElementIterator): Likewise.
394 (getCollationKey): Likewise.
395 (getRules): Likewise.
396 (hashCode): Likewise.
398 2003-10-15 Michael Koch <konqueror@gmx.de>
400 * java/text/RuleBasedCollator.java
401 (CollationElement): Renamed from RBCElement and moved into
402 RuledBasedCollator as inner class.
404 2003-10-15 Michael Koch <konqueror@gmx.de>
406 * java/text/CollationElementIterator.java
407 (CollationElementIterator): Moved, documenatation added, call setText.
410 (setText): New method.
411 (getOffset): New method.
412 * java/text/CollationKey.java
413 (getSourceString): Reformated.
414 (hashCode): Reformated.
415 (toByteArray): Reformated.
417 2003-10-15 Michael Koch <konqueror@gmx.de>
419 * java/util/zip/InflaterInputStream.java
420 (InflaterInputStream): Renamed infl to inf and bufsize to size,
421 added description to exception, check for inf == null and size < 0.
423 2003-10-15 Michael Koch <konqueror@gmx.de>
425 * java/text/AttributedCharacterIterator.java,
426 java/text/CharacterIterator.java: Reformated.
428 2003-10-15 Michael Koch <konqueror@gmx.de>
430 * javax/swing/UIDefaults.java (putDefaults):
431 Readded accidently removed "public" modifier.
433 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
435 * interpret.cc (_Jv_InterpMethod::run): Don't
436 use libffi types, they were meant to be internal.
437 * gcj/javaprims.h (_Jv_ulong): New typedef.
439 2003-10-13 Tom Tromey <tromey@redhat.com>
441 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
442 (defineClass): Updated.
443 (_Jv_NewClass): Likewise.
444 * prims.cc (_Jv_InitPrimClass): Don't call
445 _Jv_InitNewClassFields.
447 2003-10-13 Taras Glek <taras.judge@shaw.ca>
450 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
453 2003-10-13 Michael Koch <konqueror@gmx.de>
455 * java/io/File.java: Reformated.
456 (equals): Check for obj == null.
458 2003-10-13 Michael Koch <konqueror@gmx.de>
460 * java/net/JarURLConnection.java
461 (jarFileURL): Added dcoumentation.
462 (jarFileURLConnection): Reformated documentation.
463 (entryName): Renamed from "element", documentation rewritten.
464 (connectionCache): Renamed from "conn_cache", documentation
466 (JarURLConnection): Check URL protocol.
467 (getEntryName): Use entryName.
468 (connect): Use connectionCache.
469 (getInputStream): Use entryName, fixed comment.
470 (getJarEntry): Use entryName.
471 (getHeaders): Use entryName.
472 * java/net/URLConnection.java
473 (addRequestProperty): Fixed documentation.
474 (setDefaultRequestProptery): Added comment that it does nothing since
476 (getDefaultRequestProperty): Likewise.
478 2003-10-13 Michael Koch <konqueror@gmx.de>
480 * java/net/java/net/URLStreamHandlerFactory.java
481 (createURLStreamHandler): Removed redundant "public" modifier.
482 * java/sql/DatabaseMetaData.java:
483 (DatabaseMetaData): Readded accidently removed "public" modifier.
484 * java/sql/ParameterMetaData.java:
485 (ParameterMetaData): Readded accidently removed "public" modifier.
486 * java/sql/PreparedStatement.java:
487 (PreparedStatement): Readded accidently removed "public" modifier.
489 (Ref): Readded accidently removed "public" modifier.
491 2003-10-13 Michael Koch <konqueror@gmx.de>
493 * java/nio/Buffer.java
494 (hasRemaining): Made implementation more clear.
495 * java/nio/MappedByteBuffer.java
496 (loaded): New member variable.
497 (force): Added comment.
498 (isLoaded): Return value of loaded.
499 (load): Set loaded to true, added comment.
501 2003-10-12 Michael Koch <konqueror@gmx.de>
503 * gnu/java/nio/PipeImpl.java
504 (SourceChannelImpl): New inner class.
505 (SinkChannelImpl): New inner class.
506 (sink): New member variable.
507 (source): New member variable.
508 (PipeImpl): Add SelectorProvider argument, implemented.
509 (nativeInit): New method.
510 (sink): Return sink channel.
511 (source): Return source channel.
512 * gnu/java/nio/SelectorProviderImpl.java
513 (openPipe): Give provider as argument to PipeImpl constructor.
514 * java/nio/channels/spi/SelectorProvider.java
516 (systemDefaultProvider): New member variable.
517 (provider): Made it synchronized, use property
518 java.nio.channels.spi.SelectorProvider.
519 * gnu/java/nio/natPipeImpl.cc: New file.
520 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
521 * Makefile.in: Regenerated.
523 2003-10-12 Michael Koch <konqueror@gmx.de>
525 * javax/swing/table/DefaultTableModel.java,
526 javax/swing/table/TableCellEditor.java,
527 javax/swing/table/TableCellRenderer.java,
528 javax/swing/table/TableColumnModel.java,
529 javax/swing/table/TableModel.java,
530 javax/swing/text/AbstractDocument.java,
531 javax/swing/text/Document.java,
532 javax/swing/text/MutableAttributeSet.java,
533 javax/swing/text/StyledDocument.java,
534 javax/swing/text/ViewFactory.java,
535 javax/swing/tree/DefaultMutableTreeNode.java,
536 javax/swing/tree/MutableTreeNode.java,
537 javax/swing/tree/RowMapper.java,
538 javax/swing/tree/TreeCellEditor.java,
539 javax/swing/tree/TreeCellRenderer.java,
540 javax/swing/tree/TreeModel.java,
541 javax/swing/tree/TreeNode.java,
542 javax/swing/tree/TreeSelectionModel.java,
543 javax/swing/undo/StateEditable.java,
544 javax/swing/undo/UndoableEdit.java:
545 Removed redundant modifiers.
547 2003-10-12 Michael Koch <konqueror@gmx.de>
549 * javax/swing/event/AncestorListener.java,
550 javax/swing/event/CaretListener.java,
551 javax/swing/event/CellEditorListener.java,
552 javax/swing/event/ChangeListener.java,
553 javax/swing/event/DocumentEvent.java,
554 javax/swing/event/DocumentListener.java,
555 javax/swing/event/HyperlinkListener.java,
556 javax/swing/event/InternalFrameListener.java,
557 javax/swing/event/ListDataListener.java,
558 javax/swing/event/ListSelectionListener.java,
559 javax/swing/event/MenuDragMouseListener.java,
560 javax/swing/event/MenuKeyListener.java,
561 javax/swing/event/MenuListener.java,
562 javax/swing/event/MouseInputListener.java,
563 javax/swing/event/PopupMenuListener.java,
564 javax/swing/event/TableColumnModelListener.java,
565 javax/swing/event/TableModelListener.java,
566 javax/swing/event/TreeExpansionListener.java,
567 javax/swing/event/TreeModelListener.java,
568 javax/swing/event/TreeSelectionListener.java,
569 javax/swing/event/TreeWillExpandListener.java,
570 javax/swing/event/UndoableEditListener.java,
571 javax/swing/plaf/UIResource.java,
572 javax/swing/plaf/metal/MetalLookAndFeel.java:
573 Removed redundant modifiers.
575 2003-10-12 Michael Koch <konqueror@gmx.de>
577 * javax/swing/Action.java,
578 javax/swing/BoundedRangeModel.java,
579 javax/swing/CellEditor.java,
580 javax/swing/ComboBoxEditor.java,
581 javax/swing/ComboBoxModel.java,
582 javax/swing/DesktopManager.java,
583 javax/swing/JComboBox.java,
584 javax/swing/ListCellRenderer.java,
585 javax/swing/ListSelectionModel.java,
586 javax/swing/MenuElement.java,
587 javax/swing/MutableComboBoxModel.java,
588 javax/swing/Renderer.java,
589 javax/swing/RootPaneContainer.java,
590 javax/swing/ScrollPaneConstants.java,
591 javax/swing/SingleSelectionModel.java,
592 javax/swing/SpinnerModel.java,
593 javax/swing/SwingConstants.java,
594 javax/swing/UIDefaults.java,
595 javax/swing/WindowConstants.java,
596 javax/swing/border/Border.java,
597 javax/swing/colorchooser/ColorSelectionModel.java:
598 Removed redundant modifiers.
600 2003-10-11 Michael Koch <konqueror@gmx.de>
602 * javax/transaction/Status.java,
603 javax/transaction/Synchronization.java,
604 javax/transaction/Transaction.java,
605 javax/transaction/TransactionManager.java,
606 javax/transaction/UserTransaction.java,
607 javax/transaction/xa/XAResource.java,
608 javax/transaction/xa/Xid.java:
609 Removing redundant modifiers.
611 2003-10-11 Michael Koch <konqueror@gmx.de>
613 * javax/print/attribute/Attribute.java,
614 javax/print/attribute/AttributeSet.java,
615 javax/print/attribute/PrintRequestAttributeSet.java:
616 Removing redundant modifiers.
618 2003-10-11 Michael Koch <konqueror@gmx.de>
620 * javax/sql/ConnectionEventListener.java,
621 javax/sql/ConnectionPoolDataSource.java,
622 javax/sql/DataSource.java,
623 javax/sql/PooledConnection.java,
624 javax/sql/RowSet.java,
625 javax/sql/RowSetInternal.java,
626 javax/sql/RowSetListener.java,
627 javax/sql/RowSetMetaData.java,
628 javax/sql/RowSetReader.java,
629 javax/sql/RowSetWriter.java,
630 javax/sql/XAConnection.java,
631 javax/sql/XADataSource.java:
632 Removing redundant modifiers.
634 2003-10-11 Michael Koch <konqueror@gmx.de>
636 * javax/naming/Context.java,
637 javax/naming/Name.java,
638 javax/naming/NameParser.java,
639 javax/naming/NamingEnumeration.java,
640 javax/naming/Referenceable.java,
641 javax/naming/directory/Attribute.java,
642 javax/naming/directory/Attributes.java,
643 javax/naming/directory/DirContext.java,
644 javax/naming/event/EventContext.java,
645 javax/naming/event/EventDirContext.java,
646 javax/naming/event/NamespaceChangeListener.java,
647 javax/naming/event/NamingListener.java,
648 javax/naming/event/ObjectChangeListener.java,
649 javax/naming/ldap/Control.java,
650 javax/naming/ldap/ExtendedRequest.java,
651 javax/naming/ldap/ExtendedResponse.java,
652 javax/naming/ldap/HasControls.java,
653 javax/naming/ldap/LdapContext.java,
654 javax/naming/ldap/UnsolicitedNotification.java,
655 javax/naming/ldap/UnsolicitedNotificationListener.java,
656 javax/naming/spi/DirObjectFactory.java,
657 javax/naming/spi/DirStateFactory.java,
658 javax/naming/spi/InitialContextFactory.java,
659 javax/naming/spi/InitialContextFactoryBuilder.java,
660 javax/naming/spi/ObjectFactory.java,
661 javax/naming/spi/ObjectFactoryBuilder.java,
662 javax/naming/spi/Resolver.java,
663 javax/naming/spi/StateFactory.java:
664 Removing redundant modifiers.
666 2003-10-11 Michael Koch <konqueror@gmx.de>
668 * java/security/Key.java,
669 * java/security/PrivateKey.java,
670 * java/security/PublicKey.java,
671 * java/security/acl/Acl.java,
672 * java/security/acl/AclEntry.java,
673 * java/security/acl/Group.java,
674 * java/security/acl/Owner.java,
675 * java/security/acl/Permission.java,
676 * java/security/cert/X509Extension.java,
677 * java/security/interfaces/DSAKey.java,
678 * java/security/interfaces/DSAKeyPairGenerator.java,
679 * java/security/interfaces/DSAParams.java,
680 * java/security/interfaces/DSAPrivateKey.java,
681 * java/security/interfaces/DSAPublicKey.java,
682 * java/security/interfaces/RSAKey.java,
683 * java/security/interfaces/RSAPrivateCrtKey.java,
684 * java/security/interfaces/RSAPrivateKey.java,
685 * java/security/interfaces/RSAPublicKey.java:
686 Removed redundant modifiers.
688 2003-10-11 Michael Koch <konqueror@gmx.de>
690 * gnu/java/rmi/server/ProtocolConstants.java,
691 gnu/java/security/der/DER.java:
692 Removing redundant modifiers.
694 2003-10-11 Michael Koch <konqueror@gmx.de>
696 * java/util/Map.java,
697 java/util/Observer.java,
698 java/util/zip/Checksum.java,
699 java/util/zip/ZipConstants.java:
700 Removed redundant modifiers.
702 2003-10-11 Michael Koch <konqueror@gmx.de>
704 * java/text/AttributedCharacterIterator.java,
705 java/text/CharacterIterator.java:
706 Removed redundant modifiers.
708 2003-10-11 Michael Koch <konqueror@gmx.de>
710 * java/sql/Array.java,
712 java/sql/CallableStatement.java,
714 java/sql/Connection.java,
715 java/sql/DatabaseMetaData.java,
716 java/sql/Driver.java,
717 java/sql/ParameterMetaData.java,
718 java/sql/PreparedStatement.java,
720 java/sql/ResultSet.java,
721 java/sql/ResultSetMetaData.java,
722 java/sql/SQLData.java,
723 java/sql/SQLInput.java,
724 java/sql/SQLOutput.java,
725 java/sql/Savepoint.java,
726 java/sql/Statement.java,
727 java/sql/Struct.java:
728 Removed redundant modifiers.
730 2003-10-11 Michael Koch <konqueror@gmx.de>
732 * java/nio/channels/Channel.java,
733 java/nio/channels/GatheringByteChannel.java,
734 java/nio/channels/ReadableByteChannel.java,
735 java/nio/channels/ScatteringByteChannel.java,
736 java/nio/channels/WritableByteChannel.java:
737 Removed redundant modifiers.
739 2003-10-11 Michael Koch <konqueror@gmx.de>
741 * java/rmi/activation/ActivationInstantiator.java,
742 java/rmi/activation/ActivationMonitor.java,
743 java/rmi/activation/ActivationSystem.java,
744 java/rmi/activation/Activator.java,
745 java/rmi/dgc/DGC.java,
746 java/rmi/registry/Registry.java,
747 java/rmi/registry/RegistryHandler.java,
748 java/rmi/server/LoaderHandler.java,
749 java/rmi/server/RMIClientSocketFactory.java,
750 java/rmi/server/RMIFailureHandler.java,
751 java/rmi/server/RMIServerSocketFactory.java,
752 java/rmi/server/RemoteCall.java,
753 java/rmi/server/RemoteRef.java,
754 java/rmi/server/ServerRef.java,
755 java/rmi/server/Skeleton.java,
756 java/rmi/server/Unreferenced.java:
757 Removed redundant modifiers.
759 2003-10-11 Michael Koch <konqueror@gmx.de>
761 * java/net/ContentHandlerFactory.java,
762 java/net/DatagramSocketImplFactory.java,
763 java/net/FileNameMap.java,
764 java/net/SocketImplFactory.java,
765 java/net/SocketOptions.java,
766 java/net/URLStreamHandlerFactory.java:
767 Removed redundant modifiers.
769 2003-10-11 Michael Koch <konqueror@gmx.de>
771 * java/io/Externalizable.java,
772 java/io/FileFilter.java,
773 java/io/FilePermission.java,
774 java/io/ObjectInput.java,
775 java/io/ObjectInputValidation.java,
776 java/io/ObjectOutput.java,
777 java/io/ObjectStreamClass.java,
778 java/io/ObjectStreamConstants.java,
779 java/io/Serializable.java:
780 Removed redundant modifiers.
782 2003-10-11 Ingo Proetel <proetel@aicas.com>
784 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
785 codebase and context classloader.
787 2003-10-11 Michael Koch <konqueror@gmx.de>
789 * java/beans/beancontext/BeanContext.java,
790 java/beans/beancontext/BeanContextChild.java,
791 java/beans/beancontext/BeanContextChildComponentProxy.java,
792 java/beans/beancontext/BeanContextChildSupport.java,
793 java/beans/beancontext/BeanContextContainerProxy.java,
794 java/beans/beancontext/BeanContextMembershipListener.java,
795 java/beans/beancontext/BeanContextProxy.java,
796 java/beans/beancontext/BeanContextServiceProvider.java,
797 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
798 java/beans/beancontext/BeanContextServiceRevokedListener.java,
799 java/beans/beancontext/BeanContextServices.java,
800 java/beans/beancontext/BeanContextServicesListener.java:
801 Removed redundant modifiers.
803 2003-10-11 Michael Koch <konqueror@gmx.de>
805 * java/beans/AppletInitializer.java,
806 java/beans/BeanInfo.java,
807 java/beans/Customizer.java,
808 java/beans/DesignMode.java,
809 java/beans/PropertyEditor.java,
810 java/beans/Visibility.java:
811 Removed redundant modifiers.
813 2003-10-11 Michael Koch <konqueror@gmx.de>
815 * java/awt/print/Pageable.java,
816 * java/awt/print/Printable.java,
817 java/awt/print/PrinterGraphics.java:
818 Removed redundant modifiers.
820 2003-10-11 Michael Koch <konqueror@gmx.de>
822 * java/awt/peer/ButtonPeer.java,
823 java/awt/peer/CheckboxMenuItemPeer.java,
824 java/awt/peer/CheckboxPeer.java,
825 java/awt/peer/ChoicePeer.java,
826 java/awt/peer/ComponentPeer.java,
827 java/awt/peer/ContainerPeer.java,
828 java/awt/peer/DialogPeer.java,
829 java/awt/peer/FileDialogPeer.java,
830 java/awt/peer/FramePeer.java,
831 java/awt/peer/LabelPeer.java,
832 java/awt/peer/ListPeer.java,
833 java/awt/peer/MenuBarPeer.java,
834 java/awt/peer/MenuComponentPeer.java,
835 java/awt/peer/MenuItemPeer.java,
836 java/awt/peer/MenuPeer.java,
837 java/awt/peer/PopupMenuPeer.java,
838 java/awt/peer/RobotPeer.java,
839 java/awt/peer/ScrollPanePeer.java,
840 java/awt/peer/ScrollbarPeer.java,
841 java/awt/peer/TextAreaPeer.java,
842 java/awt/peer/TextComponentPeer.java,
843 java/awt/peer/TextFieldPeer.java,
844 java/awt/peer/WindowPeer.java:
845 Removed redundant modifiers.
847 2003-10-11 Michael Koch <konqueror@gmx.de>
849 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
850 * gnu/java/nio/ServerSocketChannelImpl.java
851 (serverSocket): Made it a NIOServerSocket.
853 (ServerSocketChannelImpl): Initialize only serverSocket.
854 (initServerSocket): Removed.
855 (getNativeFD): Rewritten.
856 (implConfigureBlocking): Set socket timeout and removed comment.
858 * gnu/java/nio/SocketChannelImpl.java
859 (impl): New variable.
860 (connected): Removed.
861 (SocketChannelImpl): Initialize impl too.
862 (getImpl): New method.
863 (isConnected): Rewritten.
864 (read): Rewritten, set position in buffer correctly.
865 (write): Set position in buffer correctly.
866 * java/net/ServerSocket.java (getImpl): New method.
867 * gnu/java/nio/NIOServerSocket.java,
868 gnu/java/nio/natNIOServerSocket.cc: New files.
869 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
871 (ordinary_java_source_files):
872 Added gnu/java/nio/NIOServerSocket.java.
874 Removed gnu/java/nio/natServerSocketChannelImpl.cc
875 and added gnu/java/nio/natNIOServerSocket.cc.
876 * Makefile.in: Regenerated.
878 2003-10-11 Michael Koch <konqueror@gmx.de>
880 * java/awt/ActiveEvent.java,
881 java/awt/datatransfer/ClipboardOwner.java,
882 java/awt/datatransfer/FlavorMap.java,
883 java/awt/datatransfer/Transferable.java,
884 java/awt/dnd/Autoscroll.java,
885 java/awt/dnd/peer/DragSourceContextPeer.java,
886 java/awt/dnd/peer/DropTargetContextPeer.java,
887 java/awt/dnd/peer/DropTargetPeer.java,
888 java/awt/font/MultipleMaster.java,
889 java/awt/font/OpenType.java,
890 java/awt/im/spi/InputMethodDescriptor.java,
891 java/awt/image/ImageObserver.java,
892 java/awt/image/ImageConsumer.java,
893 java/awt/image/ImageProducer.java,
894 java/awt/image/RGBImageFilter.java,
895 java/awt/image/RasterOp.java,
896 java/awt/image/renderable/RenderableImage.java:
897 Removed redundant modifiers.
899 2003-10-11 Michael Koch <konqueror@gmx.de>
901 * gnu/awt/j2d/DirectRasterGraphics.java,
902 gnu/java/awt/EmbeddedWindowSupport.java:
903 Removed redundant modifiers.
905 2003-10-09 Michael Koch <konqueror@gmx.de>
907 * gnu/java/nio/SelectorImpl.java (register):
908 Use ServerSocketChannelSelectionKey for server socket channels,
909 removed unneeded comments.
910 * gnu/java/nio/ServerSocketChannelImpl.java
911 (ServerSocketChannelImpl): Made class public final.
912 (impl): New member variable.
913 (ServerSocketChannelImpl): Initialize member variables correctly.
914 (initServerSocket): New method.
915 (getNativeFD): Likewise.
916 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
917 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
918 * Makefile.am (ordinary_java_source_files):
919 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
920 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
921 * Makefile.in: Regenrated.
923 2003-10-09 Michael Koch <konqueror@gmx.de>
925 * java/nio/channels/spi/AbstractSelectableChannel.java
926 (registered): Made private.
927 (blocking): Likewise.
929 (provider): Likewise.
930 (keys): Made it a private LinkedList.
931 (AbstractSelectableChannel): Initialize keys.
932 (isRegistered): New implementation.
934 (register): Rewritten.
935 * java/nio/channels/spi/AbstractSelectionKey.java
937 (cancelled): New member variable.
939 (isValid): Rewritten.
940 * java/nio/channels/spi/AbstractSelector.java:
942 (closed): Make private.
943 (provider): Likewise.
944 (cancelledKeys): New member variable.
945 (AbstractSelector): Initialize cancelledKeys.
946 (cancelKey): New method.
948 2003-10-09 Tom Tromey <tromey@redhat.com>
950 * java/lang/ClassLoader.java (setSigners): Implemented.
951 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
952 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
953 Initialize new fields.
954 * java/lang/Class.java (getSigners): Now native.
955 (setSigners): Declare.
956 * java/lang/natClass.cc (getSigners): New method.
957 (getSigners): Likewise.
958 * java/lang/Class.h (Class::signers): New field.
959 (Class::setSigners): New method.
961 2003-10-09 Michael Koch <konqueror@gmx.de>
963 * java/rmi/server/RMIClassLoader.java:
964 Removed unused imports, little reformatings.
965 (getClassLoader): New method, implementation was part of old loadCLass
967 (loadClass): Simplified by moving functionality to new method and
968 reworking the code a bit.
969 (getClassAnnotation): Merged documentation from classpath.
971 2003-10-09 Michael Koch <konqueror@gmx.de>
973 * java/math/BigInteger.java
974 (add): Removed unused local variable len.
976 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
978 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
980 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
981 Initialize insets to use latest insets.
982 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
983 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
985 (postConfigureEvent): Update latestInsets field when insets
986 change. Remove call to setSize. Move validate call outside of
988 (setVisible): Call setBounds before showing window.
989 (nativeSetVisible): New native method.
990 * java/awt/Window.java (show): Show visible owned windows.
991 (hide): Hide visible owned windows.
992 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
993 (awt_event_handler): Implement modality using GTK grabs.
994 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
995 (global_gtk_window_group): New global variable.
996 (gtkInit): Initialize global_gtk_window_group.
997 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
998 Clamp width and height values to at least 1. Add this window to
999 the global GTK window group.
1000 (setVisible): Rename to nativeSetVisible.
1001 (setup_window): Remove function.
1002 (setSize): Clamp width and height values to at least 1.
1003 (nativeSetBounds): Likewise.
1004 (gdk_window_get_root_geometry): Remove function.
1005 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
1006 and setup_window declarations. Declare global_gtk_window_group.
1008 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1009 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1010 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1011 (gtkWidgetSetForeground): New method.
1012 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1013 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1014 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
1015 (setBackground, setForeground): Implement.
1016 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1017 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1018 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1019 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1020 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
1021 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1022 Position PangoLayout relative to text's baseline.
1023 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
1025 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
1026 for CENTER and RIGHT alignments.
1028 2003-10-08 Michael Koch <konqueror@gmx.de>
1030 * java/security/Security.java: Reformated.
1032 2003-10-08 Michael Koch <konqueror@gmx.de>
1034 * java/text/SimpleDateFormat.java
1035 (compileFormat): Replace Character.isLetter() test with
1036 Character.isLowerCase() || Character.isUpperCase().
1038 2003-10-08 Tom Tromey <tromey@redhat.com>
1040 * java/lang/StrictMath.java (toDegrees): Multiply before
1042 (toRadians): Likewise.
1044 2003-10-08 C. Brian Jones <cbj@gnu.org>
1046 * java/lang/Math.java
1047 (toRadians): multiply before dividing to reduce decimal error
1050 2003-10-08 Michael Koch <konqueror@gmx.de>
1052 * gnu/gcj/protocol/core/Connection.java,
1053 gnu/gcj/protocol/core/CoreInputStream.java,
1054 gnu/gcj/protocol/core/Handler.java,
1055 gnu/gcj/protocol/core/natCoreInputStream.cc,
1056 gnu/gcj/protocol/file/Connection.java,
1057 gnu/gcj/protocol/file/Handler.java,
1058 gnu/gcj/protocol/gcjlib/Connection.java,
1059 gnu/gcj/protocol/gcjlib/Handler.java,
1060 gnu/gcj/protocol/http/Connection.java,
1061 gnu/gcj/protocol/http/Handler.java,
1062 gnu/gcj/protocol/jar/Connection.java,
1063 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
1064 * gnu/java/net/protocol/core/Connection.java,
1065 gnu/java/net/protocol/core/CoreInputStream.java,
1066 gnu/java/net/protocol/core/Handler.java,
1067 gnu/java/net/protocol/core/natCoreInputStream.cc,
1068 gnu/java/net/protocol/file/Connection.java,
1069 gnu/java/net/protocol/file/Handler.java,
1070 gnu/java/net/protocol/gcjlib/Connection.java,
1071 gnu/java/net/protocol/gcjlib/Handler.java,
1072 gnu/java/net/protocol/http/Connection.java,
1073 gnu/java/net/protocol/http/Handler.java,
1074 gnu/java/net/protocol/jar/Connection.java,
1075 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
1076 * gnu/gcj/runtime/FirstThread.java,
1077 java/net/URL.java: Use moved protocol handlers.
1079 (ordinary_java_source_files): Moved files.
1080 (nat_source_files): Likewise.
1081 * Makefile.in: Regenerated.
1083 2003-10-08 Michael Koch <konqueror@gmx.de>
1085 * gnu/java/nio/SocketChannelImpl.java
1086 (read): Write only read data to buffer.
1088 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
1090 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
1092 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
1093 (JCL_free): Attach "unused" attribute to env parameter.
1094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
1095 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1096 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1097 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
1098 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
1099 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1100 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
1101 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
1102 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
1103 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
1104 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1105 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
1106 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
1108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
1109 (initNativeState): Pass 0 as info argument to
1110 gtk_selection_add_target.
1111 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1112 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
1113 unused method implementations.
1114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1115 (awt_event_handler): Add break statement after default label.
1116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
1117 (drawPixels): Remove unused variable i.
1118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1119 (setEnabled): Remove method implementation.
1120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1121 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
1123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
1125 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
1126 (menu_pos): Assign TRUE to push_in.
1127 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
1129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1130 (create): Remove unused variable layout.
1131 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1132 Pass window_widget, rather than window, to
1133 gtk_widget_set_size_request.
1134 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
1135 structure initialization with NULL values.
1136 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
1138 2003-10-08 Michael Koch <konqueror@gmx.de>
1140 * java/util/LinkedList.java:
1141 Removed whitespace to match classpath's version again.
1143 2003-10-08 Michael Koch <konqueror@gmx.de>
1145 * java/util/prefs/Preferences.java
1146 (defaultFactoryClass): Fixed class name.
1147 (getFactory): Create instance of class returned by Class.forName(),
1150 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
1152 * javax/swing/table/AbstractTableModel.java
1153 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
1154 helped stop pulling my hair on this +1 then -1 tricky thing!
1156 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1158 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
1159 Remove unused parameters.
1160 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
1162 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1163 (keyevent_state_to_awt_mods): Export function.
1164 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1165 (getCaretPosition): Fix TextArea case.
1166 (textcomponent_commit_cb): Get exact event time and modifier
1168 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
1170 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
1172 * java/net/InetSocketAddress.java
1173 (InetSocketAddress): Made exception more clear.
1174 (equals): Handle case when addr is null.
1175 (toString): Likewise.
1176 * java/net/NetworkInterface.java
1177 (static): Load native library.
1178 (getNetworkInterfaces): Rewritten.
1180 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1182 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
1184 (initializeInsets): New method.
1185 (GtkComponentPeer): Call initializeInsets. Call setCursor and
1186 setBounds unconditionally.
1187 (setBounds): Convert coordinates if parent is a Window.
1188 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
1189 field to GtkComponentPeer.
1190 (GtkContainerPeer): Don't initialize insets.
1191 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1193 (create): Call new GtkWindowPeer create method.
1194 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
1196 (create): Call new GtkWindowPeer create method.
1197 (setBounds): Remove method.
1198 (postConfigureEvent): Likewise.
1199 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
1200 type constants with GDK window type constants.
1201 (create(int,boolean,int,int,GtkWindowPeer)): New method.
1202 (create(int,boolean)): Likewise.
1203 (create()): Call create(int,boolean).
1204 (nativeSetBounds): New native method declaration.
1205 (setBounds): Call native method declaration.
1206 (setSize): New native method declaration.
1207 (setBoundsCallback): Likewise.
1208 (postConfigureEvent): Handle change in insets. Call setSize and
1209 setBoundsCallback methods.
1210 * java/awt/Window.java (Window): Set visible to false.
1211 (setBoundsCallback): New method.
1212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1213 (gtkWidgetGetLocationOnScreen): If this component is not a
1214 container, adjust the location returned based on the peer's
1216 (set(String,boolean)): Revert change from 2003-09-19.
1217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1218 (awt_event_handler): Fix inset calculation.
1219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1220 glue for Window.setBoundsCallback.
1221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1222 Set up stacking order, window decorations and window manager
1224 (setBoundsCallback): New method.
1225 (setSize): New method.
1226 (nativeSetBounds): New method.
1227 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
1229 2003-10-02 Tom Tromey <tromey@redhat.com>
1231 * java/lang/VMClassLoader.java (loadClass): Now native.
1232 * java/lang/natClassLoader.cc (loadClass): Implement.
1233 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
1235 2003-10-02 Michael Koch <konqueror@gmx.de>
1237 * java/net/InetAddress.java
1239 (ANY_IF): Initalizie in static block.
1240 (static): Load library with native methods here and initialize ANY_IF.
1241 (isAnyLocalAddress): Check if equal to ANY_IF.
1242 (equals): Use addr directly instead of addr1. Simplify for loop.
1243 (toString): Rename "result" to "host" and add IP address allways.
1244 (getLocalHost): Merged documentation from classpath.
1245 * java/net/ServerSocket.java
1246 (ServerSocket): New package-private constructor used by java.nio.
1247 * java/net/URLConnection.java
1248 (getRequestProperties): Check if already connected.
1250 2003-10-02 Michael Koch <konqueror@gmx.de>
1252 * java/nio/ByteBufferHelper.java:
1253 Rewrote all methods by suggestions from Eric Blake.
1255 2003-10-02 Michael Koch <konqueror@gmx.de>
1258 (DEFAULT_SEARCH_PATH): New static variable.
1259 (ph_cache): Made it a HashMap.
1260 (getURLStreamHandler): Rename propVal to ph_search_path and use
1261 DEFAULT_SEARCH_PATH.
1263 2003-10-02 Michael Koch <konqueror@gmx.de>
1265 * javax/swing/table/AbstractTableModel.java
1266 (findColumnName): Prevent from NullPointerException if argument
1269 2003-10-02 Michael Koch <konqueror@gmx.de>
1271 * javax/swing/table/AbstractTableModel.java:
1272 This patch is based on a patch done by Arnaud Vandyck
1273 <arnaud.vandyck@ulg.ac.be>.
1274 (getColumnName): Fixed method documentation.
1275 (findColumn): Likewise.
1276 (getColumnClass): Likewise.
1277 (isCellEditable): Likewise.
1278 (setValueAt): Likewise.
1279 (addTableModelListener): Likewise.
1280 (removeTableModelListener): Likewise.
1281 (getTableModelListeners): New method.
1283 2003-10-02 Michael Koch <konqueror@gmx.de>
1285 * javax/swing/table/AbstractTableModel.java:
1288 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
1291 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
1292 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
1294 2003-10-01 Tom Tromey <tromey@redhat.com>
1296 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
1298 2003-10-01 Andrew Haley <aph@redhat.com>
1300 * java/lang/natClass.cc (initializeClass): Check for otable and
1302 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
1303 loops using for(). Search superinterfaces. Check for fields as
1304 well as methods. Initialize atable as well as otable: check for
1305 static methods as well as virtual methods.
1306 * java/lang/Class.h (struct _Jv_AddressTable): New.
1309 * include/jvm.h (_Jv_equalUtf8Consts): constify.
1310 * prims.cc (_Jv_equalUtf8Consts): constify.
1312 2003-09-29 Tom Tromey <tromey@redhat.com>
1315 * include/jvm.h (_Jv_FinalizeString,
1316 _Jv_RegisterStringFinalizer): Declare.
1317 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
1320 (_Jv_NewStringUtf8Const): Likewise.
1321 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1322 Add special case when finalizing a String.
1323 (in_hash): New function.
1324 (_Jv_RegisterStringFinalizer): Likewise.
1325 (maybe_add_finalize): Likewise.
1327 2003-09-29 Michael Koch <konqueror@gmx.de>
1329 * java/net/InetAddress.java:
1330 (isMulticastAddress): Dont use local variable to store address length.
1331 Let the compiler optimize this.
1332 (getHostName): Merged dcoumentation from classpath.
1333 (getAddress): Likewise.
1334 (getHostAddress): Likewise.
1335 (hashCode): Likewise.
1337 (toString): Likewise.
1338 (getByName): Likewise.
1339 (getAllByName): Likewise.
1341 2003-09-29 Michael Koch <konqueror@gmx.de>
1343 * java/awt/image/IndexColorModel.java: Reformated.
1345 2003-09-29 Michael Koch <konqueror@gmx.de>
1347 * java/net/InetAddress.java,
1348 java/net/URL.java: Reformated.
1350 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
1352 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
1353 significant bit of descriptor. Include the vtable and sync_info
1356 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1358 * java/text/DateFormat.java (format): Throw IllegalArgumentException
1359 if `obj' is not a Number or Date instance.
1360 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
1363 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1365 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
1366 Don't call setTimeZone on calendar.
1368 2003-09-27 Michael Koch <konqueror@gmx.de>
1370 * java/net/URL.java (getURLStreamHandler): Compile fixes.
1372 2003-09-27 Michael Koch <konqueror@gmx.de>
1374 * java/net/URL.java (getURLStreamHandler):
1375 Check if we have to use cache before trying to retrieve handler from
1376 cache. Rename facName to clsName to match classpath more. Reformated
1379 2003-09-27 Michael Koch <konqueror@gmx.de>
1381 * gnu/java/nio/SelectionKeyImpl.java
1382 (ch): Make package-private again. Jikes found this bug.
1383 Jeff Sturm submitted PR12426 for this to bugzilla
1384 to fix this bug in gcj.
1386 2003-09-26 Michael Koch <konqueror@gmx.de>
1388 * java/rmi/server/RMIClassLoader.java:
1389 Reformatted file, no functional code changes.
1391 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
1393 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
1394 Save space for some pixels at the buffer end. Added Javadoc.
1396 2003-09-26 Tom Tromey <tromey@redhat.com>
1398 * java/io/ObjectOutputStream.java (writeFields): Fixed
1400 (putFields): Likewise.
1402 2003-09-26 Michael Koch <konqueror@gmx.de>
1404 * java/nio/ByteBufferHelper.java:
1405 Totally reworked with help from Eric Blake.
1407 2003-09-26 Tom Tromey <tromey@redhat.com>
1409 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
1410 * java/awt/geom/PathIterator.java: Documentation fixes.
1412 2003-09-25 Jeff Sturm <jsturm@one-point.com>
1414 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
1416 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
1418 2003-09-25 Michael Koch <konqueror@gmx.de>
1420 * gnu/java/nio/DatagramChannelImpl.java
1421 (getNativeFD): New method.
1422 * gnu/java/nio/SelectionKeyImpl.java
1423 (SelectionKeyImpl): Class made abstract.
1425 (SelectionKeyImpl): Remove fd argument.
1426 (getNativeFD): New method.
1427 * gnu/java/nio/SocketChannelImpl.java
1428 (getNativeFD): New method.
1429 gnu/java/nio/DatagramChannelSelectionKey.java,
1430 * gnu/java/nio/SocketChannelSelectionKey.java:
1432 * Makefile.am (ordinary_java_source_files):
1433 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
1434 gnu/java/nio/SocketChannelSelectionKey.java.
1435 * Makefile.in: Regenerated.
1437 2003-09-25 Michael Koch <konqueror@gmx.de>
1439 * java/lang/reflect/Proxy.java
1440 (getProxyClass): Remove workaround for gcj 3.0.x.
1442 2003-09-25 Michael Koch <konqueror@gmx.de>
1444 * gnu/java/net/PlainDatagramSocketImpl.java
1445 (finalize): Moved to directly after constructor.
1446 (getNativeFD): New method.
1447 * gnu/java/net/PlainSocketImpl.java
1448 (getNativeFD): New method.
1450 2003-09-25 Ingo Proetel <proetel@aicas.com>
1452 * java/io/ObjectOutputStream.java:
1453 Allow putFields be called more than once.
1455 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
1457 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
1458 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
1459 * java/awt/image/BufferedImage.java (toString): Implement.
1461 2003-09-25 Jeff Sturm <jsturm@one-point.com>
1463 * aclocal.m4: Rebuilt.
1464 * configure: Rebuilt.
1466 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
1468 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
1471 2003-09-25 Michael Koch <konqueror@gmx.de>
1473 * gnu/java/nio/SelectorImpl.java
1474 (implSelect): Renamed from java_do_select.
1475 (select): Call native implSelect() and add support for Thread
1477 * gnu/java/nio/natSelectorImpl.cc
1478 (implSelect): Renamed from java_do_select.
1480 2003-09-25 Michael Koch <konqueror@gmx.de>
1482 * gnu/java/nio/SelectorImpl.java
1483 (selectNow): Made final, throws IOException.
1485 (getFDsAsArray): Made final.
1486 (selectedKeys): Likewise.
1488 (deregisterCancelledKeys): Likewise.
1489 (register): Likewise.
1491 (add_selected): Removed.
1492 * gnu/java/nio/natSelectorImpl.cc:
1493 No need to include bstring.h or gcj/cni.h.
1494 (helper_put_filedescriptors): Rewritten.
1495 (helper_get_filedescriptors): Rewritten.
1497 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
1499 * java/awt/font/FontRenderContext.java (getTransform): Return
1500 copy of internal transform object. Add Javadoc.
1501 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
1502 winding rule as Sun J2SE.
1503 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
1505 2003-09-25 Ingo Proetel <proetel@aicas.com>
1507 * java/rmi/Naming.java:
1508 Added comments, now accepts pseudo protocol "rmi".
1510 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
1512 * java/text/DecimalFormat.java (format): Don't immediatly round
1514 (setMinimumIntegerDigits): Call super.
1515 (setMinimumFractionDigits): Likewise.
1516 (setMaximumIntegerDigits): Likewise.
1517 (setMaximumFractionDigits): Likewise.
1519 2003-09-25 Michael Koch <konqueror@gmx.de>
1521 * gnu/java/nio/DatagramChannelImpl.java
1522 (DatagramChannelImpl): Made class final.
1523 (blocking): Made private.
1524 (socket): Made it a NIODatagramSocket and private.
1525 (DatagramChannelImpl): create NIODatagramSocket instead of
1527 (implConfigureBlocking): Set socket timeout.
1528 (connect): Check that channel is not closed.
1529 (write): Implemented.
1531 (read): Implemented.
1533 (receive): Implemented.
1534 (send): Implemented.
1535 * gnu/java/nio/SelectionKeyImpl.java
1536 (readyOps): Made private.
1537 (interestOps): Made private.
1538 (impl): Made private.
1540 (readyOps): Check if selection key is valid.
1541 (interestOps): Likewise.
1542 * gnu/java/nio/SelectorImpl.java
1544 (keys): Made private.
1545 (selected): Made private.
1546 (finalize): New method.
1547 (implCloseSelector): Rewritten.
1548 (keys): Return unmodifiable Set.
1549 (deregisterCancelledKeys): Fixed typo in method name.
1550 * gnu/java/nio/SocketChannelImpl.java
1551 (SocketChannelImpl): Made class final.
1552 (socket): Made it a NIOSocket and private.
1553 (blocking): Made private.
1554 (connected): Made private.
1555 (connectionPending): New member variable.
1556 (SocketChannelImpl): New implementation.
1557 (finalizer): Use isConnected().
1558 (connect): Rewritten.
1559 (finishConnect): Throws IOException, implemented.
1560 (isConnectionPending): Return connectionPending.
1563 * gnu/java/nio/NIOConstants.java: New file.
1564 * Makefile.am (ordinary_java_source_files):
1565 Added gnu/java/nio/NIOConstants.java.
1566 * Makefile.in: Regenerated.
1568 2003-09-25 Michael Koch <konqueror@gmx.de>
1570 * java/net/InetAddress.java:
1571 Reorder imports, remove implementation comment.
1572 (isMulticastAddress): Merged documentation from classpath.
1573 * java/net/URLConnection.java
1574 (setRequestProperty): Check key for null, fix documentation.
1575 (adREquestProperty): Check key for null, remove wrong implementation
1576 and replace it with comment to overwrite this method in subclasses,
1579 2003-09-25 Tom Tromey <tromey@redhat.com>
1581 * java/lang/reflect/Proxy.java (generate): Uncomment protection
1583 * java/lang/natClassLoader.cc (defineClass): Added `loader'
1585 (linkClass0): Now in VMClassLoader.
1586 (markClassErrorState0): Likewise.
1587 (getSystemClassLoaderInternal): New method.
1588 * java/lang/natClass.cc (initializeClass): Use
1589 VMClassLoader::resolveClass.
1590 * java/lang/ClassLoader.java: New version, from Classpath.
1591 * java/lang/Class.java (getProtectionDomain):
1592 protectionDomainPermission and unknownProtectionDomain now in
1594 * java/lang/Class.h: VMClassLoader now a friend class.
1595 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
1597 * gcj/javaprims.h: Regenerated class list.
1598 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
1599 * java/lang/VMClassLoader.java: New version from Classpath;
1600 modified for libgcj use.
1602 2003-09-25 Michael Koch <konqueror@gmx.de>
1604 * java/nio/ByteBufferHelper.java:
1606 * java/nio/ByteBufferImpl.java,
1607 java/nio/DirectByteBufferImpl.java,
1608 java/nio/MappedByteBufferImpl.java
1609 (getType,putType): Use new helper class ByteBufferHelper.
1610 * Makefile.am (ordinary_java_source_files):
1611 Added java/nio/ByteBufferHelper.java.
1612 * Makefile.in: Regenerated.
1614 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
1616 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
1619 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
1621 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
1622 Strings, even if buffer is already shared.
1624 2003-09-24 Michael Koch <konqueror@gmx.de>
1626 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
1628 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
1630 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
1632 (SocketInputStream): Declare `read' and `write' methods native.
1633 Remove implementations which called back into PlainSocketImpl.
1634 Remove unneccessary overridden methods.
1635 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
1636 to inner class PlainSocketImpl.SocketInputStream.
1638 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
1639 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
1640 * gnu/java/net/SocketInputStream.java: Remove unused file.
1641 * gnu/java/net/SocketOutputStream.java: Likewise.
1642 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
1643 and SocketOutputStream.
1644 * Makefile.in: Rebuilt.
1646 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
1648 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
1650 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
1653 2003-09-22 Anthony Green <green@redhat.com>
1655 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
1656 * configure: Rebuilt.
1658 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
1661 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
1663 2003-09-22 Michael Koch <konqueror@gmx.de>
1665 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
1666 compiler warning but produces a different one now.
1668 2003-09-22 Michael Koch <konqueror@gmx.de>
1670 * java/net/InetAddress.java:
1671 Moves around some code, reformats and adds documentation.
1672 No functional changes.
1674 2003-09-22 Michael Koch <konqueror@gmx.de>
1676 * java/net/JarURLConnection.java
1677 (JarURLConnection): Modifed code to match classpath more, fixed comment.
1678 (getCertificates): Made it more error prone.
1679 (getMainAttributes): Likewise.
1680 (getAttributes): Implemented.
1681 (getManifest): Reformatted code.
1683 2003-09-20 Tom Tromey <tromey@redhat.com>
1685 * java/awt/Component.java: Indentation cleanup from Classpath.
1687 2003-09-20 Dalibor Topic <robilad@kaffe.org>
1689 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
1690 checking to follow 1.4.2 spec.
1692 2003-08-11 Ingo Proetel <proetel@aicas.com>
1694 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
1695 is compatible in case client and server are running in the same VM
1696 (remerged from Classpath on 2003-09-20)
1698 2003-09-19 David Daney <ddaney@avtrex.com>
1700 * java/lang/ref/Reference.java (clear): Set referent to null and
1703 2003-09-19 Michael Koch <konqueror@gmx.de>
1705 * gnu/java/nio/NIODatagramSocket.java,
1706 gnu/java/nio/NIOSocket.java: New files.
1707 * Makefile.am (ordinary_java_source_files):
1708 Added gnu/java/nio/NIODatagramSocket.java and
1709 gnu/java/nio/NIOSocket.java.
1710 * Makefile.in: Regenerated.
1712 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1714 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
1715 top-level GTK window.
1716 (getArgs): Add "title" property.
1717 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
1718 "allow_shrink" and "allow_grow" properties.
1719 * java/awt/Dialog.java: Initialize resizable to true and change
1720 comments accordingly. Initialize visible to false in
1722 * java/awt/Frame.java (dispose): Remove method.
1723 * java/awt/Window.java (ownedWindows): New field.
1724 (Window(Window,GraphicsConfiguration)): Add a weak reference to
1725 owner's ownedWindows vector.
1726 (finalize): Remove method.
1727 (hide): Hide owned windows.
1728 (dispose): Dispose of owned windows.
1729 (getOwnedWindows): Implement.
1730 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
1732 (set(String,boolean)): Clamp gboolean parameter to g_object_set
1734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1735 (create): Set window's size requisition.
1736 (connectHooks): Fix indentation.
1737 (setResizable): Remove function.
1738 (static setBounds): Likewise.
1739 (setBounds): Replace call to setBounds with GTK size requisition
1742 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
1744 * win32-threads.cc: (ensure_interrupt_event_initialized) New
1745 function for lazy initialization of an auto-reset event.
1746 (_Jv_CondWait) Added thread interrupt support.
1747 (_Jv_ThreadInitData) Added initialization of interrupt support
1749 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
1750 (_Jv_ThreadStart) Removed unused code.
1751 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
1752 to an external caller.
1753 (_Jv_ThreadInterrupt) Implemented.
1754 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
1755 event for interrupt support as well as a mutex which regulates
1757 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
1758 event to an external caller.
1759 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
1761 (waitFor) Added interrupt support.
1763 2003-09-19 Michael Koch <konqueror@gmx.de>
1765 * java/net/DatagramSocket.java (getLocalAddress):
1766 Renamed result variable to localAddr.
1767 * java/net/MulticastSocket.java:
1768 No need to import gnu.java.net.PlainDatagramSocketImpl.
1770 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
1772 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
1773 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
1775 2003-09-18 Tom Tromey <tromey@redhat.com>
1777 * javax/naming/InitialContext.java: Reindented.
1779 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
1780 Helmer Kraemer <hkraemer@freenet.de>
1782 * javax/naming/spi/NamingManager.java (getURLContext,
1783 getObjectInstance, getStateToBind): Always use current thread's
1784 context class loader when calling Class.forName.
1786 2003-09-18 Michael Koch <konqueror@gmx.de>
1788 * java/util/Timer.java (finalize): Added "throws Throwable".
1790 2003-09-18 Michael Koch <konqueror@gmx.de>
1792 * java/net/DatagramSocket.java
1794 (receive): Use getChannel() instead of ch.
1796 (getChannel): Return null.
1797 * java/net/ServerSocket.java
1799 (setChannel): Removed.
1800 (implAccept): Use getChannel() instead of ch.
1802 (getChannel): Return null.
1803 * java/net/Socket.java
1805 (connect): Use getChannel() instead of ch.
1806 (setChannel): Removed.
1807 (getChannel): Return null.
1809 2003-09-18 Mark Wielaard <mark@klomp.org>
1811 Reported by Guilhem Lavaux and Julian Dolby
1812 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
1813 field "serialPersistentFields", not "getSerialPersistentFields".
1815 2003-09-18 Ingo Proetel <proetel@aicas.com>
1817 * java/util/TimeZone.java: Initialize lazily.
1818 * java/util/Locale.java (readManifest): Fix check for country.
1819 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
1821 * java/util/Calendar.java: Make use of ResourceBundle better
1824 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
1826 * java/sql/Timestamp.java
1827 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
1829 2003-09-18 David P Grove <groved@us.ibm.com>
1831 * java/io/LineNumberReader (read): Don't reset pos & limit when
1834 2003-09-18 Dalibor Topic <robilad@kaffe.org>
1836 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
1838 (computeArguments): use computeTypicalArguments.
1840 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
1841 Compile_jikes.java and RMICException.java.
1842 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
1843 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
1844 * gnu/java/rmi/rmic/RMICException.java: Likewise.
1846 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
1848 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
1849 (computeTypicalArguments): New method.
1850 (compile): Print compiler output to System.out. Collect compiler
1851 error output and use it in exception message.
1853 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
1854 (destination): Initialize to null.
1855 (run): Replace file separator with '.' when processing class.
1856 (processClass): Replace '.' with file separator when compiling
1858 (findClass): Use SystemClassLoader to load class.
1859 (generateStub): Use full class name for generated stub, that puts
1860 it in right path. Replace '.' with file separator when generating
1861 stub file name. Write just the stub class name without package
1862 information as class name, and constructor name. Write only
1863 interface names for interfaces extending java.rmi.Remote as
1865 (generateSkel): Use full class name for generated skel, that puts
1866 it in right path. Replace '.' with file separator when generating
1867 stub file name. Write just the stub class name without package
1868 information as class name.
1870 2003-09-18 Michael Koch <konqueror@gmx.de>
1872 * Makefile.am (rmi_java_source_files):
1873 Added gnu/java/rmi/rmic/Compile_kjc.java,
1874 gnu/java/rmi/rmic/Compile_jikes.java and
1875 gnu/java/rmi/rmic/RMICException.java
1876 * Makefile.in: Regenerated.
1878 2003-09-17 Graydon Hoare <graydon@redhat.com>
1880 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1881 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1882 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1883 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1886 2003-09-16 Graydon Hoare <graydon@redhat.com>
1888 * java/awt/BufferedImage.java (setData): Support non-component
1892 2003-09-10 Graydon Hoare <graydon@redhat.com>
1894 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
1895 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
1897 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
1899 * configure.in: Standardized help text case of
1900 --enable-hash-synchronization
1901 New configure switch --enable-libgcj-multifile and corresponding
1902 automake conditional ONESTEP.
1903 * configure: Rebuilt.
1904 * Makefile.am: Use automake conditional ONESTEP to determine
1905 whether classfiles should be compiled individually or all
1907 * Makefile.in: Rebuilt.
1909 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
1911 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
1912 Remove method declaration.
1913 (create()): Call native create.
1914 (create(int)): New method.
1915 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1916 (create): Add window_id parameter. Call gtk_plug_new with
1917 window_id parameter.
1918 (construct): Remove method implementation.
1920 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
1922 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1923 (mostlyclean-local): New target patterned after clean-local
1924 which recursively deletes all libtool objects using 'libtool rm'.
1925 (clean-local): Slightly modified comment to alleviate monotony.
1926 (distclean-local): New target patterned after clean-local
1927 which recursively deletes all .d files.
1928 * Makefile.in: Rebuilt.
1930 2003-09-11 Tom Tromey <tromey@redhat.com>
1932 * java/net/URLStreamHandler.java (parseURL): If original file
1933 ends with "/", so must canonical result.
1934 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1935 with nul-termination and finding previous "/".
1937 2003-09-11 Michael Koch <konqueror@gmx.de>
1939 * acconfig.h: Removed most items.
1940 * configure.in: Added descriptions to AC_DEFINE macros that where in
1942 * include/config.h.in: Regenerated.
1944 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
1946 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1947 if one is installed. Improve Javadoc.
1948 (getSystemEventQueueImpl): Improve Javadoc.
1950 2003-09-11 Tom Tromey <tromey@redhat.com>
1952 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1953 file does not exist.
1955 2003-09-10 Anthony Green <green@redhat.com>
1957 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1958 Specify full name when referencing ::java::net::InetAddress.
1959 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1962 2003-09-10 Michael Koch <konqueror@gmx.de>
1964 * acconfig.h (__NO_MATH_INLINES): Removed.
1965 * configure.in: Removed check for g++ math inlining bug from 2000.
1966 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1968 * configure: Regenerated.
1970 2003-09-10 David Daney <ddaney@avtrex.com>
1972 * java/util/Arrays.java (equals(all variants)): Quit using
1973 NullPointerException catching to detect null valued parameters.
1975 2003-09-10 Michael Koch <konqueror@gmx.de>
1977 * java/net/DatagramSocket.java,
1978 java/net/MulticastSocket.java,
1979 java/net/ServerSocket.java,
1980 java/net/Socket.java:
1981 Use gnu.java.net.Plain*SocketImpl instead of
1982 java.net.PlainSocketImpl.
1983 * java/net/PlainDatagramSocketImpl.java,
1984 java/net/PlainSocketImpl.java,
1985 java/net/SocketInputStream.java,
1986 java/net/SocketOutputStream.java,
1987 java/net/natPlainDatagramSocketImplNoNet.cc,
1988 java/net/natPlainDatagramSocketImplPosix.cc,
1989 java/net/natPlainDatagramSocketImplWin32.cc,
1990 java/net/natPlainSocketImplNoNet.cc,
1991 java/net/natPlainSocketImplPosix.cc,
1992 java/net/natPlainSocketImplWin32.cc:
1994 * gnu/java/net/PlainDatagramSocketImpl.java,
1995 gnu/java/net/PlainSocketImpl.java,
1996 gnu/java/net/SocketInputStream.java,
1997 gnu/java/net/SocketOutputStream.java,
1998 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1999 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2000 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2001 gnu/java/net/natPlainSocketImplNoNet.cc,
2002 gnu/java/net/natPlainSocketImplPosix.cc,
2003 gnu/java/net/natPlainSocketImplWin32.cc:
2004 New files (moved from java/net).
2005 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
2006 instead of java/net/natPlain*SocketImpl.cc.
2007 * configure: Regenerated.
2008 * Makefile.am: Moved files from java/net to gnu/java/net.
2009 * Makefile.in: Regenerated.
2011 2003-09-09 Alan Modra <amodra@bigpond.net.au>
2013 * configure: Regenerate.
2015 2003-09-04 Tom Tromey <tromey@redhat.com>
2017 * configure.host: Removed erroneous comment.
2019 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
2020 lvalue cast; use correct rvalue cast.
2022 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
2024 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
2025 and height arguments to GtkWindowPeer.create method call.
2026 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
2027 (create(int,int,int)): New method.
2028 (create(int)): Add call to new create method.
2029 (create()): Add width and height arguments to create method
2031 (GtkWindowPeer): Remove call to setBounds.
2032 * java/awt/Frame.java (Frame(String)): Initialize visible field
2034 (Frame(GraphicsConfiguration)): Likewise.
2035 (Frame(String,GraphicsConfiguration)): Likewise.
2036 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2037 Add width and height parameters. Call
2038 gtk_window_set_default_size.
2039 (connectHooks): Remove unused name variable.
2040 (static setBounds): Call gtk_window_resize not
2041 gtk_widget_set_usize.
2042 (setBounds): Remove unused nchildren variable.
2044 2003-08-31 Ingo Proetel <proetel@aicas.com>
2046 * java/util/logging/Logger.java: provide class and method information
2047 * java/util/logging/LogManager.java: create handlers
2048 * java/util/logging/SimpleFormatter.java: print souceClassName and
2051 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
2053 * win32.cc: fixed tab, indentation and whitespace
2055 removed jvm.h include
2056 added includes java/lang/UnsupportedOperationException.h,
2057 java/io/IOException.h, java/net/SocketException.h
2058 (WSAEventWrapper): class implementation
2059 (_Jv_WinStrError): implemented both overloads
2060 (_Jv_ThrowIOException): implemented both overloads
2061 (_Jv_ThrowSocketException): implemented both overloads
2062 (_Jv_select): implemented
2063 * include/win32.h: fixed tab, indentation and whitespace
2065 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
2067 (WSAEventWrapper): added class declaration
2068 (_Jv_WinStrError): added both overload declarations
2069 (_Jv_ThrowIOException): added both overload declarations
2070 (_Jv_ThrowSocketException): added both overload declarations
2071 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
2072 (_Jv_select): added declaration
2073 (_Jv_socket): removed
2074 (_Jv_connect): removed
2075 (_Jv_close): removed
2077 (_Jv_accept): removed
2078 (_Jv_listen): removed
2079 (_Jv_write): removed
2081 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
2082 whitespace inconsistencies
2083 replaced <windows.h> #include with <platform.h>
2084 removed jvm.h include
2085 (testCanUseGetHandleInfo): new function which tests whether Win32
2086 GetHandleInformation() call can be used with console buffer handles
2087 (only supported on >=WinNT 5.0)
2088 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
2089 (valid): rewrote implementation using GetHandleInformation()
2090 (sync): changed exception throwing to use error string and exception
2091 helper methods declared in include/win32.h
2094 (setLength): likewise
2097 (getFilePointer): likewise
2099 * java/io/natFileWin32.cc: fixed tab, indentation and
2100 whitespace inconsistencies
2101 replaced <windows.h> #include with <platform.h>
2102 removed jvm.h include
2103 (_access): use JV_TEMP_UTF_STRING
2105 (performMkDir): use JV_TEMP_UTF_STRING
2106 (performRenameTo): likewise
2107 (performDelete): likewise
2108 (performCreate): likewise
2109 (performSetReadOnly): likewise
2110 (performSetLastModified): likewise
2111 * java/lang/natWin32Process.cc: fixed tab, indentation and
2112 whitespace inconsistencies
2113 replaced <windows.h> #include with <platform.h>
2114 removed includes gcj/cni.h, jvm.h
2115 (new_string): removed
2116 (startProcess): use JV_TEMP_UTF_STRING,
2117 changed exception throwing to use error string and exception
2118 helper methods declared in include/win32.h
2119 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
2120 whitespace inconsistencies
2121 replaced <windows.h> #include with <platform.h>
2122 removed jvm.h include
2123 removed DISABLE_JAVA_NET conditional code
2124 removed POSIX conditional code not relevant to Win32
2125 (aton): use JV_TEMP_UTF_STRING
2126 removed POSIX conditional code not relevant to Win32
2128 (getLocalHostName): likewise
2129 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
2130 whitespace inconsistencies
2131 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
2132 removed DISABLE_JAVA_NET conditional code
2133 removed POSIX conditional code not relevant to Win32
2134 (winsock2GetRealNetworkInterfaces): new function to compute network
2135 interfaces via Winsock2 API
2136 (determineGetRealNetworkInterfacesFN): new function for returning
2137 a function pointer to the function used to compute network interfaces.
2138 (getRealNetworkInterfaces): implemented
2139 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
2140 whitespace inconsistencies
2141 removed gcj/cni.h include
2142 removed DISABLE_JAVA_NET conditional code
2143 removed POSIX conditional code not relevant to Win32
2144 changed net POSIXisms to Win32isms
2145 replaced _Jv socket-related calls with their real Win32 equivalents
2146 changed exception throwing to use error string and exception
2147 helper methods declared in include/win32.h
2148 (peekData): implemented timeout support
2150 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
2151 whitespace inconsistencies
2152 removed gcj/cni.h and gcj/javaprims.h includes
2153 removed DISABLE_JAVA_NET conditional code
2154 removed POSIX conditional code not relevant to Win32
2155 changed net POSIXisms to Win32isms
2156 replaced _Jv socket-related calls with their real Win32
2158 changed exception throwing to use error string and exception
2159 helper methods declared in include/win32.h
2160 (throwConnectException): helper function for connect()
2161 (connect): implemented timeout support
2163 (doRead): new helper function common to both read() method overloads,
2164 includes timeout support
2165 (read): implemented both overloads in terms of doRead()
2166 (available): implemented using ioctlsocket()
2168 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
2170 * java/net/natInetAddressWin32.cc,
2171 java/net/natNetworkInterfaceWin32.cc,
2172 java/net/natPlainDatagramSocketImplWin32.cc,
2173 java/net/natPlainSocketImplWin32.cc:
2174 Readded code enclosed in DISABLE_JAVA_NET defines
2175 in preparation for MinGW cleanup / networking
2178 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
2180 * Makefile.am: Fixed problems with parallel makes.
2181 (all_java_class_files): Readded definition.
2182 (all_java_class_files): New target which depends on
2183 libgcj-@gcc_version@.jar
2184 * Makefile.in: Rebuilt
2186 2003-08-28 Tom Tromey <tromey@redhat.com>
2188 * Makefile.in: Rebuilt.
2189 * Makefile.am (ordinary_java_source_files): Added new files.
2190 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
2192 * java/net/URLClassLoader.java (findClass): Don't use
2193 findURLResource. Use loader's getClass method.
2194 (URLLoader.getClass): New method.
2195 (addURL): Handle `gcjlib' URLs.
2196 (SoURLLoader): New class.
2197 (SoResource): Likewise.
2198 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
2199 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
2200 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
2201 (_Jv_RegisterCoreHook): Declare.
2202 (_Jv_FindCore): Declare.
2203 * gnu/gcj/runtime/SharedLibHelper.java: New file.
2204 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
2206 (core_hook): New function.
2207 (struct SharedLibDummy) [saved_core]: New field.
2208 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
2209 (register_hook): Set protection domain and class loader on new
2211 (finalize): Free core chain.
2212 * gnu/gcj/Core.java (Core): New constructor.
2213 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
2215 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
2216 (_Jv_create_core): New function.
2218 (default_register_resource): New function.
2219 (_Jv_RegisterCoreHook): New global.
2220 (_Jv_RegisterResource): Use it.
2221 (core_chain_struct): Removed.
2222 (_Jv_FindCore): New function.
2223 (_Jv_FreeCoreChain): New function.
2225 2003-08-29 Michael Koch <konqueror@gmx.de>
2227 * java/net/natInetAddressWin32.cc,
2228 java/net/natNetworkInterfaceWin32.cc,
2229 java/net/natPlainDatagramSocketImplWin32.cc,
2230 java/net/natPlainSocketImplWin32.cc:
2231 Removed code enclosed in DISABLE_JAVA_NET defines.
2233 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
2235 * Makefile.am: (write_entries_to_file) New parameterized
2236 function for writing entries to a file one line at a time.
2237 (all_java_class_files): Removed definition.
2238 (.java.class) Removed.target.
2239 (libgcj-@gcc_version@.jar): Changed dependency to
2240 $(all_java_source_files); added compilation step which compiles
2241 all changed source files in one pass.
2242 (libgcj.la) Refactored to use write_entries_to_file.
2243 (lib-gnu-awt-xlib.la) Likewise.
2244 (install-data-local) Likewise.
2245 (write-entries-to-file-check) New target which tests write_entries_to_file.
2246 (all-recursive): Changed dependency from $(all_java_class_files)
2247 to libgcj-@gcc_version@.jar
2248 * Makefile.in: Rebuilt.
2250 2003-08-26 Tom Tromey <tromey@redhat.com>
2252 * java/lang/StrictMath.java: Typo fix.
2253 * java/lang/Math.java: Typo fix.
2255 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
2257 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
2258 of the removed Thread.
2260 2003-08-26 Mark Wielaard <mark@klomp.org>
2262 Reported by David Holmes <dholmes@dltech.com.au>.
2263 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
2264 Collections.synchronizedMap.
2265 * java/lang/ThreadLocal.java (valueMap): Likewise.
2267 2003-08-26 Mark Wielaard <mark@klomp.org>
2269 * java/security/acl/Acl.java: Fix broken p tag.
2270 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
2271 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
2272 * javax/swing/plaf/TreeUI.java: Likewise.
2273 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
2274 * java/util/Properties.java: Use the word umlaut, not ä in api
2276 * java/util/PropertyResourceBundle.java: Likewise and add closing code
2279 2003-08-26 Tom Tromey <tromey@redhat.com>
2281 * Makefile.in: Rebuilt.
2282 * Makefile.am: Removed all GNU-make-specific FIXME comments.
2284 * java/lang/ref/Reference.java (get): Indentation fix.
2285 (clear): Comment fix.
2286 (enqueue): Likewise.
2288 (referent): Likewise.
2290 2003-08-26 Tom Tromey <tromey@redhat.com>
2293 * java/lang/reflect/natArray.cc (set): Allow null as argument.
2295 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
2296 (ProxyData.getPackage): New method.
2297 (ProxyData.getProxyData): Use package name, not Package.
2298 (ClassFactory.ClassFactory): Updated.
2300 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
2301 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
2302 * Makefile.in: re-generated.
2303 * gnu/awt/j2d/IntegerGraphicsState.java
2304 (ScreenCoupledImage): new interface.
2305 (drawImage): detect ScreenCoupledImage instances.
2306 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
2307 * gnu/awt/xlib/XEventLoop.java
2308 (createEvent): re-formatted, and rearranged to avoid null pointer.
2309 * gnu/awt/xlib/XGraphics.java
2310 (drawImage): added XOffScreenImage handling.
2311 * gnu/awt/xlib/XOffScreenImage.java: new file.
2312 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
2313 * gnu/gcj/xlib/GC.java (copyArea): new native method.
2314 * gnu/gcj/xlib/XAnyEvent.java
2315 (TYPE_KEY_PRESS): new constant.
2316 (TYPE_KEY_RELEASE): new constant.
2317 (TYPE_MOTION_NOTIFY): new constant.
2318 (TYPE_ENTER_NOTIFY): new constant.
2319 (TYPE_LEAVE_NOTIFY): new constant.
2320 (TYPE_FOCUS_IN): new constant.
2321 (TYPE_FOCUS_OUT): new constant.
2322 (TYPE_KEYMAP_NOTIFY): new constant.
2323 (TYPE_GRAPHICS_EXPOSE): new constant.
2324 (TYPE_NO_EXPOSE): new constant.
2325 (TYPE_VISIBILITY_NOTIFY): new constant.
2326 (TYPE_CREATE_NOTIFY): new constant.
2327 (TYPE_DESTROY_NOTIFY): new constant.
2328 (TYPE_MAP_REQUEST): new constant.
2329 (TYPE_CONFIGURE_REQUEST): new constant.
2330 (TYPE_GRAVITY_NOTIFY): new constant.
2331 (TYPE_RESIZE_REQUEST): new constant.
2332 (TYPE_CIRCULATE_NOTIFY): new constant.
2333 (TYPE_CIRCULATE_REQUEST): new constant.
2334 (TYPE_PROPERTY_NOTIFY): new constant.
2335 (TYPE_SELECTION_CLEAR): new constant.
2336 (TYPE_SELECTION_REQUEST): new constant.
2337 (TYPE_SELECTION_NOTIFY): new constant.
2338 (TYPE_COLORMAP_NOTIFY): new constant.
2339 (TYPE_MAPPING_NOTIFY): new constant.
2340 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
2341 * gnu/gcj/xlib/natGC.cc (copyArea): new method
2342 * java/awt/Component.java (createImage): changed to use peer method.
2344 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2346 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
2347 name, not XLFD, to native drawString.
2348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2349 Replace XLFD-based implementation with Pango-based
2352 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2354 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
2355 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
2357 2003-08-21 David Daney <ddaney@avtrex.com>
2359 Fix for PR libgcj/12013:
2360 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2361 Check `cleared' field.
2362 * java/lang/ref/Reference.java (copy): Updated comments.
2363 (cleared): New field.
2366 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
2367 Thomas Fitzsimmons <fitzsim@redhat.com>
2369 * Makefile.am (gtk_awt_peer_sources): Add
2370 gnu/java/awt/peer/GLightweightPeer.java. Remove
2371 gnu/java/awt/GLightweightPeer.java.
2372 * gnu/java/awt/GLightweightPeer.java: Remove file.
2373 * gnu/java/awt/peer/GLightweightPeer.java: New file.
2374 * java/awt/Component.java (getToolkit): Add comment about
2375 lightweight components.
2376 * java/awt/Toolkit.java (createComponent): Return
2377 gnu.java.awt.peer.GLightweightPeer.
2379 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
2381 * configure.in: Fix detection of gcj when building with newlib.
2382 * configure: Regenerated.
2384 2003-08-20 Graydon Hoare <graydon@redhat.com>
2386 * jni.cc: Replace "cheating" pointer-casting code with
2387 extract_from_jvalue<> template.
2389 2003-08-20 Andrew Haley <aph@redhat.com>
2391 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
2392 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
2393 (classAt): Break out class lookup function into getClass().
2394 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
2395 handlers when using -fno-assume-compiled.
2397 2003-08-20 Tom Tromey <tromey@redhat.com>
2399 Fix for PR libgcj/9125:
2400 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
2401 object outside of loop. Respect lib_control setting.
2402 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
2404 (lib_control): New field.
2405 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
2406 (VMClassLoader): Initialize new field.
2408 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2409 Set `list->reference' to DELETED_REFERENCE when removing dead
2411 (find_slot): Added an assert.
2412 (DELETED_REFERENCE): New define.
2413 (add_to_hash): Check for DELETED_REFERENCE.
2414 (remove_from_hash): Just return if found slot isn't ours.
2416 2003-08-19 Andrew Haley <aph@redhat.com>
2418 * prims.cc (unblock_signal): New function.
2419 (catch_segv): Use it.
2420 (catch_fpe): Likewise.
2422 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
2425 * java/io/natFileDescriptorWin32.cc (open): Set create
2426 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
2427 Honor EXCL when openning with WRITE flag.
2429 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
2431 * include/jvm.h: New class _Jv_TempUTFString (helper class for
2432 getting a temporary C string from a jstring)
2433 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
2434 but uses a stack buffer if the string length is less than 256
2437 2003-08-18 Tom Tromey <tromey@redhat.com>
2440 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
2441 void. Throw VirtualMachineError if ffi fails. Initialize return
2442 value. Added is_jni_call argument; only wrap exception if not a
2443 JNI call. Use descriptive message if operation not supported.
2444 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
2446 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
2447 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
2449 (_Jv_JNI_CallAnyMethodA): Likewise.
2450 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
2451 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
2453 2003-08-13 Tom Tromey <tromey@redhat.com>
2455 * gij.cc (help): Document -? and -X.
2457 2003-08-12 Graydon Hoare <graydon@redhat.com>
2459 * java/awt/Font.java:
2460 Stub out more recent API.
2462 2003-08-12 Graydon Hoare <graydon@redhat.com>
2464 * java/awt/Color.java (getAlpha):
2465 Prevent sign-extended alpha values.
2467 2003-08-12 Tom Tromey <tromey@redhat.com>
2469 * gij.cc (main): Handle -? and -X.
2471 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
2473 * java/awt/Container.java
2474 (getPreferredSize): Call preferredSize.
2475 (preferredSize): Moved body of getPreferredSize here.
2476 (getMinimumSize): Call minimumSize.
2477 (minimumSize): Moved body of getMinimumSize here.
2479 2003-08-11 Tom Tromey <tromey@redhat.com>
2481 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
2482 (postEvent): Removed FIXME comment.
2483 (isDispatchThread): Documented.
2484 (getCurrentEvent): New method.
2485 (dispatchEvent): Set currentEvent and lastWhen.
2486 (getMostRecentEventTime): Rewrote.
2487 (invokeLater): Documented.
2489 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
2491 * java/io/PrintStream.java (print): Always flush if auto_flush is
2492 set. Don't check for newline characters.
2493 (write (int)): Implement without using a temporary array.
2494 (write (byte[], int, int): Always flush if auto_flush is set. Don't
2495 check for newline characters.
2496 Fixes PR libgcj/11778.
2498 2003-08-08 Andrew Haley <aph@redhat.com>
2500 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
2501 * Makefile.in: Rebuild.
2502 * java/lang/natRuntime.cc (insertSystemProperties): Add
2503 "sun.boot.class.path".
2505 2003-08-07 Andrew Haley <aph@redhat.com>
2507 * java/io/PrintStream.java: Don't crash on a null string.
2509 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2511 * configure.in: Don't initialize GCINCS to boehm-gc/include.
2512 * configure: Regenerate.
2514 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
2516 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
2517 SocketImpl. Update Javadoc.
2518 (bind): Call close() not impl.close() in event of exception.
2519 (connect): Likewise.
2520 Remove superfluous null checks throughout.
2521 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
2522 Don't create an extra socket. Fix for PR libgcj/10868.
2523 (bind): Clean up exception handling.
2524 Remove superfluous null checks throughout.
2526 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
2527 Bryce McKinlay <bryce@mckinlay.net.nz>
2529 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
2530 ready-to-write argument to _Jv_Select. Reset the socket back to
2531 non-blocking state after connecting.
2532 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
2533 Throw SocketTimeoutException not InterruptedIOException.
2534 (read): Throw SocketTimeoutException not InterruptedIOException.
2536 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
2538 * java/lang/Thread.java (Thread): Check for null "name" from
2539 start of private constructor, not after calling the private
2542 2003-08-06 Tom Tromey <tromey@redhat.com>
2544 * java/io/FilePermission.java (equals): Use correct index for
2545 last character of path.
2547 2003-08-06 Alan Modra <amodra@bigpond.net.au>
2549 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
2550 * configure.in: Compare with_cross_host to build_alias, not build.
2551 * aclocal.m4: Regenerate.
2552 * configure: Regenerate.
2554 2003-08-05 Tom Tromey <tromey@redhat.com>
2556 Fix for PR libgcj/11779:
2557 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
2560 * java/lang/reflect/Method.java: Updated status comment.
2561 Imported javadoc from Classpath and re-ordered methods.
2562 * java/lang/reflect/Constructor.java: Reindented. Updated
2563 status comment. Imported javadoc from Classpath and re-ordered
2566 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2568 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
2569 Add keyLocation parameter.
2570 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
2572 (paramString): Generate keyChar string according to keyChar, not
2574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2575 (state_to_awt_mods): Handle ALT key.
2576 (keyevent_state_to_awt_mods): New function.
2577 (get_first_keyval_from_keymap): New function.
2578 (keysym_to_awt_keycode): Get virtual key code from keymap.
2579 Handle missing VK_ values.
2580 (keysym_to_awt_keylocation): New function.
2581 (keyevent_to_awt_keychar): New function.
2582 (generates_key_typed_event): Handle non-text-component case.
2583 Handle GDK_KP_Delete and GDK_KP_Enter.
2584 (awt_event_handler): Call new functions to get postKeyEvent
2586 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
2587 Update postKeyEvent method signature.
2588 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
2591 2003-08-05 Matthias Klose <doko@debian.org>
2593 * aclocal.m4: check for libart-config binary
2594 under the name libart2-config as well.
2595 * configure: regenerated.
2597 2003-08-04 David P Grove <groved@us.ibm.com>
2599 * java/text/DecimalFormat.java (format): avoid ArithmeticException
2600 when groupingSize is 0.
2603 2003-08-04 Matthias Klose <doko@debian.org>
2605 * libart.m4: check for libart-config binary
2606 under the name libart2-config as well.
2607 * configure, aclocal.m4: regenerated.
2609 2003-08-02 Michael Koch <konqueror@gmx.de>
2611 * java/nio/ByteBufferImpl.java
2612 (getChar): Check remaining bytes, fixed comment about endianess.
2613 (putChar): Likewise.
2614 (getShort): Likewise.
2615 (putShort): Likewise.
2616 (getInt): Check remaining bytes, fixed conversion, fixed comment about
2619 (getLong): Likewise.
2620 (putLong): Likewise.
2621 (getFloat): Likewise.
2622 (putFloat): Likewise.
2623 (getDouble): Likewise.
2624 (putDouble): Likewise.
2625 * java/nio/DirectByteBufferImpl.java
2626 (getChar): Wrapped code, fixed comment about endianess.
2627 (putchar): Likewise.
2628 (getShort): Likewise.
2629 (putShort): Likewise.
2630 (getInt): Fixed conversion, fixed comment about endianess.
2632 (getLong): Likewise.
2633 (putLong): Likewise.
2634 (getFloat): Likewise.
2635 (putFloat): Likewise.
2636 (getDouble): Likewise.
2637 (putDouble): Likewise.
2638 * java/nio/MappedByteBufferImpl.java
2639 (compact): Implemented.
2640 (getChar): Implemented.
2641 (putChar): Implemented.
2642 (getDouble): Implemented.
2643 (putdouble): Implemented.
2644 (getFloat): Implemented.
2645 (putFloat): Implemented.
2646 (getInt): Implemented.
2647 (putInt): Implemented.
2648 (getLong): Implemented.
2649 (putLong): Implemented.
2650 (getShort): Implemented.
2651 (putShort): Implemented.
2652 * java/nio/channels/FileChannelImpl.java
2653 (read): Set position where to access file.
2655 (transferTo): Flip buffer after read and before write.
2656 (transferFrom): Likewise.
2658 2003-08-02 Michael Koch <konqueror@gmx.de>
2660 * gnu/java/lang/ArrayHelper.java
2661 (equalsArray): Reformated, added method documentation.
2663 2003-08-02 Michael Koch <konqueror@gmx.de>
2666 (URL): Added paragraph about the
2667 gnu.java.net.nocache_protocol_handlers property.
2668 (ph_cache): Renamed from handlers to match classpath's implementation.
2669 Reordered it with factory and serialVersionUID member variables.
2670 (cache_handlers): New member variable.
2671 (static): New static initializer to initialize cache_handlers from
2672 gnu.java.net.nocache_protocol_handlers property.
2673 (URL): Use ph_cache instead of handlers, reformatted some code to
2674 match classpath's implementation.
2676 2003-08-01 Tom Tromey <tromey@redhat.com>
2678 Fix for PR libgcj/11241:
2679 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
2680 initialCapacity is 0, set it to 1.
2682 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
2684 * java/net/SocketImpl.java (toString): Display the remote address
2685 of an unconnected server socket as "0.0.0.0/0.0.0.0".
2687 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
2689 * javax/swing/border/BevelBorder.java,
2690 javax/swing/border/EtchedBorder.java,
2691 javax/swing/border/LineBorder.java,
2692 javax/swing/border/MatteBorder.java,
2693 javax/swing/border/SoftBevelBorder.java,
2694 javax/swing/plaf/BorderUIResource.java,
2695 javax/swing/plaf/ComponentUI.java,
2696 javax/swing/plaf/TreeUI.java,
2697 javax/swing/plaf/basic/BasicBorders.java,
2698 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2699 javax/swing/plaf/basic/BasicTreeUI.java:
2700 Prepend "doc-files" to all paths to embedded Javadoc images, so
2701 that the generated documentation contains the correct URL.
2703 2003-08-01 Tom Tromey <tromey@redhat.com>
2705 * configure: Rebuilt.
2706 * configure.in (tool_include_dir): Redefine to match gcc.
2708 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
2709 Mark Wielaard <mark@klomp.org>
2711 * java/math/BigDecimal (divide): Correctly handle
2712 ROUND_HALF_EVEN when amount is greater than 0.5.
2713 Simplify and optimize code.
2715 2003-07-31 Tom Tromey <tromey@redhat.com>
2717 More for PR libgcj/11737:
2718 * java/io/ObjectInputStream.java (processResolution): Use
2720 (getMethod): Make method accessible.
2721 (getField): Make field accessible.
2722 (setBooleanField): Don't call setAccessible here.
2723 (setByteField, setCharField, setDoubleField, setFloatField,
2724 setIntField, setLongField, setShortField, setObjectField):
2726 (callReadMethod): Don't check whether method is null. Catch
2727 NoSuchMethodException.
2728 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
2729 cause on thrown exceptions.
2731 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
2733 Fix for PR libgcj/11728:
2734 * java/util/HashMap.java (readObject): Set size.
2736 2003-07-31 Tom Tromey <tromey@redhat.com>
2738 Fix for PR libgcj/11737:
2739 * java/io/ObjectOutputStream.java (getMethod): Make method
2741 (getField): Likewise.
2742 (writeObject): Use getMethod.
2743 Import PrivilegedAction and AccessController.
2744 (callWriteMethod): Don't check whether m is null. Catch
2745 NoSuchMethodException.
2747 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
2748 (containsAngle): Likewise.
2749 (getStartPoint): Rewrote.
2750 (getEndPoint): Likewise.
2751 (setAngleStart(Point2D)): Likewise.
2753 2003-07-31 Roger Sayle <roger@eyesopen.com>
2754 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2756 * configure.in: Add new THREADCXXFLAGS variable.
2757 Handle POSIX threads on alpha*-dec-osf*.
2758 * configure: Regenerate.
2759 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
2760 * Makefile.in: Regenerate.
2762 2003-07-08 Andrew Haley <aph@redhat.com>
2764 * include/i386-signal.h (RESTORE): New.
2765 (INIT_SEGV): Set restorer.
2766 (INIT_FPE): Likewise.
2768 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2770 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
2772 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2773 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
2774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2775 (gtkSetFont): Scale size parameter by PANGO_SCALE.
2776 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
2778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
2781 2003-07-29 Tom Tromey <tromey@redhat.com>
2783 * defineclass.cc (handleField): Throw exception if field name is
2785 (handleMethod): Throw exception for duplicate method.
2787 2003-07-29 Tom Tromey <tromey@redhat.com>
2789 * gnu/gcj/convert/natIconv.cc (write): Handle case where
2790 output buffer is too small.
2792 2003-07-28 Tom Tromey <tromey@redhat.com>
2794 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
2796 Include gnu/gcj/runtime/StringBuffer.h.
2797 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
2799 (String(gnu.gcj.runtime.StringBuffer)): Use it.
2801 2003-07-27 Anthony Green <green@redhat.com>
2803 * configure.in: Fix newlib check.
2804 * configure: Rebuilt.
2806 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
2808 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2809 Create vbox and layout for GtkPlug.
2811 2003-07-27 Michael Koch <konqueror@gmx.de>
2813 * java/awt/Window.java
2814 (Window): Removed now unused constructor. It became oboslete with the
2815 new embedded window patch.
2817 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
2818 Michael Koch <konqueror@gmx.de>
2820 * gnu/java/awt/EmbeddedWindow.java
2821 (EmbeddedWindow): Extends Frame instead of Window.
2822 (window_id): New member variable to store the native window handle.
2824 (EmbeddedWindow): New constructor.
2825 (addNotify): New method.
2826 (getHandler): Likewise.
2827 (setWindowPeer): New native method.
2828 * gnu/java/awt/EmbeddedWindowSupport.java
2829 (EmbeddedWindowSupport): Fixed documentation.
2830 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
2831 WindowPeer, give it an EmbeddedWindow instance instead of the raw
2833 * gnu/java/awt/natEmbeddedWindow.cc
2835 (setWindowPeer): New method.
2836 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
2837 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
2838 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2840 * gnu/java/awt/peer/gtk/GtkToolkit.java
2841 (GtkToolkit): Implements EmbeddedWindowSupport.
2842 (createEmbeddedWindow): New method.
2843 * java/awt/Window.java
2846 (java_source_files): Added EmbeddedWindowPeer.java.
2847 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
2848 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
2849 * Makefile.in: Regenerated.
2851 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
2853 * java/lang/Win32Process.java (ConcreteProcess): Surround
2854 a command line element with quotes if it contains an
2855 embedded space or tab.
2856 * java/lang/natWin32Process.cc (startProcess): Do not
2857 surround command line elements with quotes here.
2859 * configure.host: Use -fcheck-references and
2860 -fuse-divide-subroutine for MinGW until we fix
2861 win32_exception_handler( ) in win32.cc w.r.t. Win32
2862 Structured Exception Handling (SEH).
2864 * win32.cc (_Jv_platform_initProperties): Use generic names
2865 like "x86" for the "os.arch" property to be consistent with
2866 what Sun's JDK produces. Use the wProcessorArchitecture
2867 member of the Win32 SYSTEM_INFO structure, filled in a call
2868 to GetSystemInfo( ), instead of dwProcessorType.
2870 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
2871 Ranjit Mathew <rmathew@hotmail.com>
2873 * Makefile.am: Use cross-compiling gcjh from the path for
2874 a crossed-native build.
2875 * Makefile.in: Rebuilt.
2876 * configure.in: Include libltdl in non-newlib builds.
2877 Moved determination of gcj used to build libraries to
2878 its own section. Fixed cross-compilation issues for
2880 * configure: Rebuilt.
2882 2003-07-25 Tom Tromey <tromey@redhat.com>
2884 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
2889 2003-07-25 Mark Wielaard <mark@klomp.org>
2891 * java/lang/natRuntime.cc (_load): Add library name to
2892 UnsatisfiedLinkError when thrown.
2894 2003-07-25 Mark Wielaard <mark@klomp.org>
2896 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
2898 * Makefile.in: Likewise.
2900 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
2902 * java/awt/Component.java
2903 (getPreferredSize): Call preferredSize.
2904 (preferredSize): Moved body of getPreferredSize here.
2905 (getMinimumSize): Call minimumSize.
2906 (minimumSize): Moved body of getMinimumSize here.
2907 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
2908 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
2910 * java/awt/Container.java
2911 (validate): Don't validate if there is no peer.
2912 (update): Clear background before calling paint.
2913 * java/awt/GridBagLayout.java
2914 Completed the implementation and fixed several bugs.
2915 * java/awt/MediaTracker.java
2916 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
2918 * java/awt/Window.java
2919 (Window): Don't call setVisible(false). Windows are invisible by
2920 default and calling virtual methods from constructor causes
2921 compatibility problems (e.g. subclasses may assume that the peer
2924 2003-07-25 Michael Koch <konqueror@gmx.de>
2926 * java/awt/GridBagLayout.java:
2927 Totally reworked and partly implemented.
2928 * java/awt/GridBagLayoutInfo.java:
2931 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2934 Don't pack label in an event box.
2936 2003-07-24 Tom Tromey <tromey@redhat.com>
2939 * verify.cc (ref_intersection): New class.
2940 (type_val): Removed unresolved_reference_type,
2941 uninitialized_unresolved_reference_type.
2942 (is_assignable_from_slow): Rewrote.
2943 (type::data): Removed.
2944 (type::klass): New field.
2945 (type::type): Added verifier argument.
2946 (type::resolve): Removed.
2947 (type::set_uninitialized): Updated for change to type_val.
2948 (type::set_initialized): Likewise.
2949 (type::isinitialized): Likewise.
2950 (type::print): Likewise.
2951 (construct_primitive_array_type): Likewise.
2952 (type::compatible): Updated for change to type_val and to use
2954 (type::isarray): Updated to use ref_intersection.
2955 (type::isinterface): Likewise.
2956 (type::element_type): Likewise.
2957 (type::to_array): Likewise.
2958 (type::verify_dimensions): Rewrote.
2959 (type::merge): Likewise.
2960 (check_class_constant): Updated for type constructor change.
2961 (check_constant): Likewise.
2962 (check_field_constant): Likewise.
2963 (get_one_type): Likewise.
2964 (initialize_stack): Likewise.
2965 (verify_instructions_0): Likewise.
2966 (verify_instructions_0) [op_invokeinterface]: Removed special
2968 (isect_list): New field.
2969 (_Jv_BytecodeVerifier): Initialize it.
2970 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
2972 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
2974 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2975 unless field size is 2.
2977 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2979 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2980 (connectHooks): New method.
2981 (handleEvent): Remove.
2982 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2983 (createHooks): Remove declaration.
2984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2985 (generates_key_typed_event): Change to handle only certain
2987 (awt_event_handler): Add special handling for GtkTextView.
2988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2989 (textcomponent_commit_cb): New function.
2990 (textcomponent_changed_cb): Likewise.
2991 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2992 (connectHooks): Remove.
2994 2003-07-23 Tom Tromey <tromey@redhat.com>
2996 * java/lang/natSystem.cc (arraycopy): Check for overflow.
2998 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
3000 2003-07-22 Tom Tromey <tromey@redhat.com>
3002 * boehm.cc (_Jv_BuildGCDescr): Wrote.
3005 2003-07-22 Tom Tromey <tromey@redhat.com>
3007 * java/awt/Window.java (getWarningString): Just return the
3009 (Window): Set warningString; check with security manager.
3011 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
3013 * gnu/awt/xlib/XGraphicsConfiguration.java
3014 (FontMetricsCache): Made static.
3016 2003-07-22 Tom Tromey <tromey@redhat.com>
3018 * java/net/URLEncoder.java (encode(String)): Use platform default
3020 (encode(String,String)): Convert to 2-digit upper-case hex
3024 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3026 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3027 (create): Remove unused method implementation.
3028 (connectHooks): Remove debug messages.
3030 2003-07-20 Anthony Green <green@redhat.com>
3032 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
3033 CloneNotSupportedException.
3034 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
3035 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
3036 * gnu/gcj/xlib/GC.java (clone): Ditto.
3037 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
3038 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
3040 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
3042 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
3044 2003-07-20 Steve Pribyl <steve@netfuel.com.>
3046 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
3047 String. Put dlerror() message into exception.
3048 Include UnsatisfiedLinkError.
3049 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
3052 2003-07-20 Tom Tromey <tromey@redhat.com>
3054 * java/lang/Runtime.java: Comment fix.
3055 * java/lang/ClassLoader.java (isAncestorOf): New method.
3056 (getParent): Uncommented security check. Use isAncestorOf.
3057 * include/jvm.h (_Jv_CheckAccess): Declare.
3058 * java/lang/reflect/natConstructor.cc (newInstance): Perform
3060 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
3061 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
3062 class loader to _Jv_GetArrayClass.
3063 Include ArrayIndexOutOfBoundsException.h.
3064 * java/lang/reflect/Field.java: Update comment to reflect status.
3065 (equals): Fixed indentation.
3066 * java/lang/Class.h (Class): Declare memberAccessCheck, not
3067 checkMemberAccess. Make _Jv_CheckAccess a friend.
3068 * java/lang/Class.java (memberAccessCheck): New method from
3070 (checkMemberAccess): Removed.
3071 (getDeclaredMethod): Use memberAccessCheck.
3072 (getField): Likewise.
3073 (getMethod): Likewise.
3074 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
3075 (_Jv_SearchMethodInClass): Likewise.
3076 * prims.cc (_Jv_CheckAccess): New function.
3077 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
3078 (_Jv_JNI_GetAnyFieldID): Likewise.
3079 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
3080 (getClassLoader): Added security check.
3081 (getConstructor): Call memberAccessCheck.
3082 (getDeclaredClasses): Likewise.
3083 (getDeclaredField): Likewise.
3084 (getDeclaredFields): Likewise.
3085 (_getConstructors): Likewise.
3086 (getDeclaredConstructor): Likewise.
3087 (getDeclaredMethods): Likewise.
3088 (getFields): Likewise.
3089 (getMethods): Likewise.
3090 (newInstance): Likewise.
3091 (_Jv_MakeVTable): Put method name in exception.
3092 * java/lang/reflect/natMethod.cc (getType): Use
3093 getClassLoaderInternal.
3094 (_Jv_GetTypesFromSignature): Likewise.
3095 (invoke): Perform access check.
3096 (_Jv_CallAnyMethodA): Removed old FIXME comments.
3097 Include ArrayIndexOutOfBoundsException.h.
3098 * java/lang/reflect/natField.cc (getType): Use
3099 getClassLoaderInternal.
3100 (_Jv_CheckFieldAccessibility): Removed.
3101 (getAddr): Use _Jv_CheckAccess; find caller.
3102 Include ArrayIndexOutOfBoundsException.h.
3104 2003-07-20 Michael Koch <konqueror@gmx.de>
3107 (URL): Fixed documentation to name an argument correcty, Reformatted
3108 one method declaration.
3109 (getURLStreamHandler): Added documentation from classpath.
3111 2003-07-19 Tom Tromey <tromey@redhat.com>
3113 * mauve-libgcj: Don't run CollationElementIterator tests.
3115 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
3117 * java/net/URLClassLoader.java (addURL): Moved implementation to
3118 private addURLImpl() to avoid calling addURL from the constructor.
3119 (addURLImpl): Contains the code that was previously in addURL.
3120 (addURLs): Call addURLImpl(), not addURL().
3122 2003-07-18 Graydon Hoare <graydon@redhat.com>
3124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
3125 Handle missing event cases, connect to "value-changed" signal.
3127 2003-07-18 Graydon Hoare <graydon@redhat.com>
3129 * java/awt/geom/CubicCurve2D.java,
3130 java/awt/geom/Line2D.java,
3131 java/awt/geom/QuadCurve2D.java,
3132 java/awt/geom/Rectangle2D.java:
3133 Fix path some calculations, make path iterators follow
3136 2003-07-18 Mark Wielaard <mark@klomp.org>
3138 * java/util/logging/Handler.java (isLoggable): Check record level
3141 2003-07-17 Michael Koch <konqueror@gmx.de>
3143 * gnu/java/awt/peer/gtk/GtkToolkit.java:
3146 2003-07-14 Michael Koch <konqueror@gmx.de>
3148 * gnu/java/rmi/server/UnicastServerRef.java:
3149 New version from classpath.
3151 2003-07-14 Michael Koch <konqueror@gmx.de>
3153 * java/awt/image/MemoryImageSource.java,
3154 java/beans/PropertyEditorManager.java,
3155 javax/naming/CompoundName.java,
3156 javax/naming/spi/NamingManager.java,
3157 javax/swing/AbstractButton.java,
3158 javax/swing/ButtonModel.java,
3159 javax/swing/SwingUtilities.java,
3160 javax/swing/UIManager.java,
3161 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3162 javax/swing/event/AncestorEvent.java,
3163 javax/swing/event/InternalFrameEvent.java,
3164 java/util/zip/ZipFile.java:
3165 New versions from classpath.
3167 2003-07-13 Michael Koch <konqueror@gmx.de>
3169 * gnu/java/nio/FileChannelImpl.java,
3170 gnu/java/nio/natFileChannelImpl.cc: Removed.
3171 * java/io/FileInputStream.java,
3172 java/io/FileOutputStream.java,
3173 java/io/RandomAccessFile.java,
3174 java/nio/MappedByteBufferImpl.java:
3175 Import java.nio.channels.FileChannelImpl instead of
3176 gnu.java.nio.FileChannelImpl.
3177 * java/nio/channels/FileChannelImpl.java,
3178 java/nio/channels/natFileChannelImpl.cc:
3181 (ordinary_java_source_files):
3182 Removed gnu/java/nio/FileChannelImpl.java and added
3183 java/nio/channels/FileChannelImpl.java.
3185 Removed gnu/java/nio/natFileChannelImpl.cc and added
3186 java/nio/channels/natFileChannelImpl.cc.
3187 * Makefile.in: Regenerated.
3189 2003-07-13 Michael Koch <konqueror@gmx.de>
3191 * javax/swing/plaf/basic/BasicBorders.java,
3192 javax/swing/plaf/basic/BasicLabelUI.java,
3193 javax/swing/plaf/basic/BasicLookAndFeel.java,
3194 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3195 javax/swing/plaf/basic/BasicTextUI.java,
3196 javax/swing/plaf/metal/MetalLookAndFeel.java:
3197 New versions from classpath.
3199 2003-07-13 Michael Koch <konqueror@gmx.de>
3201 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3202 * gnu/java/awt/peer/gtk/GdkGraphics.java
3203 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
3204 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
3205 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
3206 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
3207 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
3208 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3209 * gnu/java/awt/peer/gtk/GtkClipboard.java
3210 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
3211 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3212 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3213 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
3214 * gnu/java/awt/peer/gtk/GtkImage.java
3215 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3216 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
3217 * gnu/java/awt/peer/gtk/GtkListPeer.java
3218 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
3219 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
3220 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
3221 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
3222 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
3223 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
3224 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
3225 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3226 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
3227 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
3228 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3229 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3231 2003-07-13 Michael Koch <konqueror@gmx.de>
3233 * gnu/java/locale/LocaleInformation_de.java
3234 * gnu/java/locale/LocaleInformation_en.java
3235 * gnu/java/locale/LocaleInformation_nl.java
3237 2003-07-13 Michael Koch <konqueror@gmx.de>
3239 * gnu/java/awt/EmbeddedWindow.java,
3240 gnu/java/awt/EmbeddedWindowSupport.java,
3241 gnu/java/awt/natEmbeddedWindow.cc:
3243 * java/awt/Window.java
3244 (Window): New constructor to support embedded windows.
3246 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
3247 gnu/java/awt/EmbeddedWindowSupport.java.
3248 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
3249 * Makefile.in: Regenerated.
3251 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
3253 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
3254 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
3255 * java/awt/im/InputContext.java: Remove a redundant
3258 2003-07-09 Tom Tromey <tromey@redhat.com>
3260 * Makefile.in: Rebuilt.
3261 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
3263 2003-07-09 Mark Wielaard <mark@klomp.org>
3265 * java/io/ObjectOutputStream.java (writeObject): break after
3266 calling writeClassDescriptor().
3268 2003-07-09 Mark Mitchell <mark@codesourcery.com>
3270 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
3272 2003-07-09 Michael Koch <konqueror@gmx.de>
3274 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3275 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3276 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
3277 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
3278 Explicitly import used classes.
3279 * java/awt/Container.java: New version from classpath.
3281 2003-07-09 Michael Koch <konqueror@gmx.de>
3283 * libgcj.pc.in: New file.
3284 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
3285 * Makefile.in: Regenerated.
3286 * configure: Regenrated.
3287 * configure.in: Create libgcj.pc from libgcj.pc.in.
3289 2003-07-08 Mark Wielaard <mark@klomp.org>
3291 * gcj/cni.h: CNI now expands to Compiled Native Interface.
3293 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
3294 * java/lang/fdlibm.h: Likewise.
3296 2003-07-07 Adam Megacz <adam@xwt.org>
3298 * posix.cc: added #include<stdio.h>
3300 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3302 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
3305 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3306 (setCaretPosition, setEditable): Rely entirely on native
3309 (postTextEvent): New method.
3310 (handleEvent): New method.
3311 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
3313 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
3314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3315 (keysym_to_awt_keycode): Fix range checks.
3316 (generates_key_typed_event): New function.
3317 (awt_event_handler): Post AWT_KEY_RELEASED events to event
3319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3320 (gtkInit): Store TextComponent's postTextEvent method ID.
3321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3322 (setText): Post TEXT_VALUE_CHANGED event to event queue.
3324 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3326 * configure.in: Check for usleep declaration.
3327 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
3328 * configure: Regenerate.
3329 * include/config.h.in: Likewise.
3330 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
3332 2003-07-01 Michael Koch <konqueror@gmx.de>
3334 * gnu/gcj/convert/natIconv.cc
3335 (iconv_init): Fixed possible memory leak by releasing allocated iconv
3338 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3340 * glib-2.0.m4: New file.
3341 * gtk-2.0.m4: New file.
3344 * configure.in: Update AM_PATH_GTK macro call to
3345 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
3346 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
3347 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3348 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3349 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
3350 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3351 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3352 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
3353 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3354 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3355 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
3356 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3357 jni/gtk-peer/gthread-jni.c,
3358 jni/gtk-peer/gthread-jni.h:
3359 New versions from classpath.
3360 * aclocal.m4: Regenerate.
3361 * configure: Regenerate.
3362 * Makefile.in: Regenerate.
3363 * gcj/Makefile.in: Regenerate.
3364 * include/Makefile.in: Regenerate.
3365 * testsuite/Makefile.in: Regenerate.
3367 2003-06-30 Gary Benson <gbenson@redhat.com>
3369 For PR libgcj/11349:
3370 * javax/naming/spi/NamingManager.java (getURLContext): Use
3371 correct name for factory class.
3373 2003-06-28 Michael Koch <konqueror@gmx.de>
3375 * java/io/PrintStream.java
3376 (checkError): Call flush() instead of direct flushing of the Writer
3378 (print): Call print(String) instead of direct print method of the
3380 (println): Call println(String) instead of direct println method of the
3382 (write): Simplified.
3384 2003-06-28 Michael Koch <konqueror@gmx.de>
3386 * java/net/ServerSocket.java
3387 (setChannel): New method.
3388 * java/net/Socket.java
3389 (setChannel): New method.
3391 2003-06-27 Michael Koch <konqueror@gmx.de>
3393 * java/beans/beancontext/BeanContextSupport.java:
3394 New version from classpath.
3396 2003-06-27 Michael Koch <konqueror@gmx.de>
3398 * java/awt/Window.java,
3399 java/awt/font/GraphicAttribute.java,
3400 java/awt/font/ImageGraphicAttribute.java,
3401 java/awt/image/DataBufferByte.java,
3402 java/awt/image/DataBufferInt.java,
3403 java/awt/image/DataBufferUShort.java,
3404 java/awt/image/DirectColorModel.java,
3405 java/awt/image/PixelGrabber.java:
3406 New versions from classpath.
3408 2003-06-27 Michael Koch <konqueror@gmx.de>
3410 * java/security/Certificate.java
3411 (getGuarantor): Removed wrong @deprecated tag.
3412 (getPrincipal): Likewise.
3413 (getPublicKey): Likewise.
3416 (getFormat): Likewise.
3417 (toString): Likewise.
3418 * java/security/cert/PolicyQualifierInfo.java
3419 (PolicyQualifierInfo): Made final.
3420 * javax/security/auth/x500/X500Principal.java
3421 (serialVersionUID): New member variable.
3423 2003-06-27 Michael Koch <konqueror@gmx.de>
3425 * java/text/Format.java
3426 (serialVersionUID): Fixed value.
3428 2003-06-27 Michael Koch <konqueror@gmx.de>
3430 * java/net/Inet4Address.java
3431 (Inet4Address): Made package-private.
3432 * java/net/Inet6Address.java
3433 (Inet4Address): Made package-private.
3435 2003-06-27 Michael Koch <konqueror@gmx.de>
3437 * java/io/RandomAccessFile.java
3438 (readLine): Removed wrong @deprecated tag.
3439 (getChannel): Made final.
3441 2003-06-27 Michael Koch <konqueror@gmx.de>
3443 * gnu/java/nio/FileChannelImpl.java
3446 2003-06-27 Michael Koch <konqueror@gmx.de>
3448 * java/nio/ByteBufferImpl.java
3449 (ByteBufferImpl): Made it a package-private class
3450 * java/nio/CharBufferImpl.java
3451 (CharBufferImpl): Made it a package-private class
3452 * java/nio/DirectByteBufferImpl.java
3453 (DirectByteBufferImpl): Made it a package-private class
3454 * java/nio/DoubleBufferImpl.java
3455 (DoubleBufferImpl): Made it a package-private class
3456 * java/nio/FloatBufferImpl.java
3457 (FloatBufferImpl): Made it a package-private class
3458 * java/nio/IntBufferImpl.java
3459 (IntBufferImpl): Made it a package-private class
3460 * java/nio/LongBufferImpl.java
3461 (LongBufferImpl): Made it a package-private class
3462 * java/nio/ShortBufferImpl.java
3463 (ShortBufferImpl): Made it a package-private class
3464 * java/nio/channels/FileChannel.java
3465 (write): Made final.
3466 * java/nio/channels/ServerSocketChannel.java
3467 (ServerSocketChanne): Made protected.
3469 2003-06-27 Michael Koch <konqueror@gmx.de>
3471 * javax/naming/CompositeName.java
3472 (serialVersionUID): New member variable.
3473 * javax/naming/CompoundName.java
3474 (serialVersionUID): New member variable.
3475 * javax/naming/InitialContext.java
3476 (InitialContext): Throws NamingException.
3478 * javax/naming/LinkRef.java
3479 (serialVersionUID): New member variable.
3480 (gteLinkName): Throws NamingException.
3481 * javax/naming/NamingException.java
3482 (serialVersionUID): New member variable.
3483 * javax/naming/NamingSecurityException.java
3484 (NamingSecurityException): Made abstract.
3485 (serialVersionUID): New member variable.
3486 * javax/naming/ReferralException.java
3487 (serialVersionUID): New member variable.
3488 * javax/naming/StringRefAddr.java
3489 (serialVersionUID): New member variable.
3490 * javax/naming/directory/BasicAttribute.java:
3492 (serialVersionUID): New member variable.
3493 (get): Throws NamingException.
3494 (getAll): Throws NamingException.
3495 * javax/naming/directory/BasicAttributes.java:
3497 (serialVersionUID): New member variable.
3498 * javax/naming/ldap/UnsolicitedNotificationEvent.java
3499 (serialVersionUID): New member variable.
3501 2003-06-27 Michael Koch <konqueror@gmx.de>
3504 (awt_java_source_files): Added new files:
3505 javax/swing/Popup.java,
3506 javax/swing/PopupFactory.java
3507 * Makefile.in: Regenerated.
3509 2003-06-27 Michael Koch <konqueror@gmx.de>
3511 * javax/swing/JWindow.java,
3512 javax/swing/event/AncestorEvent.java,
3513 javax/swing/event/HyperlinkEvent.java,
3514 javax/swing/event/InternalFrameEvent.java,
3515 javax/swing/event/ListDataEvent.java,
3516 javax/swing/event/TableModelEvent.java,
3517 javax/swing/plaf/PopupMenuUI.java,
3518 javax/swing/plaf/SplitPaneUI.java,
3519 javax/swing/plaf/TabbedPaneUI.java,
3520 javax/swing/plaf/TextUI.java,
3521 javax/swing/plaf/TreeUI.java,
3522 javax/swing/plaf/basic/BasicTextUI.java,
3523 javax/swing/plaf/basic/BasicTreeUI.java:
3524 New versions from classpath.
3525 * javax/swing/Popup.java,
3526 javax/swing/PopupFactory.jav:
3527 New source files from classpath.
3528 * javax/swing/plaf/doc-files/TreeUI-1.png:
3529 New binary files from classpath.
3531 2003-06-25 Michael Koch <konqueror@gmx.de>
3534 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
3535 * Makefile.in: Regenerated.
3537 2003-06-25 Michael Koch <konqueror@gmx.de>
3539 * javax/swing/plaf/ActionMapUIResource.java,
3540 javax/swing/plaf/BorderUIResource.java,
3541 javax/swing/plaf/ButtonUI.java,
3542 javax/swing/plaf/ColorChooserUI.java,
3543 javax/swing/plaf/ColorUIResource.java,
3544 javax/swing/plaf/ComboBoxUI.java,
3545 javax/swing/plaf/ComponentInputMapUIResource.java,
3546 javax/swing/plaf/ComponentUI.java,
3547 javax/swing/plaf/DesktopIconUI.java,
3548 javax/swing/plaf/DesktopPaneUI.java,
3549 javax/swing/plaf/DimensionUIResource.java,
3550 javax/swing/plaf/FileChooserUI.java,
3551 javax/swing/plaf/FontUIResource.java,
3552 javax/swing/plaf/IconUIResource.java,
3553 javax/swing/plaf/InputMapUIResource.java,
3554 javax/swing/plaf/InsetsUIResource.java,
3555 javax/swing/plaf/InternalFrameUI.java,
3556 javax/swing/plaf/LabelUI.java,
3557 javax/swing/plaf/ListUI.java,
3558 javax/swing/plaf/MenuBarUI.java,
3559 javax/swing/plaf/MenuItemUI.java,
3560 javax/swing/plaf/OptionPaneUI.java,
3561 javax/swing/plaf/PanelUI.java,
3562 javax/swing/plaf/ProgressBarUI.java,
3563 javax/swing/plaf/RootPaneUI.java,
3564 javax/swing/plaf/ScrollBarUI.java,
3565 javax/swing/plaf/ScrollPaneUI.java,
3566 javax/swing/plaf/SeparatorUI.java,
3567 javax/swing/plaf/SliderUI.java,
3568 javax/swing/plaf/TableHeaderUI.java,
3569 javax/swing/plaf/TableUI.java,
3570 javax/swing/plaf/ToolBarUI.java,
3571 javax/swing/plaf/ToolTipUI.java,
3572 javax/swing/plaf/ViewportUI.java:
3573 New versions from classpath.
3574 * javax/swing/plaf/SpinnerUI.java:
3575 New file from classpath
3577 2003-06-25 Michael Koch <konqueror@gmx.de>
3579 * java/awt/image/ColorModel.java:
3580 New version from classpath.
3582 2003-06-25 Michael Koch <konqueror@gmx.de>
3584 * java/net/PlainDatagramSocketImpl.java:
3585 Partly merged with classpath, this mainly adds documentation.
3587 2003-06-25 Michael Koch <konqueror@gmx.de>
3589 * java/io/ObjectInputStream.java
3590 (readClassDescriptor): New method.
3591 (readObject): Moved functionality to readClassDescriptor().
3592 * java/io/ObjectOutputStream.java
3593 (writeClassDescriptor): New method.
3594 (writeObject): Moved functionality to writeClassDescriptor().
3596 2003-06-25 Michael Koch <konqueror@gmx.de>
3598 * javax/swing/plaf/basic/BasicListUI.java,
3599 javax/swing/plaf/basic/BasicOptionPaneUI.java:
3600 Added missing methods.
3602 2003-06-25 Michael Koch <konqueror@gmx.de>
3604 * javax/swing/event/AncestorEvent.java
3605 javax/swing/event/HyperlinkEvent.java
3606 javax/swing/event/InternalFrameEvent.java
3607 javax/swing/event/ListDataEvent.java
3608 javax/swing/event/TableModelEvent.java:
3611 2003-06-24 Michael Koch <konqueror@gmx.de>
3613 * java/net/URL.java:
3614 Renamed "handler" to "ph" in the whole file to match classpaths
3616 * java/net/URLStreamHandler.java:
3617 (equals): Renamed "handler" to "ph".
3619 2003-06-24 Michael Koch <konqueror@gmx.de>
3621 * javax/swing/event/AncestorEvent.java,
3622 javax/swing/event/HyperlinkEvent.java,
3623 javax/swing/event/InternalFrameEvent.java,
3624 javax/swing/event/ListDataEvent.java,
3625 javax/swing/event/TableModelEvent.java,
3626 javax/swing/event/TreeWillExpandListener.java,
3627 javax/swing/plaf/ComponentUI.java,
3628 javax/swing/plaf/DesktopIconUI.java,
3629 javax/swing/plaf/DesktopPaneUI.java,
3630 javax/swing/plaf/DimensionUIResource.java,
3631 javax/swing/plaf/FileChooserUI.java,
3632 javax/swing/plaf/FontUIResource.java,
3633 javax/swing/plaf/IconUIResource.java,
3634 javax/swing/plaf/InputMapUIResource.java,
3635 javax/swing/plaf/InsetsUIResource.java,
3636 javax/swing/plaf/InternalFrameUI.java,
3637 javax/swing/plaf/LabelUI.java,
3638 javax/swing/plaf/ListUI.java,
3639 javax/swing/plaf/MenuBarUI.java,
3640 javax/swing/plaf/MenuItemUI.java,
3641 javax/swing/plaf/OptionPaneUI.java,
3642 javax/swing/plaf/PanelUI.java,
3643 javax/swing/plaf/ProgressBarUI.java,
3644 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3645 javax/swing/plaf/doc-files/ComponentUI-1.png:
3646 New versions from classpath.
3648 2003-06-24 Michael Koch <konqueror@gmx.de>
3650 * java/nio/Buffer.java
3651 (cap): Made package-private.
3656 2003-06-24 Michael Koch <konqueror@gmx.de>
3658 * java/net/SocketImpl.java
3659 (shutdownInput): Made it non-abstract method throwing an exception
3661 (shutdownOutput): Likewise.
3662 * java/net/SocketInputStream.java,
3663 java/net/SocketOutputStream.java:
3664 New files from classpath.
3666 2003-06-24 Michael Koch <konqueror@gmx.de>
3668 * java/awt/Font.java,
3669 java/awt/Window.java,
3670 java/awt/color/ColorSpace.java,
3671 java/awt/datatransfer/StringSelection.java,
3672 java/awt/image/ColorModel.java:
3673 New versions from classpath.
3675 2003-06-24 Michael Koch <konqueror@gmx.de>
3678 (awt_java_source_files): Added new files:
3679 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
3680 javax/swing/plaf/basic/BasicSplitPaneUI.java
3681 * Makefile.in: Regenerated.
3683 2003-06-24 Michael Koch <konqueror@gmx.de>
3685 * javax/swing/text/JTextComponent.java:
3686 New version from classpath.
3688 2003-06-24 Michael Koch <konqueror@gmx.de>
3690 * javax/swing/Timer.java,
3691 javax/swing/plaf/ActionMapUIResource.java,
3692 javax/swing/plaf/ButtonUI.java,
3693 javax/swing/plaf/ColorChooserUI.java,
3694 javax/swing/plaf/ColorUIResource.java,
3695 javax/swing/plaf/ComboBoxUI.java,
3696 javax/swing/plaf/ComponentInputMapUIResource.java,
3697 javax/swing/plaf/basic/BasicBorders.java:
3698 New versions from classpath.
3699 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
3700 javax/swing/plaf/basic/BasicSplitPaneUI.java:
3701 New file from classpath.
3702 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3703 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3704 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3705 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3706 javax/swing/plaf/doc-files/ComponentUI-1.png:
3707 New binary files from classpath.
3709 2003-06-24 Michael Koch <konqueror@gmx.de>
3711 * java/io/LineNumberReader.java
3712 (skip): Dont do line number accounting here as this is already done in
3715 2003-06-21 Michael Koch <konqueror@gmx.de>
3718 (static): Load javaio lib if existing (only in classpath).
3719 (File): Revised documentation to show the correct argument name.
3720 (createTempFile): Partly merged with classpath.
3721 (compareTo): Simplified.
3722 (lastModified): Throw exception if time < 0.
3723 (deleteOnExit): Revised documentation.
3725 2003-06-21 Michael Koch <konqueror@gmx.de>
3727 * java/net/PlainSocketImpl.java:
3729 (PlainSocketImpl): Merged class documentaion with classpath.
3732 (PlainSocketImpl): New empty constructor.
3734 (setOption): Merged documentation from classpath.
3735 (getOption): Likewise.
3737 (connect): Likewise.
3741 (available): Likewise.
3745 (getInputStream): Made synchronozed to get sure that only one stream
3746 object can be created for this socket, merged documentation from
3748 (getOutputStream): Likewise.
3750 2003-06-21 Michael Koch <konqueror@gmx.de>
3752 * java/net/PlainSocketImpl.java:
3754 (static): New implicit method.
3755 (read): Made package private.
3758 2003-06-21 Michael Koch <konqueror@gmx.de>
3760 * java/util/SimpleTimeZone.java:
3761 Removed unneeded import, reformatting.
3763 2003-06-21 Michael Koch <konqueror@gmx.de>
3765 * java/text/DateFormat.java,
3766 java/text/SimpleDateFormat.java,
3767 java/util/Locale.java:
3768 New versions from classpath.
3770 2003-06-21 Michael Koch <konqueror@gmx.de>
3772 * javax/swing/SpinnerModel.java:
3773 New file from classpath.
3774 * javax/swing/border/LineBorder.java,
3775 javax/swing/border/SoftBevelBorder.java,
3776 javax/swing/plaf/BorderUIResource.java,
3777 javax/swing/plaf/basic/BasicBorders.java:
3778 New versions from classpath.
3779 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3780 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3781 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3782 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3783 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3784 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
3785 New binary files from classpath.
3787 2003-06-21 Michael Koch <konqueror@gmx.de>
3789 * java/util/logging/LogRecord.java,
3790 java/util/logging/Logger.java,
3791 java/util/logging/SocketHandler.java,
3792 java/util/logging/SimpleFormatter.java,
3793 java/util/logging/Formatter.java,
3794 java/util/logging/ErrorManager.java,
3795 java/util/logging/Handler.java,
3796 java/util/logging/FileHandler.java,
3797 java/util/logging/LogManager.java,
3798 java/util/logging/Level.java,
3799 java/util/logging/ConsoleHandler.java,
3800 java/util/logging/StreamHandler.java,
3801 java/util/logging/LoggingPermission.java,
3802 java/util/logging/Filter.java,
3803 java/util/logging/MemoryHandler.java,
3804 java/util/logging/XMLFormatter.java:
3805 New files from classpath.
3807 2003-06-20 Michael Koch <konqueror@gmx.de>
3809 * java/io/ObjectStreamField.java
3810 (unshared): new member variable.
3811 (ObjectStreamField): New constructor.
3812 (isUnshared): New method.
3814 2003-06-20 Michael Koch <konqueror@gmx.de>
3816 * java/net/URLStreamHandler.java
3817 (hostsEqual): Rewritten.
3819 2003-06-20 Michael Koch <konqueror@gmx.de>
3821 * gnu/java/nio/MappedByteFileBuffer.java,
3822 gnu/java/nio/natMappedByteFileBuffer.cc:
3824 * java/nio/MappedByteBufferImpl.java:
3826 * gnu/java/nio/FileChannelImpl.java:
3827 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
3829 (ordinary_java_source_files): Removed
3830 gnu/java/nio/MappedByteFileBuffer.java and added
3831 java/nio/MappedByteBufferImpl.java.
3832 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
3833 * Makefile.in: Regenerated.
3835 2003-06-19 Michael Koch <konqueror@gmx.de>
3837 * gnu/java/nio/DatagramChannelImpl.java
3839 (blocking): New member variable.
3841 (DatagramChannelImpl): Throws IOException, initialize socket.
3842 (socket):Implemented.
3843 (implCloseSelectableChannel): Throws IOException, implemented.
3844 (implConfigureBlocking): Likewise.
3845 (connect): Likewise.
3846 (disconnect): Likewise.
3847 (isConnected): Likewise.
3850 (receive): Throws IOException.
3852 * gnu/java/nio/SocketChannelImpl.java
3853 (read): Implemented.
3854 (write): Implemented.
3856 2003-06-19 Michael Koch <konqueror@gmx.de>
3858 * javax/swing/JComponent.java,
3859 javax/swing/JInternalFrame.java,
3860 javax/swing/MenuSelectionManager.java,
3861 javax/swing/SwingUtilities.java,
3862 javax/swing/ToggleButtonModel.java:
3863 New versions from classpath.
3865 2003-06-19 Michael Koch <konqueror@gmx.de>
3867 * java/text/CollationElementIterator.java
3868 (NULLORDER): Initialize with -1 as JDK documentation says.
3870 2003-06-19 Michael Koch <konqueror@gmx.de>
3872 * java/net/HttpURLConnection.java,
3873 java/net/Inet4Address.java,
3874 java/net/Inet6Address.java,
3875 java/net/SocketImpl.java,
3876 java/net/URLClassLoader.java:
3877 Reworked import statements.
3878 * java/net/InetAddress.java
3879 (getByAddress): Simplified.
3880 * java/net/ServerSocket.java
3881 (ServerSocket): Moved special handling during bind operation to
3883 (bind): Handle different cases when trying to bind a socket.
3884 * java/net/URLConnection.java
3885 (getHeaderFieldDate): Merged with classpath.
3886 (getHeaderFieldInt): Likewise.
3888 2003-06-19 Michael Koch <konqueror@gmx.de>
3890 * java/util/zip/InflaterInputStream.java
3891 (InflaterInputStream): Throw NullPointerException if in is null (as
3894 2003-06-19 Michael Koch <konqueror@gmx.de>
3896 * java/awt/Font.java
3897 javax/swing/UIManager.java
3898 javax/swing/border/AbstractBorder.java
3899 javax/swing/border/BevelBorder.java
3900 javax/swing/border/Border.java
3901 javax/swing/border/CompoundBorder.java
3902 javax/swing/border/EmptyBorder.java
3903 javax/swing/border/EtchedBorder.java
3904 javax/swing/border/LineBorder.java
3905 javax/swing/border/MatteBorder.java
3906 javax/swing/border/TitledBorder.java
3907 javax/swing/plaf/BorderUIResource.java
3908 javax/swing/plaf/basic/BasicBorders.java
3909 javax/swing/plaf/basic/BasicButtonUI.java
3910 javax/swing/plaf/basic/BasicCheckBoxUI.java
3911 javax/swing/plaf/basic/BasicGraphicsUtils.java
3912 javax/swing/plaf/basic/BasicLabelUI.java
3913 javax/swing/plaf/basic/BasicRadioButtonUI.java
3914 javax/swing/plaf/basic/BasicToggleButtonUI.java:
3915 New versions from classpath.
3916 * javax/swing/border/SoftBevelBorder.java:
3917 New file from classpath.
3918 * javax/swing/border/doc-files/LineBorder-1.png,
3919 javax/swing/border/doc-files/BevelBorder-1.png,
3920 javax/swing/border/doc-files/BevelBorder-2.png,
3921 javax/swing/border/doc-files/BevelBorder-3.png,
3922 javax/swing/border/doc-files/EmptyBorder-1.png,
3923 javax/swing/border/doc-files/EtchedBorder-1.png,
3924 javax/swing/border/doc-files/EtchedBorder-2.png,
3925 javax/swing/border/doc-files/MatteBorder-1.png,
3926 javax/swing/border/doc-files/MatteBorder-2.png,
3927 javax/swing/border/doc-files/MatteBorder-3.png,
3928 javax/swing/border/doc-files/MatteBorder-4.png,
3929 javax/swing/border/doc-files/MatteBorder-5.png,
3930 javax/swing/border/doc-files/MatteBorder-6.png,
3931 javax/swing/border/doc-files/SoftBevelBorder-1.png,
3932 javax/swing/border/doc-files/SoftBevelBorder-2.png,
3933 javax/swing/border/doc-files/SoftBevelBorder-3.png,
3934 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3935 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3936 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3937 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3938 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3939 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3940 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3941 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3942 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3943 New binary files from classpath.
3945 (awt_java_source_files): Added
3946 javax/swing/border/SoftBevelBorder.java.
3947 * Makefile.in: Regenerated.
3949 2003-06-19 Michael Koch <konqueror@gmx.de>
3951 * gnu/java/security/x509/X509Certificate.java
3952 (writeReplace): Merged from classpath.
3954 2003-06-19 Michael Koch <konqueror@gmx.de>
3956 * gnu/java/nio/FileChannelImpl.java
3957 (map_address): Made public.
3958 (FileChannelImpl): Merged with classpath.
3959 * gnu/java/nio/natFileChannelImpl.cc
3960 (nio_mmap_file): Commented out unused arguments.
3961 (nio_unmmap_file): Likewise.
3962 (niu_msync): Likewise.
3964 2003-06-19 Michael Koch <konqueror@gmx.de>
3966 * java/awt/image/IndexColorModel.java:
3967 New version from classpath.
3969 2003-06-18 Tom Tromey <tromey@redhat.com>
3971 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3973 (isLoopbackAddress): Likewise.
3974 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3977 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
3979 * java/lang/natVMSecurityManager.cc (getClassContext):
3980 Use maxlen instead of len for loop bound.
3982 2003-06-18 Michael Koch <konqueror@gmx.de>
3984 * gnu/java/nio/SelectorImpl.java
3985 (register): Use fd with value 0 for now, will be fixed later.
3986 * gnu/java/nio/ServerSocketChannelImpl.java
3988 (local_port): Removed.
3989 (InetSocketAddress): Removed.
3990 (ServerSocketChannelImpl): Just initialize internal socket object.
3991 (implCloseSelectableChannel): Close internal socket object.
3992 (implConfigureBlocking): Added comment.
3993 (accept): Use jaba.net stuff to accept socket.
3994 * gnu/java/nio/SocketChannelImpl.java
3996 (local_port): Removed.
3997 (InetSocketAddress): Removed.
3998 (SocketCreate): Removed.
3999 (SocketConnect): Removed.
4000 (SocketBind): Removed.
4001 (SocketListen): Removed.
4002 (SocketAvailable): Removed.
4003 (SocketClose): Removed.
4004 (SocketRead): Removed.
4005 (SocketWrite): Removed.
4006 (SocketChannelImpl): Just initialize internal socket object.
4007 (implCloseSelectableChannel): Close internal socket object.
4008 (implConfigureBlocking): Fixed implementation, added comment.
4009 (connect): Use internal socket object to connect.
4010 (socket): No need for sanity checks.
4011 (read): Comment out some stuff, this will be reimplemented in the next
4014 * gnu/java/nio/natFileChannelImpl.cc
4015 (nio_mmap_file): Line wrapped.
4016 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
4018 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
4019 * Makefile.in: Regenerated.
4021 2003-06-18 Michael Koch <konqueror@gmx.de>
4023 * java/util/Locale.java
4024 (equals): Merged from classpath.
4026 2003-06-18 Michael Koch <konqueror@gmx.de>
4028 * java/net/InetAddress.java:
4029 Reformatted to better match classpath's version.
4031 (equals): Simplified.
4032 * java/net/URLConnection.java
4033 (setDoInput): Revised documentation.
4034 (getDefaultUseCaches): Likewise.
4035 (setRequestProperty): Added @since tag.
4037 2003-06-17 Michael Koch <konqueror@gmx.de>
4039 * java/net/InetSocketAddress.java
4040 (InetSocketAddress): Use wildcard address if addr is null.
4041 (InetSocketAddress): Dont duplicate implementation.
4042 (InetSocketAddress): Throw exception when hostname is null.
4043 * java/net/Socket.java:
4045 (Socket): Throw exception when raddr is null, handle case when laddr
4048 2003-06-17 Michael Koch <konqueror@gmx.de>
4050 * java/nio/DirectByteBufferImpl.java
4051 (address): Made package private.
4052 (DirectByteBufferImpl): New constructor.
4053 * java/nio/natDirectByteBufferImpl.cc
4054 (allocateImpl): Moved to java.nio namespace, implemented.
4055 (freeImpl): Likewise.
4056 (getImpl): Likewise.
4057 (putImpl): Likewise.
4059 (_Jv_JNI_NewDirectByteBuffer): Implemented.
4060 (_Jv_JNI_GetDirectBufferAddress): Implemented.
4061 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
4063 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4065 * include/powerpc-signal.h: New File.
4066 * configure.in: Use it.
4067 * configure: Regenerated.
4069 2003-06-17 Michael Koch <konqueror@gmx.de>
4071 * java/util/Locale.java
4072 (getDisplayLanguage): Made it final.
4073 (getDisplayCountry): Likewise.
4074 (getDisplayVariant): Likewise.
4075 (getDisplayName): Likewise.
4077 2003-06-17 Michael Koch <konqueror@gmx.de>
4079 * java/util/PropertyResourceBundle.java:
4080 Removed unneeded import.
4082 2003-06-17 Michael Koch <konqueror@gmx.de>
4084 * java/util/prefs/AbstractPreferences.java,
4085 java/util/prefs/PreferencesFactory.java:
4086 Reworked imports, removed unused imports.
4087 * java/util/prefs/Preferences.java
4088 (systemNodeForPackage): Method takes a Class not an Object.
4089 (userNodeForPackage): Likewise.
4090 (nodeForPackage): Likewise.
4092 2003-06-17 Michael Koch <konqueror@gmx.de>
4094 * gnu/java/security/x509/X509Certificate.java:
4095 Explicitely import used classes.
4097 2003-06-17 Michael Koch <konqueror@gmx.de>
4099 * java/util/zip/ZipEntry.java,
4100 java/util/zip/ZipFile.java,
4101 java/util/zip/ZipInputStream.java,
4102 java/util/zip/ZipOutputStream.java:
4103 Reworked imports, only import used classes.
4105 2003-06-17 Michael Koch <konqueror@gmx.de>
4107 * gnu/java/lang/ArrayHelper.java,
4108 gnu/java/lang/ClassHelper.java:
4109 Reformatted to match classpath's versions.
4111 2003-06-14 Michael Koch <konqueror@gmx.de>
4113 * gnu/java/nio/FileChannelImpl.java
4114 (map_address): Removed incorrect comment.
4115 * gnu/java/nio/SelectorImpl.java
4116 (register): Remove code duplication and code for file channel handling.
4117 * gnu/java/nio/ServerSocketChannelImpl.java
4118 (serverSocket): Renamed from sock_object.
4119 (ServerSocketChannel): Initialize serverSocket.
4120 (socket): Return serverSocket.
4121 * gnu/java/nio/SocketChannelImpl.java
4122 (socket): Renamed from sock_object.
4123 (isConnectionPenging): Simplified.
4124 (socket): Return socket.
4125 2003-06-14 Michael Koch <konqueror@gmx.de>
4127 * java/security/BasicPermission.java:
4128 New version from classpath.
4130 2003-06-14 Michael Koch <konqueror@gmx.de>
4132 * javax/naming/directory/Attribute.java:
4133 New version from classpath.
4135 2003-06-14 Michael Koch <konqueror@gmx.de>
4137 * java/io/BufferedReader.java,
4138 java/io/FileOutputStream.java:
4139 New versions from classpath.
4141 2003-06-12 Andrew Haley <aph@redhat.com>
4143 * prims.cc (catch_segv): Create exception in handler.
4144 (catch_fpe): Likewise.
4145 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
4146 (_Jv_ThrowSignal): Remove.
4148 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
4149 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
4150 to nullp and arithexception.
4151 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4152 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4153 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4154 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4155 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
4157 2003-06-11 Andrew Haley <aph@redhat.com>
4159 * jni.cc (_Jv_JNI_check_types): New.
4160 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
4161 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
4162 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
4163 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
4165 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
4168 2003-06-11 Tom Tromey <tromey@redhat.com>
4170 * java/lang/ClassLoader.java (loadClass): Not deprecated.
4171 * java/io/PrintStream.java: Not deprecated.
4173 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
4175 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
4176 (fillOval): implemented
4177 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
4178 (fillArc): implemented.
4179 * gnu/gcj/xlib/GC.java (drawArc): added native method.
4180 (fillArc): added native method.
4181 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
4182 (fillArc): added native method.
4184 2003-06-11 Michael Koch <konqueror@gmx.de>
4186 * java/awt/im/InputSubset.java:
4187 New version from classpath.
4189 2003-06-11 Michael Koch <konqueror@gmx.de>
4191 * javax/swing/AbstractAction.java,
4192 javax/swing/AbstractButton.java,
4193 javax/swing/AbstractCellEditor.java,
4194 javax/swing/AbstractListModel.java,
4195 javax/swing/BorderFactory.java,
4196 javax/swing/Box.java,
4197 javax/swing/BoxLayout.java,
4198 javax/swing/ButtonGroup.java,
4199 javax/swing/DefaultButtonModel.java,
4200 javax/swing/DefaultListModel.java,
4201 javax/swing/DefaultListSelectionModel.java,
4202 javax/swing/FocusManager.java,
4203 javax/swing/ImageIcon.java,
4204 javax/swing/InputMap.java,
4205 javax/swing/JApplet.java,
4206 javax/swing/JButton.java,
4207 javax/swing/JCheckBox.java,
4208 javax/swing/JCheckBoxMenuItem.java,
4209 javax/swing/JColorChooser.java,
4210 javax/swing/JComboBox.java,
4211 javax/swing/JComponent.java,
4212 javax/swing/JDesktopPane.java,
4213 javax/swing/JDialog.java,
4214 javax/swing/JEditorPane.java,
4215 javax/swing/JFileChooser.java,
4216 javax/swing/JFormattedTextField.java,
4217 javax/swing/JFrame.java,
4218 javax/swing/JLabel.java,
4219 javax/swing/JLayeredPane.java,
4220 javax/swing/JList.java,
4221 javax/swing/JMenuBar.java,
4222 javax/swing/JMenuItem.java,
4223 javax/swing/JOptionPane.java,
4224 javax/swing/JPanel.java,
4225 javax/swing/JPasswordField.java,
4226 javax/swing/JPopupMenu.java,
4227 javax/swing/JProgressBar.java,
4228 javax/swing/JRadioButton.java,
4229 javax/swing/JRadioButtonMenuItem.java,
4230 javax/swing/JRootPane.java,
4231 javax/swing/JScrollBar.java,
4232 javax/swing/JScrollPane.java,
4233 javax/swing/JSeparator.java,
4234 javax/swing/JSlider.java,
4235 javax/swing/JTabbedPane.java,
4236 javax/swing/JTable.java,
4237 javax/swing/JTextField.java,
4238 javax/swing/JToggleButton.java,
4239 javax/swing/JToolBar.java,
4240 javax/swing/JToolTip.java,
4241 javax/swing/JTree.java,
4242 javax/swing/JViewport.java,
4243 javax/swing/JWindow.java,
4244 javax/swing/KeyStroke.java,
4245 javax/swing/ListSelectionModel.java,
4246 javax/swing/LookAndFeel.java,
4247 javax/swing/RepaintManager.java,
4248 javax/swing/ScrollPaneLayout.java,
4249 javax/swing/SizeRequirements.java,
4250 javax/swing/SwingConstants.java,
4251 javax/swing/Timer.java,
4252 javax/swing/UIDefaults.java,
4253 javax/swing/UIManager.java,
4254 javax/swing/border/AbstractBorder.java,
4255 javax/swing/border/CompoundBorder.java,
4256 javax/swing/colorchooser/AbstractColorChooserPanel.java,
4257 javax/swing/colorchooser/ColorChooserComponentFactory.java,
4258 javax/swing/colorchooser/ColorSelectionModel.java,
4259 javax/swing/colorchooser/DefaultColorSelectionModel.java,
4260 javax/swing/event/AncestorEvent.java,
4261 javax/swing/event/HyperlinkEvent.java,
4262 javax/swing/event/InternalFrameAdapter.java,
4263 javax/swing/event/InternalFrameEvent.java,
4264 javax/swing/event/ListDataEvent.java,
4265 javax/swing/event/MouseInputAdapter.java,
4266 javax/swing/event/SwingPropertyChangeSupport.java,
4267 javax/swing/event/TableModelEvent.java,
4268 javax/swing/event/TreeWillExpandListener.java,
4269 javax/swing/event/UndoableEditEvent.java,
4270 javax/swing/filechooser/FileFilter.java,
4271 javax/swing/filechooser/FileSystemView.java,
4272 javax/swing/filechooser/FileView.java,
4273 javax/swing/plaf/BorderUIResource.java,
4274 javax/swing/plaf/basic/BasicDefaults.java,
4275 javax/swing/table/AbstractTableModel.java,
4276 javax/swing/table/DefaultTableCellRenderer.java,
4277 javax/swing/table/DefaultTableColumnModel.java,
4278 javax/swing/table/DefaultTableModel.java,
4279 javax/swing/table/TableColumn.java,
4280 javax/swing/text/JTextComponent.java,
4281 javax/swing/tree/AbstractLayoutCache.java,
4282 javax/swing/tree/DefaultMutableTreeNode.java,
4283 javax/swing/tree/DefaultTreeCellEditor.java,
4284 javax/swing/tree/DefaultTreeCellRenderer.java,
4285 javax/swing/tree/DefaultTreeModel.java,
4286 javax/swing/tree/DefaultTreeSelectionModel.java,
4287 javax/swing/tree/FixedHeightLayoutCache.java,
4288 javax/swing/tree/TreeCellEditor.java,
4289 javax/swing/tree/TreeModel.java,
4290 javax/swing/tree/TreeNode.java,
4291 javax/swing/tree/TreePath.java,
4292 javax/swing/tree/TreeSelectionModel.java,
4293 javax/swing/tree/VariableHeightLayoutCache.java,
4294 javax/swing/undo/AbstractUndoableEdit.java,
4295 javax/swing/undo/CompoundEdit.java,
4296 javax/swing/undo/StateEdit.java,
4297 javax/swing/undo/UndoManager.java,
4298 javax/swing/undo/UndoableEditSupport.java:
4299 New versions from classpath.
4300 * javax/swing/table/JTableHeader.java:
4301 New file from classpath.
4303 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
4304 * Makefile.in: Regenerated.
4306 2003-06-11 Michael Koch <konqueror@gmx.de>
4308 * java/nio/MappedByteBuffer.java,
4309 java/nio/channels/Channels.java,
4310 java/nio/channels/ServerSocketChannel.java,
4311 java/nio/channels/spi/AbstractSelector.java:
4312 Removed unneeded imports.
4314 2003-06-11 Michael Koch <konqueror@gmx.de>
4316 * java/net/DatagramSocket.java:
4317 Partly merged with classpath.
4319 2003-06-11 Michael Koch <konqueror@gmx.de>
4321 * java/awt/Frame.java,
4322 java/awt/Graphics.java,
4324 java/awt/Robot.java,
4325 java/awt/image/ColorModel.java:
4326 New versions from classpath.
4328 2003-06-10 Michael Koch <konqueror@gmx.de>
4330 * java/io/PrintStream.java:
4331 Merged version from classpath.
4332 (close): Removed sychronized keyword. This class is not garantied to
4336 2003-06-09 Tom Tromey <tromey@redhat.com>
4338 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
4340 (getDescent): Likewise, for "descent".
4342 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
4344 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
4345 (getMaxDescent): adjusted return value.
4346 (getAscent): modified to use metrics for 'O'.
4347 (getDescent): modified to use metrics for 'y'.
4349 2003-06-08 Anthony Green <green@redhat.com>
4351 * java/net/URLStreamHandler.java (sameFile): Fix port value
4353 * java/net/URL.java (handler): Make package private.
4354 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
4356 2003-06-07 Tom Tromey <tromey@redhat.com>
4358 For PR libgcj/11085:
4359 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
4360 Limit number of characters in numeric field when required.
4361 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
4362 Respect maximumIntegerDigits.
4364 2003-06-08 Michael Koch <konqueror@gmx.de>
4366 * java/net/Socket.java
4367 (Socket): Dont initialize inputShutdown and outputShutdown twice,
4368 call bind() and connect() to actually do the bind and connect tasks.
4369 (bind): Connect to canonical address if bindpoint is null, create
4370 socket and bind it to bindpoint.
4371 (connect): Check for exceptions.
4373 2003-06-08 Michael Koch <konqueror@gmx.de>
4375 * java/net/DatagramSocket.java
4376 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
4377 into the Multicast constructors.
4378 * java/net/DatagramSocketImpl.java
4379 (getOption): Removed.
4380 (setOption): Removed.
4381 * java/net/MulticastSocket.java
4382 (MulticastSocket): Call setReuseAddress (true).
4383 * java/net/SocketImpl.java
4384 (getOption): Removed.
4385 (setOption): Removed.
4387 2003-06-07 Jeff Sturm <jsturm@one-point.com>
4390 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
4391 Test for empty vector.
4393 2003-06-06 Mark Wielaard <mark@klomp.org>
4395 * java/security/Security.java (secprops): Initialize.
4396 (loadProviders): Return boolean.
4397 (static): Check result of loadProvider calls. If necessary
4398 display WARNING and fallback to Gnu provider.
4400 2002-06-06 James Clark <jjc@jclark.com>
4402 Fix for PR libgcj/8738:
4403 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
4404 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
4405 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
4406 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
4407 (write): Always decrease avail when count is increased.
4408 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
4409 and whether output buffer is full before increasing size.
4411 2002-06-06 Mark Wielaard <mark@klomp dot org>
4413 * java/io/PrintStream.java (writeChars(char[],int, int)):
4414 Check converter.havePendingBytes().
4415 (writeChars(String,int,int)): Likewise.
4416 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
4417 Check converter.havePendingBytes() and flush buffer when stalled.
4419 2003-06-07 Michael Koch <konqueror@gmx.de>
4422 (O_DSYNC): Define O_DSYNC on platforms not
4423 supporting O_FSYNC (newlib).
4425 2003-06-06 Mark Wielaard <mark@klomp.org>
4427 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
4430 2003-06-06 Michael Koch <konqueror@gmx.de>
4432 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4433 More compile fixes from my stupid work yesterday.
4435 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
4437 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
4438 if _IEEE_LIBM is undefined.
4440 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
4442 * libjava/include/posix.h (O_SYNC): Define if not available
4443 and a reasonable, perhaps more conservative, replacement exists.
4444 (O_DSYNC): Likewise.
4445 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
4447 2003-06-05 Michael Koch <konqueror@gmx.de>
4449 * javax/swing/plaf/BorderUIResource.java,
4450 javax/swing/plaf/basic/BasicDefaults.java,
4451 javax/swing/plaf/basic/BasicOptionPaneUI.java:
4452 More compile fixes for latest Border commit. I should not commit
4453 something in this heat here ...
4455 2003-06-05 Michael Koch <konqueror@gmx.de>
4457 * javax/swing/border/BevelBorder.java
4458 (BevelBorder): Removed.
4459 * javax/swing/border/EmptyBorder.java:
4461 (EmptyBorder): Removed.
4462 (getBorderInsets): Dont use l, r, t and b.
4463 * javax/swing/border/EtchedBorder.java
4464 (EtchedBorder): Removed.
4465 * javax/swing/border/LineBorder.java
4466 (LineBorder): Removed.
4467 * javax/swing/border/MatteBorder.java
4468 (MatteBorder): Removed.
4469 * javax/swing/border/TitledBorder.java
4470 (defaultBorder): Use other default for now.
4471 (defaultFont): Likewise.
4472 (defaultColor): Likewise.
4474 2003-06-05 Michael Koch <konqueror@gmx.de>
4476 * javax/swing/border/Border.java:
4477 New version from classpath.
4479 2003-06-05 Michael Koch <konqueror@gmx.de>
4481 * javax/swing/border/AbstractBorder.java,
4482 javax/swing/border/BevelBorder.java,
4483 javax/swing/border/CompoundBorder.java,
4484 javax/swing/border/EmptyBorder.java,
4485 javax/swing/border/EtchedBorder.java,
4486 javax/swing/border/LineBorder.java,
4487 javax/swing/border/MatteBorder.java,
4488 javax/swing/border/TitledBorder.java:
4489 New versions from Classpath.
4491 2003-06-05 Michael Koch <konqueror@gmx.de>
4493 * java/awt/Button.java,
4494 java/awt/Checkbox.java,
4495 java/awt/CheckboxMenuItem.java,
4496 java/awt/Choice.java,
4497 java/awt/Container.java,
4498 java/awt/Dialog.java,
4499 java/awt/EventQueue.java,
4500 java/awt/FileDialog.java,
4501 java/awt/Frame.java,
4502 java/awt/Label.java,
4505 java/awt/MenuItem.java,
4506 java/awt/Panel.java,
4507 java/awt/PopupMenu.java,
4508 java/awt/Rectangle.java,
4509 java/awt/ScrollPane.java,
4510 java/awt/Scrollbar.java,
4511 java/awt/TextArea.java,
4512 java/awt/TextField.java,
4513 java/awt/Window.java,
4514 java/awt/datatransfer/DataFlavor.java,
4515 java/awt/dnd/DragSource.java,
4516 java/awt/dnd/DragSourceContext.java,
4517 java/awt/event/HierarchyEvent.java,
4518 java/awt/event/MouseWheelEvent.java,
4519 java/awt/im/InputContext.java,
4520 java/awt/image/BufferedImage.java,
4521 java/awt/image/ComponentColorModel.java,
4522 java/awt/image/Raster.java,
4523 java/awt/image/WritableRaster.java,
4524 java/awt/peer/ComponentPeer.java,
4525 java/awt/print/PageFormat.java,
4526 java/awt/print/PrinterJob.java:
4527 New versions from Classpath.
4529 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
4531 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
4532 numberFormat.setParseIntegerOnly(true).
4534 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
4536 * include/posix-threads.h: Include <machine/pal.h> on OSF.
4538 2003-06-03 Andrew Haley <aph@redhat.com>
4540 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
4541 stack volatile to prevent optimization from removing it.
4543 2003-05-27 Michael Koch <konqueror@gmx.de>
4545 * java/util/zip/Deflater.java
4546 (FILTERED): Merged documentation from classpath.
4547 * java/util/zip/DeflaterOutputStream.java
4548 (DeflaterOutputStream): Merged documentation and argument validity
4549 check from classpath.
4550 (deflate): Merged documentation from classpath.
4552 * java/util/zip/Inflater.java
4553 (Inflater): Merged class documentation from classpath.
4554 (zstream): Reordered.
4555 (is_finished): Reordered.
4556 (dict_needed): Reordered.
4557 (Inflater): Reordered, merged documentation from classpath.
4559 (finalize): Merged documentation from classpath.
4560 (finished): Likewise.
4561 (getAdler): Likewise.
4562 (getRemaining): Likewise.
4563 (getTotalIn): Likewise.
4564 (getTotalOut): Likewise.
4565 (inflate): Likewise.
4566 (needsDictionary): Likewise.
4567 (needsInput): Likewise.
4569 (setDictionary): Likewise.
4570 (setInput): Likewise.
4572 2003-05-27 Michael Koch <konqueror@gmx.de>
4574 * java/net/URLConnection.java
4575 (getHeaderFieldInt): Merged with classpath.
4577 2003-05-27 Michael Koch <konqueror@gmx.de>
4579 * java/io/PrintStream.java
4580 (PrintStream): Reformatted.
4581 (PrintStream): New method, merged from classpath.
4582 (write): Reformatted.
4584 2003-05-27 Michael Koch <konqueror@gmx.de>
4586 * java/lang/System.java:
4587 Explicitely import needed classes.
4589 2003-05-26 Michael Koch <konqueror@gmx.de>
4591 * java/net/NetPermission.java,
4592 java/net/NetworkInterface.java,
4593 java/net/PasswordAuthentication.java,
4594 java/net/SocketPermission.java:
4595 New versions from classpath.
4597 2003-05-25 Michael Koch <konqueror@gmx.de>
4599 * java/io/PushbackInputStream.java,
4600 java/net/Authenticator.java,
4601 java/net/ContentHandler.java,
4602 java/net/ContentHandlerFactory.java,
4603 java/net/DatagramSocket.java,
4604 java/net/DatagramSocketImpl.java,
4605 java/net/DatagramSocketImplFactory.java,
4606 java/net/FileNameMap.java,
4607 java/net/SocketImplFactory.java,
4608 java/net/SocketOptions.java,
4609 java/net/URLStreamHandlerFactory.java:
4610 Merged new versions from classpath.
4612 2003-05-25 Michael Koch <konqueror@gmx.de>
4614 * java/awt/Checkbox.java,
4615 java/awt/Dialog.java,
4617 java/awt/Frame.java,
4618 java/awt/ScrollPaneAdjustable.java,
4619 java/awt/Scrollbar.java,
4620 java/awt/Window.java:
4621 New versions from classpath.
4623 2003-05-22 Jeff Sturm <jsturm@one-point.com>
4626 * java/io/ObjectInputStream (enableResolveObject):
4627 Fixed spelling of permission name.
4629 2003-05-20 Michael Koch <konqueror@gmx.de>
4631 * java/io/DataInputStream.java
4632 (convertFromUTF): Merged comment from classpath.
4633 * java/io/PrintStream.java
4634 (error_occured): Renamed from error, merged comment from classpath.
4635 (PrintStream): No need to initialized error.
4636 (checkError): Replace error with error_occurred.
4637 (setError): Likewise.
4639 2003-05-20 Michael Koch <konqueror@gmx.de>
4641 * java/io/DataInputStream.java:
4642 Reformatted, Replaced < and & with html entitites in documentation.
4643 * java/io/File.java:
4645 * java/io/PrintWriter.java:
4646 Moved class documentation.
4648 2003-05-20 Michael Koch <konqueror@gmx.de>
4650 * gnu/java/nio/ByteBufferImpl.java,
4651 gnu/java/nio/CharBufferImpl.java,
4652 gnu/java/nio/CharViewBufferImpl.java,
4653 gnu/java/nio/DirectByteBufferImpl.java,
4654 gnu/java/nio/DoubleBufferImpl.java,
4655 gnu/java/nio/DoubleViewBufferImpl.java,
4656 gnu/java/nio/FloatBufferImpl.java,
4657 gnu/java/nio/FloatViewBufferImpl.java,
4658 gnu/java/nio/IntBufferImpl.java,
4659 gnu/java/nio/IntViewBufferImpl.java,
4660 gnu/java/nio/LongBufferImpl.java,
4661 gnu/java/nio/LongViewBufferImpl.java,
4662 gnu/java/nio/natDirectByteBufferImpl.cc,
4663 gnu/java/nio/ShortBufferImpl.java,
4664 gnu/java/nio/ShortViewBufferImpl.java:
4665 Moved files to java/nio.
4666 * gnu/java/nio/SocketChannelImpl.java
4668 * java/nio/ByteBuffer.java,
4669 java/nio/CharBuffer.java,
4670 java/nio/DoubleBuffer.java,
4671 java/nio/FloatBuffer.java,
4672 java/nio/IntBuffer.java,
4673 java/nio/LongBuffer.java,
4674 java/nio/ShortBuffer.java:
4675 Dont import anything.
4676 * java/nio/ByteBufferImpl.java,
4677 java/nio/CharBufferImpl.java,
4678 java/nio/CharViewBufferImpl.java,
4679 java/nio/DirectByteBufferImpl.java,
4680 java/nio/DoubleBufferImpl.java,
4681 java/nio/DoubleViewBufferImpl.java,
4682 java/nio/FloatBufferImpl.java,
4683 java/nio/FloatViewBufferImpl.java,
4684 java/nio/IntBufferImpl.java,
4685 java/nio/IntViewBufferImpl.java,
4686 java/nio/LongBufferImpl.java,
4687 java/nio/LongViewBufferImpl.java,
4688 java/nio/natDirectByteBufferImpl.cc,
4689 java/nio/ShortBufferImpl.java,
4690 java/nio/ShortViewBufferImpl.java:
4691 Moved from gnu/java/nio.
4693 (ordinary_java_source_files): Moved files from gnu/java/nio to
4695 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
4697 * Makefile.in: Regenerated.
4699 2003-05-19 Michael Koch <konqueror@gmx.de>
4701 * java/util/Calendar.java
4702 (get): Not final anymore since JDK 1.4
4705 2003-05-19 Michael Koch <konqueror@gmx.de>
4707 * java/text/CollationKey.java:
4708 Merged copyright and dat from classpath.
4709 * java/text/RuleBasedCollator.java:
4710 Merged class documentation from classpath.
4712 2003-05-19 Michael Koch <konqueror@gmx.de>
4714 * java/nio/CharBuffer.java
4715 (toString): Compile fix.
4717 2003-05-19 Michael Koch <konqueror@gmx.de>
4719 * gnu/java/nio/ByteBufferImpl.java
4720 (putLong): Fixed conversion to bytes.
4721 (putDouble): Fixed conversion to bytes.
4722 * gnu/java/nio/DirectByteBufferImpl.java
4723 (putLong): Fixed conversion to bytes.
4724 (putDouble): Fixed conversion to bytes.
4725 * gnu/java/nio/FileLockImpl.java
4726 (isValid): Reformatted.
4727 * java/nio/Buffer.java
4728 (Buffer): Fixed off-by-one bug in handling mark.
4729 * java/nio/ByteBuffer.java:
4731 * java/nio/CharBuffer.java
4732 (toString): Don't use relative get to get string data.
4734 2003-05-16 Michael Koch <konqueror@gmx.de>
4736 * java/io/natFileDescriptorPosix.cc
4737 (open): Commented out the O_SYNC and O_DSYNC usage until its better
4740 2003-05-14 Michael Koch <konqueror@gmx.de>
4742 * gnu/java/nio/FileLockImpl.java
4743 (released): New member variable.
4744 (FileLockImpl): Initialize released.
4745 (releaseImpl): New native method.
4746 (release): Implemented.
4747 * gnu/java/nio/SelectorImpl.java: Reformatted.
4748 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
4749 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
4750 (accept): Throws IOException.
4751 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
4752 (implConfigureBlocking): Throws IOException.
4753 (connect): Likewise.
4756 * gnu/java/nio/natFileLockImpl.cc: New file.
4757 * java/nio/channels/FileLock.java: Reformatted.
4759 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
4760 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
4761 * Makefile.in: Regenerated.
4763 2003-05-13 Michael Koch <konqueror@gmx.de>
4765 * gnu/java/nio/CharViewBufferImpl.java
4766 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
4767 (get): Shift bits to the right direction.
4769 * gnu/java/nio/DoubleViewBufferImpl.java
4770 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
4771 (get): Shift bits to the right direction.
4773 * gnu/java/nio/FloatViewBufferImpl.java
4774 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
4775 (get): Shift bits to the right direction.
4777 * gnu/java/nio/IntViewBufferImpl.java
4778 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
4779 (get): Shift bits to the right direction.
4781 * gnu/java/nio/LongViewBufferImpl.java
4782 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
4783 (get): Shift bits to the right direction.
4785 * gnu/java/nio/ShortViewBufferImpl.java
4786 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
4787 (get): Shift bits to the right direction.
4790 2003-05-13 Michael Koch <konqueror@gmx.de>
4792 * gnu/java/nio/natDirectByteBufferImpl.cc
4793 (allocateImpl): jlong -> RawData*.
4794 (freeImpl): Likewise.
4796 2003-05-13 Michael Koch <konqueror@gmx.de>
4798 * java/nio/channels/FileChannel.java
4799 (MapMode.m): Made it package-private to match JDK 1.4.
4800 * java/nio/charset/Charset.java
4801 (decode): Made it final to match JDK 1.4.
4803 2003-05-13 Michael Koch <konqueror@gmx.de>
4805 * java/io/FileDescriptor.java
4806 (SYNC): New constant.
4808 (getLength): Renamed from lenght() to match classpath's
4809 FileDescriptor.java.
4810 * java/io/RandomAccessFile.java
4811 (RandomAccessFile): Removed unneeded mode check, implemented mode
4812 "rws" and "rwd", merged documentation from classpath.
4813 (setLength): Reformatted.
4814 (length): Use new getLength() of FileDescriptor.
4815 * java/io/natFileDescriptorEcos.cc
4816 (getLength): Renamed from length().
4817 * java/io/natFileDescriptorPosix.cc
4818 (open): Implemented support for SYNC and DSYNC.
4819 (seek): Use getLength() instead of length().
4820 (getLength): Renamed from length().
4821 * java/io/natFileDescriptorWin32.cc
4822 (getLength): Renamed from length().
4823 (seek): Use getLength() instead of length().
4824 (available): Likewise.
4825 * gnu/java/nio/natFileChannelImpl.cc
4826 (size): Use getLength() instead of length().
4828 2003-05-13 Michael Koch <konqueror@gmx.de>
4830 * gnu/java/nio/ByteBufferImpl.java
4831 (ByteBufferImpl): All constructors revised.
4832 (slice): Reimplemented.
4833 (duplicate): Reimplemented.
4834 (asReadOnlyBuffer): Reimplemented.
4835 * java/nio/ByteBuffer.java:
4837 (array_offset): Renamed from "offset" to match all other buffer
4839 (ByteBuffer): All constructors revised.
4840 (allocateDirect): Implemented.
4841 (allocate): New implementation, documentation reworked.
4843 (get): Documentation reworked.
4844 (put): New implementation, documentation reworked.
4845 (hasArray): Documentation reworked.
4846 (arrayOffset): Likewise.
4847 (hashCode): Likewise.
4849 (compareTo): Likewise.
4851 (compact): Likewise.
4852 (isDirect): Likewise.
4854 (duplicate): Likewise.
4855 (asReadOnlyBuffer): Likewise.
4857 (ordinary_java_source_files):
4858 Added gnu/java/nio/DirectByteBufferImpl.java.
4860 Added gnu/java/nio/natDirectByteBufferImpl.cc.
4861 * Makefile.in: Regenerated.
4863 2003-05-12 Michael Koch <konqueror@gmx.de>
4865 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
4866 (nio_get_*): Removed.
4867 (nio_put_*): Removed.
4868 (as*Buffer): Implemented.
4869 (compact): Implemented.
4870 (get): Documentation added.
4871 (put): Documentation added.
4872 (get*): Newly implemented.
4873 (put*): Newly implemented.
4874 * gnu/java/nio/CharBufferImpl.java: Reformatted.
4875 (CharBufferImpl): Revised.
4876 (slice): New implementation.
4877 (duplicate): New implementation.
4878 (compact): New implementation.
4879 (asReadOnlyBuffer): New implementation.
4880 (get): Documentation revised.
4881 (order): Return native byte order.
4882 * gnu/java/nio/DirectByteBufferImpl.java
4883 (allocateDirect): objects can be null not 0.
4884 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
4885 (DoubleBufferImpl): Revised.
4886 (slice): New implementation.
4887 (duplicate): New implementation.
4888 (compact): New implementation.
4889 (asReadOnlyBuffer): New implementation.
4890 (get): Documentation revised.
4891 (order): Return native byte order.
4892 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
4893 (FloatBufferImpl): Revised.
4894 (slice): New implementation.
4895 (duplicate): New implementation.
4896 (compact): New implementation.
4897 (asReadOnlyBuffer): New implementation.
4898 (get): Documentation revised.
4899 (order): Return native byte order.
4900 * gnu/java/nio/IntBufferImpl.java: Reformatted.
4901 (IntBufferImpl): Revised.
4902 (slice): New implementation.
4903 (duplicate): New implementation.
4904 (compact): New implementation.
4905 (asReadOnlyBuffer): New implementation.
4906 (get): Documentation revised.
4907 (order): Return native byte order.
4908 * gnu/java/nio/LongBufferImpl.java: Reformatted.
4909 (LongBufferImpl): Revised.
4910 (slice): New implementation.
4911 (duplicate): New implementation.
4912 (compact): New implementation.
4913 (asReadOnlyBuffer): New implementation.
4914 (get): Documentation revised.
4915 (order): Return native byte order.
4916 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
4917 (ShortBufferImpl): Revised.
4918 (slice): New implementation.
4919 (duplicate): New implementation.
4920 (compact): New implementation.
4921 (asReadOnlyBuffer): New implementation.
4922 (get): Documentation revised.
4923 (order): Return native byte order.
4924 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4925 (CharBuffer): Revised.
4927 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4928 (DoubleBuffer): Revised.
4929 (allocateDirect): Removed.
4931 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4932 (FloatBuffer): Revised.
4933 (allocateDirect): Removed.
4935 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4936 (IntBuffer): Revised.
4937 (allocateDirect): Removed.
4939 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4940 (LongBuffer): Revised.
4941 (allocateDirect): Removed.
4943 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4944 (ShortBuffer): Revised.
4945 (allocateDirect): Removed.
4947 * gnu/java/nio/natByteBufferImpl.cc: Removed.
4948 * gnu/java/nio/natCharBufferImpl.cc: Removed.
4950 (ordinary_java_source_files): Added the following files:
4951 gnu/java/nio/CharViewBufferImpl.java,
4952 gnu/java/nio/DoubleViewBufferImpl.java,
4953 gnu/java/nio/FloatViewBufferImpl.java,
4954 gnu/java/nio/IntViewBufferImpl.java,
4955 gnu/java/nio/LongViewBufferImpl.java,
4956 gnu/java/nio/ShortViewBufferImpl.java
4957 (nat_source_files): Removed the following files:
4958 gnu/java/nio/natByteBufferImpl.cc,
4959 gnu/java/nio/natCharBufferImpl.cc
4960 * Makefile.in: Regenerated.
4962 2003-05-12 Michael Koch <konqueror@gmx.de>
4964 * gnu/java/nio/CharViewBufferImpl.java,
4965 gnu/java/nio/DirectByteBufferImpl.java,
4966 gnu/java/nio/DoubleViewBufferImpl.java,
4967 gnu/java/nio/FloatViewBufferImpl.java,
4968 gnu/java/nio/IntViewBufferImpl.java,
4969 gnu/java/nio/LongViewBufferImpl.java,
4970 gnu/java/nio/ShortViewBufferImpl.java,
4971 gnu/java/nio/natDirectByteBufferImpl.cc:
4972 New files, not yet to be compiled.
4974 2003-05-10 Michael Koch <konqueror@gmx.de>
4976 * javax/swing/plaf/ButtonUI.java,
4977 javax/swing/plaf/ColorUIResource.java,
4978 javax/swing/plaf/ComponentUI.java,
4979 javax/swing/plaf/DimensionUIResource.java,
4980 javax/swing/plaf/FontUIResource.java,
4981 javax/swing/plaf/IconUIResource.java,
4982 javax/swing/plaf/InsetsUIResource.java,
4983 javax/swing/plaf/LabelUI.java,
4984 javax/swing/plaf/ListUI.java,
4985 javax/swing/plaf/OptionPaneUI.java,
4986 javax/swing/plaf/PanelUI.java,
4987 javax/swing/plaf/TabbedPaneUI.java,
4988 javax/swing/plaf/TextUI.java,
4989 javax/swing/plaf/TreeUI.java,
4990 javax/swing/plaf/ViewportUI.java,
4991 javax/swing/plaf/basic/BasicBorders.java,
4992 javax/swing/plaf/basic/BasicButtonUI.java,
4993 javax/swing/plaf/basic/BasicCheckBoxUI.java,
4994 javax/swing/plaf/basic/BasicDefaults.java,
4995 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4996 javax/swing/plaf/basic/BasicIconFactory.java,
4997 javax/swing/plaf/basic/BasicLabelUI.java,
4998 javax/swing/plaf/basic/BasicListUI.java,
4999 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5000 javax/swing/plaf/basic/BasicPanelUI.java,
5001 javax/swing/plaf/basic/BasicRadioButtonUI.java,
5002 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5003 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5004 javax/swing/plaf/basic/BasicTextUI.java,
5005 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5006 javax/swing/plaf/basic/BasicTreeUI.java,
5007 javax/swing/plaf/basic/BasicViewportUI.java,
5008 javax/swing/plaf/metal/MetalLookAndFeel.java:
5009 New versions from classpath. This adds copyrights to all files and
5010 some serialVersionUIDs.
5012 2003-05-10 Michael Koch <konqueror@gmx.de>
5014 * java/nio/CharBuffer.java
5015 (offset): Make it package-private.
5016 (backing_buffer): Likewise.
5017 * java/nio/DoubleBuffer.java
5018 (offset): Make it package-private.
5019 (backing_buffer): Likewise.
5021 * java/nio/FloatBuffer.java
5022 (offset): Make it package-private.
5023 (backing_buffer): Likewise.
5024 * java/nio/IntBuffer.java
5025 (offset): Make it package-private.
5026 (backing_buffer): Likewise.
5027 * java/nio/LongBuffer.java
5028 (offset): Make it package-private.
5029 (backing_buffer): Likewise.
5030 * java/nio/ShortBuffer.java
5031 (offset): Make it package-private.
5032 (backing_buffer): Likewise.
5034 2003-05-10 Michael Koch <konqueror@gmx.de>
5036 * java/nio/CharBuffer.java
5037 (put): Fixed precondtion check.
5038 (toString): Make it work without backing array.
5039 (put): Skip one level of method calling.
5041 2003-05-10 Michael Koch <konqueror@gmx.de>
5043 * java/security/Identity.java,
5044 java/security/IdentityScope.java,
5045 java/security/Key.java,
5046 java/security/KeyPair.java,
5047 java/security/PrivateKey.java,
5048 java/security/Provider.java,
5049 java/security/PublicKey.java,
5050 java/security/SecureRandom.java,
5051 java/security/SecureRandomSpi.java,
5052 java/security/SignedObject.java,
5053 java/security/Signer.java,
5054 java/security/cert/Certificate.java,
5055 java/security/cert/PKIXCertPathBuilderResult.java,
5056 java/security/cert/X509Certificate.java:
5057 New versions from classpath.
5059 2003-05-09 Tom Tromey <tromey@redhat.com>
5061 * Makefile.in: Rebuilt.
5062 * Makefile.am (nat_source_files): Removed old files.
5063 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
5064 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
5065 * gnu/java/nio/natIntBufferImpl.cc: Removed.
5066 * gnu/java/nio/natLongBufferImpl.cc: Removed.
5067 * gnu/java/nio/natShortBufferImpl.cc: Removed.
5069 2003-05-09 Michael Koch <konqueror@gmx.de>
5071 * gnu/java/nio/ByteBufferImpl.java
5072 (nio_cast): Removed.
5073 (ByteBufferImpl): Removed.
5074 (nio_get_Byte): Removed.
5075 (nio_put_Byte): Removed.
5076 (asByteBuffer): Removed.
5077 (asCharBuffer): Removed implementation and throw exception.
5078 (asShortBuffer): Likewise.
5079 (asIntBuffer): Likewise.
5080 (asLongBuffer): Likewise.
5081 (asFloatBuffer): Likewise.
5082 (asDoubleBuffer): Likewise.
5083 * gnu/java/nio/CharBufferImpl.java
5084 (CharBufferImpl): Removed.
5085 (nio_get_Byte): Removed.
5086 (nio_put_Byte): Removed.
5087 (asByteBuffer): Removed.
5088 * gnu/java/nio/DoubleBufferImpl.java
5089 (DoubleBufferImpl): Removed.
5090 (nio_get_Byte): Removed.
5091 (nio_put_Byte): Removed.
5092 (asByteBuffer): Removed.
5093 * gnu/java/nio/FloatBufferImpl.java
5094 (FloatBufferImpl): Removed.
5095 (nio_get_Byte): Removed.
5096 (nio_put_Byte): Removed.
5097 (asByteBuffer): Removed.
5098 * gnu/java/nio/IntBufferImpl.java
5099 (IntBufferImpl): Removed.
5100 (nio_get_Byte): Removed.
5101 (nio_put_Byte): Removed.
5102 (asByteBuffer): Removed.
5103 * gnu/java/nio/LongBufferImpl.java
5104 (LongBufferImpl): Removed.
5105 (nio_get_Byte): Removed.
5106 (nio_put_Byte): Removed.
5107 (asByteBuffer): Removed.
5108 * gnu/java/nio/ShortBufferImpl.java
5109 (ShortBufferImpl): Removed.
5110 (nio_get_Byte): Removed.
5111 (nio_put_Byte): Removed.
5112 (asByteBuffer): Removed.
5113 * gnu/java/nio/natByteBufferImpl.cc
5114 (nio_cast): Removed.
5115 (nio_get_Byte): Removed.
5116 (nio_put_Byte): Removed.
5117 * gnu/java/nio/natCharBufferImpl.cc
5118 (nio_get_Byte): Removed.
5119 (nio_put_Byte): Removed.
5121 2003-05-09 Michael Koch <konqueror@gmx.de>
5123 * java/net/JarURLConnection.java
5124 (getJarEntry): Merged documentation from classpath.
5125 (getJarFile): Likewise.
5126 (getMainAttributes): Likewise.
5127 (getAttributes): Likewise.
5128 (getManifest): Likewise.
5129 (getCertificates): Reformatted.
5130 * java/net/URLConnection.java:
5131 Little classpath merge.
5133 2003-05-09 Michael Koch <konqueror@gmx.de>
5135 * java/io/DataOutputStream.java
5136 (writeShort): Made it synchronized.
5137 (writeChar): Likewise.
5138 (writeInt): Likewise.
5139 (writeLong): Liekwise.
5140 (writeUTF): Made it synchronized, renamed argument to match classpath.
5141 * java/io/InputStreamReader.java
5142 (converter): Added documentation.
5143 (read): Merged documentation from classpath.
5144 * java/io/OutputStreamWriter.java
5145 (OutputStreamWriter): Merged documentation from classpath.
5146 (close): Reformatted.
5147 (getEncoding): Likewise.
5149 (write): Merged documentation from classpath, reformatted.
5151 2003-05-08 Tom Tromey <tromey@redhat.com>
5153 * configure.host <powerpc64*-*>: Set with_libffi_default and
5154 libgcj_interpreter to "yes".
5156 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
5158 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
5160 2003-05-06 Tom Tromey <tromey@redhat.com>
5162 * verify.cc: Reverted previous patch.
5164 2003-05-06 Michael Koch <konqueror@gmx.de>
5166 * java/io/DataOutputStream.java
5167 (write): Renamed argument to "value", merged documentation from
5169 (writeBoolean): Likewise.
5170 (writeByte): Likewise.
5171 (writeShort): Likewise.
5172 (writeChar): Likewise.
5173 (writeInt): Likewise.
5174 (writeLong): Likewise.
5175 (writeFloat): Likewise.
5176 (writeDouble): Likewise.
5177 (writeBytes): Likewise.
5178 (writeChars): Likewise.
5179 (writeUTF): Likewise.
5181 (performDelete): Added documentation.
5182 (performList): Likewise.
5183 (performMkdir): Likewise.
5184 (performSetReadOnly): Likewise.
5185 (performRenameTo): Likewise.
5186 (performSetLastModified): Likewise.
5187 (delete): Made it sychronized.
5188 (renameTo): Made it sychronized.
5189 (equals): Reformatted.
5190 (isHidden): Likewise.
5191 (listFiles): Likewise.
5192 (setReadOnly): Likewise.
5193 (listRoots): Likewise.
5194 (setLastModified): Likewise.
5195 (checkRead): Likewise.
5196 (checkWrite): Likewise.
5197 * java/io/FileInputStream.java
5198 (skip): Made it sychronized, merged from classpath.
5199 * java/io/FileOutputStream.java
5200 (write): Merged from classpath.
5201 * java/io/InputStreamReader.java:
5202 (InputStreamReader): Merged documentation from classpath.
5204 2003-05-05 Michael Koch <konqueror@gmx.de>
5206 * java/net/NetworkInterface.java
5207 (networkInterfaces): Removed.
5208 (getByName): Use getRealNetworkInterfaces() instead of
5210 (getByInetAddress): Likewise.
5211 (getNetworkInterfaces): Likewise.
5212 (toString): Fix output of addresses of an interface.
5214 2003-05-05 Michael Koch <konqueror@gmx.de>
5216 * java/io/DataInputStream.java:
5217 Merged new documentation from classpath.
5219 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
5221 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
5223 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
5224 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
5225 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
5226 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
5227 * gnu/awt/gtk/GtkMainThread.java: Likewise.
5228 * gnu/awt/gtk/GtkToolkit.java: Likewise.
5229 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
5230 * java/security/Key.java: Likewise.
5231 * java/security/PrivateKey.java: Likewise.
5232 * java/security/Provider.java: Likewise.
5233 * java/security/PublicKey.java: Likewise.
5235 2003-05-02 Michael Koch <konqueror@gmx.de>
5238 (create): Doesnt throws any exceptions.
5239 * java/net/URLConnection.java
5240 (URLConnection): Commend added.
5241 (getExpiration): The header field is called "expires" not
5243 (getHeaderField): Merged documentation with classpath.
5244 (getHeaderFieldInt): Likewise.
5245 (getHeaderFieldDate): Likewise.
5246 (getHeaderFieldKey): Likewise.
5247 (getPermission): Likewise.
5248 (setDefaultUseCaches): Likewise.
5249 (setRequestProperty): Likewise.
5250 (addRequestProperty): Likewise.
5251 (getRequestProperty): Likewise.
5252 (getRequestProperties): Likewise.
5253 (setDefaultRequestProperty): Likewise.
5254 (getDefaultRequestProperty): Likewise.
5255 (guessContentTypeFromStream): Likewise.
5256 (getFileNameMap): Likewise.
5257 (setFileNameMap): Likewise.
5258 (setDoInput): Merged implementation and documentation with classpath.
5259 (setDoOutput): Likewise.
5260 (setAllowUserInteraction): Likewise.
5261 (setDefaultAllowUserInteraction): Likewise.
5262 (setContentHandlerFactory): Made it synchronized, merged documentation
5264 (guessContentTypeFromName): Renamed argument fname to filename to
5265 match classpath, merged documentation with classpath.
5267 2003-05-02 Michael Koch <konqueror@gmx.de>
5269 * java/net/JarURLConnection.java
5270 (JarURLConnection): Class documentation merged with classpath.
5271 (getJarFileURL): Moved and documentation merged with classpath.
5272 (getEntryName): Likewise.
5273 (JarURLConnection): Documentation merged with classpath.
5274 (getJarEntry): Likewise.
5275 (getJarFile): Likewise.
5276 * java/net/PlainDatagramSocketImpl.java:
5277 Class documentation moved.
5278 * java/net/URLConnection.java
5279 (fileNameMap): Moved and documentation merged with classpath.
5280 (factory): Likewise.
5281 (defaultAllowUserInteraction): Likewis.
5282 (defaultUseCaches): Likewise.
5283 (allowUserInteraction): Likewise.
5284 (connected): Likewise.
5286 (connect): Documentation merged with classpath.
5288 (getContentLength): Likewise.
5289 (getContentType): Likewise.
5290 (getContentEncoding): Likewise.
5291 (getExpiration): Likewise.
5292 (getDate): Likewise.
5293 (getLastModified): Likewise.
5294 (getHeaderField): Likewise.
5295 (getContent): Likewise.
5296 (getPermission): Likewise.
5297 (getInputStream): Likewise.
5298 (getOutputStream): Likewise.
5299 (toString): Likewise.
5300 (getDoInput): Likewise.
5301 (getDoOutput): Likewise.
5302 (setAllowUserInteraction): Likewise.
5303 (getAllowUserInteraction): Likewise.
5304 (setDefaultAllowUserInteraction): Likewise.
5305 (getDefaultAllowUserInteraction): Likewise.
5306 (setUseCaches): Likewise.
5307 (getUseCaches): Likewise.
5308 (setIfModifiedSince): Likewise.
5309 (getIfModifiedSince): Likewise.
5310 (setDefaultRequestProperty): Likewise.
5311 (getDefaultRequestProperty): Likewise.
5312 (setContentHandlerFactory): Likewise.
5313 (setFileNameMap): Likewise.
5315 2003-05-02 Michael Koch <konqueror@gmx.de>
5317 * java/net/InetAddress.java:
5318 Merged class documentation with classpath.
5319 * java/net/JarURLConnection.java:
5320 Explicitely import all used classes.
5321 * java/net/URL.java:
5323 * java/net/ServerSocket.java,
5324 java/net/Socket.java:
5325 New versions from classpath.
5327 2003-05-02 Michael Koch <konqueror@gmx.de>
5329 * gnu/java/nio/FileChannelImpl.java
5330 (read): New implementation.
5331 (implRead): New methods.
5332 (write): New implementation, call other write insteal of read method.
5333 (implWrite): New methods.
5334 (map): Added comment.
5335 (transferFrom): Implemented.
5336 (transferTo): Implemented.
5337 (lock): Added checks to throw exceptions.
5338 (truncate): Added check to throw exception.
5339 * gnu/java/nio/natFileChannelImpl.cc
5340 (implRead): New method.
5341 (implWrite): New method.
5342 * java/nio/ByteBuffer.java
5343 (hashCode): Fixed comment.
5344 (get): Fixed exception documentation.
5345 (put): Fixed exception documentation.
5346 * java/nio/CharBuffer.java:
5347 Added comment for later optimizations.
5349 2003-04-30 Tom Tromey <tromey@redhat.com>
5352 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
5354 (type::compatible): Use _Jv_IsAssignableFrom.
5355 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
5356 (_Jv_IsAssignableFrom): Work even when source or target class is
5359 2003-04-30 Michael Koch <konqueror@gmx.de>
5361 * java/text/BreakIterator.java
5362 (clone): New method.
5364 2003-04-30 Michael Koch <konqueror@gmx.de>
5366 * java/text/CollationElementIterator.java,
5367 java/text/CollationKey.java,
5368 java/text/RuleBasedCollator.java:
5369 Merged copyright and documentation from classpath and
5370 rearranged some code. No code changes done.
5372 2003-04-30 Michael Koch <konqueror@gmx.de>
5374 * java/util/regex/Matcher.java
5375 (pattern): New member variable.
5376 (appendReplacement): New method.
5377 (appendTail): New method.
5380 (group): New method.
5381 (replaceFirst): Added documentation.
5382 (replaceAll): Added documentation.
5383 (groupCount): New method.
5384 (lookingAt): New method.
5385 (matches): New method.
5386 (reset): New method.
5387 (start): New method.
5388 * java/util/regex/Pattern.java
5389 (serialVersionUID): New constant.
5390 (CANON_EQ): New constant.
5391 (CASE_INSENSITIVE): New constant.
5392 (COMMENTS): New constant.
5393 (DOTALL): New constant.
5394 (MULTILINE): New constant.
5395 (UNICODE_CASE): New constant.
5396 (UNIX_LINES): New constant.
5397 (regex): New member variable.
5398 (flags): New member variable.
5399 (Pattern): New method.
5400 (compile): Documentation added.
5401 (flags): New method.
5402 (matches): Documentation added.
5403 (matcher): Documentation added.
5404 (split): Documentation added.
5405 (pattern): New method.
5407 2003-04-30 Michael Koch <konqueror@gmx.de>
5409 * gnu/java/security/Engine.java,
5410 gnu/java/security/OID.java,
5411 gnu/java/security/der/BitString.java,
5412 gnu/java/security/der/DER.java,
5413 gnu/java/security/der/DERReader.java,
5414 gnu/java/security/der/DERValue.java,
5415 gnu/java/security/der/DERWriter.java,
5416 gnu/java/security/provider/DSAKeyFactory.java,
5417 gnu/java/security/provider/X509CertificateFactory.java,
5418 gnu/java/security/x509/X500DistinguishedName.java,
5419 gnu/java/security/x509/X509CRL.java,
5420 gnu/java/security/x509/X509CRLEntry.java,
5421 gnu/java/security/x509/X509Certificate.java,
5422 java/security/cert/CRLSelector.java,
5423 java/security/cert/CertPathBuilder.java,
5424 java/security/cert/CertPathBuilderResult.java,
5425 java/security/cert/CertPathBuilderSpi.java,
5426 java/security/cert/CertPathParameters.java,
5427 java/security/cert/CertPathValidator.java,
5428 java/security/cert/CertPathValidatorResult.java,
5429 java/security/cert/CertPathValidatorSpi.java,
5430 java/security/cert/CertSelector.java,
5431 java/security/cert/CertStore.java,
5432 java/security/cert/CertStoreParameters.java,
5433 java/security/cert/CertStoreSpi.java,
5434 java/security/cert/CollectionCertStoreParameters.java,
5435 java/security/cert/LDAPCertStoreParameters.java,
5436 java/security/cert/PKIXBuilderParameters.java,
5437 java/security/cert/PKIXCertPathBuilderResult.java,
5438 java/security/cert/PKIXCertPathChecker.java,
5439 java/security/cert/PKIXCertPathValidatorResult.java,
5440 java/security/cert/PKIXParameters.java,
5441 java/security/cert/PolicyNode.java,
5442 java/security/cert/PolicyQualifierInfo.java,
5443 java/security/cert/TrustAnchor.java,
5444 javax/security/auth/x500/X500Principal.java:
5445 New files from classpath.
5446 * gnu/java/io/ASN1ParsingException.java,
5447 gnu/java/io/Base64InputStream.java,
5448 gnu/java/security/der/DEREncodingException.java,
5449 gnu/java/security/provider/DSAParameters.java,
5450 gnu/java/security/provider/DSASignature.java,
5451 gnu/java/security/provider/Gnu.java,
5452 gnu/java/security/provider/GnuDSAPrivateKey.java,
5453 gnu/java/security/provider/GnuDSAPublicKey.java,
5454 java/security/AlgorithmParameterGenerator.java,
5455 java/security/AlgorithmParameters.java,
5456 java/security/KeyFactory.java,
5457 java/security/KeyPairGenerator.java,
5458 java/security/KeyStore.java,
5459 java/security/MessageDigest.java,
5460 java/security/SecureClassLoader.java,
5461 java/security/SecureRandom.java,
5462 java/security/Security.java,
5463 java/security/Signature.java,
5464 java/security/cert/Certificate.java,
5465 java/security/cert/CertificateFactory.java,
5466 java/security/cert/CertificateFactorySpi.java,
5467 java/security/cert/X509CRL.java,
5468 java/security/cert/X509Certificate.java,
5469 java/security/spec/DSAPublicKeySpec.java:
5470 New versions from classpath.
5471 * gnu/java/security/provider/DERReader.java,
5472 gnu/java/security/provider/DERWriter.java,
5473 java/security/Engine.java: Removed.
5475 (java_source_files, javax_source_files): Added new files.
5476 * Makefile.in: Regenerated.
5478 2003-04-29 Michael Koch <konqueror@gmx.de>
5480 * javax/swing/JTable.java
5481 (AUTO_RESIZE_ALL_COLUMNS): New constant.
5482 (AUTO_RESIZE_LAST_COLUMN): New constant.
5483 (AUTO_RESIZE_NEXT_COLUMN): New constant.
5484 (AUTO_RESIZE_OFF): New constant.
5485 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
5486 (JTable): New method.
5487 (columnAdded): New method.
5488 (columnMarginChanged): New method.
5489 (columnMoved): New method.
5490 (columnRemoved): New method.
5491 (columnSelectionChanged): New method.
5492 (editingCanceled): New method.
5493 (editingStopped): New method.
5494 (getColumnModel): New method.
5495 (getPreferredScrollableViewportSize): New method.
5496 (getScrollableBlockIncrement): New method.
5497 (getScrollableTracksViewportHeight): New method.
5498 (getScrollableTracksViewportWidth): New method.
5499 (getScrollableUnitIncrement): New method.
5500 (getSelectedRow): New method.
5501 (getSelectionModel): New method.
5502 (tableChanged): New method.
5503 (setModel): New method.
5504 (setSelectionMode): New method.
5505 (setSelectionModel): New method.
5506 (setShowGrid): New method.
5507 (valueChanged): New method.
5508 * javax/swing/text/DefaultEditorKit.java
5509 (backwardAction): New constant.
5510 (beepAction): New constant.
5511 (beginAction): New constant.
5512 (beginLineAction): New constant.
5513 (beginParagraphAction): New constant.
5514 (beginWordAction): New constant.
5515 (copyAction): New constant.
5516 (cutAction): New constant.
5517 (defaultKeyTypedAction): New constant.
5518 (deleteNextCharAction): New constant.
5519 (deletePrevCharAction): New constant.
5520 (downAction): New constant.
5521 (endAction): New constant.
5522 (endLineAction): New constant.
5523 (endOfLineStringProperty): New constant.
5524 (endParagraphAction): New constant.
5525 (endWordAction): New constant.
5526 (forwardAction): New constant.
5527 (insertBreakAction): New constant.
5528 (insertContentAction): New constant.
5529 (insertTabAction): New constant.
5530 (nextWordAction): New constant.
5531 (pageDownAction): New constant.
5532 (pageUpAction): New constant.
5533 (pasteAction): New constant.
5534 (previousWordAction): New constant.
5535 (readOnlyAction): New constant.
5536 (selectAllAction): New constant.
5537 (selectionBackwardAction): New constant.
5538 (selectionBeginAction): New constant.
5539 (selectionBeginLineAction): New constant.
5540 (selectionBeginParagraphAction): New constant.
5541 (selectionBeginWordAction): New constant.
5542 (selectionDownAction): New constant.
5543 (selectionEndAction): New constant.
5544 (selectionEndLineAction): New constant.
5545 (selectionEndParagraphAction): New constant.
5546 (selectionEndWordAction): New constant.
5547 (selectionForwardAction): New constant.
5548 (selectionNextWordAction): New constant.
5549 (selectionPreviousWordAction): New constant.
5550 (selectionUpAction): New constant.
5551 (selectLineAction): New constant.
5552 (selectParagraphAction): New constant.
5553 (selectWordAction): New constant.
5554 (upAction): New constant.
5555 (writableAction): New constant.
5557 2003-04-29 Michael Koch <konqueror@gmx.de>
5559 * java/util/PropertyPermission.java:
5560 New version from classpath
5561 * java/util/ResourceBundle.java:
5562 Partly merged from classpath
5563 (getObject): Reformated.
5564 (tryBundle): Set foundBundle = null if no bundle found.
5566 2003-04-29 Michael Koch <konqueror@gmx.de>
5568 * javax/swing/AbstractListModel.java,
5569 javax/swing/DefaultBoundedRangeModel.java,
5570 javax/swing/DefaultSingleSelectionModel.java:
5571 New Versions from classpath.
5573 2003-04-29 Michael Koch <konqueror@gmx.de>
5575 * java/awt/Window.java
5576 (show): Call super.show() instead of setVisible() to avoid endless
5578 (hide): Call super.hide() instead of setVisible() to avoid endless
5581 2003-04-29 Michael Koch <konqueror@gmx.de>
5583 * java/util/zip/Deflater.java,
5584 java/util/zip/DeflaterOutputStream.java:
5585 Partly merged with classpath.
5587 2003-04-27 Tom Tromey <tromey@redhat.com>
5589 * java/lang/natString.cc (_Jv_AllocString): Initialize
5592 (_Jv_NewStringUtf8Const): Likewise.
5594 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
5596 * include/jvm.h: (_Jv_GetNbArgs) added
5597 (_Jv_GetSafeArg) added
5599 * prims.cc: (_Jv_GetNbArgs) implemented
5600 (_Jv_GetSafeArg) implemented
5601 (_Jv_SetArgs) implemented
5602 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
5603 setting _Jv_argc and _Jv_argv
5604 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
5606 * java/lang/natRuntime.cc: (insertSystemProperties) use
5607 _Jv_GetSafeArg() instead of _Jv_argv
5609 2003-04-23 Tom Tromey <tromey@redhat.com>
5611 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
5612 required by this object. Search superclasses to find required
5614 (get_alignment_from_class): Use alignment of type as it appears
5616 (ALIGNOF): New macro.
5617 (struct aligner): New helper structure.
5619 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
5621 * java/awt/Container.java (addImpl): Enable paint events if adding
5622 a lightweight to a heavyweight.
5623 (addNotify): Ensure that peer is created before
5624 addNotifyContainerChildren.
5625 (addNotifyContainerChildren): Enable paint events if a heavyweight
5626 container contains a lightweight.
5628 2003-04-20 Tom Tromey <tromey@redhat.com>
5630 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
5631 java/io/DataInput.java, java/io/DataOutput.java: Imports from
5634 2003-04-19 Tom Tromey <tromey@redhat.com>
5636 * java/sql/Date.java, java/sql/DriverManager.java,
5637 java/sql/Time.java, java/sql/Timestamp.java: New versions from
5640 * Makefile.in: Rebuilt.
5641 * Makefile.am (ordinary_java_source_files): Added new files.
5642 * java/security/AlgorithmParameterGenerator.java,
5643 java/security/AlgorithmParameters.java, java/security/Engine.java,
5644 java/security/Identity.java, java/security/IdentityScope.java,
5645 java/security/KeyFactory.java,
5646 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
5647 java/security/MessageDigest.java, java/security/Policy.java,
5648 java/security/ProtectionDomain.java,
5649 java/security/SecureRandom.java, java/security/Security.java,
5650 java/security/Signature.java, java/security/SignatureSpi.java,
5651 java/security/SignedObject.java, java/security/Signer.java,
5652 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
5653 java/security/spec/PSSParameterSpec.java,
5654 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
5655 java/security/spec/RSAOtherPrimeInfo.java: New versions from
5658 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5660 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
5661 (dispose): Null metrics.
5662 * gnu/awt/xlib/XToolkit.java (sync): Implement.
5663 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
5665 (finalize): Call dispose.
5666 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
5667 (gcCachedCount): New field.
5668 (finalize): New method.
5669 (putGCInCache): New method.
5670 (getGCFromCache): New method.
5671 * gnu/gcj/xlib/GC.java (GC): Make protected.
5672 (clone): Get new GC from cache if possible.
5673 (create): New static method.
5674 (dispose): Save old GC in cache.
5675 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
5677 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
5679 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
5680 * java/awt/Container.java (visitChild): Dispose gfx2 when
5683 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
5685 * java/math/BigInteger.java (probablePrime): New.
5686 * java/math/BigDecimal.java (unscaledValue): New.
5688 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
5690 * java/io/File.java (getAbsolutePath): On Windows, take care
5691 of paths like "C:", "G:foo\bar", etc.
5692 (getName): Make it work correctly on Windows.
5693 (getParent): Make it work correctly on Windows. For UNIX,
5694 fix bug that causes "/" to be returned as the parent of "/",
5695 instead of null as returned by Sun's JRE.
5697 * java/io/natFileWin32.cc: Change copyright owner to FSF.
5699 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5701 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
5703 (CACHE_SIZE_PER_DISPLAY): New field
5704 (fontMetricsCache): New field
5705 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
5706 loading ISO10646-1 fonts.
5708 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5710 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
5712 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
5715 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
5717 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
5720 2003-04-15 Jakub Jelinek <jakub@redhat.com>
5722 * configure.host (*-linux*): Don't set slow_pthread_self if primary
5723 installed libpthread is either linuxthreads with floating stacks or
5726 2003-04-14 Tom Tromey <tromey@redhat.com>
5728 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
5731 2003-04-10 Tom Tromey <tromey@redhat.com>
5733 * verify.cc (pop64): Removed.
5734 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
5735 exception if top-of-stack is narrow.
5736 (initialize_stack): Check to ensure that <init> is not static and
5739 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
5741 * java/io/ObjectStreamException
5742 * java/io/FileFilter
5743 * java/io/FilenameFilter
5744 * java/io/ObjectInput
5745 * java/io/ObjectOutput
5746 * java/io/ObjectStreamConstants
5747 Minor doc fixes, format fixes, spelling corrections, etc.
5749 Corrected code samples in Javadocs to match reality
5750 * java/io/DataOutput
5751 * java/io/ObjectInputValidation
5752 Major documentation fixes - all Javadocs re-written or updated
5754 2003-04-06 Michael Koch <konqueror@gmx.de>
5756 * java/net/URLConnection.java:
5757 Import classes directly.
5758 (URLConnection): Merged class documentation with classpath.
5759 (url): Moved, documentation from classpath added.
5760 (doInput): Moved, documentation from classpath added.
5761 (doOutput): Moved, documentation from classpath added.
5762 (allowUserInteraction): Moved.
5763 (useCaches): Moved, documentation from classpath added.
5764 (ifModifiedSince): Moved, documentation from classpath added.
5765 (connected): Moved, documentation from classpath added.
5767 2003-04-06 Michael Koch <konqueror@gmx.de>
5769 * java/io/FileInputStream.java
5770 (skip): Renamed some variables to match classpath, added
5771 checks from classpath.
5773 2003-03-31 Michael Koch <konqueror@gmx.de>
5775 * javax/swing/AbstractAction.java
5776 (AbstractAction): Reformatted.
5777 (serialVersionUID): New private member variable.
5778 * javax/swing/plaf/BorderUIResource.java
5779 (serialVersionUID): New private member variable.
5780 * javax/swing/plaf/basic/BasicLookAndFeel.java
5781 (serialVersionUID): New private member variable.
5783 2003-03-31 Michael Koch <konqueror@gmx.de>
5785 * java/sql/Date.java
5786 (valueOf): Deprecated, reformatted.
5787 (toString): Deprecated, reformatted.
5788 * java/sql/Time.java
5789 (valueOf): Deprecated, reformatted.
5790 (toString): Deprecated, reformatted.
5792 2003-03-31 Michael Koch <konqueror@gmx.de>
5794 * java/rmi/dgc/VMID.java
5795 (isUnique): Deprecated.
5797 2003-03-31 Michael Koch <konqueror@gmx.de>
5800 (separator): Merged documentation from classpath.
5801 (separatorChar): Merged documentation from classpath.
5802 (pathSeparator): Merged documentation from classpath.
5803 (pathSeparatorChar): Merged documentation from classpath.
5804 (path): Merged documentation from classpath.
5805 (canRead): Merged documentation from classpath.
5806 (canWrite): Merged documentation from classpath.
5807 (createNewFile): Merged documentation from classpath.
5808 (delete): Merged documentation from classpath.
5809 (equals): Merged documentation from classpath.
5810 (exists): Merged documentation from classpath.
5811 (File): Renamed p to name to match classpath, merged documentation
5813 (getAbsolutePath): Merged documentation from classpath.
5814 (getCanonicalPath): Merged documentation from classpath.
5815 (getCanonicalFile): Merged documentation from classpath.
5816 (getName): Merged documentation from classpath.
5817 (getParent): Merged documentation from classpath.
5818 (getParentFile): Merged documentation from classpath.
5819 (getPath): Merged documentation from classpath.
5820 (hashCode): Merged documentation from classpath.
5821 (isAbsolute): Merged documentation from classpath.
5822 (isDirectory): Merged documentation from classpath.
5823 (isFile): Merged documentation from classpath.
5824 (isHidden): Merged documentation from classpath.
5825 (lastModified): Merged documentation from classpath.
5826 (length): Merged documentation from classpath.
5827 (list): Merged documentation from classpath.
5828 (listFiles): Merged documentation from classpath.
5829 (toString): Merged documentation from classpath.
5830 (toURL): Merged documentation from classpath.
5831 (mkdir): Merged documentation from classpath.
5832 (mkdirs): Merged documentation from classpath.
5833 (createTempFile): Merged documentation from classpath.
5834 (setReadOnly): Merged documentation from classpath.
5835 (listRoots): Merged documentation from classpath.
5836 (compareTo): Merged documentation from classpath.
5837 (renameTo): Merged documentation from classpath.
5838 (setLastModified): Merged documentation from classpath.
5839 * java/io/PrintStream.java
5840 (auto_flush): Merged documentation from classpath.
5841 (PrintStream): Merged documentation from classpath.
5842 (checkError): Merged documentation from classpath.
5843 (setError): Merged documentation from classpath.
5844 (close): Merged documentation from classpath.
5845 (flush): Merged documentation from classpath.
5846 (print): Merged documentation from classpath.
5847 (println): Merged documentation from classpath.
5848 (write): Renamed count to len to match classpath,
5849 merged documentation from classpath.
5850 * java/io/RandomAccessFile.java
5851 (readShort): Merged documentation from classpath.
5852 (readUnsignedByte): Merged documentation from classpath.
5853 (readUnsignedShort): Merged documentation from classpath.
5854 (readUTF): Merged documentation from classpath.
5855 (seek): Reformatted, merged documentation from classpath.
5856 (skipBytes): Renamed some variables to match classpath, reformatted,
5857 merged documentation from classpath.
5858 (write): Merged documentation from classpath.
5859 (writeBoolean): Merged documentation from classpath.
5860 (writeByte): Merged documentation from classpath.
5861 (writeShort): Merged documentation from classpath.
5862 (writeChar): Merged documentation from classpath.
5863 (writeInt): Merged documentation from classpath.
5864 (writeLong): Merged documentation from classpath.
5865 (writeFloat): Merged documentation from classpath.
5866 (writeDouble): Merged documentation from classpath.
5867 (writeBytes): Merged documentation from classpath.
5868 (writeChars): Merged documentation from classpath.
5869 (writeUTF): Reformatted.
5870 (getChannel): Reformatted.
5872 2003-03-31 Michael Koch <konqueror@gmx.de>
5874 * java/awt/font/TextAttribute.java
5875 (readResolve): Throws java.io.InvalidObjectException.
5877 2003-03-31 Michael Koch <konqueror@gmx.de>
5879 * java/rmi/server/LoaderHandler.java
5880 (loadClass): Deprecated.
5881 (getSecurityContext): Deprecated.
5882 * java/rmi/server/LogStream.java
5883 (getDefaultStream): Deprecated.
5884 (setDefaultStream): Deprecated.
5885 (getOutputStream): Deprecated.
5886 (setOutputStream): Deprecated.
5887 (write): Deprecated.
5888 (toString): Deprecated.
5889 (parseLevel): Deprecated.
5890 * java/rmi/server/Operation.java
5891 (Operation): Deprecated.
5892 (getOperation): Deprecated.
5893 (toString): Deprecated.
5894 * java/rmi/server/RemoteCall.java
5895 (getOutputStream): Deprecated.
5896 (releaseOutputStream): Deprecated.
5897 (getInputStream): Deprecated.
5898 (releaseInputStream): Deprecated.
5899 (getResultStream): Deprecated.
5900 (executeCall): Deprecated.
5902 * java/rmi/server/RemoteRef.java
5903 (invoke): Deprecated.
5904 (newCall): Deprecated.
5906 * java/rmi/server/RemoteStub.java
5907 (setRef): Deprecated.
5908 * java/rmi/server/Skeleton.java:
5909 No need to import java.lang.Exception explicitly.
5910 (dispatch): Deprecated.
5911 (getOperations): Deprecated.
5913 2003-03-31 Michael Koch <konqueror@gmx.de>
5915 * java/rmi/dgc/VMID.java,
5916 java/rmi/registry/RegistryHandler.java,
5917 java/rmi/server/LogStream.java,
5918 java/rmi/server/Operation.java,
5919 java/rmi/server/RemoteCall.java,
5920 java/rmi/server/RemoteRef.java,
5921 java/rmi/server/RemoteStub.java:
5924 2003-03-31 Michael Koch <konqueror@gmx.de>
5926 * javax/swing/AbstractCellEditor.java,
5927 javax/swing/AbstractListModel.java,
5928 javax/swing/ActionMap.java,
5929 javax/swing/BorderFactory.java,
5930 javax/swing/ButtonGroup.java,
5931 javax/swing/DefaultBoundedRangeModel.java,
5932 javax/swing/DefaultButtonModel.java,
5933 javax/swing/DefaultCellEditor.java,
5934 javax/swing/DefaultComboBoxModel.java,
5935 javax/swing/DefaultDesktopManager.java,
5936 javax/swing/DefaultListCellRenderer.java,
5937 javax/swing/DefaultSingleSelectionModel.java,
5938 javax/swing/InputMap.java,
5939 javax/swing/JComponent.java,
5940 javax/swing/JMenu.java,
5941 javax/swing/JSlider.java,
5942 javax/swing/KeyStroke.java,
5943 javax/swing/OverlayLayout.java,
5944 javax/swing/ScrollPaneLayout.java,
5945 javax/swing/SizeRequirements.java,
5946 javax/swing/UIManager.java,
5947 javax/swing/ViewportLayout.java,
5948 javax/swing/border/AbstractBorder.java,
5949 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5950 javax/swing/event/EventListenerList.java,
5951 javax/swing/table/AbstractTableModel.java,
5952 javax/swing/table/DefaultTableCellRenderer.java,
5953 javax/swing/table/DefaultTableColumnModel.java,
5954 javax/swing/table/DefaultTableModel.java,
5955 javax/swing/table/TableColumn.java,
5956 javax/swing/text/StyledEditorKit.java,
5957 javax/swing/tree/DefaultMutableTreeNode.java,
5958 javax/swing/tree/DefaultTreeModel.java,
5959 javax/swing/tree/DefaultTreeSelectionModel.java,
5960 javax/swing/tree/TreePath.java,
5961 javax/swing/undo/AbstractUndoableEdit.java,
5962 javax/swing/undo/StateEdit.java,
5963 javax/swing/undo/StateEditable.java,
5964 javax/swing/undo/UndoableEditSupport.java:
5965 Merges from classpath.
5967 2003-03-30 Tom Tromey <tromey@redhat.com>
5969 * java/lang/String.java (data, boffset, count): Documented.
5970 (String(byte[],String)): Reformatted.
5971 (String(byte[])): Likewise.
5972 (lastIndexOf(int)): Likewise.
5973 (lastIndexOf(String)): Likewise.
5974 (substring(int)): Renamed argument to match Classpath.
5975 (String(StringBuffer)): Don't share buffer if it is nearly empty.
5977 * java/lang/String.java: Miscellaneous minor formatting changes
5978 to match Classpath more closely.
5980 2003-03-29 Eric Blake <ebb9@email.byu.edu>
5981 Tom Tromey <tromey@redhat.com>
5983 * java/lang/natString.cc (hashCode): Use cachedHashCode.
5985 (charAt): Put index in exception.
5986 (contentEquals): New method.
5987 Include StringBuffer.h.
5988 * java/lang/String.java (cachedHashCode): New field.
5989 (String()): Follow classpath implementation.
5991 (contentEquals): Declare.
5992 (subSequence): Don't declare IndexOutIfBoundsException in throws
5994 (matches, replaceFirst, replaceAll, split): New methods from
5997 2003-03-29 Tom Tromey <tromey@redhat.com>
5999 * java/lang/String.java: Reordered to follow Classpath; merged in
6002 * java/text/MessageFormat.java: Removed some whitespace.
6004 * Makefile.in: Rebuilt.
6005 * Makefile.am (awt_java_source_files): Added new files.
6006 * gnu/javax/rmi/PortableServer.java,
6007 gnu/javax/rmi/CORBA/DelegateFactory.java,
6008 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6009 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6010 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6011 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6012 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6013 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
6014 javax/rmi/PortableRemoteObject.java,
6015 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
6016 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
6017 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
6018 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
6019 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
6020 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
6022 * java/lang/natClass.cc (newInstance): Put method name in
6024 (getConstructor): Likewise.
6025 (getDeclaredConstructor): Likewise.
6026 (getPrivateMethod): Likewise.
6028 2003-03-28 Tom Tromey <tromey@redhat.com>
6030 * java/lang/reflect/Proxy.java: New version from Classpath.
6031 * java/lang/Package.java: New version from Classpath.
6033 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
6035 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
6036 * configure: Regenerate.
6038 2003-03-28 Michael Koch <konqueror@gmx.de>
6040 * java/io/File.java:
6041 Import needed classes instead of whole packages, merged class
6042 documentation with classpath, moved constants and variables to top of
6044 * java/io/PrintStream.java:
6045 Merged class documentation with classpath, moved constants and
6046 variables to top of class.
6047 * java/io/RandomAccessFile.java
6048 (RandomAccessFile): Merged with classpath.
6049 (read): Merged with classpath).
6050 (read*): Reformatted.
6052 2003-03-28 Michael Koch <konqueror@gmx.de>
6054 * java/io/FileDescriptor.java
6055 (finalize): Throws Throwable, not IOException.
6056 * java/io/ObjectOutputStream.java
6057 (PutField.put): Doesnt throws anything.
6059 2003Â03-28 Michael Koch <konqueror@gmx.de>
6061 * java/io/FileOutputStream.java:
6062 Merged class documentation and authors with classpath.
6063 (FileOutputStream): Partly merged with classpath.
6064 (write): Merged with classpath.
6065 (getChannel): Make it synchronized instead of explicit block in this
6067 * java/io/RandomAccessFile.java:
6068 Merged class documentation and authors with classpath.
6070 2003-03-26 Tom Tromey <tromey@redhat.com>
6072 * java/lang/natRuntime.cc (insertSystemProperties): Set
6073 gnu.classpath.home.url.
6074 * Makefile.in: Rebuilt.
6075 * Makefile.am: Define LIBDIR.
6077 2003-03-25 Michael Koch <konqueror@gmx.de>
6079 * java/io/FileInputStream.java
6080 (read): Renamed b to buf and off to offset.
6081 * java/io/FileOutputStream.java
6082 (ch): Documentation added.
6083 (FileOutputStream): Documentation added.
6084 (getFD): Documentation added.
6085 (write): Documentation added.
6086 (close): Documentation added.
6087 (getChannel): Documentation added.
6089 2003-03-24 Michael Koch <konqueror@gmx.de>
6091 * java/io/DataOutputStream.java
6092 (write): Merged from classpath.
6093 * java/io/File.java:
6094 Merged copyrigth with classpath.
6095 * java/io/FileInputStream.java
6096 (getChannel): Made it synchronized instead of using a synchronized
6098 * java/io/FileOutputStream.java: Reformatted.
6099 * java/io/InputStreamReader.java
6100 (InputStreamReader): Renamed enc to encoding_name.
6101 (close): Merged documentation from classpath.
6102 (getEncoding): Merged documentation from classpath.
6103 (ready): Merged documentation from classpath.
6104 (read): Merged documentation from classpath.
6105 * java/io/LineNumberReader.java
6106 (lineNumber): Made it private.
6107 (LineNumberReader): Use Constant instead of a direct value.
6108 * java/io/OutputStreamWriter.java
6109 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
6110 documentation from classpath.
6111 (close): Merged documentation from classpath.
6112 (flush): Merged documentation from classpath.
6113 (write): Merged documentation from classpath.
6114 * java/io/PrintStream.java: Reformatted.
6116 2003-03-24 Michael Koch <konqueror@gmx.de>
6118 * javax/swing/text/ComponentView.java
6119 (getComponent): Must be final.
6120 * javax/swing/tree/DefaultTreeCellRenderer.java:
6122 * javax/swing/undo/StateEditable.java:
6125 2003-03-24 Michael Koch <konqueror@gmx.de>
6127 * java/rmi/activation/ActivationInstantiator.java:
6129 * java/rmi/activation/Activator.java:
6131 * java/rmi/registry/RegistryHandler.java:
6132 Remerged from classpath.
6134 2003-03-24 Michael Koch <konqueror@gmx.de>
6136 * java/util/Date.java:
6137 Fixed documentation starting tag to make javadoc happy.
6138 * java/util/regex/Pattern.java
6139 (Pattern): Implements Serializable.
6140 * java/util/PatternSyntaxException.java
6141 (serialVersionUID): New member variable.
6143 2003-03-24 Michael Koch <koqnueror@gmx.de>
6145 * java/awt/ContainerOrderFocusTraversalPolicy.java
6146 (getFirstComponent): Implemented.
6147 (getLastComponent): Implemented.
6148 (getDefaultComponent): Implemented.
6149 (setImplicitDownCycleTraversal): Fixed implementation.
6150 * java/awt/Robot.java
6151 (Robot): Added documentation.
6152 * java/awt/Toolkit.java
6153 (getFontList): Deprecated.
6154 (getFontMetrics): Deprecated.
6155 (getPrintJob): Added documentation.
6156 (getSystemSelection): Added documentation.
6157 (getLockingKeyState): Added documentation.
6158 (setLockingKeyState): Added documentation.
6159 (createCustomCursor): Added documentation.
6160 (getBestCursorSize): Added documentation.
6161 (getMaximumCursorColors): Added documentation.
6162 (isFrameStateSupported): Added documentation.
6164 2003-03-24 Michael Koch <konqueror@gmx.de>
6166 * java/io/RandomAccessFile.java:
6167 More little merges with classpath. No code changes.
6169 2003-03-24 Michael Koch <konqueror@gmx.de>
6171 * java/net/natInetAddressNoNet.cc:
6173 * java/net/natPlainDatagramSocketImplNoNet.cc:
6174 Fixed inlcude of java/net/DatagramPacket.h.
6175 * java/net/natPlainSocketImplNoNet.cc:
6176 Include some missing classes.
6178 2003-03-24 Michael Koch <konqueror@gmx.de>
6180 * java/awt/dnd/DropTarget.java
6181 (DropTargetAutoScroller): According to the online documentation, this
6182 is protected, but in reality it is public.
6183 * java/awt/dnd/DropTargetContext.java
6184 (TransferableProxy): According to the online documentation, this
6185 is protected, but in reality it is public.
6187 2003-03-24 Michael Koch <konqueror@gmx.de>
6189 * java/io/DataInputStream.java
6190 (): Wrapped documentation line.
6191 (): Fixed @return tag.
6192 * java/io/DataOutputStream.java
6193 (written): Moved to top of class.
6194 (all methods): Merged documentation from classpath.
6195 * java/io/File.java:
6196 Merged copyright year with classpath.
6197 * java/io/FileInputStream.java
6198 (all methods): Merged documentation from classpath.
6199 * java/io/LineNumberReader.java
6200 (getLineNumber): Fixed @return tag.
6201 * java/io/ObjectInputStream.java.
6203 * java/io/ObjectOutputStream.java:
6204 Reformatted, fixed some @see tags.
6205 * java/io/OutputStreamWriter.java:
6207 * java/io/Writer.java:
6210 2003-03-24 Michael Koch <konqueror@gmx.de>
6212 * java/awt/Frame.java
6213 (DEFAULT_CURSOR): Fixed @deprecated tag.
6214 (setCursor): Fixed @deprecated tag.
6216 2003-03-24 Michael Koch <konqueror@gmx.de>
6218 * java/beans/beancontext/BeanContextEvent.java:
6221 2003-03-23 Eric Blake <ebb9@email.byu.edu>
6223 * java/lang/natStringBuffer.cc (regionMatches): New function.
6224 * java/lang/String.java (count): Now package-private.
6225 * java/lang/StringBuffer.java: Merged with Classpath.
6227 2003-03-23 Michael Koch <konqueror@gmx.de>
6229 * java/io/BufferedOutputStream.java:
6231 * java/io/BufferedReader.java:
6233 * java/io/ByteArrayOutputStream.java
6234 (size): Fixed @see tag.
6235 * java/io/CharArrayWriter.java
6236 (size): Fixed @see tag.
6237 * java/io/DataInput.java:
6239 * java/io/DataOutput.java:
6241 * java/io/DataOutputStream.java:
6242 Merged copyright years with classpath.
6243 * java/io/Externalizable.java:
6245 * java/io/FileFilter.java:
6247 * java/io/FileInputStream.java:
6248 Merged copyright years with classpath.
6249 * java/io/FileOutputStream.java:
6250 Merged copyright years with classpath.
6251 * java/io/FilePermission.java
6252 (FilePermission): Replaced @XXX with FIXME:.
6253 * java/io/FileWriter.java:
6255 * java/io/FilenameFilter.java:
6257 * java/io/FilterInputStream.java:
6259 * java/io/FilterOutputStream.java:
6261 * java/io/FilterReader.java:
6263 * java/io/FilterWriter.java:
6265 * java/io/LineNumberInputStream.java
6266 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
6268 (getLineNumber): Fixed @return tag.
6269 * java/io/ObjectInput.java:
6271 * java/io/ObjectOutput.java:
6273 * java/io/ObjectStreamClass.java:
6275 * java/io/PrintStream.java:
6276 Merged copyright years with classpath.
6277 * java/io/PushbackReader.java
6278 (PushbackReader): Replaced @code with @param.
6279 * java/io/SerializablePermission.java:
6281 * java/io/StreamTokenizer.java
6282 (resetSyntax): Fixed @see tag.
6284 2003-03-22 Richard Henderson <rth@redhat.com>
6286 * sysdep/ia64/locks.h: Include ia64intrin.h.
6287 (compare_and_swap): Use __sync_bool_compare_and_swap.
6288 (compare_and_swap_release): Expose ar.ccv assignment.
6290 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
6292 * include/posix.h: Add suffix for darwin dynamic libraries.
6294 2003-03-21 Michael Koch <konqueror@gmx.de>
6296 * javax/swing/Action.java
6297 (ACCELERATOR_KEY): New constant.
6298 (ACTION_COMMAND_KEY): Likewise.
6299 (MNEMONIC_KEY): Likewise.
6300 * javax/swing/UnsupportedLookAndFeelException.java
6301 (UnsupportedLookAndFeelException): Must be public.
6302 * javax/swing/WindowConstants.java
6303 (EXIT_ON_CLOSE): New constant.
6304 * javax/swing/text/BadLocationException.java
6305 (offset): New member variable.
6306 (BadLocationException): New implementation, documentation added.
6307 (offsetRequested): New method.
6308 * javax/swing/text/Caret.java:
6310 * javax/swing/text/Document.java:
6313 2003-03-21 Michael Koch <konqueror@gmx.de>
6315 * java/rmi/activation/Activatable.java
6316 (serialVersionUID): New member variable.
6317 * java/rmi/activation/ActivationGroup.java
6318 (serialVersionUID): New member variable.
6319 * java/rmi/activation/ActivationGroupDesc.java
6320 (serialVersionUID): New member variable.
6321 * java/rmi/registry/Registry.java:
6323 (Registry): Deprecated.
6324 * java/rmi/server/LoaderHandler.java
6326 (LoaderHandler): Deprecated.
6327 * java/rmi/server/LogStream.java
6329 (LogStream): Deprecated.
6330 * java/rmi/server/Operation.java
6331 (Operation): Deprecated.
6332 * java/rmi/server/RMIFailureHandler.java:
6334 * java/rmi/server/RMISocketFactory.java:
6336 * java/rmi/server/RemoteCall.java
6337 (RemoteCall): Deprecated.
6338 * java/rmi/server/RemoteStub.java:
6340 * java/rmi/server/Skeleton.java
6342 (Skeleton): Deprecated.
6344 2003-03-21 Michael Koch <konqueror@gmx.de>
6346 * java/io/LineNumberReader.java
6347 (LineNumberReader): Merged documentation with classpath.
6348 (getLineNumber): Likewise.
6349 (setLineNumber): Likewise.
6353 (readLine): Likewise.
6356 2003-03-21 Michael Koch <konqueror@gmx.de>
6358 * java/rmi/RMISecurityManager.java
6359 (checkAccept): Removed.
6360 (checkAccess): Likewise.
6361 (checkAccess): Likewise.
6362 (checkAwtEventQueueAccess): Likewise.
6363 (checkConnect): Likewise.
6364 (checkCreateClassLoader): Likewise.
6365 (checkDelete): Likewise.
6366 (checkExec): Likewise.
6367 (checkExit): Likewise.
6368 (checkLink): Likewise.
6369 (checkListen): Likewise.
6370 (checkMemberAccess): Likewise.
6371 (checkMulticast): Likewise.
6372 (checkPackageAccess): Likewise.
6373 (checkPackageDefinition): Likewise.
6374 (checkPermission): Likewise.
6375 (checkPrintJobAccess): Likewise.
6376 (checkPropertiesAccess): Likewise.
6377 (checkPropertyAccess): Likewise.
6378 (checkRead): Likewise.
6379 (checkSecurityAccess): Likewise.
6380 (checkSetFactory): Likewise.
6381 (checkSystemClipboardAccess): Likewise.
6382 (checkTopLevelWindow): Likewise.
6383 (checkWrite): Likewise.
6385 2003-03-20 Michael Koch <konqueror@gmx.de>
6387 * gnu/java/nio/FileChannelImpl.java
6389 (map_address): New member variable.
6390 (length): Make it package private.
6391 (fd): Make it package private.
6392 (buf): Make it package private.
6393 (file_obj): Make it package private.
6394 (FileChannelImpl): New constructor.
6395 (nio_mmap_file): Use RawData instead of long.
6396 (nio_munmap_file): Use RawData instead of long.
6397 (nio_msync): Use RawData instead of long.
6398 (implCloseChannel): New implementation using map_address.
6401 (create_direct_mapped_buffer): Implemented, use RawData, throws
6403 (force): Use map_address instead of address.
6404 * gnu/java/nio/MappedByteFileBuffer.java
6406 (map_address): New member variable.
6407 (MappedByteFileBuffer): Use map_address instead of address, reformated.
6408 (several methods): Use map_address instead of address, replaced long
6409 with RawData where appropriate.
6410 * gnu/java/nio/natFileChannelImpl.cc
6411 (nio_mmap_file): Replaced long with RawData.
6412 (nio_munmap_file): Replaced long with RawData.
6413 (nio_msync): Replaced long with RawData.
6414 * gnu/java/nio/natMappedByteFileBuffer.cc
6415 (several methods): Replaced long with RawData where appropriate.
6417 2003-03-20 Michael Koch <konqueror@gmx.de>
6419 * java/net/InetAddress.java,
6420 java/net/JarURLConnection.java,
6421 java/net/PlainDatagramSocketImpl.java,
6422 java/net/PlainSocketImpl.java,
6423 java/net/URLConnection.java:
6424 Merged copyright statements with classpath for easier merging.
6426 2003-03-20 Michael Koch <konqueror@gmx.de>
6428 * java/io/FileInputStream.java
6429 (getChannel): New implementation.
6430 * java/io/FileOutputStream.java
6431 (ch): New member variable.
6432 (getChannel): Implemented.
6433 * java/io/RandomAccessFile.java
6434 (RandomAccessFile): Throws FileNotFoundException instead of
6436 (getChannel): New method.
6437 (ch): New member variable.
6439 2003-03-20 Michael Koch <konqueror@gmx.de>
6441 * java/io/DataOutputStream.java,
6443 java/io/FileInputStream.java,
6444 java/io/FileOutputStream.java,
6445 java/io/InputStreamReader.java,
6446 java/io/LineNumberReader.java,
6447 java/io/OutputStreamWriter.java,
6448 java/io/PrintStream.java,
6449 java/io/RandomAccessFile.java:
6450 Merged copyright statements with classpath for easier merging.
6452 2003-03-19 Michael Koch <konqueror@gmx.de>
6454 * java/lang/Process.java:
6455 Merged from classpath.
6457 2003-03-19 Michael Koch <konqueror@gmx.de>
6459 * java/io/FileOutputStream.java
6460 (FileOutputStream): New constructor, merged from classpath.
6461 * java/io/FileWriter.java
6462 (FileWriter): New constructor, merged from classpath.
6464 2003-03-18 Michael Koch <konqueror@gmx.de>
6466 * java/awt/ScrollPane.java
6467 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
6468 (getViewportSize): Likewise.
6469 (addNotify): Likewise.
6470 (removeNotify): Likewise.
6471 * java/awt/ScrollPaneAdjustable.java
6472 (ScrollPaneAdjustable): No longer extends Scrollbar.
6473 * java/beans/beancontext/BeanContextServices.java:
6475 (getService): Added throws TooManyListenersException;
6476 * java/beans/beancontext/BeanContextServicesSupport.java:
6479 2003-03-18 Michael Koch <konqueror@gmx.de>
6481 * java/io/BufferedOutputStream.java,
6482 java/io/DataInput.java,
6483 java/io/DataInputStream.java,
6484 java/io/DataOutput.java,
6485 java/io/Externalizable.java:
6486 More merges from classpath.
6488 2003-03-18 Michael Koch <konqueror@gmx.de>
6490 * configure.in: Fixed links to platform dependant java.net files.
6491 * configure: Regenerated.
6492 * java/net/natInetAddress.cc,
6493 java/net/natNetworkInterface.cc,
6494 java/net/natPlainDatagramSocketImpl.cc,
6495 java/net/natPlainSocketImpl.cc:
6498 2003-03-18 Michael Koch <konqueror@gmx.de>
6500 * configure.in: Create links to architecture dependent files,
6501 introduced PLATFORMNET variable (set to NoNet for newlib usage).
6502 * configure: Regenerated.
6503 * java/net/natInetAddressNoNet.cc,
6504 java/net/natInetAddressPosix.cc,
6505 java/net/natInetAddressWin32.cc,
6506 java/net/natNetworkInterfaceNoNet.cc,
6507 java/net/natNetworkInterfacePosix.cc,
6508 java/net/natNetworkInterfaceWin32.cc,
6509 java/net/natPlainDatagramSocketImplNoNet.cc,
6510 java/net/natPlainDatagramSocketImplPosix.cc,
6511 java/net/natPlainDatagramSocketImplWin32.cc,
6512 java/net/natPlainSocketImplNoNet.cc,
6513 java/net/natPlainSocketImplPosix.cc,
6514 java/net/natPlainSocketImplWin32.cc: New files.
6516 2003-03-18 Michael Koch <konqueror@gmx.de>
6518 * java/io/BufferedReader.java,
6519 java/io/BufferedWriter.java,
6520 java/io/ByteArrayOutputStream.java,
6521 java/io/FileFilter.java,
6522 java/io/FilePermission.java,
6523 java/io/FileReader.java,
6524 java/io/FileWriter.java,
6525 java/io/FilenameFilter.java,
6526 java/io/FilterInputStream.java,
6527 java/io/FilterOutputStream.java,
6528 java/io/FilterReader.java,
6529 java/io/FilterWriter.java,
6530 java/io/ObjectInput.java,
6531 java/io/ObjectInputValidation.java,
6532 java/io/ObjectOutput.java,
6533 java/io/ObjectStreamField.java,
6534 java/io/PipedInputStream.java,
6535 java/io/PipedReader.java,
6536 java/io/PrintWriter.java,
6537 java/io/PushbackReader.java,
6538 java/io/Reader.java,
6539 java/io/SerializablePermission.java,
6540 java/io/StringReader.java,
6541 java/io/Writer.java:
6542 Merged from classpath.
6544 2003-03-17 Michael Koch <konqueror@gmx.de>
6546 * java/awt/ScrollPaneAdjustable.java:
6549 2003-03-17 Michael Koch <konqueror@gmx.de>
6551 * java/net/DatagramSocket.java
6552 (connect): Fixed comment.
6553 * java/nio/ByteBuffer.java
6554 (hasArray): Fixed comment.
6556 2003-03-17 Michael Koch <konqueror@gmx.de>
6558 * java/beans/Beans.java:
6559 Explicitely import classes not packages.
6560 * java/beans/FeatureDescriptor.java
6561 (preferred): New member variable.
6562 (isPreferred): New method.
6563 (setPreferred): New method.
6564 * java/beans/PropertyEditorManager.java:
6565 Explicitely import used classes.
6566 * java/beans/beancontext/BeanContextChild.java:
6567 Added line wrapping.
6568 * java/beans/beancontext/BeanContextChildSupport.java:
6570 * java/beans/beancontext/BeanContextEvent.java:
6573 2003-03-17 Michael Koch <konqueror@gmx.de>
6575 * java/awt/Dialog.java
6576 (Dialog): New constructor, changed implementations, added
6578 * java/awt/ScrollPaneAdjustable.java
6579 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
6581 (serialVersionUID): New member variable.
6582 (sp): New member variable.
6583 (orientation): New member variable.
6584 (value): New member variable.
6585 (minimum): New member variable.
6586 (maximum): New member variable.
6587 (visibleAmount): New member variable.
6588 (unitIncrement): New member variable.
6589 (blockIncrement): New member variable.
6590 (AdjustmentListener): New member variable.
6591 (ScrollPaneAdjustable): New implementation.
6592 (addAdjustmentListener): New method.
6593 (removeAdjustmentListener): New method.
6594 (getAdjustmentListeners): New method.
6595 (getBlockIncrement): New method.
6596 (getMaximum): New method.
6597 (getMinimum): New method.
6598 (getOrientation): New method.
6599 (getUnitIncrement): New method.
6600 (getValue): New method.
6601 (getVisibleAmount): New method.
6602 (setBlockIncrement): New method.
6603 (setMaximum): Implemented.
6604 (setMinimum): Implemented.
6605 (setUnitIncrement): New method.
6606 (setValue): New method.
6607 (setVisibleAmount): Implemented.
6608 (paramString): New stubbed method.
6609 * java/awt/Window.java
6610 (show): Call setVisible().
6611 (hide): Call setVisible().
6612 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
6613 and WINDOW_STATE_CHANGED.
6614 (processWindowFocusEvent): New method.
6615 (processWindowStateEvent): New method.
6616 (postEvent): Deprecated.
6617 (applyResourceBundle): Deprecated.
6618 * java/awt/datatransfer/DataFlavor.java
6619 (DataFlavor): Doesn't thow ClassNotFoundException.
6621 2003-03-17 Michael Koch
6623 * javax/print/attribute/Attribute.java,
6624 javax/print/attribute/AttributeSet.java,
6625 javax/print/attribute/PrintRequestAttributeSet.java:
6628 (javax_source_files): Added new files:
6629 javax/print/attribute/Attribute.java
6630 javax/print/attribute/AttributeSet.java
6631 javax/print/attribute/PrintRequestAttributeSet.java
6632 * Makefile.in: Regenerated.
6634 2003-03-17 Michael Koch
6636 * javax/print/attribute/Attribute.java,
6637 javax/print/attribute/AttributeSet.java,
6638 javax/print/attribute/PrintRequestAttributeSet.java:
6641 (awt_java_source_files): Added new files:
6642 javax/print/attribute/Attribute.java
6643 javax/print/attribute/AttributeSet.java
6644 javax/print/attribute/PrintRequestAttributeSet.java
6645 * Makefile.in: Regenerated.
6647 2003-03-16 Tom Tromey <tromey@redhat.com>
6649 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
6651 * java/lang/natRuntime.cc (insertSystemProperties): Use
6652 _Jv_platform_path_separator.
6653 (nativeGetLibname): Use _Jv_platform_file_separator.
6654 (_load): Use _Jv_platform_onload_names.
6655 (onload_names): New global.
6656 * include/win32.h (_Jv_platform_file_separator): New define.
6657 (_Jv_platform_path_separator): Likewise.
6658 (_Jv_platform_onload_names): Likewise.
6659 (_Jv_platform_ffi_abi): Likewise.
6660 * include/posix.h (_Jv_platform_file_separator): New define.
6661 (_Jv_platform_path_separator): Likewise.
6662 (_Jv_platform_onload_names): Likewise.
6663 (_Jv_platform_ffi_abi): Likewise.
6665 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
6667 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
6669 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
6671 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
6673 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
6674 list to Object,ObjectStreamClass, moved callReadMethod code up into
6675 readObject and added Class argument to all setXxxField calls.
6676 (callReadMethod): Changed Class argument to ObjectStreamClass to be
6677 consistent with ObjectOutputStream and to facilitate caching the
6678 Method in the future.
6679 (setBooleanField): Added Class argument.
6680 (setByteField): Likewise.
6681 (setCharField): Likewise.
6682 (setDoubleField): Likewise.
6683 (setFloatField): Likewise.
6684 (setIntField): Likewise.
6685 (setLongField): Likewise.
6686 (setShortField): Likewise.
6687 (setObjectField): Likewise.
6688 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
6689 class hierarchy loop.
6690 (defaultWriteObject): Call writeFields with new argument list.
6691 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
6692 list to Object,ObjectStreamClass, moved callWriteMethod up into
6693 writeObject and added Class argument to all getXxxField calls.
6694 (callWriteMethod): Added ObjectStreamClass argument to be able to
6695 get the proper class to call getMethod on (each class can have (or
6696 not have) its own writeObject method).
6697 (getBooleanField): Added Class argument.
6698 (getByteField): Likewise.
6699 (getCharField): Likewise.
6700 (getDoubleField): Likewise.
6701 (getFloatField): Likewise.
6702 (getIntField): Likewise.
6703 (getLongField): Likewise.
6704 (getShortField): Likewise.
6705 (getObjectField): Likewise.
6706 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
6707 facilitate caching the Method object in the future.
6709 2003-03-12 Andreas Schwab <schwab@suse.de>
6711 * configure.in: Avoid trailing /. in toolexeclibdir.
6712 * configure: Rebuilt.
6714 2003-03-11 Michael Koch <konqueror@gmx.de>
6716 * gnu/java/nio/ByteBufferImpl.java
6717 (putInt): Use limit() instead of limit.
6718 * gnu/java/nio/CharBufferImpl.java
6719 (slice): Fixed implementation.
6720 (subSequence): Better bounds checking.
6721 * gnu/java/nio/MappedByteFileBuffer.java:
6722 Import all needed classes directly.
6723 * java/nio/ByteBuffer.java
6724 (hashCode): New dummy method.
6725 * java/nio/CharBuffer.java
6726 (array_offset): New member variable.
6727 (hasArray): Fixed documentation.
6728 (arrayOffset): Return array_offset.
6730 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
6732 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
6733 setter; made return value of getter const char* instead of char*
6734 * prims.cc: removed all references to _Jv_ThisExecutable().
6735 These are in the platform-specific sections now.
6736 * posix.cc: define platform-specific _Jv_ThisExecutable().
6737 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
6738 * win32.cc: define platform-specific _Jv_ThisExecutable()
6739 using GetModuleFilename()
6740 * java/lang/natRuntime.cc: set gnu.gcj.progname property
6741 to argv[0] instead of _Jv_ThisExecutable()
6743 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
6745 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
6746 that is set if we are using addr2name.awk instead of addr2line.
6747 (NameFinder): Set usingAddr2name if using addr2name.awk.
6748 (getExternalLabel): New native method to convert a method
6749 name to an external label.
6750 (lookup): Convert name given by addr2line to an external label
6753 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
6754 constant representing the prefix attached to method names to
6755 convert them to an external label.
6756 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
6759 2003-03-10 Tom Tromey <tromey@redhat.com>
6761 * Makefile.in: Rebuilt.
6762 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
6763 (JC1FLAGS): Removed -Wno-deprecated.
6765 2003-03-10 Michael Koch <konqueror@gmx.de>
6767 * java/nio/ByteOrder.java
6768 (nativeOrder): Working implementation, added documentation.
6769 (toString): Added documentation.
6771 2003-03-10 Michael Koch <konqueror@gmx.de>
6773 * java/net/DatagramSocket.java,
6774 java/net/MulticastSocket.java,
6775 java/net/Socket.java,
6777 java/net/URLConnection.java:
6778 Fixed some documentation tags to make javadoc and friends happy.
6780 2003-03-10 Michael Koch <koqnueror@gmx.de>
6782 * java/beans/beancontext/BeanContextServicesSupport.java,
6783 java/beans/beancontext/BeanContextSupport.java: New files.
6785 (awt_source_files): Added new files.
6786 * Makefile.in: Regenerated.
6788 2003-03-10 Michael Koch <konqueror@gmx.de>
6790 * java/awt/FocusTraversalPolicy.java
6791 (FocusTraversalPolicy): Documentation added.
6792 (getComponentAfter): Documentation added.
6793 (getComponentBefore): Documentation added.
6794 (getFirstComponent): Documentation added.
6795 (getLastComponent): Documentation added.
6796 (getDefaultComponent): Documentation added.
6797 (getInitialComponent): Documentation added.
6798 * java/awt/ScrollPaneAdjustable.java
6799 (sp): New member variable.
6800 (orientation): New member variable.
6801 (value): New member variable.
6802 (minimum): New member variable.
6803 (maximum): New member variable.
6804 (visibleAmount): New member variable.
6805 (unitIncrement): New member variable.
6806 (blockIncrement): New member variable.
6807 (adjustmentListener): New member variable.
6808 (ScrollPaneAdjustable): Rewrote.
6809 (addAdjustmentListener): New method.
6810 (removeAdjustmentListener): New method.
6811 (getAdjustmentListeners): New method.
6812 (getBlockIncrement): New method.
6813 (getMaximum): New method.
6814 (getMinimum): New method.
6815 (getOrientation): New method.
6816 (getUnitIncrement): New method.
6817 (getValue): New method.
6818 (getVisibleAmount): New method.
6819 (setBlockIncrement): New method.
6820 (setUnitIncrement): New method.
6821 (setMaximum): Implemented.
6822 (setMinimum): Implemented.
6823 (setValue): New method.
6824 (setVisibleAmount): Implemented.
6825 (paramString): New method.
6826 * java/awt/Window.java
6827 (show): Use setVisible(true) instead of super.show().
6828 (hide): Use sevVisible(false) instead of super.hide().
6829 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
6830 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
6831 (postEvent): Deprecated.
6832 (applyResourceBundle): Deprecated.
6833 (processWindowFocusEvent): New method.
6834 (processWindowStateEvent): New method.
6835 * java/awt/datatransfer/DataFlavor.java: Reindented.
6836 * java/awt/font/TextHitInfo.java
6837 (charIndex): New member variable.
6838 (leadingEdge): New member variable.
6839 (TextHitInfo): New constructor.
6840 (getCharIndex): Implemented.
6841 (isLeadingEdge): Implemented.
6842 (getInsertionIndex): Implemented.
6843 (hashCode): Access charIndex directly.
6844 (equals): Reformated.
6845 (leading): Implemented.
6846 (trailing): Implemented.
6847 (beforeOffset): Implemented.
6848 (afterOffset): Implemented.
6849 (getOtherHit): Implemented.
6850 (getOffsetHit): Implemented.
6851 (toString): Implemented.
6852 * java/awt/image/BufferedImage.java
6853 (BufferedImage): Implements WritableRenderedImage.
6854 (observers): New member variable.
6855 (addTileObserver): New method.
6856 (removeTileObserver): New method.
6858 2003-03-09 Tom Tromey <tromey@redhat.com>
6861 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
6862 to lseek. Return 0 if we can't compute the value.
6864 2003-03-03 Michael Koch <konqueror@gmx.de>
6866 * java/net/NetworkInterface.java: Merged with classpath.
6868 2003-03-03 Tom Tromey <tromey@redhat.com>
6870 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
6872 (handle_ret_insn): Fail if returning to jsr that appears at end of
6875 2003-03-03 Michael Koch <konqueror@gmx.de>
6878 (ordinary_java_source_files):
6879 Added gnu/java/nio/MappedByteFileBuffer.java.
6881 Added gnu/java/nio/natMappedByteFileBuffer.cc.
6882 * Makefile.in: Regenerated.
6884 2003-03-03 Michael Koch <konqueror@gmx.de>
6886 * java/net/DatagramSocket.java
6887 (connect): Merged comment from classpath.
6888 (receive): Merged documentation from classpath.
6889 * java/net/Socket.java
6890 (setSoTimeout): Clarified documentation.
6892 (getPath): Merged from classpath.
6893 (getUserInfo): Merged from classpath.
6894 (getQuery): Merged from classpath.
6895 * java/net/URLStreamHandler.java
6896 (toExternalForm): Merged from classpath.
6898 2003-03-02 Mark Wielaard <mark@klomp.org>
6900 * java/util/Properties.java (load): Only skip line if the first
6901 character is a comment, whitespaces don't count.
6903 2003-03-02 Michael Koch <konqueror@gmx.de>
6905 * java/net/NetPermission.java:
6906 Merged copyright with classpath.
6908 2003-03-02 Michael Koch <konqueror@gmx.de>
6910 * java/lang/Package.java:
6911 Remerged from classpath.
6913 2003-03-02 Michael Koch <konqueror@gmx.de>
6915 * java/net/HttpURLConnection.java
6916 (HTTP_SERVER_ERROR): Deprecated.
6917 * java/net/MulticastSocket.java
6918 (send): Replaced checkMulticast with appropriate checkPermission call,
6920 * java/net/URLDecoder.java
6921 (decode): Deprecated.
6922 * java/net/URLEncoder.java
6923 (encode): Deprecated.
6925 2003-03-02 Michael Koch <konqueror@gmx.de>
6927 * javax/swing/text/Caret.java
6928 (getMagicCaretPosition): Fixed typo in method name.
6929 * javax/swing/text/DefaultCaret.java
6930 (getMagicCaretPosition): Fixed typo in method name.
6932 2003-03-02 Michael Koch <konqueror@gmx.de>
6934 * java/awt/List.java
6935 (setMultipleSelections): Deprecated.
6936 (delItem): Deprecated.
6937 * java/awt/MenuComponent.java
6938 (getPeer): Deprecated.
6939 * java/awt/ScrollPane.java
6940 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6941 * java/awt/dnd/MouseDragGestureRecognizer.java
6942 (mouseClicked): Added comment.
6943 (mousePressed): Added comment.
6944 (mouseReleased): Added comment.
6945 (mouseEntered): Added comment.
6946 (mouseExited): Added comment.
6947 (mouseDragged): Added comment.
6948 (mouseMoved): Added comment.
6949 * java/awt/event/KeyEvent.java
6950 (KeyEvent): Deprecated.
6951 (setModifiers): Deprecated.
6953 2003-03-02 Michael Koch <konqueror@gmx.de>
6955 * gnu/java/nio/FileChannelImpl.java
6956 (fd): Type FileDescriptor instead of int.
6957 (lengthInternal): Removed.
6958 (FileChannelImpl): Fixed arguments, check type of file object.
6959 (size): Made it native.
6960 (implPosition): New native method.
6961 (implTruncate): New native method.
6962 (position): Implemented.
6963 (truncate): Implemented.
6964 (nio_mmap_file): Changed arguments.
6965 (nio_munmap_file): Changed arguments.
6966 (nio_msync): Changed arguments.
6967 * gnu/java/nio/natFileChannelImpl.cc
6968 (lengthInternal): Removed.
6970 (implPosition): New method.
6971 (implTruncate): New method.
6972 (nio_mmap_file): Changed arguments.
6973 (nio_munmap_file): Changed arguments.
6974 (nio_msync): Changed arguments.
6976 2003-03-02 Michael Koch <konqueror@gmx.de>
6978 * java/awt/dnd/DropTargetContext.java:
6979 Compile fix: Forgot to commit import.
6981 2003-03-02 Michael Koch <konqueror@gmx.de>
6983 * java/awt/Component.java,
6984 java/awt/ScrollPane.java:
6987 2003-03-02 Michael Koch <konqueror@gmx.de>
6989 * java/awt/dnd/DnDEventMulticaster.java: New file.
6990 * java/awt/dnd/DragSource.java
6991 (flavorMap): New member variable.
6992 (dragSourceListener): New member variable.
6993 (dragSourceMotionListener): New member variable.
6994 (getFlavorMap): Implemented.
6995 (createDragGestureRecognizer): Implemented.
6996 (addDragSourceListener): Implemented.
6997 (removeDragSourceListener): Implemented.
6998 (getDragSourceListeners): Implemented.
6999 (addDragSourceMotionListener): Implemented.
7000 (removeDragSourceMotionListener): Implemented.
7001 (getDragSourceMotionListeners): Implemented.
7002 (getListeners): Implemented.
7003 * java/awt/dnd/DragSourceContext.java
7004 (peer): New member variable.
7005 (cursor): New member variable.
7006 (transferable): New member variable.
7007 (trigger): New member variable.
7008 (dragSourceListener): New member variable.
7009 (image): New member variable.
7010 (offset): New member variable.
7011 (DragSourceContext): Implemented.
7012 (getDragSource): Implemented.
7013 (getComponent): Implemented.
7014 (getTrigger): Implemented.
7015 (getSourceActions): Implemented.
7016 (setCursor): Implemented.
7017 (getCursor): Implemented.
7018 (addDragSourceListener): Implemented.
7019 (removeDragSourceListener): Implemented.
7020 (getTransferable): Implemented.
7021 * java/awt/dnd/DropTarget.java
7022 (DropTargetAutoScroller.component): New member variable.
7023 (DropTargetAutoScroller.point): New member variable.
7024 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
7025 (DropTargetAutoScroller.updateLocation): Implemented.
7026 (active): Renamed from isActive, defaults to true now.
7027 (component): New member variable.
7028 (flavorMap): New member variable.
7029 (actions): New member variable.
7030 (dropTargetContext): New member variable.
7031 (dropTargetListener): New member variable.
7032 (DropTarget): Implemented.
7033 (getComponent): Implemented.
7034 (setComponent): Implemented.
7035 (setDefaultActions): Implemented.
7036 (getDefaultActions): Implemented.
7037 (setActive): Use active instead of isActive.
7038 (isActive): Use active instead of isActive.
7039 (addDropTargetListener): Implemented.
7040 (removeDropTargetListener): Implemented.
7041 (getFlavorMap): Implemented.
7042 (setFlavorMap): Implemented.
7043 (getDropTargetContext): Implemented.
7044 (createDropTargetContext): Implemented.
7045 (createDropTargetAutoScroller): Implemented.
7046 * java/awt/dnd/DropTargetContext.java
7047 (TransferableProxy.getTransferDataFlavors): Implemented.
7048 (TransferableProxy.isDataFlavorSupported): Implemented.
7049 (TransferableProxy.getTransferData): Implemented.
7050 (dropTarget): New member variable.
7051 (dtcp): New member variable.
7052 (DropTargetContext): New package private constructor.
7053 (getDropTarget): Implemented.
7054 (getComponent): Implemented.
7055 (addNotify): Implemented.
7056 (removeNotify): Implemented.
7057 (getCurrentDataFlavorsAsList): Implemented.
7058 (isDataFlavorSupported): Implemented.
7059 * java/awt/dnd/MouseDragGestureRecognizer.java
7060 (registerListeners): Implemented.
7061 (unregisterListeners): Implemented.
7063 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
7064 * Makefile.in: Regenerated.
7066 2003-03-02 Michael Koch <konqueror@gmx.de>
7068 * java/awt/Component.java
7069 (eventTypeEnabled): New method.
7070 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
7071 * java/awt/Container.java
7072 (changeSupport): New member variable.
7073 (addPropertyChangeListener): New methods.
7074 * java/awt/ContainerOrderFocusTraversalPolicy.java
7075 (ContainerOrderFocusTraversalPolicy): Added comment.
7076 (getComponentAfter): Throw exception, documentation added.
7077 (getComponentBefore): Throw exception, documentation added.
7078 (getFirstComponent): Throw exception, documentation added.
7079 (getLastComponent): Throw exception, documentation added.
7080 (getDefaultComponent): Throw exception, documentation added.
7081 * java/awt/EventQueue.java: Reindented.
7082 * java/awt/FocusTraversalPolicy.java:
7083 (FocusTraversalPolicy): Added comment.
7084 (getComponentAfter): Documentation added.
7085 (getComponentBefore): Documentation added.
7086 (getFirstComponent): Documentation added.
7087 (getLastComponent): Documentation added.
7088 (getDefaultComponent): Documentation added.
7089 (getInitialComponent): Documentation added.
7090 * java/awt/ScrollPane.java
7091 (wheelScrollingEnabled): New member variable.
7092 (ScrollPane): Initialize wheelScollingEnabled.
7093 (eventTypeEnabled): New method.
7094 (isWheelScrollingEnabled): New method.
7095 (setWheelScrollingEnabled): New method.
7097 2003-03-02 Michael Koch <konqueror@gmx.de>
7099 * java/net/DatagramSocket.java
7100 (closed): New member variable.
7101 (close): Use closed variable.
7102 (getInetAddress): No need to call isConnected().
7103 (getPort): No need to call isConnected().
7104 (disconnect): Reset remoteAddress and remotePort, fixed typo.
7105 (isClosed): Reimplemented.
7107 2003-03-02 Michael Koch <konqueror@gmx.de>
7109 * configure.in: Added check for memory mapping of files.
7110 * configure: Regenerated.
7111 * config.h.in: Regenerated.
7113 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
7115 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
7116 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
7118 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
7120 * java/io/File.java (normalizePath): Remove trailing separator
7121 on Windows only if path is not of the form "x:\".
7123 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
7124 (java::io::File::attr): Change formatting a bit and use
7125 WIN32_EPOCH_MILLIS instead of magic numbers.
7126 (java::io::File::isAbsolute): Path must have at least 3
7127 characters for a UNC network path.
7128 (java::io::File::init_native): Define.
7129 (java::io::File::performCreate): Likewise.
7130 (java::io::File::performSetReadOnly): Likewise.
7131 (java::io::File::performSetLastModified): Likewise.
7132 (java::io::File::performListRoots): Likewise.
7134 2003-03-01 Tom Tromey <tromey@redhat.com>
7136 * java/lang/natObject.cc: Don't include assert.h.
7137 (heavy_lock_obj_finalization_proc): Use JvAssert.
7138 (remove_all_heavy): Likewise.
7139 (_Jv_MonitorEnter): Likewise.
7140 (_Jv_MonitorExit): Likewise.
7143 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
7145 * java/io/File (getAbsolutePath): Prefix drive specifier on
7146 Windows for paths starting with a '\'.
7147 (toURL): Make URL more consistent with what Sun's JDK returns.
7149 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
7150 true only if the path is a UNC network path or it starts with a
7153 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
7154 Be prepared to handle either '/' or '\\' in the file path for
7155 Windows if using the "file" protocol.
7156 Canonicalise the file path if using a relative path in the given
7157 context and the "file" protocol.
7159 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
7161 * java/lang/natWin32Process.cc (startProcess): Double-quote each
7162 program array element passed to CreateProcess.
7164 2003-03-01 Tom Tromey <tromey@redhat.com>
7166 * java/rmi/registry/RegistryHandler.java: Deprecate.
7168 2003-03-01 Tom Tromey <tromey@redhat.com>
7170 * javax/accessibility/AccessibleEditableText.java,
7171 javax/accessibility/AccessibleHyperlink.java: New versions from
7174 * gnu/java/locale/LocaleInformation_af_ZA.java,
7175 gnu/java/locale/LocaleInformation_ar_AE.java,
7176 gnu/java/locale/LocaleInformation_ar_BH.java,
7177 gnu/java/locale/LocaleInformation_ar_DZ.java,
7178 gnu/java/locale/LocaleInformation_ar_EG.java,
7179 gnu/java/locale/LocaleInformation_ar_IN.java,
7180 gnu/java/locale/LocaleInformation_ar_IQ.java,
7181 gnu/java/locale/LocaleInformation_ar_JO.java,
7182 gnu/java/locale/LocaleInformation_ar_KW.java,
7183 gnu/java/locale/LocaleInformation_ar_LB.java,
7184 gnu/java/locale/LocaleInformation_ar_LY.java,
7185 gnu/java/locale/LocaleInformation_ar_MA.java,
7186 gnu/java/locale/LocaleInformation_ar_OM.java,
7187 gnu/java/locale/LocaleInformation_ar_QA.java,
7188 gnu/java/locale/LocaleInformation_ar_SD.java,
7189 gnu/java/locale/LocaleInformation_ar_SY.java,
7190 gnu/java/locale/LocaleInformation_ar_TN.java,
7191 gnu/java/locale/LocaleInformation_ar_YE.java,
7192 gnu/java/locale/LocaleInformation_be_BY.java,
7193 gnu/java/locale/LocaleInformation_bn_IN.java,
7194 gnu/java/locale/LocaleInformation_br_FR.java,
7195 gnu/java/locale/LocaleInformation_bs_BA.java,
7196 gnu/java/locale/LocaleInformation_ca_ES.java,
7197 gnu/java/locale/LocaleInformation_cs_CZ.java,
7198 gnu/java/locale/LocaleInformation_cy_GB.java,
7199 gnu/java/locale/LocaleInformation_da_DK.java,
7200 gnu/java/locale/LocaleInformation_de_AT.java,
7201 gnu/java/locale/LocaleInformation_de_BE.java,
7202 gnu/java/locale/LocaleInformation_de_CH.java,
7203 gnu/java/locale/LocaleInformation_de_DE.java,
7204 gnu/java/locale/LocaleInformation_de_LU.java,
7205 gnu/java/locale/LocaleInformation_el_GR.java,
7206 gnu/java/locale/LocaleInformation_en_AU.java,
7207 gnu/java/locale/LocaleInformation_en_BW.java,
7208 gnu/java/locale/LocaleInformation_en_CA.java,
7209 gnu/java/locale/LocaleInformation_en_DK.java,
7210 gnu/java/locale/LocaleInformation_en_GB.java,
7211 gnu/java/locale/LocaleInformation_en_HK.java,
7212 gnu/java/locale/LocaleInformation_en_IE.java,
7213 gnu/java/locale/LocaleInformation_en_IN.java,
7214 gnu/java/locale/LocaleInformation_en_NZ.java,
7215 gnu/java/locale/LocaleInformation_en_PH.java,
7216 gnu/java/locale/LocaleInformation_en_SG.java,
7217 gnu/java/locale/LocaleInformation_en_US.java,
7218 gnu/java/locale/LocaleInformation_en_ZA.java,
7219 gnu/java/locale/LocaleInformation_en_ZW.java,
7220 gnu/java/locale/LocaleInformation_es_AR.java,
7221 gnu/java/locale/LocaleInformation_es_BO.java,
7222 gnu/java/locale/LocaleInformation_es_CL.java,
7223 gnu/java/locale/LocaleInformation_es_CO.java,
7224 gnu/java/locale/LocaleInformation_es_CR.java,
7225 gnu/java/locale/LocaleInformation_es_DO.java,
7226 gnu/java/locale/LocaleInformation_es_EC.java,
7227 gnu/java/locale/LocaleInformation_es_ES.java,
7228 gnu/java/locale/LocaleInformation_es_GT.java,
7229 gnu/java/locale/LocaleInformation_es_HN.java,
7230 gnu/java/locale/LocaleInformation_es_MX.java,
7231 gnu/java/locale/LocaleInformation_es_NI.java,
7232 gnu/java/locale/LocaleInformation_es_PA.java,
7233 gnu/java/locale/LocaleInformation_es_PE.java,
7234 gnu/java/locale/LocaleInformation_es_PR.java,
7235 gnu/java/locale/LocaleInformation_es_PY.java,
7236 gnu/java/locale/LocaleInformation_es_SV.java,
7237 gnu/java/locale/LocaleInformation_es_US.java,
7238 gnu/java/locale/LocaleInformation_es_UY.java,
7239 gnu/java/locale/LocaleInformation_es_VE.java,
7240 gnu/java/locale/LocaleInformation_et_EE.java,
7241 gnu/java/locale/LocaleInformation_eu_ES.java,
7242 gnu/java/locale/LocaleInformation_fa_IR.java,
7243 gnu/java/locale/LocaleInformation_fi_FI.java,
7244 gnu/java/locale/LocaleInformation_fo_FO.java,
7245 gnu/java/locale/LocaleInformation_fr_BE.java,
7246 gnu/java/locale/LocaleInformation_fr_CA.java,
7247 gnu/java/locale/LocaleInformation_fr_CH.java,
7248 gnu/java/locale/LocaleInformation_fr_FR.java,
7249 gnu/java/locale/LocaleInformation_fr_LU.java,
7250 gnu/java/locale/LocaleInformation_ga_IE.java,
7251 gnu/java/locale/LocaleInformation_gd_GB.java,
7252 gnu/java/locale/LocaleInformation_gl_ES.java,
7253 gnu/java/locale/LocaleInformation_gv_GB.java,
7254 gnu/java/locale/LocaleInformation_he_IL.java,
7255 gnu/java/locale/LocaleInformation_hi_IN.java,
7256 gnu/java/locale/LocaleInformation_hr_HR.java,
7257 gnu/java/locale/LocaleInformation_hu_HU.java,
7258 gnu/java/locale/LocaleInformation_id_ID.java,
7259 gnu/java/locale/LocaleInformation_it_CH.java,
7260 gnu/java/locale/LocaleInformation_it_IT.java,
7261 gnu/java/locale/LocaleInformation_iw_IL.java,
7262 gnu/java/locale/LocaleInformation_ja_JP.java,
7263 gnu/java/locale/LocaleInformation_ka_GE.java,
7264 gnu/java/locale/LocaleInformation_kl_GL.java,
7265 gnu/java/locale/LocaleInformation_ko_KR.java,
7266 gnu/java/locale/LocaleInformation_kw_GB.java,
7267 gnu/java/locale/LocaleInformation_lt_LT.java,
7268 gnu/java/locale/LocaleInformation_lv_LV.java,
7269 gnu/java/locale/LocaleInformation_mi_NZ.java,
7270 gnu/java/locale/LocaleInformation_mk_MK.java,
7271 gnu/java/locale/LocaleInformation_mr_IN.java,
7272 gnu/java/locale/LocaleInformation_mt_MT.java,
7273 gnu/java/locale/LocaleInformation_nl_BE.java,
7274 gnu/java/locale/LocaleInformation_nl_NL.java,
7275 gnu/java/locale/LocaleInformation_nn_NO.java,
7276 gnu/java/locale/LocaleInformation_no_NO.java,
7277 gnu/java/locale/LocaleInformation_oc_FR.java,
7278 gnu/java/locale/LocaleInformation_pl_PL.java,
7279 gnu/java/locale/LocaleInformation_pt_BR.java,
7280 gnu/java/locale/LocaleInformation_pt_PT.java,
7281 gnu/java/locale/LocaleInformation_ro_RO.java,
7282 gnu/java/locale/LocaleInformation_ru_RU.java,
7283 gnu/java/locale/LocaleInformation_ru_UA.java,
7284 gnu/java/locale/LocaleInformation_se_NO.java,
7285 gnu/java/locale/LocaleInformation_sk_SK.java,
7286 gnu/java/locale/LocaleInformation_sl_SI.java,
7287 gnu/java/locale/LocaleInformation_sq_AL.java,
7288 gnu/java/locale/LocaleInformation_sr_YU.java,
7289 gnu/java/locale/LocaleInformation_sv_FI.java,
7290 gnu/java/locale/LocaleInformation_sv_SE.java,
7291 gnu/java/locale/LocaleInformation_ta_IN.java,
7292 gnu/java/locale/LocaleInformation_te_IN.java,
7293 gnu/java/locale/LocaleInformation_tg_TJ.java,
7294 gnu/java/locale/LocaleInformation_tl_PH.java,
7295 gnu/java/locale/LocaleInformation_tr_TR.java,
7296 gnu/java/locale/LocaleInformation_uk_UA.java,
7297 gnu/java/locale/LocaleInformation_ur_PK.java,
7298 gnu/java/locale/LocaleInformation_uz_UZ.java,
7299 gnu/java/locale/LocaleInformation_vi_VN.java,
7300 gnu/java/locale/LocaleInformation_yi_US.java,
7301 gnu/java/locale/LocaleInformation_zh_CN.java,
7302 gnu/java/locale/LocaleInformation_zh_HK.java,
7303 gnu/java/locale/LocaleInformation_zh_SG.java,
7304 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
7305 info; from Classpath.
7307 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
7308 isPaintPending): New methods.
7309 * gnu/awt/xlib/XFramePeer.java (getState, setState,
7310 setMaximizedBounds): New methods.
7311 (beginLayout, endLayout, isPaintPending): Likewise.
7312 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
7313 (requestFocus): Likewise.
7314 (isObscured): Likewise.
7315 (canDetermineObscurity): Likewise.
7316 (coalescePaintEvent): Likewise.
7317 (updateCursorImmediately): Likewise.
7318 (createVolatileImage): Likewise.
7319 (handlesWheelScrolling): Likewise.
7320 (createBuffers): Likewise.
7321 (getBackBuffer): Likewise.
7323 (destroyBuffers): Likewise.
7325 * Makefile.in: Rebuilt.
7326 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
7328 * gnu/java/awt/GLightweightPeer.java,
7329 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7330 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7331 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7332 gnu/java/awt/peer/gtk/GtkFramePeer.java,
7333 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7334 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7335 java/awt/dnd/peer/DragSourceContextPeer.java,
7336 java/awt/dnd/peer/DropTargetContextPeer.java,
7337 java/awt/peer/ButtonPeer.java,
7338 java/awt/peer/CheckboxMenuItemPeer.java,
7339 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
7340 java/awt/peer/ComponentPeer.java,
7341 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
7342 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
7343 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
7344 java/awt/peer/MenuBarPeer.java,
7345 java/awt/peer/MenuComponentPeer.java,
7346 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
7347 java/awt/peer/PopupMenuPeer.java,
7348 java/awt/peer/ScrollPanePeer.java,
7349 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
7350 java/awt/peer/TextComponentPeer.java,
7351 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
7352 New versions from Classpath.
7353 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
7354 * java/awt/peer/RobotPeer.java: Likewise.
7356 2003-03-01 Mark Wielaard <mark@klomp.org>
7358 * java/io/ObjectInputStream.java: Reindent.
7359 * java/io/ObjectOutputStream.java: Likewise.
7361 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
7363 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
7364 jvalue for each argument. Simplify.
7365 * testsuite/libjava.jni/calls.c (docall),
7366 testsuite/libjava.jni/calls.java (longpb_f): check for argument
7369 2003-02-28 Mark Wielaard <mark@klomp.org>
7371 * Makefile.am (nat_source_files): Remove
7372 java/io/natObjectOutputStream.cc.
7373 * Makefile.in: Regenerated.
7374 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
7375 * java/io/ObjectStreamField.java (typename): New field.
7376 (ObjectStreamField(String, Class)): Initialize new field.
7377 (ObjectStreamField(String, String)): New Constructor.
7378 (getTypeCode): Use new field.
7379 (getTypeString): Use new field.
7380 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
7381 ObjectStreamExceptions. Remember and reset old BlockDataMode.
7382 Handle reading of Proxy classes. Never drain(), just write
7383 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
7384 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
7385 (flush): Call flush(), not just drain().
7386 (writeBoolean): Always use blockDataOutput.
7387 (writeByte): Likewise.
7388 (writeShort): Likewise.
7389 (writeChar): Likewise.
7390 (writeInt): Likewise.
7391 (writeLong): Likewise.
7392 (writeFloat): Likewise.
7393 (writeDouble): Likewise.
7394 (writeBytes): Likewise.
7395 (putfield (put(String,Object))): Throw IllegalArgumentException if
7396 field cannot be found.
7397 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
7398 (writeArraySizeAndElements): Write byte[] in one go.
7399 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
7400 set BlockDataMode to false.
7401 (annotateProxyClass): New method.
7402 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
7403 (getField): No longer native.
7404 (getMethod): Likewise.
7405 (setBlockDataMode): Always drain() on switch, return old mode.
7406 (static): New static code block.
7407 * java/io/natObjectOutputStream.cc: Removed.
7408 * java/io/ObjectInputStream.java (getField): No longer native.
7409 (getMethod): Likewise.
7410 (readObject): Remember and reset old BlockDataMode. Track whether
7411 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
7413 (defaultReadObject): Set BlockDataMode to false during readFields.
7414 (resolveClass): Create new SecurityManager if necessary.
7415 Use Class.forName() if null ClassLoader found.
7416 (read(byte[],int,int): Copy remaining bytes to data before calling
7418 (readFields): Set and reset BlockDataMode on call_read_method.
7419 Catch NoSuchFieldErrors.
7420 (setBlockDataMode): Return old mode.
7421 (static): New static code block.
7422 * java/io/natObjectInputStream.cc (getField): Removed.
7423 (getMethod): Likewise.
7425 2003-02-27 Michael Koch <konqueror@gmx.de>
7427 * java/beans/Beans.java,
7428 java/beans/FeatureDescriptor.java
7429 java/beans/PropertyEditorManager.java:
7430 Reformated to GNU style.
7432 2003-02-25 Michael Koch <konqueror@gmx.de>
7434 * gnu/java/nio/MappedByteFileBuffer.java,
7435 gnu/java/nio/natMappedByteFileBuffer.cc:
7436 New files, both are not compiled yet to get not noncompiling CVS.
7438 2003-02-24 Tom Tromey <tromey@redhat.com>
7440 * java/util/prefs/AbstractPreferences.java (isUserNode):
7443 2003-02-24 Tom Tromey <tromey@redhat.com>
7445 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
7447 * java/lang/Thread.java (resume): Deprecate.
7448 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
7451 2003-02-23 Tom Tromey <tromey@redhat.com>
7453 * Makefile.in: Rebuilt.
7454 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
7456 2003-02-23 Tom Tromey <tromey@redhat.com>
7458 * java/lang/natRuntime.cc (libraries_size, libraries_count,
7459 libraries): Removed.
7460 (add_library): Removed.
7461 (_load): Don't call add_library.
7462 (loadLibraryInternal): Likewise.
7464 (lookup_data): New struct.
7465 (find_symbol): New function.
7466 (_Jv_FindSymbolInExecutable): Use it.
7468 2002-02-21 Anthony Green <green@redhat.com>
7470 * java/lang/Thread.java (Thread): New constructor taking stack
7471 size parameter (ignored for now).
7472 * Many methods: Merged GNU Classpath documentation.
7474 * java/lang/Class.java (finalize): throws a Throwable.
7476 2003-02-21 Mark Wielaard <mark@klomp.org>
7478 * java/util/zip/ZipEntry.java (setComment): Don't check length when
7481 2003-02-21 Mark Wielaard <mark@klomp.org>
7483 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
7484 then 65535 chars throw IllegalArgumentException.
7486 2003-02-21 Mark Wielaard <mark@klomp.org>
7488 * java/util/zip/ZipFile.java (finalize): New method.
7490 2003-02-21 Michael Koch <konqueror@gmx.de>
7492 * gnu/java/nio/natSocketChannelImpl.cc:
7493 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
7494 <cato@df.lth.se> for pointing to it.
7496 2003-02-20 Raif S. Naffah <raif@fl.net.au>
7498 * java/math/BigInteger.java (euclidInv): Take result array as an
7499 argument. Updated all callers.
7500 (modInverse): Removed unused variables.
7502 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
7504 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
7506 * configure: Rebuilt.
7508 2003-02-19 Michael Koch <konqueror@gmx.de>
7510 * gnu/java/nio/natSocketChannelImpl.cc:
7511 Added support for platforms without network support.
7513 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7515 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
7516 after config.h. Use <> for consistency.
7517 * java/lang/natObject.cc: Likewise.
7518 * java/lang/natRuntime.cc: Likewise.
7519 * java/lang/natSystem.cc: Likewise.
7520 * java/util/natTimeZone.cc: Likewise.
7521 * win32.cc: Likewise.
7522 * include/posix.h (fcntl, socket, connect, close, bind, accept,
7523 listen, write, read): Undef to avoid interference from OS macros.
7525 2003-02-19 Michael Koch <konqueror@gmx.de>
7527 * gnu/java/nio/ByteBufferImpl.java
7528 (ByteBufferImpl): Renamed two variables.
7529 * gnu/java/nio/CharBufferImpl.java
7530 (CharBufferImpl): Renamed two variables.
7531 * gnu/java/nio/DoubleBufferImpl.java
7532 (DoubleBufferImpl): Renamed two variables.
7533 * gnu/java/nio/FloatBufferImpl.java
7534 (FloatBufferImpl): Renamed two variables.
7535 * gnu/java/nio/IntBufferImpl.java
7536 (IntBufferImpl): Renamed two variables.
7537 * gnu/java/nio/LongBufferImpl.java
7538 (LongBufferImpl): Renamed two variables.
7539 * gnu/java/nio/ShortBufferImpl.java
7540 (ShortBufferImpl): Renamed two variables.
7541 * java/nio/CharBuffer.java
7542 (wrap): Fixed arguments to CharBufferImpl constructor.
7543 (hasArray): Only not read-only buffers have backing arrays.
7544 (length): Documentation added.
7545 (subSequence): Documentation added.
7546 * java/nio/DoubleBuffer.java
7547 (hasArray): Only not read-only buffers have backing arrays.
7548 * java/nio/FloatBuffer.java
7549 (hasArray): Only not read-only buffers have backing arrays.
7550 * java/nio/IntBuffer.java
7551 (hasArray): Only not read-only buffers have backing arrays.
7552 * java/nio/LongBuffer.java
7553 (hasArray): Only not read-only buffers have backing arrays.
7554 * java/nio/ShortBuffer.java
7555 (hasArray): Only not read-only buffers have backing arrays.
7557 2003-02-19 Michael Koch <konqueror@gmx.de>
7559 * javax/accessibility/AccessibleContext.java
7560 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
7562 2003-02-19 Michael Koch <konqueror@gmx.de>
7564 * java/awt/ScrollPaneAdjustable.java: Reformated.
7566 2003-02-19 Michael Koch <konqueror@gmx.de>
7568 * gnu/awt/j2d/Graphics2DImpl.java
7569 (getFontRenderContext): New method.
7570 (drawGlyphVector): New method.
7571 * java/awt/Graphics2D.java
7572 (getFontRenderContext): New abstract method.
7573 (drawGlyphVector): New abstract method.
7575 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
7577 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
7580 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7581 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7582 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7583 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7584 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7585 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
7586 (setFont, gtkSetFont): add.
7587 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
7588 Propagate font to peer. (setFont): add FIXME comment.
7590 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7591 (gtkTextGetSize): fix height, width computation.
7593 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
7594 Make X font name a bit less bogus.
7596 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7597 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
7599 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
7600 (processAdjustmentEvent): Adjust value.
7602 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
7605 * java/awt/Component.java (setVisible, show, hide): Call show and
7606 hide methods in subclasses.
7607 (getPreferredSize): don't set prefSize before we have peer.
7609 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
7610 Guess (0,0) if we don't have peer.
7613 2003-02-18 Michael Koch <konqueror@gmx.de>
7615 * java/nio/channels/FileChannel.java
7616 (toString): New implementation, added documentation.
7617 (map): Added exception documentation.
7618 (size): Added exception documentation.
7619 (write): New methods, documentation work.
7620 (read): New methods, documentation work.
7621 (implCloseChannel): Rewrote exception documentation.
7622 (force): Throws IOException, added documentation.
7623 (lock): New methods.
7624 (tryLock): New methods.
7625 (position): New methods.
7626 (transferTo): New method.
7627 (transferFrom): New method.
7628 (truncate): New method.
7629 * java/nio/channels/spi/SelectorProvider.java
7630 (provider): Implemented.
7632 (ordinary_java_source_files): Added the following files:
7633 gnu/java/nio/DatagramChannelImpl.java
7634 gnu/java/nio/FileChannelImpl.java
7635 gnu/java/nio/PipeImpl.java
7636 gnu/java/nio/SelectionKeyImpl.java
7637 gnu/java/nio/SelectorImpl.java
7638 gnu/java/nio/SelectorProviderImpl.java
7639 gnu/java/nio/ServerSocketChannelImpl.java
7640 gnu/java/nio/SocketChannelImpl.java
7641 java/nio/channels/FileLock.java
7642 (nat_java_source_files): Added the following files:
7643 gnu/java/nio/natFileChannelImpl.cc
7644 gnu/java/nio/natSelectorImpl.cc
7645 gnu/java/nio/natSocketChannelImpl.cc
7646 * Makefile.in: Regenerated.
7648 2003-02-17 Tom Tromey <tromey@redhat.com>
7650 * java/awt/image/ColorModel.java: Re-merged with Classpath.
7651 * java/awt/image/ImageFilter.java: Likewise.
7653 2003-02-17 Raif S. Naffah <raif@fl.net.au>
7655 * java/math/BigInteger.java (euclidInv): Return array of
7656 `BigInteger's. Changed all callers.
7658 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
7660 * java/util/Properties.java (store): Move the code formerly in
7661 list(), into this method.
7662 (list (PrintStream)): Just call list (PrintWriter) with a
7663 PrintWriter object constructed from the given PrintStream object.
7664 (list (PrintWriter)): Emulate the output of Properties.list()
7665 as found in JDK 1.3/1.4.
7667 2003-02-17 Michael Koch <konqueror@gmx.de>
7669 * java/net/DatagramSocket.java
7670 (connect): Merged with classpath.
7671 (disconnect): Merged documentation with classpath.
7672 (receice): Merged documentation with classpath.
7673 (send): Merged documentation with classpath.
7675 2003-02-17 Michael Koch <konqueror@gmx.de>
7677 * java/awt/dnd/DragSourceContext.java
7678 (addDragSourceListener): Added documentation.
7679 * java/awt/dnd/DragSourceDragEvent.java
7680 (serialVersionUID): New member variable.
7681 (getDropAction): Reformated.
7682 * java/awt/dnd/DragSourceDropEvent.java
7683 (serialVersionUID): New member variable.
7684 (dropSuccess): Renamed from success for serialization issues.
7685 * java/awt/dnd/DragSourceEvent.java
7686 (serialVersionUID): New member variable.
7687 * java/awt/dnd/DropTarget.java
7688 (serialVersionUID): New member variable.
7689 (DropTarget): Implemented, documentation reworked.
7690 (setComponent): Documentation added.
7691 (getComponent): Documentation added.
7692 (setDefaultActions): Documentation added.
7693 (getDefaultActions): Documentation added.
7694 (addDropTargetListener): Documentation added.
7695 * java/awt/dnd/DropTargetContext.java
7696 (DropTargetContext): Documentation added.
7697 (TransferableProxy.TransferableProxy): New method.
7698 (dropComplete): Fixed documentation.
7699 (getTransferable): Fixed documentation.
7700 (createTransferableProxy): Implemented.
7701 * java/awt/dnd/DropTargetDragEvent.java
7702 (DropTargetDragEvent): Documentation added.
7703 (serialVersionUID): New member variable.
7704 (DropTargetDragEvent): Throw exceptions, documentation added.
7705 (acceptDrag): Implemented.
7706 (getCurrentDataFlavors): Implemented.3yy
7707 (getCurrentDataFlavorsAsList): Implemented.
7708 (isDataFlavorSupported): Implemented.
7709 (rejectDrag): Implemented.
7710 * java/awt/dnd/DropTargetDropEvent.java
7711 (DropTargetDropEvent): Documentation added.
7712 (serialVersionUID): New member variable.
7713 (actions): Renamed from srcActions for serialization issues.
7714 (isLocalTx): Renamed from isLocalTx for serialization issues.
7715 (DropTargetDropEvent): New implementation, throw exceptions,
7716 documentation added.
7717 (getCurrentDataFlavors): Implemented.
7718 (getCurrentDataFlavorsAsList): Implemented.
7719 (isDataFlavorSupported): Implemented.
7720 (getSourceActions): Implemented.
7721 (getDropAction): Implemented.
7722 (getTransferable): Implemented.
7723 (acceptDrop): Implemented.
7724 (rejectDrop): Implemented.
7725 * java/awt/dnd/DropTargetListener.java
7726 (drop): Fixed documentation.
7727 * java/awt/dnd/MouseDragGestureRecognizer.java
7728 (MouseDragGestureRecognizer): Documentation added.
7730 2003-02-17 Michael Koch <konqueror@gmx.de>
7732 * java/awt/font/FontRenderContext.java,
7733 java/awt/font/ShapeGraphicAttribute.java,
7734 java/awt/font/MultipleMaster.java,
7735 java/awt/font/TransformAttribute.java,
7736 java/awt/font/GlyphJustificationInfo.java,
7737 java/awt/font/LineBreakMeasurer.java,
7738 java/awt/font/TextMeasurer.java,
7739 java/awt/font/TextLayout.java,
7740 java/awt/font/LineMetrics.java,
7741 java/awt/font/TextAttribute.java,
7742 java/awt/font/GlyphMetrics.java,
7743 java/awt/font/OpenType.java,
7744 java/awt/font/GlyphVector.java,
7745 java/awt/font/GraphicAttribute.java,
7746 java/awt/font/ImageGraphicAttribute.java,
7747 java/awt/font/NumericShaper.java: New files.
7749 (awt_java_source_files): Added the following files:
7750 java/awt/font/FontRenderContext.java
7751 java/awt/font/ShapeGraphicAttribute.java
7752 java/awt/font/MultipleMaster.java
7753 java/awt/font/TransformAttribute.java
7754 java/awt/font/GlyphJustificationInfo.java
7755 java/awt/font/LineBreakMeasurer.java
7756 java/awt/font/TextMeasurer.java
7757 java/awt/font/TextLayout.java
7758 java/awt/font/LineMetrics.java
7759 java/awt/font/TextAttribute.java
7760 java/awt/font/GlyphMetrics.java
7761 java/awt/font/OpenType.java
7762 java/awt/font/GlyphVector.java
7763 java/awt/font/GraphicAttribute.java
7764 java/awt/font/ImageGraphicAttribute.java
7765 java/awt/font/NumericShaper.java
7766 * Makefile.in: Regenerated.
7768 2003-02-17 Michael Koch <konqueror@gmx.de>
7770 * java/awt/print/Paper.java
7771 (Paper): Implements Cloneable.
7772 * java/awt/print/PrinterJob.java
7773 (setJobName): Return value must be void.
7774 (print): Throws PrinterException.
7776 2003-02-16 Tom Tromey <tromey@redhat.com>
7778 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
7781 2003-02-15 Michael Koch <konqueror@gmx.de>
7783 * java/awt/datatransfer/DataFlavor.java
7784 (isRepresentationClassByteBuffer): Removed try-catch block.
7785 (isRepresentationClassCharBuffer): Removed try-catch block.
7786 (isRepresentationClassReader): Removed try-catch block.
7788 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7790 * java/nio/charset/Charset.java
7791 (isRegistered): Fixed method args and implementation.
7792 * java/nio/charset/CharsetEncoder.java
7793 (unmappableCharacterAction): New method.
7795 2003-02-15 Michael Koch <konqueror@gmx.de>
7797 * java/awt/CheckboxMenuItem.java
7798 (CheckBoxMenuItem): Dont implement Serializable.
7799 (getListeners): New method,
7800 (getItemListeners): New method.
7801 * java/awt/Choice.java
7802 (getListeners): New method,
7803 (getItemListeners): New method.
7804 * java/awt/Container.java
7805 (getListeners): Added exception documentation.
7806 (setFocusTraversalKeys): Throw exceptions, added documentattion.
7807 (getFocusTraversalKeys): Added documentation.
7808 (areFocusTraversalKeysSet): Added documentation.
7809 (applyComponentOrientation): Added documentation.
7810 * java/awt/ContainerOrderFocusTraversalPolicy.java
7811 (implicitDownCycleTraversal): Renamed from downCycle for
7813 (ContainerOrderFocusTraversalPolicy): Added documentation.
7814 (accept): Reformated.
7815 * java/awt/Dialog.java
7816 (Dialog): Dont implement Serializable.
7817 (Dialog): Added documentation.
7818 * java/awt/Font.java
7819 (Font): Dont use absolute class name.
7820 * java/awt/Frame.java
7821 (Frame): Font implement Serializable.
7822 * java/awt/List.java
7823 (getListeners): New method,
7824 (getActionListeners): New method.
7825 (getItemListeners): New method.
7826 * java/awt/Menu.java
7827 (countItems): New deprecated method.
7828 * java/awt/Scrollbar.java
7829 (getListeners): New method,
7830 (getAdjustmentListeners): New method,
7831 * java/awt/TextComponent.java
7832 (getListeners): New method,
7833 (getTextListeners): New method,
7834 * java/awt/TextField.java
7835 (getListeners): New method,
7836 (getActionListeners): New method.
7837 * java/awt/Window.java
7838 (windowFocusListener): New member variable.
7839 (windowStateListener): New member variable.
7840 (getWindowFocusListeners): New method.
7841 (getWindowStateListeners): New method.
7842 (addWindowFocusListener): New method.
7843 (addWindowStateListener): New method.
7844 (removeWindowFocusListener): New method.
7845 (removeWindowStateListener): New method.
7846 * java/awt/datatransfer/DataFlavor.java
7847 (isRepresentationClassByteBuffer): New method.
7848 (isRepresentationClassCharBuffer): New method.
7849 (isRepresentationClassReader): New method.
7851 2003-02-14 Mark Wielaard <mark@klomp.org>
7853 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
7854 zero when there is an exponent and the significant is zero.
7855 (divide): Always set scale to newScale even in special ZERO case.
7857 2003-02-14 Tom Tromey <tromey@redhat.com>
7859 * java/lang/System.java (properties): Use Properties.clone.
7860 (setProperties): Likewise.
7862 2003-02-14 Michael Koch <konqueror@gmx.de>
7864 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
7865 * gnu/java/nio/ServerSocketChannelImpl.java
7866 (SocketAccept): Removed.
7867 (accept): Commented out use of SocketAccept.
7869 2003-02-13 Tom Tromey <tromey@redhat.com>
7871 * verify.cc (state::seen_subrs): New field.
7872 (state::state): Initialize it.
7873 (state::clean_subrs): New method.
7874 (state::~state): Call it.
7875 (state::copy): Copy subroutine list.
7876 (state::add_subr): New method.
7877 (state::merge): Only register a change if the current subroutine
7878 hasn't yet been noted.
7880 2003-02-13 Mark Wielaard <mark@klomp.org>
7882 * java/io/InputStreamReader.java (getEncoding): Return null when
7884 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
7886 2003-02-13 Mark Wielaard <mark@klomp.org>
7888 * java/util/zip/InflaterInputStream.java (read): Return zero when len
7891 2003-02-13 Mark Wielaard <mark@klomp.org>
7893 * java/io/BufferedOutputStream.java (write(int)): Only flush when
7894 next byte cannot be buffered.
7896 2003-02-13 Michael Koch <konqueror@gmx.de>
7898 * java/awt/Label.java
7899 (Label): Don't implement Serializable directly.
7900 (addNotify): Fixed typo in documentation.
7901 * java/awt/List.java
7902 (List): Don't implement Serializable directly.
7903 * java/awt/PopupMenu.java
7904 (PopupMenu): Don't implement Serializable directly.
7905 * java/awt/ScrollPane.java
7906 (ScrollPane): Don't implement Serializable directly.
7907 * java/awt/Scrollbar.java
7908 (Scrollbar): Don't implement Serializable directly.
7909 * java/awt/TextArea.java
7910 (preferredSize): Fixed method arguments.
7911 * java/awt/TextField.java
7912 (TextField): Don't implement Serializable directly.
7913 * java/awt/color/ICC_ColorSpace.java
7914 (fromCIOXYZ): Documentation added.
7915 (getMinValue): Documentation added.
7916 (getMaxValue): Documentation added.
7917 * java/awt/datatransfer/DataFlavor.java
7918 (isMimeTypeEqual): May not be final.
7919 (clone): Throws CloneNotSupportedException.
7920 (getReaderForText): Don't throws UnsupportedEncodingException.
7922 2003-02-13 Michael Koch <konqueror@gmx.de>
7924 * gnu/java/awt/peer/gtk/GdkGraphics.java
7925 (drawString): New stubbed method.
7926 * java/awt/Graphics.java
7927 (drawString): New method.
7929 2003-02-13 Casey Marshall <rsdio@metastatic.org>
7932 * java/security/SecureRandom.java (next): Avoid bias in results.
7934 2003-02-13 Michael <konqueror@gmx.de>
7936 * gnu/java/nio/FileChannelImpl.java
7937 (lengthInternal): Must be native.
7938 (size): Check if channel is already closed.
7939 (implCloseChannel): Reformated.
7940 (read): w was unused, removed it.
7943 (write): New method.
7944 (map): Check arguments.
7945 (force): Throws IOException, check if channel is closed.
7946 (transferTo): New method.
7947 (transferFrom): New method.
7949 (tryLock): New method.
7950 (position): New method.
7951 (truncate): New method.
7952 (nio_mmap_file): Uncommented.
7953 (nio_munmap_file): Uncommented.
7954 (nio_msync): Uncommented.
7955 * gnu/java/nio/natFileChannelImpl.cc: New file.
7957 2003-02-13 Michael Koch <konqueror@gmx.de>
7959 * java/nio/ByteBuffer.java
7960 (endian): New member variable.
7962 (equals): New method.
7963 (compareTo): New method.
7964 (order): New methods.
7965 (compact): New method.
7966 (isDirect): New method.
7967 (slice): New method.
7968 (duplicate): New method.
7969 (asReadOnlyBuffer): New method.
7970 (asCharBuffer): New method.
7971 (asDoubleBuffer): New method.
7972 (asFloatBuffer): New method.
7973 (asIntBuffer): New method.
7974 (asLongBuffer): New method.
7975 (asShortBuffer): New method.
7976 (get*): New methods.
7977 (put*): New methods.
7978 (toString): New method.
7979 * java/nio/CharBuffer.java
7980 (CharBuffer): Implement Comparable instead of Cloneable.
7981 (get): May not be final.
7982 (put): May not be final.
7984 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
7986 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7987 lastIndexOf( ) instead of indexOf( ) to find the colon before
7988 the line number, because Win32 file names might contain a
7989 drive letter and a colon at the start of an absolute path.
7991 2003-02-13 Michael Koch <konqueror@gmx.de>
7993 * gnu/java/nio/natSocketChannelImpl.cc
7994 (SocketConnect): This is not implemented yet.
7995 (SocketBind): This is not implemented yet.
7997 2003-02-13 Michael Koch <konqueror@gmx.de>
7999 * gnu/java/nio/natByteBufferImpl.cc,
8000 gnu/java/nio/natCharBufferImpl.cc,
8001 gnu/java/nio/natDoubleBufferImpl.cc,
8002 gnu/java/nio/natFloatBufferImpl.cc,
8003 gnu/java/nio/natIntBufferImpl.cc,
8004 gnu/java/nio/natLongBufferImpl.cc,
8005 gnu/java/nio/natShortBufferImpl.cc:
8006 Added copyright and license.
8007 * java/nio/DoubleBuffer.java,
8008 java/nio/FloatBuffer.java,
8009 java/nio/IntBuffer.java,
8010 java/nio/LongBuffer.java,
8011 java/nio/ShortBuffer.java
8012 (array): Throw exceptions.
8013 (arrayOffset): Throw exceptions.
8015 2003-02-13 Michael Koch <konqueror@gmx.de>
8017 * gnu/java/util/prefs/FileBasedFactory.java,
8018 gnu/java/util/prefs/MemmoryBasedFactory.java,
8019 gnu/java/util/prefs/MemoryBasedPreferences.java,
8020 gnu/java/util/prefs/NodeReader.java,
8021 gnu/java/util/prefs/NodeWriter.java,
8022 java/util/prefs/AbstractPreferences.java,
8023 java/util/prefs/BackingStoreException.java,
8024 java/util/prefs/InvalidPreferencesFormatException.java,
8025 java/util/prefs/NodeChangeEvent.java,
8026 java/util/prefs/NodeChangeListener.java,
8027 java/util/prefs/PreferenceChangeEvent.java,
8028 java/util/prefs/PreferenceChangeListener.java,
8029 java/util/prefs/Preferences.java,
8030 java/util/prefs/PreferencesFactory.java:
8031 New files, all merged from classpath.
8033 (ordinary_java_source_files): Added the following files:
8034 gnu/java/util/prefs/FileBasedFactory.java,
8035 gnu/java/util/prefs/MemmoryBasedFactory.java,
8036 gnu/java/util/prefs/MemoryBasedPreferences.java,
8037 gnu/java/util/prefs/NodeReader.java,
8038 gnu/java/util/prefs/NodeWriter.java,
8039 (core_java_source_files): Added the following files:
8040 java/util/prefs/AbstractPreferences.java,
8041 java/util/prefs/BackingStoreException.java,
8042 java/util/prefs/InvalidPreferencesFormatException.java,
8043 java/util/prefs/NodeChangeEvent.java,
8044 java/util/prefs/NodeChangeListener.java,
8045 java/util/prefs/PreferenceChangeEvent.java,
8046 java/util/prefs/PreferenceChangeListener.java,
8047 java/util/prefs/Preferences.java,
8048 java/util/prefs/PreferencesFactory.java
8049 * Makefile.in: Regenerated.
8051 2003-02-13 Michael Koch <konqueror@gmx.de>
8053 * java/net/NetPermission.java
8054 (NetPermission): Make doucmentation match the method declaration.
8055 * java/net/NetworkInterface.java
8056 (equals): Reformated for GNU coding style.
8057 * java/net/ServerSocket.java: Merged with classpath.
8058 * java/net/Socket.java: Partly merged with classpath (Added some @since).
8059 * java/net/SocketImpl.java
8060 (localPort): Merged with classpath (initialize with -1).
8061 * java/net/SocketPermission.java: Merged with classpath (reindented).
8062 * java/net/URLDecoder.java: Merged with classpath (reindented).
8064 2003-02-13 Michael Koch <konqueror@gmx.de>
8066 * java/awt/GridBagConstraints.java
8067 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
8068 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
8069 * java/awt/KeyboardFocusManager.java
8070 (setGlobalCurrentFocusCycleRoot): Must be public.
8071 * java/awt/MenuComponent.java
8072 (MenuComponent): Must be public.
8073 * java/awt/Toolkit.java:
8074 Added some empty lines to make documentation more readable.
8075 (getFontPeer): Added @deprecated.
8076 (getColorModel): Added exception documentation.
8077 (getProperty): Fixed documentation.
8079 2003-02-12 Jeff Sturm <jsturm@one-point.com>
8081 * configure.host (alpha*-*): Default to -mieee.
8082 * configure.in (IEEESPEC): New.
8083 * libgcj.spec.in (jc1): Add IEEESPEC.
8084 * configure: Rebuild.
8086 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
8088 * include/win32.h: Include ws2tcpip.h instead of
8089 winsock.h to obtain definition of the socklen_t type.
8090 Remove IP_TOS definition - not needed with ws2tcpip.h
8091 (_Jv_connect): Correct slight formatting error.
8093 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
8095 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
8096 size of the arguments for a JNI function. For Win32,
8097 modify to search for all forms of possible exported
8098 names of an stdcall JNI function.
8099 (_Jv_JNIMethod::call): Modify to calculate the size
8100 of the arguments passed to a JNI function and pass
8101 it to _Jv_LookupJNIMethod.
8103 2003-02-12 Michael Koch <konqueror@gmx.de>
8105 * java/nio/channels/Channels.java: New file.
8107 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
8108 * Makefile.in: Regenerated.
8110 2003-02-12 Michael Koch <konqueror@gmx.de>
8112 * java/nio/ByteBuffer.java
8113 (allocate): Implemented.
8114 (wrap): Implemented.
8115 * java/nio/CharBuffer.java:
8116 Some documentation added and reworked.
8118 (allocate): Implemented.
8119 (wrap): Implemented.
8120 (array): Throw exceptions.
8121 (arrayOffset): Throw exceptions.
8122 (toString): Implemented.
8123 (length): Implemented.
8125 (charAt): Implemented.
8127 2003-02-11 John Leuner <jewel@debian.org>
8129 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
8130 reads from end of file.
8132 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
8134 * java/io/natFileDescriptorWin32.cc
8135 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
8136 returns with Win32 error code ERROR_BROKEN_PIPE.
8138 2003-02-11 Michael Koch <konqueror@gmx.de>
8141 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
8143 2003-02-11 Michael Koch <konqueror@gmx.de>
8145 * gnu/java/nio/ByteBufferImpl.java:
8146 Reformated and removed some code.
8147 (backing_buffer): Removed.
8148 (array_offset): Removed.
8149 (ro): Renamed to readOnly.
8150 (ByteBufferImpl): Use parent constructor, initialize readOnly.
8151 * gnu/java/nio/CharBufferImpl.java:
8152 Reformated and removed some code.
8153 (array_offset): Removed.
8154 (ro): Renamed to readOnly.
8155 (CharBufferImpl): Use parent constructor, initialize readOnly.
8157 (order): New method.
8158 * gnu/java/nio/DoubleBufferImpl.java:
8159 Reformated and removed some code.
8160 (array_offset): Removed.
8161 (ro): Renamed to readOnly.
8162 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
8164 (order): New method.
8165 * gnu/java/nio/FloatBufferImpl.java:
8166 Reformated and removed some code.
8167 (array_offset): Removed.
8168 (ro): Renamed to readOnly.
8169 (FloatBufferImpl): Use parent constructor, initialize readOnly.
8171 (order): New method.
8172 * gnu/java/nio/IntBufferImpl.java:
8173 Reformated and removed some code.
8174 (array_offset): Removed.
8175 (ro): Renamed to readOnly.
8176 (IntBufferImpl): Use parent constructor, initialize readOnly.
8178 (order): New method.
8179 * gnu/java/nio/LongBufferImpl.java:
8180 Reformated and removed some code.
8181 (array_offset): Removed.
8182 (ro): Renamed to readOnly.
8183 (LongBufferImpl): Use parent constructor, initialize readOnly.
8185 (order): New method.
8186 * gnu/java/nio/ShortBufferImpl.java:
8187 Reformated and removed some code.
8188 (array_offset): Removed.
8189 (ro): Renamed to readOnly.
8190 (ShortBufferImpl): Use parent constructor, initialize readOnly.
8192 (order): New method.
8194 (ordinary_java_source_files): Added the following files:
8195 gnu/java/nio/ByteBufferImpl.java
8196 gnu/java/nio/CharBufferImpl.java
8197 gnu/java/nio/DoubleBufferImpl.java
8198 gnu/java/nio/FloatBufferImpl.java
8199 gnu/java/nio/IntBufferImpl.java
8200 gnu/java/nio/LongBufferImpl.java
8201 gnu/java/nio/ShortBufferImpl.java
8202 java/nio/DoubleBuffer.java
8203 java/nio/FloatBuffer.java
8204 java/nio/IntBuffer.java
8205 java/nio/LongBuffer.java
8206 java/nio/ShortBuffer.java
8207 (nat_source_files): Added the following files:
8208 gnu/java/nio/natByteBufferImpl.cc
8209 gnu/java/nio/natCharBufferImpl.cc
8210 gnu/java/nio/natDoubleBufferImpl.cc
8211 gnu/java/nio/natFloatBufferImpl.cc
8212 gnu/java/nio/natIntBufferImpl.cc
8213 gnu/java/nio/natLongBufferImpl.cc
8214 gnu/java/nio/natShortBufferImpl.cc
8215 * Makefile.in: Regenerated.
8217 2003-02-11 Michael Koch <konqueror@gmx.de>
8219 * gnu/java/nio/natCharBufferImpl.cc
8220 (nio_cast): Removed.
8221 (nio_put_*): Removed.
8222 (nio_get_*): Removed.
8223 * gnu/java/nio/natDoubleBufferImpl.cc
8224 (nio_cast): Removed.
8225 (nio_put_*): Removed.
8226 (nio_get_*): Removed.
8227 * gnu/java/nio/natFloatBufferImpl.cc
8228 (nio_cast): Removed.
8229 (nio_put_*): Removed.
8230 (nio_get_*): Removed.
8231 * gnu/java/nio/natIntBufferImpl.cc
8232 (nio_cast): Removed.
8233 (nio_put_*): Removed.
8234 (nio_get_*): Removed.
8235 * gnu/java/nio/natLongBufferImpl.cc
8236 (nio_cast): Removed.
8237 (nio_put_*): Removed.
8238 (nio_get_*): Removed.
8239 * gnu/java/nio/natShortBufferImpl.cc
8240 (nio_cast): Removed.
8241 (nio_put_*): Removed.
8242 (nio_get_*): Removed.
8243 * gnu/java/nio/SelectorProviderImpl.java
8244 (openDatagramChannel): Throws IOException.
8245 (openPipe): Throws IOException.
8246 (openSelector): Throws IOException.
8247 (openServerSocketChannel): Throws IOException.
8248 (openSocketChannel): Throws IOException.
8249 * gnu/java/nio/ServerSocketChannelImpl.java
8250 (ServerSocketChannelImpl): Throws IOException.
8251 (implCloseSelectableChannel): Throws IOException.
8252 (implConfigureBlocking): Throws IOException.
8253 * java/nio/ByteBuffer.java
8254 (readOnly): Removed.
8255 (hasArray): Use isReadOnly() instead of readOnly.
8256 (array): Use isReadOnly() instead of readOnly.
8257 (arrayOffset): Use isReadOnly() instead of readOnly.
8258 * java/nio/CharBuffer.java
8259 (CharBuffer): Implements Cloneable and CharSequence.
8261 2003-02-11 Michael Koch <konqueror@gmx.de>
8263 * java/nio/DoubleBuffer.java
8264 (DoubleBuffer): Implements Comparable.
8266 (array_offset): New member variable.
8267 (DoubleBuffer): New constuctor.
8268 (get): May not be final.
8269 (put): May not be final.
8270 (arrayOffset): Implemented.
8271 (order): Made abstract.
8273 (as*Buffer): Removed.
8276 * java/nio/FloatBuffer.java
8277 (FloatBuffer): Implements Comparable.
8279 (array_offset): New member variable.
8280 (FloatBuffer): New constuctor.
8281 (get): May not be final.
8282 (put): May not be final.
8283 (arrayOffset): Implemented.
8284 (order): Made abstract.
8286 (as*Buffer): Removed.
8289 * java/nio/IntBuffer.java
8290 (IntBuffer): Implements Comparable.
8292 (array_offset): New member variable.
8293 (IntBuffer): New constuctor.
8294 (get): May not be final.
8295 (put): May not be final.
8296 (arrayOffset): Implemented.
8297 (order): Made abstract.
8299 (as*Buffer): Removed.
8302 * java/nio/LongBuffer.java
8303 (LongBuffer): Implements Comparable.
8305 (array_offset): New member variable.
8306 (LongBuffer): New constuctor.
8307 (get): May not be final.
8308 (put): May not be final.
8309 (arrayOffset): Implemented.
8310 (order): Made abstract.
8312 (as*Buffer): Removed.
8315 * java/nio/ShortBuffer.java
8316 (ShortBuffer): Implements Comparable.
8318 (array_offset): New member variable.
8319 (ShortBuffer): New constuctor.
8320 (get): May not be final.
8321 (put): May not be final.
8322 (arrayOffset): Implemented.
8323 (order): Made abstract.
8325 (as*Buffer): Removed.
8329 2003-02-11 Michael Koch <konqueror@gmx.de>
8331 * java/nio/channels/SelectionKey.java
8332 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
8335 2003-02-11 Michael Koch <konqueror@gmx.de>
8337 * java/nio/channels/DatagramChannel.java
8338 (write): Throws IOException.
8339 (connect): Throws IOException.
8340 (disconnect): Throws IOException.
8341 (read): Throws IOException.
8342 (receive): Throws IOException.
8343 (send): Throws IOException.
8344 * java/nio/channels/Pipe.java
8345 (open): Throws IOException.
8346 * java/nio/channels/SelectableChannel.java
8347 (configureBlocking): Throws IOException.
8348 * java/nio/channels/ServerSocketChannel.java
8349 (accept): Throws IOException.
8350 * java/nio/channels/SocketChannel.java
8351 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
8352 GatheringByteChannel.
8353 (read): Throws IOException.
8354 (write): Throws IOException.
8355 (finishConnect): Throws IOException.
8356 * java/nio/channels/spi/AbstractInterruptibleChannel.java
8357 (end): Throws AsynchronousCloseException.
8358 * java/nio/channels/spi/AbstractSelectableChannel.java
8359 (configureBlocking): Throws IOException.
8360 (implCloseChannel): Throws IOException.
8361 (implCloseSelectableChannel): Throws IOException.
8362 (implConfigureBlocking): Throws IOException.
8363 * java/nio/channels/spi/SelectorProvider.java
8364 (openDatagramChannel): Throws IOException.
8365 (openPipe): Throws IOException.
8366 (openSelector): Throws IOException.
8367 (openServerSocketChannel): Throws IOException.
8368 (openSocketChannel): Throws IOException.
8370 2003-02-11 Michael Koch <konqueror@gmx.de>
8372 * gnu/java/nio/FileLockImpl.java,
8373 java/nio/channels/FileLock.java: New files.
8375 2003-02-11 Michael Koch <konqueror@gmx.de>
8377 * java/nio/charset/IllegalCharsetNameException.java
8378 (serialVersionUID): New member variable.
8379 (charsetName): New member variable.
8380 (IllegalCharsetException): New implementation.
8381 (getCharsetName): New implementation.
8382 * java/nio/charset/UnsupportedCharsetException.java
8383 (serialVersionUID): New member variable.
8384 (charsetName): New member variable.
8385 (UnsupportedCharsetException): New implementation.
8386 (getCharsetName): New implementation.
8388 2003-02-10 Tom Tromey <tromey@redhat.com>
8390 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
8391 (ex): Renamed from sqlException.
8393 2003-02-10 Raif S. Naffah <raif@fl.net.au>
8395 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
8396 method used to ensure seeding has occurred and that a specific
8397 seed can be set and used.
8399 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
8401 * java/lang/Win32Process.java (destroy): Declare as native.
8402 (hasExited): New native method.
8403 (exitValue): Define.
8404 (getErrorStream): Likewise.
8405 (getInputStream): Likewise.
8406 (getOutputStream): Likewise.
8407 (waitFor): Declare as native.
8408 (startProcess): New native method.
8409 (cleanup): Likewise.
8410 (ConcreteProcess): Define.
8411 (outputStream, inputStream, errorStream): New members.
8412 (procHandle, exitCode): Likewise.
8414 * java/lang/natWin32Process.cc
8415 (java::lang::ConcreteProcess::cleanup): Define.
8416 (java::lang::ConcreteProcess::destroy): Likewise.
8417 (java::lang::ConcreteProcess::hasExited): Likewise.
8418 (java::lang::ConcreteProcess::waitFor): Likewise.
8419 (new_string): Likewise.
8420 (java::lang::ConcreteProcess::startProcess): Likewise.
8422 2003-02-10 Raif S. Naffah <raif@fl.net.au>
8424 * java/math/BigInteger.java:
8425 Updated notice to include years 2002 and 3.
8426 Added 2 private (int) arrays with values from the HAC (Handbook of
8427 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
8428 and t[] that contains nbr. of tests --used in isProbablePrime().
8430 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
8432 * java/math/BigInteger.java (make(int[],int), add(int,int),
8433 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
8434 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
8435 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
8438 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
8439 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
8440 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
8441 BIs and returns void.
8442 (modInverse(BI)): Use new signatures of euclidInv().
8444 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
8445 static small primes instead of remainder().
8446 Use pre-computed max nbr of trials based on bitlength of BI to test.
8447 Use pre-computed small primes for the trial tests instead of random
8450 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
8453 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
8454 invoacation of MPN.chars_per_word(). not used.
8456 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
8457 local var and used where needed.
8459 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
8460 Combined declaration with initialisation of locals.
8463 * java/math/BigInteger.java: Style changes
8464 (pow(int)): Removed 'else' keyword.
8465 (toString(int)): idem.
8466 (doubleValue()): idem.
8467 (bitLength()): idem.
8468 (equals(Object)): Use static methods name in same class w/o prepending
8470 (doubleValue()): idem.
8471 (setNegative(BI)): idem.
8473 (and(BI,int)): idem.
8476 (byteArrayToIntArray()): Removed casting to (int). this is
8478 (canonicalize()): idem.
8479 (alloc(int)): Always instantiate a new BI.
8481 2003-02-10 Tom Tromey <tromey@redhat.com>
8483 * java/sql/Timestamp.java (compareTo(Object)): New method.
8484 (compareTo(Timestamp)): Likewise.
8485 (serialVersionUID): Updated.
8487 2003-02-07 Mark Wielaard <mark@klomp.org>
8489 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
8490 when verify is true.
8491 (JarFile(File, boolean)): Likewise.
8492 (manifestRead): Set manifestRead field correctly.
8494 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8496 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
8497 tests; see patch #1016 on Savannah.
8499 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8501 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
8502 (toString): do not return Strings starting with . and - erroneously.
8503 Improves Mauve results to 12 of 600 instead of 16 of 338 on
8506 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8508 * java/beans/PropertyDescriptor.java
8509 (PropertyDescriptor(String, Class)): Sanity check getter and setter
8511 (PropertyDescriptor(String, Class, String, String)): Likewise.
8512 (PropertyDescriptor(String, Method, Method): Factor out getter and
8513 setter method sanity checks into new method.
8514 (findMethods): Don't do parameter sanity checking of get method here.
8515 (checkMethods): New method.
8517 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8519 * java/beans/PropertyDescriptor.java: Reformat.
8521 2003-02-04 Tom Tromey <tromey@redhat.com>
8523 * java/io/PipedOutputStream.java (flush): Declare as throwing
8526 * java/io/PipedWriter.java (close): Declare as throwing
8528 * java/io/StringWriter.java (close): Declare as throwing
8531 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
8533 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
8534 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
8535 could also have been exported as "JNI_OnLoad@8" (MinGW) or
8536 "_JNI_OnLoad@8" (MSVC).
8538 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
8540 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
8541 convention on Win32 to invoke native JNI methods.
8543 2003-02-03 Andrew Haley <aph@redhat.com>
8545 * configure.host (x86_64): Enable interpreter.
8547 2003-02-03 Andrew Haley <aph@redhat.com>
8549 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
8550 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
8551 * configure.in (BACKTRACESPEC): New.
8552 * configure: Regenerate.
8554 2003-02-02 Tom Tromey <tromey@redhat.com>
8556 * configure: Rebuilt.
8557 * configure.in (TOOLKIT) [xlib]: Set correctly.
8559 * Makefile.in: Rebuilt.
8560 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
8563 2003-01-31 Mark WIelaard <mark@klomp.org>
8565 * Makefile.in: Rebuilt.
8566 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
8568 2003-01-31 Tom Tromey <tromey@redhat.com>
8570 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
8571 cast to element type.
8572 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
8573 (_Jv_JNI_GetObjectArrayElement): Likewise.
8575 * Makefile.in: Rebuilt.
8576 * Makefile.am (cond_x_ltlibrary): Renamed library to
8577 lib-gnu-awt-xlib.la.
8578 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
8579 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
8580 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
8581 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
8582 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
8583 (lib_gnu_awt_xlib_la_LINK): Likewise.
8584 (install-exec-hook): Removed.
8585 (lib-gnu-awt-xlib.la): Renamed.
8587 2003-01-31 Tom Tromey <tromey@redhat.com>
8589 * aclocal.m4, configure, include/config.h.in: Rebuilt.
8590 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
8591 aclocal.m4 and lost in some merge.
8593 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
8594 Don't try to find graphics configuration.
8595 * java/awt/Toolkit.java (default_toolkit_name): Use new
8596 Configuration entry.
8597 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
8599 * configure: Rebuilt.
8600 * configure.in (TOOLKIT): New subst.
8601 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
8602 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
8603 directory. Make output directories for .c files.
8604 * Makefile.in: Rebuilt.
8605 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
8606 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
8607 (all_java_source_files): Added new sources.
8608 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
8609 (gtk_c_files): New macro.
8610 (gtk_c_source_files): New macro.
8611 (cond_gtk_ltlibrary): New macro.
8612 ($(gtk_c_files)): New target.
8613 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
8614 (gtk_awt_peer_sources): New macro.
8615 (gtk_c_headers): New macro.
8616 ($(gtk_c_headers)): New target.
8617 (ACLOCAL_AMFLAGS): New macro.
8618 * gtk.m4, glib.m4, libart.m4: New files.
8619 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
8620 gnu/java/awt/peer/gtk/GdkGraphics.java,
8621 gnu/java/awt/peer/gtk/GtkArg.java,
8622 gnu/java/awt/peer/gtk/GtkArgList.java,
8623 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8624 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
8625 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
8626 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
8627 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
8628 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8629 gnu/java/awt/peer/gtk/GtkClipboard.java,
8630 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8631 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8632 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
8633 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8634 gnu/java/awt/peer/gtk/GtkFontPeer.java,
8635 gnu/java/awt/peer/gtk/GtkFramePeer.java,
8636 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
8637 gnu/java/awt/peer/gtk/GtkImage.java,
8638 gnu/java/awt/peer/gtk/GtkImagePainter.java,
8639 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
8640 gnu/java/awt/peer/gtk/GtkListPeer.java,
8641 gnu/java/awt/peer/gtk/GtkMainThread.java,
8642 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
8643 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
8644 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
8645 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
8646 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
8647 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
8648 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8649 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
8650 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8651 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8652 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8653 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8654 gnu/java/awt/peer/gtk/GtkToolkit.java,
8655 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8656 gnu/java/awt/peer/gtk/TestAWT.java,
8657 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
8658 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
8659 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
8660 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8661 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
8662 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
8663 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
8664 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
8665 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
8666 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
8667 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
8668 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
8669 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
8670 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
8671 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
8672 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
8673 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
8674 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
8675 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
8676 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
8677 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
8678 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
8679 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
8680 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8681 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
8682 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
8683 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
8684 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
8685 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
8686 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
8687 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
8688 jni/classpath/native_state.c, jni/classpath/native_state.h,
8689 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
8691 2003-01-31 Julian Dolby <dolby@us.ibm.com>
8693 * java/util/Properties.java (load): Ignore backslash before EOF.
8695 2003-01-30 Jeff Sturm <jsturm@one-point.com>
8697 * java/lang/natClass.cc (initializeClass): Check tables when
8698 (state == JV_STATE_IN_PROGRESS).
8699 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
8700 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
8701 interpreted classes.
8702 (linkClass0): Use _Jv_WaitForState.
8704 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
8706 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
8707 object when finished.
8709 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
8711 * libjava/configure.host: Disable can_unwind_signal on darwin.
8713 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
8716 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
8717 additionally containing id of the owner thread as well as
8718 the number of nested times the thread has acquired the mutex.
8719 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
8720 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
8721 (_Jv_MutexUnlock): Check if really the owner thread, reset
8722 owner thread id to 0 before leaving, if leaving for the last
8724 (_Jv_MutexLock): Set owner thread id in the mutex and increment
8726 (_Jv_ThreadYield): Yield using a call to Sleep(0).
8727 * win32-threads.cc (_Jv_CondWait): Check if really owner of
8729 Pass handle of the broadcast event, instead of a pointer to it
8730 in Win32 ResetEvent( ) call.
8731 Remove incorrect return values.
8732 (_Jv_CondDestroy): Close both event handles and delete
8734 (_Jv_CondNotify): Check if really the owner thread.
8735 (_Jv_CondNotifyAll): Check if really the owner thread.
8736 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
8737 (really_start): Use SetEvent( ) to signal daemon_cond.
8738 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
8739 WaitForSingleObject( ) instead to wait for daemon_cond to be
8742 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
8744 * configure.in: Specifically define HAVE_BACKTRACE if building
8746 * include/win32.h: Remove HAVE_BACKTRACE definition.
8747 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
8748 * configure: Rebuilt.
8750 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
8752 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
8753 Set and AC_SUBST. Remove USE_LIBDIR conditional.
8754 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
8755 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
8756 * Makefile.in, configure: Rebuilt.
8758 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
8761 * java/io/natFileWin32.cc (performList): Append only "*.*"
8762 if the canonical file path already has a "\" at the end.
8764 2003-01-24 Tom Tromey <tromey@redhat.com>
8766 * defineclass.cc (handleMethodsEnd): Precompute code for static
8768 (handleCodeAttribute): Likewise.
8769 * resolve.cc (ncode): Use run_class for unsynchronized static
8771 * include/java-interp.h (class _Jv_InterpMethod): Declare
8773 * interpret.cc (run_synch_class): Initialize class.
8774 (run) [insn_invokestatic]: Don't initialize class.
8775 [insn_anewarray]: Likewise.
8776 [insn_multianewarray]: Likewise.
8777 (run_class): New function.
8779 2003-01-24 Tom Tromey <tromey@redhat.com>
8781 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
8784 2003-01-22 Andrew Haley <aph@redhat.com>
8786 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
8787 * configure.host (CHECKREFSPEC): Define for x86_64.
8789 2003-01-21 Tom Tromey <tromey@redhat.com>
8791 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
8794 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
8796 * java/io/natFileWin32.cc (isAbsolute): Check path length before
8797 looking at any characters.
8798 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
8800 (isAbsolute): Check path's length as well.
8802 2003-01-17 Mark Wielaard <mark@klomp.org>
8804 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
8805 (nat_source_files): Add natVMObjectStreamClass.cc.
8806 * Makefile.in: Regenerated.
8807 * gcj/javaprims.h (namespace java): Regenerated.
8808 * java/io/ObjectStreamClass.java (getClassUID): Call
8809 VMObjectStreamClass.hasClassInitializer().
8810 (hasClassInitializer): Removed.
8811 * java/io/VMObjectStreamClass.java: New class.
8812 * java/io/natVMObjectStreamClass.cc: New file.
8813 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
8815 2003-01-16 Mark Wielaard <mark@klomp.org>
8817 * java/net/SocketImpl.java (toString): Don't explicitly call
8818 toString() on possible null address.
8820 2003-01-16 Michael Koch <konqueror@gmx.de>
8822 * java/net/MulticastSocket.java
8823 (setInterface): Reindented.
8825 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8827 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
8828 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
8829 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
8830 translateY arguments. Implement.
8831 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
8832 down translation arguments.
8833 (drawPolyline, drawPolygon): Fix incorrect tests.
8834 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
8835 translateX and translateY arguments.
8837 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8839 * Makefile.in: Rebuilt.
8840 * Makefile.am (xlib_includes): New macro.
8843 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8845 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
8846 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
8847 16-bit display mode.
8849 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8851 * java/awt/CardLayout.java (show): Rewrote.
8852 (gotoComponent): Removed `target' argument. Simplified code.
8853 Don't pre-compute `choice' unless `what' is FIRST or LAST.
8854 Changed all callers.
8857 2003-01-14 Michael Koch <konqueror@gmx.de>
8859 * java/net/InetSocketAddress.java
8860 (serialVersionUID): New member variable.
8861 * java/net/NetPermission.java
8862 (NetPermission): Dont implement java.io.Serialization directly.
8863 * java/net/SocketAddress.java:
8864 (serialVersionUID): Documentation added.
8866 2003-01-14 Michael Koch <konqueror@gmx.de>
8868 * java/awt/Label.java
8869 (Label): Implements javax.accessibility.Accessible;
8870 * java/awt/List.java
8871 (List): Implements javax.accessibility.Accessible;
8872 * java/awt/ScrollPane.java
8873 (ScrollPane): Implements javax.accessibility.Accessible;
8874 * java/awt/Scrollbar.java
8875 (Scrollbar): Implements javax.accessibility.Accessible;
8876 * java/awt/TextComponent.java
8877 (setCaretPosition): Throw exception, documentation added.
8878 * java/awt/Toolkit.java:
8879 Added some newlines in method documentations.
8880 (createButton): Exception documentation added.
8881 (createTextField): Exception documentation added.
8882 (createLabel): Exception documentation added.
8883 (createList): Exception documentation added.
8884 (createCheckbox): Exception documentation added.
8885 (createScrollbar): Exception documentation added.
8886 (createScrollPane): Exception documentation added.
8887 (createTextArea): Exception documentation added.
8888 (createChoice): Exception documentation added.
8889 (createFrame): Exception documentation added.
8890 (createWindow): Exception documentation added.
8891 (createDialog): Exception documentation added.
8892 (createMenuBar): Exception documentation added.
8893 (createMenu): Exception documentation added.
8894 (createMenuItem): Exception documentation added.
8895 (createFileDialog): Exception documentation added.
8896 (createCheckboxMenuItem): Exception documentation added.
8897 (loadSystemColors): Exception documentation added.
8898 (setDynamicLayout): Exception documentation added.
8899 (isDynamicLayoutSet): Exception documentation added.
8900 (isDynamicLayoutActive): Exception documentation added.
8901 (getScreenSize): Exception documentation added.
8902 (getScreenResolution): Exception documentation added.
8903 (getScreenInsets): Exception documentation added.
8904 (getColorModel): Exception documentation added.
8905 (getSystemClipboard): Exception documentation added.
8906 (getSystemSelection): Exception documentation added.
8907 (getMenuShortcutKeyMask): Exception documentation added.
8908 (getSystemEventQueue): Exception documentation added.
8909 * java/awt/Window.java:
8910 Reindented some code.
8911 (Window): Centralized implementation, documentation added.
8912 (finalize): Documentation added.
8913 (hide): Fixed typo in comment.
8914 (getWindowListeners): Documentation added.
8915 * java/awt/color/ColorSpace.java
8916 (toRGB): Documentation added.
8917 * java/awt/color/ICC_ColorSpace.java
8918 (ICC_ColorSpace): Documentation added.
8919 (toRGB): Throw exception, documentation added.
8920 (fromRGB): Throw exception, documentation added.
8921 (toCIEXYZ): Documentation added.
8922 (fromCIEXYZ): Documentation added.
8923 (getMinValue): Documentation added.
8924 (getMaxValue): Documentation added.
8925 * java/awt/geom/Dimension2D.java
8926 (clone): Documentation added.
8927 * java/awt/geom/GeneralPath.java
8928 (clone): Documentation added.
8929 * java/awt/geom/Line2D.java
8930 (clone): Documentation added.
8931 * java/awt/geom/QuadCurve2D.java
8932 (clone): Documentation added.
8933 * java/awt/image/ColorModel.java
8934 (ColorModel): Throw exception, documentation added.
8935 * java/awt/image/ImageFilter.java
8936 (clone): Doesnt throw CloneNotSupportedException.
8938 2003-01-14 Andrew Haley <aph@redhat.com>
8940 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8943 2003-01-10 Andrew Haley <aph@redhat.com>
8945 * include/dwarf2-signal.h: Remove x86_64.
8946 * configure.host (x86_64 DIVIDESPEC): Remove.
8947 * include/x86_64-signal.h: New file.
8948 * configure.in: Regenerate.
8950 2003-01-10 Michael Koch <konqueror@gmx.de>
8952 * java/net/DatagramSocket.java
8953 (ch): Description added.
8954 (remotePort): Initialize with -1.
8955 (connect): Doesnt throws SocketException.
8956 * java/net/MulticastSocket.java
8957 (setInterface): Merge with Classpath.
8958 * java/net/ServerSocket.java
8959 (closed): New member variable.
8960 (bind): Check if socket is closed.
8961 (close): Close an associated channel too, set new value to closed.
8962 (isBound): Reindented.
8963 (isClosed): Implemented.
8964 * java/net/Socket.java
8965 (closed): New member variable.
8966 (bind): Check if socket is closed.
8967 (connect): Check if socket is closed.
8968 (close): Close an associated channel too, set new value to closed.
8969 (isClosed): Implemented.
8971 2003-01-10 Michael Koch <konqueror@gmx.de>
8973 * java/awt/DisplayMode.java
8974 (equals): Fixed argument type and implementation.
8976 2003-01-07 Tom Tromey <tromey@redhat.com>
8978 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8979 JV_HASH_SYNCHRONIZATION.
8980 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8981 JV_HASH_SYNCHRONIZATION.
8983 2003-01-07 Michael Koch <konqueror@gmx.de>
8985 * java/net/DatagramSocket.java:
8986 Added classpath license info.
8987 (DatagramSocket): Merged description with classpath.
8988 (close): Merged description with classpath.
8989 (getChannel): Merged description with classpath.
8990 (getInetAddress): Merged description with classpath.
8991 (getPort): Merged description with classpath.
8992 (getLocalAddress): Merged description with classpath.
8993 (getLocalPort): Merged description with classpath.
8994 (getSoTimeout): Merged description with classpath.
8995 (setSoTimeout): Merged description with classpath.
8996 (getSendBufferSize): Merged description with classpath.
8997 (setSendBufferSize): Merged description with classpath.
8998 (getReceiveBufferSize): Merged description with classpath.
8999 (setReceiveBufferSize): Merged description with classpath.
9001 2003-01-04 Tom Tromey <tromey@redhat.com>
9003 * java/awt/List.java: Merged with Classpath.
9005 2003-01-03 Mark Wielaard <mark@klomp.org>
9007 * java/io/FileDescriptor.java (position): New private field.
9008 * java/io/natFileDescriptorPosix.cc (write): Up position.
9009 (setLength): Use and set position.
9010 (seek): Set position.
9011 (getFilePointer): Return position.
9012 (read): Up position.
9014 2003-01-03 Mark Wielaard <mark@klomp.org>
9016 Merge with Classpath:
9017 * java/io/ObjectStreamClass.java (lookup): Split method and call
9018 lookupForClassObject().
9019 (lookupForClassObject): New method.
9020 (isProxyClass): New field.
9021 (setClass): Set isProxyClass, add object to classLookupTable, set
9022 superClass and calculateOffsets.
9023 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
9024 and not a proxy class.
9025 (setFields): Set accessible true for serialPersistentFields.
9026 (getClassUID): Same for suid. And check if suid is of type long.
9027 (hasClassInitializer): Don't throw NoSuchMethodError.
9029 2003-01-03 Mark Wielaard <mark@klomp.org>
9031 * java/io/FileInputStream.java (finalize): Don't explicitly
9032 finalize FileDescriptor.
9034 2003-01-03 Jeff Sturm <jsturm@one-point.com>
9036 * configure.host (sparc*-*): Enable bytecode interpreter.
9038 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
9040 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
9041 Don't throw RemoteException.
9042 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
9043 throw RemoteException.
9045 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
9047 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
9048 proxyHost): New static fields.
9049 (<clinit>): Initialize new fields.
9050 (connect): Use proxy if necessary.
9051 (usingProxy): Implement.
9053 2003-01-03 Eric Blake <ebb9@email.byu.edu>
9055 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
9056 (TreeIterator.remove): Prefer IllegalStateException over
9057 ConcurrentModificationException, to match Sun.
9059 2002-12-22 Anthony Green <green@redhat.com>
9061 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
9063 2003-01-02 Mark Wielaard <mark@klomp.org>
9065 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
9067 (HTTP_USE_PROXY): Add field.
9068 (getResponseVals): Only set responseCode when not yet explicitly
9071 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
9072 Mark Wielaard <mark@klomp.org>
9074 * java/util/zip/ZipFile.java (entries): Now HashMap.
9075 (readLeShort(DataInput, byte[])): Read from given byte array.
9076 (readLeInt(DataInput, byte[]): Likewise.
9077 (readLeShort(byte[] b, int off)): New method.
9078 (readLeInt(byte[] b, int off)): Likewise.
9079 (readEntries): Use byte arrays to read info in bigger chunks.
9080 (getEntries): Return HashMap.
9081 (getEntry): Use HashMap.
9082 (locBuf): New private field.
9083 (checkLocalHeader): Use locBuf to read info in one chunk.
9084 (getInputStream): Use entries HashMap, wrap PartialInputStream
9085 in BufferedInputStream.
9086 (ZipEntryEnumeration): Use HashMap and Interator.
9088 2003-01-02 Mark Wielaard <mark@klomp.org>
9089 Jeroen Frijters <jeroen@sumatra.nl>
9091 * java/net/URLClassLoader.java (Resource.getCodeSource):
9092 Fix check certs == null.
9093 (getCanonicalFileURL): Removed method.
9094 (JarURLLoader): Don't call removed method.
9095 (FileURLLoader): Likewise.
9096 (FileURLLoader.getResource): Don't canonicalize file name.
9098 2003-01-01 Tom Tromey <tromey@redhat.com>
9100 * Makefile.in: Rebuilt.
9101 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
9102 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
9103 java/awt/BufferCapabilities.java, java/awt/Button.java,
9104 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
9105 java/awt/Container.java, java/awt/Cursor.java,
9106 java/awt/EventQueue.java, java/awt/FileDialog.java,
9107 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
9108 java/awt/MenuBar.java, java/awt/MenuComponent.java,
9109 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
9110 java/awt/Scrollbar.java, java/awt/TextArea.java,
9111 java/awt/TextField.java, java/awt/color/CMMException.java,
9112 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
9113 java/awt/color/ProfileDataException.java,
9114 java/awt/datatransfer/Clipboard.java,
9115 java/awt/datatransfer/DataFlavor.java,
9116 java/awt/datatransfer/FlavorMap.java,
9117 java/awt/datatransfer/SystemFlavorMap.java,
9118 java/awt/dnd/DragGestureEvent.java,
9119 java/awt/dnd/DragGestureRecognizer.java,
9120 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
9121 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
9122 java/awt/im/InputMethodHighlight.java,
9123 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
9124 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
9126 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
9127 `op' to BufferedImageOp.
9129 2002-12-31 Tom Tromey <tromey@redhat.com>
9131 Fix for PR libgcj/7416:
9132 * javax/naming/InitialContext.java (init): Use
9133 gnu.classpath.home.url.
9134 * java/security/Security.java: Use new properties.
9135 (loadProviders): Accept base url; use it.
9136 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
9137 gnu.classpath.home.url.
9138 (gnu.classpath.home.url): Define.
9139 (gnu.classpath.vm.shortname): Likewise.
9141 2002-12-31 Tom Tromey <tromey@redhat.com>
9142 Ranjit Mathew <rmathew@hotmail.com>
9144 Fix for PR libgcj/8997:
9145 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
9147 * include/posix.h (_Jv_platform_usleep): New function.
9148 * include/win32.h (_Jv_platform_usleep): New function.
9150 2002-12-29 Tom Tromey <tromey@redhat.com>
9152 * gcj/javaprims.h: Updated.
9153 * scripts/classes.pl (scan): Removed stray semicolon.
9155 2002-12-30 Mark Wielaard <mark@klomp.org>
9157 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
9160 2002-12-30 Mark Wielaard <mark@klomp.org>
9162 * java/util/Properties (formatForOutput): Don't fall through to
9163 default case after escaping character.
9165 2002-12-30 Mark Wielaard <mark@klomp.org>
9167 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
9170 2002-12-27 Mark Mitchell <mark@codesourcery.com>
9172 * boehm.cc: Remove stray semicolon.
9173 * interpret.cc: Likewise.
9174 * prims.cc: Likewise.
9175 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
9176 earlier to ensure default arguments are processed.
9177 * gcj/array.h (JArray): Add forward declaration.
9178 (elements): Likewise.
9179 * gcj/javaprim.h: Remove stray semicolons.
9180 * include/bohm-gc.h: Likewise.
9181 * include/jni.h: Likewise.
9182 * include/jvm.h: Likewise.
9183 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
9185 2002-12-23 Jeff Sturm <jsturm@one-point.com>
9187 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
9189 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
9190 idt tables after initializing superclass.
9191 * java/lang/natClassLoader.cc (uaddr): New typedef.
9192 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
9193 if they are constant pool indicies. Don't link vtable, otable yet.
9195 2002-12-21 Anthony Green <green@redhat.com>
9197 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
9199 * Makefile.in: Rebuilt.
9201 2002-12-19 Anthony Green <green@redhat.com>
9203 * Makefile.am (ordinary_java_source_files): Add
9204 org/xml/sax/helpers/NewInstance.java.
9205 * Makefile.in: Rebuilt.
9206 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
9207 org/xml/sax/helpers/package.html: New files.
9208 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
9209 http://www.saxproject.org.
9211 2002-12-19 Andrew Haley <aph@redhat.com>
9213 * java/util/natResourceBundle.cc: Include
9214 ArrayIndexOutOfBoundsException.h.
9215 (getCallingClassLoader): Don't put upper bound on stack search.
9216 Catch ArrayIndexOutOfBoundsException.
9218 2002-12-19 Tom Tromey <tromey@redhat.com>
9220 * libtool-version: Increased `current'.
9222 2002-12-19 Tom Tromey <tromey@redhat.com>
9224 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
9226 * java/lang/ClassLoader.java (defineClass): Use chained
9227 exception when rethrowing.
9228 * defineclass.cc (handleClassBegin): Mark class as interpreted.
9229 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
9231 * resolve.cc (_Jv_PrepareMissingMethods): New function.
9232 (_Jv_PrepareClass): Use it.
9233 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
9234 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
9235 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
9236 (Class): _Jv_PrepareMissingMethods now friend.
9237 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
9238 Record `NULL' for system class loader.
9239 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
9240 system class loader.
9241 (_Jv_FindClassInCache): Likewise.
9242 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
9243 (_Jv_FindClass): Special case system class loader.
9244 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
9245 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
9247 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
9249 (_getDeclaredMethod): Don't return synthetic methods.
9250 (getDeclaredMethods): Likewise.
9251 (_getMethod): Likewise.
9252 (_getMethods): Likewise.
9254 2002-12-18 Raif Naffah <raif@fl.net.au>
9256 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
9257 canonical form after divide().
9258 (modInverse): Likewise.
9260 2002-12-13 Casey Marshall <rsdio@metastatic.org>
9261 Mark Wielaard <mark@klomp.org>
9263 * java/security/SecurityRandom (digest): Removed field.
9264 (SecureRandom): Check all providers for case-insensitive SecureRandom
9265 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
9267 (getInstance(String,Provider,boolean): New method.
9268 (getInstance(String)): Use new method.
9269 (getInstance(String,String)): Likewise.
9270 (getInstance(String,Provider)): Likewise.
9272 2002-12-13 Casey Marshall <rsdio@metastatic.org>
9274 * java/security/Security.java (loadProviders): Increment i only once.
9276 2002-12-12 Mark Wielaard <mark@klomp.org>
9278 * java/lang/ClassLoader.java (resolveClass0): Transform
9279 ClassNotFoundException to NoClassDefFoundError. Transform all other
9280 throwables to LinkageError.
9282 2002-12-11 Tom Tromey <tromey@redhat.com>
9284 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
9286 * java/lang/ClassLoader.java (loadedClasses): New field.
9287 (defineClass): Fixed indentation. Put new class in
9289 (findLoadedClass): Implement here.
9290 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
9292 2002-12-10 Tom Tromey <tromey@redhat.com>
9294 * Makefile.in: Rebuilt.
9295 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
9296 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
9297 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
9298 * java/lang/natClassLoader.cc
9299 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
9301 2002-12-10 Mark Wielaard <mark@klomp.org>
9302 Tom Tromey <tromey@redhat.com>
9304 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
9305 (JarURLLoader): Use it.
9306 (FileURLLoader): Likewise.
9307 (JarURLResource.getURL): Use chained exception.
9308 (FileResource.getURL): Likewise.
9309 (FileURLLoader.getResource): Use canonical file name.
9310 (addURL): Indentation fix.
9312 2002-12-10 Tom Tromey <tromey@redhat.com>
9314 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
9315 From Laurent Bardet <l.bardet@magic.fr>.
9317 2002-12-09 Tom Tromey <tromey@redhat.com>
9319 * include/win32.h (_Jv_platform_solib_prefix): New define.
9320 (_Jv_platform_solib_suffix): Likewise.
9321 * include/posix.h (_Jv_platform_solib_prefix): New define.
9322 (_Jv_platform_solib_suffix): Likewise.
9323 * java/lang/natRuntime.cc: Include StackTrace.h.
9324 (_load): Use findLibrary and new platform defines.
9325 (nativeGetLibname): Use new platform defines.
9327 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
9330 2002-12-08 Mark Wielaard <mark@klomp.org>
9332 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
9333 cache remote jar files.
9334 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
9335 add File.separator to URL when it is a directory.
9336 * java/lang/ClassLoader.java: Add Classpath javadoc.
9338 (getParent): Add (disabled) security check.
9339 (findLibrary): New default method.
9340 * java/net/JarURLConnection.java (getManifest): Implement.
9341 (getInputStream): Only create InputStream when entry exists.
9342 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
9344 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
9346 2002-12-08 Mark Wielaard <mark@klomp.org>
9348 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
9349 (lastDefaultLocale): New field.
9350 (getBundle): When Locale.getDefault != lastDefaultLocale reset
9351 resourceBundleCache.
9353 2002-12-06 Mark Wielaard <mark@klomp.org>
9355 * java/net/InetAddress.java (toString): Use hostname when not null,
9356 don't do an explicit reverse getHostName() lookup.
9357 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
9358 NullPointerException.
9360 2002-12-06 Tom Tromey <tromey@redhat.com>
9362 * include/java-interp.h (class _Jv_InterpMethod): Added
9364 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
9365 mark `prepared' field of interpreted method.
9366 * interpret.cc (compile): Use _Jv_AllocBytes.
9368 2002-12-05 Andrew Haley <aph@redhat.com>
9370 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
9371 #ifdef (HAVE_BACKTRACE) around the whole function body.
9373 2002-12-05 Tom Tromey <tromey@redhat.com>
9375 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
9376 * resolve.cc: Don't include AbstractMethodError.h.
9377 (_Jv_abstractMethodError): Removed.
9378 * defineclass.cc (handleMethodsBegin): Initialize method index to
9380 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
9381 method index for "new" final method.
9382 (_Jv_SetVTableEntries): Compare index against -1 instead of using
9383 isVirtualMethod. Added `flags' argument.
9384 (_Jv_MakeVTable): Throw exception for abstract method in concrete
9387 2002-12-04 Tom Tromey <tromey@redhat.com>
9389 * java/net/SocketPermission.java (hashCode): Rewrote.
9391 2002-12-04 Tom Tromey <tromey@redhat.com>
9393 * Makefile.in: Rebuilt.
9394 * Makefile.am (nat_source_files): Added natVMSecurityManager,
9396 * java/util/ResourceBundle.java (Security): Removed.
9397 (getCallingClassLoader): Now native.
9398 * java/util/natResourceBundle.cc: New file.
9399 * java/lang/natVMSecurityManager.cc: New file.
9400 * java/lang/VMSecurityManager.java (getClassContext): Now native.
9402 2002-12-03 Mark Wielaard <mark@klomp.org>
9404 * java/util/jar/JarFile.java (manifest): Not final.
9405 (manifestRead): New field.
9406 (JarFile): Don't read Manifest in constructor.
9407 (getManifest): New method.
9408 (JarEnumeration.nextElement): Use new method.
9409 (getEntry): Likewise.
9410 * java/util/zip/ZipFile.java (name): Final.
9412 (entries): Change type to Hashtable.
9413 (closed): New field.
9414 (ZipFile): Don't read enties in constructor.
9415 (readEntries): Use Hashtable.
9416 (close): Set new close flag and set entries to null inside
9418 (entries): Contruct enumeration using new getEntries() method and
9420 (getEntryIndex): Removed.
9421 (getEntries): New method.
9422 (getEntry): Use new getEntries() method and entries Hastable.
9423 (getInputStream): Likewise.
9424 (size): Return getEntries().size().
9425 (ZipEntryEnumeration): Wrap entries Hashtable elements.
9426 * java/util/zip/ZipEntry.java (cal): Don't initialize.
9428 (dostime): New field.
9429 (zipFileIndex): Removed.
9430 (ZipEntry(ZipEntry)): Copy dostime.
9431 (setDOSTime): Now final and doesn't convert dos time.
9432 (getDOSTime): Likewise.
9433 (setTime): Convert dos time.
9434 (getTime): Likewise.
9435 (getCalendar): New method.
9436 (setExtra): Use setTime().
9437 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
9439 2002-12-03 Tom Tromey <tromey@redhat.com>
9441 * java/lang/Character.java (forDigit): Formatting fix.
9443 2002-12-03 Raif Naffah <raif@fl.net.au>
9445 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
9446 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
9447 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
9449 2002-12-03 Andrew Haley <aph@redhat.com>
9451 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
9453 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
9454 (_Jv_PopClass): New.
9455 (_Jv_PushClass): New.
9456 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
9457 discover the ClassLoader of our caller.
9458 (_Jv_CheckArrayStore): Don't check that a class is assignment
9459 compatible with Object.
9460 * java/lang/natVMTHrowable.cc: Delete.
9461 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
9462 java.lang.VMThrowable.
9463 (StackTrace(), StackTrace(int)): New constructors.
9464 (classAt, methodAt, update, methodAtAddress): New methods.
9466 * java/lang/VMThrowable.java: Use StackTrace instead of
9468 * java/lang/Class.h (getClassLoaderInternal): New.
9469 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
9470 Be friendly with gnu::gcj::runtime::StackTrace.
9471 (Object.chain): New field.
9472 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
9473 gnu::gcj::runtime::StackTrace.
9474 * gnu/gcj/runtime/natStackTrace.cc: New file.
9475 * gnu/gcj/runtime/MethodRef.java: New file.
9476 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
9477 instead of getClassLoader().
9478 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
9479 java::lang::VMThrowable.
9480 * Makefile.am (core_java_source_files): Add MethodRef.java,
9482 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
9483 * Makefile.in: Rebuild.
9485 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
9487 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
9488 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
9489 yes also for sh-linux* and sh[34]*-linux*.
9490 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
9491 set SIGNAL_HANDLER to use DWARF2 exception for them.
9492 * configure: Regenerate.
9494 2002-12-02 Tom Tromey <tromey@redhat.com>
9496 * jni.cc: Added `name' argument.
9497 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
9498 `const char *' argument.
9499 (class _Jv_JNIEnv) [DefineClass]: Likewise.
9501 2002-12-01 Tom Tromey <tromey@redhat.com>
9503 Bug compatibility, for PR libgcj/8738:
9504 * java/io/CharArrayWriter.java (close): Do nothing.
9506 (reset): Don't touch `closed'.
9507 (write(int)): Don't throw IOException.
9508 (write(char[],int,int)): Likewise.
9509 (write(String,int,int)): Likewise.
9512 2002-12-01 Mark Wielaard <mark@klomp.org>
9514 * java/lang/SecurityManager.java: Remerge comments, indenting and
9515 checkXXX methods with Classpath.
9517 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
9519 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
9520 getNormalizedComponents): Fix calculation which was using one too
9521 many bits in the unnormalized format.
9523 2002-11-29 Gary Benson <gbenson@redhat.com>
9526 * java/beans/Introspector.java (flushCaches): New method.
9527 (flushFromCaches): Likewise.
9529 2002-11-29 Michael Koch <konqueror@gmx.de>
9531 * java/nio/channels/DatagramChannel.java
9532 (open): Added exception documentation.
9533 (write): Added exception documentation.
9534 (connect): Added exception documentation.
9535 (disconnect): Added exception documentation.
9536 (isConnected): Added exception documentation.
9537 (read): Added exception documentation.
9538 (receive): Added exception documentation.
9539 (send): Added exception documentation.
9540 (validOps): Added exception documentation.
9541 * java/nio/channels/SocketChannel.java
9542 (open): Added exception documentation.
9543 (read): Added exception documentation.
9544 (write): Added exception documentation.
9545 (connect): Added exception documentation.
9546 (finishConnect): Added exception documentation.
9548 2002-11-29 Michael Koch <konqueror@gmx.de>
9550 * gnu/java/nio/DatagramChannelImpl:
9551 (fd): New member variable to store file descriptor of socket.
9552 * gnu/java/nio/SelectionKeyImpl.java:
9554 (readyOps): New member variable.
9555 (interestOps): New member variable.
9556 (readyOps): Implemented.
9557 (readyOps): New method to set member variable readyOps.
9558 (interestOps): Replaced ops by interestOps.
9559 * gnu/java/nio/SelectorImpl.java:
9560 (SelectorImpl): Initialize key sets.
9561 (select): Call select with -1 instead of Long.MAX_VALUE).
9562 (java_do_select): Make it a native method.
9563 (getFDsAsArray): New helper method.
9564 (select): Remove canceled keys, give only interested file discriptors
9565 to java_do_select, set ready ops.
9566 (add): No need to initialize keys set here.
9567 (add_selected): No need to initialize selected set here.
9568 (deregisterCanceledKeys): New helper method.
9569 (register): Set interest ops, set attachments, added handling of datagram
9571 * gnu/java/nio/ServerSocketChannelImpl:
9572 (SocketAccept): Renamed from NioSocketAccept.
9573 (implConfigureBlocking): Implemented.
9574 (accept): Use SocketAccept instead of NioSocketAccept.
9575 * gnu/java/nio/SocketChannelImpl:
9576 Reactivate native methods.
9578 2002-11-29 Michael Koch <konqueror@gmx.de>
9580 * gnu/java/nio/natByteBufferImpl.cc,
9581 gnu/java/nio/natCharBufferImpl.cc,
9582 gnu/java/nio/natDoubleBufferImpl.cc,
9583 gnu/java/nio/natFloatBufferImpl.cc,
9584 gnu/java/nio/natIntBufferImpl.cc,
9585 gnu/java/nio/natLongBufferImpl.cc,
9586 gnu/java/nio/natSelectorImpl.cc,
9587 gnu/java/nio/natServerSocketChannelImpl.cc,
9588 gnu/java/nio/natShortBufferImpl.cc,
9589 gnu/java/nio/natSocketChannelImpl.cc:
9590 New files that implement native functionalities.
9592 2002-11-29 Michael Koch <konqueror@gmx.de>
9594 * gnu/java/nio/ByteBufferImpl.java
9595 (ByteBufferImpl): Moved position() after limit.
9596 (nio_*): Use native implementation.
9597 * gnu/java/nio/CharBufferImpl.java:
9599 (endian): New member variable string endianess of buffer.
9600 (CharBufferImpl): Moved position() after limit.
9601 (nio_*): Use native implementation.
9602 (subSequence): Implemented.
9603 * gnu/java/nio/DoubleBufferImpl.java
9604 (DoubleBufferImpl): Moved position() after limit.
9605 (nio_*): Use native implementation.
9606 * gnu/java/nio/FloatBufferImpl.java
9608 (FloatBufferImpl): Moved position() after limit.
9609 (nio_*): Use native implementation.
9610 * gnu/java/nio/IntBufferImpl.java
9611 Added needed imports, Reformated.
9612 (IntBufferImpl): Moved position() after limit.
9613 (nio_*): Use native implementation.
9614 * gnu/java/nio/LongBufferImpl.java
9616 (LongBufferImpl): Moved position() after limit.
9617 (nio_*): Use native implementation.
9618 * gnu/java/nio/ShortBufferImpl.java
9620 (ShortBufferImpl): Moved position() after limit.
9621 (nio_*): Use native implementation.
9623 2002-11-27 Julian Dolby <dolby@us.ibm.com>
9625 * java/util/Locale.java (toString): Improve efficiency if country
9626 and variant are both empty.
9628 2002-11-26 Tom Tromey <tromey@redhat.com>
9630 * verify.cc (pop_init_ref): New method.
9631 (verify_instructions_0) [op_iaload, op_laload, op_faload,
9632 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
9633 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
9634 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
9635 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
9636 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
9637 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
9638 let `this' argument be uninitialized. Don't let `null' be passed
9639 as `this' to construtor.
9641 2002-11-26 Mark Wielaard <mark@klomp.org>
9643 * javax/transaction/HeuristicCommitException.java: Classpath merge.
9644 * javax/transaction/HeuristicMixedException.java: Likewise.
9645 * javax/transaction/HeuristicRollbackException.java: Likewise.
9646 * javax/transaction/InvalidTransactionException.java: Likewise.
9647 * javax/transaction/NotSupportedException.java: Likewise.
9648 * javax/transaction/RollbackException.java: Likewise.
9649 * javax/transaction/Status.java: Likewise.
9650 * javax/transaction/Synchronization.java: Likewise.
9651 * javax/transaction/SystemException.java: Likewise.
9652 * javax/transaction/Transaction.java: Likewise.
9653 * javax/transaction/TransactionManager.java: Likewise.
9654 * javax/transaction/TransactionRequiredException.java: Likewise.
9655 * javax/transaction/TransactionRolledbackException.java: Likewise.
9656 * javax/transaction/UserTransaction.java: Likewise.
9657 * javax/transaction/xa/XAException.java: Likewise.
9658 * javax/transaction/xa/XAResource.java: Likewise.
9659 * javax/transaction/xa/Xid.java: Likewise.
9661 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
9663 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
9665 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
9666 * include/posix.h (socklen_t): Define if not already defined.
9668 2002-11-25 Tom Tromey <tromey@redhat.com>
9670 * verify.cc (type::compatible): Backed out broken change.
9672 * verify.cc (type::compatible): Check initialization status
9674 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
9675 Don't use NULLCHECK.
9677 2002-11-23 H.J. Lu <hjl@gnu.org>
9679 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
9680 Include ../config/accross.m4.
9681 * aclocal.m4; Rebuild.
9682 * configure: Likewise.
9684 2002-11-23 Mark Wielaard <mark@klomp.org>
9686 * javax/naming/AuthenticationException.java: Update copyright header.
9687 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
9688 * javax/naming/Binding.java: Likewise.
9689 * javax/naming/CannotProceedException.java: Likewise.
9690 * javax/naming/CommunicationException.java: Likewise.
9691 * javax/naming/CompositeName.java: Likewise.
9692 * javax/naming/CompoundName.java: Likewise.
9693 * javax/naming/ConfigurationException.java: Likewise.
9694 * javax/naming/Context.java: Likewise.
9695 * javax/naming/ContextNotEmptyException.java: Likewise.
9696 * javax/naming/InitialContext.java: Likewise.
9697 * javax/naming/InsufficientResourcesException.java: Likewise.
9698 * javax/naming/InterruptedNamingException.java: Likewise.
9699 * javax/naming/LimitExceededException.java: Likewise.
9700 * javax/naming/LinkException.java: Likewise.
9701 * javax/naming/LinkLoopException.java: Likewise.
9702 * javax/naming/LinkRef.java: Likewise.
9703 * javax/naming/MalformedLinkException.java: Likewise.
9704 * javax/naming/NameAlreadyBoundException.java: Likewise.
9705 * javax/naming/NameClassPair.java: Likewise.
9706 * javax/naming/NameNotFoundException.java: Likewise.
9707 * javax/naming/NameParser.java: Likewise.
9708 * javax/naming/NamingEnumeration.java: Likewise.
9709 * javax/naming/NamingSecurityException.java: Likewise.
9710 * javax/naming/NoInitialContextException.java: Likewise.
9711 * javax/naming/NoPermissionException.java: Likewise.
9712 * javax/naming/NotContextException.java: Likewise.
9713 * javax/naming/OperationNotSupportedException.java: Likewise.
9714 * javax/naming/PartialResultException.java: Likewise.
9715 * javax/naming/Reference.java: Likewise.
9716 * javax/naming/Referenceable.java: Likewise.
9717 * javax/naming/ReferralException.java: Likewise.
9718 * javax/naming/ServiceUnavailableException.java: Likewise.
9719 * javax/naming/SizeLimitExceededException.java: Likewise.
9720 * javax/naming/TimeLimitExceededException.java: Likewise.
9721 * javax/naming/directory/Attribute.java: Likewise.
9722 * javax/naming/directory/AttributeInUseException.java: Likewise.
9723 * javax/naming/directory/AttributeModificationException.java: Likewise.
9724 * javax/naming/directory/Attributes.java: Likewise.
9725 * javax/naming/directory/BasicAttribute.java: Likewise.
9726 * javax/naming/directory/BasicAttributes.java: Likewise.
9727 * javax/naming/directory/DirContext.java: Likewise.
9728 * javax/naming/directory/InitialDirContext.java: Likewise.
9729 * javax/naming/directory/InvalidAttributeIdentifierException.java:
9731 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
9732 * javax/naming/directory/InvalidAttributesException.java: Likewise.
9733 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
9734 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
9735 * javax/naming/directory/ModificationItem.java: Likewise.
9736 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
9737 * javax/naming/directory/SchemaViolationException.java: Likewise.
9738 * javax/naming/directory/SearchControls.java: Likewise.
9739 * javax/naming/directory/SearchResult.java: Likewise.
9740 * javax/naming/event/EventContext.java: Likewise.
9741 * javax/naming/event/EventDirContext.java: Likewise.
9742 * javax/naming/event/NamespaceChangeListener.java: Likewise.
9743 * javax/naming/event/NamingEvent.java: Likewise.
9744 * javax/naming/event/NamingExceptionEvent.java: Likewise.
9745 * javax/naming/event/NamingListener.java: Likewise.
9746 * javax/naming/event/ObjectChangeListener.java: Likewise.
9747 * javax/naming/ldap/Control.java: Likewise.
9748 * javax/naming/ldap/ControlFactory.java: Likewise.
9749 * javax/naming/ldap/ExtendedRequest.java: Likewise.
9750 * javax/naming/ldap/ExtendedResponse.java: Likewise.
9751 * javax/naming/ldap/HasControls.java: Likewise.
9752 * javax/naming/ldap/InitialLdapContext.java: Likewise.
9753 * javax/naming/ldap/LdapContext.java: Likewise.
9754 * javax/naming/ldap/LdapReferralException.java: Likewise.
9755 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
9756 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
9757 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
9758 * javax/naming/spi/DirObjectFactory.java: Likewise.
9759 * javax/naming/spi/DirStateFactory.java: Likewise.
9760 * javax/naming/spi/DirectoryManager.java: Likewise.
9761 * javax/naming/spi/InitialContextFactory.java: Likewise.
9762 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
9763 * javax/naming/spi/NamingManager.java: Likewise.
9764 * javax/naming/spi/ObjectFactory.java: Likewise.
9765 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
9766 * javax/naming/spi/ResolveResult.java: Likewise.
9767 * javax/naming/spi/Resolver.java: Likewise.
9768 * javax/naming/spi/StateFactory.java: Likewise.
9770 * javax/naming/spi/NamingManager.java (ofb): Package private.
9772 2002-11-21 Mark Wielaard <mark@klomp.org>
9774 * java/net/URL.java: Merge with Classpath (partly).
9775 * java/net/URLStreamHandler: Merge with Classpath.
9777 2002-11-22 Michael Koch <konqueror@gmx.de>
9780 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9782 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9783 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
9785 2002-11-21 Michael Koch <konqueror@gmx.de>
9787 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
9788 Only the new network functions should be in it.
9790 2002-11-21 Michael Koch <konqueror@gmx.de>
9792 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9793 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9795 2002-11-21 Michael Koch <konqueror@gmx.de>
9797 * java/nio/channels/AsynchronousCloseException.java,
9798 java/nio/channels/CancelledKeyException.java,
9799 java/nio/channels/ClosedByInterruptException.java,
9800 java/nio/channels/ConnectionPendingException.java,
9801 java/nio/channels/FileLockInterruptionException.java,
9802 java/nio/channels/IllegalSelectorException.java,
9803 java/nio/channels/NoConnectionPendingException.java,
9804 java/nio/channels/NonReadableChannelException.java,
9805 java/nio/channels/NonWritableChannelException.java,
9806 java/nio/channels/NotYetBoundException.java,
9807 java/nio/channels/NotYetConnectedException.java,
9808 java/nio/channels/OverlappingFileLockException.java,
9809 java/nio/channels/UnresolvedAddressException.java,
9810 java/nio/channels/UnsupportedAddressTypeException.java:
9812 * Makefile.am (ordinary_java_source_files): Added new files.
9813 * Makefile.in: Regenerated.
9815 2002-11-21 Michael Koch <konqueror@gmx.de>
9818 (_Jv_socket): New method.
9819 (_Jv_connect): New method.
9820 (_Jv_close): New method.
9821 (_Jv_platform_close_on_exec): Prefixed system function with "::".
9822 (_Jv_bind): New method.
9823 (_Jv_listen): New method.
9824 (_Jv_write): New method.
9825 (_Jv_read): New method.
9827 (_Jv_socket): New method.
9828 (_Jv_connect): New method.
9829 (_Jv_close): New method.
9830 (_Jv_bind): New method.
9831 (_Jv_listen): New method.
9832 (_Jv_write): New method.
9833 (_Jv_read): New method.
9834 * java/net/natNetworkInterface.cc:
9835 Include platform.h, removed inclusion of socket.h
9836 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
9837 ::close() by _Jv_close().
9838 * java/net/natPlainDatagramSocketImpl.cc:
9839 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
9840 added some new lines to make code more readable.
9841 (create): Replaced ::socket() by _Jv_socket().
9842 (close): Replaced NATIVE_CLOSE() by _Jv_close().
9843 * java/net/natPlainSocketImpl.cc:
9844 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
9845 removed include of socket.h, removed some windows defines
9846 (now in include/win32.h).
9847 (create): Replaced ::socket() by _Jv_socket().
9848 (close): Replaced NATIVE_CLOSE() by _Jv_close().
9849 (write): Replaced ::read by _Jv_write().
9850 (read): Replaced ::read by _Jv_read().
9852 2002-11-20 Michael Koch <konqueror@gmx.de>
9854 * Makefile.am (ordinary_java_source_files):
9855 Added java/nio/channels/FileChannel.java.
9856 * Makefile.in: Regenerated.
9858 2002-11-20 Michael Koch <konqueror@gmx.de>
9860 * java/io/FileInputStream.java
9861 (getChannel): New method.
9862 * java/io/FileOutputStream.java
9863 (getChannel): New method.
9864 * java/net/ServerSocket.java
9865 (bind): Removed duplicate code and called another bind method instead.
9866 * java/nio/channels/SelectionKey.java
9867 (isValid): Removed wrong exception documentation.
9868 * java/nio/channels/ServerSocketChannel.java
9869 (accept): Added exception documentation.
9870 (open): Fixed typo, added exception documentation.
9871 * java/nio/channels/spi/AbstractSelectableChannel.java
9872 (implCloseChannel): Added exception documentation.
9874 (register): Added exception documentation.
9876 2002-11-20 Andreas Jaeger <aj@suse.de>
9878 * configure: Regenerated with new libtool.m4.
9880 2002-11-19 Tom Tromey <tromey@redhat.com>
9882 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
9884 (finalize_referred_to_object): Don't modify `referent' or `copy'
9886 (add_to_hash): Correctly set `n->next' when updating list.
9887 * java/lang/ref/Reference.java (enqueue): Return false if already
9890 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
9892 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
9893 to function and function pointer declarations in accordance with
9894 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
9895 based on whether __GCJ_JNI_IMPL__ has been defined or not.
9896 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
9897 JNI function definitions.
9899 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9901 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
9902 that was causing CoderResults to be cached, not WeakReferences
9905 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
9907 * java/security/KeyStore.java (getInstance): Fix
9908 comment and throw IllegalArgumentException if
9909 given provider is null.
9910 (getInstance): New method for jdk1.4 compatibility.
9912 2002-11-18 Michael Koch <konqueror@gmx.de>
9914 * java/net/PlainSocketImpl.java: Fix imports.
9916 2002-11-18 Michael Koch <konqueror@gmx.de>
9918 * java/nio/channels/SelectionKey.java
9919 (isValid): Added exception documentation.
9920 * java/nio/channels/Selector.java
9921 (open): Declare "throws IOException".
9923 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9925 * java/nio/charset/Charset.java
9926 (<clinit>): New method.
9927 (encode): Synchronize use of cached encoder object.
9928 (decode): Synchronize use of cached encoder object.
9930 2002-11-18 Michael Koch <konqueror@gmx.de>
9932 * gnu/java/nio/ByteBufferImpl.java,
9933 gnu/java/nio/CharBufferImpl.java,
9934 gnu/java/nio/DatagramChannelImpl.java,
9935 gnu/java/nio/DoubleBufferImpl.java,
9936 gnu/java/nio/FileChannelImpl.java,
9937 gnu/java/nio/FloatBufferImpl.java,
9938 gnu/java/nio/IntBufferImpl.java,
9939 gnu/java/nio/LongBufferImpl.java,
9940 gnu/java/nio/PipeImpl.java,
9941 gnu/java/nio/SelectionKeyImpl.java,
9942 gnu/java/nio/SelectorImpl.java,
9943 gnu/java/nio/SelectorProviderImpl.java,
9944 gnu/java/nio/ServerSocketChannelImpl.java,
9945 gnu/java/nio/ShortBufferImpl.java,
9946 gnu/java/nio/SocketChannelImpl.java,
9947 java/nio/DoubleBuffer.java,
9948 java/nio/FloatBuffer.java,
9949 java/nio/IntBuffer.java,
9950 java/nio/LongBuffer.java,
9951 java/nio/ShortBuffer.java,
9952 java/nio/channels/FileChannel.java: New files.
9954 2002-11-18 Michael Koch <konqueror@gmx.de>
9956 * Makefile.am (ordinary_java_source_files):
9957 Added java/nio/ReadOnlyBufferException.java and
9958 java/nio/channels/ClosedSelectorException.java.
9959 * Makefile.in: Regenerated.
9961 2002-11-18 Michael Koch <konqueror@gmx.de>
9963 * java/net/PlainSocketImpl.java: Reworked imports.
9964 * java/net/ServerSocket.java
9965 (ServerSocket): Create socket.
9966 * java/net/SocketAddress.java: Documentation added.
9967 * java/net/natPlainSocketImpl.cc: Reindented.
9968 * java/nio/ReadOnlyBufferException.java: New file
9969 * java/nio/channels/ClosedChannelException.java: Documentation added.
9970 * java/nio/channels/ClosedSelectorException.java: New file.
9972 2002-11-17 Mark Wielaard <mark@klomp.org>
9974 * java/net/HttpURLConnection.java ((getPermission): Take port
9976 (getErrorStream): Implement.
9978 2002-11-17 Mark Wielaard <mark@klomp.org>
9980 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9982 2002-11-16 Mark Wielaard <mark@klomp.org>
9984 Integrate work by Raif S. Naffah (raif@fl.net.au)
9985 * java/security/DummyKeyPairGenerator.java (clone): New method.
9986 * java/security/DummyMessageDigest.java (clone): New method.
9987 (engineUpdate): Now public.
9988 (engineReset): Likewise.
9989 (engineDigest): Likewise.
9990 (engineGetDigestLength): New method.
9991 * java/security/DummySignature.java (clone): New method.
9992 * java/security/KeyPairGenerator.java (provider): Now package private.
9993 (getInstance(String)): Use getInstance(String,Provider).
9994 (getInstance(String,String): Use getInstance(String,Provider)
9995 (getInstance(String,Provider): New method.
9996 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9997 * java/security/KeyPairGeneratorSpi.java (clone): New method.
9998 * java/security/MessageDigest.java (provider): Now package private.
9999 (getInstance(String): Use getInstance(String,Provider).
10000 (getInstance(String,String): Use getInstance(String,Provider)
10001 (getInstance(String,Provider): New method.
10002 * java/security/Provider.java (toCanonicalKey): New method.
10003 (get): New method that uses toCanonicalKey().
10004 (put): Use toCanonicalKey().
10005 (remove): Likewise.
10006 * java/security/Security.java (insertProviderAt): Provider index is one
10007 based, not zero based.
10008 (addProvider): Likewise.
10009 (removeProvider): Likewise.
10010 * java/security/Signature.java (provider): Now package private.
10011 (getInstance(String)): Use getInstance(String,Provider).
10012 (getInstance(String,String): Use getInstance(String,Provider)
10013 (getInstance(String,Provider): New method.
10014 (getInstance(String,String,Provider): Don't cast DummySignature.
10016 2002-11-15 Tom Tromey <tromey@redhat.com>
10018 For PR libgcj/8593:
10019 * java/util/zip/GZIPInputStream.java (read): Check file size.
10020 Look in inflater for remaining input bytes.
10021 (read4): Added buf and offset arguments.
10023 2002-11-12 Eric Blake <ebb9@email.byu.edu>
10025 * java/applet/AppletContext.java: Fix typo and remove redundant
10028 2002-11-14 Tom Tromey <tromey@redhat.com>
10030 * java/lang/natRuntime.cc (insertSystemProperties): Set
10031 gnu.classpath.home.
10033 2002-11-13 Michael Koch <konqueror@gmx.de>
10035 * java/nio/ByteBuffer.java
10036 (allocate): New method.
10037 (wrap): New method.
10041 2002-11-13 Michael Koch <konqueror@gmx.de>
10043 * java/nio/channels/AlreadyConnectedException.java:
10044 Removed unneeded import.
10045 (AlreadyConnectedException): Documentation added.
10046 * java/nio/channels/Pipe.java
10047 (SinkChannel.SinkChannel): Documentation added.
10048 (SinkChannel.validOps): New method.
10049 (SourceChannel.SourceChannel): Documentation added.
10050 (SourceChannel.validOps): New method.
10051 (Pipe): Documentation added.
10052 (open): Documentation added.
10053 (SinkChannel.channel): Documentation added.
10054 (SourceChannel.channel): Documentation added.
10055 * java/nio/channel/SelectableChannel.java
10056 (SelectableChannel): Documentation added.
10057 (blockingLock): Documentation added.
10058 (configureBlocking):Documentation added.
10059 (isBlocking):Documentation added.
10060 (isRegistered):Documentation added.
10061 (keyFor):Documentation added.
10062 (provider):Documentation added.
10063 (register): Documentation added.
10064 (validOps): Documentation added.
10065 * jaba/nio/channels/SelectionKey.java
10066 (SelectionKey): Documentation added.
10067 (attach): Documentation added.
10068 (attachment): Documentation added.
10069 (isAcceptable): Documentation added.
10070 (isConnetable): Documentation added.
10071 (isReadable): Documentation added.
10072 (isWritable): Documentation added.
10073 (cancel): Documentation added.
10074 (channel): Documentation added.
10075 (interestOps): Documentation added.
10076 (isValid): Documentation added.
10077 (readyOps): Documentation added.
10078 (selector): Documentation added.
10079 * jaba/nio/channels/Selector.java
10080 (Selector): Documentation added.
10081 (open): Documentation added.
10082 (close): Documentation added.
10083 (isOpen): Documentation added.
10084 (keys): Documentation added.
10085 (provider): Documentation added.
10086 (select): Documentation added.
10087 (selectedKeys): Documentation added.
10088 (selectNow): Documentation added.
10089 (wakeup): Documentation added.
10090 * java/nio/channels/spi/AbstractInterruptibleChannel.java
10091 (AbstractInterruptibleChannel): Documentation added.
10092 (opened): Default to true;
10093 (begin): Documentation added.
10094 (close): Set opened to false, documentation added.
10095 (isOpen): Documentation added.
10096 * java/nio/channels/spi/AbstractSelectionKey.java
10097 (AbstractSelectionKey): Documentation added.
10098 (cancel): Documentation added.
10099 (isValid): Documentation added.
10100 * java/nio/channels/spi/AbstractSelector.java
10101 (AbstractSelector): Documentation added.
10102 (begin): Documentation added.
10103 (close): Documentation added.
10104 (isOpen): Documentation added.
10105 (deregister): Documentation added.
10106 (end): Documentation added.
10107 (provider): Documentation added.
10108 (implCloseSelector): Documentation added.
10109 (register): Documentation added.
10110 * java/nio/channels/spi/SelectorProvider.java
10111 (SelectorProvider): Documentation added.
10112 (openDatagramChannel): Documentation added.
10113 (openPipe): Documentation added.
10114 (openSelector): Documentation added.
10115 (openServerSocketChannel): Documentation added.
10116 (openSocketChannel): Documentation added.
10117 (provider): Documentation added.
10119 2002-11-12 Michael Koch <konqueror@gmx.de>
10121 * java/nio/Buffer.java: Implemented.
10122 * java/nio/CharBuffer.java: New file.
10123 * java/nio/InvalidMarkException.java: New file.
10124 * java/nio/channels/DatagramChannel.java: Implemented.
10125 * java/nio/channels/ServerSocketChannel.java: Implemented.
10126 * java/nio/channels/SocketChannel.java: Implemented.
10127 * java/nio/channels/spi/AbstractChannel.java: Removed.
10128 * java/nio/channels/spi/AbstractSelectableChannel.java:
10130 * java/nio/charset/Charset.java:
10131 Merge from Classpath.
10132 * java/nio/charset/CharsetDecoder.java: New file.
10133 * java/nio/charset/CharsetEncoder.java: New file.
10134 * java/nio/charset/CoderResult.java: New file.
10135 * Makefile.am (ordinary_java_source_files): Added new files.
10136 * Makefile.in: Regenerated.
10138 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10140 * gnu/java/nio/charset/ISO_8859_1.java,
10141 gnu/java/nio/charset/Provider.java,
10142 gnu/java/nio/charset/US_ASCII.java,
10143 gnu/java/nio/charset/UTF_16.java,
10144 gnu/java/nio/charset/UTF_16BE.java,
10145 gnu/java/nio/charset/UTF_16Decoder.java,
10146 gnu/java/nio/charset/UTF_16Encoder.java,
10147 gnu/java/nio/charset/UTF_16LE.java,
10148 gnu/java/nio/charset/UTF_8.java: New files.
10150 2002-11-11 Michael Koch <konqueror@gmx.de>
10152 * java/nio/charset/CharacterCodingException.java:
10153 This class must be public.
10154 * java/nio/charset/CoderMalfunctionError.java:
10155 This class must be public.
10156 * java/nio/charset/CodingErrorAction.java:
10157 This class must be public.
10158 * java/nio/charset/IllegalCharsetNameException.java:
10159 This class must be public, better implementation.
10160 * java/nio/charset/MalformedInputException.java:
10161 This class must be public, better implementation.
10162 * java/nio/charset/UnmappableCharacterException.java:
10163 This class must be public, better implementation.
10164 * java/nio/charset/UnsupportedCharsetException.java:
10165 This class must be public, better implementation.
10167 2002-11-11 Michael Koch <konqueror@gmx.de>
10169 * java/nio/BufferOverflowException.java,
10170 java/nio/BufferUnderflowException.java: New file.
10171 * Makefile.am (ordinary_java_source_files):
10173 * Makefile.in: Regenerated.
10175 2002-11-10 Tom Tromey <tromey@redhat.com>
10177 * java/awt/Container.java (validate): Use tree lock.
10178 (getComponent): Likewise.
10179 (getComponents): Likewise.
10180 (addImpl): Likewise.
10181 (remove): Likewise.
10182 (removeAll): Likewise.
10183 (processEvent): Fixed indentation.
10184 (getComponentAt): Use tree lock.
10185 (findComponentAt): Likewise.
10186 (removeNotify): Likewise.
10187 (isAncestorOf): Likewise.
10189 (visitChildren): Likewise.
10190 (findNextFocusComponent): Likewise.
10191 (addNotifyContainerChildren): Likewise.
10192 (getAccessibleChildrenCount): Likewise.
10193 (getAccessibleChild): Likewise.
10195 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
10196 (getSize): Likewise.
10197 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
10198 (getSize): Likewise.
10199 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
10200 (calcSize): Likewise.
10201 * java/awt/CardLayout.java (getSize): Use tree lock.
10202 (gotoComponent): Likewise.
10203 (layoutContainer): Likewise.
10205 * java/io/natFileDescriptorWin32.cc (read): Handle case where
10207 * java/io/natFileDescriptorPosix.cc (read): Handle case where
10210 * java/io/Externalizable.java, java/io/FilePermission.java,
10211 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
10212 java/io/SerializablePermission.java, java/text/Format.java,
10213 java/util/AbstractMap.java, java/util/HashMap.java,
10214 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
10215 versions from Classpath.
10217 2002-11-10 Anthony Green <green@redhat.com>
10219 * java/util/jar/Attributes.java (Name): Fix name check.
10221 2002-11-10 Mark Wielaard <mark@klomp.org>
10223 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
10224 with getName() as message.
10225 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
10228 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
10231 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
10233 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
10234 for Win32. JNICALL has been defined to __stdcall to be compatible
10237 2002-11-10 Tom Tromey <tromey@redhat.com>
10239 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
10240 (setRows): Check newRows, not rows.
10242 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
10244 2002-11-09 Tom Tromey <tromey@redhat.com>
10246 * java/applet/Applet.java, java/applet/AppletContext.java,
10247 java/applet/AppletStub.java, java/applet/AudioClip.java,
10248 java/awt/CardLayout.java,
10249 java/awt/ContainerOrderFocusTraversalPolicy.java,
10250 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
10251 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
10252 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
10253 java/awt/color/ICC_ColorSpace.java,
10254 java/awt/color/ICC_Profile.java,
10255 java/awt/color/ICC_ProfileGray.java,
10256 java/awt/color/ICC_ProfileRGB.java,
10257 java/awt/datatransfer/DataFlavor.java,
10258 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
10259 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
10260 New versions from Classpath.
10261 * Makefile.in: Rebuilt.
10262 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
10265 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
10268 * java/awt/List.java (processEvent): Added missing `else's.
10270 * java/awt/Window.java (show): validate() before showing. Make
10271 parent displayable.
10272 (isDisplayable): New method.
10274 2002-11-07 Mark Wielaard <mark@klomp.org>
10276 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
10277 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
10279 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
10281 (loadClass): Take String as codebases.
10282 (getClassAnnotation): Use MyClassLoader annotations.
10283 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
10284 call exportObject(this).
10286 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
10287 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
10288 (setAnnotation): Don't set locBytesStream and locStream.
10289 (replaceObject): Removed.
10290 (flush): Don't test locStream.
10291 (getLocBytes): LikeWise.
10292 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
10293 (leaseCache): New field.
10294 (dirty): Use leaseCache.
10295 (LeaseRecord): New inner class.
10296 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
10297 explicitly call exportObject().
10298 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
10299 false to communicate with Sun JDK130.
10300 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
10301 * gnu/java/rmi/server/RMIObjectInputStream.java
10302 (UnicastConnectionManager): Removed field.
10303 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
10304 Use UnicastServer.getExportedRef().
10305 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
10306 (expireTime): Likewise.
10307 (CONNECTION_TIMEOUT): Likewise.
10308 (disconnect): Call sock.close().
10309 (isExpired): New method.
10310 (resetTime): Likewise.
10311 (run): Use do while loop and catch Exception for discardConnection().
10312 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
10313 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
10314 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
10315 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
10316 (exportObject): Use refcache.
10317 (unexportObject): Likewise.
10318 (getExportedRef): New method.
10319 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
10321 (exportObject): Save manager.serverobj.
10322 (getStub): New method.
10324 2002-11-07 Mark Wielaard <mark@klomp.org>
10326 * java/lang/reflect/natField.cc (getBoolean): Use getType().
10327 (getByte): Likewise.
10328 (getShort): Likewise.
10329 (getInt): Likewise.
10330 (getLong): Likewise.
10331 (getFloat): Likewise.
10332 (getDouble): Likewise.
10334 (setChar): Likewise.
10335 (setByte): Likewise.
10336 (setShort): Likewise.
10337 (setInt): Likewise.
10338 (setLong): Likewise.
10339 (setFloat): Likewise.
10340 (setDouble): Likewise.
10342 2002-11-07 Michael Koch <konqueror@gmx.de>
10344 * java/awt/Choice.java,
10345 java/awt/Container.java,
10346 java/awt/GridBagLayout.java:
10347 Fixed documentation.
10348 * java/awt/peer/ContainerPeer.java:
10351 2002-11-07 Michael Koch <konqueror@gmx.de>
10353 * java/awt/color/ICC_Profile.java:
10354 Added missing constants.
10355 * java/awt/color/ICC_ColorSpace.java
10356 (getMinValue): Added dummy implementation.
10357 (getMaxValue): Added dummy implementation.
10358 * java/awt/datatransfer/DataFlavor.java
10359 (imageFlavor): Added.
10360 (isMimeTypeEqual): Must be final.
10361 (getDefaultRepresentationClass): Must be non-static.
10362 (getDefaultRepresentationClassAsString): Must be non-static.
10363 * java/awt/dnd/DragSourceContext.java
10364 (dragExit): Corrected argument.
10365 (dragDropEnd): Corrected argument.
10366 * java/awt/dnd/DragSourceListener.java.java
10367 (dragExit): Corrected argument.
10368 (dragDropEnd): Corrected argument.
10369 * java/awt/font/TextHitInfo.java
10370 (toString): Added stubbed implementation.
10371 * java/awt/geom/PathIterator.java:
10372 The constants must be static.
10373 * java/awt/image/VolatileImage.java
10374 (IMAGE_INCOMPATIBLE): Fixed typo.
10375 * java/awt/image/renderable/RenderableImage.java
10376 (HINTS_OBSERVED): Must be static.
10377 * java/beans/BeanInfo.java:
10378 Constants must be final.
10380 2002-11-06 Tom Tromey <tromey@redhat.com>
10382 From svens@it.uu.se. For PR libgcj/8481.
10383 * java/util/Random.java (nextInt(int)): Only use 31 bits.
10385 2002-11-06 Tom Tromey <tromey@redhat.com>
10387 * jni.cc (array_from_valist): Assume that jlong won't be
10390 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
10392 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
10394 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
10397 2002-11-03 Tom Tromey <tromey@redhat.com>
10399 * java/lang/ClassLoader.java (loadClass): Call loadClass on
10400 VMClassLoader, not findClass.
10402 2002-11-03 Jeff Sturm <jsturm@one-point.com>
10404 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
10405 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
10406 _Jv_DetermineVTableIndex, to determine vtable offset.
10407 (_Jv_DetermineVTableIndex): Remove.
10408 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
10410 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
10412 2002-11-03 Tom Tromey <tromey@redhat.com>
10414 * java/nio/channels/AlreadyConnectedException.java: Extend
10415 IllegalStateException, per spec.
10417 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
10419 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
10421 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10423 * java/util/ArrayList.java (readObject, writeObject): Only read/write
10426 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10428 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
10429 initial estimated size to avoid enlarge buffer frequently.
10431 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10433 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
10434 ClassLoader when null.
10435 (ProxyType.hashCode): Loader null check no longer needed.
10436 (ProxyType.sameTypes): New method.
10437 (ProxyType.equals): Use new method.
10439 2002-10-31 Mark Wielaard <mark@klomp.org>
10441 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
10443 * java/net/URLEncoder.java (encode): Likewise.
10445 2002-10-31 Mark Wielaard <mark@klomp.org>
10447 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
10448 when stream is closed.
10449 (closeEntry): Likewise.
10451 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
10452 ZipException when no entry active.
10453 (closeEntry): Likewise.
10456 2002-11-02 Tom Tromey <tromey@redhat.com>
10458 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
10459 * java/lang/natClass.cc (initializeClass): Don't return just
10460 because self==thread.
10463 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
10464 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
10466 2002-11-02 Andreas Schwab <schwab@suse.de>
10468 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
10470 (FLAGS_TO_PASS): Define.
10471 * Makefile.in: Regenerated.
10473 2002-11-01 Michael Koch <konqueror@gmx.de>
10475 * java/nio/ByteOrder.java: New file.
10476 * java/nio/channels/DatagramChannel.java:
10477 (DatagramChannel): New constructor.
10478 * java/nio/channels/Pipe.java: New file.
10479 * java/nio/channels/SelectableChannel.java: New file.
10480 * java/nio/channels/SelectionKey.java: New file.
10481 * java/nio/channels/Selector.java: New file.
10482 * java/nio/channels/ServerSocketChannel.java
10483 (ServerSocketChannel): New constructor.
10484 * java/nio/channels/SocketChannel.java
10485 (SocketChannel): New constructor.
10486 * java/nio/channels/Pipe.java: New file.
10487 * java/nio/channels/spi/AbstractChannel.java: New file.
10488 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
10489 * java/nio/channels/spi/AbstractSelectableChannel.java:
10491 (AbstractSelectableChannel): New stubbed method.
10492 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
10493 * java/nio/channels/spi/AbstractSelector.java: New file.
10494 * java/nio/channels/spi/SelectorProvider.java: New file.
10495 * java/nio/charset/Charset.java: New file.
10496 * java/nio/charset/CoderMalfunctionError.java: New file.
10497 * java/nio/charset/CodingErrorAction.java: New file.
10498 * java/nio/charset/spi/CharsetProvider.java
10499 (charsetForName): Uncommented.
10500 * Makefile.am (java_native_source_files): Added new files.
10501 * Makefile.in: Regenerated.
10503 2002-11-01 Michael Koch <konqueror@gmx.de>
10505 * java/net/InetAddress.java:
10506 (isAnyLocalAddress): Implemented.
10507 (isLoopbackAddress): Implemented, comment added.
10508 (isLinkLocalAddress): Implemented, documentation added.
10509 (isSiteLocalAddress): Implemented, documentation added.
10510 (isMCGlobal): Implemented, documentation added.
10511 (isMCNodeLocal): Implemented, documentation added.
10512 (isMCLinkLocal): Implemented, documentation added.
10513 (isMCSiteLocal): Implemented, documentation added.
10514 (isMCOrgLocal): Implemented, documentation added.
10515 (getHostName): Documentation added.
10516 (getCanonicalHostName): Implemented, documentation added.
10517 (getAddress): Documentation added.
10518 (hashCode): Documentation added.
10519 (equals): Documentation added.
10520 (toString): Fixed implementation.
10521 (getByAddress): Use Inet4Address and Inet6Address.
10522 (lookup): New linewrap.
10523 (getByName): SecurityManager check added, support Inet4Address and
10524 Inet6address, comments added.
10525 (getAllByName): SecurityManager check added, comments added.
10526 * java/net/Inet6Address.java:
10527 (Inet6Address): Initialize parent class with addr instead of null.
10528 * java/net/URL.java
10529 (equals): Documentation added.
10530 (getFile): Documentation added.
10531 (hashCode): Documentation added.
10532 * java/net/natInetAddress.cc:
10533 (aton): Fix IPv6 support.
10534 * java/net/natPlainDatagramSocketImpl.cc:
10535 (peek): Throw PortUnreachableException when suitable.
10536 (peekData): Throw PortUnreachableException when suitable.
10537 (send): Throw PortUnreachableException when suitable.
10538 (receive): Throw PortUnreachableException when suitable.
10540 2002-10-27 Mark Wielaard <mark@klomp.org>
10542 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
10544 (readLeShort): Likewise and use byte[].
10545 (readLeInt): Likewise.
10546 (readEntries): Use new versions of methods and use byte[] for reading
10547 a complete zip entry. Add ZipFile name to exceptions.
10548 (entries): Add ZipFile name to exceptions.
10549 (getEntry): Likewise.
10550 (checkLocalHeader): Use new versions of methods and add ZipFile name
10553 2002-10-31 Mark Anderson <mark@panonet.net>
10555 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
10558 2002-10-25 Krister Walfridsson <cato@df.lth.se>
10560 * configure.in: Disable hash sync when not using threads.
10561 * configure: Regenerated.
10563 2002-10-24 Tom Tromey <tromey@redhat.com>
10565 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
10566 (_Jv_FindSymbolInExecutable): Removed argument name.
10567 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
10568 java.library.path is set.
10570 * gij.cc (help): Document --showversion.
10571 (version): Don't exit.
10572 (main): Handle --showversion. Exit if --version given.
10574 2002-10-23 Tom Tromey <tromey@redhat.com>
10576 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
10577 (array_from_valist): Correctly handle promotion for jint, jlong,
10578 jfloat, and jdouble.
10580 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
10582 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
10583 GetFileAttributesEx( ) to find file length and modification times,
10584 as the latter is not present on Windows 95.
10586 2002-10-21 Michael Koch <konqueror@gmx.de>
10588 * java/net/URL.java
10589 (URL): Activate SecurityManager checks.
10590 (equals): Use URLStreamHandler implementation instead of doing it
10591 alone. This allows special protocol stream handlers to change default
10593 (hashCode): Use URLStreamHandler implementation instead of doing it
10594 alone. This allows special protocol stream handlers to change default
10596 * java/net/URLStreamHandler.java
10597 (equals): Implemented default URL equality check.
10598 (hostsEqual): Implemented default URL equality check.
10599 (hashCode): Implemented default URL hashCode algorithm.
10600 * java/net/natPlainDatagramSocketImpl.cc:
10601 No lines longer then 80 characters.
10603 2002-10-20 Adam Megacz <adam@xwt.org>
10605 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
10606 * configure.in: enabled hash sync on Win32
10607 * include/win32-threads.h (_Jv_ThreadId_t): added.
10608 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
10609 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
10610 removed some posix-isms, use Thread::sleep() instead of usleep,
10611 added code to clear bottom three bits if platform has a broken
10613 * include/win32-threads.h (_Jv_ThreadId_t): added.
10615 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
10617 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
10618 runtime property "gnu.gcj.progname" containing the name used to
10619 invoke the current Java program (similar to argv[0] for C
10622 2002-10-15 Tom Tromey <tromey@redhat.com>
10624 Fix for PR libgcj/8234:
10625 * java/util/zip/natInflater.cc (reset): Reset avail_in.
10626 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
10628 2002-10-13 Mark Wielaard <mark@klomp.org>
10630 * mauve-libgcj: Enable Mauve tests that compile now.
10632 2002-10-11 Mark Wielaard <mark@klomp.org>
10634 Fix for PR libgcj/8142
10635 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
10636 loading native modules.
10638 2002-10-10 Michael Koch <konqueror@gmx.de>
10640 * javax/swing/AbstractListModel.java
10641 (getListDataListeners): New stubbed method.
10642 javax/swing/DefaultBoundedRangeModel.java
10643 (getChangeListeners): New stubbed method.
10644 javax/swing/DefaultSingleSelectionModel.java
10645 (getChangeListeners): New stubbed method.
10647 2002-10-10 Michael Koch <konqueror@gmx.de>
10649 * gcj/.cvsignore: New file to ignore files generated during build.
10650 * include/.cvsignore: New file to ignore files generated during build.
10652 2002-10-10 Michael Koch <konqueror@gmx.de>
10654 * java/net/HttpURLConnection.java
10655 (getPermission): New method.
10656 (getErrorStream): New stub method.
10657 (getHeaderFieldDate): New stub method.
10658 * java/net/Inet4Address.java:
10659 (isLinkLocalAddress): Typo fixed.
10660 * java/net/InetAddress.java:
10661 (readResolve): New stubbed method (for serialization).
10662 (isAnyLocalAddress): New stubbed method.
10663 (isLoopbackAddress): New stubbed method.
10664 (isLinkLocalAddress): New stubbed method.
10665 (isSiteLocalAddress): New stubbed method.
10666 (isMCGlobal): New stubbed method.
10667 (isMCNodeGlobal): New stubbed method.
10668 (isMCLinkLocal): New stubbed method.
10669 (isMCSiteLocal): New stubbed method.
10670 (isMCOrgLocal): New stubbed method.
10671 (getCanonicalHostName): New stubbed method.
10672 (getByAddress): Create instances of Inet4Address/Inet6Address,
10673 instead of InetAddress, documentation added.
10674 * java/net/MulticastSocket.java
10675 (getInterface): Removed FIXME.
10676 (getNetworkInterface): New method.
10677 (setNetworkInterface): New method.
10678 * java/net/NetworkInterface.java:
10679 (toString): Use property "line.separator" instead of "\n".
10680 * java/net/URLConnection.java
10681 (getContent): New stubbed method.
10682 * java/net/URLStreamHandler.java:
10683 (equals): New stubbed method.
10684 (hostsEqual): New stubbed method.
10685 (hashCode): New stubbed method.
10686 * java/net/natNetworkInterface.cc:
10687 (getRealNetworkInterfaces): Create Inet4Address object
10688 instead of InetAddress.
10690 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
10692 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
10693 unsigned long temporary to implement insn_iushr shifts.
10695 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
10697 * configure.host [s390*-*]: Enable Java interpreter.
10698 Enable hash synchronization. Add sysdeps dir.
10699 * sysdep/s390/locks.h: New file.
10701 2002-10-06 Mark Wielaard <mark@klomp.org>
10703 * java/lang/Thread.java (setDaemon): Check startable_flag,
10706 2002-10-07 Michael Koch <konqueror@gmx.de>
10708 * java/nio/Buffer.java: New stub file.
10709 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
10711 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
10712 * Makefile.in: Regenerated.
10714 2002-10-07 Michael Koch <konqueror@gmx.de>
10716 * java/nio/ByteBuffer.java:
10717 removed import of not commited class.
10719 2002-10-07 Michael Koch <konqueror@gmx.de>
10721 * java/nio/ByteBuffer.java,
10722 java/nio/MappedByteBuffer.java:
10723 New files, forgot to add these dummies.
10724 * Makefile.am (java_native_source_files): Added new files.
10725 * Makefile.in: Regenerated.
10727 2002-10-07 Michael Koch <konqueror@gmx.de>
10729 * java/nio/channels/AlreadyConnectedException.java,
10730 java/nio/channels/ClosedChannelException.java,
10731 java/nio/channels/ReadableByteChannel.java,
10732 java/nio/channels/InterruptibleChannel.java,
10733 java/nio/channels/Channel.java,
10734 java/nio/channels/ByteChannel.java,
10735 java/nio/channels/GatheringByteChannel.java,
10736 java/nio/channels/ScatteringByteChannel.java,
10737 java/nio/channels/WritableByteChannel.java,
10738 java/nio/charset/CharacterCodingException.java,
10739 java/nio/charset/IllegalCharsetNameException.java,
10740 java/nio/charset/MalformedInputException.java,
10741 java/nio/charset/UnmappableCharacterException.java,
10742 java/nio/charset/UnsupportedCharsetException.java,
10743 java/nio/charset/spi/CharsetProvider.java: New file.
10744 These files are exceptions or interfaces,
10745 no real or abstract classes.
10746 * Makefile.am (java_native_source_files): Added new files.
10747 * Makefile.in: Regenerated.
10749 2002-10-05 Michael Koch <konqueror@gmx.de>
10751 * java/net/InetAddress.java
10752 (getByAddress): Fixed documentation.
10753 (getByAddress): New method.
10754 * java/net/Inet4Address.java: New file.
10755 * java/net/URL.java
10756 (URL): Documentation added.
10757 (getContent): Documentation added.
10758 (getContent): New stubbed method.
10759 (getQuery): New method.
10760 (openConnection): Documentation added.
10761 (openStream): Documentation added.
10762 (setURLStreamHandlerFactory): Documentation added.
10763 * java/net/URI.java: New stub file.
10765 (java_native_source_files): Added java/net/Inet4Address.java,
10766 java/net/Inet6Address.java and java/net/URI.java.
10767 * Makefile.in: Regenerated.
10769 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
10771 * java/lang/ProtectionDomain.java (linesep): Remove field.
10772 (toString): Use System.getProperty("line.separator").
10774 2002-10-04 Michael Koch <konqueror@gmx.de>
10776 * java/security/Identity.java: Added serialVersionUID.
10777 * java/security/KeyPair.java: Added serialVersionUID.
10778 * java/security/Provider.java: Added serialVersionUID.
10779 * java/security/SecureRandom.java: Added serialVersionUID.
10780 * java/security/SecureRandomSpi.java: Added serialVersionUID.
10781 * java/security/SignedObject.java: Added serialVersionUID.
10782 * java/security/cert/Certificate.java: Added serialVersionUID.
10784 2002-10-04 Mark Wielaard <mark@klomp.org>
10786 * java/security/Security.java: Use java.home or gnu.classpath.home
10788 (loadProviders): Extra dir argument.
10789 (getProvider): Return null when not found.
10791 2002-10-04 Mark Wielaard <mark@klomp.org>
10793 * java/lang/Throwable.java: Remerge with Classpath.
10795 2002-10-04 Michael Koch <konqueror@gmx.de>
10797 * java/net/InetAddress.java:
10798 (isMulticastAddress): Added documentation.
10799 (getHostAddress): Added documentation.
10800 (toString): Added documentation.
10801 (getByAddress): Fixed documentation.
10802 (getByName): Added documentation.
10803 (getAllByName): Added documentation.
10804 (getLocalHost): Added documentation.
10806 2002-10-04 Michael Koch <konqueror@gmx.de>
10808 * java/beans/beancontext/BeanContextChildSupport.java:
10809 Added serialVersionUID.
10810 * java/text/Collator.java: (compare): Made documentation HTML-aware.
10811 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
10812 * javax/naming/Name.java: Added serialVersionUID.
10814 2002-10-03 Adam Megacz <adam@xwt.org>
10816 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
10817 some functionality that isn't supported yet on WIN32.
10819 2002-10-03 Tom Tromey <tromey@redhat.com>
10821 * Makefile.in: Rebuilt.
10822 * Makefile.am (awt_java_source_files): Added new files.
10824 2002-10-03 Michael Koch <konqueror@gmx.de>
10826 * java/net/InetAddress.java
10827 (class InetAddress): Removed final keyword.
10828 (equals): Fixed typo.
10829 (getByAddress): New method.
10831 2002-10-03 Michael Koch <konqueror@gmx.de>
10833 * java/awt/dnd/Autoscroll.java:
10834 New file, merge from Classpath.
10835 * java/awt/dnd/DragSourceAdapter.java:
10836 (dragExit): Fixed typos in argument type.
10837 (dragDropEnd): Fixed typos in argument type.
10838 * java/awt/dnd/DragSourceDropEvent.java:
10839 New file, merge from Classpath.
10840 * java/awt/dnd/DropTarget.java:
10841 Added stubs, merge from Classpath.
10842 * java/awt/dnd/DropTargetAdapter.java:
10843 New file, merge from Classpath.
10844 * java/awt/dnd/DropTargetContext.java:
10845 New file, merge from Classpath.
10846 * java/awt/dnd/DropTargetDragEvent.java:
10847 New file, merge from Classpath.
10848 * java/awt/dnd/DropTargetDropEvent.java:
10849 New file, merge from Classpath.
10850 * java/awt/dnd/DropTargetEvent.java:
10851 New file, merge from Classpath.
10852 * java/awt/dnd/DropTargetListener.java:
10853 New file, merge from Classpath.
10854 * java/awt/dnd/MouseDragGestureRecognizer.java:
10855 New file, merge from Classpath.
10856 * java/awt/dnd/peer/DropTargetContextPeer.java:
10857 New file, merge from Classpath.
10859 2002-10-03 Michael Koch <konqueror@gmx.de>
10861 * java/net/DatagramPacket.java
10862 (setLength): Fixed typo and be HTML-aware.
10863 * java/net/InetSocketAddress.java
10864 (InetSocketAddress): Correct initialization of hostname, fixed typo.
10865 (equals): Added comment about equality of InetSocketAddress objects.
10866 * java/net/ServerSocket.java
10867 (accept): Added checks.
10868 (isClosed): New stubbed method.
10869 * java/net/SocketOptions.java: Reindention.
10870 * java/net/SocketPermission
10871 (SocketPermission): Documentation fixed.
10873 2002-10-03 Michael Koch <konqueror@gmx.de>
10875 * java/net/DatagramSocket.java
10876 (receive): Check with SecurityManager AFTER the packet is received,
10877 check if connected to multicast address, documentation added.
10878 (send): Only check SecurityManager if connected, check address of
10880 (connect): Implemented, documentation added.
10881 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
10882 * java/net/InetSocketAddress.java
10883 (whole file): Reindented.
10884 (hostname): New attribute.
10885 (InetSocketAddress): Initialize new attribute.
10886 (getAddress): Documentation added.
10887 (getHostName): Documentation added.
10888 (getPort): Documentation added.
10889 (hashCode): Documentation added.
10890 (isUnresolved): Documentation added.
10891 (toString): Conform to output of JDK 1.4.1, documentation added.
10892 * java/net/MulticastSocket.java
10893 (joinGroup): Removed FIXME, documentation added.
10894 (leaveGroup): Removed FIXME, documentation added.
10895 (send): Documentation added.
10896 * java/net/Socket.java
10897 (inputShutdown): New variable.
10898 (outputShutdown): New variable.
10899 (Socket): Initialize new variables.
10900 (getRemoteSocketAddress): Check if connected.
10901 (shutdownInput): Set new variable.
10902 (shutdownOutput): Set new variable.
10903 (isConnected): New method.
10904 (isClosed): New method.
10905 (isInputShutdown): New method.
10906 (isOutputShutdown): New method.
10907 * java/net/URLStreamHandler.java
10908 (URLStreamHandler): New method.
10909 (openConnection): Added documentation.
10910 (parseURL): Added documentation.
10911 (getHostAddress): New method.
10912 (getDefaultPort): New method.
10914 2002-10-02 Tom Tromey <tromey@redhat.com>
10916 * java/rmi/activation/ActivationDesc.java,
10917 java/rmi/activation/ActivationGroupDesc.java,
10918 java/rmi/activation/ActivationGroupID.java,
10919 java/rmi/activation/ActivationID.java: New versions from
10922 2002-09-30 Bo Thorsen <bo@suse.de>
10924 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10926 2002-09-30 Tom Tromey <tromey@redhat.com>
10928 * java/io/ObjectInputStream.java (resolveProxyClass): New method
10930 * Makefile.in: Rebuilt.
10931 * Makefile.am (rmi_java_source_files): Added new files.
10932 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10933 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10934 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10936 * gnu/java/rmi/dgc/DGCImpl.java,
10937 gnu/java/rmi/dgc/DGCImpl_Skel.java,
10938 gnu/java/rmi/dgc/DGCImpl_Stub.java,
10939 gnu/java/rmi/registry/RegistryImpl_Skel.java,
10940 gnu/java/rmi/registry/RegistryImpl_Stub.java,
10941 gnu/java/rmi/server/RMIHashes.java,
10942 gnu/java/rmi/server/RMIObjectInputStream.java,
10943 gnu/java/rmi/server/RMIObjectOutputStream.java,
10944 gnu/java/rmi/server/UnicastConnection.java,
10945 gnu/java/rmi/server/UnicastConnectionManager.java,
10946 gnu/java/rmi/server/UnicastRef.java,
10947 gnu/java/rmi/server/UnicastServer.java,
10948 gnu/java/rmi/server/UnicastServerRef.java,
10949 java/rmi/MarshalledObject.java,
10950 java/rmi/server/RMIClassLoader.java,
10951 java/rmi/server/RemoteObject.java,
10952 java/rmi/server/UnicastRemoteObject.java,
10953 java/security/SecureClassLoader.java: Merged from Classpath.
10955 2002-09-29 Anthony Green <green@redhat.com>
10957 * java/lang/reflect/UndeclaredThrowableException.java: New file.
10958 Imported from GNU Classpath.
10959 * java/lang/reflect/natProxy.cc: New file.
10960 * java/lang/reflect/InvocationHandler.java: New file. Imported
10961 from GNU Classpath.
10962 * java/lang/reflect/Proxy.java: New file. Imported from GNU
10964 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10966 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10967 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10969 * gcj/javaprims.h ("Java"): Add new classes.
10970 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10971 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10972 java/lang/reflect/Proxy$$ProxyType.h): And this.
10973 (inner_nat_headers): Add these new headers.
10974 (ordinary_java_source_files): Add new files.
10975 (nat_source_files): Add new file.
10976 * Makefile.in: Rebuilt.
10978 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
10980 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10981 a single configuration.
10983 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10985 * java/util/TimeZone.java (getDSTSavings): New method.
10986 Fixes PR libgcj/7786.
10988 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10990 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10991 to see if `the_method == 0' before looking up vtable index.
10992 Fixes PR libgcj/7709.
10994 2002-09-25 Tom Tromey <tromey@redhat.com>
10996 * java/lang/natClassLoader.cc:
10997 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10998 * resolve.cc: Include NoClassDefFoundError.h, not
10999 ClassNotFoundException.h.
11000 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
11002 * defineclass.cc: Don't include ClassNotFoundException.h.
11004 * resolve.cc: Include StringBuffer.
11005 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
11007 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
11008 allocated but not initialized.
11010 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11012 Fix for PR libgcj/7766:
11013 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
11014 (getNextEntry): Set it.
11015 (closeEntry): Likewise.
11018 (available): Use it.
11020 2002-09-25 Michael Koch <konqueror@gmx.de>
11022 * java/net/DatagramSocket.java
11023 (DatagramSocket): Initialize new instance variables.
11024 (close): Reset new instance variables.
11025 (getLocalAddress): Remove unneeded SecurityManager usage.
11026 (getLocalPort): Check if socket is already bound.
11027 (isConnected): New method.
11028 (getInetAddress): Implemented.
11029 (getPort): Better Implementation, documentation fixed.
11030 (getRemoteSocketAddress): New method.
11031 * java/net/JarURLConnection.java
11032 (element): Typo fixed.
11033 (getMainAttributes): New method.
11034 (getAttributes): New method (stub only).
11035 (getManifest): New method (stub only).
11036 * java/net/NetPermission.java: Added serialVersionsUID.
11037 * java/net/Socket.java
11038 (connect): Check blocking mode of associated channel,
11039 documentation added.
11040 (getLocalSocketAddress): Better implementation.
11041 (getRemoteSocketAddress): Implemented.
11042 (isBound): New method.
11043 (setSendBufferSize): Documentation added.
11044 * java/net/SocketAddress.java: Added serialVersionsUID.
11045 * java/net/SocketPermission.java: Added serialVersionsUID.
11046 * java/net/URL.java
11047 (URL): Wrap for shorter lines, initialize new instance variables,
11048 documentation added.
11049 (equals): Check new instance variables too.
11050 (getContent): Documentation added.
11051 (getPath): Documentation added.
11052 (getAuthority): New method.
11053 (getHost): Documentation added.
11054 (getPort): Documentation added.
11055 (getDefaultPort): New method.
11056 (getProtocol): Documentation added.
11057 (getUserInfo): Documentation added.
11058 (set): Initialize new instance variables, documentation added.
11059 * java/net/URLStreamHandler.java
11060 (setURL): New method.
11061 * java/net/natPlainDatagramSocketImpl.cc
11062 (connect): Fix exception name.
11063 (disconnect): Fix exception name.
11065 2002-09-25 Michael Koch <konqueror@gmx.de>
11067 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
11068 * java/nio/channels/DatagramChannel.java:
11069 extends AbstractSelectableChannel
11070 * java/nio/channels/ServerSocketChannel.java:
11071 extends AbstractSelectableChannel
11072 * java/nio/channels/SocketChannel.java:
11073 extends AbstractSelectableChannel
11074 * Makefile.am (ordinary_java_source_files):
11075 java/nio/channels/spi/AbstractSelectableChannel.java added.
11076 * Makefile.in: Regenerated.
11078 2002-09-25 Michael Koch <konqueror@gmx.de>
11080 * java/net/DatagramSocket.java
11081 (DatagramSocket): Exception documentation added.
11082 (bind): Exception documentation added, addded SecurityManager check,
11083 added SocketAddress type check.
11084 (getSoTimeout): Check impl.
11085 (receive): Fix SecurityManager check, check impl, documentation added.
11086 (send): Check channel mode, documentation added.
11087 (connect): New method.
11088 (disconnect): Implemented.
11089 (getLocalSocketAddress): New method.
11090 (getReceiveBufferSize): Check impl.
11091 (setReuseAddress): Check impl.
11092 (getReuseAddress): Check impl.
11093 (setBroadcast): Check impl.
11094 (getBroadcast): Check impl.
11095 (setTrafficClass): Check impl, Documentation cleared.
11096 (getTrafficClass): Check impl.
11097 (getSendBufferSize): Check impl.
11098 (setReceiveBufferSize): Check impl, documentation added.
11099 (setSendBufferSize): Documentation added.
11100 (setDatagramSocketImplFactory): New method.
11101 * java/net/HttpURLConnection.java
11102 (HTTP_INTERNAL_ERROR): The correct code is 500.
11103 (HTTP_NOT_IMPLEMENTED): Added new constant.
11104 (setFollowRedirects): Documentation added.
11105 (getInstanceFollowRedirects): New method.
11106 (setInstanceFollowRedirects): New method.
11107 (setRequestMethod): Documentation added.
11108 (getResponseCode): Documentation added.
11109 (getResponseMessage): Documentation added.
11110 * java/net/JarURLConnection.java
11111 (JarURLConnection): protected since JDK 1.4.
11112 (getJarEntry): java.io.IOException to IOException, documentation added.
11113 (getJarFile): Documentation added.
11114 * java/net/ServerSocket.java
11115 (ServerSocket): Private to public, exception added.
11116 (ServerSocket): java.io.IOException to IOException, documentation added.
11117 (bind): Check socket address type, documentation added.
11118 (bind): java.io.IOException to IOException, documentation added.
11119 (accept): Documentation added.
11120 (implAccept): Check ch is not non-blocking, documentation added.
11121 (setSoTimeout): Documentation fixed.
11122 (setReceiveBufferSize): Documentation added.
11123 * java/net/Socket.java
11124 (Socket): Documentation added.
11125 (bind): Documentation added.
11126 (connect): Check socket address type, documentation added.
11127 (getRemoteSocketAddress): New method.
11128 (getLocalSocketAddress): New method.
11129 (setSoLinger): Documentation added.
11130 (getReuseAddress): New method.
11131 (setReuseAddress): New method.
11132 (getTrafficClass): New method.
11133 (setTrafficClass): New method.
11134 * java/net/URLStreamHandler.java
11135 (openConnection): java.io.IOException to IOException.
11136 (parseURL): Documentation added.
11137 (sameFile): public to protected, documentation added.
11138 (setURL): Documentation added.
11139 * java/nio/IllegalBlockingModeException.java: New file.
11140 * Makefile.am (ordinary_java_source_files):
11141 added java/nio/IllegalBlockingModeException.java
11142 * Makefile.in: Regenerated.
11144 2002-09-25 Michael Koch <konqueror@gmx.de>
11146 * java/net/DatagramPacket
11147 (DatagramPacket): Exception documentation added.
11148 (setData): Likewise.
11149 (setSocketAddress): Likewise.
11150 * java/net/DatagramSocketImpl.java
11151 (peek): Documentation addded.
11152 (peekData): Documentation addded.
11153 (send): Documentation addded.
11154 (receive): Documentation addded.
11155 (connect): New method.
11156 (disconnect): New method.
11157 (joinGroup): New abstract method.
11158 (leaveGroup): New abstract method.
11159 * java/net/InetSocketAddress.java
11160 (InetSocketAddress): Documentation added.
11161 (equals): final keyword added.
11162 (getAddress): final keyword added.
11163 (getHostName): final keyword added.
11164 (getPort): final keyword added.
11165 (hashCode): final keyword added.
11166 (isUnresolved): final keyword added.
11167 * java/net/MulticastSocket.java
11168 (MulticastSocket): Documentation added.
11169 (MulticastSocket): New method.
11170 (joinGroup): Documentation added.
11171 (joinGroup): New method.
11172 (leaveGroup): Documentation added.
11173 (leaveGroup): New method.
11174 (send): Documentation added.
11175 * java/net/NetworkInterface.java
11176 (getByName): Documentation added.
11177 (getByInetAddress): Documentation added.
11178 (getNetworkInterfaces): Documentation added.
11179 * java/net/PlainDatagramSocketImpl.java
11180 (connect): New method.
11181 (disconnect): New method.
11182 * java/net/SocketImpl.java
11183 (create): Documentation added.
11184 (shutdownInput): Convert public to protected, as it always was.
11185 (shutdownOutput): Convert public to protected, as it always was.
11186 * java/net/SocketOptions.java
11187 (whole file): Reintented.
11188 * java/net/URLClassLoader.java
11189 (URLClassLoader): SecurityManager check added, documentation added.
11190 (findResources): Documentation added.
11191 (findClass): Documentation added.
11192 (newInstance): More correct method arguments.
11193 * java/net/URLConnection.java
11194 (connect): Documentation added.
11195 (getContent): Documentation added.
11196 (getPermission): Documentation added.
11197 (getInputStream): Documentation added.
11198 (getOutputStream): Documentation added.
11199 (setDoInput): Throw correct exception, documentation added.
11200 (setDoOutput): Throw correct exception, documentation added.
11201 (setAllowUserInteraction): Throw correct exception, documentation added.
11202 (setUseCaches): Throw correct exception, documentation added.
11203 (setIfModifiedSince): Throw correct exception, documentation added.
11204 (setRequestProperty): Throw exception, documentation added.
11205 (addRequestProperty): Throw exception, documentation added.
11206 (getRequestProperty): Throw exception, documentation added.
11207 (getRequestProperties): Documentation added.
11208 (setContentHandlerFactory): Documentation added.
11209 (guessContentTypeFromName): protected to public.
11210 (setFileNameMap): Documentation added.
11211 * java/net/URLDecoder.java
11212 (URLDecoder): New method.
11213 (decode): Documentation added.
11214 (whole file): Reindented.
11215 * java/net/URLEncoder.java
11216 (encode): Documentation added.
11217 * java/net/natPlainDatagramSocketImpl.cc
11218 (connect): New method.
11219 (disconnect): New method.
11220 * javax/naming/RefAddr:
11221 (addrType): addrType was never final.
11222 (equals): Fix typo in method name.
11223 * javax/naming/BinaryRefAddr:
11224 (equals): Fix typo in method name.
11226 2002-09-22 Tom Tromey <tromey@redhat.com>
11228 Fix for PR libgcj/6576:
11229 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
11230 didn't find a given bundle.
11231 (getBundle): Don't require base bundle.
11232 (setParent): Removed old comment.
11233 (tryLocalBundle): Try components even if preceding components were
11236 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11238 * Makefile.am (all-multi): Fix multilib parallel build.
11240 2002-09-21 Michael Koch <konqueror@gmx.de>
11242 * java/net/Socket.java
11243 (sendUrgentData): New method.
11244 (getChannel): New method.
11245 * java/net/ServerSocket.java
11246 (getChannel): New method.
11247 (isBound): New method.
11248 * java/net/DatagramSocket.java
11249 (DatagramSocket): Two new methods.
11250 (bind): New method.
11251 (getChannel): New method.
11252 (isBound): New method.
11253 (send): Added newline to to make shorter lines.
11254 * java/net/PlainDatagramSocketImpl.java
11255 (mcastGrp): Added argument.
11256 (join): Use new mcastGrp.
11257 (leave): Use new mcastGrp.
11258 (joinGroup): New method.
11259 (leaveGroup): New method.
11260 * java/net/natPlainDatagramSocketImpl.cc
11261 (mcastGrp): Added argument, no yet really implemented.
11262 (getOption): Added newline for shorter lines.
11263 * java/net/natPlainSocketImpl.cc
11264 (read, setOption, getOption): Added newline for shorter lines.
11266 2002-09-19 Tom Tromey <tromey@redhat.com>
11268 * java/lang/ClassLoader.java (resolveClass0): Set cause for
11269 newly-created exception.
11271 2002-09-18 Michael Koch <konqueror@gmx.de>
11273 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
11274 java/util/regex/PatternSyntaxException.java:
11275 Merge with classpath, new files.
11276 * Makefile.am (core_java_source_files):
11277 Added java/util/regex/Matcher.java,
11278 java/util/regex/Pattern.java,
11279 java/util/regex/PatternSyntaxException.java
11280 * Makefile.in: Regenerated.
11281 * include/config.h.in: Added HAVE_NET_IF_H.
11282 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
11283 Removed #if 0 ... #endif.
11285 2002-09-17 Michael Koch <konqueror@gmx.de>
11287 * java/net/natNetworkInterface.cc:
11288 Removed unneed and yet wrong includes.
11290 2002-09-17 Michael Koch <konqueror@gmx.de>
11292 * java/net/NetworkInterface.java: New file.
11293 * java/net/natNetworkInterface.java: New file.
11294 * configure.in: Added check for net/if.h.
11295 * configure: Regenerated.
11297 (ordinary_java_source_files): Added NetworkInterface.java.
11298 (nat_source_files): Added natNetworkInterface.cc.
11299 * Makefile.in: Regenerated.
11301 2002-09-16 Tom Tromey <tromey@redhat.com>
11303 * java/net/URLClassLoader.java (findClass): Code source for a
11304 class from a jar is not necessarily a jar: URL.
11306 2002-09-16 Michael Koch <konqueror@gmx.de>
11308 * java/lang/AssertionError.java:
11309 Merge with classpath, fixes HTML.
11310 * java/rmi/server/LogStream.java:
11311 Merge with classpath, fixes some constants.
11312 * java/net/server/RemoteServer.java:
11313 Merge with classpath, adds serialVersionUID.
11314 * javax/naming/BinaryRefAddr.java:
11315 Merge with classpath, s/equal/equals/.
11316 * javax/naming/NamingException.java:
11317 Merge with classpath, fixed typo.
11318 * javax/naming/RefAddr.java:
11319 Merge with classpath, s/equal/equals/.
11320 * java/awt/Toolkit.java:
11321 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
11324 2002-09-15 Adam Megacz <adam@xwt.org>
11326 * java/net/natPlainSocketImpl.cc: fixed typo.
11328 2002-09-15 Adam Megacz <adam@xwt.org>
11330 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
11331 which don't work on Win32 (yet).
11333 2002-09-14 Adam Megacz <adam@xwt.org>
11335 * java/net/natPlainDatagramSocket.cc: removed #include
11336 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
11337 * include/win32.h: included definition for IP_TOS to satisfy
11338 natPlainDatagramSocket.cc
11340 2002-09-13 Michael Koch <konqueror@gmx.de>
11342 * java/net/DatagramPacket.java (DatagramPacket):
11343 Added linebreak for 80 chars per line.
11344 * java/net/JarURLConection.java
11345 (getInputStreami, getJarEntry): Likewise.
11346 * java/net/SocketPErmission.java
11347 (SocketPermission class docu, implies): Likewise.
11348 * java/net/URLClassLoader.java (findResources): Likewise.
11349 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
11351 2002-09-13 Michael Koch <konqueror@gmx.de>
11353 * java/nio/channels/DatagramChannel.java,
11354 java/nio/channels/ServerSocketChannel.java
11355 java/nio/channels/SocketChannel.java:
11356 New dummy files to make java.net fully JDK 1.4 compatible
11357 * Makefile.am (ordinary_java_source_files): Added
11358 java/net/DatagramSocketImplFactory.java (long forgotten),
11359 java/nio/SocketChannel.java,
11360 java/nio/ServerSocketChannel.java,
11361 java/nio/DatagramChannel.java
11362 * Makefile.in: Regenrated.
11364 2002-09-12 Michael Koch <konqueror@gmx.de>
11366 * java/net/DatagramSocketImpl.java
11367 (peekData): New method.
11368 * java/net/PlainDatagramSocketImpl.java
11369 (peekData): New method.
11370 * java/net/natPlainDatagramSocketImpl.cc
11371 (peekData): New method.
11372 * java/net/URLConnection
11373 (getPermission): New method.
11374 (addRequestProperty): New method.
11375 (getRequestProperties): New method.
11376 (guessContentTypeFromStream): New method, not really implemented.
11377 (URLConnection): Added/updated documentation.
11378 (connect): Added/updated documentation.
11379 (getURL): Added/updated documentation.
11380 (getContentLength): Added/updated documentation.
11381 (getContentType: Added/updated documentation.
11382 (getContentEncoding): Added/updated documentation.
11383 (getExpiration): Added/updated documentation.
11384 (getDate): Added/updated documentation.
11385 (getLastModified): Added/updated documentation.
11386 (getHeaderField): Added/updated documentation.
11387 (getHeaderFields): Added/updated documentation.
11388 (getHeaderFieldInt): Added/updated documentation.
11389 (getHeaderFieldDate): Added/updated documentation.
11390 (getHeaderFieldKey): Added/updated documentation.
11391 (getContent): Added/updated documentation.
11392 (getInputStream): Added/updated documentation.
11393 (getOutputStream): Added/updated documentation.
11394 (toString): Added/updated documentation.
11395 (setDoInput): Added/updated documentation.
11396 (getDoInput): Added/updated documentation.
11397 (setDoOutput): Added/updated documentation.
11398 (getDoOutput): Added/updated documentation.
11399 (setAllowUserInteraction): Added/updated documentation.
11400 (getAllowUserInteraction): Added/updated documentation.
11401 (setDefaultAllowUserInteraction): Added/updated documentation.
11402 (getDefaultAllowUserInteraction): Added/updated documentation.
11403 (setUseCaches): Added/updated documentation.
11404 (getUseCaches): Added/updated documentation.
11405 (setIfModifiedSince): Added/updated documentation.
11406 (getIfModifiedSince): Added/updated documentation.
11407 (getDefaultUseCaches): Added/updated documentation.
11408 (setDefaultUseCaches): Added/updated documentation.
11409 (setRequestProperty): Added/updated documentation.
11410 (getRequestProperty): Added/updated documentation.
11411 (setDefaultRequestProperty): Added/updated documentation.
11412 (getDefaultRequestProperty): Added/updated documentation.
11413 (setContentHandlerFactory): Added/updated documentation.
11414 (guessContentTypeFromName): Added/updated documentation.
11415 (getFileNameMap): Added/updated documentation.
11416 (setFileNameMap): Added/updated documentation.
11418 2002-09-11 Michael Koch <konqueror@gmx.de>
11420 * java/net/Socket.java
11421 (Socket): protected to public (since JDK 1.4). Added @specnote.
11422 (bind): New method.
11423 (connect): Two new methods.
11424 (getKeepalive): Get correct socket option.
11425 (setKeepalive): Set correct socket option.
11426 (getOOBInline): New method.
11427 (setOOBInline): New method.
11428 * java/net/ServerSocket.java
11429 (bind): Two new methods.
11430 (getInetAddress): Reimplemented, catch exception.
11431 (getLocalSocketAddress): New method.
11432 (setReuseAddress): New method.
11433 (getReuseAdress): New method.
11434 (setReceiveBufferSize): New method.
11435 (getReceiveBufferSize): New method.
11436 (toString): Made string JDK 1.4 compliant.
11438 2002-09-10 Michael Koch <konqueror@gmx.de>
11440 * java/net/SocketImpl.java
11441 (connect): New method.
11442 (supportsUrgentData): New method.
11443 (sendUrgentData): New method.
11444 * java/net/PlainSocketImpl.java
11445 (connect): One new method and two new implementation.
11446 (sendUrgentData): New method.
11447 * java/natPlainSocketImpl.cc
11448 (connect): Arguments changed, added support for timeouts.
11449 (getOption): Another __java_boolean to jboolean.
11451 2002-09-07 Adam Megacz <adam@xwt.org>
11453 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
11454 definition of IP_TOS.
11456 2002-09-04 Michael Koch <konqueror@gmx.de>
11458 * java/net/DatagramSocket.java
11459 (DatagramSocket): Added documentation.
11461 (getLocalAddress): Likewise.
11462 (getLocalPort): Likewise.
11463 (receive): Likewise.
11465 (setSoTimeout): Likewise.
11466 (connect): New method.
11467 (disconnect): New method.
11468 (getInetAddress): New method (FIXME)
11469 (getPort): New method.
11470 (setReuseAddress): New method.
11471 (getReuseAddress): New method.
11472 (setBroadcast): New method.
11473 (getBroadcast): New method.
11474 (setTrafficClass): New method.
11475 (getTrafficClass): New method.
11476 * java/net/MulticastSocket.java):
11477 (getTTL): Added @see in documentation.
11478 (setTTL): Added @see in documentation.
11479 (setLoopbackMode): New method.
11480 (getLoopbackMode): New method.
11481 * java/net/PlainSocketImpl.java:
11482 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11483 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11484 * java/net/PlainDatagramSocketImpl.java
11485 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11486 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11487 * java/net/natPlainSocketImpl.cc
11488 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11489 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11490 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11491 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11492 This should also fix SO_KEEPALIVE
11493 * java/net/natPlainDatagramSocketImpl.cc
11494 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11495 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11496 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11497 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11499 2002-09-04 Michael Koch <konqueror@gmx.de>
11501 * java/net/SocketOptions.java: added static variables to be JDK 1.4
11502 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
11503 IP_MULTICAST_LOOP, IP_TOS
11505 2002-09-03 Tom Tromey <tromey@redhat.com>
11507 * java/lang/Class.h (_getDeclaredMethod): Declare.
11508 (_getMethod): Now private.
11509 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
11510 getDeclaredMethod. Now returns NULL on failure.
11511 * java/lang/Class.java (_getDeclaredMethod): Declare.
11512 (getDeclaredMethod): No longer native; implements access checks.
11514 2002-09-01 Mark Wielaard <mark@klomp.org>
11516 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
11517 (sanitizeStack): Correctly reset unknown and interpreter counters,
11518 detect interpreter runtime frames.
11519 (demangleInterpreterMethod): New method.
11520 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
11521 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
11522 filling in addrs[].
11524 2002-09-02 Michael Koch <konqueror@gmx.de>
11526 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
11527 re-indented documentation.
11529 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11531 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
11532 public, per 1.4 spec. Fixes PR libgcj/7785.
11534 2002-08-30 Jeff Sturm <jsturm@one-point.com>
11536 * Makefile.in: Rebuilt.
11537 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
11539 2002-08-29 Tom Tromey <tromey@redhat.com>
11541 * java/net/JarURLConnection.java (getCertificates): New method
11543 * java/net/URLClassLoader.java (URLClassLoader): Extends
11545 (definePackage): New method from Classpath.
11546 (getPermissions): Likewise.
11547 (newInstance): Likewise.
11548 (findClass): Construct CodeSource for new class (from Classpath).
11549 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
11551 * java/net/URL.java (getUserInfo): New method.
11552 (set(String,String,int,String,String,String,String,String)): New
11554 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
11555 (shutdownInput, shutdownOutput): Declare.
11556 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
11558 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
11559 (getOption): Likewise.
11560 (shutdownInput): New method.
11561 (shutdownOutput): Likewise.
11562 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
11564 (getOption): Likewise.
11565 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
11566 * java/net/Socket.java (setKeepAlive): New method.
11567 (getKeepAlive): Likewise.
11568 (shutdownInput, shutdownOutput): New methods.
11570 2002-08-29 Michael Koch <konqueror@gmx.de>
11572 * java/net/DatagramPacket.java: updated to JDK 1.4 API
11574 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
11576 DatagramPacket(byte[] buf, int length, SocketAddress address),
11577 void setSocketAddress(SocketAddress address)
11578 public SocketAddress getSocketAddress()
11580 2002-08-29 Tom Tromey <tromey@redhat.com>
11582 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
11583 ftruncate is missing.
11584 * configure, include/config.h.in: Rebuilt.
11585 * acconfig.h (HAVE_FTRUNCATE): Mention.
11586 * configure.in: Check for ftruncate.
11588 2002-08-29 Tom Tromey <tromey@redhat.com>
11590 * include/jvm.h (struct _Jv_frame_info): New structure.
11591 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
11593 (lookupInterp): New method.
11594 (getAddrAsString): Use _Jv_frame_info.
11595 (dladdrLookup): Likewise.
11596 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
11598 (lookupInterp): Declare.
11599 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
11600 (fillInStackTrace): Collect information on interpreted frames.
11601 Use _Jv_frame_info.
11602 * interpret.cc: Include Thread.h.
11603 (run): Create and push _Jv_MethodChain object.
11604 (_Jv_EndOfInterpreter): New global.
11605 * java/lang/Thread.java (interp_frame): New field.
11606 * include/java-interp.h (struct _Jv_MethodChain): New structure.
11607 Include NameFinder.h.
11609 2002-08-28 Tom Tromey <tromey@redhat.com>
11611 * java/lang/Class.h: Include Package.h.
11612 (Class::getProtectionDomain): Declare.
11613 (Class::getPackage): Declare.
11615 2002-08-28 Michael Koch <konqueror@gmx.de>
11617 * java/net/InetSocketAddress.java: Added some documentation and argument
11618 checks for the port numbers.
11619 * java/net/DatagramSocketImplFactory.java: New file.
11621 2002-08-28 Michael Koch <konqueror@gmx.de>
11623 * java/net/Authenticator.java: added some documentation.
11625 2002-08-27 Tom Tromey <tromey@redhat.com>
11627 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
11629 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
11631 2002-08-27 Michael Koch <konqueror@gmx.de>
11633 * java/net/BindException.java,
11634 java/net/JarURLConnection.java,
11635 java/net/FileNameMap.java,
11636 java/net/HttpURLConnection.java,
11637 java/net/InetSocketAddress.java,
11638 java/net/DatagramPacket.java,
11639 java/net/DatagramSocket.java,
11640 java/net/DatagramSocketImpl.java,
11641 java/net/MulticastSocket.java,
11642 java/net/PasswordAuthentication.java,
11643 java/net/ServerSocket.java,
11644 java/net/Socket.java,
11645 java/net/URLClassLoader.java,
11646 java/net/URLConnection.java: add/update of some @since/@deprecated
11648 2002-08-27 Tony Kimball <alk@pobox.com>
11649 Tom Tromey <tromey@redhat.com>
11651 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
11653 (::close): Removed.
11654 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
11655 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
11656 (::close): Removed.
11657 (PlainSocketImpl::close): Use NATIVE_CLOSE.
11658 * include/win32.h (getcwd): Removed declaration. Include io.h.
11660 2002-08-25 Adam Megacz <adam@xwt.org>
11662 * include/win32.h (getcwd): copied function declaration as
11663 temporary fix for header confusion.
11665 2002-08-24 Mark Wielaard <mark@klomp.org>
11667 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
11668 (core_java_source_files): Add VMThrowable.java and NameFinder.java
11669 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
11670 and natNameFinder.cc.
11671 * Makefile.in: Regenerate.
11672 * prims.cc: Use trace_enabled from VMThrowable.
11673 * name-finder.cc: Removed.
11674 * gcj/javaprims.h: Add class VMThrowable.
11675 * gnu/gcj/runtime/NameFinder.java: New file.
11676 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
11677 * include/name-finder.h: Removed.
11678 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
11679 method stackTraceString().
11680 (printStackTrace (PrintWriter)): Likewise.
11681 (stackTraceString): Complete rewrite of old printStackTrace using
11683 (stackTraceStringBuffer): New helper method for stackTraceString().
11684 (fillInStackTrace): Delegate to VMTrowable.
11685 (getStackTrace): Likewise.
11686 (getStackTrace0): Removed.
11687 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
11688 (setStackTrace): Copy given array.
11689 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
11690 * java/lang/VMThrowable.java: New class.
11691 * java/lang/natVMThrowable.cc: New file.
11693 2003-08-23 Michael Koch <konqueror@gmx.de>
11695 * java/net/URLConnection.java,
11696 java/netJarURLConnection.java,
11697 gnu/gcj/protocol/core/Connection.java,
11698 gnu/gcj/protocol/file/Connection.java,
11699 gnu/gcj/protocol/http/Connection.java: Added implementation of
11702 2002-08-22 Tom Tromey <tromey@redhat.com>
11704 * gij.cc (help): Document -cp and -classpath.
11705 (main): Handle -classpath.
11707 2002-08-21 Tom Tromey <tromey@redhat.com>
11709 * Makefile.in: Rebuilt.
11710 * Makefile.am (ordinary_java_source_files): Added
11711 SocketAddress.java, InetSocketAddress.java.
11712 * java/net/PortUnreachableException.java: Merged with Classpath.
11713 * java/net/SocketTimeoutException.java: Likewise.
11714 * java/net/URISyntaxException.java: Likewise.
11715 * java/net/SocketAddress.java: New class from Classpath.
11716 * java/net/InetSocketAddress.java: Likewise.
11718 2003-08-21 Michael Koch <konqueror@gmx.de>
11720 * java/net/Authenticator.java: updated JDK 1.4
11721 * java/net/ContentHandler.java: updated JDK 1.4
11723 2002-08-20 Michael Koch <konqueror@gmx.de>
11725 * java/net/URISyntaxException.java: New file.
11726 * java/net/SocketTimeoutException.java: New file.
11727 * java/net/PortUnreachableException.java: New file.
11728 * Makefile.am: Updated.
11729 * Makefile.in: Rebuilt.
11731 2002-08-18 Mark Wielaard <mark@klomp.org>
11733 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
11734 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11735 MessageDigestSpi (fixes Classpath bug #783).
11737 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11739 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
11740 (startProcess): Allocate path for chdir in async-signal-safe way.
11742 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11744 Fix for PR libgcj/7570 and PR libgcj/7578:
11745 * java/lang/natPosixProcess.cc: Include java/io/File.h.
11746 (startProcess): Handle new `dir' argument.
11747 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
11749 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
11751 (startProcess): Likewise.
11752 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
11754 * java/lang/Runtime.java (execInternal): Added `dir' argument.
11755 (exec): Don't create new environment if ENV==null. Pass DIR to
11757 * java/lang/natRuntime.cc: Include java/io/File.h.
11758 (execInternal): Added `dir' argument.
11760 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
11762 * java/io/RandomAccessFile.java (skipBytes): Return number of
11765 2002-08-01 Mark Wielaard <mark@klomp.org>
11767 Reenable patch since shared library troubles on powerpc are solved:
11768 * gnu/java/security/provider/Gnu.java: Reference all implementation
11769 classes by using Class.getName().
11770 * gnu/java/security/der/DEREncodingException.java,
11771 gnu/java/security/provider/DERReader.java,
11772 gnu/java/security/provider/DERWriter.java,
11773 gnu/java/security/provider/DSAKeyPairGenerator.java,
11774 gnu/java/security/provider/DSAParameterGenerator.java,
11775 gnu/java/security/provider/DSAParameters.java,
11776 gnu/java/security/provider/DSASignature.java,
11777 gnu/java/security/provider/GnuDSAPrivateKey.java,
11778 gnu/java/security/provider/GnuDSAPublicKey.java,
11779 gnu/java/security/provider/MD5.java,
11780 gnu/java/security/util/Prime.java: New classes
11781 * Makefile.am (ordinary_java_source_files): Add above files.
11782 * Makefile.in: Regenerate.
11783 * gnu/java/security/provider/DefaultPolicy.java
11784 (getPermissions): Don't maintain static class variable of Permissions.
11785 * gnu/java/security/provider/SHA.java
11786 (engineUpdate): algorithm change.
11787 (engineDigest): algorithm change.
11789 2002-08-09 Mark Wielaard <mark@klomp.org>
11791 * java/awt/image/MemoryImageSource.java: Change constructor to take
11793 * java/awt/Graphics2D.java: Uncomment methods that can now be
11795 * java/awt/GridBagLayout.java: New stub implementation.
11796 * javax/swing/text/html/HTML.java: Stub implementation.
11797 * javax/swing/text/html/parser/ParserDelegator.java: New stub
11800 * Makefile.am: Add new files.
11801 * Makefile.in: Rebuilt.
11803 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11805 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
11806 methods in Graphics2D.
11808 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11810 AWT/Swing merge from GNU Classpath.
11812 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
11813 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
11814 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
11815 java/awt/color/ProfileDataException.java,
11816 java/awt/CompositeContext.java, java/awt/Composite.java,
11817 java/awt/ContainerOrderFocusTraversalPolicy.java,
11818 java/awt/datatransfer/FlavorTable.java,
11819 java/awt/DefaultFocusTraversalPolicy.java,
11820 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
11821 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
11822 java/awt/dnd/DragGestureListener.java,
11823 java/awt/dnd/DragGestureRecognizer.java,
11824 java/awt/dnd/DragSourceAdapter.java,
11825 java/awt/dnd/DragSourceContext.java,
11826 java/awt/dnd/DragSourceDragEvent.java,
11827 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
11828 java/awt/dnd/DragSourceListener.java,
11829 java/awt/dnd/DragSourceMotionListener.java,
11830 java/awt/dnd/DropTarget.java,
11831 java/awt/dnd/InvalidDnDOperationException.java,
11832 java/awt/dnd/peer/DragSourceContextPeer.java,
11833 java/awt/event/AWTEventListenerProxy.java,
11834 java/awt/event/MouseWheelEvent.java,
11835 java/awt/event/MouseWheelListener.java,
11836 java/awt/event/WindowFocusListener.java,
11837 java/awt/event/WindowStateListener.java,
11838 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
11839 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
11840 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
11841 java/awt/geom/FlatteningPathIterator.java,
11842 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
11843 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
11844 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
11845 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
11846 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
11847 java/awt/image/ImagingOpException.java,
11848 java/awt/image/RasterFormatException.java,
11849 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
11850 java/awt/image/VolatileImage.java,
11851 java/awt/image/WritableRenderedImage.java,
11852 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
11853 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
11854 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
11855 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
11856 java/awt/PageAttributes.java, java/awt/print/Book.java,
11857 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
11858 java/awt/print/Paper.java, java/awt/print/Printable.java,
11859 java/awt/print/PrinterAbortException.java,
11860 java/awt/print/PrinterException.java,
11861 java/awt/print/PrinterGraphics.java,
11862 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
11863 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
11864 java/awt/Stroke.java, java/awt/TexturePaint.java,
11865 javax/accessibility/AccessibleAction.java,
11866 javax/accessibility/AccessibleBundle.java,
11867 javax/accessibility/AccessibleComponent.java,
11868 javax/accessibility/AccessibleContext.java,
11869 javax/accessibility/AccessibleEditableText.java,
11870 javax/accessibility/AccessibleExtendedComponent.java,
11871 javax/accessibility/AccessibleExtendedTable.java,
11872 javax/accessibility/AccessibleHyperlink.java,
11873 javax/accessibility/AccessibleHypertext.java,
11874 javax/accessibility/AccessibleIcon.java,
11875 javax/accessibility/Accessible.java,
11876 javax/accessibility/AccessibleKeyBinding.java,
11877 javax/accessibility/AccessibleRelation.java,
11878 javax/accessibility/AccessibleRelationSet.java,
11879 javax/accessibility/AccessibleResourceBundle.java,
11880 javax/accessibility/AccessibleRole.java,
11881 javax/accessibility/AccessibleSelection.java,
11882 javax/accessibility/AccessibleState.java,
11883 javax/accessibility/AccessibleStateSet.java,
11884 javax/accessibility/AccessibleTable.java,
11885 javax/accessibility/AccessibleTableModelChange.java,
11886 javax/accessibility/AccessibleText.java,
11887 javax/accessibility/AccessibleValue.java,
11888 javax/swing/AbstractAction.java,
11889 javax/swing/AbstractButton.java,
11890 javax/swing/AbstractCellEditor.java,
11891 javax/swing/AbstractListModel.java,
11892 javax/swing/AbstractSet.java, javax/swing/Action.java,
11893 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
11894 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
11895 javax/swing/border/CompoundBorder.java,
11896 javax/swing/border/EmptyBorder.java,
11897 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
11898 javax/swing/border/LineBorder.java,
11899 javax/swing/border/MatteBorder.java,
11900 javax/swing/border/TitledBorder.java,
11901 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
11902 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
11903 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
11904 javax/swing/CellRendererPane.java,
11905 javax/swing/colorchooser/AbstractColorChooserPanel.java,
11906 javax/swing/colorchooser/ColorChooserComponentFactory.java,
11907 javax/swing/colorchooser/ColorSelectionModel.java,
11908 javax/swing/colorchooser/DefaultColorSelectionModel.java,
11909 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
11910 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
11911 javax/swing/DefaultBoundedRangeModel.java,
11912 javax/swing/DefaultButtonModel.java,
11913 javax/swing/DefaultCellEditor.java,
11914 javax/swing/DefaultCellRenderer.java,
11915 javax/swing/DefaultComboBoxModel.java,
11916 javax/swing/DefaultDesktopManager.java,
11917 javax/swing/DefaultFocusManager.java,
11918 javax/swing/DefaultListCellRenderer.java,
11919 javax/swing/DefaultListModel.java,
11920 javax/swing/DefaultListSelectionModel.java,
11921 javax/swing/DefaultSingleSelectionModel.java,
11922 javax/swing/DesktopManager.java,
11923 javax/swing/event/AncestorEvent.java,
11924 javax/swing/event/AncestorListener.java,
11925 javax/swing/event/CaretEvent.java,
11926 javax/swing/event/CaretListener.java,
11927 javax/swing/event/CellEditorListener.java,
11928 javax/swing/event/ChangeEvent.java,
11929 javax/swing/event/ChangeListener.java,
11930 javax/swing/event/DocumentEvent.java,
11931 javax/swing/event/DocumentListener.java,
11932 javax/swing/event/EventListenerList.java,
11933 javax/swing/event/HyperlinkEvent.java,
11934 javax/swing/event/HyperlinkListener.java,
11935 javax/swing/event/InternalFrameAdapter.java,
11936 javax/swing/event/InternalFrameEvent.java,
11937 javax/swing/event/InternalFrameListener.java,
11938 javax/swing/event/ListDataEvent.java,
11939 javax/swing/event/ListDataListener.java,
11940 javax/swing/event/ListSelectionEvent.java,
11941 javax/swing/event/ListSelectionListener.java,
11942 javax/swing/event/MenuDragMouseEvent.java,
11943 javax/swing/event/MenuDragMouseListener.java,
11944 javax/swing/event/MenuEvent.java,
11945 javax/swing/event/MenuKeyEvent.java,
11946 javax/swing/event/MenuKeyListener.java,
11947 javax/swing/event/MenuListener.java,
11948 javax/swing/event/MouseInputAdapter.java,
11949 javax/swing/event/MouseInputListener.java,
11950 javax/swing/event/PopupMenuEvent.java,
11951 javax/swing/event/PopupMenuListener.java,
11952 javax/swing/event/SwingPropertyChangeSupport.java,
11953 javax/swing/event/TableColumnModelEvent.java,
11954 javax/swing/event/TableColumnModelListener.java,
11955 javax/swing/event/TableModelEvent.java,
11956 javax/swing/event/TableModelListener.java,
11957 javax/swing/event/TreeExpansionEvent.java,
11958 javax/swing/event/TreeExpansionListener.java,
11959 javax/swing/event/TreeModelEvent.java,
11960 javax/swing/event/TreeModelListener.java,
11961 javax/swing/event/TreeSelectionEvent.java,
11962 javax/swing/event/TreeSelectionListener.java,
11963 javax/swing/event/TreeWillExpandListener.java,
11964 javax/swing/event/UndoableEditEvent.java,
11965 javax/swing/event/UndoableEditListener.java,
11966 javax/swing/filechooser/FileFilter.java,
11967 javax/swing/filechooser/FileSystemView.java,
11968 javax/swing/filechooser/FileView.java,
11969 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11970 javax/swing/Icon.java, javax/swing/ImageIcon.java,
11971 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11972 javax/swing/JApplet.java, javax/swing/JButton.java,
11973 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11974 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11975 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11976 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11977 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11978 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11979 javax/swing/JLayeredPane.java, javax/swing/JList.java,
11980 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11981 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11982 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11983 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11984 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11985 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11986 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11987 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11988 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11989 javax/swing/JTextField.java, javax/swing/JTextPane.java,
11990 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11991 javax/swing/JToolTip.java, javax/swing/JTree.java,
11992 javax/swing/JViewport.java, javax/swing/JWindow.java,
11993 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11994 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11995 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11996 javax/swing/MenuSelectionManager.java,
11997 javax/swing/MutableComboBoxModel.java,
11998 javax/swing/OverlayLayout.java,
11999 javax/swing/plaf/ActionMapUIResource.java,
12000 javax/swing/plaf/basic/BasicBorders.java,
12001 javax/swing/plaf/basic/BasicButtonUI.java,
12002 javax/swing/plaf/basic/BasicCheckBoxUI.java,
12003 javax/swing/plaf/basic/BasicDefaults.java,
12004 javax/swing/plaf/basic/BasicGraphicsUtils.java,
12005 javax/swing/plaf/basic/BasicIconFactory.java,
12006 javax/swing/plaf/basic/BasicLabelUI.java,
12007 javax/swing/plaf/basic/BasicListUI.java,
12008 javax/swing/plaf/basic/BasicLookAndFeel.java,
12009 javax/swing/plaf/basic/BasicOptionPaneUI.java,
12010 javax/swing/plaf/basic/BasicPanelUI.java,
12011 javax/swing/plaf/basic/BasicRadioButtonUI.java,
12012 javax/swing/plaf/basic/BasicScrollPaneUI.java,
12013 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
12014 javax/swing/plaf/basic/BasicTextUI.java,
12015 javax/swing/plaf/basic/BasicToggleButtonUI.java,
12016 javax/swing/plaf/basic/BasicTreeUI.java,
12017 javax/swing/plaf/basic/BasicViewportUI.java,
12018 javax/swing/plaf/BorderUIResource.java,
12019 javax/swing/plaf/ButtonUI.java,
12020 javax/swing/plaf/ColorChooserUI.java,
12021 javax/swing/plaf/ColorUIResource.java,
12022 javax/swing/plaf/ComboBoxUI.java,
12023 javax/swing/plaf/ComponentInputMapUIResource.java,
12024 javax/swing/plaf/ComponentUI.java,
12025 javax/swing/plaf/DesktopIconUI.java,
12026 javax/swing/plaf/DesktopPaneUI.java,
12027 javax/swing/plaf/DimensionUIResource.java,
12028 javax/swing/plaf/FileChooserUI.java,
12029 javax/swing/plaf/FontUIResource.java,
12030 javax/swing/plaf/IconUIResource.java,
12031 javax/swing/plaf/InputMapUIResource.java,
12032 javax/swing/plaf/InsetsUIResource.java,
12033 javax/swing/plaf/InternalFrameUI.java,
12034 javax/swing/plaf/LabelUI.java,
12035 javax/swing/plaf/ListUI.java,
12036 javax/swing/plaf/MenuBarUI.java,
12037 javax/swing/plaf/MenuItemUI.java,
12038 javax/swing/plaf/OptionPaneUI.java,
12039 javax/swing/plaf/PanelUI.java,
12040 javax/swing/plaf/PopupMenuUI.java,
12041 javax/swing/plaf/ProgressBarUI.java,
12042 javax/swing/plaf/RootPaneUI.java,
12043 javax/swing/plaf/ScrollBarUI.java,
12044 javax/swing/plaf/ScrollPaneUI.java,
12045 javax/swing/plaf/SeparatorUI.java,
12046 javax/swing/plaf/SliderUI.java,
12047 javax/swing/plaf/SplitPaneUI.java,
12048 javax/swing/plaf/TabbedPaneUI.java,
12049 javax/swing/plaf/TableHeaderUI.java,
12050 javax/swing/plaf/TableUI.java,
12051 javax/swing/plaf/TextUI.java,
12052 javax/swing/plaf/ToolBarUI.java,
12053 javax/swing/plaf/ToolTipUI.java,
12054 javax/swing/plaf/TreeUI.java,
12055 javax/swing/plaf/UIResource.java,
12056 javax/swing/plaf/ViewportUI.java,
12057 javax/swing/ProgressMonitorInputStream.java,
12058 javax/swing/ProgressMonitor.java,
12059 javax/swing/Renderer.java,
12060 javax/swing/RepaintManager.java,
12061 javax/swing/RootPaneContainer.java,
12062 javax/swing/Scrollable.java,
12063 javax/swing/ScrollPaneConstants.java,
12064 javax/swing/ScrollPaneLayout.java,
12065 javax/swing/SingleSelectionModel.java,
12066 javax/swing/SizeRequirements.java,
12067 javax/swing/SizeSequence.java,
12068 javax/swing/SwingConstants.java,
12069 javax/swing/SwingUtilities.java,
12070 javax/swing/table/AbstractTableModel.java,
12071 javax/swing/table/DefaultTableCellRenderer.java,
12072 javax/swing/table/DefaultTableColumnModel.java,
12073 javax/swing/table/DefaultTableModel.java,
12074 javax/swing/table/TableCellEditor.java,
12075 javax/swing/table/TableCellRenderer.java,
12076 javax/swing/table/TableColumn.java,
12077 javax/swing/table/TableColumnModel.java,
12078 javax/swing/table/TableModel.java,
12079 javax/swing/text/AbstractDocument.java,
12080 javax/swing/text/AttributeSet.java,
12081 javax/swing/text/BadLocationException.java,
12082 javax/swing/text/Caret.java,
12083 javax/swing/text/CharacterIterator.java,
12084 javax/swing/text/ComponentView.java,
12085 javax/swing/text/DefaultCaret.java,
12086 javax/swing/text/DefaultEditorKit.java,
12087 javax/swing/text/Document.java,
12088 javax/swing/text/EditorKit.java,
12089 javax/swing/text/Element.java,
12090 javax/swing/text/GapContent.java,
12091 javax/swing/text/JTextComponent.java,
12092 javax/swing/text/Keymap.java,
12093 javax/swing/text/MutableAttributeSet.java,
12094 javax/swing/text/PlainDocument.java,
12095 javax/swing/text/PlainEditorKit.java,
12096 javax/swing/text/Position.java,
12097 javax/swing/text/Segment.java,
12098 javax/swing/text/StyledDocument.java,
12099 javax/swing/text/StyledEditorKit.java,
12100 javax/swing/text/Style.java,
12101 javax/swing/text/TextAction.java,
12102 javax/swing/text/ViewFactory.java,
12103 javax/swing/text/View.java,
12104 javax/swing/Timer.java,
12105 javax/swing/ToggleButtonModel.java,
12106 javax/swing/ToolTipManager.java,
12107 javax/swing/tree/AbstractLayoutCache.java,
12108 javax/swing/tree/DefaultMutableTreeNode.java,
12109 javax/swing/tree/DefaultTreeCellEditor.java,
12110 javax/swing/tree/DefaultTreeCellRenderer.java,
12111 javax/swing/tree/DefaultTreeModel.java,
12112 javax/swing/tree/DefaultTreeSelectionModel.java,
12113 javax/swing/tree/ExpandVetoException.java,
12114 javax/swing/tree/FixedHeightLayoutCache.java,
12115 javax/swing/tree/MutableTreeNode.java,
12116 javax/swing/tree/RowMapper.java,
12117 javax/swing/tree/TreeCellEditor.java,
12118 javax/swing/tree/TreeCellRenderer.java,
12119 javax/swing/tree/TreeModel.java,
12120 javax/swing/tree/TreeNode.java,
12121 javax/swing/tree/TreePath.java,
12122 javax/swing/tree/TreeSelectionModel.java,
12123 javax/swing/tree/VariableHeightLayoutCache.java,
12124 javax/swing/UIDefaults.java,
12125 javax/swing/UIManager.java,
12126 javax/swing/undo/AbstractUndoableEdit.java,
12127 javax/swing/undo/CannotRedoException.java,
12128 javax/swing/undo/CannotUndoException.java,
12129 javax/swing/undo/CompoundEdit.java,
12130 javax/swing/undo/StateEditable.java,
12131 javax/swing/undo/StateEdit.java,
12132 javax/swing/undo/UndoableEdit.java,
12133 javax/swing/undo/UndoableEditSupport.java,
12134 javax/swing/undo/UndoManager.java,
12135 javax/swing/UnsupportedLookAndFeelException.java,
12136 javax/swing/ViewportLayout.java,
12137 javax/swing/WindowConstants.java: New files, from GNU Classpath.
12139 * java/awt/ActiveEvent.java,
12140 java/awt/Adjustable.java, java/awt/AWTError.java,
12141 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
12142 java/awt/AWTException.java, java/awt/AWTPermission.java,
12143 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
12144 java/awt/Color.java, java/awt/Component.java,
12145 java/awt/ComponentOrientation.java, java/awt/Container.java,
12146 java/awt/datatransfer/MimeTypeParseException.java,
12147 java/awt/datatransfer/Transferable.java,
12148 java/awt/datatransfer/UnsupportedFlavorException.java,
12149 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
12150 java/awt/event/ActionListener.java,
12151 java/awt/event/AdjustmentEvent.java,
12152 java/awt/event/AdjustmentListener.java,
12153 java/awt/event/AWTEventListener.java,
12154 java/awt/event/ComponentAdapter.java,
12155 java/awt/event/ComponentEvent.java,
12156 java/awt/event/ComponentListener.java,
12157 java/awt/event/ContainerAdapter.java,
12158 java/awt/event/ContainerEvent.java,
12159 java/awt/event/ContainerListener.java,
12160 java/awt/event/FocusAdapter.java,
12161 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
12162 java/awt/event/HierarchyBoundsAdapter.java,
12163 java/awt/event/HierarchyBoundsListener.java,
12164 java/awt/event/HierarchyEvent.java,
12165 java/awt/event/HierarchyListener.java,
12166 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
12167 java/awt/event/InputMethodListener.java,
12168 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
12169 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
12170 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
12171 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
12172 java/awt/event/MouseListener.java,
12173 java/awt/event/MouseMotionAdapter.java,
12174 java/awt/event/MouseMotionListener.java,
12175 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
12176 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
12177 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
12178 java/awt/event/WindowListener.java, java/awt/Font.java,
12179 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
12180 java/awt/geom/Ellipse2D.java,
12181 java/awt/geom/IllegalPathStateException.java,
12182 java/awt/geom/Line2D.java,
12183 java/awt/geom/NoninvertibleTransformException.java,
12184 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
12185 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
12186 java/awt/geom/RoundRectangle2D.java,
12187 java/awt/GraphicsConfiguration.java,
12188 java/awt/IllegalComponentStateException.java,
12189 java/awt/image/IndexColorModel.java,
12190 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
12191 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
12192 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
12193 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
12194 java/awt/MenuItem.java, java/awt/PaintContext.java,
12195 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
12196 java/awt/Polygon.java, java/awt/PrintGraphics.java,
12197 java/awt/PrintJob.java, java/awt/Rectangle.java,
12198 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
12199 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
12200 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
12202 * java/awt/im/spi/InputMethod.java,
12203 java/awt/im/spi/InputMethodContext.java,
12204 java/awt/im/spi/InputMethodDescriptor.java,
12205 java/awt/image/renderable/ContextualRenderedImageFactory.java,
12206 java/awt/image/renderable/ParameterBlock.java,
12207 java/awt/image/renderable/RenderContext.java,
12208 java/awt/image/renderable/RenderableImage.java,
12209 java/awt/image/renderable/RenderableImageOp.java,
12210 java/awt/image/renderable/RenderableImageProducer.java,
12211 java/awt/image/renderable/RenderedImageFactory.java: New files from
12214 * gnu/java/awt/EventModifier.java,
12215 gnu/java/awt/image/ImageDecoder.java,
12216 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
12218 * gnu/awt/xlib/XGraphicsConfiguration.java,
12219 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
12222 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
12225 * Makefile.am: Add new files.
12226 * Makefile.in: Rebuilt.
12228 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12230 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
12231 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
12232 findResource, getResources, findResources): Add javadoc from classpath.
12233 (getSystemResources): Implemented.
12235 2002-08-01 Mark Wielaard <mark@klomp.org>
12237 Revert patch that breaks libgcj shared library on powerpc:
12238 * gnu/java/security/provider/Gnu.java: Reverse referencing all
12239 implementation classes by using Class.getName(). Uses Strings again.
12240 * gnu/java/security/der/DEREncodingException.java,
12241 gnu/java/security/provider/DERReader.java,
12242 gnu/java/security/provider/DERWriter.java,
12243 gnu/java/security/provider/DSAKeyPairGenerator.java,
12244 gnu/java/security/provider/DSAParameterGenerator.java,
12245 gnu/java/security/provider/DSAParameters.java,
12246 gnu/java/security/provider/DSASignature.java,
12247 gnu/java/security/provider/GnuDSAPrivateKey.java,
12248 gnu/java/security/provider/GnuDSAPublicKey.java,
12249 gnu/java/security/provider/MD5.java,
12250 gnu/java/security/util/Prime.java: Removed.
12251 * Makefile.am (ordinary_java_source_files): Remove above files.
12252 * Makefile.in: Regenerate.
12253 * gnu/java/security/provider/DefaultPolicy.java
12254 (getPermissions): Revert to maintaining static class variable of
12256 * gnu/java/security/provider/SHA.java
12257 (engineUpdate): Revert algorithm change.
12258 (engineDigest): Revert algorithm change.
12260 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
12262 * configure.host: Add SH support.
12263 * sysdep/sh/locks.h: New file.
12265 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12267 * java/awt/Frame.java (Frame): Remove println calls.
12269 2002-07-30 Jeff Sturm <jsturm@one-point.com>
12271 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
12272 * configure: Rebuilt.
12274 2002-07-27 Alan Modra <amodra@bigpond.net.au>
12276 * sysdep/powerpc/locks.h: Formatting.
12279 (compare_and_swap): Use _LARX and _STCX.
12280 (compare_and_swap_release): Likewise.
12282 2002-07-26 Tom Tromey <tromey@redhat.com>
12284 * java/net/Authenticator.java: New version from Classpath.
12285 * java/net/DatagramSocketImpl.java: New version from Classpath.
12287 2002-07-27 Alan Modra <amodra@bigpond.net.au>
12289 * configure.host: Add powerpc64*-* entry.
12291 2002-07-26 Tom Tromey <tromey@redhat.com>
12293 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
12296 2002-07-24 Tom Tromey <tromey@redhat.com>
12298 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
12301 2002-07-24 Tom Tromey <tromey@redhat.com>
12302 Tony Kimball <alk@pobox.com>
12304 * java/io/natFileDescriptorWin32.cc (setLength): New method.
12305 * java/io/natFileDescriptorPosix.cc (setLength): New method.
12306 * java/io/RandomAccessFile.java (setLength): New method.
12307 * java/io/natFileDescriptorEcos.cc (setLength): New method.
12308 * java/io/FileDescriptor.java (setLength): New method.
12310 2002-07-24 Mark Wielaard <mark@klomp.org>
12312 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
12313 * java/io/ObjectInputStream.java (setBooleanField): Before setting
12314 field call setAccessible(true).
12315 (setByteField): Likewise.
12316 (setCharField): Likewise.
12317 (setDoubleField): Likewise.
12318 (setFloatField): Likewise.
12319 (setIntField): Likewise.
12320 (setLongField): Likewise.
12321 (setShortField): Likewise.
12322 (setObjectField): Likewise.
12324 2002-07-24 Tom Tromey <tromey@redhat.com>
12326 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
12327 use toString() to format array element.
12329 2002-07-23 Mark Wielaard <mark@klomp.org>
12331 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12332 MessageDigestSpi (fixes Classpath bug #783).
12334 2002-07-21 Mark Wielaard <mark@klomp.org>
12336 * gnu/java/security/provider/Gnu.java: Reference all implementation
12337 classes by using Class.getName().
12339 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
12341 * java/lang/ieeefp.h: Add x86-64 support.
12342 * configure.in: Likewise.
12343 * configure.host: Likewise.
12344 * configure: Regenerated.
12345 * sysdep/x86-64/locks.h: New file with x86-64 locks.
12347 2002-07-16 Mark Wielaard <mark@klomp.org>
12349 * java/io/StreamTokenizer.java (pushBack): Update documentation.
12350 (whitespaceChars): call resetChar().
12352 2002-07-15 Tom Tromey <tromey@redhat.com>
12354 * Makefile.in: Rebuilt.
12355 * Makefile.am (awt_java_source_files): Added new files.
12356 * java/beans/ExceptionListener.java: Merged with Classpath.
12357 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
12358 * java/beans/PropertyChangeListener.java: Merged with Classpath.
12359 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
12360 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
12361 * java/beans/VetoableChangeListener.java: Merged with Classpath.
12362 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
12363 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
12365 2002-07-14 Mark Wielaard <mark@klomp.org>
12367 * gnu/java/security/der/DEREncodingException.java,
12368 gnu/java/security/provider/DERReader.java,
12369 gnu/java/security/provider/DERWriter.java,
12370 gnu/java/security/provider/DSAKeyPairGenerator.java,
12371 gnu/java/security/provider/DSAParameterGenerator.java,
12372 gnu/java/security/provider/DSAParameters.java,
12373 gnu/java/security/provider/DSASignature.java,
12374 gnu/java/security/provider/GnuDSAPrivateKey.java,
12375 gnu/java/security/provider/GnuDSAPublicKey.java,
12376 gnu/java/security/provider/MD5.java,
12377 gnu/java/security/util/Prime.java: New files from Classpath.
12378 * Makefile.am (ordinary_java_source_files): Add new files.
12379 * Makefile.in: Regenerate.
12381 2002-07-14 C. Brian Jones <cbj@gnu.org>
12383 * gnu/java/security/provider/DefaultPolicy.java
12384 (getPermissions): do not maintain static class variable of
12386 * gnu/java/security/provider/SHA.java
12387 (engineUpdate): algorithm change
12388 (engineDigest): algorithm change
12390 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
12392 For PR libgcj/7292:
12393 * java/lang/Character.java (toString(char)): Now static.
12395 2002-07-12 Mark Wielaard <mark@klomp.org>
12397 * java/lang/natThrowable.cc (printRawStackTrace): removed.
12398 (getStackTrace0): new method.
12399 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
12400 (printStackTrace(PrintWriter)): replace with pure java implementation.
12401 (printRawStackTrace): removed.
12402 (getStackTrace0): new method.
12403 * java/lang/StackTraceElement.java (toString): add extra whitespace.
12404 * gcj/javaprims.h: regenerate class list.
12405 * include/name-finder.h (lookup): new returns StackTraceElement*.
12406 (method_name, file_name): fields removed.
12407 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
12408 (~_Jv_name_finder): close new descriptors.
12409 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
12410 (createStackTraceElement): new method.
12411 (lookup): returns StackTraceElement*, uses createStackTraceElement().
12413 2002-07-10 Tom Tromey <tromey@redhat.com>
12415 * configure: Rebuilt.
12416 * configure.in: Use `test' after `&&'. From Chris Faylor.
12418 2002-07-08 Mark Wielaard <mark@klomp.org>
12420 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
12421 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
12422 java.sql.DatabaseMetaData.TestJdbc20
12424 2002-07-05 Tony Kimball <alk@pobox.com>
12426 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
12428 2002-07-04 Tom Tromey <tromey@redhat.com>
12429 Jeff Sturm <jsturm@one-point.com>
12431 Fix for PR libgcj/7060:
12432 * java/lang/Class.h (_getMethod): Renamed from getMethod.
12433 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
12434 Recurse into superinterfaces. Don't throw NoSuchMethodException.
12435 * java/lang/Class.java (getMethod): New Java implementation;
12436 complies with spec.
12437 (_getMethod): New native method.
12439 2002-07-02 Tom Tromey <tromey@redhat.com>
12440 David Hovemeyer <daveho@cs.umd.edu>
12442 * java/text/ChoiceFormat.java
12443 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
12445 * java/text/MessageFormat.java
12446 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
12449 2002-07-01 Tom Tromey <tromey@redhat.com>
12451 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
12452 StringTokenizer on null string. For PR libgcj/7180.
12453 From daveho@cs.umd.edu.
12455 2002-06-24 Tom Tromey <tromey@redhat.com>
12457 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
12458 (IntegerClass): Likewise.
12459 * java/lang/natClass.cc (CloneableClass): Removed.
12460 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
12461 ConstructorClass): Likewise.
12462 * java/lang/natClassLoader.cc (CloneableClass): Removed.
12463 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
12464 SerializableClass): Likewise.
12465 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
12466 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
12467 LongClass, FloatClass, DoubleClass): Likewise.
12469 * verify.cc (branch_prepass): Updated for change to exception
12471 (verify_instructions_0): Likewise.
12472 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
12473 (handleExceptionTableEntry): Updated for change to exception
12475 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
12476 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
12477 (union _Jv_InterpPC): New.
12478 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
12479 (class _Jv_InterpMethod): Added new `prepared' field.
12480 (class _Jv_InterpMethod): Added `compile' method. Removed
12481 `continue1' and `find_exception'. Changed arguments to `run'.
12482 * interpret.cc (union insn_slot): New.
12483 (find_exception): Removed.
12484 (run_normal): Removed most logic.
12485 (run_synch_object): Likewise; also, use JvSynchronize.
12486 (run_synch_class): Likewise.
12488 (continue1): Renamed as `run'. Compile bytecode if required.
12489 Add new code to allow refinement of direct-threaded code at
12490 runtime. Handle exceptions.
12491 (SAVE_PC): Removed.
12492 (compile): New method.
12493 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
12494 (NULLARRAYCHECK): Don't use SAVE_PC.
12495 (pc_t): New typedef.
12496 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
12497 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
12499 2002-06-23 Tom Tromey <tromey@redhat.com>
12501 * configure: Rebuilt.
12502 * configure.in (INTERPRETER): New subst.
12503 (AM_RUNTESTFLAGS): Don't subst.
12505 * Makefile.in: Rebuilt.
12506 * Makefile.am ($(srcdir)/java/lang/Object.h,
12507 $(srcdir)/java/lang/Class.h): Added dummy targets.
12509 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12511 Reformat JDBC classes and add new JDK 1.4 classes and methods.
12513 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
12514 java/sql/Savepoint.java: New files.
12515 * java/sql/Array.java, java/sql/BatchUpdateException.java,
12516 java/sql/Blob.java, java/sql/CallableStatement.java,
12517 java/sql/Clob.java, java/sql/Connection.java,
12518 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
12519 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
12520 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
12521 java/sql/Ref.java, java/sql/ResultSet.java,
12522 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
12523 java/sql/SQLException.java, java/sql/SQLInput.java,
12524 java/sql/SQLOutput.java, java/sql/SQLWarning.java
12525 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
12526 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
12527 (JDK 1.4) specification.
12528 * javax/sql/ConnectionEvent.java,
12529 javax/sql/ConnectionEventListener.java,
12530 javax/sql/ConnectionPoolDataSource.java,
12531 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
12532 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
12533 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
12534 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
12535 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
12536 javax/sql/XADataSource.java: New files.
12537 * Makefile.am: Add new files.
12538 * Makefile.in: Rebuilt.
12540 2002-06-20 Tom Tromey <tromey@redhat.com>
12542 For PR libgcj/7073:
12543 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
12545 * defineclass.cc (handleClassBegin): Superclass for interface is
12548 2002-06-18 Tom Tromey <tromey@redhat.com>
12550 * gcj/javaprims.h: Updated class declaration list.
12551 * Makefile.in: Rebuilt.
12552 * Makefile.am (core_java_source_files): Removed
12553 BasicMapEntry.java.
12554 * java/util/BasicMapEntry.java: Removed.
12556 2002-06-18 Jeff Sturm <jsturm@one-point.com>
12558 * java/net/natPlainDatagramSocketImpl.cc (receive):
12559 Check bounds of argument to FD_SET.
12560 (setOption): Throw exception if socket is closed.
12562 * java/net/natPlainSocketImpl.cc (accept, read):
12563 Check bounds of argument to FD_SET.
12564 (setOption): Throw exception if socket is closed.
12566 2002-06-18 Tom Tromey <tromey@redhat.com>
12568 * gcj/javaprims.h: Updated class declaration list.
12569 * Makefile.in: Rebuilt.
12570 * Makefile.am (core_java_source_files): Added
12571 PropertyPermissionCollection.java.
12572 * java/lang/Thread.java (group, name): Now package-private.
12573 * java/lang/ThreadGroup.java: Re-merge with Classpath.
12574 * java/util/AbstractList.java: Likewise.
12575 * java/util/AbstractMap.java: Likewise.
12576 * java/util/Calendar.java: Likewise.
12577 * java/util/Collections.java: Likewise.
12578 * java/util/HashMap.java: Likewise.
12579 * java/util/Hashtable.java: Likewise.
12580 * java/util/LinkedHashMap.java: Likewise.
12581 * java/util/LinkedList.java: Likewise.
12582 * java/util/List.java: Likewise.
12583 * java/util/ListResourceBundle.java: Likewise.
12584 * java/util/Map.java: Likewise.
12585 * java/util/Observable.java: Likewise.
12586 * java/util/Properties.java: Likewise.
12587 * java/util/PropertyPermission.java: Likewise.
12588 * java/util/PropertyPermissionCollection.java: Likewise.
12589 * java/util/PropertyResourceBundle.java: Likewise.
12590 * java/util/Random.java: Likewise.
12591 * java/util/SimpleTimeZone.java: Likewise.
12592 * java/util/StringTokenizer.java: Likewise.
12593 * java/util/TimerTask.java: Likewise.
12594 * java/util/TreeMap.java: Likewise.
12595 * java/util/WeakHashMap.java: Likewise.
12596 * java/util/jar/Attributes.java: Likewise.
12597 * java/util/jar/JarException.java: Likewise.
12598 * java/util/jar/Manifest.java: Likewise.
12600 2002-06-17 Tom Tromey <tromey@redhat.com>
12602 * gcj/javaprims.h: Updated class declaration list.
12603 * Makefile.in: Rebuilt.
12604 * Makefile.am (core_java_source_files): Added new file.
12605 * java/util/EventListenerProxy.java: New file.
12606 * java/util/EventListener.java: Re-merge with Classpath.
12607 * java/util/EventObject.java: Re-merge with Classpath.
12609 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
12611 * java/lang/ClassNotFoundException.java: New Classpath version.
12613 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
12615 * java/rmi/activation/ActivateFailedException.java: Remerge from
12617 * java/rmi/activation/ActivationException.java: Ditto.
12618 * java/rmi/activation/UnknownGroupException.java: Ditto.
12619 * java/rmi/activation/UnknownObjectException.java: Ditto.
12620 * java/rmi/server/ExportException: Ditto.
12621 * java/rmi/server/ServerCloneException: Ditto.
12622 * java/rmi/server/ServerNotActiveException: Ditto.
12623 * java/rmi/server/SkeletonMismatchException: Ditto.
12624 * java/rmi/server/SkeletonNotFoundException: Ditto.
12625 * java/rmi/server/SocketSecurityException: Ditto.
12627 2002-06-16 Tom Tromey <tromey@redhat.com>
12629 * gcj/javaprims.h: Updated class declaration list.
12631 * java/io/LineNumberInputStream.java: Merged with Classpath.
12633 * java/lang/RuntimeException.java: Re-merge with Classpath.
12634 * java/util/ArrayList.java: Likewise.
12635 * java/util/Arrays.java: Likewise.
12636 * java/util/BitSet.java: Likewise.
12637 * java/util/Dictionary.java: Likewise.
12638 * java/util/IdentityHashMap.java: Likewise.
12639 * java/util/MissingResourceException.java: Likewise.
12640 * java/util/Observer.java: Likewise.
12641 * java/util/TooManyListenersException.java: Likewise.
12642 * java/util/zip/DataFormatException.java: Likewise.
12643 * java/util/zip/ZipException.java: Likewise.
12645 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
12647 * java/rmi/AccessException.java: Remerge from Classpath.
12648 * java/rmi/AlreadyBoundException.java: Ditto.
12649 * java/rmi/ConnectException.java: Ditto.
12650 * java/rmi/ConnectIOException.java: Ditto.
12651 * java/rmi/MarshalException.java: Ditto.
12652 * java/rmi/NoSuchObjectException.java: Ditto.
12653 * java/rmi/NotBoundException.java: Ditto.
12654 * java/rmi/RemoteException.java: Ditto.
12655 * java/rmi/RMISecurityException.java: Ditto.
12656 * java/rmi/ServerError.java: Ditto.
12657 * java/rmi/ServerException.java: Ditto.
12658 * java/rmi/ServerRuntimeException.java: Ditto.
12659 * java/rmi/StubNotFoundException.java: Ditto.
12660 * java/rmi/UnexpectedExcpetion.java: Ditto.
12661 * java/rmi/UnknownHostException.java: Ditto.
12662 * java/rmi/UnmarshalException.java: Ditto.
12664 2002-06-15 Tom Tromey <tromey@redhat.com>
12666 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
12667 * java/lang/ArithmeticException.java: Likewise.
12668 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
12669 * java/lang/ArrayStoreException.java: Likewise.
12670 * java/lang/Byte.java: Likewise.
12671 * java/lang/CharSequence.java: Likewise.
12672 * java/lang/ClassCastException.java: Likewise.
12673 * java/lang/ClassCircularityError.java: Likewise.
12674 * java/lang/ClassFormatError.java: Likewise.
12675 * java/lang/CloneNotSupportedException.java: Likewise.
12676 * java/lang/Cloneable.java: Likewise.
12677 * java/lang/Comparable.java: Likewise.
12678 * java/lang/Compiler.java: Likewise.
12679 * java/lang/Error.java: Likewise.
12680 * java/lang/ExceptionInInitializerError.java: Likewise.
12681 * java/lang/IllegalAccessError.java: Likewise.
12682 * java/lang/IllegalAccessException.java: Likewise.
12683 * java/lang/IllegalArgumentException.java: Likewise.
12684 * java/lang/IllegalMonitorStateException.java: Likewise.
12685 * java/lang/IllegalStateException.java: Likewise.
12686 * java/lang/IllegalThreadStateException.java: Likewise.
12687 * java/lang/IncompatibleClassChangeError.java: Likewise.
12688 * java/lang/IndexOutOfBoundsException.java: Likewise.
12689 * java/lang/InheritableThreadLocal.java: Likewise.
12690 * java/lang/InstantiationError.java: Likewise.
12691 * java/lang/InstantiationException.java: Likewise.
12692 * java/lang/InternalError.java: Likewise.
12693 * java/lang/InterruptedException.java: Likewise.
12694 * java/lang/LinkageError.java: Likewise.
12695 * java/lang/NegativeArraySizeException.java: Likewise.
12696 * java/lang/NoClassDefFoundError.java: Likewise.
12697 * java/lang/NoSuchFieldError.java: Likewise.
12698 * java/lang/NoSuchFieldException.java: Likewise.
12699 * java/lang/NoSuchMethodError.java: Likewise.
12700 * java/lang/NoSuchMethodException.java: Likewise.
12701 * java/lang/NullPointerException.java: Likewise.
12702 * java/lang/NumberFormatException.java: Likewise.
12703 * java/lang/OutOfMemoryError.java: Likewise.
12704 * java/lang/Process.java: Likewise.
12705 * java/lang/Runnable.java: Likewise.
12706 * java/lang/RuntimePermission.java: Likewise.
12707 * java/lang/SecurityException.java: Likewise.
12708 * java/lang/Short.java: Likewise.
12709 * java/lang/StackOverflowError.java: Likewise.
12710 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
12711 * java/lang/ThreadDeath.java: Likewise.
12712 * java/lang/ThreadLocal.java: Likewise.
12713 * java/lang/UnknownError.java: Likewise.
12714 * java/lang/UnsatisfiedLinkError.java: Likewise.
12715 * java/lang/UnsupportedClassVersionError.java: Likewise.
12716 * java/lang/UnsupportedOperationException.java: Likewise.
12717 * java/lang/VerifyError.java: Likewise.
12718 * java/lang/VirtualMachineError.java: Likewise.
12719 * java/lang/reflect/InvocationTargetException.java: Likewise.
12720 * java/net/BindException.java: Likewise.
12721 * java/net/ConnectException.java: Likewise.
12722 * java/net/MalformedURLException.java: Likewise.
12723 * java/net/NoRouteToHostException.java: Likewise.
12724 * java/net/ProtocolException.java: Likewise.
12725 * java/net/SocketException.java: Likewise.
12726 * java/net/UnknownHostException.java: Likewise.
12727 * java/net/UnknownServiceException.java: Likewise.
12729 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
12730 * java/io/CharConversionException.java: Likewise.
12731 * java/io/EOFException.java: Likewise.
12732 * java/io/FileNotFoundException.java: Likewise.
12733 * java/io/IOException.java: Likewise.
12734 * java/io/InterruptedIOException.java: Likewise.
12735 * java/io/InvalidClassException.java: Likewise.
12736 * java/io/InvalidObjectException.java: Likewise.
12737 * java/io/NotActiveException.java: Likewise.
12738 * java/io/NotSerializableException.java: Likewise.
12739 * java/io/ObjectStreamException.java: Likewise.
12740 * java/io/ObjectStreamConstants.java: Likewise.
12741 * java/io/OptionalDataException.java: Likewise.
12742 * java/io/PipedInputStream.java: Likewise.
12743 * java/io/PushbackInputStream.java: Likewise.
12744 * java/io/StreamCorruptedException.java: Likewise.
12745 * java/io/SyncFailedException.java: Likewise.
12746 * java/io/UTFDataFormatException.java: Likewise.
12747 * java/io/UnsupportedEncodingException.java: Likewise.
12748 * java/io/WriteAbortedException.java: Likewise.
12750 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
12752 * java/text/ChoiceFormat.java: Update comments from Classpath.
12753 * java/text/ParseException.java (serialVersionUID): New
12754 field from Classpath.
12755 * java/text/ParseException.java: Update formatting & comments
12758 2002-06-15 Tom Tromey <tromey@redhat.com>
12760 * java/util/zip/InflaterInputStream.java (read): Loop if data has
12761 been read but none output by inflater.
12762 * java/util/zip/natDeflater.cc (reset): Set is_finished.
12763 * java/util/zip/natInflater.cc (reset): Set dist_needed and
12765 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
12767 * java/util/zip/ZipFile.java: Replaced with Classpath version.
12768 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
12769 * java/util/zip/ZipInputStream.java: Replaced with Classpath
12771 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
12773 2002-06-13 Tom Tromey <tromey@redhat.com>
12775 * java/lang/natString.cc (init): Handle case where DONT_COPY is
12776 true and OFFSET!=0.
12777 * java/lang/String.java (String(char[],int,int,boolean): New
12779 * java/lang/Long.java: Imported new version from Classpath.
12780 * java/lang/Number.java: Likewise.
12781 * java/lang/Integer.java: Likewise.
12782 * java/lang/Long.java: Likewise.
12783 * java/lang/Float.java: Likewise.
12784 * java/lang/Boolean.java: Likewise.
12785 * java/lang/Double.java: Likewise.
12786 * java/lang/Void.java: Likewise.
12788 2002-06-12 Tom Tromey <tromey@redhat.com>
12790 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
12791 Fixes PR libgcj/6652.
12793 2002-06-10 Tom Tromey <tromey@redhat.com>
12795 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
12796 (Class::getPackagePortion): Likewise.
12797 * java/lang/Class.java (desiredAssertionStatus): New method from
12799 (getPackagePortion): Likewise.
12800 * java/lang/VMClassLoader.java (defaultAssertionStatus,
12801 packageAssertionStatus, classAssertionStatus): New methods from
12803 * java/lang/ClassLoader.java (defaultAssertionStatus,
12804 systemPackageAssertionStatus, packageAssertionStatus,
12805 systemClassAssertionStatus, classAssertionStatus): New fields from
12807 (setDefaultAssertionStatus, setPackageAssertionStatus,
12808 setClassAssertionStatus, clearAssertionStatus): New methods from
12810 * Makefile.in: Rebuilt.
12811 * Makefile.am (core_java_source_files): Added AssertionError.java.
12812 * java/lang/AssertionError.java: New from Classpath.
12814 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12816 * configure.host: Disable hash synchronization and slow_pthread_self
12819 2002-06-06 Adam Megacz <adam@xwt.org>
12821 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
12822 locking, just like the Sun JVM does.
12824 2002-06-05 H.J. Lu (hjl@gnu.org)
12826 * Makefile.am (libgcj_convenience.la): Revert the last change.
12827 (libgcj.la): Likewise.
12828 * Makefile.in: Regenerated.
12830 2002-06-04 H.J. Lu (hjl@gnu.org)
12832 * Makefile.am (libgcj_convenience.la): New target.
12833 (libgcj.la): Depend on libgcj_convenience.la.
12834 * Makefile.in: Regenerated.
12836 2002-06-04 H.J. Lu (hjl@gnu.org)
12838 * configure.in (--with-newlib): New option:
12839 Check ${with_newlib} instead of ${with_cross_host} for newlib.
12840 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
12842 * configure: Regenerated.
12844 2002-06-04 Tom Tromey <tromey@redhat.com>
12846 * java/util/natTimeZone.cc: Include <stdio.h>.
12848 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
12850 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
12851 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
12852 Set SIGNAL_HANDLER=include/s390-linux.h.
12853 * configure: Regenerate.
12854 * include/s390-linux.h: New file.
12856 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12858 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
12861 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12863 Merge JDK 1.4 java.security changes from classpath.
12865 * java/security/AccessControlException.java: Merge from Classpath.
12866 * java/security/AccessController.java: Likewise.
12867 * java/security/AllPermission.java: Likewise.
12868 * java/security/BasicPermission.java: Likewise.
12869 * java/security/Certificate.java: Likewise.
12870 * java/security/CodeSource.java: Likewise.
12871 * java/security/DigestException.java: Likewise.
12872 * java/security/DigestOutputStream.java: Likewise.
12873 * java/security/DomainCombiner.java: Likewise.
12874 * java/security/GeneralSecurityException.java: Likewise.
12875 * java/security/Guard.java: Likewise.
12876 * java/security/GuardedObject.java: Likewise.
12877 * java/security/InvalidAlgorithmParameterException.java: Likewise.
12878 * java/security/InvalidKeyException.java: Likewise.
12879 * java/security/InvalidParameterException.java: Likewise.
12880 * java/security/Key.java: Likewise.
12881 * java/security/KeyException.java: Likewise.
12882 * java/security/KeyManagementException.java: Likewise.
12883 * java/security/KeyStoreException.java: Likewise.
12884 * java/security/MessageDigest.java: Likewise.
12885 * java/security/NoSuchAlgorithmException.java: Likewise.
12886 * java/security/NoSuchProviderException.java: Likewise.
12887 * java/security/Permission.java: Likewise.
12888 * java/security/PermissionCollection.java: Likewise.
12889 * java/security/Permissions.java: Likewise.
12890 * java/security/Policy.java: Likewise.
12891 * java/security/Principal.java: Likewise.
12892 * java/security/PrivateKey.java: Likewise.
12893 * java/security/PrivilegedAction.java: Likewise.
12894 * java/security/PrivilegedActionException.java: Likewise.
12895 * java/security/PrivilegedExceptionAction.java: Likewise.
12896 * java/security/ProtectionDomain.java: Likewise.
12897 * java/security/ProviderException.java: Likewise.
12898 * java/security/PublicKey.java: Likewise.
12899 * java/security/SecureClassLoader.java: Likewise.
12900 * java/security/SecurityPermission.java: Likewise.
12901 * java/security/SignatureException.java: Likewise.
12902 * java/security/UnrecoverableKeyException.java: Likewise.
12903 * java/security/UnresolvedPermission.java: Likewise.
12904 * java/security/acl/AclNotFoundException.java: Likewise.
12905 * java/security/acl/LastOwnerException.java: Likewise.
12906 * java/security/acl/NotOwnerException.java: Likewise.
12907 * java/security/cert/CRLException.java: Likewise.
12908 * java/security/cert/CertificateEncodingException.java: Likewise.
12909 * java/security/cert/CertificateException.java: Likewise.
12910 * java/security/cert/CertificateExpiredException.java: Likewise.
12911 * java/security/cert/CertificateFactory.java: Likewise.
12912 * java/security/cert/CertificateNotYetValidException.java: Likewise.
12913 * java/security/cert/CertificateParsingException.java: Likewise.
12914 * java/security/spec/InvalidKeySpecException.java: Likewise.
12915 * java/security/spec/InvalidParameterSpecException.java: Likewise.
12917 * java/security/cert/CertPath.java: New file.
12918 * java/security/cert/CertPathBuilderException.java: New file.
12919 * java/security/cert/CertPathValidatorException.java: New file.
12920 * java/security/cert/CertStoreException.java: New file.
12922 * Makefile.am: Add new CertPath classes.
12923 * Makefile.in: Rebuilt.
12925 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12927 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12929 Merge JDK 1.4 exception chaining support from classpath.
12931 * java/lang/Throwable.java: Merge 1.4 support from classpath.
12932 (stackTraceBytes): Rename from stackTrace.
12933 * java/lang/Exception.java: Merge from classpath.
12934 * java/lang/StackTraceElement: New file from classpath.
12935 * gcj/javaprims.h: Rebuild CNI namespace declarations.
12936 * Makefile.am: Add StackTraceElement.
12937 * Makefile.in: Rebuilt.
12939 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12941 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12943 * Makefile.in: Rebuilt.
12945 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12947 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12948 * configure.in: Likewise.
12949 * aclocal.m4: Regenerate.
12950 * configure: Regenerate.
12952 2002-05-13 Tom Tromey <tromey@redhat.com>
12954 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12955 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12956 Include platform.h.
12958 Fixes PR libgcj/6389:
12959 * Makefile.in: Rebuilt.
12960 * Makefile.am (nat_source_files): Added natTimeZone.cc.
12961 * java/util/natTimeZone.cc: New file.
12962 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12963 * java/lang/System.java: Merged with Classpath.
12964 * java/lang/Runtime.java: Merged with Classpath.
12965 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12967 (setIn0): Renamed from setIn; don't run security check.
12968 (setOut0): Renamed from setOut; don't run security check.
12969 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12970 init_properties): Moved to natRuntime.cc.
12971 Moved many includes to natRuntime.cc.
12972 (isWordsBigEndian): New method.
12973 * java/lang/natRuntime.cc: Include Long.h, also other includes
12974 previously in natSystem.cc.
12975 (maxMemory): New function.
12976 (exitInternal): Renamed from `_exit'.
12978 (init): Don't set finalize_on_exit.
12979 (exitInternal): Use `finalizeOnExit'.
12980 (file_encoding, getpwuid_adaptor): New functions from
12982 (insertSystemProperties): New method, renamed from
12983 System::init_properties. Don't set user.timezone.
12984 (_load): Don't call checkLink.
12985 (execInternal): New method.
12986 (availableProcessors): Likewise.
12987 (nativeGetLibname): Likewise.
12989 2002-05-11 Mark Wielaard <mark@klomp.org>
12991 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12993 (previous_internal): Likewise.
12995 2002-05-09 Tom Tromey <tromey@redhat.com>
12997 * jni.cc (_Jv_JNIFunctions): Fixed typo.
12999 * java/util/ResourceBundle.java: New version from Classpath.
13000 * java/util/Locale.java: Likewise.
13002 2002-05-09 Jakub Jelinek <jakub@redhat.com>
13004 * testsuite/lib/libjava.exp (libjava_arguments): Append all
13005 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
13008 2002-05-08 Mark Mitchell <mark@codesourcery.com>
13010 * libjava/Makefile.am (all_java_source_files): New variable.
13011 (all_java_class_files): Likewise.
13012 .java.class: New rule.
13013 (CLEANFILES): Remove tmp-list.
13014 * libjava/Makefile.in: Regenerated.
13016 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
13018 * testsuite/lib/libjava.exp (test_libjava_from_javac):
13019 Append .exe to executable names. Fix for cygwin.
13021 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
13023 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
13024 script entry, and set LD to it when configuring multilibs.
13025 * configure: Rebuilt.
13027 2002-05-07 Tom Tromey <tromey@redhat.com>
13029 * java/lang/natString.cc (unintern): Fixed typo.
13031 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
13033 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
13034 with -no-install on *-*-cygwin*.
13036 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
13038 * testsuite/lib/libjava.exp (test_libjava_from_source):
13039 Add comment explaining last patch
13041 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
13043 * testsuite/lib/libjava.exp (test_libjava_from_source):
13044 Append .exe to executable names. If no suffix is present,
13045 then ".exe" is added by default on win32. Harmless
13046 elsewhere so always do it.
13048 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
13049 Tom Tromey <tromey@redhat.com>
13051 * java/lang/natSystem.cc (getSystemTimeZone): Use
13052 HAVE_UNDERSCORE_TIMEZONE.
13053 * include/config.h.in: Rebuilt.
13054 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
13055 * aclocal.m4, configure: Rebuilt.
13056 * acinclude.m4: Run AC_EXEEXT.
13057 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
13058 Add test for `_timezone'.
13060 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
13062 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13063 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
13064 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13065 * Makefile.in: Rebuilt.
13067 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
13069 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
13070 use sigaction instead of __libc_sigaction.
13072 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13074 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
13075 (libjava_init): Use it to find libgcj.spec.
13076 (libjava_arguments): Likewise.
13078 2002-05-02 David S. Miller <davem@redhat.com>
13081 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
13082 __libc_sigaction on Sparc.
13084 2002-05-02 Jerome Marc <marcjero@yahoo.com>
13086 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
13087 sys/filio.h, if present.
13089 2002-04-30 Tom Tromey <tromey@redhat.com>
13091 * java/io/BufferedReader.java (fill): Handle case where markPos
13092 point to ignored \n. Fixes PR libgcj/6301.
13094 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
13096 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
13098 2002-04-29 Adam King <aking@dreammechanics.com>
13100 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
13101 of file in APPEND mode.
13103 2002-04-25 David S. Miller <davem@redhat.com>
13106 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
13107 program counter to next program counter minus 8. Update
13108 comments in this macro to explain why.
13110 2002-04-26 Tom Tromey <tromey@redhat.com>
13112 * verify.cc (construct_primitive_array_type) [void_type]: New
13114 (branch_prepass): Added dummy entries for unused instruction
13116 (verify_instructions_0): Likewise.
13117 * interpret.cc (continue1): Comment fix.
13118 * include/java-insns.h (op_xxxunusedxxx1): Removed.
13119 * Makefile.in: Rebuilt.
13120 * Makefile.am: Added -Wswitch-enum.
13122 2002-04-24 Tom Tromey <tromey@redhat.com>
13124 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
13125 correct length of UTF-8 encoded name. Strip leading `/'.
13126 (_Jv_RegisterResource): Use _Jv_Malloc.
13128 2002-04-23 Adam Megacz <adam@xwt.org>
13130 * win32.cc, include/win32.cc (backtrace): Added this function
13131 because Win32 does not supply it.
13133 2002-04-21 David S. Miller <davem@redhat.com>
13135 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
13136 magic instruction reading sequence.
13138 2002-04-21 Mark Wielaard <mark@klomp.org>
13140 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
13142 2002-04-19 David S. Miller <davem@redhat.com>
13144 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
13146 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
13147 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
13149 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
13151 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
13152 * sysdeps/sparc/locks.h: New file.
13153 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
13154 on all sparc Solaris configurations. Set to
13155 include/dwarf2-signal.h on sparc Linux.
13156 * configure: Regenerate
13157 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
13159 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
13161 * configure: Rebuilt.
13162 * configure.in (backtrace): Function doesn't work on IA-64.
13164 2002-04-17 Adam King <aking@dreammechanics.com>
13166 * java/io/File.java (normalizePath): Add Win32 support for auto
13167 conversion of a '/' path separator to Win32's '\' separator.
13169 2002-04-16 Tom Tromey <tromey@redhat.com>
13171 Fix for PR libgcj/6081:
13172 * Makefile.in: Rebuilt.
13173 * Makefile.am (install-data-local): Use GNU make trick to avoid
13176 2002-04-16 Adam King <aking@dreammechanics.com>
13177 Tom Tromey <tromey@redhat.com>
13179 * java/io/natFileWin32.cc (performList): Return the correct array
13180 type. Don't duplicate the creation of a File since it's already
13181 done earlier in the method and the existing code would cause a
13182 ArrayStoreException. Don't use fixed-size array.
13183 (_access, _stat, attr, getCanonicalPath, performMkdir,
13184 performRenameTo): Don't use fixed-size array.
13185 (getCanonicalPath): Use throw, not _Jv_Throw.
13187 2002-04-15 DJ Delorie <dj@redhat.com>
13189 * configure.in: Allow building in $srcdir.
13190 * configure: Regenerated.
13192 2002-04-14 Mark Wielaard <mark@klomp.org>
13194 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
13195 * java/net/natSocketImpl.cc (close): Likewise.
13197 2002-04-14 Mark Wielaard <mark@klomp.org>
13199 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
13201 2002-04-13 Adam King <aking@dreammechanics.com>
13203 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
13204 the f/F/d/D modifiers.
13206 2002-04-12 Anthony Green <green@redhat.com>
13208 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
13209 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
13210 * Makefile.in: Rebuilt.
13211 * configure.in: Substitute gcc_version.
13212 * configure: Rebuilt.
13214 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13216 * configure.host: Set can_unwind_signal on hosts which support it.
13217 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
13218 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
13219 exceptions and can_unwind_signal isn't set.
13220 * configure: Rebuilt.
13222 2002-04-11 Tom Tromey <tromey@redhat.com>
13224 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
13226 2002-04-11 Adam King <aking@dreammechanics.com>
13227 Tom Tromey <tromey@redhat.com>
13229 * include/jvm.h (_Jv_ThrowBadArrayIndex,
13230 _Jv_ThrowNullPointerException): Mark as noreturn.
13231 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
13232 and _Jv_free. Correctly invoke GetTempPath(). Indentation
13235 2002-04-10 Tom Tromey <tromey@redhat.com>
13237 * Makefile.in: Rebuilt.
13238 * Makefile.am (java/lang/Thread.h): Mark
13239 _Jv_AttachCurrentThreadAsDaemon as friend.
13240 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
13241 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
13242 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
13244 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
13245 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
13246 (_Jv_JNI_InvokeFunctions): Added
13247 _Jv_JNI_AttachCurrentThreadAsDaemon.
13248 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
13249 (JNI_GetDefaultJavaVMInitArgs): Likewise.
13250 (JNI_CreateJavaVM): Likewise.
13251 (_Jv_JNI_AttachCurrentThread): Likewise.
13252 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
13253 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
13254 (_Jv_JNIFunctions): Initialize new fields.
13255 (_Jv_JNI_NewDirectByteBuffer): New function.
13256 (_Jv_JNI_GetDirectBufferAddress): Likewise.
13257 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
13258 * include/jni.h (JNI_VERSION_1_4): New macro.
13259 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
13260 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
13261 (JNINativeInterface::NewDirectByteBuffer): New field.
13262 (JNINativeInterface::GetDirectBufferAddress): New field.
13263 (JNINativeInterface::GetDirectBufferCapacity): New field.
13264 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
13265 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
13266 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
13268 2002-04-09 Tom Tromey <tromey@redhat.com>
13270 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
13272 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
13274 Fix for PR libgcj/6187:
13275 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
13278 2002-04-07 Mark Wielaard <mark@klomp.org>
13280 * java/util/AbstractMap.java (putAll): Use entrySet size.
13281 (toString): Explicitly use getKey() and getValue().
13283 2002-04-07 Mark Wielaard <mark@klomp.org>
13285 * java/util/Hashtable.java (contains): Remove NullPointer check.
13286 (containsValue): Add NullPointer check.
13287 (remove): Always throw NullPointerException when key
13290 2002-04-07 Adam King <aking@dreammechanics.com>
13292 * java/lang/natSystem.cc (init_properties): Call new function
13293 _Jv_platform_initProperties.
13294 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
13295 support for the System properties os.name, os.arch, os.version,
13296 user.name, user.home, and user.dir.
13297 * include/posix.h, include/win32.h, posix.cc: New function
13298 _Jv_platform_initProperties.
13300 2002-04-06 Mark Wielaard <mark@klomp.org>
13302 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
13304 2002-04-06 Mark Wielaard <mark@klomp.org>
13306 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
13307 all of the remaining elements.
13308 * java/util/Vector.java (addAll(int,Collection)): Likewise.
13309 (removeRange): If toIndex == fromIndex do
13310 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
13311 (removeAll): Always throw NullPointerException when collection is
13313 (retrainAll): Likewise.
13315 2002-04-05 Mark Wielaard <mark@klomp.org>
13317 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
13318 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
13320 2002-04-05 Adam Megacz <adam@xwt.org>
13322 * exception.cc (abort): added static modifier
13324 2002-04-04 Adam Megacz <adam@xwt.org>
13326 * include/win32.h (_Jv_platform_close_on_exec): added inline
13329 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
13331 * configure.host: Add case statement to support generic port
13332 properties. Add *-*-freebsd* section.
13334 2002-04-04 Mark Wielaard <mark@klomp.org>
13336 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
13338 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
13339 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
13340 that depend on awt code and BufferedByteOutputStream.interrupt.
13342 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13344 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
13345 incorrect "hi" value when count > 40.
13347 2002-04-03 Mark Wielaard <mark@klomp.org>
13349 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
13352 2002-04-02 Tom Tromey <tromey@redhat.com>
13354 * java/lang/natClassLoader.cc (findClass): Compare against `3',
13357 2002-04-02 Mark Wielaard <mark@klomp.org>
13359 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
13360 list of testsuite crashers.
13362 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13364 * java/util/IdentityHashMap.java (put): Set new threshold correctly
13365 when resizing table.
13367 2002-04-01 Mark Wielaard <mark@klomp.org>
13369 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
13370 NegativeArraySizeException
13371 (clear(int)): Use sign extended shift.
13372 (flip(int)): Likewise.
13373 (get(int)): Likewise.
13374 (nextClearBit(int)): Likewise.
13375 (nextSetBit(int)): Likewise.
13376 (set(int)): Likewise.
13378 2002-04-01 Mark Wielaard <mark@klomp.org>
13380 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
13381 that can be compiled now and add testsuite crashers to ignore list.
13383 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
13385 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
13387 * libgcj.spec.in: Override libgcc, not lib.
13388 * libgcj-test.spec.in: Likewise.
13390 2002-03-29 Tom Tromey <tromey@redhat.com>
13392 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
13393 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
13395 2002-03-27 Jeff Sturm <jsturm@one-point.com>
13397 * java/net/PlainDatagramSocketImpl.java
13398 (close): Use native implementation.
13399 (finalize): New method.
13401 * java/net/PlainSocketImpl.java (finalize): New method.
13403 * java/net/natPlainDatagramSocketImpl.cc
13404 (java/io/FileDescriptor.h): Don't include.
13405 (close): Implement method here.
13406 (create): Don't assign fd.
13408 * java/net/natPlainSocketImpl.cc
13409 (java/io/FileDescriptor.h): Don't include.
13410 (create): Don't assign fd.
13411 (accept): Likewise.
13412 (close): Synchronize.
13414 2002-03-27 Richard Henderson <rth@redhat.com>
13416 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
13418 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
13420 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
13421 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
13422 instead of syscall on IA-64.
13425 2002-03-27 Anthony Green <green@redhat.com>
13427 * libgcj.spec.in: Add CHECKREFSPEC.
13428 * configure.in: Ditto.
13429 * configure.host: Ditto. Check references for xscale-elf.
13430 * configure: Rebuilt.
13432 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
13434 * include/dwarf2-signal.h: Temporarily back out last change.
13436 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
13438 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
13440 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
13442 * configure.in, configure: enable dwarf2-exception-style
13443 exception handling on IA-64.
13444 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
13445 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
13448 2002-03-25 Tom Tromey <tromey@redhat.com>
13450 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
13451 (jv_convert_LDFLAGS): Likewise.
13452 (gij_LDFLAGS): Likewise.
13453 (rmic_LDFLAGS): Likewise.
13454 (rmiregistry_LDFLAGS): Likewise.
13455 * configure.in (THREADLDFLAGS): New subst; set correctly for
13458 2002-03-25 Tom Tromey <tromey@redhat.com>
13460 For PR libgcj/5303:
13461 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
13463 (help): New method.
13464 (version): Likewise.
13465 * gnu/gcj/convert/Convert.java (version): Removed extraneous
13467 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
13470 2002-03-25 Tom Tromey <tromey@redhat.com>
13472 * java/awt/Component.java (processEvent): Check ComponentEvent
13475 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13477 * java/io/PushbackReader.java: Reformat.
13479 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
13480 calculate correct number of bytes skipped.
13482 Based on patch from Intel's ORP team:
13483 * java/io/PushbackInputStream.java (available): Calculate correct
13484 number of bytes in buffer.
13485 (read): Remove redundant bound check. Return bytes from both the
13486 buffer and the stream.
13488 2002-03-24 Tom Tromey <tromey@redhat.com>
13490 * java/awt/TextComponent.java (TextComponent): Editable by
13493 * java/awt/MenuItem.java (eventMask): No longer private.
13494 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
13495 superclass if we didn't handle event.
13496 * java/awt/Checkbox.java (dispatchEventImpl): New method.
13497 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
13498 * java/awt/Choice.java (dispatchEventImpl): New method.
13499 * java/awt/List.java (dispatchEventImpl): New method.
13500 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
13501 * java/awt/TextComponent.java (dispatchEventImpl): New method.
13502 * java/awt/TextField.java (dispatchEventImpl): New method.
13504 2002-03-24 Eric Blake <ebb9@email.byu.edu>
13506 * java/beans/IntrospectionException.java: Update to 1.4.
13507 * java/beans/PropertyVetoException.java: Ditto.
13509 2002-03-24 Eric Blake <ebb9@email.byu.edu>
13511 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
13512 Arrays.equals instead of ArrayHelper.equalsArray.
13514 2002-03-24 C. Brian Jones <cbj@gnu.org>
13516 * java/beans/Introspector.java: added new static final fields
13517 introduced in 1.2, lots of other updates remain to be done
13519 2002-03-24 C. Brian Jones <cbj@gnu.org>
13521 * java/beans/Introspector.java: reformatting
13523 2002-03-24 C. Brian Jones <cbj@gnu.org>
13525 * java/beans/Introspector.java: default beanInfoSearchPath will
13526 not include sun.beans.infos given we provide no such package and
13527 the API doesn't really require it; gnu.java.beans.info is the
13530 2002-03-24 Mark Wielaard <mark@klomp.org>
13532 Thanks to Orp developers
13533 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
13534 switch TRUE and FALSE return values.
13536 2002-03-23 Tom Tromey <tromey@redhat.com>
13538 * include/name-finder.h (_Jv_name_finder::myclose): New method.
13539 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
13541 2002-03-23 Michael Smith <msmith@spinnakernet.com>
13543 * java/util/GregorianCalendar.java (minimums, maximums): Correct
13544 MONTH entry. Fixes PR libgcj/6045.
13546 2002-03-23 Jeff Sturm <jsturm@one-point.com>
13548 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
13550 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13552 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
13554 * sysdep/powerpc/locks.h (write_barrier): New function.
13555 * sysdep/i386/locks.h (write_barrier): New function.
13557 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
13559 * include/jni.h Use correct C comments.
13561 2002-03-18 Tom Tromey <tromey@redhat.com>
13563 * include/jni.h (JNIIMPORT): New macro.
13564 (JNIEXPORT): Likewise.
13565 (JNICALL): Likewise.
13567 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13569 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
13572 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
13574 * include/i386-signal.h (old_i386_kernel_sigaction): New.
13575 INIT_SEGV: Use old_i386_kernel_sigaction.
13578 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13580 * java/lang/natSystem.cc (init_properties): Update VM version
13582 * configure.in: Set GCJVERSION.
13583 * acconfig.h: Add GCJVERSION.
13584 * configure: Rebuilt.
13585 * include/config.h.in: Rebuilt.
13587 2002-03-17 Anthony Green <green@redhat.com>
13589 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
13591 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13593 Build a single libgcj.so, without separate gc and zlib libraries.
13594 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
13595 SYS_ZLIBS if system zlib is used.
13596 * configure: Rebuilt.
13597 * Makefile.am: Use boehm-gc and zlib convenience libraries.
13598 * Makefile.in: Rebuilt.
13599 * libtool-version: Increment .so version number.
13601 * Makefile.am: Escape quotes in echo.
13602 * Makefile.in: Rebuilt.
13604 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13606 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
13607 * Makefile.in: Rebuilt.
13609 2002-03-15 Anthony Green <green@redhat.com>
13611 * configure.host (FILE): New macro for specifing File
13613 * configure: Rebuilt.
13614 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
13616 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
13618 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
13619 already implicitly brought in from libgcj.la.
13620 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13621 * Makefile.in: Rebuilt.
13623 2002-03-15 Eric Blake <ebb9@email.byu.edu>
13625 * THANKS: Fix punctuation, alphabetization.
13627 2002-03-15 Tom Tromey <tromey@redhat.com>
13628 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13630 Fix for PR libgcj/5944.
13631 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
13633 2002-03-15 Anthony Green <green@redhat.com>
13635 * configure.in (tool_include_dir): Define.
13636 * configure: Rebuilt.
13637 * gcj/Makefile.am: Install libgcj-config.h relative to
13639 * gcj/Makefile: Rebuilt.
13640 * gcj/libgcj-config.h: Add warning comment.
13642 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
13644 * configure.host (powerpc*-darwin*): Enable interpreter.
13646 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13648 * include/posix.h: Add multiple include header protection.
13649 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
13651 2002-03-10 Adam Megacz <adam@xwt.org>
13653 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
13655 2002-03-10 Tom Tromey <tromey@redhat.com>
13657 * java/awt/GridLayout.java (layoutContainer): Handle case where
13658 there are no items in container.
13660 * java/lang/Win32Process.java: Added comment.
13661 * include/posix.h (_Jv_platform_close_on_exec): New function.
13663 * include/win32.h (_Jv_platform_close_on_exec): New function.
13664 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
13666 (accept): Likewise.
13667 * java/net/natPlainDatagramSocketImpl.cc (create): Set
13668 close-on-exec flag.
13669 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
13672 2002-03-09 Tom Tromey <tromey@redhat.com>
13674 * verify.cc (state::NO_STACK): New constant.
13675 (state::is_unmerged_ret_state): Handle case where stacktop is
13677 (state::merge): Handle NO_STACK merges.
13678 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
13679 for instruction following jsr.
13680 (stacktop, stackdepth): Removed unused variables.
13681 (pop_jump): Ignore case where all remaining states are skipped.
13683 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13685 * java/awt/ImageMediaEntry: Removed.
13686 * java/awt/MediaEntry: Removed.
13688 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13690 Hashtable synchronization for PowerPC.
13691 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
13692 slow_pthread_self. Set up symlink for sysdeps directory.
13693 * configure: Rebuild.
13694 * configure.host: Document more shell variables. Set sysdeps_dir
13695 for most platforms. Set slow_pthread_self for i686. Set
13696 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
13697 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
13698 that memory barrier is emitted where required.
13699 * prims.cc: 64-bit align static primitive class instances.
13700 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
13701 read_barrier() to enforce ordering of reads.
13702 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
13703 primitives for PowerPC.
13704 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
13705 moved from natObject.cc.
13706 * sysdep/alpha/locks.h: Likewise.
13707 * sysdep/ia64/locks.h: Likewise.
13708 * sysdep/generic/locks.h: Likewise.
13709 * java/lang/natObject.cc: Move thread synchronization primitives to
13710 system-dependent headers.
13712 2002-03-09 Adam Megacz <adam@xwt.org>
13714 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
13715 bytes read and no failure code returned.
13717 2002-03-09 Adam Megacz <adam@xwt.org>
13719 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
13720 definitions to simulate -mthreads.
13722 2002-03-09 Adam Megacz <adam@xwt.org>
13724 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
13725 avoid precision loss.
13727 2002-03-09 Per Bothner <per@bothner.com>
13729 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
13730 * gnu/gcj/xlib/XImage.java: Likewise.
13731 * gnu/gcj/xlib/XColor.java: Likewise.
13733 2002-03-09 Adam Megacz <adam@xwt.org>
13735 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
13736 IOException so that Throwable.printStackTrace fails correctly.
13738 2002-03-08 Adam Megacz <adam@xwt.org>
13740 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
13743 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13745 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
13748 2002-03-08 Tom Tromey <tromey@redhat.com>
13750 * include/jni.h: Include stdio.h.
13752 2002-03-08 Tom Tromey <tromey@redhat.com>
13754 * posix.cc (internal_gettimeofday): New function.
13755 (_Jv_select): Use it.
13757 2002-03-07 Adam Megacz <adam@xwt.org>
13759 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
13760 WIN32, and added thunks for read(), write(), and close().
13761 * java/net/natPlainSocketImpl.cc (accept, read, read):
13762 Disabled timeouts on WIN32 pending discussion.
13764 2002-03-07 Adam Megacz <adam@xwt.org>
13766 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
13767 returns jlong. Added implementation
13768 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
13770 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
13772 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
13774 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
13775 _Jv_platform_gettimeofday signature.
13777 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13779 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
13780 (read): Call recv() directly, not _Jv_recv().
13782 2002-03-06 Tom Tromey <tromey@redhat.com>
13784 * java/io/natFileDescriptorEcos.cc (init): Don't use
13786 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
13788 (init): Don't use GetStdHandle.
13790 * include/config.h.in: Rebuilt.
13791 * configure: Rebuilt.
13792 * Makefile.in: Rebuilt.
13794 2002-03-06 Adam Megacz <adam@xwt.org>
13796 * java/io/FileDescriptor.java: Initialize in/out/err in init().
13797 * java/io/natFileDescriptorWin32.cc (init()): Added function.
13798 * java/io/natFileDescriptorPosix.cc (init()): Added function.
13799 * java/io/natFileDescriptorEcos.cc (init()): Added function.
13801 2002-03-06 Eric Blake <ebb9@email.byu.edu>
13803 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
13804 the code for generating include/java-chartables.h.
13805 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
13806 merge with Classpath.
13807 * scripts/unicode-muncher.pl: Copy from Classpath.
13808 * scritps/MakeCharTables.java: New file.
13809 * gnu/gcj/convert/Blocks-3.txt: New file.
13810 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
13811 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
13812 * gnu/java/lang/CharData.java: Copy from Classpath.
13813 * Makefile.am (ordinary_java_source_files): Add
13814 gnu/java/lang/CharData.java.
13815 * configure.in: Remove --enable-fast-character option.
13816 * java/lang/Character.java: Merge algorithms and Javadoc with
13818 * java/lang/natCharacter.cc: Implement Unicode lookup table more
13820 * include/java-chardecomp.h: Regenerate.
13821 * include/java-chartables.h: Regenerate.
13823 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13825 * java/awt/MediaTracker.java: Implemented.
13826 * Makefile.am: Add MediaTracker.
13827 * Makefile.in: Rebuilt.
13829 2002-03-05 Tom Tromey <tromey@redhat.com>
13831 * java/lang/natPosixProcess.cc (fail): Removed.
13832 (startProcess): Simplified error-handling. Preserve
13833 LD_LIBRARY_PATH across exec.
13835 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
13836 AbstractMethodError.
13838 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13840 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
13841 * Makefile.in: Rebuilt.
13843 2002-03-03 Mark Wielaard <mark@klomp.org>
13845 * java/util/Timer (TaskQueue.stop): set elements to zero.
13847 2002-02-28 Anthony Green <green@redhat.com>
13849 * java/lang/reflect/natMethod.cc (result): Add void* element.
13850 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
13853 2002-02-27 Adam Megacz <adam@xwt.org>
13855 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
13858 2002-02-26 Tom Tromey <tromey@redhat.com>
13860 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
13861 * gij.cc (version): Use __VERSION__.
13862 * include/config.h.in: Rebuilt.
13863 * acconfig.h (GCJVERSION): Removed.
13864 * configure: Rebuilt.
13865 * configure.in (GCJVERSION): Removed.
13867 2002-02-26 Andreas Schwab <schwab@suse.de>
13869 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
13870 glibcpp_CXX, since libjava uses even another CXX.
13871 * aclocal.m4, configure: Regenerated.
13873 2002-02-26 Tom Tromey <tromey@redhat.com>
13875 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
13878 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13880 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
13881 dependency tracking for .java files.
13882 * Makefile.in: Rebuilt.
13884 2002-02-24 Adam Megacz <adam@xwt.org>
13886 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
13889 2002-02-24 Adam Megacz <adam@xwt.org>
13891 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
13892 for Win32, changed #ifdefs to check WIN32 instead of the
13893 (now-obsolete) USE_WINSOCK, and removed support for socket
13894 timeouts on Win32 pending further discussion.
13896 2002-02-24 Adam Megacz <adam@xwt.org>
13898 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
13899 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
13902 2002-02-24 Adam Megacz <adam@xwt.org>
13904 * java/lang/Win32Process.java: Created a dummy class to allow
13905 build process to run to completion.
13907 2002-02-24 Jeff Sturm <jsturm@one-point.com>
13909 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
13910 Define ffi_result union for ffi_call result. Cast
13911 ffi_result members to jvalue.
13913 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
13915 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
13916 * testsuite/Makefile.in: Likewise.
13918 2002-02-20 Per Bothner <per@bothner.com>
13920 * java/net/URL.java (getPath): New JDK 1.3 method.
13922 * java/net/URLStreamHandler.java (parseURL):
13923 It is wrong to prepend '/' to the file part of a relative url.
13925 * java/net/URLStreamHandler.java (parseURL):
13926 Minor optizations - append '/' rather than "/".
13928 * java/net/URLStreamHandler.java (parseURL):
13929 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13930 We probably should canonicalize for a context-relative url, though.
13931 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
13932 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
13933 (sameFile): New method. Uses canonicalizeFilename.
13935 2002-02-22 Tom Tromey <tromey@redhat.com>
13937 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13938 java.vendor and java.vm.vendor.
13939 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13940 recent copyright date.
13941 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13942 * gij.cc (version): Print `Inc'.
13944 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13946 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13947 * aclocal.m4, configure: Rebuilt.
13949 2002-02-20 Per Bothner <per@bothner.com>
13951 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
13952 and/or output streams immediately here, instead of using File.exists.
13953 (inputStream, outputStream): New fields to save open streams.
13954 (getInputStream, getOutputStream): Use already-opened streams.
13956 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13958 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13960 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13961 * aclocal.m4, configure, Makefile.in: Rebuilt.
13963 2002-02-19 Tom Tromey <tromey@redhat.com>
13965 Fix for PR libgcj/5696:
13966 * verify.cc (is_assignable_from_slow): Never call
13967 _Jv_IsAssignableFrom.
13968 (verify_instructions_0): Added new debug statement.
13969 (state::print): Print information about whether local has
13971 (state::merge): Don't call note_variable when merging locals.
13972 (state::set_exception): Removed old FIXME comment.
13974 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13976 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13977 enable SO_BROADCAST.
13979 2002-02-18 Jason Merrill <jason@redhat.com>
13981 * name-finder.cc (toHex): Use word mode, not long long.
13983 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13985 2002-02-15 Tom Tromey <tromey@redhat.com>
13987 Fix for PR libgcj/5695:
13988 * verify.cc (is_assignable_from_slow): Check to see if target is
13989 an Object before checking to see if source is an interface.
13990 (verify_instructions_0) [op_invokeinterface]: Handle case where
13991 we're making an interface call on Object.
13993 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13995 * Makefile.in: Rebuilt with Eric's change below.
13997 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13998 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13999 Removed functions which are now implemented in Math.java.
14001 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14003 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
14004 * Makefile.am (core_java_source_files): Add
14005 java/lang/StrictMath.java.
14006 * java/lang/Math.java: Merge with Classpath.
14007 * java/lang/StrictMath.java: New file - merge with Classpath.
14009 2002-02-14 Mark Wielaard <mark@klomp.org>
14011 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
14012 package as a workaround for gcj 3.0.x
14014 2002-02-14 Mark Wielaard <mark@klomp.org>
14016 * java/security/BasicPermission.java: extends with fully qualified
14017 classname as workaround for gcj 3.0.4.
14019 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14021 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
14022 around gcj bug of wrong emitted qualifier for inherited method.
14023 * java/net/SocketImpl.java (setOption, getOption): Ditto.
14024 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
14025 constructor to reduce amount of emitted bytecode. While this
14026 happens to work around a jikes 1.15 bug, it is still a useful
14027 patch even for correct compilers.
14028 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
14029 * gnu/java/rmi/server/UnicastRemoteCall.java
14030 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
14032 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14034 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
14035 * java/net/SocketImpl.java: Ditto.
14036 * java/rmi/server/RMIClassLoader.java: Ditto.
14037 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
14039 2002-02-14 Mark Wielaard <mark@klomp.org>
14041 Thanks to Takashi Okamoto
14042 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
14043 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
14044 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
14046 2002-02-13 Todd Stock <toddastock@yahoo.com>
14048 Fix for PR libgcj/5670:
14049 * verify.cc (is_assignable_from_slow): If `source' is interface,
14050 recursively look for merge with `target'.
14052 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
14054 * include/jni.h: Fix typo.
14056 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
14058 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
14061 2002-02-13 Todd Stock <toddastock@yahoo.com>
14063 Fix for PR libgcj/5671:
14064 * verify.cc (state::merge): Handle case where we're merging
14065 against an interface.
14067 2002-02-12 Tom Tromey <tromey@redhat.com>
14069 * exception.cc (std::abort): Mark as noreturn.
14071 2002-02-12 Adam Megacz <adam@xwt.org>
14073 * java/lang/Win32Process.java: Filled in a placeholder
14074 implementation so Win32 will build.
14076 2002-02-12 Adam Megacz <adam@xwt.org>
14078 * java/io/natFilePosix.cc: Copied this from natFile.cc.
14079 * java/io/natFile.cc: Removed from repository.
14080 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
14082 2002-02-12 Adam Megacz <adam@xwt.org>
14084 * win32.cc: Added two #includes to make win32.cc compile.
14086 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14088 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
14090 (_Jv_InitGC): Don't bother locking, as this is always called from a
14091 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
14093 2002-02-11 Adam Megacz <adam@xwt.org>
14095 * include/win32.h: Added _Jv_platform_gettimeofday.
14096 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
14098 2002-02-11 Adam Megacz <adam@xwt.org>
14100 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
14101 Added #undef STRICT to make windows.h and
14102 java/lang/reflect/Modifier.h cooperate.
14104 2002-02-11 Adam Megacz <adam@xwt.org>
14106 * java/io/natFileWin32.cc: Created a placeholder class with lots
14109 2002-02-11 Adam Megacz <adam@xwt.org>
14111 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
14112 std::abort() to simply abort(). Also added "fake" std::abort() so
14113 we can #include unwind-pe.h without having to link against
14116 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
14118 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
14120 2002-02-08 Tom Tromey <tromey@redhat.com>
14122 * interpret.cc (convert): New function.
14123 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
14127 2002-02-08 Anthony Green <green@redhat.com>
14129 * configure.host: Add support for xscale-elf embedded target.
14131 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
14133 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
14135 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
14138 2002-02-07 Tom Tromey <tromey@redhat.com>
14140 * java/io/natFile.cc (_access): Use __builtin_alloca.
14143 (getCanonicalPath): Likewise.
14144 (performList): Likewise.
14145 (performMkdir): Likewise.
14146 (performSetReadOnly): Likewise.
14147 (performRenameTo): Likewise.
14148 (performSetLastModified): Likewise.
14149 (performCreate): Likewise.
14150 (performDelete): Likewise.
14152 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14154 * HACKING: Fix URL for the automake-gcj.
14156 2002-02-07 Tom Tromey <tromey@redhat.com>
14158 * java/lang/natThrowable.cc: Updated copyright.
14159 * java/io/natFileWin32.cc: Updated copyright.
14160 * java/io/natFileDescriptorWin32.cc: Updated copyright.
14161 * win32-threads.cc: Updated copyright.
14162 * name-finder.cc: Updated copyright.
14163 * include/name-finder.h: Updated copyright.
14165 * include/name-finder.h: Conditionally include sys/wait.h.
14166 * include/config.h.in: Rebuilt.
14168 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
14169 Size buffer based on real size of string.
14172 (getCanonicalPath): Likewise.
14173 (performList): Likewise.
14174 (performMkdir): Likewise.
14175 (performSetReadOnly): Likewise.
14176 (unixroot): Removed.
14177 (performRenameTo): Likewise.
14178 (performSetLastModified): Likewise.
14179 (performCreate): Likewise.
14180 (performDelete): Likewise.
14181 (performListRoots): Always return new array.
14183 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
14184 * win32.cc (win32_exception_handler): Now static.
14185 * include/win32.h (_Jv_platform_initialize): Declare.
14186 (win32_exception_handler): Don't declare.
14187 * java/lang/natSystem.cc (currentTimeMillis): Use
14188 _Jv_platform_gettimeofday.
14189 * posix.cc (_Jv_platform_gettimeofday): Renamed.
14190 (_Jv_select): Use new name.
14191 (_Jv_platform_initialize): New function.
14192 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
14194 (_Jv_platform_initialize): Declare.
14196 * configure: Rebuilt.
14197 * configure.in: Removed unnecessary parens.
14199 2002-02-06 Adam Megacz <adam@xwt.org>
14201 * configure.in: Changed mingw) to *mingw*).
14202 * win32.cc: Created this file.
14203 * win32.h: Created this file.
14204 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
14205 win32_exception_handler from prims.cc to win32.cc, added
14207 * prims.cc: removed some #ifdef-WIN32'd headers which are no
14208 longer needed now that we have platform.h
14210 2002-02-06 Adam Megacz <adam@xwt.org>
14212 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
14213 use uint<n>_t instead of LONG and BYTE
14215 2002-02-06 Adam Megacz <adam@xwt.org>
14217 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
14219 2002-02-06 Anthony Green <green@redhat.com>
14221 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
14222 Implement missing method stubs.
14223 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
14225 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
14226 concept of timezones.
14227 (init_properties): Don't refer to _Jv_Environment_Properties
14228 when this feature is not available.
14229 * include/config.h.in: Rebuilt.
14230 * acconfig.h: Add DISABLE_MAIN_ARGS.
14231 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
14232 * configure: Rebuilt.
14233 * configure.in: Add --disable-main-args option. Test for
14234 opendir function. Replace AC_CHECK_SIZEOF with
14235 AC_COMPILE_CHECK_SIZEOF.
14236 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
14237 * aclocal.m4: Rebuilt.
14238 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
14240 2002-02-06 Tom Tromey <tromey@redhat.com>
14242 * verify.cc (require_array_type): If argument is a null array of
14243 references, return null as the element type.
14245 2002-02-06 Mark Wielaard <mark@klomp.org>
14247 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
14248 duplicate of a wide type.
14250 2002-02-06 Tom Tromey <tromey@redhat.com>
14252 * verify.cc (type::isnull): New method.
14253 (require_array_type): Handle case where array is null.
14254 (verify_instructions_0) [op_arraylength]: Likewise.
14256 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14258 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
14259 Symlink PLATFORMH to platform.h.
14260 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
14262 * java/lang/natSystem.cc: #include platform.h not posix.h.
14263 * Makefile.in: Rebuilt with libgcj automake.
14264 * configure: Rebuilt.
14266 2002-02-05 Richard Henderson <rth@redhat.com>
14268 * Makefile.in: Undo munging last change.
14270 2002-02-04 Adam Megacz <adam@xwt.org>
14272 * win32.cc: Created it.
14273 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
14274 which is set to posix.cc or win32.cc.
14275 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
14277 2002-02-04 Adam Megacz <adam@xwt.org>
14279 * configure.in: Corrected mingw case branches; added * before
14282 2002-02-04 Adam Megacz <adam@xwt.org>
14284 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
14285 if compiling for win32
14287 2002-02-04 Adam Megacz <adam@xwt.org>
14289 * win32-threads.cc: #undef STRICT after gc.h inclusion
14291 2002-02-02 Tom Tromey <tromey@redhat.com>
14293 * Makefile.in: Rebuilt.
14295 2002-02-02 Jason Merrill <jason@redhat.com>
14297 * Makefile.am (clean-nat): New target.
14299 2002-02-02 Tom Tromey <tromey@redhat.com>
14301 * java/io/natFile.cc: Removed old "FIXME" comments.
14303 2002-02-01 Tom Tromey <tromey@redhat.com>
14305 * java/lang/natPosixProcess.cc (myclose): New function.
14307 (startProcess): Likewise.
14309 2002-02-01 Adam Megacz <adam@xwt.org>
14311 * prims.cc: Added #undef STRICT after #include<windows.h>.
14313 2002-02-01 Adam Megacz <adam@xwt.org>
14316 (_Jv_CreateJavaVM): We now use WIN32 instead of
14317 USE_WIN32_SIGNALLING and USE_WINSOCK.
14318 (win32_exception_handler): Now throws an exception out of
14319 the signal handler; assumes SJLJ.
14321 2002-02-01 Adam Megacz <adam@xwt.org>
14323 * win32-threads.cc:
14324 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
14325 wait() algorithm to make it safe.
14326 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
14327 Added lazy creation of Win32 Events for better performance
14328 (really_start): This now uses GC_CreateThread so boehm-gc
14329 knows about new threads even when statically linked.
14331 2002-02-01 Adam Megacz <adam@xwt.org>
14333 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
14334 enable safer wait() algorithm.
14335 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
14336 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
14337 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
14338 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
14340 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
14342 2002-02-01 Adam Megacz <adam@xwt.org>
14344 * configure.in: Added support for mingw.
14345 * java/lang/Win32Process.java: Created as empty file.
14346 * java/lang/natWin32Process.cc: Created as empty file.
14348 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
14351 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
14352 for libiconv in LIBICONV variable.
14353 * configure: Regenerated.
14355 2002-01-31 Tom Tromey <tromey@redhat.com>
14357 * verify.cc (state::enter_subroutine): New method.
14358 (handle_jsr_insn): Use it.
14359 (state::merge): When processing a `ret', correctly use
14360 subroutine's state to determine which local variables have
14362 (push_exception_jump): Don't let stack overflow.
14364 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
14366 * gnu/gcj/convert/Convert.java: Only include one copyright year in
14369 2002-01-30 Tom Tromey <tromey@redhat.com>
14371 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
14372 parameter for `recv' return type.
14374 * verify.cc (handle_ret_insn): Check for subroutine merge here...
14375 (state::merge): ... not here.
14376 (subr_entry_info): New structure.
14377 (entry_points): New field.
14378 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
14381 2002-01-29 Tom Tromey <tromey@redhat.com>
14383 * java/awt/List.java (addNotify): Correctly check to see if peer
14386 * java/awt/GridLayout.java (layoutContainer): Use number of rows
14387 to compute height of each cell, and number of columns to compute
14388 width of each cell.
14389 * java/awt/Window.java (getOwnedWindows): Don't return null.
14390 * java/awt/FlowLayout.java (layoutContainer): Set width and height
14391 of component. Increment x using horizontal gap, not vertical
14394 2002-01-28 Tom Tromey <tromey@redhat.com>
14396 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
14397 `nargs' byte is number of words, not number of arguments.
14399 2002-01-27 Tom Tromey <tromey@redhat.com>
14401 * java/awt/event/MouseEvent.java (modifiers): Removed field.
14403 * java/awt/event/InputEvent.java (modifiers, when): Now
14406 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
14408 (state::merge): Use current class' class loader.
14409 (state::print): Print subroutine.
14410 (state::merge): Don't look at subroutine of unmerged `ret'.
14412 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
14414 * nogc.cc: Remove warnings.
14415 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
14418 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14420 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
14421 int, int): Remove empty "if" statement to work around compiler bug.
14422 (newPixels(int[], ColorModel, int, int): Likewise.
14424 2002-01-25 Per Bothner <per@bothner.com>
14426 * verify.cc (verify_fail): Change from being a top-level function
14427 to e method of _Jv_BytecodeVerifier. Emit current method name.
14428 Pass the current verifier to type: and state: methods as needed,
14429 for better error messages, and for resolve.
14430 (resolve): Pass current class's loader for Class.forName and
14431 _Jv_FindClassFromSignature, rather than using the default loader.
14432 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
14433 (get_type_val_for_signature): Make non-static.
14434 (various methods): Pass start_PC implicitly, not explicitly.
14436 2002-01-25 Tom Tromey <tromey@redhat.com>
14438 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
14439 loop termination condition.
14440 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
14443 2002-01-24 Tom Tromey <tromey@redhat.com>
14445 * java/awt/Shape.java: Merged with Classpath.
14446 * java/awt/Scrollbar.java: Merged with Classpath.
14448 * java/awt/Container.java (addNotify): Unconditionally call
14449 addNotifyContainerChildren and superclass addNotify.
14451 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
14452 getAlpha, not getBlue.
14454 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14456 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
14458 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
14459 (grabPixels(long)): Wait to be notified that the ImageProducer has
14462 2002-01-24 Per Bothner <per@bothner.com>
14464 * verify.cc (is_assignable_from_slow): If target is an interface,
14465 we must still check the source's superclass before giving up.
14467 2002-01-24 Tom Tromey <tromey@redhat.com>
14469 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
14471 2002-01-23 Tom Tromey <tromey@redhat.com>
14473 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
14476 * Makefile.in: Rebuilt.
14477 * Makefile.am (awt_java_source_files): Added new files.
14478 * java/awt/Toolkit.java: Merged with Classpath.
14479 * java/awt/PrintGraphics.java: New file from Classpath.
14480 * java/awt/PrintJob.java: New file from Classpath.
14481 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
14482 * java/awt/datatransfer/ClipboardOwner.java: New file from
14484 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
14485 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
14486 * java/awt/datatransfer/MimeTypeParseException.java: New file from
14488 * java/awt/datatransfer/StringSelection.java: New file from
14490 * java/awt/datatransfer/SystemFlavorMap.java: New file from
14492 * java/awt/datatransfer/Transferable.java: New file from
14494 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
14497 * Makefile.in: Rebuilt.
14498 * Makefile.am (awt_java_source_files): Added new files.
14499 * java/awt/image/AreaAveragingScaleFilter.java: New file from
14501 * java/awt/image/CropImageFilter.java: New file from Classpath.
14502 * java/awt/image/FilteredImageSource.java: New file from
14504 * java/awt/image/ImageFilter.java: New file from Classpath.
14505 * java/awt/image/MemoryImageSource.java: New file from Classpath.
14506 * java/awt/image/PixelGrabber.java: New file from Classpath.
14507 * java/awt/image/RGBImageFilter.java: New file from Classpath.
14508 * java/awt/image/ReplicateScaleFilter.java: New file from
14510 * java/awt/image/ImageProducer.java: Replaced with Classpath
14512 * java/awt/image/ImageObserver.java: Replaced with Classpath
14514 * java/awt/image/ImageConsumer.java: Replaced with Classpath
14516 * java/awt/GridBagConstraints.java (clone): Catch
14517 CloneNotSupportedException.
14519 2002-01-23 Per Bothner <per@bothner.com>
14521 * java/lang/reflect/natField.cc (setAddr): New function.
14522 Calls getAddr and then checks that the field isn't final.
14523 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
14524 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
14525 (set): Call setAddr before check that new value has right type,
14526 to better match specified semantics.
14528 2002-01-22 Tom Tromey <tromey@redhat.com>
14530 * java/awt/TextField.java: Replaced with Classpath version.
14531 * java/awt/TextArea.java: Replaced with Classpath version.
14532 * java/awt/TextComponent.java: Replaced with Classpath version.
14534 * java/awt/GridBagConstraints.java: Updated copyright.
14536 2002-01-22 Mark Wielaard <mark@klomp.org>
14538 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
14539 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
14540 java/awt/Dialog.java java/awt/FileDialog.java
14541 java/awt/Font.java java/awt/FontMetrics.java
14542 java/awt/Image.java java/awt/ImageMediaEntry.java
14543 java/awt/Insets.java java/awt/List.java
14544 java/awt/MediaEntry.java java/awt/MediaTracker.java
14545 java/awt/Menu.java java/awt/MenuBar.java
14546 java/awt/MenuContainer.java java/awt/MenuShortcut.java
14547 java/awt/PaintContext.java java/awt/Panel.java
14548 java/awt/PopupMenu.java java/awt/SystemColor.java
14549 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
14550 java/awt/peer/CheckboxMenuItemPeer.java
14551 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
14552 java/awt/peer/ComponentPeer.java
14553 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
14554 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
14555 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
14556 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
14557 java/awt/peer/MenuBarPeer.java
14558 java/awt/peer/MenuComponentPeer.java
14559 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
14560 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
14561 java/awt/peer/ScrollPanePeer.java
14562 java/awt/peer/ScrollbarPeer.java
14563 java/awt/peer/TextAreaPeer.java
14564 java/awt/peer/TextComponentPeer.java
14565 java/awt/peer/TextFieldPeer.java
14566 java/awt/peer/WindowPeer.java: Add license clarification.
14568 2002-01-22 Mark Wielaard <mark@klomp.org>
14570 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
14571 gnu/gcj/runtime/StringBuffer.java
14572 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
14573 gnu/java/awt/ComponentDataBlitOp.java
14574 gnu/java/awt/GLightweightPeer.java
14575 gnu/java/beans/BeanInfoEmbryo.java
14576 gnu/java/beans/EmptyBeanInfo.java
14577 gnu/java/beans/ExplicitBeanInfo.java
14578 gnu/java/beans/IntrospectionIncubator.java
14579 gnu/java/beans/editors/ColorEditor.java
14580 gnu/java/beans/editors/FontEditor.java
14581 gnu/java/beans/editors/NativeBooleanEditor.java
14582 gnu/java/beans/editors/NativeByteEditor.java
14583 gnu/java/beans/editors/NativeDoubleEditor.java
14584 gnu/java/beans/editors/NativeFloatEditor.java
14585 gnu/java/beans/editors/NativeIntEditor.java
14586 gnu/java/beans/editors/NativeLongEditor.java
14587 gnu/java/beans/editors/NativeShortEditor.java
14588 gnu/java/beans/editors/StringEditor.java
14589 gnu/java/beans/info/ComponentBeanInfo.java
14590 gnu/java/io/ClassLoaderObjectInputStream.java
14591 gnu/java/io/NullOutputStream.java
14592 gnu/java/io/ObjectIdentityWrapper.java
14593 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
14594 gnu/java/lang/reflect/TypeSignature.java
14595 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
14596 gnu/java/locale/Calendar_en.java
14597 gnu/java/locale/Calendar_nl.java
14598 gnu/java/locale/LocaleInformation.java
14599 gnu/java/locale/LocaleInformation_de.java
14600 gnu/java/locale/LocaleInformation_en.java
14601 gnu/java/locale/LocaleInformation_nl.java
14602 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
14603 gnu/java/rmi/registry/RegistryImpl.java
14604 gnu/java/rmi/rmic/Compile_gcj.java
14605 gnu/java/rmi/rmic/Compiler.java
14606 gnu/java/rmi/rmic/CompilerProcess.java
14607 gnu/java/rmi/rmic/RMIC.java
14608 gnu/java/rmi/rmic/TabbedWriter.java
14609 gnu/java/rmi/server/ProtocolConstants.java
14610 gnu/java/rmi/server/RMIDefaultSocketFactory.java
14611 gnu/java/rmi/server/RMIHashes.java
14612 gnu/java/rmi/server/RMIObjectInputStream.java
14613 gnu/java/rmi/server/RMIObjectOutputStream.java
14614 gnu/java/rmi/server/UnicastConnection.java
14615 gnu/java/rmi/server/UnicastConnectionManager.java
14616 gnu/java/rmi/server/UnicastRef.java
14617 gnu/java/rmi/server/UnicastRemoteCall.java
14618 gnu/java/rmi/server/UnicastRemoteStub.java
14619 gnu/java/rmi/server/UnicastServer.java
14620 gnu/java/rmi/server/UnicastServerRef.java
14621 gnu/java/security/provider/DefaultPolicy.java
14622 gnu/java/security/provider/Gnu.java
14623 gnu/java/security/provider/SHA.java
14624 gnu/java/security/provider/SHA1PRNG.java
14625 gnu/java/text/BaseBreakIterator.java
14626 gnu/java/text/CharacterBreakIterator.java
14627 gnu/java/text/LineBreakIterator.java
14628 gnu/java/text/SentenceBreakIterator.java
14629 gnu/java/text/WordBreakIterator.java
14630 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
14631 java/applet/AppletContext.java java/applet/AppletStub.java
14632 java/applet/AudioClip.java java/awt/AWTError.java
14633 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
14634 java/awt/AWTException.java java/awt/AWTPermission.java
14635 java/awt/ActiveEvent.java java/awt/BorderLayout.java
14636 java/awt/Button.java java/awt/Canvas.java
14637 java/awt/CardLayout.java java/awt/Checkbox.java
14638 java/awt/CheckboxGroup.java java/awt/Component.java
14639 java/awt/ComponentOrientation.java java/awt/Container.java
14640 java/awt/Dimension.java java/awt/Event.java
14641 java/awt/EventDispatchThread.java java/awt/EventQueue.java
14642 java/awt/FlowLayout.java java/awt/Frame.java
14643 java/awt/Graphics.java java/awt/Graphics2D.java
14644 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
14645 java/awt/IllegalComponentStateException.java
14646 java/awt/ItemSelectable.java java/awt/Label.java
14647 java/awt/LayoutManager.java java/awt/LayoutManager2.java
14648 java/awt/MenuComponent.java java/awt/MenuItem.java
14649 java/awt/Paint.java java/awt/Point.java
14650 java/awt/Rectangle.java java/awt/RenderingHints.java
14651 java/awt/Transparency.java java/awt/Window.java
14652 java/awt/color/ColorSpace.java
14653 java/awt/color/ICC_ColorSpace.java
14654 java/awt/color/ICC_Profile.java
14655 java/awt/event/HierarchyBoundsAdapter.java
14656 java/awt/event/HierarchyBoundsListener.java
14657 java/awt/event/HierarchyEvent.java
14658 java/awt/event/HierarchyListener.java
14659 java/awt/geom/AffineTransform.java
14660 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
14661 java/awt/geom/IllegalPathStateException.java
14662 java/awt/geom/Line2D.java
14663 java/awt/geom/NoninvertibleTransformException.java
14664 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
14665 java/awt/geom/Rectangle2D.java
14666 java/awt/geom/RectangularShape.java
14667 java/awt/geom/RoundRectangle2D.java
14668 java/awt/image/BufferedImage.java
14669 java/awt/image/ColorModel.java
14670 java/awt/image/ComponentColorModel.java
14671 java/awt/image/ComponentSampleModel.java
14672 java/awt/image/DataBuffer.java
14673 java/awt/image/DataBufferByte.java
14674 java/awt/image/DataBufferInt.java
14675 java/awt/image/DataBufferUShort.java
14676 java/awt/image/DirectColorModel.java
14677 java/awt/image/PackedColorModel.java
14678 java/awt/image/Raster.java java/awt/image/RasterOp.java
14679 java/awt/image/SampleModel.java
14680 java/awt/image/SinglePixelPackedSampleModel.java
14681 java/awt/image/WritableRaster.java
14682 java/beans/AppletInitializer.java
14683 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
14684 java/beans/Beans.java java/beans/Customizer.java
14685 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
14686 java/beans/FeatureDescriptor.java
14687 java/beans/IndexedPropertyDescriptor.java
14688 java/beans/IntrospectionException.java
14689 java/beans/Introspector.java java/beans/MethodDescriptor.java
14690 java/beans/ParameterDescriptor.java
14691 java/beans/PropertyChangeEvent.java
14692 java/beans/PropertyChangeListener.java
14693 java/beans/PropertyChangeSupport.java
14694 java/beans/PropertyDescriptor.java
14695 java/beans/PropertyEditor.java
14696 java/beans/PropertyEditorManager.java
14697 java/beans/PropertyEditorSupport.java
14698 java/beans/PropertyVetoException.java
14699 java/beans/SimpleBeanInfo.java
14700 java/beans/VetoableChangeListener.java
14701 java/beans/VetoableChangeSupport.java
14702 java/beans/Visibility.java
14703 java/beans/beancontext/BeanContext.java
14704 java/beans/beancontext/BeanContextChild.java
14705 java/beans/beancontext/BeanContextChildComponentProxy.java
14706 java/beans/beancontext/BeanContextChildSupport.java
14707 java/beans/beancontext/BeanContextContainerProxy.java
14708 java/beans/beancontext/BeanContextEvent.java
14709 java/beans/beancontext/BeanContextMembershipEvent.java
14710 java/beans/beancontext/BeanContextMembershipListener.java
14711 java/beans/beancontext/BeanContextProxy.java
14712 java/beans/beancontext/BeanContextServiceAvailableEvent.java
14713 java/beans/beancontext/BeanContextServiceProvider.java
14714 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
14715 java/beans/beancontext/BeanContextServiceRevokedEvent.java
14716 java/beans/beancontext/BeanContextServiceRevokedListener.java
14717 java/beans/beancontext/BeanContextServices.java
14718 java/beans/beancontext/BeanContextServicesListener.java
14719 java/io/BufferedInputStream.java
14720 java/io/BufferedOutputStream.java java/io/BufferedReader.java
14721 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
14722 java/io/ByteArrayOutputStream.java
14723 java/io/CharArrayReader.java java/io/CharArrayWriter.java
14724 java/io/CharConversionException.java java/io/DataInput.java
14725 java/io/DataInputStream.java java/io/DataOutput.java
14726 java/io/EOFException.java java/io/Externalizable.java
14727 java/io/FileFilter.java java/io/FileNotFoundException.java
14728 java/io/FilePermission.java java/io/FileReader.java
14729 java/io/FileWriter.java java/io/FilenameFilter.java
14730 java/io/FilterInputStream.java java/io/FilterOutputStream.java
14731 java/io/FilterReader.java java/io/FilterWriter.java
14732 java/io/IOException.java java/io/InputStream.java
14733 java/io/InterruptedIOException.java
14734 java/io/InvalidClassException.java
14735 java/io/InvalidObjectException.java
14736 java/io/NotActiveException.java
14737 java/io/NotSerializableException.java java/io/ObjectInput.java
14738 java/io/ObjectInputStream.java
14739 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
14740 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
14741 java/io/ObjectStreamConstants.java
14742 java/io/ObjectStreamException.java
14743 java/io/ObjectStreamField.java
14744 java/io/OptionalDataException.java java/io/OutputStream.java
14745 java/io/PipedInputStream.java java/io/PipedOutputStream.java
14746 java/io/PipedReader.java java/io/PipedWriter.java
14747 java/io/PrintWriter.java java/io/PushbackInputStream.java
14748 java/io/PushbackReader.java java/io/Reader.java
14749 java/io/SequenceInputStream.java java/io/Serializable.java
14750 java/io/SerializablePermission.java
14751 java/io/StreamCorruptedException.java
14752 java/io/StreamTokenizer.java
14753 java/io/StringBufferInputStream.java java/io/StringReader.java
14754 java/io/StringWriter.java java/io/SyncFailedException.java
14755 java/io/UTFDataFormatException.java
14756 java/io/UnsupportedEncodingException.java
14757 java/io/WriteAbortedException.java java/io/Writer.java
14758 java/lang/AbstractMethodError.java
14759 java/lang/ArithmeticException.java
14760 java/lang/ArrayIndexOutOfBoundsException.java
14761 java/lang/ArrayStoreException.java java/lang/Boolean.java
14762 java/lang/Byte.java java/lang/CharSequence.java
14763 java/lang/ClassCastException.java
14764 java/lang/ClassCircularityError.java
14765 java/lang/ClassFormatError.java
14766 java/lang/ClassNotFoundException.java
14767 java/lang/CloneNotSupportedException.java
14768 java/lang/Cloneable.java java/lang/Comparable.java
14769 java/lang/Compiler.java java/lang/Double.java
14770 java/lang/Error.java java/lang/Exception.java
14771 java/lang/ExceptionInInitializerError.java
14772 java/lang/Float.java java/lang/IllegalAccessError.java
14773 java/lang/IllegalAccessException.java
14774 java/lang/IllegalArgumentException.java
14775 java/lang/IllegalMonitorStateException.java
14776 java/lang/IllegalStateException.java
14777 java/lang/IllegalThreadStateException.java
14778 java/lang/IncompatibleClassChangeError.java
14779 java/lang/IndexOutOfBoundsException.java
14780 java/lang/InheritableThreadLocal.java
14781 java/lang/InstantiationError.java
14782 java/lang/InstantiationException.java java/lang/Integer.java
14783 java/lang/InternalError.java
14784 java/lang/InterruptedException.java
14785 java/lang/LinkageError.java java/lang/Long.java
14786 java/lang/NegativeArraySizeException.java
14787 java/lang/NoClassDefFoundError.java
14788 java/lang/NoSuchFieldError.java
14789 java/lang/NoSuchFieldException.java
14790 java/lang/NoSuchMethodError.java
14791 java/lang/NoSuchMethodException.java
14792 java/lang/NullPointerException.java java/lang/Number.java
14793 java/lang/NumberFormatException.java
14794 java/lang/OutOfMemoryError.java java/lang/Package.java
14795 java/lang/Process.java java/lang/Runnable.java
14796 java/lang/RuntimeException.java
14797 java/lang/RuntimePermission.java
14798 java/lang/SecurityException.java
14799 java/lang/SecurityManager.java java/lang/Short.java
14800 java/lang/StackOverflowError.java java/lang/StringBuffer.java
14801 java/lang/StringIndexOutOfBoundsException.java
14802 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
14803 java/lang/ThreadLocal.java java/lang/UnknownError.java
14804 java/lang/UnsatisfiedLinkError.java
14805 java/lang/UnsupportedClassVersionError.java
14806 java/lang/UnsupportedOperationException.java
14807 java/lang/VerifyError.java java/lang/VirtualMachineError.java
14808 java/lang/Void.java java/lang/ref/PhantomReference.java
14809 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
14810 java/lang/ref/SoftReference.java
14811 java/lang/ref/WeakReference.java
14812 java/lang/reflect/AccessibleObject.java
14813 java/lang/reflect/InvocationTargetException.java
14814 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
14815 java/lang/reflect/ReflectPermission.java
14816 java/math/BigDecimal.java java/math/BigInteger.java
14817 java/net/Authenticator.java java/net/BindException.java
14818 java/net/ConnectException.java java/net/ContentHandler.java
14819 java/net/ContentHandlerFactory.java
14820 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
14821 java/net/FileNameMap.java java/net/MalformedURLException.java
14822 java/net/MulticastSocket.java java/net/NetPermission.java
14823 java/net/NoRouteToHostException.java
14824 java/net/PasswordAuthentication.java
14825 java/net/ProtocolException.java java/net/ServerSocket.java
14826 java/net/Socket.java java/net/SocketException.java
14827 java/net/SocketImpl.java java/net/SocketImplFactory.java
14828 java/net/SocketOptions.java java/net/SocketPermission.java
14829 java/net/URLDecoder.java java/net/URLEncoder.java
14830 java/net/URLStreamHandlerFactory.java
14831 java/net/UnknownHostException.java
14832 java/net/UnknownServiceException.java
14833 java/rmi/AccessException.java
14834 java/rmi/AlreadyBoundException.java
14835 java/rmi/ConnectException.java
14836 java/rmi/ConnectIOException.java
14837 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
14838 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
14839 java/rmi/NotBoundException.java
14840 java/rmi/RMISecurityException.java
14841 java/rmi/RMISecurityManager.java java/rmi/Remote.java
14842 java/rmi/RemoteException.java java/rmi/ServerError.java
14843 java/rmi/ServerException.java
14844 java/rmi/ServerRuntimeException.java
14845 java/rmi/StubNotFoundException.java
14846 java/rmi/UnexpectedException.java
14847 java/rmi/UnknownHostException.java
14848 java/rmi/UnmarshalException.java
14849 java/rmi/activation/Activatable.java
14850 java/rmi/activation/ActivateFailedException.java
14851 java/rmi/activation/ActivationDesc.java
14852 java/rmi/activation/ActivationException.java
14853 java/rmi/activation/ActivationGroup.java
14854 java/rmi/activation/ActivationGroupDesc.java
14855 java/rmi/activation/ActivationGroupID.java
14856 java/rmi/activation/ActivationID.java
14857 java/rmi/activation/ActivationInstantiator.java
14858 java/rmi/activation/ActivationMonitor.java
14859 java/rmi/activation/ActivationSystem.java
14860 java/rmi/activation/Activator.java
14861 java/rmi/activation/UnknownGroupException.java
14862 java/rmi/activation/UnknownObjectException.java
14863 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
14864 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
14865 java/rmi/registry/Registry.java
14866 java/rmi/registry/RegistryHandler.java
14867 java/rmi/server/ExportException.java
14868 java/rmi/server/LoaderHandler.java
14869 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
14870 java/rmi/server/Operation.java
14871 java/rmi/server/RMIClassLoader.java
14872 java/rmi/server/RMIClientSocketFactory.java
14873 java/rmi/server/RMIFailureHandler.java
14874 java/rmi/server/RMIServerSocketFactory.java
14875 java/rmi/server/RMISocketFactory.java
14876 java/rmi/server/RemoteCall.java
14877 java/rmi/server/RemoteObject.java
14878 java/rmi/server/RemoteRef.java
14879 java/rmi/server/RemoteServer.java
14880 java/rmi/server/RemoteStub.java
14881 java/rmi/server/ServerCloneException.java
14882 java/rmi/server/ServerNotActiveException.java
14883 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
14884 java/rmi/server/SkeletonMismatchException.java
14885 java/rmi/server/SkeletonNotFoundException.java
14886 java/rmi/server/SocketSecurityException.java
14887 java/rmi/server/UID.java
14888 java/rmi/server/UnicastRemoteObject.java
14889 java/rmi/server/Unreferenced.java
14890 java/security/AccessControlContext.java
14891 java/security/AccessControlException.java
14892 java/security/AccessController.java
14893 java/security/AlgorithmParameterGenerator.java
14894 java/security/AlgorithmParameterGeneratorSpi.java
14895 java/security/AlgorithmParameters.java
14896 java/security/AlgorithmParametersSpi.java
14897 java/security/AllPermission.java
14898 java/security/BasicPermission.java
14899 java/security/Certificate.java java/security/CodeSource.java
14900 java/security/DigestException.java
14901 java/security/DigestInputStream.java
14902 java/security/DigestOutputStream.java
14903 java/security/DomainCombiner.java
14904 java/security/DummyKeyPairGenerator.java
14905 java/security/DummyMessageDigest.java
14906 java/security/DummySignature.java
14907 java/security/GeneralSecurityException.java
14908 java/security/Guard.java java/security/GuardedObject.java
14909 java/security/Identity.java java/security/IdentityScope.java
14910 java/security/InvalidAlgorithmParameterException.java
14911 java/security/InvalidKeyException.java
14912 java/security/InvalidParameterException.java
14913 java/security/Key.java java/security/KeyException.java
14914 java/security/KeyFactory.java java/security/KeyFactorySpi.java
14915 java/security/KeyManagementException.java
14916 java/security/KeyPair.java java/security/KeyPairGenerator.java
14917 java/security/KeyPairGeneratorSpi.java
14918 java/security/KeyStore.java
14919 java/security/KeyStoreException.java
14920 java/security/KeyStoreSpi.java
14921 java/security/MessageDigest.java
14922 java/security/MessageDigestSpi.java
14923 java/security/NoSuchAlgorithmException.java
14924 java/security/NoSuchProviderException.java
14925 java/security/Permission.java
14926 java/security/PermissionCollection.java
14927 java/security/Permissions.java java/security/Policy.java
14928 java/security/Principal.java java/security/PrivateKey.java
14929 java/security/PrivilegedAction.java
14930 java/security/PrivilegedActionException.java
14931 java/security/PrivilegedExceptionAction.java
14932 java/security/ProtectionDomain.java
14933 java/security/Provider.java
14934 java/security/ProviderException.java
14935 java/security/PublicKey.java
14936 java/security/SecureClassLoader.java
14937 java/security/SecureRandom.java
14938 java/security/SecureRandomSpi.java java/security/Security.java
14939 java/security/SecurityPermission.java
14940 java/security/Signature.java
14941 java/security/SignatureException.java
14942 java/security/SignatureSpi.java
14943 java/security/SignedObject.java java/security/Signer.java
14944 java/security/UnrecoverableKeyException.java
14945 java/security/UnresolvedPermission.java
14946 java/security/acl/Acl.java java/security/acl/AclEntry.java
14947 java/security/acl/AclNotFoundException.java
14948 java/security/acl/Group.java
14949 java/security/acl/LastOwnerException.java
14950 java/security/acl/NotOwnerException.java
14951 java/security/acl/Owner.java java/security/acl/Permission.java
14952 java/security/cert/CRL.java
14953 java/security/cert/CRLException.java
14954 java/security/cert/Certificate.java
14955 java/security/cert/CertificateEncodingException.java
14956 java/security/cert/CertificateException.java
14957 java/security/cert/CertificateExpiredException.java
14958 java/security/cert/CertificateFactory.java
14959 java/security/cert/CertificateFactorySpi.java
14960 java/security/cert/CertificateNotYetValidException.java
14961 java/security/cert/CertificateParsingException.java
14962 java/security/cert/X509CRL.java
14963 java/security/cert/X509CRLEntry.java
14964 java/security/cert/X509Certificate.java
14965 java/security/cert/X509Extension.java
14966 java/security/interfaces/DSAKey.java
14967 java/security/interfaces/DSAKeyPairGenerator.java
14968 java/security/interfaces/DSAParams.java
14969 java/security/interfaces/DSAPrivateKey.java
14970 java/security/interfaces/DSAPublicKey.java
14971 java/security/interfaces/RSAKey.java
14972 java/security/interfaces/RSAPrivateCrtKey.java
14973 java/security/interfaces/RSAPrivateKey.java
14974 java/security/interfaces/RSAPublicKey.java
14975 java/security/spec/AlgorithmParameterSpec.java
14976 java/security/spec/DSAParameterSpec.java
14977 java/security/spec/DSAPrivateKeySpec.java
14978 java/security/spec/DSAPublicKeySpec.java
14979 java/security/spec/EncodedKeySpec.java
14980 java/security/spec/InvalidKeySpecException.java
14981 java/security/spec/InvalidParameterSpecException.java
14982 java/security/spec/KeySpec.java
14983 java/security/spec/PKCS8EncodedKeySpec.java
14984 java/security/spec/RSAKeyGenParameterSpec.java
14985 java/security/spec/RSAPrivateCrtKeySpec.java
14986 java/security/spec/RSAPrivateKeySpec.java
14987 java/security/spec/RSAPublicKeySpec.java
14988 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14989 java/sql/BatchUpdateException.java java/sql/Blob.java
14990 java/sql/CallableStatement.java java/sql/Clob.java
14991 java/sql/Connection.java java/sql/DataTruncation.java
14992 java/sql/DatabaseMetaData.java java/sql/Date.java
14993 java/sql/Driver.java java/sql/DriverManager.java
14994 java/sql/DriverPropertyInfo.java
14995 java/sql/PreparedStatement.java java/sql/Ref.java
14996 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14997 java/sql/SQLData.java java/sql/SQLException.java
14998 java/sql/SQLInput.java java/sql/SQLOutput.java
14999 java/sql/SQLWarning.java java/sql/Statement.java
15000 java/sql/Struct.java java/sql/Time.java
15001 java/sql/Timestamp.java java/sql/Types.java
15002 java/text/Annotation.java
15003 java/text/AttributedCharacterIterator.java
15004 java/text/AttributedString.java
15005 java/text/AttributedStringIterator.java
15006 java/text/BreakIterator.java java/text/CharacterIterator.java
15007 java/text/ChoiceFormat.java java/text/Collator.java
15008 java/text/DateFormat.java java/text/DateFormatSymbols.java
15009 java/text/DecimalFormat.java
15010 java/text/DecimalFormatSymbols.java
15011 java/text/FieldPosition.java java/text/Format.java
15012 java/text/MessageFormat.java java/text/NumberFormat.java
15013 java/text/ParseException.java java/text/ParsePosition.java
15014 java/text/SimpleDateFormat.java
15015 java/text/StringCharacterIterator.java
15016 java/util/AbstractCollection.java java/util/AbstractList.java
15017 java/util/AbstractMap.java
15018 java/util/AbstractSequentialList.java
15019 java/util/AbstractSet.java java/util/ArrayList.java
15020 java/util/Arrays.java java/util/BasicMapEntry.java
15021 java/util/BitSet.java java/util/Calendar.java
15022 java/util/Collection.java java/util/Collections.java
15023 java/util/Comparator.java
15024 java/util/ConcurrentModificationException.java
15025 java/util/Date.java java/util/Dictionary.java
15026 java/util/EmptyStackException.java java/util/Enumeration.java
15027 java/util/EventListener.java java/util/EventObject.java
15028 java/util/GregorianCalendar.java java/util/HashMap.java
15029 java/util/HashSet.java java/util/Hashtable.java
15030 java/util/IdentityHashMap.java java/util/Iterator.java
15031 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
15032 java/util/LinkedList.java java/util/List.java
15033 java/util/ListIterator.java java/util/ListResourceBundle.java
15034 java/util/Locale.java java/util/Map.java
15035 java/util/MissingResourceException.java
15036 java/util/NoSuchElementException.java
15037 java/util/Observable.java java/util/Observer.java
15038 java/util/Properties.java java/util/PropertyPermission.java
15039 java/util/PropertyResourceBundle.java java/util/Random.java
15040 java/util/RandomAccess.java java/util/ResourceBundle.java
15041 java/util/Set.java java/util/SimpleTimeZone.java
15042 java/util/SortedMap.java java/util/SortedSet.java
15043 java/util/Stack.java java/util/StringTokenizer.java
15044 java/util/TimeZone.java java/util/Timer.java
15045 java/util/TimerTask.java
15046 java/util/TooManyListenersException.java
15047 java/util/TreeMap.java java/util/TreeSet.java
15048 java/util/Vector.java java/util/WeakHashMap.java
15049 java/util/jar/Attributes.java java/util/jar/JarEntry.java
15050 java/util/jar/JarException.java java/util/jar/JarFile.java
15051 java/util/jar/JarInputStream.java
15052 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
15053 java/util/zip/Adler32.java java/util/zip/CRC32.java
15054 java/util/zip/CheckedInputStream.java
15055 java/util/zip/CheckedOutputStream.java
15056 java/util/zip/Checksum.java
15057 java/util/zip/DataFormatException.java
15058 java/util/zip/Deflater.java
15059 java/util/zip/DeflaterOutputStream.java
15060 java/util/zip/GZIPInputStream.java
15061 java/util/zip/GZIPOutputStream.java
15062 java/util/zip/Inflater.java
15063 java/util/zip/InflaterInputStream.java
15064 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
15065 java/util/zip/ZipException.java java/util/zip/ZipFile.java
15066 java/util/zip/ZipInputStream.java
15067 java/util/zip/ZipOutputStream.java
15068 javax/naming/BinaryRefAddr.java
15069 javax/naming/InvalidNameException.java javax/naming/Name.java
15070 javax/naming/NamingException.java javax/naming/RefAddr.java
15071 javax/naming/StringRefAddr.java: Add license clarification.
15073 2002-01-22 Tom Tromey <tromey@redhat.com>
15075 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
15076 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
15077 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
15079 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
15080 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
15081 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
15082 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
15083 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
15084 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
15085 * java/awt/peer/FontPeer.java: Replace with Classpath version.
15086 * java/awt/peer/FramePeer.java: Replace with Classpath version.
15087 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
15088 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
15089 * java/awt/peer/ListPeer.java: Replace with Classpath version.
15090 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
15091 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
15092 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
15093 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
15094 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
15095 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
15096 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
15097 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
15098 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
15099 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
15100 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
15101 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
15102 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
15103 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
15104 (minimumSize, preferredSize, reshape): Likewise.
15105 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
15106 getColorModel): New methods.
15107 * java/awt/PopupMenu.java: Merged with Classpath.
15108 * java/awt/MenuBar.java: Merged with Classpath.
15109 * java/awt/SystemColor.java: Replace with Classpath version.
15110 * java/awt/Panel.java: Merged with Classpath.
15111 * java/awt/PaintContext.java: Updated copyright.
15112 * java/awt/MenuShortcut.java: Merged with Classpath.
15113 * java/awt/MenuContainer.java: Merged with Classpath.
15114 * java/awt/Menu.java: Merged with Classpath.
15115 * java/awt/MediaEntry.java: New file from Classpath.
15116 * java/awt/MediaTracker.java: New file from Classpath.
15117 * java/awt/List.java: Merged with Classpath version.
15118 * java/awt/Insets.java: Merged with Classpath version.
15119 * java/awt/ImageMediaEntry.java: New file from Classpath.
15120 * java/awt/Image.java: Replaced with Classpath version.
15121 * java/awt/FontMetrics.java: Merged with Classpath version.
15122 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
15124 * java/awt/Font.java: Merged with Classpath version.
15125 * java/awt/Dialog.java: Merged with Classpath version.
15126 * java/awt/Color.java: Merged with Classpath version.
15127 * java/awt/Choice.java: Merged with Classpath version.
15128 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
15129 * java/awt/Adjustable.java: Replace with Classpath version.
15130 * java/awt/MenuItem.java (paramString): Don't include class name
15131 or brackets. Call superclass paramString.
15132 * java/awt/MenuComponent.java (toString): Call paramString.
15133 (paramString): Compute string; don't call toString.
15134 * java/awt/Label.java (paramString): Don't include class name
15135 or brackets. Call superclass paramString.
15136 * java/awt/Checkbox.java (paramString): Don't include class name
15137 or brackets. Call superclass paramString.
15138 * java/awt/Button.java (paramString): Don't include class name or
15139 brackets. Call superclass paramString.
15140 * java/awt/MenuComponent.java (getTreeLock): Now protected.
15142 2002-01-20 Andreas Schwab <schwab@suse.de>
15144 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
15145 function and of parameter recv_func to ssize_t, as specified by
15148 2002-01-19 Per Bothner <per@bothner.com>
15150 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
15151 uncompressed_size in readiness for next entry.
15153 2002-01-18 Tom Tromey <tromey@redhat.com>
15155 * java/net/natPlainSocketImpl.cc: Include
15156 IllegalArgumentException.h.
15157 (_Jv_recv): New template function.
15158 (BooleanClass): Removed.
15159 (read): Use _Jv_recv.
15160 (setOption): Use Boolean::class$. Throw exception if object is
15161 not Boolean or Integer.
15163 2002-01-17 Tom Tromey <tromey@redhat.com>
15165 * java/awt/MenuComponent.java: Merged with Classpath.
15166 * java/awt/MenuItem.java: Merged with Classpath.
15167 * java/awt/Button.java: Merged with Classpath.
15169 * java/awt/ActiveEvent.java: Updated copyright.
15171 * java/awt/AWTError.java: Replaced with Classpath version.
15172 * java/awt/AWTException.java: Replaced with Classpath version.
15173 * java/awt/IllegalComponentStateException.java: Replaced with
15176 2002-01-16 Tom Tromey <tromey@redhat.com>
15178 * java/awt/Canvas.java (serialVersionUID): New constant.
15179 Updated copyright. Added javadoc from Classpath.
15180 * java/awt/ItemSelectable.java: Replaced with Classpath version.
15182 * java/awt/CheckboxGroup.java: Merged with Classpath.
15183 * java/awt/Checkbox.java: Merged with Classpath.
15185 * java/awt/Dimension.java: Updated copyright. Added javadoc from
15187 * java/awt/Point.java: Updated copyright.
15189 * java/awt/Point.java (toString): Use getClass().getName().
15192 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
15194 (hash): Correctly compute initial value for `h'.
15196 * java/awt/Label.java: Merged with Classpath.
15198 2002-01-15 Tom Tromey <tromey@redhat.com>
15200 * java/awt/AWTPermission.java: Updated copyright.
15202 * java/awt/LayoutManager2.java: Merged with Classpath.
15203 * java/awt/LayoutManager.java: Merged with Classpath.
15204 * java/awt/GridLayout.java: Updated copyright and javadoc.
15205 (getSize): Use `parent.ncomponents'. Handle insets.
15206 (layoutContainer): Use `parent.ncomponents'. Handle case where
15207 there are fewer children than columns. Correctly compute size of
15208 each cell in the grid. Handle case where there isn't enough
15210 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
15212 (gotoComponent): Use parent.ncomponents. Ensure child exists
15213 before calling setVisible() on it. Last item is `num - 1', not
15215 (layoutContainer): Hoist invariants out of loop.
15217 Start of AWT merge with Classpath:
15218 * Makefile.in: Rebuilt.
15219 * Makefile.am (awt_java_source_files): Reference files in
15220 gnu/java/awt, not gnu/gcj/awt.
15221 * java/awt/image/BufferedImage.java: Updated copyright.
15222 * java/awt/image/ComponentColorModel.java: Updated copyright.
15223 * java/awt/image/ComponentSampleModel.java: Updated copyright.
15224 * java/awt/image/DataBuffer.java: Updated copyright.
15225 * java/awt/image/DataBufferByte.java: Updated copyright.
15226 * java/awt/image/DataBufferInt.java: Updated copyright.
15227 * java/awt/image/DataBufferUShort.java: Updated copyright.
15228 * java/awt/image/IndexColorModel.java: Updated copyright.
15229 * java/awt/image/PackedColorModel.java: Updated copyright.
15230 * java/awt/image/Raster.java: Updated copyright.
15231 * java/awt/image/RasterOp.java: Updated copyright.
15232 * java/awt/image/SampleModel.java: Updated copyright.
15233 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
15234 * java/awt/image/WritableRaster.java: Updated copyright.
15235 * java/awt/color/ColorSpace.java: Updated copyright.
15236 * java/awt/color/ICC_ColorSpace.java: Updated copyright
15237 * java/awt/color/ICC_Profile.java: Updated copyright.
15238 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
15239 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
15240 * java/awt/event/HierarchyEvent.java: Updated copyright.
15241 * java/awt/event/HierarchyListener.java: Updated copyright.
15242 * java/awt/geom/AffineTransform.java: Updated copyright.
15243 * java/awt/geom/Dimension2D.java: Updated copyright.
15244 * java/awt/geom/Ellipse2D.java: Updated copyright.
15245 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
15246 * java/awt/geom/Line2D.java: Updated copyright.
15247 * java/awt/geom/NoninvertibleTransformException.java: Updated
15249 * java/awt/geom/PathIterator.java: Updated copyright.
15250 * java/awt/geom/Point2D.java: Updated copyright.
15251 * java/awt/geom/Rectangle2D.java: Updated copyright.
15252 * java/awt/geom/RectangularShape.java: Updated copyright.
15253 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
15254 * java/awt/Toolkit.java: Updated import for file moves.
15255 * java/awt/Rectangle.java: Updated copyright; added javadoc from
15257 (hashCode): New method from Classpath.
15258 * java/awt/Graphics2D.java: Updated copyright.
15259 * java/awt/Transparency.java: Updated copyright.
15260 * java/awt/Paint.java: Updated copyright.
15261 * java/awt/Graphics.java: New version from Classpath.
15262 * java/awt/EventDispatchThread.java: Updated copyright.
15263 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
15265 (gotoComponent): Wrap around on next/previous.
15266 * gnu/gcj/awt/BitMaskExtent.java: Removed.
15267 * gnu/gcj/awt/Buffers.java: Removed.
15268 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
15269 * gnu/gcj/awt/GLightweightPeer.java: Removed.
15270 * gnu/java/awt/BitMaskExtent.java: Added.
15271 * gnu/java/awt/Buffers.java: Added.
15272 * gnu/java/awt/ComponentDataBlitOp.java: Added.
15273 * gnu/java/awt/GLightweightPeer.java: Added.
15274 * java/awt/geom/Line2D.java (clone): Ignore
15275 CloneNotSupportedException.
15276 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
15277 * java/awt/Frame.java: Merged with Classpath.
15278 * java/awt/RenderingHints.java: Copyright update.
15279 * java/awt/Paint.java: Copyright update.
15280 * java/awt/image/DirectColorModel.java: Merged with Classpath.
15281 * java/awt/image/ColorModel.java: Merged with Classpath.
15282 * java/awt/Window.java (show): New Implementation from Classpath.
15283 (isShowing): Use super.isShowing().
15284 * java/awt/EventQueue.java: Merged with Classpath.
15285 * java/awt/AWTEventMulticaster.java (save): Throw
15287 (saveInternal): Likewise.
15288 * java/awt/AWTEvent.java: Now implements Serializable.
15289 * java/awt/Event.java: Copyright update.
15290 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
15291 * java/awt/image/BufferedImage.java: Copyright update.
15292 * java/awt/GraphicsConfiguration.java: Copyright update.
15293 * java/awt/Component.java: (addNotify): Don't call
15294 addNotifyContainerChildren().
15295 (addNotifyContainerChildren): Removed.
15296 (setPeer): New method from Classpath.
15297 (setTreeLock): Likewise.
15298 (setVisible): Rewrote.
15301 (validate): Set `valid'.
15302 (checkImage(Image,ImageObserver)): Implementation from Classpath.
15303 (createImage(ImageProducer)): Likewise.
15304 (prepareImage): Likewise.
15305 * java/awt/Container.java (addImpl): Handle case where constraint
15306 is not a String. Post event via system event queue.
15307 (remove): Post event via system event queue.
15308 (validateTree): Only validate child if it is invalid.
15309 (getAlignmentX): Call super method as default.
15310 (getAlignmentY): Likewise.
15311 (addContainerListener): Now synchronized.
15312 (removeContainerListener): Likewise.
15313 (addNotifyContainerChildren): Now private.
15314 * java/awt/ComponentOrientation.java: Updated copyright. Added
15316 * java/awt/FlowLayout.java (serialVersionUID): New field.
15317 (setAlignment): Better exception message.
15318 (layoutContainer): Don't compute component's preferred size unless
15319 we're going to use it.
15320 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
15321 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
15322 (firstLine, lastLine, firstItem, lastItem): New fields.
15323 (addLayoutComponent): Handle case where constraints is null.
15324 Also, handle relative locations.
15325 (removeLayoutComponent): Handle relative locations.
15326 (MIN, MAX, PREF): New constants.
15327 (calcCompSize): New method.
15328 (calcSize): New method.
15329 (minimumLayoutSize): Use it.
15330 (preferredLayoutSize): Likewise.
15331 (maximumLayoutSize): Likewise.
15332 (toString): Include more information.
15333 (setBounds): New method.
15334 (layoutContainer): Use libgcj implementation; extended to handle
15335 relative locations.
15337 2002-01-15 Tom Tromey <tromey@redhat.com>
15339 * java/lang/Float.java (equals): Preserve old code.
15340 * java/lang/Double.java (equals): Preserve old code.
15342 2002-01-15 Eric Blake <ebb9@email.byu.edu>
15344 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
15345 * java/lang/Float.java (equals, compare): Ditto.
15347 2002-01-13 Mark Wielaard <mark@klomp.org>
15349 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
15350 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
15351 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
15352 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
15354 2002-01-11 Mark Wielaard <mark@klomp.org>
15356 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
15357 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
15359 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
15360 * java/net/Socket.java: Merge with Classpath.
15361 * java/net/ServerSocket.java: Likewise.
15363 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
15365 * interpret.cc (NULLARRAYCHECK): New macro.
15366 (SAVE_PC): Just store `pc'.
15367 (find_exception): Subtract one from `pc' here.
15368 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
15369 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
15370 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
15371 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
15372 don't call SAVE_PC.
15373 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
15376 2002-01-11 Tom Tromey <tromey@redhat.com>
15378 * java/lang/natSystem.cc (init_properties): Only look for default
15379 locale if LC_MESSAGES is defined.
15380 * aclocal.m4, configure, include/config.h.in: Rebuilt.
15381 * configure.in: Call AM_LC_MESSAGES.
15382 * acinclude.m4 (AM_LC_MESSAGES): New macro.
15384 2002-01-10 Tom Tromey <tromey@redhat.com>
15386 For PR libgcj/5303:
15387 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
15388 --version. Recognize GNU-style long options. Print GNU-style
15390 (usage): Print GNU-style help. Exit with status 0.
15391 (error): New method.
15392 (run): Print error message if no class names found.
15393 (main): Don't print usage on error.
15395 2002-01-09 Tom Tromey <tromey@redhat.com>
15397 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
15399 (help, version): Use println(), not println("").
15401 For PR libgcj/5303:
15402 * gnu/gcj/convert/Convert.java (error): Program is called
15403 `jv-convert'. Print GNU-style message. Exit with status 1, not
15405 (main): Handle --help and --version.
15406 (help): New method.
15407 (version): Likewise.
15409 2002-01-08 Tom Tromey <tromey@redhat.com>
15411 * Makefile.in: Rebuilt.
15412 * Makefile.am (ordinary_java_source_files): Added new files.
15413 * gnu/java/locale/LocaleInformation.java: Extend
15414 LocaleInformation_en.
15415 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
15416 and time/date formats.
15417 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
15419 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
15420 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
15421 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
15422 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
15423 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
15424 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
15425 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
15426 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
15427 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
15428 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
15429 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
15430 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
15431 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
15432 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
15433 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
15434 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
15435 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
15436 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
15437 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
15438 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
15439 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
15440 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
15441 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
15442 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
15443 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
15444 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
15445 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
15446 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
15447 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
15448 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
15449 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
15450 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
15451 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
15452 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
15453 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
15454 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
15455 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
15456 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
15457 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
15458 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
15459 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
15460 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
15461 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
15462 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
15463 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
15464 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
15465 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
15466 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
15467 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
15468 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
15469 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
15470 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
15471 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
15472 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
15473 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
15474 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
15475 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
15476 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
15477 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
15478 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
15479 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
15480 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
15481 * gnu/java/locale/LocaleInformation_es_US.java: New file.
15482 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
15483 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
15484 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
15485 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
15486 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
15487 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
15488 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
15489 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
15490 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
15491 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
15492 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
15493 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
15494 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
15495 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
15496 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
15497 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
15498 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
15499 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
15500 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
15501 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
15502 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
15503 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
15504 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
15505 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
15506 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
15507 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
15508 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
15509 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
15510 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
15511 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
15512 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
15513 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
15514 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
15515 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
15516 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
15517 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
15518 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
15519 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
15520 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
15521 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
15522 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
15523 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
15524 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
15525 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
15526 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
15527 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
15528 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
15529 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
15530 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
15531 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
15532 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
15533 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
15534 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
15535 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
15536 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
15537 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
15538 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
15539 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
15540 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
15541 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
15542 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
15543 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
15544 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
15545 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
15546 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
15547 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
15548 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
15550 For PR libgcj/5031:
15551 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
15552 choose default locale.
15554 * Makefile.in: Rebuilt.
15555 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
15557 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
15559 * java/net/natPlainSocketImpl.cc: Added timeout handling for
15561 (close): New function closes the socket.
15562 (write): New functions for output to socket.
15563 (read): New functions for reading from socket.
15564 * java/net/PlainSocketImpl.java: Glue for new timeout
15566 (write): Call the native impl.
15568 (getInputStream): Get a stream to read from the socket.
15569 (getOutputStream): Get a stream to write to the socket.
15571 2002-01-08 Tom Tromey <tromey@redhat.com>
15573 * resolve.cc (_Jv_PrepareClass): Enable verifier.
15575 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
15577 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
15578 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
15580 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
15582 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
15583 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
15584 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
15585 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
15586 insn_bastore, insn_castore, insn_sastore]: Use it.
15587 (continue1) [insn_arraylength]: Check for null array.
15589 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
15591 * configure, include/config.h.in: Rebuilt.
15592 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
15593 * configure.in: Call AC_STRUCT_TIMEZONE.
15595 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
15597 * configure.host: Disable the interpreter for Darwin.
15599 2002-01-04 Tom Tromey <tromey@redhat.com>
15601 * java/lang/Thread.java (stop): No longer synchronized.
15604 2002-01-02 Tom Tromey <tromey@redhat.com>
15606 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
15609 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
15611 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
15612 PPC Darwin, not for all of Darwin.