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