ButtonUI.java, [...]: New versions from classpath.
[platform/upstream/gcc.git] / libjava / ChangeLog
1 2003-05-10  Michael Koch  <konqueror@gmx.de>
2
3         * javax/swing/plaf/ButtonUI.java,
4         javax/swing/plaf/ColorUIResource.java,
5         javax/swing/plaf/ComponentUI.java,
6         javax/swing/plaf/DimensionUIResource.java,
7         javax/swing/plaf/FontUIResource.java,
8         javax/swing/plaf/IconUIResource.java,
9         javax/swing/plaf/InsetsUIResource.java,
10         javax/swing/plaf/LabelUI.java,
11         javax/swing/plaf/ListUI.java,
12         javax/swing/plaf/OptionPaneUI.java,
13         javax/swing/plaf/PanelUI.java,
14         javax/swing/plaf/TabbedPaneUI.java,
15         javax/swing/plaf/TextUI.java,
16         javax/swing/plaf/TreeUI.java,
17         javax/swing/plaf/ViewportUI.java,
18         javax/swing/plaf/basic/BasicBorders.java,
19         javax/swing/plaf/basic/BasicButtonUI.java,
20         javax/swing/plaf/basic/BasicCheckBoxUI.java,
21         javax/swing/plaf/basic/BasicDefaults.java,
22         javax/swing/plaf/basic/BasicGraphicsUtils.java,
23         javax/swing/plaf/basic/BasicIconFactory.java,
24         javax/swing/plaf/basic/BasicLabelUI.java,
25         javax/swing/plaf/basic/BasicListUI.java,
26         javax/swing/plaf/basic/BasicOptionPaneUI.java,
27         javax/swing/plaf/basic/BasicPanelUI.java,
28         javax/swing/plaf/basic/BasicRadioButtonUI.java,
29         javax/swing/plaf/basic/BasicScrollPaneUI.java,
30         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
31         javax/swing/plaf/basic/BasicTextUI.java,
32         javax/swing/plaf/basic/BasicToggleButtonUI.java,
33         javax/swing/plaf/basic/BasicTreeUI.java,
34         javax/swing/plaf/basic/BasicViewportUI.java,
35         javax/swing/plaf/metal/MetalLookAndFeel.java:
36         New versions from classpath. This adds copyrights to all files and
37         some serialVersionUIDs.
38
39 2003-05-10  Michael Koch  <konqueror@gmx.de>
40
41         * java/nio/CharBuffer.java
42         (offset): Make it package-private.
43         (backing_buffer): Likewise.
44         * java/nio/DoubleBuffer.java
45         (offset): Make it package-private.
46         (backing_buffer): Likewise.
47         (put): Reformatted.
48         * java/nio/FloatBuffer.java
49         (offset): Make it package-private.
50         (backing_buffer): Likewise.
51         * java/nio/IntBuffer.java
52         (offset): Make it package-private.
53         (backing_buffer): Likewise.
54         * java/nio/LongBuffer.java
55         (offset): Make it package-private.
56         (backing_buffer): Likewise.
57         * java/nio/ShortBuffer.java
58         (offset): Make it package-private.
59         (backing_buffer): Likewise.
60
61 2003-05-10  Michael Koch  <konqueror@gmx.de>
62
63         * java/nio/CharBuffer.java
64         (put): Fixed precondtion check.
65         (toString): Make it work without backing array.
66         (put): Skip one level of method calling.
67
68 2003-05-10  Michael Koch  <konqueror@gmx.de>
69
70         * java/security/Identity.java,
71         java/security/IdentityScope.java,
72         java/security/Key.java,
73         java/security/KeyPair.java,
74         java/security/PrivateKey.java,
75         java/security/Provider.java,
76         java/security/PublicKey.java,
77         java/security/SecureRandom.java,
78         java/security/SecureRandomSpi.java,
79         java/security/SignedObject.java,
80         java/security/Signer.java,
81         java/security/cert/Certificate.java,
82         java/security/cert/PKIXCertPathBuilderResult.java,
83         java/security/cert/X509Certificate.java:
84         New versions from classpath.
85
86 2003-05-09  Tom Tromey  <tromey@redhat.com>
87
88         * Makefile.in: Rebuilt.
89         * Makefile.am (nat_source_files): Removed old files.
90         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
91         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
92         * gnu/java/nio/natIntBufferImpl.cc: Removed.
93         * gnu/java/nio/natLongBufferImpl.cc: Removed.
94         * gnu/java/nio/natShortBufferImpl.cc: Removed.
95
96 2003-05-09  Michael Koch  <konqueror@gmx.de>
97
98         * gnu/java/nio/ByteBufferImpl.java
99         (nio_cast): Removed.
100         (ByteBufferImpl): Removed.
101         (nio_get_Byte): Removed.
102         (nio_put_Byte): Removed.
103         (asByteBuffer): Removed.
104         (asCharBuffer): Removed implementation and throw exception.
105         (asShortBuffer): Likewise.
106         (asIntBuffer): Likewise.
107         (asLongBuffer): Likewise.
108         (asFloatBuffer): Likewise.
109         (asDoubleBuffer): Likewise.
110         * gnu/java/nio/CharBufferImpl.java
111         (CharBufferImpl): Removed.
112         (nio_get_Byte): Removed.
113         (nio_put_Byte): Removed.
114         (asByteBuffer): Removed.
115         * gnu/java/nio/DoubleBufferImpl.java
116         (DoubleBufferImpl): Removed.
117         (nio_get_Byte): Removed.
118         (nio_put_Byte): Removed.
119         (asByteBuffer): Removed.
120         * gnu/java/nio/FloatBufferImpl.java
121         (FloatBufferImpl): Removed.
122         (nio_get_Byte): Removed.
123         (nio_put_Byte): Removed.
124         (asByteBuffer): Removed.
125         * gnu/java/nio/IntBufferImpl.java
126         (IntBufferImpl): Removed.
127         (nio_get_Byte): Removed.
128         (nio_put_Byte): Removed.
129         (asByteBuffer): Removed.
130         * gnu/java/nio/LongBufferImpl.java
131         (LongBufferImpl): Removed.
132         (nio_get_Byte): Removed.
133         (nio_put_Byte): Removed.
134         (asByteBuffer): Removed.
135         * gnu/java/nio/ShortBufferImpl.java
136         (ShortBufferImpl): Removed.
137         (nio_get_Byte): Removed.
138         (nio_put_Byte): Removed.
139         (asByteBuffer): Removed.
140         * gnu/java/nio/natByteBufferImpl.cc
141         (nio_cast): Removed.
142         (nio_get_Byte): Removed.
143         (nio_put_Byte): Removed.
144         * gnu/java/nio/natCharBufferImpl.cc
145         (nio_get_Byte): Removed.
146         (nio_put_Byte): Removed.
147
148 2003-05-09  Michael Koch  <konqueror@gmx.de>
149
150         * java/net/JarURLConnection.java
151         (getJarEntry): Merged documentation from classpath.
152         (getJarFile): Likewise.
153         (getMainAttributes): Likewise.
154         (getAttributes): Likewise.
155         (getManifest): Likewise.
156         (getCertificates): Reformatted.
157         * java/net/URLConnection.java:
158         Little classpath merge.
159
160 2003-05-09  Michael Koch  <konqueror@gmx.de>
161
162         * java/io/DataOutputStream.java
163         (writeShort): Made it synchronized.
164         (writeChar): Likewise.
165         (writeInt): Likewise.
166         (writeLong): Liekwise.
167         (writeUTF): Made it synchronized, renamed argument to match classpath.
168         * java/io/InputStreamReader.java
169         (converter): Added documentation.
170         (read): Merged documentation from classpath.
171         * java/io/OutputStreamWriter.java
172         (OutputStreamWriter): Merged documentation from classpath.
173         (close): Reformatted.
174         (getEncoding): Likewise.
175         (flush): Likewise.
176         (write): Merged documentation from classpath, reformatted.
177
178 2003-05-08  Tom Tromey  <tromey@redhat.com>
179
180         * configure.host <powerpc64*-*>: Set with_libffi_default and
181         libgcj_interpreter to "yes".
182
183 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
184
185         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
186         
187 2003-05-06  Tom Tromey  <tromey@redhat.com>
188
189         * verify.cc: Reverted previous patch.
190
191 2003-05-06  Michael Koch  <konqueror@gmx.de>
192
193         * java/io/DataOutputStream.java
194         (write): Renamed argument to "value", merged documentation from
195         classpath.
196         (writeBoolean): Likewise.
197         (writeByte): Likewise.
198         (writeShort): Likewise.
199         (writeChar): Likewise.
200         (writeInt): Likewise.
201         (writeLong): Likewise.
202         (writeFloat): Likewise.
203         (writeDouble): Likewise.
204         (writeBytes): Likewise.
205         (writeChars): Likewise.
206         (writeUTF): Likewise.
207         * java/io/File.java
208         (performDelete): Added documentation.
209         (performList): Likewise.
210         (performMkdir): Likewise.
211         (performSetReadOnly): Likewise.
212         (performRenameTo): Likewise.
213         (performSetLastModified): Likewise.
214         (delete): Made it sychronized.
215         (renameTo): Made it sychronized.
216         (equals): Reformatted.
217         (isHidden): Likewise.
218         (listFiles): Likewise.
219         (setReadOnly): Likewise.
220         (listRoots): Likewise.
221         (setLastModified): Likewise.
222         (checkRead): Likewise.
223         (checkWrite): Likewise.
224         * java/io/FileInputStream.java
225         (skip): Made it sychronized, merged from classpath.
226         * java/io/FileOutputStream.java
227         (write): Merged from classpath.
228         * java/io/InputStreamReader.java:
229         (InputStreamReader): Merged documentation from classpath.
230
231 2003-05-05  Michael Koch  <konqueror@gmx.de>
232
233         * java/net/NetworkInterface.java
234         (networkInterfaces): Removed.
235         (getByName): Use getRealNetworkInterfaces() instead of
236         networkInterfaces.
237         (getByInetAddress): Likewise.
238         (getNetworkInterfaces): Likewise.
239         (toString): Fix output of addresses of an interface.
240
241 2003-05-05  Michael Koch  <konqueror@gmx.de>
242
243         * java/io/DataInputStream.java:
244         Merged new documentation from classpath.
245
246 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
247
248         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
249         "version".
250         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
251         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
252         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
253         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
254         * gnu/awt/gtk/GtkMainThread.java: Likewise.
255         * gnu/awt/gtk/GtkToolkit.java: Likewise.
256         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
257         * java/security/Key.java: Likewise.
258         * java/security/PrivateKey.java: Likewise.
259         * java/security/Provider.java: Likewise.
260         * java/security/PublicKey.java: Likewise.
261
262 2003-05-02  Michael Koch  <konqueror@gmx.de>
263
264         * java/net/URI.java
265         (create): Doesnt throws any exceptions.
266         * java/net/URLConnection.java
267         (URLConnection): Commend added.
268         (getExpiration): The header field is called "expires" not
269         "expiration".
270         (getHeaderField): Merged documentation with classpath.
271         (getHeaderFieldInt): Likewise.
272         (getHeaderFieldDate): Likewise.
273         (getHeaderFieldKey): Likewise.
274         (getPermission): Likewise.
275         (setDefaultUseCaches): Likewise.
276         (setRequestProperty): Likewise.
277         (addRequestProperty): Likewise.
278         (getRequestProperty): Likewise.
279         (getRequestProperties): Likewise.
280         (setDefaultRequestProperty): Likewise.
281         (getDefaultRequestProperty): Likewise.
282         (guessContentTypeFromStream): Likewise.
283         (getFileNameMap): Likewise.
284         (setFileNameMap): Likewise.
285         (setDoInput): Merged implementation and documentation with classpath.
286         (setDoOutput): Likewise.
287         (setAllowUserInteraction): Likewise.
288         (setDefaultAllowUserInteraction): Likewise.
289         (setContentHandlerFactory): Made it synchronized, merged documentation
290         with classpath.
291         (guessContentTypeFromName): Renamed argument fname to filename to
292         match classpath, merged documentation with classpath.
293
294 2003-05-02  Michael Koch  <konqueror@gmx.de>
295
296         * java/net/JarURLConnection.java
297         (JarURLConnection): Class documentation merged with classpath.
298         (getJarFileURL): Moved and documentation merged with classpath.
299         (getEntryName): Likewise.
300         (JarURLConnection): Documentation merged with classpath.
301         (getJarEntry): Likewise.
302         (getJarFile): Likewise.
303         * java/net/PlainDatagramSocketImpl.java:
304         Class documentation moved.
305         * java/net/URLConnection.java
306         (fileNameMap): Moved and documentation merged with classpath.
307         (factory): Likewise.
308         (defaultAllowUserInteraction): Likewis.
309         (defaultUseCaches): Likewise.
310         (allowUserInteraction): Likewise.
311         (connected): Likewise.
312         (url): Likewise.
313         (connect): Documentation merged with classpath.
314         (getURL): Likewise.
315         (getContentLength): Likewise.
316         (getContentType): Likewise.
317         (getContentEncoding): Likewise.
318         (getExpiration): Likewise.
319         (getDate): Likewise.
320         (getLastModified): Likewise.
321         (getHeaderField): Likewise.
322         (getContent): Likewise.
323         (getPermission): Likewise.
324         (getInputStream): Likewise.
325         (getOutputStream): Likewise.
326         (toString): Likewise.
327         (getDoInput): Likewise.
328         (getDoOutput): Likewise.
329         (setAllowUserInteraction): Likewise.
330         (getAllowUserInteraction): Likewise.
331         (setDefaultAllowUserInteraction): Likewise.
332         (getDefaultAllowUserInteraction): Likewise.
333         (setUseCaches): Likewise.
334         (getUseCaches): Likewise.
335         (setIfModifiedSince): Likewise.
336         (getIfModifiedSince): Likewise.
337         (setDefaultRequestProperty): Likewise.
338         (getDefaultRequestProperty): Likewise.
339         (setContentHandlerFactory): Likewise.
340         (setFileNameMap): Likewise.
341
342 2003-05-02  Michael Koch  <konqueror@gmx.de>
343
344         * java/net/InetAddress.java:
345         Merged class documentation with classpath.
346         * java/net/JarURLConnection.java:
347         Explicitely import all used classes.
348         * java/net/URL.java:
349         Reformatting.
350         * java/net/ServerSocket.java,
351         java/net/Socket.java:
352         New versions from classpath.
353
354 2003-05-02  Michael Koch  <konqueror@gmx.de>
355
356         * gnu/java/nio/FileChannelImpl.java
357         (read): New implementation.
358         (implRead): New methods.
359         (write): New implementation, call other write insteal of read method.
360         (implWrite): New methods.
361         (map): Added comment.
362         (transferFrom): Implemented.
363         (transferTo): Implemented.
364         (lock): Added checks to throw exceptions.
365         (truncate): Added check to throw exception.
366         * gnu/java/nio/natFileChannelImpl.cc
367         (implRead): New method.
368         (implWrite): New method.
369         * java/nio/ByteBuffer.java
370         (hashCode): Fixed comment.
371         (get): Fixed exception documentation.
372         (put): Fixed exception documentation.
373         * java/nio/CharBuffer.java:
374         Added comment for later optimizations.
375
376 2003-04-30  Tom Tromey  <tromey@redhat.com>
377
378         PR libgcj/10582:
379         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
380         Removed.
381         (type::compatible): Use _Jv_IsAssignableFrom.
382         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
383         (_Jv_IsAssignableFrom): Work even when source or target class is
384         not prepared.
385
386 2003-04-30  Michael Koch  <konqueror@gmx.de>
387
388         * java/text/BreakIterator.java
389         (clone): New method.
390
391 2003-04-30  Michael Koch  <konqueror@gmx.de>
392
393         * java/text/CollationElementIterator.java,
394         java/text/CollationKey.java,
395         java/text/RuleBasedCollator.java:
396         Merged copyright and documentation from classpath and
397         rearranged some code. No code changes done.
398
399 2003-04-30  Michael Koch  <konqueror@gmx.de>
400
401         * java/util/regex/Matcher.java
402         (pattern): New member variable.
403         (appendReplacement): New method.
404         (appendTail): New method.
405         (end): New method.
406         (find): New method.
407         (group): New method.
408         (replaceFirst): Added documentation.
409         (replaceAll): Added documentation.
410         (groupCount): New method.
411         (lookingAt): New method.
412         (matches): New method.
413         (reset): New method.
414         (start): New method.
415         * java/util/regex/Pattern.java
416         (serialVersionUID): New constant.
417         (CANON_EQ): New constant.
418         (CASE_INSENSITIVE): New constant.
419         (COMMENTS): New constant.
420         (DOTALL): New constant.
421         (MULTILINE): New constant.
422         (UNICODE_CASE): New constant.
423         (UNIX_LINES): New constant.
424         (regex): New member variable.
425         (flags): New member variable.
426         (Pattern): New method.
427         (compile): Documentation added.
428         (flags): New method.
429         (matches): Documentation added.
430         (matcher): Documentation added.
431         (split): Documentation added.
432         (pattern): New method.
433
434 2003-04-30  Michael Koch  <konqueror@gmx.de>
435
436         * gnu/java/security/Engine.java,
437         gnu/java/security/OID.java,
438         gnu/java/security/der/BitString.java,
439         gnu/java/security/der/DER.java,
440         gnu/java/security/der/DERReader.java,
441         gnu/java/security/der/DERValue.java,
442         gnu/java/security/der/DERWriter.java,
443         gnu/java/security/provider/DSAKeyFactory.java,
444         gnu/java/security/provider/X509CertificateFactory.java,
445         gnu/java/security/x509/X500DistinguishedName.java,
446         gnu/java/security/x509/X509CRL.java,
447         gnu/java/security/x509/X509CRLEntry.java,
448         gnu/java/security/x509/X509Certificate.java,
449         java/security/cert/CRLSelector.java,
450         java/security/cert/CertPathBuilder.java,
451         java/security/cert/CertPathBuilderResult.java,
452         java/security/cert/CertPathBuilderSpi.java,
453         java/security/cert/CertPathParameters.java,
454         java/security/cert/CertPathValidator.java,
455         java/security/cert/CertPathValidatorResult.java,
456         java/security/cert/CertPathValidatorSpi.java,
457         java/security/cert/CertSelector.java,
458         java/security/cert/CertStore.java,
459         java/security/cert/CertStoreParameters.java,
460         java/security/cert/CertStoreSpi.java,
461         java/security/cert/CollectionCertStoreParameters.java,
462         java/security/cert/LDAPCertStoreParameters.java,
463         java/security/cert/PKIXBuilderParameters.java,
464         java/security/cert/PKIXCertPathBuilderResult.java,
465         java/security/cert/PKIXCertPathChecker.java,
466         java/security/cert/PKIXCertPathValidatorResult.java,
467         java/security/cert/PKIXParameters.java,
468         java/security/cert/PolicyNode.java,
469         java/security/cert/PolicyQualifierInfo.java,
470         java/security/cert/TrustAnchor.java,
471         javax/security/auth/x500/X500Principal.java:
472         New files from classpath.
473         * gnu/java/io/ASN1ParsingException.java,
474         gnu/java/io/Base64InputStream.java,
475         gnu/java/security/der/DEREncodingException.java,
476         gnu/java/security/provider/DSAParameters.java,
477         gnu/java/security/provider/DSASignature.java,
478         gnu/java/security/provider/Gnu.java,
479         gnu/java/security/provider/GnuDSAPrivateKey.java,
480         gnu/java/security/provider/GnuDSAPublicKey.java,
481         java/security/AlgorithmParameterGenerator.java,
482         java/security/AlgorithmParameters.java,
483         java/security/KeyFactory.java,
484         java/security/KeyPairGenerator.java,
485         java/security/KeyStore.java,
486         java/security/MessageDigest.java,
487         java/security/SecureClassLoader.java,
488         java/security/SecureRandom.java,
489         java/security/Security.java,
490         java/security/Signature.java,
491         java/security/cert/Certificate.java,
492         java/security/cert/CertificateFactory.java,
493         java/security/cert/CertificateFactorySpi.java,
494         java/security/cert/X509CRL.java,
495         java/security/cert/X509Certificate.java,
496         java/security/spec/DSAPublicKeySpec.java:
497         New versions from classpath.
498         * gnu/java/security/provider/DERReader.java,
499         gnu/java/security/provider/DERWriter.java,
500         java/security/Engine.java: Removed.
501         * Makefile.am
502         (java_source_files, javax_source_files): Added new files.
503         * Makefile.in: Regenerated.
504
505 2003-04-29  Michael Koch  <konqueror@gmx.de>
506
507         * javax/swing/JTable.java
508         (AUTO_RESIZE_ALL_COLUMNS): New constant.
509         (AUTO_RESIZE_LAST_COLUMN): New constant.
510         (AUTO_RESIZE_NEXT_COLUMN): New constant.
511         (AUTO_RESIZE_OFF): New constant.
512         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
513         (JTable): New method.
514         (columnAdded): New method.
515         (columnMarginChanged): New method.
516         (columnMoved): New method.
517         (columnRemoved): New method.
518         (columnSelectionChanged): New method.
519         (editingCanceled): New method.
520         (editingStopped): New method.
521         (getColumnModel): New method.
522         (getPreferredScrollableViewportSize): New method.
523         (getScrollableBlockIncrement): New method.
524         (getScrollableTracksViewportHeight): New method.
525         (getScrollableTracksViewportWidth): New method.
526         (getScrollableUnitIncrement): New method.
527         (getSelectedRow): New method.
528         (getSelectionModel): New method.
529         (tableChanged): New method.
530         (setModel): New method.
531         (setSelectionMode): New method.
532         (setSelectionModel): New method.
533         (setShowGrid): New method.
534         (valueChanged): New method.
535         * javax/swing/text/DefaultEditorKit.java
536         (backwardAction): New constant.
537         (beepAction): New constant.
538         (beginAction): New constant.
539         (beginLineAction): New constant.
540         (beginParagraphAction): New constant.
541         (beginWordAction): New constant.
542         (copyAction): New constant.
543         (cutAction): New constant.
544         (defaultKeyTypedAction): New constant.
545         (deleteNextCharAction): New constant.
546         (deletePrevCharAction): New constant.
547         (downAction): New constant.
548         (endAction): New constant.
549         (endLineAction): New constant.
550         (endOfLineStringProperty): New constant.
551         (endParagraphAction): New constant.
552         (endWordAction): New constant.
553         (forwardAction): New constant.
554         (insertBreakAction): New constant.
555         (insertContentAction): New constant.
556         (insertTabAction): New constant.
557         (nextWordAction): New constant.
558         (pageDownAction): New constant.
559         (pageUpAction): New constant.
560         (pasteAction): New constant.
561         (previousWordAction): New constant.
562         (readOnlyAction): New constant.
563         (selectAllAction): New constant.
564         (selectionBackwardAction): New constant.
565         (selectionBeginAction): New constant.
566         (selectionBeginLineAction): New constant.
567         (selectionBeginParagraphAction): New constant.
568         (selectionBeginWordAction): New constant.
569         (selectionDownAction): New constant.
570         (selectionEndAction): New constant.
571         (selectionEndLineAction): New constant.
572         (selectionEndParagraphAction): New constant.
573         (selectionEndWordAction): New constant.
574         (selectionForwardAction): New constant.
575         (selectionNextWordAction): New constant.
576         (selectionPreviousWordAction): New constant.
577         (selectionUpAction): New constant.
578         (selectLineAction): New constant.
579         (selectParagraphAction): New constant.
580         (selectWordAction): New constant.
581         (upAction): New constant.
582         (writableAction): New constant.
583
584 2003-04-29  Michael Koch  <konqueror@gmx.de>
585
586         * java/util/PropertyPermission.java:
587         New version from classpath
588         * java/util/ResourceBundle.java:
589         Partly merged from classpath
590         (getObject): Reformated.
591         (tryBundle): Set foundBundle = null if no bundle found.
592
593 2003-04-29  Michael Koch  <konqueror@gmx.de>
594
595         * javax/swing/AbstractListModel.java,
596         javax/swing/DefaultBoundedRangeModel.java,
597         javax/swing/DefaultSingleSelectionModel.java:
598         New Versions from classpath.
599
600 2003-04-29  Michael Koch  <konqueror@gmx.de>
601
602         * java/awt/Window.java
603         (show): Call super.show() instead of setVisible() to avoid endless
604         loop.
605         (hide): Call super.hide() instead of setVisible() to avoid endless
606         loop.
607
608 2003-04-29  Michael Koch  <konqueror@gmx.de>
609
610         * java/util/zip/Deflater.java,
611         java/util/zip/DeflaterOutputStream.java:
612         Partly merged with classpath.
613
614 2003-04-27  Tom Tromey  <tromey@redhat.com>
615
616         * java/lang/natString.cc (_Jv_AllocString): Initialize
617         cachedHashCode.
618         (init): Likewise.
619         (_Jv_NewStringUtf8Const): Likewise.
620
621 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
622
623         * include/jvm.h: (_Jv_GetNbArgs) added
624         (_Jv_GetSafeArg) added
625         (_Jv_SetArgs) added
626         * prims.cc: (_Jv_GetNbArgs) implemented
627         (_Jv_GetSafeArg) implemented
628         (_Jv_SetArgs) implemented
629         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
630         setting _Jv_argc and _Jv_argv
631         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
632         instead of _Jv_argv
633         * java/lang/natRuntime.cc: (insertSystemProperties) use
634         _Jv_GetSafeArg() instead of _Jv_argv
635
636 2003-04-23  Tom Tromey  <tromey@redhat.com>
637
638         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
639         required by this object.  Search superclasses to find required
640         alignment.
641         (get_alignment_from_class): Use alignment of type as it appears
642         in a struct.
643         (ALIGNOF): New macro.
644         (struct aligner): New helper structure.
645
646 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
647
648         * java/awt/Container.java (addImpl): Enable paint events if adding
649         a lightweight to a heavyweight.
650         (addNotify): Ensure that peer is created before
651         addNotifyContainerChildren.
652         (addNotifyContainerChildren): Enable paint events if a heavyweight
653         container contains a lightweight.
654
655 2003-04-20  Tom Tromey  <tromey@redhat.com>
656
657         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
658         java/io/DataInput.java, java/io/DataOutput.java: Imports from
659         Classpath.
660
661 2003-04-19  Tom Tromey  <tromey@redhat.com>
662
663         * java/sql/Date.java, java/sql/DriverManager.java,
664         java/sql/Time.java, java/sql/Timestamp.java: New versions from
665         Classpath.
666
667         * Makefile.in: Rebuilt.
668         * Makefile.am (ordinary_java_source_files): Added new files.
669         * java/security/AlgorithmParameterGenerator.java,
670         java/security/AlgorithmParameters.java, java/security/Engine.java,
671         java/security/Identity.java, java/security/IdentityScope.java,
672         java/security/KeyFactory.java,
673         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
674         java/security/MessageDigest.java, java/security/Policy.java,
675         java/security/ProtectionDomain.java,
676         java/security/SecureRandom.java, java/security/Security.java,
677         java/security/Signature.java, java/security/SignatureSpi.java,
678         java/security/SignedObject.java, java/security/Signer.java,
679         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
680         java/security/spec/PSSParameterSpec.java,
681         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
682         java/security/spec/RSAOtherPrimeInfo.java: New versions from
683         Classpath.
684
685 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
686
687         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
688         (dispose): Null metrics.
689         * gnu/awt/xlib/XToolkit.java (sync): Implement.
690         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
691         finalize.
692         (finalize): Call dispose.
693         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
694         (gcCachedCount): New field.
695         (finalize): New method.
696         (putGCInCache): New method.
697         (getGCFromCache): New method.
698         * gnu/gcj/xlib/GC.java (GC): Make protected.
699         (clone): Get new GC from cache if possible.
700         (create): New static method.
701         (dispose): Save old GC in cache.
702         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
703         deleting.
704         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
705         is null.
706         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
707         * java/awt/Container.java (visitChild): Dispose gfx2 when
708         finished.
709
710 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
711
712         * java/math/BigInteger.java (probablePrime): New.
713         * java/math/BigDecimal.java (unscaledValue): New.
714
715 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
716
717         * java/io/File.java (getAbsolutePath): On Windows, take care
718         of paths like "C:", "G:foo\bar", etc.
719         (getName): Make it work correctly on Windows.
720         (getParent): Make it work correctly on Windows. For UNIX,
721         fix bug that causes "/" to be returned as the parent of "/",
722         instead of null as returned by Sun's JRE.
723
724         * java/io/natFileWin32.cc: Change copyright owner to FSF.
725
726 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
727
728         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
729         inner class.
730         (CACHE_SIZE_PER_DISPLAY): New field
731         (fontMetricsCache): New field
732         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
733         loading ISO10646-1 fonts.
734
735 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
736
737         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
738         characters.
739         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
740         characters.
741
742 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
743
744         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
745         floating point.
746
747 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
748
749         * configure.host (*-linux*): Don't set slow_pthread_self if primary
750         installed libpthread is either linuxthreads with floating stacks or
751         NPTL.
752
753 2003-04-14  Tom Tromey  <tromey@redhat.com>
754
755         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
756         of alignment.
757
758 2003-04-10  Tom Tromey  <tromey@redhat.com>
759
760         * verify.cc (pop64): Removed.
761         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
762         exception if top-of-stack is narrow.
763         (initialize_stack): Check to ensure that <init> is not static and
764         <clinit> is.
765
766 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
767
768         * java/io/ObjectStreamException
769         * java/io/FileFilter
770         * java/io/FilenameFilter
771         * java/io/ObjectInput
772         * java/io/ObjectOutput
773         * java/io/ObjectStreamConstants
774         Minor doc fixes, format fixes, spelling corrections, etc.
775         * java/io/DataInput
776         Corrected code samples in Javadocs to match reality
777         * java/io/DataOutput
778         * java/io/ObjectInputValidation
779         Major documentation fixes - all Javadocs re-written or updated
780
781 2003-04-06  Michael Koch  <konqueror@gmx.de>
782
783         * java/net/URLConnection.java:
784         Import classes directly.
785         (URLConnection): Merged class documentation with classpath.
786         (url): Moved, documentation from classpath added.
787         (doInput): Moved, documentation from classpath added.
788         (doOutput): Moved, documentation from classpath added.
789         (allowUserInteraction): Moved.
790         (useCaches): Moved, documentation from classpath added.
791         (ifModifiedSince): Moved, documentation from classpath added.
792         (connected): Moved, documentation from classpath added.
793
794 2003-04-06  Michael Koch  <konqueror@gmx.de>
795
796         * java/io/FileInputStream.java
797         (skip): Renamed some variables to match classpath, added
798         checks from classpath.
799
800 2003-03-31  Michael Koch  <konqueror@gmx.de>
801
802         * javax/swing/AbstractAction.java
803         (AbstractAction): Reformatted.
804         (serialVersionUID): New private member variable.
805         * javax/swing/plaf/BorderUIResource.java
806         (serialVersionUID): New private member variable.
807         * javax/swing/plaf/basic/BasicLookAndFeel.java
808         (serialVersionUID): New private member variable.
809
810 2003-03-31  Michael Koch  <konqueror@gmx.de>
811
812         * java/sql/Date.java
813         (valueOf): Deprecated, reformatted.
814         (toString): Deprecated, reformatted.
815         * java/sql/Time.java
816         (valueOf): Deprecated, reformatted.
817         (toString): Deprecated, reformatted.
818
819 2003-03-31  Michael Koch  <konqueror@gmx.de>
820
821         * java/rmi/dgc/VMID.java
822         (isUnique): Deprecated.
823
824 2003-03-31  Michael Koch  <konqueror@gmx.de>
825
826         * java/io/File.java
827         (separator): Merged documentation from classpath.
828         (separatorChar): Merged documentation from classpath.
829         (pathSeparator): Merged documentation from classpath.
830         (pathSeparatorChar): Merged documentation from classpath.
831         (path): Merged documentation from classpath.
832         (canRead): Merged documentation from classpath.
833         (canWrite): Merged documentation from classpath.
834         (createNewFile): Merged documentation from classpath.
835         (delete): Merged documentation from classpath.
836         (equals): Merged documentation from classpath.
837         (exists): Merged documentation from classpath.
838         (File): Renamed p to name to match classpath, merged documentation
839         from classpath.
840         (getAbsolutePath): Merged documentation from classpath.
841         (getCanonicalPath): Merged documentation from classpath.
842         (getCanonicalFile): Merged documentation from classpath.
843         (getName): Merged documentation from classpath.
844         (getParent): Merged documentation from classpath.
845         (getParentFile): Merged documentation from classpath.
846         (getPath): Merged documentation from classpath.
847         (hashCode): Merged documentation from classpath.
848         (isAbsolute): Merged documentation from classpath.
849         (isDirectory): Merged documentation from classpath.
850         (isFile): Merged documentation from classpath.
851         (isHidden): Merged documentation from classpath.
852         (lastModified): Merged documentation from classpath.
853         (length): Merged documentation from classpath.
854         (list): Merged documentation from classpath.
855         (listFiles): Merged documentation from classpath.
856         (toString): Merged documentation from classpath.
857         (toURL): Merged documentation from classpath.
858         (mkdir): Merged documentation from classpath.
859         (mkdirs): Merged documentation from classpath.
860         (createTempFile): Merged documentation from classpath.
861         (setReadOnly): Merged documentation from classpath.
862         (listRoots): Merged documentation from classpath.
863         (compareTo): Merged documentation from classpath.
864         (renameTo): Merged documentation from classpath.
865         (setLastModified): Merged documentation from classpath.
866         * java/io/PrintStream.java
867         (auto_flush): Merged documentation from classpath.
868         (PrintStream): Merged documentation from classpath.
869         (checkError): Merged documentation from classpath.
870         (setError): Merged documentation from classpath.
871         (close): Merged documentation from classpath.
872         (flush): Merged documentation from classpath.
873         (print): Merged documentation from classpath.
874         (println):  Merged documentation from classpath.
875         (write): Renamed count to len to match classpath,
876         merged documentation from classpath.
877         * java/io/RandomAccessFile.java
878         (readShort): Merged documentation from classpath.
879         (readUnsignedByte): Merged documentation from classpath.
880         (readUnsignedShort): Merged documentation from classpath.
881         (readUTF): Merged documentation from classpath.
882         (seek): Reformatted, merged documentation from classpath.
883         (skipBytes): Renamed some variables to match classpath, reformatted,
884         merged documentation from classpath.
885         (write): Merged documentation from classpath.
886         (writeBoolean): Merged documentation from classpath.
887         (writeByte): Merged documentation from classpath.
888         (writeShort): Merged documentation from classpath.
889         (writeChar): Merged documentation from classpath.
890         (writeInt): Merged documentation from classpath.
891         (writeLong): Merged documentation from classpath.
892         (writeFloat): Merged documentation from classpath.
893         (writeDouble): Merged documentation from classpath.
894         (writeBytes): Merged documentation from classpath.
895         (writeChars): Merged documentation from classpath.
896         (writeUTF): Reformatted.
897         (getChannel): Reformatted.
898
899 2003-03-31  Michael Koch  <konqueror@gmx.de>
900
901         * java/awt/font/TextAttribute.java
902         (readResolve): Throws java.io.InvalidObjectException.
903
904 2003-03-31  Michael Koch  <konqueror@gmx.de>
905
906         * java/rmi/server/LoaderHandler.java
907         (loadClass): Deprecated.
908         (getSecurityContext): Deprecated.
909         * java/rmi/server/LogStream.java
910         (getDefaultStream): Deprecated.
911         (setDefaultStream): Deprecated.
912         (getOutputStream): Deprecated.
913         (setOutputStream): Deprecated.
914         (write): Deprecated.
915         (toString): Deprecated.
916         (parseLevel): Deprecated.
917         * java/rmi/server/Operation.java
918         (Operation): Deprecated.
919         (getOperation): Deprecated.
920         (toString): Deprecated.
921         * java/rmi/server/RemoteCall.java
922         (getOutputStream): Deprecated.
923         (releaseOutputStream): Deprecated.
924         (getInputStream): Deprecated.
925         (releaseInputStream): Deprecated.
926         (getResultStream): Deprecated.
927         (executeCall): Deprecated.
928         (done): Deprecated.
929         * java/rmi/server/RemoteRef.java
930         (invoke): Deprecated.
931         (newCall): Deprecated.
932         (done): Deprecated.
933         * java/rmi/server/RemoteStub.java
934         (setRef): Deprecated.
935         * java/rmi/server/Skeleton.java:
936         No need to import java.lang.Exception explicitly.
937         (dispatch): Deprecated.
938         (getOperations): Deprecated.
939
940 2003-03-31  Michael Koch  <konqueror@gmx.de>
941
942         * java/rmi/dgc/VMID.java,
943         java/rmi/registry/RegistryHandler.java,
944         java/rmi/server/LogStream.java,
945         java/rmi/server/Operation.java,
946         java/rmi/server/RemoteCall.java,
947         java/rmi/server/RemoteRef.java,
948         java/rmi/server/RemoteStub.java:
949         Reformatted.
950
951 2003-03-31  Michael Koch  <konqueror@gmx.de>
952
953         * javax/swing/AbstractCellEditor.java,
954         javax/swing/AbstractListModel.java,
955         javax/swing/ActionMap.java,
956         javax/swing/BorderFactory.java,
957         javax/swing/ButtonGroup.java,
958         javax/swing/DefaultBoundedRangeModel.java,
959         javax/swing/DefaultButtonModel.java,
960         javax/swing/DefaultCellEditor.java,
961         javax/swing/DefaultComboBoxModel.java,
962         javax/swing/DefaultDesktopManager.java,
963         javax/swing/DefaultListCellRenderer.java,
964         javax/swing/DefaultSingleSelectionModel.java,
965         javax/swing/InputMap.java,
966         javax/swing/JComponent.java,
967         javax/swing/JMenu.java,
968         javax/swing/JSlider.java,
969         javax/swing/KeyStroke.java,
970         javax/swing/OverlayLayout.java,
971         javax/swing/ScrollPaneLayout.java,
972         javax/swing/SizeRequirements.java,
973         javax/swing/UIManager.java,
974         javax/swing/ViewportLayout.java,
975         javax/swing/border/AbstractBorder.java,
976         javax/swing/colorchooser/DefaultColorSelectionModel.java,
977         javax/swing/event/EventListenerList.java,
978         javax/swing/table/AbstractTableModel.java,
979         javax/swing/table/DefaultTableCellRenderer.java,
980         javax/swing/table/DefaultTableColumnModel.java,
981         javax/swing/table/DefaultTableModel.java,
982         javax/swing/table/TableColumn.java,
983         javax/swing/text/StyledEditorKit.java,
984         javax/swing/tree/DefaultMutableTreeNode.java,
985         javax/swing/tree/DefaultTreeModel.java,
986         javax/swing/tree/DefaultTreeSelectionModel.java,
987         javax/swing/tree/TreePath.java,
988         javax/swing/undo/AbstractUndoableEdit.java,
989         javax/swing/undo/StateEdit.java,
990         javax/swing/undo/StateEditable.java,
991         javax/swing/undo/UndoableEditSupport.java:
992         Merges from classpath.
993
994 2003-03-30  Tom Tromey  <tromey@redhat.com>
995
996         * java/lang/String.java (data, boffset, count): Documented.
997         (String(byte[],String)): Reformatted.
998         (String(byte[])): Likewise.
999         (lastIndexOf(int)): Likewise.
1000         (lastIndexOf(String)): Likewise.
1001         (substring(int)): Renamed argument to match Classpath.
1002         (String(StringBuffer)): Don't share buffer if it is nearly empty.
1003
1004         * java/lang/String.java: Miscellaneous minor formatting changes
1005         to match Classpath more closely.
1006
1007 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
1008             Tom Tromey  <tromey@redhat.com>
1009
1010         * java/lang/natString.cc (hashCode): Use cachedHashCode.
1011         (init()): Removed.
1012         (charAt): Put index in exception.
1013         (contentEquals): New method.
1014         Include StringBuffer.h.
1015         * java/lang/String.java (cachedHashCode): New field.
1016         (String()): Follow classpath implementation.
1017         (init()): Removed.
1018         (contentEquals): Declare.
1019         (subSequence): Don't declare IndexOutIfBoundsException in throws
1020         clause.
1021         (matches, replaceFirst, replaceAll, split): New methods from
1022         Classpath.
1023
1024 2003-03-29  Tom Tromey  <tromey@redhat.com>
1025
1026         * java/lang/String.java: Reordered to follow Classpath; merged in
1027         javadoc.
1028
1029         * java/text/MessageFormat.java: Removed some whitespace.
1030
1031         * Makefile.in: Rebuilt.
1032         * Makefile.am (awt_java_source_files): Added new files.
1033         * gnu/javax/rmi/PortableServer.java,
1034         gnu/javax/rmi/CORBA/DelegateFactory.java,
1035         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
1036         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
1037         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
1038         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
1039         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
1040         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
1041         javax/rmi/PortableRemoteObject.java,
1042         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
1043         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
1044         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
1045         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
1046         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
1047         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
1048
1049         * java/lang/natClass.cc (newInstance): Put method name in
1050         exception.
1051         (getConstructor): Likewise.
1052         (getDeclaredConstructor): Likewise.
1053         (getPrivateMethod): Likewise.
1054
1055 2003-03-28  Tom Tromey  <tromey@redhat.com>
1056
1057         * java/lang/reflect/Proxy.java: New version from Classpath.
1058         * java/lang/Package.java: New version from Classpath.
1059
1060 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
1061
1062         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
1063         * configure: Regenerate.
1064
1065 2003-03-28  Michael Koch  <konqueror@gmx.de>
1066
1067         * java/io/File.java:
1068         Import needed classes instead of whole packages, merged class
1069         documentation with classpath, moved constants and variables to top of
1070         class.
1071         * java/io/PrintStream.java:
1072         Merged class documentation with classpath, moved constants and
1073         variables to top of class.
1074         * java/io/RandomAccessFile.java
1075         (RandomAccessFile): Merged with classpath.
1076         (read): Merged with classpath).
1077         (read*): Reformatted.
1078
1079 2003-03-28  Michael Koch  <konqueror@gmx.de>
1080
1081         * java/io/FileDescriptor.java
1082         (finalize): Throws Throwable, not IOException.
1083         * java/io/ObjectOutputStream.java
1084         (PutField.put): Doesnt throws anything.
1085
1086 2003­03-28  Michael Koch  <konqueror@gmx.de>
1087
1088         * java/io/FileOutputStream.java:
1089         Merged class documentation and authors with classpath.
1090         (FileOutputStream): Partly merged with classpath.
1091         (write): Merged with classpath.
1092         (getChannel): Make it synchronized instead of explicit block in this
1093         method.
1094         * java/io/RandomAccessFile.java:
1095         Merged class documentation and authors with classpath.
1096
1097 2003-03-26  Tom Tromey  <tromey@redhat.com>
1098
1099         * java/lang/natRuntime.cc (insertSystemProperties): Set
1100         gnu.classpath.home.url.
1101         * Makefile.in: Rebuilt.
1102         * Makefile.am: Define LIBDIR.
1103
1104 2003-03-25  Michael Koch  <konqueror@gmx.de>
1105
1106         * java/io/FileInputStream.java
1107         (read): Renamed b to buf and off to offset.
1108         * java/io/FileOutputStream.java
1109         (ch): Documentation added.
1110         (FileOutputStream): Documentation added.
1111         (getFD): Documentation added.
1112         (write): Documentation added.
1113         (close): Documentation added.
1114         (getChannel): Documentation added.
1115
1116 2003-03-24  Michael Koch  <konqueror@gmx.de>
1117
1118         * java/io/DataOutputStream.java
1119         (write): Merged from classpath.
1120         * java/io/File.java:
1121         Merged copyrigth with classpath.
1122         * java/io/FileInputStream.java
1123         (getChannel): Made it synchronized instead of using a synchronized
1124         block.
1125         * java/io/FileOutputStream.java: Reformatted.
1126         * java/io/InputStreamReader.java
1127         (InputStreamReader): Renamed enc to encoding_name.
1128         (close): Merged documentation from classpath.
1129         (getEncoding): Merged documentation from classpath.
1130         (ready): Merged documentation from classpath.
1131         (read): Merged documentation from classpath.
1132         * java/io/LineNumberReader.java
1133         (lineNumber): Made it private.
1134         (LineNumberReader): Use Constant instead of a direct value.
1135         * java/io/OutputStreamWriter.java
1136         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
1137         documentation from classpath.
1138         (close): Merged documentation from classpath.
1139         (flush): Merged documentation from classpath.
1140         (write): Merged documentation from classpath.
1141         * java/io/PrintStream.java: Reformatted.
1142
1143 2003-03-24  Michael Koch  <konqueror@gmx.de>
1144
1145         * javax/swing/text/ComponentView.java
1146         (getComponent): Must be final.
1147         * javax/swing/tree/DefaultTreeCellRenderer.java:
1148         Reformatted.
1149         * javax/swing/undo/StateEditable.java:
1150         Reformatted.
1151
1152 2003-03-24  Michael Koch  <konqueror@gmx.de>
1153
1154         * java/rmi/activation/ActivationInstantiator.java:
1155         Reformatted.
1156         * java/rmi/activation/Activator.java:
1157         Reformatted.
1158         * java/rmi/registry/RegistryHandler.java:
1159         Remerged from classpath.
1160
1161 2003-03-24  Michael Koch  <konqueror@gmx.de>
1162
1163         * java/util/Date.java:
1164         Fixed documentation starting tag to make javadoc happy.
1165         * java/util/regex/Pattern.java
1166         (Pattern): Implements Serializable.
1167         * java/util/PatternSyntaxException.java
1168         (serialVersionUID): New member variable.
1169
1170 2003-03-24  Michael Koch  <koqnueror@gmx.de>
1171
1172         * java/awt/ContainerOrderFocusTraversalPolicy.java
1173         (getFirstComponent): Implemented.
1174         (getLastComponent): Implemented.
1175         (getDefaultComponent): Implemented.
1176         (setImplicitDownCycleTraversal): Fixed implementation.
1177         * java/awt/Robot.java
1178         (Robot): Added documentation.
1179         * java/awt/Toolkit.java
1180         (getFontList): Deprecated.
1181         (getFontMetrics): Deprecated.
1182         (getPrintJob): Added documentation.
1183         (getSystemSelection): Added documentation.
1184         (getLockingKeyState): Added documentation.
1185         (setLockingKeyState): Added documentation.
1186         (createCustomCursor): Added documentation.
1187         (getBestCursorSize): Added documentation.
1188         (getMaximumCursorColors): Added documentation.
1189         (isFrameStateSupported): Added documentation.
1190
1191 2003-03-24  Michael Koch  <konqueror@gmx.de>
1192
1193         * java/io/RandomAccessFile.java:
1194         More little merges with classpath. No code changes.
1195
1196 2003-03-24  Michael Koch  <konqueror@gmx.de>
1197
1198         * java/net/natInetAddressNoNet.cc:
1199         Include stddef.h.
1200         * java/net/natPlainDatagramSocketImplNoNet.cc:
1201         Fixed inlcude of java/net/DatagramPacket.h.
1202         * java/net/natPlainSocketImplNoNet.cc:
1203         Include some missing classes.
1204
1205 2003-03-24  Michael Koch  <konqueror@gmx.de>
1206
1207         * java/awt/dnd/DropTarget.java
1208         (DropTargetAutoScroller): According to the online documentation, this
1209         is protected, but in reality it is public.
1210         * java/awt/dnd/DropTargetContext.java
1211         (TransferableProxy): According to the online documentation, this
1212         is protected, but in reality it is public.
1213
1214 2003-03-24  Michael Koch  <konqueror@gmx.de>
1215
1216         * java/io/DataInputStream.java
1217         (): Wrapped documentation line.
1218         (): Fixed @return tag.
1219         * java/io/DataOutputStream.java
1220         (written): Moved to top of class.
1221         (all methods): Merged documentation from classpath.
1222         * java/io/File.java:
1223         Merged copyright year with classpath.
1224         * java/io/FileInputStream.java
1225         (all methods): Merged documentation from classpath.
1226         * java/io/LineNumberReader.java
1227         (getLineNumber): Fixed @return tag.
1228         * java/io/ObjectInputStream.java.
1229         Reformatted.
1230         * java/io/ObjectOutputStream.java:
1231         Reformatted, fixed some @see tags.
1232         * java/io/OutputStreamWriter.java:
1233         Deleted empty line.
1234         * java/io/Writer.java:
1235         Reformatted.
1236
1237 2003-03-24  Michael Koch  <konqueror@gmx.de>
1238
1239         * java/awt/Frame.java
1240         (DEFAULT_CURSOR): Fixed @deprecated tag.
1241         (setCursor): Fixed @deprecated tag.
1242
1243 2003-03-24  Michael Koch  <konqueror@gmx.de>
1244
1245         * java/beans/beancontext/BeanContextEvent.java:
1246         Reformated.
1247
1248 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
1249
1250         * java/lang/natStringBuffer.cc (regionMatches): New function.
1251         * java/lang/String.java (count): Now package-private.
1252         * java/lang/StringBuffer.java: Merged with Classpath.
1253
1254 2003-03-23  Michael Koch  <konqueror@gmx.de>
1255
1256         * java/io/BufferedOutputStream.java:
1257         Reformated.
1258         * java/io/BufferedReader.java:
1259         Reformated.
1260         * java/io/ByteArrayOutputStream.java
1261         (size): Fixed @see tag.
1262         * java/io/CharArrayWriter.java
1263         (size): Fixed @see tag.
1264         * java/io/DataInput.java:
1265         Reformated.
1266         * java/io/DataOutput.java:
1267         Reformated.
1268         * java/io/DataOutputStream.java:
1269         Merged copyright years with classpath.
1270         * java/io/Externalizable.java:
1271         Reformated.
1272         * java/io/FileFilter.java:
1273         Reformated.
1274         * java/io/FileInputStream.java:
1275         Merged copyright years with classpath.
1276         * java/io/FileOutputStream.java:
1277         Merged copyright years with classpath.
1278         * java/io/FilePermission.java
1279         (FilePermission): Replaced @XXX with FIXME:.
1280         * java/io/FileWriter.java:
1281         Reformated.
1282         * java/io/FilenameFilter.java:
1283         Reformated.
1284         * java/io/FilterInputStream.java:
1285         Reformated.
1286         * java/io/FilterOutputStream.java:
1287         Reformated.
1288         * java/io/FilterReader.java:
1289         Reformated.
1290         * java/io/FilterWriter.java:
1291         Reformated.
1292         * java/io/LineNumberInputStream.java
1293         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
1294         happy.
1295         (getLineNumber): Fixed @return tag.
1296         * java/io/ObjectInput.java:
1297         Reformated.
1298         * java/io/ObjectOutput.java:
1299         Reformated.
1300         * java/io/ObjectStreamClass.java:
1301         Reformated.
1302         * java/io/PrintStream.java:
1303         Merged copyright years with classpath.
1304         * java/io/PushbackReader.java
1305         (PushbackReader): Replaced @code with @param.
1306         * java/io/SerializablePermission.java:
1307         Reformated.
1308         * java/io/StreamTokenizer.java
1309         (resetSyntax): Fixed @see tag.
1310
1311 2003-03-22  Richard Henderson  <rth@redhat.com>
1312
1313         * sysdep/ia64/locks.h: Include ia64intrin.h.
1314         (compare_and_swap): Use __sync_bool_compare_and_swap.
1315         (compare_and_swap_release): Expose ar.ccv assignment.
1316
1317 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
1318
1319         * include/posix.h: Add suffix for darwin dynamic libraries.
1320
1321 2003-03-21  Michael Koch  <konqueror@gmx.de>
1322
1323         * javax/swing/Action.java
1324         (ACCELERATOR_KEY): New constant.
1325         (ACTION_COMMAND_KEY): Likewise.
1326         (MNEMONIC_KEY): Likewise.
1327         * javax/swing/UnsupportedLookAndFeelException.java
1328         (UnsupportedLookAndFeelException): Must be public.
1329         * javax/swing/WindowConstants.java
1330         (EXIT_ON_CLOSE): New constant.
1331         * javax/swing/text/BadLocationException.java
1332         (offset): New member variable.
1333         (BadLocationException): New implementation, documentation added.
1334         (offsetRequested): New method.
1335         * javax/swing/text/Caret.java:
1336         Reformated.
1337         * javax/swing/text/Document.java:
1338         Reformated.
1339
1340 2003-03-21  Michael Koch  <konqueror@gmx.de>
1341
1342         * java/rmi/activation/Activatable.java
1343         (serialVersionUID): New member variable.
1344         * java/rmi/activation/ActivationGroup.java
1345         (serialVersionUID): New member variable.
1346         * java/rmi/activation/ActivationGroupDesc.java
1347         (serialVersionUID): New member variable.
1348         * java/rmi/registry/Registry.java:
1349         Reformated.
1350         (Registry): Deprecated.
1351         * java/rmi/server/LoaderHandler.java
1352         Reformated.
1353         (LoaderHandler): Deprecated.
1354         * java/rmi/server/LogStream.java
1355         Reformated.
1356         (LogStream): Deprecated.
1357         * java/rmi/server/Operation.java
1358         (Operation): Deprecated.
1359         * java/rmi/server/RMIFailureHandler.java:
1360         Reformated.
1361         * java/rmi/server/RMISocketFactory.java:
1362         Reformated.
1363         * java/rmi/server/RemoteCall.java
1364         (RemoteCall): Deprecated.
1365         * java/rmi/server/RemoteStub.java:
1366         Reformated.
1367         * java/rmi/server/Skeleton.java
1368         Reformated.
1369         (Skeleton): Deprecated.
1370
1371 2003-03-21  Michael Koch  <konqueror@gmx.de>
1372
1373         * java/io/LineNumberReader.java
1374         (LineNumberReader): Merged documentation with classpath.
1375         (getLineNumber): Likewise.
1376         (setLineNumber): Likewise.
1377         (mark): Likewise.
1378         (reset): Likewise.
1379         (read): Likewise.
1380         (readLine): Likewise.
1381         (skip): Likewise.
1382
1383 2003-03-21  Michael Koch  <konqueror@gmx.de>
1384
1385         * java/rmi/RMISecurityManager.java
1386         (checkAccept): Removed.
1387         (checkAccess): Likewise.
1388         (checkAccess): Likewise.
1389         (checkAwtEventQueueAccess): Likewise.
1390         (checkConnect): Likewise.
1391         (checkCreateClassLoader): Likewise.
1392         (checkDelete): Likewise.
1393         (checkExec): Likewise.
1394         (checkExit): Likewise.
1395         (checkLink): Likewise.
1396         (checkListen): Likewise.
1397         (checkMemberAccess): Likewise.
1398         (checkMulticast): Likewise.
1399         (checkPackageAccess): Likewise.
1400         (checkPackageDefinition): Likewise.
1401         (checkPermission): Likewise.
1402         (checkPrintJobAccess): Likewise.
1403         (checkPropertiesAccess): Likewise.
1404         (checkPropertyAccess): Likewise.
1405         (checkRead): Likewise.
1406         (checkSecurityAccess): Likewise.
1407         (checkSetFactory): Likewise.
1408         (checkSystemClipboardAccess): Likewise.
1409         (checkTopLevelWindow): Likewise.
1410         (checkWrite): Likewise.
1411
1412 2003-03-20  Michael Koch  <konqueror@gmx.de>
1413
1414         * gnu/java/nio/FileChannelImpl.java
1415         (address): Removed.
1416         (map_address): New member variable.
1417         (length): Make it package private.
1418         (fd): Make it package private.
1419         (buf): Make it package private.
1420         (file_obj): Make it package private.
1421         (FileChannelImpl): New constructor.
1422         (nio_mmap_file): Use RawData instead of long.
1423         (nio_munmap_file): Use RawData instead of long.
1424         (nio_msync): Use RawData instead of long.
1425         (implCloseChannel): New implementation using map_address.
1426         (read): Reformated.
1427         (map): Implemented.
1428         (create_direct_mapped_buffer): Implemented, use RawData, throws
1429         IOException.
1430         (force): Use map_address instead of address.
1431         * gnu/java/nio/MappedByteFileBuffer.java
1432         (address): Removed.
1433         (map_address): New member variable.
1434         (MappedByteFileBuffer): Use map_address instead of address, reformated.
1435         (several methods): Use map_address instead of address, replaced long
1436         with RawData where appropriate.
1437         * gnu/java/nio/natFileChannelImpl.cc
1438         (nio_mmap_file): Replaced long with RawData.
1439         (nio_munmap_file): Replaced long with RawData.
1440         (nio_msync): Replaced long with RawData.
1441         * gnu/java/nio/natMappedByteFileBuffer.cc
1442         (several methods): Replaced long with RawData where appropriate.
1443
1444 2003-03-20  Michael Koch  <konqueror@gmx.de>
1445
1446         * java/net/InetAddress.java,
1447         java/net/JarURLConnection.java,
1448         java/net/PlainDatagramSocketImpl.java,
1449         java/net/PlainSocketImpl.java,
1450         java/net/URLConnection.java:
1451         Merged copyright statements with classpath for easier merging.
1452
1453 2003-03-20  Michael Koch  <konqueror@gmx.de>
1454
1455         * java/io/FileInputStream.java
1456         (getChannel): New implementation.
1457         * java/io/FileOutputStream.java
1458         (ch): New member variable.
1459         (getChannel): Implemented.
1460         * java/io/RandomAccessFile.java
1461         (RandomAccessFile): Throws FileNotFoundException instead of
1462         IOException.
1463         (getChannel): New method.
1464         (ch): New member variable.
1465
1466 2003-03-20  Michael Koch  <konqueror@gmx.de>
1467
1468         * java/io/DataOutputStream.java,
1469         java/io/File.java,
1470         java/io/FileInputStream.java,
1471         java/io/FileOutputStream.java,
1472         java/io/InputStreamReader.java,
1473         java/io/LineNumberReader.java,
1474         java/io/OutputStreamWriter.java,
1475         java/io/PrintStream.java,
1476         java/io/RandomAccessFile.java:
1477         Merged copyright statements with classpath for easier merging.
1478
1479 2003-03-19  Michael Koch  <konqueror@gmx.de>
1480
1481         * java/lang/Process.java:
1482         Merged from classpath.
1483
1484 2003-03-19  Michael Koch  <konqueror@gmx.de>
1485
1486         * java/io/FileOutputStream.java
1487         (FileOutputStream): New constructor, merged from classpath.
1488         * java/io/FileWriter.java
1489         (FileWriter): New constructor, merged from classpath.
1490
1491 2003-03-18  Michael Koch  <konqueror@gmx.de>
1492
1493         * java/awt/ScrollPane.java
1494         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
1495         (getViewportSize): Likewise.
1496         (addNotify): Likewise.
1497         (removeNotify): Likewise.
1498         * java/awt/ScrollPaneAdjustable.java
1499         (ScrollPaneAdjustable): No longer extends Scrollbar.
1500         * java/beans/beancontext/BeanContextServices.java:
1501         Reformated.
1502         (getService): Added throws TooManyListenersException;
1503         * java/beans/beancontext/BeanContextServicesSupport.java:
1504         Reformated.
1505
1506 2003-03-18  Michael Koch  <konqueror@gmx.de>
1507
1508         * java/io/BufferedOutputStream.java,
1509         java/io/DataInput.java,
1510         java/io/DataInputStream.java,
1511         java/io/DataOutput.java,
1512         java/io/Externalizable.java:
1513         More merges from classpath.
1514
1515 2003-03-18  Michael Koch  <konqueror@gmx.de>
1516
1517         * configure.in: Fixed links to platform dependant java.net files.
1518         * configure: Regenerated.
1519         * java/net/natInetAddress.cc,
1520         java/net/natNetworkInterface.cc,
1521         java/net/natPlainDatagramSocketImpl.cc,
1522         java/net/natPlainSocketImpl.cc:
1523         Removed.
1524
1525 2003-03-18  Michael Koch  <konqueror@gmx.de>
1526
1527         * configure.in: Create links to architecture dependent files,
1528         introduced PLATFORMNET variable (set to NoNet for newlib usage).
1529         * configure: Regenerated.
1530         * java/net/natInetAddressNoNet.cc,
1531         java/net/natInetAddressPosix.cc,
1532         java/net/natInetAddressWin32.cc,
1533         java/net/natNetworkInterfaceNoNet.cc,
1534         java/net/natNetworkInterfacePosix.cc,
1535         java/net/natNetworkInterfaceWin32.cc,
1536         java/net/natPlainDatagramSocketImplNoNet.cc,
1537         java/net/natPlainDatagramSocketImplPosix.cc,
1538         java/net/natPlainDatagramSocketImplWin32.cc,
1539         java/net/natPlainSocketImplNoNet.cc,
1540         java/net/natPlainSocketImplPosix.cc,
1541         java/net/natPlainSocketImplWin32.cc: New files.
1542
1543 2003-03-18  Michael Koch  <konqueror@gmx.de>
1544
1545         * java/io/BufferedReader.java,
1546         java/io/BufferedWriter.java,
1547         java/io/ByteArrayOutputStream.java,
1548         java/io/FileFilter.java,
1549         java/io/FilePermission.java,
1550         java/io/FileReader.java,
1551         java/io/FileWriter.java,
1552         java/io/FilenameFilter.java,
1553         java/io/FilterInputStream.java,
1554         java/io/FilterOutputStream.java,
1555         java/io/FilterReader.java,
1556         java/io/FilterWriter.java,
1557         java/io/ObjectInput.java,
1558         java/io/ObjectInputValidation.java,
1559         java/io/ObjectOutput.java,
1560         java/io/ObjectStreamField.java,
1561         java/io/PipedInputStream.java,
1562         java/io/PipedReader.java,
1563         java/io/PrintWriter.java,
1564         java/io/PushbackReader.java,
1565         java/io/Reader.java,
1566         java/io/SerializablePermission.java,
1567         java/io/StringReader.java,
1568         java/io/Writer.java:
1569         Merged from classpath.
1570
1571 2003-03-17  Michael Koch  <konqueror@gmx.de>
1572
1573         * java/awt/ScrollPaneAdjustable.java:
1574         Compile fixes.
1575         
1576 2003-03-17  Michael Koch  <konqueror@gmx.de>
1577
1578         * java/net/DatagramSocket.java
1579         (connect): Fixed comment.
1580         * java/nio/ByteBuffer.java
1581         (hasArray): Fixed comment.
1582
1583 2003-03-17  Michael Koch  <konqueror@gmx.de>
1584
1585         * java/beans/Beans.java:
1586         Explicitely import classes not packages.
1587         * java/beans/FeatureDescriptor.java
1588         (preferred): New member variable.
1589         (isPreferred): New method.
1590         (setPreferred): New method.
1591         * java/beans/PropertyEditorManager.java:
1592         Explicitely import used classes.
1593         * java/beans/beancontext/BeanContextChild.java:
1594         Added line wrapping.
1595         * java/beans/beancontext/BeanContextChildSupport.java:
1596         Reindented.
1597         * java/beans/beancontext/BeanContextEvent.java:
1598         Reindented.
1599
1600 2003-03-17  Michael Koch  <konqueror@gmx.de>
1601
1602         * java/awt/Dialog.java
1603         (Dialog): New constructor, changed implementations, added
1604         documentation.
1605         * java/awt/ScrollPaneAdjustable.java
1606         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
1607         Serializable.
1608         (serialVersionUID): New member variable.
1609         (sp): New member variable.
1610         (orientation): New member variable.
1611         (value): New member variable.
1612         (minimum): New member variable.
1613         (maximum): New member variable.
1614         (visibleAmount): New member variable.
1615         (unitIncrement): New member variable.
1616         (blockIncrement): New member variable.
1617         (AdjustmentListener): New member variable.
1618         (ScrollPaneAdjustable): New implementation.
1619         (addAdjustmentListener): New method.
1620         (removeAdjustmentListener): New method.
1621         (getAdjustmentListeners): New method.
1622         (getBlockIncrement): New method.
1623         (getMaximum): New method.
1624         (getMinimum): New method.
1625         (getOrientation): New method.
1626         (getUnitIncrement): New method.
1627         (getValue): New method.
1628         (getVisibleAmount): New method.
1629         (setBlockIncrement): New method.
1630         (setMaximum): Implemented.
1631         (setMinimum): Implemented.
1632         (setUnitIncrement): New method.
1633         (setValue): New method.
1634         (setVisibleAmount): Implemented. 
1635         (paramString): New stubbed method.
1636         * java/awt/Window.java
1637         (show): Call setVisible().
1638         (hide): Call setVisible().
1639         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
1640         and WINDOW_STATE_CHANGED.
1641         (processWindowFocusEvent): New method.
1642         (processWindowStateEvent): New method.
1643         (postEvent): Deprecated.
1644         (applyResourceBundle): Deprecated.
1645         * java/awt/datatransfer/DataFlavor.java
1646         (DataFlavor): Doesn't thow ClassNotFoundException.
1647
1648 2003-03-17  Michael Koch
1649
1650         * javax/print/attribute/Attribute.java,
1651         javax/print/attribute/AttributeSet.java,
1652         javax/print/attribute/PrintRequestAttributeSet.java:
1653         New files.
1654         * Makefile.am
1655         (javax_source_files): Added new files:
1656         javax/print/attribute/Attribute.java
1657         javax/print/attribute/AttributeSet.java
1658         javax/print/attribute/PrintRequestAttributeSet.java
1659         * Makefile.in: Regenerated.
1660
1661 2003-03-17  Michael Koch
1662
1663         * javax/print/attribute/Attribute.java,
1664         javax/print/attribute/AttributeSet.java,
1665         javax/print/attribute/PrintRequestAttributeSet.java:
1666         New files.
1667         * Makefile.am
1668         (awt_java_source_files): Added new files:
1669         javax/print/attribute/Attribute.java
1670         javax/print/attribute/AttributeSet.java
1671         javax/print/attribute/PrintRequestAttributeSet.java
1672         * Makefile.in: Regenerated.
1673
1674 2003-03-16  Tom Tromey  <tromey@redhat.com>
1675
1676         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
1677         Include platform.h.
1678         * java/lang/natRuntime.cc (insertSystemProperties): Use
1679         _Jv_platform_path_separator.
1680         (nativeGetLibname): Use _Jv_platform_file_separator.
1681         (_load): Use _Jv_platform_onload_names.
1682         (onload_names): New global.
1683         * include/win32.h (_Jv_platform_file_separator): New define.
1684         (_Jv_platform_path_separator): Likewise.
1685         (_Jv_platform_onload_names): Likewise.
1686         (_Jv_platform_ffi_abi): Likewise.
1687         * include/posix.h (_Jv_platform_file_separator): New define.
1688         (_Jv_platform_path_separator): Likewise.
1689         (_Jv_platform_onload_names): Likewise.
1690         (_Jv_platform_ffi_abi): Likewise.
1691
1692 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
1693
1694         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
1695
1696 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
1697
1698         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
1699         hierarchy loop.
1700         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
1701         list to Object,ObjectStreamClass, moved callReadMethod code up into
1702         readObject and added Class argument to all setXxxField calls.
1703         (callReadMethod): Changed Class argument to ObjectStreamClass to be
1704         consistent with ObjectOutputStream and to facilitate caching the
1705         Method in the future.
1706         (setBooleanField): Added Class argument.
1707         (setByteField): Likewise.
1708         (setCharField): Likewise.
1709         (setDoubleField): Likewise.
1710         (setFloatField): Likewise.
1711         (setIntField): Likewise.
1712         (setLongField): Likewise.
1713         (setShortField): Likewise.
1714         (setObjectField): Likewise.
1715         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
1716         class hierarchy loop.
1717         (defaultWriteObject): Call writeFields with new argument list.
1718         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
1719         list to Object,ObjectStreamClass, moved callWriteMethod up into
1720         writeObject and added Class argument to all getXxxField calls.
1721         (callWriteMethod): Added ObjectStreamClass argument to be able to
1722         get the proper class to call getMethod on (each class can have (or
1723         not have) its own writeObject method).
1724         (getBooleanField): Added Class argument.
1725         (getByteField): Likewise.
1726         (getCharField): Likewise.
1727         (getDoubleField): Likewise.
1728         (getFloatField): Likewise.
1729         (getIntField): Likewise.
1730         (getLongField): Likewise.
1731         (getShortField): Likewise.
1732         (getObjectField): Likewise.
1733         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
1734         facilitate caching the Method object in the future.
1735
1736 2003-03-12  Andreas Schwab  <schwab@suse.de>
1737
1738         * configure.in: Avoid trailing /. in toolexeclibdir.
1739         * configure: Rebuilt.
1740
1741 2003-03-11  Michael Koch  <konqueror@gmx.de>
1742
1743         * gnu/java/nio/ByteBufferImpl.java
1744         (putInt): Use limit() instead of limit.
1745         * gnu/java/nio/CharBufferImpl.java
1746         (slice): Fixed implementation.
1747         (subSequence): Better bounds checking.
1748         * gnu/java/nio/MappedByteFileBuffer.java:
1749         Import all needed classes directly.
1750         * java/nio/ByteBuffer.java
1751         (hashCode): New dummy method.
1752         * java/nio/CharBuffer.java
1753         (array_offset): New member variable.
1754         (hasArray): Fixed documentation.
1755         (arrayOffset): Return array_offset.
1756
1757 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
1758
1759         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
1760         setter; made return value of getter const char* instead of char*
1761         * prims.cc: removed all references to _Jv_ThisExecutable().
1762         These are in the platform-specific sections now.
1763         * posix.cc: define platform-specific _Jv_ThisExecutable().
1764         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
1765         * win32.cc: define platform-specific _Jv_ThisExecutable()
1766         using GetModuleFilename()
1767         * java/lang/natRuntime.cc: set gnu.gcj.progname property
1768         to argv[0] instead of _Jv_ThisExecutable()
1769
1770 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
1771
1772         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
1773         that is set if we are using addr2name.awk instead of addr2line.
1774         (NameFinder): Set usingAddr2name if using addr2name.awk.
1775         (getExternalLabel): New native method to convert a method 
1776         name to an external label.
1777         (lookup): Convert name given by addr2line to an external label
1778         before demangling.
1779
1780         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
1781         constant representing the prefix attached to method names to
1782         convert them to an external label.
1783         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
1784         using LABEL_PREFIX.
1785
1786 2003-03-10  Tom Tromey  <tromey@redhat.com>
1787
1788         * Makefile.in: Rebuilt.
1789         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
1790         (JC1FLAGS): Removed -Wno-deprecated.
1791
1792 2003-03-10  Michael Koch  <konqueror@gmx.de>
1793
1794         * java/nio/ByteOrder.java
1795         (nativeOrder): Working implementation, added documentation.
1796         (toString): Added documentation.
1797
1798 2003-03-10  Michael Koch  <konqueror@gmx.de>
1799
1800         * java/net/DatagramSocket.java,
1801         java/net/MulticastSocket.java,
1802         java/net/Socket.java,
1803         java/net/URL.java,
1804         java/net/URLConnection.java:
1805         Fixed some documentation tags to make javadoc and friends happy.
1806
1807 2003-03-10  Michael Koch  <koqnueror@gmx.de>
1808
1809         * java/beans/beancontext/BeanContextServicesSupport.java,
1810         java/beans/beancontext/BeanContextSupport.java: New files.
1811         * Makefile.am
1812         (awt_source_files): Added new files.
1813         * Makefile.in: Regenerated.
1814
1815 2003-03-10  Michael Koch  <konqueror@gmx.de>
1816
1817         * java/awt/FocusTraversalPolicy.java
1818         (FocusTraversalPolicy): Documentation added.
1819         (getComponentAfter): Documentation added.
1820         (getComponentBefore): Documentation added.
1821         (getFirstComponent): Documentation added.
1822         (getLastComponent): Documentation added.
1823         (getDefaultComponent): Documentation added.
1824         (getInitialComponent): Documentation added.
1825         * java/awt/ScrollPaneAdjustable.java
1826         (sp): New member variable.
1827         (orientation): New member variable.
1828         (value): New member variable.
1829         (minimum): New member variable.
1830         (maximum): New member variable.
1831         (visibleAmount): New member variable.
1832         (unitIncrement): New member variable.
1833         (blockIncrement): New member variable.
1834         (adjustmentListener): New member variable.
1835         (ScrollPaneAdjustable): Rewrote.
1836         (addAdjustmentListener): New method.
1837         (removeAdjustmentListener): New method.
1838         (getAdjustmentListeners): New method.
1839         (getBlockIncrement): New method.
1840         (getMaximum): New method.
1841         (getMinimum): New method.
1842         (getOrientation): New method.
1843         (getUnitIncrement): New method.
1844         (getValue): New method.
1845         (getVisibleAmount): New method.
1846         (setBlockIncrement): New method.
1847         (setUnitIncrement): New method.
1848         (setMaximum): Implemented.
1849         (setMinimum): Implemented.
1850         (setValue): New method.
1851         (setVisibleAmount): Implemented.
1852         (paramString): New method.
1853         * java/awt/Window.java
1854         (show): Use setVisible(true) instead of super.show().
1855         (hide): Use sevVisible(false) instead of super.hide().
1856         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
1857         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
1858         (postEvent): Deprecated.
1859         (applyResourceBundle): Deprecated.
1860         (processWindowFocusEvent): New method.
1861         (processWindowStateEvent): New method.
1862         * java/awt/datatransfer/DataFlavor.java: Reindented.
1863         * java/awt/font/TextHitInfo.java
1864         (charIndex): New member variable.
1865         (leadingEdge): New member variable.
1866         (TextHitInfo): New constructor.
1867         (getCharIndex): Implemented.
1868         (isLeadingEdge): Implemented.
1869         (getInsertionIndex): Implemented.
1870         (hashCode): Access charIndex directly.
1871         (equals): Reformated.
1872         (leading): Implemented.
1873         (trailing): Implemented.
1874         (beforeOffset): Implemented.
1875         (afterOffset): Implemented.
1876         (getOtherHit): Implemented.
1877         (getOffsetHit): Implemented.
1878         (toString): Implemented.
1879         * java/awt/image/BufferedImage.java
1880         (BufferedImage): Implements WritableRenderedImage.
1881         (observers): New member variable.
1882         (addTileObserver): New method.
1883         (removeTileObserver): New method.
1884
1885 2003-03-09  Tom Tromey  <tromey@redhat.com>
1886
1887         PR libgcj/9934:
1888         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
1889         to lseek.  Return 0 if we can't compute the value.
1890
1891 2003-03-03  Michael Koch  <konqueror@gmx.de>
1892
1893         * java/net/NetworkInterface.java: Merged with classpath.
1894
1895 2003-03-03  Tom Tromey  <tromey@redhat.com>
1896
1897         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
1898         of bytecode.
1899         (handle_ret_insn): Fail if returning to jsr that appears at end of
1900         bytecode.
1901
1902 2003-03-03  Michael Koch  <konqueror@gmx.de>
1903
1904         * Makefile.am
1905         (ordinary_java_source_files):
1906         Added gnu/java/nio/MappedByteFileBuffer.java.
1907         (nat_source_files):
1908         Added gnu/java/nio/natMappedByteFileBuffer.cc.
1909         * Makefile.in: Regenerated.
1910
1911 2003-03-03  Michael Koch  <konqueror@gmx.de>
1912
1913         * java/net/DatagramSocket.java
1914         (connect): Merged comment from classpath.
1915         (receive): Merged documentation from classpath.
1916         * java/net/Socket.java
1917         (setSoTimeout): Clarified documentation.
1918         * java/net/URL.java
1919         (getPath): Merged from classpath.
1920         (getUserInfo): Merged from classpath.
1921         (getQuery): Merged from classpath.
1922         * java/net/URLStreamHandler.java
1923         (toExternalForm): Merged from classpath.
1924
1925 2003-03-02  Mark Wielaard  <mark@klomp.org>
1926
1927         * java/util/Properties.java (load): Only skip line if the first
1928         character is a comment, whitespaces don't count.
1929
1930 2003-03-02  Michael Koch  <konqueror@gmx.de>
1931
1932         * java/net/NetPermission.java:
1933         Merged copyright with classpath.
1934
1935 2003-03-02  Michael Koch  <konqueror@gmx.de>
1936
1937         * java/lang/Package.java:
1938         Remerged from classpath.
1939
1940 2003-03-02  Michael Koch  <konqueror@gmx.de>
1941
1942         * java/net/HttpURLConnection.java
1943         (HTTP_SERVER_ERROR): Deprecated.
1944         * java/net/MulticastSocket.java
1945         (send): Replaced checkMulticast with appropriate checkPermission call,
1946         deprecated.
1947         * java/net/URLDecoder.java
1948         (decode): Deprecated.
1949         * java/net/URLEncoder.java
1950         (encode): Deprecated.
1951
1952 2003-03-02  Michael Koch  <konqueror@gmx.de>
1953
1954         * javax/swing/text/Caret.java
1955         (getMagicCaretPosition): Fixed typo in method name.
1956         * javax/swing/text/DefaultCaret.java
1957         (getMagicCaretPosition): Fixed typo in method name.
1958
1959 2003-03-02  Michael Koch  <konqueror@gmx.de>
1960
1961         * java/awt/List.java
1962         (setMultipleSelections): Deprecated.
1963         (delItem): Deprecated.
1964         * java/awt/MenuComponent.java
1965         (getPeer): Deprecated.
1966         * java/awt/ScrollPane.java
1967         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
1968         * java/awt/dnd/MouseDragGestureRecognizer.java
1969         (mouseClicked): Added comment.
1970         (mousePressed): Added comment.
1971         (mouseReleased): Added comment.
1972         (mouseEntered): Added comment.
1973         (mouseExited): Added comment.
1974         (mouseDragged): Added comment.
1975         (mouseMoved): Added comment.
1976         * java/awt/event/KeyEvent.java
1977         (KeyEvent): Deprecated.
1978         (setModifiers): Deprecated.
1979         
1980 2003-03-02  Michael Koch  <konqueror@gmx.de>
1981
1982         * gnu/java/nio/FileChannelImpl.java
1983         (fd): Type FileDescriptor instead of int.
1984         (lengthInternal): Removed.
1985         (FileChannelImpl): Fixed arguments, check type of file object.
1986         (size): Made it native.
1987         (implPosition): New native method.
1988         (implTruncate): New native method.
1989         (position): Implemented.
1990         (truncate): Implemented.
1991         (nio_mmap_file): Changed arguments.
1992         (nio_munmap_file): Changed arguments.
1993         (nio_msync): Changed arguments.
1994         * gnu/java/nio/natFileChannelImpl.cc
1995         (lengthInternal): Removed.
1996         (size): New method.
1997         (implPosition): New method.
1998         (implTruncate): New method.
1999         (nio_mmap_file): Changed arguments.
2000         (nio_munmap_file): Changed arguments.
2001         (nio_msync): Changed arguments.
2002
2003 2003-03-02  Michael Koch  <konqueror@gmx.de>
2004
2005         * java/awt/dnd/DropTargetContext.java:
2006         Compile fix: Forgot to commit import.
2007         
2008 2003-03-02  Michael Koch  <konqueror@gmx.de>
2009
2010         * java/awt/Component.java,
2011         java/awt/ScrollPane.java:
2012         Fixed typos.
2013
2014 2003-03-02  Michael Koch  <konqueror@gmx.de>
2015
2016         * java/awt/dnd/DnDEventMulticaster.java: New file.
2017         * java/awt/dnd/DragSource.java
2018         (flavorMap): New member variable.
2019         (dragSourceListener): New member variable.
2020         (dragSourceMotionListener): New member variable.
2021         (getFlavorMap): Implemented.
2022         (createDragGestureRecognizer): Implemented.
2023         (addDragSourceListener): Implemented.
2024         (removeDragSourceListener): Implemented.
2025         (getDragSourceListeners): Implemented.
2026         (addDragSourceMotionListener): Implemented.
2027         (removeDragSourceMotionListener): Implemented.
2028         (getDragSourceMotionListeners): Implemented.
2029         (getListeners): Implemented.
2030         * java/awt/dnd/DragSourceContext.java
2031         (peer): New member variable.
2032         (cursor): New member variable.
2033         (transferable): New member variable.
2034         (trigger): New member variable.
2035         (dragSourceListener): New member variable.
2036         (image): New member variable.
2037         (offset): New member variable.
2038         (DragSourceContext): Implemented.
2039         (getDragSource): Implemented.
2040         (getComponent): Implemented.
2041         (getTrigger): Implemented.
2042         (getSourceActions): Implemented.
2043         (setCursor): Implemented.
2044         (getCursor): Implemented.
2045         (addDragSourceListener): Implemented.
2046         (removeDragSourceListener): Implemented.
2047         (getTransferable): Implemented.
2048         * java/awt/dnd/DropTarget.java
2049         (DropTargetAutoScroller.component): New member variable.
2050         (DropTargetAutoScroller.point): New member variable.
2051         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
2052         (DropTargetAutoScroller.updateLocation): Implemented.
2053         (active): Renamed from isActive, defaults to true now.
2054         (component): New member variable.
2055         (flavorMap): New member variable.
2056         (actions): New member variable.
2057         (dropTargetContext): New member variable.
2058         (dropTargetListener): New member variable.
2059         (DropTarget): Implemented.
2060         (getComponent): Implemented.
2061         (setComponent): Implemented.
2062         (setDefaultActions): Implemented.
2063         (getDefaultActions): Implemented.
2064         (setActive): Use active instead of isActive.
2065         (isActive): Use active instead of isActive.
2066         (addDropTargetListener): Implemented.
2067         (removeDropTargetListener): Implemented.
2068         (getFlavorMap): Implemented.
2069         (setFlavorMap): Implemented.
2070         (getDropTargetContext): Implemented.
2071         (createDropTargetContext): Implemented.
2072         (createDropTargetAutoScroller): Implemented.
2073         * java/awt/dnd/DropTargetContext.java
2074         (TransferableProxy.getTransferDataFlavors): Implemented.
2075         (TransferableProxy.isDataFlavorSupported): Implemented.
2076         (TransferableProxy.getTransferData): Implemented.
2077         (dropTarget):  New member variable.
2078         (dtcp): New member variable.
2079         (DropTargetContext): New package private constructor.
2080         (getDropTarget): Implemented.
2081         (getComponent): Implemented.
2082         (addNotify): Implemented.
2083         (removeNotify): Implemented.
2084         (getCurrentDataFlavorsAsList): Implemented.
2085         (isDataFlavorSupported): Implemented.
2086         * java/awt/dnd/MouseDragGestureRecognizer.java
2087         (registerListeners): Implemented.
2088         (unregisterListeners): Implemented.
2089         * Makefile.am
2090         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
2091         * Makefile.in: Regenerated.
2092
2093 2003-03-02  Michael Koch  <konqueror@gmx.de>
2094
2095         * java/awt/Component.java
2096         (eventTypeEnabled): New method.
2097         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
2098         * java/awt/Container.java
2099         (changeSupport): New member variable.
2100         (addPropertyChangeListener): New methods.
2101         * java/awt/ContainerOrderFocusTraversalPolicy.java
2102         (ContainerOrderFocusTraversalPolicy): Added comment.
2103         (getComponentAfter): Throw exception, documentation added.
2104         (getComponentBefore): Throw exception, documentation added.
2105         (getFirstComponent): Throw exception, documentation added.
2106         (getLastComponent): Throw exception, documentation added.
2107         (getDefaultComponent): Throw exception, documentation added.
2108         * java/awt/EventQueue.java: Reindented.
2109         * java/awt/FocusTraversalPolicy.java:
2110         (FocusTraversalPolicy): Added comment.
2111         (getComponentAfter): Documentation added.
2112         (getComponentBefore): Documentation added.
2113         (getFirstComponent): Documentation added.
2114         (getLastComponent): Documentation added.
2115         (getDefaultComponent): Documentation added.
2116         (getInitialComponent): Documentation added.
2117         * java/awt/ScrollPane.java
2118         (wheelScrollingEnabled): New member variable.
2119         (ScrollPane): Initialize wheelScollingEnabled.
2120         (eventTypeEnabled): New method.
2121         (isWheelScrollingEnabled): New method.
2122         (setWheelScrollingEnabled): New method.
2123
2124 2003-03-02  Michael Koch  <konqueror@gmx.de>
2125
2126         * java/net/DatagramSocket.java
2127         (closed): New member variable.
2128         (close): Use closed variable.
2129         (getInetAddress): No need to call isConnected().
2130         (getPort): No need to call isConnected().
2131         (disconnect): Reset remoteAddress and remotePort, fixed typo.
2132         (isClosed): Reimplemented.
2133         
2134 2003-03-02  Michael Koch  <konqueror@gmx.de>
2135
2136         * configure.in: Added check for memory mapping of files.
2137         * configure: Regenerated.
2138         * config.h.in: Regenerated.
2139
2140 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
2141
2142         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
2143         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
2144
2145 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
2146
2147         * java/io/File.java (normalizePath): Remove trailing separator
2148         on Windows only if path is not of the form "x:\".
2149
2150         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
2151         (java::io::File::attr): Change formatting a bit and use
2152         WIN32_EPOCH_MILLIS instead of magic numbers.
2153         (java::io::File::isAbsolute): Path must have at least 3 
2154         characters for a UNC network path.
2155         (java::io::File::init_native): Define.
2156         (java::io::File::performCreate): Likewise.
2157         (java::io::File::performSetReadOnly): Likewise.
2158         (java::io::File::performSetLastModified): Likewise.
2159         (java::io::File::performListRoots): Likewise.
2160
2161 2003-03-01  Tom Tromey  <tromey@redhat.com>
2162
2163         * java/lang/natObject.cc: Don't include assert.h.
2164         (heavy_lock_obj_finalization_proc): Use JvAssert.
2165         (remove_all_heavy): Likewise.
2166         (_Jv_MonitorEnter): Likewise.
2167         (_Jv_MonitorExit): Likewise.
2168         (wait): Likewise.
2169
2170 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
2171
2172         * java/io/File (getAbsolutePath): Prefix drive specifier on
2173         Windows for paths starting with a '\'.
2174         (toURL): Make URL more consistent with what Sun's JDK returns.
2175
2176         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
2177         true only if the path is a UNC network path or it starts with a
2178         drive specifier.
2179
2180         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
2181         Be prepared to handle either '/' or '\\' in the file path for
2182         Windows if using the "file" protocol.
2183         Canonicalise the file path if using a relative path in the given
2184         context and the "file" protocol.
2185
2186 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
2187
2188         * java/lang/natWin32Process.cc (startProcess): Double-quote each
2189         program array element passed to CreateProcess.
2190
2191 2003-03-01  Tom Tromey  <tromey@redhat.com>
2192
2193         * java/rmi/registry/RegistryHandler.java: Deprecate.
2194
2195 2003-03-01  Tom Tromey  <tromey@redhat.com>
2196
2197         * javax/accessibility/AccessibleEditableText.java,
2198         javax/accessibility/AccessibleHyperlink.java: New versions from
2199         Classpath.
2200
2201         * gnu/java/locale/LocaleInformation_af_ZA.java,
2202         gnu/java/locale/LocaleInformation_ar_AE.java,
2203         gnu/java/locale/LocaleInformation_ar_BH.java,
2204         gnu/java/locale/LocaleInformation_ar_DZ.java,
2205         gnu/java/locale/LocaleInformation_ar_EG.java,
2206         gnu/java/locale/LocaleInformation_ar_IN.java,
2207         gnu/java/locale/LocaleInformation_ar_IQ.java,
2208         gnu/java/locale/LocaleInformation_ar_JO.java,
2209         gnu/java/locale/LocaleInformation_ar_KW.java,
2210         gnu/java/locale/LocaleInformation_ar_LB.java,
2211         gnu/java/locale/LocaleInformation_ar_LY.java,
2212         gnu/java/locale/LocaleInformation_ar_MA.java,
2213         gnu/java/locale/LocaleInformation_ar_OM.java,
2214         gnu/java/locale/LocaleInformation_ar_QA.java,
2215         gnu/java/locale/LocaleInformation_ar_SD.java,
2216         gnu/java/locale/LocaleInformation_ar_SY.java,
2217         gnu/java/locale/LocaleInformation_ar_TN.java,
2218         gnu/java/locale/LocaleInformation_ar_YE.java,
2219         gnu/java/locale/LocaleInformation_be_BY.java,
2220         gnu/java/locale/LocaleInformation_bn_IN.java,
2221         gnu/java/locale/LocaleInformation_br_FR.java,
2222         gnu/java/locale/LocaleInformation_bs_BA.java,
2223         gnu/java/locale/LocaleInformation_ca_ES.java,
2224         gnu/java/locale/LocaleInformation_cs_CZ.java,
2225         gnu/java/locale/LocaleInformation_cy_GB.java,
2226         gnu/java/locale/LocaleInformation_da_DK.java,
2227         gnu/java/locale/LocaleInformation_de_AT.java,
2228         gnu/java/locale/LocaleInformation_de_BE.java,
2229         gnu/java/locale/LocaleInformation_de_CH.java,
2230         gnu/java/locale/LocaleInformation_de_DE.java,
2231         gnu/java/locale/LocaleInformation_de_LU.java,
2232         gnu/java/locale/LocaleInformation_el_GR.java,
2233         gnu/java/locale/LocaleInformation_en_AU.java,
2234         gnu/java/locale/LocaleInformation_en_BW.java,
2235         gnu/java/locale/LocaleInformation_en_CA.java,
2236         gnu/java/locale/LocaleInformation_en_DK.java,
2237         gnu/java/locale/LocaleInformation_en_GB.java,
2238         gnu/java/locale/LocaleInformation_en_HK.java,
2239         gnu/java/locale/LocaleInformation_en_IE.java,
2240         gnu/java/locale/LocaleInformation_en_IN.java,
2241         gnu/java/locale/LocaleInformation_en_NZ.java,
2242         gnu/java/locale/LocaleInformation_en_PH.java,
2243         gnu/java/locale/LocaleInformation_en_SG.java,
2244         gnu/java/locale/LocaleInformation_en_US.java,
2245         gnu/java/locale/LocaleInformation_en_ZA.java,
2246         gnu/java/locale/LocaleInformation_en_ZW.java,
2247         gnu/java/locale/LocaleInformation_es_AR.java,
2248         gnu/java/locale/LocaleInformation_es_BO.java,
2249         gnu/java/locale/LocaleInformation_es_CL.java,
2250         gnu/java/locale/LocaleInformation_es_CO.java,
2251         gnu/java/locale/LocaleInformation_es_CR.java,
2252         gnu/java/locale/LocaleInformation_es_DO.java,
2253         gnu/java/locale/LocaleInformation_es_EC.java,
2254         gnu/java/locale/LocaleInformation_es_ES.java,
2255         gnu/java/locale/LocaleInformation_es_GT.java,
2256         gnu/java/locale/LocaleInformation_es_HN.java,
2257         gnu/java/locale/LocaleInformation_es_MX.java,
2258         gnu/java/locale/LocaleInformation_es_NI.java,
2259         gnu/java/locale/LocaleInformation_es_PA.java,
2260         gnu/java/locale/LocaleInformation_es_PE.java,
2261         gnu/java/locale/LocaleInformation_es_PR.java,
2262         gnu/java/locale/LocaleInformation_es_PY.java,
2263         gnu/java/locale/LocaleInformation_es_SV.java,
2264         gnu/java/locale/LocaleInformation_es_US.java,
2265         gnu/java/locale/LocaleInformation_es_UY.java,
2266         gnu/java/locale/LocaleInformation_es_VE.java,
2267         gnu/java/locale/LocaleInformation_et_EE.java,
2268         gnu/java/locale/LocaleInformation_eu_ES.java,
2269         gnu/java/locale/LocaleInformation_fa_IR.java,
2270         gnu/java/locale/LocaleInformation_fi_FI.java,
2271         gnu/java/locale/LocaleInformation_fo_FO.java,
2272         gnu/java/locale/LocaleInformation_fr_BE.java,
2273         gnu/java/locale/LocaleInformation_fr_CA.java,
2274         gnu/java/locale/LocaleInformation_fr_CH.java,
2275         gnu/java/locale/LocaleInformation_fr_FR.java,
2276         gnu/java/locale/LocaleInformation_fr_LU.java,
2277         gnu/java/locale/LocaleInformation_ga_IE.java,
2278         gnu/java/locale/LocaleInformation_gd_GB.java,
2279         gnu/java/locale/LocaleInformation_gl_ES.java,
2280         gnu/java/locale/LocaleInformation_gv_GB.java,
2281         gnu/java/locale/LocaleInformation_he_IL.java,
2282         gnu/java/locale/LocaleInformation_hi_IN.java,
2283         gnu/java/locale/LocaleInformation_hr_HR.java,
2284         gnu/java/locale/LocaleInformation_hu_HU.java,
2285         gnu/java/locale/LocaleInformation_id_ID.java,
2286         gnu/java/locale/LocaleInformation_it_CH.java,
2287         gnu/java/locale/LocaleInformation_it_IT.java,
2288         gnu/java/locale/LocaleInformation_iw_IL.java,
2289         gnu/java/locale/LocaleInformation_ja_JP.java,
2290         gnu/java/locale/LocaleInformation_ka_GE.java,
2291         gnu/java/locale/LocaleInformation_kl_GL.java,
2292         gnu/java/locale/LocaleInformation_ko_KR.java,
2293         gnu/java/locale/LocaleInformation_kw_GB.java,
2294         gnu/java/locale/LocaleInformation_lt_LT.java,
2295         gnu/java/locale/LocaleInformation_lv_LV.java,
2296         gnu/java/locale/LocaleInformation_mi_NZ.java,
2297         gnu/java/locale/LocaleInformation_mk_MK.java,
2298         gnu/java/locale/LocaleInformation_mr_IN.java,
2299         gnu/java/locale/LocaleInformation_mt_MT.java,
2300         gnu/java/locale/LocaleInformation_nl_BE.java,
2301         gnu/java/locale/LocaleInformation_nl_NL.java,
2302         gnu/java/locale/LocaleInformation_nn_NO.java,
2303         gnu/java/locale/LocaleInformation_no_NO.java,
2304         gnu/java/locale/LocaleInformation_oc_FR.java,
2305         gnu/java/locale/LocaleInformation_pl_PL.java,
2306         gnu/java/locale/LocaleInformation_pt_BR.java,
2307         gnu/java/locale/LocaleInformation_pt_PT.java,
2308         gnu/java/locale/LocaleInformation_ro_RO.java,
2309         gnu/java/locale/LocaleInformation_ru_RU.java,
2310         gnu/java/locale/LocaleInformation_ru_UA.java,
2311         gnu/java/locale/LocaleInformation_se_NO.java,
2312         gnu/java/locale/LocaleInformation_sk_SK.java,
2313         gnu/java/locale/LocaleInformation_sl_SI.java,
2314         gnu/java/locale/LocaleInformation_sq_AL.java,
2315         gnu/java/locale/LocaleInformation_sr_YU.java,
2316         gnu/java/locale/LocaleInformation_sv_FI.java,
2317         gnu/java/locale/LocaleInformation_sv_SE.java,
2318         gnu/java/locale/LocaleInformation_ta_IN.java,
2319         gnu/java/locale/LocaleInformation_te_IN.java,
2320         gnu/java/locale/LocaleInformation_tg_TJ.java,
2321         gnu/java/locale/LocaleInformation_tl_PH.java,
2322         gnu/java/locale/LocaleInformation_tr_TR.java,
2323         gnu/java/locale/LocaleInformation_uk_UA.java,
2324         gnu/java/locale/LocaleInformation_ur_PK.java,
2325         gnu/java/locale/LocaleInformation_uz_UZ.java,
2326         gnu/java/locale/LocaleInformation_vi_VN.java,
2327         gnu/java/locale/LocaleInformation_yi_US.java,
2328         gnu/java/locale/LocaleInformation_zh_CN.java,
2329         gnu/java/locale/LocaleInformation_zh_HK.java,
2330         gnu/java/locale/LocaleInformation_zh_SG.java,
2331         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
2332         info; from Classpath.
2333
2334         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
2335         isPaintPending): New methods.
2336         * gnu/awt/xlib/XFramePeer.java (getState, setState,
2337         setMaximizedBounds): New methods.
2338         (beginLayout, endLayout, isPaintPending): Likewise.
2339         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
2340         (requestFocus): Likewise.
2341         (isObscured): Likewise.
2342         (canDetermineObscurity): Likewise.
2343         (coalescePaintEvent): Likewise.
2344         (updateCursorImmediately): Likewise.
2345         (createVolatileImage): Likewise.
2346         (handlesWheelScrolling): Likewise.
2347         (createBuffers): Likewise.
2348         (getBackBuffer): Likewise.
2349         (flip): Likewise.
2350         (destroyBuffers): Likewise.
2351
2352         * Makefile.in: Rebuilt.
2353         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
2354         RobotPeer.java.
2355         * gnu/java/awt/GLightweightPeer.java,
2356         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
2357         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2358         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2359         gnu/java/awt/peer/gtk/GtkFramePeer.java,
2360         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
2361         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
2362         java/awt/dnd/peer/DragSourceContextPeer.java,
2363         java/awt/dnd/peer/DropTargetContextPeer.java,
2364         java/awt/peer/ButtonPeer.java,
2365         java/awt/peer/CheckboxMenuItemPeer.java,
2366         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
2367         java/awt/peer/ComponentPeer.java,
2368         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
2369         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
2370         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
2371         java/awt/peer/MenuBarPeer.java,
2372         java/awt/peer/MenuComponentPeer.java,
2373         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
2374         java/awt/peer/PopupMenuPeer.java,
2375         java/awt/peer/ScrollPanePeer.java,
2376         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
2377         java/awt/peer/TextComponentPeer.java,
2378         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
2379         New versions from Classpath.
2380         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
2381         * java/awt/peer/RobotPeer.java: Likewise.
2382
2383 2003-03-01  Mark Wielaard  <mark@klomp.org>
2384
2385         * java/io/ObjectInputStream.java: Reindent.
2386         * java/io/ObjectOutputStream.java: Likewise.
2387
2388 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
2389
2390         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
2391         jvalue for each argument. Simplify.
2392         * testsuite/libjava.jni/calls.c (docall),
2393         testsuite/libjava.jni/calls.java (longpb_f): check for argument
2394         misalignment.
2395
2396 2003-02-28  Mark Wielaard  <mark@klomp.org>
2397
2398         * Makefile.am (nat_source_files): Remove
2399         java/io/natObjectOutputStream.cc.
2400         * Makefile.in: Regenerated.
2401         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
2402         * java/io/ObjectStreamField.java (typename): New field.
2403         (ObjectStreamField(String, Class)): Initialize new field.
2404         (ObjectStreamField(String, String)): New Constructor.
2405         (getTypeCode): Use new field.
2406         (getTypeString): Use new field.
2407         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
2408         ObjectStreamExceptions. Remember and reset old BlockDataMode.
2409         Handle reading of Proxy classes. Never drain(), just write
2410         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
2411         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
2412         (flush): Call flush(), not just drain().
2413         (writeBoolean): Always use blockDataOutput.
2414         (writeByte): Likewise.
2415         (writeShort): Likewise.
2416         (writeChar): Likewise.
2417         (writeInt): Likewise.
2418         (writeLong): Likewise.
2419         (writeFloat): Likewise.
2420         (writeDouble): Likewise.
2421         (writeBytes): Likewise.
2422         (putfield (put(String,Object))): Throw IllegalArgumentException if
2423         field cannot be found.
2424         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
2425         (writeArraySizeAndElements): Write byte[] in one go.
2426         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
2427         set BlockDataMode to false.
2428         (annotateProxyClass): New method.
2429         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
2430         (getField): No longer native.
2431         (getMethod): Likewise.
2432         (setBlockDataMode): Always drain() on switch, return old mode.
2433         (static): New static code block.
2434         * java/io/natObjectOutputStream.cc: Removed.
2435         * java/io/ObjectInputStream.java (getField): No longer native.
2436         (getMethod): Likewise.
2437         (readObject): Remember and reset old BlockDataMode. Track whether
2438         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
2439         TC_LONGSTRING.
2440         (defaultReadObject): Set BlockDataMode to false during readFields.
2441         (resolveClass): Create new SecurityManager if necessary.
2442         Use Class.forName() if null ClassLoader found.
2443         (read(byte[],int,int): Copy remaining bytes to data before calling
2444         readNextBlock().
2445         (readFields): Set and reset BlockDataMode on call_read_method.
2446         Catch NoSuchFieldErrors.
2447         (setBlockDataMode): Return old mode.
2448         (static): New static code block.
2449         * java/io/natObjectInputStream.cc (getField): Removed.
2450         (getMethod): Likewise.
2451
2452 2003-02-27  Michael Koch  <konqueror@gmx.de>
2453
2454         * java/beans/Beans.java,
2455         java/beans/FeatureDescriptor.java
2456         java/beans/PropertyEditorManager.java:
2457         Reformated to GNU style.
2458
2459 2003-02-25  Michael Koch  <konqueror@gmx.de>
2460
2461         * gnu/java/nio/MappedByteFileBuffer.java,
2462         gnu/java/nio/natMappedByteFileBuffer.cc:
2463         New files, both are not compiled yet to get not noncompiling CVS.
2464
2465 2003-02-24  Tom Tromey  <tromey@redhat.com>
2466
2467         * java/util/prefs/AbstractPreferences.java (isUserNode):
2468         Implemented.
2469
2470 2003-02-24  Tom Tromey  <tromey@redhat.com>
2471
2472         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
2473         Deprecate.
2474         * java/lang/Thread.java (resume): Deprecate.
2475         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
2476         in @deprecated.
2477
2478 2003-02-23  Tom Tromey  <tromey@redhat.com>
2479
2480         * Makefile.in: Rebuilt.
2481         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
2482
2483 2003-02-23  Tom Tromey  <tromey@redhat.com>
2484
2485         * java/lang/natRuntime.cc (libraries_size, libraries_count,
2486         libraries): Removed.
2487         (add_library): Removed.
2488         (_load): Don't call add_library.
2489         (loadLibraryInternal): Likewise.
2490         (init): Likewise.
2491         (lookup_data): New struct.
2492         (find_symbol): New function.
2493         (_Jv_FindSymbolInExecutable): Use it.
2494
2495 2002-02-21  Anthony Green  <green@redhat.com>
2496
2497         * java/lang/Thread.java (Thread): New constructor taking stack
2498         size parameter (ignored for now).
2499         * Many methods: Merged GNU Classpath documentation.
2500
2501         * java/lang/Class.java (finalize): throws a Throwable.
2502
2503 2003-02-21  Mark Wielaard  <mark@klomp.org>
2504
2505         * java/util/zip/ZipEntry.java (setComment): Don't check length when
2506         argument is null.
2507
2508 2003-02-21  Mark Wielaard  <mark@klomp.org>
2509
2510         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
2511         then 65535 chars throw IllegalArgumentException.
2512
2513 2003-02-21  Mark Wielaard  <mark@klomp.org>
2514
2515         * java/util/zip/ZipFile.java (finalize): New method.
2516
2517 2003-02-21  Michael Koch  <konqueror@gmx.de>
2518
2519         * gnu/java/nio/natSocketChannelImpl.cc:
2520         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
2521         <cato@df.lth.se> for pointing to it.
2522
2523 2003-02-20  Raif S. Naffah <raif@fl.net.au>
2524
2525         * java/math/BigInteger.java (euclidInv): Take result array as an
2526         argument.  Updated all callers.
2527         (modInverse): Removed unused variables.
2528
2529 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2530
2531         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2532         config.status.
2533         * configure: Rebuilt.
2534
2535 2003-02-19  Michael Koch  <konqueror@gmx.de>
2536
2537         * gnu/java/nio/natSocketChannelImpl.cc:
2538         Added support for platforms without network support.
2539
2540 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2541
2542         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
2543         after config.h.  Use <> for consistency.
2544         * java/lang/natObject.cc: Likewise.
2545         * java/lang/natRuntime.cc: Likewise.
2546         * java/lang/natSystem.cc: Likewise.
2547         * java/util/natTimeZone.cc: Likewise.
2548         * win32.cc: Likewise.
2549         * include/posix.h (fcntl, socket, connect, close, bind, accept,
2550         listen, write, read): Undef to avoid interference from OS macros.
2551
2552 2003-02-19  Michael Koch  <konqueror@gmx.de>
2553
2554         * gnu/java/nio/ByteBufferImpl.java
2555         (ByteBufferImpl): Renamed two variables.
2556         * gnu/java/nio/CharBufferImpl.java
2557         (CharBufferImpl): Renamed two variables.
2558         * gnu/java/nio/DoubleBufferImpl.java
2559         (DoubleBufferImpl): Renamed two variables.
2560         * gnu/java/nio/FloatBufferImpl.java
2561         (FloatBufferImpl): Renamed two variables.
2562         * gnu/java/nio/IntBufferImpl.java
2563         (IntBufferImpl): Renamed two variables.
2564         * gnu/java/nio/LongBufferImpl.java
2565         (LongBufferImpl): Renamed two variables.
2566         * gnu/java/nio/ShortBufferImpl.java
2567         (ShortBufferImpl): Renamed two variables.
2568         * java/nio/CharBuffer.java
2569         (wrap): Fixed arguments to CharBufferImpl constructor.
2570         (hasArray): Only not read-only buffers have backing arrays.
2571         (length): Documentation added.
2572         (subSequence): Documentation added.
2573         * java/nio/DoubleBuffer.java
2574         (hasArray): Only not read-only buffers have backing arrays.
2575         * java/nio/FloatBuffer.java
2576         (hasArray): Only not read-only buffers have backing arrays.
2577         * java/nio/IntBuffer.java
2578         (hasArray): Only not read-only buffers have backing arrays.
2579         * java/nio/LongBuffer.java
2580         (hasArray): Only not read-only buffers have backing arrays.
2581         * java/nio/ShortBuffer.java
2582         (hasArray): Only not read-only buffers have backing arrays.
2583         
2584 2003-02-19  Michael Koch  <konqueror@gmx.de>
2585
2586         * javax/accessibility/AccessibleContext.java
2587         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
2588
2589 2003-02-19  Michael Koch  <konqueror@gmx.de>
2590
2591         * java/awt/ScrollPaneAdjustable.java: Reformated.
2592
2593 2003-02-19  Michael Koch <konqueror@gmx.de>
2594
2595         * gnu/awt/j2d/Graphics2DImpl.java
2596         (getFontRenderContext): New method.
2597         (drawGlyphVector): New method.
2598         * java/awt/Graphics2D.java
2599         (getFontRenderContext): New abstract method.
2600         (drawGlyphVector): New abstract method.
2601         
2602 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
2603
2604         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
2605         if necessary.
2606         
2607         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2608         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
2609         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2610         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2611         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2612         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2613         (setFont, gtkSetFont): add.
2614         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
2615         Propagate font to peer.  (setFont): add FIXME comment.
2616
2617         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2618         (gtkTextGetSize): fix height, width computation.
2619
2620         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
2621         Make X font name a bit less bogus.
2622
2623         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
2624         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
2625
2626         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
2627         (processAdjustmentEvent): Adjust value.
2628
2629         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
2630         logic errors.
2631
2632         * java/awt/Component.java (setVisible, show, hide): Call show and
2633         hide methods in subclasses.
2634         (getPreferredSize): don't set prefSize before we have peer.
2635
2636         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
2637         Guess (0,0) if we don't have peer.
2638
2639
2640 2003-02-18  Michael Koch  <konqueror@gmx.de>
2641
2642         * java/nio/channels/FileChannel.java
2643         (toString): New implementation, added documentation.
2644         (map): Added exception documentation.
2645         (size): Added exception documentation.
2646         (write): New methods, documentation work.
2647         (read): New methods, documentation work.
2648         (implCloseChannel): Rewrote exception documentation.
2649         (force): Throws IOException, added documentation.
2650         (lock): New methods.
2651         (tryLock): New methods.
2652         (position): New methods.
2653         (transferTo): New method.
2654         (transferFrom): New method.
2655         (truncate): New method.
2656         * java/nio/channels/spi/SelectorProvider.java
2657         (provider): Implemented.
2658         * Makefile.am
2659         (ordinary_java_source_files): Added the following files:
2660         gnu/java/nio/DatagramChannelImpl.java
2661         gnu/java/nio/FileChannelImpl.java
2662         gnu/java/nio/PipeImpl.java
2663         gnu/java/nio/SelectionKeyImpl.java
2664         gnu/java/nio/SelectorImpl.java
2665         gnu/java/nio/SelectorProviderImpl.java
2666         gnu/java/nio/ServerSocketChannelImpl.java
2667         gnu/java/nio/SocketChannelImpl.java
2668         java/nio/channels/FileLock.java
2669         (nat_java_source_files): Added the following files:
2670         gnu/java/nio/natFileChannelImpl.cc
2671         gnu/java/nio/natSelectorImpl.cc
2672         gnu/java/nio/natSocketChannelImpl.cc
2673         * Makefile.in: Regenerated.
2674
2675 2003-02-17  Tom Tromey  <tromey@redhat.com>
2676
2677         * java/awt/image/ColorModel.java: Re-merged with Classpath.
2678         * java/awt/image/ImageFilter.java: Likewise.
2679
2680 2003-02-17  Raif S. Naffah <raif@fl.net.au>
2681
2682         * java/math/BigInteger.java (euclidInv): Return array of
2683         `BigInteger's.  Changed all callers.
2684
2685 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
2686
2687         * java/util/Properties.java (store): Move the code formerly in
2688         list(), into this method.
2689         (list (PrintStream)): Just call list (PrintWriter) with a 
2690         PrintWriter object constructed from the given PrintStream object.
2691         (list (PrintWriter)): Emulate the output of Properties.list()
2692         as found in JDK 1.3/1.4.
2693
2694 2003-02-17  Michael Koch  <konqueror@gmx.de>
2695
2696         * java/net/DatagramSocket.java
2697         (connect): Merged with classpath.
2698         (disconnect): Merged documentation with classpath.
2699         (receice): Merged documentation with classpath.
2700         (send): Merged documentation with classpath.
2701         
2702 2003-02-17  Michael Koch  <konqueror@gmx.de>
2703
2704         * java/awt/dnd/DragSourceContext.java
2705         (addDragSourceListener): Added documentation.
2706         * java/awt/dnd/DragSourceDragEvent.java
2707         (serialVersionUID): New member variable.
2708         (getDropAction): Reformated.
2709         * java/awt/dnd/DragSourceDropEvent.java
2710         (serialVersionUID): New member variable.
2711         (dropSuccess): Renamed from success for serialization issues.
2712         * java/awt/dnd/DragSourceEvent.java
2713         (serialVersionUID): New member variable.
2714         * java/awt/dnd/DropTarget.java
2715         (serialVersionUID): New member variable.
2716         (DropTarget): Implemented, documentation reworked.
2717         (setComponent): Documentation added.
2718         (getComponent): Documentation added.
2719         (setDefaultActions): Documentation added.
2720         (getDefaultActions): Documentation added.
2721         (addDropTargetListener): Documentation added.
2722         * java/awt/dnd/DropTargetContext.java
2723         (DropTargetContext): Documentation added.
2724         (TransferableProxy.TransferableProxy): New method.
2725         (dropComplete): Fixed documentation.
2726         (getTransferable): Fixed documentation.
2727         (createTransferableProxy): Implemented.
2728         * java/awt/dnd/DropTargetDragEvent.java
2729         (DropTargetDragEvent): Documentation added.
2730         (serialVersionUID): New member variable.
2731         (DropTargetDragEvent): Throw exceptions, documentation added.
2732         (acceptDrag): Implemented.
2733         (getCurrentDataFlavors): Implemented.3yy
2734         (getCurrentDataFlavorsAsList): Implemented.
2735         (isDataFlavorSupported): Implemented.
2736         (rejectDrag): Implemented.
2737         * java/awt/dnd/DropTargetDropEvent.java
2738         (DropTargetDropEvent): Documentation added.
2739         (serialVersionUID): New member variable.
2740         (actions): Renamed from srcActions for serialization issues.
2741         (isLocalTx): Renamed from isLocalTx for serialization issues.
2742         (DropTargetDropEvent): New implementation, throw exceptions,
2743         documentation added.
2744         (getCurrentDataFlavors): Implemented.
2745         (getCurrentDataFlavorsAsList): Implemented.
2746         (isDataFlavorSupported): Implemented.
2747         (getSourceActions): Implemented.
2748         (getDropAction): Implemented.
2749         (getTransferable): Implemented.
2750         (acceptDrop): Implemented.
2751         (rejectDrop): Implemented.
2752         * java/awt/dnd/DropTargetListener.java
2753         (drop): Fixed documentation.
2754         * java/awt/dnd/MouseDragGestureRecognizer.java
2755         (MouseDragGestureRecognizer): Documentation added.
2756
2757 2003-02-17  Michael Koch  <konqueror@gmx.de>
2758
2759         * java/awt/font/FontRenderContext.java,
2760         java/awt/font/ShapeGraphicAttribute.java,
2761         java/awt/font/MultipleMaster.java,
2762         java/awt/font/TransformAttribute.java,
2763         java/awt/font/GlyphJustificationInfo.java,
2764         java/awt/font/LineBreakMeasurer.java,
2765         java/awt/font/TextMeasurer.java,
2766         java/awt/font/TextLayout.java,
2767         java/awt/font/LineMetrics.java,
2768         java/awt/font/TextAttribute.java,
2769         java/awt/font/GlyphMetrics.java,
2770         java/awt/font/OpenType.java,
2771         java/awt/font/GlyphVector.java,
2772         java/awt/font/GraphicAttribute.java,
2773         java/awt/font/ImageGraphicAttribute.java,
2774         java/awt/font/NumericShaper.java: New files.
2775         * Makefile.am
2776         (awt_java_source_files): Added the following files:
2777         java/awt/font/FontRenderContext.java
2778         java/awt/font/ShapeGraphicAttribute.java
2779         java/awt/font/MultipleMaster.java
2780         java/awt/font/TransformAttribute.java
2781         java/awt/font/GlyphJustificationInfo.java
2782         java/awt/font/LineBreakMeasurer.java
2783         java/awt/font/TextMeasurer.java
2784         java/awt/font/TextLayout.java
2785         java/awt/font/LineMetrics.java
2786         java/awt/font/TextAttribute.java
2787         java/awt/font/GlyphMetrics.java
2788         java/awt/font/OpenType.java
2789         java/awt/font/GlyphVector.java
2790         java/awt/font/GraphicAttribute.java
2791         java/awt/font/ImageGraphicAttribute.java
2792         java/awt/font/NumericShaper.java
2793         * Makefile.in: Regenerated.
2794
2795 2003-02-17  Michael Koch  <konqueror@gmx.de>
2796
2797         * java/awt/print/Paper.java
2798         (Paper): Implements Cloneable.
2799         * java/awt/print/PrinterJob.java
2800         (setJobName): Return value must be void.
2801         (print): Throws PrinterException.
2802         
2803 2003-02-16  Tom Tromey  <tromey@redhat.com>
2804
2805         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
2806         variable.
2807
2808 2003-02-15  Michael Koch  <konqueror@gmx.de>
2809
2810         * java/awt/datatransfer/DataFlavor.java
2811         (isRepresentationClassByteBuffer): Removed try-catch block.
2812         (isRepresentationClassCharBuffer): Removed try-catch block.
2813         (isRepresentationClassReader): Removed try-catch block.
2814
2815 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
2816
2817         * java/nio/charset/Charset.java
2818         (isRegistered): Fixed method args and implementation.
2819         * java/nio/charset/CharsetEncoder.java
2820         (unmappableCharacterAction): New method.
2821
2822 2003-02-15  Michael Koch  <konqueror@gmx.de>
2823
2824         * java/awt/CheckboxMenuItem.java
2825         (CheckBoxMenuItem): Dont implement Serializable.
2826         (getListeners): New method,
2827         (getItemListeners): New method.
2828         * java/awt/Choice.java
2829         (getListeners): New method,
2830         (getItemListeners): New method.
2831         * java/awt/Container.java
2832         (getListeners): Added exception documentation.
2833         (setFocusTraversalKeys): Throw exceptions, added documentattion.
2834         (getFocusTraversalKeys): Added documentation.
2835         (areFocusTraversalKeysSet): Added documentation.
2836         (applyComponentOrientation): Added documentation.
2837         * java/awt/ContainerOrderFocusTraversalPolicy.java
2838         (implicitDownCycleTraversal): Renamed from downCycle for
2839         serialization.
2840         (ContainerOrderFocusTraversalPolicy): Added documentation.
2841         (accept): Reformated.
2842         * java/awt/Dialog.java
2843         (Dialog): Dont implement Serializable.
2844         (Dialog): Added documentation.
2845         * java/awt/Font.java
2846         (Font): Dont use absolute class name.
2847         * java/awt/Frame.java
2848         (Frame): Font implement Serializable.
2849         * java/awt/List.java
2850         (getListeners): New method,
2851         (getActionListeners): New method.       
2852         (getItemListeners): New method.
2853         * java/awt/Menu.java
2854         (countItems): New deprecated method.
2855         * java/awt/Scrollbar.java
2856         (getListeners): New method,
2857         (getAdjustmentListeners): New method,
2858         * java/awt/TextComponent.java
2859         (getListeners): New method,
2860         (getTextListeners): New method,
2861         * java/awt/TextField.java
2862         (getListeners): New method,
2863         (getActionListeners): New method.       
2864         * java/awt/Window.java
2865         (windowFocusListener): New member variable.
2866         (windowStateListener): New member variable.
2867         (getWindowFocusListeners): New method.
2868         (getWindowStateListeners): New method.
2869         (addWindowFocusListener): New method.
2870         (addWindowStateListener): New method.
2871         (removeWindowFocusListener): New method.
2872         (removeWindowStateListener): New method.
2873         * java/awt/datatransfer/DataFlavor.java
2874         (isRepresentationClassByteBuffer): New method.
2875         (isRepresentationClassCharBuffer): New method.
2876         (isRepresentationClassReader): New method.
2877
2878 2003-02-14  Mark Wielaard  <mark@klomp.org>
2879
2880         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
2881         zero when there is an exponent and the significant is zero.
2882         (divide): Always set scale to newScale even in special ZERO case.
2883
2884 2003-02-14  Tom Tromey  <tromey@redhat.com>
2885
2886         * java/lang/System.java (properties): Use Properties.clone.
2887         (setProperties): Likewise.
2888
2889 2003-02-14  Michael Koch  <konqueror@gmx.de>
2890
2891         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2892         * gnu/java/nio/ServerSocketChannelImpl.java
2893         (SocketAccept): Removed.
2894         (accept): Commented out use of SocketAccept.
2895
2896 2003-02-13  Tom Tromey  <tromey@redhat.com>
2897
2898         * verify.cc (state::seen_subrs): New field.
2899         (state::state): Initialize it.
2900         (state::clean_subrs): New method.
2901         (state::~state): Call it.
2902         (state::copy): Copy subroutine list.
2903         (state::add_subr): New method.
2904         (state::merge): Only register a change if the current subroutine
2905         hasn't yet been noted.
2906
2907 2003-02-13  Mark Wielaard  <mark@klomp.org>
2908
2909         * java/io/InputStreamReader.java (getEncoding): Return null when
2910         closed.
2911         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
2912
2913 2003-02-13  Mark Wielaard  <mark@klomp.org>
2914  
2915         * java/util/zip/InflaterInputStream.java (read): Return zero when len
2916         is zero.
2917
2918 2003-02-13  Mark Wielaard  <mark@klomp.org>
2919
2920         * java/io/BufferedOutputStream.java (write(int)): Only flush when
2921         next byte cannot be buffered.
2922
2923 2003-02-13  Michael Koch  <konqueror@gmx.de>
2924  
2925         * java/awt/Label.java
2926         (Label): Don't implement Serializable directly.
2927         (addNotify): Fixed typo in documentation.
2928         * java/awt/List.java
2929         (List): Don't implement Serializable directly.
2930         * java/awt/PopupMenu.java
2931         (PopupMenu): Don't implement Serializable directly.
2932         * java/awt/ScrollPane.java
2933         (ScrollPane): Don't implement Serializable directly.
2934         * java/awt/Scrollbar.java
2935         (Scrollbar): Don't implement Serializable directly.
2936         * java/awt/TextArea.java
2937         (preferredSize): Fixed method arguments.
2938         * java/awt/TextField.java
2939         (TextField): Don't implement Serializable directly.
2940         * java/awt/color/ICC_ColorSpace.java
2941         (fromCIOXYZ): Documentation added.
2942         (getMinValue): Documentation added.
2943         (getMaxValue): Documentation added.
2944         * java/awt/datatransfer/DataFlavor.java
2945         (isMimeTypeEqual): May not be final.
2946         (clone): Throws CloneNotSupportedException.
2947         (getReaderForText): Don't throws UnsupportedEncodingException.
2948
2949 2003-02-13  Michael Koch  <konqueror@gmx.de>
2950  
2951         * gnu/java/awt/peer/gtk/GdkGraphics.java
2952         (drawString): New stubbed method.
2953         * java/awt/Graphics.java
2954         (drawString): New method.
2955
2956 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
2957
2958         PR libgcj/9271:
2959         * java/security/SecureRandom.java (next): Avoid bias in results.
2960
2961 2003-02-13  Michael  <konqueror@gmx.de>
2962
2963         * gnu/java/nio/FileChannelImpl.java
2964         (lengthInternal): Must be native.
2965         (size): Check if channel is already closed.
2966         (implCloseChannel): Reformated.
2967         (read): w was unused, removed it.
2968         (read): Removed.
2969         (read): New method.
2970         (write): New method.
2971         (map): Check arguments.
2972         (force): Throws IOException, check if channel is closed.
2973         (transferTo): New method.
2974         (transferFrom): New method.
2975         (lock): New method.
2976         (tryLock): New method.
2977         (position): New method.
2978         (truncate): New method.
2979         (nio_mmap_file): Uncommented.
2980         (nio_munmap_file): Uncommented.
2981         (nio_msync): Uncommented.
2982         * gnu/java/nio/natFileChannelImpl.cc: New file.
2983         
2984 2003-02-13  Michael Koch  <konqueror@gmx.de>
2985
2986         * java/nio/ByteBuffer.java
2987         (endian): New member variable.
2988         (get): New methods.
2989         (equals): New method.
2990         (compareTo): New method.
2991         (order): New methods.
2992         (compact): New method.
2993         (isDirect): New method.
2994         (slice): New method.
2995         (duplicate): New method.
2996         (asReadOnlyBuffer): New method.
2997         (asCharBuffer): New method.
2998         (asDoubleBuffer): New method.
2999         (asFloatBuffer): New method.
3000         (asIntBuffer): New method.
3001         (asLongBuffer): New method.
3002         (asShortBuffer): New method.
3003         (get*): New methods.
3004         (put*): New methods.
3005         (toString): New method.
3006         * java/nio/CharBuffer.java
3007         (CharBuffer): Implement Comparable instead of Cloneable.
3008         (get): May not be final.
3009         (put): May not be final.
3010         
3011 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
3012
3013         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
3014         lastIndexOf( ) instead of indexOf( ) to find the colon before
3015         the line number, because Win32 file names might contain a 
3016         drive letter and a colon at the start of an absolute path.
3017
3018 2003-02-13  Michael Koch  <konqueror@gmx.de>
3019
3020         * gnu/java/nio/natSocketChannelImpl.cc
3021         (SocketConnect): This is not implemented yet.
3022         (SocketBind): This is not implemented yet.
3023
3024 2003-02-13  Michael Koch  <konqueror@gmx.de>
3025
3026         * gnu/java/nio/natByteBufferImpl.cc,
3027         gnu/java/nio/natCharBufferImpl.cc,
3028         gnu/java/nio/natDoubleBufferImpl.cc,
3029         gnu/java/nio/natFloatBufferImpl.cc,
3030         gnu/java/nio/natIntBufferImpl.cc,
3031         gnu/java/nio/natLongBufferImpl.cc,
3032         gnu/java/nio/natShortBufferImpl.cc:
3033         Added copyright and license.
3034         * java/nio/DoubleBuffer.java,
3035         java/nio/FloatBuffer.java,
3036         java/nio/IntBuffer.java,
3037         java/nio/LongBuffer.java,
3038         java/nio/ShortBuffer.java
3039         (array): Throw exceptions.
3040         (arrayOffset): Throw exceptions.
3041
3042 2003-02-13  Michael Koch  <konqueror@gmx.de>
3043  
3044         * gnu/java/util/prefs/FileBasedFactory.java,
3045         gnu/java/util/prefs/MemmoryBasedFactory.java,
3046         gnu/java/util/prefs/MemoryBasedPreferences.java,
3047         gnu/java/util/prefs/NodeReader.java,
3048         gnu/java/util/prefs/NodeWriter.java,
3049         java/util/prefs/AbstractPreferences.java,
3050         java/util/prefs/BackingStoreException.java,
3051         java/util/prefs/InvalidPreferencesFormatException.java,
3052         java/util/prefs/NodeChangeEvent.java,
3053         java/util/prefs/NodeChangeListener.java,
3054         java/util/prefs/PreferenceChangeEvent.java,
3055         java/util/prefs/PreferenceChangeListener.java,
3056         java/util/prefs/Preferences.java,
3057         java/util/prefs/PreferencesFactory.java:
3058         New files, all merged from classpath.
3059         * Makefile.am
3060         (ordinary_java_source_files): Added the following files:
3061         gnu/java/util/prefs/FileBasedFactory.java,
3062         gnu/java/util/prefs/MemmoryBasedFactory.java,
3063         gnu/java/util/prefs/MemoryBasedPreferences.java,
3064         gnu/java/util/prefs/NodeReader.java,
3065         gnu/java/util/prefs/NodeWriter.java,
3066         (core_java_source_files): Added the following files:
3067         java/util/prefs/AbstractPreferences.java,
3068         java/util/prefs/BackingStoreException.java,
3069         java/util/prefs/InvalidPreferencesFormatException.java,
3070         java/util/prefs/NodeChangeEvent.java,
3071         java/util/prefs/NodeChangeListener.java,
3072         java/util/prefs/PreferenceChangeEvent.java,
3073         java/util/prefs/PreferenceChangeListener.java,
3074         java/util/prefs/Preferences.java,
3075         java/util/prefs/PreferencesFactory.java
3076         * Makefile.in: Regenerated.
3077  
3078 2003-02-13  Michael Koch  <konqueror@gmx.de>
3079
3080         * java/net/NetPermission.java
3081         (NetPermission): Make doucmentation match the method declaration.
3082         * java/net/NetworkInterface.java
3083         (equals): Reformated for GNU coding style.
3084         * java/net/ServerSocket.java: Merged with classpath.
3085         * java/net/Socket.java: Partly merged with classpath (Added some @since).
3086         * java/net/SocketImpl.java
3087         (localPort): Merged with classpath (initialize with -1).
3088         * java/net/SocketPermission.java: Merged with classpath (reindented).
3089         * java/net/URLDecoder.java: Merged with classpath (reindented).
3090
3091 2003-02-13  Michael Koch  <konqueror@gmx.de>
3092
3093         * java/awt/GridBagConstraints.java
3094         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
3095         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
3096         * java/awt/KeyboardFocusManager.java
3097         (setGlobalCurrentFocusCycleRoot): Must be public.
3098         * java/awt/MenuComponent.java
3099         (MenuComponent): Must be public.
3100         * java/awt/Toolkit.java:
3101         Added some empty lines to make documentation more readable.
3102         (getFontPeer): Added @deprecated.
3103         (getColorModel): Added exception documentation.
3104         (getProperty): Fixed documentation.
3105  
3106 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
3107
3108         * configure.host (alpha*-*): Default to -mieee.
3109         * configure.in (IEEESPEC): New.
3110         * libgcj.spec.in (jc1): Add IEEESPEC.
3111         * configure: Rebuild.
3112
3113 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
3114
3115         * include/win32.h: Include ws2tcpip.h instead of
3116         winsock.h to obtain definition of the socklen_t type.
3117         Remove IP_TOS definition - not needed with ws2tcpip.h
3118         (_Jv_connect): Correct slight formatting error.
3119
3120 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
3121
3122         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
3123         size of the arguments for a JNI function. For Win32,
3124         modify to search for all forms of possible exported
3125         names of an stdcall JNI function.
3126         (_Jv_JNIMethod::call): Modify to calculate the size
3127         of the arguments passed to a JNI function and pass
3128         it to _Jv_LookupJNIMethod.
3129
3130 2003-02-12  Michael Koch  <konqueror@gmx.de>
3131
3132         * java/nio/channels/Channels.java: New file.
3133         * Makefile.am
3134         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
3135         * Makefile.in: Regenerated.
3136
3137 2003-02-12  Michael Koch  <konqueror@gmx.de>
3138
3139         * java/nio/ByteBuffer.java
3140         (allocate): Implemented.
3141         (wrap): Implemented.
3142         * java/nio/CharBuffer.java:
3143         Some documentation added and reworked.
3144         (endian): Removed.
3145         (allocate): Implemented.
3146         (wrap): Implemented.
3147         (array): Throw exceptions.
3148         (arrayOffset): Throw exceptions.
3149         (toString): Implemented.
3150         (length): Implemented.
3151         (put): Implemented.
3152         (charAt): Implemented.
3153
3154 2003-02-11  John Leuner  <jewel@debian.org>
3155
3156         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
3157         reads from end of file.
3158
3159 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
3160
3161         * java/io/natFileDescriptorWin32.cc 
3162         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
3163         returns with Win32 error code ERROR_BROKEN_PIPE.
3164
3165 2003-02-11  Michael Koch  <konqueror@gmx.de>
3166
3167         * Makefile.in
3168         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
3169
3170 2003-02-11  Michael Koch  <konqueror@gmx.de>
3171
3172         * gnu/java/nio/ByteBufferImpl.java:
3173         Reformated and removed some code.
3174         (backing_buffer): Removed.      
3175         (array_offset): Removed.
3176         (ro): Renamed to readOnly.
3177         (ByteBufferImpl): Use parent constructor, initialize readOnly.
3178         * gnu/java/nio/CharBufferImpl.java:
3179         Reformated and removed some code.
3180         (array_offset): Removed.
3181         (ro): Renamed to readOnly.
3182         (CharBufferImpl): Use parent constructor, initialize readOnly.
3183         (inc_pos): Removed.
3184         (order): New method.
3185         * gnu/java/nio/DoubleBufferImpl.java:
3186         Reformated and removed some code.
3187         (array_offset): Removed.
3188         (ro): Renamed to readOnly.
3189         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
3190         (inc_pos): Removed.
3191         (order): New method.
3192         * gnu/java/nio/FloatBufferImpl.java:
3193         Reformated and removed some code.
3194         (array_offset): Removed.
3195         (ro): Renamed to readOnly.
3196         (FloatBufferImpl): Use parent constructor, initialize readOnly.
3197         (inc_pos): Removed.
3198         (order): New method.
3199         * gnu/java/nio/IntBufferImpl.java:
3200         Reformated and removed some code.
3201         (array_offset): Removed.
3202         (ro): Renamed to readOnly.
3203         (IntBufferImpl): Use parent constructor, initialize readOnly.
3204         (inc_pos): Removed.
3205         (order): New method.
3206         * gnu/java/nio/LongBufferImpl.java:
3207         Reformated and removed some code.
3208         (array_offset): Removed.
3209         (ro): Renamed to readOnly.
3210         (LongBufferImpl): Use parent constructor, initialize readOnly.
3211         (inc_pos): Removed.
3212         (order): New method.
3213         * gnu/java/nio/ShortBufferImpl.java:
3214         Reformated and removed some code.
3215         (array_offset): Removed.
3216         (ro): Renamed to readOnly.
3217         (ShortBufferImpl): Use parent constructor, initialize readOnly.
3218         (inc_pos): Removed.
3219         (order): New method.
3220         * Makefile.am
3221         (ordinary_java_source_files): Added the following files:
3222         gnu/java/nio/ByteBufferImpl.java
3223         gnu/java/nio/CharBufferImpl.java
3224         gnu/java/nio/DoubleBufferImpl.java
3225         gnu/java/nio/FloatBufferImpl.java
3226         gnu/java/nio/IntBufferImpl.java
3227         gnu/java/nio/LongBufferImpl.java
3228         gnu/java/nio/ShortBufferImpl.java
3229         java/nio/DoubleBuffer.java
3230         java/nio/FloatBuffer.java
3231         java/nio/IntBuffer.java
3232         java/nio/LongBuffer.java
3233         java/nio/ShortBuffer.java
3234         (nat_source_files): Added the following files:
3235         gnu/java/nio/natByteBufferImpl.cc
3236         gnu/java/nio/natCharBufferImpl.cc
3237         gnu/java/nio/natDoubleBufferImpl.cc
3238         gnu/java/nio/natFloatBufferImpl.cc
3239         gnu/java/nio/natIntBufferImpl.cc
3240         gnu/java/nio/natLongBufferImpl.cc
3241         gnu/java/nio/natShortBufferImpl.cc
3242         * Makefile.in: Regenerated.
3243
3244 2003-02-11  Michael Koch  <konqueror@gmx.de>
3245
3246         * gnu/java/nio/natCharBufferImpl.cc
3247         (nio_cast): Removed.
3248         (nio_put_*): Removed.
3249         (nio_get_*): Removed.
3250         * gnu/java/nio/natDoubleBufferImpl.cc
3251         (nio_cast): Removed.
3252         (nio_put_*): Removed.
3253         (nio_get_*): Removed.
3254         * gnu/java/nio/natFloatBufferImpl.cc
3255         (nio_cast): Removed.
3256         (nio_put_*): Removed.
3257         (nio_get_*): Removed.
3258         * gnu/java/nio/natIntBufferImpl.cc
3259         (nio_cast): Removed.
3260         (nio_put_*): Removed.
3261         (nio_get_*): Removed.
3262         * gnu/java/nio/natLongBufferImpl.cc
3263         (nio_cast): Removed.
3264         (nio_put_*): Removed.
3265         (nio_get_*): Removed.
3266         * gnu/java/nio/natShortBufferImpl.cc
3267         (nio_cast): Removed.
3268         (nio_put_*): Removed.
3269         (nio_get_*): Removed.
3270         * gnu/java/nio/SelectorProviderImpl.java
3271         (openDatagramChannel): Throws IOException.
3272         (openPipe): Throws IOException.
3273         (openSelector): Throws IOException.
3274         (openServerSocketChannel): Throws IOException.
3275         (openSocketChannel): Throws IOException.
3276         * gnu/java/nio/ServerSocketChannelImpl.java
3277         (ServerSocketChannelImpl): Throws IOException.
3278         (implCloseSelectableChannel): Throws IOException.
3279         (implConfigureBlocking): Throws IOException.
3280         * java/nio/ByteBuffer.java
3281         (readOnly): Removed.
3282         (hasArray): Use isReadOnly() instead of readOnly.
3283         (array): Use isReadOnly() instead of readOnly.
3284         (arrayOffset): Use isReadOnly() instead of readOnly.
3285         * java/nio/CharBuffer.java
3286         (CharBuffer): Implements Cloneable and CharSequence.
3287
3288 2003-02-11  Michael Koch  <konqueror@gmx.de>
3289
3290         * java/nio/DoubleBuffer.java
3291         (DoubleBuffer): Implements Comparable.
3292         (endian): Removed.
3293         (array_offset): New member variable.
3294         (DoubleBuffer): New constuctor.
3295         (get): May not be final.
3296         (put): May not be final.
3297         (arrayOffset): Implemented.
3298         (order): Made abstract.
3299         (order): Removed.
3300         (as*Buffer): Removed.
3301         (get*): Removed.
3302         (put*): Removed.
3303         * java/nio/FloatBuffer.java
3304         (FloatBuffer): Implements Comparable.
3305         (endian): Removed.
3306         (array_offset): New member variable.
3307         (FloatBuffer): New constuctor.
3308         (get): May not be final.
3309         (put): May not be final.
3310         (arrayOffset): Implemented.
3311         (order): Made abstract.
3312         (order): Removed.
3313         (as*Buffer): Removed.
3314         (get*): Removed.
3315         (put*): Removed.
3316         * java/nio/IntBuffer.java
3317         (IntBuffer): Implements Comparable.
3318         (endian): Removed.
3319         (array_offset): New member variable.
3320         (IntBuffer): New constuctor.
3321         (get): May not be final.
3322         (put): May not be final.
3323         (arrayOffset): Implemented.
3324         (order): Made abstract.
3325         (order): Removed.
3326         (as*Buffer): Removed.
3327         (get*): Removed.
3328         (put*): Removed.
3329         * java/nio/LongBuffer.java
3330         (LongBuffer): Implements Comparable.
3331         (endian): Removed.
3332         (array_offset): New member variable.
3333         (LongBuffer): New constuctor.
3334         (get): May not be final.
3335         (put): May not be final.
3336         (arrayOffset): Implemented.
3337         (order): Made abstract.
3338         (order): Removed.
3339         (as*Buffer): Removed.
3340         (get*): Removed.
3341         (put*): Removed.
3342         * java/nio/ShortBuffer.java
3343         (ShortBuffer): Implements Comparable.
3344         (endian): Removed.
3345         (array_offset): New member variable.
3346         (ShortBuffer): New constuctor.
3347         (get): May not be final.
3348         (put): May not be final.
3349         (arrayOffset): Implemented.
3350         (order): Made abstract.
3351         (order): Removed.
3352         (as*Buffer): Removed.
3353         (get*): Removed.
3354         (put*): Removed.
3355
3356 2003-02-11   Michael Koch  <konqueror@gmx.de>
3357
3358         * java/nio/channels/SelectionKey.java
3359         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
3360         values.
3361
3362 2003-02-11  Michael Koch  <konqueror@gmx.de>
3363
3364         * java/nio/channels/DatagramChannel.java
3365         (write): Throws IOException.
3366         (connect): Throws IOException.
3367         (disconnect): Throws IOException.
3368         (read): Throws IOException.
3369         (receive): Throws IOException.
3370         (send): Throws IOException.
3371         * java/nio/channels/Pipe.java
3372         (open): Throws IOException.
3373         * java/nio/channels/SelectableChannel.java
3374         (configureBlocking): Throws IOException.
3375         * java/nio/channels/ServerSocketChannel.java
3376         (accept): Throws IOException.
3377         * java/nio/channels/SocketChannel.java
3378         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
3379         GatheringByteChannel.
3380         (read): Throws IOException.
3381         (write): Throws IOException.
3382         (finishConnect): Throws IOException.
3383         * java/nio/channels/spi/AbstractInterruptibleChannel.java
3384         (end): Throws AsynchronousCloseException.
3385         * java/nio/channels/spi/AbstractSelectableChannel.java
3386         (configureBlocking): Throws IOException.
3387         (implCloseChannel): Throws IOException.
3388         (implCloseSelectableChannel): Throws IOException.
3389         (implConfigureBlocking): Throws IOException.
3390         * java/nio/channels/spi/SelectorProvider.java
3391         (openDatagramChannel): Throws IOException.
3392         (openPipe): Throws IOException.
3393         (openSelector): Throws IOException.
3394         (openServerSocketChannel): Throws IOException.
3395         (openSocketChannel): Throws IOException.
3396
3397 2003-02-11  Michael Koch  <konqueror@gmx.de>
3398
3399         * gnu/java/nio/FileLockImpl.java,
3400         java/nio/channels/FileLock.java: New files.
3401
3402 2003-02-11  Michael Koch  <konqueror@gmx.de>
3403
3404         * java/nio/charset/IllegalCharsetNameException.java
3405         (serialVersionUID): New member variable.
3406         (charsetName): New member variable.
3407         (IllegalCharsetException): New implementation.
3408         (getCharsetName): New implementation.
3409         * java/nio/charset/UnsupportedCharsetException.java
3410         (serialVersionUID): New member variable.
3411         (charsetName): New member variable.
3412         (UnsupportedCharsetException): New implementation.
3413         (getCharsetName): New implementation.
3414
3415 2003-02-10  Tom Tromey  <tromey@redhat.com>
3416
3417         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
3418         (ex): Renamed from sqlException.
3419
3420 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
3421
3422         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
3423         method used to ensure seeding has occurred and that a specific 
3424         seed can be set and used.
3425
3426 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
3427
3428         * java/lang/Win32Process.java (destroy): Declare as native.
3429         (hasExited): New native method.
3430         (exitValue): Define.
3431         (getErrorStream): Likewise.
3432         (getInputStream): Likewise.
3433         (getOutputStream): Likewise.
3434         (waitFor): Declare as native.
3435         (startProcess): New native method.
3436         (cleanup): Likewise.
3437         (ConcreteProcess): Define.
3438         (outputStream, inputStream, errorStream): New members.
3439         (procHandle, exitCode): Likewise.
3440
3441         * java/lang/natWin32Process.cc
3442         (java::lang::ConcreteProcess::cleanup): Define.
3443         (java::lang::ConcreteProcess::destroy): Likewise.
3444         (java::lang::ConcreteProcess::hasExited): Likewise.
3445         (java::lang::ConcreteProcess::waitFor): Likewise.
3446         (new_string): Likewise.
3447         (java::lang::ConcreteProcess::startProcess): Likewise.
3448
3449 2003-02-10  Raif S. Naffah <raif@fl.net.au>
3450
3451         * java/math/BigInteger.java:
3452         Updated notice to include years 2002 and 3.
3453         Added 2 private (int) arrays with values from the HAC (Handbook of
3454         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
3455         and t[] that contains nbr. of tests --used in isProbablePrime().
3456
3457         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
3458
3459         * java/math/BigInteger.java (make(int[],int), add(int,int),
3460         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
3461         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
3462         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
3463         make(long).
3464
3465         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
3466         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
3467         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
3468         BIs and returns void.
3469         (modInverse(BI)): Use new signatures of euclidInv().
3470
3471         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
3472         static small primes instead of remainder().
3473         Use pre-computed max nbr of trials based on bitlength of BI to test.
3474         Use pre-computed small primes for the trial tests instead of random
3475         numbers.
3476
3477         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
3478         not used.
3479
3480         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
3481         invoacation of MPN.chars_per_word().  not used.
3482
3483         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
3484         local var and used where needed.
3485
3486         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
3487         Combined declaration with initialisation of locals.
3488         Removed unused var.
3489
3490         * java/math/BigInteger.java: Style changes
3491         (pow(int)): Removed 'else' keyword.
3492         (toString(int)): idem.
3493         (doubleValue()): idem.
3494         (bitLength()): idem.
3495         (equals(Object)): Use static methods name in same class w/o prepending
3496         class name.
3497         (doubleValue()): idem.
3498         (setNegative(BI)): idem.
3499         (negate()): idem.
3500         (and(BI,int)): idem.
3501         (and(BI)): idem.
3502         (gcd(BI)): idem.
3503         (byteArrayToIntArray()): Removed casting to (int). this is
3504         std. behaviour.
3505         (canonicalize()): idem.
3506         (alloc(int)): Always instantiate a new BI.
3507
3508 2003-02-10  Tom Tromey  <tromey@redhat.com>
3509
3510         * java/sql/Timestamp.java (compareTo(Object)): New method.
3511         (compareTo(Timestamp)): Likewise.
3512         (serialVersionUID): Updated.
3513
3514 2003-02-07  Mark Wielaard  <mark@klomp.org>
3515
3516         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
3517         when verify is true.
3518         (JarFile(File, boolean)): Likewise.
3519         (manifestRead): Set manifestRead field correctly.
3520
3521 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
3522
3523         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
3524         tests; see patch #1016 on Savannah.
3525
3526 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
3527
3528         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
3529         (toString): do not return Strings starting with . and - erroneously.
3530         Improves Mauve results to 12 of 600 instead of 16 of 338 on
3531         DiagBigDecimal.
3532
3533 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
3534
3535         * java/beans/PropertyDescriptor.java
3536         (PropertyDescriptor(String, Class)): Sanity check getter and setter
3537         methods.
3538         (PropertyDescriptor(String, Class, String, String)): Likewise.
3539         (PropertyDescriptor(String, Method, Method): Factor out getter and
3540         setter method sanity checks into new method.
3541         (findMethods): Don't do parameter sanity checking of get method here.
3542         (checkMethods): New method.
3543
3544 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
3545
3546         * java/beans/PropertyDescriptor.java: Reformat.
3547
3548 2003-02-04  Tom Tromey  <tromey@redhat.com>
3549
3550         * java/io/PipedOutputStream.java (flush): Declare as throwing
3551         IOException.
3552         (close): Likewise.
3553         * java/io/PipedWriter.java (close): Declare as throwing
3554         IOException.
3555         * java/io/StringWriter.java (close): Declare as throwing
3556         IOException.
3557
3558 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
3559
3560         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
3561         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
3562         could also have been exported as "JNI_OnLoad@8" (MinGW) or
3563         "_JNI_OnLoad@8" (MSVC).
3564
3565 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
3566
3567         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
3568         convention on Win32 to invoke native JNI methods.
3569
3570 2003-02-03  Andrew Haley  <aph@redhat.com>
3571
3572         * configure.host (x86_64): Enable interpreter.
3573
3574 2003-02-03  Andrew Haley  <aph@redhat.com>
3575
3576         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
3577         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
3578         * configure.in (BACKTRACESPEC): New.
3579         * configure: Regenerate.
3580
3581 2003-02-02  Tom Tromey  <tromey@redhat.com>
3582
3583         * configure: Rebuilt.
3584         * configure.in (TOOLKIT) [xlib]: Set correctly.
3585
3586         * Makefile.in: Rebuilt.
3587         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
3588         libstdc++.
3589
3590 2003-01-31  Mark WIelaard  <mark@klomp.org>
3591
3592         * Makefile.in: Rebuilt.
3593         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
3594
3595 2003-01-31  Tom Tromey  <tromey@redhat.com>
3596
3597         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
3598         cast to element type.
3599         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
3600         (_Jv_JNI_GetObjectArrayElement): Likewise.
3601
3602         * Makefile.in: Rebuilt.
3603         * Makefile.am (cond_x_ltlibrary): Renamed library to
3604         lib-gnu-awt-xlib.la.
3605         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
3606         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
3607         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
3608         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
3609         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
3610         (lib_gnu_awt_xlib_la_LINK): Likewise.
3611         (install-exec-hook): Removed.
3612         (lib-gnu-awt-xlib.la): Renamed.
3613
3614 2003-01-31  Tom Tromey  <tromey@redhat.com>
3615
3616         * aclocal.m4, configure, include/config.h.in: Rebuilt.
3617         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
3618         aclocal.m4 and lost in some merge.
3619
3620         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
3621         Don't try to find graphics configuration.
3622         * java/awt/Toolkit.java (default_toolkit_name): Use new
3623         Configuration entry.
3624         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
3625         New global.
3626         * configure: Rebuilt.
3627         * configure.in (TOOLKIT): New subst.
3628         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
3629         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
3630         directory.  Make output directories for .c files.
3631         * Makefile.in: Rebuilt.
3632         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
3633         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
3634         (all_java_source_files): Added new sources.
3635         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
3636         (gtk_c_files): New macro.
3637         (gtk_c_source_files): New macro.
3638         (cond_gtk_ltlibrary): New macro.
3639         ($(gtk_c_files)): New target.
3640         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
3641         (gtk_awt_peer_sources): New macro.
3642         (gtk_c_headers): New macro.
3643         ($(gtk_c_headers)): New target.
3644         (ACLOCAL_AMFLAGS): New macro.
3645         * gtk.m4, glib.m4, libart.m4: New files.
3646         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
3647         gnu/java/awt/peer/gtk/GdkGraphics.java,
3648         gnu/java/awt/peer/gtk/GtkArg.java,
3649         gnu/java/awt/peer/gtk/GtkArgList.java,
3650         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3651         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
3652         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
3653         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3654         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3655         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3656         gnu/java/awt/peer/gtk/GtkClipboard.java,
3657         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3658         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3659         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
3660         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3661         gnu/java/awt/peer/gtk/GtkFontPeer.java,
3662         gnu/java/awt/peer/gtk/GtkFramePeer.java,
3663         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
3664         gnu/java/awt/peer/gtk/GtkImage.java,
3665         gnu/java/awt/peer/gtk/GtkImagePainter.java,
3666         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3667         gnu/java/awt/peer/gtk/GtkListPeer.java,
3668         gnu/java/awt/peer/gtk/GtkMainThread.java,
3669         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3670         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
3671         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3672         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3673         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
3674         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
3675         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3676         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3677         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3678         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3679         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3680         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3681         gnu/java/awt/peer/gtk/GtkToolkit.java,
3682         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3683         gnu/java/awt/peer/gtk/TestAWT.java,
3684         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
3685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
3686         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
3687         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3688         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
3689         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
3690         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
3691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3692         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3693         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3694         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
3695         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
3696         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3697         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
3698         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3699         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3700         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
3701         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3702         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3703         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
3704         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3705         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
3706         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
3707         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3708         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3709         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
3710         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3711         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3712         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
3713         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
3714         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
3715         jni/classpath/native_state.c, jni/classpath/native_state.h,
3716         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
3717
3718 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
3719
3720         * java/util/Properties.java (load): Ignore backslash before EOF.
3721
3722 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
3723
3724         * java/lang/natClass.cc (initializeClass): Check tables when
3725         (state == JV_STATE_IN_PROGRESS).
3726         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
3727         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
3728         interpreted classes.
3729         (linkClass0): Use _Jv_WaitForState.
3730
3731 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
3732
3733         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
3734         object when finished.
3735
3736 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
3737
3738         * libjava/configure.host: Disable can_unwind_signal on darwin.
3739
3740 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
3741
3742         Fixes PR java/9254:
3743         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
3744         additionally containing id of the owner thread as well as
3745         the number of nested times the thread has acquired the mutex.
3746         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
3747         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
3748         (_Jv_MutexUnlock): Check if really the owner thread, reset
3749         owner thread id to 0 before leaving, if leaving for the last
3750         time.
3751         (_Jv_MutexLock): Set owner thread id in the mutex and increment
3752         refcount.
3753         (_Jv_ThreadYield): Yield using a call to Sleep(0).
3754         * win32-threads.cc (_Jv_CondWait): Check if really owner of
3755         the passed mutex.
3756         Pass handle of the broadcast event, instead of a pointer to it
3757         in Win32 ResetEvent( ) call.
3758         Remove incorrect return values.
3759         (_Jv_CondDestroy): Close both event handles and delete
3760         critical section.
3761         (_Jv_CondNotify): Check if really the owner thread.
3762         (_Jv_CondNotifyAll): Check if really the owner thread.
3763         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
3764         (really_start): Use SetEvent( ) to signal daemon_cond.
3765         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
3766         WaitForSingleObject( ) instead to wait for daemon_cond to be
3767         signalled.
3768
3769 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
3770
3771         * configure.in: Specifically define HAVE_BACKTRACE if building
3772         for MinGW.
3773         * include/win32.h: Remove HAVE_BACKTRACE definition.
3774         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
3775         * configure: Rebuilt.
3776
3777 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
3778
3779         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
3780         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
3781         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
3782         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
3783         * Makefile.in, configure: Rebuilt.
3784
3785 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
3786
3787         Fixes PR java/9253:
3788         * java/io/natFileWin32.cc (performList): Append only "*.*"
3789         if the canonical file path already has a "\" at the end.
3790
3791 2003-01-24  Tom Tromey  <tromey@redhat.com>
3792
3793         * defineclass.cc (handleMethodsEnd): Precompute code for static
3794         method.
3795         (handleCodeAttribute): Likewise.
3796         * resolve.cc (ncode): Use run_class for unsynchronized static
3797         methods.
3798         * include/java-interp.h (class _Jv_InterpMethod): Declare
3799         run_class.
3800         * interpret.cc (run_synch_class): Initialize class.
3801         (run) [insn_invokestatic]: Don't initialize class.
3802         [insn_anewarray]: Likewise.
3803         [insn_multianewarray]: Likewise.
3804         (run_class): New function.
3805
3806 2003-01-24  Tom Tromey  <tromey@redhat.com>
3807
3808         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
3809         comment.
3810
3811 2003-01-22  Andrew Haley  <aph@redhat.com>
3812
3813         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
3814         * configure.host (CHECKREFSPEC): Define for x86_64.
3815
3816 2003-01-21  Tom Tromey  <tromey@redhat.com>
3817
3818         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
3819         search at 2, not 3.
3820
3821 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
3822
3823         * java/io/natFileWin32.cc (isAbsolute): Check path length before
3824         looking at any characters.
3825         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
3826         be used.
3827         (isAbsolute): Check path's length as well.
3828
3829 2003-01-17  Mark Wielaard  <mark@klomp.org>
3830
3831         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
3832         (nat_source_files): Add natVMObjectStreamClass.cc.
3833         * Makefile.in: Regenerated.
3834         * gcj/javaprims.h (namespace java): Regenerated.
3835         * java/io/ObjectStreamClass.java (getClassUID): Call
3836         VMObjectStreamClass.hasClassInitializer().
3837         (hasClassInitializer): Removed.
3838         * java/io/VMObjectStreamClass.java: New class.
3839         * java/io/natVMObjectStreamClass.cc: New file.
3840         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
3841
3842 2003-01-16  Mark Wielaard  <mark@klomp.org>
3843
3844         * java/net/SocketImpl.java (toString): Don't explicitly call
3845         toString() on possible null address.
3846
3847 2003-01-16  Michael Koch  <konqueror@gmx.de>
3848
3849         * java/net/MulticastSocket.java
3850         (setInterface): Reindented.
3851
3852 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
3853
3854         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
3855         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
3856         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
3857         translateY arguments.  Implement.
3858         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
3859         down translation arguments.
3860         (drawPolyline, drawPolygon): Fix incorrect tests.
3861         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
3862         translateX and translateY arguments.
3863
3864 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
3865
3866         * Makefile.in: Rebuilt.
3867         * Makefile.am (xlib_includes): New macro.
3868         (INCLUDES): Use it.
3869
3870 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
3871
3872         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
3873         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
3874         16-bit display mode.
3875
3876 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
3877
3878         * java/awt/CardLayout.java (show): Rewrote.
3879         (gotoComponent): Removed `target' argument.  Simplified code.
3880         Don't pre-compute `choice' unless `what' is FIRST or LAST.
3881         Changed all callers.
3882         (NONE): Removed.
3883         
3884 2003-01-14  Michael Koch  <konqueror@gmx.de>
3885
3886         * java/net/InetSocketAddress.java
3887         (serialVersionUID): New member variable.
3888         * java/net/NetPermission.java
3889         (NetPermission): Dont implement java.io.Serialization directly.
3890         * java/net/SocketAddress.java:
3891         (serialVersionUID): Documentation added.
3892         
3893 2003-01-14  Michael Koch  <konqueror@gmx.de>
3894
3895         * java/awt/Label.java
3896         (Label): Implements javax.accessibility.Accessible;
3897         * java/awt/List.java
3898         (List): Implements javax.accessibility.Accessible;
3899         * java/awt/ScrollPane.java
3900         (ScrollPane): Implements javax.accessibility.Accessible;
3901         * java/awt/Scrollbar.java
3902         (Scrollbar): Implements javax.accessibility.Accessible;
3903         * java/awt/TextComponent.java
3904         (setCaretPosition): Throw exception, documentation added.
3905         * java/awt/Toolkit.java:
3906         Added some newlines in method documentations.
3907         (createButton): Exception documentation added.
3908         (createTextField): Exception documentation added.
3909         (createLabel): Exception documentation added.
3910         (createList): Exception documentation added.
3911         (createCheckbox): Exception documentation added.
3912         (createScrollbar): Exception documentation added.
3913         (createScrollPane): Exception documentation added.
3914         (createTextArea): Exception documentation added.
3915         (createChoice): Exception documentation added.
3916         (createFrame): Exception documentation added.
3917         (createWindow): Exception documentation added.
3918         (createDialog): Exception documentation added.
3919         (createMenuBar): Exception documentation added.
3920         (createMenu): Exception documentation added.
3921         (createMenuItem): Exception documentation added.
3922         (createFileDialog): Exception documentation added.
3923         (createCheckboxMenuItem): Exception documentation added.
3924         (loadSystemColors): Exception documentation added.
3925         (setDynamicLayout): Exception documentation added.
3926         (isDynamicLayoutSet): Exception documentation added.
3927         (isDynamicLayoutActive): Exception documentation added.
3928         (getScreenSize): Exception documentation added.
3929         (getScreenResolution): Exception documentation added.
3930         (getScreenInsets): Exception documentation added.
3931         (getColorModel): Exception documentation added.
3932         (getSystemClipboard): Exception documentation added.
3933         (getSystemSelection): Exception documentation added.
3934         (getMenuShortcutKeyMask): Exception documentation added.
3935         (getSystemEventQueue): Exception documentation added.
3936         * java/awt/Window.java:
3937         Reindented some code.
3938         (Window): Centralized implementation, documentation added.
3939         (finalize): Documentation added.
3940         (hide): Fixed typo in comment.
3941         (getWindowListeners): Documentation added.
3942         * java/awt/color/ColorSpace.java
3943         (toRGB): Documentation added.
3944         * java/awt/color/ICC_ColorSpace.java
3945         (ICC_ColorSpace): Documentation added.
3946         (toRGB): Throw exception, documentation added.
3947         (fromRGB): Throw exception, documentation added.
3948         (toCIEXYZ): Documentation added.
3949         (fromCIEXYZ): Documentation added.
3950         (getMinValue): Documentation added.
3951         (getMaxValue): Documentation added.
3952         * java/awt/geom/Dimension2D.java
3953         (clone): Documentation added.
3954         * java/awt/geom/GeneralPath.java
3955         (clone): Documentation added.
3956         * java/awt/geom/Line2D.java
3957         (clone): Documentation added.
3958         * java/awt/geom/QuadCurve2D.java
3959         (clone): Documentation added.
3960         * java/awt/image/ColorModel.java
3961         (ColorModel): Throw exception, documentation added.
3962         * java/awt/image/ImageFilter.java
3963         (clone): Doesnt throw CloneNotSupportedException.
3964
3965 2003-01-14  Andrew Haley  <aph@redhat.com>
3966
3967         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
3968         in a try block.
3969
3970 2003-01-10  Andrew Haley  <aph@redhat.com>
3971
3972         * include/dwarf2-signal.h: Remove x86_64.
3973         * configure.host (x86_64 DIVIDESPEC): Remove.
3974         * include/x86_64-signal.h: New file.
3975         * configure.in: Regenerate.
3976
3977 2003-01-10  Michael Koch  <konqueror@gmx.de>
3978
3979         * java/net/DatagramSocket.java
3980         (ch): Description added.
3981         (remotePort): Initialize with -1.
3982         (connect): Doesnt throws SocketException.
3983         * java/net/MulticastSocket.java
3984         (setInterface): Merge with Classpath.
3985         * java/net/ServerSocket.java
3986         (closed): New member variable.
3987         (bind): Check if socket is closed.
3988         (close): Close an associated channel too, set new value to closed.
3989         (isBound): Reindented.
3990         (isClosed): Implemented.
3991         * java/net/Socket.java
3992         (closed): New member variable.
3993         (bind): Check if socket is closed.
3994         (connect): Check if socket is closed.
3995         (close): Close an associated channel too, set new value to closed.
3996         (isClosed): Implemented.
3997
3998 2003-01-10  Michael Koch  <konqueror@gmx.de>
3999
4000         * java/awt/DisplayMode.java
4001         (equals): Fixed argument type and implementation.
4002
4003 2003-01-07  Tom Tromey  <tromey@redhat.com>
4004
4005         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
4006         JV_HASH_SYNCHRONIZATION.
4007         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
4008         JV_HASH_SYNCHRONIZATION.
4009
4010 2003-01-07  Michael Koch  <konqueror@gmx.de>
4011  
4012         * java/net/DatagramSocket.java:
4013         Added classpath license info.
4014         (DatagramSocket): Merged description with classpath.
4015         (close): Merged description with classpath.
4016         (getChannel): Merged description with classpath.
4017         (getInetAddress): Merged description with classpath.
4018         (getPort): Merged description with classpath.
4019         (getLocalAddress): Merged description with classpath.
4020         (getLocalPort): Merged description with classpath.
4021         (getSoTimeout): Merged description with classpath.
4022         (setSoTimeout): Merged description with classpath.
4023         (getSendBufferSize): Merged description with classpath.
4024         (setSendBufferSize): Merged description with classpath.
4025         (getReceiveBufferSize): Merged description with classpath.
4026         (setReceiveBufferSize): Merged description with classpath.
4027         
4028 2003-01-04  Tom Tromey  <tromey@redhat.com>
4029
4030         * java/awt/List.java: Merged with Classpath.
4031
4032 2003-01-03  Mark Wielaard  <mark@klomp.org>
4033
4034         * java/io/FileDescriptor.java (position): New private field.
4035         * java/io/natFileDescriptorPosix.cc (write): Up position.
4036         (setLength): Use and set position.
4037         (seek): Set position.
4038         (getFilePointer): Return position.
4039         (read): Up position.
4040
4041 2003-01-03  Mark Wielaard  <mark@klomp.org>
4042
4043         Merge with Classpath:
4044         * java/io/ObjectStreamClass.java (lookup): Split method and call
4045         lookupForClassObject().
4046         (lookupForClassObject): New method.
4047         (isProxyClass): New field.
4048         (setClass): Set isProxyClass, add object to classLookupTable, set
4049         superClass and calculateOffsets.
4050         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
4051         and not a proxy class.
4052         (setFields): Set accessible true for serialPersistentFields.
4053         (getClassUID): Same for suid. And check if suid is of type long.
4054         (hasClassInitializer): Don't throw NoSuchMethodError.
4055
4056 2003-01-03  Mark Wielaard  <mark@klomp.org>
4057
4058         * java/io/FileInputStream.java (finalize): Don't explicitly
4059         finalize FileDescriptor.
4060
4061 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
4062
4063         * configure.host (sparc*-*): Enable bytecode interpreter.
4064
4065 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
4066
4067         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
4068         Don't throw RemoteException.
4069         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
4070         throw RemoteException.
4071
4072 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
4073
4074         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
4075         proxyHost): New static fields.
4076         (<clinit>): Initialize new fields.
4077         (connect): Use proxy if necessary.
4078         (usingProxy): Implement.
4079
4080 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
4081
4082         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
4083         (TreeIterator.remove): Prefer IllegalStateException over
4084         ConcurrentModificationException, to match Sun.
4085
4086 2002-12-22  Anthony Green  <green@redhat.com>
4087
4088         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
4089
4090 2003-01-02  Mark Wielaard  <mark@klomp.org>
4091
4092         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
4093         public.
4094         (HTTP_USE_PROXY): Add field.
4095         (getResponseVals): Only set responseCode when not yet explicitly
4096         set by subclass.
4097
4098 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
4099             Mark Wielaard  <mark@klomp.org>
4100
4101         * java/util/zip/ZipFile.java (entries): Now HashMap.
4102         (readLeShort(DataInput, byte[])): Read from given byte array.
4103         (readLeInt(DataInput, byte[]): Likewise.
4104         (readLeShort(byte[] b, int off)): New method.
4105         (readLeInt(byte[] b, int off)): Likewise.
4106         (readEntries): Use byte arrays to read info in bigger chunks.
4107         (getEntries): Return HashMap.
4108         (getEntry): Use HashMap.
4109         (locBuf): New private field.
4110         (checkLocalHeader): Use locBuf to read info in one chunk.
4111         (getInputStream): Use entries HashMap, wrap PartialInputStream
4112         in BufferedInputStream.
4113         (ZipEntryEnumeration): Use HashMap and Interator.
4114
4115 2003-01-02  Mark Wielaard  <mark@klomp.org>
4116             Jeroen Frijters  <jeroen@sumatra.nl>
4117
4118         * java/net/URLClassLoader.java (Resource.getCodeSource):
4119         Fix check certs == null.
4120         (getCanonicalFileURL): Removed method.
4121         (JarURLLoader): Don't call removed method.
4122         (FileURLLoader): Likewise.
4123         (FileURLLoader.getResource): Don't canonicalize file name.
4124
4125 2003-01-01  Tom Tromey  <tromey@redhat.com>
4126
4127         * Makefile.in: Rebuilt.
4128         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
4129         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
4130         java/awt/BufferCapabilities.java, java/awt/Button.java,
4131         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
4132         java/awt/Container.java, java/awt/Cursor.java,
4133         java/awt/EventQueue.java, java/awt/FileDialog.java,
4134         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
4135         java/awt/MenuBar.java, java/awt/MenuComponent.java,
4136         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
4137         java/awt/Scrollbar.java, java/awt/TextArea.java,
4138         java/awt/TextField.java, java/awt/color/CMMException.java,
4139         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
4140         java/awt/color/ProfileDataException.java,
4141         java/awt/datatransfer/Clipboard.java,
4142         java/awt/datatransfer/DataFlavor.java,
4143         java/awt/datatransfer/FlavorMap.java,
4144         java/awt/datatransfer/SystemFlavorMap.java,
4145         java/awt/dnd/DragGestureEvent.java,
4146         java/awt/dnd/DragGestureRecognizer.java,
4147         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
4148         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
4149         java/awt/im/InputMethodHighlight.java,
4150         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
4151         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
4152
4153         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
4154         `op' to BufferedImageOp.
4155
4156 2002-12-31  Tom Tromey  <tromey@redhat.com>
4157
4158         Fix for PR libgcj/7416:
4159         * javax/naming/InitialContext.java (init): Use
4160         gnu.classpath.home.url.
4161         * java/security/Security.java: Use new properties.
4162         (loadProviders): Accept base url; use it.
4163         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
4164         gnu.classpath.home.url.
4165         (gnu.classpath.home.url): Define.
4166         (gnu.classpath.vm.shortname): Likewise.
4167
4168 2002-12-31  Tom Tromey  <tromey@redhat.com>
4169             Ranjit Mathew  <rmathew@hotmail.com>
4170
4171         Fix for PR libgcj/8997:
4172         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
4173         Include platform.h.
4174         * include/posix.h (_Jv_platform_usleep): New function.
4175         * include/win32.h (_Jv_platform_usleep): New function.
4176
4177 2002-12-29  Tom Tromey  <tromey@redhat.com>
4178
4179         * gcj/javaprims.h: Updated.
4180         * scripts/classes.pl (scan): Removed stray semicolon.
4181
4182 2002-12-30  Mark Wielaard  <mark@klomp.org>
4183
4184         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
4185         if zero or smaller.
4186
4187 2002-12-30  Mark Wielaard  <mark@klomp.org>
4188
4189         * java/util/Properties (formatForOutput): Don't fall through to
4190         default case after escaping character.
4191
4192 2002-12-30  Mark Wielaard  <mark@klomp.org>
4193
4194         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
4195         against count.
4196
4197 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
4198
4199         * boehm.cc: Remove stray semicolon.
4200         * interpret.cc: Likewise.
4201         * prims.cc: Likewise.
4202         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
4203         earlier to ensure default arguments are processed.
4204         * gcj/array.h (JArray): Add forward declaration.
4205         (elements): Likewise.
4206         * gcj/javaprim.h: Remove stray semicolons.
4207         * include/bohm-gc.h: Likewise.
4208         * include/jni.h: Likewise.
4209         * include/jvm.h: Likewise.
4210         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
4211         
4212 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
4213
4214         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
4215         of catch_type.
4216         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
4217         idt tables after initializing superclass.
4218         * java/lang/natClassLoader.cc (uaddr): New typedef.
4219         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
4220         if they are constant pool indicies.  Don't link vtable, otable yet.
4221
4222 2002-12-21  Anthony Green  <green@redhat.com>
4223
4224         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
4225         libraries.
4226         * Makefile.in: Rebuilt.
4227
4228 2002-12-19  Anthony Green  <green@redhat.com>
4229
4230         * Makefile.am (ordinary_java_source_files): Add
4231         org/xml/sax/helpers/NewInstance.java.
4232         * Makefile.in: Rebuilt.
4233         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
4234         org/xml/sax/helpers/package.html: New files.
4235         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
4236         http://www.saxproject.org.
4237
4238 2002-12-19  Andrew Haley  <aph@redhat.com>
4239
4240         * java/util/natResourceBundle.cc: Include
4241         ArrayIndexOutOfBoundsException.h.
4242         (getCallingClassLoader): Don't put upper bound on stack search.
4243         Catch ArrayIndexOutOfBoundsException.
4244
4245 2002-12-19  Tom Tromey  <tromey@redhat.com>
4246
4247         * libtool-version: Increased `current'.
4248
4249 2002-12-19  Tom Tromey  <tromey@redhat.com>
4250
4251         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
4252         comment.
4253         * java/lang/ClassLoader.java (defineClass): Use chained
4254         exception when rethrowing.
4255         * defineclass.cc (handleClassBegin): Mark class as interpreted.
4256         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
4257         constants.
4258         * resolve.cc (_Jv_PrepareMissingMethods): New function.
4259         (_Jv_PrepareClass): Use it.
4260         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
4261         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
4262         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
4263         (Class): _Jv_PrepareMissingMethods now friend.
4264         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
4265         Record `NULL' for system class loader.
4266         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
4267         system class loader.
4268         (_Jv_FindClassInCache): Likewise.
4269         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
4270         (_Jv_FindClass): Special case system class loader.
4271         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
4272         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
4273         vtable slots.
4274         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
4275         in a final class.
4276         (_getDeclaredMethod): Don't return synthetic methods.
4277         (getDeclaredMethods): Likewise.
4278         (_getMethod): Likewise.
4279         (_getMethods): Likewise.
4280
4281 2002-12-18  Raif Naffah  <raif@fl.net.au>
4282
4283         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
4284         canonical form after divide().
4285         (modInverse): Likewise.
4286
4287 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
4288             Mark Wielaard  <mark@klomp.org>
4289
4290         * java/security/SecurityRandom (digest): Removed field.
4291         (SecureRandom): Check all providers for case-insensitive SecureRandom
4292         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
4293         if necessary.
4294         (getInstance(String,Provider,boolean): New method.
4295         (getInstance(String)): Use new method.
4296         (getInstance(String,String)): Likewise.
4297         (getInstance(String,Provider)): Likewise.
4298
4299 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
4300
4301         * java/security/Security.java (loadProviders): Increment i only once.
4302
4303 2002-12-12  Mark Wielaard  <mark@klomp.org>
4304
4305         * java/lang/ClassLoader.java (resolveClass0): Transform
4306         ClassNotFoundException to NoClassDefFoundError. Transform all other
4307         throwables to LinkageError.
4308
4309 2002-12-11  Tom Tromey  <tromey@redhat.com>
4310
4311         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
4312
4313         * java/lang/ClassLoader.java (loadedClasses): New field.
4314         (defineClass): Fixed indentation.  Put new class in
4315         loadedClasses.
4316         (findLoadedClass): Implement here.
4317         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
4318
4319 2002-12-10  Tom Tromey  <tromey@redhat.com>
4320
4321         * Makefile.in: Rebuilt.
4322         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
4323         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
4324         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
4325         * java/lang/natClassLoader.cc
4326         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
4327
4328 2002-12-10  Mark Wielaard  <mark@klomp.org>
4329             Tom Tromey  <tromey@redhat.com>
4330
4331         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
4332         (JarURLLoader): Use it.
4333         (FileURLLoader): Likewise.
4334         (JarURLResource.getURL): Use chained exception.
4335         (FileResource.getURL): Likewise.
4336         (FileURLLoader.getResource): Use canonical file name.
4337         (addURL): Indentation fix.
4338
4339 2002-12-10  Tom Tromey  <tromey@redhat.com>
4340
4341         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
4342         From Laurent Bardet <l.bardet@magic.fr>.
4343
4344 2002-12-09  Tom Tromey  <tromey@redhat.com>
4345
4346         * include/win32.h (_Jv_platform_solib_prefix): New define.
4347         (_Jv_platform_solib_suffix): Likewise.
4348         * include/posix.h (_Jv_platform_solib_prefix): New define.
4349         (_Jv_platform_solib_suffix): Likewise.
4350         * java/lang/natRuntime.cc: Include StackTrace.h.
4351         (_load): Use findLibrary and new platform defines.
4352         (nativeGetLibname): Use new platform defines.
4353
4354         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
4355         `t' won't be null.
4356
4357 2002-12-08  Mark Wielaard  <mark@klomp.org>
4358
4359         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
4360         cache remote jar files.
4361         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
4362         add File.separator to URL when it is a directory.
4363         * java/lang/ClassLoader.java: Add Classpath javadoc.
4364         (parent): final.
4365         (getParent): Add (disabled) security check.
4366         (findLibrary): New default method.
4367         * java/net/JarURLConnection.java (getManifest): Implement.
4368         (getInputStream): Only create InputStream when entry exists.
4369         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
4370         when they exist.
4371         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
4372
4373 2002-12-08  Mark Wielaard  <mark@klomp.org>
4374
4375         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
4376         (lastDefaultLocale): New field.
4377         (getBundle): When Locale.getDefault != lastDefaultLocale reset
4378         resourceBundleCache.
4379
4380 2002-12-06  Mark Wielaard  <mark@klomp.org>
4381
4382         * java/net/InetAddress.java (toString): Use hostname when not null,
4383         don't do an explicit reverse getHostName() lookup.
4384         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
4385         NullPointerException.
4386
4387 2002-12-06  Tom Tromey  <tromey@redhat.com>
4388
4389         * include/java-interp.h (class _Jv_InterpMethod): Added
4390         JV_MARKOBJ_DECL.
4391         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
4392         mark `prepared' field of interpreted method.
4393         * interpret.cc (compile): Use _Jv_AllocBytes.
4394
4395 2002-12-05  Andrew Haley  <aph@redhat.com>
4396
4397         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
4398         #ifdef (HAVE_BACKTRACE) around the whole function body.
4399
4400 2002-12-05  Tom Tromey  <tromey@redhat.com>
4401
4402         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
4403         * resolve.cc: Don't include AbstractMethodError.h.
4404         (_Jv_abstractMethodError): Removed.
4405         * defineclass.cc (handleMethodsBegin): Initialize method index to
4406         -1.
4407         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
4408         method index for "new" final method.
4409         (_Jv_SetVTableEntries): Compare index against -1 instead of using
4410         isVirtualMethod.  Added `flags' argument.
4411         (_Jv_MakeVTable): Throw exception for abstract method in concrete
4412         class.
4413
4414 2002-12-04  Tom Tromey  <tromey@redhat.com>
4415
4416         * java/net/SocketPermission.java (hashCode): Rewrote.
4417
4418 2002-12-04  Tom Tromey  <tromey@redhat.com>
4419
4420         * Makefile.in: Rebuilt.
4421         * Makefile.am (nat_source_files): Added natVMSecurityManager,
4422         natResourceBundle.
4423         * java/util/ResourceBundle.java (Security): Removed.
4424         (getCallingClassLoader): Now native.
4425         * java/util/natResourceBundle.cc: New file.
4426         * java/lang/natVMSecurityManager.cc: New file.
4427         * java/lang/VMSecurityManager.java (getClassContext): Now native.
4428
4429 2002-12-03  Mark Wielaard  <mark@klomp.org>
4430
4431         * java/util/jar/JarFile.java (manifest): Not final.
4432         (manifestRead): New field.
4433         (JarFile): Don't read Manifest in constructor.
4434         (getManifest): New method.
4435         (JarEnumeration.nextElement): Use new method.
4436         (getEntry): Likewise.
4437         * java/util/zip/ZipFile.java (name): Final.
4438         (raf): Likewsie.
4439         (entries): Change type to Hashtable.
4440         (closed): New field.
4441         (ZipFile): Don't read enties in constructor.
4442         (readEntries): Use Hashtable.
4443         (close): Set new close flag and set entries to null inside
4444         synchronized block.
4445         (entries): Contruct enumeration using new getEntries() method and
4446         entries Hashtable.
4447         (getEntryIndex): Removed.
4448         (getEntries): New method.
4449         (getEntry): Use new getEntries() method and entries Hastable.
4450         (getInputStream): Likewise.
4451         (size): Return getEntries().size().
4452         (ZipEntryEnumeration): Wrap entries Hashtable elements.
4453         * java/util/zip/ZipEntry.java (cal): Don't initialize.
4454         (time): Removed
4455         (dostime): New field.
4456         (zipFileIndex): Removed.
4457         (ZipEntry(ZipEntry)): Copy dostime.
4458         (setDOSTime): Now final and doesn't convert dos time.
4459         (getDOSTime): Likewise.
4460         (setTime): Convert dos time.
4461         (getTime): Likewise.
4462         (getCalendar): New method.
4463         (setExtra): Use setTime().
4464         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
4465
4466 2002-12-03  Tom Tromey  <tromey@redhat.com>
4467
4468         * java/lang/Character.java (forDigit): Formatting fix.
4469
4470 2002-12-03  Raif Naffah  <raif@fl.net.au>
4471
4472         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
4473         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
4474         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
4475
4476 2002-12-03  Andrew Haley  <aph@redhat.com>
4477
4478         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
4479         _Jv_PushClass.
4480         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
4481         (_Jv_PopClass): New.
4482         (_Jv_PushClass): New.
4483         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
4484         discover the ClassLoader of our caller.
4485         (_Jv_CheckArrayStore): Don't check that a class is assignment
4486         compatible with Object.
4487         * java/lang/natVMTHrowable.cc: Delete.
4488         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
4489         java.lang.VMThrowable.
4490         (StackTrace(), StackTrace(int)): New constructors.
4491         (classAt, methodAt, update, methodAtAddress): New methods.
4492         (map): New field.
4493         * java/lang/VMThrowable.java: Use StackTrace instead of
4494         natVMTHrowable.
4495         * java/lang/Class.h (getClassLoaderInternal): New.
4496         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
4497         Be friendly with gnu::gcj::runtime::StackTrace.
4498         (Object.chain): New field.
4499         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
4500         gnu::gcj::runtime::StackTrace.
4501         * gnu/gcj/runtime/natStackTrace.cc: New file.
4502         * gnu/gcj/runtime/MethodRef.java: New file.
4503         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
4504         instead of getClassLoader().
4505         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
4506         java::lang::VMThrowable.
4507         * Makefile.am (core_java_source_files): Add MethodRef.java,
4508         StackTrace.java.
4509         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
4510         * Makefile.in: Rebuild.
4511
4512 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
4513
4514         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
4515         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
4516         yes also for sh-linux* and sh[34]*-linux*.
4517         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
4518         set SIGNAL_HANDLER to use DWARF2 exception for them.
4519         * configure: Regenerate.
4520
4521 2002-12-02  Tom Tromey  <tromey@redhat.com>
4522
4523         * jni.cc: Added `name' argument.
4524         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
4525         `const char *' argument.
4526         (class _Jv_JNIEnv) [DefineClass]: Likewise.
4527
4528 2002-12-01  Tom Tromey  <tromey@redhat.com>
4529
4530         Bug compatibility, for PR libgcj/8738:
4531         * java/io/CharArrayWriter.java (close): Do nothing.
4532         (flush): Likewise.
4533         (reset): Don't touch `closed'.
4534         (write(int)): Don't throw IOException.
4535         (write(char[],int,int)): Likewise.
4536         (write(String,int,int)): Likewise.
4537         (closed): Removed.
4538
4539 2002-12-01  Mark Wielaard  <mark@klomp.org>
4540
4541         * java/lang/SecurityManager.java: Remerge comments, indenting and
4542         checkXXX methods with Classpath.
4543
4544 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
4545
4546         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
4547         getNormalizedComponents): Fix calculation which was using one too
4548         many bits in the unnormalized format.
4549
4550 2002-11-29  Gary Benson  <gbenson@redhat.com>
4551
4552         For PR libgcj/8759:
4553         * java/beans/Introspector.java (flushCaches): New method.
4554         (flushFromCaches): Likewise.
4555
4556 2002-11-29  Michael Koch <konqueror@gmx.de>
4557
4558         * java/nio/channels/DatagramChannel.java
4559         (open): Added exception documentation.
4560         (write): Added exception documentation.
4561         (connect): Added exception documentation.
4562         (disconnect): Added exception documentation.
4563         (isConnected): Added exception documentation.
4564         (read): Added exception documentation.
4565         (receive): Added exception documentation.
4566         (send): Added exception documentation.
4567         (validOps): Added exception documentation.
4568         * java/nio/channels/SocketChannel.java
4569         (open): Added exception documentation.
4570         (read): Added exception documentation.
4571         (write): Added exception documentation.
4572         (connect): Added exception documentation.
4573         (finishConnect): Added exception documentation.
4574
4575 2002-11-29  Michael Koch <konqueror@gmx.de>
4576
4577         * gnu/java/nio/DatagramChannelImpl:
4578         (fd): New member variable to store file descriptor of socket.
4579         * gnu/java/nio/SelectionKeyImpl.java:
4580         (ops): Removed.
4581         (readyOps): New member variable.
4582         (interestOps): New member variable.
4583         (readyOps): Implemented.
4584         (readyOps): New method to set member variable readyOps.
4585         (interestOps): Replaced ops by interestOps.
4586         * gnu/java/nio/SelectorImpl.java:
4587         (SelectorImpl): Initialize key sets.
4588         (select): Call select with -1 instead of Long.MAX_VALUE).
4589         (java_do_select): Make it a native method.
4590         (getFDsAsArray): New helper method.
4591         (select): Remove canceled keys, give only interested file discriptors
4592         to java_do_select, set ready ops.
4593         (add): No need to initialize keys set here.
4594         (add_selected): No need to initialize selected set here.
4595         (deregisterCanceledKeys): New helper method.
4596         (register): Set interest ops, set attachments, added handling of datagram
4597         channels.
4598         * gnu/java/nio/ServerSocketChannelImpl:
4599         (SocketAccept): Renamed from NioSocketAccept.
4600         (implConfigureBlocking): Implemented.
4601         (accept): Use SocketAccept instead of NioSocketAccept.
4602         * gnu/java/nio/SocketChannelImpl:
4603         Reactivate native methods.
4604
4605 2002-11-29  Michael Koch <konqueror@gmx.de>
4606
4607         * gnu/java/nio/natByteBufferImpl.cc,
4608         gnu/java/nio/natCharBufferImpl.cc,
4609         gnu/java/nio/natDoubleBufferImpl.cc,
4610         gnu/java/nio/natFloatBufferImpl.cc,
4611         gnu/java/nio/natIntBufferImpl.cc,
4612         gnu/java/nio/natLongBufferImpl.cc,
4613         gnu/java/nio/natSelectorImpl.cc,
4614         gnu/java/nio/natServerSocketChannelImpl.cc,
4615         gnu/java/nio/natShortBufferImpl.cc,
4616         gnu/java/nio/natSocketChannelImpl.cc:
4617         New files that implement native functionalities.
4618
4619 2002-11-29  Michael Koch <konqueror@gmx.de>
4620
4621         * gnu/java/nio/ByteBufferImpl.java
4622         (ByteBufferImpl): Moved position() after limit.
4623         (nio_*): Use native implementation.
4624         * gnu/java/nio/CharBufferImpl.java:
4625         Reformated.
4626         (endian): New member variable string endianess of buffer.
4627         (CharBufferImpl): Moved position() after limit.
4628         (nio_*): Use native implementation.
4629         (subSequence): Implemented.
4630         * gnu/java/nio/DoubleBufferImpl.java
4631         (DoubleBufferImpl): Moved position() after limit.
4632         (nio_*): Use native implementation.
4633         * gnu/java/nio/FloatBufferImpl.java
4634         Reformated.
4635         (FloatBufferImpl): Moved position() after limit.
4636         (nio_*): Use native implementation.
4637         * gnu/java/nio/IntBufferImpl.java
4638         Added needed imports, Reformated.
4639         (IntBufferImpl): Moved position() after limit.
4640         (nio_*): Use native implementation.
4641         * gnu/java/nio/LongBufferImpl.java
4642         Reformated.
4643         (LongBufferImpl): Moved position() after limit.
4644         (nio_*): Use native implementation.
4645         * gnu/java/nio/ShortBufferImpl.java
4646         Reformated.
4647         (ShortBufferImpl): Moved position() after limit.
4648         (nio_*): Use native implementation.
4649
4650 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
4651
4652         * java/util/Locale.java (toString): Improve efficiency if country
4653         and variant are both empty.
4654
4655 2002-11-26  Tom Tromey  <tromey@redhat.com>
4656
4657         * verify.cc (pop_init_ref): New method.
4658         (verify_instructions_0) [op_iaload, op_laload, op_faload,
4659         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
4660         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
4661         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
4662         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
4663         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
4664         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
4665         let `this' argument be uninitialized.  Don't let `null' be passed
4666         as `this' to construtor.
4667
4668 2002-11-26  Mark Wielaard  <mark@klomp.org>
4669
4670         * javax/transaction/HeuristicCommitException.java: Classpath merge.
4671         * javax/transaction/HeuristicMixedException.java: Likewise.
4672         * javax/transaction/HeuristicRollbackException.java: Likewise.
4673         * javax/transaction/InvalidTransactionException.java: Likewise.
4674         * javax/transaction/NotSupportedException.java: Likewise.
4675         * javax/transaction/RollbackException.java: Likewise.
4676         * javax/transaction/Status.java: Likewise.
4677         * javax/transaction/Synchronization.java: Likewise.
4678         * javax/transaction/SystemException.java: Likewise.
4679         * javax/transaction/Transaction.java: Likewise.
4680         * javax/transaction/TransactionManager.java: Likewise.
4681         * javax/transaction/TransactionRequiredException.java: Likewise.
4682         * javax/transaction/TransactionRolledbackException.java: Likewise.
4683         * javax/transaction/UserTransaction.java: Likewise.
4684         * javax/transaction/xa/XAException.java: Likewise.
4685         * javax/transaction/xa/XAResource.java: Likewise.
4686         * javax/transaction/xa/Xid.java: Likewise.
4687
4688 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
4689
4690         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
4691         define.
4692         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
4693         * include/posix.h (socklen_t): Define if not already defined.
4694
4695 2002-11-25  Tom Tromey  <tromey@redhat.com>
4696
4697         * verify.cc (type::compatible): Backed out broken change.
4698
4699         * verify.cc (type::compatible): Check initialization status
4700         first.
4701         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
4702         Don't use NULLCHECK.
4703
4704 2002-11-23  H.J. Lu <hjl@gnu.org>
4705
4706         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
4707         Include ../config/accross.m4.
4708         * aclocal.m4; Rebuild.
4709         * configure: Likewise.
4710
4711 2002-11-23  Mark Wielaard  <mark@klomp.org>
4712
4713         * javax/naming/AuthenticationException.java: Update copyright header.
4714         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
4715         * javax/naming/Binding.java: Likewise.
4716         * javax/naming/CannotProceedException.java: Likewise.
4717         * javax/naming/CommunicationException.java: Likewise.
4718         * javax/naming/CompositeName.java: Likewise.
4719         * javax/naming/CompoundName.java: Likewise.
4720         * javax/naming/ConfigurationException.java: Likewise.
4721         * javax/naming/Context.java: Likewise.
4722         * javax/naming/ContextNotEmptyException.java: Likewise.
4723         * javax/naming/InitialContext.java: Likewise.
4724         * javax/naming/InsufficientResourcesException.java: Likewise.
4725         * javax/naming/InterruptedNamingException.java: Likewise.
4726         * javax/naming/LimitExceededException.java: Likewise.
4727         * javax/naming/LinkException.java: Likewise.
4728         * javax/naming/LinkLoopException.java: Likewise.
4729         * javax/naming/LinkRef.java: Likewise.
4730         * javax/naming/MalformedLinkException.java: Likewise.
4731         * javax/naming/NameAlreadyBoundException.java: Likewise.
4732         * javax/naming/NameClassPair.java: Likewise.
4733         * javax/naming/NameNotFoundException.java: Likewise.
4734         * javax/naming/NameParser.java: Likewise.
4735         * javax/naming/NamingEnumeration.java: Likewise.
4736         * javax/naming/NamingSecurityException.java: Likewise.
4737         * javax/naming/NoInitialContextException.java: Likewise.
4738         * javax/naming/NoPermissionException.java: Likewise.
4739         * javax/naming/NotContextException.java: Likewise.
4740         * javax/naming/OperationNotSupportedException.java: Likewise.
4741         * javax/naming/PartialResultException.java: Likewise.
4742         * javax/naming/Reference.java: Likewise.
4743         * javax/naming/Referenceable.java: Likewise.
4744         * javax/naming/ReferralException.java: Likewise.
4745         * javax/naming/ServiceUnavailableException.java: Likewise.
4746         * javax/naming/SizeLimitExceededException.java: Likewise.
4747         * javax/naming/TimeLimitExceededException.java: Likewise.
4748         * javax/naming/directory/Attribute.java: Likewise.
4749         * javax/naming/directory/AttributeInUseException.java: Likewise.
4750         * javax/naming/directory/AttributeModificationException.java: Likewise.
4751         * javax/naming/directory/Attributes.java: Likewise.
4752         * javax/naming/directory/BasicAttribute.java: Likewise.
4753         * javax/naming/directory/BasicAttributes.java: Likewise.
4754         * javax/naming/directory/DirContext.java: Likewise.
4755         * javax/naming/directory/InitialDirContext.java: Likewise.
4756         * javax/naming/directory/InvalidAttributeIdentifierException.java:
4757         Likewise.
4758         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
4759         * javax/naming/directory/InvalidAttributesException.java: Likewise.
4760         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
4761         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
4762         * javax/naming/directory/ModificationItem.java: Likewise.
4763         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
4764         * javax/naming/directory/SchemaViolationException.java: Likewise.
4765         * javax/naming/directory/SearchControls.java: Likewise.
4766         * javax/naming/directory/SearchResult.java: Likewise.
4767         * javax/naming/event/EventContext.java: Likewise.
4768         * javax/naming/event/EventDirContext.java: Likewise.
4769         * javax/naming/event/NamespaceChangeListener.java: Likewise.
4770         * javax/naming/event/NamingEvent.java: Likewise.
4771         * javax/naming/event/NamingExceptionEvent.java: Likewise.
4772         * javax/naming/event/NamingListener.java: Likewise.
4773         * javax/naming/event/ObjectChangeListener.java: Likewise.
4774         * javax/naming/ldap/Control.java: Likewise.
4775         * javax/naming/ldap/ControlFactory.java: Likewise.
4776         * javax/naming/ldap/ExtendedRequest.java: Likewise.
4777         * javax/naming/ldap/ExtendedResponse.java: Likewise.
4778         * javax/naming/ldap/HasControls.java: Likewise.
4779         * javax/naming/ldap/InitialLdapContext.java: Likewise.
4780         * javax/naming/ldap/LdapContext.java: Likewise.
4781         * javax/naming/ldap/LdapReferralException.java: Likewise.
4782         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
4783         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
4784         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
4785         * javax/naming/spi/DirObjectFactory.java: Likewise.
4786         * javax/naming/spi/DirStateFactory.java: Likewise.
4787         * javax/naming/spi/DirectoryManager.java: Likewise.
4788         * javax/naming/spi/InitialContextFactory.java: Likewise.
4789         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
4790         * javax/naming/spi/NamingManager.java: Likewise.
4791         * javax/naming/spi/ObjectFactory.java: Likewise.
4792         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
4793         * javax/naming/spi/ResolveResult.java: Likewise.
4794         * javax/naming/spi/Resolver.java: Likewise.
4795         * javax/naming/spi/StateFactory.java: Likewise.
4796
4797         * javax/naming/spi/NamingManager.java (ofb): Package private.
4798
4799 2002-11-21  Mark Wielaard  <mark@klomp.org>
4800
4801         * java/net/URL.java: Merge with Classpath (partly).
4802         * java/net/URLStreamHandler: Merge with Classpath.
4803
4804 2002-11-22  Michael Koch <konqueror@gmx.de>
4805
4806         * include/posix.h:
4807         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
4808         * include/win32.h:
4809         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
4810         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
4811
4812 2002-11-21  Michael Koch <konqueror@gmx.de>
4813
4814         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
4815         Only the new network functions should be in it.
4816
4817 2002-11-21  Michael Koch <konqueror@gmx.de>
4818
4819         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
4820         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
4821
4822 2002-11-21  Michael Koch <konqueror@gmx.de>
4823
4824         * java/nio/channels/AsynchronousCloseException.java,
4825         java/nio/channels/CancelledKeyException.java,
4826         java/nio/channels/ClosedByInterruptException.java,
4827         java/nio/channels/ConnectionPendingException.java,
4828         java/nio/channels/FileLockInterruptionException.java,
4829         java/nio/channels/IllegalSelectorException.java,
4830         java/nio/channels/NoConnectionPendingException.java,
4831         java/nio/channels/NonReadableChannelException.java,
4832         java/nio/channels/NonWritableChannelException.java,
4833         java/nio/channels/NotYetBoundException.java,
4834         java/nio/channels/NotYetConnectedException.java,
4835         java/nio/channels/OverlappingFileLockException.java,
4836         java/nio/channels/UnresolvedAddressException.java,
4837         java/nio/channels/UnsupportedAddressTypeException.java:
4838         New files.
4839         * Makefile.am (ordinary_java_source_files): Added new files.
4840         * Makefile.in: Regenerated.
4841
4842 2002-11-21  Michael Koch <konqueror@gmx.de>
4843
4844         * include/posix.h
4845         (_Jv_socket): New method.
4846         (_Jv_connect): New method.
4847         (_Jv_close): New method.
4848         (_Jv_platform_close_on_exec): Prefixed system function with "::".
4849         (_Jv_bind): New method.
4850         (_Jv_listen): New method.
4851         (_Jv_write): New method.
4852         (_Jv_read): New method.
4853         * include/win32.h
4854         (_Jv_socket): New method.
4855         (_Jv_connect): New method.
4856         (_Jv_close): New method.
4857         (_Jv_bind): New method.
4858         (_Jv_listen): New method.
4859         (_Jv_write): New method.
4860         (_Jv_read): New method.
4861         * java/net/natNetworkInterface.cc:
4862         Include platform.h, removed inclusion of socket.h
4863         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
4864         ::close() by _Jv_close().
4865         * java/net/natPlainDatagramSocketImpl.cc:
4866         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
4867         added some new lines to make code more readable.
4868         (create): Replaced ::socket() by _Jv_socket().
4869         (close): Replaced NATIVE_CLOSE() by _Jv_close().
4870         * java/net/natPlainSocketImpl.cc:
4871         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
4872         removed include of socket.h, removed some windows defines
4873         (now in include/win32.h).
4874         (create): Replaced ::socket() by _Jv_socket().
4875         (close): Replaced NATIVE_CLOSE() by _Jv_close().
4876         (write): Replaced ::read by _Jv_write().
4877         (read): Replaced ::read by _Jv_read().
4878
4879 2002-11-20  Michael Koch <konqueror@gmx.de>
4880
4881         * Makefile.am (ordinary_java_source_files):
4882         Added java/nio/channels/FileChannel.java.
4883         * Makefile.in: Regenerated.
4884
4885 2002-11-20  Michael Koch <konqueror@gmx.de>
4886
4887         * java/io/FileInputStream.java
4888         (getChannel): New method.
4889         * java/io/FileOutputStream.java
4890         (getChannel): New method.
4891         * java/net/ServerSocket.java
4892         (bind): Removed duplicate code and called another bind method instead.
4893         * java/nio/channels/SelectionKey.java
4894         (isValid): Removed wrong exception documentation.
4895         * java/nio/channels/ServerSocketChannel.java
4896         (accept): Added exception documentation.
4897         (open): Fixed typo, added exception documentation.
4898         * java/nio/channels/spi/AbstractSelectableChannel.java
4899         (implCloseChannel): Added exception documentation.
4900         (add): Reformated.
4901         (register): Added exception documentation.
4902
4903 2002-11-20  Andreas Jaeger  <aj@suse.de>
4904
4905         * configure: Regenerated with new libtool.m4.
4906
4907 2002-11-19  Tom Tromey  <tromey@redhat.com>
4908
4909         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
4910         `referent'.
4911         (finalize_referred_to_object): Don't modify `referent' or `copy'
4912         fields.
4913         (add_to_hash): Correctly set `n->next' when updating list.
4914         * java/lang/ref/Reference.java (enqueue): Return false if already
4915         enqueued.
4916
4917 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
4918
4919         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
4920         to function and function pointer declarations in accordance with
4921         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
4922         based on whether __GCJ_JNI_IMPL__ has been defined or not.
4923         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
4924         JNI function definitions.
4925
4926 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
4927
4928         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
4929         that was causing CoderResults to be cached, not WeakReferences
4930         to CoderResults.
4931
4932 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
4933
4934         * java/security/KeyStore.java (getInstance): Fix
4935         comment and throw IllegalArgumentException if
4936         given provider is null.
4937         (getInstance): New method for jdk1.4 compatibility.
4938
4939 2002-11-18  Michael Koch <konqueror@gmx.de>
4940
4941         * java/net/PlainSocketImpl.java: Fix imports.
4942
4943 2002-11-18  Michael Koch <konqueror@gmx.de>
4944
4945         * java/nio/channels/SelectionKey.java
4946         (isValid): Added exception documentation.
4947         * java/nio/channels/Selector.java
4948         (open): Declare "throws IOException".
4949
4950 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
4951
4952         * java/nio/charset/Charset.java
4953         (<clinit>): New method.
4954         (encode): Synchronize use of cached encoder object.
4955         (decode): Synchronize use of cached encoder object.
4956
4957 2002-11-18  Michael Koch <konqueror@gmx.de>
4958
4959         * gnu/java/nio/ByteBufferImpl.java,
4960         gnu/java/nio/CharBufferImpl.java,
4961         gnu/java/nio/DatagramChannelImpl.java,
4962         gnu/java/nio/DoubleBufferImpl.java,
4963         gnu/java/nio/FileChannelImpl.java,
4964         gnu/java/nio/FloatBufferImpl.java,
4965         gnu/java/nio/IntBufferImpl.java,
4966         gnu/java/nio/LongBufferImpl.java,
4967         gnu/java/nio/PipeImpl.java,
4968         gnu/java/nio/SelectionKeyImpl.java,
4969         gnu/java/nio/SelectorImpl.java,
4970         gnu/java/nio/SelectorProviderImpl.java,
4971         gnu/java/nio/ServerSocketChannelImpl.java,
4972         gnu/java/nio/ShortBufferImpl.java,
4973         gnu/java/nio/SocketChannelImpl.java,
4974         java/nio/DoubleBuffer.java,
4975         java/nio/FloatBuffer.java,
4976         java/nio/IntBuffer.java,
4977         java/nio/LongBuffer.java,
4978         java/nio/ShortBuffer.java,
4979         java/nio/channels/FileChannel.java: New files.
4980
4981 2002-11-18  Michael Koch <konqueror@gmx.de>
4982
4983         * Makefile.am (ordinary_java_source_files):
4984         Added java/nio/ReadOnlyBufferException.java and
4985         java/nio/channels/ClosedSelectorException.java.
4986         * Makefile.in: Regenerated.
4987
4988 2002-11-18  Michael Koch <konqueror@gmx.de>
4989
4990         * java/net/PlainSocketImpl.java: Reworked imports.
4991         * java/net/ServerSocket.java
4992         (ServerSocket): Create socket.
4993         * java/net/SocketAddress.java: Documentation added.
4994         * java/net/natPlainSocketImpl.cc: Reindented.
4995         * java/nio/ReadOnlyBufferException.java: New file
4996         * java/nio/channels/ClosedChannelException.java: Documentation added.
4997         * java/nio/channels/ClosedSelectorException.java: New file.
4998
4999 2002-11-17  Mark Wielaard  <mark@klomp.org>
5000
5001         * java/net/HttpURLConnection.java ((getPermission): Take port
5002         into consideration.
5003         (getErrorStream): Implement.
5004
5005 2002-11-17  Mark Wielaard  <mark@klomp.org>
5006
5007         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
5008
5009 2002-11-16  Mark Wielaard  <mark@klomp.org>
5010
5011         Integrate work by Raif S. Naffah (raif@fl.net.au)
5012         * java/security/DummyKeyPairGenerator.java (clone): New method.
5013         * java/security/DummyMessageDigest.java (clone): New method.
5014         (engineUpdate): Now public.
5015         (engineReset): Likewise.
5016         (engineDigest): Likewise.
5017         (engineGetDigestLength): New method.
5018         * java/security/DummySignature.java (clone): New method.
5019         * java/security/KeyPairGenerator.java (provider): Now package private.
5020         (getInstance(String)): Use getInstance(String,Provider).
5021         (getInstance(String,String): Use getInstance(String,Provider)
5022         (getInstance(String,Provider): New method.
5023         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
5024         * java/security/KeyPairGeneratorSpi.java (clone): New method.
5025         * java/security/MessageDigest.java (provider): Now package private.
5026         (getInstance(String): Use getInstance(String,Provider).
5027         (getInstance(String,String): Use getInstance(String,Provider)
5028         (getInstance(String,Provider): New method.
5029         * java/security/Provider.java (toCanonicalKey): New method.
5030         (get): New method that uses toCanonicalKey().
5031         (put): Use toCanonicalKey().
5032         (remove): Likewise.
5033         * java/security/Security.java (insertProviderAt): Provider index is one
5034         based, not zero based.
5035         (addProvider): Likewise.
5036         (removeProvider): Likewise.
5037         * java/security/Signature.java (provider): Now package private.
5038         (getInstance(String)): Use getInstance(String,Provider).
5039         (getInstance(String,String): Use getInstance(String,Provider)
5040         (getInstance(String,Provider): New method.
5041         (getInstance(String,String,Provider): Don't cast DummySignature.
5042
5043 2002-11-15  Tom Tromey  <tromey@redhat.com>
5044
5045         For PR libgcj/8593:
5046         * java/util/zip/GZIPInputStream.java (read): Check file size.
5047         Look in inflater for remaining input bytes.
5048         (read4): Added buf and offset arguments.
5049
5050 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
5051
5052         * java/applet/AppletContext.java: Fix typo and remove redundant
5053         modifiers.
5054
5055 2002-11-14  Tom Tromey  <tromey@redhat.com>
5056
5057         * java/lang/natRuntime.cc (insertSystemProperties): Set
5058         gnu.classpath.home.
5059
5060 2002-11-13  Michael Koch <konqueror@gmx.de>
5061
5062         * java/nio/ByteBuffer.java
5063         (allocate): New method.
5064         (wrap): New method.
5065         (put): New method.
5066         (get): New method.
5067
5068 2002-11-13  Michael Koch <konqueror@gmx.de>
5069
5070         * java/nio/channels/AlreadyConnectedException.java:
5071         Removed unneeded import.
5072         (AlreadyConnectedException): Documentation added.
5073         * java/nio/channels/Pipe.java
5074         (SinkChannel.SinkChannel): Documentation added.
5075         (SinkChannel.validOps): New method.
5076         (SourceChannel.SourceChannel): Documentation added.
5077         (SourceChannel.validOps): New method.
5078         (Pipe): Documentation added.
5079         (open): Documentation added.
5080         (SinkChannel.channel): Documentation added.
5081         (SourceChannel.channel): Documentation added.
5082         * java/nio/channel/SelectableChannel.java
5083         (SelectableChannel): Documentation added.
5084         (blockingLock): Documentation added.
5085         (configureBlocking):Documentation added.
5086         (isBlocking):Documentation added.
5087         (isRegistered):Documentation added.
5088         (keyFor):Documentation added.
5089         (provider):Documentation added.
5090         (register): Documentation added.
5091         (validOps): Documentation added.
5092         * jaba/nio/channels/SelectionKey.java
5093         (SelectionKey): Documentation added.
5094         (attach): Documentation added.
5095         (attachment): Documentation added.
5096         (isAcceptable): Documentation added.
5097         (isConnetable): Documentation added.
5098         (isReadable): Documentation added.
5099         (isWritable): Documentation added.
5100         (cancel): Documentation added.
5101         (channel): Documentation added.
5102         (interestOps): Documentation added.
5103         (isValid): Documentation added.
5104         (readyOps): Documentation added.
5105         (selector): Documentation added.
5106         * jaba/nio/channels/Selector.java
5107         (Selector): Documentation added.
5108         (open): Documentation added.
5109         (close): Documentation added.
5110         (isOpen): Documentation added.
5111         (keys): Documentation added.
5112         (provider): Documentation added.
5113         (select): Documentation added.
5114         (selectedKeys): Documentation added.
5115         (selectNow): Documentation added.
5116         (wakeup): Documentation added.
5117         * java/nio/channels/spi/AbstractInterruptibleChannel.java
5118         (AbstractInterruptibleChannel): Documentation added.
5119         (opened): Default to true;
5120         (begin): Documentation added.
5121         (close): Set opened to false, documentation added.
5122         (isOpen): Documentation added.
5123         * java/nio/channels/spi/AbstractSelectionKey.java
5124         (AbstractSelectionKey): Documentation added.
5125         (cancel): Documentation added.
5126         (isValid): Documentation added.
5127         * java/nio/channels/spi/AbstractSelector.java
5128         (AbstractSelector): Documentation added.
5129         (begin): Documentation added.
5130         (close): Documentation added.
5131         (isOpen): Documentation added.
5132         (deregister): Documentation added.
5133         (end): Documentation added.
5134         (provider): Documentation added.
5135         (implCloseSelector): Documentation added.
5136         (register): Documentation added.
5137         * java/nio/channels/spi/SelectorProvider.java
5138         (SelectorProvider): Documentation added.
5139         (openDatagramChannel): Documentation added.
5140         (openPipe): Documentation added.
5141         (openSelector): Documentation added.
5142         (openServerSocketChannel): Documentation added.
5143         (openSocketChannel): Documentation added.
5144         (provider): Documentation added.
5145
5146 2002-11-12  Michael Koch <konqueror@gmx.de>
5147
5148         * java/nio/Buffer.java: Implemented.
5149         * java/nio/CharBuffer.java: New file.
5150         * java/nio/InvalidMarkException.java: New file.
5151         * java/nio/channels/DatagramChannel.java: Implemented.
5152         * java/nio/channels/ServerSocketChannel.java: Implemented.
5153         * java/nio/channels/SocketChannel.java: Implemented.
5154         * java/nio/channels/spi/AbstractChannel.java: Removed.
5155         * java/nio/channels/spi/AbstractSelectableChannel.java:
5156         Implemented.
5157         * java/nio/charset/Charset.java:
5158         Merge from Classpath.
5159         * java/nio/charset/CharsetDecoder.java: New file.
5160         * java/nio/charset/CharsetEncoder.java: New file.
5161         * java/nio/charset/CoderResult.java: New file.
5162         * Makefile.am (ordinary_java_source_files): Added new files.
5163         * Makefile.in: Regenerated.
5164
5165 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
5166
5167         * gnu/java/nio/charset/ISO_8859_1.java,
5168         gnu/java/nio/charset/Provider.java,
5169         gnu/java/nio/charset/US_ASCII.java,
5170         gnu/java/nio/charset/UTF_16.java,
5171         gnu/java/nio/charset/UTF_16BE.java,
5172         gnu/java/nio/charset/UTF_16Decoder.java,
5173         gnu/java/nio/charset/UTF_16Encoder.java,
5174         gnu/java/nio/charset/UTF_16LE.java,
5175         gnu/java/nio/charset/UTF_8.java: New files.
5176
5177 2002-11-11  Michael Koch <konqueror@gmx.de>
5178
5179         * java/nio/charset/CharacterCodingException.java:
5180         This class must be public.
5181         * java/nio/charset/CoderMalfunctionError.java:
5182         This class must be public.
5183         * java/nio/charset/CodingErrorAction.java:
5184         This class must be public.
5185         * java/nio/charset/IllegalCharsetNameException.java:
5186         This class must be public, better implementation.
5187         * java/nio/charset/MalformedInputException.java:
5188         This class must be public, better implementation.
5189         * java/nio/charset/UnmappableCharacterException.java:
5190         This class must be public, better implementation.
5191         * java/nio/charset/UnsupportedCharsetException.java:
5192         This class must be public, better implementation.
5193
5194 2002-11-11  Michael Koch <konqueror@gmx.de>
5195
5196         * java/nio/BufferOverflowException.java,
5197         java/nio/BufferUnderflowException.java: New file.
5198         * Makefile.am (ordinary_java_source_files):
5199         Added new files.
5200         * Makefile.in: Regenerated.
5201
5202 2002-11-10  Tom Tromey  <tromey@redhat.com>
5203
5204         * java/awt/Container.java (validate): Use tree lock.
5205         (getComponent): Likewise.
5206         (getComponents): Likewise.
5207         (addImpl): Likewise.
5208         (remove): Likewise.
5209         (removeAll): Likewise.
5210         (processEvent): Fixed indentation.
5211         (getComponentAt): Use tree lock.
5212         (findComponentAt): Likewise.
5213         (removeNotify): Likewise.
5214         (isAncestorOf): Likewise.
5215         (list): Likewise.
5216         (visitChildren): Likewise.
5217         (findNextFocusComponent): Likewise.
5218         (addNotifyContainerChildren): Likewise.
5219         (getAccessibleChildrenCount): Likewise.
5220         (getAccessibleChild): Likewise.
5221
5222         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
5223         (getSize): Likewise.
5224         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
5225         (getSize): Likewise.
5226         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
5227         (calcSize): Likewise.
5228         * java/awt/CardLayout.java (getSize): Use tree lock.
5229         (gotoComponent): Likewise.
5230         (layoutContainer): Likewise.
5231
5232         * java/io/natFileDescriptorWin32.cc (read): Handle case where
5233         count is 0.
5234         * java/io/natFileDescriptorPosix.cc (read): Handle case where
5235         count is 0.
5236
5237         * java/io/Externalizable.java, java/io/FilePermission.java,
5238         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
5239         java/io/SerializablePermission.java, java/text/Format.java,
5240         java/util/AbstractMap.java, java/util/HashMap.java,
5241         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
5242         versions from Classpath.
5243
5244 2002-11-10  Anthony Green  <green@redhat.com>
5245
5246         * java/util/jar/Attributes.java (Name): Fix name check.
5247
5248 2002-11-10  Mark Wielaard  <mark@klomp.org>
5249
5250         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
5251         with getName() as message.
5252         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
5253         type as message.
5254
5255         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
5256         unused.
5257
5258 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
5259
5260         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
5261         for Win32. JNICALL has been defined to __stdcall to be compatible
5262         with Sun's JDKs.
5263
5264 2002-11-10  Tom Tromey  <tromey@redhat.com>
5265
5266         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
5267         (setRows): Check newRows, not rows.
5268
5269         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
5270
5271 2002-11-09  Tom Tromey  <tromey@redhat.com>
5272
5273         * java/applet/Applet.java, java/applet/AppletContext.java,
5274         java/applet/AppletStub.java, java/applet/AudioClip.java,
5275         java/awt/CardLayout.java,
5276         java/awt/ContainerOrderFocusTraversalPolicy.java,
5277         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
5278         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
5279         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
5280         java/awt/color/ICC_ColorSpace.java,
5281         java/awt/color/ICC_Profile.java,
5282         java/awt/color/ICC_ProfileGray.java,
5283         java/awt/color/ICC_ProfileRGB.java,
5284         java/awt/datatransfer/DataFlavor.java,
5285         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
5286         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
5287         New versions from Classpath.
5288         * Makefile.in: Rebuilt.
5289         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
5290         ICC_ProfileRGB.
5291
5292         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
5293         display policy.
5294
5295         * java/awt/List.java (processEvent): Added missing `else's.
5296
5297         * java/awt/Window.java (show): validate() before showing.  Make
5298         parent displayable.
5299         (isDisplayable): New method.
5300
5301 2002-11-07  Mark Wielaard  <mark@klomp.org>
5302
5303         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
5304         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
5305
5306         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
5307         annotation.
5308         (loadClass): Take String as codebases.
5309         (getClassAnnotation): Use MyClassLoader annotations.
5310         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
5311         call exportObject(this).
5312
5313         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
5314         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
5315         (setAnnotation): Don't set locBytesStream and locStream.
5316         (replaceObject): Removed.
5317         (flush): Don't test locStream.
5318         (getLocBytes): LikeWise.
5319         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
5320         (leaseCache): New field.
5321         (dirty): Use leaseCache.
5322         (LeaseRecord): New inner class.
5323         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
5324         explicitly call exportObject().
5325         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
5326         false to communicate with Sun JDK130.
5327         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
5328         * gnu/java/rmi/server/RMIObjectInputStream.java
5329         (UnicastConnectionManager): Removed field.
5330         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
5331         Use UnicastServer.getExportedRef().
5332         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
5333         (expireTime): Likewise.
5334         (CONNECTION_TIMEOUT): Likewise.
5335         (disconnect): Call sock.close().
5336         (isExpired): New method.
5337         (resetTime): Likewise.
5338         (run): Use do while loop and catch Exception for discardConnection().
5339         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
5340         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
5341         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
5342         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
5343         (exportObject): Use refcache.
5344         (unexportObject): Likewise.
5345         (getExportedRef): New method.
5346         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
5347         constructor.
5348         (exportObject): Save manager.serverobj.
5349         (getStub): New method.
5350
5351 2002-11-07  Mark Wielaard  <mark@klomp.org>
5352
5353         * java/lang/reflect/natField.cc (getBoolean): Use getType().
5354         (getByte): Likewise.
5355         (getShort): Likewise.
5356         (getInt): Likewise.
5357         (getLong): Likewise.
5358         (getFloat): Likewise.
5359         (getDouble): Likewise.
5360         (get): Likewise.
5361         (setChar): Likewise.
5362         (setByte): Likewise.
5363         (setShort): Likewise.
5364         (setInt): Likewise.
5365         (setLong): Likewise.
5366         (setFloat): Likewise.
5367         (setDouble): Likewise.
5368
5369 2002-11-07  Michael Koch <konqueror@gmx.de>
5370
5371         * java/awt/Choice.java,
5372         java/awt/Container.java,
5373         java/awt/GridBagLayout.java:
5374         Fixed documentation.
5375         * java/awt/peer/ContainerPeer.java:
5376         Reindented.
5377
5378 2002-11-07  Michael Koch <konqueror@gmx.de>
5379
5380         * java/awt/color/ICC_Profile.java:
5381         Added missing constants.
5382         * java/awt/color/ICC_ColorSpace.java
5383         (getMinValue): Added dummy implementation.
5384         (getMaxValue): Added dummy implementation.
5385         * java/awt/datatransfer/DataFlavor.java
5386         (imageFlavor): Added.
5387         (isMimeTypeEqual): Must be final.
5388         (getDefaultRepresentationClass): Must be non-static.
5389         (getDefaultRepresentationClassAsString): Must be non-static.
5390         * java/awt/dnd/DragSourceContext.java
5391         (dragExit): Corrected argument.
5392         (dragDropEnd): Corrected argument.
5393         * java/awt/dnd/DragSourceListener.java.java
5394         (dragExit): Corrected argument.
5395         (dragDropEnd): Corrected argument.
5396         * java/awt/font/TextHitInfo.java
5397         (toString): Added stubbed implementation.
5398         * java/awt/geom/PathIterator.java:
5399         The constants must be static.
5400         * java/awt/image/VolatileImage.java
5401         (IMAGE_INCOMPATIBLE): Fixed typo.
5402         * java/awt/image/renderable/RenderableImage.java
5403         (HINTS_OBSERVED): Must be static.
5404         * java/beans/BeanInfo.java:
5405         Constants must be final.
5406
5407 2002-11-06  Tom Tromey  <tromey@redhat.com>
5408
5409         From svens@it.uu.se.  For PR libgcj/8481.
5410         * java/util/Random.java (nextInt(int)): Only use 31 bits.
5411
5412 2002-11-06  Tom Tromey  <tromey@redhat.com>
5413
5414         * jni.cc (array_from_valist): Assume that jlong won't be
5415         promoted.
5416
5417 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
5418
5419         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
5420         Return 20.
5421         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
5422         Return 16.
5423
5424 2002-11-03  Tom Tromey  <tromey@redhat.com>
5425
5426         * java/lang/ClassLoader.java (loadClass): Call loadClass on
5427         VMClassLoader, not findClass.
5428
5429 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
5430
5431         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
5432         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
5433         _Jv_DetermineVTableIndex, to determine vtable offset.
5434         (_Jv_DetermineVTableIndex): Remove.
5435         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
5436
5437         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
5438
5439 2002-11-03  Tom Tromey  <tromey@redhat.com>
5440
5441         * java/nio/channels/AlreadyConnectedException.java: Extend
5442         IllegalStateException, per spec.
5443
5444 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
5445
5446         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
5447
5448 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
5449
5450         * java/util/ArrayList.java (readObject, writeObject): Only read/write
5451         size items.
5452
5453 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
5454
5455         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
5456         initial estimated size to avoid enlarge buffer frequently.
5457
5458 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
5459
5460         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
5461         ClassLoader when null.
5462         (ProxyType.hashCode): Loader null check no longer needed.
5463         (ProxyType.sameTypes): New method.
5464         (ProxyType.equals): Use new method.
5465
5466 2002-10-31  Mark Wielaard  <mark@klomp.org>
5467
5468         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
5469         length of String.
5470         * java/net/URLEncoder.java (encode): Likewise.
5471
5472 2002-10-31  Mark Wielaard  <mark@klomp.org>
5473
5474         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
5475         when stream is closed.
5476         (closeEntry): Likewise.
5477         (read): Likewise.
5478         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
5479         ZipException when no entry active.
5480         (closeEntry): Likewise.
5481         (write): Likewise.
5482
5483 2002-11-02  Tom Tromey  <tromey@redhat.com>
5484
5485         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
5486         * java/lang/natClass.cc (initializeClass): Don't return just
5487         because self==thread.
5488
5489         For PR java/8415:
5490         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
5491         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
5492
5493 2002-11-02  Andreas Schwab  <schwab@suse.de>
5494
5495         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
5496         pass GCJFLAGS.
5497         (FLAGS_TO_PASS): Define.
5498         * Makefile.in: Regenerated.
5499
5500 2002-11-01  Michael Koch  <konqueror@gmx.de>
5501
5502         * java/nio/ByteOrder.java: New file.
5503         * java/nio/channels/DatagramChannel.java:
5504         (DatagramChannel): New constructor.
5505         * java/nio/channels/Pipe.java: New file.
5506         * java/nio/channels/SelectableChannel.java: New file.
5507         * java/nio/channels/SelectionKey.java: New file.
5508         * java/nio/channels/Selector.java: New file.
5509         * java/nio/channels/ServerSocketChannel.java
5510         (ServerSocketChannel): New constructor.
5511         * java/nio/channels/SocketChannel.java
5512         (SocketChannel): New constructor.
5513         * java/nio/channels/Pipe.java: New file.
5514         * java/nio/channels/spi/AbstractChannel.java: New file.
5515         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
5516         * java/nio/channels/spi/AbstractSelectableChannel.java:
5517         License added
5518         (AbstractSelectableChannel): New stubbed method.
5519         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
5520         * java/nio/channels/spi/AbstractSelector.java: New file.
5521         * java/nio/channels/spi/SelectorProvider.java: New file.
5522         * java/nio/charset/Charset.java: New file.
5523         * java/nio/charset/CoderMalfunctionError.java: New file.
5524         * java/nio/charset/CodingErrorAction.java: New file.
5525         * java/nio/charset/spi/CharsetProvider.java
5526         (charsetForName): Uncommented.
5527         * Makefile.am (java_native_source_files): Added new files.
5528         * Makefile.in: Regenerated.
5529
5530 2002-11-01  Michael Koch  <konqueror@gmx.de>
5531
5532         * java/net/InetAddress.java:
5533         (isAnyLocalAddress): Implemented.
5534         (isLoopbackAddress): Implemented, comment added.
5535         (isLinkLocalAddress): Implemented, documentation added.
5536         (isSiteLocalAddress): Implemented, documentation added.
5537         (isMCGlobal): Implemented, documentation added.
5538         (isMCNodeLocal): Implemented, documentation added.
5539         (isMCLinkLocal): Implemented, documentation added.
5540         (isMCSiteLocal): Implemented, documentation added.
5541         (isMCOrgLocal): Implemented, documentation added.
5542         (getHostName): Documentation added.
5543         (getCanonicalHostName): Implemented, documentation added.
5544         (getAddress): Documentation added.
5545         (hashCode): Documentation added.
5546         (equals): Documentation added.
5547         (toString): Fixed implementation.
5548         (getByAddress): Use Inet4Address and Inet6Address.
5549         (lookup): New linewrap.
5550         (getByName): SecurityManager check added, support Inet4Address and
5551         Inet6address, comments added.
5552         (getAllByName): SecurityManager check added, comments added.
5553         * java/net/Inet6Address.java:
5554         (Inet6Address): Initialize parent class with addr instead of null.
5555         * java/net/URL.java
5556         (equals): Documentation added.
5557         (getFile): Documentation added.
5558         (hashCode): Documentation added.
5559         * java/net/natInetAddress.cc:
5560         (aton): Fix IPv6 support.
5561         * java/net/natPlainDatagramSocketImpl.cc:
5562         (peek): Throw PortUnreachableException when suitable.
5563         (peekData): Throw PortUnreachableException when suitable.
5564         (send): Throw PortUnreachableException when suitable.
5565         (receive): Throw PortUnreachableException when suitable.
5566
5567 2002-10-27  Mark Wielaard  <mark@klomp.org>
5568
5569         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
5570         argument.
5571         (readLeShort): Likewise and use byte[].
5572         (readLeInt): Likewise.
5573         (readEntries): Use new versions of methods and use byte[] for reading
5574         a complete zip entry. Add ZipFile name to exceptions.
5575         (entries): Add ZipFile name to exceptions.
5576         (getEntry): Likewise.
5577         (checkLocalHeader): Use new versions of methods and add ZipFile name
5578         to exceptions.
5579
5580 2002-10-31  Mark Anderson  <mark@panonet.net>
5581
5582         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
5583         added
5584
5585 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
5586
5587         * configure.in: Disable hash sync when not using threads.
5588         * configure: Regenerated.
5589
5590 2002-10-24  Tom Tromey  <tromey@redhat.com>
5591
5592         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
5593         (_Jv_FindSymbolInExecutable): Removed argument name.
5594         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
5595         java.library.path is set.
5596
5597         * gij.cc (help): Document --showversion.
5598         (version): Don't exit.
5599         (main): Handle --showversion.  Exit if --version given.
5600
5601 2002-10-23  Tom Tromey  <tromey@redhat.com>
5602
5603         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
5604         (array_from_valist): Correctly handle promotion for jint, jlong,
5605         jfloat, and jdouble.
5606
5607 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
5608
5609         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
5610         GetFileAttributesEx( ) to find file length and modification times,
5611         as the latter is not present on Windows 95.
5612
5613 2002-10-21  Michael Koch  <konqueror@gmx.de>
5614
5615         * java/net/URL.java
5616         (URL): Activate SecurityManager checks.
5617         (equals): Use URLStreamHandler implementation instead of doing it
5618         alone. This allows special protocol stream handlers to change default
5619         behaviour.
5620         (hashCode): Use URLStreamHandler implementation instead of doing it
5621         alone. This allows special protocol stream handlers to change default
5622         behaviour.
5623         * java/net/URLStreamHandler.java
5624         (equals): Implemented default URL equality check.
5625         (hostsEqual): Implemented default URL equality check.
5626         (hashCode): Implemented default URL hashCode algorithm.
5627         * java/net/natPlainDatagramSocketImpl.cc:
5628         No lines longer then 80 characters.
5629
5630 2002-10-20  Adam Megacz <adam@xwt.org>
5631
5632         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
5633         * configure.in: enabled hash sync on Win32
5634         * include/win32-threads.h (_Jv_ThreadId_t): added.
5635         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
5636         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
5637         removed some posix-isms, use Thread::sleep() instead of usleep,
5638         added code to clear bottom three bits if platform has a broken
5639         linker.
5640         * include/win32-threads.h (_Jv_ThreadId_t): added.
5641
5642 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
5643
5644         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
5645         runtime property "gnu.gcj.progname" containing the name used to
5646         invoke the current Java program (similar to argv[0] for C
5647         programs).
5648
5649 2002-10-15  Tom Tromey  <tromey@redhat.com>
5650
5651         Fix for PR libgcj/8234:
5652         * java/util/zip/natInflater.cc (reset): Reset avail_in.
5653         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
5654
5655 2002-10-13  Mark Wielaard  <mark@klomp.org>
5656
5657         * mauve-libgcj: Enable Mauve tests that compile now.
5658
5659 2002-10-11  Mark Wielaard  <mark@klomp.org>
5660
5661         Fix for PR libgcj/8142
5662         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
5663         loading native modules.
5664
5665 2002-10-10  Michael Koch  <konqueror@gmx.de>
5666
5667         * javax/swing/AbstractListModel.java
5668         (getListDataListeners): New stubbed method.
5669         javax/swing/DefaultBoundedRangeModel.java
5670         (getChangeListeners): New stubbed method.
5671         javax/swing/DefaultSingleSelectionModel.java
5672         (getChangeListeners): New stubbed method.
5673
5674 2002-10-10  Michael Koch  <konqueror@gmx.de>
5675
5676         * gcj/.cvsignore: New file to ignore files generated during build.
5677         * include/.cvsignore: New file to ignore files generated during build.
5678
5679 2002-10-10  Michael Koch  <konqueror@gmx.de>
5680
5681         * java/net/HttpURLConnection.java
5682         (getPermission): New method.
5683         (getErrorStream): New stub method.
5684         (getHeaderFieldDate): New stub method.
5685         * java/net/Inet4Address.java:
5686         (isLinkLocalAddress): Typo fixed.
5687         * java/net/InetAddress.java:
5688         (readResolve): New stubbed method (for serialization).
5689         (isAnyLocalAddress): New stubbed method.
5690         (isLoopbackAddress): New stubbed method.
5691         (isLinkLocalAddress): New stubbed method.
5692         (isSiteLocalAddress): New stubbed method.
5693         (isMCGlobal): New stubbed method.
5694         (isMCNodeGlobal): New stubbed method.
5695         (isMCLinkLocal): New stubbed method.
5696         (isMCSiteLocal): New stubbed method.
5697         (isMCOrgLocal): New stubbed method.
5698         (getCanonicalHostName): New stubbed method.
5699         (getByAddress): Create instances of Inet4Address/Inet6Address,
5700         instead of InetAddress, documentation added.
5701         * java/net/MulticastSocket.java
5702         (getInterface): Removed FIXME.
5703         (getNetworkInterface): New method.
5704         (setNetworkInterface): New method.
5705         * java/net/NetworkInterface.java:
5706         (toString): Use property "line.separator" instead of "\n".
5707         * java/net/URLConnection.java
5708         (getContent): New stubbed method.
5709         * java/net/URLStreamHandler.java:
5710         (equals): New stubbed method.
5711         (hostsEqual): New stubbed method.
5712         (hashCode): New stubbed method.
5713         * java/net/natNetworkInterface.cc:
5714         (getRealNetworkInterfaces): Create Inet4Address object
5715         instead of InetAddress.
5716
5717 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
5718
5719         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
5720         unsigned long temporary to implement insn_iushr shifts.
5721
5722 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
5723
5724         * configure.host [s390*-*]: Enable Java interpreter.
5725         Enable hash synchronization.  Add sysdeps dir.
5726         * sysdep/s390/locks.h: New file.
5727
5728 2002-10-06  Mark Wielaard  <mark@klomp.org>
5729
5730         * java/lang/Thread.java (setDaemon): Check startable_flag,
5731         not isAlive().
5732
5733 2002-10-07  Michael Koch  <konqueror@gmx.de>
5734
5735         * java/nio/Buffer.java: New stub file.
5736         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
5737         of class Charset.
5738         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
5739         * Makefile.in: Regenerated.
5740
5741 2002-10-07  Michael Koch  <konqueror@gmx.de>
5742
5743         * java/nio/ByteBuffer.java:
5744         removed import of not commited class.
5745
5746 2002-10-07  Michael Koch  <konqueror@gmx.de>
5747
5748         * java/nio/ByteBuffer.java,
5749         java/nio/MappedByteBuffer.java:
5750         New files, forgot to add these dummies.
5751         * Makefile.am (java_native_source_files): Added new files.
5752         * Makefile.in: Regenerated.
5753
5754 2002-10-07  Michael Koch  <konqueror@gmx.de>
5755
5756         * java/nio/channels/AlreadyConnectedException.java,
5757         java/nio/channels/ClosedChannelException.java,
5758         java/nio/channels/ReadableByteChannel.java,
5759         java/nio/channels/InterruptibleChannel.java,
5760         java/nio/channels/Channel.java,
5761         java/nio/channels/ByteChannel.java,
5762         java/nio/channels/GatheringByteChannel.java,
5763         java/nio/channels/ScatteringByteChannel.java,
5764         java/nio/channels/WritableByteChannel.java,
5765         java/nio/charset/CharacterCodingException.java,
5766         java/nio/charset/IllegalCharsetNameException.java,
5767         java/nio/charset/MalformedInputException.java,
5768         java/nio/charset/UnmappableCharacterException.java,
5769         java/nio/charset/UnsupportedCharsetException.java,
5770         java/nio/charset/spi/CharsetProvider.java: New file.
5771         These files are exceptions or interfaces,
5772         no real or abstract classes.
5773         * Makefile.am (java_native_source_files): Added new files.
5774         * Makefile.in: Regenerated.
5775
5776 2002-10-05  Michael Koch  <konqueror@gmx.de>
5777
5778         * java/net/InetAddress.java
5779         (getByAddress): Fixed documentation.
5780         (getByAddress): New method.
5781         * java/net/Inet4Address.java: New file.
5782         * java/net/URL.java
5783         (URL): Documentation added.
5784         (getContent): Documentation added.
5785         (getContent): New stubbed method.
5786         (getQuery): New method.
5787         (openConnection): Documentation added.
5788         (openStream): Documentation added.
5789         (setURLStreamHandlerFactory): Documentation added.
5790         * java/net/URI.java: New stub file.
5791         * Makefile.am
5792         (java_native_source_files): Added java/net/Inet4Address.java,
5793         java/net/Inet6Address.java and java/net/URI.java.
5794         * Makefile.in: Regenerated.
5795
5796 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
5797
5798         * java/lang/ProtectionDomain.java (linesep): Remove field.
5799         (toString): Use System.getProperty("line.separator").
5800
5801 2002-10-04  Michael Koch  <konqueror@gmx.de>
5802
5803         * java/security/Identity.java: Added serialVersionUID.
5804         * java/security/KeyPair.java: Added serialVersionUID.
5805         * java/security/Provider.java: Added serialVersionUID.
5806         * java/security/SecureRandom.java: Added serialVersionUID.
5807         * java/security/SecureRandomSpi.java: Added serialVersionUID.
5808         * java/security/SignedObject.java: Added serialVersionUID.
5809         * java/security/cert/Certificate.java: Added serialVersionUID.
5810
5811 2002-10-04  Mark Wielaard <mark@klomp.org>
5812
5813         * java/security/Security.java: Use java.home or gnu.classpath.home
5814         to load providers.
5815         (loadProviders): Extra dir argument.
5816         (getProvider): Return null when not found.
5817
5818 2002-10-04  Mark Wielaard  <mark@klomp.org>
5819
5820         * java/lang/Throwable.java: Remerge with Classpath.
5821
5822 2002-10-04  Michael Koch  <konqueror@gmx.de>
5823
5824         * java/net/InetAddress.java:
5825         (isMulticastAddress): Added documentation.
5826         (getHostAddress): Added documentation.
5827         (toString): Added documentation.
5828         (getByAddress): Fixed documentation.
5829         (getByName): Added documentation.
5830         (getAllByName): Added documentation.
5831         (getLocalHost): Added documentation.
5832
5833 2002-10-04  Michael Koch  <konqueror@gmx.de>
5834
5835         * java/beans/beancontext/BeanContextChildSupport.java:
5836         Added serialVersionUID.
5837         * java/text/Collator.java: (compare): Made documentation HTML-aware.
5838         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
5839         * javax/naming/Name.java: Added serialVersionUID.
5840
5841 2002-10-03  Adam Megacz <adam@xwt.org>
5842
5843         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
5844         some functionality that isn't supported yet on WIN32.
5845
5846 2002-10-03  Tom Tromey  <tromey@redhat.com>
5847
5848         * Makefile.in: Rebuilt.
5849         * Makefile.am (awt_java_source_files): Added new files.
5850
5851 2002-10-03  Michael Koch  <konqueror@gmx.de>
5852
5853         * java/net/InetAddress.java
5854         (class InetAddress): Removed final keyword.
5855         (equals): Fixed typo.
5856         (getByAddress): New method.
5857
5858 2002-10-03  Michael Koch  <konqueror@gmx.de>
5859
5860         * java/awt/dnd/Autoscroll.java:
5861         New file, merge from Classpath.
5862         * java/awt/dnd/DragSourceAdapter.java:
5863         (dragExit): Fixed typos in argument type.
5864         (dragDropEnd): Fixed typos in argument type.
5865         * java/awt/dnd/DragSourceDropEvent.java:
5866         New file, merge from Classpath.
5867         * java/awt/dnd/DropTarget.java:
5868         Added stubs, merge from Classpath.
5869         * java/awt/dnd/DropTargetAdapter.java:
5870         New file, merge from Classpath.
5871         * java/awt/dnd/DropTargetContext.java:
5872         New file, merge from Classpath.
5873         * java/awt/dnd/DropTargetDragEvent.java:
5874         New file, merge from Classpath.
5875         * java/awt/dnd/DropTargetDropEvent.java:
5876         New file, merge from Classpath.
5877         * java/awt/dnd/DropTargetEvent.java:
5878         New file, merge from Classpath.
5879         * java/awt/dnd/DropTargetListener.java:
5880         New file, merge from Classpath.
5881         * java/awt/dnd/MouseDragGestureRecognizer.java:
5882         New file, merge from Classpath.
5883         * java/awt/dnd/peer/DropTargetContextPeer.java:
5884         New file, merge from Classpath.
5885
5886 2002-10-03  Michael Koch  <konqueror@gmx.de>
5887
5888         * java/net/DatagramPacket.java
5889         (setLength): Fixed typo and be HTML-aware.
5890         * java/net/InetSocketAddress.java
5891         (InetSocketAddress): Correct initialization of hostname, fixed typo.
5892         (equals): Added comment about equality of InetSocketAddress objects.
5893         * java/net/ServerSocket.java
5894         (accept): Added checks.
5895         (isClosed): New stubbed method.
5896         * java/net/SocketOptions.java: Reindention.
5897         * java/net/SocketPermission
5898         (SocketPermission): Documentation fixed.
5899
5900 2002-10-03  Michael Koch  <konqueror@gmx.de>
5901
5902         * java/net/DatagramSocket.java
5903         (receive): Check with SecurityManager AFTER the packet is received,
5904         check if connected to multicast address, documentation added.
5905         (send): Only check SecurityManager if connected, check address of
5906         packet to send.
5907         (connect): Implemented, documentation added.
5908         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
5909         * java/net/InetSocketAddress.java
5910         (whole file): Reindented.
5911         (hostname): New attribute.
5912         (InetSocketAddress): Initialize new attribute.
5913         (getAddress): Documentation added.
5914         (getHostName): Documentation added.
5915         (getPort): Documentation added.
5916         (hashCode): Documentation added.
5917         (isUnresolved): Documentation added.
5918         (toString): Conform to output of JDK 1.4.1, documentation added.
5919         * java/net/MulticastSocket.java
5920         (joinGroup): Removed FIXME, documentation added.
5921         (leaveGroup): Removed FIXME, documentation added.
5922         (send): Documentation added.
5923         * java/net/Socket.java
5924         (inputShutdown): New variable.
5925         (outputShutdown): New variable.
5926         (Socket): Initialize new variables.
5927         (getRemoteSocketAddress): Check if connected.
5928         (shutdownInput): Set new variable.
5929         (shutdownOutput): Set new variable.
5930         (isConnected): New method.
5931         (isClosed): New method.
5932         (isInputShutdown): New method.
5933         (isOutputShutdown): New method.
5934         * java/net/URLStreamHandler.java
5935         (URLStreamHandler): New method.
5936         (openConnection): Added documentation.
5937         (parseURL): Added documentation.
5938         (getHostAddress): New method.
5939         (getDefaultPort): New method.
5940
5941 2002-10-02  Tom Tromey  <tromey@redhat.com>
5942
5943         * java/rmi/activation/ActivationDesc.java,
5944         java/rmi/activation/ActivationGroupDesc.java,
5945         java/rmi/activation/ActivationGroupID.java,
5946         java/rmi/activation/ActivationID.java: New versions from
5947         Classpath.
5948
5949 2002-09-30  Bo Thorsen  <bo@suse.de>
5950
5951         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
5952
5953 2002-09-30  Tom Tromey  <tromey@redhat.com>
5954
5955         * java/io/ObjectInputStream.java (resolveProxyClass): New method
5956         from Classpath.
5957         * Makefile.in: Rebuilt.
5958         * Makefile.am (rmi_java_source_files): Added new files.
5959         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
5960         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
5961         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
5962         Classpath.
5963         * gnu/java/rmi/dgc/DGCImpl.java,
5964         gnu/java/rmi/dgc/DGCImpl_Skel.java,
5965         gnu/java/rmi/dgc/DGCImpl_Stub.java,
5966         gnu/java/rmi/registry/RegistryImpl_Skel.java,
5967         gnu/java/rmi/registry/RegistryImpl_Stub.java,
5968         gnu/java/rmi/server/RMIHashes.java,
5969         gnu/java/rmi/server/RMIObjectInputStream.java,
5970         gnu/java/rmi/server/RMIObjectOutputStream.java,
5971         gnu/java/rmi/server/UnicastConnection.java,
5972         gnu/java/rmi/server/UnicastConnectionManager.java,
5973         gnu/java/rmi/server/UnicastRef.java,
5974         gnu/java/rmi/server/UnicastServer.java,
5975         gnu/java/rmi/server/UnicastServerRef.java,
5976         java/rmi/MarshalledObject.java,
5977         java/rmi/server/RMIClassLoader.java,
5978         java/rmi/server/RemoteObject.java,
5979         java/rmi/server/UnicastRemoteObject.java,
5980         java/security/SecureClassLoader.java: Merged from Classpath.
5981
5982 2002-09-29  Anthony Green  <green@redhat.com>
5983
5984         * java/lang/reflect/UndeclaredThrowableException.java: New file.
5985         Imported from GNU Classpath.
5986         * java/lang/reflect/natProxy.cc: New file.
5987         * java/lang/reflect/InvocationHandler.java: New file.  Imported
5988         from GNU Classpath.
5989         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
5990         Classpath.
5991         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
5992         Classpath.
5993         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
5994         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
5995         New statics.
5996         * gcj/javaprims.h ("Java"): Add new classes.
5997         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
5998         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
5999         java/lang/reflect/Proxy$$ProxyType.h): And this.
6000         (inner_nat_headers): Add these new headers.
6001         (ordinary_java_source_files): Add new files.
6002         (nat_source_files): Add new file.
6003         * Makefile.in: Rebuilt.
6004
6005 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
6006
6007         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
6008         a single configuration.
6009
6010 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6011
6012         * java/util/TimeZone.java (getDSTSavings): New method.
6013         Fixes PR libgcj/7786.
6014
6015 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6016
6017         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
6018         to see if `the_method == 0' before looking up vtable index.
6019         Fixes PR libgcj/7709.
6020
6021 2002-09-25  Tom Tromey  <tromey@redhat.com>
6022
6023         * java/lang/natClassLoader.cc:
6024         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
6025         * resolve.cc: Include NoClassDefFoundError.h, not
6026         ClassNotFoundException.h.
6027         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
6028
6029         * defineclass.cc: Don't include ClassNotFoundException.h.
6030
6031         * resolve.cc: Include StringBuffer.
6032         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
6033
6034         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
6035         allocated but not initialized.
6036
6037 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6038
6039         Fix for PR libgcj/7766:
6040         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
6041         (getNextEntry): Set it.
6042         (closeEntry): Likewise.
6043         (read): Likewise.
6044         (close): Likewise.
6045         (available): Use it.
6046
6047 2002-09-25  Michael Koch  <konqueror@gmx.de>
6048
6049         * java/net/DatagramSocket.java
6050         (DatagramSocket): Initialize new instance variables.
6051         (close): Reset new instance variables.
6052         (getLocalAddress): Remove unneeded SecurityManager usage.
6053         (getLocalPort): Check if socket is already bound.
6054         (isConnected): New method.
6055         (getInetAddress): Implemented.
6056         (getPort): Better Implementation, documentation fixed.
6057         (getRemoteSocketAddress): New method.
6058         * java/net/JarURLConnection.java
6059         (element): Typo fixed.
6060         (getMainAttributes): New method.
6061         (getAttributes): New method (stub only).
6062         (getManifest): New method (stub only).
6063         * java/net/NetPermission.java: Added serialVersionsUID.
6064         * java/net/Socket.java
6065         (connect): Check blocking mode of associated channel,
6066         documentation added.
6067         (getLocalSocketAddress): Better implementation.
6068         (getRemoteSocketAddress): Implemented.
6069         (isBound): New method.
6070         (setSendBufferSize): Documentation added.
6071         * java/net/SocketAddress.java: Added serialVersionsUID.
6072         * java/net/SocketPermission.java: Added serialVersionsUID.
6073         * java/net/URL.java
6074         (URL): Wrap for shorter lines, initialize new instance variables,
6075         documentation added.
6076         (equals): Check new instance variables too.
6077         (getContent): Documentation added.
6078         (getPath): Documentation added.
6079         (getAuthority): New method.
6080         (getHost): Documentation added.
6081         (getPort): Documentation added.
6082         (getDefaultPort): New method.
6083         (getProtocol): Documentation added.
6084         (getUserInfo): Documentation added.
6085         (set): Initialize new instance variables, documentation added.
6086         * java/net/URLStreamHandler.java
6087         (setURL): New method.
6088         * java/net/natPlainDatagramSocketImpl.cc
6089         (connect): Fix exception name.
6090         (disconnect): Fix exception name.
6091
6092 2002-09-25  Michael Koch  <konqueror@gmx.de>
6093
6094         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
6095         * java/nio/channels/DatagramChannel.java:
6096         extends AbstractSelectableChannel
6097         * java/nio/channels/ServerSocketChannel.java:
6098         extends AbstractSelectableChannel
6099         * java/nio/channels/SocketChannel.java:
6100         extends AbstractSelectableChannel
6101         * Makefile.am (ordinary_java_source_files):
6102         java/nio/channels/spi/AbstractSelectableChannel.java added.
6103         * Makefile.in: Regenerated.
6104
6105 2002-09-25  Michael Koch  <konqueror@gmx.de>
6106
6107         * java/net/DatagramSocket.java
6108         (DatagramSocket): Exception documentation added.
6109         (bind): Exception documentation added, addded SecurityManager check,
6110         added SocketAddress type check.
6111         (getSoTimeout): Check impl.
6112         (receive): Fix SecurityManager check, check impl, documentation added.
6113         (send): Check channel mode, documentation added.
6114         (connect): New method.
6115         (disconnect): Implemented.
6116         (getLocalSocketAddress): New method.
6117         (getReceiveBufferSize): Check impl.
6118         (setReuseAddress): Check impl.
6119         (getReuseAddress): Check impl.
6120         (setBroadcast): Check impl.
6121         (getBroadcast): Check impl.
6122         (setTrafficClass): Check impl, Documentation cleared.
6123         (getTrafficClass): Check impl.
6124         (getSendBufferSize): Check impl.
6125         (setReceiveBufferSize): Check impl, documentation added.
6126         (setSendBufferSize): Documentation added.
6127         (setDatagramSocketImplFactory): New method.
6128         * java/net/HttpURLConnection.java
6129         (HTTP_INTERNAL_ERROR): The correct code is 500.
6130         (HTTP_NOT_IMPLEMENTED): Added new constant.
6131         (setFollowRedirects): Documentation added.
6132         (getInstanceFollowRedirects): New method.
6133         (setInstanceFollowRedirects): New method.
6134         (setRequestMethod): Documentation added.
6135         (getResponseCode): Documentation added.
6136         (getResponseMessage): Documentation added.
6137         * java/net/JarURLConnection.java
6138         (JarURLConnection): protected since JDK 1.4.
6139         (getJarEntry): java.io.IOException to IOException, documentation added.
6140         (getJarFile): Documentation added.
6141         * java/net/ServerSocket.java
6142         (ServerSocket): Private to public, exception added.
6143         (ServerSocket): java.io.IOException to IOException, documentation added.
6144         (bind): Check socket address type, documentation added.
6145         (bind): java.io.IOException to IOException, documentation added.
6146         (accept): Documentation added.
6147         (implAccept): Check ch is not non-blocking, documentation added.
6148         (setSoTimeout): Documentation fixed.
6149         (setReceiveBufferSize): Documentation added.
6150         * java/net/Socket.java
6151         (Socket): Documentation added.
6152         (bind): Documentation added.
6153         (connect): Check socket address type, documentation added.
6154         (getRemoteSocketAddress): New method.
6155         (getLocalSocketAddress): New method.
6156         (setSoLinger): Documentation added.
6157         (getReuseAddress): New method.
6158         (setReuseAddress): New method.
6159         (getTrafficClass): New method.
6160         (setTrafficClass): New method.
6161         * java/net/URLStreamHandler.java
6162         (openConnection): java.io.IOException to IOException.
6163         (parseURL): Documentation added.
6164         (sameFile): public to protected, documentation added.
6165         (setURL): Documentation added.
6166         * java/nio/IllegalBlockingModeException.java: New file.
6167         * Makefile.am (ordinary_java_source_files):
6168         added java/nio/IllegalBlockingModeException.java
6169         * Makefile.in: Regenerated.
6170
6171 2002-09-25  Michael Koch  <konqueror@gmx.de>
6172
6173         * java/net/DatagramPacket
6174         (DatagramPacket): Exception documentation added.
6175         (setData): Likewise.
6176         (setSocketAddress): Likewise.
6177         * java/net/DatagramSocketImpl.java
6178         (peek): Documentation addded.
6179         (peekData): Documentation addded.
6180         (send): Documentation addded.
6181         (receive): Documentation addded.
6182         (connect): New method.
6183         (disconnect): New method.
6184         (joinGroup): New abstract method.
6185         (leaveGroup): New abstract method.
6186         * java/net/InetSocketAddress.java
6187         (InetSocketAddress): Documentation added.
6188         (equals): final keyword added.
6189         (getAddress): final keyword added.
6190         (getHostName): final keyword added.
6191         (getPort): final keyword added.
6192         (hashCode): final keyword added.
6193         (isUnresolved): final keyword added.
6194         * java/net/MulticastSocket.java
6195         (MulticastSocket): Documentation added.
6196         (MulticastSocket): New method.
6197         (joinGroup): Documentation added.
6198         (joinGroup): New method.
6199         (leaveGroup): Documentation added.
6200         (leaveGroup): New method.
6201         (send): Documentation added.
6202         * java/net/NetworkInterface.java
6203         (getByName): Documentation added.
6204         (getByInetAddress): Documentation added.
6205         (getNetworkInterfaces): Documentation added.
6206         * java/net/PlainDatagramSocketImpl.java
6207         (connect): New method.
6208         (disconnect): New method.
6209         * java/net/SocketImpl.java
6210         (create): Documentation added.
6211         (shutdownInput): Convert public to protected, as it always was.
6212         (shutdownOutput): Convert public to protected, as it always was.
6213         * java/net/SocketOptions.java
6214         (whole file): Reintented.
6215         * java/net/URLClassLoader.java
6216         (URLClassLoader): SecurityManager check added, documentation added.
6217         (findResources): Documentation added.
6218         (findClass): Documentation added.
6219         (newInstance): More correct method arguments.
6220         * java/net/URLConnection.java
6221         (connect): Documentation added.
6222         (getContent): Documentation added.
6223         (getPermission): Documentation added.
6224         (getInputStream): Documentation added.
6225         (getOutputStream): Documentation added.
6226         (setDoInput): Throw correct exception, documentation added.
6227         (setDoOutput): Throw correct exception, documentation added.
6228         (setAllowUserInteraction): Throw correct exception, documentation added.
6229         (setUseCaches): Throw correct exception, documentation added.
6230         (setIfModifiedSince): Throw correct exception, documentation added.
6231         (setRequestProperty): Throw exception, documentation added.
6232         (addRequestProperty): Throw exception, documentation added.
6233         (getRequestProperty): Throw exception, documentation added.
6234         (getRequestProperties): Documentation added.
6235         (setContentHandlerFactory): Documentation added.
6236         (guessContentTypeFromName): protected to public.
6237         (setFileNameMap): Documentation added.
6238         * java/net/URLDecoder.java
6239         (URLDecoder): New method.
6240         (decode): Documentation added.
6241         (whole file): Reindented.
6242         * java/net/URLEncoder.java
6243         (encode): Documentation added.
6244         * java/net/natPlainDatagramSocketImpl.cc
6245         (connect): New method.
6246         (disconnect): New method.
6247         * javax/naming/RefAddr:
6248         (addrType): addrType was never final.
6249         (equals): Fix typo in method name.
6250         * javax/naming/BinaryRefAddr:
6251         (equals): Fix typo in method name.
6252
6253 2002-09-22  Tom Tromey  <tromey@redhat.com>
6254
6255         Fix for PR libgcj/6576:
6256         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
6257         didn't find a given bundle.
6258         (getBundle): Don't require base bundle.
6259         (setParent): Removed old comment.
6260         (tryLocalBundle): Try components even if preceding components were
6261         empty.
6262
6263 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6264
6265         * Makefile.am (all-multi): Fix multilib parallel build.
6266
6267 2002-09-21  Michael Koch  <konqueror@gmx.de>
6268
6269         * java/net/Socket.java
6270         (sendUrgentData): New method.
6271         (getChannel): New method.
6272         * java/net/ServerSocket.java
6273         (getChannel): New method.
6274         (isBound): New method.
6275         * java/net/DatagramSocket.java
6276         (DatagramSocket): Two new methods.
6277         (bind): New method.
6278         (getChannel): New method.
6279         (isBound): New method.
6280         (send): Added newline to to make shorter lines.
6281         * java/net/PlainDatagramSocketImpl.java
6282         (mcastGrp): Added argument.
6283         (join): Use new mcastGrp.
6284         (leave): Use new mcastGrp.
6285         (joinGroup): New method.
6286         (leaveGroup): New method.
6287         * java/net/natPlainDatagramSocketImpl.cc
6288         (mcastGrp): Added argument, no yet really implemented.
6289         (getOption): Added newline for shorter lines.
6290         * java/net/natPlainSocketImpl.cc
6291         (read, setOption, getOption): Added newline for shorter lines.
6292
6293 2002-09-19  Tom Tromey  <tromey@redhat.com>
6294
6295        * java/lang/ClassLoader.java (resolveClass0): Set cause for
6296        newly-created exception.
6297
6298 2002-09-18  Michael Koch  <konqueror@gmx.de>
6299
6300         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
6301         java/util/regex/PatternSyntaxException.java:
6302         Merge with classpath, new files.
6303         * Makefile.am (core_java_source_files):
6304         Added java/util/regex/Matcher.java,
6305         java/util/regex/Pattern.java,
6306         java/util/regex/PatternSyntaxException.java
6307         * Makefile.in: Regenerated.
6308         * include/config.h.in: Added HAVE_NET_IF_H.
6309         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
6310         Removed #if 0 ... #endif.
6311
6312 2002-09-17  Michael Koch  <konqueror@gmx.de>
6313
6314         * java/net/natNetworkInterface.cc:
6315         Removed unneed and yet wrong includes.
6316
6317 2002-09-17  Michael Koch  <konqueror@gmx.de>
6318
6319         * java/net/NetworkInterface.java: New file.
6320         * java/net/natNetworkInterface.java: New file.
6321         * configure.in: Added check for net/if.h.
6322         * configure: Regenerated.
6323         * Makefile.am
6324         (ordinary_java_source_files): Added NetworkInterface.java.
6325         (nat_source_files): Added natNetworkInterface.cc.
6326         * Makefile.in: Regenerated.
6327
6328 2002-09-16  Tom Tromey  <tromey@redhat.com>
6329
6330         * java/net/URLClassLoader.java (findClass): Code source for a
6331         class from a jar is not necessarily a jar: URL.
6332
6333 2002-09-16  Michael Koch  <konqueror@gmx.de>
6334
6335         * java/lang/AssertionError.java:
6336         Merge with classpath, fixes HTML.
6337         * java/rmi/server/LogStream.java:
6338         Merge with classpath, fixes some constants.
6339         * java/net/server/RemoteServer.java:
6340         Merge with classpath, adds serialVersionUID.
6341         * javax/naming/BinaryRefAddr.java:
6342         Merge with classpath, s/equal/equals/.
6343         * javax/naming/NamingException.java:
6344         Merge with classpath, fixed typo.
6345         * javax/naming/RefAddr.java:
6346         Merge with classpath, s/equal/equals/.
6347         * java/awt/Toolkit.java:
6348         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
6349         and typo fixed.
6350
6351 2002-09-15  Adam Megacz <adam@xwt.org>
6352
6353         * java/net/natPlainSocketImpl.cc: fixed typo.
6354
6355 2002-09-15  Adam Megacz <adam@xwt.org>
6356
6357         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
6358         which don't work on Win32 (yet).
6359
6360 2002-09-14  Adam Megacz <adam@xwt.org>
6361
6362         * java/net/natPlainDatagramSocket.cc: removed #include
6363         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
6364         * include/win32.h: included definition for IP_TOS to satisfy
6365         natPlainDatagramSocket.cc
6366
6367 2002-09-13  Michael Koch  <konqueror@gmx.de>
6368
6369         * java/net/DatagramPacket.java (DatagramPacket):
6370         Added linebreak for 80 chars per line.
6371         * java/net/JarURLConection.java
6372         (getInputStreami, getJarEntry): Likewise.
6373         * java/net/SocketPErmission.java
6374         (SocketPermission class docu, implies): Likewise.
6375         * java/net/URLClassLoader.java (findResources): Likewise.
6376         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
6377
6378 2002-09-13  Michael Koch  <konqueror@gmx.de>
6379
6380         * java/nio/channels/DatagramChannel.java,
6381         java/nio/channels/ServerSocketChannel.java
6382         java/nio/channels/SocketChannel.java:
6383         New dummy files to make java.net fully JDK 1.4 compatible
6384         * Makefile.am (ordinary_java_source_files): Added
6385         java/net/DatagramSocketImplFactory.java (long forgotten),
6386         java/nio/SocketChannel.java,
6387         java/nio/ServerSocketChannel.java,
6388         java/nio/DatagramChannel.java
6389         * Makefile.in: Regenrated.
6390
6391 2002-09-12  Michael Koch  <konqueror@gmx.de>
6392
6393         * java/net/DatagramSocketImpl.java
6394         (peekData): New method.
6395         * java/net/PlainDatagramSocketImpl.java
6396         (peekData): New method.
6397         * java/net/natPlainDatagramSocketImpl.cc
6398         (peekData): New method.
6399         * java/net/URLConnection
6400         (getPermission): New method.
6401         (addRequestProperty): New method.
6402         (getRequestProperties): New method.
6403         (guessContentTypeFromStream): New method, not really implemented.
6404         (URLConnection): Added/updated documentation.
6405         (connect): Added/updated documentation.
6406         (getURL): Added/updated documentation.
6407         (getContentLength): Added/updated documentation.
6408         (getContentType: Added/updated documentation.
6409         (getContentEncoding): Added/updated documentation.
6410         (getExpiration): Added/updated documentation.
6411         (getDate): Added/updated documentation.
6412         (getLastModified): Added/updated documentation.
6413         (getHeaderField): Added/updated documentation.
6414         (getHeaderFields): Added/updated documentation.
6415         (getHeaderFieldInt): Added/updated documentation.
6416         (getHeaderFieldDate): Added/updated documentation.
6417         (getHeaderFieldKey): Added/updated documentation.
6418         (getContent): Added/updated documentation.
6419         (getInputStream): Added/updated documentation.
6420         (getOutputStream): Added/updated documentation.
6421         (toString): Added/updated documentation.
6422         (setDoInput): Added/updated documentation.
6423         (getDoInput): Added/updated documentation.
6424         (setDoOutput): Added/updated documentation.
6425         (getDoOutput): Added/updated documentation.
6426         (setAllowUserInteraction): Added/updated documentation.
6427         (getAllowUserInteraction): Added/updated documentation.
6428         (setDefaultAllowUserInteraction): Added/updated documentation.
6429         (getDefaultAllowUserInteraction): Added/updated documentation.
6430         (setUseCaches): Added/updated documentation.
6431         (getUseCaches): Added/updated documentation.
6432         (setIfModifiedSince): Added/updated documentation.
6433         (getIfModifiedSince): Added/updated documentation.
6434         (getDefaultUseCaches): Added/updated documentation.
6435         (setDefaultUseCaches): Added/updated documentation.
6436         (setRequestProperty): Added/updated documentation.
6437         (getRequestProperty): Added/updated documentation.
6438         (setDefaultRequestProperty): Added/updated documentation.
6439         (getDefaultRequestProperty): Added/updated documentation.
6440         (setContentHandlerFactory): Added/updated documentation.
6441         (guessContentTypeFromName): Added/updated documentation.
6442         (getFileNameMap): Added/updated documentation.
6443         (setFileNameMap): Added/updated documentation.
6444
6445 2002-09-11  Michael Koch  <konqueror@gmx.de>
6446
6447         * java/net/Socket.java
6448         (Socket): protected to public (since JDK 1.4). Added @specnote.
6449         (bind): New method.
6450         (connect): Two new methods.
6451         (getKeepalive): Get correct socket option.
6452         (setKeepalive): Set correct socket option.
6453         (getOOBInline): New method.
6454         (setOOBInline): New method.
6455         * java/net/ServerSocket.java
6456         (bind): Two new methods.
6457         (getInetAddress): Reimplemented, catch exception.
6458         (getLocalSocketAddress): New method.
6459         (setReuseAddress): New method.
6460         (getReuseAdress): New method.
6461         (setReceiveBufferSize): New method.
6462         (getReceiveBufferSize): New method.
6463         (toString): Made string JDK 1.4 compliant.
6464
6465 2002-09-10  Michael Koch  <konqueror@gmx.de>
6466
6467         * java/net/SocketImpl.java
6468         (connect): New method.
6469         (supportsUrgentData): New method.
6470         (sendUrgentData): New method.
6471         * java/net/PlainSocketImpl.java
6472         (connect): One new method and two new implementation.
6473         (sendUrgentData): New method.
6474         * java/natPlainSocketImpl.cc
6475         (connect): Arguments changed, added support for timeouts.
6476         (getOption): Another __java_boolean to jboolean.
6477
6478 2002-09-07  Adam Megacz <adam@xwt.org>
6479
6480         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
6481         definition of IP_TOS.
6482
6483 2002-09-04  Michael Koch  <konqueror@gmx.de>
6484
6485         * java/net/DatagramSocket.java
6486         (DatagramSocket): Added documentation.
6487         (close): Likewise.
6488         (getLocalAddress): Likewise.
6489         (getLocalPort): Likewise.
6490         (receive): Likewise.
6491         (send): Likewise.
6492         (setSoTimeout): Likewise.
6493         (connect): New method.
6494         (disconnect): New method.
6495         (getInetAddress): New method (FIXME)
6496         (getPort): New method.
6497         (setReuseAddress): New method.
6498         (getReuseAddress): New method.
6499         (setBroadcast): New method.
6500         (getBroadcast): New method.
6501         (setTrafficClass): New method.
6502         (getTrafficClass): New method.
6503         * java/net/MulticastSocket.java):
6504         (getTTL): Added @see in documentation.
6505         (setTTL): Added @see in documentation.
6506         (setLoopbackMode): New method.
6507         (getLoopbackMode): New method.
6508         * java/net/PlainSocketImpl.java:
6509         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
6510         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
6511         * java/net/PlainDatagramSocketImpl.java
6512         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
6513         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
6514         * java/net/natPlainSocketImpl.cc
6515         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
6516         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
6517         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
6518         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
6519         This should also fix SO_KEEPALIVE
6520         * java/net/natPlainDatagramSocketImpl.cc
6521         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
6522         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
6523         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
6524         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
6525
6526 2002-09-04  Michael Koch  <konqueror@gmx.de>
6527
6528         * java/net/SocketOptions.java: added static variables to be JDK 1.4
6529         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
6530         IP_MULTICAST_LOOP, IP_TOS
6531
6532 2002-09-03  Tom Tromey  <tromey@redhat.com>
6533
6534         * java/lang/Class.h (_getDeclaredMethod): Declare.
6535         (_getMethod): Now private.
6536         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
6537         getDeclaredMethod.  Now returns NULL on failure.
6538         * java/lang/Class.java (_getDeclaredMethod): Declare.
6539         (getDeclaredMethod): No longer native; implements access checks.
6540
6541 2002-09-01  Mark Wielaard  <mark@klomp.org>
6542
6543         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
6544         (sanitizeStack): Correctly reset unknown and interpreter counters,
6545         detect interpreter runtime frames.
6546         (demangleInterpreterMethod): New method.
6547         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
6548         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
6549         filling in addrs[].
6550
6551 2002-09-02  Michael Koch  <konqueror@gmx.de>
6552
6553         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
6554         re-indented documentation.
6555
6556 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6557
6558         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
6559         public, per 1.4 spec.  Fixes PR libgcj/7785.
6560
6561 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
6562
6563         * Makefile.in: Rebuilt.
6564         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
6565
6566 2002-08-29  Tom Tromey  <tromey@redhat.com>
6567
6568         * java/net/JarURLConnection.java (getCertificates): New method
6569         from Classpath.
6570         * java/net/URLClassLoader.java (URLClassLoader): Extends
6571         SecureClassLoader.
6572         (definePackage): New method from Classpath.
6573         (getPermissions): Likewise.
6574         (newInstance): Likewise.
6575         (findClass): Construct CodeSource for new class (from Classpath).
6576         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
6577         methods.
6578         * java/net/URL.java (getUserInfo): New method.
6579         (set(String,String,int,String,String,String,String,String)): New
6580         method.
6581         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
6582         (shutdownInput, shutdownOutput): Declare.
6583         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
6584         Define.
6585         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
6586         (getOption): Likewise.
6587         (shutdownInput): New method.
6588         (shutdownOutput): Likewise.
6589         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
6590         keepalive.
6591         (getOption): Likewise.
6592         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
6593         * java/net/Socket.java (setKeepAlive): New method.
6594         (getKeepAlive): Likewise.
6595         (shutdownInput, shutdownOutput): New methods.
6596
6597 2002-08-29  Michael Koch  <konqueror@gmx.de>
6598
6599         * java/net/DatagramPacket.java: updated to JDK 1.4 API
6600         new methods are:
6601         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
6602           address),
6603         DatagramPacket(byte[] buf, int length, SocketAddress address),
6604         void setSocketAddress(SocketAddress address)
6605         public SocketAddress getSocketAddress()
6606
6607 2002-08-29  Tom Tromey  <tromey@redhat.com>
6608
6609         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
6610         ftruncate is missing.
6611         * configure, include/config.h.in: Rebuilt.
6612         * acconfig.h (HAVE_FTRUNCATE): Mention.
6613         * configure.in: Check for ftruncate.
6614
6615 2002-08-29  Tom Tromey  <tromey@redhat.com>
6616
6617         * include/jvm.h (struct _Jv_frame_info): New structure.
6618         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
6619         java-interp.h.
6620         (lookupInterp): New method.
6621         (getAddrAsString): Use _Jv_frame_info.
6622         (dladdrLookup): Likewise.
6623         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
6624         interpreted frame.
6625         (lookupInterp): Declare.
6626         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
6627         (fillInStackTrace): Collect information on interpreted frames.
6628         Use _Jv_frame_info.
6629         * interpret.cc: Include Thread.h.
6630         (run): Create and push _Jv_MethodChain object.
6631         (_Jv_EndOfInterpreter): New global.
6632         * java/lang/Thread.java (interp_frame): New field.
6633         * include/java-interp.h (struct _Jv_MethodChain): New structure.
6634         Include NameFinder.h.
6635
6636 2002-08-28  Tom Tromey  <tromey@redhat.com>
6637
6638         * java/lang/Class.h: Include Package.h.
6639         (Class::getProtectionDomain): Declare.
6640         (Class::getPackage): Declare.
6641
6642 2002-08-28  Michael Koch <konqueror@gmx.de>
6643
6644         * java/net/InetSocketAddress.java: Added some documentation and argument
6645         checks for the port numbers.
6646         * java/net/DatagramSocketImplFactory.java: New file.
6647
6648 2002-08-28  Michael Koch <konqueror@gmx.de>
6649
6650         * java/net/Authenticator.java: added some documentation.
6651
6652 2002-08-27  Tom Tromey  <tromey@redhat.com>
6653
6654         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
6655         class.
6656         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
6657
6658 2002-08-27  Michael Koch <konqueror@gmx.de>
6659
6660         * java/net/BindException.java,
6661         java/net/JarURLConnection.java,
6662         java/net/FileNameMap.java,
6663         java/net/HttpURLConnection.java,
6664         java/net/InetSocketAddress.java,
6665         java/net/DatagramPacket.java,
6666         java/net/DatagramSocket.java,
6667         java/net/DatagramSocketImpl.java,
6668         java/net/MulticastSocket.java,
6669         java/net/PasswordAuthentication.java,
6670         java/net/ServerSocket.java,
6671         java/net/Socket.java,
6672         java/net/URLClassLoader.java,
6673         java/net/URLConnection.java: add/update of some @since/@deprecated
6674
6675 2002-08-27  Tony Kimball <alk@pobox.com>
6676             Tom Tromey  <tromey@redhat.com>
6677
6678         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
6679         define.
6680         (::close): Removed.
6681         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
6682         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
6683         (::close): Removed.
6684         (PlainSocketImpl::close): Use NATIVE_CLOSE.
6685         * include/win32.h (getcwd): Removed declaration.  Include io.h.
6686
6687 2002-08-25  Adam Megacz <adam@xwt.org>
6688
6689         * include/win32.h (getcwd): copied function declaration as
6690         temporary fix for header confusion.
6691
6692 2002-08-24  Mark Wielaard <mark@klomp.org>
6693
6694         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
6695         (core_java_source_files): Add VMThrowable.java and NameFinder.java
6696         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
6697         and natNameFinder.cc.
6698         * Makefile.in: Regenerate.
6699         * prims.cc: Use trace_enabled from VMThrowable.
6700         * name-finder.cc: Removed.
6701         * gcj/javaprims.h: Add class VMThrowable.
6702         * gnu/gcj/runtime/NameFinder.java: New file.
6703         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
6704         * include/name-finder.h: Removed.
6705         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
6706         method stackTraceString().
6707         (printStackTrace (PrintWriter)): Likewise.
6708         (stackTraceString): Complete rewrite of old printStackTrace using
6709         StringBuffer.
6710         (stackTraceStringBuffer): New helper method for stackTraceString().
6711         (fillInStackTrace): Delegate to VMTrowable.
6712         (getStackTrace): Likewise.
6713         (getStackTrace0): Removed.
6714         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
6715         (setStackTrace): Copy given array.
6716         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
6717         * java/lang/VMThrowable.java: New class.
6718         * java/lang/natVMThrowable.cc: New file.
6719
6720 2003-08-23  Michael Koch  <konqueror@gmx.de>
6721
6722         * java/net/URLConnection.java,
6723         java/netJarURLConnection.java,
6724         gnu/gcj/protocol/core/Connection.java,
6725         gnu/gcj/protocol/file/Connection.java,
6726         gnu/gcj/protocol/http/Connection.java: Added implementation of
6727         getHeaderFields().
6728
6729 2002-08-22  Tom Tromey  <tromey@redhat.com>
6730
6731         * gij.cc (help): Document -cp and -classpath.
6732         (main): Handle -classpath.
6733
6734 2002-08-21  Tom Tromey  <tromey@redhat.com>
6735
6736         * Makefile.in: Rebuilt.
6737         * Makefile.am (ordinary_java_source_files): Added
6738         SocketAddress.java, InetSocketAddress.java.
6739         * java/net/PortUnreachableException.java: Merged with Classpath.
6740         * java/net/SocketTimeoutException.java: Likewise.
6741         * java/net/URISyntaxException.java: Likewise.
6742         * java/net/SocketAddress.java: New class from Classpath.
6743         * java/net/InetSocketAddress.java: Likewise.
6744
6745 2003-08-21  Michael Koch  <konqueror@gmx.de>
6746
6747         * java/net/Authenticator.java: updated JDK 1.4
6748         * java/net/ContentHandler.java: updated JDK 1.4
6749
6750 2002-08-20  Michael Koch  <konqueror@gmx.de>
6751
6752         * java/net/URISyntaxException.java: New file.
6753         * java/net/SocketTimeoutException.java: New file.
6754         * java/net/PortUnreachableException.java: New file.
6755         * Makefile.am: Updated.
6756         * Makefile.in: Rebuilt.
6757
6758 2002-08-18  Mark Wielaard  <mark@klomp.org>
6759
6760         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
6761         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
6762         MessageDigestSpi (fixes Classpath bug #783).
6763
6764 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6765
6766         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
6767         (startProcess): Allocate path for chdir in async-signal-safe way.
6768
6769 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
6770
6771         Fix for PR libgcj/7570 and PR libgcj/7578:
6772         * java/lang/natPosixProcess.cc: Include java/io/File.h.
6773         (startProcess): Handle new `dir' argument.
6774         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
6775         argument.
6776         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
6777         argument.
6778         (startProcess): Likewise.
6779         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
6780         argument.
6781         * java/lang/Runtime.java (execInternal): Added `dir' argument.
6782         (exec): Don't create new environment if ENV==null.  Pass DIR to
6783         execInternal.
6784         * java/lang/natRuntime.cc: Include java/io/File.h.
6785         (execInternal): Added `dir' argument.
6786
6787 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
6788
6789         * java/io/RandomAccessFile.java (skipBytes): Return number of
6790         bytes skipped.
6791
6792 2002-08-01  Mark Wielaard  <mark@klomp.org>
6793
6794         Reenable patch since shared library troubles on powerpc are solved:
6795         * gnu/java/security/provider/Gnu.java: Reference all implementation
6796         classes by using Class.getName().
6797         * gnu/java/security/der/DEREncodingException.java,
6798         gnu/java/security/provider/DERReader.java,
6799         gnu/java/security/provider/DERWriter.java,
6800         gnu/java/security/provider/DSAKeyPairGenerator.java,
6801         gnu/java/security/provider/DSAParameterGenerator.java,
6802         gnu/java/security/provider/DSAParameters.java,
6803         gnu/java/security/provider/DSASignature.java,
6804         gnu/java/security/provider/GnuDSAPrivateKey.java,
6805         gnu/java/security/provider/GnuDSAPublicKey.java,
6806         gnu/java/security/provider/MD5.java,
6807         gnu/java/security/util/Prime.java: New classes
6808         * Makefile.am (ordinary_java_source_files): Add above files.
6809         * Makefile.in: Regenerate.
6810         * gnu/java/security/provider/DefaultPolicy.java
6811         (getPermissions): Don't maintain static class variable of Permissions.
6812         * gnu/java/security/provider/SHA.java
6813         (engineUpdate): algorithm change.
6814         (engineDigest): algorithm change.
6815
6816 2002-08-09  Mark Wielaard  <mark@klomp.org>
6817
6818         * java/awt/image/MemoryImageSource.java: Change constructor to take
6819         int[] not byte[].
6820         * java/awt/Graphics2D.java: Uncomment methods that can now be
6821         compiled.
6822         * java/awt/GridBagLayout.java: New stub implementation.
6823         * javax/swing/text/html/HTML.java: Stub implementation.
6824         * javax/swing/text/html/parser/ParserDelegator.java: New stub
6825         implementation.
6826
6827         * Makefile.am: Add new files.
6828         * Makefile.in: Rebuilt.
6829
6830 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6831
6832         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
6833         methods in Graphics2D.
6834
6835 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
6836
6837         AWT/Swing merge from GNU Classpath.
6838
6839         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
6840         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
6841         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
6842         java/awt/color/ProfileDataException.java,
6843         java/awt/CompositeContext.java, java/awt/Composite.java,
6844         java/awt/ContainerOrderFocusTraversalPolicy.java,
6845         java/awt/datatransfer/FlavorTable.java,
6846         java/awt/DefaultFocusTraversalPolicy.java,
6847         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
6848         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
6849         java/awt/dnd/DragGestureListener.java,
6850         java/awt/dnd/DragGestureRecognizer.java,
6851         java/awt/dnd/DragSourceAdapter.java,
6852         java/awt/dnd/DragSourceContext.java,
6853         java/awt/dnd/DragSourceDragEvent.java,
6854         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
6855         java/awt/dnd/DragSourceListener.java,
6856         java/awt/dnd/DragSourceMotionListener.java,
6857         java/awt/dnd/DropTarget.java,
6858         java/awt/dnd/InvalidDnDOperationException.java,
6859         java/awt/dnd/peer/DragSourceContextPeer.java,
6860         java/awt/event/AWTEventListenerProxy.java,
6861         java/awt/event/MouseWheelEvent.java,
6862         java/awt/event/MouseWheelListener.java,
6863         java/awt/event/WindowFocusListener.java,
6864         java/awt/event/WindowStateListener.java,
6865         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
6866         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
6867         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
6868         java/awt/geom/FlatteningPathIterator.java,
6869         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
6870         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
6871         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
6872         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
6873         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
6874         java/awt/image/ImagingOpException.java,
6875         java/awt/image/RasterFormatException.java,
6876         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
6877         java/awt/image/VolatileImage.java,
6878         java/awt/image/WritableRenderedImage.java,
6879         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
6880         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
6881         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
6882         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
6883         java/awt/PageAttributes.java, java/awt/print/Book.java,
6884         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
6885         java/awt/print/Paper.java, java/awt/print/Printable.java,
6886         java/awt/print/PrinterAbortException.java,
6887         java/awt/print/PrinterException.java,
6888         java/awt/print/PrinterGraphics.java,
6889         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
6890         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
6891         java/awt/Stroke.java, java/awt/TexturePaint.java,
6892         javax/accessibility/AccessibleAction.java,
6893         javax/accessibility/AccessibleBundle.java,
6894         javax/accessibility/AccessibleComponent.java,
6895         javax/accessibility/AccessibleContext.java,
6896         javax/accessibility/AccessibleEditableText.java,
6897         javax/accessibility/AccessibleExtendedComponent.java,
6898         javax/accessibility/AccessibleExtendedTable.java,
6899         javax/accessibility/AccessibleHyperlink.java,
6900         javax/accessibility/AccessibleHypertext.java,
6901         javax/accessibility/AccessibleIcon.java,
6902         javax/accessibility/Accessible.java,
6903         javax/accessibility/AccessibleKeyBinding.java,
6904         javax/accessibility/AccessibleRelation.java,
6905         javax/accessibility/AccessibleRelationSet.java,
6906         javax/accessibility/AccessibleResourceBundle.java,
6907         javax/accessibility/AccessibleRole.java,
6908         javax/accessibility/AccessibleSelection.java,
6909         javax/accessibility/AccessibleState.java,
6910         javax/accessibility/AccessibleStateSet.java,
6911         javax/accessibility/AccessibleTable.java,
6912         javax/accessibility/AccessibleTableModelChange.java,
6913         javax/accessibility/AccessibleText.java,
6914         javax/accessibility/AccessibleValue.java,
6915         javax/swing/AbstractAction.java,
6916         javax/swing/AbstractButton.java,
6917         javax/swing/AbstractCellEditor.java,
6918         javax/swing/AbstractListModel.java,
6919         javax/swing/AbstractSet.java, javax/swing/Action.java,
6920         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
6921         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
6922         javax/swing/border/CompoundBorder.java,
6923         javax/swing/border/EmptyBorder.java,
6924         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
6925         javax/swing/border/LineBorder.java,
6926         javax/swing/border/MatteBorder.java,
6927         javax/swing/border/TitledBorder.java,
6928         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
6929         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
6930         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
6931         javax/swing/CellRendererPane.java,
6932         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6933         javax/swing/colorchooser/ColorChooserComponentFactory.java,
6934         javax/swing/colorchooser/ColorSelectionModel.java,
6935         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6936         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
6937         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
6938         javax/swing/DefaultBoundedRangeModel.java,
6939         javax/swing/DefaultButtonModel.java,
6940         javax/swing/DefaultCellEditor.java,
6941         javax/swing/DefaultCellRenderer.java,
6942         javax/swing/DefaultComboBoxModel.java,
6943         javax/swing/DefaultDesktopManager.java,
6944         javax/swing/DefaultFocusManager.java,
6945         javax/swing/DefaultListCellRenderer.java,
6946         javax/swing/DefaultListModel.java,
6947         javax/swing/DefaultListSelectionModel.java,
6948         javax/swing/DefaultSingleSelectionModel.java,
6949         javax/swing/DesktopManager.java,
6950         javax/swing/event/AncestorEvent.java,
6951         javax/swing/event/AncestorListener.java,
6952         javax/swing/event/CaretEvent.java,
6953         javax/swing/event/CaretListener.java,
6954         javax/swing/event/CellEditorListener.java,
6955         javax/swing/event/ChangeEvent.java,
6956         javax/swing/event/ChangeListener.java,
6957         javax/swing/event/DocumentEvent.java,
6958         javax/swing/event/DocumentListener.java,
6959         javax/swing/event/EventListenerList.java,
6960         javax/swing/event/HyperlinkEvent.java,
6961         javax/swing/event/HyperlinkListener.java,
6962         javax/swing/event/InternalFrameAdapter.java,
6963         javax/swing/event/InternalFrameEvent.java,
6964         javax/swing/event/InternalFrameListener.java,
6965         javax/swing/event/ListDataEvent.java,
6966         javax/swing/event/ListDataListener.java,
6967         javax/swing/event/ListSelectionEvent.java,
6968         javax/swing/event/ListSelectionListener.java,
6969         javax/swing/event/MenuDragMouseEvent.java,
6970         javax/swing/event/MenuDragMouseListener.java,
6971         javax/swing/event/MenuEvent.java,
6972         javax/swing/event/MenuKeyEvent.java,
6973         javax/swing/event/MenuKeyListener.java,
6974         javax/swing/event/MenuListener.java,
6975         javax/swing/event/MouseInputAdapter.java,
6976         javax/swing/event/MouseInputListener.java,
6977         javax/swing/event/PopupMenuEvent.java,
6978         javax/swing/event/PopupMenuListener.java,
6979         javax/swing/event/SwingPropertyChangeSupport.java,
6980         javax/swing/event/TableColumnModelEvent.java,
6981         javax/swing/event/TableColumnModelListener.java,
6982         javax/swing/event/TableModelEvent.java,
6983         javax/swing/event/TableModelListener.java,
6984         javax/swing/event/TreeExpansionEvent.java,
6985         javax/swing/event/TreeExpansionListener.java,
6986         javax/swing/event/TreeModelEvent.java,
6987         javax/swing/event/TreeModelListener.java,
6988         javax/swing/event/TreeSelectionEvent.java,
6989         javax/swing/event/TreeSelectionListener.java,
6990         javax/swing/event/TreeWillExpandListener.java,
6991         javax/swing/event/UndoableEditEvent.java,
6992         javax/swing/event/UndoableEditListener.java,
6993         javax/swing/filechooser/FileFilter.java,
6994         javax/swing/filechooser/FileSystemView.java,
6995         javax/swing/filechooser/FileView.java,
6996         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
6997         javax/swing/Icon.java, javax/swing/ImageIcon.java,
6998         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
6999         javax/swing/JApplet.java, javax/swing/JButton.java,
7000         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
7001         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
7002         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
7003         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
7004         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
7005         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
7006         javax/swing/JLayeredPane.java, javax/swing/JList.java,
7007         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
7008         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
7009         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
7010         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
7011         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
7012         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
7013         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
7014         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
7015         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
7016         javax/swing/JTextField.java, javax/swing/JTextPane.java,
7017         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
7018         javax/swing/JToolTip.java, javax/swing/JTree.java,
7019         javax/swing/JViewport.java, javax/swing/JWindow.java,
7020         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
7021         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
7022         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
7023         javax/swing/MenuSelectionManager.java,
7024         javax/swing/MutableComboBoxModel.java,
7025         javax/swing/OverlayLayout.java,
7026         javax/swing/plaf/ActionMapUIResource.java,
7027         javax/swing/plaf/basic/BasicBorders.java,
7028         javax/swing/plaf/basic/BasicButtonUI.java,
7029         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7030         javax/swing/plaf/basic/BasicDefaults.java,
7031         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7032         javax/swing/plaf/basic/BasicIconFactory.java,
7033         javax/swing/plaf/basic/BasicLabelUI.java,
7034         javax/swing/plaf/basic/BasicListUI.java,
7035         javax/swing/plaf/basic/BasicLookAndFeel.java,
7036         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7037         javax/swing/plaf/basic/BasicPanelUI.java,
7038         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7039         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7040         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7041         javax/swing/plaf/basic/BasicTextUI.java,
7042         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7043         javax/swing/plaf/basic/BasicTreeUI.java,
7044         javax/swing/plaf/basic/BasicViewportUI.java,
7045         javax/swing/plaf/BorderUIResource.java,
7046         javax/swing/plaf/ButtonUI.java,
7047         javax/swing/plaf/ColorChooserUI.java,
7048         javax/swing/plaf/ColorUIResource.java,
7049         javax/swing/plaf/ComboBoxUI.java,
7050         javax/swing/plaf/ComponentInputMapUIResource.java,
7051         javax/swing/plaf/ComponentUI.java,
7052         javax/swing/plaf/DesktopIconUI.java,
7053         javax/swing/plaf/DesktopPaneUI.java,
7054         javax/swing/plaf/DimensionUIResource.java,
7055         javax/swing/plaf/FileChooserUI.java,
7056         javax/swing/plaf/FontUIResource.java,
7057         javax/swing/plaf/IconUIResource.java,
7058         javax/swing/plaf/InputMapUIResource.java,
7059         javax/swing/plaf/InsetsUIResource.java,
7060         javax/swing/plaf/InternalFrameUI.java,
7061         javax/swing/plaf/LabelUI.java,
7062         javax/swing/plaf/ListUI.java,
7063         javax/swing/plaf/MenuBarUI.java,
7064         javax/swing/plaf/MenuItemUI.java,
7065         javax/swing/plaf/OptionPaneUI.java,
7066         javax/swing/plaf/PanelUI.java,
7067         javax/swing/plaf/PopupMenuUI.java,
7068         javax/swing/plaf/ProgressBarUI.java,
7069         javax/swing/plaf/RootPaneUI.java,
7070         javax/swing/plaf/ScrollBarUI.java,
7071         javax/swing/plaf/ScrollPaneUI.java,
7072         javax/swing/plaf/SeparatorUI.java,
7073         javax/swing/plaf/SliderUI.java,
7074         javax/swing/plaf/SplitPaneUI.java,
7075         javax/swing/plaf/TabbedPaneUI.java,
7076         javax/swing/plaf/TableHeaderUI.java,
7077         javax/swing/plaf/TableUI.java,
7078         javax/swing/plaf/TextUI.java,
7079         javax/swing/plaf/ToolBarUI.java,
7080         javax/swing/plaf/ToolTipUI.java,
7081         javax/swing/plaf/TreeUI.java,
7082         javax/swing/plaf/UIResource.java,
7083         javax/swing/plaf/ViewportUI.java,
7084         javax/swing/ProgressMonitorInputStream.java,
7085         javax/swing/ProgressMonitor.java,
7086         javax/swing/Renderer.java,
7087         javax/swing/RepaintManager.java,
7088         javax/swing/RootPaneContainer.java,
7089         javax/swing/Scrollable.java,
7090         javax/swing/ScrollPaneConstants.java,
7091         javax/swing/ScrollPaneLayout.java,
7092         javax/swing/SingleSelectionModel.java,
7093         javax/swing/SizeRequirements.java,
7094         javax/swing/SizeSequence.java,
7095         javax/swing/SwingConstants.java,
7096         javax/swing/SwingUtilities.java,
7097         javax/swing/table/AbstractTableModel.java,
7098         javax/swing/table/DefaultTableCellRenderer.java,
7099         javax/swing/table/DefaultTableColumnModel.java,
7100         javax/swing/table/DefaultTableModel.java,
7101         javax/swing/table/TableCellEditor.java,
7102         javax/swing/table/TableCellRenderer.java,
7103         javax/swing/table/TableColumn.java,
7104         javax/swing/table/TableColumnModel.java,
7105         javax/swing/table/TableModel.java,
7106         javax/swing/text/AbstractDocument.java,
7107         javax/swing/text/AttributeSet.java,
7108         javax/swing/text/BadLocationException.java,
7109         javax/swing/text/Caret.java,
7110         javax/swing/text/CharacterIterator.java,
7111         javax/swing/text/ComponentView.java,
7112         javax/swing/text/DefaultCaret.java,
7113         javax/swing/text/DefaultEditorKit.java,
7114         javax/swing/text/Document.java,
7115         javax/swing/text/EditorKit.java,
7116         javax/swing/text/Element.java,
7117         javax/swing/text/GapContent.java,
7118         javax/swing/text/JTextComponent.java,
7119         javax/swing/text/Keymap.java,
7120         javax/swing/text/MutableAttributeSet.java,
7121         javax/swing/text/PlainDocument.java,
7122         javax/swing/text/PlainEditorKit.java,
7123         javax/swing/text/Position.java,
7124         javax/swing/text/Segment.java,
7125         javax/swing/text/StyledDocument.java,
7126         javax/swing/text/StyledEditorKit.java,
7127         javax/swing/text/Style.java,
7128         javax/swing/text/TextAction.java,
7129         javax/swing/text/ViewFactory.java,
7130         javax/swing/text/View.java,
7131         javax/swing/Timer.java,
7132         javax/swing/ToggleButtonModel.java,
7133         javax/swing/ToolTipManager.java,
7134         javax/swing/tree/AbstractLayoutCache.java,
7135         javax/swing/tree/DefaultMutableTreeNode.java,
7136         javax/swing/tree/DefaultTreeCellEditor.java,
7137         javax/swing/tree/DefaultTreeCellRenderer.java,
7138         javax/swing/tree/DefaultTreeModel.java,
7139         javax/swing/tree/DefaultTreeSelectionModel.java,
7140         javax/swing/tree/ExpandVetoException.java,
7141         javax/swing/tree/FixedHeightLayoutCache.java,
7142         javax/swing/tree/MutableTreeNode.java,
7143         javax/swing/tree/RowMapper.java,
7144         javax/swing/tree/TreeCellEditor.java,
7145         javax/swing/tree/TreeCellRenderer.java,
7146         javax/swing/tree/TreeModel.java,
7147         javax/swing/tree/TreeNode.java,
7148         javax/swing/tree/TreePath.java,
7149         javax/swing/tree/TreeSelectionModel.java,
7150         javax/swing/tree/VariableHeightLayoutCache.java,
7151         javax/swing/UIDefaults.java,
7152         javax/swing/UIManager.java,
7153         javax/swing/undo/AbstractUndoableEdit.java,
7154         javax/swing/undo/CannotRedoException.java,
7155         javax/swing/undo/CannotUndoException.java,
7156         javax/swing/undo/CompoundEdit.java,
7157         javax/swing/undo/StateEditable.java,
7158         javax/swing/undo/StateEdit.java,
7159         javax/swing/undo/UndoableEdit.java,
7160         javax/swing/undo/UndoableEditSupport.java,
7161         javax/swing/undo/UndoManager.java,
7162         javax/swing/UnsupportedLookAndFeelException.java,
7163         javax/swing/ViewportLayout.java,
7164         javax/swing/WindowConstants.java: New files, from GNU Classpath.
7165
7166         * java/awt/ActiveEvent.java,
7167         java/awt/Adjustable.java, java/awt/AWTError.java,
7168         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
7169         java/awt/AWTException.java, java/awt/AWTPermission.java,
7170         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
7171         java/awt/Color.java, java/awt/Component.java,
7172         java/awt/ComponentOrientation.java, java/awt/Container.java,
7173         java/awt/datatransfer/MimeTypeParseException.java,
7174         java/awt/datatransfer/Transferable.java,
7175         java/awt/datatransfer/UnsupportedFlavorException.java,
7176         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
7177         java/awt/event/ActionListener.java,
7178         java/awt/event/AdjustmentEvent.java,
7179         java/awt/event/AdjustmentListener.java,
7180         java/awt/event/AWTEventListener.java,
7181         java/awt/event/ComponentAdapter.java,
7182         java/awt/event/ComponentEvent.java,
7183         java/awt/event/ComponentListener.java,
7184         java/awt/event/ContainerAdapter.java,
7185         java/awt/event/ContainerEvent.java,
7186         java/awt/event/ContainerListener.java,
7187         java/awt/event/FocusAdapter.java,
7188         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
7189         java/awt/event/HierarchyBoundsAdapter.java,
7190         java/awt/event/HierarchyBoundsListener.java,
7191         java/awt/event/HierarchyEvent.java,
7192         java/awt/event/HierarchyListener.java,
7193         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
7194         java/awt/event/InputMethodListener.java,
7195         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
7196         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
7197         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
7198         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
7199         java/awt/event/MouseListener.java,
7200         java/awt/event/MouseMotionAdapter.java,
7201         java/awt/event/MouseMotionListener.java,
7202         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
7203         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
7204         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
7205         java/awt/event/WindowListener.java, java/awt/Font.java,
7206         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
7207         java/awt/geom/Ellipse2D.java,
7208         java/awt/geom/IllegalPathStateException.java,
7209         java/awt/geom/Line2D.java,
7210         java/awt/geom/NoninvertibleTransformException.java,
7211         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
7212         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
7213         java/awt/geom/RoundRectangle2D.java,
7214         java/awt/GraphicsConfiguration.java,
7215         java/awt/IllegalComponentStateException.java,
7216         java/awt/image/IndexColorModel.java,
7217         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
7218         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
7219         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
7220         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
7221         java/awt/MenuItem.java, java/awt/PaintContext.java,
7222         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
7223         java/awt/Polygon.java, java/awt/PrintGraphics.java,
7224         java/awt/PrintJob.java, java/awt/Rectangle.java,
7225         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
7226         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
7227         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
7228
7229         * java/awt/im/spi/InputMethod.java,
7230         java/awt/im/spi/InputMethodContext.java,
7231         java/awt/im/spi/InputMethodDescriptor.java,
7232         java/awt/image/renderable/ContextualRenderedImageFactory.java,
7233         java/awt/image/renderable/ParameterBlock.java,
7234         java/awt/image/renderable/RenderContext.java,
7235         java/awt/image/renderable/RenderableImage.java,
7236         java/awt/image/renderable/RenderableImageOp.java,
7237         java/awt/image/renderable/RenderableImageProducer.java,
7238         java/awt/image/renderable/RenderedImageFactory.java: New files from
7239         classpath.
7240
7241         * gnu/java/awt/EventModifier.java,
7242         gnu/java/awt/image/ImageDecoder.java,
7243         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
7244
7245         * gnu/awt/xlib/XGraphicsConfiguration.java,
7246         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
7247         API.
7248
7249         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
7250         GNU Classpath.
7251
7252         * Makefile.am: Add new files.
7253         * Makefile.in: Rebuilt.
7254
7255 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7256
7257         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
7258         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
7259         findResource, getResources, findResources): Add javadoc from classpath.
7260         (getSystemResources): Implemented.
7261
7262 2002-08-01  Mark Wielaard  <mark@klomp.org>
7263
7264         Revert patch that breaks libgcj shared library on powerpc:
7265         * gnu/java/security/provider/Gnu.java: Reverse referencing all
7266         implementation classes by using Class.getName(). Uses Strings again.
7267         * gnu/java/security/der/DEREncodingException.java,
7268         gnu/java/security/provider/DERReader.java,
7269         gnu/java/security/provider/DERWriter.java,
7270         gnu/java/security/provider/DSAKeyPairGenerator.java,
7271         gnu/java/security/provider/DSAParameterGenerator.java,
7272         gnu/java/security/provider/DSAParameters.java,
7273         gnu/java/security/provider/DSASignature.java,
7274         gnu/java/security/provider/GnuDSAPrivateKey.java,
7275         gnu/java/security/provider/GnuDSAPublicKey.java,
7276         gnu/java/security/provider/MD5.java,
7277         gnu/java/security/util/Prime.java: Removed.
7278         * Makefile.am (ordinary_java_source_files): Remove above files.
7279         * Makefile.in: Regenerate.
7280         * gnu/java/security/provider/DefaultPolicy.java
7281         (getPermissions): Revert to maintaining static class variable of
7282         Permissions.
7283         * gnu/java/security/provider/SHA.java
7284         (engineUpdate): Revert algorithm change.
7285         (engineDigest): Revert algorithm change.
7286
7287 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
7288
7289         * configure.host: Add SH support.
7290         * sysdep/sh/locks.h: New file.
7291
7292 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7293
7294         * java/awt/Frame.java (Frame): Remove println calls.
7295
7296 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
7297
7298         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
7299         * configure: Rebuilt.
7300
7301 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
7302
7303         * sysdep/powerpc/locks.h: Formatting.
7304         (_LARX): Define.
7305         (_STCX): Define.
7306         (compare_and_swap): Use _LARX and _STCX.
7307         (compare_and_swap_release): Likewise.
7308
7309 2002-07-26  Tom Tromey  <tromey@redhat.com>
7310
7311         * java/net/Authenticator.java: New version from Classpath.
7312         * java/net/DatagramSocketImpl.java: New version from Classpath.
7313
7314 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
7315
7316         * configure.host: Add powerpc64*-* entry.
7317
7318 2002-07-26  Tom Tromey  <tromey@redhat.com>
7319
7320         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
7321         fcntl.h.
7322
7323 2002-07-24  Tom Tromey  <tromey@redhat.com>
7324
7325         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
7326         argument to _load.
7327
7328 2002-07-24  Tom Tromey  <tromey@redhat.com>
7329             Tony Kimball <alk@pobox.com>
7330
7331         * java/io/natFileDescriptorWin32.cc (setLength): New method.
7332         * java/io/natFileDescriptorPosix.cc (setLength): New method.
7333         * java/io/RandomAccessFile.java (setLength): New method.
7334         * java/io/natFileDescriptorEcos.cc (setLength): New method.
7335         * java/io/FileDescriptor.java (setLength): New method.
7336
7337 2002-07-24  Mark Wielaard  <mark@klomp.org>
7338
7339         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
7340         * java/io/ObjectInputStream.java (setBooleanField): Before setting
7341         field call setAccessible(true).
7342         (setByteField): Likewise.
7343         (setCharField): Likewise.
7344         (setDoubleField): Likewise.
7345         (setFloatField): Likewise.
7346         (setIntField): Likewise.
7347         (setLongField): Likewise.
7348         (setShortField): Likewise.
7349         (setObjectField): Likewise.
7350
7351 2002-07-24  Tom Tromey  <tromey@redhat.com>
7352
7353         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
7354         use toString() to format array element.
7355
7356 2002-07-23  Mark Wielaard  <mark@klomp.org>
7357
7358         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
7359         MessageDigestSpi (fixes Classpath bug #783).
7360
7361 2002-07-21  Mark Wielaard  <mark@klomp.org>
7362
7363         * gnu/java/security/provider/Gnu.java: Reference all implementation
7364         classes by using Class.getName().
7365
7366 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
7367
7368         * java/lang/ieeefp.h: Add x86-64 support.
7369         * configure.in: Likewise.
7370         * configure.host: Likewise.
7371         * configure: Regenerated.
7372         * sysdep/x86-64/locks.h: New file with x86-64 locks.
7373
7374 2002-07-16  Mark Wielaard  <mark@klomp.org>
7375
7376         * java/io/StreamTokenizer.java (pushBack): Update documentation.
7377         (whitespaceChars): call resetChar().
7378
7379 2002-07-15  Tom Tromey  <tromey@redhat.com>
7380
7381         * Makefile.in: Rebuilt.
7382         * Makefile.am (awt_java_source_files): Added new files.
7383         * java/beans/ExceptionListener.java: Merged with Classpath.
7384         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
7385         * java/beans/PropertyChangeListener.java: Merged with Classpath.
7386         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
7387         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
7388         * java/beans/VetoableChangeListener.java: Merged with Classpath.
7389         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
7390         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
7391
7392 2002-07-14  Mark Wielaard  <mark@klomp.org>
7393
7394         * gnu/java/security/der/DEREncodingException.java,
7395         gnu/java/security/provider/DERReader.java,
7396         gnu/java/security/provider/DERWriter.java,
7397         gnu/java/security/provider/DSAKeyPairGenerator.java,
7398         gnu/java/security/provider/DSAParameterGenerator.java,
7399         gnu/java/security/provider/DSAParameters.java,
7400         gnu/java/security/provider/DSASignature.java,
7401         gnu/java/security/provider/GnuDSAPrivateKey.java,
7402         gnu/java/security/provider/GnuDSAPublicKey.java,
7403         gnu/java/security/provider/MD5.java,
7404         gnu/java/security/util/Prime.java: New files from Classpath.
7405         * Makefile.am (ordinary_java_source_files): Add new files.
7406         * Makefile.in: Regenerate.
7407
7408 2002-07-14  C. Brian Jones <cbj@gnu.org>
7409
7410         * gnu/java/security/provider/DefaultPolicy.java
7411         (getPermissions): do not maintain static class variable of
7412         Permissions
7413         * gnu/java/security/provider/SHA.java
7414         (engineUpdate): algorithm change
7415         (engineDigest): algorithm change
7416
7417 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
7418
7419         For PR libgcj/7292:
7420         * java/lang/Character.java (toString(char)): Now static.
7421
7422 2002-07-12  Mark Wielaard  <mark@klomp.org>
7423
7424         * java/lang/natThrowable.cc (printRawStackTrace): removed.
7425         (getStackTrace0): new method.
7426         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
7427         (printStackTrace(PrintWriter)): replace with pure java implementation.
7428         (printRawStackTrace): removed.
7429         (getStackTrace0): new method.
7430         * java/lang/StackTraceElement.java (toString): add extra whitespace.
7431         * gcj/javaprims.h: regenerate class list.
7432         * include/name-finder.h (lookup): new returns StackTraceElement*.
7433         (method_name, file_name): fields removed.
7434         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
7435         (~_Jv_name_finder): close new descriptors.
7436         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
7437         (createStackTraceElement): new method.
7438         (lookup): returns StackTraceElement*, uses createStackTraceElement().
7439
7440 2002-07-10  Tom Tromey  <tromey@redhat.com>
7441
7442         * configure: Rebuilt.
7443         * configure.in: Use `test' after `&&'.  From Chris Faylor.
7444
7445 2002-07-08  Mark Wielaard  <mark@klomp.org>
7446
7447         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
7448         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
7449         java.sql.DatabaseMetaData.TestJdbc20
7450
7451 2002-07-05  Tony Kimball  <alk@pobox.com>
7452
7453         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
7454
7455 2002-07-04  Tom Tromey  <tromey@redhat.com>
7456             Jeff Sturm  <jsturm@one-point.com>
7457
7458         Fix for PR libgcj/7060:
7459         * java/lang/Class.h (_getMethod): Renamed from getMethod.
7460         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
7461         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
7462         * java/lang/Class.java (getMethod): New Java implementation;
7463         complies with spec.
7464         (_getMethod): New native method.
7465
7466 2002-07-02  Tom Tromey  <tromey@redhat.com>
7467             David Hovemeyer  <daveho@cs.umd.edu>
7468
7469         * java/text/ChoiceFormat.java
7470         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
7471         in check loop.
7472         * java/text/MessageFormat.java
7473         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
7474         to MessageFormat.
7475
7476 2002-07-01  Tom Tromey  <tromey@redhat.com>
7477
7478         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
7479         StringTokenizer on null string.  For PR libgcj/7180.
7480         From daveho@cs.umd.edu.
7481
7482 2002-06-24  Tom Tromey  <tromey@redhat.com>
7483
7484         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
7485         (IntegerClass): Likewise.
7486         * java/lang/natClass.cc (CloneableClass): Removed.
7487         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
7488         ConstructorClass): Likewise.
7489         * java/lang/natClassLoader.cc (CloneableClass): Removed.
7490         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
7491         SerializableClass): Likewise.
7492         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
7493         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
7494         LongClass, FloatClass, DoubleClass): Likewise.
7495
7496         * verify.cc (branch_prepass): Updated for change to exception
7497         handler type.
7498         (verify_instructions_0): Likewise.
7499         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
7500         (handleExceptionTableEntry): Updated for change to exception
7501         handler type.
7502         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
7503         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
7504         (union _Jv_InterpPC): New.
7505         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
7506         (class _Jv_InterpMethod): Added new `prepared' field.
7507         (class _Jv_InterpMethod): Added `compile' method.  Removed
7508         `continue1' and `find_exception'.  Changed arguments to `run'.
7509         * interpret.cc (union insn_slot): New.
7510         (find_exception): Removed.
7511         (run_normal): Removed most logic.
7512         (run_synch_object): Likewise; also, use JvSynchronize.
7513         (run_synch_class): Likewise.
7514         (run): Removed.
7515         (continue1): Renamed as `run'.  Compile bytecode if required.
7516         Add new code to allow refinement of direct-threaded code at
7517         runtime.  Handle exceptions.
7518         (SAVE_PC): Removed.
7519         (compile): New method.
7520         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
7521         (NULLARRAYCHECK): Don't use SAVE_PC.
7522         (pc_t): New typedef.
7523         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
7524         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
7525
7526 2002-06-23  Tom Tromey  <tromey@redhat.com>
7527
7528         * configure: Rebuilt.
7529         * configure.in (INTERPRETER): New subst.
7530         (AM_RUNTESTFLAGS): Don't subst.
7531
7532         * Makefile.in: Rebuilt.
7533         * Makefile.am ($(srcdir)/java/lang/Object.h,
7534         $(srcdir)/java/lang/Class.h): Added dummy targets.
7535
7536 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7537
7538         Reformat JDBC classes and add new JDK 1.4 classes and methods.
7539
7540         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
7541         java/sql/Savepoint.java: New files.
7542         * java/sql/Array.java, java/sql/BatchUpdateException.java,
7543         java/sql/Blob.java, java/sql/CallableStatement.java,
7544         java/sql/Clob.java, java/sql/Connection.java,
7545         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
7546         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
7547         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
7548         java/sql/Ref.java, java/sql/ResultSet.java,
7549         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
7550         java/sql/SQLException.java, java/sql/SQLInput.java,
7551         java/sql/SQLOutput.java, java/sql/SQLWarning.java
7552         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
7553         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
7554         (JDK 1.4) specification.
7555         * javax/sql/ConnectionEvent.java,
7556         javax/sql/ConnectionEventListener.java,
7557         javax/sql/ConnectionPoolDataSource.java,
7558         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
7559         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
7560         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
7561         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
7562         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
7563         javax/sql/XADataSource.java: New files.
7564         * Makefile.am: Add new files.
7565         * Makefile.in: Rebuilt.
7566
7567 2002-06-20  Tom Tromey  <tromey@redhat.com>
7568
7569         For PR libgcj/7073:
7570         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
7571         exists.
7572         * defineclass.cc (handleClassBegin): Superclass for interface is
7573         `null'.
7574
7575 2002-06-18  Tom Tromey  <tromey@redhat.com>
7576
7577         * gcj/javaprims.h: Updated class declaration list.
7578         * Makefile.in: Rebuilt.
7579         * Makefile.am (core_java_source_files): Removed
7580         BasicMapEntry.java.
7581         * java/util/BasicMapEntry.java: Removed.
7582
7583 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
7584
7585         * java/net/natPlainDatagramSocketImpl.cc (receive):
7586         Check bounds of argument to FD_SET.
7587         (setOption): Throw exception if socket is closed.
7588
7589         * java/net/natPlainSocketImpl.cc (accept, read):
7590         Check bounds of argument to FD_SET.
7591         (setOption): Throw exception if socket is closed.
7592
7593 2002-06-18  Tom Tromey  <tromey@redhat.com>
7594
7595         * gcj/javaprims.h: Updated class declaration list.
7596         * Makefile.in: Rebuilt.
7597         * Makefile.am (core_java_source_files): Added
7598         PropertyPermissionCollection.java.
7599         * java/lang/Thread.java (group, name): Now package-private.
7600         * java/lang/ThreadGroup.java: Re-merge with Classpath.
7601         * java/util/AbstractList.java: Likewise.
7602         * java/util/AbstractMap.java: Likewise.
7603         * java/util/Calendar.java: Likewise.
7604         * java/util/Collections.java: Likewise.
7605         * java/util/HashMap.java: Likewise.
7606         * java/util/Hashtable.java: Likewise.
7607         * java/util/LinkedHashMap.java: Likewise.
7608         * java/util/LinkedList.java: Likewise.
7609         * java/util/List.java: Likewise.
7610         * java/util/ListResourceBundle.java: Likewise.
7611         * java/util/Map.java: Likewise.
7612         * java/util/Observable.java: Likewise.
7613         * java/util/Properties.java: Likewise.
7614         * java/util/PropertyPermission.java: Likewise.
7615         * java/util/PropertyPermissionCollection.java: Likewise.
7616         * java/util/PropertyResourceBundle.java: Likewise.
7617         * java/util/Random.java: Likewise.
7618         * java/util/SimpleTimeZone.java: Likewise.
7619         * java/util/StringTokenizer.java: Likewise.
7620         * java/util/TimerTask.java: Likewise.
7621         * java/util/TreeMap.java: Likewise.
7622         * java/util/WeakHashMap.java: Likewise.
7623         * java/util/jar/Attributes.java: Likewise.
7624         * java/util/jar/JarException.java: Likewise.
7625         * java/util/jar/Manifest.java: Likewise.
7626
7627 2002-06-17  Tom Tromey  <tromey@redhat.com>
7628
7629         * gcj/javaprims.h: Updated class declaration list.
7630         * Makefile.in: Rebuilt.
7631         * Makefile.am (core_java_source_files): Added new file.
7632         * java/util/EventListenerProxy.java: New file.
7633         * java/util/EventListener.java: Re-merge with Classpath.
7634         * java/util/EventObject.java: Re-merge with Classpath.
7635
7636 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
7637
7638         * java/lang/ClassNotFoundException.java: New Classpath version.
7639
7640 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
7641
7642         * java/rmi/activation/ActivateFailedException.java: Remerge from
7643         Classpath version.
7644         * java/rmi/activation/ActivationException.java: Ditto.
7645         * java/rmi/activation/UnknownGroupException.java: Ditto.
7646         * java/rmi/activation/UnknownObjectException.java: Ditto.
7647         * java/rmi/server/ExportException: Ditto.
7648         * java/rmi/server/ServerCloneException: Ditto.
7649         * java/rmi/server/ServerNotActiveException: Ditto.
7650         * java/rmi/server/SkeletonMismatchException: Ditto.
7651         * java/rmi/server/SkeletonNotFoundException: Ditto.
7652         * java/rmi/server/SocketSecurityException: Ditto.
7653
7654 2002-06-16  Tom Tromey  <tromey@redhat.com>
7655
7656         * gcj/javaprims.h: Updated class declaration list.
7657
7658         * java/io/LineNumberInputStream.java: Merged with Classpath.
7659
7660         * java/lang/RuntimeException.java: Re-merge with Classpath.
7661         * java/util/ArrayList.java: Likewise.
7662         * java/util/Arrays.java: Likewise.
7663         * java/util/BitSet.java: Likewise.
7664         * java/util/Dictionary.java: Likewise.
7665         * java/util/IdentityHashMap.java: Likewise.
7666         * java/util/MissingResourceException.java: Likewise.
7667         * java/util/Observer.java: Likewise.
7668         * java/util/TooManyListenersException.java: Likewise.
7669         * java/util/zip/DataFormatException.java: Likewise.
7670         * java/util/zip/ZipException.java: Likewise.
7671
7672 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
7673
7674         * java/rmi/AccessException.java: Remerge from Classpath.
7675         * java/rmi/AlreadyBoundException.java: Ditto.
7676         * java/rmi/ConnectException.java: Ditto.
7677         * java/rmi/ConnectIOException.java: Ditto.
7678         * java/rmi/MarshalException.java: Ditto.
7679         * java/rmi/NoSuchObjectException.java: Ditto.
7680         * java/rmi/NotBoundException.java: Ditto.
7681         * java/rmi/RemoteException.java: Ditto.
7682         * java/rmi/RMISecurityException.java: Ditto.
7683         * java/rmi/ServerError.java: Ditto.
7684         * java/rmi/ServerException.java: Ditto.
7685         * java/rmi/ServerRuntimeException.java: Ditto.
7686         * java/rmi/StubNotFoundException.java: Ditto.
7687         * java/rmi/UnexpectedExcpetion.java: Ditto.
7688         * java/rmi/UnknownHostException.java: Ditto.
7689         * java/rmi/UnmarshalException.java: Ditto.
7690
7691 2002-06-15  Tom Tromey  <tromey@redhat.com>
7692
7693         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
7694         * java/lang/ArithmeticException.java: Likewise.
7695         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
7696         * java/lang/ArrayStoreException.java: Likewise.
7697         * java/lang/Byte.java: Likewise.
7698         * java/lang/CharSequence.java: Likewise.
7699         * java/lang/ClassCastException.java: Likewise.
7700         * java/lang/ClassCircularityError.java: Likewise.
7701         * java/lang/ClassFormatError.java: Likewise.
7702         * java/lang/CloneNotSupportedException.java: Likewise.
7703         * java/lang/Cloneable.java: Likewise.
7704         * java/lang/Comparable.java: Likewise.
7705         * java/lang/Compiler.java: Likewise.
7706         * java/lang/Error.java: Likewise.
7707         * java/lang/ExceptionInInitializerError.java: Likewise.
7708         * java/lang/IllegalAccessError.java: Likewise.
7709         * java/lang/IllegalAccessException.java: Likewise.
7710         * java/lang/IllegalArgumentException.java: Likewise.
7711         * java/lang/IllegalMonitorStateException.java: Likewise.
7712         * java/lang/IllegalStateException.java: Likewise.
7713         * java/lang/IllegalThreadStateException.java: Likewise.
7714         * java/lang/IncompatibleClassChangeError.java: Likewise.
7715         * java/lang/IndexOutOfBoundsException.java: Likewise.
7716         * java/lang/InheritableThreadLocal.java: Likewise.
7717         * java/lang/InstantiationError.java: Likewise.
7718         * java/lang/InstantiationException.java: Likewise.
7719         * java/lang/InternalError.java: Likewise.
7720         * java/lang/InterruptedException.java: Likewise.
7721         * java/lang/LinkageError.java: Likewise.
7722         * java/lang/NegativeArraySizeException.java: Likewise.
7723         * java/lang/NoClassDefFoundError.java: Likewise.
7724         * java/lang/NoSuchFieldError.java: Likewise.
7725         * java/lang/NoSuchFieldException.java: Likewise.
7726         * java/lang/NoSuchMethodError.java: Likewise.
7727         * java/lang/NoSuchMethodException.java: Likewise.
7728         * java/lang/NullPointerException.java: Likewise.
7729         * java/lang/NumberFormatException.java: Likewise.
7730         * java/lang/OutOfMemoryError.java: Likewise.
7731         * java/lang/Process.java: Likewise.
7732         * java/lang/Runnable.java: Likewise.
7733         * java/lang/RuntimePermission.java: Likewise.
7734         * java/lang/SecurityException.java: Likewise.
7735         * java/lang/Short.java: Likewise.
7736         * java/lang/StackOverflowError.java: Likewise.
7737         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
7738         * java/lang/ThreadDeath.java: Likewise.
7739         * java/lang/ThreadLocal.java: Likewise.
7740         * java/lang/UnknownError.java: Likewise.
7741         * java/lang/UnsatisfiedLinkError.java: Likewise.
7742         * java/lang/UnsupportedClassVersionError.java: Likewise.
7743         * java/lang/UnsupportedOperationException.java: Likewise.
7744         * java/lang/VerifyError.java: Likewise.
7745         * java/lang/VirtualMachineError.java: Likewise.
7746         * java/lang/reflect/InvocationTargetException.java: Likewise.
7747         * java/net/BindException.java: Likewise.
7748         * java/net/ConnectException.java: Likewise.
7749         * java/net/MalformedURLException.java: Likewise.
7750         * java/net/NoRouteToHostException.java: Likewise.
7751         * java/net/ProtocolException.java: Likewise.
7752         * java/net/SocketException.java: Likewise.
7753         * java/net/UnknownHostException.java: Likewise.
7754         * java/net/UnknownServiceException.java: Likewise.
7755
7756         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
7757         * java/io/CharConversionException.java: Likewise.
7758         * java/io/EOFException.java: Likewise.
7759         * java/io/FileNotFoundException.java: Likewise.
7760         * java/io/IOException.java: Likewise.
7761         * java/io/InterruptedIOException.java: Likewise.
7762         * java/io/InvalidClassException.java: Likewise.
7763         * java/io/InvalidObjectException.java: Likewise.
7764         * java/io/NotActiveException.java: Likewise.
7765         * java/io/NotSerializableException.java: Likewise.
7766         * java/io/ObjectStreamException.java: Likewise.
7767         * java/io/ObjectStreamConstants.java: Likewise.
7768         * java/io/OptionalDataException.java: Likewise.
7769         * java/io/PipedInputStream.java: Likewise.
7770         * java/io/PushbackInputStream.java: Likewise.
7771         * java/io/StreamCorruptedException.java: Likewise.
7772         * java/io/SyncFailedException.java: Likewise.
7773         * java/io/UTFDataFormatException.java: Likewise.
7774         * java/io/UnsupportedEncodingException.java: Likewise.
7775         * java/io/WriteAbortedException.java: Likewise.
7776
7777 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
7778
7779         * java/text/ChoiceFormat.java: Update comments from Classpath.
7780         * java/text/ParseException.java (serialVersionUID): New
7781         field from Classpath.
7782         * java/text/ParseException.java: Update formatting & comments
7783         from Classpath.
7784
7785 2002-06-15  Tom Tromey  <tromey@redhat.com>
7786
7787         * java/util/zip/InflaterInputStream.java (read): Loop if data has
7788         been read but none output by inflater.
7789         * java/util/zip/natDeflater.cc (reset): Set is_finished.
7790         * java/util/zip/natInflater.cc (reset): Set dist_needed and
7791         is_finished.
7792         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
7793         version.
7794         * java/util/zip/ZipFile.java: Replaced with Classpath version.
7795         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
7796         * java/util/zip/ZipInputStream.java: Replaced with Classpath
7797         version.
7798         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
7799
7800 2002-06-13  Tom Tromey  <tromey@redhat.com>
7801
7802         * java/lang/natString.cc (init): Handle case where DONT_COPY is
7803         true and OFFSET!=0.
7804         * java/lang/String.java (String(char[],int,int,boolean): New
7805         constructor.
7806         * java/lang/Long.java: Imported new version from Classpath.
7807         * java/lang/Number.java: Likewise.
7808         * java/lang/Integer.java: Likewise.
7809         * java/lang/Long.java: Likewise.
7810         * java/lang/Float.java: Likewise.
7811         * java/lang/Boolean.java: Likewise.
7812         * java/lang/Double.java: Likewise.
7813         * java/lang/Void.java: Likewise.
7814
7815 2002-06-12  Tom Tromey  <tromey@redhat.com>
7816
7817         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
7818         Fixes PR libgcj/6652.
7819
7820 2002-06-10  Tom Tromey  <tromey@redhat.com>
7821
7822         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
7823         (Class::getPackagePortion): Likewise.
7824         * java/lang/Class.java (desiredAssertionStatus): New method from
7825         Classpath.
7826         (getPackagePortion): Likewise.
7827         * java/lang/VMClassLoader.java (defaultAssertionStatus,
7828         packageAssertionStatus, classAssertionStatus): New methods from
7829         Classpath.
7830         * java/lang/ClassLoader.java (defaultAssertionStatus,
7831         systemPackageAssertionStatus, packageAssertionStatus,
7832         systemClassAssertionStatus, classAssertionStatus): New fields from
7833         Classpath.
7834         (setDefaultAssertionStatus, setPackageAssertionStatus,
7835         setClassAssertionStatus, clearAssertionStatus): New methods from
7836         Classpath.
7837         * Makefile.in: Rebuilt.
7838         * Makefile.am (core_java_source_files): Added AssertionError.java.
7839         * java/lang/AssertionError.java: New from Classpath.
7840
7841 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7842
7843         * configure.host: Disable hash synchronization and slow_pthread_self
7844         for cygwin.
7845
7846 2002-06-06  Adam Megacz <adam@xwt.org>
7847
7848         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
7849         locking, just like the Sun JVM does.
7850
7851 2002-06-05  H.J. Lu  (hjl@gnu.org)
7852
7853         * Makefile.am (libgcj_convenience.la): Revert the last change.
7854         (libgcj.la): Likewise.
7855         * Makefile.in: Regenerated.
7856
7857 2002-06-04  H.J. Lu  (hjl@gnu.org)
7858
7859         * Makefile.am (libgcj_convenience.la): New target.
7860         (libgcj.la): Depend on libgcj_convenience.la.
7861         * Makefile.in: Regenerated.
7862
7863 2002-06-04  H.J. Lu  (hjl@gnu.org)
7864
7865         * configure.in (--with-newlib): New option:
7866         Check ${with_newlib} instead of ${with_cross_host} for newlib.
7867         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
7868         Linux.
7869         * configure: Regenerated.
7870
7871 2002-06-04  Tom Tromey  <tromey@redhat.com>
7872
7873         * java/util/natTimeZone.cc: Include <stdio.h>.
7874
7875 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
7876
7877         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
7878         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
7879         Set SIGNAL_HANDLER=include/s390-linux.h.
7880         * configure: Regenerate.
7881         * include/s390-linux.h: New file.
7882
7883 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7884
7885         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
7886         not "stackTrace".
7887
7888 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7889
7890         Merge JDK 1.4 java.security changes from classpath.
7891
7892         * java/security/AccessControlException.java: Merge from Classpath.
7893         * java/security/AccessController.java: Likewise.
7894         * java/security/AllPermission.java: Likewise.
7895         * java/security/BasicPermission.java: Likewise.
7896         * java/security/Certificate.java: Likewise.
7897         * java/security/CodeSource.java: Likewise.
7898         * java/security/DigestException.java: Likewise.
7899         * java/security/DigestOutputStream.java: Likewise.
7900         * java/security/DomainCombiner.java: Likewise.
7901         * java/security/GeneralSecurityException.java: Likewise.
7902         * java/security/Guard.java: Likewise.
7903         * java/security/GuardedObject.java: Likewise.
7904         * java/security/InvalidAlgorithmParameterException.java: Likewise.
7905         * java/security/InvalidKeyException.java: Likewise.
7906         * java/security/InvalidParameterException.java: Likewise.
7907         * java/security/Key.java: Likewise.
7908         * java/security/KeyException.java: Likewise.
7909         * java/security/KeyManagementException.java: Likewise.
7910         * java/security/KeyStoreException.java: Likewise.
7911         * java/security/MessageDigest.java: Likewise.
7912         * java/security/NoSuchAlgorithmException.java: Likewise.
7913         * java/security/NoSuchProviderException.java: Likewise.
7914         * java/security/Permission.java: Likewise.
7915         * java/security/PermissionCollection.java: Likewise.
7916         * java/security/Permissions.java: Likewise.
7917         * java/security/Policy.java: Likewise.
7918         * java/security/Principal.java: Likewise.
7919         * java/security/PrivateKey.java: Likewise.
7920         * java/security/PrivilegedAction.java: Likewise.
7921         * java/security/PrivilegedActionException.java: Likewise.
7922         * java/security/PrivilegedExceptionAction.java: Likewise.
7923         * java/security/ProtectionDomain.java: Likewise.
7924         * java/security/ProviderException.java: Likewise.
7925         * java/security/PublicKey.java: Likewise.
7926         * java/security/SecureClassLoader.java: Likewise.
7927         * java/security/SecurityPermission.java: Likewise.
7928         * java/security/SignatureException.java: Likewise.
7929         * java/security/UnrecoverableKeyException.java: Likewise.
7930         * java/security/UnresolvedPermission.java: Likewise.
7931         * java/security/acl/AclNotFoundException.java: Likewise.
7932         * java/security/acl/LastOwnerException.java: Likewise.
7933         * java/security/acl/NotOwnerException.java: Likewise.
7934         * java/security/cert/CRLException.java: Likewise.
7935         * java/security/cert/CertificateEncodingException.java: Likewise.
7936         * java/security/cert/CertificateException.java: Likewise.
7937         * java/security/cert/CertificateExpiredException.java: Likewise.
7938         * java/security/cert/CertificateFactory.java: Likewise.
7939         * java/security/cert/CertificateNotYetValidException.java: Likewise.
7940         * java/security/cert/CertificateParsingException.java: Likewise.
7941         * java/security/spec/InvalidKeySpecException.java: Likewise.
7942         * java/security/spec/InvalidParameterSpecException.java: Likewise.
7943
7944         * java/security/cert/CertPath.java: New file.
7945         * java/security/cert/CertPathBuilderException.java: New file.
7946         * java/security/cert/CertPathValidatorException.java: New file.
7947         * java/security/cert/CertStoreException.java: New file.
7948
7949         * Makefile.am: Add new CertPath classes.
7950         * Makefile.in: Rebuilt.
7951
7952         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
7953
7954 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7955
7956         Merge JDK 1.4 exception chaining support from classpath.
7957
7958         * java/lang/Throwable.java: Merge 1.4 support from classpath.
7959         (stackTraceBytes): Rename from stackTrace.
7960         * java/lang/Exception.java: Merge from classpath.
7961         * java/lang/StackTraceElement: New file from classpath.
7962         * gcj/javaprims.h: Rebuild CNI namespace declarations.
7963         * Makefile.am: Add StackTraceElement.
7964         * Makefile.in: Rebuilt.
7965
7966 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
7967
7968         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
7969         they build first.
7970         * Makefile.in: Rebuilt.
7971
7972 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7973
7974         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
7975         * configure.in: Likewise.
7976         * aclocal.m4: Regenerate.
7977         * configure: Regenerate.
7978
7979 2002-05-13  Tom Tromey  <tromey@redhat.com>
7980
7981         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
7982         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
7983         Include platform.h.
7984
7985         Fixes PR libgcj/6389:
7986         * Makefile.in: Rebuilt.
7987         * Makefile.am (nat_source_files): Added natTimeZone.cc.
7988         * java/util/natTimeZone.cc: New file.
7989         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
7990         * java/lang/System.java: Merged with Classpath.
7991         * java/lang/Runtime.java: Merged with Classpath.
7992         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
7993         security check.
7994         (setIn0): Renamed from setIn; don't run security check.
7995         (setOut0): Renamed from setOut; don't run security check.
7996         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
7997         init_properties): Moved to natRuntime.cc.
7998         Moved many includes to natRuntime.cc.
7999         (isWordsBigEndian): New method.
8000         * java/lang/natRuntime.cc: Include Long.h, also other includes
8001         previously in natSystem.cc.
8002         (maxMemory): New function.
8003         (exitInternal): Renamed from `_exit'.
8004         (exit): Removed.
8005         (init): Don't set finalize_on_exit.
8006         (exitInternal): Use `finalizeOnExit'.
8007         (file_encoding, getpwuid_adaptor): New functions from
8008         natSystem.cc.
8009         (insertSystemProperties): New method, renamed from
8010         System::init_properties.  Don't set user.timezone.
8011         (_load): Don't call checkLink.
8012         (execInternal): New method.
8013         (availableProcessors): Likewise.
8014         (nativeGetLibname): Likewise.
8015
8016 2002-05-11  Mark Wielaard  <mark@klomp.org>
8017
8018         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
8019         space characters.
8020         (previous_internal): Likewise.
8021
8022 2002-05-09  Tom Tromey  <tromey@redhat.com>
8023
8024         * jni.cc (_Jv_JNIFunctions): Fixed typo.
8025
8026         * java/util/ResourceBundle.java: New version from Classpath.
8027         * java/util/Locale.java: Likewise.
8028
8029 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
8030
8031         * testsuite/lib/libjava.exp (libjava_arguments): Append all
8032         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
8033         LD_LIBRARY_PATH.
8034
8035 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
8036
8037         * libjava/Makefile.am (all_java_source_files): New variable.
8038         (all_java_class_files): Likewise.
8039         .java.class: New rule.
8040         (CLEANFILES): Remove tmp-list.
8041         * libjava/Makefile.in: Regenerated.
8042
8043 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
8044
8045         * testsuite/lib/libjava.exp (test_libjava_from_javac):
8046         Append .exe to executable names.  Fix for cygwin.
8047
8048 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
8049
8050         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
8051         script entry, and set LD to it when configuring multilibs.
8052         * configure: Rebuilt.
8053
8054 2002-05-07  Tom Tromey  <tromey@redhat.com>
8055
8056         * java/lang/natString.cc (unintern): Fixed typo.
8057
8058 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
8059
8060         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
8061         with -no-install on *-*-cygwin*.
8062
8063 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
8064
8065         * testsuite/lib/libjava.exp (test_libjava_from_source):
8066         Add comment explaining last patch
8067
8068 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
8069
8070         * testsuite/lib/libjava.exp (test_libjava_from_source):
8071         Append .exe to executable names.  If no suffix is present,
8072         then ".exe" is added by default on win32.  Harmless
8073         elsewhere so always do it.
8074
8075 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
8076             Tom Tromey  <tromey@redhat.com>
8077
8078         * java/lang/natSystem.cc (getSystemTimeZone): Use
8079         HAVE_UNDERSCORE_TIMEZONE.
8080         * include/config.h.in: Rebuilt.
8081         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
8082         * aclocal.m4, configure: Rebuilt.
8083         * acinclude.m4: Run AC_EXEEXT.
8084         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
8085         Add test for `_timezone'.
8086
8087 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
8088
8089         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8090         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
8091         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
8092         * Makefile.in: Rebuilt.
8093
8094 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
8095
8096         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
8097         use sigaction instead of __libc_sigaction.
8098
8099 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8100
8101         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
8102         (libjava_init): Use it to find libgcj.spec.
8103         (libjava_arguments): Likewise.
8104
8105 2002-05-02  David S. Miller  <davem@redhat.com>
8106
8107         PR bootstrap/6525
8108         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
8109         __libc_sigaction on Sparc.
8110
8111 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
8112
8113         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
8114         sys/filio.h, if present.
8115
8116 2002-04-30  Tom Tromey  <tromey@redhat.com>
8117
8118         * java/io/BufferedReader.java (fill): Handle case where markPos
8119         point to ignored \n.  Fixes PR libgcj/6301.
8120
8121 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
8122
8123         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
8124
8125 2002-04-29  Adam King <aking@dreammechanics.com>
8126
8127         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
8128         of file in APPEND mode.
8129
8130 2002-04-25  David S. Miller  <davem@redhat.com>
8131
8132         PR target/6422
8133         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
8134         program counter to next program counter minus 8.  Update
8135         comments in this macro to explain why.
8136
8137 2002-04-26  Tom Tromey  <tromey@redhat.com>
8138
8139         * verify.cc (construct_primitive_array_type) [void_type]: New
8140         case.
8141         (branch_prepass): Added dummy entries for unused instruction
8142         values.
8143         (verify_instructions_0): Likewise.
8144         * interpret.cc (continue1): Comment fix.
8145         * include/java-insns.h (op_xxxunusedxxx1): Removed.
8146         * Makefile.in: Rebuilt.
8147         * Makefile.am: Added -Wswitch-enum.
8148
8149 2002-04-24  Tom Tromey  <tromey@redhat.com>
8150
8151         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
8152         correct length of UTF-8 encoded name.  Strip leading `/'.
8153         (_Jv_RegisterResource): Use _Jv_Malloc.
8154
8155 2002-04-23  Adam Megacz <adam@xwt.org>
8156
8157         * win32.cc, include/win32.cc (backtrace): Added this function
8158         because Win32 does not supply it.
8159
8160 2002-04-21  David S. Miller  <davem@redhat.com>
8161
8162         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
8163         magic instruction reading sequence.
8164
8165 2002-04-21  Mark Wielaard  <mark@klomp.org>
8166
8167         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
8168
8169 2002-04-19  David S. Miller  <davem@redhat.com>
8170
8171         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
8172         arg.
8173         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
8174         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
8175         on Sparc too.
8176         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
8177         for 64-bit sparc.
8178         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
8179         * sysdeps/sparc/locks.h: New file.
8180         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
8181         on all sparc Solaris configurations.  Set to
8182         include/dwarf2-signal.h on sparc Linux.
8183         * configure: Regenerate
8184         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
8185
8186 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
8187
8188         * configure: Rebuilt.
8189         * configure.in (backtrace): Function doesn't work on IA-64.
8190
8191 2002-04-17  Adam King <aking@dreammechanics.com>
8192
8193         * java/io/File.java (normalizePath): Add Win32 support for auto
8194         conversion of a '/' path separator to Win32's '\' separator.
8195
8196 2002-04-16  Tom Tromey  <tromey@redhat.com>
8197
8198         Fix for PR libgcj/6081:
8199         * Makefile.in: Rebuilt.
8200         * Makefile.am (install-data-local): Use GNU make trick to avoid
8201         shell limit.
8202
8203 2002-04-16  Adam King <aking@dreammechanics.com>
8204             Tom Tromey  <tromey@redhat.com>
8205
8206         * java/io/natFileWin32.cc (performList): Return the correct array
8207         type.  Don't duplicate the creation of a File since it's already
8208         done earlier in the method and the existing code would cause a
8209         ArrayStoreException.  Don't use fixed-size array.
8210         (_access, _stat, attr, getCanonicalPath, performMkdir,
8211         performRenameTo): Don't use fixed-size array.
8212         (getCanonicalPath): Use throw, not _Jv_Throw.
8213
8214 2002-04-15  DJ Delorie  <dj@redhat.com>
8215
8216         * configure.in: Allow building in $srcdir.
8217         * configure: Regenerated.
8218
8219 2002-04-14  Mark Wielaard <mark@klomp.org>
8220
8221         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
8222         * java/net/natSocketImpl.cc (close): Likewise.
8223
8224 2002-04-14  Mark Wielaard <mark@klomp.org>
8225
8226         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
8227
8228 2002-04-13  Adam King <aking@dreammechanics.com>
8229
8230         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
8231         the f/F/d/D modifiers.
8232
8233 2002-04-12  Anthony Green  <green@redhat.com>
8234
8235         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
8236         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
8237         * Makefile.in: Rebuilt.
8238         * configure.in: Substitute gcc_version.
8239         * configure: Rebuilt.
8240
8241 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8242
8243         * configure.host: Set can_unwind_signal on hosts which support it.
8244         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
8245         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
8246         exceptions and can_unwind_signal isn't set.
8247         * configure: Rebuilt.
8248
8249 2002-04-11  Tom Tromey  <tromey@redhat.com>
8250
8251         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
8252
8253 2002-04-11  Adam King <aking@dreammechanics.com>
8254             Tom Tromey  <tromey@redhat.com>
8255
8256         * include/jvm.h (_Jv_ThrowBadArrayIndex,
8257         _Jv_ThrowNullPointerException): Mark as noreturn.
8258         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
8259         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
8260         fixes.
8261
8262 2002-04-10  Tom Tromey  <tromey@redhat.com>
8263
8264         * Makefile.in: Rebuilt.
8265         * Makefile.am (java/lang/Thread.h): Mark
8266         _Jv_AttachCurrentThreadAsDaemon as friend.
8267         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
8268         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
8269         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
8270         function.
8271         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
8272         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
8273         (_Jv_JNI_InvokeFunctions): Added
8274         _Jv_JNI_AttachCurrentThreadAsDaemon.
8275         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
8276         (JNI_GetDefaultJavaVMInitArgs): Likewise.
8277         (JNI_CreateJavaVM): Likewise.
8278         (_Jv_JNI_AttachCurrentThread): Likewise.
8279         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
8280         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
8281         (_Jv_JNIFunctions): Initialize new fields.
8282         (_Jv_JNI_NewDirectByteBuffer): New function.
8283         (_Jv_JNI_GetDirectBufferAddress): Likewise.
8284         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
8285         * include/jni.h (JNI_VERSION_1_4): New macro.
8286         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
8287         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
8288         (JNINativeInterface::NewDirectByteBuffer): New field.
8289         (JNINativeInterface::GetDirectBufferAddress): New field.
8290         (JNINativeInterface::GetDirectBufferCapacity): New field.
8291         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
8292         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
8293         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
8294
8295 2002-04-09  Tom Tromey  <tromey@redhat.com>
8296
8297         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
8298
8299 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
8300
8301         Fix for PR libgcj/6187:
8302         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
8303         distance.
8304
8305 2002-04-07  Mark Wielaard <mark@klomp.org>
8306
8307         * java/util/AbstractMap.java (putAll): Use entrySet size.
8308         (toString): Explicitly use getKey() and getValue().
8309
8310 2002-04-07  Mark Wielaard <mark@klomp.org>
8311
8312         * java/util/Hashtable.java (contains): Remove NullPointer check.
8313         (containsValue): Add NullPointer check.
8314         (remove): Always throw NullPointerException when key
8315         is null.
8316
8317 2002-04-07  Adam King <aking@dreammechanics.com>
8318
8319         * java/lang/natSystem.cc (init_properties): Call new function
8320         _Jv_platform_initProperties.
8321         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
8322         support for the System properties os.name, os.arch, os.version,
8323         user.name, user.home, and user.dir.
8324         * include/posix.h, include/win32.h, posix.cc: New function
8325         _Jv_platform_initProperties.
8326
8327 2002-04-06  Mark Wielaard <mark@klomp.org>
8328
8329         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
8330
8331 2002-04-06  Mark Wielaard <mark@klomp.org>
8332
8333         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
8334         all of the remaining elements.
8335         * java/util/Vector.java (addAll(int,Collection)): Likewise.
8336         (removeRange): If toIndex == fromIndex do
8337         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
8338         (removeAll): Always throw NullPointerException when collection is
8339         null.
8340         (retrainAll): Likewise.
8341
8342 2002-04-05  Mark Wielaard <mark@klomp.org>
8343
8344         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
8345         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
8346
8347 2002-04-05  Adam Megacz <adam@xwt.org>
8348
8349         * exception.cc (abort): added static modifier
8350
8351 2002-04-04  Adam Megacz <adam@xwt.org>
8352
8353         * include/win32.h (_Jv_platform_close_on_exec): added inline
8354         modifier.
8355
8356 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
8357
8358         * configure.host: Add case statement to support generic port
8359         properties.  Add *-*-freebsd* section.
8360
8361 2002-04-04  Mark Wielaard  <mark@klomp.org>
8362
8363         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
8364         test.
8365         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
8366         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
8367         that depend on awt code and BufferedByteOutputStream.interrupt.
8368
8369 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8370
8371         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
8372         incorrect "hi" value when count > 40.
8373
8374 2002-04-03  Mark Wielaard  <mark@klomp.org>
8375
8376         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
8377         ordering.
8378
8379 2002-04-02  Tom Tromey  <tromey@redhat.com>
8380
8381         * java/lang/natClassLoader.cc (findClass): Compare against `3',
8382         not `0'.
8383
8384 2002-04-02  Mark Wielaard  <mark@klomp.org>
8385
8386         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
8387         list of testsuite crashers.
8388
8389 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8390
8391         * java/util/IdentityHashMap.java (put): Set new threshold correctly
8392         when resizing table.
8393
8394 2002-04-01  Mark Wielaard  <mark@klomp.org>
8395
8396         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
8397         NegativeArraySizeException
8398         (clear(int)): Use sign extended shift.
8399         (flip(int)): Likewise.
8400         (get(int)): Likewise.
8401         (nextClearBit(int)): Likewise.
8402         (nextSetBit(int)): Likewise.
8403         (set(int)): Likewise.
8404
8405 2002-04-01  Mark Wielaard  <mark@klomp.org>
8406
8407         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
8408         that can be compiled now and add testsuite crashers to ignore list.
8409
8410 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
8411
8412         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
8413
8414         * libgcj.spec.in: Override libgcc, not lib.
8415         * libgcj-test.spec.in: Likewise.
8416
8417 2002-03-29  Tom Tromey  <tromey@redhat.com>
8418
8419         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
8420         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
8421
8422 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
8423
8424         * java/net/PlainDatagramSocketImpl.java
8425         (close): Use native implementation.
8426         (finalize): New method.
8427
8428         * java/net/PlainSocketImpl.java (finalize): New method.
8429
8430         * java/net/natPlainDatagramSocketImpl.cc
8431         (java/io/FileDescriptor.h): Don't include.
8432         (close): Implement method here.
8433         (create): Don't assign fd.
8434
8435         * java/net/natPlainSocketImpl.cc
8436         (java/io/FileDescriptor.h): Don't include.
8437         (create): Don't assign fd.
8438         (accept): Likewise.
8439         (close): Synchronize.
8440
8441 2002-03-27  Richard Henderson  <rth@redhat.com>
8442
8443         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
8444
8445 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
8446
8447         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
8448         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
8449         instead of syscall on IA-64.
8450         Add FIXME comment.
8451
8452 2002-03-27  Anthony Green  <green@redhat.com>
8453
8454         * libgcj.spec.in: Add CHECKREFSPEC.
8455         * configure.in: Ditto.
8456         * configure.host: Ditto.  Check references for xscale-elf.
8457         * configure: Rebuilt.
8458
8459 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
8460
8461         * include/dwarf2-signal.h: Temporarily back out last change.
8462
8463 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
8464
8465         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
8466
8467 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
8468
8469         * configure.in, configure: enable dwarf2-exception-style
8470         exception handling on IA-64.
8471         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
8472         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
8473         Add FIXME comment.
8474
8475 2002-03-25  Tom Tromey  <tromey@redhat.com>
8476
8477         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
8478         (jv_convert_LDFLAGS): Likewise.
8479         (gij_LDFLAGS): Likewise.
8480         (rmic_LDFLAGS): Likewise.
8481         (rmiregistry_LDFLAGS): Likewise.
8482         * configure.in (THREADLDFLAGS): New subst; set correctly for
8483         *BSD.
8484
8485 2002-03-25  Tom Tromey  <tromey@redhat.com>
8486
8487         For PR libgcj/5303:
8488         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
8489         and --version.
8490         (help): New method.
8491         (version): Likewise.
8492         * gnu/gcj/convert/Convert.java (version): Removed extraneous
8493         "GNU".
8494         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
8495         "GNU".
8496
8497 2002-03-25  Tom Tromey  <tromey@redhat.com>
8498
8499         * java/awt/Component.java (processEvent): Check ComponentEvent
8500         after KeyEvent.
8501
8502 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8503
8504         * java/io/PushbackReader.java: Reformat.
8505
8506         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
8507         calculate correct number of bytes skipped.
8508
8509         Based on patch from Intel's ORP team:
8510         * java/io/PushbackInputStream.java (available): Calculate correct
8511         number of bytes in buffer.
8512         (read): Remove redundant bound check. Return bytes from both the
8513         buffer and the stream.
8514
8515 2002-03-24  Tom Tromey  <tromey@redhat.com>
8516
8517         * java/awt/TextComponent.java (TextComponent): Editable by
8518         default.
8519
8520         * java/awt/MenuItem.java (eventMask): No longer private.
8521         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
8522         superclass if we didn't handle event.
8523         * java/awt/Checkbox.java (dispatchEventImpl): New method.
8524         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
8525         * java/awt/Choice.java (dispatchEventImpl): New method.
8526         * java/awt/List.java (dispatchEventImpl): New method.
8527         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
8528         * java/awt/TextComponent.java (dispatchEventImpl): New method.
8529         * java/awt/TextField.java (dispatchEventImpl): New method.
8530
8531 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
8532
8533         * java/beans/IntrospectionException.java: Update to 1.4.
8534         * java/beans/PropertyVetoException.java: Ditto.
8535
8536 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
8537
8538         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
8539         Arrays.equals instead of ArrayHelper.equalsArray.
8540
8541 2002-03-24  C. Brian Jones <cbj@gnu.org>
8542
8543         * java/beans/Introspector.java: added new static final fields
8544         introduced in 1.2, lots of other updates remain to be done
8545
8546 2002-03-24  C. Brian Jones <cbj@gnu.org>
8547
8548         * java/beans/Introspector.java: reformatting
8549
8550 2002-03-24  C. Brian Jones <cbj@gnu.org>
8551
8552         * java/beans/Introspector.java: default beanInfoSearchPath will
8553         not include sun.beans.infos given we provide no such package and
8554         the API doesn't really require it; gnu.java.beans.info is the
8555         default.
8556
8557 2002-03-24  Mark Wielaard  <mark@klomp.org>
8558
8559         Thanks to Orp developers
8560         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
8561         switch TRUE and FALSE return values.
8562
8563 2002-03-23  Tom Tromey  <tromey@redhat.com>
8564
8565         * include/name-finder.h (_Jv_name_finder::myclose): New method.
8566         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
8567
8568 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
8569
8570         * java/util/GregorianCalendar.java (minimums, maximums): Correct
8571         MONTH entry.  Fixes PR libgcj/6045.
8572
8573 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
8574
8575         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
8576
8577 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8578
8579         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
8580         not release_set.
8581         * sysdep/powerpc/locks.h (write_barrier): New function.
8582         * sysdep/i386/locks.h (write_barrier): New function.
8583
8584 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
8585
8586         * include/jni.h Use correct C comments.
8587
8588 2002-03-18  Tom Tromey  <tromey@redhat.com>
8589
8590         * include/jni.h (JNIIMPORT): New macro.
8591         (JNIEXPORT): Likewise.
8592         (JNICALL): Likewise.
8593
8594 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8595
8596         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
8597         systems.
8598
8599 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
8600
8601         * include/i386-signal.h (old_i386_kernel_sigaction): New.
8602         INIT_SEGV: Use old_i386_kernel_sigaction.
8603         INIT_FP: Likewise.
8604
8605 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8606
8607         * java/lang/natSystem.cc (init_properties): Update VM version
8608         properties.
8609         * configure.in: Set GCJVERSION.
8610         * acconfig.h: Add GCJVERSION.
8611         * configure: Rebuilt.
8612         * include/config.h.in: Rebuilt.
8613
8614 2002-03-17  Anthony Green  <green@redhat.com>
8615
8616         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
8617
8618 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8619
8620         Build a single libgcj.so, without separate gc and zlib libraries.
8621         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
8622         SYS_ZLIBS if system zlib is used.
8623         * configure: Rebuilt.
8624         * Makefile.am: Use boehm-gc and zlib convenience libraries.
8625         * Makefile.in: Rebuilt.
8626         * libtool-version: Increment .so version number.
8627
8628         * Makefile.am: Escape quotes in echo.
8629         * Makefile.in: Rebuilt.
8630
8631 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8632
8633         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
8634         * Makefile.in: Rebuilt.
8635
8636 2002-03-15  Anthony Green  <green@redhat.com>
8637
8638         * configure.host (FILE): New macro for specifing File
8639         implementation.
8640         * configure: Rebuilt.
8641         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
8642
8643 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
8644
8645         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
8646         already implicitly brought in from libgcj.la.
8647         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
8648         * Makefile.in: Rebuilt.
8649
8650 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
8651
8652         * THANKS: Fix punctuation, alphabetization.
8653
8654 2002-03-15  Tom Tromey  <tromey@redhat.com>
8655             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8656
8657         Fix for PR libgcj/5944.
8658         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
8659
8660 2002-03-15  Anthony Green  <green@redhat.com>
8661
8662         * configure.in (tool_include_dir): Define.
8663         * configure: Rebuilt.
8664         * gcj/Makefile.am: Install libgcj-config.h relative to
8665         tool_include_dir.
8666         * gcj/Makefile: Rebuilt.
8667         * gcj/libgcj-config.h: Add warning comment.
8668
8669 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
8670
8671         * configure.host (powerpc*-darwin*): Enable interpreter.
8672
8673 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8674
8675         * include/posix.h: Add multiple include header protection.
8676         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
8677
8678 2002-03-10  Adam Megacz <adam@xwt.org>
8679
8680         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
8681
8682 2002-03-10  Tom Tromey  <tromey@redhat.com>
8683
8684         * java/awt/GridLayout.java (layoutContainer): Handle case where
8685         there are no items in container.
8686
8687         * java/lang/Win32Process.java: Added comment.
8688         * include/posix.h (_Jv_platform_close_on_exec): New function.
8689         Include fcntl.h.
8690         * include/win32.h (_Jv_platform_close_on_exec): New function.
8691         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
8692         flag.
8693         (accept): Likewise.
8694         * java/net/natPlainDatagramSocketImpl.cc (create): Set
8695         close-on-exec flag.
8696         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
8697         flag.
8698
8699 2002-03-09  Tom Tromey  <tromey@redhat.com>
8700
8701         * verify.cc (state::NO_STACK): New constant.
8702         (state::is_unmerged_ret_state): Handle case where stacktop is
8703         NO_STACK.
8704         (state::merge): Handle NO_STACK merges.
8705         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
8706         for instruction following jsr.
8707         (stacktop, stackdepth): Removed unused variables.
8708         (pop_jump): Ignore case where all remaining states are skipped.
8709
8710 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8711
8712         * java/awt/ImageMediaEntry: Removed.
8713         * java/awt/MediaEntry: Removed.
8714
8715 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8716
8717         Hashtable synchronization for PowerPC.
8718         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
8719         slow_pthread_self. Set up symlink for sysdeps directory.
8720         * configure: Rebuild.
8721         * configure.host: Document more shell variables. Set sysdeps_dir
8722         for most platforms. Set slow_pthread_self for i686. Set
8723         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
8724         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
8725         that memory barrier is emitted where required.
8726         * prims.cc: 64-bit align static primitive class instances.
8727         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
8728         read_barrier() to enforce ordering of reads.
8729         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
8730         primitives for PowerPC.
8731         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
8732         moved from natObject.cc.
8733         * sysdep/alpha/locks.h: Likewise.
8734         * sysdep/ia64/locks.h: Likewise.
8735         * sysdep/generic/locks.h: Likewise.
8736         * java/lang/natObject.cc: Move thread synchronization primitives to
8737         system-dependent headers.
8738
8739 2002-03-09  Adam Megacz  <adam@xwt.org>
8740
8741         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
8742         bytes read and no failure code returned.
8743
8744 2002-03-09  Adam Megacz  <adam@xwt.org>
8745
8746         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
8747         definitions to simulate -mthreads.
8748
8749 2002-03-09  Adam Megacz  <adam@xwt.org>
8750
8751         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
8752         avoid precision loss.
8753
8754 2002-03-09  Per Bothner  <per@bothner.com>
8755
8756         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
8757         * gnu/gcj/xlib/XImage.java:  Likewise.
8758         * gnu/gcj/xlib/XColor.java:  Likewise.
8759
8760 2002-03-09  Adam Megacz  <adam@xwt.org>
8761
8762         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
8763         IOException so that Throwable.printStackTrace fails correctly.
8764
8765 2002-03-08  Adam Megacz  <adam@xwt.org>
8766
8767         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
8768         fixed.
8769
8770 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8771
8772         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
8773         truncated to int.
8774
8775 2002-03-08  Tom Tromey  <tromey@redhat.com>
8776
8777         * include/jni.h: Include stdio.h.
8778
8779 2002-03-08  Tom Tromey  <tromey@redhat.com>
8780
8781         * posix.cc (internal_gettimeofday): New function.
8782         (_Jv_select): Use it.
8783
8784 2002-03-07  Adam Megacz  <adam@xwt.org>
8785
8786         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
8787         WIN32, and added thunks for read(), write(), and close().
8788         * java/net/natPlainSocketImpl.cc (accept, read, read):
8789         Disabled timeouts on WIN32 pending discussion.
8790
8791 2002-03-07  Adam Megacz  <adam@xwt.org>
8792
8793         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
8794         returns jlong. Added implementation
8795         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
8796         returns jlong.
8797         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
8798         returns jlong.
8799         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
8800         returns jlong.
8801         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
8802         _Jv_platform_gettimeofday signature.
8803
8804 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8805
8806         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
8807         (read): Call recv() directly, not _Jv_recv().
8808
8809 2002-03-06  Tom Tromey  <tromey@redhat.com>
8810
8811         * java/io/natFileDescriptorEcos.cc (init): Don't use
8812         GetStdHandle.
8813         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
8814         is negative.
8815         (init): Don't use GetStdHandle.
8816
8817         * include/config.h.in: Rebuilt.
8818         * configure: Rebuilt.
8819         * Makefile.in: Rebuilt.
8820
8821 2002-03-06  Adam Megacz  <adam@xwt.org>
8822
8823         * java/io/FileDescriptor.java: Initialize in/out/err in init().
8824         * java/io/natFileDescriptorWin32.cc (init()): Added function.
8825         * java/io/natFileDescriptorPosix.cc (init()): Added function.
8826         * java/io/natFileDescriptorEcos.cc (init()): Added function.
8827
8828 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
8829
8830         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
8831         the code for generating include/java-chartables.h.
8832         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
8833         merge with Classpath.
8834         * scripts/unicode-muncher.pl: Copy from Classpath.
8835         * scritps/MakeCharTables.java: New file.
8836         * gnu/gcj/convert/Blocks-3.txt: New file.
8837         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
8838         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
8839         * gnu/java/lang/CharData.java: Copy from Classpath.
8840         * Makefile.am (ordinary_java_source_files): Add
8841         gnu/java/lang/CharData.java.
8842         * configure.in: Remove --enable-fast-character option.
8843         * java/lang/Character.java: Merge algorithms and Javadoc with
8844         Classpath.
8845         * java/lang/natCharacter.cc: Implement Unicode lookup table more
8846         efficiently.
8847         * include/java-chardecomp.h: Regenerate.
8848         * include/java-chartables.h: Regenerate.
8849
8850 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8851
8852         * java/awt/MediaTracker.java: Implemented.
8853         * Makefile.am: Add MediaTracker.
8854         * Makefile.in: Rebuilt.
8855
8856 2002-03-05  Tom Tromey  <tromey@redhat.com>
8857
8858         * java/lang/natPosixProcess.cc (fail): Removed.
8859         (startProcess): Simplified error-handling.  Preserve
8860         LD_LIBRARY_PATH across exec.
8861
8862         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
8863         AbstractMethodError.
8864
8865 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8866
8867         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
8868         * Makefile.in: Rebuilt.
8869
8870 2002-03-03 Mark Wielaard <mark@klomp.org>
8871
8872         * java/util/Timer (TaskQueue.stop): set elements to zero.
8873
8874 2002-02-28  Anthony Green  <green@redhat.com>
8875
8876         * java/lang/reflect/natMethod.cc (result): Add void* element.
8877         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
8878         constructor test.
8879
8880 2002-02-27  Adam Megacz <adam@xwt.org>
8881
8882         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
8883         '#undef STRICT'.
8884
8885 2002-02-26  Tom Tromey  <tromey@redhat.com>
8886
8887         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
8888         * gij.cc (version): Use __VERSION__.
8889         * include/config.h.in: Rebuilt.
8890         * acconfig.h (GCJVERSION): Removed.
8891         * configure: Rebuilt.
8892         * configure.in (GCJVERSION): Removed.
8893
8894 2002-02-26  Andreas Schwab  <schwab@suse.de>
8895
8896         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
8897         glibcpp_CXX, since libjava uses even another CXX.
8898         * aclocal.m4, configure: Regenerated.
8899
8900 2002-02-26  Tom Tromey  <tromey@redhat.com>
8901
8902         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
8903         `1'.
8904
8905 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
8906
8907         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
8908         dependency tracking for .java files.
8909         * Makefile.in: Rebuilt.
8910
8911 2002-02-24  Adam Megacz  <adam@xwt.org>
8912
8913         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
8914         typo. Sorry.
8915
8916 2002-02-24  Adam Megacz  <adam@xwt.org>
8917
8918         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
8919         for Win32, changed #ifdefs to check WIN32 instead of the
8920         (now-obsolete) USE_WINSOCK, and removed support for socket
8921         timeouts on Win32 pending further discussion.
8922
8923 2002-02-24  Adam Megacz  <adam@xwt.org>
8924
8925         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
8926         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
8927         delete
8928
8929 2002-02-24  Adam Megacz  <adam@xwt.org>
8930
8931         * java/lang/Win32Process.java: Created a dummy class to allow
8932         build process to run to completion.
8933
8934 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
8935
8936         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
8937         Define ffi_result union for ffi_call result.  Cast
8938         ffi_result members to jvalue.
8939
8940 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
8941
8942         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
8943         * testsuite/Makefile.in: Likewise.
8944
8945 2002-02-20  Per Bothner  <per@bothner.com>
8946
8947         * java/net/URL.java (getPath):  New JDK 1.3 method.
8948
8949         * java/net/URLStreamHandler.java (parseURL):
8950         It is wrong to prepend '/' to the file part of a relative url.
8951
8952         * java/net/URLStreamHandler.java (parseURL):
8953         Minor optizations - append '/' rather than "/".
8954
8955         * java/net/URLStreamHandler.java (parseURL):
8956         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
8957         We probably should canonicalize for a context-relative url, though.
8958         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
8959         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
8960         (sameFile):  New method.  Uses canonicalizeFilename.
8961
8962 2002-02-22  Tom Tromey  <tromey@redhat.com>
8963
8964         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
8965         java.vendor and java.vm.vendor.
8966         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
8967         recent copyright date.
8968         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
8969         * gij.cc (version): Print `Inc'.
8970
8971 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
8972
8973         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
8974         * aclocal.m4, configure: Rebuilt.
8975
8976 2002-02-20  Per Bothner  <per@bothner.com>
8977
8978         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
8979         and/or output streams immediately here, instead of using File.exists.
8980         (inputStream, outputStream):  New fields to save open streams.
8981         (getInputStream, getOutputStream):  Use already-opened streams.
8982
8983 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
8984
8985         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
8986         Use it.
8987         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
8988         * aclocal.m4, configure, Makefile.in: Rebuilt.
8989
8990 2002-02-19  Tom Tromey  <tromey@redhat.com>
8991
8992         Fix for PR libgcj/5696:
8993         * verify.cc (is_assignable_from_slow): Never call
8994         _Jv_IsAssignableFrom.
8995         (verify_instructions_0): Added new debug statement.
8996         (state::print): Print information about whether local has
8997         changed.
8998         (state::merge): Don't call note_variable when merging locals.
8999         (state::set_exception): Removed old FIXME comment.
9000
9001 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9002
9003         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
9004         enable SO_BROADCAST.
9005
9006 2002-02-18  Jason Merrill  <jason@redhat.com>
9007
9008         * name-finder.cc (toHex): Use word mode, not long long.
9009
9010         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
9011
9012 2002-02-15  Tom Tromey  <tromey@redhat.com>
9013
9014         Fix for PR libgcj/5695:
9015         * verify.cc (is_assignable_from_slow): Check to see if target is
9016         an Object before checking to see if source is an interface.
9017         (verify_instructions_0) [op_invokeinterface]: Handle case where
9018         we're making an interface call on Object.
9019
9020 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9021
9022         * Makefile.in: Rebuilt with Eric's change below.
9023
9024         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
9025         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
9026         Removed functions which are now implemented in Math.java.
9027
9028 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9029
9030         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
9031         * Makefile.am (core_java_source_files): Add
9032         java/lang/StrictMath.java.
9033         * java/lang/Math.java: Merge with Classpath.
9034         * java/lang/StrictMath.java: New file - merge with Classpath.
9035
9036 2002-02-14  Mark Wielaard  <mark@klomp.org>
9037
9038         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
9039         package as a workaround for gcj 3.0.x
9040
9041 2002-02-14  Mark Wielaard <mark@klomp.org>
9042
9043         * java/security/BasicPermission.java: extends with fully qualified
9044         classname as workaround for gcj 3.0.4.
9045
9046 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9047
9048         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
9049         around gcj bug of wrong emitted qualifier for inherited method.
9050         * java/net/SocketImpl.java (setOption, getOption): Ditto.
9051         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
9052         constructor to reduce amount of emitted bytecode. While this
9053         happens to work around a jikes 1.15 bug, it is still a useful
9054         patch even for correct compilers.
9055         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
9056         * gnu/java/rmi/server/UnicastRemoteCall.java
9057         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
9058
9059 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
9060
9061         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
9062         * java/net/SocketImpl.java: Ditto.
9063         * java/rmi/server/RMIClassLoader.java: Ditto.
9064         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
9065
9066 2002-02-14  Mark Wielaard <mark@klomp.org>
9067
9068         Thanks to Takashi Okamoto
9069         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
9070         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
9071         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
9072
9073 2002-02-13  Todd Stock  <toddastock@yahoo.com>
9074
9075         Fix for PR libgcj/5670:
9076         * verify.cc (is_assignable_from_slow): If `source' is interface,
9077         recursively look for merge with `target'.
9078
9079 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
9080
9081         * include/jni.h: Fix typo.
9082
9083 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
9084
9085         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
9086         correctly.
9087
9088 2002-02-13  Todd Stock  <toddastock@yahoo.com>
9089
9090         Fix for PR libgcj/5671:
9091         * verify.cc (state::merge): Handle case where we're merging
9092         against an interface.
9093
9094 2002-02-12  Tom Tromey  <tromey@redhat.com>
9095
9096         * exception.cc (std::abort): Mark as noreturn.
9097
9098 2002-02-12  Adam Megacz <adam@xwt.org>
9099
9100         * java/lang/Win32Process.java: Filled in a placeholder
9101         implementation so Win32 will build.
9102
9103 2002-02-12  Adam Megacz <adam@xwt.org>
9104
9105         * java/io/natFilePosix.cc: Copied this from natFile.cc.
9106         * java/io/natFile.cc: Removed from repository.
9107         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
9108
9109 2002-02-12  Adam Megacz <adam@xwt.org>
9110
9111         * win32.cc: Added two #includes to make win32.cc compile.
9112
9113 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9114
9115         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
9116         declarations.
9117         (_Jv_InitGC): Don't bother locking, as this is always called from a
9118         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
9119
9120 2002-02-11  Adam Megacz <adam@xwt.org>
9121
9122         * include/win32.h: Added _Jv_platform_gettimeofday.
9123         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
9124
9125 2002-02-11  Adam Megacz <adam@xwt.org>
9126
9127         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
9128         Added #undef STRICT to make windows.h and
9129         java/lang/reflect/Modifier.h cooperate.
9130
9131 2002-02-11  Adam Megacz <adam@xwt.org>
9132
9133         * java/io/natFileWin32.cc: Created a placeholder class with lots
9134         of FIXMEs.
9135
9136 2002-02-11  Adam Megacz <adam@xwt.org>
9137
9138         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
9139         std::abort() to simply abort(). Also added "fake" std::abort() so
9140         we can #include unwind-pe.h without having to link against
9141         libstdc++-v3.
9142
9143 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
9144
9145         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
9146
9147 2002-02-08  Tom Tromey  <tromey@redhat.com>
9148
9149         * interpret.cc (convert): New function.
9150         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
9151         convert.
9152         Include Long.h.
9153
9154 2002-02-08  Anthony Green  <green@redhat.com>
9155
9156         * configure.host: Add support for xscale-elf embedded target.
9157
9158 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
9159
9160         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
9161         dereferenced.
9162         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
9163         frame.
9164
9165 2002-02-07  Tom Tromey  <tromey@redhat.com>
9166
9167         * java/io/natFile.cc (_access): Use __builtin_alloca.
9168         (_stat): Likewise.
9169         (attr): Likewise.
9170         (getCanonicalPath): Likewise.
9171         (performList): Likewise.
9172         (performMkdir): Likewise.
9173         (performSetReadOnly): Likewise.
9174         (performRenameTo): Likewise.
9175         (performSetLastModified): Likewise.
9176         (performCreate): Likewise.
9177         (performDelete): Likewise.
9178
9179 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9180
9181         * HACKING: Fix URL for the automake-gcj.
9182
9183 2002-02-07  Tom Tromey  <tromey@redhat.com>
9184
9185         * java/lang/natThrowable.cc: Updated copyright.
9186         * java/io/natFileWin32.cc: Updated copyright.
9187         * java/io/natFileDescriptorWin32.cc: Updated copyright.
9188         * win32-threads.cc: Updated copyright.
9189         * name-finder.cc: Updated copyright.
9190         * include/name-finder.h: Updated copyright.
9191
9192         * include/name-finder.h: Conditionally include sys/wait.h.
9193         * include/config.h.in: Rebuilt.
9194
9195         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
9196         Size buffer based on real size of string.
9197         (_stat): Likewise.
9198         (attr): Likewise.
9199         (getCanonicalPath): Likewise.
9200         (performList): Likewise.
9201         (performMkdir): Likewise.
9202         (performSetReadOnly): Likewise.
9203         (unixroot): Removed.
9204         (performRenameTo): Likewise.
9205         (performSetLastModified): Likewise.
9206         (performCreate): Likewise.
9207         (performDelete): Likewise.
9208         (performListRoots): Always return new array.
9209
9210         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
9211         * win32.cc (win32_exception_handler): Now static.
9212         * include/win32.h (_Jv_platform_initialize): Declare.
9213         (win32_exception_handler): Don't declare.
9214         * java/lang/natSystem.cc (currentTimeMillis): Use
9215         _Jv_platform_gettimeofday.
9216         * posix.cc (_Jv_platform_gettimeofday): Renamed.
9217         (_Jv_select): Use new name.
9218         (_Jv_platform_initialize): New function.
9219         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
9220         _Jv_gettimeofday.
9221         (_Jv_platform_initialize): Declare.
9222
9223         * configure: Rebuilt.
9224         * configure.in: Removed unnecessary parens.
9225
9226 2002-02-06  Adam Megacz <adam@xwt.org>
9227
9228        * configure.in: Changed mingw) to *mingw*).
9229        * win32.cc: Created this file.
9230        * win32.h: Created this file.
9231        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
9232        win32_exception_handler from prims.cc to win32.cc, added
9233        header in win32.h.
9234        * prims.cc: removed some #ifdef-WIN32'd headers which are no
9235        longer needed now that we have platform.h
9236
9237 2002-02-06  Adam Megacz <adam@xwt.org>
9238
9239         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
9240         use uint<n>_t instead of LONG and BYTE
9241
9242 2002-02-06  Adam Megacz <adam@xwt.org>
9243
9244         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
9245
9246 2002-02-06  Anthony Green  <green@redhat.com>
9247
9248         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
9249         Implement missing method stubs.
9250         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
9251         targets.
9252         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
9253         concept of timezones.
9254         (init_properties): Don't refer to _Jv_Environment_Properties
9255         when this feature is not available.
9256         * include/config.h.in: Rebuilt.
9257         * acconfig.h: Add DISABLE_MAIN_ARGS.
9258         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
9259         * configure: Rebuilt.
9260         * configure.in: Add --disable-main-args option.  Test for
9261           opendir function.  Replace AC_CHECK_SIZEOF with
9262           AC_COMPILE_CHECK_SIZEOF.
9263         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
9264         * aclocal.m4: Rebuilt.
9265         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
9266
9267 2002-02-06  Tom Tromey  <tromey@redhat.com>
9268
9269         * verify.cc (require_array_type): If argument is a null array of
9270         references, return null as the element type.
9271
9272 2002-02-06  Mark Wielaard  <mark@klomp.org>
9273
9274         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
9275         duplicate of a wide type.
9276
9277 2002-02-06  Tom Tromey  <tromey@redhat.com>
9278
9279         * verify.cc (type::isnull): New method.
9280         (require_array_type): Handle case where array is null.
9281         (verify_instructions_0) [op_arraylength]: Likewise.
9282
9283 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9284
9285         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
9286         Symlink PLATFORMH to platform.h.
9287         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
9288         PLATFORMOBJS.
9289         * java/lang/natSystem.cc: #include platform.h not posix.h.
9290         * Makefile.in: Rebuilt with libgcj automake.
9291         * configure: Rebuilt.
9292
9293 2002-02-05  Richard Henderson  <rth@redhat.com>
9294
9295         * Makefile.in: Undo munging last change.
9296
9297 2002-02-04  Adam Megacz <adam@xwt.org>
9298
9299         * win32.cc: Created it.
9300         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
9301         which is set to posix.cc or win32.cc.
9302         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
9303
9304 2002-02-04  Adam Megacz <adam@xwt.org>
9305
9306         * configure.in: Corrected mingw case branches; added * before
9307         and after.
9308
9309 2002-02-04  Adam Megacz <adam@xwt.org>
9310
9311         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
9312         if compiling for win32
9313
9314 2002-02-04  Adam Megacz <adam@xwt.org>
9315
9316         * win32-threads.cc: #undef STRICT after gc.h inclusion
9317
9318 2002-02-02  Tom Tromey  <tromey@redhat.com>
9319
9320         * Makefile.in: Rebuilt.
9321
9322 2002-02-02  Jason Merrill  <jason@redhat.com>
9323
9324         * Makefile.am (clean-nat): New target.
9325
9326 2002-02-02  Tom Tromey  <tromey@redhat.com>
9327
9328         * java/io/natFile.cc: Removed old "FIXME" comments.
9329
9330 2002-02-01  Tom Tromey  <tromey@redhat.com>
9331
9332         * java/lang/natPosixProcess.cc (myclose): New function.
9333         (fail): Use it.
9334         (startProcess): Likewise.
9335
9336 2002-02-01  Adam Megacz <adam@xwt.org>
9337
9338         * prims.cc: Added #undef STRICT after #include<windows.h>.
9339
9340 2002-02-01  Adam Megacz <adam@xwt.org>
9341
9342         * prims.cc
9343         (_Jv_CreateJavaVM): We now use WIN32 instead of
9344         USE_WIN32_SIGNALLING and USE_WINSOCK.
9345         (win32_exception_handler): Now throws an exception out of
9346         the signal handler; assumes SJLJ.
9347
9348 2002-02-01  Adam Megacz <adam@xwt.org>
9349
9350         * win32-threads.cc:
9351         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
9352         wait() algorithm to make it safe.
9353         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
9354         Added lazy creation of Win32 Events for better performance
9355         (really_start): This now uses GC_CreateThread so boehm-gc
9356         knows about new threads even when statically linked.
9357
9358 2002-02-01  Adam Megacz <adam@xwt.org>
9359
9360         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
9361         enable safer wait() algorithm.
9362         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
9363         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
9364         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
9365         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
9366         instead of mutex.
9367         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
9368
9369 2002-02-01  Adam Megacz <adam@xwt.org>
9370
9371         * configure.in: Added support for mingw.
9372         * java/lang/Win32Process.java: Created as empty file.
9373         * java/lang/natWin32Process.cc: Created as empty file.
9374
9375 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
9376
9377         PR java/4972
9378         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
9379         for libiconv in LIBICONV variable.
9380         * configure: Regenerated.
9381
9382 2002-01-31  Tom Tromey  <tromey@redhat.com>
9383
9384         * verify.cc (state::enter_subroutine): New method.
9385         (handle_jsr_insn): Use it.
9386         (state::merge): When processing a `ret', correctly use
9387         subroutine's state to determine which local variables have
9388         changed.
9389         (push_exception_jump): Don't let stack overflow.
9390
9391 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
9392
9393         * gnu/gcj/convert/Convert.java: Only include one copyright year in
9394         --version output.
9395
9396 2002-01-30  Tom Tromey  <tromey@redhat.com>
9397
9398         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
9399         parameter for `recv' return type.
9400
9401         * verify.cc (handle_ret_insn): Check for subroutine merge here...
9402         (state::merge): ... not here.
9403         (subr_entry_info): New structure.
9404         (entry_points): New field.
9405         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
9406         entry_points.
9407
9408 2002-01-29  Tom Tromey  <tromey@redhat.com>
9409
9410         * java/awt/List.java (addNotify): Correctly check to see if peer
9411         does not exist.
9412
9413         * java/awt/GridLayout.java (layoutContainer): Use number of rows
9414         to compute height of each cell, and number of columns to compute
9415         width of each cell.
9416         * java/awt/Window.java (getOwnedWindows): Don't return null.
9417         * java/awt/FlowLayout.java (layoutContainer): Set width and height
9418         of component.  Increment x using horizontal gap, not vertical
9419         gap.
9420
9421 2002-01-28  Tom Tromey  <tromey@redhat.com>
9422
9423         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
9424         `nargs' byte is number of words, not number of arguments.
9425
9426 2002-01-27  Tom Tromey  <tromey@redhat.com>
9427
9428         * java/awt/event/MouseEvent.java (modifiers): Removed field.
9429         (when): Likewise.
9430         * java/awt/event/InputEvent.java (modifiers, when): Now
9431         package-private.
9432
9433         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
9434         and to-do list.
9435         (state::merge): Use current class' class loader.
9436         (state::print): Print subroutine.
9437         (state::merge): Don't look at subroutine of unmerged `ret'.
9438
9439 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
9440
9441         * nogc.cc: Remove warnings.
9442         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
9443         New functions.
9444
9445 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9446
9447         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
9448         int, int):  Remove empty "if" statement to work around compiler bug.
9449         (newPixels(int[], ColorModel, int, int): Likewise.
9450
9451 2002-01-25  Per Bothner  <per@bothner.com>
9452
9453         * verify.cc (verify_fail):  Change from being a top-level function
9454         to e method of _Jv_BytecodeVerifier.  Emit current method name.
9455         Pass the current verifier to type: and state: methods as needed,
9456         for better error messages, and for resolve.
9457         (resolve):  Pass current class's loader for Class.forName and
9458         _Jv_FindClassFromSignature, rather than using the default loader.
9459         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
9460         (get_type_val_for_signature):  Make non-static.
9461         (various methods):  Pass start_PC implicitly, not explicitly.
9462
9463 2002-01-25  Tom Tromey  <tromey@redhat.com>
9464
9465         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
9466         loop termination condition.
9467         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
9468         width.
9469
9470 2002-01-24  Tom Tromey  <tromey@redhat.com>
9471
9472         * java/awt/Shape.java: Merged with Classpath.
9473         * java/awt/Scrollbar.java: Merged with Classpath.
9474
9475         * java/awt/Container.java (addNotify): Unconditionally call
9476         addNotifyContainerChildren and superclass addNotify.
9477
9478         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
9479         getAlpha, not getBlue.
9480
9481 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
9482
9483         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
9484
9485         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
9486         (grabPixels(long)): Wait to be notified that the ImageProducer has
9487         completed.
9488
9489 2002-01-24  Per Bothner  <per@bothner.com>
9490
9491         * verify.cc (is_assignable_from_slow): If target is an interface,
9492         we must still check the source's superclass before giving up.
9493
9494 2002-01-24  Tom Tromey  <tromey@redhat.com>
9495
9496         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
9497
9498 2002-01-23  Tom Tromey  <tromey@redhat.com>
9499
9500         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
9501         `else'.
9502
9503         * Makefile.in: Rebuilt.
9504         * Makefile.am (awt_java_source_files): Added new files.
9505         * java/awt/Toolkit.java: Merged with Classpath.
9506         * java/awt/PrintGraphics.java: New file from Classpath.
9507         * java/awt/PrintJob.java: New file from Classpath.
9508         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
9509         * java/awt/datatransfer/ClipboardOwner.java: New file from
9510         Classpath.
9511         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
9512         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
9513         * java/awt/datatransfer/MimeTypeParseException.java: New file from
9514         Classpath.
9515         * java/awt/datatransfer/StringSelection.java: New file from
9516         Classpath.
9517         * java/awt/datatransfer/SystemFlavorMap.java: New file from
9518         Classpath.
9519         * java/awt/datatransfer/Transferable.java: New file from
9520         Classpath.
9521         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
9522         from Classpath.
9523
9524         * Makefile.in: Rebuilt.
9525         * Makefile.am (awt_java_source_files): Added new files.
9526         * java/awt/image/AreaAveragingScaleFilter.java: New file from
9527         Classpath.
9528         * java/awt/image/CropImageFilter.java: New file from Classpath.
9529         * java/awt/image/FilteredImageSource.java: New file from
9530         Classpath.
9531         * java/awt/image/ImageFilter.java: New file from Classpath.
9532         * java/awt/image/MemoryImageSource.java: New file from Classpath.
9533         * java/awt/image/PixelGrabber.java: New file from Classpath.
9534         * java/awt/image/RGBImageFilter.java: New file from Classpath.
9535         * java/awt/image/ReplicateScaleFilter.java: New file from
9536         Classpath.
9537         * java/awt/image/ImageProducer.java: Replaced with Classpath
9538         version.
9539         * java/awt/image/ImageObserver.java: Replaced with Classpath
9540         version.
9541         * java/awt/image/ImageConsumer.java: Replaced with Classpath
9542         version.
9543         * java/awt/GridBagConstraints.java (clone): Catch
9544         CloneNotSupportedException.
9545
9546 2002-01-23  Per Bothner  <per@bothner.com>
9547
9548         * java/lang/reflect/natField.cc (setAddr):  New function.
9549         Calls getAddr and then checks that the field isn't final.
9550         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
9551         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
9552         (set):  Call setAddr before check that new value has right type,
9553         to better match specified semantics.
9554
9555 2002-01-22  Tom Tromey  <tromey@redhat.com>
9556
9557         * java/awt/TextField.java: Replaced with Classpath version.
9558         * java/awt/TextArea.java: Replaced with Classpath version.
9559         * java/awt/TextComponent.java: Replaced with Classpath version.
9560
9561         * java/awt/GridBagConstraints.java: Updated copyright.
9562
9563 2002-01-22  Mark Wielaard <mark@klomp.org>
9564
9565         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
9566         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
9567         java/awt/Dialog.java java/awt/FileDialog.java
9568         java/awt/Font.java java/awt/FontMetrics.java
9569         java/awt/Image.java java/awt/ImageMediaEntry.java
9570         java/awt/Insets.java java/awt/List.java
9571         java/awt/MediaEntry.java java/awt/MediaTracker.java
9572         java/awt/Menu.java java/awt/MenuBar.java
9573         java/awt/MenuContainer.java java/awt/MenuShortcut.java
9574         java/awt/PaintContext.java java/awt/Panel.java
9575         java/awt/PopupMenu.java java/awt/SystemColor.java
9576         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
9577         java/awt/peer/CheckboxMenuItemPeer.java
9578         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
9579         java/awt/peer/ComponentPeer.java
9580         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
9581         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
9582         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
9583         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
9584         java/awt/peer/MenuBarPeer.java
9585         java/awt/peer/MenuComponentPeer.java
9586         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
9587         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
9588         java/awt/peer/ScrollPanePeer.java
9589         java/awt/peer/ScrollbarPeer.java
9590         java/awt/peer/TextAreaPeer.java
9591         java/awt/peer/TextComponentPeer.java
9592         java/awt/peer/TextFieldPeer.java
9593         java/awt/peer/WindowPeer.java: Add license clarification.
9594
9595 2002-01-22  Mark Wielaard <mark@klomp.org>
9596
9597         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
9598         gnu/gcj/runtime/StringBuffer.java
9599         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
9600         gnu/java/awt/ComponentDataBlitOp.java
9601         gnu/java/awt/GLightweightPeer.java
9602         gnu/java/beans/BeanInfoEmbryo.java
9603         gnu/java/beans/EmptyBeanInfo.java
9604         gnu/java/beans/ExplicitBeanInfo.java
9605         gnu/java/beans/IntrospectionIncubator.java
9606         gnu/java/beans/editors/ColorEditor.java
9607         gnu/java/beans/editors/FontEditor.java
9608         gnu/java/beans/editors/NativeBooleanEditor.java
9609         gnu/java/beans/editors/NativeByteEditor.java
9610         gnu/java/beans/editors/NativeDoubleEditor.java
9611         gnu/java/beans/editors/NativeFloatEditor.java
9612         gnu/java/beans/editors/NativeIntEditor.java
9613         gnu/java/beans/editors/NativeLongEditor.java
9614         gnu/java/beans/editors/NativeShortEditor.java
9615         gnu/java/beans/editors/StringEditor.java
9616         gnu/java/beans/info/ComponentBeanInfo.java
9617         gnu/java/io/ClassLoaderObjectInputStream.java
9618         gnu/java/io/NullOutputStream.java
9619         gnu/java/io/ObjectIdentityWrapper.java
9620         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
9621         gnu/java/lang/reflect/TypeSignature.java
9622         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
9623         gnu/java/locale/Calendar_en.java
9624         gnu/java/locale/Calendar_nl.java
9625         gnu/java/locale/LocaleInformation.java
9626         gnu/java/locale/LocaleInformation_de.java
9627         gnu/java/locale/LocaleInformation_en.java
9628         gnu/java/locale/LocaleInformation_nl.java
9629         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
9630         gnu/java/rmi/registry/RegistryImpl.java
9631         gnu/java/rmi/rmic/Compile_gcj.java
9632         gnu/java/rmi/rmic/Compiler.java
9633         gnu/java/rmi/rmic/CompilerProcess.java
9634         gnu/java/rmi/rmic/RMIC.java
9635         gnu/java/rmi/rmic/TabbedWriter.java
9636         gnu/java/rmi/server/ProtocolConstants.java
9637         gnu/java/rmi/server/RMIDefaultSocketFactory.java
9638         gnu/java/rmi/server/RMIHashes.java
9639         gnu/java/rmi/server/RMIObjectInputStream.java
9640         gnu/java/rmi/server/RMIObjectOutputStream.java
9641         gnu/java/rmi/server/UnicastConnection.java
9642         gnu/java/rmi/server/UnicastConnectionManager.java
9643         gnu/java/rmi/server/UnicastRef.java
9644         gnu/java/rmi/server/UnicastRemoteCall.java
9645         gnu/java/rmi/server/UnicastRemoteStub.java
9646         gnu/java/rmi/server/UnicastServer.java
9647         gnu/java/rmi/server/UnicastServerRef.java
9648         gnu/java/security/provider/DefaultPolicy.java
9649         gnu/java/security/provider/Gnu.java
9650         gnu/java/security/provider/SHA.java
9651         gnu/java/security/provider/SHA1PRNG.java
9652         gnu/java/text/BaseBreakIterator.java
9653         gnu/java/text/CharacterBreakIterator.java
9654         gnu/java/text/LineBreakIterator.java
9655         gnu/java/text/SentenceBreakIterator.java
9656         gnu/java/text/WordBreakIterator.java
9657         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
9658         java/applet/AppletContext.java java/applet/AppletStub.java
9659         java/applet/AudioClip.java java/awt/AWTError.java
9660         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
9661         java/awt/AWTException.java java/awt/AWTPermission.java
9662         java/awt/ActiveEvent.java java/awt/BorderLayout.java
9663         java/awt/Button.java java/awt/Canvas.java
9664         java/awt/CardLayout.java java/awt/Checkbox.java
9665         java/awt/CheckboxGroup.java java/awt/Component.java
9666         java/awt/ComponentOrientation.java java/awt/Container.java
9667         java/awt/Dimension.java java/awt/Event.java
9668         java/awt/EventDispatchThread.java java/awt/EventQueue.java
9669         java/awt/FlowLayout.java java/awt/Frame.java
9670         java/awt/Graphics.java java/awt/Graphics2D.java
9671         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
9672         java/awt/IllegalComponentStateException.java
9673         java/awt/ItemSelectable.java java/awt/Label.java
9674         java/awt/LayoutManager.java java/awt/LayoutManager2.java
9675         java/awt/MenuComponent.java java/awt/MenuItem.java
9676         java/awt/Paint.java java/awt/Point.java
9677         java/awt/Rectangle.java java/awt/RenderingHints.java
9678         java/awt/Transparency.java java/awt/Window.java
9679         java/awt/color/ColorSpace.java
9680         java/awt/color/ICC_ColorSpace.java
9681         java/awt/color/ICC_Profile.java
9682         java/awt/event/HierarchyBoundsAdapter.java
9683         java/awt/event/HierarchyBoundsListener.java
9684         java/awt/event/HierarchyEvent.java
9685         java/awt/event/HierarchyListener.java
9686         java/awt/geom/AffineTransform.java
9687         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
9688         java/awt/geom/IllegalPathStateException.java
9689         java/awt/geom/Line2D.java
9690         java/awt/geom/NoninvertibleTransformException.java
9691         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
9692         java/awt/geom/Rectangle2D.java
9693         java/awt/geom/RectangularShape.java
9694         java/awt/geom/RoundRectangle2D.java
9695         java/awt/image/BufferedImage.java
9696         java/awt/image/ColorModel.java
9697         java/awt/image/ComponentColorModel.java
9698         java/awt/image/ComponentSampleModel.java
9699         java/awt/image/DataBuffer.java
9700         java/awt/image/DataBufferByte.java
9701         java/awt/image/DataBufferInt.java
9702         java/awt/image/DataBufferUShort.java
9703         java/awt/image/DirectColorModel.java
9704         java/awt/image/PackedColorModel.java
9705         java/awt/image/Raster.java java/awt/image/RasterOp.java
9706         java/awt/image/SampleModel.java
9707         java/awt/image/SinglePixelPackedSampleModel.java
9708         java/awt/image/WritableRaster.java
9709         java/beans/AppletInitializer.java
9710         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
9711         java/beans/Beans.java java/beans/Customizer.java
9712         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
9713         java/beans/FeatureDescriptor.java
9714         java/beans/IndexedPropertyDescriptor.java
9715         java/beans/IntrospectionException.java
9716         java/beans/Introspector.java java/beans/MethodDescriptor.java
9717         java/beans/ParameterDescriptor.java
9718         java/beans/PropertyChangeEvent.java
9719         java/beans/PropertyChangeListener.java
9720         java/beans/PropertyChangeSupport.java
9721         java/beans/PropertyDescriptor.java
9722         java/beans/PropertyEditor.java
9723         java/beans/PropertyEditorManager.java
9724         java/beans/PropertyEditorSupport.java
9725         java/beans/PropertyVetoException.java
9726         java/beans/SimpleBeanInfo.java
9727         java/beans/VetoableChangeListener.java
9728         java/beans/VetoableChangeSupport.java
9729         java/beans/Visibility.java
9730         java/beans/beancontext/BeanContext.java
9731         java/beans/beancontext/BeanContextChild.java
9732         java/beans/beancontext/BeanContextChildComponentProxy.java
9733         java/beans/beancontext/BeanContextChildSupport.java
9734         java/beans/beancontext/BeanContextContainerProxy.java
9735         java/beans/beancontext/BeanContextEvent.java
9736         java/beans/beancontext/BeanContextMembershipEvent.java
9737         java/beans/beancontext/BeanContextMembershipListener.java
9738         java/beans/beancontext/BeanContextProxy.java
9739         java/beans/beancontext/BeanContextServiceAvailableEvent.java
9740         java/beans/beancontext/BeanContextServiceProvider.java
9741         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
9742         java/beans/beancontext/BeanContextServiceRevokedEvent.java
9743         java/beans/beancontext/BeanContextServiceRevokedListener.java
9744         java/beans/beancontext/BeanContextServices.java
9745         java/beans/beancontext/BeanContextServicesListener.java
9746         java/io/BufferedInputStream.java
9747         java/io/BufferedOutputStream.java java/io/BufferedReader.java
9748         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
9749         java/io/ByteArrayOutputStream.java
9750         java/io/CharArrayReader.java java/io/CharArrayWriter.java
9751         java/io/CharConversionException.java java/io/DataInput.java
9752         java/io/DataInputStream.java java/io/DataOutput.java
9753         java/io/EOFException.java java/io/Externalizable.java
9754         java/io/FileFilter.java java/io/FileNotFoundException.java
9755         java/io/FilePermission.java java/io/FileReader.java
9756         java/io/FileWriter.java java/io/FilenameFilter.java
9757         java/io/FilterInputStream.java java/io/FilterOutputStream.java
9758         java/io/FilterReader.java java/io/FilterWriter.java
9759         java/io/IOException.java java/io/InputStream.java
9760         java/io/InterruptedIOException.java
9761         java/io/InvalidClassException.java
9762         java/io/InvalidObjectException.java
9763         java/io/NotActiveException.java
9764         java/io/NotSerializableException.java java/io/ObjectInput.java
9765         java/io/ObjectInputStream.java
9766         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
9767         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
9768         java/io/ObjectStreamConstants.java
9769         java/io/ObjectStreamException.java
9770         java/io/ObjectStreamField.java
9771         java/io/OptionalDataException.java java/io/OutputStream.java
9772         java/io/PipedInputStream.java java/io/PipedOutputStream.java
9773         java/io/PipedReader.java java/io/PipedWriter.java
9774         java/io/PrintWriter.java java/io/PushbackInputStream.java
9775         java/io/PushbackReader.java java/io/Reader.java
9776         java/io/SequenceInputStream.java java/io/Serializable.java
9777         java/io/SerializablePermission.java
9778         java/io/StreamCorruptedException.java
9779         java/io/StreamTokenizer.java
9780         java/io/StringBufferInputStream.java java/io/StringReader.java
9781         java/io/StringWriter.java java/io/SyncFailedException.java
9782         java/io/UTFDataFormatException.java
9783         java/io/UnsupportedEncodingException.java
9784         java/io/WriteAbortedException.java java/io/Writer.java
9785         java/lang/AbstractMethodError.java
9786         java/lang/ArithmeticException.java
9787         java/lang/ArrayIndexOutOfBoundsException.java
9788         java/lang/ArrayStoreException.java java/lang/Boolean.java
9789         java/lang/Byte.java java/lang/CharSequence.java
9790         java/lang/ClassCastException.java
9791         java/lang/ClassCircularityError.java
9792         java/lang/ClassFormatError.java
9793         java/lang/ClassNotFoundException.java
9794         java/lang/CloneNotSupportedException.java
9795         java/lang/Cloneable.java java/lang/Comparable.java
9796         java/lang/Compiler.java java/lang/Double.java
9797         java/lang/Error.java java/lang/Exception.java
9798         java/lang/ExceptionInInitializerError.java
9799         java/lang/Float.java java/lang/IllegalAccessError.java
9800         java/lang/IllegalAccessException.java
9801         java/lang/IllegalArgumentException.java
9802         java/lang/IllegalMonitorStateException.java
9803         java/lang/IllegalStateException.java
9804         java/lang/IllegalThreadStateException.java
9805         java/lang/IncompatibleClassChangeError.java
9806         java/lang/IndexOutOfBoundsException.java
9807         java/lang/InheritableThreadLocal.java
9808         java/lang/InstantiationError.java
9809         java/lang/InstantiationException.java java/lang/Integer.java
9810         java/lang/InternalError.java
9811         java/lang/InterruptedException.java
9812         java/lang/LinkageError.java java/lang/Long.java
9813         java/lang/NegativeArraySizeException.java
9814         java/lang/NoClassDefFoundError.java
9815         java/lang/NoSuchFieldError.java
9816         java/lang/NoSuchFieldException.java
9817         java/lang/NoSuchMethodError.java
9818         java/lang/NoSuchMethodException.java
9819         java/lang/NullPointerException.java java/lang/Number.java
9820         java/lang/NumberFormatException.java
9821         java/lang/OutOfMemoryError.java java/lang/Package.java
9822         java/lang/Process.java java/lang/Runnable.java
9823         java/lang/RuntimeException.java
9824         java/lang/RuntimePermission.java
9825         java/lang/SecurityException.java
9826         java/lang/SecurityManager.java java/lang/Short.java
9827         java/lang/StackOverflowError.java java/lang/StringBuffer.java
9828         java/lang/StringIndexOutOfBoundsException.java
9829         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
9830         java/lang/ThreadLocal.java java/lang/UnknownError.java
9831         java/lang/UnsatisfiedLinkError.java
9832         java/lang/UnsupportedClassVersionError.java
9833         java/lang/UnsupportedOperationException.java
9834         java/lang/VerifyError.java java/lang/VirtualMachineError.java
9835         java/lang/Void.java java/lang/ref/PhantomReference.java
9836         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
9837         java/lang/ref/SoftReference.java
9838         java/lang/ref/WeakReference.java
9839         java/lang/reflect/AccessibleObject.java
9840         java/lang/reflect/InvocationTargetException.java
9841         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
9842         java/lang/reflect/ReflectPermission.java
9843         java/math/BigDecimal.java java/math/BigInteger.java
9844         java/net/Authenticator.java java/net/BindException.java
9845         java/net/ConnectException.java java/net/ContentHandler.java
9846         java/net/ContentHandlerFactory.java
9847         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
9848         java/net/FileNameMap.java java/net/MalformedURLException.java
9849         java/net/MulticastSocket.java java/net/NetPermission.java
9850         java/net/NoRouteToHostException.java
9851         java/net/PasswordAuthentication.java
9852         java/net/ProtocolException.java java/net/ServerSocket.java
9853         java/net/Socket.java java/net/SocketException.java
9854         java/net/SocketImpl.java java/net/SocketImplFactory.java
9855         java/net/SocketOptions.java java/net/SocketPermission.java
9856         java/net/URLDecoder.java java/net/URLEncoder.java
9857         java/net/URLStreamHandlerFactory.java
9858         java/net/UnknownHostException.java
9859         java/net/UnknownServiceException.java
9860         java/rmi/AccessException.java
9861         java/rmi/AlreadyBoundException.java
9862         java/rmi/ConnectException.java
9863         java/rmi/ConnectIOException.java
9864         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
9865         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
9866         java/rmi/NotBoundException.java
9867         java/rmi/RMISecurityException.java
9868         java/rmi/RMISecurityManager.java java/rmi/Remote.java
9869         java/rmi/RemoteException.java java/rmi/ServerError.java
9870         java/rmi/ServerException.java
9871         java/rmi/ServerRuntimeException.java
9872         java/rmi/StubNotFoundException.java
9873         java/rmi/UnexpectedException.java
9874         java/rmi/UnknownHostException.java
9875         java/rmi/UnmarshalException.java
9876         java/rmi/activation/Activatable.java
9877         java/rmi/activation/ActivateFailedException.java
9878         java/rmi/activation/ActivationDesc.java
9879         java/rmi/activation/ActivationException.java
9880         java/rmi/activation/ActivationGroup.java
9881         java/rmi/activation/ActivationGroupDesc.java
9882         java/rmi/activation/ActivationGroupID.java
9883         java/rmi/activation/ActivationID.java
9884         java/rmi/activation/ActivationInstantiator.java
9885         java/rmi/activation/ActivationMonitor.java
9886         java/rmi/activation/ActivationSystem.java
9887         java/rmi/activation/Activator.java
9888         java/rmi/activation/UnknownGroupException.java
9889         java/rmi/activation/UnknownObjectException.java
9890         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
9891         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
9892         java/rmi/registry/Registry.java
9893         java/rmi/registry/RegistryHandler.java
9894         java/rmi/server/ExportException.java
9895         java/rmi/server/LoaderHandler.java
9896         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
9897         java/rmi/server/Operation.java
9898         java/rmi/server/RMIClassLoader.java
9899         java/rmi/server/RMIClientSocketFactory.java
9900         java/rmi/server/RMIFailureHandler.java
9901         java/rmi/server/RMIServerSocketFactory.java
9902         java/rmi/server/RMISocketFactory.java
9903         java/rmi/server/RemoteCall.java
9904         java/rmi/server/RemoteObject.java
9905         java/rmi/server/RemoteRef.java
9906         java/rmi/server/RemoteServer.java
9907         java/rmi/server/RemoteStub.java
9908         java/rmi/server/ServerCloneException.java
9909         java/rmi/server/ServerNotActiveException.java
9910         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
9911         java/rmi/server/SkeletonMismatchException.java
9912         java/rmi/server/SkeletonNotFoundException.java
9913         java/rmi/server/SocketSecurityException.java
9914         java/rmi/server/UID.java
9915         java/rmi/server/UnicastRemoteObject.java
9916         java/rmi/server/Unreferenced.java
9917         java/security/AccessControlContext.java
9918         java/security/AccessControlException.java
9919         java/security/AccessController.java
9920         java/security/AlgorithmParameterGenerator.java
9921         java/security/AlgorithmParameterGeneratorSpi.java
9922         java/security/AlgorithmParameters.java
9923         java/security/AlgorithmParametersSpi.java
9924         java/security/AllPermission.java
9925         java/security/BasicPermission.java
9926         java/security/Certificate.java java/security/CodeSource.java
9927         java/security/DigestException.java
9928         java/security/DigestInputStream.java
9929         java/security/DigestOutputStream.java
9930         java/security/DomainCombiner.java
9931         java/security/DummyKeyPairGenerator.java
9932         java/security/DummyMessageDigest.java
9933         java/security/DummySignature.java
9934         java/security/GeneralSecurityException.java
9935         java/security/Guard.java java/security/GuardedObject.java
9936         java/security/Identity.java java/security/IdentityScope.java
9937         java/security/InvalidAlgorithmParameterException.java
9938         java/security/InvalidKeyException.java
9939         java/security/InvalidParameterException.java
9940         java/security/Key.java java/security/KeyException.java
9941         java/security/KeyFactory.java java/security/KeyFactorySpi.java
9942         java/security/KeyManagementException.java
9943         java/security/KeyPair.java java/security/KeyPairGenerator.java
9944         java/security/KeyPairGeneratorSpi.java
9945         java/security/KeyStore.java
9946         java/security/KeyStoreException.java
9947         java/security/KeyStoreSpi.java
9948         java/security/MessageDigest.java
9949         java/security/MessageDigestSpi.java
9950         java/security/NoSuchAlgorithmException.java
9951         java/security/NoSuchProviderException.java
9952         java/security/Permission.java
9953         java/security/PermissionCollection.java
9954         java/security/Permissions.java java/security/Policy.java
9955         java/security/Principal.java java/security/PrivateKey.java
9956         java/security/PrivilegedAction.java
9957         java/security/PrivilegedActionException.java
9958         java/security/PrivilegedExceptionAction.java
9959         java/security/ProtectionDomain.java
9960         java/security/Provider.java
9961         java/security/ProviderException.java
9962         java/security/PublicKey.java
9963         java/security/SecureClassLoader.java
9964         java/security/SecureRandom.java
9965         java/security/SecureRandomSpi.java java/security/Security.java
9966         java/security/SecurityPermission.java
9967         java/security/Signature.java
9968         java/security/SignatureException.java
9969         java/security/SignatureSpi.java
9970         java/security/SignedObject.java java/security/Signer.java
9971         java/security/UnrecoverableKeyException.java
9972         java/security/UnresolvedPermission.java
9973         java/security/acl/Acl.java java/security/acl/AclEntry.java
9974         java/security/acl/AclNotFoundException.java
9975         java/security/acl/Group.java
9976         java/security/acl/LastOwnerException.java
9977         java/security/acl/NotOwnerException.java
9978         java/security/acl/Owner.java java/security/acl/Permission.java
9979         java/security/cert/CRL.java
9980         java/security/cert/CRLException.java
9981         java/security/cert/Certificate.java
9982         java/security/cert/CertificateEncodingException.java
9983         java/security/cert/CertificateException.java
9984         java/security/cert/CertificateExpiredException.java
9985         java/security/cert/CertificateFactory.java
9986         java/security/cert/CertificateFactorySpi.java
9987         java/security/cert/CertificateNotYetValidException.java
9988         java/security/cert/CertificateParsingException.java
9989         java/security/cert/X509CRL.java
9990         java/security/cert/X509CRLEntry.java
9991         java/security/cert/X509Certificate.java
9992         java/security/cert/X509Extension.java
9993         java/security/interfaces/DSAKey.java
9994         java/security/interfaces/DSAKeyPairGenerator.java
9995         java/security/interfaces/DSAParams.java
9996         java/security/interfaces/DSAPrivateKey.java
9997         java/security/interfaces/DSAPublicKey.java
9998         java/security/interfaces/RSAKey.java
9999         java/security/interfaces/RSAPrivateCrtKey.java
10000         java/security/interfaces/RSAPrivateKey.java
10001         java/security/interfaces/RSAPublicKey.java
10002         java/security/spec/AlgorithmParameterSpec.java
10003         java/security/spec/DSAParameterSpec.java
10004         java/security/spec/DSAPrivateKeySpec.java
10005         java/security/spec/DSAPublicKeySpec.java
10006         java/security/spec/EncodedKeySpec.java
10007         java/security/spec/InvalidKeySpecException.java
10008         java/security/spec/InvalidParameterSpecException.java
10009         java/security/spec/KeySpec.java
10010         java/security/spec/PKCS8EncodedKeySpec.java
10011         java/security/spec/RSAKeyGenParameterSpec.java
10012         java/security/spec/RSAPrivateCrtKeySpec.java
10013         java/security/spec/RSAPrivateKeySpec.java
10014         java/security/spec/RSAPublicKeySpec.java
10015         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
10016         java/sql/BatchUpdateException.java java/sql/Blob.java
10017         java/sql/CallableStatement.java java/sql/Clob.java
10018         java/sql/Connection.java java/sql/DataTruncation.java
10019         java/sql/DatabaseMetaData.java java/sql/Date.java
10020         java/sql/Driver.java java/sql/DriverManager.java
10021         java/sql/DriverPropertyInfo.java
10022         java/sql/PreparedStatement.java java/sql/Ref.java
10023         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
10024         java/sql/SQLData.java java/sql/SQLException.java
10025         java/sql/SQLInput.java java/sql/SQLOutput.java
10026         java/sql/SQLWarning.java java/sql/Statement.java
10027         java/sql/Struct.java java/sql/Time.java
10028         java/sql/Timestamp.java java/sql/Types.java
10029         java/text/Annotation.java
10030         java/text/AttributedCharacterIterator.java
10031         java/text/AttributedString.java
10032         java/text/AttributedStringIterator.java
10033         java/text/BreakIterator.java java/text/CharacterIterator.java
10034         java/text/ChoiceFormat.java java/text/Collator.java
10035         java/text/DateFormat.java java/text/DateFormatSymbols.java
10036         java/text/DecimalFormat.java
10037         java/text/DecimalFormatSymbols.java
10038         java/text/FieldPosition.java java/text/Format.java
10039         java/text/MessageFormat.java java/text/NumberFormat.java
10040         java/text/ParseException.java java/text/ParsePosition.java
10041         java/text/SimpleDateFormat.java
10042         java/text/StringCharacterIterator.java
10043         java/util/AbstractCollection.java java/util/AbstractList.java
10044         java/util/AbstractMap.java
10045         java/util/AbstractSequentialList.java
10046         java/util/AbstractSet.java java/util/ArrayList.java
10047         java/util/Arrays.java java/util/BasicMapEntry.java
10048         java/util/BitSet.java java/util/Calendar.java
10049         java/util/Collection.java java/util/Collections.java
10050         java/util/Comparator.java
10051         java/util/ConcurrentModificationException.java
10052         java/util/Date.java java/util/Dictionary.java
10053         java/util/EmptyStackException.java java/util/Enumeration.java
10054         java/util/EventListener.java java/util/EventObject.java
10055         java/util/GregorianCalendar.java java/util/HashMap.java
10056         java/util/HashSet.java java/util/Hashtable.java
10057         java/util/IdentityHashMap.java java/util/Iterator.java
10058         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
10059         java/util/LinkedList.java java/util/List.java
10060         java/util/ListIterator.java java/util/ListResourceBundle.java
10061         java/util/Locale.java java/util/Map.java
10062         java/util/MissingResourceException.java
10063         java/util/NoSuchElementException.java
10064         java/util/Observable.java java/util/Observer.java
10065         java/util/Properties.java java/util/PropertyPermission.java
10066         java/util/PropertyResourceBundle.java java/util/Random.java
10067         java/util/RandomAccess.java java/util/ResourceBundle.java
10068         java/util/Set.java java/util/SimpleTimeZone.java
10069         java/util/SortedMap.java java/util/SortedSet.java
10070         java/util/Stack.java java/util/StringTokenizer.java
10071         java/util/TimeZone.java java/util/Timer.java
10072         java/util/TimerTask.java
10073         java/util/TooManyListenersException.java
10074         java/util/TreeMap.java java/util/TreeSet.java
10075         java/util/Vector.java java/util/WeakHashMap.java
10076         java/util/jar/Attributes.java java/util/jar/JarEntry.java
10077         java/util/jar/JarException.java java/util/jar/JarFile.java
10078         java/util/jar/JarInputStream.java
10079         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
10080         java/util/zip/Adler32.java java/util/zip/CRC32.java
10081         java/util/zip/CheckedInputStream.java
10082         java/util/zip/CheckedOutputStream.java
10083         java/util/zip/Checksum.java
10084         java/util/zip/DataFormatException.java
10085         java/util/zip/Deflater.java
10086         java/util/zip/DeflaterOutputStream.java
10087         java/util/zip/GZIPInputStream.java
10088         java/util/zip/GZIPOutputStream.java
10089         java/util/zip/Inflater.java
10090         java/util/zip/InflaterInputStream.java
10091         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
10092         java/util/zip/ZipException.java java/util/zip/ZipFile.java
10093         java/util/zip/ZipInputStream.java
10094         java/util/zip/ZipOutputStream.java
10095         javax/naming/BinaryRefAddr.java
10096         javax/naming/InvalidNameException.java javax/naming/Name.java
10097         javax/naming/NamingException.java javax/naming/RefAddr.java
10098         javax/naming/StringRefAddr.java: Add license clarification.
10099
10100 2002-01-22  Tom Tromey  <tromey@redhat.com>
10101
10102         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
10103         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
10104         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
10105         version.
10106         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
10107         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
10108         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
10109         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
10110         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
10111         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
10112         * java/awt/peer/FontPeer.java: Replace with Classpath version.
10113         * java/awt/peer/FramePeer.java: Replace with Classpath version.
10114         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
10115         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
10116         * java/awt/peer/ListPeer.java: Replace with Classpath version.
10117         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
10118         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
10119         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
10120         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
10121         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
10122         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
10123         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
10124         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
10125         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
10126         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
10127         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
10128         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
10129         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
10130         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
10131         (minimumSize, preferredSize, reshape): Likewise.
10132         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
10133         getColorModel): New methods.
10134         * java/awt/PopupMenu.java: Merged with Classpath.
10135         * java/awt/MenuBar.java: Merged with Classpath.
10136         * java/awt/SystemColor.java: Replace with Classpath version.
10137         * java/awt/Panel.java: Merged with Classpath.
10138         * java/awt/PaintContext.java: Updated copyright.
10139         * java/awt/MenuShortcut.java: Merged with Classpath.
10140         * java/awt/MenuContainer.java: Merged with Classpath.
10141         * java/awt/Menu.java: Merged with Classpath.
10142         * java/awt/MediaEntry.java: New file from Classpath.
10143         * java/awt/MediaTracker.java: New file from Classpath.
10144         * java/awt/List.java: Merged with Classpath version.
10145         * java/awt/Insets.java: Merged with Classpath version.
10146         * java/awt/ImageMediaEntry.java: New file from Classpath.
10147         * java/awt/Image.java: Replaced with Classpath version.
10148         * java/awt/FontMetrics.java: Merged with Classpath version.
10149         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
10150         constant.
10151         * java/awt/Font.java: Merged with Classpath version.
10152         * java/awt/Dialog.java: Merged with Classpath version.
10153         * java/awt/Color.java: Merged with Classpath version.
10154         * java/awt/Choice.java: Merged with Classpath version.
10155         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
10156         * java/awt/Adjustable.java: Replace with Classpath version.
10157         * java/awt/MenuItem.java (paramString): Don't include class name
10158         or brackets.  Call superclass paramString.
10159         * java/awt/MenuComponent.java (toString): Call paramString.
10160         (paramString): Compute string; don't call toString.
10161         * java/awt/Label.java (paramString): Don't include class name
10162         or brackets.  Call superclass paramString.
10163         * java/awt/Checkbox.java (paramString): Don't include class name
10164         or brackets.  Call superclass paramString.
10165         * java/awt/Button.java (paramString): Don't include class name or
10166         brackets.  Call superclass paramString.
10167         * java/awt/MenuComponent.java (getTreeLock): Now protected.
10168
10169 2002-01-20  Andreas Schwab  <schwab@suse.de>
10170
10171         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
10172         function and of parameter recv_func to ssize_t, as specified by
10173         POSIX.
10174
10175 2002-01-19  Per Bothner  <per@bothner.com>
10176
10177         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
10178         uncompressed_size in readiness for next entry.
10179
10180 2002-01-18  Tom Tromey  <tromey@redhat.com>
10181
10182         * java/net/natPlainSocketImpl.cc: Include
10183         IllegalArgumentException.h.
10184         (_Jv_recv): New template function.
10185         (BooleanClass): Removed.
10186         (read): Use _Jv_recv.
10187         (setOption): Use Boolean::class$.  Throw exception if object is
10188         not Boolean or Integer.
10189
10190 2002-01-17  Tom Tromey  <tromey@redhat.com>
10191
10192         * java/awt/MenuComponent.java: Merged with Classpath.
10193         * java/awt/MenuItem.java: Merged with Classpath.
10194         * java/awt/Button.java: Merged with Classpath.
10195
10196         * java/awt/ActiveEvent.java: Updated copyright.
10197
10198         * java/awt/AWTError.java: Replaced with Classpath version.
10199         * java/awt/AWTException.java: Replaced with Classpath version.
10200         * java/awt/IllegalComponentStateException.java: Replaced with
10201         Classpath version.
10202
10203 2002-01-16  Tom Tromey  <tromey@redhat.com>
10204
10205         * java/awt/Canvas.java (serialVersionUID): New constant.
10206         Updated copyright.  Added javadoc from Classpath.
10207         * java/awt/ItemSelectable.java: Replaced with Classpath version.
10208
10209         * java/awt/CheckboxGroup.java: Merged with Classpath.
10210         * java/awt/Checkbox.java: Merged with Classpath.
10211
10212         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
10213         Classpath.
10214         * java/awt/Point.java: Updated copyright.
10215
10216         * java/awt/Point.java (toString): Use getClass().getName().
10217         Added javadoc.
10218
10219         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
10220         commented code.
10221         (hash): Correctly compute initial value for `h'.
10222
10223         * java/awt/Label.java: Merged with Classpath.
10224
10225 2002-01-15  Tom Tromey  <tromey@redhat.com>
10226
10227         * java/awt/AWTPermission.java: Updated copyright.
10228
10229         * java/awt/LayoutManager2.java: Merged with Classpath.
10230         * java/awt/LayoutManager.java: Merged with Classpath.
10231         * java/awt/GridLayout.java: Updated copyright and javadoc.
10232         (getSize): Use `parent.ncomponents'.  Handle insets.
10233         (layoutContainer): Use `parent.ncomponents'.  Handle case where
10234         there are fewer children than columns.  Correctly compute size of
10235         each cell in the grid.  Handle case where there isn't enough
10236         space.
10237         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
10238         all users.
10239         (gotoComponent): Use parent.ncomponents.  Ensure child exists
10240         before calling setVisible() on it.  Last item is `num - 1', not
10241         `num'.
10242         (layoutContainer): Hoist invariants out of loop.
10243
10244         Start of AWT merge with Classpath:
10245         * Makefile.in: Rebuilt.
10246         * Makefile.am (awt_java_source_files): Reference files in
10247         gnu/java/awt, not gnu/gcj/awt.
10248         * java/awt/image/BufferedImage.java: Updated copyright.
10249         * java/awt/image/ComponentColorModel.java: Updated copyright.
10250         * java/awt/image/ComponentSampleModel.java: Updated copyright.
10251         * java/awt/image/DataBuffer.java: Updated copyright.
10252         * java/awt/image/DataBufferByte.java: Updated copyright.
10253         * java/awt/image/DataBufferInt.java: Updated copyright.
10254         * java/awt/image/DataBufferUShort.java: Updated copyright.
10255         * java/awt/image/IndexColorModel.java: Updated copyright.
10256         * java/awt/image/PackedColorModel.java: Updated copyright.
10257         * java/awt/image/Raster.java: Updated copyright.
10258         * java/awt/image/RasterOp.java: Updated copyright.
10259         * java/awt/image/SampleModel.java: Updated copyright.
10260         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
10261         * java/awt/image/WritableRaster.java: Updated copyright.
10262         * java/awt/color/ColorSpace.java: Updated copyright.
10263         * java/awt/color/ICC_ColorSpace.java: Updated copyright
10264         * java/awt/color/ICC_Profile.java: Updated copyright.
10265         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
10266         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
10267         * java/awt/event/HierarchyEvent.java: Updated copyright.
10268         * java/awt/event/HierarchyListener.java: Updated copyright.
10269         * java/awt/geom/AffineTransform.java: Updated copyright.
10270         * java/awt/geom/Dimension2D.java: Updated copyright.
10271         * java/awt/geom/Ellipse2D.java: Updated copyright.
10272         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
10273         * java/awt/geom/Line2D.java: Updated copyright.
10274         * java/awt/geom/NoninvertibleTransformException.java: Updated
10275         copyright.
10276         * java/awt/geom/PathIterator.java: Updated copyright.
10277         * java/awt/geom/Point2D.java: Updated copyright.
10278         * java/awt/geom/Rectangle2D.java: Updated copyright.
10279         * java/awt/geom/RectangularShape.java: Updated copyright.
10280         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
10281         * java/awt/Toolkit.java: Updated import for file moves.
10282         * java/awt/Rectangle.java: Updated copyright; added javadoc from
10283         Classpath.
10284         (hashCode): New method from Classpath.
10285         * java/awt/Graphics2D.java: Updated copyright.
10286         * java/awt/Transparency.java: Updated copyright.
10287         * java/awt/Paint.java: Updated copyright.
10288         * java/awt/Graphics.java: New version from Classpath.
10289         * java/awt/EventDispatchThread.java: Updated copyright.
10290         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
10291         children.
10292         (gotoComponent): Wrap around on next/previous.
10293         * gnu/gcj/awt/BitMaskExtent.java: Removed.
10294         * gnu/gcj/awt/Buffers.java: Removed.
10295         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
10296         * gnu/gcj/awt/GLightweightPeer.java: Removed.
10297         * gnu/java/awt/BitMaskExtent.java: Added.
10298         * gnu/java/awt/Buffers.java: Added.
10299         * gnu/java/awt/ComponentDataBlitOp.java: Added.
10300         * gnu/java/awt/GLightweightPeer.java: Added.
10301         * java/awt/geom/Line2D.java (clone): Ignore
10302         CloneNotSupportedException.
10303         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
10304         * java/awt/Frame.java: Merged with Classpath.
10305         * java/awt/RenderingHints.java: Copyright update.
10306         * java/awt/Paint.java: Copyright update.
10307         * java/awt/image/DirectColorModel.java: Merged with Classpath.
10308         * java/awt/image/ColorModel.java: Merged with Classpath.
10309         * java/awt/Window.java (show): New Implementation from Classpath.
10310         (isShowing): Use super.isShowing().
10311         * java/awt/EventQueue.java: Merged with Classpath.
10312         * java/awt/AWTEventMulticaster.java (save): Throw
10313         RuntimeException.
10314         (saveInternal): Likewise.
10315         * java/awt/AWTEvent.java: Now implements Serializable.
10316         * java/awt/Event.java: Copyright update.
10317         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
10318         * java/awt/image/BufferedImage.java: Copyright update.
10319         * java/awt/GraphicsConfiguration.java: Copyright update.
10320         * java/awt/Component.java: (addNotify): Don't call
10321         addNotifyContainerChildren().
10322         (addNotifyContainerChildren): Removed.
10323         (setPeer): New method from Classpath.
10324         (setTreeLock): Likewise.
10325         (setVisible): Rewrote.
10326         (show): Use it.
10327         (hide): Likewise.
10328         (validate): Set `valid'.
10329         (checkImage(Image,ImageObserver)): Implementation from Classpath.
10330         (createImage(ImageProducer)): Likewise.
10331         (prepareImage): Likewise.
10332         * java/awt/Container.java (addImpl): Handle case where constraint
10333         is not a String.  Post event via system event queue.
10334         (remove): Post event via system event queue.
10335         (validateTree): Only validate child if it is invalid.
10336         (getAlignmentX): Call super method as default.
10337         (getAlignmentY): Likewise.
10338         (addContainerListener): Now synchronized.
10339         (removeContainerListener): Likewise.
10340         (addNotifyContainerChildren): Now private.
10341         * java/awt/ComponentOrientation.java: Updated copyright.  Added
10342         @author.
10343         * java/awt/FlowLayout.java (serialVersionUID): New field.
10344         (setAlignment): Better exception message.
10345         (layoutContainer): Don't compute component's preferred size unless
10346         we're going to use it.
10347         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
10348         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
10349         (firstLine, lastLine, firstItem, lastItem): New fields.
10350         (addLayoutComponent): Handle case where constraints is null.
10351         Also, handle relative locations.
10352         (removeLayoutComponent): Handle relative locations.
10353         (MIN, MAX, PREF): New constants.
10354         (calcCompSize): New method.
10355         (calcSize): New method.
10356         (minimumLayoutSize): Use it.
10357         (preferredLayoutSize): Likewise.
10358         (maximumLayoutSize): Likewise.
10359         (toString): Include more information.
10360         (setBounds): New method.
10361         (layoutContainer): Use libgcj implementation; extended to handle
10362         relative locations.
10363
10364 2002-01-15  Tom Tromey  <tromey@redhat.com>
10365
10366         * java/lang/Float.java (equals): Preserve old code.
10367         * java/lang/Double.java (equals): Preserve old code.
10368
10369 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
10370
10371         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
10372         * java/lang/Float.java (equals, compare): Ditto.
10373
10374 2002-01-13  Mark Wielaard  <mark@klomp.org>
10375
10376         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
10377         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
10378         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
10379         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
10380
10381 2002-01-11  Mark Wielaard  <mark@klomp.org>
10382
10383         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
10384         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
10385         InetAddress.
10386         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
10387         * java/net/Socket.java: Merge with Classpath.
10388         * java/net/ServerSocket.java: Likewise.
10389
10390 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
10391
10392         * interpret.cc (NULLARRAYCHECK): New macro.
10393         (SAVE_PC): Just store `pc'.
10394         (find_exception): Subtract one from `pc' here.
10395         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
10396         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
10397         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
10398         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
10399         don't call SAVE_PC.
10400         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
10401         call SAVE_PC.
10402
10403 2002-01-11  Tom Tromey  <tromey@redhat.com>
10404
10405         * java/lang/natSystem.cc (init_properties): Only look for default
10406         locale if LC_MESSAGES is defined.
10407         * aclocal.m4, configure, include/config.h.in: Rebuilt.
10408         * configure.in: Call AM_LC_MESSAGES.
10409         * acinclude.m4 (AM_LC_MESSAGES): New macro.
10410
10411 2002-01-10  Tom Tromey  <tromey@redhat.com>
10412
10413         For PR libgcj/5303:
10414         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
10415         --version.  Recognize GNU-style long options.  Print GNU-style
10416         error messages.
10417         (usage): Print GNU-style help.  Exit with status 0.
10418         (error): New method.
10419         (run): Print error message if no class names found.
10420         (main): Don't print usage on error.
10421
10422 2002-01-09  Tom Tromey  <tromey@redhat.com>
10423
10424         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
10425         property.
10426         (help, version): Use println(), not println("").
10427
10428         For PR libgcj/5303:
10429         * gnu/gcj/convert/Convert.java (error): Program is called
10430         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
10431         -1.
10432         (main): Handle --help and --version.
10433         (help): New method.
10434         (version): Likewise.
10435
10436 2002-01-08  Tom Tromey  <tromey@redhat.com>
10437
10438         * Makefile.in: Rebuilt.
10439         * Makefile.am (ordinary_java_source_files): Added new files.
10440         * gnu/java/locale/LocaleInformation.java: Extend
10441         LocaleInformation_en.
10442         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
10443         and time/date formats.
10444         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
10445         generated.
10446         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
10447         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
10448         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
10449         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
10450         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
10451         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
10452         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
10453         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
10454         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
10455         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
10456         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
10457         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
10458         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
10459         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
10460         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
10461         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
10462         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
10463         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
10464         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
10465         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
10466         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
10467         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
10468         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
10469         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
10470         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
10471         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
10472         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
10473         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
10474         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
10475         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
10476         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
10477         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
10478         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
10479         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
10480         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
10481         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
10482         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
10483         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
10484         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
10485         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
10486         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
10487         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
10488         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
10489         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
10490         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
10491         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
10492         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
10493         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
10494         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
10495         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
10496         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
10497         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
10498         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
10499         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
10500         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
10501         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
10502         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
10503         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
10504         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
10505         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
10506         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
10507         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
10508         * gnu/java/locale/LocaleInformation_es_US.java: New file.
10509         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
10510         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
10511         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
10512         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
10513         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
10514         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
10515         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
10516         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
10517         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
10518         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
10519         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
10520         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
10521         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
10522         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
10523         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
10524         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
10525         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
10526         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
10527         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
10528         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
10529         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
10530         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
10531         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
10532         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
10533         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
10534         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
10535         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
10536         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
10537         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
10538         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
10539         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
10540         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
10541         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
10542         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
10543         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
10544         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
10545         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
10546         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
10547         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
10548         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
10549         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
10550         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
10551         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
10552         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
10553         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
10554         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
10555         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
10556         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
10557         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
10558         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
10559         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
10560         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
10561         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
10562         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
10563         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
10564         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
10565         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
10566         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
10567         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
10568         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
10569         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
10570         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
10571         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
10572         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
10573         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
10574         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
10575         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
10576
10577         For PR libgcj/5031:
10578         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
10579         choose default locale.
10580
10581         * Makefile.in: Rebuilt.
10582         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
10583
10584 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
10585
10586         * java/net/natPlainSocketImpl.cc: Added timeout handling for
10587         sockets.
10588         (close): New function closes the socket.
10589         (write): New functions for output to socket.
10590         (read): New functions for reading from socket.
10591         * java/net/PlainSocketImpl.java: Glue for new timeout
10592         implementation.
10593         (write): Call the native impl.
10594         (read): Likewise.
10595         (getInputStream): Get a stream to read from the socket.
10596         (getOutputStream): Get a stream to write to the socket.
10597
10598 2002-01-08  Tom Tromey  <tromey@redhat.com>
10599
10600         * resolve.cc (_Jv_PrepareClass): Enable verifier.
10601
10602 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
10603
10604         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
10605         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
10606
10607 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
10608
10609         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
10610         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
10611         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
10612         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
10613         insn_bastore, insn_castore, insn_sastore]: Use it.
10614         (continue1) [insn_arraylength]: Check for null array.
10615
10616 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
10617
10618         * configure, include/config.h.in: Rebuilt.
10619         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
10620         * configure.in: Call AC_STRUCT_TIMEZONE.
10621
10622 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
10623
10624         * configure.host: Disable the interpreter for Darwin.
10625
10626 2002-01-04  Tom Tromey  <tromey@redhat.com>
10627
10628         * java/lang/Thread.java (stop): No longer synchronized.
10629         (start): Likewise.
10630
10631 2002-01-02  Tom Tromey  <tromey@redhat.com>
10632
10633         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
10634         patch.
10635
10636 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
10637
10638         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
10639         PPC Darwin, not for all of Darwin.