OSDN Git Service

2003-04-29 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2003-04-29  Michael Koch  <konqueror@gmx.de>
2
3         * java/util/PropertyPermission.java:
4         New version from classpath
5         * java/util/ResourceBundle.java:
6         Partly merged from classpath
7         (getObject): Reformated.
8         (tryBundle): Set foundBundle = null if no bundle found.
9
10 2003-04-29  Michael Koch  <konqueror@gmx.de>
11
12         * javax/swing/AbstractListModel.java,
13         javax/swing/DefaultBoundedRangeModel.java,
14         javax/swing/DefaultSingleSelectionModel.java:
15         New Versions from classpath.
16
17 2003-04-29  Michael Koch  <konqueror@gmx.de>
18
19         * java/awt/Window.java
20         (show): Call super.show() instead of setVisible() to avoid endless
21         loop.
22         (hide): Call super.hide() instead of setVisible() to avoid endless
23         loop.
24
25 2003-04-29  Michael Koch  <konqueror@gmx.de>
26
27         * java/util/zip/Deflater.java,
28         java/util/zip/DeflaterOutputStream.java:
29         Partly merged with classpath.
30
31 2003-04-27  Tom Tromey  <tromey@redhat.com>
32
33         * java/lang/natString.cc (_Jv_AllocString): Initialize
34         cachedHashCode.
35         (init): Likewise.
36         (_Jv_NewStringUtf8Const): Likewise.
37
38 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
39
40         * include/jvm.h: (_Jv_GetNbArgs) added
41         (_Jv_GetSafeArg) added
42         (_Jv_SetArgs) added
43         * prims.cc: (_Jv_GetNbArgs) implemented
44         (_Jv_GetSafeArg) implemented
45         (_Jv_SetArgs) implemented
46         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
47         setting _Jv_argc and _Jv_argv
48         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
49         instead of _Jv_argv
50         * java/lang/natRuntime.cc: (insertSystemProperties) use
51         _Jv_GetSafeArg() instead of _Jv_argv
52
53 2003-04-23  Tom Tromey  <tromey@redhat.com>
54
55         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
56         required by this object.  Search superclasses to find required
57         alignment.
58         (get_alignment_from_class): Use alignment of type as it appears
59         in a struct.
60         (ALIGNOF): New macro.
61         (struct aligner): New helper structure.
62
63 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
64
65         * java/awt/Container.java (addImpl): Enable paint events if adding
66         a lightweight to a heavyweight.
67         (addNotify): Ensure that peer is created before
68         addNotifyContainerChildren.
69         (addNotifyContainerChildren): Enable paint events if a heavyweight
70         container contains a lightweight.
71
72 2003-04-20  Tom Tromey  <tromey@redhat.com>
73
74         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
75         java/io/DataInput.java, java/io/DataOutput.java: Imports from
76         Classpath.
77
78 2003-04-19  Tom Tromey  <tromey@redhat.com>
79
80         * java/sql/Date.java, java/sql/DriverManager.java,
81         java/sql/Time.java, java/sql/Timestamp.java: New versions from
82         Classpath.
83
84         * Makefile.in: Rebuilt.
85         * Makefile.am (ordinary_java_source_files): Added new files.
86         * java/security/AlgorithmParameterGenerator.java,
87         java/security/AlgorithmParameters.java, java/security/Engine.java,
88         java/security/Identity.java, java/security/IdentityScope.java,
89         java/security/KeyFactory.java,
90         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
91         java/security/MessageDigest.java, java/security/Policy.java,
92         java/security/ProtectionDomain.java,
93         java/security/SecureRandom.java, java/security/Security.java,
94         java/security/Signature.java, java/security/SignatureSpi.java,
95         java/security/SignedObject.java, java/security/Signer.java,
96         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
97         java/security/spec/PSSParameterSpec.java,
98         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
99         java/security/spec/RSAOtherPrimeInfo.java: New versions from
100         Classpath.
101
102 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
103
104         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
105         (dispose): Null metrics.
106         * gnu/awt/xlib/XToolkit.java (sync): Implement.
107         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
108         finalize.
109         (finalize): Call dispose.
110         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
111         (gcCachedCount): New field.
112         (finalize): New method.
113         (putGCInCache): New method.
114         (getGCFromCache): New method.
115         * gnu/gcj/xlib/GC.java (GC): Make protected.
116         (clone): Get new GC from cache if possible.
117         (create): New static method.
118         (dispose): Save old GC in cache.
119         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
120         deleting.
121         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
122         is null.
123         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
124         * java/awt/Container.java (visitChild): Dispose gfx2 when
125         finished.
126
127 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
128
129         * java/math/BigInteger.java (probablePrime): New.
130         * java/math/BigDecimal.java (unscaledValue): New.
131
132 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
133
134         * java/io/File.java (getAbsolutePath): On Windows, take care
135         of paths like "C:", "G:foo\bar", etc.
136         (getName): Make it work correctly on Windows.
137         (getParent): Make it work correctly on Windows. For UNIX,
138         fix bug that causes "/" to be returned as the parent of "/",
139         instead of null as returned by Sun's JRE.
140
141         * java/io/natFileWin32.cc: Change copyright owner to FSF.
142
143 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
144
145         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
146         inner class.
147         (CACHE_SIZE_PER_DISPLAY): New field
148         (fontMetricsCache): New field
149         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
150         loading ISO10646-1 fonts.
151
152 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
153
154         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
155         characters.
156         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
157         characters.
158
159 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
160
161         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
162         floating point.
163
164 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
165
166         * configure.host (*-linux*): Don't set slow_pthread_self if primary
167         installed libpthread is either linuxthreads with floating stacks or
168         NPTL.
169
170 2003-04-14  Tom Tromey  <tromey@redhat.com>
171
172         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
173         of alignment.
174
175 2003-04-10  Tom Tromey  <tromey@redhat.com>
176
177         * verify.cc (pop64): Removed.
178         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
179         exception if top-of-stack is narrow.
180         (initialize_stack): Check to ensure that <init> is not static and
181         <clinit> is.
182
183 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
184
185         * java/io/ObjectStreamException
186         * java/io/FileFilter
187         * java/io/FilenameFilter
188         * java/io/ObjectInput
189         * java/io/ObjectOutput
190         * java/io/ObjectStreamConstants
191         Minor doc fixes, format fixes, spelling corrections, etc.
192         * java/io/DataInput
193         Corrected code samples in Javadocs to match reality
194         * java/io/DataOutput
195         * java/io/ObjectInputValidation
196         Major documentation fixes - all Javadocs re-written or updated
197
198 2003-04-06  Michael Koch  <konqueror@gmx.de>
199
200         * java/net/URLConnection.java:
201         Import classes directly.
202         (URLConnection): Merged class documentation with classpath.
203         (url): Moved, documentation from classpath added.
204         (doInput): Moved, documentation from classpath added.
205         (doOutput): Moved, documentation from classpath added.
206         (allowUserInteraction): Moved.
207         (useCaches): Moved, documentation from classpath added.
208         (ifModifiedSince): Moved, documentation from classpath added.
209         (connected): Moved, documentation from classpath added.
210
211 2003-04-06  Michael Koch  <konqueror@gmx.de>
212
213         * java/io/FileInputStream.java
214         (skip): Renamed some variables to match classpath, added
215         checks from classpath.
216
217 2003-03-31  Michael Koch  <konqueror@gmx.de>
218
219         * javax/swing/AbstractAction.java
220         (AbstractAction): Reformatted.
221         (serialVersionUID): New private member variable.
222         * javax/swing/plaf/BorderUIResource.java
223         (serialVersionUID): New private member variable.
224         * javax/swing/plaf/basic/BasicLookAndFeel.java
225         (serialVersionUID): New private member variable.
226
227 2003-03-31  Michael Koch  <konqueror@gmx.de>
228
229         * java/sql/Date.java
230         (valueOf): Deprecated, reformatted.
231         (toString): Deprecated, reformatted.
232         * java/sql/Time.java
233         (valueOf): Deprecated, reformatted.
234         (toString): Deprecated, reformatted.
235
236 2003-03-31  Michael Koch  <konqueror@gmx.de>
237
238         * java/rmi/dgc/VMID.java
239         (isUnique): Deprecated.
240
241 2003-03-31  Michael Koch  <konqueror@gmx.de>
242
243         * java/io/File.java
244         (separator): Merged documentation from classpath.
245         (separatorChar): Merged documentation from classpath.
246         (pathSeparator): Merged documentation from classpath.
247         (pathSeparatorChar): Merged documentation from classpath.
248         (path): Merged documentation from classpath.
249         (canRead): Merged documentation from classpath.
250         (canWrite): Merged documentation from classpath.
251         (createNewFile): Merged documentation from classpath.
252         (delete): Merged documentation from classpath.
253         (equals): Merged documentation from classpath.
254         (exists): Merged documentation from classpath.
255         (File): Renamed p to name to match classpath, merged documentation
256         from classpath.
257         (getAbsolutePath): Merged documentation from classpath.
258         (getCanonicalPath): Merged documentation from classpath.
259         (getCanonicalFile): Merged documentation from classpath.
260         (getName): Merged documentation from classpath.
261         (getParent): Merged documentation from classpath.
262         (getParentFile): Merged documentation from classpath.
263         (getPath): Merged documentation from classpath.
264         (hashCode): Merged documentation from classpath.
265         (isAbsolute): Merged documentation from classpath.
266         (isDirectory): Merged documentation from classpath.
267         (isFile): Merged documentation from classpath.
268         (isHidden): Merged documentation from classpath.
269         (lastModified): Merged documentation from classpath.
270         (length): Merged documentation from classpath.
271         (list): Merged documentation from classpath.
272         (listFiles): Merged documentation from classpath.
273         (toString): Merged documentation from classpath.
274         (toURL): Merged documentation from classpath.
275         (mkdir): Merged documentation from classpath.
276         (mkdirs): Merged documentation from classpath.
277         (createTempFile): Merged documentation from classpath.
278         (setReadOnly): Merged documentation from classpath.
279         (listRoots): Merged documentation from classpath.
280         (compareTo): Merged documentation from classpath.
281         (renameTo): Merged documentation from classpath.
282         (setLastModified): Merged documentation from classpath.
283         * java/io/PrintStream.java
284         (auto_flush): Merged documentation from classpath.
285         (PrintStream): Merged documentation from classpath.
286         (checkError): Merged documentation from classpath.
287         (setError): Merged documentation from classpath.
288         (close): Merged documentation from classpath.
289         (flush): Merged documentation from classpath.
290         (print): Merged documentation from classpath.
291         (println):  Merged documentation from classpath.
292         (write): Renamed count to len to match classpath,
293         merged documentation from classpath.
294         * java/io/RandomAccessFile.java
295         (readShort): Merged documentation from classpath.
296         (readUnsignedByte): Merged documentation from classpath.
297         (readUnsignedShort): Merged documentation from classpath.
298         (readUTF): Merged documentation from classpath.
299         (seek): Reformatted, merged documentation from classpath.
300         (skipBytes): Renamed some variables to match classpath, reformatted,
301         merged documentation from classpath.
302         (write): Merged documentation from classpath.
303         (writeBoolean): Merged documentation from classpath.
304         (writeByte): Merged documentation from classpath.
305         (writeShort): Merged documentation from classpath.
306         (writeChar): Merged documentation from classpath.
307         (writeInt): Merged documentation from classpath.
308         (writeLong): Merged documentation from classpath.
309         (writeFloat): Merged documentation from classpath.
310         (writeDouble): Merged documentation from classpath.
311         (writeBytes): Merged documentation from classpath.
312         (writeChars): Merged documentation from classpath.
313         (writeUTF): Reformatted.
314         (getChannel): Reformatted.
315
316 2003-03-31  Michael Koch  <konqueror@gmx.de>
317
318         * java/awt/font/TextAttribute.java
319         (readResolve): Throws java.io.InvalidObjectException.
320
321 2003-03-31  Michael Koch  <konqueror@gmx.de>
322
323         * java/rmi/server/LoaderHandler.java
324         (loadClass): Deprecated.
325         (getSecurityContext): Deprecated.
326         * java/rmi/server/LogStream.java
327         (getDefaultStream): Deprecated.
328         (setDefaultStream): Deprecated.
329         (getOutputStream): Deprecated.
330         (setOutputStream): Deprecated.
331         (write): Deprecated.
332         (toString): Deprecated.
333         (parseLevel): Deprecated.
334         * java/rmi/server/Operation.java
335         (Operation): Deprecated.
336         (getOperation): Deprecated.
337         (toString): Deprecated.
338         * java/rmi/server/RemoteCall.java
339         (getOutputStream): Deprecated.
340         (releaseOutputStream): Deprecated.
341         (getInputStream): Deprecated.
342         (releaseInputStream): Deprecated.
343         (getResultStream): Deprecated.
344         (executeCall): Deprecated.
345         (done): Deprecated.
346         * java/rmi/server/RemoteRef.java
347         (invoke): Deprecated.
348         (newCall): Deprecated.
349         (done): Deprecated.
350         * java/rmi/server/RemoteStub.java
351         (setRef): Deprecated.
352         * java/rmi/server/Skeleton.java:
353         No need to import java.lang.Exception explicitly.
354         (dispatch): Deprecated.
355         (getOperations): Deprecated.
356
357 2003-03-31  Michael Koch  <konqueror@gmx.de>
358
359         * java/rmi/dgc/VMID.java,
360         java/rmi/registry/RegistryHandler.java,
361         java/rmi/server/LogStream.java,
362         java/rmi/server/Operation.java,
363         java/rmi/server/RemoteCall.java,
364         java/rmi/server/RemoteRef.java,
365         java/rmi/server/RemoteStub.java:
366         Reformatted.
367
368 2003-03-31  Michael Koch  <konqueror@gmx.de>
369
370         * javax/swing/AbstractCellEditor.java,
371         javax/swing/AbstractListModel.java,
372         javax/swing/ActionMap.java,
373         javax/swing/BorderFactory.java,
374         javax/swing/ButtonGroup.java,
375         javax/swing/DefaultBoundedRangeModel.java,
376         javax/swing/DefaultButtonModel.java,
377         javax/swing/DefaultCellEditor.java,
378         javax/swing/DefaultComboBoxModel.java,
379         javax/swing/DefaultDesktopManager.java,
380         javax/swing/DefaultListCellRenderer.java,
381         javax/swing/DefaultSingleSelectionModel.java,
382         javax/swing/InputMap.java,
383         javax/swing/JComponent.java,
384         javax/swing/JMenu.java,
385         javax/swing/JSlider.java,
386         javax/swing/KeyStroke.java,
387         javax/swing/OverlayLayout.java,
388         javax/swing/ScrollPaneLayout.java,
389         javax/swing/SizeRequirements.java,
390         javax/swing/UIManager.java,
391         javax/swing/ViewportLayout.java,
392         javax/swing/border/AbstractBorder.java,
393         javax/swing/colorchooser/DefaultColorSelectionModel.java,
394         javax/swing/event/EventListenerList.java,
395         javax/swing/table/AbstractTableModel.java,
396         javax/swing/table/DefaultTableCellRenderer.java,
397         javax/swing/table/DefaultTableColumnModel.java,
398         javax/swing/table/DefaultTableModel.java,
399         javax/swing/table/TableColumn.java,
400         javax/swing/text/StyledEditorKit.java,
401         javax/swing/tree/DefaultMutableTreeNode.java,
402         javax/swing/tree/DefaultTreeModel.java,
403         javax/swing/tree/DefaultTreeSelectionModel.java,
404         javax/swing/tree/TreePath.java,
405         javax/swing/undo/AbstractUndoableEdit.java,
406         javax/swing/undo/StateEdit.java,
407         javax/swing/undo/StateEditable.java,
408         javax/swing/undo/UndoableEditSupport.java:
409         Merges from classpath.
410
411 2003-03-30  Tom Tromey  <tromey@redhat.com>
412
413         * java/lang/String.java (data, boffset, count): Documented.
414         (String(byte[],String)): Reformatted.
415         (String(byte[])): Likewise.
416         (lastIndexOf(int)): Likewise.
417         (lastIndexOf(String)): Likewise.
418         (substring(int)): Renamed argument to match Classpath.
419         (String(StringBuffer)): Don't share buffer if it is nearly empty.
420
421         * java/lang/String.java: Miscellaneous minor formatting changes
422         to match Classpath more closely.
423
424 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
425             Tom Tromey  <tromey@redhat.com>
426
427         * java/lang/natString.cc (hashCode): Use cachedHashCode.
428         (init()): Removed.
429         (charAt): Put index in exception.
430         (contentEquals): New method.
431         Include StringBuffer.h.
432         * java/lang/String.java (cachedHashCode): New field.
433         (String()): Follow classpath implementation.
434         (init()): Removed.
435         (contentEquals): Declare.
436         (subSequence): Don't declare IndexOutIfBoundsException in throws
437         clause.
438         (matches, replaceFirst, replaceAll, split): New methods from
439         Classpath.
440
441 2003-03-29  Tom Tromey  <tromey@redhat.com>
442
443         * java/lang/String.java: Reordered to follow Classpath; merged in
444         javadoc.
445
446         * java/text/MessageFormat.java: Removed some whitespace.
447
448         * Makefile.in: Rebuilt.
449         * Makefile.am (awt_java_source_files): Added new files.
450         * gnu/javax/rmi/PortableServer.java,
451         gnu/javax/rmi/CORBA/DelegateFactory.java,
452         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
453         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
454         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
455         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
456         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
457         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
458         javax/rmi/PortableRemoteObject.java,
459         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
460         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
461         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
462         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
463         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
464         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
465
466         * java/lang/natClass.cc (newInstance): Put method name in
467         exception.
468         (getConstructor): Likewise.
469         (getDeclaredConstructor): Likewise.
470         (getPrivateMethod): Likewise.
471
472 2003-03-28  Tom Tromey  <tromey@redhat.com>
473
474         * java/lang/reflect/Proxy.java: New version from Classpath.
475         * java/lang/Package.java: New version from Classpath.
476
477 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
478
479         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
480         * configure: Regenerate.
481
482 2003-03-28  Michael Koch  <konqueror@gmx.de>
483
484         * java/io/File.java:
485         Import needed classes instead of whole packages, merged class
486         documentation with classpath, moved constants and variables to top of
487         class.
488         * java/io/PrintStream.java:
489         Merged class documentation with classpath, moved constants and
490         variables to top of class.
491         * java/io/RandomAccessFile.java
492         (RandomAccessFile): Merged with classpath.
493         (read): Merged with classpath).
494         (read*): Reformatted.
495
496 2003-03-28  Michael Koch  <konqueror@gmx.de>
497
498         * java/io/FileDescriptor.java
499         (finalize): Throws Throwable, not IOException.
500         * java/io/ObjectOutputStream.java
501         (PutField.put): Doesnt throws anything.
502
503 2003­03-28  Michael Koch  <konqueror@gmx.de>
504
505         * java/io/FileOutputStream.java:
506         Merged class documentation and authors with classpath.
507         (FileOutputStream): Partly merged with classpath.
508         (write): Merged with classpath.
509         (getChannel): Make it synchronized instead of explicit block in this
510         method.
511         * java/io/RandomAccessFile.java:
512         Merged class documentation and authors with classpath.
513
514 2003-03-26  Tom Tromey  <tromey@redhat.com>
515
516         * java/lang/natRuntime.cc (insertSystemProperties): Set
517         gnu.classpath.home.url.
518         * Makefile.in: Rebuilt.
519         * Makefile.am: Define LIBDIR.
520
521 2003-03-25  Michael Koch  <konqueror@gmx.de>
522
523         * java/io/FileInputStream.java
524         (read): Renamed b to buf and off to offset.
525         * java/io/FileOutputStream.java
526         (ch): Documentation added.
527         (FileOutputStream): Documentation added.
528         (getFD): Documentation added.
529         (write): Documentation added.
530         (close): Documentation added.
531         (getChannel): Documentation added.
532
533 2003-03-24  Michael Koch  <konqueror@gmx.de>
534
535         * java/io/DataOutputStream.java
536         (write): Merged from classpath.
537         * java/io/File.java:
538         Merged copyrigth with classpath.
539         * java/io/FileInputStream.java
540         (getChannel): Made it synchronized instead of using a synchronized
541         block.
542         * java/io/FileOutputStream.java: Reformatted.
543         * java/io/InputStreamReader.java
544         (InputStreamReader): Renamed enc to encoding_name.
545         (close): Merged documentation from classpath.
546         (getEncoding): Merged documentation from classpath.
547         (ready): Merged documentation from classpath.
548         (read): Merged documentation from classpath.
549         * java/io/LineNumberReader.java
550         (lineNumber): Made it private.
551         (LineNumberReader): Use Constant instead of a direct value.
552         * java/io/OutputStreamWriter.java
553         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
554         documentation from classpath.
555         (close): Merged documentation from classpath.
556         (flush): Merged documentation from classpath.
557         (write): Merged documentation from classpath.
558         * java/io/PrintStream.java: Reformatted.
559
560 2003-03-24  Michael Koch  <konqueror@gmx.de>
561
562         * javax/swing/text/ComponentView.java
563         (getComponent): Must be final.
564         * javax/swing/tree/DefaultTreeCellRenderer.java:
565         Reformatted.
566         * javax/swing/undo/StateEditable.java:
567         Reformatted.
568
569 2003-03-24  Michael Koch  <konqueror@gmx.de>
570
571         * java/rmi/activation/ActivationInstantiator.java:
572         Reformatted.
573         * java/rmi/activation/Activator.java:
574         Reformatted.
575         * java/rmi/registry/RegistryHandler.java:
576         Remerged from classpath.
577
578 2003-03-24  Michael Koch  <konqueror@gmx.de>
579
580         * java/util/Date.java:
581         Fixed documentation starting tag to make javadoc happy.
582         * java/util/regex/Pattern.java
583         (Pattern): Implements Serializable.
584         * java/util/PatternSyntaxException.java
585         (serialVersionUID): New member variable.
586
587 2003-03-24  Michael Koch  <koqnueror@gmx.de>
588
589         * java/awt/ContainerOrderFocusTraversalPolicy.java
590         (getFirstComponent): Implemented.
591         (getLastComponent): Implemented.
592         (getDefaultComponent): Implemented.
593         (setImplicitDownCycleTraversal): Fixed implementation.
594         * java/awt/Robot.java
595         (Robot): Added documentation.
596         * java/awt/Toolkit.java
597         (getFontList): Deprecated.
598         (getFontMetrics): Deprecated.
599         (getPrintJob): Added documentation.
600         (getSystemSelection): Added documentation.
601         (getLockingKeyState): Added documentation.
602         (setLockingKeyState): Added documentation.
603         (createCustomCursor): Added documentation.
604         (getBestCursorSize): Added documentation.
605         (getMaximumCursorColors): Added documentation.
606         (isFrameStateSupported): Added documentation.
607
608 2003-03-24  Michael Koch  <konqueror@gmx.de>
609
610         * java/io/RandomAccessFile.java:
611         More little merges with classpath. No code changes.
612
613 2003-03-24  Michael Koch  <konqueror@gmx.de>
614
615         * java/net/natInetAddressNoNet.cc:
616         Include stddef.h.
617         * java/net/natPlainDatagramSocketImplNoNet.cc:
618         Fixed inlcude of java/net/DatagramPacket.h.
619         * java/net/natPlainSocketImplNoNet.cc:
620         Include some missing classes.
621
622 2003-03-24  Michael Koch  <konqueror@gmx.de>
623
624         * java/awt/dnd/DropTarget.java
625         (DropTargetAutoScroller): According to the online documentation, this
626         is protected, but in reality it is public.
627         * java/awt/dnd/DropTargetContext.java
628         (TransferableProxy): According to the online documentation, this
629         is protected, but in reality it is public.
630
631 2003-03-24  Michael Koch  <konqueror@gmx.de>
632
633         * java/io/DataInputStream.java
634         (): Wrapped documentation line.
635         (): Fixed @return tag.
636         * java/io/DataOutputStream.java
637         (written): Moved to top of class.
638         (all methods): Merged documentation from classpath.
639         * java/io/File.java:
640         Merged copyright year with classpath.
641         * java/io/FileInputStream.java
642         (all methods): Merged documentation from classpath.
643         * java/io/LineNumberReader.java
644         (getLineNumber): Fixed @return tag.
645         * java/io/ObjectInputStream.java.
646         Reformatted.
647         * java/io/ObjectOutputStream.java:
648         Reformatted, fixed some @see tags.
649         * java/io/OutputStreamWriter.java:
650         Deleted empty line.
651         * java/io/Writer.java:
652         Reformatted.
653
654 2003-03-24  Michael Koch  <konqueror@gmx.de>
655
656         * java/awt/Frame.java
657         (DEFAULT_CURSOR): Fixed @deprecated tag.
658         (setCursor): Fixed @deprecated tag.
659
660 2003-03-24  Michael Koch  <konqueror@gmx.de>
661
662         * java/beans/beancontext/BeanContextEvent.java:
663         Reformated.
664
665 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
666
667         * java/lang/natStringBuffer.cc (regionMatches): New function.
668         * java/lang/String.java (count): Now package-private.
669         * java/lang/StringBuffer.java: Merged with Classpath.
670
671 2003-03-23  Michael Koch  <konqueror@gmx.de>
672
673         * java/io/BufferedOutputStream.java:
674         Reformated.
675         * java/io/BufferedReader.java:
676         Reformated.
677         * java/io/ByteArrayOutputStream.java
678         (size): Fixed @see tag.
679         * java/io/CharArrayWriter.java
680         (size): Fixed @see tag.
681         * java/io/DataInput.java:
682         Reformated.
683         * java/io/DataOutput.java:
684         Reformated.
685         * java/io/DataOutputStream.java:
686         Merged copyright years with classpath.
687         * java/io/Externalizable.java:
688         Reformated.
689         * java/io/FileFilter.java:
690         Reformated.
691         * java/io/FileInputStream.java:
692         Merged copyright years with classpath.
693         * java/io/FileOutputStream.java:
694         Merged copyright years with classpath.
695         * java/io/FilePermission.java
696         (FilePermission): Replaced @XXX with FIXME:.
697         * java/io/FileWriter.java:
698         Reformated.
699         * java/io/FilenameFilter.java:
700         Reformated.
701         * java/io/FilterInputStream.java:
702         Reformated.
703         * java/io/FilterOutputStream.java:
704         Reformated.
705         * java/io/FilterReader.java:
706         Reformated.
707         * java/io/FilterWriter.java:
708         Reformated.
709         * java/io/LineNumberInputStream.java
710         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
711         happy.
712         (getLineNumber): Fixed @return tag.
713         * java/io/ObjectInput.java:
714         Reformated.
715         * java/io/ObjectOutput.java:
716         Reformated.
717         * java/io/ObjectStreamClass.java:
718         Reformated.
719         * java/io/PrintStream.java:
720         Merged copyright years with classpath.
721         * java/io/PushbackReader.java
722         (PushbackReader): Replaced @code with @param.
723         * java/io/SerializablePermission.java:
724         Reformated.
725         * java/io/StreamTokenizer.java
726         (resetSyntax): Fixed @see tag.
727
728 2003-03-22  Richard Henderson  <rth@redhat.com>
729
730         * sysdep/ia64/locks.h: Include ia64intrin.h.
731         (compare_and_swap): Use __sync_bool_compare_and_swap.
732         (compare_and_swap_release): Expose ar.ccv assignment.
733
734 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
735
736         * include/posix.h: Add suffix for darwin dynamic libraries.
737
738 2003-03-21  Michael Koch  <konqueror@gmx.de>
739
740         * javax/swing/Action.java
741         (ACCELERATOR_KEY): New constant.
742         (ACTION_COMMAND_KEY): Likewise.
743         (MNEMONIC_KEY): Likewise.
744         * javax/swing/UnsupportedLookAndFeelException.java
745         (UnsupportedLookAndFeelException): Must be public.
746         * javax/swing/WindowConstants.java
747         (EXIT_ON_CLOSE): New constant.
748         * javax/swing/text/BadLocationException.java
749         (offset): New member variable.
750         (BadLocationException): New implementation, documentation added.
751         (offsetRequested): New method.
752         * javax/swing/text/Caret.java:
753         Reformated.
754         * javax/swing/text/Document.java:
755         Reformated.
756
757 2003-03-21  Michael Koch  <konqueror@gmx.de>
758
759         * java/rmi/activation/Activatable.java
760         (serialVersionUID): New member variable.
761         * java/rmi/activation/ActivationGroup.java
762         (serialVersionUID): New member variable.
763         * java/rmi/activation/ActivationGroupDesc.java
764         (serialVersionUID): New member variable.
765         * java/rmi/registry/Registry.java:
766         Reformated.
767         (Registry): Deprecated.
768         * java/rmi/server/LoaderHandler.java
769         Reformated.
770         (LoaderHandler): Deprecated.
771         * java/rmi/server/LogStream.java
772         Reformated.
773         (LogStream): Deprecated.
774         * java/rmi/server/Operation.java
775         (Operation): Deprecated.
776         * java/rmi/server/RMIFailureHandler.java:
777         Reformated.
778         * java/rmi/server/RMISocketFactory.java:
779         Reformated.
780         * java/rmi/server/RemoteCall.java
781         (RemoteCall): Deprecated.
782         * java/rmi/server/RemoteStub.java:
783         Reformated.
784         * java/rmi/server/Skeleton.java
785         Reformated.
786         (Skeleton): Deprecated.
787
788 2003-03-21  Michael Koch  <konqueror@gmx.de>
789
790         * java/io/LineNumberReader.java
791         (LineNumberReader): Merged documentation with classpath.
792         (getLineNumber): Likewise.
793         (setLineNumber): Likewise.
794         (mark): Likewise.
795         (reset): Likewise.
796         (read): Likewise.
797         (readLine): Likewise.
798         (skip): Likewise.
799
800 2003-03-21  Michael Koch  <konqueror@gmx.de>
801
802         * java/rmi/RMISecurityManager.java
803         (checkAccept): Removed.
804         (checkAccess): Likewise.
805         (checkAccess): Likewise.
806         (checkAwtEventQueueAccess): Likewise.
807         (checkConnect): Likewise.
808         (checkCreateClassLoader): Likewise.
809         (checkDelete): Likewise.
810         (checkExec): Likewise.
811         (checkExit): Likewise.
812         (checkLink): Likewise.
813         (checkListen): Likewise.
814         (checkMemberAccess): Likewise.
815         (checkMulticast): Likewise.
816         (checkPackageAccess): Likewise.
817         (checkPackageDefinition): Likewise.
818         (checkPermission): Likewise.
819         (checkPrintJobAccess): Likewise.
820         (checkPropertiesAccess): Likewise.
821         (checkPropertyAccess): Likewise.
822         (checkRead): Likewise.
823         (checkSecurityAccess): Likewise.
824         (checkSetFactory): Likewise.
825         (checkSystemClipboardAccess): Likewise.
826         (checkTopLevelWindow): Likewise.
827         (checkWrite): Likewise.
828
829 2003-03-20  Michael Koch  <konqueror@gmx.de>
830
831         * gnu/java/nio/FileChannelImpl.java
832         (address): Removed.
833         (map_address): New member variable.
834         (length): Make it package private.
835         (fd): Make it package private.
836         (buf): Make it package private.
837         (file_obj): Make it package private.
838         (FileChannelImpl): New constructor.
839         (nio_mmap_file): Use RawData instead of long.
840         (nio_munmap_file): Use RawData instead of long.
841         (nio_msync): Use RawData instead of long.
842         (implCloseChannel): New implementation using map_address.
843         (read): Reformated.
844         (map): Implemented.
845         (create_direct_mapped_buffer): Implemented, use RawData, throws
846         IOException.
847         (force): Use map_address instead of address.
848         * gnu/java/nio/MappedByteFileBuffer.java
849         (address): Removed.
850         (map_address): New member variable.
851         (MappedByteFileBuffer): Use map_address instead of address, reformated.
852         (several methods): Use map_address instead of address, replaced long
853         with RawData where appropriate.
854         * gnu/java/nio/natFileChannelImpl.cc
855         (nio_mmap_file): Replaced long with RawData.
856         (nio_munmap_file): Replaced long with RawData.
857         (nio_msync): Replaced long with RawData.
858         * gnu/java/nio/natMappedByteFileBuffer.cc
859         (several methods): Replaced long with RawData where appropriate.
860
861 2003-03-20  Michael Koch  <konqueror@gmx.de>
862
863         * java/net/InetAddress.java,
864         java/net/JarURLConnection.java,
865         java/net/PlainDatagramSocketImpl.java,
866         java/net/PlainSocketImpl.java,
867         java/net/URLConnection.java:
868         Merged copyright statements with classpath for easier merging.
869
870 2003-03-20  Michael Koch  <konqueror@gmx.de>
871
872         * java/io/FileInputStream.java
873         (getChannel): New implementation.
874         * java/io/FileOutputStream.java
875         (ch): New member variable.
876         (getChannel): Implemented.
877         * java/io/RandomAccessFile.java
878         (RandomAccessFile): Throws FileNotFoundException instead of
879         IOException.
880         (getChannel): New method.
881         (ch): New member variable.
882
883 2003-03-20  Michael Koch  <konqueror@gmx.de>
884
885         * java/io/DataOutputStream.java,
886         java/io/File.java,
887         java/io/FileInputStream.java,
888         java/io/FileOutputStream.java,
889         java/io/InputStreamReader.java,
890         java/io/LineNumberReader.java,
891         java/io/OutputStreamWriter.java,
892         java/io/PrintStream.java,
893         java/io/RandomAccessFile.java:
894         Merged copyright statements with classpath for easier merging.
895
896 2003-03-19  Michael Koch  <konqueror@gmx.de>
897
898         * java/lang/Process.java:
899         Merged from classpath.
900
901 2003-03-19  Michael Koch  <konqueror@gmx.de>
902
903         * java/io/FileOutputStream.java
904         (FileOutputStream): New constructor, merged from classpath.
905         * java/io/FileWriter.java
906         (FileWriter): New constructor, merged from classpath.
907
908 2003-03-18  Michael Koch  <konqueror@gmx.de>
909
910         * java/awt/ScrollPane.java
911         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
912         (getViewportSize): Likewise.
913         (addNotify): Likewise.
914         (removeNotify): Likewise.
915         * java/awt/ScrollPaneAdjustable.java
916         (ScrollPaneAdjustable): No longer extends Scrollbar.
917         * java/beans/beancontext/BeanContextServices.java:
918         Reformated.
919         (getService): Added throws TooManyListenersException;
920         * java/beans/beancontext/BeanContextServicesSupport.java:
921         Reformated.
922
923 2003-03-18  Michael Koch  <konqueror@gmx.de>
924
925         * java/io/BufferedOutputStream.java,
926         java/io/DataInput.java,
927         java/io/DataInputStream.java,
928         java/io/DataOutput.java,
929         java/io/Externalizable.java:
930         More merges from classpath.
931
932 2003-03-18  Michael Koch  <konqueror@gmx.de>
933
934         * configure.in: Fixed links to platform dependant java.net files.
935         * configure: Regenerated.
936         * java/net/natInetAddress.cc,
937         java/net/natNetworkInterface.cc,
938         java/net/natPlainDatagramSocketImpl.cc,
939         java/net/natPlainSocketImpl.cc:
940         Removed.
941
942 2003-03-18  Michael Koch  <konqueror@gmx.de>
943
944         * configure.in: Create links to architecture dependent files,
945         introduced PLATFORMNET variable (set to NoNet for newlib usage).
946         * configure: Regenerated.
947         * java/net/natInetAddressNoNet.cc,
948         java/net/natInetAddressPosix.cc,
949         java/net/natInetAddressWin32.cc,
950         java/net/natNetworkInterfaceNoNet.cc,
951         java/net/natNetworkInterfacePosix.cc,
952         java/net/natNetworkInterfaceWin32.cc,
953         java/net/natPlainDatagramSocketImplNoNet.cc,
954         java/net/natPlainDatagramSocketImplPosix.cc,
955         java/net/natPlainDatagramSocketImplWin32.cc,
956         java/net/natPlainSocketImplNoNet.cc,
957         java/net/natPlainSocketImplPosix.cc,
958         java/net/natPlainSocketImplWin32.cc: New files.
959
960 2003-03-18  Michael Koch  <konqueror@gmx.de>
961
962         * java/io/BufferedReader.java,
963         java/io/BufferedWriter.java,
964         java/io/ByteArrayOutputStream.java,
965         java/io/FileFilter.java,
966         java/io/FilePermission.java,
967         java/io/FileReader.java,
968         java/io/FileWriter.java,
969         java/io/FilenameFilter.java,
970         java/io/FilterInputStream.java,
971         java/io/FilterOutputStream.java,
972         java/io/FilterReader.java,
973         java/io/FilterWriter.java,
974         java/io/ObjectInput.java,
975         java/io/ObjectInputValidation.java,
976         java/io/ObjectOutput.java,
977         java/io/ObjectStreamField.java,
978         java/io/PipedInputStream.java,
979         java/io/PipedReader.java,
980         java/io/PrintWriter.java,
981         java/io/PushbackReader.java,
982         java/io/Reader.java,
983         java/io/SerializablePermission.java,
984         java/io/StringReader.java,
985         java/io/Writer.java:
986         Merged from classpath.
987
988 2003-03-17  Michael Koch  <konqueror@gmx.de>
989
990         * java/awt/ScrollPaneAdjustable.java:
991         Compile fixes.
992         
993 2003-03-17  Michael Koch  <konqueror@gmx.de>
994
995         * java/net/DatagramSocket.java
996         (connect): Fixed comment.
997         * java/nio/ByteBuffer.java
998         (hasArray): Fixed comment.
999
1000 2003-03-17  Michael Koch  <konqueror@gmx.de>
1001
1002         * java/beans/Beans.java:
1003         Explicitely import classes not packages.
1004         * java/beans/FeatureDescriptor.java
1005         (preferred): New member variable.
1006         (isPreferred): New method.
1007         (setPreferred): New method.
1008         * java/beans/PropertyEditorManager.java:
1009         Explicitely import used classes.
1010         * java/beans/beancontext/BeanContextChild.java:
1011         Added line wrapping.
1012         * java/beans/beancontext/BeanContextChildSupport.java:
1013         Reindented.
1014         * java/beans/beancontext/BeanContextEvent.java:
1015         Reindented.
1016
1017 2003-03-17  Michael Koch  <konqueror@gmx.de>
1018
1019         * java/awt/Dialog.java
1020         (Dialog): New constructor, changed implementations, added
1021         documentation.
1022         * java/awt/ScrollPaneAdjustable.java
1023         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
1024         Serializable.
1025         (serialVersionUID): New member variable.
1026         (sp): New member variable.
1027         (orientation): New member variable.
1028         (value): New member variable.
1029         (minimum): New member variable.
1030         (maximum): New member variable.
1031         (visibleAmount): New member variable.
1032         (unitIncrement): New member variable.
1033         (blockIncrement): New member variable.
1034         (AdjustmentListener): New member variable.
1035         (ScrollPaneAdjustable): New implementation.
1036         (addAdjustmentListener): New method.
1037         (removeAdjustmentListener): New method.
1038         (getAdjustmentListeners): New method.
1039         (getBlockIncrement): New method.
1040         (getMaximum): New method.
1041         (getMinimum): New method.
1042         (getOrientation): New method.
1043         (getUnitIncrement): New method.
1044         (getValue): New method.
1045         (getVisibleAmount): New method.
1046         (setBlockIncrement): New method.
1047         (setMaximum): Implemented.
1048         (setMinimum): Implemented.
1049         (setUnitIncrement): New method.
1050         (setValue): New method.
1051         (setVisibleAmount): Implemented. 
1052         (paramString): New stubbed method.
1053         * java/awt/Window.java
1054         (show): Call setVisible().
1055         (hide): Call setVisible().
1056         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
1057         and WINDOW_STATE_CHANGED.
1058         (processWindowFocusEvent): New method.
1059         (processWindowStateEvent): New method.
1060         (postEvent): Deprecated.
1061         (applyResourceBundle): Deprecated.
1062         * java/awt/datatransfer/DataFlavor.java
1063         (DataFlavor): Doesn't thow ClassNotFoundException.
1064
1065 2003-03-17  Michael Koch
1066
1067         * javax/print/attribute/Attribute.java,
1068         javax/print/attribute/AttributeSet.java,
1069         javax/print/attribute/PrintRequestAttributeSet.java:
1070         New files.
1071         * Makefile.am
1072         (javax_source_files): Added new files:
1073         javax/print/attribute/Attribute.java
1074         javax/print/attribute/AttributeSet.java
1075         javax/print/attribute/PrintRequestAttributeSet.java
1076         * Makefile.in: Regenerated.
1077
1078 2003-03-17  Michael Koch
1079
1080         * javax/print/attribute/Attribute.java,
1081         javax/print/attribute/AttributeSet.java,
1082         javax/print/attribute/PrintRequestAttributeSet.java:
1083         New files.
1084         * Makefile.am
1085         (awt_java_source_files): Added new files:
1086         javax/print/attribute/Attribute.java
1087         javax/print/attribute/AttributeSet.java
1088         javax/print/attribute/PrintRequestAttributeSet.java
1089         * Makefile.in: Regenerated.
1090
1091 2003-03-16  Tom Tromey  <tromey@redhat.com>
1092
1093         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
1094         Include platform.h.
1095         * java/lang/natRuntime.cc (insertSystemProperties): Use
1096         _Jv_platform_path_separator.
1097         (nativeGetLibname): Use _Jv_platform_file_separator.
1098         (_load): Use _Jv_platform_onload_names.
1099         (onload_names): New global.
1100         * include/win32.h (_Jv_platform_file_separator): New define.
1101         (_Jv_platform_path_separator): Likewise.
1102         (_Jv_platform_onload_names): Likewise.
1103         (_Jv_platform_ffi_abi): Likewise.
1104         * include/posix.h (_Jv_platform_file_separator): New define.
1105         (_Jv_platform_path_separator): Likewise.
1106         (_Jv_platform_onload_names): Likewise.
1107         (_Jv_platform_ffi_abi): Likewise.
1108
1109 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
1110
1111         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
1112
1113 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
1114
1115         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
1116         hierarchy loop.
1117         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
1118         list to Object,ObjectStreamClass, moved callReadMethod code up into
1119         readObject and added Class argument to all setXxxField calls.
1120         (callReadMethod): Changed Class argument to ObjectStreamClass to be
1121         consistent with ObjectOutputStream and to facilitate caching the
1122         Method in the future.
1123         (setBooleanField): Added Class argument.
1124         (setByteField): Likewise.
1125         (setCharField): Likewise.
1126         (setDoubleField): Likewise.
1127         (setFloatField): Likewise.
1128         (setIntField): Likewise.
1129         (setLongField): Likewise.
1130         (setShortField): Likewise.
1131         (setObjectField): Likewise.
1132         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
1133         class hierarchy loop.
1134         (defaultWriteObject): Call writeFields with new argument list.
1135         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
1136         list to Object,ObjectStreamClass, moved callWriteMethod up into
1137         writeObject and added Class argument to all getXxxField calls.
1138         (callWriteMethod): Added ObjectStreamClass argument to be able to
1139         get the proper class to call getMethod on (each class can have (or
1140         not have) its own writeObject method).
1141         (getBooleanField): Added Class argument.
1142         (getByteField): Likewise.
1143         (getCharField): Likewise.
1144         (getDoubleField): Likewise.
1145         (getFloatField): Likewise.
1146         (getIntField): Likewise.
1147         (getLongField): Likewise.
1148         (getShortField): Likewise.
1149         (getObjectField): Likewise.
1150         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
1151         facilitate caching the Method object in the future.
1152
1153 2003-03-12  Andreas Schwab  <schwab@suse.de>
1154
1155         * configure.in: Avoid trailing /. in toolexeclibdir.
1156         * configure: Rebuilt.
1157
1158 2003-03-11  Michael Koch  <konqueror@gmx.de>
1159
1160         * gnu/java/nio/ByteBufferImpl.java
1161         (putInt): Use limit() instead of limit.
1162         * gnu/java/nio/CharBufferImpl.java
1163         (slice): Fixed implementation.
1164         (subSequence): Better bounds checking.
1165         * gnu/java/nio/MappedByteFileBuffer.java:
1166         Import all needed classes directly.
1167         * java/nio/ByteBuffer.java
1168         (hashCode): New dummy method.
1169         * java/nio/CharBuffer.java
1170         (array_offset): New member variable.
1171         (hasArray): Fixed documentation.
1172         (arrayOffset): Return array_offset.
1173
1174 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
1175
1176         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
1177         setter; made return value of getter const char* instead of char*
1178         * prims.cc: removed all references to _Jv_ThisExecutable().
1179         These are in the platform-specific sections now.
1180         * posix.cc: define platform-specific _Jv_ThisExecutable().
1181         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
1182         * win32.cc: define platform-specific _Jv_ThisExecutable()
1183         using GetModuleFilename()
1184         * java/lang/natRuntime.cc: set gnu.gcj.progname property
1185         to argv[0] instead of _Jv_ThisExecutable()
1186
1187 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
1188
1189         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
1190         that is set if we are using addr2name.awk instead of addr2line.
1191         (NameFinder): Set usingAddr2name if using addr2name.awk.
1192         (getExternalLabel): New native method to convert a method 
1193         name to an external label.
1194         (lookup): Convert name given by addr2line to an external label
1195         before demangling.
1196
1197         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
1198         constant representing the prefix attached to method names to
1199         convert them to an external label.
1200         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
1201         using LABEL_PREFIX.
1202
1203 2003-03-10  Tom Tromey  <tromey@redhat.com>
1204
1205         * Makefile.in: Rebuilt.
1206         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
1207         (JC1FLAGS): Removed -Wno-deprecated.
1208
1209 2003-03-10  Michael Koch  <konqueror@gmx.de>
1210
1211         * java/nio/ByteOrder.java
1212         (nativeOrder): Working implementation, added documentation.
1213         (toString): Added documentation.
1214
1215 2003-03-10  Michael Koch  <konqueror@gmx.de>
1216
1217         * java/net/DatagramSocket.java,
1218         java/net/MulticastSocket.java,
1219         java/net/Socket.java,
1220         java/net/URL.java,
1221         java/net/URLConnection.java:
1222         Fixed some documentation tags to make javadoc and friends happy.
1223
1224 2003-03-10  Michael Koch  <koqnueror@gmx.de>
1225
1226         * java/beans/beancontext/BeanContextServicesSupport.java,
1227         java/beans/beancontext/BeanContextSupport.java: New files.
1228         * Makefile.am
1229         (awt_source_files): Added new files.
1230         * Makefile.in: Regenerated.
1231
1232 2003-03-10  Michael Koch  <konqueror@gmx.de>
1233
1234         * java/awt/FocusTraversalPolicy.java
1235         (FocusTraversalPolicy): Documentation added.
1236         (getComponentAfter): Documentation added.
1237         (getComponentBefore): Documentation added.
1238         (getFirstComponent): Documentation added.
1239         (getLastComponent): Documentation added.
1240         (getDefaultComponent): Documentation added.
1241         (getInitialComponent): Documentation added.
1242         * java/awt/ScrollPaneAdjustable.java
1243         (sp): New member variable.
1244         (orientation): New member variable.
1245         (value): New member variable.
1246         (minimum): New member variable.
1247         (maximum): New member variable.
1248         (visibleAmount): New member variable.
1249         (unitIncrement): New member variable.
1250         (blockIncrement): New member variable.
1251         (adjustmentListener): New member variable.
1252         (ScrollPaneAdjustable): Rewrote.
1253         (addAdjustmentListener): New method.
1254         (removeAdjustmentListener): New method.
1255         (getAdjustmentListeners): New method.
1256         (getBlockIncrement): New method.
1257         (getMaximum): New method.
1258         (getMinimum): New method.
1259         (getOrientation): New method.
1260         (getUnitIncrement): New method.
1261         (getValue): New method.
1262         (getVisibleAmount): New method.
1263         (setBlockIncrement): New method.
1264         (setUnitIncrement): New method.
1265         (setMaximum): Implemented.
1266         (setMinimum): Implemented.
1267         (setValue): New method.
1268         (setVisibleAmount): Implemented.
1269         (paramString): New method.
1270         * java/awt/Window.java
1271         (show): Use setVisible(true) instead of super.show().
1272         (hide): Use sevVisible(false) instead of super.hide().
1273         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
1274         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
1275         (postEvent): Deprecated.
1276         (applyResourceBundle): Deprecated.
1277         (processWindowFocusEvent): New method.
1278         (processWindowStateEvent): New method.
1279         * java/awt/datatransfer/DataFlavor.java: Reindented.
1280         * java/awt/font/TextHitInfo.java
1281         (charIndex): New member variable.
1282         (leadingEdge): New member variable.
1283         (TextHitInfo): New constructor.
1284         (getCharIndex): Implemented.
1285         (isLeadingEdge): Implemented.
1286         (getInsertionIndex): Implemented.
1287         (hashCode): Access charIndex directly.
1288         (equals): Reformated.
1289         (leading): Implemented.
1290         (trailing): Implemented.
1291         (beforeOffset): Implemented.
1292         (afterOffset): Implemented.
1293         (getOtherHit): Implemented.
1294         (getOffsetHit): Implemented.
1295         (toString): Implemented.
1296         * java/awt/image/BufferedImage.java
1297         (BufferedImage): Implements WritableRenderedImage.
1298         (observers): New member variable.
1299         (addTileObserver): New method.
1300         (removeTileObserver): New method.
1301
1302 2003-03-09  Tom Tromey  <tromey@redhat.com>
1303
1304         PR libgcj/9934:
1305         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
1306         to lseek.  Return 0 if we can't compute the value.
1307
1308 2003-03-03  Michael Koch  <konqueror@gmx.de>
1309
1310         * java/net/NetworkInterface.java: Merged with classpath.
1311
1312 2003-03-03  Tom Tromey  <tromey@redhat.com>
1313
1314         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
1315         of bytecode.
1316         (handle_ret_insn): Fail if returning to jsr that appears at end of
1317         bytecode.
1318
1319 2003-03-03  Michael Koch  <konqueror@gmx.de>
1320
1321         * Makefile.am
1322         (ordinary_java_source_files):
1323         Added gnu/java/nio/MappedByteFileBuffer.java.
1324         (nat_source_files):
1325         Added gnu/java/nio/natMappedByteFileBuffer.cc.
1326         * Makefile.in: Regenerated.
1327
1328 2003-03-03  Michael Koch  <konqueror@gmx.de>
1329
1330         * java/net/DatagramSocket.java
1331         (connect): Merged comment from classpath.
1332         (receive): Merged documentation from classpath.
1333         * java/net/Socket.java
1334         (setSoTimeout): Clarified documentation.
1335         * java/net/URL.java
1336         (getPath): Merged from classpath.
1337         (getUserInfo): Merged from classpath.
1338         (getQuery): Merged from classpath.
1339         * java/net/URLStreamHandler.java
1340         (toExternalForm): Merged from classpath.
1341
1342 2003-03-02  Mark Wielaard  <mark@klomp.org>
1343
1344         * java/util/Properties.java (load): Only skip line if the first
1345         character is a comment, whitespaces don't count.
1346
1347 2003-03-02  Michael Koch  <konqueror@gmx.de>
1348
1349         * java/net/NetPermission.java:
1350         Merged copyright with classpath.
1351
1352 2003-03-02  Michael Koch  <konqueror@gmx.de>
1353
1354         * java/lang/Package.java:
1355         Remerged from classpath.
1356
1357 2003-03-02  Michael Koch  <konqueror@gmx.de>
1358
1359         * java/net/HttpURLConnection.java
1360         (HTTP_SERVER_ERROR): Deprecated.
1361         * java/net/MulticastSocket.java
1362         (send): Replaced checkMulticast with appropriate checkPermission call,
1363         deprecated.
1364         * java/net/URLDecoder.java
1365         (decode): Deprecated.
1366         * java/net/URLEncoder.java
1367         (encode): Deprecated.
1368
1369 2003-03-02  Michael Koch  <konqueror@gmx.de>
1370
1371         * javax/swing/text/Caret.java
1372         (getMagicCaretPosition): Fixed typo in method name.
1373         * javax/swing/text/DefaultCaret.java
1374         (getMagicCaretPosition): Fixed typo in method name.
1375
1376 2003-03-02  Michael Koch  <konqueror@gmx.de>
1377
1378         * java/awt/List.java
1379         (setMultipleSelections): Deprecated.
1380         (delItem): Deprecated.
1381         * java/awt/MenuComponent.java
1382         (getPeer): Deprecated.
1383         * java/awt/ScrollPane.java
1384         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
1385         * java/awt/dnd/MouseDragGestureRecognizer.java
1386         (mouseClicked): Added comment.
1387         (mousePressed): Added comment.
1388         (mouseReleased): Added comment.
1389         (mouseEntered): Added comment.
1390         (mouseExited): Added comment.
1391         (mouseDragged): Added comment.
1392         (mouseMoved): Added comment.
1393         * java/awt/event/KeyEvent.java
1394         (KeyEvent): Deprecated.
1395         (setModifiers): Deprecated.
1396         
1397 2003-03-02  Michael Koch  <konqueror@gmx.de>
1398
1399         * gnu/java/nio/FileChannelImpl.java
1400         (fd): Type FileDescriptor instead of int.
1401         (lengthInternal): Removed.
1402         (FileChannelImpl): Fixed arguments, check type of file object.
1403         (size): Made it native.
1404         (implPosition): New native method.
1405         (implTruncate): New native method.
1406         (position): Implemented.
1407         (truncate): Implemented.
1408         (nio_mmap_file): Changed arguments.
1409         (nio_munmap_file): Changed arguments.
1410         (nio_msync): Changed arguments.
1411         * gnu/java/nio/natFileChannelImpl.cc
1412         (lengthInternal): Removed.
1413         (size): New method.
1414         (implPosition): New method.
1415         (implTruncate): New method.
1416         (nio_mmap_file): Changed arguments.
1417         (nio_munmap_file): Changed arguments.
1418         (nio_msync): Changed arguments.
1419
1420 2003-03-02  Michael Koch  <konqueror@gmx.de>
1421
1422         * java/awt/dnd/DropTargetContext.java:
1423         Compile fix: Forgot to commit import.
1424         
1425 2003-03-02  Michael Koch  <konqueror@gmx.de>
1426
1427         * java/awt/Component.java,
1428         java/awt/ScrollPane.java:
1429         Fixed typos.
1430
1431 2003-03-02  Michael Koch  <konqueror@gmx.de>
1432
1433         * java/awt/dnd/DnDEventMulticaster.java: New file.
1434         * java/awt/dnd/DragSource.java
1435         (flavorMap): New member variable.
1436         (dragSourceListener): New member variable.
1437         (dragSourceMotionListener): New member variable.
1438         (getFlavorMap): Implemented.
1439         (createDragGestureRecognizer): Implemented.
1440         (addDragSourceListener): Implemented.
1441         (removeDragSourceListener): Implemented.
1442         (getDragSourceListeners): Implemented.
1443         (addDragSourceMotionListener): Implemented.
1444         (removeDragSourceMotionListener): Implemented.
1445         (getDragSourceMotionListeners): Implemented.
1446         (getListeners): Implemented.
1447         * java/awt/dnd/DragSourceContext.java
1448         (peer): New member variable.
1449         (cursor): New member variable.
1450         (transferable): New member variable.
1451         (trigger): New member variable.
1452         (dragSourceListener): New member variable.
1453         (image): New member variable.
1454         (offset): New member variable.
1455         (DragSourceContext): Implemented.
1456         (getDragSource): Implemented.
1457         (getComponent): Implemented.
1458         (getTrigger): Implemented.
1459         (getSourceActions): Implemented.
1460         (setCursor): Implemented.
1461         (getCursor): Implemented.
1462         (addDragSourceListener): Implemented.
1463         (removeDragSourceListener): Implemented.
1464         (getTransferable): Implemented.
1465         * java/awt/dnd/DropTarget.java
1466         (DropTargetAutoScroller.component): New member variable.
1467         (DropTargetAutoScroller.point): New member variable.
1468         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
1469         (DropTargetAutoScroller.updateLocation): Implemented.
1470         (active): Renamed from isActive, defaults to true now.
1471         (component): New member variable.
1472         (flavorMap): New member variable.
1473         (actions): New member variable.
1474         (dropTargetContext): New member variable.
1475         (dropTargetListener): New member variable.
1476         (DropTarget): Implemented.
1477         (getComponent): Implemented.
1478         (setComponent): Implemented.
1479         (setDefaultActions): Implemented.
1480         (getDefaultActions): Implemented.
1481         (setActive): Use active instead of isActive.
1482         (isActive): Use active instead of isActive.
1483         (addDropTargetListener): Implemented.
1484         (removeDropTargetListener): Implemented.
1485         (getFlavorMap): Implemented.
1486         (setFlavorMap): Implemented.
1487         (getDropTargetContext): Implemented.
1488         (createDropTargetContext): Implemented.
1489         (createDropTargetAutoScroller): Implemented.
1490         * java/awt/dnd/DropTargetContext.java
1491         (TransferableProxy.getTransferDataFlavors): Implemented.
1492         (TransferableProxy.isDataFlavorSupported): Implemented.
1493         (TransferableProxy.getTransferData): Implemented.
1494         (dropTarget):  New member variable.
1495         (dtcp): New member variable.
1496         (DropTargetContext): New package private constructor.
1497         (getDropTarget): Implemented.
1498         (getComponent): Implemented.
1499         (addNotify): Implemented.
1500         (removeNotify): Implemented.
1501         (getCurrentDataFlavorsAsList): Implemented.
1502         (isDataFlavorSupported): Implemented.
1503         * java/awt/dnd/MouseDragGestureRecognizer.java
1504         (registerListeners): Implemented.
1505         (unregisterListeners): Implemented.
1506         * Makefile.am
1507         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
1508         * Makefile.in: Regenerated.
1509
1510 2003-03-02  Michael Koch  <konqueror@gmx.de>
1511
1512         * java/awt/Component.java
1513         (eventTypeEnabled): New method.
1514         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
1515         * java/awt/Container.java
1516         (changeSupport): New member variable.
1517         (addPropertyChangeListener): New methods.
1518         * java/awt/ContainerOrderFocusTraversalPolicy.java
1519         (ContainerOrderFocusTraversalPolicy): Added comment.
1520         (getComponentAfter): Throw exception, documentation added.
1521         (getComponentBefore): Throw exception, documentation added.
1522         (getFirstComponent): Throw exception, documentation added.
1523         (getLastComponent): Throw exception, documentation added.
1524         (getDefaultComponent): Throw exception, documentation added.
1525         * java/awt/EventQueue.java: Reindented.
1526         * java/awt/FocusTraversalPolicy.java:
1527         (FocusTraversalPolicy): Added comment.
1528         (getComponentAfter): Documentation added.
1529         (getComponentBefore): Documentation added.
1530         (getFirstComponent): Documentation added.
1531         (getLastComponent): Documentation added.
1532         (getDefaultComponent): Documentation added.
1533         (getInitialComponent): Documentation added.
1534         * java/awt/ScrollPane.java
1535         (wheelScrollingEnabled): New member variable.
1536         (ScrollPane): Initialize wheelScollingEnabled.
1537         (eventTypeEnabled): New method.
1538         (isWheelScrollingEnabled): New method.
1539         (setWheelScrollingEnabled): New method.
1540
1541 2003-03-02  Michael Koch  <konqueror@gmx.de>
1542
1543         * java/net/DatagramSocket.java
1544         (closed): New member variable.
1545         (close): Use closed variable.
1546         (getInetAddress): No need to call isConnected().
1547         (getPort): No need to call isConnected().
1548         (disconnect): Reset remoteAddress and remotePort, fixed typo.
1549         (isClosed): Reimplemented.
1550         
1551 2003-03-02  Michael Koch  <konqueror@gmx.de>
1552
1553         * configure.in: Added check for memory mapping of files.
1554         * configure: Regenerated.
1555         * config.h.in: Regenerated.
1556
1557 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
1558
1559         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
1560         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
1561
1562 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
1563
1564         * java/io/File.java (normalizePath): Remove trailing separator
1565         on Windows only if path is not of the form "x:\".
1566
1567         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
1568         (java::io::File::attr): Change formatting a bit and use
1569         WIN32_EPOCH_MILLIS instead of magic numbers.
1570         (java::io::File::isAbsolute): Path must have at least 3 
1571         characters for a UNC network path.
1572         (java::io::File::init_native): Define.
1573         (java::io::File::performCreate): Likewise.
1574         (java::io::File::performSetReadOnly): Likewise.
1575         (java::io::File::performSetLastModified): Likewise.
1576         (java::io::File::performListRoots): Likewise.
1577
1578 2003-03-01  Tom Tromey  <tromey@redhat.com>
1579
1580         * java/lang/natObject.cc: Don't include assert.h.
1581         (heavy_lock_obj_finalization_proc): Use JvAssert.
1582         (remove_all_heavy): Likewise.
1583         (_Jv_MonitorEnter): Likewise.
1584         (_Jv_MonitorExit): Likewise.
1585         (wait): Likewise.
1586
1587 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
1588
1589         * java/io/File (getAbsolutePath): Prefix drive specifier on
1590         Windows for paths starting with a '\'.
1591         (toURL): Make URL more consistent with what Sun's JDK returns.
1592
1593         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
1594         true only if the path is a UNC network path or it starts with a
1595         drive specifier.
1596
1597         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
1598         Be prepared to handle either '/' or '\\' in the file path for
1599         Windows if using the "file" protocol.
1600         Canonicalise the file path if using a relative path in the given
1601         context and the "file" protocol.
1602
1603 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
1604
1605         * java/lang/natWin32Process.cc (startProcess): Double-quote each
1606         program array element passed to CreateProcess.
1607
1608 2003-03-01  Tom Tromey  <tromey@redhat.com>
1609
1610         * java/rmi/registry/RegistryHandler.java: Deprecate.
1611
1612 2003-03-01  Tom Tromey  <tromey@redhat.com>
1613
1614         * javax/accessibility/AccessibleEditableText.java,
1615         javax/accessibility/AccessibleHyperlink.java: New versions from
1616         Classpath.
1617
1618         * gnu/java/locale/LocaleInformation_af_ZA.java,
1619         gnu/java/locale/LocaleInformation_ar_AE.java,
1620         gnu/java/locale/LocaleInformation_ar_BH.java,
1621         gnu/java/locale/LocaleInformation_ar_DZ.java,
1622         gnu/java/locale/LocaleInformation_ar_EG.java,
1623         gnu/java/locale/LocaleInformation_ar_IN.java,
1624         gnu/java/locale/LocaleInformation_ar_IQ.java,
1625         gnu/java/locale/LocaleInformation_ar_JO.java,
1626         gnu/java/locale/LocaleInformation_ar_KW.java,
1627         gnu/java/locale/LocaleInformation_ar_LB.java,
1628         gnu/java/locale/LocaleInformation_ar_LY.java,
1629         gnu/java/locale/LocaleInformation_ar_MA.java,
1630         gnu/java/locale/LocaleInformation_ar_OM.java,
1631         gnu/java/locale/LocaleInformation_ar_QA.java,
1632         gnu/java/locale/LocaleInformation_ar_SD.java,
1633         gnu/java/locale/LocaleInformation_ar_SY.java,
1634         gnu/java/locale/LocaleInformation_ar_TN.java,
1635         gnu/java/locale/LocaleInformation_ar_YE.java,
1636         gnu/java/locale/LocaleInformation_be_BY.java,
1637         gnu/java/locale/LocaleInformation_bn_IN.java,
1638         gnu/java/locale/LocaleInformation_br_FR.java,
1639         gnu/java/locale/LocaleInformation_bs_BA.java,
1640         gnu/java/locale/LocaleInformation_ca_ES.java,
1641         gnu/java/locale/LocaleInformation_cs_CZ.java,
1642         gnu/java/locale/LocaleInformation_cy_GB.java,
1643         gnu/java/locale/LocaleInformation_da_DK.java,
1644         gnu/java/locale/LocaleInformation_de_AT.java,
1645         gnu/java/locale/LocaleInformation_de_BE.java,
1646         gnu/java/locale/LocaleInformation_de_CH.java,
1647         gnu/java/locale/LocaleInformation_de_DE.java,
1648         gnu/java/locale/LocaleInformation_de_LU.java,
1649         gnu/java/locale/LocaleInformation_el_GR.java,
1650         gnu/java/locale/LocaleInformation_en_AU.java,
1651         gnu/java/locale/LocaleInformation_en_BW.java,
1652         gnu/java/locale/LocaleInformation_en_CA.java,
1653         gnu/java/locale/LocaleInformation_en_DK.java,
1654         gnu/java/locale/LocaleInformation_en_GB.java,
1655         gnu/java/locale/LocaleInformation_en_HK.java,
1656         gnu/java/locale/LocaleInformation_en_IE.java,
1657         gnu/java/locale/LocaleInformation_en_IN.java,
1658         gnu/java/locale/LocaleInformation_en_NZ.java,
1659         gnu/java/locale/LocaleInformation_en_PH.java,
1660         gnu/java/locale/LocaleInformation_en_SG.java,
1661         gnu/java/locale/LocaleInformation_en_US.java,
1662         gnu/java/locale/LocaleInformation_en_ZA.java,
1663         gnu/java/locale/LocaleInformation_en_ZW.java,
1664         gnu/java/locale/LocaleInformation_es_AR.java,
1665         gnu/java/locale/LocaleInformation_es_BO.java,
1666         gnu/java/locale/LocaleInformation_es_CL.java,
1667         gnu/java/locale/LocaleInformation_es_CO.java,
1668         gnu/java/locale/LocaleInformation_es_CR.java,
1669         gnu/java/locale/LocaleInformation_es_DO.java,
1670         gnu/java/locale/LocaleInformation_es_EC.java,
1671         gnu/java/locale/LocaleInformation_es_ES.java,
1672         gnu/java/locale/LocaleInformation_es_GT.java,
1673         gnu/java/locale/LocaleInformation_es_HN.java,
1674         gnu/java/locale/LocaleInformation_es_MX.java,
1675         gnu/java/locale/LocaleInformation_es_NI.java,
1676         gnu/java/locale/LocaleInformation_es_PA.java,
1677         gnu/java/locale/LocaleInformation_es_PE.java,
1678         gnu/java/locale/LocaleInformation_es_PR.java,
1679         gnu/java/locale/LocaleInformation_es_PY.java,
1680         gnu/java/locale/LocaleInformation_es_SV.java,
1681         gnu/java/locale/LocaleInformation_es_US.java,
1682         gnu/java/locale/LocaleInformation_es_UY.java,
1683         gnu/java/locale/LocaleInformation_es_VE.java,
1684         gnu/java/locale/LocaleInformation_et_EE.java,
1685         gnu/java/locale/LocaleInformation_eu_ES.java,
1686         gnu/java/locale/LocaleInformation_fa_IR.java,
1687         gnu/java/locale/LocaleInformation_fi_FI.java,
1688         gnu/java/locale/LocaleInformation_fo_FO.java,
1689         gnu/java/locale/LocaleInformation_fr_BE.java,
1690         gnu/java/locale/LocaleInformation_fr_CA.java,
1691         gnu/java/locale/LocaleInformation_fr_CH.java,
1692         gnu/java/locale/LocaleInformation_fr_FR.java,
1693         gnu/java/locale/LocaleInformation_fr_LU.java,
1694         gnu/java/locale/LocaleInformation_ga_IE.java,
1695         gnu/java/locale/LocaleInformation_gd_GB.java,
1696         gnu/java/locale/LocaleInformation_gl_ES.java,
1697         gnu/java/locale/LocaleInformation_gv_GB.java,
1698         gnu/java/locale/LocaleInformation_he_IL.java,
1699         gnu/java/locale/LocaleInformation_hi_IN.java,
1700         gnu/java/locale/LocaleInformation_hr_HR.java,
1701         gnu/java/locale/LocaleInformation_hu_HU.java,
1702         gnu/java/locale/LocaleInformation_id_ID.java,
1703         gnu/java/locale/LocaleInformation_it_CH.java,
1704         gnu/java/locale/LocaleInformation_it_IT.java,
1705         gnu/java/locale/LocaleInformation_iw_IL.java,
1706         gnu/java/locale/LocaleInformation_ja_JP.java,
1707         gnu/java/locale/LocaleInformation_ka_GE.java,
1708         gnu/java/locale/LocaleInformation_kl_GL.java,
1709         gnu/java/locale/LocaleInformation_ko_KR.java,
1710         gnu/java/locale/LocaleInformation_kw_GB.java,
1711         gnu/java/locale/LocaleInformation_lt_LT.java,
1712         gnu/java/locale/LocaleInformation_lv_LV.java,
1713         gnu/java/locale/LocaleInformation_mi_NZ.java,
1714         gnu/java/locale/LocaleInformation_mk_MK.java,
1715         gnu/java/locale/LocaleInformation_mr_IN.java,
1716         gnu/java/locale/LocaleInformation_mt_MT.java,
1717         gnu/java/locale/LocaleInformation_nl_BE.java,
1718         gnu/java/locale/LocaleInformation_nl_NL.java,
1719         gnu/java/locale/LocaleInformation_nn_NO.java,
1720         gnu/java/locale/LocaleInformation_no_NO.java,
1721         gnu/java/locale/LocaleInformation_oc_FR.java,
1722         gnu/java/locale/LocaleInformation_pl_PL.java,
1723         gnu/java/locale/LocaleInformation_pt_BR.java,
1724         gnu/java/locale/LocaleInformation_pt_PT.java,
1725         gnu/java/locale/LocaleInformation_ro_RO.java,
1726         gnu/java/locale/LocaleInformation_ru_RU.java,
1727         gnu/java/locale/LocaleInformation_ru_UA.java,
1728         gnu/java/locale/LocaleInformation_se_NO.java,
1729         gnu/java/locale/LocaleInformation_sk_SK.java,
1730         gnu/java/locale/LocaleInformation_sl_SI.java,
1731         gnu/java/locale/LocaleInformation_sq_AL.java,
1732         gnu/java/locale/LocaleInformation_sr_YU.java,
1733         gnu/java/locale/LocaleInformation_sv_FI.java,
1734         gnu/java/locale/LocaleInformation_sv_SE.java,
1735         gnu/java/locale/LocaleInformation_ta_IN.java,
1736         gnu/java/locale/LocaleInformation_te_IN.java,
1737         gnu/java/locale/LocaleInformation_tg_TJ.java,
1738         gnu/java/locale/LocaleInformation_tl_PH.java,
1739         gnu/java/locale/LocaleInformation_tr_TR.java,
1740         gnu/java/locale/LocaleInformation_uk_UA.java,
1741         gnu/java/locale/LocaleInformation_ur_PK.java,
1742         gnu/java/locale/LocaleInformation_uz_UZ.java,
1743         gnu/java/locale/LocaleInformation_vi_VN.java,
1744         gnu/java/locale/LocaleInformation_yi_US.java,
1745         gnu/java/locale/LocaleInformation_zh_CN.java,
1746         gnu/java/locale/LocaleInformation_zh_HK.java,
1747         gnu/java/locale/LocaleInformation_zh_SG.java,
1748         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
1749         info; from Classpath.
1750
1751         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
1752         isPaintPending): New methods.
1753         * gnu/awt/xlib/XFramePeer.java (getState, setState,
1754         setMaximizedBounds): New methods.
1755         (beginLayout, endLayout, isPaintPending): Likewise.
1756         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
1757         (requestFocus): Likewise.
1758         (isObscured): Likewise.
1759         (canDetermineObscurity): Likewise.
1760         (coalescePaintEvent): Likewise.
1761         (updateCursorImmediately): Likewise.
1762         (createVolatileImage): Likewise.
1763         (handlesWheelScrolling): Likewise.
1764         (createBuffers): Likewise.
1765         (getBackBuffer): Likewise.
1766         (flip): Likewise.
1767         (destroyBuffers): Likewise.
1768
1769         * Makefile.in: Rebuilt.
1770         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
1771         RobotPeer.java.
1772         * gnu/java/awt/GLightweightPeer.java,
1773         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1774         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1775         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1776         gnu/java/awt/peer/gtk/GtkFramePeer.java,
1777         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
1778         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
1779         java/awt/dnd/peer/DragSourceContextPeer.java,
1780         java/awt/dnd/peer/DropTargetContextPeer.java,
1781         java/awt/peer/ButtonPeer.java,
1782         java/awt/peer/CheckboxMenuItemPeer.java,
1783         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
1784         java/awt/peer/ComponentPeer.java,
1785         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
1786         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
1787         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
1788         java/awt/peer/MenuBarPeer.java,
1789         java/awt/peer/MenuComponentPeer.java,
1790         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
1791         java/awt/peer/PopupMenuPeer.java,
1792         java/awt/peer/ScrollPanePeer.java,
1793         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
1794         java/awt/peer/TextComponentPeer.java,
1795         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
1796         New versions from Classpath.
1797         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
1798         * java/awt/peer/RobotPeer.java: Likewise.
1799
1800 2003-03-01  Mark Wielaard  <mark@klomp.org>
1801
1802         * java/io/ObjectInputStream.java: Reindent.
1803         * java/io/ObjectOutputStream.java: Likewise.
1804
1805 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
1806
1807         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
1808         jvalue for each argument. Simplify.
1809         * testsuite/libjava.jni/calls.c (docall),
1810         testsuite/libjava.jni/calls.java (longpb_f): check for argument
1811         misalignment.
1812
1813 2003-02-28  Mark Wielaard  <mark@klomp.org>
1814
1815         * Makefile.am (nat_source_files): Remove
1816         java/io/natObjectOutputStream.cc.
1817         * Makefile.in: Regenerated.
1818         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
1819         * java/io/ObjectStreamField.java (typename): New field.
1820         (ObjectStreamField(String, Class)): Initialize new field.
1821         (ObjectStreamField(String, String)): New Constructor.
1822         (getTypeCode): Use new field.
1823         (getTypeString): Use new field.
1824         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
1825         ObjectStreamExceptions. Remember and reset old BlockDataMode.
1826         Handle reading of Proxy classes. Never drain(), just write
1827         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
1828         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
1829         (flush): Call flush(), not just drain().
1830         (writeBoolean): Always use blockDataOutput.
1831         (writeByte): Likewise.
1832         (writeShort): Likewise.
1833         (writeChar): Likewise.
1834         (writeInt): Likewise.
1835         (writeLong): Likewise.
1836         (writeFloat): Likewise.
1837         (writeDouble): Likewise.
1838         (writeBytes): Likewise.
1839         (putfield (put(String,Object))): Throw IllegalArgumentException if
1840         field cannot be found.
1841         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
1842         (writeArraySizeAndElements): Write byte[] in one go.
1843         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
1844         set BlockDataMode to false.
1845         (annotateProxyClass): New method.
1846         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
1847         (getField): No longer native.
1848         (getMethod): Likewise.
1849         (setBlockDataMode): Always drain() on switch, return old mode.
1850         (static): New static code block.
1851         * java/io/natObjectOutputStream.cc: Removed.
1852         * java/io/ObjectInputStream.java (getField): No longer native.
1853         (getMethod): Likewise.
1854         (readObject): Remember and reset old BlockDataMode. Track whether
1855         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
1856         TC_LONGSTRING.
1857         (defaultReadObject): Set BlockDataMode to false during readFields.
1858         (resolveClass): Create new SecurityManager if necessary.
1859         Use Class.forName() if null ClassLoader found.
1860         (read(byte[],int,int): Copy remaining bytes to data before calling
1861         readNextBlock().
1862         (readFields): Set and reset BlockDataMode on call_read_method.
1863         Catch NoSuchFieldErrors.
1864         (setBlockDataMode): Return old mode.
1865         (static): New static code block.
1866         * java/io/natObjectInputStream.cc (getField): Removed.
1867         (getMethod): Likewise.
1868
1869 2003-02-27  Michael Koch  <konqueror@gmx.de>
1870
1871         * java/beans/Beans.java,
1872         java/beans/FeatureDescriptor.java
1873         java/beans/PropertyEditorManager.java:
1874         Reformated to GNU style.
1875
1876 2003-02-25  Michael Koch  <konqueror@gmx.de>
1877
1878         * gnu/java/nio/MappedByteFileBuffer.java,
1879         gnu/java/nio/natMappedByteFileBuffer.cc:
1880         New files, both are not compiled yet to get not noncompiling CVS.
1881
1882 2003-02-24  Tom Tromey  <tromey@redhat.com>
1883
1884         * java/util/prefs/AbstractPreferences.java (isUserNode):
1885         Implemented.
1886
1887 2003-02-24  Tom Tromey  <tromey@redhat.com>
1888
1889         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
1890         Deprecate.
1891         * java/lang/Thread.java (resume): Deprecate.
1892         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
1893         in @deprecated.
1894
1895 2003-02-23  Tom Tromey  <tromey@redhat.com>
1896
1897         * Makefile.in: Rebuilt.
1898         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
1899
1900 2003-02-23  Tom Tromey  <tromey@redhat.com>
1901
1902         * java/lang/natRuntime.cc (libraries_size, libraries_count,
1903         libraries): Removed.
1904         (add_library): Removed.
1905         (_load): Don't call add_library.
1906         (loadLibraryInternal): Likewise.
1907         (init): Likewise.
1908         (lookup_data): New struct.
1909         (find_symbol): New function.
1910         (_Jv_FindSymbolInExecutable): Use it.
1911
1912 2002-02-21  Anthony Green  <green@redhat.com>
1913
1914         * java/lang/Thread.java (Thread): New constructor taking stack
1915         size parameter (ignored for now).
1916         * Many methods: Merged GNU Classpath documentation.
1917
1918         * java/lang/Class.java (finalize): throws a Throwable.
1919
1920 2003-02-21  Mark Wielaard  <mark@klomp.org>
1921
1922         * java/util/zip/ZipEntry.java (setComment): Don't check length when
1923         argument is null.
1924
1925 2003-02-21  Mark Wielaard  <mark@klomp.org>
1926
1927         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
1928         then 65535 chars throw IllegalArgumentException.
1929
1930 2003-02-21  Mark Wielaard  <mark@klomp.org>
1931
1932         * java/util/zip/ZipFile.java (finalize): New method.
1933
1934 2003-02-21  Michael Koch  <konqueror@gmx.de>
1935
1936         * gnu/java/nio/natSocketChannelImpl.cc:
1937         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
1938         <cato@df.lth.se> for pointing to it.
1939
1940 2003-02-20  Raif S. Naffah <raif@fl.net.au>
1941
1942         * java/math/BigInteger.java (euclidInv): Take result array as an
1943         argument.  Updated all callers.
1944         (modInverse): Removed unused variables.
1945
1946 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1947
1948         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1949         config.status.
1950         * configure: Rebuilt.
1951
1952 2003-02-19  Michael Koch  <konqueror@gmx.de>
1953
1954         * gnu/java/nio/natSocketChannelImpl.cc:
1955         Added support for platforms without network support.
1956
1957 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1958
1959         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
1960         after config.h.  Use <> for consistency.
1961         * java/lang/natObject.cc: Likewise.
1962         * java/lang/natRuntime.cc: Likewise.
1963         * java/lang/natSystem.cc: Likewise.
1964         * java/util/natTimeZone.cc: Likewise.
1965         * win32.cc: Likewise.
1966         * include/posix.h (fcntl, socket, connect, close, bind, accept,
1967         listen, write, read): Undef to avoid interference from OS macros.
1968
1969 2003-02-19  Michael Koch  <konqueror@gmx.de>
1970
1971         * gnu/java/nio/ByteBufferImpl.java
1972         (ByteBufferImpl): Renamed two variables.
1973         * gnu/java/nio/CharBufferImpl.java
1974         (CharBufferImpl): Renamed two variables.
1975         * gnu/java/nio/DoubleBufferImpl.java
1976         (DoubleBufferImpl): Renamed two variables.
1977         * gnu/java/nio/FloatBufferImpl.java
1978         (FloatBufferImpl): Renamed two variables.
1979         * gnu/java/nio/IntBufferImpl.java
1980         (IntBufferImpl): Renamed two variables.
1981         * gnu/java/nio/LongBufferImpl.java
1982         (LongBufferImpl): Renamed two variables.
1983         * gnu/java/nio/ShortBufferImpl.java
1984         (ShortBufferImpl): Renamed two variables.
1985         * java/nio/CharBuffer.java
1986         (wrap): Fixed arguments to CharBufferImpl constructor.
1987         (hasArray): Only not read-only buffers have backing arrays.
1988         (length): Documentation added.
1989         (subSequence): Documentation added.
1990         * java/nio/DoubleBuffer.java
1991         (hasArray): Only not read-only buffers have backing arrays.
1992         * java/nio/FloatBuffer.java
1993         (hasArray): Only not read-only buffers have backing arrays.
1994         * java/nio/IntBuffer.java
1995         (hasArray): Only not read-only buffers have backing arrays.
1996         * java/nio/LongBuffer.java
1997         (hasArray): Only not read-only buffers have backing arrays.
1998         * java/nio/ShortBuffer.java
1999         (hasArray): Only not read-only buffers have backing arrays.
2000         
2001 2003-02-19  Michael Koch  <konqueror@gmx.de>
2002
2003         * javax/accessibility/AccessibleContext.java
2004         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
2005
2006 2003-02-19  Michael Koch  <konqueror@gmx.de>
2007
2008         * java/awt/ScrollPaneAdjustable.java: Reformated.
2009
2010 2003-02-19  Michael Koch <konqueror@gmx.de>
2011
2012         * gnu/awt/j2d/Graphics2DImpl.java
2013         (getFontRenderContext): New method.
2014         (drawGlyphVector): New method.
2015         * java/awt/Graphics2D.java
2016         (getFontRenderContext): New abstract method.
2017         (drawGlyphVector): New abstract method.
2018         
2019 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
2020
2021         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
2022         if necessary.
2023         
2024         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2025         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2026         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2027         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2028         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2029         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2030         (setFont, gtkSetFont): add.
2031         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
2032         Propagate font to peer.  (setFont): add FIXME comment.
2033
2034         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2035         (gtkTextGetSize): fix height, width computation.
2036
2037         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
2038         Make X font name a bit less bogus.
2039
2040         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
2041         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
2042
2043         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
2044         (processAdjustmentEvent): Adjust value.
2045
2046         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
2047         logic errors.
2048
2049         * java/awt/Component.java (setVisible, show, hide): Call show and
2050         hide methods in subclasses.
2051         (getPreferredSize): don't set prefSize before we have peer.
2052
2053         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
2054         Guess (0,0) if we don't have peer.
2055
2056
2057 2003-02-18  Michael Koch  <konqueror@gmx.de>
2058
2059         * java/nio/channels/FileChannel.java
2060         (toString): New implementation, added documentation.
2061         (map): Added exception documentation.
2062         (size): Added exception documentation.
2063         (write): New methods, documentation work.
2064         (read): New methods, documentation work.
2065         (implCloseChannel): Rewrote exception documentation.
2066         (force): Throws IOException, added documentation.
2067         (lock): New methods.
2068         (tryLock): New methods.
2069         (position): New methods.
2070         (transferTo): New method.
2071         (transferFrom): New method.
2072         (truncate): New method.
2073         * java/nio/channels/spi/SelectorProvider.java
2074         (provider): Implemented.
2075         * Makefile.am
2076         (ordinary_java_source_files): Added the following files:
2077         gnu/java/nio/DatagramChannelImpl.java
2078         gnu/java/nio/FileChannelImpl.java
2079         gnu/java/nio/PipeImpl.java
2080         gnu/java/nio/SelectionKeyImpl.java
2081         gnu/java/nio/SelectorImpl.java
2082         gnu/java/nio/SelectorProviderImpl.java
2083         gnu/java/nio/ServerSocketChannelImpl.java
2084         gnu/java/nio/SocketChannelImpl.java
2085         java/nio/channels/FileLock.java
2086         (nat_java_source_files): Added the following files:
2087         gnu/java/nio/natFileChannelImpl.cc
2088         gnu/java/nio/natSelectorImpl.cc
2089         gnu/java/nio/natSocketChannelImpl.cc
2090         * Makefile.in: Regenerated.
2091
2092 2003-02-17  Tom Tromey  <tromey@redhat.com>
2093
2094         * java/awt/image/ColorModel.java: Re-merged with Classpath.
2095         * java/awt/image/ImageFilter.java: Likewise.
2096
2097 2003-02-17  Raif S. Naffah <raif@fl.net.au>
2098
2099         * java/math/BigInteger.java (euclidInv): Return array of
2100         `BigInteger's.  Changed all callers.
2101
2102 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
2103
2104         * java/util/Properties.java (store): Move the code formerly in
2105         list(), into this method.
2106         (list (PrintStream)): Just call list (PrintWriter) with a 
2107         PrintWriter object constructed from the given PrintStream object.
2108         (list (PrintWriter)): Emulate the output of Properties.list()
2109         as found in JDK 1.3/1.4.
2110
2111 2003-02-17  Michael Koch  <konqueror@gmx.de>
2112
2113         * java/net/DatagramSocket.java
2114         (connect): Merged with classpath.
2115         (disconnect): Merged documentation with classpath.
2116         (receice): Merged documentation with classpath.
2117         (send): Merged documentation with classpath.
2118         
2119 2003-02-17  Michael Koch  <konqueror@gmx.de>
2120
2121         * java/awt/dnd/DragSourceContext.java
2122         (addDragSourceListener): Added documentation.
2123         * java/awt/dnd/DragSourceDragEvent.java
2124         (serialVersionUID): New member variable.
2125         (getDropAction): Reformated.
2126         * java/awt/dnd/DragSourceDropEvent.java
2127         (serialVersionUID): New member variable.
2128         (dropSuccess): Renamed from success for serialization issues.
2129         * java/awt/dnd/DragSourceEvent.java
2130         (serialVersionUID): New member variable.
2131         * java/awt/dnd/DropTarget.java
2132         (serialVersionUID): New member variable.
2133         (DropTarget): Implemented, documentation reworked.
2134         (setComponent): Documentation added.
2135         (getComponent): Documentation added.
2136         (setDefaultActions): Documentation added.
2137         (getDefaultActions): Documentation added.
2138         (addDropTargetListener): Documentation added.
2139         * java/awt/dnd/DropTargetContext.java
2140         (DropTargetContext): Documentation added.
2141         (TransferableProxy.TransferableProxy): New method.
2142         (dropComplete): Fixed documentation.
2143         (getTransferable): Fixed documentation.
2144         (createTransferableProxy): Implemented.
2145         * java/awt/dnd/DropTargetDragEvent.java
2146         (DropTargetDragEvent): Documentation added.
2147         (serialVersionUID): New member variable.
2148         (DropTargetDragEvent): Throw exceptions, documentation added.
2149         (acceptDrag): Implemented.
2150         (getCurrentDataFlavors): Implemented.3yy
2151         (getCurrentDataFlavorsAsList): Implemented.
2152         (isDataFlavorSupported): Implemented.
2153         (rejectDrag): Implemented.
2154         * java/awt/dnd/DropTargetDropEvent.java
2155         (DropTargetDropEvent): Documentation added.
2156         (serialVersionUID): New member variable.
2157         (actions): Renamed from srcActions for serialization issues.
2158         (isLocalTx): Renamed from isLocalTx for serialization issues.
2159         (DropTargetDropEvent): New implementation, throw exceptions,
2160         documentation added.
2161         (getCurrentDataFlavors): Implemented.
2162         (getCurrentDataFlavorsAsList): Implemented.
2163         (isDataFlavorSupported): Implemented.
2164         (getSourceActions): Implemented.
2165         (getDropAction): Implemented.
2166         (getTransferable): Implemented.
2167         (acceptDrop): Implemented.
2168         (rejectDrop): Implemented.
2169         * java/awt/dnd/DropTargetListener.java
2170         (drop): Fixed documentation.
2171         * java/awt/dnd/MouseDragGestureRecognizer.java
2172         (MouseDragGestureRecognizer): Documentation added.
2173
2174 2003-02-17  Michael Koch  <konqueror@gmx.de>
2175
2176         * java/awt/font/FontRenderContext.java,
2177         java/awt/font/ShapeGraphicAttribute.java,
2178         java/awt/font/MultipleMaster.java,
2179         java/awt/font/TransformAttribute.java,
2180         java/awt/font/GlyphJustificationInfo.java,
2181         java/awt/font/LineBreakMeasurer.java,
2182         java/awt/font/TextMeasurer.java,
2183         java/awt/font/TextLayout.java,
2184         java/awt/font/LineMetrics.java,
2185         java/awt/font/TextAttribute.java,
2186         java/awt/font/GlyphMetrics.java,
2187         java/awt/font/OpenType.java,
2188         java/awt/font/GlyphVector.java,
2189         java/awt/font/GraphicAttribute.java,
2190         java/awt/font/ImageGraphicAttribute.java,
2191         java/awt/font/NumericShaper.java: New files.
2192         * Makefile.am
2193         (awt_java_source_files): Added the following files:
2194         java/awt/font/FontRenderContext.java
2195         java/awt/font/ShapeGraphicAttribute.java
2196         java/awt/font/MultipleMaster.java
2197         java/awt/font/TransformAttribute.java
2198         java/awt/font/GlyphJustificationInfo.java
2199         java/awt/font/LineBreakMeasurer.java
2200         java/awt/font/TextMeasurer.java
2201         java/awt/font/TextLayout.java
2202         java/awt/font/LineMetrics.java
2203         java/awt/font/TextAttribute.java
2204         java/awt/font/GlyphMetrics.java
2205         java/awt/font/OpenType.java
2206         java/awt/font/GlyphVector.java
2207         java/awt/font/GraphicAttribute.java
2208         java/awt/font/ImageGraphicAttribute.java
2209         java/awt/font/NumericShaper.java
2210         * Makefile.in: Regenerated.
2211
2212 2003-02-17  Michael Koch  <konqueror@gmx.de>
2213
2214         * java/awt/print/Paper.java
2215         (Paper): Implements Cloneable.
2216         * java/awt/print/PrinterJob.java
2217         (setJobName): Return value must be void.
2218         (print): Throws PrinterException.
2219         
2220 2003-02-16  Tom Tromey  <tromey@redhat.com>
2221
2222         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
2223         variable.
2224
2225 2003-02-15  Michael Koch  <konqueror@gmx.de>
2226
2227         * java/awt/datatransfer/DataFlavor.java
2228         (isRepresentationClassByteBuffer): Removed try-catch block.
2229         (isRepresentationClassCharBuffer): Removed try-catch block.
2230         (isRepresentationClassReader): Removed try-catch block.
2231
2232 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
2233
2234         * java/nio/charset/Charset.java
2235         (isRegistered): Fixed method args and implementation.
2236         * java/nio/charset/CharsetEncoder.java
2237         (unmappableCharacterAction): New method.
2238
2239 2003-02-15  Michael Koch  <konqueror@gmx.de>
2240
2241         * java/awt/CheckboxMenuItem.java
2242         (CheckBoxMenuItem): Dont implement Serializable.
2243         (getListeners): New method,
2244         (getItemListeners): New method.
2245         * java/awt/Choice.java
2246         (getListeners): New method,
2247         (getItemListeners): New method.
2248         * java/awt/Container.java
2249         (getListeners): Added exception documentation.
2250         (setFocusTraversalKeys): Throw exceptions, added documentattion.
2251         (getFocusTraversalKeys): Added documentation.
2252         (areFocusTraversalKeysSet): Added documentation.
2253         (applyComponentOrientation): Added documentation.
2254         * java/awt/ContainerOrderFocusTraversalPolicy.java
2255         (implicitDownCycleTraversal): Renamed from downCycle for
2256         serialization.
2257         (ContainerOrderFocusTraversalPolicy): Added documentation.
2258         (accept): Reformated.
2259         * java/awt/Dialog.java
2260         (Dialog): Dont implement Serializable.
2261         (Dialog): Added documentation.
2262         * java/awt/Font.java
2263         (Font): Dont use absolute class name.
2264         * java/awt/Frame.java
2265         (Frame): Font implement Serializable.
2266         * java/awt/List.java
2267         (getListeners): New method,
2268         (getActionListeners): New method.       
2269         (getItemListeners): New method.
2270         * java/awt/Menu.java
2271         (countItems): New deprecated method.
2272         * java/awt/Scrollbar.java
2273         (getListeners): New method,
2274         (getAdjustmentListeners): New method,
2275         * java/awt/TextComponent.java
2276         (getListeners): New method,
2277         (getTextListeners): New method,
2278         * java/awt/TextField.java
2279         (getListeners): New method,
2280         (getActionListeners): New method.       
2281         * java/awt/Window.java
2282         (windowFocusListener): New member variable.
2283         (windowStateListener): New member variable.
2284         (getWindowFocusListeners): New method.
2285         (getWindowStateListeners): New method.
2286         (addWindowFocusListener): New method.
2287         (addWindowStateListener): New method.
2288         (removeWindowFocusListener): New method.
2289         (removeWindowStateListener): New method.
2290         * java/awt/datatransfer/DataFlavor.java
2291         (isRepresentationClassByteBuffer): New method.
2292         (isRepresentationClassCharBuffer): New method.
2293         (isRepresentationClassReader): New method.
2294
2295 2003-02-14  Mark Wielaard  <mark@klomp.org>
2296
2297         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
2298         zero when there is an exponent and the significant is zero.
2299         (divide): Always set scale to newScale even in special ZERO case.
2300
2301 2003-02-14  Tom Tromey  <tromey@redhat.com>
2302
2303         * java/lang/System.java (properties): Use Properties.clone.
2304         (setProperties): Likewise.
2305
2306 2003-02-14  Michael Koch  <konqueror@gmx.de>
2307
2308         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2309         * gnu/java/nio/ServerSocketChannelImpl.java
2310         (SocketAccept): Removed.
2311         (accept): Commented out use of SocketAccept.
2312
2313 2003-02-13  Tom Tromey  <tromey@redhat.com>
2314
2315         * verify.cc (state::seen_subrs): New field.
2316         (state::state): Initialize it.
2317         (state::clean_subrs): New method.
2318         (state::~state): Call it.
2319         (state::copy): Copy subroutine list.
2320         (state::add_subr): New method.
2321         (state::merge): Only register a change if the current subroutine
2322         hasn't yet been noted.
2323
2324 2003-02-13  Mark Wielaard  <mark@klomp.org>
2325
2326         * java/io/InputStreamReader.java (getEncoding): Return null when
2327         closed.
2328         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
2329
2330 2003-02-13  Mark Wielaard  <mark@klomp.org>
2331  
2332         * java/util/zip/InflaterInputStream.java (read): Return zero when len
2333         is zero.
2334
2335 2003-02-13  Mark Wielaard  <mark@klomp.org>
2336
2337         * java/io/BufferedOutputStream.java (write(int)): Only flush when
2338         next byte cannot be buffered.
2339
2340 2003-02-13  Michael Koch  <konqueror@gmx.de>
2341  
2342         * java/awt/Label.java
2343         (Label): Don't implement Serializable directly.
2344         (addNotify): Fixed typo in documentation.
2345         * java/awt/List.java
2346         (List): Don't implement Serializable directly.
2347         * java/awt/PopupMenu.java
2348         (PopupMenu): Don't implement Serializable directly.
2349         * java/awt/ScrollPane.java
2350         (ScrollPane): Don't implement Serializable directly.
2351         * java/awt/Scrollbar.java
2352         (Scrollbar): Don't implement Serializable directly.
2353         * java/awt/TextArea.java
2354         (preferredSize): Fixed method arguments.
2355         * java/awt/TextField.java
2356         (TextField): Don't implement Serializable directly.
2357         * java/awt/color/ICC_ColorSpace.java
2358         (fromCIOXYZ): Documentation added.
2359         (getMinValue): Documentation added.
2360         (getMaxValue): Documentation added.
2361         * java/awt/datatransfer/DataFlavor.java
2362         (isMimeTypeEqual): May not be final.
2363         (clone): Throws CloneNotSupportedException.
2364         (getReaderForText): Don't throws UnsupportedEncodingException.
2365
2366 2003-02-13  Michael Koch  <konqueror@gmx.de>
2367  
2368         * gnu/java/awt/peer/gtk/GdkGraphics.java
2369         (drawString): New stubbed method.
2370         * java/awt/Graphics.java
2371         (drawString): New method.
2372
2373 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
2374
2375         PR libgcj/9271:
2376         * java/security/SecureRandom.java (next): Avoid bias in results.
2377
2378 2003-02-13  Michael  <konqueror@gmx.de>
2379
2380         * gnu/java/nio/FileChannelImpl.java
2381         (lengthInternal): Must be native.
2382         (size): Check if channel is already closed.
2383         (implCloseChannel): Reformated.
2384         (read): w was unused, removed it.
2385         (read): Removed.
2386         (read): New method.
2387         (write): New method.
2388         (map): Check arguments.
2389         (force): Throws IOException, check if channel is closed.
2390         (transferTo): New method.
2391         (transferFrom): New method.
2392         (lock): New method.
2393         (tryLock): New method.
2394         (position): New method.
2395         (truncate): New method.
2396         (nio_mmap_file): Uncommented.
2397         (nio_munmap_file): Uncommented.
2398         (nio_msync): Uncommented.
2399         * gnu/java/nio/natFileChannelImpl.cc: New file.
2400         
2401 2003-02-13  Michael Koch  <konqueror@gmx.de>
2402
2403         * java/nio/ByteBuffer.java
2404         (endian): New member variable.
2405         (get): New methods.
2406         (equals): New method.
2407         (compareTo): New method.
2408         (order): New methods.
2409         (compact): New method.
2410         (isDirect): New method.
2411         (slice): New method.
2412         (duplicate): New method.
2413         (asReadOnlyBuffer): New method.
2414         (asCharBuffer): New method.
2415         (asDoubleBuffer): New method.
2416         (asFloatBuffer): New method.
2417         (asIntBuffer): New method.
2418         (asLongBuffer): New method.
2419         (asShortBuffer): New method.
2420         (get*): New methods.
2421         (put*): New methods.
2422         (toString): New method.
2423         * java/nio/CharBuffer.java
2424         (CharBuffer): Implement Comparable instead of Cloneable.
2425         (get): May not be final.
2426         (put): May not be final.
2427         
2428 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
2429
2430         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
2431         lastIndexOf( ) instead of indexOf( ) to find the colon before
2432         the line number, because Win32 file names might contain a 
2433         drive letter and a colon at the start of an absolute path.
2434
2435 2003-02-13  Michael Koch  <konqueror@gmx.de>
2436
2437         * gnu/java/nio/natSocketChannelImpl.cc
2438         (SocketConnect): This is not implemented yet.
2439         (SocketBind): This is not implemented yet.
2440
2441 2003-02-13  Michael Koch  <konqueror@gmx.de>
2442
2443         * gnu/java/nio/natByteBufferImpl.cc,
2444         gnu/java/nio/natCharBufferImpl.cc,
2445         gnu/java/nio/natDoubleBufferImpl.cc,
2446         gnu/java/nio/natFloatBufferImpl.cc,
2447         gnu/java/nio/natIntBufferImpl.cc,
2448         gnu/java/nio/natLongBufferImpl.cc,
2449         gnu/java/nio/natShortBufferImpl.cc:
2450         Added copyright and license.
2451         * java/nio/DoubleBuffer.java,
2452         java/nio/FloatBuffer.java,
2453         java/nio/IntBuffer.java,
2454         java/nio/LongBuffer.java,
2455         java/nio/ShortBuffer.java
2456         (array): Throw exceptions.
2457         (arrayOffset): Throw exceptions.
2458
2459 2003-02-13  Michael Koch  <konqueror@gmx.de>
2460  
2461         * gnu/java/util/prefs/FileBasedFactory.java,
2462         gnu/java/util/prefs/MemmoryBasedFactory.java,
2463         gnu/java/util/prefs/MemoryBasedPreferences.java,
2464         gnu/java/util/prefs/NodeReader.java,
2465         gnu/java/util/prefs/NodeWriter.java,
2466         java/util/prefs/AbstractPreferences.java,
2467         java/util/prefs/BackingStoreException.java,
2468         java/util/prefs/InvalidPreferencesFormatException.java,
2469         java/util/prefs/NodeChangeEvent.java,
2470         java/util/prefs/NodeChangeListener.java,
2471         java/util/prefs/PreferenceChangeEvent.java,
2472         java/util/prefs/PreferenceChangeListener.java,
2473         java/util/prefs/Preferences.java,
2474         java/util/prefs/PreferencesFactory.java:
2475         New files, all merged from classpath.
2476         * Makefile.am
2477         (ordinary_java_source_files): Added the following files:
2478         gnu/java/util/prefs/FileBasedFactory.java,
2479         gnu/java/util/prefs/MemmoryBasedFactory.java,
2480         gnu/java/util/prefs/MemoryBasedPreferences.java,
2481         gnu/java/util/prefs/NodeReader.java,
2482         gnu/java/util/prefs/NodeWriter.java,
2483         (core_java_source_files): Added the following files:
2484         java/util/prefs/AbstractPreferences.java,
2485         java/util/prefs/BackingStoreException.java,
2486         java/util/prefs/InvalidPreferencesFormatException.java,
2487         java/util/prefs/NodeChangeEvent.java,
2488         java/util/prefs/NodeChangeListener.java,
2489         java/util/prefs/PreferenceChangeEvent.java,
2490         java/util/prefs/PreferenceChangeListener.java,
2491         java/util/prefs/Preferences.java,
2492         java/util/prefs/PreferencesFactory.java
2493         * Makefile.in: Regenerated.
2494  
2495 2003-02-13  Michael Koch  <konqueror@gmx.de>
2496
2497         * java/net/NetPermission.java
2498         (NetPermission): Make doucmentation match the method declaration.
2499         * java/net/NetworkInterface.java
2500         (equals): Reformated for GNU coding style.
2501         * java/net/ServerSocket.java: Merged with classpath.
2502         * java/net/Socket.java: Partly merged with classpath (Added some @since).
2503         * java/net/SocketImpl.java
2504         (localPort): Merged with classpath (initialize with -1).
2505         * java/net/SocketPermission.java: Merged with classpath (reindented).
2506         * java/net/URLDecoder.java: Merged with classpath (reindented).
2507
2508 2003-02-13  Michael Koch  <konqueror@gmx.de>
2509
2510         * java/awt/GridBagConstraints.java
2511         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
2512         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
2513         * java/awt/KeyboardFocusManager.java
2514         (setGlobalCurrentFocusCycleRoot): Must be public.
2515         * java/awt/MenuComponent.java
2516         (MenuComponent): Must be public.
2517         * java/awt/Toolkit.java:
2518         Added some empty lines to make documentation more readable.
2519         (getFontPeer): Added @deprecated.
2520         (getColorModel): Added exception documentation.
2521         (getProperty): Fixed documentation.
2522  
2523 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
2524
2525         * configure.host (alpha*-*): Default to -mieee.
2526         * configure.in (IEEESPEC): New.
2527         * libgcj.spec.in (jc1): Add IEEESPEC.
2528         * configure: Rebuild.
2529
2530 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
2531
2532         * include/win32.h: Include ws2tcpip.h instead of
2533         winsock.h to obtain definition of the socklen_t type.
2534         Remove IP_TOS definition - not needed with ws2tcpip.h
2535         (_Jv_connect): Correct slight formatting error.
2536
2537 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
2538
2539         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
2540         size of the arguments for a JNI function. For Win32,
2541         modify to search for all forms of possible exported
2542         names of an stdcall JNI function.
2543         (_Jv_JNIMethod::call): Modify to calculate the size
2544         of the arguments passed to a JNI function and pass
2545         it to _Jv_LookupJNIMethod.
2546
2547 2003-02-12  Michael Koch  <konqueror@gmx.de>
2548
2549         * java/nio/channels/Channels.java: New file.
2550         * Makefile.am
2551         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
2552         * Makefile.in: Regenerated.
2553
2554 2003-02-12  Michael Koch  <konqueror@gmx.de>
2555
2556         * java/nio/ByteBuffer.java
2557         (allocate): Implemented.
2558         (wrap): Implemented.
2559         * java/nio/CharBuffer.java:
2560         Some documentation added and reworked.
2561         (endian): Removed.
2562         (allocate): Implemented.
2563         (wrap): Implemented.
2564         (array): Throw exceptions.
2565         (arrayOffset): Throw exceptions.
2566         (toString): Implemented.
2567         (length): Implemented.
2568         (put): Implemented.
2569         (charAt): Implemented.
2570
2571 2003-02-11  John Leuner  <jewel@debian.org>
2572
2573         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
2574         reads from end of file.
2575
2576 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
2577
2578         * java/io/natFileDescriptorWin32.cc 
2579         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
2580         returns with Win32 error code ERROR_BROKEN_PIPE.
2581
2582 2003-02-11  Michael Koch  <konqueror@gmx.de>
2583
2584         * Makefile.in
2585         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
2586
2587 2003-02-11  Michael Koch  <konqueror@gmx.de>
2588
2589         * gnu/java/nio/ByteBufferImpl.java:
2590         Reformated and removed some code.
2591         (backing_buffer): Removed.      
2592         (array_offset): Removed.
2593         (ro): Renamed to readOnly.
2594         (ByteBufferImpl): Use parent constructor, initialize readOnly.
2595         * gnu/java/nio/CharBufferImpl.java:
2596         Reformated and removed some code.
2597         (array_offset): Removed.
2598         (ro): Renamed to readOnly.
2599         (CharBufferImpl): Use parent constructor, initialize readOnly.
2600         (inc_pos): Removed.
2601         (order): New method.
2602         * gnu/java/nio/DoubleBufferImpl.java:
2603         Reformated and removed some code.
2604         (array_offset): Removed.
2605         (ro): Renamed to readOnly.
2606         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
2607         (inc_pos): Removed.
2608         (order): New method.
2609         * gnu/java/nio/FloatBufferImpl.java:
2610         Reformated and removed some code.
2611         (array_offset): Removed.
2612         (ro): Renamed to readOnly.
2613         (FloatBufferImpl): Use parent constructor, initialize readOnly.
2614         (inc_pos): Removed.
2615         (order): New method.
2616         * gnu/java/nio/IntBufferImpl.java:
2617         Reformated and removed some code.
2618         (array_offset): Removed.
2619         (ro): Renamed to readOnly.
2620         (IntBufferImpl): Use parent constructor, initialize readOnly.
2621         (inc_pos): Removed.
2622         (order): New method.
2623         * gnu/java/nio/LongBufferImpl.java:
2624         Reformated and removed some code.
2625         (array_offset): Removed.
2626         (ro): Renamed to readOnly.
2627         (LongBufferImpl): Use parent constructor, initialize readOnly.
2628         (inc_pos): Removed.
2629         (order): New method.
2630         * gnu/java/nio/ShortBufferImpl.java:
2631         Reformated and removed some code.
2632         (array_offset): Removed.
2633         (ro): Renamed to readOnly.
2634         (ShortBufferImpl): Use parent constructor, initialize readOnly.
2635         (inc_pos): Removed.
2636         (order): New method.
2637         * Makefile.am
2638         (ordinary_java_source_files): Added the following files:
2639         gnu/java/nio/ByteBufferImpl.java
2640         gnu/java/nio/CharBufferImpl.java
2641         gnu/java/nio/DoubleBufferImpl.java
2642         gnu/java/nio/FloatBufferImpl.java
2643         gnu/java/nio/IntBufferImpl.java
2644         gnu/java/nio/LongBufferImpl.java
2645         gnu/java/nio/ShortBufferImpl.java
2646         java/nio/DoubleBuffer.java
2647         java/nio/FloatBuffer.java
2648         java/nio/IntBuffer.java
2649         java/nio/LongBuffer.java
2650         java/nio/ShortBuffer.java
2651         (nat_source_files): Added the following files:
2652         gnu/java/nio/natByteBufferImpl.cc
2653         gnu/java/nio/natCharBufferImpl.cc
2654         gnu/java/nio/natDoubleBufferImpl.cc
2655         gnu/java/nio/natFloatBufferImpl.cc
2656         gnu/java/nio/natIntBufferImpl.cc
2657         gnu/java/nio/natLongBufferImpl.cc
2658         gnu/java/nio/natShortBufferImpl.cc
2659         * Makefile.in: Regenerated.
2660
2661 2003-02-11  Michael Koch  <konqueror@gmx.de>
2662
2663         * gnu/java/nio/natCharBufferImpl.cc
2664         (nio_cast): Removed.
2665         (nio_put_*): Removed.
2666         (nio_get_*): Removed.
2667         * gnu/java/nio/natDoubleBufferImpl.cc
2668         (nio_cast): Removed.
2669         (nio_put_*): Removed.
2670         (nio_get_*): Removed.
2671         * gnu/java/nio/natFloatBufferImpl.cc
2672         (nio_cast): Removed.
2673         (nio_put_*): Removed.
2674         (nio_get_*): Removed.
2675         * gnu/java/nio/natIntBufferImpl.cc
2676         (nio_cast): Removed.
2677         (nio_put_*): Removed.
2678         (nio_get_*): Removed.
2679         * gnu/java/nio/natLongBufferImpl.cc
2680         (nio_cast): Removed.
2681         (nio_put_*): Removed.
2682         (nio_get_*): Removed.
2683         * gnu/java/nio/natShortBufferImpl.cc
2684         (nio_cast): Removed.
2685         (nio_put_*): Removed.
2686         (nio_get_*): Removed.
2687         * gnu/java/nio/SelectorProviderImpl.java
2688         (openDatagramChannel): Throws IOException.
2689         (openPipe): Throws IOException.
2690         (openSelector): Throws IOException.
2691         (openServerSocketChannel): Throws IOException.
2692         (openSocketChannel): Throws IOException.
2693         * gnu/java/nio/ServerSocketChannelImpl.java
2694         (ServerSocketChannelImpl): Throws IOException.
2695         (implCloseSelectableChannel): Throws IOException.
2696         (implConfigureBlocking): Throws IOException.
2697         * java/nio/ByteBuffer.java
2698         (readOnly): Removed.
2699         (hasArray): Use isReadOnly() instead of readOnly.
2700         (array): Use isReadOnly() instead of readOnly.
2701         (arrayOffset): Use isReadOnly() instead of readOnly.
2702         * java/nio/CharBuffer.java
2703         (CharBuffer): Implements Cloneable and CharSequence.
2704
2705 2003-02-11  Michael Koch  <konqueror@gmx.de>
2706
2707         * java/nio/DoubleBuffer.java
2708         (DoubleBuffer): Implements Comparable.
2709         (endian): Removed.
2710         (array_offset): New member variable.
2711         (DoubleBuffer): New constuctor.
2712         (get): May not be final.
2713         (put): May not be final.
2714         (arrayOffset): Implemented.
2715         (order): Made abstract.
2716         (order): Removed.
2717         (as*Buffer): Removed.
2718         (get*): Removed.
2719         (put*): Removed.
2720         * java/nio/FloatBuffer.java
2721         (FloatBuffer): Implements Comparable.
2722         (endian): Removed.
2723         (array_offset): New member variable.
2724         (FloatBuffer): New constuctor.
2725         (get): May not be final.
2726         (put): May not be final.
2727         (arrayOffset): Implemented.
2728         (order): Made abstract.
2729         (order): Removed.
2730         (as*Buffer): Removed.
2731         (get*): Removed.
2732         (put*): Removed.
2733         * java/nio/IntBuffer.java
2734         (IntBuffer): Implements Comparable.
2735         (endian): Removed.
2736         (array_offset): New member variable.
2737         (IntBuffer): New constuctor.
2738         (get): May not be final.
2739         (put): May not be final.
2740         (arrayOffset): Implemented.
2741         (order): Made abstract.
2742         (order): Removed.
2743         (as*Buffer): Removed.
2744         (get*): Removed.
2745         (put*): Removed.
2746         * java/nio/LongBuffer.java
2747         (LongBuffer): Implements Comparable.
2748         (endian): Removed.
2749         (array_offset): New member variable.
2750         (LongBuffer): New constuctor.
2751         (get): May not be final.
2752         (put): May not be final.
2753         (arrayOffset): Implemented.
2754         (order): Made abstract.
2755         (order): Removed.
2756         (as*Buffer): Removed.
2757         (get*): Removed.
2758         (put*): Removed.
2759         * java/nio/ShortBuffer.java
2760         (ShortBuffer): Implements Comparable.
2761         (endian): Removed.
2762         (array_offset): New member variable.
2763         (ShortBuffer): New constuctor.
2764         (get): May not be final.
2765         (put): May not be final.
2766         (arrayOffset): Implemented.
2767         (order): Made abstract.
2768         (order): Removed.
2769         (as*Buffer): Removed.
2770         (get*): Removed.
2771         (put*): Removed.
2772
2773 2003-02-11   Michael Koch  <konqueror@gmx.de>
2774
2775         * java/nio/channels/SelectionKey.java
2776         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
2777         values.
2778
2779 2003-02-11  Michael Koch  <konqueror@gmx.de>
2780
2781         * java/nio/channels/DatagramChannel.java
2782         (write): Throws IOException.
2783         (connect): Throws IOException.
2784         (disconnect): Throws IOException.
2785         (read): Throws IOException.
2786         (receive): Throws IOException.
2787         (send): Throws IOException.
2788         * java/nio/channels/Pipe.java
2789         (open): Throws IOException.
2790         * java/nio/channels/SelectableChannel.java
2791         (configureBlocking): Throws IOException.
2792         * java/nio/channels/ServerSocketChannel.java
2793         (accept): Throws IOException.
2794         * java/nio/channels/SocketChannel.java
2795         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
2796         GatheringByteChannel.
2797         (read): Throws IOException.
2798         (write): Throws IOException.
2799         (finishConnect): Throws IOException.
2800         * java/nio/channels/spi/AbstractInterruptibleChannel.java
2801         (end): Throws AsynchronousCloseException.
2802         * java/nio/channels/spi/AbstractSelectableChannel.java
2803         (configureBlocking): Throws IOException.
2804         (implCloseChannel): Throws IOException.
2805         (implCloseSelectableChannel): Throws IOException.
2806         (implConfigureBlocking): Throws IOException.
2807         * java/nio/channels/spi/SelectorProvider.java
2808         (openDatagramChannel): Throws IOException.
2809         (openPipe): Throws IOException.
2810         (openSelector): Throws IOException.
2811         (openServerSocketChannel): Throws IOException.
2812         (openSocketChannel): Throws IOException.
2813
2814 2003-02-11  Michael Koch  <konqueror@gmx.de>
2815
2816         * gnu/java/nio/FileLockImpl.java,
2817         java/nio/channels/FileLock.java: New files.
2818
2819 2003-02-11  Michael Koch  <konqueror@gmx.de>
2820
2821         * java/nio/charset/IllegalCharsetNameException.java
2822         (serialVersionUID): New member variable.
2823         (charsetName): New member variable.
2824         (IllegalCharsetException): New implementation.
2825         (getCharsetName): New implementation.
2826         * java/nio/charset/UnsupportedCharsetException.java
2827         (serialVersionUID): New member variable.
2828         (charsetName): New member variable.
2829         (UnsupportedCharsetException): New implementation.
2830         (getCharsetName): New implementation.
2831
2832 2003-02-10  Tom Tromey  <tromey@redhat.com>
2833
2834         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
2835         (ex): Renamed from sqlException.
2836
2837 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
2838
2839         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
2840         method used to ensure seeding has occurred and that a specific 
2841         seed can be set and used.
2842
2843 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
2844
2845         * java/lang/Win32Process.java (destroy): Declare as native.
2846         (hasExited): New native method.
2847         (exitValue): Define.
2848         (getErrorStream): Likewise.
2849         (getInputStream): Likewise.
2850         (getOutputStream): Likewise.
2851         (waitFor): Declare as native.
2852         (startProcess): New native method.
2853         (cleanup): Likewise.
2854         (ConcreteProcess): Define.
2855         (outputStream, inputStream, errorStream): New members.
2856         (procHandle, exitCode): Likewise.
2857
2858         * java/lang/natWin32Process.cc
2859         (java::lang::ConcreteProcess::cleanup): Define.
2860         (java::lang::ConcreteProcess::destroy): Likewise.
2861         (java::lang::ConcreteProcess::hasExited): Likewise.
2862         (java::lang::ConcreteProcess::waitFor): Likewise.
2863         (new_string): Likewise.
2864         (java::lang::ConcreteProcess::startProcess): Likewise.
2865
2866 2003-02-10  Raif S. Naffah <raif@fl.net.au>
2867
2868         * java/math/BigInteger.java:
2869         Updated notice to include years 2002 and 3.
2870         Added 2 private (int) arrays with values from the HAC (Handbook of
2871         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
2872         and t[] that contains nbr. of tests --used in isProbablePrime().
2873
2874         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
2875
2876         * java/math/BigInteger.java (make(int[],int), add(int,int),
2877         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
2878         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
2879         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
2880         make(long).
2881
2882         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
2883         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
2884         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
2885         BIs and returns void.
2886         (modInverse(BI)): Use new signatures of euclidInv().
2887
2888         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
2889         static small primes instead of remainder().
2890         Use pre-computed max nbr of trials based on bitlength of BI to test.
2891         Use pre-computed small primes for the trial tests instead of random
2892         numbers.
2893
2894         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
2895         not used.
2896
2897         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
2898         invoacation of MPN.chars_per_word().  not used.
2899
2900         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
2901         local var and used where needed.
2902
2903         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
2904         Combined declaration with initialisation of locals.
2905         Removed unused var.
2906
2907         * java/math/BigInteger.java: Style changes
2908         (pow(int)): Removed 'else' keyword.
2909         (toString(int)): idem.
2910         (doubleValue()): idem.
2911         (bitLength()): idem.
2912         (equals(Object)): Use static methods name in same class w/o prepending
2913         class name.
2914         (doubleValue()): idem.
2915         (setNegative(BI)): idem.
2916         (negate()): idem.
2917         (and(BI,int)): idem.
2918         (and(BI)): idem.
2919         (gcd(BI)): idem.
2920         (byteArrayToIntArray()): Removed casting to (int). this is
2921         std. behaviour.
2922         (canonicalize()): idem.
2923         (alloc(int)): Always instantiate a new BI.
2924
2925 2003-02-10  Tom Tromey  <tromey@redhat.com>
2926
2927         * java/sql/Timestamp.java (compareTo(Object)): New method.
2928         (compareTo(Timestamp)): Likewise.
2929         (serialVersionUID): Updated.
2930
2931 2003-02-07  Mark Wielaard  <mark@klomp.org>
2932
2933         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
2934         when verify is true.
2935         (JarFile(File, boolean)): Likewise.
2936         (manifestRead): Set manifestRead field correctly.
2937
2938 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
2939
2940         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
2941         tests; see patch #1016 on Savannah.
2942
2943 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
2944
2945         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
2946         (toString): do not return Strings starting with . and - erroneously.
2947         Improves Mauve results to 12 of 600 instead of 16 of 338 on
2948         DiagBigDecimal.
2949
2950 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
2951
2952         * java/beans/PropertyDescriptor.java
2953         (PropertyDescriptor(String, Class)): Sanity check getter and setter
2954         methods.
2955         (PropertyDescriptor(String, Class, String, String)): Likewise.
2956         (PropertyDescriptor(String, Method, Method): Factor out getter and
2957         setter method sanity checks into new method.
2958         (findMethods): Don't do parameter sanity checking of get method here.
2959         (checkMethods): New method.
2960
2961 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
2962
2963         * java/beans/PropertyDescriptor.java: Reformat.
2964
2965 2003-02-04  Tom Tromey  <tromey@redhat.com>
2966
2967         * java/io/PipedOutputStream.java (flush): Declare as throwing
2968         IOException.
2969         (close): Likewise.
2970         * java/io/PipedWriter.java (close): Declare as throwing
2971         IOException.
2972         * java/io/StringWriter.java (close): Declare as throwing
2973         IOException.
2974
2975 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
2976
2977         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
2978         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
2979         could also have been exported as "JNI_OnLoad@8" (MinGW) or
2980         "_JNI_OnLoad@8" (MSVC).
2981
2982 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
2983
2984         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
2985         convention on Win32 to invoke native JNI methods.
2986
2987 2003-02-03  Andrew Haley  <aph@redhat.com>
2988
2989         * configure.host (x86_64): Enable interpreter.
2990
2991 2003-02-03  Andrew Haley  <aph@redhat.com>
2992
2993         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
2994         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
2995         * configure.in (BACKTRACESPEC): New.
2996         * configure: Regenerate.
2997
2998 2003-02-02  Tom Tromey  <tromey@redhat.com>
2999
3000         * configure: Rebuilt.
3001         * configure.in (TOOLKIT) [xlib]: Set correctly.
3002
3003         * Makefile.in: Rebuilt.
3004         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
3005         libstdc++.
3006
3007 2003-01-31  Mark WIelaard  <mark@klomp.org>
3008
3009         * Makefile.in: Rebuilt.
3010         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
3011
3012 2003-01-31  Tom Tromey  <tromey@redhat.com>
3013
3014         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
3015         cast to element type.
3016         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
3017         (_Jv_JNI_GetObjectArrayElement): Likewise.
3018
3019         * Makefile.in: Rebuilt.
3020         * Makefile.am (cond_x_ltlibrary): Renamed library to
3021         lib-gnu-awt-xlib.la.
3022         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
3023         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
3024         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
3025         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
3026         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
3027         (lib_gnu_awt_xlib_la_LINK): Likewise.
3028         (install-exec-hook): Removed.
3029         (lib-gnu-awt-xlib.la): Renamed.
3030
3031 2003-01-31  Tom Tromey  <tromey@redhat.com>
3032
3033         * aclocal.m4, configure, include/config.h.in: Rebuilt.
3034         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
3035         aclocal.m4 and lost in some merge.
3036
3037         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
3038         Don't try to find graphics configuration.
3039         * java/awt/Toolkit.java (default_toolkit_name): Use new
3040         Configuration entry.
3041         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
3042         New global.
3043         * configure: Rebuilt.
3044         * configure.in (TOOLKIT): New subst.
3045         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
3046         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
3047         directory.  Make output directories for .c files.
3048         * Makefile.in: Rebuilt.
3049         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
3050         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
3051         (all_java_source_files): Added new sources.
3052         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
3053         (gtk_c_files): New macro.
3054         (gtk_c_source_files): New macro.
3055         (cond_gtk_ltlibrary): New macro.
3056         ($(gtk_c_files)): New target.
3057         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
3058         (gtk_awt_peer_sources): New macro.
3059         (gtk_c_headers): New macro.
3060         ($(gtk_c_headers)): New target.
3061         (ACLOCAL_AMFLAGS): New macro.
3062         * gtk.m4, glib.m4, libart.m4: New files.
3063         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
3064         gnu/java/awt/peer/gtk/GdkGraphics.java,
3065         gnu/java/awt/peer/gtk/GtkArg.java,
3066         gnu/java/awt/peer/gtk/GtkArgList.java,
3067         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3068         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
3069         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
3070         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3071         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3072         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3073         gnu/java/awt/peer/gtk/GtkClipboard.java,
3074         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3075         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3076         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
3077         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3078         gnu/java/awt/peer/gtk/GtkFontPeer.java,
3079         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3080         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
3081         gnu/java/awt/peer/gtk/GtkImage.java,
3082         gnu/java/awt/peer/gtk/GtkImagePainter.java,
3083         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3084         gnu/java/awt/peer/gtk/GtkListPeer.java,
3085         gnu/java/awt/peer/gtk/GtkMainThread.java,
3086         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3087         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
3088         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3089         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3090         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
3091         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
3092         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3093         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3094         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3095         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3096         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3097         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3098         gnu/java/awt/peer/gtk/GtkToolkit.java,
3099         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3100         gnu/java/awt/peer/gtk/TestAWT.java,
3101         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
3102         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
3103         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
3104         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3105         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
3106         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
3107         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
3108         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3109         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3110         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3111         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
3112         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
3113         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3114         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
3115         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3116         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3117         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
3118         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3119         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3120         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
3121         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3122         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
3123         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
3124         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3125         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3126         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
3127         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3128         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3129         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
3130         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
3131         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
3132         jni/classpath/native_state.c, jni/classpath/native_state.h,
3133         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
3134
3135 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
3136
3137         * java/util/Properties.java (load): Ignore backslash before EOF.
3138
3139 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
3140
3141         * java/lang/natClass.cc (initializeClass): Check tables when
3142         (state == JV_STATE_IN_PROGRESS).
3143         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
3144         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
3145         interpreted classes.
3146         (linkClass0): Use _Jv_WaitForState.
3147
3148 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
3149
3150         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
3151         object when finished.
3152
3153 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
3154
3155         * libjava/configure.host: Disable can_unwind_signal on darwin.
3156
3157 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
3158
3159         Fixes PR java/9254:
3160         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
3161         additionally containing id of the owner thread as well as
3162         the number of nested times the thread has acquired the mutex.
3163         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
3164         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
3165         (_Jv_MutexUnlock): Check if really the owner thread, reset
3166         owner thread id to 0 before leaving, if leaving for the last
3167         time.
3168         (_Jv_MutexLock): Set owner thread id in the mutex and increment
3169         refcount.
3170         (_Jv_ThreadYield): Yield using a call to Sleep(0).
3171         * win32-threads.cc (_Jv_CondWait): Check if really owner of
3172         the passed mutex.
3173         Pass handle of the broadcast event, instead of a pointer to it
3174         in Win32 ResetEvent( ) call.
3175         Remove incorrect return values.
3176         (_Jv_CondDestroy): Close both event handles and delete
3177         critical section.
3178         (_Jv_CondNotify): Check if really the owner thread.
3179         (_Jv_CondNotifyAll): Check if really the owner thread.
3180         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
3181         (really_start): Use SetEvent( ) to signal daemon_cond.
3182         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
3183         WaitForSingleObject( ) instead to wait for daemon_cond to be
3184         signalled.
3185
3186 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
3187
3188         * configure.in: Specifically define HAVE_BACKTRACE if building
3189         for MinGW.
3190         * include/win32.h: Remove HAVE_BACKTRACE definition.
3191         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
3192         * configure: Rebuilt.
3193
3194 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
3195
3196         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
3197         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
3198         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
3199         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
3200         * Makefile.in, configure: Rebuilt.
3201
3202 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
3203
3204         Fixes PR java/9253:
3205         * java/io/natFileWin32.cc (performList): Append only "*.*"
3206         if the canonical file path already has a "\" at the end.
3207
3208 2003-01-24  Tom Tromey  <tromey@redhat.com>
3209
3210         * defineclass.cc (handleMethodsEnd): Precompute code for static
3211         method.
3212         (handleCodeAttribute): Likewise.
3213         * resolve.cc (ncode): Use run_class for unsynchronized static
3214         methods.
3215         * include/java-interp.h (class _Jv_InterpMethod): Declare
3216         run_class.
3217         * interpret.cc (run_synch_class): Initialize class.
3218         (run) [insn_invokestatic]: Don't initialize class.
3219         [insn_anewarray]: Likewise.
3220         [insn_multianewarray]: Likewise.
3221         (run_class): New function.
3222
3223 2003-01-24  Tom Tromey  <tromey@redhat.com>
3224
3225         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
3226         comment.
3227
3228 2003-01-22  Andrew Haley  <aph@redhat.com>
3229
3230         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
3231         * configure.host (CHECKREFSPEC): Define for x86_64.
3232
3233 2003-01-21  Tom Tromey  <tromey@redhat.com>
3234
3235         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
3236         search at 2, not 3.
3237
3238 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
3239
3240         * java/io/natFileWin32.cc (isAbsolute): Check path length before
3241         looking at any characters.
3242         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
3243         be used.
3244         (isAbsolute): Check path's length as well.
3245
3246 2003-01-17  Mark Wielaard  <mark@klomp.org>
3247
3248         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
3249         (nat_source_files): Add natVMObjectStreamClass.cc.
3250         * Makefile.in: Regenerated.
3251         * gcj/javaprims.h (namespace java): Regenerated.
3252         * java/io/ObjectStreamClass.java (getClassUID): Call
3253         VMObjectStreamClass.hasClassInitializer().
3254         (hasClassInitializer): Removed.
3255         * java/io/VMObjectStreamClass.java: New class.
3256         * java/io/natVMObjectStreamClass.cc: New file.
3257         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
3258
3259 2003-01-16  Mark Wielaard  <mark@klomp.org>
3260
3261         * java/net/SocketImpl.java (toString): Don't explicitly call
3262         toString() on possible null address.
3263
3264 2003-01-16  Michael Koch  <konqueror@gmx.de>
3265
3266         * java/net/MulticastSocket.java
3267         (setInterface): Reindented.
3268
3269 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
3270
3271         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
3272         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
3273         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
3274         translateY arguments.  Implement.
3275         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
3276         down translation arguments.
3277         (drawPolyline, drawPolygon): Fix incorrect tests.
3278         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
3279         translateX and translateY arguments.
3280
3281 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
3282
3283         * Makefile.in: Rebuilt.
3284         * Makefile.am (xlib_includes): New macro.
3285         (INCLUDES): Use it.
3286
3287 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
3288
3289         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
3290         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
3291         16-bit display mode.
3292
3293 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
3294
3295         * java/awt/CardLayout.java (show): Rewrote.
3296         (gotoComponent): Removed `target' argument.  Simplified code.
3297         Don't pre-compute `choice' unless `what' is FIRST or LAST.
3298         Changed all callers.
3299         (NONE): Removed.
3300         
3301 2003-01-14  Michael Koch  <konqueror@gmx.de>
3302
3303         * java/net/InetSocketAddress.java
3304         (serialVersionUID): New member variable.
3305         * java/net/NetPermission.java
3306         (NetPermission): Dont implement java.io.Serialization directly.
3307         * java/net/SocketAddress.java:
3308         (serialVersionUID): Documentation added.
3309         
3310 2003-01-14  Michael Koch  <konqueror@gmx.de>
3311
3312         * java/awt/Label.java
3313         (Label): Implements javax.accessibility.Accessible;
3314         * java/awt/List.java
3315         (List): Implements javax.accessibility.Accessible;
3316         * java/awt/ScrollPane.java
3317         (ScrollPane): Implements javax.accessibility.Accessible;
3318         * java/awt/Scrollbar.java
3319         (Scrollbar): Implements javax.accessibility.Accessible;
3320         * java/awt/TextComponent.java
3321         (setCaretPosition): Throw exception, documentation added.
3322         * java/awt/Toolkit.java:
3323         Added some newlines in method documentations.
3324         (createButton): Exception documentation added.
3325         (createTextField): Exception documentation added.
3326         (createLabel): Exception documentation added.
3327         (createList): Exception documentation added.
3328         (createCheckbox): Exception documentation added.
3329         (createScrollbar): Exception documentation added.
3330         (createScrollPane): Exception documentation added.
3331         (createTextArea): Exception documentation added.
3332         (createChoice): Exception documentation added.
3333         (createFrame): Exception documentation added.
3334         (createWindow): Exception documentation added.
3335         (createDialog): Exception documentation added.
3336         (createMenuBar): Exception documentation added.
3337         (createMenu): Exception documentation added.
3338         (createMenuItem): Exception documentation added.
3339         (createFileDialog): Exception documentation added.
3340         (createCheckboxMenuItem): Exception documentation added.
3341         (loadSystemColors): Exception documentation added.
3342         (setDynamicLayout): Exception documentation added.
3343         (isDynamicLayoutSet): Exception documentation added.
3344         (isDynamicLayoutActive): Exception documentation added.
3345         (getScreenSize): Exception documentation added.
3346         (getScreenResolution): Exception documentation added.
3347         (getScreenInsets): Exception documentation added.
3348         (getColorModel): Exception documentation added.
3349         (getSystemClipboard): Exception documentation added.
3350         (getSystemSelection): Exception documentation added.
3351         (getMenuShortcutKeyMask): Exception documentation added.
3352         (getSystemEventQueue): Exception documentation added.
3353         * java/awt/Window.java:
3354         Reindented some code.
3355         (Window): Centralized implementation, documentation added.
3356         (finalize): Documentation added.
3357         (hide): Fixed typo in comment.
3358         (getWindowListeners): Documentation added.
3359         * java/awt/color/ColorSpace.java
3360         (toRGB): Documentation added.
3361         * java/awt/color/ICC_ColorSpace.java
3362         (ICC_ColorSpace): Documentation added.
3363         (toRGB): Throw exception, documentation added.
3364         (fromRGB): Throw exception, documentation added.
3365         (toCIEXYZ): Documentation added.
3366         (fromCIEXYZ): Documentation added.
3367         (getMinValue): Documentation added.
3368         (getMaxValue): Documentation added.
3369         * java/awt/geom/Dimension2D.java
3370         (clone): Documentation added.
3371         * java/awt/geom/GeneralPath.java
3372         (clone): Documentation added.
3373         * java/awt/geom/Line2D.java
3374         (clone): Documentation added.
3375         * java/awt/geom/QuadCurve2D.java
3376         (clone): Documentation added.
3377         * java/awt/image/ColorModel.java
3378         (ColorModel): Throw exception, documentation added.
3379         * java/awt/image/ImageFilter.java
3380         (clone): Doesnt throw CloneNotSupportedException.
3381
3382 2003-01-14  Andrew Haley  <aph@redhat.com>
3383
3384         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
3385         in a try block.
3386
3387 2003-01-10  Andrew Haley  <aph@redhat.com>
3388
3389         * include/dwarf2-signal.h: Remove x86_64.
3390         * configure.host (x86_64 DIVIDESPEC): Remove.
3391         * include/x86_64-signal.h: New file.
3392         * configure.in: Regenerate.
3393
3394 2003-01-10  Michael Koch  <konqueror@gmx.de>
3395
3396         * java/net/DatagramSocket.java
3397         (ch): Description added.
3398         (remotePort): Initialize with -1.
3399         (connect): Doesnt throws SocketException.
3400         * java/net/MulticastSocket.java
3401         (setInterface): Merge with Classpath.
3402         * java/net/ServerSocket.java
3403         (closed): New member variable.
3404         (bind): Check if socket is closed.
3405         (close): Close an associated channel too, set new value to closed.
3406         (isBound): Reindented.
3407         (isClosed): Implemented.
3408         * java/net/Socket.java
3409         (closed): New member variable.
3410         (bind): Check if socket is closed.
3411         (connect): Check if socket is closed.
3412         (close): Close an associated channel too, set new value to closed.
3413         (isClosed): Implemented.
3414
3415 2003-01-10  Michael Koch  <konqueror@gmx.de>
3416
3417         * java/awt/DisplayMode.java
3418         (equals): Fixed argument type and implementation.
3419
3420 2003-01-07  Tom Tromey  <tromey@redhat.com>
3421
3422         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
3423         JV_HASH_SYNCHRONIZATION.
3424         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
3425         JV_HASH_SYNCHRONIZATION.
3426
3427 2003-01-07  Michael Koch  <konqueror@gmx.de>